@apipass/messages 0.2.16 → 1.0.3
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/README.md +33 -33
- package/assets/css/colors.scss +34 -34
- package/assets/css/pt_sans.scss +143 -143
- package/assets/css/spacing.scss +28 -28
- package/assets/css/texts.scss +18 -18
- package/{esm2015/apipass-messages.js → esm2020/apipass-messages.mjs} +4 -4
- package/esm2020/message-box/message-box.component.mjs +44 -0
- package/esm2020/messages.module.mjs +46 -0
- package/esm2020/messages.service.mjs +50 -0
- package/esm2020/public-api.mjs +6 -0
- package/esm2020/snack-bar/snack-bar.component.mjs +21 -0
- package/fesm2015/apipass-messages.mjs +158 -0
- package/fesm2015/apipass-messages.mjs.map +1 -0
- package/fesm2020/apipass-messages.mjs +156 -0
- package/fesm2020/apipass-messages.mjs.map +1 -0
- package/{apipass-messages.d.ts → index.d.ts} +5 -5
- package/message-box/message-box.component.d.ts +16 -16
- package/messages.module.d.ts +12 -9
- package/messages.service.d.ts +14 -12
- package/package.json +29 -19
- package/public-api.d.ts +5 -4
- package/snack-bar/snack-bar.component.d.ts +9 -0
- package/assets/css/buttons.scss +0 -118
- package/assets/css/fonts.scss +0 -24
- package/assets/css/inputs.scss +0 -197
- package/bundles/apipass-messages.umd.js +0 -280
- package/bundles/apipass-messages.umd.js.map +0 -1
- package/bundles/apipass-messages.umd.min.js +0 -2
- package/bundles/apipass-messages.umd.min.js.map +0 -1
- package/esm2015/message-box/message-box.component.js +0 -145
- package/esm2015/messages.module.js +0 -39
- package/esm2015/messages.service.js +0 -44
- package/esm2015/public-api.js +0 -5
- package/fesm2015/apipass-messages.js +0 -226
- package/fesm2015/apipass-messages.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
# @apipass/inputs
|
|
2
|
-
|
|
3
|
-
This package is a angular component for buttons
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
```bash
|
|
9
|
-
npm install @apipass/inputs
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
## Usage
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
[...]
|
|
16
|
-
import {InputsModule} from "@apipass/inputs";
|
|
17
|
-
|
|
18
|
-
@NgModule({
|
|
19
|
-
imports: [
|
|
20
|
-
[...]
|
|
21
|
-
InputsModule
|
|
22
|
-
],
|
|
23
|
-
[...]
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
...
|
|
28
|
-
```html
|
|
29
|
-
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
## License
|
|
33
|
-
[MIT](https://choosealicense.com/licenses/mit/)
|
|
1
|
+
# @apipass/inputs
|
|
2
|
+
|
|
3
|
+
This package is a angular component for buttons
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
npm install @apipass/inputs
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## Usage
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
[...]
|
|
16
|
+
import {InputsModule} from "@apipass/inputs";
|
|
17
|
+
|
|
18
|
+
@NgModule({
|
|
19
|
+
imports: [
|
|
20
|
+
[...]
|
|
21
|
+
InputsModule
|
|
22
|
+
],
|
|
23
|
+
[...]
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
...
|
|
28
|
+
```html
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## License
|
|
33
|
+
[MIT](https://choosealicense.com/licenses/mit/)
|
package/assets/css/colors.scss
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--color-primary: #222D57;
|
|
3
|
-
--color-primary-hover: #18203D;
|
|
4
|
-
--color-primary-active: #29376A;
|
|
5
|
-
|
|
6
|
-
--color-secondary: #D3D921;
|
|
7
|
-
--color-secondary-hover: #B3B81C;
|
|
8
|
-
--color-secondary-active: #DCE13F;
|
|
9
|
-
|
|
10
|
-
--color-tertiary: #EFEFEF;
|
|
11
|
-
--color-tertiary-hover: #CBCBCB;
|
|
12
|
-
--color-tertiary-active: #F1F1F1;
|
|
13
|
-
|
|
14
|
-
--color-fonts-tertiary: #777777;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
// Defaults
|
|
20
|
-
--color-body-light: #FFF;
|
|
21
|
-
--color-red: rgb(255, 0, 0);
|
|
22
|
-
--limit-plan-color: #ff6c00;
|
|
23
|
-
--color_disabled: #E0E0E0;
|
|
24
|
-
--color_components_light: #FFF;
|
|
25
|
-
--color-inputs-border: #DDD;
|
|
26
|
-
--color-inputs-background: #FFF;
|
|
27
|
-
--color_icon_remove: var(--color-red);
|
|
28
|
-
--color_icon_success: #070;
|
|
29
|
-
--color_graph_primary: #1643EF;
|
|
30
|
-
--color_graph_primary_hover: #0A2692;
|
|
31
|
-
--color_graph_error: #EB5757;
|
|
32
|
-
--color_graph_error_hover: #C91717;
|
|
33
|
-
|
|
34
|
-
}
|
|
1
|
+
:root {
|
|
2
|
+
--color-primary: #222D57;
|
|
3
|
+
--color-primary-hover: #18203D;
|
|
4
|
+
--color-primary-active: #29376A;
|
|
5
|
+
|
|
6
|
+
--color-secondary: #D3D921;
|
|
7
|
+
--color-secondary-hover: #B3B81C;
|
|
8
|
+
--color-secondary-active: #DCE13F;
|
|
9
|
+
|
|
10
|
+
--color-tertiary: #EFEFEF;
|
|
11
|
+
--color-tertiary-hover: #CBCBCB;
|
|
12
|
+
--color-tertiary-active: #F1F1F1;
|
|
13
|
+
|
|
14
|
+
--color-fonts-tertiary: #777777;
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
// Defaults
|
|
20
|
+
--color-body-light: #FFF;
|
|
21
|
+
--color-red: rgb(255, 0, 0);
|
|
22
|
+
--limit-plan-color: #ff6c00;
|
|
23
|
+
--color_disabled: #E0E0E0;
|
|
24
|
+
--color_components_light: #FFF;
|
|
25
|
+
--color-inputs-border: #DDD;
|
|
26
|
+
--color-inputs-background: #FFF;
|
|
27
|
+
--color_icon_remove: var(--color-red);
|
|
28
|
+
--color_icon_success: #070;
|
|
29
|
+
--color_graph_primary: #1643EF;
|
|
30
|
+
--color_graph_primary_hover: #0A2692;
|
|
31
|
+
--color_graph_error: #EB5757;
|
|
32
|
+
--color_graph_error_hover: #C91717;
|
|
33
|
+
|
|
34
|
+
}
|
package/assets/css/pt_sans.scss
CHANGED
|
@@ -1,144 +1,144 @@
|
|
|
1
|
-
/* cyrillic-ext */
|
|
2
|
-
@font-face {
|
|
3
|
-
font-family: 'PT Sans';
|
|
4
|
-
font-style: italic;
|
|
5
|
-
font-weight: 400;
|
|
6
|
-
font-display: swap;
|
|
7
|
-
src: local('PT Sans Italic'), local('PTSans-Italic'), url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0ysmIEDQ.woff2) format('woff2');
|
|
8
|
-
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
9
|
-
}
|
|
10
|
-
/* cyrillic */
|
|
11
|
-
@font-face {
|
|
12
|
-
font-family: 'PT Sans';
|
|
13
|
-
font-style: italic;
|
|
14
|
-
font-weight: 400;
|
|
15
|
-
font-display: swap;
|
|
16
|
-
src: local('PT Sans Italic'), local('PTSans-Italic'), url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0w8mIEDQ.woff2) format('woff2');
|
|
17
|
-
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
18
|
-
}
|
|
19
|
-
/* latin-ext */
|
|
20
|
-
@font-face {
|
|
21
|
-
font-family: 'PT Sans';
|
|
22
|
-
font-style: italic;
|
|
23
|
-
font-weight: 400;
|
|
24
|
-
font-display: swap;
|
|
25
|
-
src: local('PT Sans Italic'), local('PTSans-Italic'), url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0ycmIEDQ.woff2) format('woff2');
|
|
26
|
-
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
27
|
-
}
|
|
28
|
-
/* latin */
|
|
29
|
-
@font-face {
|
|
30
|
-
font-family: 'PT Sans';
|
|
31
|
-
font-style: italic;
|
|
32
|
-
font-weight: 400;
|
|
33
|
-
font-display: swap;
|
|
34
|
-
src: local('PT Sans Italic'), local('PTSans-Italic'), url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0x8mI.woff2) format('woff2');
|
|
35
|
-
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
36
|
-
}
|
|
37
|
-
/* cyrillic-ext */
|
|
38
|
-
@font-face {
|
|
39
|
-
font-family: 'PT Sans';
|
|
40
|
-
font-style: italic;
|
|
41
|
-
font-weight: 700;
|
|
42
|
-
font-display: swap;
|
|
43
|
-
src: local('PT Sans Bold Italic'), local('PTSans-BoldItalic'), url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydIhUdwzM.woff2) format('woff2');
|
|
44
|
-
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
45
|
-
}
|
|
46
|
-
/* cyrillic */
|
|
47
|
-
@font-face {
|
|
48
|
-
font-family: 'PT Sans';
|
|
49
|
-
font-style: italic;
|
|
50
|
-
font-weight: 700;
|
|
51
|
-
font-display: swap;
|
|
52
|
-
src: local('PT Sans Bold Italic'), local('PTSans-BoldItalic'), url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydKxUdwzM.woff2) format('woff2');
|
|
53
|
-
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
54
|
-
}
|
|
55
|
-
/* latin-ext */
|
|
56
|
-
@font-face {
|
|
57
|
-
font-family: 'PT Sans';
|
|
58
|
-
font-style: italic;
|
|
59
|
-
font-weight: 700;
|
|
60
|
-
font-display: swap;
|
|
61
|
-
src: local('PT Sans Bold Italic'), local('PTSans-BoldItalic'), url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydIRUdwzM.woff2) format('woff2');
|
|
62
|
-
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
63
|
-
}
|
|
64
|
-
/* latin */
|
|
65
|
-
@font-face {
|
|
66
|
-
font-family: 'PT Sans';
|
|
67
|
-
font-style: italic;
|
|
68
|
-
font-weight: 700;
|
|
69
|
-
font-display: swap;
|
|
70
|
-
src: local('PT Sans Bold Italic'), local('PTSans-BoldItalic'), url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydLxUd.woff2) format('woff2');
|
|
71
|
-
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
72
|
-
}
|
|
73
|
-
/* cyrillic-ext */
|
|
74
|
-
@font-face {
|
|
75
|
-
font-family: 'PT Sans';
|
|
76
|
-
font-style: normal;
|
|
77
|
-
font-weight: 400;
|
|
78
|
-
font-display: swap;
|
|
79
|
-
src: local('PT Sans'), local('PTSans-Regular'), url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0-ExdGM.woff2) format('woff2');
|
|
80
|
-
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
81
|
-
}
|
|
82
|
-
/* cyrillic */
|
|
83
|
-
@font-face {
|
|
84
|
-
font-family: 'PT Sans';
|
|
85
|
-
font-style: normal;
|
|
86
|
-
font-weight: 400;
|
|
87
|
-
font-display: swap;
|
|
88
|
-
src: local('PT Sans'), local('PTSans-Regular'), url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0aExdGM.woff2) format('woff2');
|
|
89
|
-
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
90
|
-
}
|
|
91
|
-
/* latin-ext */
|
|
92
|
-
@font-face {
|
|
93
|
-
font-family: 'PT Sans';
|
|
94
|
-
font-style: normal;
|
|
95
|
-
font-weight: 400;
|
|
96
|
-
font-display: swap;
|
|
97
|
-
src: local('PT Sans'), local('PTSans-Regular'), url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0yExdGM.woff2) format('woff2');
|
|
98
|
-
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
99
|
-
}
|
|
100
|
-
/* latin */
|
|
101
|
-
@font-face {
|
|
102
|
-
font-family: 'PT Sans';
|
|
103
|
-
font-style: normal;
|
|
104
|
-
font-weight: 400;
|
|
105
|
-
font-display: swap;
|
|
106
|
-
src: local('PT Sans'), local('PTSans-Regular'), url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0KExQ.woff2) format('woff2');
|
|
107
|
-
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
108
|
-
}
|
|
109
|
-
/* cyrillic-ext */
|
|
110
|
-
@font-face {
|
|
111
|
-
font-family: 'PT Sans';
|
|
112
|
-
font-style: normal;
|
|
113
|
-
font-weight: 700;
|
|
114
|
-
font-display: swap;
|
|
115
|
-
src: local('PT Sans Bold'), local('PTSans-Bold'), url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0OOtLQ0Z.woff2) format('woff2');
|
|
116
|
-
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
117
|
-
}
|
|
118
|
-
/* cyrillic */
|
|
119
|
-
@font-face {
|
|
120
|
-
font-family: 'PT Sans';
|
|
121
|
-
font-style: normal;
|
|
122
|
-
font-weight: 700;
|
|
123
|
-
font-display: swap;
|
|
124
|
-
src: local('PT Sans Bold'), local('PTSans-Bold'), url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0OqtLQ0Z.woff2) format('woff2');
|
|
125
|
-
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
126
|
-
}
|
|
127
|
-
/* latin-ext */
|
|
128
|
-
@font-face {
|
|
129
|
-
font-family: 'PT Sans';
|
|
130
|
-
font-style: normal;
|
|
131
|
-
font-weight: 700;
|
|
132
|
-
font-display: swap;
|
|
133
|
-
src: local('PT Sans Bold'), local('PTSans-Bold'), url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0OCtLQ0Z.woff2) format('woff2');
|
|
134
|
-
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
135
|
-
}
|
|
136
|
-
/* latin */
|
|
137
|
-
@font-face {
|
|
138
|
-
font-family: 'PT Sans';
|
|
139
|
-
font-style: normal;
|
|
140
|
-
font-weight: 700;
|
|
141
|
-
font-display: swap;
|
|
142
|
-
src: local('PT Sans Bold'), local('PTSans-Bold'), url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0O6tLQ.woff2) format('woff2');
|
|
143
|
-
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
1
|
+
/* cyrillic-ext */
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: 'PT Sans';
|
|
4
|
+
font-style: italic;
|
|
5
|
+
font-weight: 400;
|
|
6
|
+
font-display: swap;
|
|
7
|
+
src: local('PT Sans Italic'), local('PTSans-Italic'), url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0ysmIEDQ.woff2) format('woff2');
|
|
8
|
+
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
9
|
+
}
|
|
10
|
+
/* cyrillic */
|
|
11
|
+
@font-face {
|
|
12
|
+
font-family: 'PT Sans';
|
|
13
|
+
font-style: italic;
|
|
14
|
+
font-weight: 400;
|
|
15
|
+
font-display: swap;
|
|
16
|
+
src: local('PT Sans Italic'), local('PTSans-Italic'), url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0w8mIEDQ.woff2) format('woff2');
|
|
17
|
+
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
18
|
+
}
|
|
19
|
+
/* latin-ext */
|
|
20
|
+
@font-face {
|
|
21
|
+
font-family: 'PT Sans';
|
|
22
|
+
font-style: italic;
|
|
23
|
+
font-weight: 400;
|
|
24
|
+
font-display: swap;
|
|
25
|
+
src: local('PT Sans Italic'), local('PTSans-Italic'), url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0ycmIEDQ.woff2) format('woff2');
|
|
26
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
27
|
+
}
|
|
28
|
+
/* latin */
|
|
29
|
+
@font-face {
|
|
30
|
+
font-family: 'PT Sans';
|
|
31
|
+
font-style: italic;
|
|
32
|
+
font-weight: 400;
|
|
33
|
+
font-display: swap;
|
|
34
|
+
src: local('PT Sans Italic'), local('PTSans-Italic'), url(https://fonts.gstatic.com/s/ptsans/v11/jizYRExUiTo99u79D0e0x8mI.woff2) format('woff2');
|
|
35
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
36
|
+
}
|
|
37
|
+
/* cyrillic-ext */
|
|
38
|
+
@font-face {
|
|
39
|
+
font-family: 'PT Sans';
|
|
40
|
+
font-style: italic;
|
|
41
|
+
font-weight: 700;
|
|
42
|
+
font-display: swap;
|
|
43
|
+
src: local('PT Sans Bold Italic'), local('PTSans-BoldItalic'), url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydIhUdwzM.woff2) format('woff2');
|
|
44
|
+
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
45
|
+
}
|
|
46
|
+
/* cyrillic */
|
|
47
|
+
@font-face {
|
|
48
|
+
font-family: 'PT Sans';
|
|
49
|
+
font-style: italic;
|
|
50
|
+
font-weight: 700;
|
|
51
|
+
font-display: swap;
|
|
52
|
+
src: local('PT Sans Bold Italic'), local('PTSans-BoldItalic'), url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydKxUdwzM.woff2) format('woff2');
|
|
53
|
+
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
54
|
+
}
|
|
55
|
+
/* latin-ext */
|
|
56
|
+
@font-face {
|
|
57
|
+
font-family: 'PT Sans';
|
|
58
|
+
font-style: italic;
|
|
59
|
+
font-weight: 700;
|
|
60
|
+
font-display: swap;
|
|
61
|
+
src: local('PT Sans Bold Italic'), local('PTSans-BoldItalic'), url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydIRUdwzM.woff2) format('woff2');
|
|
62
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
63
|
+
}
|
|
64
|
+
/* latin */
|
|
65
|
+
@font-face {
|
|
66
|
+
font-family: 'PT Sans';
|
|
67
|
+
font-style: italic;
|
|
68
|
+
font-weight: 700;
|
|
69
|
+
font-display: swap;
|
|
70
|
+
src: local('PT Sans Bold Italic'), local('PTSans-BoldItalic'), url(https://fonts.gstatic.com/s/ptsans/v11/jizdRExUiTo99u79D0e8fOydLxUd.woff2) format('woff2');
|
|
71
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
72
|
+
}
|
|
73
|
+
/* cyrillic-ext */
|
|
74
|
+
@font-face {
|
|
75
|
+
font-family: 'PT Sans';
|
|
76
|
+
font-style: normal;
|
|
77
|
+
font-weight: 400;
|
|
78
|
+
font-display: swap;
|
|
79
|
+
src: local('PT Sans'), local('PTSans-Regular'), url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0-ExdGM.woff2) format('woff2');
|
|
80
|
+
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
81
|
+
}
|
|
82
|
+
/* cyrillic */
|
|
83
|
+
@font-face {
|
|
84
|
+
font-family: 'PT Sans';
|
|
85
|
+
font-style: normal;
|
|
86
|
+
font-weight: 400;
|
|
87
|
+
font-display: swap;
|
|
88
|
+
src: local('PT Sans'), local('PTSans-Regular'), url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0aExdGM.woff2) format('woff2');
|
|
89
|
+
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
90
|
+
}
|
|
91
|
+
/* latin-ext */
|
|
92
|
+
@font-face {
|
|
93
|
+
font-family: 'PT Sans';
|
|
94
|
+
font-style: normal;
|
|
95
|
+
font-weight: 400;
|
|
96
|
+
font-display: swap;
|
|
97
|
+
src: local('PT Sans'), local('PTSans-Regular'), url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0yExdGM.woff2) format('woff2');
|
|
98
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
99
|
+
}
|
|
100
|
+
/* latin */
|
|
101
|
+
@font-face {
|
|
102
|
+
font-family: 'PT Sans';
|
|
103
|
+
font-style: normal;
|
|
104
|
+
font-weight: 400;
|
|
105
|
+
font-display: swap;
|
|
106
|
+
src: local('PT Sans'), local('PTSans-Regular'), url(https://fonts.gstatic.com/s/ptsans/v11/jizaRExUiTo99u79D0KExQ.woff2) format('woff2');
|
|
107
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
108
|
+
}
|
|
109
|
+
/* cyrillic-ext */
|
|
110
|
+
@font-face {
|
|
111
|
+
font-family: 'PT Sans';
|
|
112
|
+
font-style: normal;
|
|
113
|
+
font-weight: 700;
|
|
114
|
+
font-display: swap;
|
|
115
|
+
src: local('PT Sans Bold'), local('PTSans-Bold'), url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0OOtLQ0Z.woff2) format('woff2');
|
|
116
|
+
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
117
|
+
}
|
|
118
|
+
/* cyrillic */
|
|
119
|
+
@font-face {
|
|
120
|
+
font-family: 'PT Sans';
|
|
121
|
+
font-style: normal;
|
|
122
|
+
font-weight: 700;
|
|
123
|
+
font-display: swap;
|
|
124
|
+
src: local('PT Sans Bold'), local('PTSans-Bold'), url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0OqtLQ0Z.woff2) format('woff2');
|
|
125
|
+
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
126
|
+
}
|
|
127
|
+
/* latin-ext */
|
|
128
|
+
@font-face {
|
|
129
|
+
font-family: 'PT Sans';
|
|
130
|
+
font-style: normal;
|
|
131
|
+
font-weight: 700;
|
|
132
|
+
font-display: swap;
|
|
133
|
+
src: local('PT Sans Bold'), local('PTSans-Bold'), url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0OCtLQ0Z.woff2) format('woff2');
|
|
134
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
135
|
+
}
|
|
136
|
+
/* latin */
|
|
137
|
+
@font-face {
|
|
138
|
+
font-family: 'PT Sans';
|
|
139
|
+
font-style: normal;
|
|
140
|
+
font-weight: 700;
|
|
141
|
+
font-display: swap;
|
|
142
|
+
src: local('PT Sans Bold'), local('PTSans-Bold'), url(https://fonts.gstatic.com/s/ptsans/v11/jizfRExUiTo99u79B_mh0O6tLQ.woff2) format('woff2');
|
|
143
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
144
144
|
}
|
package/assets/css/spacing.scss
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
// Input
|
|
2
|
-
$spacing-input-top: 10px;
|
|
3
|
-
$spacing-input-right: 10px;
|
|
4
|
-
$spacing-input-bottom: 10px;
|
|
5
|
-
$spacing-input-left: 10px;
|
|
6
|
-
|
|
7
|
-
// Date Filter
|
|
8
|
-
$spacing-date-filter-top: 7px;
|
|
9
|
-
$spacing-date-filter-right: 10px;
|
|
10
|
-
$spacing-date-filter-bottom: 7px;
|
|
11
|
-
$spacing-date-filter-left: 10px;
|
|
12
|
-
|
|
13
|
-
// Select
|
|
14
|
-
$spacing-select-top: 10px;
|
|
15
|
-
$spacing-select-right: 5px;
|
|
16
|
-
$spacing-select-bottom: 10px;
|
|
17
|
-
$spacing-select-left: 10px;
|
|
18
|
-
|
|
19
|
-
// Buttons
|
|
20
|
-
$spacing-button-top: 7px;
|
|
21
|
-
$spacing-button-right: 15px;
|
|
22
|
-
$spacing-button-bottom: 7px;
|
|
23
|
-
$spacing-button-left: 15px;
|
|
24
|
-
|
|
25
|
-
$spacing-tab-button-top: 8px;
|
|
26
|
-
$spacing-tab-button-right: 40px;
|
|
27
|
-
$spacing-tab-button-bottom: 8px;
|
|
28
|
-
$spacing-tab-button-left: 40px;
|
|
1
|
+
// Input
|
|
2
|
+
$spacing-input-top: 10px;
|
|
3
|
+
$spacing-input-right: 10px;
|
|
4
|
+
$spacing-input-bottom: 10px;
|
|
5
|
+
$spacing-input-left: 10px;
|
|
6
|
+
|
|
7
|
+
// Date Filter
|
|
8
|
+
$spacing-date-filter-top: 7px;
|
|
9
|
+
$spacing-date-filter-right: 10px;
|
|
10
|
+
$spacing-date-filter-bottom: 7px;
|
|
11
|
+
$spacing-date-filter-left: 10px;
|
|
12
|
+
|
|
13
|
+
// Select
|
|
14
|
+
$spacing-select-top: 10px;
|
|
15
|
+
$spacing-select-right: 5px;
|
|
16
|
+
$spacing-select-bottom: 10px;
|
|
17
|
+
$spacing-select-left: 10px;
|
|
18
|
+
|
|
19
|
+
// Buttons
|
|
20
|
+
$spacing-button-top: 7px;
|
|
21
|
+
$spacing-button-right: 15px;
|
|
22
|
+
$spacing-button-bottom: 7px;
|
|
23
|
+
$spacing-button-left: 15px;
|
|
24
|
+
|
|
25
|
+
$spacing-tab-button-top: 8px;
|
|
26
|
+
$spacing-tab-button-right: 40px;
|
|
27
|
+
$spacing-tab-button-bottom: 8px;
|
|
28
|
+
$spacing-tab-button-left: 40px;
|
package/assets/css/texts.scss
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
@import "colors";
|
|
2
|
-
|
|
3
|
-
.text-color-primary {
|
|
4
|
-
color: var(--color-primary);
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.text-color-secondary {
|
|
8
|
-
color: var(--color-secondary);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.text-color-tertiary {
|
|
12
|
-
color: var(--color-fonts-tertiary);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.font-black {
|
|
16
|
-
color: #000 !important;
|
|
17
|
-
}
|
|
18
|
-
|
|
1
|
+
@import "colors";
|
|
2
|
+
|
|
3
|
+
.text-color-primary {
|
|
4
|
+
color: var(--color-primary);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.text-color-secondary {
|
|
8
|
+
color: var(--color-secondary);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.text-color-tertiary {
|
|
12
|
+
color: var(--color-fonts-tertiary);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.font-black {
|
|
16
|
+
color: #000 !important;
|
|
17
|
+
}
|
|
18
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public-api';
|
|
5
5
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpcGFzcy1tZXNzYWdlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL21lc3NhZ2VzL3NyYy9hcGlwYXNzLW1lc3NhZ2VzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG4iXX0=
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Component, Input, EventEmitter, Output } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
export class MessageBoxComponent {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.type = 'alert-danger';
|
|
7
|
+
this.title = '';
|
|
8
|
+
this.message = '';
|
|
9
|
+
this.compilerError = false;
|
|
10
|
+
this.errors = [];
|
|
11
|
+
this.onClose = new EventEmitter();
|
|
12
|
+
}
|
|
13
|
+
close() {
|
|
14
|
+
this.onClose.next();
|
|
15
|
+
}
|
|
16
|
+
isArray(error) {
|
|
17
|
+
return Array.isArray(error);
|
|
18
|
+
}
|
|
19
|
+
isErrorObject(error) {
|
|
20
|
+
return error instanceof Object || this.isArray(error);
|
|
21
|
+
}
|
|
22
|
+
getErrorAsString(error) {
|
|
23
|
+
return JSON.stringify(error, undefined, 2);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
MessageBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: MessageBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
27
|
+
MessageBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: MessageBoxComponent, selector: "message-box", inputs: { type: "type", title: "title", message: "message", compilerError: "compilerError", errors: "errors" }, outputs: { onClose: "onClose" }, ngImport: i0, template: "<div class=\"error-box row\" *ngIf=\"errors.length > 0\">\r\n <div class=\"col-12\">\r\n <div class=\"alert {{type}} alert-dismissible fade show\" role=\"alert\">\r\n <strong class=\"title\" *ngIf=\"title\">{{title}}</strong>\r\n <span class=\"detail-message\" *ngIf=\"message\">{{message}}</span>\r\n <div class=\"alert-text\" *ngFor=\"let error of errors\">\r\n <span class=\"causes\" *ngIf=\"compilerError && isArray(error)\">\r\n <span class=\"error-text\" *ngFor=\"let item of error\" [innerHTML]=\"item.message\"></span>\r\n </span>\r\n\r\n <span class=\"error-text\"\r\n *ngIf=\"(!compilerError || (compilerError && !isArray(error))) && !isErrorObject(error)\" [innerHTML]=\"error\"></span>\r\n <pre *ngIf=\"!compilerError && isErrorObject(error)\">\r\n {{getErrorAsString(error)}}\r\n </pre>\r\n </div>\r\n <button type=\"button\" class=\"close\" (click)=\"close()\" aria-label=\"Close\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".error-box{position:relative;width:100%;background:#f5caca;border:1px solid #8b4646;color:#8b4646;border-radius:5px}.error-box .alert{padding:10px 15px!important}.error-box .alert .close{background:none;border:none;position:absolute;top:2px;right:2px;font-size:20px;color:#8b4646;cursor:pointer}.error-box .alert .title{word-break:break-word;margin-right:5px}.error-box .causes{word-break:break-word}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: MessageBoxComponent, decorators: [{
|
|
29
|
+
type: Component,
|
|
30
|
+
args: [{ selector: 'message-box', template: "<div class=\"error-box row\" *ngIf=\"errors.length > 0\">\r\n <div class=\"col-12\">\r\n <div class=\"alert {{type}} alert-dismissible fade show\" role=\"alert\">\r\n <strong class=\"title\" *ngIf=\"title\">{{title}}</strong>\r\n <span class=\"detail-message\" *ngIf=\"message\">{{message}}</span>\r\n <div class=\"alert-text\" *ngFor=\"let error of errors\">\r\n <span class=\"causes\" *ngIf=\"compilerError && isArray(error)\">\r\n <span class=\"error-text\" *ngFor=\"let item of error\" [innerHTML]=\"item.message\"></span>\r\n </span>\r\n\r\n <span class=\"error-text\"\r\n *ngIf=\"(!compilerError || (compilerError && !isArray(error))) && !isErrorObject(error)\" [innerHTML]=\"error\"></span>\r\n <pre *ngIf=\"!compilerError && isErrorObject(error)\">\r\n {{getErrorAsString(error)}}\r\n </pre>\r\n </div>\r\n <button type=\"button\" class=\"close\" (click)=\"close()\" aria-label=\"Close\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".error-box{position:relative;width:100%;background:#f5caca;border:1px solid #8b4646;color:#8b4646;border-radius:5px}.error-box .alert{padding:10px 15px!important}.error-box .alert .close{background:none;border:none;position:absolute;top:2px;right:2px;font-size:20px;color:#8b4646;cursor:pointer}.error-box .alert .title{word-break:break-word;margin-right:5px}.error-box .causes{word-break:break-word}\n"] }]
|
|
31
|
+
}], propDecorators: { type: [{
|
|
32
|
+
type: Input
|
|
33
|
+
}], title: [{
|
|
34
|
+
type: Input
|
|
35
|
+
}], message: [{
|
|
36
|
+
type: Input
|
|
37
|
+
}], compilerError: [{
|
|
38
|
+
type: Input
|
|
39
|
+
}], errors: [{
|
|
40
|
+
type: Input
|
|
41
|
+
}], onClose: [{
|
|
42
|
+
type: Output
|
|
43
|
+
}] } });
|
|
44
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZS1ib3guY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbWVzc2FnZXMvc3JjL21lc3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JvclwiIFtpbm5lckhUTUxdPVwiaXRlbS5tZXNzYWdlXCI+PC9zcGFuPlxyXG4gICAgICAgIDwvc3Bhbj5cclxuXHJcbiAgICAgICAgPHNwYW4gY2xhc3M9XCJlcnJvci10ZXh0XCJcclxuICAgICAgICAgICAgICAqbmdJZj1cIighY29tcGlsZXJFcnJvciB8fCAoY29tcGlsZXJFcnJvciAmJiAhaXNBcnJheShlcnJvcikpKSAmJiAhaXNFcnJvck9iamVjdChlcnJvcilcIiBbaW5uZXJIVE1MXT1cImVycm9yXCI+PC9zcGFuPlxyXG4gICAgICAgIDxwcmUgKm5nSWY9XCIhY29tcGlsZXJFcnJvciAmJiBpc0Vycm9yT2JqZWN0KGVycm9yKVwiPlxyXG4gICAgICAgICAge3tnZXRFcnJvckFzU3RyaW5nKGVycm9yKX19XHJcbiAgICAgICAgPC9wcmU+XHJcbiAgICAgIDwvZGl2PlxyXG4gICAgICA8YnV0dG9uIHR5cGU9XCJidXR0b25cIiBjbGFzcz1cImNsb3NlXCIgKGNsaWNrKT1cImNsb3NlKClcIiBhcmlhLWxhYmVsPVwiQ2xvc2VcIj5cclxuICAgICAgICA8c3BhbiBhcmlhLWhpZGRlbj1cInRydWVcIj4mdGltZXM7PC9zcGFuPlxyXG4gICAgICA8L2J1dHRvbj5cclxuICAgIDwvZGl2PlxyXG4gIDwvZGl2PlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import { MessageBoxComponent } from './message-box/message-box.component';
|
|
5
|
+
import { MessagesService } from './messages.service';
|
|
6
|
+
import { SnackBarComponent } from './snack-bar/snack-bar.component';
|
|
7
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
8
|
+
import { MatSnackBarModule } from '@angular/material/snack-bar';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export class MessagesModule {
|
|
11
|
+
}
|
|
12
|
+
MessagesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: MessagesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
+
MessagesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: MessagesModule, declarations: [MessageBoxComponent,
|
|
14
|
+
SnackBarComponent], imports: [CommonModule,
|
|
15
|
+
FormsModule,
|
|
16
|
+
ReactiveFormsModule,
|
|
17
|
+
MatButtonModule,
|
|
18
|
+
MatSnackBarModule], exports: [MessageBoxComponent,
|
|
19
|
+
SnackBarComponent] });
|
|
20
|
+
MessagesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: MessagesModule, providers: [MessagesService], imports: [CommonModule,
|
|
21
|
+
FormsModule,
|
|
22
|
+
ReactiveFormsModule,
|
|
23
|
+
MatButtonModule,
|
|
24
|
+
MatSnackBarModule] });
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: MessagesModule, decorators: [{
|
|
26
|
+
type: NgModule,
|
|
27
|
+
args: [{
|
|
28
|
+
imports: [
|
|
29
|
+
CommonModule,
|
|
30
|
+
FormsModule,
|
|
31
|
+
ReactiveFormsModule,
|
|
32
|
+
MatButtonModule,
|
|
33
|
+
MatSnackBarModule
|
|
34
|
+
],
|
|
35
|
+
declarations: [
|
|
36
|
+
MessageBoxComponent,
|
|
37
|
+
SnackBarComponent
|
|
38
|
+
],
|
|
39
|
+
exports: [
|
|
40
|
+
MessageBoxComponent,
|
|
41
|
+
SnackBarComponent
|
|
42
|
+
],
|
|
43
|
+
providers: [MessagesService]
|
|
44
|
+
}]
|
|
45
|
+
}] });
|
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjoz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