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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. package/dist/cjs/{index-442db91d.js → index-66d8bb25.js} +143 -58
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mds-input-tip.cjs.entry.js +7 -1
  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/aria.js +17 -1
  7. package/dist/collection/common/device.js +6 -0
  8. package/dist/collection/common/floating-controller.js +180 -0
  9. package/dist/collection/common/keyboard-manager.js +2 -2
  10. package/dist/collection/common/slot.js +19 -0
  11. package/dist/collection/components/mds-input-tip/mds-input-tip.js +10 -0
  12. package/dist/collection/dictionary/animation.js +5 -0
  13. package/dist/collection/dictionary/file-extensions.js +61 -56
  14. package/dist/collection/dictionary/text.js +60 -1
  15. package/dist/collection/dictionary/tree.js +13 -0
  16. package/dist/collection/fixtures/filenames.js +62 -1
  17. package/dist/collection/type/animation.js +1 -0
  18. package/dist/collection/type/tree.js +1 -0
  19. package/dist/collection/type/variant-file-format.js +5 -0
  20. package/dist/components/mds-input-tip.js +6 -0
  21. package/dist/documentation.d.ts +8 -0
  22. package/dist/documentation.json +8 -4
  23. package/dist/esm/{index-8fed469d.js → index-4e431d49.js} +143 -58
  24. package/dist/esm/loader.js +2 -2
  25. package/dist/esm/mds-input-tip.entry.js +7 -1
  26. package/dist/esm/mds-input-tip.js +3 -3
  27. package/dist/esm-es5/index-4e431d49.js +1 -0
  28. package/dist/esm-es5/loader.js +1 -1
  29. package/dist/esm-es5/mds-input-tip.entry.js +1 -1
  30. package/dist/esm-es5/mds-input-tip.js +1 -1
  31. package/dist/mds-input-tip/mds-input-tip.esm.js +1 -1
  32. package/dist/mds-input-tip/mds-input-tip.js +1 -1
  33. package/dist/mds-input-tip/{p-4486a5e4.entry.js → p-3bf85392.entry.js} +1 -1
  34. package/dist/mds-input-tip/{p-fadf816e.system.entry.js → p-5c7f52a4.system.entry.js} +1 -1
  35. package/dist/mds-input-tip/p-7eeec96b.system.js +2 -0
  36. package/dist/mds-input-tip/p-b8376582.js +2 -0
  37. package/dist/mds-input-tip/{p-c915dfb3.system.js → p-c7ede63a.system.js} +1 -1
  38. package/dist/stats.json +62 -36
  39. package/dist/types/common/aria.d.ts +3 -1
  40. package/dist/types/common/device.d.ts +2 -0
  41. package/dist/types/common/floating-controller.d.ts +46 -0
  42. package/dist/types/common/slot.d.ts +3 -0
  43. package/dist/types/dictionary/animation.d.ts +2 -0
  44. package/dist/types/dictionary/text.d.ts +3 -1
  45. package/dist/types/dictionary/tree.d.ts +4 -0
  46. package/dist/types/fixtures/filenames.d.ts +62 -1
  47. package/dist/types/type/animation.d.ts +1 -0
  48. package/dist/types/type/file-types.d.ts +1 -1
  49. package/dist/types/type/text.d.ts +2 -0
  50. package/dist/types/type/tree.d.ts +3 -0
  51. package/dist/types/type/variant-file-format.d.ts +1 -1
  52. package/documentation.json +57 -18
  53. package/package.json +4 -4
  54. package/src/common/aria.ts +22 -2
  55. package/src/common/device.ts +9 -0
  56. package/src/common/floating-controller.ts +263 -0
  57. package/src/common/keyboard-manager.ts +2 -2
  58. package/src/common/slot.ts +24 -0
  59. package/src/dictionary/animation.ts +8 -0
  60. package/src/dictionary/file-extensions.ts +61 -56
  61. package/src/dictionary/text.ts +64 -0
  62. package/src/dictionary/tree.ts +21 -0
  63. package/src/fixtures/filenames.ts +63 -0
  64. package/src/fixtures/icons.json +29 -0
  65. package/src/fixtures/iconsauce.json +11 -0
  66. package/src/meta/file-format/locale.el.json +44 -0
  67. package/src/meta/file-format/locale.en.json +44 -0
  68. package/src/meta/file-format/locale.es.json +44 -0
  69. package/src/meta/file-format/locale.it.json +44 -0
  70. package/src/type/animation.ts +3 -0
  71. package/src/type/file-types.ts +6 -0
  72. package/src/type/text.ts +59 -0
  73. package/src/type/tree.ts +12 -0
  74. package/src/type/variant-file-format.ts +6 -0
  75. package/www/build/mds-input-tip.esm.js +1 -1
  76. package/www/build/mds-input-tip.js +1 -1
  77. package/www/build/{p-4486a5e4.entry.js → p-3bf85392.entry.js} +1 -1
  78. package/www/build/{p-fadf816e.system.entry.js → p-5c7f52a4.system.entry.js} +1 -1
  79. package/www/build/p-7eeec96b.system.js +2 -0
  80. package/www/build/p-b8376582.js +2 -0
  81. package/www/build/{p-c915dfb3.system.js → p-c7ede63a.system.js} +1 -1
  82. package/dist/esm-es5/index-8fed469d.js +0 -1
  83. package/dist/mds-input-tip/p-37c61f56.system.js +0 -2
  84. package/dist/mds-input-tip/p-3e967425.js +0 -2
  85. package/www/build/p-37c61f56.system.js +0 -2
  86. package/www/build/p-3e967425.js +0 -2
@@ -1,17 +1,21 @@
1
1
  const NAMESPACE = 'mds-input-tip';
2
- const BUILD = /* mds-input-tip */ { 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 };
2
+ const BUILD = /* mds-input-tip */ { 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, modernPropertyDecls: 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 };
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.22.2 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.25.1 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __defProp = Object.defineProperty;
8
8
  var __export = (target, all) => {
9
9
  for (var name in all)
10
10
  __defProp(target, name, { get: all[name], enumerable: true });
11
11
  };
12
+
13
+ // src/client/client-host-ref.ts
12
14
  var hostRefs = /* @__PURE__ */ new WeakMap();
13
15
  var getHostRef = (ref) => hostRefs.get(ref);
14
- var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
16
+ var registerInstance = (lazyInstance, hostRef) => {
17
+ hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
18
+ };
15
19
  var registerHost = (hostElement, cmpMeta) => {
16
20
  const hostRef = {
17
21
  $flags$: 0,
@@ -24,7 +28,8 @@ var registerHost = (hostElement, cmpMeta) => {
24
28
  hostElement["s-p"] = [];
25
29
  hostElement["s-rc"] = [];
26
30
  }
27
- return hostRefs.set(hostElement, hostRef);
31
+ const ref = hostRefs.set(hostElement, hostRef);
32
+ return ref;
28
33
  };
29
34
  var isMemberInElement = (elm, memberName) => memberName in elm;
30
35
  var consoleError = (e, el) => (0, console.error)(e, el);
@@ -61,16 +66,22 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
61
66
  /* webpackExclude: /\.system\.entry\.js$/ */
62
67
  /* webpackMode: "lazy" */
63
68
  `./${bundleId}.entry.js${""}`
64
- ).then((importedModule) => {
65
- {
66
- cmpModules.set(bundleId, importedModule);
69
+ ).then(
70
+ (importedModule) => {
71
+ {
72
+ cmpModules.set(bundleId, importedModule);
73
+ }
74
+ return importedModule[exportName];
75
+ },
76
+ (e) => {
77
+ consoleError(e, hostRef.$hostElement$);
67
78
  }
68
- return importedModule[exportName];
69
- }, consoleError);
79
+ );
70
80
  };
71
81
 
72
82
  // src/client/client-style.ts
73
83
  var styles = /* @__PURE__ */ new Map();
84
+ var HYDRATED_STYLE_ID = "sty-id";
74
85
  var HYDRATED_CSS = "{visibility:hidden}[hydrated]{visibility:inherit}";
75
86
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
76
87
  var win = typeof window !== "undefined" ? window : {};
@@ -128,12 +139,6 @@ var flush = () => {
128
139
  };
129
140
  var nextTick = (cb) => promiseResolve().then(cb);
130
141
  var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
131
-
132
- // src/utils/constants.ts
133
- var EMPTY_OBJ = {};
134
-
135
- // src/utils/helpers.ts
136
- var isDef = (v) => v != null;
137
142
  var isComplexType = (o) => {
138
143
  o = typeof o;
139
144
  return o === "object" || o === "function";
@@ -312,7 +317,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
312
317
  }
313
318
  if (!appliedStyles.has(scopeId2)) {
314
319
  {
315
- styleElm = doc.createElement("style");
320
+ styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
316
321
  styleElm.innerHTML = style;
317
322
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
318
323
  if (nonce != null) {
@@ -322,7 +327,10 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
322
327
  if (styleContainerNode.nodeName === "HEAD") {
323
328
  const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
324
329
  const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
325
- styleContainerNode.insertBefore(styleElm, referenceNode2);
330
+ styleContainerNode.insertBefore(
331
+ styleElm,
332
+ (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
333
+ );
326
334
  } else if ("host" in styleContainerNode) {
327
335
  if (supportsConstructableStylesheets) {
328
336
  const stylesheet = new CSSStyleSheet();
@@ -372,7 +380,7 @@ var attachStyles = (hostRef) => {
372
380
  endAttachStyles();
373
381
  };
374
382
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
375
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
383
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
376
384
  if (oldValue !== newValue) {
377
385
  let isProp = isMemberInElement(elm, memberName);
378
386
  memberName.toLowerCase();
@@ -391,7 +399,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
391
399
  elm.setAttribute(memberName, n);
392
400
  }
393
401
  }
394
- } else {
402
+ } else if (elm[memberName] !== newValue) {
395
403
  elm[memberName] = newValue;
396
404
  }
397
405
  } catch (e) {
@@ -414,19 +422,31 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
414
422
  };
415
423
 
416
424
  // src/runtime/vdom/update-element.ts
417
- var updateElement = (oldVnode, newVnode, isSvgMode2) => {
425
+ var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
418
426
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
419
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
420
- const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
427
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
428
+ const newVnodeAttrs = newVnode.$attrs$ || {};
421
429
  {
422
430
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
423
431
  if (!(memberName in newVnodeAttrs)) {
424
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
432
+ setAccessor(
433
+ elm,
434
+ memberName,
435
+ oldVnodeAttrs[memberName],
436
+ void 0,
437
+ isSvgMode2,
438
+ newVnode.$flags$);
425
439
  }
426
440
  }
427
441
  }
428
442
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
429
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
443
+ setAccessor(
444
+ elm,
445
+ memberName,
446
+ oldVnodeAttrs[memberName],
447
+ newVnodeAttrs[memberName],
448
+ isSvgMode2,
449
+ newVnode.$flags$);
430
450
  }
431
451
  };
432
452
  function sortedAttrNames(attrNames) {
@@ -438,13 +458,10 @@ function sortedAttrNames(attrNames) {
438
458
  attrNames
439
459
  );
440
460
  }
441
-
442
- // src/runtime/vdom/vdom-render.ts
443
- var scopeId;
444
461
  var hostTagName;
445
462
  var useNativeShadowDom = false;
446
463
  var isSvgMode = false;
447
- var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
464
+ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
448
465
  const newVNode2 = newParentVNode.$children$[childIndex];
449
466
  let i2 = 0;
450
467
  let elm;
@@ -456,11 +473,6 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
456
473
  {
457
474
  updateElement(null, newVNode2, isSvgMode);
458
475
  }
459
- const rootNode = elm.getRootNode();
460
- const isElementWithinShadowRoot = !rootNode.querySelector("body");
461
- if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
462
- elm.classList.add(elm["s-si"] = scopeId);
463
- }
464
476
  if (newVNode2.$children$) {
465
477
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
466
478
  childNode = createElm(oldParentVNode, newVNode2, i2);
@@ -589,6 +601,9 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
589
601
  if (!isInitialRender) {
590
602
  return leftVNode.$key$ === rightVNode.$key$;
591
603
  }
604
+ if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
605
+ leftVNode.$key$ = rightVNode.$key$;
606
+ }
592
607
  return true;
593
608
  }
594
609
  return false;
@@ -617,8 +632,9 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
617
632
  }
618
633
  };
619
634
  var insertBefore = (parent, newNode, reference) => {
620
- const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
621
- return inserted;
635
+ {
636
+ return parent == null ? void 0 : parent.insertBefore(newNode, reference);
637
+ }
622
638
  };
623
639
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
624
640
  const hostElm = hostRef.$hostElement$;
@@ -643,9 +659,6 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
643
659
  rootVnode.$flags$ |= 4 /* isHost */;
644
660
  hostRef.$vnode$ = rootVnode;
645
661
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
646
- {
647
- scopeId = hostElm["s-sc"];
648
- }
649
662
  useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
650
663
  patch(oldVNode, rootVnode, isInitialLoad);
651
664
  };
@@ -653,7 +666,14 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
653
666
  // src/runtime/update-component.ts
654
667
  var attachToAncestor = (hostRef, ancestorComponent) => {
655
668
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
656
- ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
669
+ const index = ancestorComponent["s-p"].push(
670
+ new Promise(
671
+ (r) => hostRef.$onRenderResolve$ = () => {
672
+ ancestorComponent["s-p"].splice(index - 1, 1);
673
+ r();
674
+ }
675
+ )
676
+ );
657
677
  }
658
678
  };
659
679
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -812,15 +832,68 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
812
832
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
813
833
  members.map(([memberName, [memberFlags]]) => {
814
834
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
835
+ const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
836
+ if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
837
+ if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
838
+ if (flags & 1 /* isElementConstructor */ || !origGetter) {
839
+ Object.defineProperty(prototype, memberName, {
840
+ get() {
841
+ {
842
+ if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
843
+ return getValue(this, memberName);
844
+ }
845
+ const ref = getHostRef(this);
846
+ const instance = ref ? ref.$lazyInstance$ : prototype;
847
+ if (!instance) return;
848
+ return instance[memberName];
849
+ }
850
+ },
851
+ configurable: true,
852
+ enumerable: true
853
+ });
854
+ }
815
855
  Object.defineProperty(prototype, memberName, {
816
- get() {
817
- return getValue(this, memberName);
818
- },
819
856
  set(newValue) {
820
- setValue(this, memberName, newValue, cmpMeta);
821
- },
822
- configurable: true,
823
- enumerable: true
857
+ const ref = getHostRef(this);
858
+ if (origSetter) {
859
+ const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
860
+ if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
861
+ newValue = ref.$instanceValues$.get(memberName);
862
+ } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
863
+ ref.$instanceValues$.set(memberName, currentValue);
864
+ }
865
+ origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
866
+ newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
867
+ setValue(this, memberName, newValue, cmpMeta);
868
+ return;
869
+ }
870
+ {
871
+ if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
872
+ setValue(this, memberName, newValue, cmpMeta);
873
+ if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
874
+ ref.$onReadyPromise$.then(() => {
875
+ if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
876
+ ref.$lazyInstance$[memberName] = newValue;
877
+ }
878
+ });
879
+ }
880
+ return;
881
+ }
882
+ const setterSetVal = () => {
883
+ const currentValue = ref.$lazyInstance$[memberName];
884
+ if (!ref.$instanceValues$.get(memberName) && currentValue) {
885
+ ref.$instanceValues$.set(memberName, currentValue);
886
+ }
887
+ ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
888
+ setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
889
+ };
890
+ if (ref.$lazyInstance$) {
891
+ setterSetVal();
892
+ } else {
893
+ ref.$onReadyPromise$.then(() => setterSetVal());
894
+ }
895
+ }
896
+ }
824
897
  });
825
898
  }
826
899
  });
@@ -830,7 +903,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
830
903
  plt.jmp(() => {
831
904
  var _a2;
832
905
  const propName = attrNameToPropName.get(attrName);
833
- if (this.hasOwnProperty(propName)) {
906
+ if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
834
907
  newValue = this[propName];
835
908
  delete this[propName];
836
909
  } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
@@ -850,7 +923,11 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
850
923
  }
851
924
  return;
852
925
  }
853
- this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
926
+ const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
927
+ newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
928
+ if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
929
+ this[propName] = newValue;
930
+ }
854
931
  });
855
932
  };
856
933
  Cstr.observedAttributes = Array.from(
@@ -877,9 +954,8 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
877
954
  let Cstr;
878
955
  if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
879
956
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
880
- const bundleId = cmpMeta.$lazyBundleId$;
881
- if (bundleId) {
882
- const CstrImport = loadModule(cmpMeta);
957
+ {
958
+ const CstrImport = loadModule(cmpMeta, hostRef);
883
959
  if (CstrImport && "then" in CstrImport) {
884
960
  const endLoad = uniqueTime();
885
961
  Cstr = await CstrImport;
@@ -901,16 +977,12 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
901
977
  try {
902
978
  new Cstr(hostRef);
903
979
  } catch (e) {
904
- consoleError(e);
980
+ consoleError(e, elm);
905
981
  }
906
982
  {
907
983
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
908
984
  }
909
985
  endNewInstance();
910
- } else {
911
- Cstr = elm.constructor;
912
- const cmpTag = elm.localName;
913
- customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
914
986
  }
915
987
  if (Cstr && Cstr.style) {
916
988
  let style;
@@ -933,7 +1005,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
933
1005
  schedule();
934
1006
  }
935
1007
  };
936
- var fireConnectedCallback = (instance) => {
1008
+ var fireConnectedCallback = (instance, elm) => {
937
1009
  };
938
1010
 
939
1011
  // src/runtime/connected-callback.ts
@@ -973,7 +1045,7 @@ var connectedCallback = (elm) => {
973
1045
  endConnected();
974
1046
  }
975
1047
  };
976
- var disconnectInstance = (instance) => {
1048
+ var disconnectInstance = (instance, elm) => {
977
1049
  };
978
1050
  var disconnectedCallback = async (elm) => {
979
1051
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
@@ -982,6 +1054,12 @@ var disconnectedCallback = async (elm) => {
982
1054
  hostRef.$onReadyPromise$.then(() => disconnectInstance());
983
1055
  }
984
1056
  }
1057
+ if (rootAppliedStyles.has(elm)) {
1058
+ rootAppliedStyles.delete(elm);
1059
+ }
1060
+ if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1061
+ rootAppliedStyles.delete(elm.shadowRoot);
1062
+ }
985
1063
  };
986
1064
 
987
1065
  // src/runtime/bootstrap-lazy.ts
@@ -1058,6 +1136,13 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1058
1136
  }
1059
1137
  disconnectedCallback() {
1060
1138
  plt.jmp(() => disconnectedCallback(this));
1139
+ plt.raf(() => {
1140
+ var _a3;
1141
+ const hostRef = getHostRef(this);
1142
+ if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1143
+ delete hostRef.$vnode$.$elm$;
1144
+ }
1145
+ });
1061
1146
  }
1062
1147
  componentOnReady() {
1063
1148
  return getHostRef(this).$onReadyPromise$;
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-8fed469d.js';
2
- export { s as setNonce } from './index-8fed469d.js';
1
+ import { b as bootstrapLazy } from './index-4e431d49.js';
2
+ export { s as setNonce } from './index-4e431d49.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-8fed469d.js';
1
+ import { r as registerInstance, h, H as Host } from './index-4e431d49.js';
2
2
 
3
3
  const mdsInputTipCss = "@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";
4
4
  const MdsInputTipStyle0 = mdsInputTipCss;
@@ -6,7 +6,13 @@ const MdsInputTipStyle0 = mdsInputTipCss;
6
6
  const MdsInputTip = class {
7
7
  constructor(hostRef) {
8
8
  registerInstance(this, hostRef);
9
+ /**
10
+ * Specifies if the component is active and shows expanded children or not
11
+ */
9
12
  this.active = false;
13
+ /**
14
+ * Specifies the position of the element relative to its container
15
+ */
10
16
  this.position = 'top';
11
17
  }
12
18
  render() {
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-8fed469d.js';
2
- export { s as setNonce } from './index-8fed469d.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-4e431d49.js';
2
+ export { s as setNonce } from './index-4e431d49.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.22.2 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.25.1 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;
@@ -0,0 +1 @@
1
+ var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function o(e){try{u(n.next(e))}catch(e){i(e)}}function s(e){try{u(n["throw"](e))}catch(e){i(e)}}function u(e){e.done?r(e.value):a(e.value).then(o,s)}u((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return u([e,t])}}function u(s){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(r=0)),r)try{if(n=1,a&&(i=s[0]&2?a["return"]:s[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;if(a=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(s[0]===6&&r.label<i[1]){r.label=i[1];i=s;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(s);break}if(i[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];a=0}finally{n=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,i;n<a;n++){if(i||!(n in t)){if(!i)i=Array.prototype.slice.call(t,0,n);i[n]=t[n]}}return e.concat(i||Array.prototype.slice.call(t))};var NAMESPACE="mds-input-tip";var BUILD={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,modernPropertyDecls: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 __defProp=Object.defineProperty;var __export=function(e,t){for(var r in t)__defProp(e,r,{get:t[r],enumerable:true})};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){hostRefs.set(t.t=e,t)};var registerHost=function(e,t){var r={i:0,$hostElement$:e,o:t,u:new Map};{r.l=new Promise((function(e){return r.v=e}));e["s-p"]=[];e["s-rc"]=[]}var n=hostRefs.set(e,r);return n};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,r){var n=e.p.replace(/-/g,"_");var a=e.m;if(!a){return void 0}var i=cmpModules.get(a);if(i){return i[n]}if(!r||!BUILD.hotModuleReplacement){var o=function(e){cmpModules.set(a,e);return e[n]};switch(a){case"mds-input-tip":return import("./mds-input-tip.entry.js").then(o,consoleError)}}return import("./".concat(a,".entry.js").concat("")).then((function(e){{cmpModules.set(a,e)}return e[n]}),(function(e){consoleError(e,t.$hostElement$)}))};var styles=new Map;var HYDRATED_STYLE_ID="sty-id";var HYDRATED_CSS="{visibility:hidden}[hydrated]{visibility:inherit}";var SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}";var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={i:0,h:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var queuePending=false;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(r){e.push(r);if(!queuePending){queuePending=true;if(t&&plt.i&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var t,r,n;return(n=(r=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?n:void 0}var result_exports={};__export(result_exports,{err:function(){return err},map:function(){return map},ok:function(){return ok},unwrap:function(){return unwrap},unwrapErr:function(){return unwrapErr}});var ok=function(e){return{isOk:true,isErr:false,value:e}};var err=function(e){return{isOk:false,isErr:true,value:e}};function map(e,t){if(e.isOk){var r=t(e.value);if(r instanceof Promise){return r.then((function(e){return ok(e)}))}else{return ok(r)}}if(e.isErr){var n=e.value;return err(n)}throw"should never get here"}var unwrap=function(e){if(e.isOk){return e.value}else{throw e.value}};var unwrapErr=function(e){if(e.isErr){return e.value}else{throw e.value}};var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var h=function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var i=null;var o=false;var s=false;var u=[];var l=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){l(a)}else if(a!=null&&typeof a!=="boolean"){if(o=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(o&&s){u[u.length-1].S+=a}else{u.push(o?newVNode(null,a):a)}s=o}}};l(r);if(t){if(t.key){i=t.key}}var f=newVNode(e,null);f._=t;if(u.length>0){f.T=u}{f.C=i}return f};var newVNode=function(e,t){var r={i:0,A:e,S:t,D:null,T:null};{r._=null}{r.C=null}return r};var Host={};var isHost=function(e){return e&&e.A===Host};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&1){return String(e)}return e}return e};var emitEvent=function(e,t,r){var n=plt.ce(t,r);e.dispatchEvent(n);return n};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,r){var n=styles.get(e);if(supportsConstructableStylesheets&&r){n=n||new CSSStyleSheet;if(typeof n==="string"){n=t}else{n.replaceSync(t)}}else{n=t}styles.set(e,n)};var addStyle=function(e,t,r){var n;var a=getScopeId(t);var i=styles.get(a);e=e.nodeType===11?e:doc;if(i){if(typeof i==="string"){e=e.head||e;var o=rootAppliedStyles.get(e);var s=void 0;if(!o){rootAppliedStyles.set(e,o=new Set)}if(!o.has(a)){{s=document.querySelector("[".concat(HYDRATED_STYLE_ID,'="').concat(a,'"]'))||doc.createElement("style");s.innerHTML=i;var u=(n=plt.k)!=null?n:queryNonceMetaTagContent(doc);if(u!=null){s.setAttribute("nonce",u)}if(!(t.i&1)){if(e.nodeName==="HEAD"){var l=e.querySelectorAll("link[rel=preconnect]");var f=l.length>0?l[l.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,(f==null?void 0:f.parentNode)===e?f:null)}else if("host"in e){if(supportsConstructableStylesheets){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(s)}}}else{e.append(s)}}if(t.i&1&&e.nodeName!=="HEAD"){e.insertBefore(s,null)}}if(t.i&4){s.innerHTML+=SLOT_FB_CSS}if(o){o.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var attachStyles=function(e){var t=e.o;var r=e.$hostElement$;var n=t.i;var a=createTime("attachStyles",t.p);var i=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10&&n&2){r["s-sc"]=i;r.classList.add(i+"-h")}a()};var getScopeId=function(e,t){return"sc-"+e.p};var setAccessor=function(e,t,r,n,a,i,o){if(r!==n){var s=isMemberInElement(e,t);t.toLowerCase();if(t==="key");else{var u=isComplexType(n);if((s||u&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var l=n==null?"":n;if(t==="list"){s=false}else if(r==null||e[t]!=l){if(typeof e.__lookupSetter__(t)==="function"){e[t]=l}else{e.setAttribute(t,l)}}}else if(e[t]!==n){e[t]=n}}catch(e){}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!s||i&4||a)&&!u){n=n===true?"":n;{e.setAttribute(t,n)}}}}};var updateElement=function(e,t,r,n){var a=t.D.nodeType===11&&t.D.host?t.D.host:t.D;var i=e&&e._||{};var o=t._||{};{for(var s=0,u=sortedAttrNames(Object.keys(i));s<u.length;s++){var l=u[s];if(!(l in o)){setAccessor(a,l,i[l],void 0,r,t.i)}}}for(var f=0,c=sortedAttrNames(Object.keys(o));f<c.length;f++){var l=c[f];setAccessor(a,l,i[l],o[l],r,t.i)}};function sortedAttrNames(e){return e.includes("ref")?__spreadArray(__spreadArray([],e.filter((function(e){return e!=="ref"})),true),["ref"],false):e}var hostTagName;var useNativeShadowDom=false;var isSvgMode=false;var createElm=function(e,t,r){var n=t.T[r];var a=0;var i;var o;{i=n.D=doc.createElement(!useNativeShadowDom&&BUILD.slotRelocation&&n.i&2?"slot-fb":n.A);{updateElement(null,n,isSvgMode)}if(n.T){for(a=0;a<n.T.length;++a){o=createElm(e,n,a);if(o){i.appendChild(o)}}}}i["s-hn"]=hostTagName;return i};var addVnodes=function(e,t,r,n,a,i){var o=e;var s;if(o.shadowRoot&&o.tagName===hostTagName){o=o.shadowRoot}for(;a<=i;++a){if(n[a]){s=createElm(null,r,a);if(s){n[a].D=s;insertBefore(o,s,t)}}}};var removeVnodes=function(e,t,r){for(var n=t;n<=r;++n){var a=e[n];if(a){var i=a.D;if(i){i.remove()}}}};var updateChildren=function(e,t,r,n,a){if(a===void 0){a=false}var i=0;var o=0;var s=0;var u=0;var l=t.length-1;var f=t[0];var c=t[l];var v=n.length-1;var d=n[0];var p=n[v];var m;var h;while(i<=l&&o<=v){if(f==null){f=t[++i]}else if(c==null){c=t[--l]}else if(d==null){d=n[++o]}else if(p==null){p=n[--v]}else if(isSameVnode(f,d,a)){patch(f,d,a);f=t[++i];d=n[++o]}else if(isSameVnode(c,p,a)){patch(c,p,a);c=t[--l];p=n[--v]}else if(isSameVnode(f,p,a)){patch(f,p,a);insertBefore(e,f.D,c.D.nextSibling);f=t[++i];p=n[--v]}else if(isSameVnode(c,d,a)){patch(c,d,a);insertBefore(e,c.D,f.D);c=t[--l];d=n[++o]}else{s=-1;{for(u=i;u<=l;++u){if(t[u]&&t[u].C!==null&&t[u].C===d.C){s=u;break}}}if(s>=0){h=t[s];if(h.A!==d.A){m=createElm(t&&t[o],r,s)}else{patch(h,d,a);t[s]=void 0;m=h.D}d=n[++o]}else{m=createElm(t&&t[o],r,o);d=n[++o]}if(m){{insertBefore(f.D.parentNode,m,f.D)}}}}if(i>l){addVnodes(e,n[v+1]==null?null:n[v+1].D,r,n,o,v)}else if(o>v){removeVnodes(t,i,l)}};var isSameVnode=function(e,t,r){if(r===void 0){r=false}if(e.A===t.A){if(!r){return e.C===t.C}if(r&&!e.C&&t.C){e.C=t.C}return true}return false};var patch=function(e,t,r){if(r===void 0){r=false}var n=t.D=e.D;var a=e.T;var i=t.T;var o=t.A;{{if(o==="slot"&&!useNativeShadowDom);else{updateElement(e,t,isSvgMode)}}if(a!==null&&i!==null){updateChildren(n,a,t,i,r)}else if(i!==null){addVnodes(n,null,t,i,0,i.length-1)}else if(!r&&BUILD.updatable&&a!==null){removeVnodes(a,0,a.length-1)}}};var insertBefore=function(e,t,r){{return e==null?void 0:e.insertBefore(t,r)}};var renderVdom=function(e,t,r){if(r===void 0){r=false}var n=e.$hostElement$;var a=e.o;var i=e.R||newVNode(null,null);var o=isHost(t)?t:h(null,null,t);hostTagName=n.tagName;if(a.H){o._=o._||{};a.H.map((function(e){var t=e[0],r=e[1];return o._[r]=n[t]}))}if(r&&o._){for(var s=0,u=Object.keys(o._);s<u.length;s++){var l=u[s];if(n.hasAttribute(l)&&!["key","ref","style","class"].includes(l)){o._[l]=n[l]}}}o.A=null;o.i|=4;e.R=o;o.D=i.D=n.shadowRoot||n;useNativeShadowDom=(a.i&1)!==0;patch(i,o,r)};var attachToAncestor=function(e,t){if(t&&!e.N&&t["s-p"]){var r=t["s-p"].push(new Promise((function(n){return e.N=function(){t["s-p"].splice(r-1,1);n()}})))}};var scheduleUpdate=function(e,t){{e.i|=16}if(e.i&4){e.i|=512;return}attachToAncestor(e,e.L);var r=function(){return dispatchHooks(e,t)};return writeTask(r)};var dispatchHooks=function(e,t){var r=e.$hostElement$;var n=createTime("scheduleUpdate",e.o.p);var a=e.t;if(!a){throw new Error("Can't render component <".concat(r.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;n();return enqueue(i,(function(){return updateComponent(e,a,t)}))};var enqueue=function(e,t){return isPromisey(e)?e.then(t).catch((function(e){console.error(e);t()})):t()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,t,r){return __awaiter(void 0,void 0,void 0,(function(){var n,a,i,o,s,u,l;return __generator(this,(function(f){a=e.$hostElement$;i=createTime("update",e.o.p);o=a["s-rc"];if(r){attachStyles(e)}s=createTime("render",e.o.p);{callRender(e,t,a,r)}if(o){o.map((function(e){return e()}));a["s-rc"]=void 0}s();i();{u=(n=a["s-p"])!=null?n:[];l=function(){return postUpdateComponent(e)};if(u.length===0){l()}else{Promise.all(u).then(l);e.i|=4;u.length=0}}return[2]}))}))};var callRender=function(e,t,r,n){try{t=t.render();{e.i&=~16}{e.i|=2}{{{renderVdom(e,t,n)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.o.p;var r=e.$hostElement$;var n=createTime("postUpdate",t);var a=e.L;if(!(e.i&64)){e.i|=64;{addHydratedFlag(r)}n();{e.v(r);if(!a){appDidLoad()}}}else{n()}{if(e.N){e.N();e.N=void 0}if(e.i&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.i&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var addHydratedFlag=function(e){var t;return e.setAttribute((t=BUILD.hydratedSelectorName)!=null?t:"hydrated","")};var getValue=function(e,t){return getHostRef(e).u.get(t)};var setValue=function(e,t,r,n){var a=getHostRef(e);if(!a){throw new Error("Couldn't find host element for \"".concat(n.p,'" 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.u.get(t);var o=a.i;var s=a.t;r=parsePropertyValue(r,n.$[t][0]);var u=Number.isNaN(i)&&Number.isNaN(r);var l=r!==i&&!u;if((!(o&8)||i===void 0)&&l){a.u.set(t,r);if(s){if((o&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,r){var n,a;var i=e.prototype;if(t.$||BUILD.watchCallback){var o=Object.entries((n=t.$)!=null?n:{});o.map((function(e){var n=e[0],a=e[1][0];if(a&31||r&2&&a&32){var o=Object.getOwnPropertyDescriptor(i,n)||{},s=o.get,u=o.set;if(s)t.$[n][0]|=2048;if(u)t.$[n][0]|=4096;if(r&1||!s){Object.defineProperty(i,n,{get:function(){{if((t.$[n][0]&2048)===0){return getValue(this,n)}var e=getHostRef(this);var r=e?e.t:i;if(!r)return;return r[n]}},configurable:true,enumerable:true})}Object.defineProperty(i,n,{set:function(e){var i=this;var o=getHostRef(this);if(u){var s=a&32?this[n]:o.$hostElement$[n];if(typeof s==="undefined"&&o.u.get(n)){e=o.u.get(n)}else if(!o.u.get(n)&&s){o.u.set(n,s)}u.apply(this,[parsePropertyValue(e,a)]);e=a&32?this[n]:o.$hostElement$[n];setValue(this,n,e,t);return}{if((r&1)===0||(t.$[n][0]&4096)===0){setValue(this,n,e,t);if(r&1&&!o.t){o.l.then((function(){if(t.$[n][0]&4096&&o.t[n]!==o.u.get(n)){o.t[n]=e}}))}return}var l=function(){var r=o.t[n];if(!o.u.get(n)&&r){o.u.set(n,r)}o.t[n]=parsePropertyValue(e,a);setValue(i,n,o.t[n],t)};if(o.t){l()}else{o.l.then((function(){return l()}))}}}})}}));if(r&1){var s=new Map;i.attributeChangedCallback=function(e,r,n){var a=this;plt.jmp((function(){var o;var u=s.get(e);if(a.hasOwnProperty(u)&&BUILD.lazyLoad){n=a[u];delete a[u]}else if(i.hasOwnProperty(u)&&typeof a[u]==="number"&&a[u]==n){return}else if(u==null){var l=getHostRef(a);var f=l==null?void 0:l.i;if(f&&!(f&8)&&f&128&&n!==r){var c=l.t;var v=(o=t.M)==null?void 0:o[e];v==null?void 0:v.forEach((function(t){if(c[t]!=null){c[t].call(c,n,r,e)}}))}return}var d=Object.getOwnPropertyDescriptor(i,u);n=n===null&&typeof a[u]==="boolean"?false:n;if(n!==a[u]&&(!d.get||!!d.set)){a[u]=n}}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((a=t.M)!=null?a:{}),true),o.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a;var i=n[1]||r;s.set(i,r);if(n[0]&512){(a=t.H)==null?void 0:a.push([r,i])}return i})),true)))}}return e};var initializeComponent=function(e,t,r,n){return __awaiter(void 0,void 0,void 0,(function(){var n,a,i,o,s,u,l,f,c;return __generator(this,(function(v){switch(v.label){case 0:if(!((t.i&32)===0))return[3,4];t.i|=32;a=loadModule(r,t);if(!(a&&"then"in a))return[3,2];i=uniqueTime();return[4,a];case 1:n=v.sent();i();return[3,3];case 2:n=a;v.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(r.p,"#").concat(t.V,'" was not found'))}if(!n.isProxied){proxyComponent(n,r,2);n.isProxied=true}o=createTime("createInstance",r.p);{t.i|=8}try{new n(t)}catch(t){consoleError(t,e)}{t.i&=~8}o();if(n&&n.style){s=void 0;if(typeof n.style==="string"){s=n.style}u=getScopeId(r);if(!styles.has(u)){l=createTime("registerStyles",r.p);registerStyle(u,s,!!(r.i&1));l()}}v.label=4;case 4:f=t.L;c=function(){return scheduleUpdate(t,true)};if(f&&f["s-rc"]){f["s-rc"].push(c)}else{c()}return[2]}}))}))};var fireConnectedCallback=function(e,t){};var connectedCallback=function(e){if((plt.i&1)===0){var t=getHostRef(e);var r=t.o;var n=createTime("connectedCallback",r.p);if(!(t.i&1)){t.i|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){attachToAncestor(t,t.L=a);break}}}if(r.$){Object.entries(r.$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{initializeComponent(e,t,r)}}else{if(t==null?void 0:t.t);else if(t==null?void 0:t.l){t.l.then((function(){return fireConnectedCallback()}))}}n()}};var disconnectInstance=function(e,t){};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var t;return __generator(this,(function(r){if((plt.i&1)===0){t=getHostRef(e);if(t==null?void 0:t.t);else if(t==null?void 0:t.l){t.l.then((function(){return disconnectInstance()}))}}if(rootAppliedStyles.has(e)){rootAppliedStyles.delete(e)}if(e.shadowRoot&&rootAppliedStyles.has(e.shadowRoot)){rootAppliedStyles.delete(e.shadowRoot)}return[2]}))}))};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var r;var n=createTime();var a=[];var i=t.exclude||[];var o=win.customElements;var s=doc.head;var u=s.querySelector("meta[charset]");var l=doc.createElement("style");var f=[];var c;var v=true;Object.assign(plt,t);plt.h=new URL(t.resourcesUrl||"./",doc.baseURI).href;var d=false;e.map((function(e){e[1].map((function(t){var r={i:t[0],p:t[1],$:t[2],P:t[3]};if(r.i&4){d=true}{r.$=t[2]}{r.H=[]}var n=r.p;var s=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;n.hasRegisteredEventListeners=false;t=n;registerHost(t,r);if(r.i&1){{if(!t.shadowRoot){{t.attachShadow({mode:"open"})}}else{if(t.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(r.p,"! Mode is set to ").concat(t.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return n}t.prototype.connectedCallback=function(){var e=this;getHostRef(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true}if(c){clearTimeout(c);c=null}if(v){f.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}));plt.raf((function(){var t;var r=getHostRef(e);if(((t=r==null?void 0:r.R)==null?void 0:t.D)instanceof Node&&!r.R.D.isConnected){delete r.R.D}}))};t.prototype.componentOnReady=function(){return getHostRef(this).l};return t}(HTMLElement);r.m=e[0];if(!i.includes(n)&&!o.get(n)){a.push(n);o.define(n,proxyComponent(s,r,1))}}))}));if(a.length>0){if(d){l.textContent+=SLOT_FB_CSS}{l.textContent+=a.sort()+HYDRATED_CSS}if(l.innerHTML.length){l.setAttribute("data-styles","");var p=(r=plt.k)!=null?r:queryNonceMetaTagContent(doc);if(p!=null){l.setAttribute("nonce",p)}s.insertBefore(l,u?u.nextSibling:s.firstChild)}}v=false;if(f.length){f.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return c=setTimeout(appDidLoad,30)}))}}n()};var setNonce=function(e){return plt.k=e};export{Host as H,bootstrapLazy as b,h,promiseResolve as p,registerInstance as r,setNonce as s};
@@ -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,o){function u(t){try{f(r.next(t))}catch(t){o(t)}}function a(t){try{f(r["throw"](t))}catch(t){o(t)}}function f(t){t.done?e(t.value):i(t.value).then(u,a)}f((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(t){return function(n){return f([t,n])}}function f(a){if(r)throw new TypeError("Generator is already executing.");while(u&&(u=0,a[0]&&(e=0)),e)try{if(r=1,i&&(o=a[0]&2?i["return"]:a[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;if(i=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:e.label++;return{value:a[1],done:false};case 5:e.label++;i=a[1];a=[0];continue;case 7:a=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){e.label=a[1];break}if(a[0]===6&&e.label<o[1]){e.label=o[1];o=a;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(a);break}if(o[2])e.ops.pop();e.trys.pop();continue}a=n.call(t,e)}catch(t){a=[6,t];i=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{b as bootstrapLazy}from"./index-8fed469d.js";export{s as setNonce}from"./index-8fed469d.js";import{g as globalScripts}from"./app-globals-0f993ce5.js";var defineCustomElements=function(t,n){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(typeof window==="undefined")return[2,undefined];return[4,globalScripts()];case 1:t.sent();return[2,bootstrapLazy([["mds-input-tip",[[1,"mds-input-tip",{active:[516],position:[513]}]]]],n)]}}))}))};export{defineCustomElements};
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,o){function u(t){try{c(r.next(t))}catch(t){o(t)}}function a(t){try{c(r["throw"](t))}catch(t){o(t)}}function c(t){t.done?e(t.value):i(t.value).then(u,a)}c((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(t){return function(n){return c([t,n])}}function c(a){if(r)throw new TypeError("Generator is already executing.");while(u&&(u=0,a[0]&&(e=0)),e)try{if(r=1,i&&(o=a[0]&2?i["return"]:a[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;if(i=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:e.label++;return{value:a[1],done:false};case 5:e.label++;i=a[1];a=[0];continue;case 7:a=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){e.label=a[1];break}if(a[0]===6&&e.label<o[1]){e.label=o[1];o=a;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(a);break}if(o[2])e.ops.pop();e.trys.pop();continue}a=n.call(t,e)}catch(t){a=[6,t];i=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{b as bootstrapLazy}from"./index-4e431d49.js";export{s as setNonce}from"./index-4e431d49.js";import{g as globalScripts}from"./app-globals-0f993ce5.js";var defineCustomElements=function(t,n){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(typeof window==="undefined")return[2,undefined];return[4,globalScripts()];case 1:t.sent();return[2,bootstrapLazy([["mds-input-tip",[[1,"mds-input-tip",{active:[516],position:[513]}]]]],n)]}}))}))};export{defineCustomElements};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-8fed469d.js";var mdsInputTipCss='@tailwind utilities;\n\n:host {\n\n --mds-input-tip-active-translate: translate(0, 0);\n\n left: 0.25rem;\n\n right: 0.25rem;\n\n gap: 0.25rem;\n\n -webkit-transition-duration: 300ms;\n\n transition-duration: 300ms;\n\n -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-pack: end;\n justify-content: flex-end;\n pointer-events: none;\n position: absolute;\n -webkit-transform: var(--mds-input-tip-active-translate);\n transform: var(--mds-input-tip-active-translate);\n -webkit-transition-property: -webkit-transform;\n transition-property: -webkit-transform;\n transition-property: transform;\n transition-property: transform, -webkit-transform;\n}\n\n:host(:empty) {\n display: none;\n}\n\n:host([position="top"]) {\n top: 0.25rem;\n}\n\n:host([position="bottom"]) {\n bottom: 0.25rem;\n}\n\n:host([position="top"][active]:not([active="false"])) {\n\n --mds-input-tip-active-translate: translate(calc(0.25rem * -1), calc(0.25rem * -1));\n}\n\n:host([position="top"][active]:not([active="false"])) ::slotted( mds-input-tip-item ) {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n\n:host([position="bottom"][active]:not([active="false"])) {\n\n --mds-input-tip-active-translate: translate(calc(0.25rem * -1), 0.25rem);\n}\n\n:host([position="bottom"][active]:not([active="false"])) ::slotted( mds-input-tip-item ) {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n@container style(--magma-pref-animation: reduce) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n';var MdsInputTipStyle0=mdsInputTipCss;var MdsInputTip=function(){function t(t){registerInstance(this,t);this.active=false;this.position="top"}t.prototype.render=function(){return h(Host,{key:"0f883b978b66900598d4a7abeed8d8079d72c420"},h("slot",{key:"cca41852411fe5bc23e2ab27e656a7ad17326a14"}))};return t}();MdsInputTip.style=MdsInputTipStyle0;export{MdsInputTip as mds_input_tip};
1
+ import{r as registerInstance,h,H as Host}from"./index-4e431d49.js";var mdsInputTipCss='@tailwind utilities;\n\n:host {\n\n --mds-input-tip-active-translate: translate(0, 0);\n\n left: 0.25rem;\n\n right: 0.25rem;\n\n gap: 0.25rem;\n\n -webkit-transition-duration: 300ms;\n\n transition-duration: 300ms;\n\n -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-pack: end;\n justify-content: flex-end;\n pointer-events: none;\n position: absolute;\n -webkit-transform: var(--mds-input-tip-active-translate);\n transform: var(--mds-input-tip-active-translate);\n -webkit-transition-property: -webkit-transform;\n transition-property: -webkit-transform;\n transition-property: transform;\n transition-property: transform, -webkit-transform;\n}\n\n:host(:empty) {\n display: none;\n}\n\n:host([position="top"]) {\n top: 0.25rem;\n}\n\n:host([position="bottom"]) {\n bottom: 0.25rem;\n}\n\n:host([position="top"][active]:not([active="false"])) {\n\n --mds-input-tip-active-translate: translate(calc(0.25rem * -1), calc(0.25rem * -1));\n}\n\n:host([position="top"][active]:not([active="false"])) ::slotted( mds-input-tip-item ) {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n\n:host([position="bottom"][active]:not([active="false"])) {\n\n --mds-input-tip-active-translate: translate(calc(0.25rem * -1), 0.25rem);\n}\n\n:host([position="bottom"][active]:not([active="false"])) ::slotted( mds-input-tip-item ) {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n@container style(--magma-pref-animation: reduce) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n';var MdsInputTipStyle0=mdsInputTipCss;var MdsInputTip=function(){function t(t){registerInstance(this,t);this.active=false;this.position="top"}t.prototype.render=function(){return h(Host,{key:"0f883b978b66900598d4a7abeed8d8079d72c420"},h("slot",{key:"cca41852411fe5bc23e2ab27e656a7ad17326a14"}))};return t}();MdsInputTip.style=MdsInputTipStyle0;export{MdsInputTip as mds_input_tip};
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(t,n,r,e){function i(t){return t instanceof r?t:new r((function(n){n(t)}))}return new(r||(r=Promise))((function(r,o){function a(t){try{s(e.next(t))}catch(t){o(t)}}function c(t){try{s(e["throw"](t))}catch(t){o(t)}}function s(t){t.done?r(t.value):i(t.value).then(a,c)}s((e=e.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},e,i,o,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(t){return function(n){return s([t,n])}}function s(c){if(e)throw new TypeError("Generator is already executing.");while(a&&(a=0,c[0]&&(r=0)),r)try{if(e=1,i&&(o=c[0]&2?i["return"]:c[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,c[1])).done)return o;if(i=0,o)c=[c[0]&2,o.value];switch(c[0]){case 0:case 1:o=c;break;case 4:r.label++;return{value:c[1],done:false};case 5:r.label++;i=c[1];c=[0];continue;case 7:c=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){r.label=c[1];break}if(c[0]===6&&r.label<o[1]){r.label=o[1];o=c;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(c);break}if(o[2])r.ops.pop();r.trys.pop();continue}c=n.call(t,r)}catch(t){c=[6,t];i=0}finally{e=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};import{p as promiseResolve,b as bootstrapLazy}from"./index-8fed469d.js";export{s as setNonce}from"./index-8fed469d.js";import{g as globalScripts}from"./app-globals-0f993ce5.js";var patchBrowser=function(){var t=import.meta.url;var n={};if(t!==""){n.resourcesUrl=new URL(".",t).href}return promiseResolve(n)};patchBrowser().then((function(t){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(n){switch(n.label){case 0:return[4,globalScripts()];case 1:n.sent();return[2,bootstrapLazy([["mds-input-tip",[[1,"mds-input-tip",{active:[516],position:[513]}]]]],t)]}}))}))}));
1
+ var __awaiter=this&&this.__awaiter||function(t,n,r,e){function i(t){return t instanceof r?t:new r((function(n){n(t)}))}return new(r||(r=Promise))((function(r,o){function a(t){try{s(e.next(t))}catch(t){o(t)}}function c(t){try{s(e["throw"](t))}catch(t){o(t)}}function s(t){t.done?r(t.value):i(t.value).then(a,c)}s((e=e.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},e,i,o,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(t){return function(n){return s([t,n])}}function s(c){if(e)throw new TypeError("Generator is already executing.");while(a&&(a=0,c[0]&&(r=0)),r)try{if(e=1,i&&(o=c[0]&2?i["return"]:c[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,c[1])).done)return o;if(i=0,o)c=[c[0]&2,o.value];switch(c[0]){case 0:case 1:o=c;break;case 4:r.label++;return{value:c[1],done:false};case 5:r.label++;i=c[1];c=[0];continue;case 7:c=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){r.label=c[1];break}if(c[0]===6&&r.label<o[1]){r.label=o[1];o=c;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(c);break}if(o[2])r.ops.pop();r.trys.pop();continue}c=n.call(t,r)}catch(t){c=[6,t];i=0}finally{e=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};import{p as promiseResolve,b as bootstrapLazy}from"./index-4e431d49.js";export{s as setNonce}from"./index-4e431d49.js";import{g as globalScripts}from"./app-globals-0f993ce5.js";var patchBrowser=function(){var t=import.meta.url;var n={};if(t!==""){n.resourcesUrl=new URL(".",t).href}return promiseResolve(n)};patchBrowser().then((function(t){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(n){switch(n.label){case 0:return[4,globalScripts()];case 1:n.sent();return[2,bootstrapLazy([["mds-input-tip",[[1,"mds-input-tip",{active:[516],position:[513]}]]]],t)]}}))}))}));
@@ -1 +1 @@
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))));
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))));
@@ -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-c915dfb3.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
118
+ var url = new URL('./p-c7ede63a.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
119
119
  System.import(url.href);
120
120
  };
121
121
 
@@ -1 +1 @@
1
- import{r as t,h as n,H as i}from"./p-3e967425.js";const e=class{constructor(n){t(this,n),this.active=!1,this.position="top"}render(){return n(i,{key:"0f883b978b66900598d4a7abeed8d8079d72c420"},n("slot",{key:"cca41852411fe5bc23e2ab27e656a7ad17326a14"}))}};e.style='@tailwind utilities;\n\n:host {\n\n --mds-input-tip-active-translate: translate(0, 0);\n\n left: 0.25rem;\n\n right: 0.25rem;\n\n gap: 0.25rem;\n\n -webkit-transition-duration: 300ms;\n\n transition-duration: 300ms;\n\n -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-pack: end;\n justify-content: flex-end;\n pointer-events: none;\n position: absolute;\n -webkit-transform: var(--mds-input-tip-active-translate);\n transform: var(--mds-input-tip-active-translate);\n -webkit-transition-property: -webkit-transform;\n transition-property: -webkit-transform;\n transition-property: transform;\n transition-property: transform, -webkit-transform;\n}\n\n:host(:empty) {\n display: none;\n}\n\n:host([position="top"]) {\n top: 0.25rem;\n}\n\n:host([position="bottom"]) {\n bottom: 0.25rem;\n}\n\n:host([position="top"][active]:not([active="false"])) {\n\n --mds-input-tip-active-translate: translate(calc(0.25rem * -1), calc(0.25rem * -1));\n}\n\n:host([position="top"][active]:not([active="false"])) ::slotted( mds-input-tip-item ) {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n\n:host([position="bottom"][active]:not([active="false"])) {\n\n --mds-input-tip-active-translate: translate(calc(0.25rem * -1), 0.25rem);\n}\n\n:host([position="bottom"][active]:not([active="false"])) ::slotted( mds-input-tip-item ) {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n@container style(--magma-pref-animation: reduce) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n';export{e as mds_input_tip}
1
+ import{r as t,h as n,H as i}from"./p-b8376582.js";const o=class{constructor(n){t(this,n),this.active=!1,this.position="top"}render(){return n(i,{key:"0f883b978b66900598d4a7abeed8d8079d72c420"},n("slot",{key:"cca41852411fe5bc23e2ab27e656a7ad17326a14"}))}};o.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{o as mds_input_tip}
@@ -1 +1 @@
1
- System.register(["./p-37c61f56.system.js"],(function(n){"use strict";var t,i,e;return{setters:[function(n){t=n.r;i=n.h;e=n.H}],execute:function(){var o='@tailwind utilities;\n\n:host {\n\n --mds-input-tip-active-translate: translate(0, 0);\n\n left: 0.25rem;\n\n right: 0.25rem;\n\n gap: 0.25rem;\n\n -webkit-transition-duration: 300ms;\n\n transition-duration: 300ms;\n\n -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-pack: end;\n justify-content: flex-end;\n pointer-events: none;\n position: absolute;\n -webkit-transform: var(--mds-input-tip-active-translate);\n transform: var(--mds-input-tip-active-translate);\n -webkit-transition-property: -webkit-transform;\n transition-property: -webkit-transform;\n transition-property: transform;\n transition-property: transform, -webkit-transform;\n}\n\n:host(:empty) {\n display: none;\n}\n\n:host([position="top"]) {\n top: 0.25rem;\n}\n\n:host([position="bottom"]) {\n bottom: 0.25rem;\n}\n\n:host([position="top"][active]:not([active="false"])) {\n\n --mds-input-tip-active-translate: translate(calc(0.25rem * -1), calc(0.25rem * -1));\n}\n\n:host([position="top"][active]:not([active="false"])) ::slotted( mds-input-tip-item ) {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n\n:host([position="bottom"][active]:not([active="false"])) {\n\n --mds-input-tip-active-translate: translate(calc(0.25rem * -1), 0.25rem);\n}\n\n:host([position="bottom"][active]:not([active="false"])) ::slotted( mds-input-tip-item ) {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n@container style(--magma-pref-animation: reduce) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n';var a=o;var r=n("mds_input_tip",function(){function n(n){t(this,n);this.active=false;this.position="top"}n.prototype.render=function(){return i(e,{key:"0f883b978b66900598d4a7abeed8d8079d72c420"},i("slot",{key:"cca41852411fe5bc23e2ab27e656a7ad17326a14"}))};return n}());r.style=a}}}));
1
+ System.register(["./p-7eeec96b.system.js"],(function(n){"use strict";var t,i,e;return{setters:[function(n){t=n.r;i=n.h;e=n.H}],execute:function(){var o='@tailwind utilities;\n\n:host {\n\n --mds-input-tip-active-translate: translate(0, 0);\n\n left: 0.25rem;\n\n right: 0.25rem;\n\n gap: 0.25rem;\n\n -webkit-transition-duration: 300ms;\n\n transition-duration: 300ms;\n\n -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-pack: end;\n justify-content: flex-end;\n pointer-events: none;\n position: absolute;\n -webkit-transform: var(--mds-input-tip-active-translate);\n transform: var(--mds-input-tip-active-translate);\n -webkit-transition-property: -webkit-transform;\n transition-property: -webkit-transform;\n transition-property: transform;\n transition-property: transform, -webkit-transform;\n}\n\n:host(:empty) {\n display: none;\n}\n\n:host([position="top"]) {\n top: 0.25rem;\n}\n\n:host([position="bottom"]) {\n bottom: 0.25rem;\n}\n\n:host([position="top"][active]:not([active="false"])) {\n\n --mds-input-tip-active-translate: translate(calc(0.25rem * -1), calc(0.25rem * -1));\n}\n\n:host([position="top"][active]:not([active="false"])) ::slotted( mds-input-tip-item ) {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n\n:host([position="bottom"][active]:not([active="false"])) {\n\n --mds-input-tip-active-translate: translate(calc(0.25rem * -1), 0.25rem);\n}\n\n:host([position="bottom"][active]:not([active="false"])) ::slotted( mds-input-tip-item ) {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n@container style(--magma-pref-animation: reduce) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n';var a=o;var r=n("mds_input_tip",function(){function n(n){t(this,n);this.active=false;this.position="top"}n.prototype.render=function(){return i(e,{key:"0f883b978b66900598d4a7abeed8d8079d72c420"},i("slot",{key:"cca41852411fe5bc23e2ab27e656a7ad17326a14"}))};return n}());r.style=a}}}));