@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,25 @@
|
|
|
1
|
+
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
|
|
2
|
+
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
|
|
3
|
+
|
|
4
|
+
name: Node.js Package
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
release:
|
|
8
|
+
types: [created]
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
|
|
12
|
+
publish-npm:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v4
|
|
16
|
+
- uses: actions/setup-node@v4
|
|
17
|
+
with:
|
|
18
|
+
node-version: 22
|
|
19
|
+
registry-url: https://registry.npmjs.org/
|
|
20
|
+
- run: npm ci
|
|
21
|
+
- run: ls -la
|
|
22
|
+
- run: node scripts/renamePackage.js
|
|
23
|
+
- run: node scripts/doPublish.js -v ${{ github.ref_name }}
|
|
24
|
+
env:
|
|
25
|
+
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
|
package/.nvmrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
22
|
package/.prettierrc
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# mms-reporting-library
|
|
2
|
+
|
|
3
|
+
Starter Package for nswow development
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
> npx @simple-reporting/base@latest init {{ project-name }}
|
|
8
|
+
|
|
9
|
+
### After installation
|
|
10
|
+
|
|
11
|
+
> cd {{ project-name }}
|
|
12
|
+
|
|
13
|
+
> npm install
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
Run dev server:
|
|
18
|
+
|
|
19
|
+
> npm run dev
|
|
20
|
+
|
|
21
|
+
Build all required files.
|
|
22
|
+
|
|
23
|
+
> npm run build
|
package/cli.js
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { Command } from 'commander';
|
|
3
|
+
import { readFile } from 'fs/promises';
|
|
4
|
+
import {
|
|
5
|
+
addComponents,
|
|
6
|
+
removeComponents,
|
|
7
|
+
createComponent,
|
|
8
|
+
addGroups,
|
|
9
|
+
removeGroups,
|
|
10
|
+
createGroup,
|
|
11
|
+
} from './scripts/components.js';
|
|
12
|
+
import { build, ddev, map, mapJs } from './scripts/build.js';
|
|
13
|
+
import { beaver } from './scripts/beaver.js';
|
|
14
|
+
|
|
15
|
+
const packageJson = JSON.parse(
|
|
16
|
+
await readFile(new URL('./package.json', import.meta.url)),
|
|
17
|
+
);
|
|
18
|
+
|
|
19
|
+
import { init } from './scripts/init.js';
|
|
20
|
+
|
|
21
|
+
const commander = new Command();
|
|
22
|
+
|
|
23
|
+
commander
|
|
24
|
+
.name(packageJson.name)
|
|
25
|
+
.description(packageJson.description)
|
|
26
|
+
.version(packageJson.version);
|
|
27
|
+
|
|
28
|
+
commander
|
|
29
|
+
.command('init')
|
|
30
|
+
.description('Install development environment for nswow')
|
|
31
|
+
.argument('<folder>', 'Folder where to install the entrypoint')
|
|
32
|
+
.action(init);
|
|
33
|
+
|
|
34
|
+
commander
|
|
35
|
+
.command('add')
|
|
36
|
+
.description('Add components or groups to development')
|
|
37
|
+
.argument('[action]', 'Chose action. Could be components or groups')
|
|
38
|
+
.action((action, options) => {
|
|
39
|
+
if (action === 'components') {
|
|
40
|
+
addComponents();
|
|
41
|
+
} else if (action === 'groups') {
|
|
42
|
+
addGroups();
|
|
43
|
+
} else {
|
|
44
|
+
console.error('You can add components or groups!');
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
commander
|
|
49
|
+
.command('remove')
|
|
50
|
+
.description('Remove components or groups from development')
|
|
51
|
+
.argument('[action]', 'Chose action. Could be components or groups')
|
|
52
|
+
.action((action, options) => {
|
|
53
|
+
if (action === 'components') {
|
|
54
|
+
removeComponents();
|
|
55
|
+
} else if (action === 'groups') {
|
|
56
|
+
removeGroups();
|
|
57
|
+
} else {
|
|
58
|
+
console.error('You can remove components or groups!');
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
commander
|
|
63
|
+
.command('create')
|
|
64
|
+
.description('Create component or group from development')
|
|
65
|
+
.argument('[action]', 'Chose action. Could be component or group')
|
|
66
|
+
.argument('[name]', 'The name of component or group.')
|
|
67
|
+
.action((action, name, options) => {
|
|
68
|
+
if (action === 'component') {
|
|
69
|
+
createComponent(name);
|
|
70
|
+
} else if (action === 'group') {
|
|
71
|
+
createGroup(name);
|
|
72
|
+
} else {
|
|
73
|
+
console.error('You can create component or group!');
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
commander
|
|
78
|
+
.command('build')
|
|
79
|
+
.description('Build ldd, app, pdf and word for production')
|
|
80
|
+
.action(async () => {
|
|
81
|
+
await build();
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
commander
|
|
85
|
+
.command('ddev')
|
|
86
|
+
.description('Build app for ddev')
|
|
87
|
+
.action(async () => {
|
|
88
|
+
await ddev();
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
commander
|
|
92
|
+
.command('map')
|
|
93
|
+
.description('Build all necessary scss and livingdocs entries for production')
|
|
94
|
+
.action(async () => {
|
|
95
|
+
await map();
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
commander
|
|
99
|
+
.command('mapjs')
|
|
100
|
+
.description(
|
|
101
|
+
'Build all necessary javascript and typescript entries for production',
|
|
102
|
+
)
|
|
103
|
+
.action(async () => {
|
|
104
|
+
await mapJs();
|
|
105
|
+
});
|
|
106
|
+
|
|
107
|
+
commander
|
|
108
|
+
.command('beaver')
|
|
109
|
+
.description('Update beaver configuration')
|
|
110
|
+
.action(() => {
|
|
111
|
+
beaver(1);
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
commander.parse();
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
name: nassauische-ld
|
|
2
|
+
type: php
|
|
3
|
+
docroot: .output/ddev
|
|
4
|
+
php_version: '8.3'
|
|
5
|
+
webserver_type: nginx-fpm
|
|
6
|
+
xdebug_enabled: false
|
|
7
|
+
additional_hostnames: []
|
|
8
|
+
additional_fqdns: []
|
|
9
|
+
database:
|
|
10
|
+
type: mariadb
|
|
11
|
+
version: '10.11'
|
|
12
|
+
use_dns_when_possible: true
|
|
13
|
+
composer_version: '2'
|
|
14
|
+
web_environment: []
|
|
15
|
+
corepack_enable: false
|
|
16
|
+
# Key features of DDEV's config.yaml:
|
|
17
|
+
|
|
18
|
+
# name: <projectname> # Name of the project, automatically provides
|
|
19
|
+
# http://projectname.ddev.site and https://projectname.ddev.site
|
|
20
|
+
|
|
21
|
+
# type: <projecttype> # backdrop, cakephp, craftcms, drupal, drupal6, drupal7, drupal8, drupal9, drupal10, drupal11, laravel, magento, magento2, php, shopware6, silverstripe, symfony, typo3, wordpress
|
|
22
|
+
# See https://ddev.readthedocs.io/en/stable/users/quickstart/ for more
|
|
23
|
+
# information on the different project types
|
|
24
|
+
|
|
25
|
+
# docroot: <relative_path> # Relative path to the directory containing index.php.
|
|
26
|
+
|
|
27
|
+
# php_version: "8.3" # PHP version to use, "5.6" through "8.4"
|
|
28
|
+
|
|
29
|
+
# You can explicitly specify the webimage but this
|
|
30
|
+
# is not recommended, as the images are often closely tied to DDEV's' behavior,
|
|
31
|
+
# so this can break upgrades.
|
|
32
|
+
|
|
33
|
+
# webimage: <docker_image> # nginx/php docker image.
|
|
34
|
+
|
|
35
|
+
# database:
|
|
36
|
+
# type: <dbtype> # mysql, mariadb, postgres
|
|
37
|
+
# version: <version> # database version, like "10.11" or "8.0"
|
|
38
|
+
# MariaDB versions can be 5.5-10.8, 10.11, and 11.4.
|
|
39
|
+
# MySQL versions can be 5.5-8.0.
|
|
40
|
+
# PostgreSQL versions can be 9-17.
|
|
41
|
+
|
|
42
|
+
# router_http_port: <port> # Port to be used for http (defaults to global configuration, usually 80)
|
|
43
|
+
# router_https_port: <port> # Port for https (defaults to global configuration, usually 443)
|
|
44
|
+
|
|
45
|
+
# xdebug_enabled: false # Set to true to enable Xdebug and "ddev start" or "ddev restart"
|
|
46
|
+
# Note that for most people the commands
|
|
47
|
+
# "ddev xdebug" to enable Xdebug and "ddev xdebug off" to disable it work better,
|
|
48
|
+
# as leaving Xdebug enabled all the time is a big performance hit.
|
|
49
|
+
|
|
50
|
+
# xhprof_enabled: false # Set to true to enable Xhprof and "ddev start" or "ddev restart"
|
|
51
|
+
# Note that for most people the commands
|
|
52
|
+
# "ddev xhprof" to enable Xhprof and "ddev xhprof off" to disable it work better,
|
|
53
|
+
# as leaving Xhprof enabled all the time is a big performance hit.
|
|
54
|
+
|
|
55
|
+
# webserver_type: nginx-fpm or apache-fpm
|
|
56
|
+
|
|
57
|
+
# timezone: Europe/Berlin
|
|
58
|
+
# If timezone is unset, DDEV will attempt to derive it from the host system timezone
|
|
59
|
+
# using the $TZ environment variable or the /etc/localtime symlink.
|
|
60
|
+
# This is the timezone used in the containers and by PHP;
|
|
61
|
+
# it can be set to any valid timezone,
|
|
62
|
+
# see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
|
63
|
+
# For example Europe/Dublin or MST7MDT
|
|
64
|
+
|
|
65
|
+
# composer_root: <relative_path>
|
|
66
|
+
# Relative path to the Composer root directory from the project root. This is
|
|
67
|
+
# the directory which contains the composer.json and where all Composer related
|
|
68
|
+
# commands are executed.
|
|
69
|
+
|
|
70
|
+
# composer_version: "2"
|
|
71
|
+
# You can set it to "" or "2" (default) for Composer v2 or "1" for Composer v1
|
|
72
|
+
# to use the latest major version available at the time your container is built.
|
|
73
|
+
# It is also possible to use each other Composer version channel. This includes:
|
|
74
|
+
# - 2.2 (latest Composer LTS version)
|
|
75
|
+
# - stable
|
|
76
|
+
# - preview
|
|
77
|
+
# - snapshot
|
|
78
|
+
# Alternatively, an explicit Composer version may be specified, for example "2.2.18".
|
|
79
|
+
# To reinstall Composer after the image was built, run "ddev debug rebuild".
|
|
80
|
+
|
|
81
|
+
# nodejs_version: "22"
|
|
82
|
+
# change from the default system Node.js version to any other version.
|
|
83
|
+
# See https://ddev.readthedocs.io/en/stable/users/configuration/config/#nodejs_version for more information
|
|
84
|
+
# and https://www.npmjs.com/package/n#specifying-nodejs-versions for the full documentation,
|
|
85
|
+
# Note that using of 'ddev nvm' is discouraged because "nodejs_version" is much easier to use,
|
|
86
|
+
# can specify any version, and is more robust than using 'nvm'.
|
|
87
|
+
|
|
88
|
+
# corepack_enable: false
|
|
89
|
+
# Change to 'true' to 'corepack enable' and gain access to latest versions of yarn/pnpm
|
|
90
|
+
|
|
91
|
+
# additional_hostnames:
|
|
92
|
+
# - somename
|
|
93
|
+
# - someothername
|
|
94
|
+
# would provide http and https URLs for "somename.ddev.site"
|
|
95
|
+
# and "someothername.ddev.site".
|
|
96
|
+
|
|
97
|
+
# additional_fqdns:
|
|
98
|
+
# - example.com
|
|
99
|
+
# - sub1.example.com
|
|
100
|
+
# would provide http and https URLs for "example.com" and "sub1.example.com"
|
|
101
|
+
# Please take care with this because it can cause great confusion.
|
|
102
|
+
|
|
103
|
+
# upload_dirs: "custom/upload/dir"
|
|
104
|
+
#
|
|
105
|
+
# upload_dirs:
|
|
106
|
+
# - custom/upload/dir
|
|
107
|
+
# - ../private
|
|
108
|
+
#
|
|
109
|
+
# would set the destination paths for ddev import-files to <docroot>/custom/upload/dir
|
|
110
|
+
# When Mutagen is enabled this path is bind-mounted so that all the files
|
|
111
|
+
# in the upload_dirs don't have to be synced into Mutagen.
|
|
112
|
+
|
|
113
|
+
# disable_upload_dirs_warning: false
|
|
114
|
+
# If true, turns off the normal warning that says
|
|
115
|
+
# "You have Mutagen enabled and your 'php' project type doesn't have upload_dirs set"
|
|
116
|
+
|
|
117
|
+
# ddev_version_constraint: ""
|
|
118
|
+
# Example:
|
|
119
|
+
# ddev_version_constraint: ">= 1.22.4"
|
|
120
|
+
# This will enforce that the running ddev version is within this constraint.
|
|
121
|
+
# See https://github.com/Masterminds/semver#checking-version-constraints for
|
|
122
|
+
# supported constraint formats
|
|
123
|
+
|
|
124
|
+
# working_dir:
|
|
125
|
+
# web: /var/www/html
|
|
126
|
+
# db: /home
|
|
127
|
+
# would set the default working directory for the web and db services.
|
|
128
|
+
# These values specify the destination directory for ddev ssh and the
|
|
129
|
+
# directory in which commands passed into ddev exec are run.
|
|
130
|
+
|
|
131
|
+
# omit_containers: [db, ddev-ssh-agent]
|
|
132
|
+
# Currently only these containers are supported. Some containers can also be
|
|
133
|
+
# omitted globally in the ~/.ddev/global_config.yaml. Note that if you omit
|
|
134
|
+
# the "db" container, several standard features of DDEV that access the
|
|
135
|
+
# database container will be unusable. In the global configuration it is also
|
|
136
|
+
# possible to omit ddev-router, but not here.
|
|
137
|
+
|
|
138
|
+
# performance_mode: "global"
|
|
139
|
+
# DDEV offers performance optimization strategies to improve the filesystem
|
|
140
|
+
# performance depending on your host system. Should be configured globally.
|
|
141
|
+
#
|
|
142
|
+
# If set, will override the global config. Possible values are:
|
|
143
|
+
# - "global": uses the value from the global config.
|
|
144
|
+
# - "none": disables performance optimization for this project.
|
|
145
|
+
# - "mutagen": enables Mutagen for this project.
|
|
146
|
+
# - "nfs": enables NFS for this project.
|
|
147
|
+
#
|
|
148
|
+
# See https://ddev.readthedocs.io/en/stable/users/install/performance/#nfs
|
|
149
|
+
# See https://ddev.readthedocs.io/en/stable/users/install/performance/#mutagen
|
|
150
|
+
|
|
151
|
+
# fail_on_hook_fail: False
|
|
152
|
+
# Decide whether 'ddev start' should be interrupted by a failing hook
|
|
153
|
+
|
|
154
|
+
# host_https_port: "59002"
|
|
155
|
+
# The host port binding for https can be explicitly specified. It is
|
|
156
|
+
# dynamic unless otherwise specified.
|
|
157
|
+
# This is not used by most people, most people use the *router* instead
|
|
158
|
+
# of the localhost port.
|
|
159
|
+
|
|
160
|
+
# host_webserver_port: "59001"
|
|
161
|
+
# The host port binding for the ddev-webserver can be explicitly specified. It is
|
|
162
|
+
# dynamic unless otherwise specified.
|
|
163
|
+
# This is not used by most people, most people use the *router* instead
|
|
164
|
+
# of the localhost port.
|
|
165
|
+
|
|
166
|
+
# host_db_port: "59002"
|
|
167
|
+
# The host port binding for the ddev-dbserver can be explicitly specified. It is dynamic
|
|
168
|
+
# unless explicitly specified.
|
|
169
|
+
|
|
170
|
+
# mailpit_http_port: "8025"
|
|
171
|
+
# mailpit_https_port: "8026"
|
|
172
|
+
# The Mailpit ports can be changed from the default 8025 and 8026
|
|
173
|
+
|
|
174
|
+
# host_mailpit_port: "8025"
|
|
175
|
+
# The mailpit port is not normally bound on the host at all, instead being routed
|
|
176
|
+
# through ddev-router, but it can be bound directly to localhost if specified here.
|
|
177
|
+
|
|
178
|
+
# webimage_extra_packages: [php7.4-tidy, php-bcmath]
|
|
179
|
+
# Extra Debian packages that are needed in the webimage can be added here
|
|
180
|
+
|
|
181
|
+
# dbimage_extra_packages: [telnet,netcat]
|
|
182
|
+
# Extra Debian packages that are needed in the dbimage can be added here
|
|
183
|
+
|
|
184
|
+
# use_dns_when_possible: true
|
|
185
|
+
# If the host has internet access and the domain configured can
|
|
186
|
+
# successfully be looked up, DNS will be used for hostname resolution
|
|
187
|
+
# instead of editing /etc/hosts
|
|
188
|
+
# Defaults to true
|
|
189
|
+
|
|
190
|
+
# project_tld: ddev.site
|
|
191
|
+
# The top-level domain used for project URLs
|
|
192
|
+
# The default "ddev.site" allows DNS lookup via a wildcard
|
|
193
|
+
# If you prefer you can change this to "ddev.local" to preserve
|
|
194
|
+
# pre-v1.9 behavior.
|
|
195
|
+
|
|
196
|
+
# ngrok_args: --basic-auth username:pass1234
|
|
197
|
+
# Provide extra flags to the "ngrok http" command, see
|
|
198
|
+
# https://ngrok.com/docs/ngrok-agent/config or run "ngrok http -h"
|
|
199
|
+
|
|
200
|
+
# disable_settings_management: false
|
|
201
|
+
# If true, DDEV will not create CMS-specific settings files like
|
|
202
|
+
# Drupal's settings.php/settings.ddev.php or TYPO3's additional.php
|
|
203
|
+
# In this case the user must provide all such settings.
|
|
204
|
+
|
|
205
|
+
# You can inject environment variables into the web container with:
|
|
206
|
+
# web_environment:
|
|
207
|
+
# - SOMEENV=somevalue
|
|
208
|
+
# - SOMEOTHERENV=someothervalue
|
|
209
|
+
|
|
210
|
+
# no_project_mount: false
|
|
211
|
+
# (Experimental) If true, DDEV will not mount the project into the web container;
|
|
212
|
+
# the user is responsible for mounting it manually or via a script.
|
|
213
|
+
# This is to enable experimentation with alternate file mounting strategies.
|
|
214
|
+
# For advanced users only!
|
|
215
|
+
|
|
216
|
+
# bind_all_interfaces: false
|
|
217
|
+
# If true, host ports will be bound on all network interfaces,
|
|
218
|
+
# not the localhost interface only. This means that ports
|
|
219
|
+
# will be available on the local network if the host firewall
|
|
220
|
+
# allows it.
|
|
221
|
+
|
|
222
|
+
# default_container_timeout: 120
|
|
223
|
+
# The default time that DDEV waits for all containers to become ready can be increased from
|
|
224
|
+
# the default 120. This helps in importing huge databases, for example.
|
|
225
|
+
|
|
226
|
+
#web_extra_exposed_ports:
|
|
227
|
+
#- name: nodejs
|
|
228
|
+
# container_port: 3000
|
|
229
|
+
# http_port: 2999
|
|
230
|
+
# https_port: 3000
|
|
231
|
+
#- name: something
|
|
232
|
+
# container_port: 4000
|
|
233
|
+
# https_port: 4000
|
|
234
|
+
# http_port: 3999
|
|
235
|
+
# Allows a set of extra ports to be exposed via ddev-router
|
|
236
|
+
# Fill in all three fields even if you don’t intend to use the https_port!
|
|
237
|
+
# If you don’t add https_port, then it defaults to 0 and ddev-router will fail to start.
|
|
238
|
+
#
|
|
239
|
+
# The port behavior on the ddev-webserver must be arranged separately, for example
|
|
240
|
+
# using web_extra_daemons.
|
|
241
|
+
# For example, with a web app on port 3000 inside the container, this config would
|
|
242
|
+
# expose that web app on https://<project>.ddev.site:9999 and http://<project>.ddev.site:9998
|
|
243
|
+
# web_extra_exposed_ports:
|
|
244
|
+
# - name: myapp
|
|
245
|
+
# container_port: 3000
|
|
246
|
+
# http_port: 9998
|
|
247
|
+
# https_port: 9999
|
|
248
|
+
|
|
249
|
+
#web_extra_daemons:
|
|
250
|
+
#- name: "http-1"
|
|
251
|
+
# command: "/var/www/html/node_modules/.bin/http-server -p 3000"
|
|
252
|
+
# directory: /var/www/html
|
|
253
|
+
#- name: "http-2"
|
|
254
|
+
# command: "/var/www/html/node_modules/.bin/http-server /var/www/html/sub -p 3000"
|
|
255
|
+
# directory: /var/www/html
|
|
256
|
+
|
|
257
|
+
# override_config: false
|
|
258
|
+
# By default, config.*.yaml files are *merged* into the configuration
|
|
259
|
+
# But this means that some things can't be overridden
|
|
260
|
+
# For example, if you have 'use_dns_when_possible: true'' you can't override it with a merge
|
|
261
|
+
# and you can't erase existing hooks or all environment variables.
|
|
262
|
+
# However, with "override_config: true" in a particular config.*.yaml file,
|
|
263
|
+
# 'use_dns_when_possible: false' can override the existing values, and
|
|
264
|
+
# hooks:
|
|
265
|
+
# post-start: []
|
|
266
|
+
# or
|
|
267
|
+
# web_environment: []
|
|
268
|
+
# or
|
|
269
|
+
# additional_hostnames: []
|
|
270
|
+
# can have their intended affect. 'override_config' affects only behavior of the
|
|
271
|
+
# config.*.yaml file it exists in.
|
|
272
|
+
|
|
273
|
+
# Many DDEV commands can be extended to run tasks before or after the
|
|
274
|
+
# DDEV command is executed, for example "post-start", "post-import-db",
|
|
275
|
+
# "pre-composer", "post-composer"
|
|
276
|
+
# See https://ddev.readthedocs.io/en/stable/users/extend/custom-commands/ for more
|
|
277
|
+
# information on the commands that can be extended and the tasks you can define
|
|
278
|
+
# for them. Example:
|
|
279
|
+
#hooks:
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# ddev php default (PHP project type) config
|
|
2
|
+
|
|
3
|
+
#ddev-generated
|
|
4
|
+
# If you want to take over this file and customize it, remove the line above
|
|
5
|
+
# and ddev will respect it and won't overwrite the file.
|
|
6
|
+
# See https://ddev.readthedocs.io/en/stable/users/extend/customization-extendibility/#custom-nginx-configuration
|
|
7
|
+
|
|
8
|
+
server {
|
|
9
|
+
location / {
|
|
10
|
+
rewrite ^.*$ /index.html?$query_string;
|
|
11
|
+
}
|
|
12
|
+
}
|
package/dev/.env
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
VITE_BASE_URL=/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
VITE_BASE_URL=/
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* eslint-env node */
|
|
2
|
+
require('@rushstack/eslint-patch/modern-module-resolution')
|
|
3
|
+
|
|
4
|
+
module.exports = {
|
|
5
|
+
root: true,
|
|
6
|
+
extends: [
|
|
7
|
+
'plugin:vue/vue3-essential',
|
|
8
|
+
'eslint:recommended',
|
|
9
|
+
'@vue/eslint-config-typescript',
|
|
10
|
+
'@vue/eslint-config-prettier/skip-formatting'
|
|
11
|
+
],
|
|
12
|
+
parserOptions: {
|
|
13
|
+
ecmaVersion: 'latest'
|
|
14
|
+
}
|
|
15
|
+
}
|
package/dev/.nvmrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
22
|
package/dev/README.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# standard-ld
|
|
2
|
+
|
|
3
|
+
This template should help get you started developing with Vue 3 in Vite.
|
|
4
|
+
|
|
5
|
+
## Recommended IDE Setup
|
|
6
|
+
|
|
7
|
+
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
|
|
8
|
+
|
|
9
|
+
## Type Support for `.vue` Imports in TS
|
|
10
|
+
|
|
11
|
+
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) to make the TypeScript language service aware of `.vue` types.
|
|
12
|
+
|
|
13
|
+
## Customize configuration
|
|
14
|
+
|
|
15
|
+
See [Vite Configuration Reference](https://vitejs.dev/config/).
|
|
16
|
+
|
|
17
|
+
## Project Setup
|
|
18
|
+
|
|
19
|
+
```sh
|
|
20
|
+
npm install
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Compile and Hot-Reload for Development
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
npm run dev
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Type-Check, Compile and Minify for Production
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
npm run build
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Run Unit Tests with [Vitest](https://vitest.dev/)
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
npm run test:unit
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Lint with [ESLint](https://eslint.org/)
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
npm run lint
|
|
45
|
+
```
|
package/dev/env.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|
package/dev/index.html
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<base href="%VITE_BASE_URL%" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
<title>Skeleton</title>
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
<noscript
|
|
11
|
+
>this page requires javascript to work properly. please enable javascript in your
|
|
12
|
+
browser</noscript
|
|
13
|
+
>
|
|
14
|
+
<div id="app"></div>
|
|
15
|
+
<script type="module" src="src/main.ts"></script>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
package/dev/ldd.html
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@use 'web';
|
|
2
|
+
|
|
3
|
+
@use 'nswow';
|
|
4
|
+
|
|
5
|
+
.srl-image {
|
|
6
|
+
&:not(.show-mobile-image) {
|
|
7
|
+
@include nswow.grid-media(phone) {
|
|
8
|
+
.srl-image__image-container--desktop {
|
|
9
|
+
display: none;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@include nswow.grid-media-up(portrait) {
|
|
14
|
+
.srl-image__image-container--mobile {
|
|
15
|
+
display: none;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&.show-mobile-image {
|
|
21
|
+
.srl-image__image-container--desktop {
|
|
22
|
+
display: none;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
<script type="ld-conf">
|
|
2
|
+
{
|
|
3
|
+
"name": "image",
|
|
4
|
+
"label": "Image",
|
|
5
|
+
"iconUrl": "https://mms-xbrl.s3.eu-central-1.amazonaws.com/design/svg/editor/icon-image.min.svg",
|
|
6
|
+
"properties": [
|
|
7
|
+
"show-mobile-image",
|
|
8
|
+
"web-width",
|
|
9
|
+
"pdf-width"
|
|
10
|
+
],
|
|
11
|
+
"directives": {
|
|
12
|
+
"desktop-image": {
|
|
13
|
+
"imageRatios": ["1:1", "3:2", "4:3", "16:9"],
|
|
14
|
+
"allowOriginalRatio": true
|
|
15
|
+
},
|
|
16
|
+
"mobile-image": {
|
|
17
|
+
"imageRatios": ["1:1", "3:2", "4:3", "16:9"],
|
|
18
|
+
"allowOriginalRatio": true
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
</script>
|
|
23
|
+
<figure class="srl-image srl-article__grid srl-article__grid--indent">
|
|
24
|
+
<div class="srl-article__grid--inner">
|
|
25
|
+
<div class="lc-image__alt-text" doc-editable="alt-tag" optional data-alt-text-source="alt">
|
|
26
|
+
Write the alt text here
|
|
27
|
+
</div>
|
|
28
|
+
<div class="srl-image__image-container srl-image__image-container--desktop">
|
|
29
|
+
<img
|
|
30
|
+
class="srl-image__img srl-image__img--desktop"
|
|
31
|
+
doc-image="desktop-image"
|
|
32
|
+
data-alt-text-target="alt"
|
|
33
|
+
/>
|
|
34
|
+
</div>
|
|
35
|
+
<div class="srl-image__image-container srl-image__image-container--mobile">
|
|
36
|
+
<img
|
|
37
|
+
class="srl-image__img srl-image__img--mobile"
|
|
38
|
+
doc-image="mobile-image"
|
|
39
|
+
data-alt-text-target="alt"
|
|
40
|
+
/>
|
|
41
|
+
</div>
|
|
42
|
+
<figcaption class="srl-linkable srl-image__caption" doc-editable="legend" doc-optional>
|
|
43
|
+
Bildlegende
|
|
44
|
+
</figcaption>
|
|
45
|
+
</div>
|
|
46
|
+
</figure>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use 'web';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use 'print';
|