@maggioli-design-system/mds-input-tip 1.1.3 → 1.2.2
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/aria.js +17 -1
- package/dist/collection/common/device.js +6 -0
- package/dist/collection/common/keyboard-manager.js +2 -2
- package/dist/collection/common/locale.js +17 -5
- package/dist/collection/components/mds-input-tip/mds-input-tip.css +1 -228
- package/dist/collection/dictionary/button.js +1 -0
- package/dist/collection/dictionary/file-extensions.js +114 -56
- package/dist/collection/dictionary/text.js +60 -1
- package/dist/collection/dictionary/variant.js +10 -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 +34 -34
- package/dist/types/common/aria.d.ts +3 -1
- package/dist/types/common/date.d.ts +1 -1
- package/dist/types/common/device.d.ts +2 -0
- package/dist/types/common/file.d.ts +3 -4
- package/dist/types/common/locale.d.ts +3 -1
- package/dist/types/dictionary/file-extensions.d.ts +2 -1
- package/dist/types/dictionary/text.d.ts +3 -1
- package/dist/types/dictionary/variant.d.ts +2 -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/header-bar.d.ts +2 -0
- package/dist/types/type/input.d.ts +3 -0
- package/dist/types/type/text.d.ts +2 -0
- package/dist/types/type/variant-file-format.d.ts +4 -4
- package/dist/types/type/variant.d.ts +2 -1
- package/documentation.json +46 -26
- package/package.json +5 -5
- package/src/common/aria.ts +22 -2
- package/src/common/device.ts +9 -0
- package/src/common/file.ts +2 -3
- package/src/common/keyboard-manager.ts +2 -2
- package/src/common/locale.ts +20 -6
- 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 +1 -0
- package/src/dictionary/file-extensions.ts +118 -57
- package/src/dictionary/text.ts +64 -0
- package/src/dictionary/variant.ts +11 -0
- package/src/fixtures/icons.json +37 -3
- package/src/fixtures/iconsauce.json +26 -1
- package/src/meta/file-format/locale.el.json +39 -0
- package/src/meta/file-format/locale.en.json +39 -0
- package/src/meta/file-format/locale.es.json +39 -0
- package/src/meta/file-format/locale.it.json +39 -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/header-bar.ts +11 -0
- package/src/type/input.ts +4 -0
- package/src/type/text.ts +59 -0
- package/src/type/variant-file-format.ts +20 -37
- package/src/type/variant.ts +9 -1
- 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/collection/type/language.js +0 -1
- 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/header-bar.js} +0 -0
@@ -21,8 +21,17 @@
|
|
21
21
|
"mgg/address-book-off",
|
22
22
|
"mgg/address-book-on",
|
23
23
|
"mgg/adv-denied",
|
24
|
-
"mgg/ai",
|
24
|
+
"mgg/ai-brain-outline",
|
25
|
+
"mgg/ai-brain",
|
26
|
+
"mgg/ai-human",
|
27
|
+
"mgg/ai-message",
|
28
|
+
"mgg/ai-outline",
|
29
|
+
"mgg/ai-status-completed",
|
30
|
+
"mgg/ai-status-error",
|
31
|
+
"mgg/ai-status-processing",
|
32
|
+
"mgg/ai-status-suspended",
|
25
33
|
"mgg/alerts-pagopa",
|
34
|
+
"mgg/anpr",
|
26
35
|
"mgg/ansc",
|
27
36
|
"mgg/area-edificabile",
|
28
37
|
"mgg/area-weather",
|
@@ -34,6 +43,7 @@
|
|
34
43
|
"mgg/assignments-rejected",
|
35
44
|
"mgg/assignments-sorted",
|
36
45
|
"mgg/auto-awesome-motion",
|
46
|
+
"mgg/back-to-document",
|
37
47
|
"mgg/balance",
|
38
48
|
"mgg/bill",
|
39
49
|
"mgg/box-multiple",
|
@@ -74,6 +84,7 @@
|
|
74
84
|
"mgg/document-rename",
|
75
85
|
"mgg/download-csv",
|
76
86
|
"mgg/download-json",
|
87
|
+
"mgg/edit-article",
|
77
88
|
"mgg/electronic-document",
|
78
89
|
"mgg/email-assigned",
|
79
90
|
"mgg/email-open-blocked",
|
@@ -89,6 +100,8 @@
|
|
89
100
|
"mgg/factory",
|
90
101
|
"mgg/farmer",
|
91
102
|
"mgg/field",
|
103
|
+
"mgg/file-certificate",
|
104
|
+
"mgg/file-clock",
|
92
105
|
"mgg/file-download",
|
93
106
|
"mgg/file-folder-tree-open",
|
94
107
|
"mgg/file-folder-tree",
|
@@ -110,6 +123,7 @@
|
|
110
123
|
"mgg/finance-euro-cashback",
|
111
124
|
"mgg/fit-horizontal",
|
112
125
|
"mgg/fit-vertical",
|
126
|
+
"mgg/fontawesome-torii-gate",
|
113
127
|
"mgg/forwarded-with-a-single-sending",
|
114
128
|
"mgg/fullscreen-on-alt",
|
115
129
|
"mgg/google-book-closed-outline",
|
@@ -119,6 +133,7 @@
|
|
119
133
|
"mgg/google-book-opening-outline",
|
120
134
|
"mgg/google-book-opening",
|
121
135
|
"mgg/google-check-small",
|
136
|
+
"mgg/google-drag-pan",
|
122
137
|
"mgg/google-experiment",
|
123
138
|
"mgg/google-face-retouching-off",
|
124
139
|
"mgg/google-hub",
|
@@ -155,6 +170,10 @@
|
|
155
170
|
"mgg/logo-ilibro",
|
156
171
|
"mgg/map-marker-settings",
|
157
172
|
"mgg/masks-office",
|
173
|
+
"mgg/mdi-binoculars",
|
174
|
+
"mgg/mdi-graph-outline",
|
175
|
+
"mgg/mdi-microscope",
|
176
|
+
"mgg/mdi-telescope",
|
158
177
|
"mgg/military-draft",
|
159
178
|
"mgg/money-bag-settings",
|
160
179
|
"mgg/money-on-hand",
|
@@ -220,6 +239,7 @@
|
|
220
239
|
"mgg/settings-attachment",
|
221
240
|
"mgg/sign-shop",
|
222
241
|
"mgg/square-viewfinder",
|
242
|
+
"mgg/stacked-documents",
|
223
243
|
"mgg/stamp",
|
224
244
|
"mgg/status-progress-a-quarter",
|
225
245
|
"mgg/status-progress-complete",
|
@@ -229,6 +249,9 @@
|
|
229
249
|
"mgg/subtractive-permission",
|
230
250
|
"mgg/tea-light",
|
231
251
|
"mgg/terminal",
|
252
|
+
"mgg/tie",
|
253
|
+
"mgg/to-single-document",
|
254
|
+
"mgg/to-stacked-documents",
|
232
255
|
"mgg/todo-action-businessman-view",
|
233
256
|
"mgg/todo-action-certificate",
|
234
257
|
"mgg/todo-action-contract",
|
@@ -266,8 +289,10 @@
|
|
266
289
|
"mgg/user-location-off",
|
267
290
|
"mgg/user-location",
|
268
291
|
"mgg/user-signed-out",
|
292
|
+
"mgg/user-substitution",
|
269
293
|
"mgg/view-chart-gantt",
|
270
294
|
"mgg/view-side-by-side",
|
295
|
+
"mgg/vote",
|
271
296
|
"mgg/warning-superscript",
|
272
297
|
"mgg/web-app-ansc",
|
273
298
|
"mgg/work-book"
|
@@ -0,0 +1,39 @@
|
|
1
|
+
{
|
2
|
+
"appleDiskImage": "Εικόνα δίσκου Apple",
|
3
|
+
"compressedArchive": "Συμπιεσμένο αρχείο",
|
4
|
+
"uncompressedArchive": "Μη συμπιεσμένο αρχείο",
|
5
|
+
"compressedAudio": "Συμπιεσμένος ήχος",
|
6
|
+
"uncompressedAudio": "Μη συμπιεσμένος ήχος",
|
7
|
+
"dart": "Αρχείο Dart",
|
8
|
+
"documentAdobe": "Έγγραφο Adobe",
|
9
|
+
"compressedDocumentMS": "Συμπιεσμένο έγγραφο Microsoft Word",
|
10
|
+
"documentMS": "Έγγραφο Microsoft Word",
|
11
|
+
"documentRTF": "Έγγραφο μορφής εμπλουτισμένου κειμένου",
|
12
|
+
"documentTXT": "Απλό έγγραφο κειμένου",
|
13
|
+
"email": "Ηλεκτρονικό ταχυδρομείο",
|
14
|
+
"fileDB": "Αρχείο βάσης δεδομένων",
|
15
|
+
"documentLO": "Έγγραφο LibreOffice",
|
16
|
+
"fileEXE": "Εκτελέσιμο αρχείο Windows",
|
17
|
+
"videoHD": "Βίντεο υψηλής ανάλυσης",
|
18
|
+
"videoSD": "Βίντεο χαμηλής ανάλυσης",
|
19
|
+
"spreadsheetLO": "Υπολογιστικό φύλλο LibreOffice",
|
20
|
+
"spreadsheetMS": "Υπολογιστικό φύλλο Microsoft Office",
|
21
|
+
"unknown": "Άγνωστη μορφή αρχείου",
|
22
|
+
"imageHEIC": "Μορφή αρχείου εικόνας υψηλής αποδοτικότητας",
|
23
|
+
"filePHP": "Αρχείο Hypertext Preprocessor",
|
24
|
+
"imagePNG": "Εικόνα Portable Network Graphics",
|
25
|
+
"imageWEBP": "Εικόνα Google Web Picture",
|
26
|
+
"compressedImage": "Συμπιεσμένη εικόνα",
|
27
|
+
"fileJSON": "Αρχείο JavaScript Object Notation",
|
28
|
+
"fileJS": "Αρχείο JavaScript",
|
29
|
+
"documentWeb": "Ιστοσελίδα",
|
30
|
+
"imageSVG": "Διανυσματική εικόνα Scalable Vector Graphics",
|
31
|
+
"slideLO": "Διαφάνεια παρουσίασης LibreOffice",
|
32
|
+
"slidePowerPoint": "Διαφάνεια παρουσίασης PowerPoint",
|
33
|
+
"fileSASS": "Αρχείο Syntactically Awesome StyleSheets",
|
34
|
+
"imageTIFF": "Εικόνα Tag Image File Format",
|
35
|
+
"fileTSX": "Αρχείο TypeScript Extended Syntax",
|
36
|
+
"fileTS": "Αρχείο TypeScript",
|
37
|
+
"fileAI": "Διανυσματικό αρχείο Adobe Illustrator",
|
38
|
+
"fileEPS": "Διανυσματικό αρχείο Corel Draw"
|
39
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
{
|
2
|
+
"appleDiskImage": "Apple Disk Image",
|
3
|
+
"compressedArchive": "Compressed Archive",
|
4
|
+
"uncompressedArchive": "Uncompressed Archive",
|
5
|
+
"compressedAudio": "Compressed Audio",
|
6
|
+
"uncompressedAudio": "Uncompressed Audio",
|
7
|
+
"dart": "Dart File",
|
8
|
+
"documentAdobe": "Adobe Document",
|
9
|
+
"compressedDocumentMS": "Compressed Microsoft Word Document",
|
10
|
+
"documentMS": "Microsoft Word Document",
|
11
|
+
"documentRTF": "Rich Text Format Document",
|
12
|
+
"documentTXT": "Plain Text Document",
|
13
|
+
"email": "E-mail",
|
14
|
+
"fileDB": "Database File",
|
15
|
+
"documentLO": "LibreOffice Document",
|
16
|
+
"fileEXE": "Windows Executable File",
|
17
|
+
"videoHD": "High Definition Video",
|
18
|
+
"videoSD": "Standard Definition Video",
|
19
|
+
"spreadsheetLO": "LibreOffice Spreadsheet",
|
20
|
+
"spreadsheetMS": "Microsoft Office Spreadsheet",
|
21
|
+
"unknown": "Unknown File Format",
|
22
|
+
"imageHEIC": "High Efficiency Image File Format",
|
23
|
+
"filePHP": "Hypertext Preprocessor File",
|
24
|
+
"imagePNG": "Portable Network Graphics Image",
|
25
|
+
"imageWEBP": "Google Web Picture Image",
|
26
|
+
"compressedImage": "Compressed Image",
|
27
|
+
"fileJSON": "JavaScript Object Notation File",
|
28
|
+
"fileJS": "JavaScript File",
|
29
|
+
"documentWeb": "Web Page",
|
30
|
+
"imageSVG": "Scalable Vector Graphics Image",
|
31
|
+
"slideLO": "LibreOffice Presentation Slide",
|
32
|
+
"slidePowerPoint": "PowerPoint Presentation Slide",
|
33
|
+
"fileSASS": "Syntactically Awesome StyleSheets File",
|
34
|
+
"imageTIFF": "Tag Image File Format Image",
|
35
|
+
"fileTSX": "TypeScript Extended Syntax File",
|
36
|
+
"fileTS": "TypeScript File",
|
37
|
+
"fileAI": "Adobe Illustrator Vector File",
|
38
|
+
"fileEPS": "Corel Draw Vector File"
|
39
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
{
|
2
|
+
"appleDiskImage": "Imagen de disco Apple",
|
3
|
+
"compressedArchive": "Archivo comprimido",
|
4
|
+
"uncompressedArchive": "Archivo no comprimido",
|
5
|
+
"compressedAudio": "Audio comprimido",
|
6
|
+
"uncompressedAudio": "Audio no comprimido",
|
7
|
+
"dart": "Archivo Dart",
|
8
|
+
"documentAdobe": "Documento Adobe",
|
9
|
+
"compressedDocumentMS": "Documento comprimido de Microsoft Word",
|
10
|
+
"documentMS": "Documento de Microsoft Word",
|
11
|
+
"documentRTF": "Documento de formato de texto enriquecido",
|
12
|
+
"documentTXT": "Documento de texto sin formato",
|
13
|
+
"email": "Correo electrónico",
|
14
|
+
"fileDB": "Archivo de base de datos",
|
15
|
+
"documentLO": "Documento de LibreOffice",
|
16
|
+
"fileEXE": "Archivo ejecutable de Windows",
|
17
|
+
"videoHD": "Video de alta definición",
|
18
|
+
"videoSD": "Video de definición estándar",
|
19
|
+
"spreadsheetLO": "Hoja de cálculo de LibreOffice",
|
20
|
+
"spreadsheetMS": "Hoja de cálculo de Microsoft Office",
|
21
|
+
"unknown": "Formato de archivo desconocido",
|
22
|
+
"imageHEIC": "Formato de archivo de imagen de alta eficiencia",
|
23
|
+
"filePHP": "Archivo de preprocesador de hipertexto",
|
24
|
+
"imagePNG": "Imagen Portable Network Graphics",
|
25
|
+
"imageWEBP": "Imagen Google Web Picture",
|
26
|
+
"compressedImage": "Imagen comprimida",
|
27
|
+
"fileJSON": "Archivo de notación de objetos de JavaScript",
|
28
|
+
"fileJS": "Archivo JavaScript",
|
29
|
+
"documentWeb": "Página web",
|
30
|
+
"imageSVG": "Imagen de gráficos vectoriales escalables",
|
31
|
+
"slideLO": "Diapositiva de presentación de LibreOffice",
|
32
|
+
"slidePowerPoint": "Diapositiva de presentación de PowerPoint",
|
33
|
+
"fileSASS": "Archivo de Syntactically Awesome StyleSheets",
|
34
|
+
"imageTIFF": "Imagen de formato de archivo de imagen etiquetado",
|
35
|
+
"fileTSX": "Archivo de sintaxis extendida de TypeScript",
|
36
|
+
"fileTS": "Archivo TypeScript",
|
37
|
+
"fileAI": "Archivo vectorial de Adobe Illustrator",
|
38
|
+
"fileEPS": "Archivo vectorial de Corel Draw"
|
39
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
{
|
2
|
+
"appleDiskImage": "Immagine Disco Apple",
|
3
|
+
"compressedArchive": "Archivio compresso",
|
4
|
+
"uncompressedArchive": "Archivio non compresso",
|
5
|
+
"compressedAudio": "Audio compresso",
|
6
|
+
"uncompressedAudio": "Audio non compresso",
|
7
|
+
"dart": "File Dart",
|
8
|
+
"documentAdobe": "Documento Adobe",
|
9
|
+
"compressedDocumentMS": "Documento di testo Microsoft Word Compresso",
|
10
|
+
"documentMS": "Documento di testo Microsoft Word",
|
11
|
+
"documentRTF": "Documento di testo Rich Text Format",
|
12
|
+
"documentTXT": "Documento di testo senza formattazione",
|
13
|
+
"email": "E-mail",
|
14
|
+
"fileDB": "File di database",
|
15
|
+
"documentLO": "Documento di testo LibreOffice",
|
16
|
+
"fileEXE": "File eseguibile Windows",
|
17
|
+
"videoHD": "Filmato HD ad alta risoluzione",
|
18
|
+
"videoSD": "Filmato SD a bassa risoluzione",
|
19
|
+
"spreadsheetLO": "Foglio di calcolo LibreOffice",
|
20
|
+
"spreadsheetMS": "Foglio di calcolo Office",
|
21
|
+
"unknown": "Formato file sconosciuto",
|
22
|
+
"imageHEIC": "High Efficiency Image File Format",
|
23
|
+
"filePHP": "File Hypertext Preprocessor",
|
24
|
+
"imagePNG": "Immagine Portable Network Graphics",
|
25
|
+
"imageWEBP": "Immagine Google Web Picture",
|
26
|
+
"compressedImage": "Immagine compressa",
|
27
|
+
"fileJSON": "File JavaScript Object Notation",
|
28
|
+
"fileJS": "File JavaScript",
|
29
|
+
"documentWeb": "Pagina web",
|
30
|
+
"imageSVG": "Immagine vettoriale Scalable Vector Graphics",
|
31
|
+
"slideLO": "Slide di presentazione LibreOffice",
|
32
|
+
"slidePowerPoint": "Slide di presentazione PowerPoint",
|
33
|
+
"fileSASS": "File Syntactically Awesome StyleSheets",
|
34
|
+
"imageTIFF": "Immagine Tag Image File Format",
|
35
|
+
"fileTSX": "File TypeScript Extended Syntax",
|
36
|
+
"fileTS": "File TypeScript",
|
37
|
+
"fileAI": "File vettoriale Adobe Illustrator",
|
38
|
+
"fileEPS": "File vettoriale Corel Draw"
|
39
|
+
}
|
package/src/type/autocomplete.ts
CHANGED
package/src/type/button.ts
CHANGED
package/src/type/input.ts
CHANGED
package/src/type/text.ts
CHANGED
@@ -1,3 +1,62 @@
|
|
1
|
+
export type TypographyTagType =
|
2
|
+
| 'abbr'
|
3
|
+
| 'address'
|
4
|
+
| 'article'
|
5
|
+
| 'b'
|
6
|
+
| 'bdo'
|
7
|
+
| 'blockquote'
|
8
|
+
| 'cite'
|
9
|
+
| 'code'
|
10
|
+
| 'dd'
|
11
|
+
| 'del'
|
12
|
+
| 'details'
|
13
|
+
| 'dfn'
|
14
|
+
| 'div'
|
15
|
+
| 'dl'
|
16
|
+
| 'dt'
|
17
|
+
| 'em'
|
18
|
+
| 'figcaption'
|
19
|
+
| 'h1'
|
20
|
+
| 'h2'
|
21
|
+
| 'h3'
|
22
|
+
| 'h4'
|
23
|
+
| 'h5'
|
24
|
+
| 'h6'
|
25
|
+
| 'i'
|
26
|
+
| 'ins'
|
27
|
+
| 'kbd'
|
28
|
+
| 'label'
|
29
|
+
| 'legend'
|
30
|
+
| 'li'
|
31
|
+
| 'mark'
|
32
|
+
| 'ol'
|
33
|
+
| 'p'
|
34
|
+
| 'pre'
|
35
|
+
| 'q'
|
36
|
+
| 'rb'
|
37
|
+
| 'rt'
|
38
|
+
| 'ruby'
|
39
|
+
| 's'
|
40
|
+
| 'samp'
|
41
|
+
| 'small'
|
42
|
+
| 'span'
|
43
|
+
| 'strong'
|
44
|
+
| 'sub'
|
45
|
+
| 'summary'
|
46
|
+
| 'sup'
|
47
|
+
| 'time'
|
48
|
+
| 'u'
|
49
|
+
| 'ul'
|
50
|
+
| 'var'
|
51
|
+
|
52
|
+
export type TypographyHeadingTagType =
|
53
|
+
| 'h1'
|
54
|
+
| 'h2'
|
55
|
+
| 'h3'
|
56
|
+
| 'h4'
|
57
|
+
| 'h5'
|
58
|
+
| 'h6'
|
59
|
+
|
1
60
|
export type TypographyTruncateType =
|
2
61
|
| 'all'
|
3
62
|
| 'none'
|
@@ -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
|
@@ -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}
|