@maggioli-design-system/mds-input-tip 1.3.0 → 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.
- package/dist/cjs/{index-66d8bb25.js → index-4daec419.js} +119 -62
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mds-input-tip.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-tip.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/mds-input-tip/mds-input-tip.css +7 -22
- package/dist/components/mds-input-tip.js +1 -1
- package/dist/documentation.json +2 -2
- package/dist/esm/{index-4e431d49.js → index-07630e0c.js} +119 -62
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mds-input-tip.entry.js +2 -2
- package/dist/esm/mds-input-tip.js +3 -3
- package/dist/esm-es5/index-07630e0c.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-input-tip.entry.js +1 -1
- package/dist/esm-es5/mds-input-tip.js +1 -1
- package/dist/mds-input-tip/mds-input-tip.esm.js +1 -1
- package/dist/mds-input-tip/mds-input-tip.js +1 -1
- package/dist/mds-input-tip/p-04193c07.entry.js +1 -0
- package/dist/mds-input-tip/{p-c7ede63a.system.js → p-41e6f98e.system.js} +1 -1
- package/dist/mds-input-tip/p-937c40eb.js +2 -0
- package/dist/mds-input-tip/p-d28332e9.system.js +2 -0
- package/dist/mds-input-tip/p-d8a5540f.system.entry.js +1 -0
- package/dist/stats.json +29 -30
- package/documentation.json +2 -2
- package/package.json +4 -4
- package/src/components/mds-input-tip/css/mds-input-tip-pref-animation.css +5 -12
- package/src/components/mds-input-tip/mds-input-tip.css +2 -7
- package/src/tailwind/components.css +2 -48
- package/src/tailwind/index.css +4 -0
- package/www/build/mds-input-tip.esm.js +1 -1
- package/www/build/mds-input-tip.js +1 -1
- package/www/build/p-04193c07.entry.js +1 -0
- package/www/build/{p-c7ede63a.system.js → p-41e6f98e.system.js} +1 -1
- package/www/build/p-937c40eb.js +2 -0
- package/www/build/p-d28332e9.system.js +2 -0
- package/www/build/p-d8a5540f.system.entry.js +1 -0
- package/dist/esm-es5/index-4e431d49.js +0 -1
- package/dist/mds-input-tip/p-27388d25.entry.js +0 -1
- package/dist/mds-input-tip/p-7eeec96b.system.js +0 -2
- package/dist/mds-input-tip/p-b8376582.js +0 -2
- package/dist/mds-input-tip/p-d876075e.system.entry.js +0 -1
- package/www/build/p-27388d25.entry.js +0 -1
- package/www/build/p-7eeec96b.system.js +0 -2
- package/www/build/p-b8376582.js +0 -2
- package/www/build/p-d876075e.system.entry.js +0 -1
@@ -1,8 +1,8 @@
|
|
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,
|
2
|
+
const BUILD = /* mds-input-tip */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, constructableCSS: true, cssAnnotations: true, devTools: 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.
|
5
|
+
Stencil Client Platform v4.27.2 | MIT Licensed | https://stenciljs.com
|
6
6
|
*/
|
7
7
|
var __defProp = Object.defineProperty;
|
8
8
|
var __export = (target, all) => {
|
@@ -11,10 +11,15 @@ var __export = (target, all) => {
|
|
11
11
|
};
|
12
12
|
|
13
13
|
// src/client/client-host-ref.ts
|
14
|
-
var
|
15
|
-
|
14
|
+
var getHostRef = (ref) => {
|
15
|
+
if (ref.__stencil__getHostRef) {
|
16
|
+
return ref.__stencil__getHostRef();
|
17
|
+
}
|
18
|
+
return void 0;
|
19
|
+
};
|
16
20
|
var registerInstance = (lazyInstance, hostRef) => {
|
17
|
-
|
21
|
+
lazyInstance.__stencil__getHostRef = () => hostRef;
|
22
|
+
hostRef.$lazyInstance$ = lazyInstance;
|
18
23
|
};
|
19
24
|
var registerHost = (hostElement, cmpMeta) => {
|
20
25
|
const hostRef = {
|
@@ -28,7 +33,8 @@ var registerHost = (hostElement, cmpMeta) => {
|
|
28
33
|
hostElement["s-p"] = [];
|
29
34
|
hostElement["s-rc"] = [];
|
30
35
|
}
|
31
|
-
const ref =
|
36
|
+
const ref = hostRef;
|
37
|
+
hostElement.__stencil__getHostRef = () => ref;
|
32
38
|
return ref;
|
33
39
|
};
|
34
40
|
var isMemberInElement = (elm, memberName) => memberName in elm;
|
@@ -85,7 +91,6 @@ var HYDRATED_STYLE_ID = "sty-id";
|
|
85
91
|
var HYDRATED_CSS = "{visibility:hidden}[hydrated]{visibility:inherit}";
|
86
92
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
87
93
|
var win = typeof window !== "undefined" ? window : {};
|
88
|
-
var doc = win.document || { head: {} };
|
89
94
|
var plt = {
|
90
95
|
$flags$: 0,
|
91
96
|
$resourcesUrl$: "",
|
@@ -145,9 +150,9 @@ var isComplexType = (o) => {
|
|
145
150
|
};
|
146
151
|
|
147
152
|
// src/utils/query-nonce-meta-tag-content.ts
|
148
|
-
function queryNonceMetaTagContent(
|
153
|
+
function queryNonceMetaTagContent(doc) {
|
149
154
|
var _a, _b, _c;
|
150
|
-
return (_c = (_b = (_a =
|
155
|
+
return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
|
151
156
|
}
|
152
157
|
|
153
158
|
// src/utils/result.ts
|
@@ -306,7 +311,10 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
306
311
|
var _a;
|
307
312
|
const scopeId2 = getScopeId(cmpMeta);
|
308
313
|
const style = styles.get(scopeId2);
|
309
|
-
|
314
|
+
if (!win.document) {
|
315
|
+
return scopeId2;
|
316
|
+
}
|
317
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
|
310
318
|
if (style) {
|
311
319
|
if (typeof style === "string") {
|
312
320
|
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
@@ -317,9 +325,9 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
317
325
|
}
|
318
326
|
if (!appliedStyles.has(scopeId2)) {
|
319
327
|
{
|
320
|
-
styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) ||
|
328
|
+
styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || win.document.createElement("style");
|
321
329
|
styleElm.innerHTML = style;
|
322
|
-
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(
|
330
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
323
331
|
if (nonce != null) {
|
324
332
|
styleElm.setAttribute("nonce", nonce);
|
325
333
|
}
|
@@ -348,7 +356,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
348
356
|
styleContainerNode.append(styleElm);
|
349
357
|
}
|
350
358
|
}
|
351
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */
|
359
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
352
360
|
styleContainerNode.insertBefore(styleElm, null);
|
353
361
|
}
|
354
362
|
}
|
@@ -373,7 +381,7 @@ var attachStyles = (hostRef) => {
|
|
373
381
|
const scopeId2 = addStyle(
|
374
382
|
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
375
383
|
cmpMeta);
|
376
|
-
if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
|
384
|
+
if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
|
377
385
|
elm["s-sc"] = scopeId2;
|
378
386
|
elm.classList.add(scopeId2 + "-h");
|
379
387
|
}
|
@@ -381,42 +389,43 @@ var attachStyles = (hostRef) => {
|
|
381
389
|
};
|
382
390
|
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
383
391
|
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
|
384
|
-
if (oldValue
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
392
|
+
if (oldValue === newValue) {
|
393
|
+
return;
|
394
|
+
}
|
395
|
+
let isProp = isMemberInElement(elm, memberName);
|
396
|
+
memberName.toLowerCase();
|
397
|
+
if (memberName === "key") ; else {
|
398
|
+
const isComplex = isComplexType(newValue);
|
399
|
+
if ((isProp || isComplex && newValue !== null) && !isSvg) {
|
400
|
+
try {
|
401
|
+
if (!elm.tagName.includes("-")) {
|
402
|
+
const n = newValue == null ? "" : newValue;
|
403
|
+
if (memberName === "list") {
|
404
|
+
isProp = false;
|
405
|
+
} else if (oldValue == null || elm[memberName] != n) {
|
406
|
+
if (typeof elm.__lookupSetter__(memberName) === "function") {
|
407
|
+
elm[memberName] = n;
|
408
|
+
} else {
|
409
|
+
elm.setAttribute(memberName, n);
|
401
410
|
}
|
402
|
-
} else if (elm[memberName] !== newValue) {
|
403
|
-
elm[memberName] = newValue;
|
404
411
|
}
|
405
|
-
}
|
412
|
+
} else if (elm[memberName] !== newValue) {
|
413
|
+
elm[memberName] = newValue;
|
406
414
|
}
|
415
|
+
} catch (e) {
|
407
416
|
}
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
elm.removeAttribute(memberName);
|
412
|
-
}
|
413
|
-
}
|
414
|
-
} else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
|
415
|
-
newValue = newValue === true ? "" : newValue;
|
417
|
+
}
|
418
|
+
if (newValue == null || newValue === false) {
|
419
|
+
if (newValue !== false || elm.getAttribute(memberName) === "") {
|
416
420
|
{
|
417
|
-
elm.
|
421
|
+
elm.removeAttribute(memberName);
|
418
422
|
}
|
419
423
|
}
|
424
|
+
} else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex && elm.nodeType === 1 /* ElementNode */) {
|
425
|
+
newValue = newValue === true ? "" : newValue;
|
426
|
+
{
|
427
|
+
elm.setAttribute(memberName, newValue);
|
428
|
+
}
|
420
429
|
}
|
421
430
|
}
|
422
431
|
};
|
@@ -467,7 +476,12 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
467
476
|
let elm;
|
468
477
|
let childNode;
|
469
478
|
{
|
470
|
-
|
479
|
+
if (!win.document) {
|
480
|
+
throw new Error(
|
481
|
+
"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."
|
482
|
+
);
|
483
|
+
}
|
484
|
+
elm = newVNode2.$elm$ = win.document.createElement(
|
471
485
|
!useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
|
472
486
|
);
|
473
487
|
{
|
@@ -612,12 +626,9 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
612
626
|
const elm = newVNode2.$elm$ = oldVNode.$elm$;
|
613
627
|
const oldChildren = oldVNode.$children$;
|
614
628
|
const newChildren = newVNode2.$children$;
|
615
|
-
const tag = newVNode2.$tag$;
|
616
629
|
{
|
617
630
|
{
|
618
|
-
|
619
|
-
updateElement(oldVNode, newVNode2, isSvgMode);
|
620
|
-
}
|
631
|
+
updateElement(oldVNode, newVNode2, isSvgMode);
|
621
632
|
}
|
622
633
|
if (oldChildren !== null && newChildren !== null) {
|
623
634
|
updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
|
@@ -659,7 +670,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
659
670
|
rootVnode.$flags$ |= 4 /* isHost */;
|
660
671
|
hostRef.$vnode$ = rootVnode;
|
661
672
|
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
662
|
-
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)
|
673
|
+
useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
|
663
674
|
patch(oldVNode, rootVnode, isInitialLoad);
|
664
675
|
};
|
665
676
|
|
@@ -698,6 +709,12 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
698
709
|
);
|
699
710
|
}
|
700
711
|
let maybePromise;
|
712
|
+
if (isInitialLoad) {
|
713
|
+
maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
|
714
|
+
} else {
|
715
|
+
maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
|
716
|
+
}
|
717
|
+
maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
|
701
718
|
endSchedule();
|
702
719
|
return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
|
703
720
|
};
|
@@ -761,12 +778,15 @@ var postUpdateComponent = (hostRef) => {
|
|
761
778
|
const tagName = hostRef.$cmpMeta$.$tagName$;
|
762
779
|
const elm = hostRef.$hostElement$;
|
763
780
|
const endPostUpdate = createTime("postUpdate", tagName);
|
781
|
+
const instance = hostRef.$lazyInstance$ ;
|
764
782
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
783
|
+
safeCall(instance, "componentDidRender", void 0, elm);
|
765
784
|
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
766
785
|
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
767
786
|
{
|
768
787
|
addHydratedFlag(elm);
|
769
788
|
}
|
789
|
+
safeCall(instance, "componentDidLoad", void 0, elm);
|
770
790
|
endPostUpdate();
|
771
791
|
{
|
772
792
|
hostRef.$onReadyResolve$(elm);
|
@@ -775,6 +795,7 @@ var postUpdateComponent = (hostRef) => {
|
|
775
795
|
}
|
776
796
|
}
|
777
797
|
} else {
|
798
|
+
safeCall(instance, "componentDidUpdate", void 0, elm);
|
778
799
|
endPostUpdate();
|
779
800
|
}
|
780
801
|
{
|
@@ -789,11 +810,18 @@ var postUpdateComponent = (hostRef) => {
|
|
789
810
|
}
|
790
811
|
};
|
791
812
|
var appDidLoad = (who) => {
|
792
|
-
{
|
793
|
-
addHydratedFlag(doc.documentElement);
|
794
|
-
}
|
795
813
|
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
796
814
|
};
|
815
|
+
var safeCall = (instance, method, arg, elm) => {
|
816
|
+
if (instance && instance[method]) {
|
817
|
+
try {
|
818
|
+
return instance[method](arg);
|
819
|
+
} catch (e) {
|
820
|
+
consoleError(e, elm);
|
821
|
+
}
|
822
|
+
}
|
823
|
+
return void 0;
|
824
|
+
};
|
797
825
|
var addHydratedFlag = (elm) => {
|
798
826
|
var _b;
|
799
827
|
return elm.setAttribute((_b = BUILD.hydratedSelectorName) != null ? _b : "hydrated", "") ;
|
@@ -805,7 +833,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
805
833
|
const hostRef = getHostRef(ref);
|
806
834
|
if (!hostRef) {
|
807
835
|
throw new Error(
|
808
|
-
`Couldn't find host element for "${cmpMeta.$tagName$}" 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/
|
836
|
+
`Couldn't find host element for "${cmpMeta.$tagName$}" 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).`
|
809
837
|
);
|
810
838
|
}
|
811
839
|
const oldVal = hostRef.$instanceValues$.get(propName);
|
@@ -818,6 +846,11 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
818
846
|
hostRef.$instanceValues$.set(propName, newVal);
|
819
847
|
if (instance) {
|
820
848
|
if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
849
|
+
if (instance.componentShouldUpdate) {
|
850
|
+
if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
|
851
|
+
return;
|
852
|
+
}
|
853
|
+
}
|
821
854
|
scheduleUpdate(hostRef, false);
|
822
855
|
}
|
823
856
|
}
|
@@ -954,7 +987,8 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
954
987
|
let Cstr;
|
955
988
|
if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
|
956
989
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
957
|
-
|
990
|
+
const bundleId = cmpMeta.$lazyBundleId$;
|
991
|
+
if (bundleId) {
|
958
992
|
const CstrImport = loadModule(cmpMeta, hostRef);
|
959
993
|
if (CstrImport && "then" in CstrImport) {
|
960
994
|
const endLoad = uniqueTime();
|
@@ -983,6 +1017,11 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
983
1017
|
hostRef.$flags$ &= ~8 /* isConstructingInstance */;
|
984
1018
|
}
|
985
1019
|
endNewInstance();
|
1020
|
+
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
1021
|
+
} else {
|
1022
|
+
Cstr = elm.constructor;
|
1023
|
+
const cmpTag = elm.localName;
|
1024
|
+
customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
|
986
1025
|
}
|
987
1026
|
if (Cstr && Cstr.style) {
|
988
1027
|
let style;
|
@@ -1006,6 +1045,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
1006
1045
|
}
|
1007
1046
|
};
|
1008
1047
|
var fireConnectedCallback = (instance, elm) => {
|
1048
|
+
{
|
1049
|
+
safeCall(instance, "connectedCallback", void 0, elm);
|
1050
|
+
}
|
1009
1051
|
};
|
1010
1052
|
|
1011
1053
|
// src/runtime/connected-callback.ts
|
@@ -1038,20 +1080,27 @@ var connectedCallback = (elm) => {
|
|
1038
1080
|
initializeComponent(elm, hostRef, cmpMeta);
|
1039
1081
|
}
|
1040
1082
|
} else {
|
1041
|
-
if (hostRef == null ? void 0 : hostRef.$lazyInstance$)
|
1042
|
-
hostRef.$
|
1083
|
+
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
1084
|
+
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
1085
|
+
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
1086
|
+
hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
|
1043
1087
|
}
|
1044
1088
|
}
|
1045
1089
|
endConnected();
|
1046
1090
|
}
|
1047
1091
|
};
|
1048
1092
|
var disconnectInstance = (instance, elm) => {
|
1093
|
+
{
|
1094
|
+
safeCall(instance, "disconnectedCallback", void 0, elm || instance);
|
1095
|
+
}
|
1049
1096
|
};
|
1050
1097
|
var disconnectedCallback = async (elm) => {
|
1051
1098
|
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
1052
1099
|
const hostRef = getHostRef(elm);
|
1053
|
-
if (hostRef == null ? void 0 : hostRef.$lazyInstance$)
|
1054
|
-
hostRef.$
|
1100
|
+
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
1101
|
+
disconnectInstance(hostRef.$lazyInstance$, elm);
|
1102
|
+
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
1103
|
+
hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
|
1055
1104
|
}
|
1056
1105
|
}
|
1057
1106
|
if (rootAppliedStyles.has(elm)) {
|
@@ -1065,18 +1114,22 @@ var disconnectedCallback = async (elm) => {
|
|
1065
1114
|
// src/runtime/bootstrap-lazy.ts
|
1066
1115
|
var bootstrapLazy = (lazyBundles, options = {}) => {
|
1067
1116
|
var _a;
|
1117
|
+
if (!win.document) {
|
1118
|
+
console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");
|
1119
|
+
return;
|
1120
|
+
}
|
1068
1121
|
const endBootstrap = createTime();
|
1069
1122
|
const cmpTags = [];
|
1070
1123
|
const exclude = options.exclude || [];
|
1071
1124
|
const customElements2 = win.customElements;
|
1072
|
-
const head =
|
1125
|
+
const head = win.document.head;
|
1073
1126
|
const metaCharset = /* @__PURE__ */ head.querySelector("meta[charset]");
|
1074
|
-
const dataStyles = /* @__PURE__ */
|
1127
|
+
const dataStyles = /* @__PURE__ */ win.document.createElement("style");
|
1075
1128
|
const deferredConnectedCallbacks = [];
|
1076
1129
|
let appLoadFallback;
|
1077
1130
|
let isBootstrapping = true;
|
1078
1131
|
Object.assign(plt, options);
|
1079
|
-
plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./",
|
1132
|
+
plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", win.document.baseURI).href;
|
1080
1133
|
let hasSlotRelocation = false;
|
1081
1134
|
lazyBundles.map((lazyBundle) => {
|
1082
1135
|
lazyBundle[1].map((compactMeta) => {
|
@@ -1139,6 +1192,10 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
1139
1192
|
plt.raf(() => {
|
1140
1193
|
var _a3;
|
1141
1194
|
const hostRef = getHostRef(this);
|
1195
|
+
const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
|
1196
|
+
if (i2 > -1) {
|
1197
|
+
deferredConnectedCallbacks.splice(i2, 1);
|
1198
|
+
}
|
1142
1199
|
if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
|
1143
1200
|
delete hostRef.$vnode$.$elm$;
|
1144
1201
|
}
|
@@ -1167,7 +1224,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
1167
1224
|
}
|
1168
1225
|
if (dataStyles.innerHTML.length) {
|
1169
1226
|
dataStyles.setAttribute("data-styles", "");
|
1170
|
-
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(
|
1227
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
1171
1228
|
if (nonce != null) {
|
1172
1229
|
dataStyles.setAttribute("nonce", nonce);
|
1173
1230
|
}
|
package/dist/esm/loader.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
2
|
-
export { s as setNonce } from './index-
|
1
|
+
import { b as bootstrapLazy } from './index-07630e0c.js';
|
2
|
+
export { s as setNonce } from './index-07630e0c.js';
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
4
4
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-07630e0c.js';
|
2
2
|
|
3
|
-
const mdsInputTipCss = "
|
3
|
+
const mdsInputTipCss = ":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}";
|
4
4
|
const MdsInputTipStyle0 = mdsInputTipCss;
|
5
5
|
|
6
6
|
const MdsInputTip = class {
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
2
|
-
export { s as setNonce } from './index-
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-07630e0c.js';
|
2
|
+
export { s as setNonce } from './index-07630e0c.js';
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
4
4
|
|
5
5
|
/*
|
6
|
-
Stencil Client Patch Browser v4.
|
6
|
+
Stencil Client Patch Browser v4.27.2 | 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(r,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t))e[t]=r[t]};return e(r,t)};return function(r,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,r,t,n){function i(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,a){function o(e){try{u(n.next(e))}catch(e){a(e)}}function s(e){try{u(n["throw"](e))}catch(e){a(e)}}function u(e){e.done?t(e.value):i(e.value).then(o,s)}u((n=n.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,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(r){return u([e,r])}}function u(s){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(t=0)),t)try{if(n=1,i&&(a=s[0]&2?i["return"]:s[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;if(i=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:t.label++;return{value:s[1],done:false};case 5:t.label++;i=s[1];s=[0];continue;case 7:s=t.ops.pop();t.trys.pop();continue;default:if(!(a=t.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){t.label=s[1];break}if(s[0]===6&&t.label<a[1]){t.label=a[1];a=s;break}if(a&&t.label<a[2]){t.label=a[2];t.ops.push(s);break}if(a[2])t.ops.pop();t.trys.pop();continue}s=r.call(e,t)}catch(e){s=[6,e];i=0}finally{n=a=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,r,t){if(t||arguments.length===2)for(var n=0,i=r.length,a;n<i;n++){if(a||!(n in r)){if(!a)a=Array.prototype.slice.call(r,0,n);a[n]=r[n]}}return e.concat(a||Array.prototype.slice.call(r))};var NAMESPACE="mds-input-tip";var BUILD={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,constructableCSS:true,cssAnnotations:true,devTools: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,r){for(var t in r)__defProp(e,t,{get:r[t],enumerable:true})};var getHostRef=function(e){if(e.__stencil__getHostRef){return e.__stencil__getHostRef()}return void 0};var registerInstance=function(e,r){e.__stencil__getHostRef=function(){return r};r.t=e};var registerHost=function(e,r){var t={i:0,$hostElement$:e,o:r,u:new Map};{t.l=new Promise((function(e){return t.v=e}));e["s-p"]=[];e["s-rc"]=[]}var n=t;e.__stencil__getHostRef=function(){return n};return n};var isMemberInElement=function(e,r){return r in e};var consoleError=function(e,r){return(0,console.error)(e,r)};var cmpModules=new Map;var loadModule=function(e,r,t){var n=e.p.replace(/-/g,"_");var i=e.m;if(!i){return void 0}var a=cmpModules.get(i);if(a){return a[n]}if(!t||!BUILD.hotModuleReplacement){var o=function(e){cmpModules.set(i,e);return e[n]};switch(i){case"mds-input-tip":return import("./mds-input-tip.entry.js").then(o,consoleError)}}return import("./".concat(i,".entry.js").concat("")).then((function(e){{cmpModules.set(i,e)}return e[n]}),(function(e){consoleError(e,r.$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 plt={i:0,h:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,r,t,n){return e.addEventListener(r,t,n)},rel:function(e,r,t,n){return e.removeEventListener(r,t,n)},ce:function(e,r){return new CustomEvent(e,r)}};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,r){return function(t){e.push(t);if(!queuePending){queuePending=true;if(r&&plt.i&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var r=0;r<e.length;r++){try{e[r](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 r,t,n;return(n=(t=(r=e.head)==null?void 0:r.querySelector('meta[name="csp-nonce"]'))==null?void 0:t.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,r){if(e.isOk){var t=r(e.value);if(t instanceof Promise){return t.then((function(e){return ok(e)}))}else{return ok(t)}}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,r){if(r===void 0){r=""}{return function(){return}}};var uniqueTime=function(e,r){{return function(){return}}};var h=function(e,r){var t=[];for(var n=2;n<arguments.length;n++){t[n-2]=arguments[n]}var i=null;var a=null;var o=false;var s=false;var u=[];var l=function(r){for(var t=0;t<r.length;t++){i=r[t];if(Array.isArray(i)){l(i)}else if(i!=null&&typeof i!=="boolean"){if(o=typeof e!=="function"&&!isComplexType(i)){i=String(i)}if(o&&s){u[u.length-1].S+=i}else{u.push(o?newVNode(null,i):i)}s=o}}};l(t);if(r){if(r.key){a=r.key}}var f=newVNode(e,null);f.C=r;if(u.length>0){f._=u}{f.T=a}return f};var newVNode=function(e,r){var t={i:0,k:e,S:r,A:null,_:null};{t.C=null}{t.T=null}return t};var Host={};var isHost=function(e){return e&&e.k===Host};var parsePropertyValue=function(e,r){if(e!=null&&!isComplexType(e)){if(r&4){return e==="false"?false:e===""||!!e}if(r&1){return String(e)}return e}return e};var emitEvent=function(e,r,t){var n=plt.ce(r,t);e.dispatchEvent(n);return n};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,r,t){var n=styles.get(e);if(supportsConstructableStylesheets&&t){n=n||new CSSStyleSheet;if(typeof n==="string"){n=r}else{n.replaceSync(r)}}else{n=r}styles.set(e,n)};var addStyle=function(e,r,t){var n;var i=getScopeId(r);var a=styles.get(i);if(!win.document){return i}e=e.nodeType===11?e:win.document;if(a){if(typeof a==="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(i)){{s=document.querySelector("[".concat(HYDRATED_STYLE_ID,'="').concat(i,'"]'))||win.document.createElement("style");s.innerHTML=a;var u=(n=plt.D)!=null?n:queryNonceMetaTagContent(win.document);if(u!=null){s.setAttribute("nonce",u)}if(!(r.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(a);e.adoptedStyleSheets=__spreadArray([c],e.adoptedStyleSheets,true)}else{var v=e.querySelector("style");if(v){v.innerHTML=a+v.innerHTML}else{e.prepend(s)}}}else{e.append(s)}}if(r.i&1){e.insertBefore(s,null)}}if(r.i&4){s.innerHTML+=SLOT_FB_CSS}if(o){o.add(i)}}}else if(!e.adoptedStyleSheets.includes(a)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[a],false)}}return i};var attachStyles=function(e){var r=e.o;var t=e.$hostElement$;var n=r.i;var i=createTime("attachStyles",r.p);var a=addStyle(t.shadowRoot?t.shadowRoot:t.getRootNode(),r);if(n&10&&n&2||n&128){t["s-sc"]=a;t.classList.add(a+"-h")}i()};var getScopeId=function(e,r){return"sc-"+e.p};var setAccessor=function(e,r,t,n,i,a,o){if(t===n){return}var s=isMemberInElement(e,r);r.toLowerCase();if(r==="key");else{var u=isComplexType(n);if((s||u&&n!==null)&&!i){try{if(!e.tagName.includes("-")){var l=n==null?"":n;if(r==="list"){s=false}else if(t==null||e[r]!=l){if(typeof e.__lookupSetter__(r)==="function"){e[r]=l}else{e.setAttribute(r,l)}}}else if(e[r]!==n){e[r]=n}}catch(e){}}if(n==null||n===false){if(n!==false||e.getAttribute(r)===""){{e.removeAttribute(r)}}}else if((!s||a&4||i)&&!u&&e.nodeType===1){n=n===true?"":n;{e.setAttribute(r,n)}}}};var updateElement=function(e,r,t,n){var i=r.A.nodeType===11&&r.A.host?r.A.host:r.A;var a=e&&e.C||{};var o=r.C||{};{for(var s=0,u=sortedAttrNames(Object.keys(a));s<u.length;s++){var l=u[s];if(!(l in o)){setAccessor(i,l,a[l],void 0,t,r.i)}}}for(var f=0,c=sortedAttrNames(Object.keys(o));f<c.length;f++){var l=c[f];setAccessor(i,l,a[l],o[l],t,r.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,r,t){var n=r._[t];var i=0;var a;var o;{if(!win.document){throw new 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.")}a=n.A=win.document.createElement(!useNativeShadowDom&&BUILD.slotRelocation&&n.i&2?"slot-fb":n.k);{updateElement(null,n,isSvgMode)}if(n._){for(i=0;i<n._.length;++i){o=createElm(e,n,i);if(o){a.appendChild(o)}}}}a["s-hn"]=hostTagName;return a};var addVnodes=function(e,r,t,n,i,a){var o=e;var s;if(o.shadowRoot&&o.tagName===hostTagName){o=o.shadowRoot}for(;i<=a;++i){if(n[i]){s=createElm(null,t,i);if(s){n[i].A=s;insertBefore(o,s,r)}}}};var removeVnodes=function(e,r,t){for(var n=r;n<=t;++n){var i=e[n];if(i){var a=i.A;if(a){a.remove()}}}};var updateChildren=function(e,r,t,n,i){if(i===void 0){i=false}var a=0;var o=0;var s=0;var u=0;var l=r.length-1;var f=r[0];var c=r[l];var v=n.length-1;var d=n[0];var p=n[v];var m;var h;while(a<=l&&o<=v){if(f==null){f=r[++a]}else if(c==null){c=r[--l]}else if(d==null){d=n[++o]}else if(p==null){p=n[--v]}else if(isSameVnode(f,d,i)){patch(f,d,i);f=r[++a];d=n[++o]}else if(isSameVnode(c,p,i)){patch(c,p,i);c=r[--l];p=n[--v]}else if(isSameVnode(f,p,i)){patch(f,p,i);insertBefore(e,f.A,c.A.nextSibling);f=r[++a];p=n[--v]}else if(isSameVnode(c,d,i)){patch(c,d,i);insertBefore(e,c.A,f.A);c=r[--l];d=n[++o]}else{s=-1;{for(u=a;u<=l;++u){if(r[u]&&r[u].T!==null&&r[u].T===d.T){s=u;break}}}if(s>=0){h=r[s];if(h.k!==d.k){m=createElm(r&&r[o],t,s)}else{patch(h,d,i);r[s]=void 0;m=h.A}d=n[++o]}else{m=createElm(r&&r[o],t,o);d=n[++o]}if(m){{insertBefore(f.A.parentNode,m,f.A)}}}}if(a>l){addVnodes(e,n[v+1]==null?null:n[v+1].A,t,n,o,v)}else if(o>v){removeVnodes(r,a,l)}};var isSameVnode=function(e,r,t){if(t===void 0){t=false}if(e.k===r.k){if(!t){return e.T===r.T}if(t&&!e.T&&r.T){e.T=r.T}return true}return false};var patch=function(e,r,t){if(t===void 0){t=false}var n=r.A=e.A;var i=e._;var a=r._;{{updateElement(e,r,isSvgMode)}if(i!==null&&a!==null){updateChildren(n,i,r,a,t)}else if(a!==null){addVnodes(n,null,r,a,0,a.length-1)}else if(!t&&BUILD.updatable&&i!==null){removeVnodes(i,0,i.length-1)}}};var insertBefore=function(e,r,t){{return e==null?void 0:e.insertBefore(r,t)}};var renderVdom=function(e,r,t){if(t===void 0){t=false}var n=e.$hostElement$;var i=e.o;var a=e.R||newVNode(null,null);var o=isHost(r)?r:h(null,null,r);hostTagName=n.tagName;if(i.N){o.C=o.C||{};i.N.map((function(e){var r=e[0],t=e[1];return o.C[t]=n[r]}))}if(t&&o.C){for(var s=0,u=Object.keys(o.C);s<u.length;s++){var l=u[s];if(n.hasAttribute(l)&&!["key","ref","style","class"].includes(l)){o.C[l]=n[l]}}}o.k=null;o.i|=4;e.R=o;o.A=a.A=n.shadowRoot||n;useNativeShadowDom=!!(i.i&1)&&!(i.i&128);patch(a,o,t)};var attachToAncestor=function(e,r){if(r&&!e.H&&r["s-p"]){var t=r["s-p"].push(new Promise((function(n){return e.H=function(){r["s-p"].splice(t-1,1);n()}})))}};var scheduleUpdate=function(e,r){{e.i|=16}if(e.i&4){e.i|=512;return}attachToAncestor(e,e.L);var t=function(){return dispatchHooks(e,r)};return writeTask(t)};var dispatchHooks=function(e,r){var t=e.$hostElement$;var n=createTime("scheduleUpdate",e.o.p);var i=e.t;if(!i){throw new Error("Can't render component <".concat(t.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 a;if(r){a=safeCall(i,"componentWillLoad",void 0,t)}else{a=safeCall(i,"componentWillUpdate",void 0,t)}a=enqueue(a,(function(){return safeCall(i,"componentWillRender",void 0,t)}));n();return enqueue(a,(function(){return updateComponent(e,i,r)}))};var enqueue=function(e,r){return isPromisey(e)?e.then(r).catch((function(e){console.error(e);r()})):r()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,r,t){return __awaiter(void 0,void 0,void 0,(function(){var n,i,a,o,s,u,l;return __generator(this,(function(f){i=e.$hostElement$;a=createTime("update",e.o.p);o=i["s-rc"];if(t){attachStyles(e)}s=createTime("render",e.o.p);{callRender(e,r,i,t)}if(o){o.map((function(e){return e()}));i["s-rc"]=void 0}s();a();{u=(n=i["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,r,t,n){try{r=r.render();{e.i&=~16}{e.i|=2}{{{renderVdom(e,r,n)}}}}catch(r){consoleError(r,e.$hostElement$)}return null};var postUpdateComponent=function(e){var r=e.o.p;var t=e.$hostElement$;var n=createTime("postUpdate",r);var i=e.t;var a=e.L;safeCall(i,"componentDidRender",void 0,t);if(!(e.i&64)){e.i|=64;{addHydratedFlag(t)}safeCall(i,"componentDidLoad",void 0,t);n();{e.v(t);if(!a){appDidLoad()}}}else{safeCall(i,"componentDidUpdate",void 0,t);n()}{if(e.H){e.H();e.H=void 0}if(e.i&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.i&=~(4|512)}};var appDidLoad=function(e){nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,r,t,n){if(e&&e[r]){try{return e[r](t)}catch(e){consoleError(e,n)}}return void 0};var addHydratedFlag=function(e){var r;return e.setAttribute((r=BUILD.hydratedSelectorName)!=null?r:"hydrated","")};var getValue=function(e,r){return getHostRef(e).u.get(r)};var setValue=function(e,r,t,n){var i=getHostRef(e);if(!i){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/stenciljs/core/issues/5457).'))}var a=i.u.get(r);var o=i.i;var s=i.t;t=parsePropertyValue(t,n.M[r][0]);var u=Number.isNaN(a)&&Number.isNaN(t);var l=t!==a&&!u;if((!(o&8)||a===void 0)&&l){i.u.set(r,t);if(s){if((o&(2|16))===2){if(s.componentShouldUpdate){if(s.componentShouldUpdate(t,a,r)===false){return}}scheduleUpdate(i,false)}}}};var proxyComponent=function(e,r,t){var n,i;var a=e.prototype;if(r.M||BUILD.watchCallback){var o=Object.entries((n=r.M)!=null?n:{});o.map((function(e){var n=e[0],i=e[1][0];if(i&31||t&2&&i&32){var o=Object.getOwnPropertyDescriptor(a,n)||{},s=o.get,u=o.set;if(s)r.M[n][0]|=2048;if(u)r.M[n][0]|=4096;if(t&1||!s){Object.defineProperty(a,n,{get:function(){{if((r.M[n][0]&2048)===0){return getValue(this,n)}var e=getHostRef(this);var t=e?e.t:a;if(!t)return;return t[n]}},configurable:true,enumerable:true})}Object.defineProperty(a,n,{set:function(e){var a=this;var o=getHostRef(this);if(u){var s=i&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,i)]);e=i&32?this[n]:o.$hostElement$[n];setValue(this,n,e,r);return}{if((t&1)===0||(r.M[n][0]&4096)===0){setValue(this,n,e,r);if(t&1&&!o.t){o.l.then((function(){if(r.M[n][0]&4096&&o.t[n]!==o.u.get(n)){o.t[n]=e}}))}return}var l=function(){var t=o.t[n];if(!o.u.get(n)&&t){o.u.set(n,t)}o.t[n]=parsePropertyValue(e,i);setValue(a,n,o.t[n],r)};if(o.t){l()}else{o.l.then((function(){return l()}))}}}})}}));if(t&1){var s=new Map;a.attributeChangedCallback=function(e,t,n){var i=this;plt.jmp((function(){var o;var u=s.get(e);if(i.hasOwnProperty(u)&&BUILD.lazyLoad){n=i[u];delete i[u]}else if(a.hasOwnProperty(u)&&typeof i[u]==="number"&&i[u]==n){return}else if(u==null){var l=getHostRef(i);var f=l==null?void 0:l.i;if(f&&!(f&8)&&f&128&&n!==t){var c=l.t;var v=(o=r.$)==null?void 0:o[e];v==null?void 0:v.forEach((function(r){if(c[r]!=null){c[r].call(c,n,t,e)}}))}return}var d=Object.getOwnPropertyDescriptor(a,u);n=n===null&&typeof i[u]==="boolean"?false:n;if(n!==i[u]&&(!d.get||!!d.set)){i[u]=n}}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((i=r.$)!=null?i:{}),true),o.filter((function(e){var r=e[0],t=e[1];return t[0]&15})).map((function(e){var t=e[0],n=e[1];var i;var a=n[1]||t;s.set(a,t);if(n[0]&512){(i=r.N)==null?void 0:i.push([t,a])}return a})),true)))}}return e};var initializeComponent=function(e,r,t,n){return __awaiter(void 0,void 0,void 0,(function(){var n,i,a,o,s,u,l,f,c,v,d;return __generator(this,(function(p){switch(p.label){case 0:if(!((r.i&32)===0))return[3,6];r.i|=32;i=t.m;if(!i)return[3,4];a=loadModule(t,r);if(!(a&&"then"in a))return[3,2];o=uniqueTime();return[4,a];case 1:n=p.sent();o();return[3,3];case 2:n=a;p.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(t.p,"#").concat(r.V,'" was not found'))}if(!n.isProxied){proxyComponent(n,t,2);n.isProxied=true}s=createTime("createInstance",t.p);{r.i|=8}try{new n(r)}catch(r){consoleError(r,e)}{r.i&=~8}s();fireConnectedCallback(r.t,e);return[3,5];case 4:n=e.constructor;u=e.localName;customElements.whenDefined(u).then((function(){return r.i|=128}));p.label=5;case 5:if(n&&n.style){l=void 0;if(typeof n.style==="string"){l=n.style}f=getScopeId(t);if(!styles.has(f)){c=createTime("registerStyles",t.p);registerStyle(f,l,!!(t.i&1));c()}}p.label=6;case 6:v=r.L;d=function(){return scheduleUpdate(r,true)};if(v&&v["s-rc"]){v["s-rc"].push(d)}else{d()}return[2]}}))}))};var fireConnectedCallback=function(e,r){{safeCall(e,"connectedCallback",void 0,r)}};var connectedCallback=function(e){if((plt.i&1)===0){var r=getHostRef(e);var t=r.o;var n=createTime("connectedCallback",t.p);if(!(r.i&1)){r.i|=1;{var i=e;while(i=i.parentNode||i.host){if(i["s-p"]){attachToAncestor(r,r.L=i);break}}}if(t.M){Object.entries(t.M).map((function(r){var t=r[0],n=r[1][0];if(n&31&&e.hasOwnProperty(t)){var i=e[t];delete e[t];e[t]=i}}))}{initializeComponent(e,r,t)}}else{if(r==null?void 0:r.t){fireConnectedCallback(r.t,e)}else if(r==null?void 0:r.l){r.l.then((function(){return fireConnectedCallback(r.t,e)}))}}n()}};var disconnectInstance=function(e,r){{safeCall(e,"disconnectedCallback",void 0,r||e)}};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(t){if((plt.i&1)===0){r=getHostRef(e);if(r==null?void 0:r.t){disconnectInstance(r.t,e)}else if(r==null?void 0:r.l){r.l.then((function(){return disconnectInstance(r.t,e)}))}}if(rootAppliedStyles.has(e)){rootAppliedStyles.delete(e)}if(e.shadowRoot&&rootAppliedStyles.has(e.shadowRoot)){rootAppliedStyles.delete(e.shadowRoot)}return[2]}))}))};var bootstrapLazy=function(e,r){if(r===void 0){r={}}var t;if(!win.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var n=createTime();var i=[];var a=r.exclude||[];var o=win.customElements;var s=win.document.head;var u=s.querySelector("meta[charset]");var l=win.document.createElement("style");var f=[];var c;var v=true;Object.assign(plt,r);plt.h=new URL(r.resourcesUrl||"./",win.document.baseURI).href;var d=false;e.map((function(e){e[1].map((function(r){var t={i:r[0],p:r[1],M:r[2],P:r[3]};if(t.i&4){d=true}{t.M=r[2]}{t.N=[]}var n=t.p;var s=function(e){__extends(r,e);function r(r){var n=e.call(this,r)||this;n.hasRegisteredEventListeners=false;r=n;registerHost(r,t);if(t.i&1){{if(!r.shadowRoot){{r.attachShadow({mode:"open"})}}else{if(r.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(t.p,"! Mode is set to ").concat(r.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return n}r.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)}))}};r.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}));plt.raf((function(){var r;var t=getHostRef(e);var n=f.findIndex((function(r){return r===e}));if(n>-1){f.splice(n,1)}if(((r=t==null?void 0:t.R)==null?void 0:r.A)instanceof Node&&!t.R.A.isConnected){delete t.R.A}}))};r.prototype.componentOnReady=function(){return getHostRef(this).l};return r}(HTMLElement);t.m=e[0];if(!a.includes(n)&&!o.get(n)){i.push(n);o.define(n,proxyComponent(s,t,1))}}))}));if(i.length>0){if(d){l.textContent+=SLOT_FB_CSS}{l.textContent+=i.sort()+HYDRATED_CSS}if(l.innerHTML.length){l.setAttribute("data-styles","");var p=(t=plt.D)!=null?t:queryNonceMetaTagContent(win.document);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.D=e};export{Host as H,bootstrapLazy as b,h,promiseResolve as p,registerInstance as r,setNonce as s};
|
package/dist/esm-es5/loader.js
CHANGED
@@ -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{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-
|
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-07630e0c.js";export{s as setNonce}from"./index-07630e0c.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-
|
1
|
+
import{r as registerInstance,h,H as Host}from"./index-07630e0c.js";var mdsInputTipCss=':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}';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-
|
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-07630e0c.js";export{s as setNonce}from"./index-07630e0c.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-
|
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))));
|