@simple-reporting/base 0.1.111 → 0.1.112
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/.github/workflows/npm-publish.yml +25 -25
- package/.nvmrc +1 -1
- package/README.md +23 -23
- package/cli.js +114 -114
- package/dev/.ddev/nginx_full/custom.conf +12 -12
- package/dev/index.html +17 -17
- package/dev/ldd.html +7 -7
- package/dev/livingdocs/Media/image/app.scss +25 -25
- package/dev/livingdocs/Media/image/general.scss +11 -11
- package/dev/livingdocs/Media/image/image.html +46 -46
- package/dev/livingdocs/Media/image/ldd.scss +1 -1
- package/dev/livingdocs/Media/image/pdf.scss +1 -1
- package/dev/livingdocs/Media/image/print.scss +7 -7
- package/dev/livingdocs/Media/image/properties.json +41 -41
- package/dev/livingdocs/Media/image/word.scss +1 -1
- package/dev/livingdocs/Properties/grid/app.scss +1 -1
- package/dev/livingdocs/Properties/grid/general.scss +95 -95
- package/dev/livingdocs/Properties/grid/ldd.scss +1 -1
- package/dev/livingdocs/Properties/grid/pdf.scss +1 -1
- package/dev/livingdocs/Properties/grid/print.scss +94 -94
- package/dev/livingdocs/Properties/grid/properties.json +68 -68
- package/dev/livingdocs/Properties/grid/web.scss +98 -98
- package/dev/livingdocs/Properties/grid/word.scss +1 -1
- package/dev/livingdocs/Text/paragraph/general.scss +9 -9
- package/dev/livingdocs/Text/paragraph/paragraph.html +22 -22
- package/dev/livingdocs/Titles/title-h1/general.scss +10 -10
- package/dev/livingdocs/Titles/title-h1/title-h1.html +16 -16
- package/dev/livingdocs/Titles/title-h2/app.scss +1 -1
- package/dev/livingdocs/Titles/title-h2/general.scss +13 -13
- package/dev/livingdocs/Titles/title-h2/ldd.scss +1 -1
- package/dev/livingdocs/Titles/title-h2/pdf.scss +1 -1
- package/dev/livingdocs/Titles/title-h2/print.scss +36 -36
- package/dev/livingdocs/Titles/title-h2/title-h2.html +24 -24
- package/dev/livingdocs/Titles/title-h2/web.scss +27 -27
- package/dev/livingdocs/Titles/title-h2/word.scss +1 -1
- package/dev/livingdocs/Titles/title-h3/app.scss +1 -1
- package/dev/livingdocs/Titles/title-h3/general.scss +13 -13
- package/dev/livingdocs/Titles/title-h3/ldd.scss +1 -1
- package/dev/livingdocs/Titles/title-h3/pdf.scss +1 -1
- package/dev/livingdocs/Titles/title-h3/print.scss +34 -34
- package/dev/livingdocs/Titles/title-h3/title-h3.html +24 -24
- package/dev/livingdocs/Titles/title-h3/web.scss +27 -27
- package/dev/livingdocs/Titles/title-h3/word.scss +1 -1
- package/dev/livingdocs/Titles/title-h4/app.scss +1 -1
- package/dev/livingdocs/Titles/title-h4/general.scss +13 -13
- package/dev/livingdocs/Titles/title-h4/ldd.scss +1 -1
- package/dev/livingdocs/Titles/title-h4/pdf.scss +1 -1
- package/dev/livingdocs/Titles/title-h4/print.scss +34 -34
- package/dev/livingdocs/Titles/title-h4/title-h4.html +24 -24
- package/dev/livingdocs/Titles/title-h4/web.scss +27 -27
- package/dev/livingdocs/Titles/title-h4/word.scss +1 -1
- package/dev/livingdocs/Titles/title-h5/general.scss +10 -10
- package/dev/livingdocs/Titles/title-h5/title-h5.html +16 -16
- package/dev/livingdocs/Titles/title-h6/general.scss +10 -10
- package/dev/livingdocs/Titles/title-h6/title-h6.html +16 -16
- package/dev/livingdocs.config.json +376 -376
- package/dev/nswow/ArticleAutoloader.ts +100 -100
- package/dev/nswow/ArticleLoader.ts +91 -91
- package/dev/nswow/colors.scss +3 -3
- package/dev/nswow/config.scss +13 -13
- package/dev/nswow/core-styles.scss +2 -2
- package/dev/nswow/fonts.scss +2 -2
- package/dev/nswow/grid.scss +2 -2
- package/dev/nswow/helpers.scss +2 -2
- package/dev/nswow/index.scss +9 -9
- package/dev/nswow/meta.scss +2 -2
- package/dev/nswow/spacer.scss +2 -2
- package/dev/nswow/system.scss +2 -2
- package/dev/nswow/typography.scss +3 -3
- package/dev/nswow.config.json +293 -293
- package/dev/package.json +61 -60
- package/dev/pdf/pdf-configuration-debug.xml +5 -5
- package/dev/pdf/pdf-configuration.xml +2 -2
- package/dev/pdf.ts +1 -1
- package/dev/src/App.vue +44 -44
- package/dev/src/Autoload.ts +6 -6
- package/dev/src/assets/images/mms-logo-black.svg +91 -91
- package/dev/src/assets/images/mms-logo-white.svg +105 -105
- package/dev/src/assets/scss/app.scss +39 -39
- package/dev/src/assets/scss/general.scss +17 -17
- package/dev/src/assets/scss/ldd.scss +27 -27
- package/dev/src/assets/scss/pdf.scss +2 -2
- package/dev/src/assets/scss/print.scss +1 -1
- package/dev/src/assets/scss/web.scss +1 -1
- package/dev/src/assets/scss/word.scss +2 -2
- package/dev/src/components/LanguageSwitch.vue +100 -100
- package/dev/src/components/MainNavigation.vue +209 -209
- package/dev/src/components/MenuItem/MenuArticle.vue +15 -15
- package/dev/src/components/MenuItem/MenuEntry.vue +26 -26
- package/dev/src/components/MenuItem/MenuExternal.vue +28 -28
- package/dev/src/components/MenuItem/index.ts +5 -5
- package/dev/src/components/PageFooter.vue +86 -86
- package/dev/src/components/PageHeader.vue +149 -149
- package/dev/src/components/PageModal.vue +95 -95
- package/dev/src/components/PrevNext.vue +144 -144
- package/dev/src/components/ScrollToTop.vue +63 -63
- package/dev/src/components/SrlPage/KFCApplication/hooks/kfcData.ts +9 -9
- package/dev/src/components/SrlPage/KFCApplication/scss/_iz-keyfigure-comparison.scss +151 -151
- package/dev/src/components/SrlPage/KFCApplication/scss/_kfc-loading.scss +40 -40
- package/dev/src/components/SrlPage/KFCApplication/scss/_srl-button-kfc.scss +21 -21
- package/dev/src/composables/config.ts +48 -48
- package/dev/src/i18n/index.ts +51 -51
- package/dev/src/i18n/translation.ts +85 -85
- package/dev/src/locales/de.json +15 -15
- package/dev/src/locales/en.json +15 -15
- package/dev/src/main.ts +16 -16
- package/dev/src/router/index.ts +47 -47
- package/dev/src/types/nswow.d.ts +73 -73
- package/dev/src/views/ArticleView.vue +77 -77
- package/dev/src/views/DownloadsView.vue +88 -88
- package/dev/src/views/HomeView.vue +35 -35
- package/dev/src/views/PageNotFound.vue +73 -73
- package/dev/src/views/SearchView.vue +126 -126
- package/dev/tsconfig.app.json +16 -16
- package/dev/tsconfig.node.json +19 -19
- package/dev/vite.config.ts +27 -27
- package/dev/word.ts +1 -1
- package/livingdocs/Buttons/button/app.scss +1 -1
- package/livingdocs/Buttons/button/button.html +18 -18
- package/livingdocs/Buttons/button/general.scss +33 -33
- package/livingdocs/Buttons/button/ldd.scss +1 -1
- package/livingdocs/Buttons/button/pdf.scss +1 -1
- package/livingdocs/Buttons/button/word.scss +1 -1
- package/livingdocs/Buttons/button-container/app.scss +1 -1
- package/livingdocs/Buttons/button-container/button-container.html +31 -31
- package/livingdocs/Buttons/button-container/general.scss +12 -12
- package/livingdocs/Buttons/button-container/ldd.scss +1 -1
- package/livingdocs/Buttons/button-container/pdf.scss +3 -3
- package/livingdocs/Buttons/button-container/properties.json +19 -19
- package/livingdocs/Buttons/button-container/word.scss +3 -3
- package/livingdocs/CV/cv-timeline/app.scss +1 -1
- package/livingdocs/CV/cv-timeline/cv-timeline.html +19 -19
- package/livingdocs/CV/cv-timeline/general.scss +1 -1
- package/livingdocs/CV/cv-timeline/ldd.scss +1 -1
- package/livingdocs/CV/cv-timeline/pdf.scss +1 -1
- package/livingdocs/CV/cv-timeline/print.scss +35 -35
- package/livingdocs/CV/cv-timeline/web.scss +27 -27
- package/livingdocs/CV/cv-timeline/word.scss +1 -1
- package/livingdocs/Container/column-container/column-container.html +44 -44
- package/livingdocs/Container/column-container/general.scss +105 -105
- package/livingdocs/Container/column-container/properties.json +83 -83
- package/livingdocs/Lists/alphanumeric-list-group/alphanumeric-list-group.html +25 -25
- package/livingdocs/Lists/alphanumeric-list-group/app.scss +1 -1
- package/livingdocs/Lists/alphanumeric-list-group/general.scss +5 -5
- package/livingdocs/Lists/alphanumeric-list-group/ldd.scss +1 -1
- package/livingdocs/Lists/alphanumeric-list-group/pdf.scss +1 -1
- package/livingdocs/Lists/alphanumeric-list-group/word.scss +1 -1
- package/livingdocs/Lists/list-item/app.scss +1 -1
- package/livingdocs/Lists/list-item/general.scss +4 -4
- package/livingdocs/Lists/list-item/ldd.scss +1 -1
- package/livingdocs/Lists/list-item/list-item.html +17 -17
- package/livingdocs/Lists/list-item/pdf.scss +1 -1
- package/livingdocs/Lists/list-item/word.scss +1 -1
- package/livingdocs/Lists/ordered-list-group/app.scss +1 -1
- package/livingdocs/Lists/ordered-list-group/general.scss +5 -5
- package/livingdocs/Lists/ordered-list-group/ldd.scss +1 -1
- package/livingdocs/Lists/ordered-list-group/ordered-list-group.html +25 -25
- package/livingdocs/Lists/ordered-list-group/pdf.scss +1 -1
- package/livingdocs/Lists/ordered-list-group/word.scss +1 -1
- package/livingdocs/Lists/unordered-list-group/app.scss +1 -1
- package/livingdocs/Lists/unordered-list-group/general.scss +5 -5
- package/livingdocs/Lists/unordered-list-group/ldd.scss +1 -1
- package/livingdocs/Lists/unordered-list-group/pdf.scss +1 -1
- package/livingdocs/Lists/unordered-list-group/unordered-list-group.html +25 -25
- package/livingdocs/Lists/unordered-list-group/word.scss +1 -1
- package/livingdocs/Media/chart/app.scss +19 -19
- package/livingdocs/Media/chart/chart.html +29 -29
- package/livingdocs/Media/chart/general.scss +11 -11
- package/livingdocs/Media/chart/ldd.scss +1 -1
- package/livingdocs/Media/chart/pdf.scss +9 -9
- package/livingdocs/Media/chart/properties.json +41 -41
- package/livingdocs/Media/chart/word.scss +1 -1
- package/livingdocs/Media/graphic/app.scss +1 -1
- package/livingdocs/Media/graphic/general.scss +18 -18
- package/livingdocs/Media/graphic/graphic.html +29 -29
- package/livingdocs/Media/graphic/ldd.scss +1 -1
- package/livingdocs/Media/graphic/pdf.scss +1 -1
- package/livingdocs/Media/graphic/properties.json +36 -36
- package/livingdocs/Media/graphic/word.scss +1 -1
- package/livingdocs/Media/image/app.scss +25 -25
- package/livingdocs/Media/image/general.scss +11 -11
- package/livingdocs/Media/image/image.html +55 -55
- package/livingdocs/Media/image/ldd.scss +1 -1
- package/livingdocs/Media/image/pdf.scss +1 -1
- package/livingdocs/Media/image/print.scss +7 -7
- package/livingdocs/Media/image/properties.json +41 -41
- package/livingdocs/Media/image/word.scss +1 -1
- package/livingdocs/Media/nswow-table/app.scss +2 -2
- package/livingdocs/Media/nswow-table/app.ts +35 -35
- package/livingdocs/Media/nswow-table/general.scss +281 -281
- package/livingdocs/Media/nswow-table/ldd.scss +2 -2
- package/livingdocs/Media/nswow-table/nswow-table.html +30 -30
- package/livingdocs/Media/nswow-table/pdf.scss +8 -8
- package/livingdocs/Media/nswow-table/properties.json +66 -66
- package/livingdocs/Media/nswow-table/web.scss +23 -23
- package/livingdocs/Media/nswow-table/word.scss +2 -2
- package/livingdocs/Media/video/app.scss +1 -1
- package/livingdocs/Media/video/general.scss +7 -7
- package/livingdocs/Media/video/ldd.scss +1 -1
- package/livingdocs/Media/video/pdf.scss +1 -1
- package/livingdocs/Media/video/print.scss +5 -5
- package/livingdocs/Media/video/properties.json +41 -41
- package/livingdocs/Media/video/video.html +26 -26
- package/livingdocs/Media/video/word.scss +1 -1
- package/livingdocs/Misc/accordion/accordion.html +56 -56
- package/livingdocs/Misc/accordion/app.scss +63 -63
- package/livingdocs/Misc/accordion/app.ts +10 -10
- package/livingdocs/Misc/accordion/general.scss +44 -44
- package/livingdocs/Misc/accordion/ldd.scss +36 -36
- package/livingdocs/Misc/accordion/pdf.scss +39 -39
- package/livingdocs/Misc/accordion/word.scss +39 -39
- package/livingdocs/Misc/anchor/anchor.html +15 -15
- package/livingdocs/Misc/anchor/app.scss +10 -10
- package/livingdocs/Misc/anchor/app.ts +11 -11
- package/livingdocs/Misc/anchor/general.scss +1 -1
- package/livingdocs/Misc/anchor/pdf.scss +1 -1
- package/livingdocs/Misc/anchor/print.scss +3 -3
- package/livingdocs/Misc/anchor/word.scss +1 -1
- package/livingdocs/Misc/spacer/app.scss +1 -1
- package/livingdocs/Misc/spacer/general.scss +8 -8
- package/livingdocs/Misc/spacer/ldd.scss +1 -1
- package/livingdocs/Misc/spacer/pdf.scss +1 -1
- package/livingdocs/Misc/spacer/print.scss +18 -18
- package/livingdocs/Misc/spacer/properties.json +52 -52
- package/livingdocs/Misc/spacer/spacer.html +12 -12
- package/livingdocs/Misc/spacer/web.scss +18 -18
- package/livingdocs/Misc/spacer/word.scss +1 -1
- package/livingdocs/PDF_only/pdf-cover/ldd.scss +42 -42
- package/livingdocs/PDF_only/pdf-cover/pdf-cover.html +29 -29
- package/livingdocs/PDF_only/pdf-cover/pdf.scss +1 -1
- package/livingdocs/PDF_only/pdf-cover/word.scss +1 -1
- package/livingdocs/PDF_only/pdf-cover-chapter/ldd.scss +19 -19
- package/livingdocs/PDF_only/pdf-cover-chapter/pdf-chapter-cover.html +18 -18
- package/livingdocs/PDF_only/pdf-cover-chapter/pdf.scss +1 -1
- package/livingdocs/PDF_only/pdf-cover-chapter/print.scss +19 -19
- package/livingdocs/PDF_only/pdf-cover-chapter/word.scss +1 -1
- package/livingdocs/PDF_only/pdf-pagebreak/general.scss +4 -4
- package/livingdocs/PDF_only/pdf-pagebreak/ldd.scss +5 -5
- package/livingdocs/PDF_only/pdf-pagebreak/pdf-pagebreak.html +8 -8
- package/livingdocs/PDF_only/pdf-publication-title/general.scss +5 -5
- package/livingdocs/PDF_only/pdf-publication-title/pdf-publication-title.html +15 -15
- package/livingdocs/PDF_only/pdf-toc-item/general.scss +41 -41
- package/livingdocs/PDF_only/pdf-toc-item/pdf-toc-item.html +33 -33
- package/livingdocs/PDF_only/pdf-toc-item/properties.json +7 -7
- package/livingdocs/PDF_only/pdf-toc-item-blank/general.scss +5 -5
- package/livingdocs/PDF_only/pdf-toc-item-blank/pdf-toc-item-blank.html +11 -11
- package/livingdocs/PDF_only/pdf-toc-item-title/general.scss +5 -5
- package/livingdocs/PDF_only/pdf-toc-item-title/pdf-toc-item-title.html +11 -11
- package/livingdocs/PDF_only/pdf-toc-page/app.scss +1 -1
- package/livingdocs/PDF_only/pdf-toc-page/general.scss +1 -1
- package/livingdocs/PDF_only/pdf-toc-page/ldd.scss +1 -1
- package/livingdocs/PDF_only/pdf-toc-page/pdf-toc-page.html +33 -33
- package/livingdocs/PDF_only/pdf-toc-page/pdf.scss +1 -1
- package/livingdocs/PDF_only/pdf-toc-page/properties.json +12 -12
- package/livingdocs/PDF_only/pdf-toc-page/word.scss +1 -1
- package/livingdocs/PDF_only/pdf-video-link/ldd.scss +16 -16
- package/livingdocs/PDF_only/pdf-video-link/pdf-video-link.html +41 -41
- package/livingdocs/PDF_only/pdf-video-link/pdf.scss +1 -1
- package/livingdocs/PDF_only/pdf-video-link/print.scss +12 -12
- package/livingdocs/PDF_only/pdf-video-link/word.scss +1 -1
- package/livingdocs/Properties/grid/app.scss +1 -1
- package/livingdocs/Properties/grid/general.scss +95 -95
- package/livingdocs/Properties/grid/ldd.scss +1 -1
- package/livingdocs/Properties/grid/pdf.scss +1 -1
- package/livingdocs/Properties/grid/print.scss +94 -94
- package/livingdocs/Properties/grid/properties.json +68 -68
- package/livingdocs/Properties/grid/web.scss +98 -98
- package/livingdocs/Properties/grid/word.scss +1 -1
- package/livingdocs/Signatures/signature-container/app.scss +1 -1
- package/livingdocs/Signatures/signature-container/general.scss +7 -7
- package/livingdocs/Signatures/signature-container/ldd.scss +1 -1
- package/livingdocs/Signatures/signature-container/pdf.scss +1 -1
- package/livingdocs/Signatures/signature-container/signature-container.html +30 -30
- package/livingdocs/Signatures/signature-container/word.scss +1 -1
- package/livingdocs/Signatures/signature-item/app.scss +1 -1
- package/livingdocs/Signatures/signature-item/general.scss +53 -53
- package/livingdocs/Signatures/signature-item/ldd.scss +1 -1
- package/livingdocs/Signatures/signature-item/pdf.scss +1 -1
- package/livingdocs/Signatures/signature-item/signature-item.html +23 -23
- package/livingdocs/Signatures/signature-item/word.scss +1 -1
- package/livingdocs/Text/footnote/app.scss +1 -1
- package/livingdocs/Text/footnote/footnote.html +14 -14
- package/livingdocs/Text/footnote/general.scss +12 -12
- package/livingdocs/Text/footnote/ldd.scss +1 -1
- package/livingdocs/Text/footnote/pdf.scss +1 -1
- package/livingdocs/Text/footnote/print.scss +36 -36
- package/livingdocs/Text/footnote/web.scss +27 -27
- package/livingdocs/Text/footnote/word.scss +1 -1
- package/livingdocs/Text/lead/general.scss +9 -9
- package/livingdocs/Text/lead/lead.html +23 -23
- package/livingdocs/Text/paragraph/general.scss +9 -9
- package/livingdocs/Text/paragraph/paragraph.html +24 -24
- package/livingdocs/Text/quote/general.scss +43 -43
- package/livingdocs/Text/quote/properties.json +7 -7
- package/livingdocs/Text/quote/quote.html +29 -29
- package/livingdocs/Text/quote-with-portrait/general.scss +81 -81
- package/livingdocs/Text/quote-with-portrait/properties.json +12 -12
- package/livingdocs/Text/quote-with-portrait/quote-with-portrait.html +49 -49
- package/livingdocs/Titles/title-h1/general.scss +10 -10
- package/livingdocs/Titles/title-h1/title-h1.html +16 -16
- package/livingdocs/Titles/title-h2/app.scss +1 -1
- package/livingdocs/Titles/title-h2/general.scss +13 -13
- package/livingdocs/Titles/title-h2/ldd.scss +1 -1
- package/livingdocs/Titles/title-h2/pdf.scss +1 -1
- package/livingdocs/Titles/title-h2/print.scss +36 -36
- package/livingdocs/Titles/title-h2/title-h2.html +26 -26
- package/livingdocs/Titles/title-h2/web.scss +27 -27
- package/livingdocs/Titles/title-h2/word.scss +1 -1
- package/livingdocs/Titles/title-h3/app.scss +1 -1
- package/livingdocs/Titles/title-h3/general.scss +13 -13
- package/livingdocs/Titles/title-h3/ldd.scss +1 -1
- package/livingdocs/Titles/title-h3/pdf.scss +1 -1
- package/livingdocs/Titles/title-h3/print.scss +34 -34
- package/livingdocs/Titles/title-h3/title-h3.html +26 -26
- package/livingdocs/Titles/title-h3/web.scss +27 -27
- package/livingdocs/Titles/title-h3/word.scss +1 -1
- package/livingdocs/Titles/title-h4/app.scss +1 -1
- package/livingdocs/Titles/title-h4/general.scss +13 -13
- package/livingdocs/Titles/title-h4/ldd.scss +1 -1
- package/livingdocs/Titles/title-h4/pdf.scss +1 -1
- package/livingdocs/Titles/title-h4/print.scss +34 -34
- package/livingdocs/Titles/title-h4/title-h4.html +26 -26
- package/livingdocs/Titles/title-h4/web.scss +27 -27
- package/livingdocs/Titles/title-h4/word.scss +1 -1
- package/livingdocs/Titles/title-h5/general.scss +10 -10
- package/livingdocs/Titles/title-h5/title-h5.html +16 -16
- package/livingdocs/Titles/title-h6/general.scss +10 -10
- package/livingdocs/Titles/title-h6/title-h6.html +16 -16
- package/package.json +50 -50
- package/preparePublish.cjs +95 -95
- package/scripts/beaver.js +316 -316
- package/scripts/build.js +812 -812
- package/scripts/components.js +566 -566
- package/scripts/doPublish.js +43 -43
- package/scripts/init.js +45 -45
- package/scripts/migrate-livingdocs-build/LICENSE +21 -21
- package/scripts/migrate-livingdocs-build/bin/build.js +53 -53
- package/scripts/migrate-livingdocs-build/bin/migrate.js +43 -43
- package/scripts/migrate-livingdocs-build/dev/build/v1.js +51 -51
- package/scripts/migrate-livingdocs-build/dev/build/v2.js +44 -44
- package/scripts/migrate-livingdocs-build/dev/build/zip-archive.js +39 -39
- package/scripts/migrate-livingdocs-build/dev/build.js +7 -7
- package/scripts/migrate-livingdocs-build/dev/configuration-defaults.js +18 -18
- package/scripts/migrate-livingdocs-build/dev/configuration.js +34 -34
- package/scripts/migrate-livingdocs-build/dev/lib.d.ts +1 -1
- package/scripts/migrate-livingdocs-build/dev/lib.js +251 -251
- package/scripts/migrate-livingdocs-build/dev/livingdocs-design.d.ts +2 -2
- package/scripts/migrate-livingdocs-build/dev/livingdocs-design.js +80 -80
- package/scripts/migrate-livingdocs-build/dev/logger.js +16 -16
- package/scripts/migrate-livingdocs-build/dev/migrate.js +241 -241
- package/scripts/migrate-livingdocs-build/readme.md +62 -62
- package/scripts/preparePublish.js +88 -88
- package/scripts/renamePackage.d.ts +1 -1
- package/scripts/renamePackage.js +48 -48
- package/scripts/utils.js +106 -106
- package/scripts/vite.js +58 -58
- package/scss/colors/functions.scss +18 -18
- package/scss/colors/index.scss +3 -3
- package/scss/colors/mixins.scss +45 -45
- package/scss/colors/variables.scss +6 -6
- package/scss/config.scss +7 -7
- package/scss/core-styles.scss +22 -22
- package/scss/fonts/functions.scss +21 -21
- package/scss/fonts/index.scss +3 -3
- package/scss/fonts/mixins.scss +31 -31
- package/scss/fonts/variables.scss +8 -8
- package/scss/grid/functions.scss +29 -29
- package/scss/grid/index.scss +3 -3
- package/scss/grid/mixins.scss +388 -388
- package/scss/grid/variables.scss +10 -10
- package/scss/helpers/index.scss +3 -3
- package/scss/helpers/mixins.scss +87 -87
- package/scss/helpers/variables.scss +7 -7
- package/scss/index.scss +8 -8
- package/scss/meta/functions.scss +64 -64
- package/scss/meta/index.scss +3 -3
- package/scss/meta/mixins.scss +6 -6
- package/scss/meta/variables.scss +8 -8
- package/scss/spacer/functions.scss +9 -9
- package/scss/spacer/index.scss +3 -3
- package/scss/spacer/mixins.scss +236 -236
- package/scss/spacer/variables.scss +6 -6
- package/scss/system/functions.scss +77 -77
- package/scss/system/index.scss +3 -3
- package/scss/system/mixins.scss +27 -27
- package/scss/system/root.scss +39 -39
- package/scss/system/variables.scss +13 -13
- package/scss/typography/functions.scss +63 -63
- package/scss/typography/index.scss +3 -3
- package/scss/typography/mixins.scss +262 -262
- package/scss/typography/variables.scss +11 -11
|
@@ -1,209 +1,209 @@
|
|
|
1
|
-
<script lang="ts" setup>
|
|
2
|
-
import { computed, ref } from 'vue'
|
|
3
|
-
import { useI18n } from 'vue-i18n'
|
|
4
|
-
import useConfig from '@/composables/config'
|
|
5
|
-
import { MenuArticle, MenuEntry, MenuExternal } from '@/components/MenuItem'
|
|
6
|
-
|
|
7
|
-
const { locale } = useI18n()
|
|
8
|
-
const config = await useConfig()
|
|
9
|
-
const subNavigationVisible = ref<boolean>(false)
|
|
10
|
-
const activeSubmenu = ref<NsWowMenu[]>([])
|
|
11
|
-
const activeSubSubmenu = ref<NsWowMenu[]>([])
|
|
12
|
-
|
|
13
|
-
const currentMenus = computed(() => {
|
|
14
|
-
return config.value.menus[locale.value] ?? {}
|
|
15
|
-
})
|
|
16
|
-
|
|
17
|
-
const currentMenu = computed(() => {
|
|
18
|
-
const m = currentMenus.value.menuMain
|
|
19
|
-
return m ?? []
|
|
20
|
-
})
|
|
21
|
-
|
|
22
|
-
const currentArticles = computed<NsWowArticle[]>(() => {
|
|
23
|
-
return config.value.articles[locale.value] ?? []
|
|
24
|
-
})
|
|
25
|
-
|
|
26
|
-
function getLinkByPage(page: string): string {
|
|
27
|
-
const currentPage = currentArticles.value.find((element) => element.uuid === page)
|
|
28
|
-
return currentPage ? `/${locale.value}/${currentPage.slug}` : ''
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
function activateSubmenu(index: string | number): void {
|
|
32
|
-
const menu = currentMenu.value[index]
|
|
33
|
-
if (menu) {
|
|
34
|
-
activeSubmenu.value = menu.submenuEntries ?? []
|
|
35
|
-
|
|
36
|
-
if (!subNavigationVisible.value) {
|
|
37
|
-
subNavigationVisible.value = !subNavigationVisible.value
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
function closeSubmenu() {
|
|
43
|
-
subNavigationVisible.value = false
|
|
44
|
-
}
|
|
45
|
-
</script>
|
|
46
|
-
|
|
47
|
-
<template>
|
|
48
|
-
<nav class="srl-navigation">
|
|
49
|
-
<div class="srl-navigation__menuMain srl-bg-secondary-light">
|
|
50
|
-
<div class="srl-navigation__menuMain-inner">
|
|
51
|
-
<ul>
|
|
52
|
-
<li
|
|
53
|
-
class="srl-typo-copy1"
|
|
54
|
-
v-for="(level1Item, level1ItemIndex) in currentMenu"
|
|
55
|
-
:class="level1Item.type"
|
|
56
|
-
>
|
|
57
|
-
<MenuArticle
|
|
58
|
-
v-if="level1Item.type === 'Article'"
|
|
59
|
-
:label="level1Item.label"
|
|
60
|
-
:page="getLinkByPage(<string>level1Item.page)"
|
|
61
|
-
@click="closeSubmenu()"
|
|
62
|
-
/>
|
|
63
|
-
<MenuEntry
|
|
64
|
-
v-if="level1Item.type === 'MenuEntry'"
|
|
65
|
-
:label="level1Item.label"
|
|
66
|
-
@click="activateSubmenu(level1ItemIndex)"
|
|
67
|
-
/>
|
|
68
|
-
<MenuExternal
|
|
69
|
-
v-if="level1Item.type === 'ExternalLink'"
|
|
70
|
-
:label="level1Item.label"
|
|
71
|
-
:url="level1Item.url"
|
|
72
|
-
/>
|
|
73
|
-
</li>
|
|
74
|
-
<li
|
|
75
|
-
class="srl-typo-copy1"
|
|
76
|
-
v-if="subNavigationVisible"
|
|
77
|
-
@click="subNavigationVisible = false"
|
|
78
|
-
>
|
|
79
|
-
<svg
|
|
80
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
81
|
-
width="16"
|
|
82
|
-
height="16"
|
|
83
|
-
fill="currentColor"
|
|
84
|
-
class="bi bi-x-lg"
|
|
85
|
-
viewBox="0 0 16 16"
|
|
86
|
-
>
|
|
87
|
-
<path
|
|
88
|
-
d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"
|
|
89
|
-
/>
|
|
90
|
-
</svg>
|
|
91
|
-
</li>
|
|
92
|
-
</ul>
|
|
93
|
-
</div>
|
|
94
|
-
</div>
|
|
95
|
-
|
|
96
|
-
<transition name="fade">
|
|
97
|
-
<div class="srl-navigation__subNav srl-bg-secondary-light">
|
|
98
|
-
<div class="srl-navigation__subNav-inner">
|
|
99
|
-
<ul v-if="activeSubmenu.length && subNavigationVisible">
|
|
100
|
-
<li class="srl-typo-copy1" v-for="(level2Item, level2ItemIndex) in activeSubmenu">
|
|
101
|
-
<MenuArticle
|
|
102
|
-
v-if="level2Item.type === 'Article'"
|
|
103
|
-
:label="level2Item.label"
|
|
104
|
-
:page="getLinkByPage(<string>level2Item.page)"
|
|
105
|
-
@click="closeSubmenu()"
|
|
106
|
-
/>
|
|
107
|
-
<MenuEntry v-if="level2Item.type === 'MenuEntry'" :label="level2Item.label" />
|
|
108
|
-
<MenuExternal
|
|
109
|
-
v-if="level2Item.type === 'ExternalLink'"
|
|
110
|
-
:label="level2Item.label"
|
|
111
|
-
:url="<string>level2Item.url"
|
|
112
|
-
/>
|
|
113
|
-
|
|
114
|
-
<ul>
|
|
115
|
-
<li
|
|
116
|
-
class="srl-typo-copy1"
|
|
117
|
-
v-for="(level3Item, index) in level2Item && level2Item.submenuEntries"
|
|
118
|
-
>
|
|
119
|
-
<MenuArticle
|
|
120
|
-
v-if="level3Item.type === 'Article'"
|
|
121
|
-
:label="level3Item.label"
|
|
122
|
-
:page="getLinkByPage(<string>level3Item.page)"
|
|
123
|
-
@click="closeSubmenu()"
|
|
124
|
-
/>
|
|
125
|
-
<MenuEntry v-if="level3Item.type === 'MenuEntry'" :label="level3Item.label" />
|
|
126
|
-
<MenuExternal
|
|
127
|
-
v-if="level3Item.type === 'ExternalLink'"
|
|
128
|
-
:label="level3Item.label"
|
|
129
|
-
:url="<string>level3Item.url"
|
|
130
|
-
/>
|
|
131
|
-
</li>
|
|
132
|
-
</ul>
|
|
133
|
-
</li>
|
|
134
|
-
</ul>
|
|
135
|
-
</div>
|
|
136
|
-
</div>
|
|
137
|
-
</transition>
|
|
138
|
-
</nav>
|
|
139
|
-
</template>
|
|
140
|
-
|
|
141
|
-
<style lang="scss">
|
|
142
|
-
@use 'nswow';
|
|
143
|
-
|
|
144
|
-
.srl-navigation {
|
|
145
|
-
&__menuMain,
|
|
146
|
-
&__subNav {
|
|
147
|
-
&-inner {
|
|
148
|
-
margin: 0 auto;
|
|
149
|
-
@include nswow.grid-container();
|
|
150
|
-
|
|
151
|
-
ul {
|
|
152
|
-
margin: 0 0 0 0;
|
|
153
|
-
padding: 0 0 0 0;
|
|
154
|
-
list-style-type: none;
|
|
155
|
-
|
|
156
|
-
li {
|
|
157
|
-
a {
|
|
158
|
-
text-decoration: none;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
&__menuMain {
|
|
166
|
-
&-inner {
|
|
167
|
-
ul {
|
|
168
|
-
display: flex;
|
|
169
|
-
align-items: center;
|
|
170
|
-
gap: nswow.system-size-unit(20);
|
|
171
|
-
|
|
172
|
-
li {
|
|
173
|
-
position: relative;
|
|
174
|
-
padding: nswow.system-size-unit(10) nswow.system-size-unit(20);
|
|
175
|
-
cursor: pointer;
|
|
176
|
-
|
|
177
|
-
&:hover {
|
|
178
|
-
background: nswow.colors-primary();
|
|
179
|
-
color: nswow.colors-light();
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
&__subNav {
|
|
187
|
-
border-bottom: nswow.system-size-unit(1) solid nswow.colors-shade-800();
|
|
188
|
-
|
|
189
|
-
&-inner {
|
|
190
|
-
ul {
|
|
191
|
-
display: flex;
|
|
192
|
-
flex-direction: column;
|
|
193
|
-
|
|
194
|
-
li {
|
|
195
|
-
display: flex;
|
|
196
|
-
align-items: center;
|
|
197
|
-
position: relative;
|
|
198
|
-
padding: nswow.system-size-unit(5) nswow.system-size-unit(20);
|
|
199
|
-
cursor: pointer;
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
@include nswow.grid-media(print) {
|
|
206
|
-
display: none;
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
</style>
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import { computed, ref } from 'vue'
|
|
3
|
+
import { useI18n } from 'vue-i18n'
|
|
4
|
+
import useConfig from '@/composables/config'
|
|
5
|
+
import { MenuArticle, MenuEntry, MenuExternal } from '@/components/MenuItem'
|
|
6
|
+
|
|
7
|
+
const { locale } = useI18n()
|
|
8
|
+
const config = await useConfig()
|
|
9
|
+
const subNavigationVisible = ref<boolean>(false)
|
|
10
|
+
const activeSubmenu = ref<NsWowMenu[]>([])
|
|
11
|
+
const activeSubSubmenu = ref<NsWowMenu[]>([])
|
|
12
|
+
|
|
13
|
+
const currentMenus = computed(() => {
|
|
14
|
+
return config.value.menus[locale.value] ?? {}
|
|
15
|
+
})
|
|
16
|
+
|
|
17
|
+
const currentMenu = computed(() => {
|
|
18
|
+
const m = currentMenus.value.menuMain
|
|
19
|
+
return m ?? []
|
|
20
|
+
})
|
|
21
|
+
|
|
22
|
+
const currentArticles = computed<NsWowArticle[]>(() => {
|
|
23
|
+
return config.value.articles[locale.value] ?? []
|
|
24
|
+
})
|
|
25
|
+
|
|
26
|
+
function getLinkByPage(page: string): string {
|
|
27
|
+
const currentPage = currentArticles.value.find((element) => element.uuid === page)
|
|
28
|
+
return currentPage ? `/${locale.value}/${currentPage.slug}` : ''
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function activateSubmenu(index: string | number): void {
|
|
32
|
+
const menu = currentMenu.value[index]
|
|
33
|
+
if (menu) {
|
|
34
|
+
activeSubmenu.value = menu.submenuEntries ?? []
|
|
35
|
+
|
|
36
|
+
if (!subNavigationVisible.value) {
|
|
37
|
+
subNavigationVisible.value = !subNavigationVisible.value
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function closeSubmenu() {
|
|
43
|
+
subNavigationVisible.value = false
|
|
44
|
+
}
|
|
45
|
+
</script>
|
|
46
|
+
|
|
47
|
+
<template>
|
|
48
|
+
<nav class="srl-navigation">
|
|
49
|
+
<div class="srl-navigation__menuMain srl-bg-secondary-light">
|
|
50
|
+
<div class="srl-navigation__menuMain-inner">
|
|
51
|
+
<ul>
|
|
52
|
+
<li
|
|
53
|
+
class="srl-typo-copy1"
|
|
54
|
+
v-for="(level1Item, level1ItemIndex) in currentMenu"
|
|
55
|
+
:class="level1Item.type"
|
|
56
|
+
>
|
|
57
|
+
<MenuArticle
|
|
58
|
+
v-if="level1Item.type === 'Article'"
|
|
59
|
+
:label="level1Item.label"
|
|
60
|
+
:page="getLinkByPage(<string>level1Item.page)"
|
|
61
|
+
@click="closeSubmenu()"
|
|
62
|
+
/>
|
|
63
|
+
<MenuEntry
|
|
64
|
+
v-if="level1Item.type === 'MenuEntry'"
|
|
65
|
+
:label="level1Item.label"
|
|
66
|
+
@click="activateSubmenu(level1ItemIndex)"
|
|
67
|
+
/>
|
|
68
|
+
<MenuExternal
|
|
69
|
+
v-if="level1Item.type === 'ExternalLink'"
|
|
70
|
+
:label="level1Item.label"
|
|
71
|
+
:url="level1Item.url"
|
|
72
|
+
/>
|
|
73
|
+
</li>
|
|
74
|
+
<li
|
|
75
|
+
class="srl-typo-copy1"
|
|
76
|
+
v-if="subNavigationVisible"
|
|
77
|
+
@click="subNavigationVisible = false"
|
|
78
|
+
>
|
|
79
|
+
<svg
|
|
80
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
81
|
+
width="16"
|
|
82
|
+
height="16"
|
|
83
|
+
fill="currentColor"
|
|
84
|
+
class="bi bi-x-lg"
|
|
85
|
+
viewBox="0 0 16 16"
|
|
86
|
+
>
|
|
87
|
+
<path
|
|
88
|
+
d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"
|
|
89
|
+
/>
|
|
90
|
+
</svg>
|
|
91
|
+
</li>
|
|
92
|
+
</ul>
|
|
93
|
+
</div>
|
|
94
|
+
</div>
|
|
95
|
+
|
|
96
|
+
<transition name="fade">
|
|
97
|
+
<div class="srl-navigation__subNav srl-bg-secondary-light">
|
|
98
|
+
<div class="srl-navigation__subNav-inner">
|
|
99
|
+
<ul v-if="activeSubmenu.length && subNavigationVisible">
|
|
100
|
+
<li class="srl-typo-copy1" v-for="(level2Item, level2ItemIndex) in activeSubmenu">
|
|
101
|
+
<MenuArticle
|
|
102
|
+
v-if="level2Item.type === 'Article'"
|
|
103
|
+
:label="level2Item.label"
|
|
104
|
+
:page="getLinkByPage(<string>level2Item.page)"
|
|
105
|
+
@click="closeSubmenu()"
|
|
106
|
+
/>
|
|
107
|
+
<MenuEntry v-if="level2Item.type === 'MenuEntry'" :label="level2Item.label" />
|
|
108
|
+
<MenuExternal
|
|
109
|
+
v-if="level2Item.type === 'ExternalLink'"
|
|
110
|
+
:label="level2Item.label"
|
|
111
|
+
:url="<string>level2Item.url"
|
|
112
|
+
/>
|
|
113
|
+
|
|
114
|
+
<ul>
|
|
115
|
+
<li
|
|
116
|
+
class="srl-typo-copy1"
|
|
117
|
+
v-for="(level3Item, index) in level2Item && level2Item.submenuEntries"
|
|
118
|
+
>
|
|
119
|
+
<MenuArticle
|
|
120
|
+
v-if="level3Item.type === 'Article'"
|
|
121
|
+
:label="level3Item.label"
|
|
122
|
+
:page="getLinkByPage(<string>level3Item.page)"
|
|
123
|
+
@click="closeSubmenu()"
|
|
124
|
+
/>
|
|
125
|
+
<MenuEntry v-if="level3Item.type === 'MenuEntry'" :label="level3Item.label" />
|
|
126
|
+
<MenuExternal
|
|
127
|
+
v-if="level3Item.type === 'ExternalLink'"
|
|
128
|
+
:label="level3Item.label"
|
|
129
|
+
:url="<string>level3Item.url"
|
|
130
|
+
/>
|
|
131
|
+
</li>
|
|
132
|
+
</ul>
|
|
133
|
+
</li>
|
|
134
|
+
</ul>
|
|
135
|
+
</div>
|
|
136
|
+
</div>
|
|
137
|
+
</transition>
|
|
138
|
+
</nav>
|
|
139
|
+
</template>
|
|
140
|
+
|
|
141
|
+
<style lang="scss">
|
|
142
|
+
@use 'nswow';
|
|
143
|
+
|
|
144
|
+
.srl-navigation {
|
|
145
|
+
&__menuMain,
|
|
146
|
+
&__subNav {
|
|
147
|
+
&-inner {
|
|
148
|
+
margin: 0 auto;
|
|
149
|
+
@include nswow.grid-container();
|
|
150
|
+
|
|
151
|
+
ul {
|
|
152
|
+
margin: 0 0 0 0;
|
|
153
|
+
padding: 0 0 0 0;
|
|
154
|
+
list-style-type: none;
|
|
155
|
+
|
|
156
|
+
li {
|
|
157
|
+
a {
|
|
158
|
+
text-decoration: none;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
&__menuMain {
|
|
166
|
+
&-inner {
|
|
167
|
+
ul {
|
|
168
|
+
display: flex;
|
|
169
|
+
align-items: center;
|
|
170
|
+
gap: nswow.system-size-unit(20);
|
|
171
|
+
|
|
172
|
+
li {
|
|
173
|
+
position: relative;
|
|
174
|
+
padding: nswow.system-size-unit(10) nswow.system-size-unit(20);
|
|
175
|
+
cursor: pointer;
|
|
176
|
+
|
|
177
|
+
&:hover {
|
|
178
|
+
background: nswow.colors-primary();
|
|
179
|
+
color: nswow.colors-light();
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
&__subNav {
|
|
187
|
+
border-bottom: nswow.system-size-unit(1) solid nswow.colors-shade-800();
|
|
188
|
+
|
|
189
|
+
&-inner {
|
|
190
|
+
ul {
|
|
191
|
+
display: flex;
|
|
192
|
+
flex-direction: column;
|
|
193
|
+
|
|
194
|
+
li {
|
|
195
|
+
display: flex;
|
|
196
|
+
align-items: center;
|
|
197
|
+
position: relative;
|
|
198
|
+
padding: nswow.system-size-unit(5) nswow.system-size-unit(20);
|
|
199
|
+
cursor: pointer;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
@include nswow.grid-media(print) {
|
|
206
|
+
display: none;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
</style>
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { RouterLink } from 'vue-router'
|
|
3
|
-
|
|
4
|
-
const props = defineProps<{
|
|
5
|
-
label: string
|
|
6
|
-
page: string
|
|
7
|
-
anchor?: string
|
|
8
|
-
}>()
|
|
9
|
-
</script>
|
|
10
|
-
|
|
11
|
-
<template>
|
|
12
|
-
<span>
|
|
13
|
-
<router-link :to="{ path: props.page }">{{ props.label }}</router-link></span
|
|
14
|
-
>
|
|
15
|
-
</template>
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { RouterLink } from 'vue-router'
|
|
3
|
+
|
|
4
|
+
const props = defineProps<{
|
|
5
|
+
label: string
|
|
6
|
+
page: string
|
|
7
|
+
anchor?: string
|
|
8
|
+
}>()
|
|
9
|
+
</script>
|
|
10
|
+
|
|
11
|
+
<template>
|
|
12
|
+
<span>
|
|
13
|
+
<router-link :to="{ path: props.page }">{{ props.label }}</router-link></span
|
|
14
|
+
>
|
|
15
|
+
</template>
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
const props = defineProps<{
|
|
3
|
-
label: string
|
|
4
|
-
page?: string
|
|
5
|
-
anchor?: string
|
|
6
|
-
}>()
|
|
7
|
-
</script>
|
|
8
|
-
|
|
9
|
-
<template>
|
|
10
|
-
<span
|
|
11
|
-
>{{ props.label }}
|
|
12
|
-
<svg
|
|
13
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
14
|
-
width="16"
|
|
15
|
-
height="16"
|
|
16
|
-
fill="currentColor"
|
|
17
|
-
class="bi bi-chevron-right"
|
|
18
|
-
viewBox="0 0 16 16"
|
|
19
|
-
>
|
|
20
|
-
<path
|
|
21
|
-
fill-rule="evenodd"
|
|
22
|
-
d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"
|
|
23
|
-
/>
|
|
24
|
-
</svg>
|
|
25
|
-
</span>
|
|
26
|
-
</template>
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
const props = defineProps<{
|
|
3
|
+
label: string
|
|
4
|
+
page?: string
|
|
5
|
+
anchor?: string
|
|
6
|
+
}>()
|
|
7
|
+
</script>
|
|
8
|
+
|
|
9
|
+
<template>
|
|
10
|
+
<span
|
|
11
|
+
>{{ props.label }}
|
|
12
|
+
<svg
|
|
13
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
14
|
+
width="16"
|
|
15
|
+
height="16"
|
|
16
|
+
fill="currentColor"
|
|
17
|
+
class="bi bi-chevron-right"
|
|
18
|
+
viewBox="0 0 16 16"
|
|
19
|
+
>
|
|
20
|
+
<path
|
|
21
|
+
fill-rule="evenodd"
|
|
22
|
+
d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"
|
|
23
|
+
/>
|
|
24
|
+
</svg>
|
|
25
|
+
</span>
|
|
26
|
+
</template>
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
const props = defineProps<{
|
|
3
|
-
label: string
|
|
4
|
-
url: string
|
|
5
|
-
}>()
|
|
6
|
-
</script>
|
|
7
|
-
|
|
8
|
-
<template>
|
|
9
|
-
<span>
|
|
10
|
-
<a :href="props.url" target="_blank" :title="props.label">{{ props.label }}</a>
|
|
11
|
-
<svg
|
|
12
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
13
|
-
width="16"
|
|
14
|
-
height="16"
|
|
15
|
-
fill="currentColor"
|
|
16
|
-
viewBox="0 0 16 16"
|
|
17
|
-
>
|
|
18
|
-
<path
|
|
19
|
-
fill-rule="evenodd"
|
|
20
|
-
d="M6.364 13.5a.5.5 0 0 0 .5.5H13.5a1.5 1.5 0 0 0 1.5-1.5v-10A1.5 1.5 0 0 0 13.5 1h-10A1.5 1.5 0 0 0 2 2.5v6.636a.5.5 0 1 0 1 0V2.5a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 .5.5v10a.5.5 0 0 1-.5.5H6.864a.5.5 0 0 0-.5.5z"
|
|
21
|
-
/>
|
|
22
|
-
<path
|
|
23
|
-
fill-rule="evenodd"
|
|
24
|
-
d="M11 5.5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793l-8.147 8.146a.5.5 0 0 0 .708.708L10 6.707V10.5a.5.5 0 0 0 1 0v-5z"
|
|
25
|
-
/>
|
|
26
|
-
</svg>
|
|
27
|
-
</span>
|
|
28
|
-
</template>
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
const props = defineProps<{
|
|
3
|
+
label: string
|
|
4
|
+
url: string
|
|
5
|
+
}>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<span>
|
|
10
|
+
<a :href="props.url" target="_blank" :title="props.label">{{ props.label }}</a>
|
|
11
|
+
<svg
|
|
12
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
13
|
+
width="16"
|
|
14
|
+
height="16"
|
|
15
|
+
fill="currentColor"
|
|
16
|
+
viewBox="0 0 16 16"
|
|
17
|
+
>
|
|
18
|
+
<path
|
|
19
|
+
fill-rule="evenodd"
|
|
20
|
+
d="M6.364 13.5a.5.5 0 0 0 .5.5H13.5a1.5 1.5 0 0 0 1.5-1.5v-10A1.5 1.5 0 0 0 13.5 1h-10A1.5 1.5 0 0 0 2 2.5v6.636a.5.5 0 1 0 1 0V2.5a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 .5.5v10a.5.5 0 0 1-.5.5H6.864a.5.5 0 0 0-.5.5z"
|
|
21
|
+
/>
|
|
22
|
+
<path
|
|
23
|
+
fill-rule="evenodd"
|
|
24
|
+
d="M11 5.5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793l-8.147 8.146a.5.5 0 0 0 .708.708L10 6.707V10.5a.5.5 0 0 0 1 0v-5z"
|
|
25
|
+
/>
|
|
26
|
+
</svg>
|
|
27
|
+
</span>
|
|
28
|
+
</template>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import MenuArticle from '@/components/MenuItem/MenuArticle.vue'
|
|
2
|
-
import MenuEntry from '@/components/MenuItem/MenuEntry.vue'
|
|
3
|
-
import MenuExternal from '@/components/MenuItem/MenuExternal.vue'
|
|
4
|
-
|
|
5
|
-
export { MenuExternal, MenuArticle, MenuEntry }
|
|
1
|
+
import MenuArticle from '@/components/MenuItem/MenuArticle.vue'
|
|
2
|
+
import MenuEntry from '@/components/MenuItem/MenuEntry.vue'
|
|
3
|
+
import MenuExternal from '@/components/MenuItem/MenuExternal.vue'
|
|
4
|
+
|
|
5
|
+
export { MenuExternal, MenuArticle, MenuEntry }
|