@simple-reporting/base 1.0.30 → 1.0.32
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
CHANGED
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
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { computed, nextTick, ref, useId, VNode } from 'vue'
|
|
2
|
+
import { computed, nextTick, ref, useId, type VNode } from 'vue'
|
|
3
3
|
import type { Ref } from 'vue'
|
|
4
4
|
import type { RouterLink } from 'vue-router'
|
|
5
5
|
import { isExternalPath } from '#utils/uri'
|