-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into Iframe-for-Zanichelli-Demo
- Loading branch information
Showing
54 changed files
with
814 additions
and
398 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
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 |
---|---|---|
|
@@ -8,3 +8,5 @@ node_modules | |
.DS_Store | ||
.history | ||
.vscode | ||
|
||
feature_items.json |
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,64 @@ | ||
<template> | ||
<div class="space-y-8 leading-tight"> | ||
<div class="flex justify-between items-center pb-4 mb-4 s\m:mb-5"> | ||
<h3 class="text-xl font-semibold text-gray-900">{{ $t('SYSTEM_INFO') }}</h3> | ||
<Icon class="text-2xl hover:cursor-pointer hover:bg-sky-100" name="ph:x-bold" @click="$closeModal()" /> | ||
</div> | ||
|
||
<div class="gap-3 tracking-wider"> | ||
<span class="col-span-3 justify-self-end whitespace-nowrap"> | ||
Brevia App <strong>v{{ appVersion }}</strong> | ||
</span> | ||
</div> | ||
|
||
<hr class="border-t border-gray-300" /> | ||
|
||
<div class="gap-3 tracking-wider"> | ||
<template v-if="versions?.brevia"> | ||
<span class="col-span-3 justify-self-end whitespace-nowrap"> | ||
Brevia API <strong>v{{ versions.brevia }}</strong> | ||
</span> | ||
<br /> | ||
</template> | ||
<template v-if="versions?.apiName && versions?.apiVersion"> | ||
<span class="col-span-3 justify-self-end whitespace-nowrap"> | ||
{{ versions.apiName }} API <strong>v{{ versions.apiVersion }}</strong> | ||
</span> | ||
<br /> | ||
</template> | ||
<span class="col-span-3 justify-self-end whitespace-nowrap"> | ||
API Base URL <strong>{{ versions.baseUrl }}</strong> | ||
</span> | ||
</div> | ||
|
||
<hr v-if="integration !== 'brevia'" class="border-t border-gray-300" /> | ||
|
||
<div v-if="integration !== 'brevia'" class="gap-3 tracking-wider"> | ||
<template v-if="integrationVersions?.get(integration)"> | ||
<span class="col-span-3 justify-self-end whitespace-nowrap"> | ||
{{ integrationName }} API <strong>v{{ integrationVersions?.get(integration) }}</strong> | ||
</span> | ||
<br /> | ||
</template> | ||
<template v-if="integrationVersions?.get('apiName') && integrationVersions?.get('apiVersion')"> | ||
<span class="col-span-3 justify-self-end whitespace-nowrap"> | ||
{{ integrationVersions?.get('apiName') }} API <strong>v{{ integrationVersions?.get('apiVersion') }}</strong> | ||
</span> | ||
<br /> | ||
</template> | ||
<span class="col-span-3 justify-self-end whitespace-nowrap"> | ||
API Base URL <strong>{{ integrationVersions?.get('baseUrl') }}</strong> | ||
</span> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script lang="ts" setup> | ||
const appVersion = useRuntimeConfig().public.version; | ||
const response = await fetch('/api/brevia/versions'); | ||
const versions = await response.json(); | ||
const integration = useIntegration(); | ||
const integrationName = integration.charAt(0).toUpperCase() + integration.slice(1); | ||
const integrationVersions = await useIntegrationVersion(); | ||
</script> |
Oops, something went wrong.