-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
110 changed files
with
3,508 additions
and
2,203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module.exports = { | ||
env: { | ||
node: true, | ||
"vue/setup-compiler-macros": true, | ||
}, | ||
extends: [ | ||
"eslint:recommended", | ||
"plugin:vue/vue3-recommended", | ||
"@vue/eslint-config-typescript", | ||
"prettier", | ||
], | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/// <reference types="vite/client" /> | ||
|
||
interface ImportMetaEnv { | ||
readonly VITE_BACKEND_URL: string; | ||
readonly VITE_AUTH_URL: string; | ||
readonly VITE_KORP_URL: string; | ||
readonly VITE_STRIX_URL: string; | ||
readonly VITE_MATOMO_URL: string; | ||
readonly VITE_MATOMO_ID?: number; | ||
} | ||
|
||
interface ImportMeta { | ||
readonly env: ImportMetaEnv; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
declare module "vue-matomo"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module.exports = { | ||
export default { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,15 @@ | ||
<template> | ||
<AppHeader :large="isHome" /> | ||
<Breadcrumb /> | ||
<MessageToasts /> | ||
|
||
<div class="container py-2"> | ||
<router-view /> | ||
</div> | ||
|
||
<div | ||
class="container py-20 flex justify-center items-center text-sm opacity-70" | ||
> | ||
{{ $t("contact") }}: [email protected] | ||
</div> | ||
</template> | ||
|
||
<script setup> | ||
<script setup lang="ts"> | ||
import { computed } from "vue"; | ||
import { useRoute } from "vue-router"; | ||
import { useTitle } from "@vueuse/core"; | ||
import { api } from "@/api/api"; | ||
import api from "@/api/api"; | ||
import * as util from "@/util"; | ||
import { useAuth } from "@/auth/auth.composable"; | ||
import useLocale from "@/i18n/locale.composable"; | ||
import { useCorpusStore } from "@/store/corpus.store"; | ||
import MessageToasts from "@/message/MessageToasts.vue"; | ||
import usePageTitle from "@/page/title.composable"; | ||
import Breadcrumb from "@/page/Breadcrumb.vue"; | ||
import BreadcrumbBar from "@/page/BreadcrumbBar.vue"; | ||
import AppHeader from "./page/AppHeader.vue"; | ||
const { refreshJwt } = useAuth(); | ||
|
@@ -43,10 +27,24 @@ const isHome = computed(() => route.path == "/"); | |
refreshJwt(); | ||
if (import.meta.env.DEV) { | ||
window.api = api; | ||
window.corpusStore = corpusStore; | ||
window.util = util; | ||
(window as any).api = api; | ||
(window as any).corpusStore = corpusStore; | ||
(window as any).util = util; | ||
} | ||
</script> | ||
|
||
<style scoped></style> | ||
<template> | ||
<AppHeader :large="isHome" /> | ||
<BreadcrumbBar /> | ||
<MessageToasts /> | ||
|
||
<div class="container py-2"> | ||
<router-view /> | ||
</div> | ||
|
||
<div | ||
class="container py-20 flex justify-center items-center text-sm opacity-70" | ||
> | ||
{{ $t("contact") }}: [email protected] | ||
</div> | ||
</template> |
Oops, something went wrong.