@simple-reporting/base 1.0.31 → 1.0.33
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/pdf/pdf-configuration-debug.xml +3 -0
- package/dev/pdf/pdf-configuration.xml +3 -0
- package/dev/src/assets/scss/components/note/accordion.scss +1 -1
- package/dev/src/assets/scss/pdf.scss +4 -0
- package/dev/srl.config.json +1 -1
- package/livingdocs/010.Titles/020.title-h2/scss/editor.scss +8 -0
- package/livingdocs/010.Titles/020.title-h2/scss/general.scss +6 -2
- package/livingdocs/010.Titles/030.title-h3/scss/editor.scss +8 -0
- package/livingdocs/010.Titles/030.title-h3/scss/general.scss +5 -1
- package/livingdocs/010.Titles/040.title-h4/scss/editor.scss +8 -0
- package/livingdocs/010.Titles/040.title-h4/scss/general.scss +5 -1
- package/livingdocs/020.Text/060.quote-with-portrait/scss/web.scss +1 -1
- package/livingdocs/020.Text/070.footnote-container/scss/web.scss +1 -1
- package/livingdocs/030.Lists/010.unordered-list/scss/pdf.scss +4 -0
- package/livingdocs/030.Lists/020.ordered-list/scss/pdf.scss +5 -0
- package/livingdocs/030.Lists/030.alphanumeric-list/scss/pdf.scss +5 -0
- package/livingdocs/030.Lists/040.list-item/scss/pdf.scss +4 -0
- package/livingdocs/040.Media/010.table/scss/general.scss +0 -4
- package/livingdocs/040.Media/010.table/scss/web.scss +7 -1
- package/livingdocs/040.Media/010.table/scss/xbrl.scss +16 -1
- package/livingdocs/040.Media/020.image/scss/editor.scss +1 -1
- package/livingdocs/040.Media/020.image/scss/general.scss +1 -1
- package/livingdocs/040.Media/020.image/scss/web.scss +1 -1
- package/livingdocs/040.Media/030.video/scss/web.scss +1 -1
- package/livingdocs/060.Buttons/020.button/scss/general.scss +1 -1
- package/livingdocs/080.CV/010.cv/scss/web.scss +1 -1
- package/livingdocs/080.CV/020.cv-time-span/scss/web.scss +1 -1
- package/livingdocs/100.Misc/010.anchor/anchor.html +7 -2
- package/livingdocs/110.PDF/010.pdf-pagebreak/pdf-pagebreak.html +7 -2
- package/livingdocs/110.PDF/020.pdf-column-container/ld-conf.json +2 -1
- package/livingdocs/110.PDF/020.pdf-column-container/pdf-column-container.html +21 -3
- package/livingdocs/110.PDF/020.pdf-column-container/properties.json +15 -0
- package/livingdocs/110.PDF/020.pdf-column-container/scss/editor.scss +8 -0
- package/livingdocs/110.PDF/020.pdf-column-container/scss/pdf.scss +14 -0
- package/livingdocs/110.PDF/021.pdf-columnbreak/ld-conf.json +5 -0
- package/livingdocs/110.PDF/021.pdf-columnbreak/pdf-columnbreak.html +10 -0
- package/livingdocs/110.PDF/021.pdf-columnbreak/scss/editor.scss +12 -0
- package/livingdocs/110.PDF/021.pdf-columnbreak/scss/general.scss +5 -0
- package/livingdocs/110.PDF/021.pdf-columnbreak/scss/pdf.scss +6 -0
- package/livingdocs/110.PDF/021.pdf-columnbreak/scss/web.scss +1 -0
- package/livingdocs/110.PDF/021.pdf-columnbreak/scss/word.scss +0 -0
- package/livingdocs/110.PDF/021.pdf-columnbreak/scss/xbrl.scss +1 -0
- package/livingdocs/110.PDF/030.pdf-publication-title/pdf-publication-title.html +1 -0
- package/livingdocs/110.PDF/040.pdf-chapter-title/pdf-chapter-title.html +1 -0
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/pdf-chapter-navigation.html +1 -0
- package/livingdocs/110.PDF/050.pdf-chapter-navigation-container/scss/editor.scss +1 -1
- package/livingdocs/110.PDF/060.pdf-chapter-navigation-item/pdf-chapter-navigation-item.html +2 -0
- package/livingdocs/110.PDF/070.pdf-cover/pdf-cover.html +7 -1
- package/livingdocs/110.PDF/080.pdf-toc-page/pdf-toc-page.html +7 -1
- package/livingdocs/110.PDF/080.pdf-toc-page/scss/pdf.scss +7 -0
- package/livingdocs/110.PDF/090.pdf-toc-item-title/pdf-toc-item-title.html +7 -1
- package/livingdocs/110.PDF/100.pdf-toc-item/pdf-toc-item.html +8 -1
- package/livingdocs/110.PDF/100.pdf-toc-item/scss/pdf.scss +4 -0
- package/package.json +1 -1
- package/plugins/viteSrlPlugin.js +7 -0
- package/scss/system/root.scss +45 -12
package/dev/package.json
CHANGED
package/dev/srl.config.json
CHANGED
|
@@ -27,6 +27,10 @@ $number-width: srl.spacer-get(map.get(srl.$meta, title, number-width));
|
|
|
27
27
|
width: $number-width;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.srl-title-h2__text {
|
|
30
|
+
.srl-title-h2__number + .srl-title-h2__text {
|
|
31
31
|
width: calc(100% - #{$number-width});
|
|
32
|
-
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.srl-title-h2__number:empty + .srl-title-h2__text {
|
|
35
|
+
width: 100%;
|
|
36
|
+
}
|
|
@@ -15,6 +15,10 @@ $number-width: srl.spacer-get(map.get(srl.$meta, title, number-width));
|
|
|
15
15
|
width: $number-width;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.srl-title-h3__text {
|
|
18
|
+
.srl-title-h3__number + .srl-title-h3__text {
|
|
19
19
|
width: calc(100% - #{$number-width});
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.srl-title-h3__number:empty + .srl-title-h3__text {
|
|
23
|
+
width: 100%;
|
|
20
24
|
}
|
|
@@ -15,6 +15,10 @@ $number-width: srl.spacer-get(map.get(srl.$meta, title, number-width));
|
|
|
15
15
|
width: $number-width;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.srl-title-h4__text {
|
|
18
|
+
.srl-title-h4__number + .srl-title-h4__text {
|
|
19
19
|
width: calc(100% - #{$number-width});
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.srl-title-h4__number:empty + .srl-title-h4__text {
|
|
23
|
+
width: 100%;
|
|
20
24
|
}
|
|
@@ -4,11 +4,15 @@
|
|
|
4
4
|
$marker-width: srl.system-size-unit(map.get(srl.$meta, list, marker-width-pdf));
|
|
5
5
|
|
|
6
6
|
.srl-list-group__item {
|
|
7
|
+
-ro-pdf-tag-type: LI;
|
|
8
|
+
|
|
7
9
|
&:before {
|
|
8
10
|
width: $marker-width;
|
|
11
|
+
-ro-pdf-tag-type: Lbl;
|
|
9
12
|
}
|
|
10
13
|
}
|
|
11
14
|
|
|
12
15
|
.srl-list-group__item-text {
|
|
13
16
|
width: calc(100% - #{$marker-width});
|
|
17
|
+
-ro-pdf-tag-type: LBody;
|
|
14
18
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@use "srl";
|
|
2
|
-
@use "assets/scss/placeholders";
|
|
2
|
+
@use "@/assets/scss/placeholders";
|
|
3
3
|
|
|
4
4
|
.srl-table__container > div {
|
|
5
5
|
@extend %srl-grid-base;
|
|
@@ -11,4 +11,10 @@
|
|
|
11
11
|
.srl-wide-width & {
|
|
12
12
|
@extend %srl-wide-width;
|
|
13
13
|
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.note-link {
|
|
17
|
+
@media (prefers-reduced-motion: reduce) {
|
|
18
|
+
transition-duration: 0s;
|
|
19
|
+
}
|
|
14
20
|
}
|
|
@@ -1 +1,16 @@
|
|
|
1
|
-
@use 'general';
|
|
1
|
+
@use 'general';
|
|
2
|
+
@use "@/assets/scss/placeholders";
|
|
3
|
+
|
|
4
|
+
.srl-table__container > div,
|
|
5
|
+
.srl-table__container > .srl-table {
|
|
6
|
+
@extend %srl-grid-base;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.srl-table-container,
|
|
10
|
+
.srl-table__container > .srl-table > table {
|
|
11
|
+
@extend %srl-regular-width;
|
|
12
|
+
|
|
13
|
+
.srl-wide-width & {
|
|
14
|
+
@extend %srl-wide-width;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
<p
|
|
2
|
-
|
|
1
|
+
<p
|
|
2
|
+
class="srl-anchor srl-editor-component"
|
|
3
|
+
data-remove-from-translate-plus="true"
|
|
4
|
+
data-remove-from-word="complete"
|
|
5
|
+
data-remove-from-xhtml="complete"
|
|
6
|
+
data-is-anchor="true"
|
|
7
|
+
>
|
|
3
8
|
<span class="srl-anchor__text srl-editor-component__text" doc-editable="anchor-text">
|
|
4
9
|
Must start with a letter (A–Z or a–z); a number is not allowed. After the
|
|
5
10
|
first letter, any combination of letters (a–z, A–Z), digits (0–9), hyphens
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
<div
|
|
2
|
-
|
|
1
|
+
<div
|
|
2
|
+
class="srl-pdf-pagebreak srl-editor-component"
|
|
3
|
+
data-remove-from-web="complete"
|
|
4
|
+
data-remove-from-word="complete"
|
|
5
|
+
data-remove-from-xhtml="complete"
|
|
6
|
+
>
|
|
7
|
+
<span class="srl-pdf-pagebreak__editor-text srl-editor-component__text" data-remove-from-pdf="complete">
|
|
3
8
|
PDF page break
|
|
4
9
|
</span>
|
|
5
10
|
</div>
|
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
<div
|
|
2
|
-
class="srl-pdf-column-container"
|
|
2
|
+
class="srl-grid srl-pdf-column-container"
|
|
3
3
|
data-remove-from-web="transient"
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
data-remove-from-word="transient"
|
|
5
|
+
data-remove-from-xhtml="transient"
|
|
6
|
+
>
|
|
7
|
+
<div
|
|
8
|
+
class="srl-grid__inner"
|
|
9
|
+
data-remove-from-web="transient"
|
|
10
|
+
data-remove-from-word="transient"
|
|
11
|
+
data-remove-from-xhtml="transient"
|
|
12
|
+
>
|
|
13
|
+
<div
|
|
14
|
+
class="srl-pdf-column-container__content"
|
|
15
|
+
data-remove-from-web="transient"
|
|
16
|
+
data-remove-from-word="transient"
|
|
17
|
+
data-remove-from-xhtml="transient"
|
|
18
|
+
doc-container="column-container"
|
|
19
|
+
>
|
|
20
|
+
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"column-behaviour": {
|
|
3
|
+
"label": "Column behaviour",
|
|
4
|
+
"type": "select",
|
|
5
|
+
"options": [
|
|
6
|
+
{
|
|
7
|
+
"caption": "Balanced (columns of equal height)"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"caption": "Unbalanced (last column should be empty or shorter)",
|
|
11
|
+
"value": "srl-columns-unbalanced"
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<div
|
|
2
|
+
class="srl-pdf-columnbreak srl-editor-component"
|
|
3
|
+
data-remove-from-web="complete"
|
|
4
|
+
data-remove-from-word="complete"
|
|
5
|
+
data-remove-from-xhtml="complete"
|
|
6
|
+
>
|
|
7
|
+
<span class="srl-pdf-columnbreak__editor-text srl-editor-component__text" data-remove-from-pdf="complete">
|
|
8
|
+
PDF column break
|
|
9
|
+
</span>
|
|
10
|
+
</div>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use "srl";
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use 'general';
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
class="srl-pdf-publication-title srl-editor-component"
|
|
3
3
|
data-remove-from-web="complete"
|
|
4
4
|
data-remove-from-word="complete"
|
|
5
|
+
data-remove-from-xhtml="complete"
|
|
5
6
|
>
|
|
6
7
|
<span class="srl-pdf-publication-title__text srl-editor-component__text" doc-editable="pdf-publication-titletext">
|
|
7
8
|
Publication title
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
class="srl-pdf-chapter-title srl-editor-component"
|
|
3
3
|
data-remove-from-web="complete"
|
|
4
4
|
data-remove-from-word="complete"
|
|
5
|
+
data-remove-from-xhtml="complete"
|
|
5
6
|
>
|
|
6
7
|
<span class="srl-pdf-chapter-title__text srl-editor-component__text" doc-editable="pdf-chapter-title-text">
|
|
7
8
|
Chapter title
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
<li
|
|
2
2
|
class="srl-chapter-navigation__list-item"
|
|
3
3
|
data-remove-from-web="complete"
|
|
4
|
+
data-remove-from-word="complete"
|
|
5
|
+
data-remove-from-xhtml="complete"
|
|
4
6
|
>
|
|
5
7
|
<a class="srl-chapter-navigation__link" doc-link="href" doc-editable="pdf-chapter-navigation-item-text">
|
|
6
8
|
Chapter Title
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
<div
|
|
1
|
+
<div
|
|
2
|
+
class="srl-pdf-cover"
|
|
3
|
+
doc-image="cover"
|
|
4
|
+
data-remove-from-web="complete"
|
|
5
|
+
data-remove-from-word="complete"
|
|
6
|
+
data-remove-from-xhtml="complete"
|
|
7
|
+
>
|
|
2
8
|
<div class="srl-pdf-cover__content">
|
|
3
9
|
<div class="srl-pdf-cover__top">
|
|
4
10
|
<div class="srl-pdf-cover__logo-container" doc-toggle="show-logo">
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
<div
|
|
1
|
+
<div
|
|
2
|
+
class="srl-pdf-toc-page"
|
|
3
|
+
data-remove-from-web="complete"
|
|
4
|
+
data-remove-from-word="complete"
|
|
5
|
+
data-remove-from-xhtml="complete"
|
|
6
|
+
data-is-toc-page="true"
|
|
7
|
+
>
|
|
2
8
|
<div class="srl-pdf-toc-page__inner">
|
|
3
9
|
<div class="srl-pdf-toc-page__title" doc-editable="pdf-toc-page-title">
|
|
4
10
|
Chapter title
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
<div
|
|
1
|
+
<div
|
|
2
|
+
class="srl-pdf-toc-item-title"
|
|
3
|
+
data-remove-from-web="complete"
|
|
4
|
+
data-remove-from-word="complete"
|
|
5
|
+
data-remove-from-xhtml="complete"
|
|
6
|
+
doc-editable="pdf-toc-item-title-text"
|
|
7
|
+
>
|
|
2
8
|
Chapter title
|
|
3
9
|
</div>
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
<a
|
|
1
|
+
<a
|
|
2
|
+
class="srl-pdf-toc__item"
|
|
3
|
+
doc-link="href" data-page-number=""
|
|
4
|
+
data-is-toc-item="true"
|
|
5
|
+
data-remove-from-web="complete"
|
|
6
|
+
data-remove-from-word="complete"
|
|
7
|
+
data-remove-from-xhtml="complete"
|
|
8
|
+
>
|
|
2
9
|
<div class="srl-pdf-toc__text" doc-editable="pdf-toc-item-text" data-is-toc-text="true">
|
|
3
10
|
Article title
|
|
4
11
|
</div>
|
package/package.json
CHANGED
package/plugins/viteSrlPlugin.js
CHANGED
|
@@ -111,6 +111,13 @@ async function startActions() {
|
|
|
111
111
|
'Srl version changed',
|
|
112
112
|
'Trigger srl prepare',
|
|
113
113
|
]);
|
|
114
|
+
|
|
115
|
+
printPromptsMessage([
|
|
116
|
+
'Build or dev process abort',
|
|
117
|
+
'Please restart the process to apply the new version.',
|
|
118
|
+
]);
|
|
119
|
+
|
|
120
|
+
process.exit();
|
|
114
121
|
}
|
|
115
122
|
|
|
116
123
|
await vueComponents();
|
package/scss/system/root.scss
CHANGED
|
@@ -1,6 +1,29 @@
|
|
|
1
1
|
@use 'variables';
|
|
2
2
|
@use 'mixins';
|
|
3
3
|
@use '../grid';
|
|
4
|
+
@use "sass:map";
|
|
5
|
+
@use "sass:list";
|
|
6
|
+
|
|
7
|
+
@function breakpoints-keys($map) {
|
|
8
|
+
$keys: ();
|
|
9
|
+
@each $key, $value in $map {
|
|
10
|
+
$keys: list.append($keys, $key);
|
|
11
|
+
}
|
|
12
|
+
@return $keys;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
@function breakpoints-keys-reverse($map) {
|
|
17
|
+
$keys: breakpoints-keys($map);
|
|
18
|
+
$reversed: ();
|
|
19
|
+
@for $i from list.length($keys) through 1 {
|
|
20
|
+
$reversed: list.append($reversed, list.nth($keys, $i));
|
|
21
|
+
}
|
|
22
|
+
@return $reversed;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
$bpList: breakpoints-keys(grid.$breakpoints);
|
|
26
|
+
$bpListReverse: breakpoints-keys-reverse(grid.$breakpoints);
|
|
4
27
|
|
|
5
28
|
@mixin core-styles {
|
|
6
29
|
@at-root {
|
|
@@ -8,26 +31,36 @@
|
|
|
8
31
|
@each $key, $value in mixins.$styles {
|
|
9
32
|
--#{$key}: #{$value};
|
|
10
33
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
34
|
+
|
|
35
|
+
@each $breakpoint in $bpList {
|
|
36
|
+
$row: map.get(mixins.$stylesUp, $breakpoint);
|
|
37
|
+
@if $row {
|
|
38
|
+
@include grid.media-up($breakpoint) {
|
|
39
|
+
@each $key, $value in $row {
|
|
40
|
+
--#{$key}: #{$value};
|
|
41
|
+
}
|
|
15
42
|
}
|
|
16
43
|
}
|
|
17
44
|
}
|
|
18
45
|
|
|
19
|
-
@each $breakpoint
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
46
|
+
@each $breakpoint in $bpListReverse {
|
|
47
|
+
$row: map.get(mixins.$stylesDown, $breakpoint);
|
|
48
|
+
@if $row {
|
|
49
|
+
@include grid.media-down($breakpoint) {
|
|
50
|
+
@each $key, $value in $row {
|
|
51
|
+
--#{$key}: #{$value};
|
|
52
|
+
}
|
|
23
53
|
}
|
|
24
54
|
}
|
|
25
55
|
}
|
|
26
56
|
|
|
27
|
-
@each $breakpoint
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
57
|
+
@each $breakpoint in $bpList {
|
|
58
|
+
$row: map.get(mixins.$stylesOnly, $breakpoint);
|
|
59
|
+
@if $row {
|
|
60
|
+
@include grid.media($breakpoint) {
|
|
61
|
+
@each $key, $value in $row {
|
|
62
|
+
--#{$key}: #{$value};
|
|
63
|
+
}
|
|
31
64
|
}
|
|
32
65
|
}
|
|
33
66
|
}
|