@maggioli-design-system/mds-progress 2.8.1 → 2.8.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/dist/cjs/{index-87340659.js → index-ef941864.js} +51 -31
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mds-progress.cjs.entry.js +35 -35
- package/dist/cjs/mds-progress.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/common/aria.js +18 -18
- package/dist/collection/common/keyboard-manager.js +38 -38
- package/dist/collection/common/unit.js +7 -7
- package/dist/collection/components/mds-progress/mds-progress.js +142 -142
- package/dist/collection/components/mds-progress/meta/dictionary.js +2 -2
- package/dist/collection/components/mds-progress/test/mds-progress.e2e.js +7 -7
- package/dist/collection/components/mds-progress/test/mds-progress.stories.js +20 -20
- package/dist/collection/dictionary/autocomplete.js +56 -56
- package/dist/collection/dictionary/button.js +19 -19
- package/dist/collection/dictionary/color.js +14 -14
- package/dist/collection/dictionary/floating-ui.js +14 -14
- package/dist/collection/dictionary/input.js +31 -15
- package/dist/collection/dictionary/loading.js +2 -2
- package/dist/collection/dictionary/typography.js +46 -46
- package/dist/collection/dictionary/variant.js +54 -54
- package/dist/collection/fixtures/cities.js +107 -107
- package/dist/components/mds-progress.d.ts +2 -2
- package/dist/components/mds-progress.js +57 -57
- package/dist/documentation.d.ts +1 -21
- package/dist/documentation.json +2 -2
- package/dist/esm/{index-641b8321.js → index-370f577b.js} +51 -31
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mds-progress.entry.js +35 -35
- package/dist/esm/mds-progress.js +3 -3
- package/dist/esm-es5/index-370f577b.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-progress.entry.js +1 -1
- package/dist/esm-es5/mds-progress.js +1 -1
- package/dist/mds-progress/mds-progress.esm.js +1 -1
- package/dist/mds-progress/mds-progress.js +15 -15
- package/dist/mds-progress/{p-82cf4718.entry.js → p-3e473a5b.entry.js} +1 -1
- package/dist/mds-progress/{p-5cb282f0.system.js → p-690d2715.system.js} +1 -1
- package/dist/mds-progress/p-87430859.js +2 -0
- package/{www/build/p-3f2f6022.system.entry.js → dist/mds-progress/p-9135177f.system.entry.js} +1 -1
- package/dist/mds-progress/p-bf3c5077.system.js +2 -0
- package/dist/stats.json +37 -34
- package/dist/types/common/keyboard-manager.d.ts +9 -9
- package/dist/types/components/mds-progress/mds-progress.d.ts +24 -24
- package/dist/types/components/mds-progress/test/mds-progress.stories.d.ts +37 -37
- package/dist/types/dictionary/input.d.ts +2 -1
- package/dist/types/interface/input-value.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +8 -0
- package/documentation.json +14 -4
- package/package.json +3 -3
- package/src/components/mds-progress/mds-progress.css +1 -1
- package/src/dictionary/input.ts +18 -0
- package/src/fixtures/icons.json +3 -0
- package/src/fixtures/iconsauce.json +3 -0
- package/www/build/mds-progress.esm.js +1 -1
- package/www/build/mds-progress.js +15 -15
- package/www/build/{p-82cf4718.entry.js → p-3e473a5b.entry.js} +1 -1
- package/www/build/{p-5cb282f0.system.js → p-690d2715.system.js} +1 -1
- package/www/build/p-87430859.js +2 -0
- package/{dist/mds-progress/p-3f2f6022.system.entry.js → www/build/p-9135177f.system.entry.js} +1 -1
- package/www/build/p-bf3c5077.system.js +2 -0
- package/dist/esm-es5/index-641b8321.js +0 -1
- package/dist/mds-progress/p-ae73d6e3.system.js +0 -2
- package/dist/mds-progress/p-eef73ce9.js +0 -2
- package/www/build/p-ae73d6e3.system.js +0 -2
- package/www/build/p-eef73ce9.js +0 -2
package/dist/stats.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "
|
|
2
|
+
"timestamp": "2024-01-10T08:26:41",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "node",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "20.10.0"
|
|
6
6
|
},
|
|
7
7
|
"app": {
|
|
8
8
|
"namespace": "MdsProgress",
|
|
@@ -58,17 +58,17 @@
|
|
|
58
58
|
"name": "dist-lazy",
|
|
59
59
|
"files": 35,
|
|
60
60
|
"generatedFiles": [
|
|
61
|
-
"./dist/cjs/index-
|
|
61
|
+
"./dist/cjs/index-ef941864.js",
|
|
62
62
|
"./dist/cjs/index.cjs.js",
|
|
63
63
|
"./dist/cjs/loader.cjs.js",
|
|
64
64
|
"./dist/cjs/mds-progress.cjs.entry.js",
|
|
65
65
|
"./dist/cjs/mds-progress.cjs.js",
|
|
66
|
-
"./dist/esm-es5/index-
|
|
66
|
+
"./dist/esm-es5/index-370f577b.js",
|
|
67
67
|
"./dist/esm-es5/index.js",
|
|
68
68
|
"./dist/esm-es5/loader.js",
|
|
69
69
|
"./dist/esm-es5/mds-progress.entry.js",
|
|
70
70
|
"./dist/esm-es5/mds-progress.js",
|
|
71
|
-
"./dist/esm/index-
|
|
71
|
+
"./dist/esm/index-370f577b.js",
|
|
72
72
|
"./dist/esm/index.js",
|
|
73
73
|
"./dist/esm/loader.js",
|
|
74
74
|
"./dist/esm/mds-progress.entry.js",
|
|
@@ -78,21 +78,21 @@
|
|
|
78
78
|
"./dist/mds-progress/index.esm.js",
|
|
79
79
|
"./dist/mds-progress/mds-progress.esm.js",
|
|
80
80
|
"./dist/mds-progress/mds-progress.js",
|
|
81
|
-
"./dist/mds-progress/p-
|
|
81
|
+
"./dist/mds-progress/p-3e473a5b.entry.js",
|
|
82
82
|
"./dist/mds-progress/p-50ea2036.system.js",
|
|
83
|
-
"./dist/mds-progress/p-
|
|
84
|
-
"./dist/mds-progress/p-
|
|
85
|
-
"./dist/mds-progress/p-
|
|
86
|
-
"./dist/mds-progress/p-
|
|
83
|
+
"./dist/mds-progress/p-690d2715.system.js",
|
|
84
|
+
"./dist/mds-progress/p-87430859.js",
|
|
85
|
+
"./dist/mds-progress/p-9135177f.system.entry.js",
|
|
86
|
+
"./dist/mds-progress/p-bf3c5077.system.js",
|
|
87
87
|
"./www/build/index.esm.js",
|
|
88
88
|
"./www/build/mds-progress.esm.js",
|
|
89
89
|
"./www/build/mds-progress.js",
|
|
90
|
-
"./www/build/p-
|
|
90
|
+
"./www/build/p-3e473a5b.entry.js",
|
|
91
91
|
"./www/build/p-50ea2036.system.js",
|
|
92
|
-
"./www/build/p-
|
|
93
|
-
"./www/build/p-
|
|
94
|
-
"./www/build/p-
|
|
95
|
-
"./www/build/p-
|
|
92
|
+
"./www/build/p-690d2715.system.js",
|
|
93
|
+
"./www/build/p-87430859.js",
|
|
94
|
+
"./www/build/p-9135177f.system.entry.js",
|
|
95
|
+
"./www/build/p-bf3c5077.system.js"
|
|
96
96
|
]
|
|
97
97
|
},
|
|
98
98
|
{
|
|
@@ -125,12 +125,12 @@
|
|
|
125
125
|
"components": [
|
|
126
126
|
"mds-progress"
|
|
127
127
|
],
|
|
128
|
-
"bundleId": "p-
|
|
129
|
-
"fileName": "p-
|
|
128
|
+
"bundleId": "p-3e473a5b",
|
|
129
|
+
"fileName": "p-3e473a5b.entry.js",
|
|
130
130
|
"imports": [
|
|
131
|
-
"p-
|
|
131
|
+
"p-87430859.js"
|
|
132
132
|
],
|
|
133
|
-
"originalByteSize":
|
|
133
|
+
"originalByteSize": 4691
|
|
134
134
|
}
|
|
135
135
|
],
|
|
136
136
|
"esm": [
|
|
@@ -142,9 +142,9 @@
|
|
|
142
142
|
"bundleId": "mds-progress",
|
|
143
143
|
"fileName": "mds-progress.entry.js",
|
|
144
144
|
"imports": [
|
|
145
|
-
"index-
|
|
145
|
+
"index-370f577b.js"
|
|
146
146
|
],
|
|
147
|
-
"originalByteSize":
|
|
147
|
+
"originalByteSize": 4695
|
|
148
148
|
}
|
|
149
149
|
],
|
|
150
150
|
"es5": [
|
|
@@ -156,9 +156,9 @@
|
|
|
156
156
|
"bundleId": "mds-progress",
|
|
157
157
|
"fileName": "mds-progress.entry.js",
|
|
158
158
|
"imports": [
|
|
159
|
-
"index-
|
|
159
|
+
"index-370f577b.js"
|
|
160
160
|
],
|
|
161
|
-
"originalByteSize":
|
|
161
|
+
"originalByteSize": 4695
|
|
162
162
|
}
|
|
163
163
|
],
|
|
164
164
|
"system": [
|
|
@@ -167,12 +167,12 @@
|
|
|
167
167
|
"components": [
|
|
168
168
|
"mds-progress"
|
|
169
169
|
],
|
|
170
|
-
"bundleId": "p-
|
|
171
|
-
"fileName": "p-
|
|
170
|
+
"bundleId": "p-9135177f.system",
|
|
171
|
+
"fileName": "p-9135177f.system.entry.js",
|
|
172
172
|
"imports": [
|
|
173
|
-
"p-
|
|
173
|
+
"p-bf3c5077.system.js"
|
|
174
174
|
],
|
|
175
|
-
"originalByteSize":
|
|
175
|
+
"originalByteSize": 5150
|
|
176
176
|
}
|
|
177
177
|
],
|
|
178
178
|
"commonjs": [
|
|
@@ -184,9 +184,9 @@
|
|
|
184
184
|
"bundleId": "mds-progress.cjs",
|
|
185
185
|
"fileName": "mds-progress.cjs.entry.js",
|
|
186
186
|
"imports": [
|
|
187
|
-
"index-
|
|
187
|
+
"index-ef941864.js"
|
|
188
188
|
],
|
|
189
|
-
"originalByteSize":
|
|
189
|
+
"originalByteSize": 4754
|
|
190
190
|
}
|
|
191
191
|
]
|
|
192
192
|
},
|
|
@@ -446,7 +446,7 @@
|
|
|
446
446
|
"modeName": "$",
|
|
447
447
|
"styleId": "MDS-PROGRESS",
|
|
448
448
|
"styleStr": null,
|
|
449
|
-
"styleIdentifier": "
|
|
449
|
+
"styleIdentifier": "MdsProgressStyle",
|
|
450
450
|
"externalStyles": [
|
|
451
451
|
{
|
|
452
452
|
"absolutePath": "/builds/maggiolispa/ricerca-sviluppo-new-media/magma/design-system/projects/stencil/.build/mds-progress/src/components/mds-progress/mds-progress.css",
|
|
@@ -552,10 +552,10 @@
|
|
|
552
552
|
"htmlParts": [],
|
|
553
553
|
"isUpdateable": true,
|
|
554
554
|
"potentialCmpRefs": [],
|
|
555
|
-
"directDependencies": [],
|
|
556
|
-
"dependencies": [],
|
|
557
555
|
"dependents": [],
|
|
558
|
-
"
|
|
556
|
+
"dependencies": [],
|
|
557
|
+
"directDependents": [],
|
|
558
|
+
"directDependencies": []
|
|
559
559
|
}
|
|
560
560
|
],
|
|
561
561
|
"entryKey": "mds-progress.entry"
|
|
@@ -563,7 +563,7 @@
|
|
|
563
563
|
],
|
|
564
564
|
"componentGraph": {
|
|
565
565
|
"sc-mds-progress": [
|
|
566
|
-
"p-
|
|
566
|
+
"p-87430859.js"
|
|
567
567
|
]
|
|
568
568
|
},
|
|
569
569
|
"sourceGraph": {
|
|
@@ -600,5 +600,8 @@
|
|
|
600
600
|
"./src/type/typography.ts": [],
|
|
601
601
|
"./src/type/variant.ts": []
|
|
602
602
|
},
|
|
603
|
+
"rollupResults": {
|
|
604
|
+
"modules": []
|
|
605
|
+
},
|
|
603
606
|
"collections": []
|
|
604
607
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export declare class KeyboardManager {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
private escapeCallback;
|
|
3
|
+
private elements;
|
|
4
|
+
private handleClickBehaviorDispatchEvent;
|
|
5
|
+
private handleEscapeBehaviorDispatchEvent;
|
|
6
|
+
addElement: (el: HTMLElement, name?: string) => void;
|
|
7
|
+
attachClickBehavior: (name?: string) => void;
|
|
8
|
+
detachClickBehavior: (name?: string) => void;
|
|
9
|
+
attachEscapeBehavior: (callBack: () => void) => void;
|
|
10
|
+
detachEscapeBehavior: () => void;
|
|
11
11
|
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { DirectionType } from './meta/types';
|
|
2
2
|
import { ThemeVariantType } from '@type/variant';
|
|
3
3
|
export declare class MdsProgress {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
4
|
+
private element;
|
|
5
|
+
currentStep: string;
|
|
6
|
+
private stepsList;
|
|
7
|
+
/**
|
|
8
|
+
* A value between 0 and 1 that rapresents the status progress
|
|
9
|
+
*/
|
|
10
|
+
readonly progress: number;
|
|
11
|
+
/**
|
|
12
|
+
* Specifies the direction of the progress bar, if horizonatl or vertical
|
|
13
|
+
*/
|
|
14
|
+
readonly direction?: DirectionType;
|
|
15
|
+
/**
|
|
16
|
+
* Sets the theme variant colors
|
|
17
|
+
*/
|
|
18
|
+
readonly variant: ThemeVariantType;
|
|
19
|
+
/**
|
|
20
|
+
* Sets the steps that can be pronounced by accessibility technologies
|
|
21
|
+
*/
|
|
22
|
+
readonly steps: string;
|
|
23
|
+
componentWillLoad(): void;
|
|
24
|
+
private setProgress;
|
|
25
|
+
progressChanged(progress: number): void;
|
|
26
|
+
stepsChanged(steps: string): void;
|
|
27
|
+
render(): any;
|
|
28
28
|
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
title: string;
|
|
3
|
+
argTypes: {
|
|
4
|
+
direction: {
|
|
5
|
+
type: {
|
|
6
|
+
name: string;
|
|
7
|
+
required: boolean;
|
|
8
|
+
};
|
|
9
|
+
control: {
|
|
10
|
+
type: string;
|
|
11
|
+
};
|
|
12
|
+
description: string;
|
|
13
|
+
options: string[];
|
|
14
|
+
};
|
|
15
|
+
progress: {
|
|
16
|
+
control: {
|
|
17
|
+
type: string;
|
|
18
|
+
step: number;
|
|
19
|
+
min: number;
|
|
20
|
+
max: number;
|
|
21
|
+
};
|
|
22
|
+
type: {
|
|
23
|
+
name: string;
|
|
24
|
+
required: boolean;
|
|
25
|
+
};
|
|
26
|
+
description: string;
|
|
27
|
+
};
|
|
28
|
+
variant: {
|
|
29
|
+
type: {
|
|
30
|
+
name: string;
|
|
31
|
+
required: boolean;
|
|
32
|
+
};
|
|
33
|
+
description: string;
|
|
34
|
+
options: string[];
|
|
35
|
+
control: {
|
|
36
|
+
type: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
14
39
|
};
|
|
15
|
-
progress: {
|
|
16
|
-
control: {
|
|
17
|
-
type: string;
|
|
18
|
-
step: number;
|
|
19
|
-
min: number;
|
|
20
|
-
max: number;
|
|
21
|
-
};
|
|
22
|
-
type: {
|
|
23
|
-
name: string;
|
|
24
|
-
required: boolean;
|
|
25
|
-
};
|
|
26
|
-
description: string;
|
|
27
|
-
};
|
|
28
|
-
variant: {
|
|
29
|
-
type: {
|
|
30
|
-
name: string;
|
|
31
|
-
required: boolean;
|
|
32
|
-
};
|
|
33
|
-
description: string;
|
|
34
|
-
options: string[];
|
|
35
|
-
control: {
|
|
36
|
-
type: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
40
|
};
|
|
41
41
|
export default _default;
|
|
42
42
|
export declare const Default: any;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
declare const inputTextTypeDictionary: string[];
|
|
2
|
+
declare const inputFieldTypeDictionary: string[];
|
|
2
3
|
declare const inputControlsLayoutDictionary: string[];
|
|
3
4
|
declare const inputControlsIconDictionary: string[];
|
|
4
|
-
export { inputControlsIconDictionary, inputControlsLayoutDictionary, inputTextTypeDictionary, };
|
|
5
|
+
export { inputControlsIconDictionary, inputControlsLayoutDictionary, inputTextTypeDictionary, inputFieldTypeDictionary, };
|
|
@@ -810,6 +810,9 @@ export declare namespace JSXBase {
|
|
|
810
810
|
name?: string;
|
|
811
811
|
type?: string;
|
|
812
812
|
value?: string | string[] | number;
|
|
813
|
+
popoverTargetAction?: string;
|
|
814
|
+
popoverTargetElement?: Element | null;
|
|
815
|
+
popoverTarget?: string;
|
|
813
816
|
}
|
|
814
817
|
interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
815
818
|
height?: number | string;
|
|
@@ -971,6 +974,9 @@ export declare namespace JSXBase {
|
|
|
971
974
|
webkitdirectory?: boolean;
|
|
972
975
|
webkitEntries?: any;
|
|
973
976
|
width?: number | string;
|
|
977
|
+
popoverTargetAction?: string;
|
|
978
|
+
popoverTargetElement?: Element | null;
|
|
979
|
+
popoverTarget?: string;
|
|
974
980
|
}
|
|
975
981
|
interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
976
982
|
autoFocus?: boolean;
|
|
@@ -1223,6 +1229,7 @@ export declare namespace JSXBase {
|
|
|
1223
1229
|
draggable?: boolean;
|
|
1224
1230
|
hidden?: boolean;
|
|
1225
1231
|
id?: string;
|
|
1232
|
+
inert?: boolean;
|
|
1226
1233
|
lang?: string;
|
|
1227
1234
|
spellcheck?: 'true' | 'false' | any;
|
|
1228
1235
|
style?: {
|
|
@@ -1231,6 +1238,7 @@ export declare namespace JSXBase {
|
|
|
1231
1238
|
tabIndex?: number;
|
|
1232
1239
|
tabindex?: number | string;
|
|
1233
1240
|
title?: string;
|
|
1241
|
+
popover?: string | null;
|
|
1234
1242
|
inputMode?: string;
|
|
1235
1243
|
inputmode?: string;
|
|
1236
1244
|
enterKeyHint?: string;
|
package/documentation.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "
|
|
2
|
+
"timestamp": "2024-01-10T08:00:22",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
|
-
"version": "4.
|
|
5
|
+
"version": "4.9.1",
|
|
6
6
|
"typescriptVersion": "5.2.2"
|
|
7
7
|
},
|
|
8
8
|
"components": [
|
|
@@ -436,11 +436,21 @@
|
|
|
436
436
|
"docstring": "",
|
|
437
437
|
"path": "src/components/mds-input/meta/event-detail.ts"
|
|
438
438
|
},
|
|
439
|
-
"src/components/mds-input-field/meta/types.ts::
|
|
440
|
-
"declaration": "export type
|
|
439
|
+
"src/components/mds-input-field/meta/types.ts::InputFieldType": {
|
|
440
|
+
"declaration": "export type InputFieldType =\n | 'date'\n | 'email'\n | 'number'\n | 'password'\n | 'search'\n | 'tel'\n | 'text'\n | 'textarea'\n | 'time'\n | 'url'\n | 'cc'\n | 'cf'\n | 'isbn'\n | 'piva'",
|
|
441
441
|
"docstring": "",
|
|
442
442
|
"path": "src/components/mds-input-field/meta/types.ts"
|
|
443
443
|
},
|
|
444
|
+
"src/components/mds-input-field/meta/validators.ts::MdsValidatorFn": {
|
|
445
|
+
"declaration": "(input: string) => null | MdsValidationErrors",
|
|
446
|
+
"docstring": "",
|
|
447
|
+
"path": "src/components/mds-input-field/meta/validators.ts"
|
|
448
|
+
},
|
|
449
|
+
"src/components/mds-input-field/meta/validators.ts::MdsValidationErrors": {
|
|
450
|
+
"declaration": "export interface MdsValidationErrors {\n [key: string]: string\n}",
|
|
451
|
+
"docstring": "",
|
|
452
|
+
"path": "src/components/mds-input-field/meta/validators.ts"
|
|
453
|
+
},
|
|
444
454
|
"src/interface/input-value.ts::InputValue": {
|
|
445
455
|
"declaration": "export interface InputValue {\n value: InputValueType\n}",
|
|
446
456
|
"docstring": "",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maggioli-design-system/mds-progress",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.3",
|
|
4
4
|
"description": "mds-progress is a web-component from Magma Design System, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScirpt framework you are using.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"test": "stencil test --spec --e2e"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@maggioli-design-system/styles": "
|
|
28
|
-
"@stencil/core": "4.
|
|
27
|
+
"@maggioli-design-system/styles": "14.1.0",
|
|
28
|
+
"@stencil/core": "4.9.1"
|
|
29
29
|
},
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"author": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
--mds-progress-color: theme('colors.brand-maggioli-03');
|
|
15
15
|
--mds-progress-duration: 750ms;
|
|
16
16
|
--mds-progress-radius: theme('borderRadius.lg');
|
|
17
|
-
--mds-progress-thickness: theme('height.
|
|
17
|
+
--mds-progress-thickness: theme('height.200');
|
|
18
18
|
|
|
19
19
|
@apply transition-colors;
|
|
20
20
|
|
package/src/dictionary/input.ts
CHANGED
|
@@ -11,6 +11,23 @@ const inputTextTypeDictionary = [
|
|
|
11
11
|
'url',
|
|
12
12
|
]
|
|
13
13
|
|
|
14
|
+
const inputFieldTypeDictionary = [
|
|
15
|
+
'date',
|
|
16
|
+
'email',
|
|
17
|
+
'number',
|
|
18
|
+
'password',
|
|
19
|
+
'search',
|
|
20
|
+
'tel',
|
|
21
|
+
'text',
|
|
22
|
+
'textarea',
|
|
23
|
+
'time',
|
|
24
|
+
'url',
|
|
25
|
+
'cc',
|
|
26
|
+
'cf',
|
|
27
|
+
'isbn',
|
|
28
|
+
'piva',
|
|
29
|
+
]
|
|
30
|
+
|
|
14
31
|
|
|
15
32
|
const inputControlsLayoutDictionary = [
|
|
16
33
|
'horizontal',
|
|
@@ -26,5 +43,6 @@ export {
|
|
|
26
43
|
inputControlsIconDictionary,
|
|
27
44
|
inputControlsLayoutDictionary,
|
|
28
45
|
inputTextTypeDictionary,
|
|
46
|
+
inputFieldTypeDictionary,
|
|
29
47
|
}
|
|
30
48
|
|
package/src/fixtures/icons.json
CHANGED
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"mgg/address-book-off",
|
|
28
28
|
"mgg/address-book-on",
|
|
29
29
|
"mgg/adv-denied",
|
|
30
|
+
"mgg/alerts-pagopa",
|
|
30
31
|
"mgg/area-edificabile",
|
|
31
32
|
"mgg/area-weather",
|
|
32
33
|
"mgg/assignments-accept-rejection",
|
|
@@ -94,6 +95,7 @@
|
|
|
94
95
|
"mgg/file-type-pdf",
|
|
95
96
|
"mgg/file-type-success",
|
|
96
97
|
"mgg/file-type-warning",
|
|
98
|
+
"mgg/file-xml",
|
|
97
99
|
"mgg/finance-euro-cashback",
|
|
98
100
|
"mgg/fit-horizontal",
|
|
99
101
|
"mgg/fit-vertical",
|
|
@@ -224,6 +226,7 @@
|
|
|
224
226
|
"mgg/todo-pause",
|
|
225
227
|
"mgg/todo-running-completed",
|
|
226
228
|
"mgg/todo-suspended",
|
|
229
|
+
"mgg/touchpoint-laptop-info",
|
|
227
230
|
"mgg/traffic-cone",
|
|
228
231
|
"mgg/trending-down",
|
|
229
232
|
"mgg/tribute",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"mgg/address-book-off",
|
|
17
17
|
"mgg/address-book-on",
|
|
18
18
|
"mgg/adv-denied",
|
|
19
|
+
"mgg/alerts-pagopa",
|
|
19
20
|
"mgg/area-edificabile",
|
|
20
21
|
"mgg/area-weather",
|
|
21
22
|
"mgg/assignments-accept-rejection",
|
|
@@ -83,6 +84,7 @@
|
|
|
83
84
|
"mgg/file-type-pdf",
|
|
84
85
|
"mgg/file-type-success",
|
|
85
86
|
"mgg/file-type-warning",
|
|
87
|
+
"mgg/file-xml",
|
|
86
88
|
"mgg/finance-euro-cashback",
|
|
87
89
|
"mgg/fit-horizontal",
|
|
88
90
|
"mgg/fit-vertical",
|
|
@@ -213,6 +215,7 @@
|
|
|
213
215
|
"mgg/todo-running-completed",
|
|
214
216
|
"mgg/todo-suspended",
|
|
215
217
|
"mgg/todo",
|
|
218
|
+
"mgg/touchpoint-laptop-info",
|
|
216
219
|
"mgg/traffic-cone",
|
|
217
220
|
"mgg/trending-down",
|
|
218
221
|
"mgg/tribute",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as r}from"./p-
|
|
1
|
+
import{p as e,b as r}from"./p-87430859.js";export{s as setNonce}from"./p-87430859.js";(()=>{const s=import.meta.url,r={};return""!==s&&(r.resourcesUrl=new URL(".",s).href),e(r)})().then((s=>r([["p-3e473a5b",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],s)));
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
// Safari 10 support type="module" but still download and executes the nomodule script
|
|
7
7
|
if (!currentScript || !currentScript.hasAttribute('nomodule') || !('onbeforeload' in currentScript)) {
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
/**
|
|
10
10
|
* core-js 3.6.5
|
|
11
11
|
* https://github.com/zloirock/core-js
|
|
12
12
|
* License: http://rock.mit-license.org
|
|
@@ -106,22 +106,22 @@ DOMTokenList
|
|
|
106
106
|
*/
|
|
107
107
|
!function(){var e="undefined"!=typeof self,n=e?self:global;var t;if("undefined"!=typeof document){var e=document.querySelector("base[href]");e&&(t=e.href)}if(!t&&"undefined"!=typeof location){var e=(t=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==e&&(t=t.slice(0,e+1))}var r=/\\/g,o="undefined"!=typeof Symbol,i=o&&Symbol.toStringTag,c=o?Symbol():"@";function u(){this[c]={}}var s=u.prototype;var l;s.import=function(e,n){var t=this;return Promise.resolve(t.resolve(e,n)).then(function(e){var n=function e(n,t,r){var o=n[c][t];if(o)return o;var u=[],s=Object.create(null);i&&Object.defineProperty(s,i,{value:"Module"});var l=Promise.resolve().then(function(){return n.instantiate(t,r)}).then(function(e){if(!e)throw Error("Module "+t+" did not instantiate");var r=e[1](function(e,n){o.h=!0;var t=!1;if("object"!=typeof e)e in s&&s[e]===n||(s[e]=n,t=!0);else for(var n in e){var r=e[n];n in s&&s[n]===r||(s[n]=r,t=!0)}if(t)for(var e=0;e<u.length;e++)u[e](s);return n},2===e[1].length?{import:function(e){return n.import(e,t)},meta:n.createContext(t)}:void 0);return o.e=r.execute||function(){},[e[0],r.setters||[]]});var f=l.then(function(r){return Promise.all(r[0].map(function(o,i){var c=r[1][i];return Promise.resolve(n.resolve(o,t)).then(function(r){var o=e(n,r,t);return Promise.resolve(o.I).then(function(){return c&&(o.i.push(c),!o.h&&o.I||c(o.n)),o})})})).then(function(e){o.d=e})});return f.catch(function(e){o.e=null,o.er=e}),o=n[c][t]={id:t,i:u,n:s,I:l,L:f,h:!1,d:void 0,e:void 0,er:void 0,E:void 0,C:void 0}}(t,e);return n.C||function(e,n){return n.C=function e(n,t,r){if(!r[t.id])return r[t.id]=!0,Promise.resolve(t.L).then(function(){return Promise.all(t.d.map(function(t){return e(n,t,r)}))})}(e,n,{}).then(function(){return function e(n,t,r){if(r[t.id])return;if(r[t.id]=!0,!t.e){if(t.er)throw t.er;return t.E?t.E:void 0}var o;return t.d.forEach(function(t){{var i=e(n,t,r);i&&(o=o||[]).push(i)}}),o?Promise.all(o).then(i):i();function i(){try{var e=t.e.call(f);if(e)return e=e.then(function(){t.C=t.n,t.E=null}),t.E=t.E||e;t.C=t.n}catch(e){throw t.er=e,e}finally{t.L=t.I=void 0,t.e=null}}}(e,n,{})}).then(function(){return n.n})}(t,n)})},s.createContext=function(e){return{url:e}},s.register=function(e,n){l=[e,n]},s.getRegister=function(){var e=l;return l=void 0,e};var f=Object.freeze(Object.create(null));n.System=n.System||new u;var d=s.register;s.register=function(e,n){d.call(this,e,n)},s.instantiate=function(e,n){var t=this;return".json"===e.substr(-5)?fetch(e).then(function(e){return e.text()}).then(function(e){return[[],function(n){return{execute:function(){n("default",JSON.parse(e))}}}]}):new Promise(function(r,o){var i;function c(n){n.filename===e&&(i=n.error)}window.addEventListener("error",c);var u=document.createElement("script");u.charset="utf-8",u.async=!0,u.addEventListener("error",function(){window.removeEventListener("error",c),o(Error("Error loading "+e+(n?" from "+n:"")))}),u.addEventListener("load",function(){window.removeEventListener("error",c),document.head.removeChild(u),i?o(i):r(t.getRegister())}),u.src=e,document.head.appendChild(u)})},e&&"function"==typeof importScripts&&(s.instantiate=function(e){var n=this;return new Promise(function(t,r){try{importScripts(e)}catch(e){r(e)}t(n.getRegister())})}),s.resolve=function(e,n){var o=function(e,n){if(-1!==e.indexOf("\\")&&(e=e.replace(r,"/")),"/"===e[0]&&"/"===e[1])return n.slice(0,n.indexOf(":")+1)+e;if("."===e[0]&&("/"===e[1]||"."===e[1]&&("/"===e[2]||2===e.length&&(e+="/"))||1===e.length&&(e+="/"))||"/"===e[0]){var t=n.slice(0,n.indexOf(":")+1);var r;if(r="/"===n[t.length+1]?"file:"!==t?(r=n.slice(t.length+2)).slice(r.indexOf("/")+1):n.slice(8):n.slice(t.length+("/"===n[t.length])),"/"===e[0])return n.slice(0,n.length-r.length-1)+e;var o=r.slice(0,r.lastIndexOf("/")+1)+e,i=[];var c=-1;for(var e=0;e<o.length;e++)-1!==c?"/"===o[e]&&(i.push(o.slice(c,e+1)),c=-1):"."===o[e]?"."!==o[e+1]||"/"!==o[e+2]&&e+2!==o.length?"/"===o[e+1]||e+1===o.length?e+=1:c=e:(i.pop(),e+=2):c=e;return-1!==c&&i.push(o.slice(c)),n.slice(0,n.length-r.length)+i.join("")}}(e,n||t);if(!o){if(-1!==e.indexOf(":"))return Promise.resolve(e);throw Error('Cannot resolve "'+e+(n?'" from '+n:'"'))}return Promise.resolve(o)}}();
|
|
108
108
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
109
|
+
// Figure out currentScript (for IE11, since it does not support currentScript)
|
|
110
|
+
var regex = /\/mds-progress(\.esm)?\.js($|\?|#)/;
|
|
111
|
+
var scriptElm = currentScript || Array.from(document.querySelectorAll('script')).find(function(s) {
|
|
112
|
+
return regex.test(s.src) || s.getAttribute('data-stencil-namespace') === "mds-progress";
|
|
113
|
+
});
|
|
114
114
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
115
|
+
var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
|
|
116
|
+
var start = function() {
|
|
117
|
+
// if src is not present then origin is "null", and new URL() throws TypeError: Failed to construct 'URL': Invalid base URL
|
|
118
|
+
var url = new URL('./p-690d2715.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
|
|
119
|
+
System.import(url.href);
|
|
120
|
+
};
|
|
121
121
|
|
|
122
|
-
|
|
122
|
+
start();
|
|
123
123
|
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
// Note: using .call(window) here because the self-executing function needs
|
|
125
|
+
// to be scoped to the window object for the ES6Promise polyfill to work
|
|
126
126
|
}
|
|
127
127
|
}).call(window);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as o,H as s,g as t}from"./p-
|
|
1
|
+
import{r,h as o,H as s,g as t}from"./p-87430859.js";const i=class{constructor(o){r(this,o),this.stepsList=new Array,this.currentStep=void 0,this.progress=0,this.direction="horizontal",this.variant="primary",this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}componentWillLoad(){this.stepsList=this.steps.split(","),this.setProgress(this.progress)}setProgress(r){this.steps&&(this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))],this.element.setAttribute("aria-valuetext",this.currentStep))}progressChanged(r){this.setProgress(r)}stepsChanged(r){this.stepsList=r.split(",")}render(){return o(s,{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":Math.round(100*this.progress),role:"progressbar"},o("div",{class:"progress",style:"horizontal"===this.direction?{flexGrow:`${this.progress}`}:{flexGrow:`${this.progress}`,width:"100%"}}))}get element(){return t(this)}static get watchers(){return{progress:["progressChanged"],steps:["stepsChanged"]}}};i.style='@tailwind utilities; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;width:100%}:host([direction="vertical"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-thickness)}.progress{-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([variant="dark"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="light"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant="error"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant="success"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant="info"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant="primary"]){--mds-progress-color:rgb(var(--brand-maggioli-03));--mds-progress-background:rgb(var(--tone-neutral-08))}';export{i as mds_progress}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-bf3c5077.system.js"],(function(e,s){"use strict";var r,t;return{setters:[function(s){r=s.p;t=s.b;e("setNonce",s.s)}],execute:function(){var e=function(){var e=s.meta.url;var t={};if(e!==""){t.resourcesUrl=new URL(".",e).href}return r(t)};e().then((function(e){return t([["p-9135177f.system",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],e)}))}}}));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
let n,t,e=!1;const l="slot-fb{display:contents}slot-fb[hidden]{display:none}",o={},s=n=>"object"==(n=typeof n)||"function"===n;function i(n){var t,e,l;return null!==(l=null===(e=null===(t=n.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===e?void 0:e.getAttribute("content"))&&void 0!==l?l:void 0}const c=(n,t,...e)=>{let l=null,o=!1,i=!1;const c=[],u=t=>{for(let e=0;e<t.length;e++)l=t[e],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof n&&!s(l))&&(l+=""),o&&i?c[c.length-1].t+=l:c.push(o?r(null,l):l),i=o)};if(u(e),t){const n=t.className||t.class;n&&(t.class="object"!=typeof n?n:Object.keys(n).filter((t=>n[t])).join(" "))}const a=r(n,null);return a.l=t,c.length>0&&(a.o=c),a},r=(n,t)=>({i:0,u:n,t,h:null,o:null,l:null}),u={},a=n=>H(n).$hostElement$,f=new WeakMap,d=n=>"sc-"+n.p,y=(n,t,e,l,o,i)=>{if(e!==l){let c=q(n,t);if(t.toLowerCase(),"class"===t){const t=n.classList,o=p(e),s=p(l);t.remove(...o.filter((n=>n&&!s.includes(n)))),t.add(...s.filter((n=>n&&!o.includes(n))))}else if("style"===t){for(const t in e)l&&null!=l[t]||(t.includes("-")?n.style.removeProperty(t):n.style[t]="");for(const t in l)e&&l[t]===e[t]||(t.includes("-")?n.style.setProperty(t,l[t]):n.style[t]=l[t])}else{const r=s(l);if((c||r&&null!==l)&&!o)try{if(n.tagName.includes("-"))n[t]=l;else{const o=null==l?"":l;"list"===t?c=!1:null!=e&&n[t]==o||(n[t]=o)}}catch(n){}null==l||!1===l?!1===l&&""!==n.getAttribute(t)||n.removeAttribute(t):(!c||4&i||o)&&!r&&n.setAttribute(t,l=!0===l?"":l)}}},h=/\s/,p=n=>n?n.split(h):[],v=(n,t,e,l)=>{const s=11===t.h.nodeType&&t.h.host?t.h.host:t.h,i=n&&n.l||o,c=t.l||o;for(l in i)l in c||y(s,l,i[l],void 0,e,t.i);for(l in c)y(s,l,i[l],c[l],e,t.i)},$=(e,l,o)=>{const s=l.o[o];let i,c,r=0;if(i=s.h=G.createElement(s.u),v(null,s,!1),null!=n&&i["s-si"]!==n&&i.classList.add(i["s-si"]=n),s.o)for(r=0;r<s.o.length;++r)c=$(e,s,r),c&&i.appendChild(c);return i["s-hn"]=t,i},m=(n,e,l,o,s,i)=>{let c,r=n;for(r.shadowRoot&&r.tagName===t&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=$(null,l,s),c&&(o[s].h=c,r.insertBefore(c,e)))},b=(n,t,e)=>{for(let l=t;l<=e;++l){const t=n[l];if(t){const n=t.h;n&&n.remove()}}},w=(n,t)=>n.u===t.u,S=(n,t,e=!1)=>{const l=t.h=n.h,o=n.o,s=t.o;v(n,t,!1),null!==o&&null!==s?((n,t,e,l,o=!1)=>{let s,i=0,c=0,r=t.length-1,u=t[0],a=t[r],f=l.length-1,d=l[0],y=l[f];for(;i<=r&&c<=f;)null==u?u=t[++i]:null==a?a=t[--r]:null==d?d=l[++c]:null==y?y=l[--f]:w(u,d)?(S(u,d,o),u=t[++i],d=l[++c]):w(a,y)?(S(a,y,o),a=t[--r],y=l[--f]):w(u,y)?(S(u,y,o),n.insertBefore(u.h,a.h.nextSibling),u=t[++i],y=l[--f]):w(a,d)?(S(a,d,o),n.insertBefore(a.h,u.h),a=t[--r],d=l[++c]):(s=$(t&&t[c],e,c),d=l[++c],s&&u.h.parentNode.insertBefore(s,u.h));i>r?m(n,null==l[f+1]?null:l[f+1].h,e,l,c,f):c>f&&b(t,i,r)})(l,o,t,s,e):null!==s?m(l,null,t,s,0,s.length-1):null!==o&&b(o,0,o.length-1)},g=(n,t)=>{t&&!n.v&&t["s-p"]&&t["s-p"].push(new Promise((t=>n.v=t)))},j=(n,t)=>{if(n.i|=16,!(4&n.i))return g(n,n.$),en((()=>M(n,t)));n.i|=512},M=(n,t)=>{const e=n.m;let l;return t&&(l=E(e,"componentWillLoad")),O(l,(()=>C(n,e,t)))},O=(n,t)=>k(n)?n.then(t):t(),k=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,C=async(n,t,e)=>{var o;const s=n.$hostElement$,c=s["s-rc"];e&&(n=>{const t=n.S,e=n.$hostElement$,o=t.i,s=((n,t)=>{var e;const o=d(t),s=B.get(o);if(n=11===n.nodeType?n:G,s)if("string"==typeof s){let c,r=f.get(n=n.head||n);if(r||f.set(n,r=new Set),!r.has(o)){{c=G.createElement("style"),c.innerHTML=s;const t=null!==(e=I.j)&&void 0!==e?e:i(G);null!=t&&c.setAttribute("nonce",t),n.insertBefore(c,n.querySelector("link"))}4&t.i&&(c.innerHTML+=l),r&&r.add(o)}}else n.adoptedStyleSheets.includes(s)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,s]);return o})(e.shadowRoot?e.shadowRoot:e.getRootNode(),t);10&o&&(e["s-sc"]=s,e.classList.add(s+"-h"))})(n);P(n,t,s,e),c&&(c.map((n=>n())),s["s-rc"]=void 0);{const t=null!==(o=s["s-p"])&&void 0!==o?o:[],e=()=>x(n);0===t.length?e():(Promise.all(t).then(e),n.i|=4,t.length=0)}},P=(e,l,o,s)=>{try{l=l.render(),e.i&=-17,e.i|=2,((e,l,o=!1)=>{const s=e.$hostElement$,i=e.S,a=e.M||r(null,null),f=(n=>n&&n.u===u)(l)?l:c(null,null,l);if(t=s.tagName,i.O&&(f.l=f.l||{},i.O.map((([n,t])=>f.l[t]=s[n]))),o&&f.l)for(const n of Object.keys(f.l))s.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(f.l[n]=s[n]);f.u=null,f.i|=4,e.M=f,f.h=a.h=s.shadowRoot||s,n=s["s-sc"],S(a,f,o)})(e,l,s)}catch(n){V(n,e.$hostElement$)}return null},x=n=>{const t=n.$hostElement$,e=n.$;64&n.i||(n.i|=64,L(t),n.k(t),e||A()),n.v&&(n.v(),n.v=void 0),512&n.i&&tn((()=>j(n,!1))),n.i&=-517},A=()=>{L(G.documentElement),tn((()=>(n=>{const t=I.ce("appload",{detail:{namespace:"mds-progress"}});return n.dispatchEvent(t),t})(D)))},E=(n,t,e)=>{if(n&&n[t])try{return n[t](e)}catch(n){V(n)}},L=n=>n.setAttribute("hydrated",""),N=(n,t,e)=>{var l;const o=n.prototype;if(t.C){n.watchers&&(t.P=n.watchers);const i=Object.entries(t.C);if(i.map((([n,[l]])=>{(31&l||2&e&&32&l)&&Object.defineProperty(o,n,{get(){return((n,t)=>H(this).A.get(t))(0,n)},set(e){((n,t,e,l)=>{const o=H(n),i=o.$hostElement$,c=o.A.get(t),r=o.i,u=o.m;if(e=((n,t)=>null==n||s(n)?n:2&t?parseFloat(n):1&t?n+"":n)(e,l.C[t][0]),(!(8&r)||void 0===c)&&e!==c&&(!Number.isNaN(c)||!Number.isNaN(e))&&(o.A.set(t,e),u)){if(l.P&&128&r){const n=l.P[t];n&&n.map((n=>{try{u[n](e,c,t)}catch(n){V(n,i)}}))}2==(18&r)&&j(o,!1)}})(this,n,e,t)},configurable:!0,enumerable:!0})})),1&e){const e=new Map;o.attributeChangedCallback=function(n,l,s){I.jmp((()=>{var i;const c=e.get(n);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(o.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const e=H(this),o=null==e?void 0:e.i;if(o&&!(8&o)&&128&o&&s!==l){const o=e.m,c=null===(i=t.P)||void 0===i?void 0:i[n];null==c||c.forEach((t=>{null!=o[t]&&o[t].call(o,s,l,n)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.P)&&void 0!==l?l:{}),...i.filter((([n,t])=>15&t[0])).map((([n,l])=>{var o;const s=l[1]||n;return e.set(s,n),512&l[0]&&(null===(o=t.O)||void 0===o||o.push([n,s])),s}))]))}}return n},T=(n,t={})=>{var e;const o=[],s=t.exclude||[],c=D.customElements,r=G.head,u=r.querySelector("meta[charset]"),a=G.createElement("style"),f=[];let y,h=!0;Object.assign(I,t),I.L=new URL(t.resourcesUrl||"./",G.baseURI).href;let p=!1;if(n.map((n=>{n[1].map((t=>{var e;const l={i:t[0],p:t[1],C:t[2],N:t[3]};4&l.i&&(p=!0),l.C=t[2],l.O=[],l.P=null!==(e=t[4])&&void 0!==e?e:{};const i=l.p,r=class extends HTMLElement{constructor(n){super(n),U(n=this,l),1&l.i&&n.attachShadow({mode:"open"})}connectedCallback(){y&&(clearTimeout(y),y=null),h?f.push(this):I.jmp((()=>(n=>{if(0==(1&I.i)){const t=H(n),e=t.S,l=()=>{};if(1&t.i)(null==t?void 0:t.m)||(null==t?void 0:t.T)&&t.T.then((()=>{}));else{t.i|=1;{let e=n;for(;e=e.parentNode||e.host;)if(e["s-p"]){g(t,t.$=e);break}}e.C&&Object.entries(e.C).map((([t,[e]])=>{if(31&e&&n.hasOwnProperty(t)){const e=n[t];delete n[t],n[t]=e}})),(async(n,t,e)=>{let l;if(0==(32&t.i)){t.i|=32;{if(l=z(e),l.then){const n=()=>{};l=await l,n()}l.isProxied||(e.P=l.watchers,N(l,e,2),l.isProxied=!0);const n=()=>{};t.i|=8;try{new l(t)}catch(n){V(n)}t.i&=-9,t.i|=128,n()}if(l.style){let n=l.style;const t=d(e);if(!B.has(t)){const l=()=>{};((n,t,e)=>{let l=B.get(n);K&&e?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,B.set(n,l)})(t,n,!!(1&e.i)),l()}}}const o=t.$,s=()=>j(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,t,e)}l()}})(this)))}disconnectedCallback(){I.jmp((()=>(async()=>{if(0==(1&I.i)){const n=H(this);(null==n?void 0:n.m)||(null==n?void 0:n.T)&&n.T.then((()=>{}))}})()))}componentOnReady(){return H(this).T}};l.W=n[0],s.includes(i)||c.get(i)||(o.push(i),c.define(i,N(r,l,1)))}))})),p&&(a.innerHTML+=l),a.innerHTML+=o+"{visibility:hidden}[hydrated]{visibility:inherit}",a.innerHTML.length){a.setAttribute("data-styles","");const n=null!==(e=I.j)&&void 0!==e?e:i(G);null!=n&&a.setAttribute("nonce",n),r.insertBefore(a,u?u.nextSibling:r.firstChild)}h=!1,f.length?f.map((n=>n.connectedCallback())):I.jmp((()=>y=setTimeout(A,30)))},W=n=>I.j=n,F=new WeakMap,H=n=>F.get(n),R=(n,t)=>F.set(t.m=n,t),U=(n,t)=>{const e={i:0,$hostElement$:n,S:t,A:new Map};return e.T=new Promise((n=>e.k=n)),n["s-p"]=[],n["s-rc"]=[],F.set(n,e)},q=(n,t)=>t in n,V=(n,t)=>(0,console.error)(n,t),_=new Map,z=n=>{const t=n.p.replace(/-/g,"_"),e=n.W,l=_.get(e);return l?l[t]:import(`./${e}.entry.js`).then((n=>(_.set(e,n),n[t])),V)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},B=new Map,D="undefined"!=typeof window?window:{},G=D.document||{head:{}},I={i:0,L:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,t,e,l)=>n.addEventListener(t,e,l),rel:(n,t,e,l)=>n.removeEventListener(t,e,l),ce:(n,t)=>new CustomEvent(n,t)},J=n=>Promise.resolve(n),K=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),Q=[],X=[],Y=(n,t)=>l=>{n.push(l),e||(e=!0,t&&4&I.i?tn(nn):I.raf(nn))},Z=n=>{for(let t=0;t<n.length;t++)try{n[t](performance.now())}catch(n){V(n)}n.length=0},nn=()=>{Z(Q),Z(X),(e=Q.length>0)&&I.raf(nn)},tn=n=>J().then(n),en=Y(X,!0);export{u as H,T as b,a as g,c as h,J as p,R as r,W as s}
|