@simple-reporting/base 1.0.36 → 1.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dev/.ddev/config.yaml +1 -1
- package/dev/.idea/codeStyles/Project.xml +61 -0
- package/dev/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/dev/.idea/copilot.data.migration.ask2agent.xml +6 -0
- package/dev/.idea/deployment.xml +14 -0
- package/dev/.idea/inspectionProfiles/Project_Default.xml +6 -0
- package/dev/.idea/modules.xml +8 -0
- package/dev/.idea/nsfd_report-demo-mms.iml +8 -0
- package/dev/.idea/php.xml +19 -0
- package/dev/.idea/prettier.xml +6 -0
- package/dev/.idea/vcs.xml +6 -0
- package/dev/.idea/watcherTasks.xml +4 -0
- package/dev/livingdocs.config.json +1192 -27
- package/dev/package.json +2 -3
- package/dev/src/App.vue +1 -2
- package/dev/src/Autoload.ts +1 -1
- package/dev/src/Dialog.vue +12 -61
- package/dev/src/assets/fonts/FontAwesome/font.scss +2 -0
- package/dev/src/assets/fonts/Inter/inter.scss +2 -4
- package/dev/src/assets/images/accordion-minus.svg +4 -0
- package/dev/src/assets/images/accordion-plus.svg +4 -0
- package/dev/src/assets/images/arrow-left.svg +5 -0
- package/dev/src/assets/images/arrow-right.svg +5 -0
- package/dev/src/assets/images/arrow-up.svg +5 -0
- package/dev/src/assets/images/chevron-down.svg +1 -0
- package/dev/src/assets/images/chevron-left.svg +1 -0
- package/dev/src/assets/images/chevron-right.svg +1 -0
- package/dev/src/assets/images/chevron-up.svg +1 -0
- package/dev/src/assets/images/close.svg +5 -0
- package/dev/src/assets/images/download.svg +6 -0
- package/dev/src/assets/images/facebook.svg +1 -0
- package/dev/src/assets/images/instagram.svg +1 -0
- package/dev/src/assets/images/language.svg +1 -0
- package/dev/src/assets/images/linkedIn.svg +1 -0
- package/dev/src/assets/images/logo.svg +1 -0
- package/dev/src/assets/images/menu-light.svg +3 -0
- package/dev/src/assets/images/menu.svg +3 -0
- package/dev/src/assets/images/nav-arrow-left.svg +3 -0
- package/dev/src/assets/images/nav-arrow-right.svg +3 -0
- package/dev/src/assets/images/search.svg +5 -0
- package/dev/src/assets/images/twitter.svg +1 -0
- package/dev/src/assets/images/xing.svg +1 -0
- package/dev/src/assets/scss/app.scss +9 -0
- package/dev/src/assets/scss/components/button.scss +37 -0
- package/dev/src/assets/scss/components/dialog.scss +84 -0
- package/dev/src/assets/scss/components/fontawesome.scss +56 -0
- package/dev/src/assets/scss/components/note/accordion.scss +55 -41
- package/dev/src/assets/scss/editor.scss +5 -5
- package/dev/src/assets/scss/general.scss +29 -2
- package/dev/src/assets/scss/margins.scss +57 -0
- package/dev/src/assets/scss/pdf.scss +0 -32
- package/dev/src/assets/scss/placeholders/breakout-grid.scss +34 -0
- package/dev/src/assets/scss/placeholders/button.scss +230 -0
- package/dev/src/assets/scss/placeholders/fontawesome.scss +7 -0
- package/dev/src/assets/scss/placeholders/grid.scss +354 -0
- package/dev/src/assets/scss/web.scss +17 -21
- package/dev/src/assets/scss/xbrl.scss +1 -0
- package/dev/src/components/Button/Default/Action.vue +65 -0
- package/dev/src/components/Button/Default/Content.vue +225 -0
- package/dev/src/components/Button/Default/ExternalLink.vue +63 -0
- package/dev/src/components/Button/Default/InternalLink.vue +64 -0
- package/dev/src/components/Button/Default.vue +101 -0
- package/dev/src/components/Page/MainNavigation.vue +96 -6
- package/dev/src/components/Page/MetaNavigation.vue +116 -0
- package/dev/src/components/Page/PrevNext.vue +140 -70
- package/dev/src/components/PageFooter.vue +405 -0
- package/dev/src/components/PageHeader.vue +828 -0
- package/dev/src/components/{Page/Main.vue → PageMain.vue} +11 -0
- package/dev/src/composables/globalLinks.ts +46 -0
- package/dev/src/composables/isDesktopView.ts +18 -0
- package/dev/src/composables/mainNavigation.ts +11 -0
- package/dev/src/entries/pdf.ts +5 -5
- package/dev/src/i18n/index.ts +1 -1
- package/dev/src/locales/de.json +40 -0
- package/dev/src/locales/en.json +40 -0
- package/dev/src/router/index.ts +1 -2
- package/dev/src/views/DevView.vue +1 -835
- package/dev/src/views/PageNotFound.vue +3 -69
- package/dev/srl.config.json +34 -49
- package/livingdocs/010.Titles/010.title-h1/scss/_spacing-variations.scss +17 -0
- package/livingdocs/010.Titles/010.title-h1/scss/general.scss +4 -0
- package/livingdocs/010.Titles/020.title-h2/scss/_spacing-variations.scss +12 -0
- package/livingdocs/010.Titles/020.title-h2/scss/general.scss +4 -0
- package/livingdocs/010.Titles/020.title-h2/title-h2.html +2 -1
- package/livingdocs/010.Titles/030.title-h3/scss/_spacing-variations.scss +13 -0
- package/livingdocs/010.Titles/030.title-h3/scss/general.scss +5 -1
- package/livingdocs/010.Titles/030.title-h3/title-h3.html +2 -1
- package/livingdocs/010.Titles/040.title-h4/scss/_spacing-variations.scss +12 -0
- package/livingdocs/010.Titles/040.title-h4/scss/general.scss +5 -1
- package/livingdocs/010.Titles/040.title-h4/title-h4.html +2 -1
- package/livingdocs/010.Titles/050.title-h5/scss/_spacing-variations.scss +11 -0
- package/livingdocs/010.Titles/050.title-h5/scss/general.scss +4 -0
- package/livingdocs/010.Titles/060.title-h6/scss/_spacing-variations.scss +10 -0
- package/livingdocs/010.Titles/060.title-h6/scss/general.scss +4 -0
- package/livingdocs/020.Text/010.lead/scss/_spacing-variations.scss +5 -0
- package/livingdocs/020.Text/010.lead/scss/general.scss +4 -0
- package/livingdocs/020.Text/020.paragraph/scss/_spacing-variations.scss +22 -0
- package/livingdocs/020.Text/020.paragraph/scss/general.scss +4 -0
- package/livingdocs/020.Text/060.quote-with-portrait/scss/_spacing-variations.scss +7 -0
- package/livingdocs/020.Text/060.quote-with-portrait/scss/general.scss +4 -1
- package/livingdocs/020.Text/060.quote-with-portrait/scss/pdf.scss +4 -10
- package/livingdocs/020.Text/060.quote-with-portrait/scss/web.scss +0 -1
- package/livingdocs/020.Text/070.footnote-container/scss/_spacing-variations.scss +22 -0
- package/livingdocs/020.Text/070.footnote-container/scss/general.scss +8 -0
- package/livingdocs/020.Text/070.footnote-container/scss/pdf.scss +0 -8
- package/livingdocs/020.Text/070.footnote-container/scss/web.scss +0 -5
- package/livingdocs/020.Text/070.footnote-container/scss/xbrl.scss +9 -1
- package/livingdocs/020.Text/080.footnote-item/scss/_spacing-variations.scss +4 -0
- package/livingdocs/020.Text/080.footnote-item/scss/general.scss +28 -1
- package/livingdocs/020.Text/080.footnote-item/scss/web.scss +0 -20
- package/livingdocs/020.Text/080.footnote-item/scss/xbrl.scss +26 -1
- package/livingdocs/030.Lists/010.unordered-list/ld-conf.json +3 -3
- package/livingdocs/030.Lists/010.unordered-list/scss/_spacing-variations.scss +22 -0
- package/livingdocs/030.Lists/010.unordered-list/scss/general.scss +3 -5
- package/livingdocs/030.Lists/010.unordered-list/scss/pdf.scss +3 -1
- package/livingdocs/030.Lists/010.unordered-list/scss/web.scss +15 -1
- package/livingdocs/030.Lists/010.unordered-list/scss/word.scss +1 -6
- package/livingdocs/030.Lists/010.unordered-list/scss/xbrl.scss +2 -1
- package/livingdocs/030.Lists/020.ordered-list/ld-conf.json +3 -3
- package/livingdocs/030.Lists/030.alphanumeric-list/ld-conf.json +3 -3
- package/livingdocs/030.Lists/040.list-item-unordered-list/ld-conf.json +23 -0
- package/livingdocs/030.Lists/040.list-item-unordered-list/list-item-unordered-list.html +8 -0
- package/livingdocs/030.Lists/040.list-item-unordered-list/scss/_spacing-variations.scss +4 -0
- package/livingdocs/030.Lists/040.list-item-unordered-list/scss/general.scss +14 -0
- package/livingdocs/030.Lists/{040.list-item → 040.list-item-unordered-list}/scss/pdf.scss +7 -1
- package/livingdocs/030.Lists/{040.list-item/scss/general.scss → 040.list-item-unordered-list/scss/web.scss} +17 -6
- package/livingdocs/030.Lists/040.list-item-unordered-list/scss/word.scss +5 -0
- package/livingdocs/030.Lists/040.list-item-unordered-list/scss/xbrl.scss +2 -0
- package/livingdocs/030.Lists/050.list-item-ordered-list/ld-conf.json +23 -0
- package/livingdocs/030.Lists/050.list-item-ordered-list/list-item-ordered-list.html +8 -0
- package/livingdocs/030.Lists/060.list-item-alphanumeric-list/ld-conf.json +23 -0
- package/livingdocs/030.Lists/060.list-item-alphanumeric-list/list-item-alphanumeric-list.html +8 -0
- package/livingdocs/040.Media/010.table/scss/_spacing-variations.scss +19 -0
- package/livingdocs/040.Media/010.table/scss/general.scss +270 -251
- package/livingdocs/040.Media/010.table/scss/pdf.scss +2 -18
- package/livingdocs/040.Media/010.table/scss/web.scss +0 -19
- package/livingdocs/040.Media/010.table/scss/xbrl.scss +4 -3
- package/livingdocs/040.Media/020.image/scss/_spacing-variations.scss +7 -0
- package/livingdocs/040.Media/020.image/scss/editor.scss +0 -1
- package/livingdocs/040.Media/020.image/scss/general.scss +6 -2
- package/livingdocs/040.Media/020.image/scss/pdf.scss +0 -4
- package/livingdocs/040.Media/020.image/scss/web.scss +0 -5
- package/livingdocs/040.Media/020.image/scss/xbrl.scss +1 -3
- package/livingdocs/040.Media/030.video/scss/_spacing-variations.scss +7 -0
- package/livingdocs/040.Media/030.video/scss/general.scss +19 -0
- package/livingdocs/040.Media/030.video/scss/pdf.scss +0 -10
- package/livingdocs/040.Media/030.video/scss/web.scss +0 -11
- package/livingdocs/040.Media/030.video/scss/xbrl.scss +1 -4
- package/livingdocs/060.Buttons/020.button/scss/general.scss +14 -75
- package/livingdocs/070.Container/020.columns-container/columns-container.html +1 -1
- package/livingdocs/070.Container/030.background-container/background-container.html +3 -0
- package/livingdocs/070.Container/030.background-container/ld-conf.json +4 -0
- package/livingdocs/070.Container/030.background-container/properties.json +1 -0
- package/livingdocs/070.Container/030.background-container/scss/_spacing-variations.scss +3 -0
- package/livingdocs/070.Container/030.background-container/scss/general.scss +9 -0
- package/livingdocs/070.Container/030.background-container/scss/pdf.scss +13 -0
- package/livingdocs/070.Container/030.background-container/scss/web.scss +1 -0
- package/livingdocs/070.Container/030.background-container/scss/word.scss +1 -0
- package/livingdocs/070.Container/030.background-container/scss/xbrl.scss +3 -0
- package/livingdocs/080.CV/010.cv/cv.html +2 -1
- package/livingdocs/080.CV/010.cv/scss/_spacing-variations.scss +5 -0
- package/livingdocs/080.CV/010.cv/scss/app.scss +16 -1
- package/livingdocs/080.CV/010.cv/scss/general.scss +4 -0
- package/livingdocs/080.CV/010.cv/scss/pdf.scss +2 -3
- package/livingdocs/080.CV/010.cv/scss/web.scss +17 -1
- package/livingdocs/080.CV/020.cv-time-span/scss/_spacing-variations.scss +14 -0
- package/livingdocs/080.CV/020.cv-time-span/scss/general.scss +4 -0
- package/livingdocs/080.CV/020.cv-time-span/scss/web.scss +0 -1
- package/livingdocs/100.Misc/010.anchor/scss/editor.scss +0 -1
- package/livingdocs/100.Misc/020.accordion/accordion.html +54 -7
- package/livingdocs/100.Misc/020.accordion/accordion.vue +83 -0
- package/livingdocs/100.Misc/020.accordion/scss/editor.scss +12 -0
- package/livingdocs/110.PDF/010.pdf-pagebreak/scss/editor.scss +0 -1
- package/livingdocs/110.PDF/021.pdf-columnbreak/scss/editor.scss +0 -1
- package/livingdocs/110.PDF/030.pdf-publication-title/scss/editor.scss +0 -1
- package/livingdocs/110.PDF/040.pdf-chapter-title/scss/editor.scss +0 -1
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/editor.scss +1 -1
- package/livingdocs/110.PDF/075.pdf-landscape-container/ld-conf.json +7 -0
- package/livingdocs/110.PDF/075.pdf-landscape-container/pdf-landscape-container.html +9 -0
- package/livingdocs/110.PDF/075.pdf-landscape-container/properties.json +15 -0
- package/livingdocs/110.PDF/075.pdf-landscape-container/scss/pdf.scss +19 -0
- package/livingdocs/110.PDF/100.pdf-toc-item/pdf-toc-item.html +3 -2
- package/livingdocs/110.PDF/100.pdf-toc-item/scss/general.scss +6 -5
- package/livingdocs/110.PDF/100.pdf-toc-item/scss/pdf.scss +9 -1
- package/livingdocs/130.Hosting_Components/010.download-center/download-center.html +7 -0
- package/livingdocs/130.Hosting_Components/010.download-center/download-center.vue +68 -0
- package/livingdocs/130.Hosting_Components/010.download-center/ld-conf.json +4 -0
- package/livingdocs/130.Hosting_Components/010.download-center/properties.json +1 -0
- package/livingdocs/130.Hosting_Components/010.download-center/scss/_spacing-variations.scss +3 -0
- package/livingdocs/130.Hosting_Components/010.download-center/scss/editor.scss +15 -0
- package/livingdocs/130.Hosting_Components/010.download-center/scss/general.scss +1 -0
- package/livingdocs/130.Hosting_Components/010.download-center/scss/pdf.scss +1 -0
- package/livingdocs/130.Hosting_Components/010.download-center/scss/web.scss +42 -0
- package/livingdocs/130.Hosting_Components/020.search/ld-conf.json +4 -0
- package/livingdocs/130.Hosting_Components/020.search/properties.json +1 -0
- package/livingdocs/130.Hosting_Components/020.search/scss/_spacing-variations.scss +4 -0
- package/livingdocs/130.Hosting_Components/020.search/scss/editor.scss +14 -0
- package/livingdocs/130.Hosting_Components/020.search/scss/general.scss +1 -0
- package/livingdocs/130.Hosting_Components/020.search/scss/pdf.scss +1 -0
- package/livingdocs/130.Hosting_Components/020.search/scss/web.scss +200 -0
- package/livingdocs/130.Hosting_Components/020.search/search.html +7 -0
- package/livingdocs/130.Hosting_Components/020.search/search.vue +484 -0
- package/livingdocs/999.Properties/breakout-grid/web.scss +5 -0
- package/livingdocs/999.Properties/grid/scss/app.scss +1 -0
- package/livingdocs/999.Properties/grid/scss/general.scss +31 -0
- package/livingdocs/999.Properties/grid/scss/pdf.scss +9 -0
- package/livingdocs/999.Properties/grid/scss/web.scss +1 -0
- package/livingdocs/999.Properties/grid/scss/xbrl.scss +2 -0
- package/livingdocs/999.Properties/icon/properties.json +2 -2
- package/package.json +1 -1
- package/plugins/viteSrlPlugin.js +16 -1
- package/scripts/build.js +1 -0
- package/scripts/config.js +6 -2
- package/scss/button.scss +25 -0
- package/scss/fa/font-free.scss +17 -0
- package/scss/fa/font-pro.scss +41 -0
- package/scss/fa/index.scss +118 -0
- package/scss/fa/source-free.scss +14 -0
- package/scss/fa/source-pro.scss +15 -0
- package/scss/index.scss +1 -0
- package/srl/.srl/components/Srl/Aria/TabChain.vue +6 -5
- package/srl/.srl/components/Srl/Article/Accordion.vue +37 -24
- package/srl/.srl/components/Srl/Article/Dialog/Button.vue +6 -5
- package/srl/.srl/components/Srl/Article/Root.vue +4 -1
- package/srl/.srl/components/Srl/Category/Accordion/Content.vue +2 -2
- package/srl/.srl/components/Srl/Category/Accordion/Toggle.vue +17 -8
- package/srl/.srl/components/Srl/Category/Accordion.vue +8 -5
- package/srl/.srl/components/Srl/Menu/Item.vue +20 -5
- package/srl/.srl/components/Srl/Page/Dialog.vue +31 -14
- package/srl/.srl/types/nswow.d.ts +6 -1
- package/srl/.srl/utils/index.ts +2 -0
- package/srl/.srl/utils/pageState.ts +24 -23
- package/srl/srl/button.scss +2 -0
- package/srl/srl/fa/font-free.scss +17 -0
- package/srl/srl/fa/font-pro.scss +41 -0
- package/srl/srl/fa/index.scss +118 -0
- package/srl/srl/fa/source-free.scss +14 -0
- package/srl/srl/fa/source-pro.scss +15 -0
- package/dev/src/assets/fonts/Inter/Inter-Regular.ttf +0 -0
- package/dev/src/assets/fonts/Inter/Inter-SemiBold.ttf +0 -0
- package/dev/src/assets/fonts/Roboto/roboto-v30-latin-300.woff2 +0 -0
- package/dev/src/assets/fonts/Roboto/roboto-v30-latin-700.woff2 +0 -0
- package/dev/src/assets/fonts/Roboto/roboto-v30-latin-italic.woff2 +0 -0
- package/dev/src/assets/fonts/Roboto/roboto-v30-latin-regular.woff2 +0 -0
- package/dev/src/assets/images/mms-logo-white.svg +0 -105
- package/dev/src/assets/scss/components/icons.scss +0 -287
- package/dev/src/assets/scss/components/round-button.scss +0 -75
- package/dev/src/assets/scss/placeholders.scss +0 -588
- package/dev/src/components/Page/Footer.vue +0 -45
- package/dev/src/components/Page/Header.vue +0 -40
- package/dev/src/views/HomeView.vue +0 -5
- package/livingdocs/030.Lists/020.ordered-list/scss/general.scss +0 -6
- package/livingdocs/030.Lists/020.ordered-list/scss/pdf.scss +0 -5
- package/livingdocs/030.Lists/020.ordered-list/scss/word.scss +0 -9
- package/livingdocs/030.Lists/020.ordered-list/scss/xbrl.scss +0 -1
- package/livingdocs/030.Lists/030.alphanumeric-list/scss/general.scss +0 -6
- package/livingdocs/030.Lists/030.alphanumeric-list/scss/pdf.scss +0 -5
- package/livingdocs/030.Lists/030.alphanumeric-list/scss/word.scss +0 -9
- package/livingdocs/030.Lists/030.alphanumeric-list/scss/xbrl.scss +0 -1
- package/livingdocs/030.Lists/040.list-item/ld-conf.json +0 -5
- package/livingdocs/030.Lists/040.list-item/list-item.html +0 -5
- package/livingdocs/030.Lists/040.list-item/scss/web.scss +0 -27
- package/livingdocs/030.Lists/040.list-item/scss/word.scss +0 -19
- package/livingdocs/030.Lists/040.list-item/scss/xbrl.scss +0 -1
- /package/livingdocs/030.Lists/{020.ordered-list → 040.list-item-unordered-list}/scss/app.scss +0 -0
- /package/livingdocs/030.Lists/{020.ordered-list → 040.list-item-unordered-list}/scss/editor.scss +0 -0
- /package/livingdocs/{030.Lists/030.alphanumeric-list → 070.Container/030.background-container}/scss/app.scss +0 -0
- /package/livingdocs/{030.Lists/030.alphanumeric-list → 070.Container/030.background-container}/scss/editor.scss +0 -0
- /package/livingdocs/{030.Lists/040.list-item → 130.Hosting_Components/010.download-center}/scss/app.scss +0 -0
- /package/{dev/livingdocs/.gitkeep → livingdocs/130.Hosting_Components/010.download-center/scss/word.scss} +0 -0
- /package/livingdocs/{030.Lists/020.ordered-list/scss/web.scss → 130.Hosting_Components/010.download-center/scss/xbrl.scss} +0 -0
- /package/livingdocs/{030.Lists/040.list-item/scss/editor.scss → 130.Hosting_Components/020.search/scss/app.scss} +0 -0
- /package/livingdocs/{030.Lists/030.alphanumeric-list/scss/web.scss → 130.Hosting_Components/020.search/scss/word.scss} +0 -0
- /package/livingdocs/{060.Buttons/.gitkeep → 130.Hosting_Components/020.search/scss/xbrl.scss} +0 -0
- /package/livingdocs/999.Properties/{width → grid}/properties.json +0 -0
|
@@ -11,3 +11,14 @@ const props = defineProps<{
|
|
|
11
11
|
</RouterView>
|
|
12
12
|
</main>
|
|
13
13
|
</template>
|
|
14
|
+
|
|
15
|
+
<style lang="scss" scoped>
|
|
16
|
+
@use 'srl';
|
|
17
|
+
#srl-page-main {
|
|
18
|
+
padding-top: srl.system-root-style(srl-header-height);
|
|
19
|
+
min-height: 100dvh;
|
|
20
|
+
.srl-page__wrap:not([class*='home']) & {
|
|
21
|
+
padding-top: calc( srl.system-root-style(srl-header-height) + srl.spacer-get(800) );
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
</style>
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { computed } from 'vue'
|
|
2
|
+
import { useConfig, useArticles } from '#composables'
|
|
3
|
+
|
|
4
|
+
interface GlobalLink extends NsWowNavigationItem {
|
|
5
|
+
href: string
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
type GlobalLinks = {
|
|
9
|
+
home?: GlobalLink
|
|
10
|
+
downloads?: GlobalLink
|
|
11
|
+
search?: GlobalLink
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const articles = useArticles()
|
|
15
|
+
const config = useConfig()
|
|
16
|
+
|
|
17
|
+
const globalLinks = computed<GlobalLinks>(() => {
|
|
18
|
+
const links: GlobalLinks = {}
|
|
19
|
+
const home = articles.value.find( i => i.index )
|
|
20
|
+
home ? links.home = {
|
|
21
|
+
label: home.translatedTitle,
|
|
22
|
+
href: `/${config.value.locale}/${home.slug}`,
|
|
23
|
+
} : null
|
|
24
|
+
|
|
25
|
+
const downloads = articles.value.find( i => i.uuid === '00-01-downloads' )
|
|
26
|
+
downloads ? links.downloads = {
|
|
27
|
+
label: downloads.translatedTitle,
|
|
28
|
+
href: `/${config.value.locale}/${downloads.slug}`,
|
|
29
|
+
} : null
|
|
30
|
+
|
|
31
|
+
const search = articles.value.find( i => i.uuid === '00-02-search' )
|
|
32
|
+
search ? links.search = {
|
|
33
|
+
label: search.translatedTitle,
|
|
34
|
+
href: `/${config.value.locale}/${search.slug}`,
|
|
35
|
+
} : null
|
|
36
|
+
|
|
37
|
+
return links
|
|
38
|
+
})
|
|
39
|
+
|
|
40
|
+
export function useGlobalLinks() {
|
|
41
|
+
return globalLinks
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export default {
|
|
45
|
+
useGlobalLinks,
|
|
46
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { useViewPort } from '#composables'
|
|
2
|
+
import { computed } from 'vue'
|
|
3
|
+
|
|
4
|
+
const viewPort = useViewPort()
|
|
5
|
+
|
|
6
|
+
const desktopView = [
|
|
7
|
+
"tablet-ls",
|
|
8
|
+
"desktop",
|
|
9
|
+
"desktop-large",
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
export const isDesktopView = computed(() => {
|
|
13
|
+
return desktopView.includes(<string>viewPort.value.viewPort)
|
|
14
|
+
})
|
|
15
|
+
|
|
16
|
+
export default {
|
|
17
|
+
isDesktopView,
|
|
18
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { computed } from 'vue'
|
|
2
|
+
import { isDesktopView } from '@/composables/isDesktopView.ts'
|
|
3
|
+
|
|
4
|
+
const mainNavigation = computed<HTMLDivElement | HTMLButtonElement | null>(() => {
|
|
5
|
+
return isDesktopView.value ?
|
|
6
|
+
document.querySelector('#srl-page-navigation > ul'):
|
|
7
|
+
document.querySelector('#srl-header__toggle')
|
|
8
|
+
})
|
|
9
|
+
export function useMainNavigation() {
|
|
10
|
+
return mainNavigation
|
|
11
|
+
}
|
package/dev/src/entries/pdf.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '#imports/pdf.scss'
|
|
2
2
|
import * as Awesomizr from 'srl/pdf/Awesomizr.js'
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import PDFNotes from 'srl/pdf/PDFNotes.ts'
|
|
4
|
+
import PDFSetPageNumbers from 'srl/pdf/PDFSetPageNumbers.ts'
|
|
5
5
|
|
|
6
6
|
document.addEventListener('DOMContentLoaded', () => {
|
|
7
7
|
new PDFNotes({
|
|
@@ -10,6 +10,6 @@ document.addEventListener('DOMContentLoaded', () => {
|
|
|
10
10
|
|
|
11
11
|
new PDFSetPageNumbers({
|
|
12
12
|
tocItemClass: '.srl-pdf-toc__item:not(.srl-pdf-toc__item--blank)',
|
|
13
|
-
tocItemPageNumberClass: '.srl-pdf-
|
|
14
|
-
})
|
|
15
|
-
})
|
|
13
|
+
tocItemPageNumberClass: '.srl-pdf-toc__page-number'
|
|
14
|
+
})
|
|
15
|
+
})
|
package/dev/src/i18n/index.ts
CHANGED
package/dev/src/locales/de.json
CHANGED
|
@@ -1,4 +1,44 @@
|
|
|
1
1
|
{
|
|
2
|
+
"page": {
|
|
3
|
+
"title": "Geschäftsbericht",
|
|
4
|
+
"navigation": {
|
|
5
|
+
"back": "Zurück zu {label}"
|
|
6
|
+
}
|
|
7
|
+
},
|
|
8
|
+
"accessibility": {
|
|
9
|
+
"toMainNavigation": "Zur Hauptnavigation",
|
|
10
|
+
"toMainContent": "Zum Inhalt",
|
|
11
|
+
"toFooter": "Zum Footer",
|
|
12
|
+
"pagePrev": "Vorherige Seite",
|
|
13
|
+
"pageNext": "Nächste Seite",
|
|
14
|
+
"toTop": "An den Seitenanfang",
|
|
15
|
+
"modalClose": "Fenster schliessen",
|
|
16
|
+
"searchLabel": "Suchbegriff eingeben",
|
|
17
|
+
"companyPage": "Unternehmensseite",
|
|
18
|
+
"callNumber": "Telefonnummer wählen",
|
|
19
|
+
"callFax": "Faxnummer wählen",
|
|
20
|
+
"sendEmail": "E-Mail schreiben",
|
|
21
|
+
"contactForm": "Kontaktformular"
|
|
22
|
+
},
|
|
23
|
+
"footer": {
|
|
24
|
+
"followUs": "Folgen Sie uns auf",
|
|
25
|
+
"contact": "Kontakt",
|
|
26
|
+
"downloads": "Downloads",
|
|
27
|
+
"furtherLinks": "Weitere Links",
|
|
28
|
+
"copyright": "© {year}",
|
|
29
|
+
"privacySettings": "Cookie Einstellungen",
|
|
30
|
+
"phone": "Tel: ",
|
|
31
|
+
"fax": "Fax: ",
|
|
32
|
+
"email": "Email: "
|
|
33
|
+
},
|
|
34
|
+
"search": {
|
|
35
|
+
"search": "suchen",
|
|
36
|
+
"placeholder": "Suchbegriff eingeben und Enter drücken",
|
|
37
|
+
"resultCount": "{count} Treffer zu: \"{text}\"",
|
|
38
|
+
"showMoreResults": "Mehr Ergebnisse anzeigen",
|
|
39
|
+
"noResultsMessage": "Leider konnten wir keine Einträge für diesen Begriff finden. Bitte überprüfen Sie Ihren Begriff oder kehren Sie zur Startseite zurück.",
|
|
40
|
+
"backToHomepage": "Zurück zur Startseite"
|
|
41
|
+
},
|
|
2
42
|
"toMainNavigation": "Zur Hauptnavigation",
|
|
3
43
|
"toMainContent": "Zum Inhalt",
|
|
4
44
|
"toFooter": "Zum Footer",
|
package/dev/src/locales/en.json
CHANGED
|
@@ -1,4 +1,44 @@
|
|
|
1
1
|
{
|
|
2
|
+
"page": {
|
|
3
|
+
"title": "Annual Report",
|
|
4
|
+
"navigation": {
|
|
5
|
+
"back": "Back to {label}"
|
|
6
|
+
}
|
|
7
|
+
},
|
|
8
|
+
"accessibility": {
|
|
9
|
+
"toMainNavigation": "To main navigation",
|
|
10
|
+
"toMainContent": "To main content",
|
|
11
|
+
"toFooter": "To footer",
|
|
12
|
+
"pagePrev": "Previous page",
|
|
13
|
+
"pageNext": "Next page",
|
|
14
|
+
"toTop": "Back to top",
|
|
15
|
+
"modalClose": "Close window",
|
|
16
|
+
"searchLabel": "Enter search term",
|
|
17
|
+
"companyPage": "Company page",
|
|
18
|
+
"callNumber": "Call number",
|
|
19
|
+
"callFax": "Call fax",
|
|
20
|
+
"sendEmail": "Send email",
|
|
21
|
+
"contactForm": "Contact form"
|
|
22
|
+
},
|
|
23
|
+
"footer": {
|
|
24
|
+
"followUs": "Follow us on",
|
|
25
|
+
"contact": "Contact",
|
|
26
|
+
"downloads": "Downloads",
|
|
27
|
+
"furtherLinks": "Further links",
|
|
28
|
+
"copyright": "© {year}",
|
|
29
|
+
"privacySettings": "Cookie settings",
|
|
30
|
+
"phone": "Phone: ",
|
|
31
|
+
"fax": "Fax: ",
|
|
32
|
+
"email": "Email: "
|
|
33
|
+
},
|
|
34
|
+
"search": {
|
|
35
|
+
"search": "search",
|
|
36
|
+
"placeholder": "Enter a search term and press return",
|
|
37
|
+
"resultCount": "{count} result for: \"{text}\"|{count} results for: \"{text}\"",
|
|
38
|
+
"showMoreResults": "Show more results",
|
|
39
|
+
"noResultsMessage": "Unfortunately, we couldn't find any entries for this term. Please verify your term or return to the home page.",
|
|
40
|
+
"backToHomepage": "Back to home page"
|
|
41
|
+
},
|
|
2
42
|
"toMainNavigation": "To main navigation",
|
|
3
43
|
"toMainContent": "To main content",
|
|
4
44
|
"toFooter": "To footer",
|
package/dev/src/router/index.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { createRouter, createWebHistory } from 'vue-router'
|
|
2
2
|
import Tr from '@/i18n/translation'
|
|
3
|
-
import HomeView from '@/views/HomeView.vue'
|
|
4
3
|
import ArticleView from '@/views/ArticleView.vue'
|
|
5
4
|
import PageNotFound from '@/views/PageNotFound.vue'
|
|
6
5
|
|
|
@@ -8,7 +7,7 @@ const routes = [
|
|
|
8
7
|
{
|
|
9
8
|
path: '/:locale?',
|
|
10
9
|
name: 'home',
|
|
11
|
-
component:
|
|
10
|
+
component: ArticleView,
|
|
12
11
|
beforeEnter: Tr.routeMiddleware
|
|
13
12
|
},
|
|
14
13
|
{
|