@simple-reporting/base 1.0.3 → 1.0.4
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/assets/scss/app.scss +0 -13
- package/dev/src/assets/scss/editor.scss +17 -4
- package/dev/src/assets/scss/pdf.scss +7 -28
- package/dev/srl.config.json +247 -50
- package/livingdocs/010.Titles/050.title-h5/ld-conf.json +5 -1
- package/livingdocs/010.Titles/060.title-h6/ld-conf.json +4 -1
- package/livingdocs/020.Text/030.paragraph-strong/paragraph-strong.html +8 -0
- package/livingdocs/020.Text/060.quote-with-portrait/scss/general.scss +29 -0
- package/livingdocs/020.Text/060.quote-with-portrait/scss/pdf.scss +10 -2
- package/livingdocs/020.Text/080.footnote-item/scss/general.scss +0 -12
- package/livingdocs/020.Text/080.footnote-item/scss/pdf.scss +14 -0
- package/livingdocs/020.Text/080.footnote-item/scss/web.scss +14 -0
- package/livingdocs/030.Lists/010.unordered-list/ld-conf.json +6 -2
- package/livingdocs/030.Lists/040.list-item/scss/general.scss +1 -7
- package/livingdocs/030.Lists/040.list-item/scss/pdf.scss +14 -0
- package/livingdocs/030.Lists/040.list-item/scss/web.scss +14 -0
- package/livingdocs/040.Media/010.table/scss/general.scss +8 -8
- package/livingdocs/040.Media/010.table/scss/pdf.scss +27 -0
- package/livingdocs/040.Media/020.image/image.html +3 -8
- package/livingdocs/040.Media/020.image/scss/editor.scss +8 -1
- package/livingdocs/040.Media/020.image/scss/general.scss +4 -1
- package/livingdocs/040.Media/020.image/scss/pdf.scss +4 -0
- package/livingdocs/040.Media/020.image/scss/web.scss +19 -0
- package/livingdocs/040.Media/030.video/scss/editor.scss +6 -1
- package/livingdocs/040.Media/030.video/scss/general.scss +14 -2
- package/livingdocs/040.Media/030.video/scss/pdf.scss +31 -0
- package/livingdocs/040.Media/030.video/scss/web.scss +84 -1
- package/livingdocs/040.Media/030.video/video.html +14 -28
- package/livingdocs/090.Signatures/010.signature-container/scss/pdf.scss +7 -0
- package/livingdocs/090.Signatures/020.signature-item/ld-conf.json +6 -0
- package/livingdocs/090.Signatures/020.signature-item/scss/pdf.scss +5 -0
- package/livingdocs/100.Misc/010.anchor/anchor.html +5 -2
- package/livingdocs/100.Misc/010.anchor/ld-conf.json +6 -1
- package/livingdocs/100.Misc/010.anchor/scss/editor.scss +19 -0
- package/livingdocs/100.Misc/010.anchor/scss/general.scss +5 -0
- package/livingdocs/100.Misc/010.anchor/scss/pdf.scss +2 -0
- package/livingdocs/100.Misc/010.anchor/scss/web.scss +1 -0
- package/livingdocs/100.Misc/010.anchor/scss/word.scss +0 -0
- package/livingdocs/100.Misc/010.anchor/scss/xbrl.scss +0 -0
- package/livingdocs/110.PDF/010.pdf-pagebreak/pdf-pagebreak.html +5 -1
- package/livingdocs/110.PDF/010.pdf-pagebreak/scss/editor.scss +20 -0
- package/livingdocs/110.PDF/010.pdf-pagebreak/scss/general.scss +5 -0
- package/livingdocs/110.PDF/010.pdf-pagebreak/scss/pdf.scss +6 -0
- package/livingdocs/110.PDF/010.pdf-pagebreak/scss/web.scss +1 -0
- package/livingdocs/110.PDF/010.pdf-pagebreak/scss/word.scss +0 -0
- package/livingdocs/110.PDF/010.pdf-pagebreak/scss/xbrl.scss +1 -0
- package/livingdocs/110.PDF/030.pdf-publication-title/pdf-publication-title.html +6 -2
- package/livingdocs/110.PDF/030.pdf-publication-title/scss/editor.scss +18 -0
- package/livingdocs/110.PDF/030.pdf-publication-title/scss/general.scss +5 -0
- package/livingdocs/110.PDF/030.pdf-publication-title/scss/pdf.scss +6 -0
- package/livingdocs/110.PDF/030.pdf-publication-title/scss/web.scss +1 -0
- package/livingdocs/110.PDF/030.pdf-publication-title/scss/word.scss +0 -0
- package/livingdocs/110.PDF/030.pdf-publication-title/scss/xbrl.scss +1 -0
- package/livingdocs/110.PDF/040.pdf-chapter-title/pdf-chapter-title.html +6 -2
- package/livingdocs/110.PDF/040.pdf-chapter-title/scss/editor.scss +18 -0
- package/livingdocs/110.PDF/040.pdf-chapter-title/scss/general.scss +5 -0
- package/livingdocs/110.PDF/040.pdf-chapter-title/scss/pdf.scss +6 -0
- package/livingdocs/110.PDF/040.pdf-chapter-title/scss/web.scss +1 -0
- package/livingdocs/110.PDF/040.pdf-chapter-title/scss/word.scss +0 -0
- package/livingdocs/110.PDF/040.pdf-chapter-title/scss/xbrl.scss +1 -0
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/editor.scss +1 -0
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/general.scss +1 -0
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/pdf.scss +15 -0
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/web.scss +1 -0
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/word.scss +0 -0
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/xbrl.scss +1 -0
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/ld-conf.json +1 -1
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/editor.scss +1 -0
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/general.scss +1 -0
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/pdf.scss +15 -0
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/web.scss +1 -0
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/word.scss +0 -0
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/scss/xbrl.scss +1 -0
- package/livingdocs/110.PDF/080.pdf-toc-page/ld-conf.json +9 -3
- package/package.json +1 -1
- package/scripts/config.js +0 -4
- package/srl/composables/root.ts +3 -1
- package/srl/scss/grid/functions.scss +11 -1
- package/srl/scss/spacer/mixins.scss +3 -3
- package/srl/scss/typography/mixins.scss +9 -2
- package/livingdocs/020.Text/030.paragraph-strong/paragraph.html +0 -16
- package/livingdocs/110.PDF/110.pdf-toc-item-blank/ld-conf.json +0 -5
- package/livingdocs/110.PDF/110.pdf-toc-item-blank/pdf-toc-item-blank.html +0 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use "srl";
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
@use 'srl';
|
|
2
|
+
@use 'web';
|
|
3
|
+
@use 'assets/scss/placeholders';
|
|
4
|
+
|
|
5
|
+
.srl-pdf-pagebreak {
|
|
6
|
+
border-top: 1px solid #{srl.colors-burgundy-1000()};
|
|
7
|
+
border-bottom: 1px solid #{srl.colors-burgundy-1000()};
|
|
8
|
+
text-align: center;
|
|
9
|
+
@include srl.spacer-padding-block(200);
|
|
10
|
+
@extend %srl-grid-base;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.srl-pdf-pagebreak__editor-text {
|
|
14
|
+
@include srl.typography-editor-label-text();
|
|
15
|
+
@extend %srl-regular-width;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.srl-pdf-pagebreak__text {
|
|
19
|
+
@extend %srl-regular-width;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use "srl";
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use 'general';
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
<p
|
|
2
2
|
class="srl-pdf-publication-title"
|
|
3
|
-
doc-editable="pdf-publication-titletext"
|
|
4
3
|
data-remove-from-web="complete"
|
|
5
4
|
>
|
|
6
|
-
|
|
5
|
+
<span class="srl-pdf-publication-title__editor-text" data-remove-from-pdf="complete">
|
|
6
|
+
PDF publication title:
|
|
7
|
+
</span>
|
|
8
|
+
<span class="srl-pdf-publication-title__text" doc-editable="pdf-publication-titletext">
|
|
9
|
+
Publication title
|
|
10
|
+
</span>
|
|
7
11
|
</p>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@use 'srl';
|
|
2
|
+
@use 'web';
|
|
3
|
+
@use 'assets/scss/placeholders';
|
|
4
|
+
|
|
5
|
+
.srl-pdf-publication-title {
|
|
6
|
+
border-bottom: 1px solid #{srl.colors-primary-1000()};
|
|
7
|
+
@include srl.spacer-padding-block(200);
|
|
8
|
+
@extend %srl-grid-base;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.srl-pdf-publication-title__editor-text {
|
|
12
|
+
@include srl.typography-editor-label-text();
|
|
13
|
+
@extend %srl-regular-width;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.srl-pdf-publication-title__text {
|
|
17
|
+
@extend %srl-regular-width;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use "srl";
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use 'general';
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
<p
|
|
2
2
|
class="srl-pdf-chapter-title"
|
|
3
|
-
doc-editable="pdf-chapter-title-text"
|
|
4
3
|
data-remove-from-web="complete"
|
|
5
4
|
>
|
|
6
|
-
|
|
5
|
+
<span class="srl-pdf-chapter-title__editor-text" data-remove-from-pdf="complete">
|
|
6
|
+
PDF chapter title:
|
|
7
|
+
</span>
|
|
8
|
+
<span class="srl-pdf-chapter-title__text" doc-editable="pdf-chapter-title-text">
|
|
9
|
+
Chapter title
|
|
10
|
+
</span>
|
|
7
11
|
</p>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@use "srl";
|
|
2
|
+
@use "web";
|
|
3
|
+
@use 'assets/scss/placeholders';
|
|
4
|
+
|
|
5
|
+
.srl-pdf-chapter-title {
|
|
6
|
+
border-bottom: 1px solid #{srl.colors-primary-1000()};
|
|
7
|
+
@include srl.spacer-padding-block(200);
|
|
8
|
+
@extend %srl-grid-base;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.srl-pdf-chapter-title__editor-text {
|
|
12
|
+
@include srl.typography-editor-label-text();
|
|
13
|
+
@extend %srl-regular-width;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.srl-pdf-chapter-title__text {
|
|
17
|
+
@extend %srl-regular-width;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use "srl";
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use 'general';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use "web";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use 'srl';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@use 'srl';
|
|
2
|
+
@use 'sass:map';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
.srl-chapter-navigation {
|
|
6
|
+
position: running(chapterNavigation);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.srl-chapter-navigation__list {
|
|
10
|
+
list-style: none;
|
|
11
|
+
padding: 0;
|
|
12
|
+
margin: 0;
|
|
13
|
+
display: flex;
|
|
14
|
+
column-gap: srl.grid-get-gutter-column-gap();
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use "srl";
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use 'general';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use "web";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use 'srl';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@use 'srl';
|
|
2
|
+
@use 'sass:map';
|
|
3
|
+
|
|
4
|
+
.srl-chapter-navigation__list-item {
|
|
5
|
+
a {
|
|
6
|
+
text-decoration: none;
|
|
7
|
+
@include srl.typography-pdf-header();
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.srl-chapter-navigation__list-item--current {
|
|
12
|
+
a {
|
|
13
|
+
color: srl.colors-primary-1000();
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use "srl";
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use 'general';
|
|
@@ -6,10 +6,16 @@
|
|
|
6
6
|
"toc": {
|
|
7
7
|
"allowedChildren": [
|
|
8
8
|
"pdf-toc-item-title",
|
|
9
|
-
"pdf-toc-item"
|
|
10
|
-
"pdf-toc-item-blank"
|
|
9
|
+
"pdf-toc-item"
|
|
11
10
|
],
|
|
12
|
-
"
|
|
11
|
+
"defaultComponents": {
|
|
12
|
+
"paragraph": "pdf-toc-item"
|
|
13
|
+
},
|
|
14
|
+
"defaultContent": [
|
|
15
|
+
{
|
|
16
|
+
"component": "pdf-toc-item"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
13
19
|
}
|
|
14
20
|
}
|
|
15
21
|
}
|
package/package.json
CHANGED
package/scripts/config.js
CHANGED
|
@@ -21,9 +21,6 @@ export const baseComponentsToInstall = [
|
|
|
21
21
|
'040.Media/010.table',
|
|
22
22
|
'040.Media/020.image',
|
|
23
23
|
'040.Media/030.video',
|
|
24
|
-
'040.Media/040.interactive-element',
|
|
25
|
-
'070.Container/010.aside-content-container',
|
|
26
|
-
'070.Container/020.columns-container',
|
|
27
24
|
'080.CV/010.cv',
|
|
28
25
|
'080.CV/020.cv-time-span',
|
|
29
26
|
'090.Signatures/010.signature-container',
|
|
@@ -36,7 +33,6 @@ export const baseComponentsToInstall = [
|
|
|
36
33
|
'110.PDF/080.pdf-toc-page',
|
|
37
34
|
'110.PDF/090.pdf-toc-item-title',
|
|
38
35
|
'110.PDF/100.pdf-toc-item',
|
|
39
|
-
'110.PDF/110.pdf-toc-item-blank',
|
|
40
36
|
'999.Properties/alignment',
|
|
41
37
|
'999.Properties/hide-quote-characters',
|
|
42
38
|
'999.Properties/pdf-spacer',
|
package/srl/composables/root.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import SrlPageApp from '#components/Srl/Page/App.vue';
|
|
2
|
+
import { getCurrentInstance } from 'vue';
|
|
2
3
|
|
|
3
4
|
export default function useRoot(): typeof SrlPageApp {
|
|
4
|
-
|
|
5
|
+
const instance = getCurrentInstance();
|
|
6
|
+
return instance?.proxy?.$root ?? window.app._instance.root.setupState;
|
|
5
7
|
}
|
|
@@ -46,4 +46,14 @@
|
|
|
46
46
|
@return calc(
|
|
47
47
|
((100% - (#{$columns - 1} * #{$gutter})) * #{$span} / #{$columns}) + (#{$gaps-inside} * #{$gutter})
|
|
48
48
|
);
|
|
49
|
-
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@function calculate-pdf-col-start($start-col) {
|
|
52
|
+
$columns: map.get(variables.$columns, print);
|
|
53
|
+
$gutter: get-gutter-column-gap();
|
|
54
|
+
$span: $start-col - 1;
|
|
55
|
+
|
|
56
|
+
@return calc(
|
|
57
|
+
((100% - (#{$columns - 1} * #{$gutter})) * #{$span} / #{$columns}) + (#{$span} * #{$gutter})
|
|
58
|
+
);
|
|
59
|
+
}
|
|
@@ -79,10 +79,10 @@
|
|
|
79
79
|
system.size-unit(map.get($spacerValue, size))
|
|
80
80
|
);
|
|
81
81
|
|
|
82
|
-
@if not map.has-key($spacerValue, media, print) {
|
|
82
|
+
@if not (map.has-key($spacerValue, media) and map.has-key(map.get($spacerValue, media), print)) {
|
|
83
83
|
@include system.add-root-style(
|
|
84
84
|
$varName,
|
|
85
|
-
system.size-unit(map.get($spacerValue, size)
|
|
85
|
+
system.size-unit(map.get($spacerValue, size)),
|
|
86
86
|
print
|
|
87
87
|
);
|
|
88
88
|
}
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
@if $breakpoint == print {
|
|
93
93
|
@include system.add-root-style(
|
|
94
94
|
$varName,
|
|
95
|
-
system.size-unit(map.get($
|
|
95
|
+
system.size-unit(map.get($breakpointValue, size)),
|
|
96
96
|
print
|
|
97
97
|
);
|
|
98
98
|
} @else if $breakpoint == up {
|
|
@@ -94,8 +94,8 @@
|
|
|
94
94
|
|
|
95
95
|
@if (map.has-key($map, color)) {
|
|
96
96
|
@include system.add-root-style(
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
#{variables.$variable-prefix}typo-#{$typo}-font-color,
|
|
98
|
+
colors.get(map.get($defaults, color))
|
|
99
99
|
);
|
|
100
100
|
}
|
|
101
101
|
|
|
@@ -198,6 +198,13 @@
|
|
|
198
198
|
);
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
+
@if (map.has-key($map, color)) {
|
|
202
|
+
@include system.add-root-style(
|
|
203
|
+
#{variables.$variable-prefix}typo-#{$typo}-font-color,
|
|
204
|
+
colors.get(map.get($defaults, color))
|
|
205
|
+
);
|
|
206
|
+
}
|
|
207
|
+
|
|
201
208
|
@if (map.has-key($map, letter-spacing)) {
|
|
202
209
|
@include system.add-root-style(
|
|
203
210
|
#{variables.$variable-prefix}typo-#{$typo}-letter-spacing,
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<p class="srl-grid srl-paragraph srl-paragraph-strong srl-linkable">
|
|
2
|
-
<span
|
|
3
|
-
class="srl-grid__inner srl-paragraph__text"
|
|
4
|
-
doc-editable="transformable-text"
|
|
5
|
-
>
|
|
6
|
-
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
|
|
7
|
-
eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
|
8
|
-
voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet
|
|
9
|
-
clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit
|
|
10
|
-
amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
|
|
11
|
-
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed
|
|
12
|
-
diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet
|
|
13
|
-
clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit
|
|
14
|
-
amet.
|
|
15
|
-
</span>
|
|
16
|
-
</p>
|