@simple-reporting/base 1.0.39 → 1.0.41
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/package.json +1 -1
- package/dev/src/App.vue +1 -0
- package/dev/src/assets/scss/app.scss +0 -1
- package/dev/src/assets/scss/components/{note/accordion.scss → accordion.scss} +20 -0
- package/dev/src/assets/scss/editor.scss +1 -0
- package/dev/src/assets/scss/general.scss +18 -0
- package/dev/src/assets/scss/pdf.scss +11 -0
- package/dev/src/assets/scss/placeholders/grid.scss +6 -0
- package/dev/src/assets/scss/web.scss +1 -1
- package/dev/src/assets/scss/xbrl.scss +12 -1
- package/dev/src/components/PageMain.vue +5 -3
- package/dev/src/entries/pdf.ts +5 -0
- package/dev/srl.config.json +72 -7
- package/livingdocs/010.Titles/010.title-h1/scss/_spacing-variations.scss +0 -2
- package/livingdocs/010.Titles/010.title-h1/scss/general.scss +1 -2
- package/livingdocs/010.Titles/010.title-h1/scss/web.scss +7 -0
- package/livingdocs/010.Titles/020.title-h2/scss/_spacing-variations.scss +0 -2
- package/livingdocs/010.Titles/020.title-h2/scss/general.scss +12 -2
- package/livingdocs/010.Titles/020.title-h2/scss/xbrl.scss +2 -1
- package/livingdocs/010.Titles/030.title-h3/scss/_spacing-variations.scss +0 -2
- package/livingdocs/010.Titles/030.title-h3/scss/general.scss +2 -2
- package/livingdocs/010.Titles/030.title-h3/scss/xbrl.scss +2 -1
- package/livingdocs/010.Titles/040.title-h4/scss/_spacing-variations.scss +0 -2
- package/livingdocs/010.Titles/040.title-h4/scss/general.scss +2 -2
- package/livingdocs/010.Titles/040.title-h4/scss/xbrl.scss +2 -1
- package/livingdocs/010.Titles/050.title-h5/scss/_spacing-variations.scss +0 -2
- package/livingdocs/010.Titles/050.title-h5/scss/general.scss +1 -2
- package/livingdocs/010.Titles/060.title-h6/scss/_spacing-variations.scss +0 -2
- package/livingdocs/010.Titles/060.title-h6/scss/general.scss +2 -2
- package/livingdocs/020.Text/010.lead/scss/general.scss +1 -2
- package/livingdocs/020.Text/020.paragraph/scss/_spacing-variations.scss +1 -2
- package/livingdocs/020.Text/020.paragraph/scss/general.scss +5 -2
- package/livingdocs/020.Text/040.link/scss/_spacing-variations.scss +22 -0
- package/livingdocs/020.Text/040.link/scss/general.scss +22 -2
- package/livingdocs/020.Text/050.quote/scss/general.scss +2 -0
- package/livingdocs/020.Text/060.quote-with-portrait/scss/_spacing-variations.scss +1 -2
- package/livingdocs/020.Text/060.quote-with-portrait/scss/general.scss +13 -2
- package/livingdocs/020.Text/060.quote-with-portrait/scss/web.scss +7 -0
- package/livingdocs/020.Text/070.footnote-container/scss/_spacing-variations.scss +0 -2
- package/livingdocs/020.Text/080.footnote-item/scss/general.scss +1 -2
- package/livingdocs/020.Text/080.footnote-item/scss/word.scss +8 -0
- package/livingdocs/030.Lists/010.unordered-list/scss/_spacing-variations.scss +0 -2
- package/livingdocs/030.Lists/010.unordered-list/scss/general.scss +1 -2
- package/livingdocs/030.Lists/040.list-item-unordered-list/scss/general.scss +1 -2
- package/livingdocs/040.Media/010.table/scss/_spacing-variations.scss +0 -2
- package/livingdocs/040.Media/010.table/scss/general.scss +8 -2
- package/livingdocs/040.Media/010.table/scss/word.scss +18 -0
- package/livingdocs/040.Media/020.image/scss/_spacing-variations.scss +0 -2
- package/livingdocs/040.Media/020.image/scss/general.scss +1 -2
- package/livingdocs/040.Media/020.image/scss/pdf.scss +1 -0
- package/livingdocs/040.Media/020.image/scss/web.scss +19 -5
- package/livingdocs/040.Media/030.video/ld-conf.json +1 -6
- package/livingdocs/040.Media/030.video/properties.json +7 -0
- package/livingdocs/040.Media/030.video/scss/_spacing-variations.scss +0 -2
- package/livingdocs/040.Media/030.video/scss/editor.scss +10 -0
- package/livingdocs/040.Media/030.video/scss/general.scss +7 -3
- package/livingdocs/040.Media/030.video/scss/pdf.scss +8 -0
- package/livingdocs/040.Media/030.video/video.html +27 -30
- package/livingdocs/040.Media/030.video/video.vue +71 -32
- package/livingdocs/060.Buttons/010.button-container/button-container.html +6 -1
- package/livingdocs/060.Buttons/020.button/button.html +7 -1
- package/livingdocs/060.Buttons/020.button/scss/general.scss +2 -2
- package/livingdocs/070.Container/010.aside-content-container/aside-content-container.html +1 -1
- package/livingdocs/070.Container/010.aside-content-container/ld-conf.json +1 -1
- package/livingdocs/070.Container/010.aside-content-container/scss/general.scss +4 -0
- package/livingdocs/070.Container/010.aside-content-container/scss/pdf.scss +5 -0
- package/livingdocs/070.Container/010.aside-content-container/scss/web.scss +12 -0
- package/livingdocs/070.Container/020.columns-container/columns-container.html +1 -1
- package/livingdocs/070.Container/020.columns-container/ld-conf.json +1 -1
- package/livingdocs/070.Container/020.columns-container/scss/app.scss +1 -0
- package/livingdocs/070.Container/020.columns-container/scss/general.scss +5 -0
- package/livingdocs/070.Container/020.columns-container/scss/pdf.scss +7 -0
- package/livingdocs/070.Container/020.columns-container/scss/word.scss +1 -0
- package/livingdocs/070.Container/020.columns-container/scss/xbrl.scss +2 -0
- package/livingdocs/070.Container/030.background-container/scss/general.scss +1 -2
- package/livingdocs/080.CV/010.cv/scss/editor.scss +10 -1
- package/livingdocs/080.CV/010.cv/scss/general.scss +1 -2
- package/livingdocs/080.CV/010.cv/scss/web.scss +1 -1
- package/livingdocs/080.CV/010.cv/scss/xbrl.scss +2 -1
- package/livingdocs/080.CV/020.cv-time-span/scss/_spacing-variations.scss +0 -2
- package/livingdocs/080.CV/020.cv-time-span/scss/general.scss +1 -2
- package/livingdocs/080.CV/020.cv-time-span/scss/xbrl.scss +2 -1
- package/livingdocs/090.Signatures/010.signature-container/scss/xbrl.scss +3 -1
- package/livingdocs/090.Signatures/020.signature-item/scss/xbrl.scss +1 -0
- package/livingdocs/100.Misc/010.anchor/scss/editor.scss +4 -0
- package/livingdocs/100.Misc/020.accordion/accordion.html +9 -9
- package/livingdocs/110.PDF/010.pdf-pagebreak/scss/editor.scss +1 -0
- package/livingdocs/110.PDF/{021.pdf-columnbreak → 020.pdf-columnbreak}/scss/editor.scss +1 -0
- package/livingdocs/110.PDF/{070.pdf-cover → 030.pdf-cover}/properties.json +2 -2
- package/livingdocs/110.PDF/{070.pdf-cover → 030.pdf-cover}/scss/general.scss +3 -0
- package/livingdocs/110.PDF/075.pdf-chapter-navigation-item/scss/editor.scss +1 -0
- package/livingdocs/110.PDF/075.pdf-chapter-navigation-item/scss/web.scss +1 -0
- package/livingdocs/110.PDF/100.pdf-toc-item/scss/general.scss +6 -8
- package/livingdocs/120.Startpage/010.hero-video/hero-video.html +15 -0
- package/livingdocs/120.Startpage/010.hero-video/ld-conf.json +5 -0
- package/livingdocs/120.Startpage/010.hero-video/properties.json +1 -0
- package/livingdocs/120.Startpage/010.hero-video/scss/_spacing-variations.scss +3 -0
- package/livingdocs/120.Startpage/010.hero-video/scss/app.scss +2 -0
- package/livingdocs/120.Startpage/010.hero-video/scss/editor.scss +9 -0
- package/livingdocs/120.Startpage/010.hero-video/scss/web.scss +77 -0
- package/livingdocs/120.Startpage/020.teaser-title-image-quote/ld-conf.json +18 -0
- package/livingdocs/120.Startpage/020.teaser-title-image-quote/properties.json +1 -0
- package/livingdocs/120.Startpage/020.teaser-title-image-quote/scss/_spacing-variations.scss +4 -0
- package/livingdocs/120.Startpage/020.teaser-title-image-quote/scss/app.scss +2 -0
- package/livingdocs/120.Startpage/020.teaser-title-image-quote/scss/editor.scss +22 -0
- package/livingdocs/120.Startpage/020.teaser-title-image-quote/scss/web.scss +40 -0
- package/livingdocs/120.Startpage/020.teaser-title-image-quote/teaser-title-image-quote.html +50 -0
- package/livingdocs/120.Startpage/030.teaser-quote/ld-conf.json +25 -0
- package/livingdocs/120.Startpage/030.teaser-quote/properties.json +1 -0
- package/livingdocs/120.Startpage/030.teaser-quote/scss/_spacing-variations.scss +3 -0
- package/livingdocs/120.Startpage/030.teaser-quote/scss/app.scss +2 -0
- package/livingdocs/120.Startpage/030.teaser-quote/scss/editor.scss +6 -0
- package/livingdocs/120.Startpage/030.teaser-quote/scss/web.scss +125 -0
- package/livingdocs/120.Startpage/030.teaser-quote/teaser-quote.html +53 -0
- package/livingdocs/120.Startpage/040.teaser/ld-conf.json +23 -0
- package/livingdocs/120.Startpage/040.teaser/scss/_spacing-variations.scss +3 -0
- package/livingdocs/120.Startpage/040.teaser/scss/app.scss +2 -0
- package/livingdocs/120.Startpage/040.teaser/scss/editor.scss +6 -0
- package/livingdocs/120.Startpage/040.teaser/scss/web.scss +72 -0
- package/livingdocs/120.Startpage/040.teaser/teaser.html +39 -0
- package/livingdocs/130.Hosting_Components/010.download-center/download-center.html +6 -2
- package/livingdocs/130.Hosting_Components/020.search/scss/web.scss +11 -44
- package/livingdocs/130.Hosting_Components/020.search/search.html +7 -1
- package/livingdocs/130.Hosting_Components/020.search/search.vue +1 -1
- package/livingdocs/130.Hosting_Components/020.search/searchHighlightOnTarget.vue +249 -0
- package/livingdocs/999.Properties/background-color/properties.json +23 -0
- package/livingdocs/999.Properties/font-color/properties.json +15 -0
- package/package.json +1 -1
- package/scripts/config.js +7 -4
- package/scss/colors/mixins.scss +3 -0
- package/scss/helpers/mixins.scss +22 -0
- package/scss/spacer/mixins.scss +121 -12
- package/srl/srl/fa/index.scss +2 -2
- package/srl/srl/fa/source-free.scss +1 -4
- package/srl/srl/pdf/PDFNestedContainers.ts +122 -0
- package/srl/srl/pdf/PDFNotes.ts +4 -2
- package/srl/srl/pdf/PDFSetPageNumbers.ts +3 -1
- package/dev/src/assets/scss/margins.scss +0 -57
- /package/livingdocs/{110.PDF/060.pdf-chapter-navigation-item → 070.Container/020.columns-container}/scss/editor.scss +0 -0
- /package/livingdocs/{110.PDF/021.pdf-columnbreak → 070.Container/020.columns-container}/scss/web.scss +0 -0
- /package/livingdocs/110.PDF/{021.pdf-columnbreak → 020.pdf-columnbreak}/ld-conf.json +0 -0
- /package/livingdocs/110.PDF/{021.pdf-columnbreak → 020.pdf-columnbreak}/pdf-columnbreak.html +0 -0
- /package/livingdocs/110.PDF/{021.pdf-columnbreak → 020.pdf-columnbreak}/scss/general.scss +0 -0
- /package/livingdocs/110.PDF/{021.pdf-columnbreak → 020.pdf-columnbreak}/scss/pdf.scss +0 -0
- /package/livingdocs/110.PDF/{030.pdf-publication-title → 020.pdf-columnbreak}/scss/web.scss +0 -0
- /package/livingdocs/110.PDF/{021.pdf-columnbreak → 020.pdf-columnbreak}/scss/word.scss +0 -0
- /package/livingdocs/110.PDF/{021.pdf-columnbreak → 020.pdf-columnbreak}/scss/xbrl.scss +0 -0
- /package/livingdocs/110.PDF/{020.pdf-column-container → 025.pdf-column-container}/ld-conf.json +0 -0
- /package/livingdocs/110.PDF/{020.pdf-column-container → 025.pdf-column-container}/pdf-column-container.html +0 -0
- /package/livingdocs/110.PDF/{020.pdf-column-container → 025.pdf-column-container}/properties.json +0 -0
- /package/livingdocs/110.PDF/{020.pdf-column-container → 025.pdf-column-container}/scss/editor.scss +0 -0
- /package/livingdocs/110.PDF/{020.pdf-column-container → 025.pdf-column-container}/scss/pdf.scss +0 -0
- /package/livingdocs/110.PDF/{070.pdf-cover → 030.pdf-cover}/ld-conf.json +0 -0
- /package/livingdocs/110.PDF/{070.pdf-cover → 030.pdf-cover}/pdf-cover.html +0 -0
- /package/livingdocs/110.PDF/{070.pdf-cover → 030.pdf-cover}/scss/editor.scss +0 -0
- /package/livingdocs/110.PDF/{070.pdf-cover → 030.pdf-cover}/scss/pdf.scss +0 -0
- /package/livingdocs/110.PDF/{040.pdf-chapter-title → 030.pdf-cover}/scss/web.scss +0 -0
- /package/livingdocs/110.PDF/{030.pdf-publication-title → 030.pdf-cover}/scss/word.scss +0 -0
- /package/livingdocs/110.PDF/{030.pdf-publication-title → 030.pdf-cover}/scss/xbrl.scss +0 -0
- /package/livingdocs/110.PDF/{075.pdf-landscape-container → 040.pdf-landscape-container}/ld-conf.json +0 -0
- /package/livingdocs/110.PDF/{075.pdf-landscape-container → 040.pdf-landscape-container}/pdf-landscape-container.html +0 -0
- /package/livingdocs/110.PDF/{075.pdf-landscape-container → 040.pdf-landscape-container}/properties.json +0 -0
- /package/livingdocs/110.PDF/{075.pdf-landscape-container → 040.pdf-landscape-container}/scss/pdf.scss +0 -0
- /package/livingdocs/110.PDF/{030.pdf-publication-title → 050.pdf-publication-title}/ld-conf.json +0 -0
- /package/livingdocs/110.PDF/{030.pdf-publication-title → 050.pdf-publication-title}/pdf-publication-title.html +0 -0
- /package/livingdocs/110.PDF/{030.pdf-publication-title → 050.pdf-publication-title}/scss/editor.scss +0 -0
- /package/livingdocs/110.PDF/{030.pdf-publication-title → 050.pdf-publication-title}/scss/general.scss +0 -0
- /package/livingdocs/110.PDF/{030.pdf-publication-title → 050.pdf-publication-title}/scss/pdf.scss +0 -0
- /package/livingdocs/110.PDF/{050.pdf-chapter-navigation-container → 050.pdf-publication-title}/scss/web.scss +0 -0
- /package/livingdocs/110.PDF/{040.pdf-chapter-title → 050.pdf-publication-title}/scss/word.scss +0 -0
- /package/livingdocs/110.PDF/{040.pdf-chapter-title → 050.pdf-publication-title}/scss/xbrl.scss +0 -0
- /package/livingdocs/110.PDF/{040.pdf-chapter-title → 060.pdf-chapter-title}/ld-conf.json +0 -0
- /package/livingdocs/110.PDF/{040.pdf-chapter-title → 060.pdf-chapter-title}/pdf-chapter-title.html +0 -0
- /package/livingdocs/110.PDF/{040.pdf-chapter-title → 060.pdf-chapter-title}/scss/editor.scss +0 -0
- /package/livingdocs/110.PDF/{040.pdf-chapter-title → 060.pdf-chapter-title}/scss/general.scss +0 -0
- /package/livingdocs/110.PDF/{040.pdf-chapter-title → 060.pdf-chapter-title}/scss/pdf.scss +0 -0
- /package/livingdocs/110.PDF/{060.pdf-chapter-navigation-item → 060.pdf-chapter-title}/scss/web.scss +0 -0
- /package/livingdocs/110.PDF/{050.pdf-chapter-navigation-container → 060.pdf-chapter-title}/scss/word.scss +0 -0
- /package/livingdocs/110.PDF/{050.pdf-chapter-navigation-container → 060.pdf-chapter-title}/scss/xbrl.scss +0 -0
- /package/livingdocs/110.PDF/{050.pdf-chapter-navigation-container → 070.pdf-chapter-navigation-container}/ld-conf.json +0 -0
- /package/livingdocs/110.PDF/{050.pdf-chapter-navigation-container → 070.pdf-chapter-navigation-container}/pdf-chapter-navigation.html +0 -0
- /package/livingdocs/110.PDF/{050.pdf-chapter-navigation-container → 070.pdf-chapter-navigation-container}/scss/editor.scss +0 -0
- /package/livingdocs/110.PDF/{050.pdf-chapter-navigation-container → 070.pdf-chapter-navigation-container}/scss/general.scss +0 -0
- /package/livingdocs/110.PDF/{050.pdf-chapter-navigation-container → 070.pdf-chapter-navigation-container}/scss/pdf.scss +0 -0
- /package/livingdocs/110.PDF/{070.pdf-cover → 070.pdf-chapter-navigation-container}/scss/web.scss +0 -0
- /package/livingdocs/110.PDF/{060.pdf-chapter-navigation-item → 070.pdf-chapter-navigation-container}/scss/word.scss +0 -0
- /package/livingdocs/110.PDF/{060.pdf-chapter-navigation-item → 070.pdf-chapter-navigation-container}/scss/xbrl.scss +0 -0
- /package/livingdocs/110.PDF/{060.pdf-chapter-navigation-item → 075.pdf-chapter-navigation-item}/ld-conf.json +0 -0
- /package/livingdocs/110.PDF/{060.pdf-chapter-navigation-item → 075.pdf-chapter-navigation-item}/pdf-chapter-navigation-item.html +0 -0
- /package/livingdocs/110.PDF/{060.pdf-chapter-navigation-item → 075.pdf-chapter-navigation-item}/properties.json +0 -0
- /package/livingdocs/110.PDF/{060.pdf-chapter-navigation-item → 075.pdf-chapter-navigation-item}/scss/general.scss +0 -0
- /package/livingdocs/110.PDF/{060.pdf-chapter-navigation-item → 075.pdf-chapter-navigation-item}/scss/pdf.scss +0 -0
- /package/livingdocs/110.PDF/{070.pdf-cover → 075.pdf-chapter-navigation-item}/scss/word.scss +0 -0
- /package/livingdocs/110.PDF/{070.pdf-cover → 075.pdf-chapter-navigation-item}/scss/xbrl.scss +0 -0
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
@use 'srl';
|
|
2
2
|
@use "sass:map";
|
|
3
|
-
@use "@/assets/scss/margins";
|
|
4
3
|
@use "spacing-variations";
|
|
5
4
|
|
|
6
5
|
$quote-open: map.get(srl.$meta, quote, quote-open);
|
|
@@ -11,7 +10,7 @@ $quote-close: map.get(srl.$meta, quote, quote-close);
|
|
|
11
10
|
row-gap: srl.spacer-get(400);
|
|
12
11
|
}
|
|
13
12
|
|
|
14
|
-
@include
|
|
13
|
+
@include srl.spacer-component-margin(spacing-variations.$margins);
|
|
15
14
|
|
|
16
15
|
.srl-quote__img {
|
|
17
16
|
border-radius: 50%;
|
|
@@ -20,6 +19,10 @@ $quote-close: map.get(srl.$meta, quote, quote-close);
|
|
|
20
19
|
.srl-quote__quote {
|
|
21
20
|
@include srl.typography-quote();
|
|
22
21
|
|
|
22
|
+
.srl-teaser-quote.srl-color-white-1000 & {
|
|
23
|
+
color: srl.colors-black-1000()
|
|
24
|
+
}
|
|
25
|
+
|
|
23
26
|
&:before {
|
|
24
27
|
content: "#{$quote-open}";
|
|
25
28
|
|
|
@@ -44,8 +47,16 @@ $quote-close: map.get(srl.$meta, quote, quote-close);
|
|
|
44
47
|
|
|
45
48
|
.srl-quote__name {
|
|
46
49
|
@include srl.typography-quote-name();
|
|
50
|
+
|
|
51
|
+
.srl-teaser-quote.srl-color-white-1000 & {
|
|
52
|
+
color: srl.colors-black-1000()
|
|
53
|
+
}
|
|
47
54
|
}
|
|
48
55
|
|
|
49
56
|
.srl-quote__position {
|
|
50
57
|
@include srl.typography-quote-position();
|
|
58
|
+
|
|
59
|
+
.srl-teaser-quote.srl-color-white-1000 & {
|
|
60
|
+
color: srl.colors-black-1000()
|
|
61
|
+
}
|
|
51
62
|
}
|
|
@@ -16,7 +16,5 @@ $margins: (
|
|
|
16
16
|
('.srl-footnote', '.srl-title-h4'): 400,
|
|
17
17
|
('.srl-footnote', '.srl-title-h5'): 200,
|
|
18
18
|
('.srl-footnote', '.srl-title-h6'): 200,
|
|
19
|
-
('.srl-footnote', '.srl-pdf-pagebreak'): 800,
|
|
20
|
-
('.srl-footnote', '.srl-anchor'): 800,
|
|
21
19
|
('.srl-footnote', '.srl-background-container'): 1600,
|
|
22
20
|
)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
@use 'srl';
|
|
2
2
|
@use 'sass:map';
|
|
3
|
-
@use "@/assets/scss/margins";
|
|
4
3
|
@use "spacing-variations";
|
|
5
4
|
|
|
6
5
|
$number-width: srl.system-size-unit(map.get(srl.$meta, footnote, number-width));
|
|
@@ -15,7 +14,7 @@ $number-width: srl.system-size-unit(map.get(srl.$meta, footnote, number-width));
|
|
|
15
14
|
@include srl.typography-footnote-text();
|
|
16
15
|
}
|
|
17
16
|
|
|
18
|
-
@include
|
|
17
|
+
@include srl.spacer-component-margin(spacing-variations.$margins);
|
|
19
18
|
|
|
20
19
|
.srl-footnote__key,
|
|
21
20
|
.srl-footnote__number {
|
|
@@ -16,7 +16,5 @@ $margins: (
|
|
|
16
16
|
('.srl-list-group', '.srl-title-h4'): 400,
|
|
17
17
|
('.srl-list-group', '.srl-title-h5'): 200,
|
|
18
18
|
('.srl-list-group', '.srl-title-h6'): 200,
|
|
19
|
-
('.srl-list-group', '.srl-pdf-pagebreak'): 800,
|
|
20
|
-
('.srl-list-group', '.srl-anchor'): 800,
|
|
21
19
|
('.srl-list-group', '.srl-background-container'): 1600,
|
|
22
20
|
)
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
@use 'srl';
|
|
2
2
|
@use "sass:map";
|
|
3
|
-
@use "@/assets/scss/margins";
|
|
4
3
|
@use "spacing-variations";
|
|
5
4
|
|
|
6
|
-
@include
|
|
5
|
+
@include srl.spacer-component-margin(spacing-variations.$margins);
|
|
7
6
|
|
|
8
7
|
.srl-list-group__item-inner {
|
|
9
8
|
@include srl.typography-list();
|
|
@@ -12,8 +12,6 @@ $margins: (
|
|
|
12
12
|
('.srl-table > table', '*'): 200,
|
|
13
13
|
('.srl-table-container', '*:empty'): 0,
|
|
14
14
|
('.srl-table > table', '*:empty'): 0,
|
|
15
|
-
('.srl-table', '.srl-pdf-pagebreak'): 800,
|
|
16
|
-
('.srl-table', '.srl-anchor'): 800,
|
|
17
15
|
('.srl-table', '.srl-quote'): 800,
|
|
18
16
|
('.srl-table', '.srl-background-container'): 1600,
|
|
19
17
|
)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
@use 'srl';
|
|
2
2
|
@use 'sass:map';
|
|
3
|
-
@use "@/assets/scss/margins";
|
|
4
3
|
@use "spacing-variations";
|
|
5
4
|
|
|
6
5
|
$table-border-regular: map.get(srl.$meta, table, border, regular);
|
|
@@ -15,7 +14,7 @@ $table-border-bold: map.get(srl.$meta, table, border, bold);
|
|
|
15
14
|
display: block;
|
|
16
15
|
}
|
|
17
16
|
|
|
18
|
-
@include
|
|
17
|
+
@include srl.spacer-component-margin(spacing-variations.$margins);
|
|
19
18
|
|
|
20
19
|
.srl-table__container {
|
|
21
20
|
overflow: auto;
|
|
@@ -24,6 +23,13 @@ $table-border-bold: map.get(srl.$meta, table, border, bold);
|
|
|
24
23
|
|
|
25
24
|
& > div {
|
|
26
25
|
@extend %srl-grid-base;
|
|
26
|
+
|
|
27
|
+
.srl-nested-container & {
|
|
28
|
+
width: 100%;
|
|
29
|
+
display: block;
|
|
30
|
+
padding: 0;
|
|
31
|
+
margin: 0;
|
|
32
|
+
}
|
|
27
33
|
}
|
|
28
34
|
}
|
|
29
35
|
|
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
.srl-table {
|
|
4
4
|
page-break-inside: avoid;
|
|
5
|
+
width: 100%;
|
|
6
|
+
min-width: 100%;
|
|
7
|
+
|
|
8
|
+
div {
|
|
9
|
+
width: 100%;
|
|
10
|
+
min-width: 100%;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.srl-table__container {
|
|
15
|
+
& > div {
|
|
16
|
+
@extend %srl-grid-reset;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
table {
|
|
21
|
+
width: 100%;
|
|
22
|
+
min-width: 100%;
|
|
5
23
|
}
|
|
6
24
|
|
|
7
25
|
th,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
@use 'srl';
|
|
2
|
-
@use "@/assets/scss/margins";
|
|
3
2
|
@use "spacing-variations";
|
|
4
3
|
|
|
5
4
|
.srl-grid--media {
|
|
@@ -8,7 +7,7 @@
|
|
|
8
7
|
}
|
|
9
8
|
}
|
|
10
9
|
|
|
11
|
-
@include
|
|
10
|
+
@include srl.spacer-component-margin(spacing-variations.$margins);
|
|
12
11
|
|
|
13
12
|
.srl-image__caption {
|
|
14
13
|
@include srl.spacer-margin-top(100);
|
|
@@ -1,15 +1,29 @@
|
|
|
1
1
|
@use "srl";
|
|
2
2
|
|
|
3
3
|
.srl-image__image-container--desktop {
|
|
4
|
+
display: block;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.srl-image__image-container--mobile {
|
|
4
8
|
display: none;
|
|
9
|
+
}
|
|
5
10
|
|
|
6
|
-
|
|
11
|
+
.srl-image:has(.srl-image__image-container--mobile) {
|
|
12
|
+
.srl-image__image-container--desktop {
|
|
13
|
+
display: none;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.srl-image__image-container--mobile {
|
|
7
17
|
display: block;
|
|
8
18
|
}
|
|
9
|
-
}
|
|
10
19
|
|
|
11
|
-
.
|
|
12
|
-
|
|
13
|
-
|
|
20
|
+
@include srl.grid-media-up(tablet-ls) {
|
|
21
|
+
.srl-image__image-container--desktop {
|
|
22
|
+
display: block;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.srl-image__image-container--mobile {
|
|
26
|
+
display: none;
|
|
27
|
+
}
|
|
14
28
|
}
|
|
15
29
|
}
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "video",
|
|
3
3
|
"label": "Video",
|
|
4
|
-
"properties": ["width-all", "pdf-spacer"],
|
|
4
|
+
"properties": ["showVideoLink", "width-all", "pdf-spacer"],
|
|
5
5
|
"directives": {
|
|
6
6
|
"video-thumbnail": {
|
|
7
7
|
"imageRatios": ["16:9"],
|
|
8
8
|
"allowOriginalRatio": false
|
|
9
9
|
},
|
|
10
|
-
"showVideoLink": {
|
|
11
|
-
"type": "toggle",
|
|
12
|
-
"label": "Enable video link for PDF",
|
|
13
|
-
"default": false
|
|
14
|
-
},
|
|
15
10
|
"link": {
|
|
16
11
|
"plainText": true
|
|
17
12
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@use 'srl';
|
|
2
|
-
@use "
|
|
2
|
+
@use "srl/fa";
|
|
3
3
|
@use "spacing-variations";
|
|
4
4
|
|
|
5
5
|
.srl-grid--media {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
display: block;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
@include
|
|
15
|
+
@include srl.spacer-component-margin(spacing-variations.$margins);
|
|
16
16
|
|
|
17
17
|
.srl-video__thumbnail {
|
|
18
18
|
@extend %srl-regular-width;
|
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
|
|
25
25
|
.srl-video__video-link-container {
|
|
26
26
|
@include srl.spacer-margin-top(100);
|
|
27
|
-
@extend %srl-regular-width;
|
|
28
27
|
}
|
|
29
28
|
|
|
30
29
|
.srl-video__video-link {
|
|
@@ -35,6 +34,11 @@
|
|
|
35
34
|
@include srl.typography-video-link();
|
|
36
35
|
}
|
|
37
36
|
|
|
37
|
+
.srl-video__video-link-icon {
|
|
38
|
+
@extend %srl-icon-base;
|
|
39
|
+
@include fa.icon(play);
|
|
40
|
+
}
|
|
41
|
+
|
|
38
42
|
.srl-video__video-link-text {
|
|
39
43
|
padding-left: srl.spacer-get(100);
|
|
40
44
|
}
|
|
@@ -4,6 +4,14 @@
|
|
|
4
4
|
$page-margin-right: srl.system-size-unit(map.get(srl.$meta, pdf, margin, right));
|
|
5
5
|
$page-margin-left: srl.system-size-unit(map.get(srl.$meta, pdf, margin, left));
|
|
6
6
|
|
|
7
|
+
.srl-video {
|
|
8
|
+
display: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.srl-video.srl-video-show-pdf-link {
|
|
12
|
+
display: block;
|
|
13
|
+
}
|
|
14
|
+
|
|
7
15
|
.srl-grid--media {
|
|
8
16
|
.srl-full-width & {
|
|
9
17
|
max-width: 210mm;
|
|
@@ -1,46 +1,43 @@
|
|
|
1
|
-
<div
|
|
1
|
+
<div
|
|
2
|
+
class="srl-video"
|
|
3
|
+
data-remove-from-word="complete"
|
|
4
|
+
data-remove-from-xhtml="complete"
|
|
5
|
+
>
|
|
2
6
|
<div class="srl-grid srl-grid--media">
|
|
3
7
|
<div class="srl-grid__inner srl-video__inner">
|
|
4
|
-
<srl-ld-video
|
|
5
|
-
|
|
6
|
-
<
|
|
7
|
-
|
|
8
|
+
<srl-ld-video
|
|
9
|
+
data-remove-from-pdf="transient">
|
|
10
|
+
<div
|
|
11
|
+
class="srl-video__video-container"
|
|
12
|
+
doc-html="free-html"
|
|
13
|
+
data-remove-from-pdf="complete">
|
|
14
|
+
</div>
|
|
15
|
+
<img class="srl-video__thumbnail"
|
|
16
|
+
doc-image="video-thumbnail"
|
|
17
|
+
/>
|
|
18
|
+
<div
|
|
19
|
+
class="srl-video__play"
|
|
20
|
+
data-remove-from-pdf="complete"
|
|
21
|
+
>
|
|
8
22
|
<button class="srl-button srl-has-icon" type="button">
|
|
9
|
-
|
|
10
|
-
<path d="M5 3L19 12L5 21V3Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
11
|
-
</svg>
|
|
23
|
+
<i class="srl-video__video-link-icon"></i>
|
|
12
24
|
<span doc-editable="text">Video abspielen</span>
|
|
13
25
|
</button>
|
|
14
26
|
</div>
|
|
15
27
|
</srl-ld-video>
|
|
16
28
|
</div>
|
|
17
29
|
</div>
|
|
18
|
-
<div
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
>
|
|
30
|
+
<div
|
|
31
|
+
class="srl-grid srl-video__video-link-container"
|
|
32
|
+
data-remove-from-web="complete"
|
|
33
|
+
>
|
|
34
|
+
<div class="srl-grid__inner">
|
|
24
35
|
<a class="srl-video__video-link" doc-link="href" target="_blank">
|
|
25
|
-
<
|
|
26
|
-
<svg
|
|
27
|
-
class="svg svg-play"
|
|
28
|
-
viewBox="0 0 14 18"
|
|
29
|
-
fill="none"
|
|
30
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
31
|
-
>
|
|
32
|
-
<path
|
|
33
|
-
d="M0.5 17C0.5 17.1844 0.601492 17.3538 0.764071 17.4408C0.92665 17.5278 1.12392 17.5183 1.27735 17.416L13.2774 9.41603C13.4164 9.32329 13.5 9.16718 13.5 9C13.5 8.83282 13.4164 8.67671 13.2774 8.58397L1.27735 0.583975C1.12392 0.481689 0.92665 0.472153 0.764071 0.559163C0.601492 0.646172 0.5 0.815602 0.5 1V17Z"
|
|
34
|
-
stroke="currentColor"
|
|
35
|
-
stroke-linecap="round"
|
|
36
|
-
stroke-linejoin="round"
|
|
37
|
-
/>
|
|
38
|
-
</svg>
|
|
39
|
-
</span>
|
|
36
|
+
<i class="srl-video__video-link-icon"></i>
|
|
40
37
|
<span class="srl-video__video-link-text" doc-editable="link">
|
|
41
38
|
Link to the video in your report
|
|
42
39
|
</span>
|
|
43
40
|
</a>
|
|
44
41
|
</div>
|
|
45
42
|
</div>
|
|
46
|
-
</div>
|
|
43
|
+
</div>
|
|
@@ -3,41 +3,80 @@ import { onMounted, ref, useId } from 'vue'
|
|
|
3
3
|
|
|
4
4
|
const id = useId()
|
|
5
5
|
const rootEl = ref<HTMLDivElement>()
|
|
6
|
-
const button = ref<HTMLButtonElement>()
|
|
7
|
-
const
|
|
6
|
+
const button = ref<HTMLButtonElement | null>(null)
|
|
7
|
+
const thumbnail = ref<HTMLImageElement | null>(null)
|
|
8
|
+
const video = ref<HTMLVideoElement | null>(null)
|
|
9
|
+
const iframe = ref<HTMLIFrameElement | null>(null)
|
|
10
|
+
const iframeSrc = ref<string | null>(null)
|
|
8
11
|
|
|
9
12
|
onMounted(() => {
|
|
10
|
-
|
|
13
|
+
button.value = rootEl.value?.querySelector('button') || null
|
|
14
|
+
if (button.value) {
|
|
15
|
+
const buttonEl = button.value as HTMLButtonElement
|
|
16
|
+
const label = buttonEl.textContent || 'Play Video'
|
|
17
|
+
buttonEl.setAttribute('aria-label', label)
|
|
18
|
+
buttonEl.setAttribute('title', label)
|
|
19
|
+
buttonEl.setAttribute('aria-controls', id)
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
thumbnail.value = rootEl.value?.querySelector('.srl-video__thumbnail') || null
|
|
23
|
+
|
|
24
|
+
video.value = rootEl.value?.querySelector('video') || null
|
|
11
25
|
if (video.value) {
|
|
12
|
-
video.value
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
26
|
+
const videoEl = video.value as HTMLVideoElement
|
|
27
|
+
videoEl.id = id
|
|
28
|
+
videoEl.playsInline = true
|
|
29
|
+
videoEl.controls = true
|
|
30
|
+
videoEl.tabIndex = -1
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
iframe.value = rootEl.value?.querySelector('iframe') || null
|
|
34
|
+
if (iframe.value) {
|
|
35
|
+
const iframeEl = iframe.value as HTMLIFrameElement
|
|
36
|
+
iframeSrc.value = iframeEl.getAttribute('src')
|
|
37
|
+
iframeEl.removeAttribute('src')
|
|
38
|
+
iframeEl.id = id
|
|
39
|
+
iframeEl.tabIndex = -1
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
if (
|
|
43
|
+
button.value
|
|
44
|
+
&& thumbnail.value
|
|
45
|
+
&& (
|
|
46
|
+
video.value
|
|
47
|
+
|| (
|
|
48
|
+
iframe.value
|
|
49
|
+
&& iframeSrc.value
|
|
50
|
+
)
|
|
51
|
+
)
|
|
52
|
+
) {
|
|
53
|
+
const buttonEl = button.value as HTMLButtonElement
|
|
54
|
+
const thumbnailEl = thumbnail.value as HTMLImageElement
|
|
55
|
+
buttonEl.addEventListener('click', () => {
|
|
56
|
+
rootEl.value?.classList.add('srl-video__started')
|
|
57
|
+
|
|
58
|
+
buttonEl.setAttribute('aria-hidden', 'true')
|
|
59
|
+
buttonEl.setAttribute('tabindex', '-1')
|
|
60
|
+
|
|
61
|
+
if (video.value) {
|
|
62
|
+
const videoEl = video.value as HTMLVideoElement
|
|
63
|
+
videoEl.tabIndex = 0
|
|
64
|
+
videoEl.focus()
|
|
65
|
+
videoEl.play()
|
|
66
|
+
} else if (iframe.value && iframeSrc.value) {
|
|
67
|
+
const iframeEl = iframe.value as HTMLVideoElement
|
|
68
|
+
const iframeSrcString = iframeSrc.value as string
|
|
69
|
+
const seperator = iframeSrcString.includes('?') ? '&' : '?'
|
|
70
|
+
iframeEl.setAttribute(
|
|
71
|
+
'src',
|
|
72
|
+
`${iframeSrcString}${seperator}autoplay=1`
|
|
73
|
+
)
|
|
74
|
+
iframeEl.tabIndex = 0
|
|
75
|
+
iframeEl.focus()
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
thumbnailEl.setAttribute('hidden', '')
|
|
79
|
+
})
|
|
41
80
|
}
|
|
42
81
|
})
|
|
43
82
|
</script>
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
<div
|
|
1
|
+
<div
|
|
2
|
+
class="srl-grid srl-button-container"
|
|
3
|
+
data-remove-from-pdf="complete"
|
|
4
|
+
data-remove-from-word="complete"
|
|
5
|
+
data-remove-from-xhtml="complete"
|
|
6
|
+
>
|
|
2
7
|
<div class="srl-grid__inner srl-button-container__inner" doc-container="button-container">
|
|
3
8
|
|
|
4
9
|
</div>
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
<a
|
|
1
|
+
<a
|
|
2
|
+
doc-link="href"
|
|
3
|
+
class="srl-button"
|
|
4
|
+
data-remove-from-pdf="complete"
|
|
5
|
+
data-remove-from-word="complete"
|
|
6
|
+
data-remove-from-xhtml="complete"
|
|
7
|
+
>
|
|
2
8
|
<i class="srl-button__icon" aria-hidden="true"></i>
|
|
3
9
|
<span class="srl-button__text" doc-editable="button-text">Button</span>
|
|
4
10
|
</a>
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.srl-button-icon-arrow-left-before & {
|
|
18
|
-
@include fa.icon(
|
|
18
|
+
@include fa.icon(arrow-left);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.srl-button-icon-arrow-right-after & {
|
|
22
|
-
@include fa.icon(
|
|
22
|
+
@include fa.icon(arrow-right);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.srl-button-icon-download-after & {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use "web";
|