@maggioli-design-system/mds-input-tip 1.1.2 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/{index-f87612f6.js → index-442db91d.js} +14 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mds-input-tip.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-tip.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/common/date.js +13 -0
- package/dist/collection/common/locale.js +25 -7
- package/dist/collection/components/mds-input-tip/mds-input-tip.css +1 -228
- package/dist/collection/dictionary/button.js +7 -1
- package/dist/collection/dictionary/variant.js +15 -1
- package/dist/collection/type/variant-file-format.js +0 -34
- package/dist/components/mds-input-tip.js +1 -1
- package/dist/documentation.json +3 -3
- package/dist/esm/{index-a04da9f4.js → index-8fed469d.js} +14 -3
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mds-input-tip.entry.js +2 -2
- package/dist/esm/mds-input-tip.js +3 -3
- package/dist/esm-es5/index-8fed469d.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-input-tip.entry.js +1 -1
- package/dist/esm-es5/mds-input-tip.js +1 -1
- package/dist/mds-input-tip/mds-input-tip.esm.js +1 -1
- package/dist/mds-input-tip/mds-input-tip.js +1 -1
- package/dist/mds-input-tip/p-37c61f56.system.js +2 -0
- package/dist/mds-input-tip/p-3e967425.js +2 -0
- package/dist/mds-input-tip/p-4486a5e4.entry.js +1 -0
- package/dist/mds-input-tip/{p-ca408384.system.js → p-c915dfb3.system.js} +1 -1
- package/dist/mds-input-tip/p-fadf816e.system.entry.js +1 -0
- package/dist/stats.json +38 -36
- package/dist/types/common/date.d.ts +4 -0
- package/dist/types/common/file.d.ts +3 -4
- package/dist/types/common/locale.d.ts +5 -2
- package/dist/types/dictionary/button.d.ts +2 -1
- package/dist/types/dictionary/file-extensions.d.ts +2 -1
- package/dist/types/dictionary/variant.d.ts +3 -1
- package/dist/types/stencil-public-runtime.d.ts +6 -0
- package/dist/types/type/autocomplete.d.ts +1 -1
- package/dist/types/type/button.d.ts +1 -1
- package/dist/types/type/date.d.ts +5 -0
- package/dist/types/type/header-bar.d.ts +2 -0
- package/dist/types/type/input.d.ts +3 -0
- package/dist/types/type/variant-file-format.d.ts +4 -4
- package/dist/types/type/variant.d.ts +3 -2
- package/documentation.json +56 -31
- package/package.json +5 -5
- package/src/common/date.ts +21 -0
- package/src/common/file.ts +2 -3
- package/src/common/locale.ts +29 -9
- package/src/common/unit.ts +1 -1
- package/src/components/mds-input-tip/.gitlab-ci.yml +5 -10
- package/src/components/mds-input-tip/mds-input-tip.css +2 -2
- package/src/dictionary/button.ts +8 -0
- package/src/dictionary/file-extensions.ts +3 -1
- package/src/dictionary/variant.ts +18 -0
- package/src/fixtures/icons.json +45 -2
- package/src/fixtures/iconsauce.json +37 -0
- package/src/tailwind/components.css +1 -1
- package/src/type/autocomplete.ts +0 -1
- package/src/type/button.ts +1 -0
- package/src/type/date.ts +10 -0
- package/src/type/header-bar.ts +11 -0
- package/src/type/input.ts +4 -0
- package/src/type/variant-file-format.ts +20 -37
- package/src/type/variant.ts +10 -2
- package/www/build/mds-input-tip.esm.js +1 -1
- package/www/build/mds-input-tip.js +1 -1
- package/www/build/p-37c61f56.system.js +2 -0
- package/www/build/p-3e967425.js +2 -0
- package/www/build/p-4486a5e4.entry.js +1 -0
- package/www/build/{p-ca408384.system.js → p-c915dfb3.system.js} +1 -1
- package/www/build/p-fadf816e.system.entry.js +1 -0
- package/dist/esm-es5/index-a04da9f4.js +0 -1
- package/dist/mds-input-tip/p-14639038.entry.js +0 -1
- package/dist/mds-input-tip/p-58828816.system.js +0 -2
- package/dist/mds-input-tip/p-96bf634c.js +0 -2
- package/dist/mds-input-tip/p-ed74ada1.system.entry.js +0 -1
- package/dist/types/interface/input-value.d.ts +0 -4
- package/dist/types/type/language.d.ts +0 -1
- package/src/interface/input-value.ts +0 -5
- package/src/type/language.ts +0 -4
- package/www/build/p-14639038.entry.js +0 -1
- package/www/build/p-58828816.system.js +0 -2
- package/www/build/p-96bf634c.js +0 -2
- package/www/build/p-ed74ada1.system.entry.js +0 -1
- /package/dist/collection/{interface/input-value.js → type/date.js} +0 -0
- /package/dist/collection/type/{language.js → header-bar.js} +0 -0
package/src/fixtures/icons.json
CHANGED
@@ -33,7 +33,16 @@
|
|
33
33
|
"mgg/address-book-off",
|
34
34
|
"mgg/address-book-on",
|
35
35
|
"mgg/adv-denied",
|
36
|
+
"mgg/ai-brain",
|
37
|
+
"mgg/ai-brain-outline",
|
38
|
+
"mgg/ai-message",
|
39
|
+
"mgg/ai-outline",
|
40
|
+
"mgg/ai-status-completed",
|
41
|
+
"mgg/ai-status-error",
|
42
|
+
"mgg/ai-status-processing",
|
43
|
+
"mgg/ai-status-suspended",
|
36
44
|
"mgg/alerts-pagopa",
|
45
|
+
"mgg/anpr",
|
37
46
|
"mgg/ansc",
|
38
47
|
"mgg/area-edificabile",
|
39
48
|
"mgg/area-weather",
|
@@ -45,6 +54,7 @@
|
|
45
54
|
"mgg/assignments-rejected",
|
46
55
|
"mgg/assignments-sorted",
|
47
56
|
"mgg/auto-awesome-motion",
|
57
|
+
"mgg/back-to-document",
|
48
58
|
"mgg/balance",
|
49
59
|
"mgg/bill",
|
50
60
|
"mgg/box-multiple",
|
@@ -85,9 +95,18 @@
|
|
85
95
|
"mgg/document-rename",
|
86
96
|
"mgg/download-csv",
|
87
97
|
"mgg/download-json",
|
98
|
+
"mgg/edit-article",
|
88
99
|
"mgg/electronic-document",
|
100
|
+
"mgg/email-assigned",
|
101
|
+
"mgg/email-open-blocked",
|
89
102
|
"mgg/email-open-check",
|
103
|
+
"mgg/email-open-lock",
|
90
104
|
"mgg/email-open-off",
|
105
|
+
"mgg/email-open-play",
|
106
|
+
"mgg/email-open-stop",
|
107
|
+
"mgg/email-open-user",
|
108
|
+
"mgg/email-open-view",
|
109
|
+
"mgg/email-to-assign",
|
91
110
|
"mgg/face-to-face-meeting",
|
92
111
|
"mgg/factory",
|
93
112
|
"mgg/farmer",
|
@@ -115,12 +134,19 @@
|
|
115
134
|
"mgg/fit-vertical",
|
116
135
|
"mgg/forwarded-with-a-single-sending",
|
117
136
|
"mgg/fullscreen-on-alt",
|
137
|
+
"mgg/google-book-closed",
|
138
|
+
"mgg/google-book-closed-outline",
|
139
|
+
"mgg/google-book-large",
|
140
|
+
"mgg/google-book-large-outline",
|
141
|
+
"mgg/google-book-opening",
|
142
|
+
"mgg/google-book-opening-outline",
|
118
143
|
"mgg/google-check-small",
|
119
144
|
"mgg/google-experiment",
|
120
145
|
"mgg/google-face-retouching-off",
|
121
146
|
"mgg/google-hub",
|
122
147
|
"mgg/google-keyboard-double-arrow-down",
|
123
148
|
"mgg/google-keyboard-double-arrow-up",
|
149
|
+
"mgg/google-newsstand",
|
124
150
|
"mgg/google-place-item",
|
125
151
|
"mgg/group-assigned-automatically-system",
|
126
152
|
"mgg/group-ceased",
|
@@ -130,6 +156,7 @@
|
|
130
156
|
"mgg/historic-building",
|
131
157
|
"mgg/historic-building-unusable",
|
132
158
|
"mgg/home-hammer",
|
159
|
+
"mgg/home-link",
|
133
160
|
"mgg/home-number",
|
134
161
|
"mgg/inagibile",
|
135
162
|
"mgg/input-calendar-costs",
|
@@ -150,6 +177,10 @@
|
|
150
177
|
"mgg/logo-ilibro",
|
151
178
|
"mgg/map-marker-settings",
|
152
179
|
"mgg/masks-office",
|
180
|
+
"mgg/mdi-binoculars",
|
181
|
+
"mgg/mdi-graph-outline",
|
182
|
+
"mgg/mdi-microscope",
|
183
|
+
"mgg/mdi-telescope",
|
153
184
|
"mgg/military-draft",
|
154
185
|
"mgg/money-bag-settings",
|
155
186
|
"mgg/money-on-hand",
|
@@ -215,6 +246,7 @@
|
|
215
246
|
"mgg/settings-attachment",
|
216
247
|
"mgg/sign-shop",
|
217
248
|
"mgg/square-viewfinder",
|
249
|
+
"mgg/stacked-documents",
|
218
250
|
"mgg/stamp",
|
219
251
|
"mgg/status-progress-a-quarter",
|
220
252
|
"mgg/status-progress-complete",
|
@@ -224,6 +256,9 @@
|
|
224
256
|
"mgg/subtractive-permission",
|
225
257
|
"mgg/tea-light",
|
226
258
|
"mgg/terminal",
|
259
|
+
"mgg/tie",
|
260
|
+
"mgg/to-single-document",
|
261
|
+
"mgg/to-stacked-documents",
|
227
262
|
"mgg/todo",
|
228
263
|
"mgg/todo-action-businessman-view",
|
229
264
|
"mgg/todo-action-certificate",
|
@@ -261,8 +296,10 @@
|
|
261
296
|
"mgg/user-location",
|
262
297
|
"mgg/user-location-off",
|
263
298
|
"mgg/user-signed-out",
|
299
|
+
"mgg/user-substitution",
|
264
300
|
"mgg/view-chart-gantt",
|
265
301
|
"mgg/view-side-by-side",
|
302
|
+
"mgg/vote",
|
266
303
|
"mgg/warning-superscript",
|
267
304
|
"mgg/web-app-ansc",
|
268
305
|
"mgg/work-book",
|
@@ -293,6 +330,8 @@
|
|
293
330
|
"mi/baseline/css",
|
294
331
|
"mi/baseline/dark-mode",
|
295
332
|
"mi/baseline/description",
|
333
|
+
"mi/baseline/directions-run",
|
334
|
+
"mi/baseline/directions-walk",
|
296
335
|
"mi/baseline/done",
|
297
336
|
"mi/baseline/downhill-skiing",
|
298
337
|
"mi/baseline/eco",
|
@@ -301,7 +340,6 @@
|
|
301
340
|
"mi/baseline/explore",
|
302
341
|
"mi/baseline/file-download-done",
|
303
342
|
"mi/baseline/folder-zip",
|
304
|
-
"mi/baseline/groups",
|
305
343
|
"mi/baseline/horizontal-rule",
|
306
344
|
"mi/baseline/indeterminate-check-box",
|
307
345
|
"mi/baseline/info",
|
@@ -323,10 +361,16 @@
|
|
323
361
|
"mi/baseline/remove-circle",
|
324
362
|
"mi/baseline/route",
|
325
363
|
"mi/baseline/settings",
|
364
|
+
"mi/baseline/sports",
|
365
|
+
"mi/baseline/sports-soccer",
|
366
|
+
"mi/baseline/stadium",
|
326
367
|
"mi/baseline/terminal",
|
327
368
|
"mi/baseline/timer",
|
328
369
|
"mi/baseline/tv",
|
370
|
+
"mi/baseline/unfold-more",
|
329
371
|
"mi/baseline/videocam",
|
372
|
+
"mi/baseline/visibility",
|
373
|
+
"mi/baseline/visibility-off",
|
330
374
|
"mi/baseline/warning",
|
331
375
|
"mi/baseline/warning-amber",
|
332
376
|
"mi/baseline/web",
|
@@ -338,7 +382,6 @@
|
|
338
382
|
"mi/outline/schedule",
|
339
383
|
"mi/round/arrow-circle-down",
|
340
384
|
"mi/round/email",
|
341
|
-
"mi/round/groups",
|
342
385
|
"mi/round/menu",
|
343
386
|
"mi/round/more-vert",
|
344
387
|
"mi/round/person"
|
@@ -21,7 +21,16 @@
|
|
21
21
|
"mgg/address-book-off",
|
22
22
|
"mgg/address-book-on",
|
23
23
|
"mgg/adv-denied",
|
24
|
+
"mgg/ai-brain-outline",
|
25
|
+
"mgg/ai-brain",
|
26
|
+
"mgg/ai-message",
|
27
|
+
"mgg/ai-outline",
|
28
|
+
"mgg/ai-status-completed",
|
29
|
+
"mgg/ai-status-error",
|
30
|
+
"mgg/ai-status-processing",
|
31
|
+
"mgg/ai-status-suspended",
|
24
32
|
"mgg/alerts-pagopa",
|
33
|
+
"mgg/anpr",
|
25
34
|
"mgg/ansc",
|
26
35
|
"mgg/area-edificabile",
|
27
36
|
"mgg/area-weather",
|
@@ -33,6 +42,7 @@
|
|
33
42
|
"mgg/assignments-rejected",
|
34
43
|
"mgg/assignments-sorted",
|
35
44
|
"mgg/auto-awesome-motion",
|
45
|
+
"mgg/back-to-document",
|
36
46
|
"mgg/balance",
|
37
47
|
"mgg/bill",
|
38
48
|
"mgg/box-multiple",
|
@@ -73,9 +83,18 @@
|
|
73
83
|
"mgg/document-rename",
|
74
84
|
"mgg/download-csv",
|
75
85
|
"mgg/download-json",
|
86
|
+
"mgg/edit-article",
|
76
87
|
"mgg/electronic-document",
|
88
|
+
"mgg/email-assigned",
|
89
|
+
"mgg/email-open-blocked",
|
77
90
|
"mgg/email-open-check",
|
91
|
+
"mgg/email-open-lock",
|
78
92
|
"mgg/email-open-off",
|
93
|
+
"mgg/email-open-play",
|
94
|
+
"mgg/email-open-stop",
|
95
|
+
"mgg/email-open-user",
|
96
|
+
"mgg/email-open-view",
|
97
|
+
"mgg/email-to-assign",
|
79
98
|
"mgg/face-to-face-meeting",
|
80
99
|
"mgg/factory",
|
81
100
|
"mgg/farmer",
|
@@ -103,12 +122,19 @@
|
|
103
122
|
"mgg/fit-vertical",
|
104
123
|
"mgg/forwarded-with-a-single-sending",
|
105
124
|
"mgg/fullscreen-on-alt",
|
125
|
+
"mgg/google-book-closed-outline",
|
126
|
+
"mgg/google-book-closed",
|
127
|
+
"mgg/google-book-large-outline",
|
128
|
+
"mgg/google-book-large",
|
129
|
+
"mgg/google-book-opening-outline",
|
130
|
+
"mgg/google-book-opening",
|
106
131
|
"mgg/google-check-small",
|
107
132
|
"mgg/google-experiment",
|
108
133
|
"mgg/google-face-retouching-off",
|
109
134
|
"mgg/google-hub",
|
110
135
|
"mgg/google-keyboard-double-arrow-down",
|
111
136
|
"mgg/google-keyboard-double-arrow-up",
|
137
|
+
"mgg/google-newsstand",
|
112
138
|
"mgg/google-place-item",
|
113
139
|
"mgg/group-assigned-automatically-system",
|
114
140
|
"mgg/group-ceased",
|
@@ -118,6 +144,7 @@
|
|
118
144
|
"mgg/historic-building-unusable",
|
119
145
|
"mgg/historic-building",
|
120
146
|
"mgg/home-hammer",
|
147
|
+
"mgg/home-link",
|
121
148
|
"mgg/home-number",
|
122
149
|
"mgg/inagibile",
|
123
150
|
"mgg/input-calendar-costs",
|
@@ -138,6 +165,10 @@
|
|
138
165
|
"mgg/logo-ilibro",
|
139
166
|
"mgg/map-marker-settings",
|
140
167
|
"mgg/masks-office",
|
168
|
+
"mgg/mdi-binoculars",
|
169
|
+
"mgg/mdi-graph-outline",
|
170
|
+
"mgg/mdi-microscope",
|
171
|
+
"mgg/mdi-telescope",
|
141
172
|
"mgg/military-draft",
|
142
173
|
"mgg/money-bag-settings",
|
143
174
|
"mgg/money-on-hand",
|
@@ -203,6 +234,7 @@
|
|
203
234
|
"mgg/settings-attachment",
|
204
235
|
"mgg/sign-shop",
|
205
236
|
"mgg/square-viewfinder",
|
237
|
+
"mgg/stacked-documents",
|
206
238
|
"mgg/stamp",
|
207
239
|
"mgg/status-progress-a-quarter",
|
208
240
|
"mgg/status-progress-complete",
|
@@ -212,6 +244,9 @@
|
|
212
244
|
"mgg/subtractive-permission",
|
213
245
|
"mgg/tea-light",
|
214
246
|
"mgg/terminal",
|
247
|
+
"mgg/tie",
|
248
|
+
"mgg/to-single-document",
|
249
|
+
"mgg/to-stacked-documents",
|
215
250
|
"mgg/todo-action-businessman-view",
|
216
251
|
"mgg/todo-action-certificate",
|
217
252
|
"mgg/todo-action-contract",
|
@@ -249,8 +284,10 @@
|
|
249
284
|
"mgg/user-location-off",
|
250
285
|
"mgg/user-location",
|
251
286
|
"mgg/user-signed-out",
|
287
|
+
"mgg/user-substitution",
|
252
288
|
"mgg/view-chart-gantt",
|
253
289
|
"mgg/view-side-by-side",
|
290
|
+
"mgg/vote",
|
254
291
|
"mgg/warning-superscript",
|
255
292
|
"mgg/web-app-ansc",
|
256
293
|
"mgg/work-book"
|
package/src/type/autocomplete.ts
CHANGED
package/src/type/button.ts
CHANGED
package/src/type/date.ts
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
type ISO8601DateFormat<K, T> = K & { __isISO8601DateFormat: T };
|
2
|
+
|
3
|
+
// Defines a branded type for the date ISO 8601 string
|
4
|
+
type ISO8601Date = ISO8601DateFormat<string, 'ISO8601Date'>
|
5
|
+
|
6
|
+
// const validDate: ISO8601Date = sanitizeISO8601Date('2024-09-24T15:30:00Z')
|
7
|
+
|
8
|
+
export {
|
9
|
+
ISO8601Date,
|
10
|
+
}
|
package/src/type/input.ts
CHANGED
@@ -13,12 +13,28 @@ import baselineBorderAll from '@icon/mi/baseline/border-all.svg'
|
|
13
13
|
import baselineDescription from '@icon/mi/baseline/description.svg'
|
14
14
|
import mdiVectorCurve from '@icon/mdi/vector-curve.svg'
|
15
15
|
import baselineVideocam from '@icon/mi/baseline/videocam.svg'
|
16
|
+
import { ThemeFullVariantType } from '@type/variant'
|
17
|
+
|
18
|
+
type FileFormat =
|
19
|
+
| 'archive'
|
20
|
+
| 'attachment'
|
21
|
+
| 'audio'
|
22
|
+
| 'code'
|
23
|
+
| 'data'
|
24
|
+
| 'document'
|
25
|
+
| 'email'
|
26
|
+
| 'executable'
|
27
|
+
| 'image'
|
28
|
+
| 'markup'
|
29
|
+
| 'slide'
|
30
|
+
| 'spreadsheet'
|
31
|
+
| 'text'
|
32
|
+
| 'vector'
|
33
|
+
| 'video'
|
16
34
|
|
17
35
|
interface FileFormatVariant {
|
18
|
-
color: string
|
19
36
|
icon: string
|
20
|
-
|
21
|
-
variant: string
|
37
|
+
variant: ThemeFullVariantType
|
22
38
|
}
|
23
39
|
|
24
40
|
interface FileFormatVariants {
|
@@ -27,111 +43,78 @@ interface FileFormatVariants {
|
|
27
43
|
|
28
44
|
const fileFormatsVariant: FileFormatVariants = {
|
29
45
|
archive: {
|
30
|
-
color: 'fill-label-amaranth-04 text-label-amaranth-04',
|
31
46
|
icon: baselineFolderZip,
|
32
|
-
iconBackground: 'bg-label-amaranth-10',
|
33
47
|
variant: 'amaranth',
|
34
48
|
},
|
35
49
|
attachment: {
|
36
|
-
color: 'fill-tone-neutral-04 text-tone-neutral-04',
|
37
50
|
icon: baselineAttachFile,
|
38
|
-
iconBackground: 'bg-tone-neutral-10',
|
39
51
|
variant: 'dark',
|
40
52
|
},
|
41
53
|
audio: {
|
42
|
-
color: 'fill-label-violet-04 text-label-violet-04',
|
43
54
|
icon: baselineAudiotrack,
|
44
|
-
iconBackground: 'bg-label-violet-10',
|
45
55
|
variant: 'violet',
|
46
56
|
},
|
47
57
|
code: {
|
48
|
-
color: 'fill-label-yellow-04 text-label-yellow-04',
|
49
58
|
icon: baselineTerminal,
|
50
|
-
iconBackground: 'bg-label-yellow-10',
|
51
59
|
variant: 'yellow',
|
52
60
|
},
|
53
61
|
data: {
|
54
|
-
color: 'fill-label-yellow-04 text-label-yellow-04',
|
55
62
|
icon: mdiHardDisk,
|
56
|
-
iconBackground: 'bg-label-yellow-10',
|
57
63
|
variant: 'yellow',
|
58
64
|
},
|
59
65
|
document: {
|
60
|
-
color: 'fill-label-orange-04 text-label-orange-04',
|
61
66
|
icon: baselineInsertDriveFile,
|
62
|
-
iconBackground: 'bg-label-orange-10',
|
63
67
|
variant: 'orange',
|
64
68
|
},
|
65
69
|
email: {
|
66
|
-
color: 'fill-label-blue-04 text-label-blue-04',
|
67
70
|
icon: baselineEmail,
|
68
|
-
iconBackground: 'bg-label-blue-10',
|
69
71
|
variant: 'blue',
|
70
72
|
},
|
71
73
|
executable: {
|
72
|
-
color: 'fill-label-amaranth-04 text-label-amaranth-04',
|
73
74
|
icon: baselineWysiwyg,
|
74
|
-
iconBackground: 'bg-label-amaranth-10',
|
75
75
|
variant: 'amaranth',
|
76
76
|
},
|
77
77
|
image: {
|
78
|
-
color: 'fill-label-green-04 text-label-green-04',
|
79
78
|
icon: baselinePanorama,
|
80
|
-
iconBackground: 'bg-label-green-10',
|
81
79
|
variant: 'green',
|
82
80
|
},
|
83
81
|
imageRaster: {
|
84
|
-
color: 'fill-label-green-04 text-label-green-04',
|
85
82
|
icon: baselinePanorama,
|
86
|
-
iconBackground: 'bg-label-green-10',
|
87
83
|
variant: 'green',
|
88
84
|
},
|
89
85
|
markup: {
|
90
|
-
color: 'fill-label-yellow-04 text-label-yellow-04',
|
91
86
|
icon: baselineWeb,
|
92
|
-
iconBackground: 'bg-label-yellow-10',
|
93
87
|
variant: 'yellow',
|
94
88
|
},
|
95
89
|
slide: {
|
96
|
-
color: 'fill-label-orchid-04 text-label-orchid-04',
|
97
90
|
icon: baselineTV,
|
98
|
-
iconBackground: 'bg-label-orchid-10',
|
99
91
|
variant: 'orchid',
|
100
92
|
},
|
101
93
|
spreadsheet: {
|
102
|
-
color: 'fill-label-lime-04 text-label-lime-04',
|
103
94
|
icon: baselineBorderAll,
|
104
|
-
iconBackground: 'bg-label-lime-10',
|
105
95
|
variant: 'lime',
|
106
96
|
},
|
107
97
|
text: {
|
108
|
-
color: 'fill-label-blue-04 text-label-blue-04',
|
109
98
|
icon: baselineDescription,
|
110
|
-
iconBackground: 'bg-label-blue-10',
|
111
99
|
variant: 'blue',
|
112
100
|
},
|
113
101
|
vectorImage: {
|
114
|
-
color: 'fill-label-aqua-04 text-label-aqua-04',
|
115
102
|
icon: mdiVectorCurve,
|
116
|
-
iconBackground: 'bg-label-aqua-10',
|
117
103
|
variant: 'aqua',
|
118
104
|
},
|
119
105
|
vector: {
|
120
|
-
color: 'fill-label-aqua-04 text-label-aqua-04',
|
121
106
|
icon: mdiVectorCurve,
|
122
|
-
iconBackground: 'bg-label-aqua-10',
|
123
107
|
variant: 'aqua',
|
124
108
|
},
|
125
109
|
video: {
|
126
|
-
color: 'fill-label-violet-04 text-label-violet-04',
|
127
110
|
icon: baselineVideocam,
|
128
|
-
iconBackground: 'bg-label-violet-10',
|
129
111
|
variant: 'violet',
|
130
112
|
},
|
131
113
|
}
|
132
114
|
|
133
115
|
export {
|
134
116
|
fileFormatsVariant,
|
117
|
+
FileFormat,
|
135
118
|
FileFormatVariant,
|
136
119
|
FileFormatVariants,
|
137
120
|
}
|
package/src/type/variant.ts
CHANGED
@@ -69,6 +69,15 @@ export type ActionVariantType =
|
|
69
69
|
| 'dark'
|
70
70
|
| 'light'
|
71
71
|
|
72
|
+
export type ChipVariantType =
|
73
|
+
| 'primary'
|
74
|
+
| 'secondary'
|
75
|
+
| 'dark'
|
76
|
+
| 'error'
|
77
|
+
| 'info'
|
78
|
+
| 'success'
|
79
|
+
| 'warning'
|
80
|
+
|
72
81
|
export type StateVariantType =
|
73
82
|
| 'disabled'
|
74
83
|
| 'focused'
|
@@ -77,7 +86,6 @@ export type StateVariantType =
|
|
77
86
|
export type ToneActionVariantType =
|
78
87
|
| 'primary' // background strong
|
79
88
|
| 'secondary' // background weak
|
80
|
-
| 'tertiary' // no background, no border
|
81
89
|
| 'strong' // background strong
|
82
90
|
| 'weak' // background weak
|
83
91
|
| 'ghost' // bordered
|
@@ -90,9 +98,9 @@ export type ToneVariantType =
|
|
90
98
|
| 'quiet' // no background, no border
|
91
99
|
|
92
100
|
export type ToneSimpleVariantType =
|
101
|
+
| 'quiet'
|
93
102
|
| 'strong'
|
94
103
|
| 'weak'
|
95
|
-
| 'quiet'
|
96
104
|
|
97
105
|
export type ToneMinimalVariantType =
|
98
106
|
| 'strong'
|
@@ -1 +1 @@
|
|
1
|
-
import{p as t,b as p}from"./p-
|
1
|
+
import{p as t,b as p}from"./p-3e967425.js";export{s as setNonce}from"./p-3e967425.js";import{g as e}from"./p-e1255160.js";(()=>{const s=import.meta.url,p={};return""!==s&&(p.resourcesUrl=new URL(".",s).href),t(p)})().then((async s=>(await e(),p([["p-4486a5e4",[[1,"mds-input-tip",{active:[516],position:[513]}]]]],s))));
|
@@ -115,7 +115,7 @@ DOMTokenList
|
|
115
115
|
var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
|
116
116
|
var start = function() {
|
117
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-
|
118
|
+
var url = new URL('./p-c915dfb3.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
|
119
119
|
System.import(url.href);
|
120
120
|
};
|
121
121
|
|
@@ -0,0 +1,2 @@
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(r,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n))e[n]=r[n]};return e(r,n)};return function(r,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(r,n);function t(){this.constructor=r}r.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(e,r,n,t){function a(e){return e instanceof n?e:new n((function(r){r(e)}))}return new(n||(n=Promise))((function(n,i){function f(e){try{o(t.next(e))}catch(e){i(e)}}function u(e){try{o(t["throw"](e))}catch(e){i(e)}}function o(e){e.done?n(e.value):a(e.value).then(f,u)}o((t=t.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},t,a,i,f;return f={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(f[Symbol.iterator]=function(){return this}),f;function u(e){return function(r){return o([e,r])}}function o(u){if(t)throw new TypeError("Generator is already executing.");while(f&&(f=0,u[0]&&(n=0)),n)try{if(t=1,a&&(i=u[0]&2?a["return"]:u[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;if(a=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;a=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){n.label=u[1];break}if(u[0]===6&&n.label<i[1]){n.label=i[1];i=u;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(u);break}if(i[2])n.ops.pop();n.trys.pop();continue}u=r.call(e,n)}catch(e){u=[6,e];a=0}finally{t=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,r,n){if(n||arguments.length===2)for(var t=0,a=r.length,i;t<a;t++){if(i||!(t in r)){if(!i)i=Array.prototype.slice.call(r,0,t);i[t]=r[t]}}return e.concat(i||Array.prototype.slice.call(r))};System.register([],(function(e,r){"use strict";return{execute:function(){var n=this;var t="mds-input-tip";var a={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:false,cmpDidRender:false,cmpDidUnload:false,cmpDidUpdate:false,cmpShouldUpdate:false,cmpWillLoad:false,cmpWillRender:false,cmpWillUpdate:false,connectedCallback:false,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:false,element:false,event:false,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:false,hostListenerTarget:false,hostListenerTargetBody:false,hostListenerTargetDocument:false,hostListenerTargetParent:false,hostListenerTargetWindow:false,hotModuleReplacement:false,hydrateClientSide:false,hydrateServerSide:false,hydratedAttribute:true,hydratedClass:false,hydratedSelectorName:"hydrated",initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:false,lifecycleDOMEvents:false,member:true,method:false,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:false,propNumber:false,propString:true,reflect:true,scoped:false,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:true,slot:true,slotChildNodesFix:false,slotRelocation:false,state:false,style:true,svg:false,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:false,vdomFunctional:false,vdomKey:true,vdomListener:false,vdomPropOrAttr:true,vdomRef:false,vdomRender:true,vdomStyle:false,vdomText:false,vdomXlink:false,watchCallback:false};var i=Object.defineProperty;var f=function(e,r){for(var n in r)i(e,n,{get:r[n],enumerable:true})};var u=new WeakMap;var o=function(e){return u.get(e)};var l=e("r",(function(e,r){return u.set(r.t=e,r)}));var s=function(e,r){var n={i:0,$hostElement$:e,u:r,o:new Map};{n.l=new Promise((function(e){return n.v=e}));e["s-p"]=[];e["s-rc"]=[]}return u.set(e,n)};var c=function(e,r){return r in e};var v=function(e,r){return(0,console.error)(e,r)};var d=new Map;var h=function(e,n,t){var a=e.h.replace(/-/g,"_");var i=e.p;if(!i){return void 0}var f=d.get(i);if(f){return f[a]}
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return r.import("./".concat(i,".entry.js").concat("")).then((function(e){{d.set(i,e)}return e[a]}),v)};var p=new Map;var m="{visibility:hidden}[hydrated]{visibility:inherit}";var y="slot-fb{display:contents}slot-fb[hidden]{display:none}";var w=typeof window!=="undefined"?window:{};var b=w.document||{head:{}};var S={i:0,m:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,r,n,t){return e.addEventListener(r,n,t)},rel:function(e,r,n,t){return e.removeEventListener(r,n,t)},ce:function(e,r){return new CustomEvent(e,r)}};var g=e("p",(function(e){return Promise.resolve(e)}));var _=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var $=false;var k=[];var A=[];var C=function(e,r){return function(n){e.push(n);if(!$){$=true;if(r&&S.i&4){O(j)}else{S.raf(j)}}}};var x=function(e){for(var r=0;r<e.length;r++){try{e[r](performance.now())}catch(e){v(e)}}e.length=0};var j=function(){x(k);{x(A);if($=k.length>0){S.raf(j)}}};var O=function(e){return g().then(e)};var T=C(A,true);var E={};var D=function(e){return e!=null};var L=function(e){e=typeof e;return e==="object"||e==="function"};function M(e){var r,n,t;return(t=(n=(r=e.head)==null?void 0:r.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?t:void 0}var F={};f(F,{err:function(){return R},map:function(){return N},ok:function(){return P},unwrap:function(){return U},unwrapErr:function(){return W}});var P=function(e){return{isOk:true,isErr:false,value:e}};var R=function(e){return{isOk:false,isErr:true,value:e}};function N(e,r){if(e.isOk){var n=r(e.value);if(n instanceof Promise){return n.then((function(e){return P(e)}))}else{return P(n)}}if(e.isErr){var t=e.value;return R(t)}throw"should never get here"}var U=function(e){if(e.isOk){return e.value}else{throw e.value}};var W=function(e){if(e.isErr){return e.value}else{throw e.value}};var H=function(e,r){if(r===void 0){r=""}{return function(){return}}};var z=function(e,r){{return function(){return}}};var B=e("h",(function(e,r){var n=[];for(var t=2;t<arguments.length;t++){n[t-2]=arguments[t]}var a=null;var i=null;var f=false;var u=false;var o=[];var l=function(r){for(var n=0;n<r.length;n++){a=r[n];if(Array.isArray(a)){l(a)}else if(a!=null&&typeof a!=="boolean"){if(f=typeof e!=="function"&&!L(a)){a=String(a)}if(f&&u){o[o.length-1].S+=a}else{o.push(f?G(null,a):a)}u=f}}};l(n);if(r){if(r.key){i=r.key}}var s=G(e,null);s._=r;if(o.length>0){s.$=o}{s.k=i}return s}));var G=function(e,r){var n={i:0,A:e,S:r,C:null,$:null};{n._=null}{n.k=null}return n};var Q=e("H",{});var q=function(e){return e&&e.A===Q};var I=function(e,r){if(e!=null&&!L(e)){if(r&4){return e==="false"?false:e===""||!!e}if(r&1){return String(e)}return e}return e};var K=function(e,r,n){var t=S.ce(r,n);e.dispatchEvent(t);return t};var V=new WeakMap;var X=function(e,r,n){var t=p.get(e);if(_&&n){t=t||new CSSStyleSheet;if(typeof t==="string"){t=r}else{t.replaceSync(r)}}else{t=r}p.set(e,t)};var J=function(e,r,n){var t;var a=Z(r);var i=p.get(a);e=e.nodeType===11?e:b;if(i){if(typeof i==="string"){e=e.head||e;var f=V.get(e);var u=void 0;if(!f){V.set(e,f=new Set)}if(!f.has(a)){{u=b.createElement("style");u.innerHTML=i;var o=(t=S.j)!=null?t:M(b);if(o!=null){u.setAttribute("nonce",o)}if(!(r.i&1)){if(e.nodeName==="HEAD"){var l=e.querySelectorAll("link[rel=preconnect]");var s=l.length>0?l[l.length-1].nextSibling:e.querySelector("style");e.insertBefore(u,s)}else if("host"in e){if(_){var c=new CSSStyleSheet;c.replaceSync(i);e.adoptedStyleSheets=__spreadArray([c],e.adoptedStyleSheets,true)}else{var v=e.querySelector("style");if(v){v.innerHTML=i+v.innerHTML}else{e.prepend(u)}}}else{e.append(u)}}if(r.i&1&&e.nodeName!=="HEAD"){e.insertBefore(u,null)}}if(r.i&4){u.innerHTML+=y}if(f){f.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var Y=function(e){var r=e.u;var n=e.$hostElement$;var t=r.i;var a=H("attachStyles",r.h);var i=J(n.shadowRoot?n.shadowRoot:n.getRootNode(),r);if(t&10&&t&2){n["s-sc"]=i;n.classList.add(i+"-h")}a()};var Z=function(e,r){return"sc-"+e.h};var ee=function(e,r,n,t,a,i){if(n!==t){var f=c(e,r);r.toLowerCase();if(r==="key");else{var u=L(t);if((f||u&&t!==null)&&!a){try{if(!e.tagName.includes("-")){var o=t==null?"":t;if(r==="list"){f=false}else if(n==null||e[r]!=o){if(typeof e.__lookupSetter__(r)==="function"){e[r]=o}else{e.setAttribute(r,o)}}}else{e[r]=t}}catch(e){}}if(t==null||t===false){if(t!==false||e.getAttribute(r)===""){{e.removeAttribute(r)}}}else if((!f||i&4||a)&&!u){t=t===true?"":t;{e.setAttribute(r,t)}}}}};var re=function(e,r,n){var t=r.C.nodeType===11&&r.C.host?r.C.host:r.C;var a=e&&e._||E;var i=r._||E;{for(var f=0,u=ne(Object.keys(a));f<u.length;f++){var o=u[f];if(!(o in i)){ee(t,o,a[o],void 0,n,r.i)}}}for(var l=0,s=ne(Object.keys(i));l<s.length;l++){var o=s[l];ee(t,o,a[o],i[o],n,r.i)}};function ne(e){return e.includes("ref")?__spreadArray(__spreadArray([],e.filter((function(e){return e!=="ref"})),true),["ref"],false):e}var te;var ae;var ie=false;var fe=false;var ue=function(e,r,n,t){var i=r.$[n];var f=0;var u;var o;{u=i.C=b.createElement(!ie&&a.slotRelocation&&i.i&2?"slot-fb":i.A);{re(null,i,fe)}var l=u.getRootNode();var s=!l.querySelector("body");if(!s&&a.scoped&&D(te)&&u["s-si"]!==te){u.classList.add(u["s-si"]=te)}if(i.$){for(f=0;f<i.$.length;++f){o=ue(e,i,f);if(o){u.appendChild(o)}}}}u["s-hn"]=ae;return u};var oe=function(e,r,n,t,a,i){var f=e;var u;if(f.shadowRoot&&f.tagName===ae){f=f.shadowRoot}for(;a<=i;++a){if(t[a]){u=ue(null,n,a);if(u){t[a].C=u;de(f,u,r)}}}};var le=function(e,r,n){for(var t=r;t<=n;++t){var a=e[t];if(a){var i=a.C;if(i){i.remove()}}}};var se=function(e,r,n,t,a){if(a===void 0){a=false}var i=0;var f=0;var u=0;var o=0;var l=r.length-1;var s=r[0];var c=r[l];var v=t.length-1;var d=t[0];var h=t[v];var p;var m;while(i<=l&&f<=v){if(s==null){s=r[++i]}else if(c==null){c=r[--l]}else if(d==null){d=t[++f]}else if(h==null){h=t[--v]}else if(ce(s,d,a)){ve(s,d,a);s=r[++i];d=t[++f]}else if(ce(c,h,a)){ve(c,h,a);c=r[--l];h=t[--v]}else if(ce(s,h,a)){ve(s,h,a);de(e,s.C,c.C.nextSibling);s=r[++i];h=t[--v]}else if(ce(c,d,a)){ve(c,d,a);de(e,c.C,s.C);c=r[--l];d=t[++f]}else{u=-1;{for(o=i;o<=l;++o){if(r[o]&&r[o].k!==null&&r[o].k===d.k){u=o;break}}}if(u>=0){m=r[u];if(m.A!==d.A){p=ue(r&&r[f],n,u)}else{ve(m,d,a);r[u]=void 0;p=m.C}d=t[++f]}else{p=ue(r&&r[f],n,f);d=t[++f]}if(p){{de(s.C.parentNode,p,s.C)}}}}if(i>l){oe(e,t[v+1]==null?null:t[v+1].C,n,t,f,v)}else if(f>v){le(r,i,l)}};var ce=function(e,r,n){if(n===void 0){n=false}if(e.A===r.A){if(!n){return e.k===r.k}return true}return false};var ve=function(e,r,n){if(n===void 0){n=false}var t=r.C=e.C;var i=e.$;var f=r.$;var u=r.A;{{if(u==="slot"&&!ie);else{re(e,r,fe)}}if(i!==null&&f!==null){se(t,i,r,f,n)}else if(f!==null){oe(t,null,r,f,0,f.length-1)}else if(!n&&a.updatable&&i!==null){le(i,0,i.length-1)}}};var de=function(e,r,n){var t=e==null?void 0:e.insertBefore(r,n);return t};var he=function(e,r,n){if(n===void 0){n=false}var t=e.$hostElement$;var a=e.u;var i=e.O||G(null,null);var f=q(r)?r:B(null,null,r);ae=t.tagName;if(a.T){f._=f._||{};a.T.map((function(e){var r=e[0],n=e[1];return f._[n]=t[r]}))}if(n&&f._){for(var u=0,o=Object.keys(f._);u<o.length;u++){var l=o[u];if(t.hasAttribute(l)&&!["key","ref","style","class"].includes(l)){f._[l]=t[l]}}}f.A=null;f.i|=4;e.O=f;f.C=i.C=t.shadowRoot||t;{te=t["s-sc"]}ie=(a.i&1)!==0;ve(i,f,n)};var pe=function(e,r){if(r&&!e.D&&r["s-p"]){r["s-p"].push(new Promise((function(r){return e.D=r})))}};var me=function(e,r){{e.i|=16}if(e.i&4){e.i|=512;return}pe(e,e.L);var n=function(){return ye(e,r)};return T(n)};var ye=function(e,r){var n=e.$hostElement$;var t=H("scheduleUpdate",e.u.h);var a=e.t;if(!a){throw new Error("Can't render component <".concat(n.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"))}var i;t();return we(i,(function(){return Se(e,a,r)}))};var we=function(e,r){return be(e)?e.then(r).catch((function(e){console.error(e);r()})):r()};var be=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var Se=function(e,r,t){return __awaiter(n,void 0,void 0,(function(){var n,a,i,f,u,o,l;return __generator(this,(function(s){a=e.$hostElement$;i=H("update",e.u.h);f=a["s-rc"];if(t){Y(e)}u=H("render",e.u.h);{ge(e,r,a,t)}if(f){f.map((function(e){return e()}));a["s-rc"]=void 0}u();i();{o=(n=a["s-p"])!=null?n:[];l=function(){return _e(e)};if(o.length===0){l()}else{Promise.all(o).then(l);e.i|=4;o.length=0}}return[2]}))}))};var ge=function(e,r,n,t){try{r=r.render();{e.i&=~16}{e.i|=2}{{{he(e,r,t)}}}}catch(r){v(r,e.$hostElement$)}return null};var _e=function(e){var r=e.u.h;var n=e.$hostElement$;var t=H("postUpdate",r);var a=e.L;if(!(e.i&64)){e.i|=64;{ke(n)}t();{e.v(n);if(!a){$e()}}}else{t()}{if(e.D){e.D();e.D=void 0}if(e.i&512){O((function(){return me(e,false)}))}e.i&=~(4|512)}};var $e=function(e){{ke(b.documentElement)}O((function(){return K(w,"appload",{detail:{namespace:t}})}))};var ke=function(e){var r;return e.setAttribute((r=a.hydratedSelectorName)!=null?r:"hydrated","")};var Ae=function(e,r){return o(e).o.get(r)};var Ce=function(e,r,n,t){var a=o(e);if(!a){throw new Error("Couldn't find host element for \"".concat(t.h,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).'))}var i=a.o.get(r);var f=a.i;var u=a.t;n=I(n,t.M[r][0]);var l=Number.isNaN(i)&&Number.isNaN(n);var s=n!==i&&!l;if((!(f&8)||i===void 0)&&s){a.o.set(r,n);if(u){if((f&(2|16))===2){me(a,false)}}}};var xe=function(e,r,n){var t,i;var f=e.prototype;if(r.M||a.watchCallback){var u=Object.entries((t=r.M)!=null?t:{});u.map((function(e){var t=e[0],a=e[1][0];if(a&31||n&2&&a&32){Object.defineProperty(f,t,{get:function(){return Ae(this,t)},set:function(e){Ce(this,t,e,r)},configurable:true,enumerable:true})}}));if(n&1){var l=new Map;f.attributeChangedCallback=function(e,n,t){var a=this;S.jmp((function(){var i;var u=l.get(e);if(a.hasOwnProperty(u)){t=a[u];delete a[u]}else if(f.hasOwnProperty(u)&&typeof a[u]==="number"&&a[u]==t){return}else if(u==null){var s=o(a);var c=s==null?void 0:s.i;if(c&&!(c&8)&&c&128&&t!==n){var v=s.t;var d=(i=r.F)==null?void 0:i[e];d==null?void 0:d.forEach((function(r){if(v[r]!=null){v[r].call(v,t,n,e)}}))}return}a[u]=t===null&&typeof a[u]==="boolean"?false:t}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((i=r.F)!=null?i:{}),true),u.filter((function(e){var r=e[0],n=e[1];return n[0]&15})).map((function(e){var n=e[0],t=e[1];var a;var i=t[1]||n;l.set(i,n);if(t[0]&512){(a=r.T)==null?void 0:a.push([n,i])}return i})),true)))}}return e};var je=function(e,r,t,a){return __awaiter(n,void 0,void 0,(function(){var n,a,i,f,u,o,l,s,c,d,m;return __generator(this,(function(y){switch(y.label){case 0:if(!((r.i&32)===0))return[3,6];r.i|=32;a=t.p;if(!a)return[3,4];i=h(t);if(!(i&&"then"in i))return[3,2];f=z();return[4,i];case 1:n=y.sent();f();return[3,3];case 2:n=i;y.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(t.h,"#").concat(r.P,'" was not found'))}if(!n.isProxied){xe(n,t,2);n.isProxied=true}u=H("createInstance",t.h);{r.i|=8}try{new n(r)}catch(e){v(e)}{r.i&=~8}u();return[3,5];case 4:n=e.constructor;o=e.localName;customElements.whenDefined(o).then((function(){return r.i|=128}));y.label=5;case 5:if(n&&n.style){l=void 0;if(typeof n.style==="string"){l=n.style}s=Z(t);if(!p.has(s)){c=H("registerStyles",t.h);X(s,l,!!(t.i&1));c()}}y.label=6;case 6:d=r.L;m=function(){return me(r,true)};if(d&&d["s-rc"]){d["s-rc"].push(m)}else{m()}return[2]}}))}))};var Oe=function(e){};var Te=function(e){if((S.i&1)===0){var r=o(e);var n=r.u;var t=H("connectedCallback",n.h);if(!(r.i&1)){r.i|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){pe(r,r.L=a);break}}}if(n.M){Object.entries(n.M).map((function(r){var n=r[0],t=r[1][0];if(t&31&&e.hasOwnProperty(n)){var a=e[n];delete e[n];e[n]=a}}))}{je(e,r,n)}}else{if(r==null?void 0:r.t);else if(r==null?void 0:r.l){r.l.then((function(){return Oe()}))}}t()}};var Ee=function(e){};var De=function(e){return __awaiter(n,void 0,void 0,(function(){var r;return __generator(this,(function(n){if((S.i&1)===0){r=o(e);if(r==null?void 0:r.t);else if(r==null?void 0:r.l){r.l.then((function(){return Ee()}))}}return[2]}))}))};var Le=e("b",(function(e,r){if(r===void 0){r={}}var n;var t=H();var a=[];var i=r.exclude||[];var f=w.customElements;var u=b.head;var l=u.querySelector("meta[charset]");var c=b.createElement("style");var v=[];var d;var h=true;Object.assign(S,r);S.m=new URL(r.resourcesUrl||"./",b.baseURI).href;var p=false;e.map((function(e){e[1].map((function(r){var n={i:r[0],h:r[1],M:r[2],R:r[3]};if(n.i&4){p=true}{n.M=r[2]}{n.T=[]}var t=n.h;var u=function(e){__extends(r,e);function r(r){var t=e.call(this,r)||this;t.hasRegisteredEventListeners=false;r=t;s(r,n);if(n.i&1){{if(!r.shadowRoot){{r.attachShadow({mode:"open"})}}else{if(r.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(n.h,"! Mode is set to ").concat(r.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return t}r.prototype.connectedCallback=function(){var e=this;o(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true}if(d){clearTimeout(d);d=null}if(h){v.push(this)}else{S.jmp((function(){return Te(e)}))}};r.prototype.disconnectedCallback=function(){var e=this;S.jmp((function(){return De(e)}))};r.prototype.componentOnReady=function(){return o(this).l};return r}(HTMLElement);n.p=e[0];if(!i.includes(t)&&!f.get(t)){a.push(t);f.define(t,xe(u,n,1))}}))}));if(a.length>0){if(p){c.textContent+=y}{c.textContent+=a.sort()+m}if(c.innerHTML.length){c.setAttribute("data-styles","");var g=(n=S.j)!=null?n:M(b);if(g!=null){c.setAttribute("nonce",g)}u.insertBefore(c,l?l.nextSibling:u.firstChild)}}h=false;if(v.length){v.map((function(e){return e.connectedCallback()}))}else{{S.jmp((function(){return d=setTimeout($e,30)}))}}t()}));var Me=e("s",(function(e){return S.j=e}))}}}));
|
@@ -0,0 +1,2 @@
|
|
1
|
+
var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),l=(e,n)=>t.set(n.t=e,n),o=(e,t)=>(0,console.error)(e,t),s=new Map,r=new Map,i="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="undefined"!=typeof window?window:{},u=c.document||{head:{}},a={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},f=e=>Promise.resolve(e),h=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),p=!1,d=[],m=[],y=(e,t)=>n=>{e.push(n),p||(p=!0,t&&4&a.l?v(w):a.raf(w))},$=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){o(e)}e.length=0},w=()=>{$(d),$(m),(p=d.length>0)&&a.raf(w)},v=e=>f().then(e),b=y(m,!0),S={},g=e=>"object"==(e=typeof e)||"function"===e;function k(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>E,map:()=>O,ok:()=>j,unwrap:()=>M,unwrapErr:()=>P});var j=e=>({isOk:!0,isErr:!1,value:e}),E=e=>({isOk:!1,isErr:!0,value:e});function O(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>j(e))):j(n)}if(e.isErr)return E(e.value);throw"should never get here"}var C,M=e=>{if(e.isOk)return e.value;throw e.value},P=e=>{if(e.isErr)return e.value;throw e.value},x=(e,t,...n)=>{let l=null,o=null,s=!1,r=!1;const i=[],c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!g(l))&&(l+=""),s&&r?i[i.length-1].i+=l:i.push(s?A(null,l):l),r=s)};c(n),t&&t.key&&(o=t.key);const u=A(e,null);return u.u=t,i.length>0&&(u.h=i),u.p=o,u},A=(e,t)=>({l:0,m:e,i:t,$:null,h:null,u:null,p:null}),H={},T=new WeakMap,D=e=>"sc-"+e.v,N=(e,t,n,l,o,s)=>{if(n!==l){let r=((e,t)=>t in e)(e,t);if(t.toLowerCase(),"key"===t);else{const i=g(l);if((r||i&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||("function"==typeof e.__lookupSetter__(t)?e[t]=o:e.setAttribute(t,o))}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&s||o)&&!i&&e.setAttribute(t,l=!0===l?"":l)}}},R=(e,t,n)=>{const l=11===t.$.nodeType&&t.$.host?t.$.host:t.$,o=e&&e.u||S,s=t.u||S;for(const e of U(Object.keys(o)))e in s||N(l,e,o[e],void 0,n,t.l);for(const e of U(Object.keys(s)))N(l,e,o[e],s[e],n,t.l)};function U(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var F=!1,L=!1,W=(e,t,n)=>{const l=t.h[n];let o,s,r=0;if(o=l.$=u.createElement(l.m),R(null,l,L),o.getRootNode().querySelector("body"),l.h)for(r=0;r<l.h.length;++r)s=W(e,l,r),s&&o.appendChild(s);return o["s-hn"]=C,o},q=(e,t,n,l,o,s)=>{let r,i=e;for(i.shadowRoot&&i.tagName===C&&(i=i.shadowRoot);o<=s;++o)l[o]&&(r=W(null,n,o),r&&(l[o].$=r,z(i,r,t)))},G=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.$;e&&e.remove()}}},V=(e,t,n=!1)=>e.m===t.m&&(!!n||e.p===t.p),_=(e,t,n=!1)=>{const l=t.$=e.$,o=e.h,s=t.h;("slot"!==t.m||F)&&R(e,t,L),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=t.length-1,h=t[0],p=t[f],d=l.length-1,m=l[0],y=l[d];for(;i<=f&&c<=d;)if(null==h)h=t[++i];else if(null==p)p=t[--f];else if(null==m)m=l[++c];else if(null==y)y=l[--d];else if(V(h,m,o))_(h,m,o),h=t[++i],m=l[++c];else if(V(p,y,o))_(p,y,o),p=t[--f],y=l[--d];else if(V(h,y,o))_(h,y,o),z(e,h.$,p.$.nextSibling),h=t[++i],y=l[--d];else if(V(p,m,o))_(p,m,o),z(e,p.$,h.$),p=t[--f],m=l[++c];else{for(u=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(r=t[u],r.m!==m.m?s=W(t&&t[c],n,u):(_(r,m,o),t[u]=void 0,s=r.$),m=l[++c]):(s=W(t&&t[c],n,c),m=l[++c]),s&&z(h.$.parentNode,s,h.$)}i>f?q(e,null==l[d+1]?null:l[d+1].$,n,l,c,d):c>d&&G(t,i,f)})(l,o,t,s,n):null!==s?q(l,null,t,s,0,s.length-1):!n&&null!==o&&G(o,0,o.length-1)},z=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),B=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},I=(e,t)=>{if(e.l|=16,!(4&e.l))return B(e,e.k),b((()=>J(e,t)));e.l|=512},J=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);return K(void 0,(()=>X(e,n,t)))},K=(e,t)=>Q(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),Q=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,X=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.j,n=e.$hostElement$,l=t.l,o=((e,t)=>{var n;const l=D(t),o=r.get(l);if(e=11===e.nodeType?e:u,o)if("string"==typeof o){let s,r=T.get(e=e.head||e);if(r||T.set(e,r=new Set),!r.has(l)){{s=u.createElement("style"),s.innerHTML=o;const l=null!=(n=a.O)?n:k(u);if(null!=l&&s.setAttribute("nonce",l),!(1&t.l))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,n)}else if("host"in e)if(h){const t=new CSSStyleSheet;t.replaceSync(o),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=o+t.innerHTML:e.prepend(s)}else e.append(s);1&t.l&&"HEAD"!==e.nodeName&&e.insertBefore(s,null)}4&t.l&&(s.innerHTML+=i),r&&r.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&2&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);Y(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>Z(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},Y=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.j,s=e.C||A(null,null),r=(e=>e&&e.m===H)(t)?t:x(null,null,t);if(C=l.tagName,o.M&&(r.u=r.u||{},o.M.map((([e,t])=>r.u[t]=l[e]))),n&&r.u)for(const e of Object.keys(r.u))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(r.u[e]=l[e]);r.m=null,r.l|=4,e.C=r,r.$=s.$=l.shadowRoot||l,F=!!(1&o.l),_(s,r,n)})(e,t,l)}catch(t){o(t,e.$hostElement$)}return null},Z=e=>{const t=e.$hostElement$,n=e.k;64&e.l||(e.l|=64,te(t),e.P(t),n||ee()),e.S&&(e.S(),e.S=void 0),512&e.l&&v((()=>I(e,!1))),e.l&=-517},ee=()=>{te(u.documentElement),v((()=>(e=>{const t=a.ce("appload",{detail:{namespace:"mds-input-tip"}});return e.dispatchEvent(t),t})(c)))},te=e=>e.setAttribute("hydrated",""),ne=(e,t,l)=>{var o,s;const r=e.prototype;if(t.A){const i=Object.entries(null!=(o=t.A)?o:{});if(i.map((([e,[o]])=>{(31&o||2&l&&32&o)&&Object.defineProperty(r,e,{get(){return((e,t)=>n(this).H.get(t))(0,e)},set(l){((e,t,l,o)=>{const s=n(e);if(!s)throw Error(`Couldn't find host element for "${o.v}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=s.H.get(t),i=s.l,c=s.t;l=((e,t)=>null==e||g(e)?e:4&t?"false"!==e&&(""===e||!!e):1&t?e+"":e)(l,o.A[t][0]),8&i&&void 0!==r||l===r||Number.isNaN(r)&&Number.isNaN(l)||(s.H.set(t,l),c&&2==(18&i)&&I(s,!1))})(this,e,l,t)},configurable:!0,enumerable:!0})})),1&l){const l=new Map;r.attributeChangedCallback=function(e,o,s){a.jmp((()=>{var i;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(r.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),r=null==l?void 0:l.l;if(r&&!(8&r)&&128&r&&s!==o){const n=l.t,r=null==(i=t.T)?void 0:i[e];null==r||r.forEach((t=>{null!=n[t]&&n[t].call(n,s,o,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=t.T)?s:{}),...i.filter((([e,t])=>15&t[0])).map((([e,n])=>{var o;const s=n[1]||e;return l.set(s,e),512&n[0]&&(null==(o=t.M)||o.push([e,s])),s}))]))}}return e},le=(e,l={})=>{var f;const p=[],d=l.exclude||[],m=c.customElements,y=u.head,$=y.querySelector("meta[charset]"),w=u.createElement("style"),v=[];let b,S=!0;Object.assign(a,l),a.o=new URL(l.resourcesUrl||"./",u.baseURI).href;let g=!1;if(e.map((e=>{e[1].map((l=>{const i={l:l[0],v:l[1],A:l[2],D:l[3]};4&i.l&&(g=!0),i.A=l[2],i.M=[];const c=i.v,u=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,j:n,H:new Map};l.N=new Promise((e=>l.P=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,i),1&i.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${i.v}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),b&&(clearTimeout(b),b=null),S?v.push(this):a.jmp((()=>(e=>{if(!(1&a.l)){const t=n(e),l=t.j,i=()=>{};if(1&t.l)(null==t?void 0:t.t)||(null==t?void 0:t.N)&&t.N.then((()=>{}));else{t.l|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){B(t,t.k=n);break}}l.A&&Object.entries(l.A).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.R){const e=(e=>{const t=e.v.replace(/-/g,"_"),n=e.R;if(!n)return;const l=s.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(s.set(n,e),e[t])),o)
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.v}#${t.U}" was not found`);l.isProxied||(ne(l,n,2),l.isProxied=!0);const r=()=>{};t.l|=8;try{new l(t)}catch(e){o(e)}t.l&=-9,r()}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=D(n);if(!r.has(t)){const l=()=>{};((e,t,n)=>{let l=r.get(e);h&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,r.set(e,l)})(t,e,!!(1&n.l)),l()}}}const i=t.k,c=()=>I(t,!0);i&&i["s-rc"]?i["s-rc"].push(c):c()})(e,t,l)}i()}})(this)))}disconnectedCallback(){a.jmp((()=>(async()=>{if(!(1&a.l)){const e=n(this);(null==e?void 0:e.t)||(null==e?void 0:e.N)&&e.N.then((()=>{}))}})()))}componentOnReady(){return n(this).N}};i.R=e[0],d.includes(c)||m.get(c)||(p.push(c),m.define(c,ne(u,i,1)))}))})),p.length>0&&(g&&(w.textContent+=i),w.textContent+=p.sort()+"{visibility:hidden}[hydrated]{visibility:inherit}",w.innerHTML.length)){w.setAttribute("data-styles","");const e=null!=(f=a.O)?f:k(u);null!=e&&w.setAttribute("nonce",e),y.insertBefore(w,$?$.nextSibling:y.firstChild)}S=!1,v.length?v.map((e=>e.connectedCallback())):a.jmp((()=>b=setTimeout(ee,30)))},oe=e=>a.O=e;export{H,le as b,x as h,f as p,l as r,oe as s}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,h as n,H as i}from"./p-3e967425.js";const e=class{constructor(n){t(this,n),this.active=!1,this.position="top"}render(){return n(i,{key:"0f883b978b66900598d4a7abeed8d8079d72c420"},n("slot",{key:"cca41852411fe5bc23e2ab27e656a7ad17326a14"}))}};e.style='@tailwind utilities;\n\n:host {\n\n --mds-input-tip-active-translate: translate(0, 0);\n\n left: 0.25rem;\n\n right: 0.25rem;\n\n gap: 0.25rem;\n\n -webkit-transition-duration: 300ms;\n\n transition-duration: 300ms;\n\n -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-pack: end;\n justify-content: flex-end;\n pointer-events: none;\n position: absolute;\n -webkit-transform: var(--mds-input-tip-active-translate);\n transform: var(--mds-input-tip-active-translate);\n -webkit-transition-property: -webkit-transform;\n transition-property: -webkit-transform;\n transition-property: transform;\n transition-property: transform, -webkit-transform;\n}\n\n:host(:empty) {\n display: none;\n}\n\n:host([position="top"]) {\n top: 0.25rem;\n}\n\n:host([position="bottom"]) {\n bottom: 0.25rem;\n}\n\n:host([position="top"][active]:not([active="false"])) {\n\n --mds-input-tip-active-translate: translate(calc(0.25rem * -1), calc(0.25rem * -1));\n}\n\n:host([position="top"][active]:not([active="false"])) ::slotted( mds-input-tip-item ) {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n\n:host([position="bottom"][active]:not([active="false"])) {\n\n --mds-input-tip-active-translate: translate(calc(0.25rem * -1), 0.25rem);\n}\n\n:host([position="bottom"][active]:not([active="false"])) ::slotted( mds-input-tip-item ) {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n@container style(--magma-pref-animation: reduce) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n';export{e as mds_input_tip}
|
@@ -1 +1 @@
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,n,e,r){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,u){function c(t){try{
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,n,e,r){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,u){function c(t){try{f(r.next(t))}catch(t){u(t)}}function o(t){try{f(r["throw"](t))}catch(t){u(t)}}function f(t){t.done?e(t.value):i(t.value).then(c,o)}f((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r,i,u,c;return c={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function o(t){return function(n){return f([t,n])}}function f(o){if(r)throw new TypeError("Generator is already executing.");while(c&&(c=0,o[0]&&(e=0)),e)try{if(r=1,i&&(u=o[0]&2?i["return"]:o[0]?i["throw"]||((u=i["return"])&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;if(i=0,u)o=[o[0]&2,u.value];switch(o[0]){case 0:case 1:u=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;i=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(u=e.trys,u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){e.label=o[1];break}if(o[0]===6&&e.label<u[1]){e.label=u[1];u=o;break}if(u&&e.label<u[2]){e.label=u[2];e.ops.push(o);break}if(u[2])e.ops.pop();e.trys.pop();continue}o=n.call(t,e)}catch(t){o=[6,t];i=0}finally{r=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-37c61f56.system.js","./p-56ba5cbf.system.js"],(function(t,n){"use strict";var e,r,i;return{setters:[function(n){e=n.p;r=n.b;t("setNonce",n.s)},function(t){i=t.g}],execute:function(){var t=this;var u=function(){var t=n.meta.url;var r={};if(t!==""){r.resourcesUrl=new URL(".",t).href}return e(r)};u().then((function(n){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,i()];case 1:t.sent();return[2,r([["p-fadf816e.system",[[1,"mds-input-tip",{active:[516],position:[513]}]]]],n)]}}))}))}))}}}));
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./p-37c61f56.system.js"],(function(n){"use strict";var t,i,e;return{setters:[function(n){t=n.r;i=n.h;e=n.H}],execute:function(){var o='@tailwind utilities;\n\n:host {\n\n --mds-input-tip-active-translate: translate(0, 0);\n\n left: 0.25rem;\n\n right: 0.25rem;\n\n gap: 0.25rem;\n\n -webkit-transition-duration: 300ms;\n\n transition-duration: 300ms;\n\n -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-pack: end;\n justify-content: flex-end;\n pointer-events: none;\n position: absolute;\n -webkit-transform: var(--mds-input-tip-active-translate);\n transform: var(--mds-input-tip-active-translate);\n -webkit-transition-property: -webkit-transform;\n transition-property: -webkit-transform;\n transition-property: transform;\n transition-property: transform, -webkit-transform;\n}\n\n:host(:empty) {\n display: none;\n}\n\n:host([position="top"]) {\n top: 0.25rem;\n}\n\n:host([position="bottom"]) {\n bottom: 0.25rem;\n}\n\n:host([position="top"][active]:not([active="false"])) {\n\n --mds-input-tip-active-translate: translate(calc(0.25rem * -1), calc(0.25rem * -1));\n}\n\n:host([position="top"][active]:not([active="false"])) ::slotted( mds-input-tip-item ) {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n\n:host([position="bottom"][active]:not([active="false"])) {\n\n --mds-input-tip-active-translate: translate(calc(0.25rem * -1), 0.25rem);\n}\n\n:host([position="bottom"][active]:not([active="false"])) ::slotted( mds-input-tip-item ) {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n@container style(--magma-pref-animation: reduce) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n';var a=o;var r=n("mds_input_tip",function(){function n(n){t(this,n);this.active=false;this.position="top"}n.prototype.render=function(){return i(e,{key:"0f883b978b66900598d4a7abeed8d8079d72c420"},i("slot",{key:"cca41852411fe5bc23e2ab27e656a7ad17326a14"}))};return n}());r.style=a}}}));
|