@simple-reporting/base 0.0.1
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 -0
- package/.nvmrc +1 -0
- package/.prettierrc +6 -0
- package/README.md +23 -0
- package/cli.js +114 -0
- package/dev/.ddev/config.yaml +279 -0
- package/dev/.ddev/nginx_full/custom.conf +12 -0
- package/dev/.env +1 -0
- package/dev/.env.development +1 -0
- package/dev/.eslintrc.cjs +15 -0
- package/dev/.nvmrc +1 -0
- package/dev/.prettierrc.json +8 -0
- package/dev/.vscode/extensions.json +3 -0
- package/dev/.vscode/settings.json +4 -0
- package/dev/README.md +45 -0
- package/dev/env.d.ts +1 -0
- package/dev/index.html +17 -0
- package/dev/ldd.html +7 -0
- package/dev/livingdocs/Media/image/app.scss +25 -0
- package/dev/livingdocs/Media/image/general.scss +11 -0
- package/dev/livingdocs/Media/image/image.html +46 -0
- package/dev/livingdocs/Media/image/ldd.scss +1 -0
- package/dev/livingdocs/Media/image/pdf.scss +1 -0
- package/dev/livingdocs/Media/image/print.scss +7 -0
- package/dev/livingdocs/Media/image/properties.json +41 -0
- package/dev/livingdocs/Media/image/web.scss +0 -0
- package/dev/livingdocs/Media/image/word.scss +1 -0
- package/dev/livingdocs/Properties/grid/app.scss +1 -0
- package/dev/livingdocs/Properties/grid/general.scss +95 -0
- package/dev/livingdocs/Properties/grid/ldd.scss +1 -0
- package/dev/livingdocs/Properties/grid/pdf.scss +1 -0
- package/dev/livingdocs/Properties/grid/print.scss +94 -0
- package/dev/livingdocs/Properties/grid/properties.json +68 -0
- package/dev/livingdocs/Properties/grid/web.scss +98 -0
- package/dev/livingdocs/Properties/grid/word.scss +1 -0
- package/dev/livingdocs/Text/paragraph/general.scss +9 -0
- package/dev/livingdocs/Text/paragraph/paragraph.html +22 -0
- package/dev/livingdocs/Titles/title-h1/general.scss +10 -0
- package/dev/livingdocs/Titles/title-h1/title-h1.html +16 -0
- package/dev/livingdocs/Titles/title-h2/app.scss +1 -0
- package/dev/livingdocs/Titles/title-h2/general.scss +13 -0
- package/dev/livingdocs/Titles/title-h2/ldd.scss +1 -0
- package/dev/livingdocs/Titles/title-h2/pdf.scss +1 -0
- package/dev/livingdocs/Titles/title-h2/print.scss +36 -0
- package/dev/livingdocs/Titles/title-h2/title-h2.html +24 -0
- package/dev/livingdocs/Titles/title-h2/web.scss +27 -0
- package/dev/livingdocs/Titles/title-h2/word.scss +1 -0
- package/dev/livingdocs/Titles/title-h3/app.scss +1 -0
- package/dev/livingdocs/Titles/title-h3/general.scss +13 -0
- package/dev/livingdocs/Titles/title-h3/ldd.scss +1 -0
- package/dev/livingdocs/Titles/title-h3/pdf.scss +1 -0
- package/dev/livingdocs/Titles/title-h3/print.scss +34 -0
- package/dev/livingdocs/Titles/title-h3/title-h3.html +24 -0
- package/dev/livingdocs/Titles/title-h3/web.scss +27 -0
- package/dev/livingdocs/Titles/title-h3/word.scss +1 -0
- package/dev/livingdocs/Titles/title-h4/app.scss +1 -0
- package/dev/livingdocs/Titles/title-h4/general.scss +13 -0
- package/dev/livingdocs/Titles/title-h4/ldd.scss +1 -0
- package/dev/livingdocs/Titles/title-h4/pdf.scss +1 -0
- package/dev/livingdocs/Titles/title-h4/print.scss +34 -0
- package/dev/livingdocs/Titles/title-h4/title-h4.html +24 -0
- package/dev/livingdocs/Titles/title-h4/web.scss +27 -0
- package/dev/livingdocs/Titles/title-h4/word.scss +1 -0
- package/dev/livingdocs/Titles/title-h5/general.scss +10 -0
- package/dev/livingdocs/Titles/title-h5/title-h5.html +16 -0
- package/dev/livingdocs/Titles/title-h6/general.scss +10 -0
- package/dev/livingdocs/Titles/title-h6/title-h6.html +16 -0
- package/dev/livingdocs.config.json +376 -0
- package/dev/nswow/ArticleAutoloader.ts +100 -0
- package/dev/nswow/ArticleLoader.ts +91 -0
- package/dev/nswow/colors.scss +3 -0
- package/dev/nswow/config.scss +13 -0
- package/dev/nswow/core-styles.scss +2 -0
- package/dev/nswow/fonts.scss +2 -0
- package/dev/nswow/grid.scss +2 -0
- package/dev/nswow/helpers.scss +2 -0
- package/dev/nswow/index.scss +9 -0
- package/dev/nswow/meta.scss +2 -0
- package/dev/nswow/spacer.scss +2 -0
- package/dev/nswow/system.scss +2 -0
- package/dev/nswow/typography.scss +3 -0
- package/dev/nswow.config.json +293 -0
- package/dev/package.json +61 -0
- package/dev/pdf/pdf-configuration-debug.xml +6 -0
- package/dev/pdf/pdf-configuration.xml +3 -0
- package/dev/pdf.ts +1 -0
- package/dev/public/.keep +0 -0
- package/dev/src/App.vue +44 -0
- package/dev/src/Autoload.ts +6 -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-black.svg +91 -0
- package/dev/src/assets/images/mms-logo-white.svg +105 -0
- package/dev/src/assets/scss/app.scss +39 -0
- package/dev/src/assets/scss/general.scss +17 -0
- package/dev/src/assets/scss/ldd.scss +27 -0
- package/dev/src/assets/scss/pdf.scss +2 -0
- package/dev/src/assets/scss/print.scss +1 -0
- package/dev/src/assets/scss/web.scss +1 -0
- package/dev/src/assets/scss/word.scss +2 -0
- package/dev/src/components/LanguageSwitch.vue +100 -0
- package/dev/src/components/MainNavigation.vue +209 -0
- package/dev/src/components/MenuItem/MenuArticle.vue +15 -0
- package/dev/src/components/MenuItem/MenuEntry.vue +26 -0
- package/dev/src/components/MenuItem/MenuExternal.vue +28 -0
- package/dev/src/components/MenuItem/index.ts +5 -0
- package/dev/src/components/PageFooter.vue +86 -0
- package/dev/src/components/PageHeader.vue +149 -0
- package/dev/src/components/PageModal.vue +95 -0
- package/dev/src/components/PrevNext.vue +144 -0
- package/dev/src/components/ScrollToTop.vue +63 -0
- package/dev/src/components/SrlPage/KFCApplication/KFCApplication.vue +715 -0
- package/dev/src/components/SrlPage/KFCApplication/KFCDropdownCharts.vue +112 -0
- package/dev/src/components/SrlPage/KFCApplication/KFCDropdownPeriod.vue +85 -0
- package/dev/src/components/SrlPage/KFCApplication/KFCTable.vue +63 -0
- package/dev/src/components/SrlPage/KFCApplication/hooks/kfcData.ts +9 -0
- package/dev/src/components/SrlPage/KFCApplication/models/KFCApplication.ts +183 -0
- package/dev/src/components/SrlPage/KFCApplication/scss/_highcharts-basic.scss +1136 -0
- package/dev/src/components/SrlPage/KFCApplication/scss/_highcharts-custom.scss +71 -0
- package/dev/src/components/SrlPage/KFCApplication/scss/_highcharts-general.scss +113 -0
- package/dev/src/components/SrlPage/KFCApplication/scss/_iz-keyfigure-comparison-dropdown.scss +189 -0
- package/dev/src/components/SrlPage/KFCApplication/scss/_iz-keyfigure-comparison.scss +151 -0
- package/dev/src/components/SrlPage/KFCApplication/scss/_kfc-loading.scss +40 -0
- package/dev/src/components/SrlPage/KFCApplication/scss/_kfc-print.scss +20 -0
- package/dev/src/components/SrlPage/KFCApplication/scss/_srl-button-kfc.scss +21 -0
- package/dev/src/components/SrlPage/KFCApplication/scss/_variables.scss +10 -0
- package/dev/src/components/SrlPage/KFCApplication/services/xlsxParser.ts +194 -0
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgColumnView.vue +28 -0
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgDownloadChart.vue +26 -0
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgDropdown.vue +18 -0
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgIndexedValues.vue +18 -0
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgLegendSwap.vue +18 -0
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgLineView.vue +28 -0
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgPDFChart.vue +26 -0
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgPrintChart.vue +33 -0
- package/dev/src/components/SrlPage/KFCApplication/theme/SvgTableView.vue +67 -0
- package/dev/src/components/SrlPage/KFCApplication/utils/XDownloader.js +455 -0
- package/dev/src/components/SrlPage/KFCApplication/utils/XDownloaderStyle.js +44 -0
- package/dev/src/components/SrlPage/KFCApplication/utils/XTableNamer.js +68 -0
- package/dev/src/composables/config.ts +48 -0
- package/dev/src/i18n/index.ts +51 -0
- package/dev/src/i18n/translation.ts +85 -0
- package/dev/src/locales/de.json +15 -0
- package/dev/src/locales/en.json +15 -0
- package/dev/src/main.ts +16 -0
- package/dev/src/router/index.ts +47 -0
- package/dev/src/types/nswow.d.ts +73 -0
- package/dev/src/utils/variables.ts +13 -0
- package/dev/src/views/ArticleView.vue +77 -0
- package/dev/src/views/DownloadsView.vue +88 -0
- package/dev/src/views/HomeView.vue +35 -0
- package/dev/src/views/PageNotFound.vue +73 -0
- package/dev/src/views/SearchView.vue +126 -0
- package/dev/tsconfig.app.json +16 -0
- package/dev/tsconfig.json +14 -0
- package/dev/tsconfig.node.json +19 -0
- package/dev/tsconfig.vitest.json +11 -0
- package/dev/vite.config.ts +27 -0
- package/dev/vitest.config.ts +14 -0
- package/dev/word.ts +1 -0
- package/livingdocs/Buttons/button/app.scss +1 -0
- package/livingdocs/Buttons/button/button.html +18 -0
- package/livingdocs/Buttons/button/general.scss +33 -0
- package/livingdocs/Buttons/button/ldd.scss +1 -0
- package/livingdocs/Buttons/button/pdf.scss +1 -0
- package/livingdocs/Buttons/button/word.scss +1 -0
- package/livingdocs/Buttons/button-container/app.scss +1 -0
- package/livingdocs/Buttons/button-container/button-container.html +31 -0
- package/livingdocs/Buttons/button-container/general.scss +12 -0
- package/livingdocs/Buttons/button-container/ldd.scss +1 -0
- package/livingdocs/Buttons/button-container/pdf.scss +3 -0
- package/livingdocs/Buttons/button-container/properties.json +19 -0
- package/livingdocs/Buttons/button-container/word.scss +3 -0
- package/livingdocs/CV/cv-timeline/app.scss +1 -0
- package/livingdocs/CV/cv-timeline/cv-timeline.html +19 -0
- package/livingdocs/CV/cv-timeline/general.scss +1 -0
- package/livingdocs/CV/cv-timeline/ldd.scss +1 -0
- package/livingdocs/CV/cv-timeline/pdf.scss +1 -0
- package/livingdocs/CV/cv-timeline/print.scss +35 -0
- package/livingdocs/CV/cv-timeline/web.scss +27 -0
- package/livingdocs/CV/cv-timeline/word.scss +1 -0
- package/livingdocs/Container/column-container/column-container.html +44 -0
- package/livingdocs/Container/column-container/general.scss +105 -0
- package/livingdocs/Container/column-container/properties.json +83 -0
- package/livingdocs/Lists/alphanumeric-list-group/alphanumeric-list-group.html +25 -0
- package/livingdocs/Lists/alphanumeric-list-group/app.scss +1 -0
- package/livingdocs/Lists/alphanumeric-list-group/general.scss +5 -0
- package/livingdocs/Lists/alphanumeric-list-group/ldd.scss +1 -0
- package/livingdocs/Lists/alphanumeric-list-group/pdf.scss +1 -0
- package/livingdocs/Lists/alphanumeric-list-group/print.scss +0 -0
- package/livingdocs/Lists/alphanumeric-list-group/web.scss +0 -0
- package/livingdocs/Lists/alphanumeric-list-group/word.scss +1 -0
- package/livingdocs/Lists/list-item/app.scss +1 -0
- package/livingdocs/Lists/list-item/general.scss +4 -0
- package/livingdocs/Lists/list-item/ldd.scss +1 -0
- package/livingdocs/Lists/list-item/list-item.html +17 -0
- package/livingdocs/Lists/list-item/pdf.scss +1 -0
- package/livingdocs/Lists/list-item/print.scss +0 -0
- package/livingdocs/Lists/list-item/web.scss +0 -0
- package/livingdocs/Lists/list-item/word.scss +1 -0
- package/livingdocs/Lists/ordered-list-group/app.scss +1 -0
- package/livingdocs/Lists/ordered-list-group/general.scss +5 -0
- package/livingdocs/Lists/ordered-list-group/ldd.scss +1 -0
- package/livingdocs/Lists/ordered-list-group/ordered-list-group.html +25 -0
- package/livingdocs/Lists/ordered-list-group/pdf.scss +1 -0
- package/livingdocs/Lists/ordered-list-group/print.scss +0 -0
- package/livingdocs/Lists/ordered-list-group/web.scss +0 -0
- package/livingdocs/Lists/ordered-list-group/word.scss +1 -0
- package/livingdocs/Lists/unordered-list-group/app.scss +1 -0
- package/livingdocs/Lists/unordered-list-group/general.scss +5 -0
- package/livingdocs/Lists/unordered-list-group/ldd.scss +1 -0
- package/livingdocs/Lists/unordered-list-group/pdf.scss +1 -0
- package/livingdocs/Lists/unordered-list-group/print.scss +0 -0
- package/livingdocs/Lists/unordered-list-group/unordered-list-group.html +25 -0
- package/livingdocs/Lists/unordered-list-group/web.scss +0 -0
- package/livingdocs/Lists/unordered-list-group/word.scss +1 -0
- package/livingdocs/Media/chart/app.scss +19 -0
- package/livingdocs/Media/chart/chart.html +29 -0
- package/livingdocs/Media/chart/general.scss +11 -0
- package/livingdocs/Media/chart/ldd.scss +1 -0
- package/livingdocs/Media/chart/pdf.scss +9 -0
- package/livingdocs/Media/chart/print.scss +0 -0
- package/livingdocs/Media/chart/properties.json +41 -0
- package/livingdocs/Media/chart/web.scss +0 -0
- package/livingdocs/Media/chart/word.scss +1 -0
- package/livingdocs/Media/graphic/app.scss +1 -0
- package/livingdocs/Media/graphic/general.scss +18 -0
- package/livingdocs/Media/graphic/graphic.html +29 -0
- package/livingdocs/Media/graphic/ldd.scss +1 -0
- package/livingdocs/Media/graphic/pdf.scss +1 -0
- package/livingdocs/Media/graphic/print.scss +0 -0
- package/livingdocs/Media/graphic/properties.json +36 -0
- package/livingdocs/Media/graphic/web.scss +0 -0
- package/livingdocs/Media/graphic/word.scss +1 -0
- package/livingdocs/Media/image/app.scss +25 -0
- package/livingdocs/Media/image/general.scss +11 -0
- package/livingdocs/Media/image/image.html +55 -0
- package/livingdocs/Media/image/ldd.scss +1 -0
- package/livingdocs/Media/image/pdf.scss +1 -0
- package/livingdocs/Media/image/print.scss +7 -0
- package/livingdocs/Media/image/properties.json +41 -0
- package/livingdocs/Media/image/web.scss +0 -0
- package/livingdocs/Media/image/word.scss +1 -0
- package/livingdocs/Media/nswow-table/app.scss +2 -0
- package/livingdocs/Media/nswow-table/app.ts +35 -0
- package/livingdocs/Media/nswow-table/general.scss +281 -0
- package/livingdocs/Media/nswow-table/ldd.scss +2 -0
- package/livingdocs/Media/nswow-table/nswow-table.html +30 -0
- package/livingdocs/Media/nswow-table/pdf.scss +8 -0
- package/livingdocs/Media/nswow-table/print.scss +0 -0
- package/livingdocs/Media/nswow-table/properties.json +66 -0
- package/livingdocs/Media/nswow-table/web.scss +23 -0
- package/livingdocs/Media/nswow-table/word.scss +2 -0
- package/livingdocs/Media/video/app.scss +1 -0
- package/livingdocs/Media/video/general.scss +7 -0
- package/livingdocs/Media/video/ldd.scss +1 -0
- package/livingdocs/Media/video/pdf.scss +1 -0
- package/livingdocs/Media/video/print.scss +5 -0
- package/livingdocs/Media/video/properties.json +41 -0
- package/livingdocs/Media/video/video.html +26 -0
- package/livingdocs/Media/video/web.scss +0 -0
- package/livingdocs/Media/video/word.scss +1 -0
- package/livingdocs/Misc/accordion/accordion.html +56 -0
- package/livingdocs/Misc/accordion/app.scss +63 -0
- package/livingdocs/Misc/accordion/app.ts +10 -0
- package/livingdocs/Misc/accordion/general.scss +44 -0
- package/livingdocs/Misc/accordion/ldd.scss +36 -0
- package/livingdocs/Misc/accordion/pdf.scss +39 -0
- package/livingdocs/Misc/accordion/word.scss +39 -0
- package/livingdocs/Misc/anchor/anchor.html +15 -0
- package/livingdocs/Misc/anchor/app.scss +10 -0
- package/livingdocs/Misc/anchor/app.ts +11 -0
- package/livingdocs/Misc/anchor/general.scss +1 -0
- package/livingdocs/Misc/anchor/pdf.scss +1 -0
- package/livingdocs/Misc/anchor/print.scss +3 -0
- package/livingdocs/Misc/anchor/word.scss +1 -0
- package/livingdocs/Misc/spacer/app.scss +1 -0
- package/livingdocs/Misc/spacer/general.scss +8 -0
- package/livingdocs/Misc/spacer/ldd.scss +1 -0
- package/livingdocs/Misc/spacer/pdf.scss +1 -0
- package/livingdocs/Misc/spacer/print.scss +18 -0
- package/livingdocs/Misc/spacer/properties.json +52 -0
- package/livingdocs/Misc/spacer/spacer.html +12 -0
- package/livingdocs/Misc/spacer/web.scss +18 -0
- package/livingdocs/Misc/spacer/word.scss +1 -0
- package/livingdocs/PDF_only/pdf-cover/ldd.scss +42 -0
- package/livingdocs/PDF_only/pdf-cover/pdf-cover.html +29 -0
- package/livingdocs/PDF_only/pdf-cover/pdf.scss +1 -0
- package/livingdocs/PDF_only/pdf-cover/print.scss +0 -0
- package/livingdocs/PDF_only/pdf-cover/word.scss +1 -0
- package/livingdocs/PDF_only/pdf-cover-chapter/ldd.scss +19 -0
- package/livingdocs/PDF_only/pdf-cover-chapter/pdf-chapter-cover.html +18 -0
- package/livingdocs/PDF_only/pdf-cover-chapter/pdf.scss +1 -0
- package/livingdocs/PDF_only/pdf-cover-chapter/print.scss +19 -0
- package/livingdocs/PDF_only/pdf-cover-chapter/word.scss +1 -0
- package/livingdocs/PDF_only/pdf-pagebreak/general.scss +4 -0
- package/livingdocs/PDF_only/pdf-pagebreak/ldd.scss +5 -0
- package/livingdocs/PDF_only/pdf-pagebreak/pdf-pagebreak.html +8 -0
- package/livingdocs/PDF_only/pdf-publication-title/general.scss +5 -0
- package/livingdocs/PDF_only/pdf-publication-title/pdf-publication-title.html +15 -0
- package/livingdocs/PDF_only/pdf-toc-item/general.scss +41 -0
- package/livingdocs/PDF_only/pdf-toc-item/pdf-toc-item.html +33 -0
- package/livingdocs/PDF_only/pdf-toc-item/properties.json +7 -0
- package/livingdocs/PDF_only/pdf-toc-item-blank/general.scss +5 -0
- package/livingdocs/PDF_only/pdf-toc-item-blank/pdf-toc-item-blank.html +11 -0
- package/livingdocs/PDF_only/pdf-toc-item-title/general.scss +5 -0
- package/livingdocs/PDF_only/pdf-toc-item-title/pdf-toc-item-title.html +11 -0
- package/livingdocs/PDF_only/pdf-toc-page/app.scss +1 -0
- package/livingdocs/PDF_only/pdf-toc-page/general.scss +1 -0
- package/livingdocs/PDF_only/pdf-toc-page/ldd.scss +1 -0
- package/livingdocs/PDF_only/pdf-toc-page/pdf-toc-page.html +33 -0
- package/livingdocs/PDF_only/pdf-toc-page/pdf.scss +1 -0
- package/livingdocs/PDF_only/pdf-toc-page/properties.json +12 -0
- package/livingdocs/PDF_only/pdf-toc-page/word.scss +1 -0
- package/livingdocs/PDF_only/pdf-video-link/ldd.scss +16 -0
- package/livingdocs/PDF_only/pdf-video-link/pdf-video-link.html +41 -0
- package/livingdocs/PDF_only/pdf-video-link/pdf.scss +1 -0
- package/livingdocs/PDF_only/pdf-video-link/print.scss +12 -0
- package/livingdocs/PDF_only/pdf-video-link/word.scss +1 -0
- package/livingdocs/Properties/grid/app.scss +1 -0
- package/livingdocs/Properties/grid/general.scss +95 -0
- package/livingdocs/Properties/grid/ldd.scss +1 -0
- package/livingdocs/Properties/grid/pdf.scss +1 -0
- package/livingdocs/Properties/grid/print.scss +94 -0
- package/livingdocs/Properties/grid/properties.json +68 -0
- package/livingdocs/Properties/grid/web.scss +98 -0
- package/livingdocs/Properties/grid/word.scss +1 -0
- package/livingdocs/Signatures/signature-container/app.scss +1 -0
- package/livingdocs/Signatures/signature-container/general.scss +7 -0
- package/livingdocs/Signatures/signature-container/ldd.scss +1 -0
- package/livingdocs/Signatures/signature-container/pdf.scss +1 -0
- package/livingdocs/Signatures/signature-container/print.scss +0 -0
- package/livingdocs/Signatures/signature-container/signature-container.html +30 -0
- package/livingdocs/Signatures/signature-container/web.scss +0 -0
- package/livingdocs/Signatures/signature-container/word.scss +1 -0
- package/livingdocs/Signatures/signature-item/app.scss +1 -0
- package/livingdocs/Signatures/signature-item/general.scss +53 -0
- package/livingdocs/Signatures/signature-item/ldd.scss +1 -0
- package/livingdocs/Signatures/signature-item/pdf.scss +1 -0
- package/livingdocs/Signatures/signature-item/print.scss +0 -0
- package/livingdocs/Signatures/signature-item/signature-item.html +23 -0
- package/livingdocs/Signatures/signature-item/web.scss +0 -0
- package/livingdocs/Signatures/signature-item/word.scss +1 -0
- package/livingdocs/Text/footnote/app.scss +1 -0
- package/livingdocs/Text/footnote/footnote.html +14 -0
- package/livingdocs/Text/footnote/general.scss +12 -0
- package/livingdocs/Text/footnote/ldd.scss +1 -0
- package/livingdocs/Text/footnote/pdf.scss +1 -0
- package/livingdocs/Text/footnote/print.scss +36 -0
- package/livingdocs/Text/footnote/web.scss +27 -0
- package/livingdocs/Text/footnote/word.scss +1 -0
- package/livingdocs/Text/lead/general.scss +9 -0
- package/livingdocs/Text/lead/lead.html +23 -0
- package/livingdocs/Text/paragraph/general.scss +9 -0
- package/livingdocs/Text/paragraph/paragraph.html +24 -0
- package/livingdocs/Text/quote/general.scss +43 -0
- package/livingdocs/Text/quote/properties.json +7 -0
- package/livingdocs/Text/quote/quote.html +29 -0
- package/livingdocs/Text/quote-with-portrait/general.scss +81 -0
- package/livingdocs/Text/quote-with-portrait/properties.json +12 -0
- package/livingdocs/Text/quote-with-portrait/quote-with-portrait.html +49 -0
- package/livingdocs/Titles/title-h1/general.scss +10 -0
- package/livingdocs/Titles/title-h1/title-h1.html +16 -0
- package/livingdocs/Titles/title-h2/app.scss +1 -0
- package/livingdocs/Titles/title-h2/general.scss +13 -0
- package/livingdocs/Titles/title-h2/ldd.scss +1 -0
- package/livingdocs/Titles/title-h2/pdf.scss +1 -0
- package/livingdocs/Titles/title-h2/print.scss +36 -0
- package/livingdocs/Titles/title-h2/title-h2.html +26 -0
- package/livingdocs/Titles/title-h2/web.scss +27 -0
- package/livingdocs/Titles/title-h2/word.scss +1 -0
- package/livingdocs/Titles/title-h3/app.scss +1 -0
- package/livingdocs/Titles/title-h3/general.scss +13 -0
- package/livingdocs/Titles/title-h3/ldd.scss +1 -0
- package/livingdocs/Titles/title-h3/pdf.scss +1 -0
- package/livingdocs/Titles/title-h3/print.scss +34 -0
- package/livingdocs/Titles/title-h3/title-h3.html +26 -0
- package/livingdocs/Titles/title-h3/web.scss +27 -0
- package/livingdocs/Titles/title-h3/word.scss +1 -0
- package/livingdocs/Titles/title-h4/app.scss +1 -0
- package/livingdocs/Titles/title-h4/general.scss +13 -0
- package/livingdocs/Titles/title-h4/ldd.scss +1 -0
- package/livingdocs/Titles/title-h4/pdf.scss +1 -0
- package/livingdocs/Titles/title-h4/print.scss +34 -0
- package/livingdocs/Titles/title-h4/title-h4.html +26 -0
- package/livingdocs/Titles/title-h4/web.scss +27 -0
- package/livingdocs/Titles/title-h4/word.scss +1 -0
- package/livingdocs/Titles/title-h5/general.scss +10 -0
- package/livingdocs/Titles/title-h5/title-h5.html +16 -0
- package/livingdocs/Titles/title-h6/general.scss +10 -0
- package/livingdocs/Titles/title-h6/title-h6.html +16 -0
- package/package.json +50 -0
- package/preparePublish.cjs +95 -0
- package/scripts/beaver.d.ts +6 -0
- package/scripts/beaver.js +316 -0
- package/scripts/build.d.ts +40 -0
- package/scripts/build.js +812 -0
- package/scripts/colors.d.ts +3 -0
- package/scripts/colors.js +27 -0
- package/scripts/components.d.ts +43 -0
- package/scripts/components.js +566 -0
- package/scripts/config.d.ts +1 -0
- package/scripts/config.js +1 -0
- package/scripts/doPublish.d.ts +1 -0
- package/scripts/doPublish.js +43 -0
- package/scripts/init.d.ts +9 -0
- package/scripts/init.js +45 -0
- package/scripts/migrate-livingdocs-build/LICENSE +21 -0
- package/scripts/migrate-livingdocs-build/bin/build.d.ts +8 -0
- package/scripts/migrate-livingdocs-build/bin/build.js +53 -0
- package/scripts/migrate-livingdocs-build/bin/migrate.d.ts +2 -0
- package/scripts/migrate-livingdocs-build/bin/migrate.js +43 -0
- package/scripts/migrate-livingdocs-build/dev/build/v1.d.ts +9 -0
- package/scripts/migrate-livingdocs-build/dev/build/v1.d.ts.map +1 -0
- package/scripts/migrate-livingdocs-build/dev/build/v1.js +51 -0
- package/scripts/migrate-livingdocs-build/dev/build/v2.d.ts +2 -0
- package/scripts/migrate-livingdocs-build/dev/build/v2.d.ts.map +1 -0
- package/scripts/migrate-livingdocs-build/dev/build/v2.js +44 -0
- package/scripts/migrate-livingdocs-build/dev/build/zip-archive.d.ts +2 -0
- package/scripts/migrate-livingdocs-build/dev/build/zip-archive.d.ts.map +1 -0
- package/scripts/migrate-livingdocs-build/dev/build/zip-archive.js +39 -0
- package/scripts/migrate-livingdocs-build/dev/build.d.ts +9 -0
- package/scripts/migrate-livingdocs-build/dev/build.js +7 -0
- package/scripts/migrate-livingdocs-build/dev/configuration-defaults.d.ts +20 -0
- package/scripts/migrate-livingdocs-build/dev/configuration-defaults.js +18 -0
- package/scripts/migrate-livingdocs-build/dev/configuration.d.ts +2 -0
- package/scripts/migrate-livingdocs-build/dev/configuration.js +34 -0
- package/scripts/migrate-livingdocs-build/dev/lib.d.ts +33 -0
- package/scripts/migrate-livingdocs-build/dev/lib.js +251 -0
- package/scripts/migrate-livingdocs-build/dev/livingdocs-design.d.ts +9 -0
- package/scripts/migrate-livingdocs-build/dev/livingdocs-design.js +80 -0
- package/scripts/migrate-livingdocs-build/dev/logger.d.ts +2 -0
- package/scripts/migrate-livingdocs-build/dev/logger.js +16 -0
- package/scripts/migrate-livingdocs-build/dev/migrate.d.ts +22 -0
- package/scripts/migrate-livingdocs-build/dev/migrate.js +241 -0
- package/scripts/migrate-livingdocs-build/readme.md +62 -0
- package/scripts/preparePublish.d.ts +1 -0
- package/scripts/preparePublish.js +88 -0
- package/scripts/renamePackage.d.ts +1 -0
- package/scripts/renamePackage.js +48 -0
- package/scripts/utils.d.ts +49 -0
- package/scripts/utils.js +106 -0
- package/scripts/vite.d.ts +10 -0
- package/scripts/vite.js +58 -0
- package/scss/colors/functions.scss +18 -0
- package/scss/colors/index.scss +3 -0
- package/scss/colors/mixins.scss +45 -0
- package/scss/colors/variables.scss +6 -0
- package/scss/config.scss +7 -0
- package/scss/core-styles.scss +22 -0
- package/scss/fonts/functions.scss +21 -0
- package/scss/fonts/index.scss +3 -0
- package/scss/fonts/mixins.scss +31 -0
- package/scss/fonts/variables.scss +8 -0
- package/scss/grid/functions.scss +29 -0
- package/scss/grid/index.scss +3 -0
- package/scss/grid/mixins.scss +388 -0
- package/scss/grid/variables.scss +10 -0
- package/scss/helpers/functions.scss +0 -0
- package/scss/helpers/index.scss +3 -0
- package/scss/helpers/mixins.scss +87 -0
- package/scss/helpers/variables.scss +7 -0
- package/scss/index.scss +8 -0
- package/scss/meta/functions.scss +64 -0
- package/scss/meta/index.scss +3 -0
- package/scss/meta/mixins.scss +6 -0
- package/scss/meta/variables.scss +8 -0
- package/scss/spacer/functions.scss +9 -0
- package/scss/spacer/index.scss +3 -0
- package/scss/spacer/mixins.scss +236 -0
- package/scss/spacer/variables.scss +6 -0
- package/scss/system/functions.scss +77 -0
- package/scss/system/index.scss +3 -0
- package/scss/system/mixins.scss +27 -0
- package/scss/system/root.scss +39 -0
- package/scss/system/variables.scss +13 -0
- package/scss/typography/functions.scss +63 -0
- package/scss/typography/index.scss +3 -0
- package/scss/typography/mixins.scss +262 -0
- package/scss/typography/variables.scss +11 -0
- package/tags.txt +1 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import ArticleLoader from './ArticleLoader'
|
|
2
|
+
import { camelCase } from 'cheerio/utils'
|
|
3
|
+
|
|
4
|
+
type AutoloadList = string | string[]
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Class representing an ArticleAutoloader.
|
|
8
|
+
* @class
|
|
9
|
+
*/
|
|
10
|
+
class ArticleAutoloader {
|
|
11
|
+
classes: { [key: string]: { new (node: HTMLElement, options: any): any } }
|
|
12
|
+
selector: string
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Constructor for the class.
|
|
16
|
+
* Initializes the "classes" and "selector" properties.
|
|
17
|
+
*
|
|
18
|
+
* @constructor
|
|
19
|
+
*/
|
|
20
|
+
constructor() {
|
|
21
|
+
this.classes = {}
|
|
22
|
+
this.selector = '[data-autoload]'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Initializes the Autoload feature on the specified HTMLElement.
|
|
27
|
+
*
|
|
28
|
+
* @param {HTMLElement} obj - The HTMLElement on which to initialize Autoload.
|
|
29
|
+
* @return {void}
|
|
30
|
+
*/
|
|
31
|
+
init(obj: HTMLElement) {
|
|
32
|
+
const nodes: NodeListOf<Element> = obj.querySelectorAll(this.selector)
|
|
33
|
+
if (nodes) {
|
|
34
|
+
for (let index = 0; index < nodes.length; index++) {
|
|
35
|
+
this._initAutoload(nodes[index] as HTMLElement)
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Registers the provided object class with the given class name.
|
|
42
|
+
*
|
|
43
|
+
* @param {ArticleLoader} objClass - The object class to register.
|
|
44
|
+
* @param {string} className - The name to associate with the object class.
|
|
45
|
+
*/
|
|
46
|
+
register(objClass: ArticleLoader, className: string) {
|
|
47
|
+
this.classes[camelCase(className)] = objClass
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Creates an instance of a class based on the given class name and initializes it with the provided options.
|
|
52
|
+
*
|
|
53
|
+
* @param {HTMLElement} node - The HTML element to which the class instance will be attached.
|
|
54
|
+
* @param {Object} options - The options to be passed to the class instance during initialization.
|
|
55
|
+
* @param {string} className - The name of the class to be instantiated.
|
|
56
|
+
*
|
|
57
|
+
* @return {void} - This method does not return any value.
|
|
58
|
+
*/
|
|
59
|
+
_createInstance(node: HTMLElement, options: any, className: string) {
|
|
60
|
+
if (this.classes[className] !== undefined) {
|
|
61
|
+
new this.classes[className](node, options)
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Initializes the autoload feature for the given node.
|
|
67
|
+
*
|
|
68
|
+
* @param {HTMLElement} node - The node for which to initialize the autoload feature.
|
|
69
|
+
*/
|
|
70
|
+
_initAutoload(node: HTMLElement): void {
|
|
71
|
+
let load: AutoloadList = node.dataset.autoload
|
|
72
|
+
|
|
73
|
+
// Converting to array in case of single string for uniform processing
|
|
74
|
+
try {
|
|
75
|
+
load = JSON.parse(load)
|
|
76
|
+
} catch (e) {
|
|
77
|
+
load = load.split(' ')
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
if (typeof load === 'string') {
|
|
81
|
+
load = [load]
|
|
82
|
+
}
|
|
83
|
+
// check if it's a single string or a list
|
|
84
|
+
if (load.length === 1) {
|
|
85
|
+
const options = node.dataset.options || {}
|
|
86
|
+
this._createInstance(node, options, camelCase(load[0]))
|
|
87
|
+
} else {
|
|
88
|
+
const optionsDataSet = JSON.parse(node.dataset.options || '{}')
|
|
89
|
+
for (const className of load) {
|
|
90
|
+
if (className !== '') {
|
|
91
|
+
const options = optionsDataSet[className] || {}
|
|
92
|
+
this._createInstance(node, options, camelCase(className))
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export default ArticleAutoloader
|
|
100
|
+
export { ArticleAutoloader }
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A class for loading articles into elements.
|
|
3
|
+
* @class
|
|
4
|
+
*/
|
|
5
|
+
abstract class ArticleLoader {
|
|
6
|
+
protected element: HTMLElement
|
|
7
|
+
protected options: { key: string; value: any }
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Constructs a new instance of the class.
|
|
11
|
+
*
|
|
12
|
+
* @param {string | Node} selector - The CSS selector or Node object to initialize the class with.
|
|
13
|
+
* @param {any} options - Optional options to pass to the class.
|
|
14
|
+
* @constructor
|
|
15
|
+
*/
|
|
16
|
+
protected constructor(selector: string | Node, options: { key: string; value: any } | undefined) {
|
|
17
|
+
if (typeof selector === 'string' || selector instanceof NodeList) {
|
|
18
|
+
this._initializeNodeList(selector, options)
|
|
19
|
+
} else if (selector instanceof Node) {
|
|
20
|
+
this.element = selector as HTMLElement
|
|
21
|
+
this.element[this.constructor.name] = this
|
|
22
|
+
this._initializeNode(selector, options)
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Initializes a node list with a given selector or NodeList object.
|
|
28
|
+
*
|
|
29
|
+
* @param {string | NodeList} selector - The selector or NodeList object used to initialize the node list.
|
|
30
|
+
* @param {unknown} options - Optional options to be passed to the constructor of each node in the node list.
|
|
31
|
+
*
|
|
32
|
+
* @return {void} - No return value.
|
|
33
|
+
*/
|
|
34
|
+
private _initializeNodeList(selector: string | NodeList, options: unknown) {
|
|
35
|
+
const nodeList = typeof selector === 'string' ? document.querySelectorAll(selector) : selector
|
|
36
|
+
Array.from(nodeList).forEach((node) => new this.constructor(node, options))
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Initializes a Node object with given options.
|
|
41
|
+
*
|
|
42
|
+
* @param {Node} node - The Node to initialize.
|
|
43
|
+
* @param {unknown} options - The options to assign to the Node.
|
|
44
|
+
* @return {void}
|
|
45
|
+
*/
|
|
46
|
+
private _initializeNode(node: Node, options: unknown) {
|
|
47
|
+
this._assignOptions(options)
|
|
48
|
+
this._create()
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Assigns options to a class property.
|
|
53
|
+
*
|
|
54
|
+
* @param {unknown} options - The options to be assigned.
|
|
55
|
+
* @return {void}
|
|
56
|
+
*/
|
|
57
|
+
private _assignOptions(options: unknown) {
|
|
58
|
+
if (options !== undefined) {
|
|
59
|
+
this.options = typeof options === 'string' ? JSON.parse(options) : options
|
|
60
|
+
} else {
|
|
61
|
+
this.options = {}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Returns the options assigned to the class.
|
|
67
|
+
* @return { key: string, value: any }
|
|
68
|
+
*/
|
|
69
|
+
public getOptions() {
|
|
70
|
+
return this.options
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Returns the element assigned to the class.
|
|
75
|
+
* @return {HTMLElement}
|
|
76
|
+
*/
|
|
77
|
+
public getElement() {
|
|
78
|
+
return this.element
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Abstract method _create.
|
|
83
|
+
*
|
|
84
|
+
* This must be defined in any class extending ArticleLoader. It serves as the
|
|
85
|
+
* entry point for the initialization of the abstraction.
|
|
86
|
+
*/
|
|
87
|
+
abstract _create(): void
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export default ArticleLoader
|
|
91
|
+
export { ArticleLoader }
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@use '@simple-reporting/base/scss/system/variables.scss' as systemVariables;
|
|
2
|
+
|
|
3
|
+
@use '@simple-reporting/base/scss/fonts/variables.scss' as fontsVariables;
|
|
4
|
+
|
|
5
|
+
@use '@simple-reporting/base/scss/meta/variables.scss' as metaVariables;
|
|
6
|
+
|
|
7
|
+
@use '@simple-reporting/base/scss/grid/variables.scss' as gridVariables;
|
|
8
|
+
|
|
9
|
+
@use '@simple-reporting/base/scss/colors/variables.scss' as colorsVariables;
|
|
10
|
+
|
|
11
|
+
@use '@simple-reporting/base/scss/typography/variables.scss' as typographyVariables;
|
|
12
|
+
|
|
13
|
+
@use '@simple-reporting/base/scss/spacer/variables.scss' as spacerVariables;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@use 'config';
|
|
2
|
+
@forward 'system' as system-*;
|
|
3
|
+
@forward 'fonts' as fonts-*;
|
|
4
|
+
@forward 'grid' as grid-*;
|
|
5
|
+
@forward 'colors' as colors-*;
|
|
6
|
+
@forward 'typography' as typography-*;
|
|
7
|
+
@forward 'helpers' as helpers-*;
|
|
8
|
+
@forward 'spacer' as spacer-*;
|
|
9
|
+
@forward 'meta';
|
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fonts": {
|
|
3
|
+
"default-font": "Roboto, sans-serif",
|
|
4
|
+
"font-base-path": "../src/assets/fonts"
|
|
5
|
+
},
|
|
6
|
+
"meta": {
|
|
7
|
+
"padding": {
|
|
8
|
+
"tiny": 4,
|
|
9
|
+
"base": 8,
|
|
10
|
+
"small": 16,
|
|
11
|
+
"medium": 24,
|
|
12
|
+
"large": 32
|
|
13
|
+
},
|
|
14
|
+
"spacer": {
|
|
15
|
+
"small": 48,
|
|
16
|
+
"medium": 64,
|
|
17
|
+
"large": 96,
|
|
18
|
+
"extra-large": 192
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"typography": {
|
|
22
|
+
"typography": [
|
|
23
|
+
{
|
|
24
|
+
"name": "display1",
|
|
25
|
+
"font-size": 72,
|
|
26
|
+
"line-height": 1.4,
|
|
27
|
+
"font-style": "normal",
|
|
28
|
+
"font-weight": 600,
|
|
29
|
+
"margin-bottom": 24
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "display2",
|
|
33
|
+
"font-size": 64,
|
|
34
|
+
"line-height": 1.4,
|
|
35
|
+
"font-style": "normal",
|
|
36
|
+
"font-weight": 600,
|
|
37
|
+
"margin-bottom": 24
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "display3",
|
|
41
|
+
"font-size": 58,
|
|
42
|
+
"line-height": 1.4,
|
|
43
|
+
"font-style": "normal",
|
|
44
|
+
"font-weight": 600,
|
|
45
|
+
"margin-bottom": 24
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "headline1",
|
|
49
|
+
"font-size": 48,
|
|
50
|
+
"line-height": 1.6,
|
|
51
|
+
"font-style": "normal",
|
|
52
|
+
"font-weight": 600,
|
|
53
|
+
"margin-bottom": 16
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "headline2",
|
|
57
|
+
"font-size": 40,
|
|
58
|
+
"line-height": 1.6,
|
|
59
|
+
"font-style": "normal",
|
|
60
|
+
"font-weight": 600,
|
|
61
|
+
"margin-bottom": 16
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "headline3",
|
|
65
|
+
"font-size": 34,
|
|
66
|
+
"line-height": 1.6,
|
|
67
|
+
"font-style": "normal",
|
|
68
|
+
"font-weight": 600,
|
|
69
|
+
"margin-bottom": 16
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "headline4",
|
|
73
|
+
"font-size": 28,
|
|
74
|
+
"line-height": 1.6,
|
|
75
|
+
"font-style": "normal",
|
|
76
|
+
"font-weight": 600,
|
|
77
|
+
"margin-bottom": 16
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "headline5",
|
|
81
|
+
"font-size": 24,
|
|
82
|
+
"line-height": 1.6,
|
|
83
|
+
"font-style": "normal",
|
|
84
|
+
"font-weight": 600,
|
|
85
|
+
"margin-bottom": 16
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "headline6",
|
|
89
|
+
"font-size": 20,
|
|
90
|
+
"line-height": 1.6,
|
|
91
|
+
"font-style": "normal",
|
|
92
|
+
"font-weight": 600,
|
|
93
|
+
"margin-bottom": 16
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "copy1",
|
|
97
|
+
"font-size": 16,
|
|
98
|
+
"line-height": 1.6,
|
|
99
|
+
"font-style": "normal",
|
|
100
|
+
"font-weight": 400,
|
|
101
|
+
"margin-bottom": 8
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "copy2",
|
|
105
|
+
"font-size": 14,
|
|
106
|
+
"line-height": 1.6,
|
|
107
|
+
"font-style": "normal",
|
|
108
|
+
"font-weight": 400,
|
|
109
|
+
"margin-bottom": 8
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "copy3",
|
|
113
|
+
"font-size": 12,
|
|
114
|
+
"line-height": 1.6,
|
|
115
|
+
"font-style": "normal",
|
|
116
|
+
"font-weight": 400,
|
|
117
|
+
"margin-bottom": 8
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "blockquote",
|
|
121
|
+
"font-size": 18,
|
|
122
|
+
"line-height": 1.6,
|
|
123
|
+
"font-style": "italic",
|
|
124
|
+
"font-weight": 300,
|
|
125
|
+
"margin-bottom": 8
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "lead",
|
|
129
|
+
"font-size": 18,
|
|
130
|
+
"line-height": 1.6,
|
|
131
|
+
"font-style": "normal",
|
|
132
|
+
"font-weight": 500,
|
|
133
|
+
"margin-bottom": 8
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
"colors": {
|
|
138
|
+
"colors": [
|
|
139
|
+
{
|
|
140
|
+
"name": "light",
|
|
141
|
+
"color": "#ffffff"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "on-light",
|
|
145
|
+
"color": "#000000"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "dark",
|
|
149
|
+
"color": "#000000"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"name": "on-dark",
|
|
153
|
+
"color": "#ffffff"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "primary",
|
|
157
|
+
"color": "#E50000"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"name": "on-primary",
|
|
161
|
+
"color": "#ffffff"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "primary-dark",
|
|
165
|
+
"color": "#5227CC"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "on-primary-dark",
|
|
169
|
+
"color": "#ffffff"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "secondary-light",
|
|
173
|
+
"color": "#EBE5FC"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "on-secondary-light",
|
|
177
|
+
"color": "#000000"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "secondary",
|
|
181
|
+
"color": "#6C757D"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "on-secondary",
|
|
185
|
+
"color": "#ffffff"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "secondary-dark",
|
|
189
|
+
"color": "#54595E"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "on-secondary-dark",
|
|
193
|
+
"color": "#ffffff"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"name": "secondary-light",
|
|
197
|
+
"color": "#ABB5BE"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"name": "on-secondary-light",
|
|
201
|
+
"color": "#000000"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"name": "shade",
|
|
205
|
+
"color": "#6C757D"
|
|
206
|
+
}
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
"spacer": {
|
|
210
|
+
"spacer": {
|
|
211
|
+
"tiny": {
|
|
212
|
+
"size": 16
|
|
213
|
+
},
|
|
214
|
+
"small": {
|
|
215
|
+
"size": 24
|
|
216
|
+
},
|
|
217
|
+
"medium": {
|
|
218
|
+
"size": 28,
|
|
219
|
+
"media": {
|
|
220
|
+
"up": {
|
|
221
|
+
"landscape": 32
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"large": {
|
|
226
|
+
"size": 36,
|
|
227
|
+
"media": {
|
|
228
|
+
"up": {
|
|
229
|
+
"landscape": 48
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"extra-large": {
|
|
234
|
+
"size": 50,
|
|
235
|
+
"media": {
|
|
236
|
+
"up": {
|
|
237
|
+
"landscape": 64
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"grid": {
|
|
244
|
+
"containers": {
|
|
245
|
+
"print": {
|
|
246
|
+
"padding": 32
|
|
247
|
+
},
|
|
248
|
+
"phone": {
|
|
249
|
+
"padding": 16
|
|
250
|
+
},
|
|
251
|
+
"portrait": {
|
|
252
|
+
"padding": 16
|
|
253
|
+
},
|
|
254
|
+
"landscape": {
|
|
255
|
+
"padding": 16,
|
|
256
|
+
"max-width": 1280
|
|
257
|
+
},
|
|
258
|
+
"desktop": {
|
|
259
|
+
"padding": 16,
|
|
260
|
+
"max-width": 1280
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"breakpoints": {
|
|
264
|
+
"print": 0,
|
|
265
|
+
"phone": 0,
|
|
266
|
+
"portrait": 768,
|
|
267
|
+
"landscape": 1024,
|
|
268
|
+
"desktop": 1440
|
|
269
|
+
},
|
|
270
|
+
"gutter": {
|
|
271
|
+
"print": {
|
|
272
|
+
"columns": 12,
|
|
273
|
+
"column-gap": 16
|
|
274
|
+
},
|
|
275
|
+
"phone": {
|
|
276
|
+
"columns": 12,
|
|
277
|
+
"column-gap": 16
|
|
278
|
+
},
|
|
279
|
+
"portrait": {
|
|
280
|
+
"columns": 12,
|
|
281
|
+
"column-gap": 16
|
|
282
|
+
},
|
|
283
|
+
"landscape": {
|
|
284
|
+
"columns": 12,
|
|
285
|
+
"column-gap": 16
|
|
286
|
+
},
|
|
287
|
+
"desktop": {
|
|
288
|
+
"columns": 12,
|
|
289
|
+
"column-gap": 16
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
package/dev/package.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "standard-ld",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"private": true,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"engines": {
|
|
7
|
+
"node": ">=22.14.0",
|
|
8
|
+
"npm": ">=10.9.0"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"dev": "vite",
|
|
12
|
+
"build": "nswow build",
|
|
13
|
+
"build-type-check": "run-p type-check \"build {@}\" --",
|
|
14
|
+
"preview": "vite preview",
|
|
15
|
+
"test:unit": "vitest",
|
|
16
|
+
"type-check": "vue-tsc --build",
|
|
17
|
+
"lint": "eslint . --fix",
|
|
18
|
+
"format": "prettier --write src/"
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"axios": "^1.8.4",
|
|
22
|
+
"exceljs": "^4.4.0",
|
|
23
|
+
"file-saver": "^2.0.5",
|
|
24
|
+
"highcharts": "^11.4.8",
|
|
25
|
+
"node-html-parser": "^7.0.1",
|
|
26
|
+
"pinia": "^2.3.1",
|
|
27
|
+
"scrollmonitor": "^1.2.11",
|
|
28
|
+
"standard-scss": "github:mms-neidhartschoen/nsfd_standard-scss",
|
|
29
|
+
"vite-plugin-pwa": "^0.21.2",
|
|
30
|
+
"vue": "^3.5.13",
|
|
31
|
+
"vue-i18n": "^11.0.1",
|
|
32
|
+
"vue-router": "^4.5.0",
|
|
33
|
+
"xlsx": "^0.18.5",
|
|
34
|
+
"@simple-reporting/base": "^0.0.1"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@simple-reporting/base": "^0.1.111",
|
|
38
|
+
"@kne/color-palette": "^0.1.0",
|
|
39
|
+
"@rushstack/eslint-patch": "^1.11.0",
|
|
40
|
+
"@tsconfig/node22": "^22.0.0",
|
|
41
|
+
"@types/jsdom": "^21.1.7",
|
|
42
|
+
"@types/node": "^22.10.2",
|
|
43
|
+
"@vitejs/plugin-vue": "^5.2.1",
|
|
44
|
+
"@vitest/eslint-plugin": "1.1.20",
|
|
45
|
+
"@vue/eslint-config-prettier": "^10.1.0",
|
|
46
|
+
"@vue/eslint-config-typescript": "^14.2.0",
|
|
47
|
+
"@vue/test-utils": "^2.4.6",
|
|
48
|
+
"@vue/tsconfig": "^0.7.0",
|
|
49
|
+
"eslint": "^9.17.0",
|
|
50
|
+
"eslint-plugin-vue": "^9.32.0",
|
|
51
|
+
"jsdom": "^25.0.1",
|
|
52
|
+
"npm-run-all2": "^7.0.2",
|
|
53
|
+
"prettier": "^3.4.2",
|
|
54
|
+
"sass": "^1.83.0",
|
|
55
|
+
"typescript": "~5.6.3",
|
|
56
|
+
"vite": "^6.0.6",
|
|
57
|
+
"vite-plugin-vue-devtools": "^7.6.8",
|
|
58
|
+
"vitest": "^2.1.8",
|
|
59
|
+
"vue-tsc": "^2.2.0"
|
|
60
|
+
}
|
|
61
|
+
}
|
package/dev/pdf.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '.nswow/pdf.scss'
|
package/dev/public/.keep
ADDED
|
File without changes
|
package/dev/src/App.vue
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { ref } from 'vue'
|
|
3
|
+
import PageHeader from '@/components/PageHeader.vue'
|
|
4
|
+
import PageFooter from '@/components/PageFooter.vue'
|
|
5
|
+
import MainNavigation from '@/components/MainNavigation.vue'
|
|
6
|
+
import { watch } from 'vue'
|
|
7
|
+
import { useRoute } from 'vue-router'
|
|
8
|
+
import { useI18n } from 'vue-i18n'
|
|
9
|
+
import { ArrayToString } from '@/utils/variables'
|
|
10
|
+
import PageModal from '@/components/PageModal.vue'
|
|
11
|
+
|
|
12
|
+
const route = useRoute()
|
|
13
|
+
const { locale } = useI18n()
|
|
14
|
+
const modal = ref()
|
|
15
|
+
|
|
16
|
+
async function modalContent(html: string) {
|
|
17
|
+
await modal.value.setContent(html)
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
defineExpose({
|
|
21
|
+
modalContent
|
|
22
|
+
})
|
|
23
|
+
|
|
24
|
+
watch(route, () => {
|
|
25
|
+
const paramLocale = ArrayToString(route.params.locale)
|
|
26
|
+
if (paramLocale !== locale.value) {
|
|
27
|
+
locale.value = paramLocale
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
</script>
|
|
31
|
+
|
|
32
|
+
<template>
|
|
33
|
+
<PageHeader />
|
|
34
|
+
<suspense>
|
|
35
|
+
<MainNavigation />
|
|
36
|
+
</suspense>
|
|
37
|
+
<suspense>
|
|
38
|
+
<RouterView />
|
|
39
|
+
</suspense>
|
|
40
|
+
<suspense>
|
|
41
|
+
<PageFooter />
|
|
42
|
+
</suspense>
|
|
43
|
+
<PageModal ref="modal" />
|
|
44
|
+
</template>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|