@maggioli-design-system/mds-input-tip 1.2.3 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/dist/cjs/{index-66d8bb25.js → index-4daec419.js} +119 -62
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mds-input-tip.cjs.entry.js +2 -2
  4. package/dist/cjs/mds-input-tip.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +1 -1
  6. package/dist/collection/common/floating-controller.js +3 -3
  7. package/dist/collection/common/slot.js +10 -1
  8. package/dist/collection/common/string.js +30 -0
  9. package/dist/collection/components/mds-input-tip/mds-input-tip.css +127 -19
  10. package/dist/collection/dictionary/keyboard.js +84 -0
  11. package/dist/collection/type/keyboard.js +1 -0
  12. package/dist/components/mds-input-tip.js +1 -1
  13. package/dist/documentation.json +9 -3
  14. package/dist/esm/{index-4e431d49.js → index-07630e0c.js} +119 -62
  15. package/dist/esm/loader.js +2 -2
  16. package/dist/esm/mds-input-tip.entry.js +2 -2
  17. package/dist/esm/mds-input-tip.js +3 -3
  18. package/dist/esm-es5/index-07630e0c.js +1 -0
  19. package/dist/esm-es5/loader.js +1 -1
  20. package/dist/esm-es5/mds-input-tip.entry.js +1 -1
  21. package/dist/esm-es5/mds-input-tip.js +1 -1
  22. package/dist/mds-input-tip/mds-input-tip.esm.js +1 -1
  23. package/dist/mds-input-tip/mds-input-tip.js +1 -1
  24. package/dist/mds-input-tip/p-04193c07.entry.js +1 -0
  25. package/dist/mds-input-tip/{p-c7ede63a.system.js → p-41e6f98e.system.js} +1 -1
  26. package/dist/mds-input-tip/p-937c40eb.js +2 -0
  27. package/dist/mds-input-tip/p-d28332e9.system.js +2 -0
  28. package/dist/mds-input-tip/p-d8a5540f.system.entry.js +1 -0
  29. package/dist/stats.json +45 -33
  30. package/dist/types/common/slot.d.ts +2 -1
  31. package/dist/types/common/string.d.ts +4 -0
  32. package/dist/types/dictionary/keyboard.d.ts +2 -0
  33. package/dist/types/type/keyboard.d.ts +12 -0
  34. package/documentation.json +29 -3
  35. package/package.json +4 -4
  36. package/readme.md +7 -0
  37. package/src/common/floating-controller.ts +6 -6
  38. package/src/common/slot.ts +11 -0
  39. package/src/common/string.ts +42 -0
  40. package/src/components/mds-input-tip/css/mds-input-tip-pref-animation.css +5 -12
  41. package/src/components/mds-input-tip/mds-input-tip.css +6 -6
  42. package/src/components/mds-input-tip/readme.md +7 -0
  43. package/src/dictionary/keyboard.ts +87 -0
  44. package/src/fixtures/icons.json +18 -1
  45. package/src/meta/keyboard/keys.json +83 -0
  46. package/src/tailwind/components.css +11 -46
  47. package/src/tailwind/fouc.css +118 -0
  48. package/src/tailwind/index.css +4 -0
  49. package/src/type/keyboard.ts +93 -0
  50. package/www/build/mds-input-tip.esm.js +1 -1
  51. package/www/build/mds-input-tip.js +1 -1
  52. package/www/build/p-04193c07.entry.js +1 -0
  53. package/www/build/{p-c7ede63a.system.js → p-41e6f98e.system.js} +1 -1
  54. package/www/build/p-937c40eb.js +2 -0
  55. package/www/build/p-d28332e9.system.js +2 -0
  56. package/www/build/p-d8a5540f.system.entry.js +1 -0
  57. package/dist/esm-es5/index-4e431d49.js +0 -1
  58. package/dist/mds-input-tip/p-3bf85392.entry.js +0 -1
  59. package/dist/mds-input-tip/p-5c7f52a4.system.entry.js +0 -1
  60. package/dist/mds-input-tip/p-7eeec96b.system.js +0 -2
  61. package/dist/mds-input-tip/p-b8376582.js +0 -2
  62. package/www/build/p-3bf85392.entry.js +0 -1
  63. package/www/build/p-5c7f52a4.system.entry.js +0 -1
  64. package/www/build/p-7eeec96b.system.js +0 -2
  65. package/www/build/p-b8376582.js +0 -2
@@ -0,0 +1,87 @@
1
+ const keyboardKeyNameDictionary = [
2
+ '0',
3
+ '1',
4
+ '2',
5
+ '3',
6
+ '4',
7
+ '5',
8
+ '6',
9
+ '7',
10
+ '8',
11
+ '9',
12
+ 'a',
13
+ 'alt',
14
+ 'altleft',
15
+ 'altright',
16
+ 'arrowdown',
17
+ 'arrowleft',
18
+ 'arrowright',
19
+ 'arrowup',
20
+ 'b',
21
+ 'backspace',
22
+ 'c',
23
+ 'capslock',
24
+ 'command',
25
+ 'commandleft',
26
+ 'commandright',
27
+ 'control',
28
+ 'controlleft',
29
+ 'controlright',
30
+ 'd',
31
+ 'delete',
32
+ 'e',
33
+ 'end',
34
+ 'enter',
35
+ 'escape',
36
+ 'f',
37
+ 'f1',
38
+ 'f10',
39
+ 'f11',
40
+ 'f12',
41
+ 'f2',
42
+ 'f3',
43
+ 'f4',
44
+ 'f5',
45
+ 'f6',
46
+ 'f7',
47
+ 'f8',
48
+ 'f9',
49
+ 'g',
50
+ 'h',
51
+ 'home',
52
+ 'i',
53
+ 'j',
54
+ 'k',
55
+ 'l',
56
+ 'm',
57
+ 'n',
58
+ 'o',
59
+ 'option',
60
+ 'optionleft',
61
+ 'optionright',
62
+ 'p',
63
+ 'pagedown',
64
+ 'pageup',
65
+ 'q',
66
+ 'r',
67
+ 's',
68
+ 'shift',
69
+ 'shiftleft',
70
+ 'shiftright',
71
+ 'space',
72
+ 't',
73
+ 'tab',
74
+ 'u',
75
+ 'v',
76
+ 'w',
77
+ 'windows',
78
+ 'windowsleft',
79
+ 'windowsright',
80
+ 'x',
81
+ 'y',
82
+ 'z',
83
+ ]
84
+
85
+ export {
86
+ keyboardKeyNameDictionary,
87
+ }
@@ -1,5 +1,6 @@
1
1
  [
2
2
  "mdi/alien",
3
+ "mdi/apple-keyboard-shift",
3
4
  "mdi/barley",
4
5
  "mdi/baseball",
5
6
  "mdi/crown",
@@ -12,8 +13,10 @@
12
13
  "mdi/folder-open",
13
14
  "mdi/handshake",
14
15
  "mdi/harddisk",
16
+ "mdi/keyboard-space",
15
17
  "mdi/license",
16
18
  "mdi/map-marker",
19
+ "mdi/npm",
17
20
  "mdi/replay",
18
21
  "mdi/vector-curve",
19
22
  "mgg/abitazione-principale",
@@ -368,8 +371,16 @@
368
371
  "mi/baseline/indeterminate-check-box",
369
372
  "mi/baseline/info",
370
373
  "mi/baseline/insert-drive-file",
374
+ "mi/baseline/keyboard",
371
375
  "mi/baseline/keyboard-arrow-down",
376
+ "mi/baseline/keyboard-arrow-left",
377
+ "mi/baseline/keyboard-arrow-right",
372
378
  "mi/baseline/keyboard-arrow-up",
379
+ "mi/baseline/keyboard-capslock",
380
+ "mi/baseline/keyboard-command-key",
381
+ "mi/baseline/keyboard-option-key",
382
+ "mi/baseline/keyboard-return",
383
+ "mi/baseline/keyboard-tab",
373
384
  "mi/baseline/light-mode",
374
385
  "mi/baseline/local-activity",
375
386
  "mi/baseline/location-city",
@@ -379,6 +390,7 @@
379
390
  "mi/baseline/meeting-room",
380
391
  "mi/baseline/more-vert",
381
392
  "mi/baseline/navigate-next",
393
+ "mi/baseline/north",
382
394
  "mi/baseline/panorama",
383
395
  "mi/baseline/person",
384
396
  "mi/baseline/pets",
@@ -389,6 +401,7 @@
389
401
  "mi/baseline/route",
390
402
  "mi/baseline/send",
391
403
  "mi/baseline/settings",
404
+ "mi/baseline/south",
392
405
  "mi/baseline/sports",
393
406
  "mi/baseline/sports-soccer",
394
407
  "mi/baseline/stadium",
@@ -397,6 +410,8 @@
397
410
  "mi/baseline/tv",
398
411
  "mi/baseline/unfold-less",
399
412
  "mi/baseline/unfold-more",
413
+ "mi/baseline/vertical-align-bottom",
414
+ "mi/baseline/vertical-align-top",
400
415
  "mi/baseline/videocam",
401
416
  "mi/baseline/visibility",
402
417
  "mi/baseline/visibility-off",
@@ -405,6 +420,7 @@
405
420
  "mi/baseline/web",
406
421
  "mi/baseline/wysiwyg",
407
422
  "mi/outline/auto-awesome",
423
+ "mi/outline/backspace",
408
424
  "mi/outline/circle",
409
425
  "mi/outline/dark-mode",
410
426
  "mi/outline/help-outline",
@@ -413,5 +429,6 @@
413
429
  "mi/round/email",
414
430
  "mi/round/menu",
415
431
  "mi/round/more-vert",
416
- "mi/round/person"
432
+ "mi/round/person",
433
+ "mi/sharp/window"
417
434
  ]
@@ -0,0 +1,83 @@
1
+ {
2
+ "0": { "description": "keyNumber", "group": "Number", "alias": "0", "keyCodes": ["Digit0", "Numpad0"] },
3
+ "1": { "description": "keyNumber", "group": "Number", "alias": "1", "keyCodes": ["Digit1", "Numpad1"] },
4
+ "2": { "description": "keyNumber", "group": "Number", "alias": "2", "keyCodes": ["Digit2", "Numpad2"] },
5
+ "3": { "description": "keyNumber", "group": "Number", "alias": "3", "keyCodes": ["Digit3", "Numpad3"] },
6
+ "4": { "description": "keyNumber", "group": "Number", "alias": "4", "keyCodes": ["Digit4", "Numpad4"] },
7
+ "5": { "description": "keyNumber", "group": "Number", "alias": "5", "keyCodes": ["Digit5", "Numpad5"] },
8
+ "6": { "description": "keyNumber", "group": "Number", "alias": "6", "keyCodes": ["Digit6", "Numpad6"] },
9
+ "7": { "description": "keyNumber", "group": "Number", "alias": "7", "keyCodes": ["Digit7", "Numpad7"] },
10
+ "8": { "description": "keyNumber", "group": "Number", "alias": "8", "keyCodes": ["Digit8", "Numpad8"] },
11
+ "9": { "description": "keyNumber", "group": "Number", "alias": "9", "keyCodes": ["Digit9", "Numpad9"] },
12
+ "a": { "description": "keyCharacter", "group": "Character", "alias": "A", "keyCodes": ["KeyA"] },
13
+ "alt": { "description": "modAlt", "group": "Modificator", "alias": "Alt", "keyCodes": ["AltLeft", "AltRight"] },
14
+ "altleft": { "description": "modAlt", "group": "Modificator", "alias": "Alt", "keyboardPosition": {"left": true}, "keyCodes": ["AltLeft"] },
15
+ "altright": { "description": "modAlt", "group": "Modificator", "alias": "Alt", "keyboardPosition": {"right": true}, "keyCodes": ["AltRight"] },
16
+ "arrowdown": { "description": "navArrowDown", "group": "Arrow", "alias": "ArrowDown", "keyCodes": ["ArrowDown"] },
17
+ "arrowleft": { "description": "navArrowLeft", "group": "Arrow", "alias": "ArrowLeft", "keyCodes": ["ArrowLeft"] },
18
+ "arrowright": { "description": "navArrowRight", "group": "Arrow", "alias": "ArrowRight", "keyCodes": ["ArrowRight"] },
19
+ "arrowup": { "description": "navArrowUp", "group": "Arrow", "alias": "ArrowUp", "keyCodes": ["ArrowUp"] },
20
+ "b": { "description": "keyCharacter", "group": "Character", "alias": "B", "keyCodes": ["KeyB"] },
21
+ "backspace": { "description": "specBackspace", "group": "Special", "alias": "Backspace", "keyCodes": ["Backspace"] },
22
+ "c": { "description": "keyCharacter", "group": "Character", "alias": "C", "keyCodes": ["KeyC"] },
23
+ "capslock": { "description": "specCapsLock", "group": "Special", "alias": "CapsLock", "keyCodes": ["CapsLock"] },
24
+ "command": { "description": "modMeta", "group": "Modificator", "alias": "Cmd", "keyCodes": ["MetaLeft", "MetaRight"] },
25
+ "commandleft": { "description": "modMeta", "group": "Modificator", "alias": "Cmd", "keyboardPosition": {"left": true}, "keyCodes": ["MetaLeft"] },
26
+ "commandright": { "description": "modMeta", "group": "Modificator", "alias": "Cmd", "keyboardPosition": {"right": true}, "keyCodes": ["MetaRight"] },
27
+ "control": { "description": "modControl", "group": "Modificator", "alias": "Ctrl", "keyCodes": ["ControlLeft", "ControlRight"] },
28
+ "controlleft": { "description": "modControl", "group": "Modificator", "alias": "Ctrl", "keyboardPosition": {"left": true}, "keyCode": "Control", "keyCodes": ["ControlLeft"] },
29
+ "controlright": { "description": "modControl", "group": "Modificator", "alias": "Ctrl", "keyboardPosition": {"right": true}, "keyCode": "Control", "keyCodes": ["ControlRight"] },
30
+ "d": { "description": "keyCharacter", "group": "Character", "alias": "D", "keyCodes": ["KeyD"] },
31
+ "delete": { "description": "specDelete", "group": "Special", "alias": "Delete", "keyCodes": ["Delete"] },
32
+ "e": { "description": "keyCharacter", "group": "Character", "alias": "E", "keyCodes": ["KeyE"] },
33
+ "end": { "description": "navEnd", "group": "Navigator", "alias": "End", "keyCodes": ["End"] },
34
+ "enter": { "description": "specEnter", "group": "Special", "alias": "Enter", "keyCodes": ["Enter"] },
35
+ "escape": { "description": "specEscape", "group": "Special", "alias": "Esc", "keyCodes": ["Escape"] },
36
+ "f": { "description": "keyCharacter", "group": "Character", "alias": "F", "keyCodes": ["KeyF"] },
37
+ "f1": { "description": "keyFunction", "group": "Function", "alias": "F1", "keyCodes": ["F1"] },
38
+ "f10": { "description": "keyFunction", "group": "Function", "alias": "F10", "keyCodes": ["F10"] },
39
+ "f11": { "description": "keyFunction", "group": "Function", "alias": "F11", "keyCodes": ["F11"] },
40
+ "f12": { "description": "keyFunction", "group": "Function", "alias": "F12", "keyCodes": ["F12"] },
41
+ "f2": { "description": "keyFunction", "group": "Function", "alias": "F2", "keyCodes": ["F2"] },
42
+ "f3": { "description": "keyFunction", "group": "Function", "alias": "F3", "keyCodes": ["F3"] },
43
+ "f4": { "description": "keyFunction", "group": "Function", "alias": "F4", "keyCodes": ["F4"] },
44
+ "f5": { "description": "keyFunction", "group": "Function", "alias": "F5", "keyCodes": ["F5"] },
45
+ "f6": { "description": "keyFunction", "group": "Function", "alias": "F6", "keyCodes": ["F6"] },
46
+ "f7": { "description": "keyFunction", "group": "Function", "alias": "F7", "keyCodes": ["F7"] },
47
+ "f8": { "description": "keyFunction", "group": "Function", "alias": "F8", "keyCodes": ["F8"] },
48
+ "f9": { "description": "keyFunction", "group": "Function", "alias": "F9", "keyCodes": ["F9"] },
49
+ "g": { "description": "keyCharacter", "group": "Character", "alias": "G", "keyCodes": ["KeyG"] },
50
+ "h": { "description": "keyCharacter", "group": "Character", "alias": "H", "keyCodes": ["KeyH"] },
51
+ "home": { "description": "navHome", "group": "Navigator", "alias": "Home", "keyCodes": ["Home"] },
52
+ "i": { "description": "keyCharacter", "group": "Character", "alias": "I", "keyCodes": ["KeyI"] },
53
+ "j": { "description": "keyCharacter", "group": "Character", "alias": "J", "keyCodes": ["KeyJ"] },
54
+ "k": { "description": "keyCharacter", "group": "Character", "alias": "K", "keyCodes": ["KeyK"] },
55
+ "l": { "description": "keyCharacter", "group": "Character", "alias": "L", "keyCodes": ["KeyL"] },
56
+ "m": { "description": "keyCharacter", "group": "Character", "alias": "M", "keyCodes": ["KeyM"] },
57
+ "n": { "description": "keyCharacter", "group": "Character", "alias": "N", "keyCodes": ["KeyN"] },
58
+ "o": { "description": "keyCharacter", "group": "Character", "alias": "O", "keyCodes": ["KeyO"] },
59
+ "option": { "description": "modAlt", "group": "Modificator", "alias": "Alt", "keyCodes": ["AltLeft", "AltRight"] },
60
+ "optionleft": { "description": "modAlt", "group": "Modificator", "alias": "Alt", "keyboardPosition": {"left": true}, "keyCodes": ["AltLeft"] },
61
+ "optionright": { "description": "modAlt", "group": "Modificator", "alias": "Alt", "keyboardPosition": {"right": true}, "keyCodes": ["AltRight"] },
62
+ "p": { "description": "keyCharacter", "group": "Character", "alias": "P", "keyCodes": ["KeyP"] },
63
+ "pagedown": { "description": "navPageDown", "group": "Navigator", "alias": "PageDown", "keyCodes": ["PageDown"] },
64
+ "pageup": { "description": "navPageUp", "group": "Navigator", "alias": "PageUp", "keyCodes": ["PageUp"] },
65
+ "q": { "description": "keyCharacter", "group": "Character", "alias": "Q", "keyCodes": ["KeyQ"] },
66
+ "r": { "description": "keyCharacter", "group": "Character", "alias": "R", "keyCodes": ["KeyR"] },
67
+ "s": { "description": "keyCharacter", "group": "Character", "alias": "S", "keyCodes": ["KeyS"] },
68
+ "shift": { "description": "modShift", "group": "Modificator", "alias": "Shift", "keyCodes": ["ShiftLeft", "ShiftRight"] },
69
+ "shiftleft": { "description": "modShift", "group": "Modificator", "alias": "Shift", "keyboardPosition": {"left": true}, "keyCodes": ["ShiftLeft"] },
70
+ "shiftright": { "description": "modShift", "group": "Modificator", "alias": "Shift", "keyboardPosition": {"right": true}, "keyCodes": ["ShiftRight"] },
71
+ "space": { "description": "specSpace", "group": "Special", "alias": "Space", "keyCodes": ["Space"] },
72
+ "t": { "description": "keyCharacter", "group": "Character", "alias": "T", "keyCodes": ["KeyT"] },
73
+ "tab": { "description": "specTab", "group": "Special", "alias": "Tab", "keyCodes": ["Tab"] },
74
+ "u": { "description": "keyCharacter", "group": "Character", "alias": "U", "keyCodes": ["KeyU"] },
75
+ "v": { "description": "keyCharacter", "group": "Character", "alias": "V", "keyCodes": ["KeyV"] },
76
+ "w": { "description": "keyCharacter", "group": "Character", "alias": "W", "keyCodes": ["KeyW"] },
77
+ "windows": { "description": "modMeta", "group": "Modificator", "alias": "Win", "keyCodes": ["MetaLeft", "MetaRight"] },
78
+ "windowsleft": { "description": "modMeta", "group": "Modificator", "alias": "Win", "keyboardPosition": {"left": true}, "keyCodes": ["MetaLeft"] },
79
+ "windowsright": { "description": "modMeta", "group": "Modificator", "alias": "Win", "keyboardPosition": {"right": true}, "keyCodes": ["MetaRight"] },
80
+ "x": { "description": "keyCharacter", "group": "Character", "alias": "X", "keyCodes": ["KeyX"] },
81
+ "y": { "description": "keyCharacter", "group": "Character", "alias": "Y", "keyCodes": ["KeyY"] },
82
+ "z": { "description": "keyCharacter", "group": "Character", "alias": "Z", "keyCodes": ["KeyZ"] }
83
+ }
@@ -1,6 +1,4 @@
1
1
  @import '~@maggioli-design-system/styles/dist/tailwind/components.css';
2
- @tailwind components;
3
- @tailwind utilities;
4
2
 
5
3
  @layer components {
6
4
  .svg {
@@ -38,49 +36,16 @@
38
36
  box-shadow: theme('boxShadow.outline') inset;
39
37
  }
40
38
 
41
- @container style(--magma-pref-contrast: more) {
42
- .contrast-area,
43
- .contrast-area-50 {
44
- @apply
45
- block
46
- opacity-100;
47
-
48
- /* @starting-style {
49
- opacity: 0;
50
- } */
51
- }
52
- }
53
-
54
- @container style(--magma-pref-contrast: system) {
55
-
56
- @media (prefers-contrast: more) {
57
- .contrast-area,
58
- .contrast-area-50 {
59
- @apply
60
- block
61
- opacity-100;
62
-
63
- /* @starting-style {
64
- opacity: 0;
65
- } */
66
- }
67
- }
68
- }
69
-
70
- @container style(--magma-pref-animation: reduce) {
71
- .contrast-area,
72
- .contrast-area-50 {
73
- @apply duration-0;
74
- }
75
- }
76
-
77
- @container style(--magma-pref-animation: system) {
78
-
79
- @media (prefers-reduced-motion) {
80
- .contrast-area,
81
- .contrast-area-50 {
82
- @apply duration-0;
83
- }
84
- }
39
+ .not-hydrated {
40
+ animation-duration: 0s;
41
+ border-color: transparent;
42
+ box-shadow: 0 0 0 transparent;
43
+ opacity: 0;
44
+ outline-color: transparent;
45
+ transition-delay: 0s;
46
+ transition-duration: 0s;
47
+ visibility: hidden;
85
48
  }
86
49
  }
50
+
51
+ @tailwind components;
@@ -0,0 +1,118 @@
1
+ :host(:not(:is([hydrated], .hydrated))) {
2
+ animation-duration: 0s;
3
+ border-color: transparent;
4
+ box-shadow: 0 0 0 transparent;
5
+ opacity: 0;
6
+ outline-color: transparent;
7
+ transition-delay: 0s;
8
+ transition-duration: 0s;
9
+ visibility: hidden;
10
+ }
11
+
12
+ /* TODO refact(stencil): Uses only used selector from parent shadowDOM component */
13
+
14
+ mds-accordion:not(:is([hydrated], .hydrated)),
15
+ mds-accordion-item:not(:is([hydrated], .hydrated)),
16
+ mds-accordion-timer:not(:is([hydrated], .hydrated)),
17
+ mds-accordion-timer-item:not(:is([hydrated], .hydrated)),
18
+ mds-author:not(:is([hydrated], .hydrated)),
19
+ mds-avatar:not(:is([hydrated], .hydrated)),
20
+ mds-badge:not(:is([hydrated], .hydrated)),
21
+ mds-banner:not(:is([hydrated], .hydrated)),
22
+ mds-benchmark-bar:not(:is([hydrated], .hydrated)),
23
+ mds-bibliography:not(:is([hydrated], .hydrated)),
24
+ mds-breadcrumb:not(:is([hydrated], .hydrated)),
25
+ mds-breadcrumb-item:not(:is([hydrated], .hydrated)),
26
+ mds-button:not(:is([hydrated], .hydrated)),
27
+ mds-card:not(:is([hydrated], .hydrated)),
28
+ mds-card-content:not(:is([hydrated], .hydrated)),
29
+ mds-card-footer:not(:is([hydrated], .hydrated)),
30
+ mds-card-header:not(:is([hydrated], .hydrated)),
31
+ mds-card-media:not(:is([hydrated], .hydrated)),
32
+ mds-chip:not(:is([hydrated], .hydrated)),
33
+ mds-details:not(:is([hydrated], .hydrated)),
34
+ mds-dropdown:not(:is([hydrated], .hydrated)),
35
+ mds-entity:not(:is([hydrated], .hydrated)),
36
+ mds-file:not(:is([hydrated], .hydrated)),
37
+ mds-file-preview:not(:is([hydrated], .hydrated)),
38
+ mds-filter:not(:is([hydrated], .hydrated)),
39
+ mds-filter-item:not(:is([hydrated], .hydrated)),
40
+ mds-header:not(:is([hydrated], .hydrated)),
41
+ mds-header-bar:not(:is([hydrated], .hydrated)),
42
+ mds-help:not(:is([hydrated], .hydrated)),
43
+ mds-horizontal-scroll:not(:is([hydrated], .hydrated)),
44
+ mds-hr:not(:is([hydrated], .hydrated)),
45
+ mds-icon:not(:is([hydrated], .hydrated)),
46
+ mds-img:not(:is([hydrated], .hydrated)),
47
+ mds-input:not(:is([hydrated], .hydrated)),
48
+ mds-input-field:not(:is([hydrated], .hydrated)),
49
+ mds-input-range:not(:is([hydrated], .hydrated)),
50
+ mds-input-select:not(:is([hydrated], .hydrated)),
51
+ mds-input-switch:not(:is([hydrated], .hydrated)),
52
+ mds-input-tip:not(:is([hydrated], .hydrated)),
53
+ mds-input-tip-item:not(:is([hydrated], .hydrated)),
54
+ mds-input-upload:not(:is([hydrated], .hydrated)),
55
+ mds-keyboard:not(:is([hydrated], .hydrated)),
56
+ mds-keyboard-key:not(:is([hydrated], .hydrated)),
57
+ mds-kpi:not(:is([hydrated], .hydrated)),
58
+ mds-kpi-item:not(:is([hydrated], .hydrated)),
59
+ mds-label:not(:is([hydrated], .hydrated)),
60
+ mds-list:not(:is([hydrated], .hydrated)),
61
+ mds-list-item:not(:is([hydrated], .hydrated)),
62
+ mds-modal:not(:is([hydrated], .hydrated)),
63
+ mds-note:not(:is([hydrated], .hydrated)),
64
+ mds-notification:not(:is([hydrated], .hydrated)),
65
+ mds-paginator:not(:is([hydrated], .hydrated)),
66
+ mds-paginator-item:not(:is([hydrated], .hydrated)),
67
+ mds-pref:not(:is([hydrated], .hydrated)),
68
+ mds-pref-animation:not(:is([hydrated], .hydrated)),
69
+ mds-pref-consumption:not(:is([hydrated], .hydrated)),
70
+ mds-pref-contrast:not(:is([hydrated], .hydrated)),
71
+ mds-pref-language:not(:is([hydrated], .hydrated)),
72
+ mds-pref-language-item:not(:is([hydrated], .hydrated)),
73
+ mds-pref-theme:not(:is([hydrated], .hydrated)),
74
+ mds-price-table:not(:is([hydrated], .hydrated)),
75
+ mds-price-table-features:not(:is([hydrated], .hydrated)),
76
+ mds-price-table-features-cell:not(:is([hydrated], .hydrated)),
77
+ mds-price-table-features-row:not(:is([hydrated], .hydrated)),
78
+ mds-price-table-header:not(:is([hydrated], .hydrated)),
79
+ mds-price-table-list:not(:is([hydrated], .hydrated)),
80
+ mds-price-table-list-item:not(:is([hydrated], .hydrated)),
81
+ mds-progress:not(:is([hydrated], .hydrated)),
82
+ mds-push-notification:not(:is([hydrated], .hydrated)),
83
+ mds-push-notifications:not(:is([hydrated], .hydrated)),
84
+ mds-quote:not(:is([hydrated], .hydrated)),
85
+ mds-separator:not(:is([hydrated], .hydrated)),
86
+ mds-spinner:not(:is([hydrated], .hydrated)),
87
+ mds-stepper-bar:not(:is([hydrated], .hydrated)),
88
+ mds-stepper-bar-item:not(:is([hydrated], .hydrated)),
89
+ mds-tab:not(:is([hydrated], .hydrated)),
90
+ mds-tab-bar:not(:is([hydrated], .hydrated)),
91
+ mds-tab-bar-item:not(:is([hydrated], .hydrated)),
92
+ mds-tab-item:not(:is([hydrated], .hydrated)),
93
+ mds-table:not(:is([hydrated], .hydrated)),
94
+ mds-table-body:not(:is([hydrated], .hydrated)),
95
+ mds-table-cell:not(:is([hydrated], .hydrated)),
96
+ mds-table-footer:not(:is([hydrated], .hydrated)),
97
+ mds-table-header:not(:is([hydrated], .hydrated)),
98
+ mds-table-header-cell:not(:is([hydrated], .hydrated)),
99
+ mds-table-row:not(:is([hydrated], .hydrated)),
100
+ mds-text:not(:is([hydrated], .hydrated)),
101
+ mds-toast:not(:is([hydrated], .hydrated)),
102
+ mds-tooltip:not(:is([hydrated], .hydrated)),
103
+ mds-tree:not(:is([hydrated], .hydrated)),
104
+ mds-tree-item:not(:is([hydrated], .hydrated)),
105
+ mds-url-view:not(:is([hydrated], .hydrated)),
106
+ mds-usage:not(:is([hydrated], .hydrated)),
107
+ mds-video-wall:not(:is([hydrated], .hydrated)),
108
+ mds-zero:not(:is([hydrated], .hydrated))
109
+ {
110
+ animation-duration: 0s;
111
+ border-color: transparent;
112
+ box-shadow: 0 0 0 transparent;
113
+ opacity: 0;
114
+ outline-color: transparent;
115
+ transition-delay: 0s;
116
+ transition-duration: 0s;
117
+ visibility: hidden;
118
+ }
@@ -0,0 +1,4 @@
1
+ @import './components.css';
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
@@ -0,0 +1,93 @@
1
+ export type KeyboardKeyData = {
2
+ alias: string
3
+ description: string
4
+ group: string
5
+ keyCodes: string[]
6
+ keyboardPosition?: { left?: boolean; right?: boolean }
7
+ }
8
+
9
+ export type KeyboardKeyName =
10
+ | '0'
11
+ | '1'
12
+ | '2'
13
+ | '3'
14
+ | '4'
15
+ | '5'
16
+ | '6'
17
+ | '7'
18
+ | '8'
19
+ | '9'
20
+ | 'a'
21
+ | 'alt'
22
+ | 'altleft'
23
+ | 'altright'
24
+ | 'arrowdown'
25
+ | 'arrowleft'
26
+ | 'arrowright'
27
+ | 'arrowup'
28
+ | 'b'
29
+ | 'backspace'
30
+ | 'c'
31
+ | 'capslock'
32
+ | 'command'
33
+ | 'commandleft'
34
+ | 'commandright'
35
+ | 'control'
36
+ | 'controlleft'
37
+ | 'controlright'
38
+ | 'd'
39
+ | 'delete'
40
+ | 'e'
41
+ | 'end'
42
+ | 'enter'
43
+ | 'escape'
44
+ | 'f'
45
+ | 'f1'
46
+ | 'f10'
47
+ | 'f11'
48
+ | 'f12'
49
+ | 'f2'
50
+ | 'f3'
51
+ | 'f4'
52
+ | 'f5'
53
+ | 'f6'
54
+ | 'f7'
55
+ | 'f8'
56
+ | 'f9'
57
+ | 'g'
58
+ | 'h'
59
+ | 'home'
60
+ | 'i'
61
+ | 'j'
62
+ | 'k'
63
+ | 'l'
64
+ | 'm'
65
+ | 'n'
66
+ | 'o'
67
+ | 'option'
68
+ | 'optionleft'
69
+ | 'optionright'
70
+ | 'p'
71
+ | 'pagedown'
72
+ | 'pageup'
73
+ | 'q'
74
+ | 'r'
75
+ | 's'
76
+ | 'shift'
77
+ | 'shiftleft'
78
+ | 'shiftright'
79
+ | 'space'
80
+ | 't'
81
+ | 'tab'
82
+ | 'u'
83
+ | 'v'
84
+ | 'w'
85
+ | 'windows'
86
+ | 'windowsleft'
87
+ | 'windowsright'
88
+ | 'x'
89
+ | 'y'
90
+ | 'z'
91
+
92
+
93
+ export type KeyboardKeyMap = Record<KeyboardKeyName, KeyboardKeyData>;
@@ -1 +1 @@
1
- import{p as t,b as p}from"./p-b8376582.js";export{s as setNonce}from"./p-b8376582.js";import{g as o}from"./p-e1255160.js";(()=>{const s=import.meta.url,p={};return""!==s&&(p.resourcesUrl=new URL(".",s).href),t(p)})().then((async s=>(await o(),p([["p-3bf85392",[[1,"mds-input-tip",{active:[516],position:[513]}]]]],s))));
1
+ import{p as t,b as p}from"./p-937c40eb.js";export{s as setNonce}from"./p-937c40eb.js";import{g as o}from"./p-e1255160.js";(()=>{const s=import.meta.url,p={};return""!==s&&(p.resourcesUrl=new URL(".",s).href),t(p)})().then((async s=>(await o(),p([["p-04193c07",[[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-c7ede63a.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
118
+ var url = new URL('./p-41e6f98e.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 @@
1
+ import{r as t,h as d,H as e}from"./p-937c40eb.js";const a=class{constructor(d){t(this,d),this.active=!1,this.position="top"}render(){return d(e,{key:"0f883b978b66900598d4a7abeed8d8079d72c420"},d("slot",{key:"cca41852411fe5bc23e2ab27e656a7ad17326a14"}))}};a.style=':host{--mds-input-tip-active-translate:translate(0, 0);left:0.25rem;right:0.25rem;gap:0.25rem;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;pointer-events:none;position:absolute;-webkit-transform:var(--mds-input-tip-active-translate);transform:var(--mds-input-tip-active-translate);-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform}:host(:empty){display:none}:host([position="top"]){top:0.25rem}:host([position="bottom"]){bottom:0.25rem}:host([position="top"][active]:not([active="false"])){--mds-input-tip-active-translate:translate(calc(0.25rem * -1), calc(0.25rem * -1))}:host([position="top"][active]:not([active="false"])) ::slotted(mds-input-tip-item){border-top-left-radius:0;border-top-right-radius:0}:host([position="bottom"][active]:not([active="false"])){--mds-input-tip-active-translate:translate(calc(0.25rem * -1), 0.25rem)}:host([position="bottom"][active]:not([active="false"])) ::slotted(mds-input-tip-item){border-bottom-left-radius:0;border-bottom-right-radius:0}:host-context(.pref-animation-reduce){-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){-webkit-transition-duration:0s;transition-duration:0s}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';export{a 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{a(r.next(t))}catch(t){u(t)}}function o(t){try{a(r["throw"](t))}catch(t){u(t)}}function a(t){t.done?e(t.value):i(t.value).then(c,o)}a((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 a([t,n])}}function a(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-7eeec96b.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-5c7f52a4.system",[[1,"mds-input-tip",{active:[516],position:[513]}]]]],n)]}}))}))}))}}}));
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{a(r.next(t))}catch(t){u(t)}}function o(t){try{a(r["throw"](t))}catch(t){u(t)}}function a(t){t.done?e(t.value):i(t.value).then(c,o)}a((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 a([t,n])}}function a(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-d28332e9.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-d8a5540f.system",[[1,"mds-input-tip",{active:[516],position:[513]}]]]],n)]}}))}))}))}}}));
@@ -0,0 +1,2 @@
1
+ var e=Object.defineProperty,t=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},n=(e,t)=>{e.__stencil__getHostRef=()=>t,t.t=e},o=(e,t)=>(0,console.error)(e,t),l=new Map,i=new Map,s="slot-fb{display:contents}slot-fb[hidden]{display:none}",r="undefined"!=typeof window?window:{},c={o:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},u=e=>Promise.resolve(e),a=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),f=!1,d=[],h=[],p=(e,t)=>n=>{e.push(n),f||(f=!0,t&&4&c.o?y(v):c.raf(v))},m=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){o(e)}e.length=0},v=()=>{m(d),m(h),(f=d.length>0)&&c.raf(v)},y=e=>u().then(e),w=p(h,!0),$=e=>"object"==(e=typeof e)||"function"===e;function b(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>g,map:()=>j,ok:()=>S,unwrap:()=>O,unwrapErr:()=>E});var S=e=>({isOk:!0,isErr:!1,value:e}),g=e=>({isOk:!1,isErr:!0,value:e});function j(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>S(e))):S(n)}if(e.isErr)return g(e.value);throw"should never get here"}var k,O=e=>{if(e.isOk)return e.value;throw e.value},E=e=>{if(e.isErr)return e.value;throw e.value},C=(e,t,...n)=>{let o=null,l=null,i=!1,s=!1;const r=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof e&&!$(o))&&(o+=""),i&&s?r[r.length-1].i+=o:r.push(i?M(null,o):o),s=i)};c(n),t&&t.key&&(l=t.key);const u=M(e,null);return u.u=t,r.length>0&&(u.h=r),u.p=l,u},M=(e,t)=>({o:0,m:e,i:t,v:null,h:null,u:null,p:null}),P={},x=(e,t)=>null==e||$(e)?e:4&t?"false"!==e&&(""===e||!!e):1&t?e+"":e,D=new WeakMap,U=e=>"sc-"+e.$,W=(e,t,n,o,l,i)=>{if(n===o)return;let s=((e,t)=>t in e)(e,t);if(t.toLowerCase(),"key"===t);else{const r=$(o);if((s||r&&null!==o)&&!l)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const l=null==o?"":o;"list"===t?s=!1:null!=n&&e[t]==l||("function"==typeof e.__lookupSetter__(t)?e[t]=l:e.setAttribute(t,l))}}catch(e){}null==o||!1===o?!1===o&&""!==e.getAttribute(t)||e.removeAttribute(t):(!s||4&i||l)&&!r&&1===e.nodeType&&e.setAttribute(t,o=!0===o?"":o)}},A=(e,t,n)=>{const o=11===t.v.nodeType&&t.v.host?t.v.host:t.v,l=e&&e.u||{},i=t.u||{};for(const e of N(Object.keys(l)))e in i||W(o,e,l[e],void 0,n,t.o);for(const e of N(Object.keys(i)))W(o,e,l[e],i[e],n,t.o)};function N(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var R=!1,H=(e,t,n)=>{const o=t.h[n];let l,i,s=0;if(!r.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(l=o.v=r.document.createElement(o.m),A(null,o,R),o.h)for(s=0;s<o.h.length;++s)i=H(e,o,s),i&&l.appendChild(i);return l["s-hn"]=k,l},L=(e,t,n,o,l,i)=>{let s,r=e;for(r.shadowRoot&&r.tagName===k&&(r=r.shadowRoot);l<=i;++l)o[l]&&(s=H(null,n,l),s&&(o[l].v=s,q(r,s,t)))},T=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.v;e&&e.remove()}}},z=(e,t,n=!1)=>e.m===t.m&&(n?(n&&!e.p&&t.p&&(e.p=t.p),!0):e.p===t.p),F=(e,t,n=!1)=>{const o=t.v=e.v,l=e.h,i=t.h;A(e,t,R),null!==l&&null!==i?((e,t,n,o,l=!1)=>{let i,s,r=0,c=0,u=0,a=0,f=t.length-1,d=t[0],h=t[f],p=o.length-1,m=o[0],v=o[p];for(;r<=f&&c<=p;)if(null==d)d=t[++r];else if(null==h)h=t[--f];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(z(d,m,l))F(d,m,l),d=t[++r],m=o[++c];else if(z(h,v,l))F(h,v,l),h=t[--f],v=o[--p];else if(z(d,v,l))F(d,v,l),q(e,d.v,h.v.nextSibling),d=t[++r],v=o[--p];else if(z(h,m,l))F(h,m,l),q(e,h.v,d.v),h=t[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(s=t[u],s.m!==m.m?i=H(t&&t[c],n,u):(F(s,m,l),t[u]=void 0,i=s.v),m=o[++c]):(i=H(t&&t[c],n,c),m=o[++c]),i&&q(d.v.parentNode,i,d.v)}r>f?L(e,null==o[p+1]?null:o[p+1].v,n,o,c,p):c>p&&T(t,r,f)})(o,l,t,i,n):null!==i?L(o,null,t,i,0,i.length-1):!n&&null!==l&&T(l,0,l.length-1)},q=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),G=(e,t)=>{if(t&&!e.S&&t["s-p"]){const n=t["s-p"].push(new Promise((o=>e.S=()=>{t["s-p"].splice(n-1,1),o()})))}},I=(e,t)=>{if(e.o|=16,!(4&e.o))return G(e,e.j),w((()=>V(e,t)));e.o|=512},V=(e,t)=>{const n=e.$hostElement$,o=e.t;if(!o)throw Error(`Can't render component <${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`);let l;return l=X(o,t?"componentWillLoad":"componentWillUpdate",void 0,n),l=Y(l,(()=>X(o,"componentWillRender",void 0,n))),Y(l,(()=>B(e,o,t)))},Y=(e,t)=>_(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),_=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,B=async(e,t,n)=>{var o;const l=e.$hostElement$,u=l["s-rc"];n&&(e=>{const t=e.k,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=U(t),l=i.get(o);if(!r.document)return o;if(e=11===e.nodeType?e:r.document,l)if("string"==typeof l){let i,u=D.get(e=e.head||e);if(u||D.set(e,u=new Set),!u.has(o)){{i=document.querySelector(`[sty-id="${o}"]`)||r.document.createElement("style"),i.innerHTML=l;const s=null!=(n=c.O)?n:b(r.document);if(null!=s&&i.setAttribute("nonce",s),!(1&t.o))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(i,(null==n?void 0:n.parentNode)===e?n:null)}else if("host"in e)if(a){const t=new CSSStyleSheet;t.replaceSync(l),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=l+t.innerHTML:e.prepend(i)}else e.append(i);1&t.o&&e.insertBefore(i,null)}4&t.o&&(i.innerHTML+=s),u&&u.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);(10&o&&2&o||128&o)&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);J(e,t,l,n),u&&(u.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>K(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},J=(e,t,n,l)=>{try{t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{const o=e.$hostElement$,l=e.k,i=e.C||M(null,null),s=(e=>e&&e.m===P)(t)?t:C(null,null,t);if(k=o.tagName,l.M&&(s.u=s.u||{},l.M.map((([e,t])=>s.u[t]=o[e]))),n&&s.u)for(const e of Object.keys(s.u))o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(s.u[e]=o[e]);s.m=null,s.o|=4,e.C=s,s.v=i.v=o.shadowRoot||o,F(i,s,n)})(e,t,l)}catch(t){o(t,e.$hostElement$)}return null},K=e=>{const t=e.$hostElement$,n=e.t,o=e.j;X(n,"componentDidRender",void 0,t),64&e.o?X(n,"componentDidUpdate",void 0,t):(e.o|=64,Z(t),X(n,"componentDidLoad",void 0,t),e.P(t),o||Q()),e.S&&(e.S(),e.S=void 0),512&e.o&&y((()=>I(e,!1))),e.o&=-517},Q=()=>{y((()=>(e=>{const t=c.ce("appload",{detail:{namespace:"mds-input-tip"}});return e.dispatchEvent(t),t})(r)))},X=(e,t,n,l)=>{if(e&&e[t])try{return e[t](n)}catch(e){o(e,l)}},Z=e=>e.setAttribute("hydrated",""),ee=(e,n,o,l)=>{const i=t(e);if(!i)throw Error(`Couldn't find host element for "${l.$}" 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/stenciljs/core/issues/5457).`);const s=i.D.get(n),r=i.o,c=i.t;if(o=x(o,l.U[n][0]),(!(8&r)||void 0===s)&&o!==s&&(!Number.isNaN(s)||!Number.isNaN(o))&&(i.D.set(n,o),c&&2==(18&r))){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(o,s,n))return;I(i,!1)}},te=(e,n,o)=>{var l,i;const s=e.prototype;if(n.U){const r=Object.entries(null!=(l=n.U)?l:{});if(r.map((([e,[l]])=>{if(31&l||2&o&&32&l){const{get:i,set:r}=Object.getOwnPropertyDescriptor(s,e)||{};i&&(n.U[e][0]|=2048),r&&(n.U[e][0]|=4096),(1&o||!i)&&Object.defineProperty(s,e,{get(){{if(!(2048&n.U[e][0]))return((e,n)=>t(this).D.get(n))(0,e);const o=t(this),l=o?o.t:s;if(!l)return;return l[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,e,{set(i){const s=t(this);if(r){const t=32&l?this[e]:s.$hostElement$[e];return void 0===t&&s.D.get(e)?i=s.D.get(e):!s.D.get(e)&&t&&s.D.set(e,t),r.call(this,x(i,l)),void ee(this,e,i=32&l?this[e]:s.$hostElement$[e],n)}{if(!(1&o&&4096&n.U[e][0]))return ee(this,e,i,n),void(1&o&&!s.t&&s.W.then((()=>{4096&n.U[e][0]&&s.t[e]!==s.D.get(e)&&(s.t[e]=i)})));const t=()=>{const t=s.t[e];!s.D.get(e)&&t&&s.D.set(e,t),s.t[e]=x(i,l),ee(this,e,s.t[e],n)};s.t?t():s.W.then((()=>t()))}}})}})),1&o){const o=new Map;s.attributeChangedCallback=function(e,l,i){c.jmp((()=>{var r;const c=o.get(e);if(this.hasOwnProperty(c))i=this[c],delete this[c];else{if(s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==i)return;if(null==c){const o=t(this),s=null==o?void 0:o.o;if(s&&!(8&s)&&128&s&&i!==l){const t=o.t,s=null==(r=n.A)?void 0:r[e];null==s||s.forEach((n=>{null!=t[n]&&t[n].call(t,i,l,e)}))}return}}const u=Object.getOwnPropertyDescriptor(s,c);(i=(null!==i||"boolean"!=typeof this[c])&&i)===this[c]||u.get&&!u.set||(this[c]=i)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=n.A)?i:{}),...r.filter((([e,t])=>15&t[0])).map((([e,t])=>{var l;const i=t[1]||e;return o.set(i,e),512&t[0]&&(null==(l=n.M)||l.push([e,i])),i}))]))}}return e},ne=(e,t)=>{X(e,"connectedCallback",void 0,t)},oe=(e,t)=>{X(e,"disconnectedCallback",void 0,t||e)},le=(e,n={})=>{var u;if(!r.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const f=[],d=n.exclude||[],h=r.customElements,p=r.document.head,m=p.querySelector("meta[charset]"),v=r.document.createElement("style"),y=[];let w,$=!0;Object.assign(c,n),c.l=new URL(n.resourcesUrl||"./",r.document.baseURI).href;let S=!1;if(e.map((e=>{e[1].map((n=>{const s={o:n[0],$:n[1],U:n[2],N:n[3]};4&s.o&&(S=!0),s.U=n[2],s.M=[];const r=s.$,u=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,t)=>{const n={o:0,$hostElement$:e,k:t,D:new Map};n.W=new Promise((e=>n.P=e)),e["s-p"]=[],e["s-rc"]=[];const o=n;e.__stencil__getHostRef=()=>o})(e=this,s),1&s.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${s.$}! 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),w&&(clearTimeout(w),w=null),$?y.push(this):c.jmp((()=>(e=>{if(!(1&c.o)){const n=t(e),s=n.k,r=()=>{};if(1&n.o)(null==n?void 0:n.t)?ne(n.t,e):(null==n?void 0:n.W)&&n.W.then((()=>ne(n.t,e)));else{n.o|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){G(n,n.j=t);break}}s.U&&Object.entries(s.U).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let s;if(!(32&t.o)){if(t.o|=32,n.R){const i=((e,t)=>{const n=e.$.replace(/-/g,"_"),i=e.R;if(!i)return;const s=l.get(i);return s?s[n]:import(`./${i}.entry.js`).then((e=>(l.set(i,e),e[n])),(e=>{o(e,t.$hostElement$)}))
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,t);if(i&&"then"in i){const e=()=>{};s=await i,e()}else s=i;if(!s)throw Error(`Constructor for "${n.$}#${t.H}" was not found`);s.isProxied||(te(s,n,2),s.isProxied=!0);const r=()=>{};t.o|=8;try{new s(t)}catch(t){o(t,e)}t.o&=-9,r(),ne(t.t,e)}else s=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(s&&s.style){let e;"string"==typeof s.style&&(e=s.style);const t=U(n);if(!i.has(t)){const o=()=>{};((e,t,n)=>{let o=i.get(e);a&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,i.set(e,o)})(t,e,!!(1&n.o)),o()}}}const r=t.j,c=()=>I(t,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(e,n,s)}r()}})(this)))}disconnectedCallback(){c.jmp((()=>(async e=>{if(!(1&c.o)){const n=t(e);(null==n?void 0:n.t)?oe(n.t,e):(null==n?void 0:n.W)&&n.W.then((()=>oe(n.t,e)))}D.has(e)&&D.delete(e),e.shadowRoot&&D.has(e.shadowRoot)&&D.delete(e.shadowRoot)})(this))),c.raf((()=>{var e;const n=t(this),o=y.findIndex((e=>e===this));o>-1&&y.splice(o,1),(null==(e=null==n?void 0:n.C)?void 0:e.v)instanceof Node&&!n.C.v.isConnected&&delete n.C.v}))}componentOnReady(){return t(this).W}};s.R=e[0],d.includes(r)||h.get(r)||(f.push(r),h.define(r,te(u,s,1)))}))})),f.length>0&&(S&&(v.textContent+=s),v.textContent+=f.sort()+"{visibility:hidden}[hydrated]{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const e=null!=(u=c.O)?u:b(r.document);null!=e&&v.setAttribute("nonce",e),p.insertBefore(v,m?m.nextSibling:p.firstChild)}$=!1,y.length?y.map((e=>e.connectedCallback())):c.jmp((()=>w=setTimeout(Q,30)))},ie=e=>c.O=e;export{P as H,le as b,C as h,u as p,n as r,ie as s}