@simple-reporting/base 1.0.36 → 1.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dev/.ddev/config.yaml +1 -1
- package/dev/.idea/codeStyles/Project.xml +61 -0
- package/dev/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/dev/.idea/copilot.data.migration.ask2agent.xml +6 -0
- package/dev/.idea/deployment.xml +14 -0
- package/dev/.idea/inspectionProfiles/Project_Default.xml +6 -0
- package/dev/.idea/modules.xml +8 -0
- package/dev/.idea/nsfd_report-demo-mms.iml +8 -0
- package/dev/.idea/php.xml +19 -0
- package/dev/.idea/prettier.xml +6 -0
- package/dev/.idea/vcs.xml +6 -0
- package/dev/.idea/watcherTasks.xml +4 -0
- package/dev/livingdocs.config.json +1192 -27
- package/dev/package.json +2 -3
- package/dev/src/App.vue +1 -2
- package/dev/src/Autoload.ts +1 -1
- package/dev/src/Dialog.vue +12 -61
- package/dev/src/assets/fonts/FontAwesome/font.scss +2 -0
- package/dev/src/assets/fonts/Inter/inter.scss +2 -4
- package/dev/src/assets/images/accordion-minus.svg +4 -0
- package/dev/src/assets/images/accordion-plus.svg +4 -0
- package/dev/src/assets/images/arrow-left.svg +5 -0
- package/dev/src/assets/images/arrow-right.svg +5 -0
- package/dev/src/assets/images/arrow-up.svg +5 -0
- package/dev/src/assets/images/chevron-down.svg +1 -0
- package/dev/src/assets/images/chevron-left.svg +1 -0
- package/dev/src/assets/images/chevron-right.svg +1 -0
- package/dev/src/assets/images/chevron-up.svg +1 -0
- package/dev/src/assets/images/close.svg +5 -0
- package/dev/src/assets/images/download.svg +6 -0
- package/dev/src/assets/images/facebook.svg +1 -0
- package/dev/src/assets/images/instagram.svg +1 -0
- package/dev/src/assets/images/language.svg +1 -0
- package/dev/src/assets/images/linkedIn.svg +1 -0
- package/dev/src/assets/images/logo.svg +1 -0
- package/dev/src/assets/images/menu-light.svg +3 -0
- package/dev/src/assets/images/menu.svg +3 -0
- package/dev/src/assets/images/nav-arrow-left.svg +3 -0
- package/dev/src/assets/images/nav-arrow-right.svg +3 -0
- package/dev/src/assets/images/search.svg +5 -0
- package/dev/src/assets/images/twitter.svg +1 -0
- package/dev/src/assets/images/xing.svg +1 -0
- package/dev/src/assets/scss/app.scss +9 -0
- package/dev/src/assets/scss/components/button.scss +37 -0
- package/dev/src/assets/scss/components/dialog.scss +84 -0
- package/dev/src/assets/scss/components/fontawesome.scss +56 -0
- package/dev/src/assets/scss/components/note/accordion.scss +55 -41
- package/dev/src/assets/scss/editor.scss +5 -5
- package/dev/src/assets/scss/general.scss +29 -2
- package/dev/src/assets/scss/margins.scss +57 -0
- package/dev/src/assets/scss/pdf.scss +0 -32
- package/dev/src/assets/scss/placeholders/breakout-grid.scss +34 -0
- package/dev/src/assets/scss/placeholders/button.scss +230 -0
- package/dev/src/assets/scss/placeholders/fontawesome.scss +7 -0
- package/dev/src/assets/scss/placeholders/grid.scss +354 -0
- package/dev/src/assets/scss/web.scss +17 -21
- package/dev/src/assets/scss/xbrl.scss +1 -0
- package/dev/src/components/Button/Default/Action.vue +65 -0
- package/dev/src/components/Button/Default/Content.vue +225 -0
- package/dev/src/components/Button/Default/ExternalLink.vue +63 -0
- package/dev/src/components/Button/Default/InternalLink.vue +64 -0
- package/dev/src/components/Button/Default.vue +101 -0
- package/dev/src/components/Page/MainNavigation.vue +96 -6
- package/dev/src/components/Page/MetaNavigation.vue +116 -0
- package/dev/src/components/Page/PrevNext.vue +140 -70
- package/dev/src/components/PageFooter.vue +405 -0
- package/dev/src/components/PageHeader.vue +828 -0
- package/dev/src/components/{Page/Main.vue → PageMain.vue} +11 -0
- package/dev/src/composables/globalLinks.ts +46 -0
- package/dev/src/composables/isDesktopView.ts +18 -0
- package/dev/src/composables/mainNavigation.ts +11 -0
- package/dev/src/entries/pdf.ts +5 -5
- package/dev/src/i18n/index.ts +1 -1
- package/dev/src/locales/de.json +40 -0
- package/dev/src/locales/en.json +40 -0
- package/dev/src/router/index.ts +1 -2
- package/dev/src/views/DevView.vue +1 -835
- package/dev/src/views/PageNotFound.vue +3 -69
- package/dev/srl.config.json +34 -49
- package/livingdocs/010.Titles/010.title-h1/scss/_spacing-variations.scss +17 -0
- package/livingdocs/010.Titles/010.title-h1/scss/general.scss +4 -0
- package/livingdocs/010.Titles/020.title-h2/scss/_spacing-variations.scss +12 -0
- package/livingdocs/010.Titles/020.title-h2/scss/general.scss +4 -0
- package/livingdocs/010.Titles/020.title-h2/title-h2.html +2 -1
- package/livingdocs/010.Titles/030.title-h3/scss/_spacing-variations.scss +13 -0
- package/livingdocs/010.Titles/030.title-h3/scss/general.scss +5 -1
- package/livingdocs/010.Titles/030.title-h3/title-h3.html +2 -1
- package/livingdocs/010.Titles/040.title-h4/scss/_spacing-variations.scss +12 -0
- package/livingdocs/010.Titles/040.title-h4/scss/general.scss +5 -1
- package/livingdocs/010.Titles/040.title-h4/title-h4.html +2 -1
- package/livingdocs/010.Titles/050.title-h5/scss/_spacing-variations.scss +11 -0
- package/livingdocs/010.Titles/050.title-h5/scss/general.scss +4 -0
- package/livingdocs/010.Titles/060.title-h6/scss/_spacing-variations.scss +10 -0
- package/livingdocs/010.Titles/060.title-h6/scss/general.scss +4 -0
- package/livingdocs/020.Text/010.lead/scss/_spacing-variations.scss +5 -0
- package/livingdocs/020.Text/010.lead/scss/general.scss +4 -0
- package/livingdocs/020.Text/020.paragraph/scss/_spacing-variations.scss +22 -0
- package/livingdocs/020.Text/020.paragraph/scss/general.scss +4 -0
- package/livingdocs/020.Text/060.quote-with-portrait/scss/_spacing-variations.scss +7 -0
- package/livingdocs/020.Text/060.quote-with-portrait/scss/general.scss +4 -1
- package/livingdocs/020.Text/060.quote-with-portrait/scss/pdf.scss +4 -10
- package/livingdocs/020.Text/060.quote-with-portrait/scss/web.scss +0 -1
- package/livingdocs/020.Text/070.footnote-container/scss/_spacing-variations.scss +22 -0
- package/livingdocs/020.Text/070.footnote-container/scss/general.scss +8 -0
- package/livingdocs/020.Text/070.footnote-container/scss/pdf.scss +0 -8
- package/livingdocs/020.Text/070.footnote-container/scss/web.scss +0 -5
- package/livingdocs/020.Text/070.footnote-container/scss/xbrl.scss +9 -1
- package/livingdocs/020.Text/080.footnote-item/scss/_spacing-variations.scss +4 -0
- package/livingdocs/020.Text/080.footnote-item/scss/general.scss +28 -1
- package/livingdocs/020.Text/080.footnote-item/scss/web.scss +0 -20
- package/livingdocs/020.Text/080.footnote-item/scss/xbrl.scss +26 -1
- package/livingdocs/030.Lists/010.unordered-list/ld-conf.json +3 -3
- package/livingdocs/030.Lists/010.unordered-list/scss/_spacing-variations.scss +22 -0
- package/livingdocs/030.Lists/010.unordered-list/scss/general.scss +3 -5
- package/livingdocs/030.Lists/010.unordered-list/scss/pdf.scss +3 -1
- package/livingdocs/030.Lists/010.unordered-list/scss/web.scss +15 -1
- package/livingdocs/030.Lists/010.unordered-list/scss/word.scss +1 -6
- package/livingdocs/030.Lists/010.unordered-list/scss/xbrl.scss +2 -1
- package/livingdocs/030.Lists/020.ordered-list/ld-conf.json +3 -3
- package/livingdocs/030.Lists/030.alphanumeric-list/ld-conf.json +3 -3
- package/livingdocs/030.Lists/040.list-item-unordered-list/ld-conf.json +23 -0
- package/livingdocs/030.Lists/040.list-item-unordered-list/list-item-unordered-list.html +8 -0
- package/livingdocs/030.Lists/040.list-item-unordered-list/scss/_spacing-variations.scss +4 -0
- package/livingdocs/030.Lists/040.list-item-unordered-list/scss/general.scss +14 -0
- package/livingdocs/030.Lists/{040.list-item → 040.list-item-unordered-list}/scss/pdf.scss +7 -1
- package/livingdocs/030.Lists/{040.list-item/scss/general.scss → 040.list-item-unordered-list/scss/web.scss} +17 -6
- package/livingdocs/030.Lists/040.list-item-unordered-list/scss/word.scss +5 -0
- package/livingdocs/030.Lists/040.list-item-unordered-list/scss/xbrl.scss +2 -0
- package/livingdocs/030.Lists/050.list-item-ordered-list/ld-conf.json +23 -0
- package/livingdocs/030.Lists/050.list-item-ordered-list/list-item-ordered-list.html +8 -0
- package/livingdocs/030.Lists/060.list-item-alphanumeric-list/ld-conf.json +23 -0
- package/livingdocs/030.Lists/060.list-item-alphanumeric-list/list-item-alphanumeric-list.html +8 -0
- package/livingdocs/040.Media/010.table/scss/_spacing-variations.scss +19 -0
- package/livingdocs/040.Media/010.table/scss/general.scss +270 -251
- package/livingdocs/040.Media/010.table/scss/pdf.scss +2 -18
- package/livingdocs/040.Media/010.table/scss/web.scss +0 -19
- package/livingdocs/040.Media/010.table/scss/xbrl.scss +4 -3
- package/livingdocs/040.Media/020.image/scss/_spacing-variations.scss +7 -0
- package/livingdocs/040.Media/020.image/scss/editor.scss +0 -1
- package/livingdocs/040.Media/020.image/scss/general.scss +6 -2
- package/livingdocs/040.Media/020.image/scss/pdf.scss +0 -4
- package/livingdocs/040.Media/020.image/scss/web.scss +0 -5
- package/livingdocs/040.Media/020.image/scss/xbrl.scss +1 -3
- package/livingdocs/040.Media/030.video/scss/_spacing-variations.scss +7 -0
- package/livingdocs/040.Media/030.video/scss/general.scss +19 -0
- package/livingdocs/040.Media/030.video/scss/pdf.scss +0 -10
- package/livingdocs/040.Media/030.video/scss/web.scss +0 -11
- package/livingdocs/040.Media/030.video/scss/xbrl.scss +1 -4
- package/livingdocs/060.Buttons/020.button/scss/general.scss +14 -75
- package/livingdocs/070.Container/020.columns-container/columns-container.html +1 -1
- package/livingdocs/070.Container/030.background-container/background-container.html +3 -0
- package/livingdocs/070.Container/030.background-container/ld-conf.json +4 -0
- package/livingdocs/070.Container/030.background-container/properties.json +1 -0
- package/livingdocs/070.Container/030.background-container/scss/_spacing-variations.scss +3 -0
- package/livingdocs/070.Container/030.background-container/scss/general.scss +9 -0
- package/livingdocs/070.Container/030.background-container/scss/pdf.scss +13 -0
- package/livingdocs/070.Container/030.background-container/scss/web.scss +1 -0
- package/livingdocs/070.Container/030.background-container/scss/word.scss +1 -0
- package/livingdocs/070.Container/030.background-container/scss/xbrl.scss +3 -0
- package/livingdocs/080.CV/010.cv/cv.html +2 -1
- package/livingdocs/080.CV/010.cv/scss/_spacing-variations.scss +5 -0
- package/livingdocs/080.CV/010.cv/scss/app.scss +16 -1
- package/livingdocs/080.CV/010.cv/scss/general.scss +4 -0
- package/livingdocs/080.CV/010.cv/scss/pdf.scss +2 -3
- package/livingdocs/080.CV/010.cv/scss/web.scss +17 -1
- package/livingdocs/080.CV/020.cv-time-span/scss/_spacing-variations.scss +14 -0
- package/livingdocs/080.CV/020.cv-time-span/scss/general.scss +4 -0
- package/livingdocs/080.CV/020.cv-time-span/scss/web.scss +0 -1
- package/livingdocs/100.Misc/010.anchor/scss/editor.scss +0 -1
- package/livingdocs/100.Misc/020.accordion/accordion.html +54 -7
- package/livingdocs/100.Misc/020.accordion/accordion.vue +83 -0
- package/livingdocs/100.Misc/020.accordion/scss/editor.scss +12 -0
- package/livingdocs/110.PDF/010.pdf-pagebreak/scss/editor.scss +0 -1
- package/livingdocs/110.PDF/021.pdf-columnbreak/scss/editor.scss +0 -1
- package/livingdocs/110.PDF/030.pdf-publication-title/scss/editor.scss +0 -1
- package/livingdocs/110.PDF/040.pdf-chapter-title/scss/editor.scss +0 -1
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/editor.scss +1 -1
- package/livingdocs/110.PDF/075.pdf-landscape-container/ld-conf.json +7 -0
- package/livingdocs/110.PDF/075.pdf-landscape-container/pdf-landscape-container.html +9 -0
- package/livingdocs/110.PDF/075.pdf-landscape-container/properties.json +15 -0
- package/livingdocs/110.PDF/075.pdf-landscape-container/scss/pdf.scss +19 -0
- package/livingdocs/110.PDF/100.pdf-toc-item/pdf-toc-item.html +3 -2
- package/livingdocs/110.PDF/100.pdf-toc-item/scss/general.scss +6 -5
- package/livingdocs/110.PDF/100.pdf-toc-item/scss/pdf.scss +9 -1
- package/livingdocs/130.Hosting_Components/010.download-center/download-center.html +7 -0
- package/livingdocs/130.Hosting_Components/010.download-center/download-center.vue +68 -0
- package/livingdocs/130.Hosting_Components/010.download-center/ld-conf.json +4 -0
- package/livingdocs/130.Hosting_Components/010.download-center/properties.json +1 -0
- package/livingdocs/130.Hosting_Components/010.download-center/scss/_spacing-variations.scss +3 -0
- package/livingdocs/130.Hosting_Components/010.download-center/scss/editor.scss +15 -0
- package/livingdocs/130.Hosting_Components/010.download-center/scss/general.scss +1 -0
- package/livingdocs/130.Hosting_Components/010.download-center/scss/pdf.scss +1 -0
- package/livingdocs/130.Hosting_Components/010.download-center/scss/web.scss +42 -0
- package/livingdocs/130.Hosting_Components/020.search/ld-conf.json +4 -0
- package/livingdocs/130.Hosting_Components/020.search/properties.json +1 -0
- package/livingdocs/130.Hosting_Components/020.search/scss/_spacing-variations.scss +4 -0
- package/livingdocs/130.Hosting_Components/020.search/scss/editor.scss +14 -0
- package/livingdocs/130.Hosting_Components/020.search/scss/general.scss +1 -0
- package/livingdocs/130.Hosting_Components/020.search/scss/pdf.scss +1 -0
- package/livingdocs/130.Hosting_Components/020.search/scss/web.scss +200 -0
- package/livingdocs/130.Hosting_Components/020.search/search.html +7 -0
- package/livingdocs/130.Hosting_Components/020.search/search.vue +484 -0
- package/livingdocs/999.Properties/breakout-grid/web.scss +5 -0
- package/livingdocs/999.Properties/grid/scss/app.scss +1 -0
- package/livingdocs/999.Properties/grid/scss/general.scss +31 -0
- package/livingdocs/999.Properties/grid/scss/pdf.scss +9 -0
- package/livingdocs/999.Properties/grid/scss/web.scss +1 -0
- package/livingdocs/999.Properties/grid/scss/xbrl.scss +2 -0
- package/livingdocs/999.Properties/icon/properties.json +2 -2
- package/package.json +1 -1
- package/plugins/viteSrlPlugin.js +16 -1
- package/scripts/build.js +1 -0
- package/scripts/config.js +6 -2
- package/scss/button.scss +25 -0
- package/scss/fa/font-free.scss +17 -0
- package/scss/fa/font-pro.scss +41 -0
- package/scss/fa/index.scss +118 -0
- package/scss/fa/source-free.scss +14 -0
- package/scss/fa/source-pro.scss +15 -0
- package/scss/index.scss +1 -0
- package/srl/.srl/components/Srl/Aria/TabChain.vue +6 -5
- package/srl/.srl/components/Srl/Article/Accordion.vue +37 -24
- package/srl/.srl/components/Srl/Article/Dialog/Button.vue +6 -5
- package/srl/.srl/components/Srl/Article/Root.vue +4 -1
- package/srl/.srl/components/Srl/Category/Accordion/Content.vue +2 -2
- package/srl/.srl/components/Srl/Category/Accordion/Toggle.vue +17 -8
- package/srl/.srl/components/Srl/Category/Accordion.vue +8 -5
- package/srl/.srl/components/Srl/Menu/Item.vue +20 -5
- package/srl/.srl/components/Srl/Page/Dialog.vue +31 -14
- package/srl/.srl/types/nswow.d.ts +6 -1
- package/srl/.srl/utils/index.ts +2 -0
- package/srl/.srl/utils/pageState.ts +24 -23
- package/srl/srl/button.scss +2 -0
- package/srl/srl/fa/font-free.scss +17 -0
- package/srl/srl/fa/font-pro.scss +41 -0
- package/srl/srl/fa/index.scss +118 -0
- package/srl/srl/fa/source-free.scss +14 -0
- package/srl/srl/fa/source-pro.scss +15 -0
- package/dev/src/assets/fonts/Inter/Inter-Regular.ttf +0 -0
- package/dev/src/assets/fonts/Inter/Inter-SemiBold.ttf +0 -0
- package/dev/src/assets/fonts/Roboto/roboto-v30-latin-300.woff2 +0 -0
- package/dev/src/assets/fonts/Roboto/roboto-v30-latin-700.woff2 +0 -0
- package/dev/src/assets/fonts/Roboto/roboto-v30-latin-italic.woff2 +0 -0
- package/dev/src/assets/fonts/Roboto/roboto-v30-latin-regular.woff2 +0 -0
- package/dev/src/assets/images/mms-logo-white.svg +0 -105
- package/dev/src/assets/scss/components/icons.scss +0 -287
- package/dev/src/assets/scss/components/round-button.scss +0 -75
- package/dev/src/assets/scss/placeholders.scss +0 -588
- package/dev/src/components/Page/Footer.vue +0 -45
- package/dev/src/components/Page/Header.vue +0 -40
- package/dev/src/views/HomeView.vue +0 -5
- package/livingdocs/030.Lists/020.ordered-list/scss/general.scss +0 -6
- package/livingdocs/030.Lists/020.ordered-list/scss/pdf.scss +0 -5
- package/livingdocs/030.Lists/020.ordered-list/scss/word.scss +0 -9
- package/livingdocs/030.Lists/020.ordered-list/scss/xbrl.scss +0 -1
- package/livingdocs/030.Lists/030.alphanumeric-list/scss/general.scss +0 -6
- package/livingdocs/030.Lists/030.alphanumeric-list/scss/pdf.scss +0 -5
- package/livingdocs/030.Lists/030.alphanumeric-list/scss/word.scss +0 -9
- package/livingdocs/030.Lists/030.alphanumeric-list/scss/xbrl.scss +0 -1
- package/livingdocs/030.Lists/040.list-item/ld-conf.json +0 -5
- package/livingdocs/030.Lists/040.list-item/list-item.html +0 -5
- package/livingdocs/030.Lists/040.list-item/scss/web.scss +0 -27
- package/livingdocs/030.Lists/040.list-item/scss/word.scss +0 -19
- package/livingdocs/030.Lists/040.list-item/scss/xbrl.scss +0 -1
- /package/livingdocs/030.Lists/{020.ordered-list → 040.list-item-unordered-list}/scss/app.scss +0 -0
- /package/livingdocs/030.Lists/{020.ordered-list → 040.list-item-unordered-list}/scss/editor.scss +0 -0
- /package/livingdocs/{030.Lists/030.alphanumeric-list → 070.Container/030.background-container}/scss/app.scss +0 -0
- /package/livingdocs/{030.Lists/030.alphanumeric-list → 070.Container/030.background-container}/scss/editor.scss +0 -0
- /package/livingdocs/{030.Lists/040.list-item → 130.Hosting_Components/010.download-center}/scss/app.scss +0 -0
- /package/{dev/livingdocs/.gitkeep → livingdocs/130.Hosting_Components/010.download-center/scss/word.scss} +0 -0
- /package/livingdocs/{030.Lists/020.ordered-list/scss/web.scss → 130.Hosting_Components/010.download-center/scss/xbrl.scss} +0 -0
- /package/livingdocs/{030.Lists/040.list-item/scss/editor.scss → 130.Hosting_Components/020.search/scss/app.scss} +0 -0
- /package/livingdocs/{030.Lists/030.alphanumeric-list/scss/web.scss → 130.Hosting_Components/020.search/scss/word.scss} +0 -0
- /package/livingdocs/{060.Buttons/.gitkeep → 130.Hosting_Components/020.search/scss/xbrl.scss} +0 -0
- /package/livingdocs/999.Properties/{width → grid}/properties.json +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
@use "srl";
|
|
2
|
+
|
|
3
|
+
@page a4-landscape {
|
|
4
|
+
-ro-media-size: A4 landscape;
|
|
5
|
+
size: A4 landscape;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@page a3-landscape {
|
|
9
|
+
-ro-media-size: A3 landscape;
|
|
10
|
+
size: A3 landscape;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.srl-pdf-landscape-container {
|
|
14
|
+
page: a4-landscape;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.srl-pdf-landscape-container--a3 {
|
|
18
|
+
page: a3-landscape;
|
|
19
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<a
|
|
2
2
|
class="srl-pdf-toc__item"
|
|
3
|
-
doc-link="href"
|
|
3
|
+
doc-link="href"
|
|
4
|
+
data-page-number=""
|
|
4
5
|
data-is-toc-item="true"
|
|
5
6
|
data-remove-from-web="complete"
|
|
6
7
|
data-remove-from-word="complete"
|
|
@@ -9,5 +10,5 @@
|
|
|
9
10
|
<div class="srl-pdf-toc__text" doc-editable="pdf-toc-item-text" data-is-toc-text="true">
|
|
10
11
|
Article title
|
|
11
12
|
</div>
|
|
12
|
-
<div class="srl-pdf-
|
|
13
|
+
<div class="srl-pdf-toc__page-number" doc-editable="pdf-toc-item-number" data-is-toc-number="true">1</div>
|
|
13
14
|
</a>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use 'srl';
|
|
2
|
+
@use "sass:map";
|
|
2
3
|
|
|
3
4
|
.srl-pdf-toc__item {
|
|
4
5
|
padding-block: srl.spacer-get(100);
|
|
@@ -11,11 +12,6 @@
|
|
|
11
12
|
|
|
12
13
|
.srl-pdf-toc__text {
|
|
13
14
|
width: calc(100% - srl.system-size-unit(24pt) - srl.spacer-get(100));
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.srl-pdf-toc__number {
|
|
17
|
-
text-align: right;
|
|
18
|
-
width: srl.system-size-unit(24pt);
|
|
19
15
|
|
|
20
16
|
&:after {
|
|
21
17
|
.srl-pdf-toc__link:not([href]) & {
|
|
@@ -25,4 +21,9 @@
|
|
|
25
21
|
margin-left: srl.spacer-get(100)
|
|
26
22
|
}
|
|
27
23
|
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.srl-pdf-toc__page-number {
|
|
27
|
+
text-align: right;
|
|
28
|
+
width: srl.system-size-unit(24pt);
|
|
28
29
|
}
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
@use 'srl';
|
|
2
2
|
@use 'sass:map';
|
|
3
3
|
|
|
4
|
+
$toc-toc-page-number-width: srl.system-size-unit(map.get(srl.$meta, pdf, toc-page-number, width-pdf));
|
|
5
|
+
|
|
4
6
|
.srl-pdf-toc__item {
|
|
5
7
|
-ro-pdf-tag-type: toci;
|
|
6
8
|
}
|
|
7
9
|
|
|
8
|
-
.srl-pdf-
|
|
10
|
+
.srl-pdf-toc__text {
|
|
11
|
+
width: calc(100% - $toc-toc-page-number-width);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.srl-pdf-toc__page-number {
|
|
15
|
+
width: $toc-toc-page-number-width;
|
|
16
|
+
|
|
9
17
|
&:after {
|
|
10
18
|
content: target-counter(attr(data-page-number), page);
|
|
11
19
|
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { useDownloads, useLocale } from '#composables'
|
|
3
|
+
import { computed } from 'vue'
|
|
4
|
+
import SvgDownload from 'assets/images/download.svg?component'
|
|
5
|
+
|
|
6
|
+
const downloads = useDownloads()
|
|
7
|
+
const locale = useLocale()
|
|
8
|
+
|
|
9
|
+
interface DownloadItem extends NsWowDownload {
|
|
10
|
+
href?: string
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
type DownloadGroup = {
|
|
14
|
+
title: string | null
|
|
15
|
+
items: DownloadItem[]
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const list = computed<DownloadGroup[]>(() => {
|
|
19
|
+
const res: DownloadGroup[] = []
|
|
20
|
+
let group: DownloadGroup = { title: null, items: [] }
|
|
21
|
+
downloads.value.forEach((i) => {
|
|
22
|
+
if (i.type === 'sectionTitle') {
|
|
23
|
+
group = { title: i.title, items: [] }
|
|
24
|
+
res.push(group)
|
|
25
|
+
} else if (i.type === 'artifact') {
|
|
26
|
+
const row = Object.assign(i)
|
|
27
|
+
row.href = `./downloads/${locale.value}/${i.artifact}`
|
|
28
|
+
!group || group.items.push(row)
|
|
29
|
+
}
|
|
30
|
+
})
|
|
31
|
+
return res
|
|
32
|
+
})
|
|
33
|
+
</script>
|
|
34
|
+
|
|
35
|
+
<template>
|
|
36
|
+
<div class="srl-download-center">
|
|
37
|
+
<div v-for="(item, index) in list" :key="index" class="srl-download-center__inner">
|
|
38
|
+
<h2 v-if="item.title" class="srl-grid srl-title-h2 srl-linkable">
|
|
39
|
+
<span class="srl-grid__inner srl-title-h2__text">{{ item.title }}</span>
|
|
40
|
+
</h2>
|
|
41
|
+
|
|
42
|
+
<section class="srl-grid srl-download-center__section">
|
|
43
|
+
<div class="srl-grid__inner">
|
|
44
|
+
<div
|
|
45
|
+
v-for="(file, fileIndex) in item.items"
|
|
46
|
+
:key="fileIndex"
|
|
47
|
+
class="srl-download-center__item"
|
|
48
|
+
>
|
|
49
|
+
<a class="srl-download-center__link" :href="file.href" download>
|
|
50
|
+
<div class="srl-download-center__title-meta-container">
|
|
51
|
+
<div class="srl-download-center__title">
|
|
52
|
+
<strong v-text="file.title" />
|
|
53
|
+
</div>
|
|
54
|
+
<div class="srl-download-center__meta">{{ file.fileType }} | {{ file.size }}</div>
|
|
55
|
+
</div>
|
|
56
|
+
<div class="srl-download-center__language-button-container">
|
|
57
|
+
<span class="srl-download-center__language">{{ locale.toUpperCase() }}</span>
|
|
58
|
+
<span class="srl-round-button">
|
|
59
|
+
<SvgDownload/>
|
|
60
|
+
</span>
|
|
61
|
+
</div>
|
|
62
|
+
</a>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
</section>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</template>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@use 'srl';
|
|
2
|
+
@use "web";
|
|
3
|
+
|
|
4
|
+
srl-ld-download-center {
|
|
5
|
+
display: block;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.srl-download-center {
|
|
9
|
+
text-align: center;
|
|
10
|
+
@include srl.spacer-padding-block(200);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.srl-download-center__editor-text {
|
|
14
|
+
@include srl.typography-editor-label-text();
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use "srl";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use "srl";
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
@use "srl";
|
|
2
|
+
@use "spacing-variations";
|
|
3
|
+
|
|
4
|
+
.srl-download-center {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
@include srl.spacer-row-gap(800);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.srl-download-center__section {
|
|
11
|
+
> .srl-grid__inner {
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.srl-download-center__item {
|
|
16
|
+
border-bottom: 1px solid srl.colors-primary-1000();
|
|
17
|
+
&:first-child {
|
|
18
|
+
border-top: 1px solid srl.colors-primary-1000();
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.srl-download-center__link {
|
|
23
|
+
display: flex;
|
|
24
|
+
justify-content: space-between;
|
|
25
|
+
align-items: center;
|
|
26
|
+
width: 100%;
|
|
27
|
+
padding: var(--srl-spacer-200) 0;
|
|
28
|
+
color: srl.colors-grey-600();
|
|
29
|
+
text-decoration: none;
|
|
30
|
+
gap: var(--srl-spacer-100);
|
|
31
|
+
@include srl.typography-paragraph();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.srl-download-center__title {
|
|
35
|
+
@include srl.typography-title-h5();
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.srl-download-center__language-button-container {
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
gap: var(--srl-spacer-100)
|
|
42
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use "srl";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use "srl";
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
@use "srl";
|
|
2
|
+
@use "spacing-variations";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
Search form
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
.srl-search__wrap {
|
|
10
|
+
@include srl.spacer-margin-top(400);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.srl-search-form__group {
|
|
14
|
+
transition: all .3s ease-out;
|
|
15
|
+
position: relative;
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: flex-end;
|
|
18
|
+
align-items: center;
|
|
19
|
+
background-color: srl.colors-grey-600();
|
|
20
|
+
border-radius: srl.system-root-style(srl-default-border-radius);
|
|
21
|
+
overflow: hidden;
|
|
22
|
+
|
|
23
|
+
&:hover {
|
|
24
|
+
@extend %srl-button__switch-hover;
|
|
25
|
+
background-color: srl.colors-secondary-1000();
|
|
26
|
+
.srl-search-form__button {
|
|
27
|
+
background-color: srl.colors-secondary-1000();
|
|
28
|
+
border-color: srl.colors-grey-800();
|
|
29
|
+
|
|
30
|
+
svg {
|
|
31
|
+
color: srl.colors-grey-800();
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&:has(input:focus) {
|
|
37
|
+
@extend %srl-button__switch-focus;
|
|
38
|
+
background-color: srl.colors-secondary-1000();
|
|
39
|
+
.srl-search-form__input {
|
|
40
|
+
color: srl.colors-primary-1000();
|
|
41
|
+
&::placeholder {
|
|
42
|
+
color: srl.colors-primary-800();
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
.srl-search-form__button {
|
|
46
|
+
background-color: srl.colors-secondary-1000();
|
|
47
|
+
border-color: srl.colors-primary-1000();
|
|
48
|
+
|
|
49
|
+
svg {
|
|
50
|
+
color: srl.colors-primary-1000();
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/*
|
|
56
|
+
&:has(input:focus-visible) {
|
|
57
|
+
background-color: srl.colors-primary-200();
|
|
58
|
+
border: srl.system-size-unit(1) solid srl.colors-primary-1000();
|
|
59
|
+
.srl-search-form__input {
|
|
60
|
+
color: srl.colors-grey-600();
|
|
61
|
+
&::placeholder {
|
|
62
|
+
color: srl.colors-grey-400();
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
.srl-search-form__button {
|
|
66
|
+
background-color: srl.colors-primary-200();
|
|
67
|
+
border-color: srl.colors-grey-600();
|
|
68
|
+
|
|
69
|
+
svg {
|
|
70
|
+
color: srl.colors-grey-600();
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
*/
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.srl-search-form__label {
|
|
79
|
+
clip: rect(1px, 1px, 1px, 1px);
|
|
80
|
+
clip-path: inset(50%);
|
|
81
|
+
height: 1px;
|
|
82
|
+
width: 1px;
|
|
83
|
+
margin: -1px;
|
|
84
|
+
overflow: hidden;
|
|
85
|
+
padding: 0;
|
|
86
|
+
position: absolute;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.srl-search-form__input {
|
|
90
|
+
width: 100%;
|
|
91
|
+
height: 100%;
|
|
92
|
+
border: 0 !important;
|
|
93
|
+
outline: 0 !important;
|
|
94
|
+
@include srl.typography-title-h5();
|
|
95
|
+
transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, outline 0.3s ease;
|
|
96
|
+
background-color: transparent;
|
|
97
|
+
color: srl.colors-grey-800();
|
|
98
|
+
padding:
|
|
99
|
+
srl.spacer-get(400)
|
|
100
|
+
srl.system-size-unit(96)
|
|
101
|
+
srl.spacer-get(400)
|
|
102
|
+
srl.spacer-get(400)
|
|
103
|
+
;
|
|
104
|
+
|
|
105
|
+
&::placeholder {
|
|
106
|
+
@include srl.typography-title-h5();
|
|
107
|
+
color: srl.colors-grey-800();
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&:hover {
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&:focus {
|
|
114
|
+
border-color: transparent;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.srl-search-form__button {
|
|
119
|
+
position: absolute;
|
|
120
|
+
right: srl.spacer-get(400);
|
|
121
|
+
background-color: srl.colors-grey-600();
|
|
122
|
+
border-color: srl.colors-grey-800();
|
|
123
|
+
|
|
124
|
+
svg {
|
|
125
|
+
color: srl.colors-grey-800();
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/*
|
|
130
|
+
Search results
|
|
131
|
+
*/
|
|
132
|
+
.srl-search-results__main-title {
|
|
133
|
+
@include srl.spacer-margin-top(200);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.srl-search-results__list {
|
|
137
|
+
list-style: none;
|
|
138
|
+
margin: 0;
|
|
139
|
+
padding: 0;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.srl-search-results__item {
|
|
143
|
+
&:first-child {
|
|
144
|
+
.srl-search-results__link {
|
|
145
|
+
border-top-width: srl.system-size-unit(1);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
&:has(+ .srl-search-results__item:hover) {
|
|
149
|
+
.srl-search-results__link {
|
|
150
|
+
border-bottom-color: srl.colors-grey-600();
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
&:has(+ .srl-search-results__item:focus) {
|
|
154
|
+
.srl-search-results__link {
|
|
155
|
+
border-bottom-color: srl.colors-black-1000();
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.srl-search-results__link {
|
|
161
|
+
display: block;
|
|
162
|
+
transition: background-color 0.3s ease, color 0.3s ease;
|
|
163
|
+
text-decoration: none;
|
|
164
|
+
@include srl.spacer-padding-block(400);
|
|
165
|
+
@include srl.spacer-padding-inline(200);
|
|
166
|
+
color: srl.colors-grey-600();
|
|
167
|
+
border-color: srl.colors-primary-1000();
|
|
168
|
+
border-style: solid;
|
|
169
|
+
border-width: 0 0 srl.system-size-unit(1) 0;
|
|
170
|
+
|
|
171
|
+
&:hover {
|
|
172
|
+
background-color: srl.colors-grey-600();
|
|
173
|
+
color: srl.colors-white-1000();
|
|
174
|
+
border-color: srl.colors-grey-600();
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
&:focus {
|
|
178
|
+
background-color: srl.colors-black-1000();
|
|
179
|
+
color: srl.colors-primary-1000();
|
|
180
|
+
border-color: srl.colors-primary-1000();
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.srl-search-results__title {
|
|
185
|
+
@include srl.typography-title-h5();
|
|
186
|
+
color: inherit;
|
|
187
|
+
transition: color 0.3s ease;
|
|
188
|
+
|
|
189
|
+
.srl-search-results__link:focus & {
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.srl-search-results__snippet {
|
|
194
|
+
@include srl.typography-paragraph();
|
|
195
|
+
color: inherit;
|
|
196
|
+
transition: color 0.3s ease;
|
|
197
|
+
|
|
198
|
+
.srl-search-results__link:focus & {
|
|
199
|
+
}
|
|
200
|
+
}
|