@maggioli-design-system/mds-list 3.12.0 → 3.13.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-a4d3ebfa.js → index-00b68035.js} +113 -61
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mds-list.cjs.entry.js +1 -1
- package/dist/cjs/mds-list.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/documentation.json +2 -2
- package/dist/esm/{index-179f1f1c.js → index-c26b7d48.js} +113 -61
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mds-list.entry.js +1 -1
- package/dist/esm/mds-list.js +3 -3
- package/dist/esm-es5/index-c26b7d48.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-list.js +1 -1
- package/dist/mds-list/mds-list.esm.js +1 -1
- package/dist/mds-list/mds-list.js +1 -1
- package/dist/mds-list/{p-afd62772.system.js → p-2477554a.system.js} +1 -1
- package/dist/mds-list/p-27f53106.system.js +2 -0
- package/dist/mds-list/{p-1117cef8.entry.js → p-4da2671c.entry.js} +1 -1
- package/dist/mds-list/{p-7e28b9bd.system.entry.js → p-e377c79e.system.entry.js} +1 -1
- package/dist/mds-list/p-e5aeaee3.js +2 -0
- package/dist/stats.json +25 -26
- package/documentation.json +2 -2
- package/package.json +4 -4
- package/src/tailwind/components.css +2 -48
- package/src/tailwind/index.css +4 -0
- package/www/build/mds-list.esm.js +1 -1
- package/www/build/mds-list.js +1 -1
- package/www/build/{p-afd62772.system.js → p-2477554a.system.js} +1 -1
- package/www/build/p-27f53106.system.js +2 -0
- package/www/build/{p-1117cef8.entry.js → p-4da2671c.entry.js} +1 -1
- package/www/build/{p-7e28b9bd.system.entry.js → p-e377c79e.system.entry.js} +1 -1
- package/www/build/p-e5aeaee3.js +2 -0
- package/dist/esm-es5/index-179f1f1c.js +0 -1
- package/dist/mds-list/p-001d09da.system.js +0 -2
- package/dist/mds-list/p-5823ad4a.js +0 -2
- package/www/build/p-001d09da.system.js +0 -2
- package/www/build/p-5823ad4a.js +0 -2
|
@@ -21,10 +21,10 @@ function _interopNamespace(e) {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
const NAMESPACE = 'mds-list';
|
|
24
|
-
const BUILD = /* mds-list */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false,
|
|
24
|
+
const BUILD = /* mds-list */ { 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: false, method: false, mode: false, modernPropertyDecls: false, observeAttribute: false, profile: false, prop: false, propBoolean: false, propMutable: false, propNumber: false, propString: false, reflect: false, 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: false, vdomAttribute: true, vdomClass: false, vdomFunctional: false, vdomKey: true, vdomListener: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: false, vdomXlink: false, watchCallback: false };
|
|
25
25
|
|
|
26
26
|
/*
|
|
27
|
-
Stencil Client Platform v4.
|
|
27
|
+
Stencil Client Platform v4.27.2 | MIT Licensed | https://stenciljs.com
|
|
28
28
|
*/
|
|
29
29
|
var __defProp = Object.defineProperty;
|
|
30
30
|
var __export = (target, all) => {
|
|
@@ -33,10 +33,15 @@ var __export = (target, all) => {
|
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
// src/client/client-host-ref.ts
|
|
36
|
-
var
|
|
37
|
-
|
|
36
|
+
var getHostRef = (ref) => {
|
|
37
|
+
if (ref.__stencil__getHostRef) {
|
|
38
|
+
return ref.__stencil__getHostRef();
|
|
39
|
+
}
|
|
40
|
+
return void 0;
|
|
41
|
+
};
|
|
38
42
|
var registerInstance = (lazyInstance, hostRef) => {
|
|
39
|
-
|
|
43
|
+
lazyInstance.__stencil__getHostRef = () => hostRef;
|
|
44
|
+
hostRef.$lazyInstance$ = lazyInstance;
|
|
40
45
|
};
|
|
41
46
|
var registerHost = (hostElement, cmpMeta) => {
|
|
42
47
|
const hostRef = {
|
|
@@ -50,7 +55,8 @@ var registerHost = (hostElement, cmpMeta) => {
|
|
|
50
55
|
hostElement["s-p"] = [];
|
|
51
56
|
hostElement["s-rc"] = [];
|
|
52
57
|
}
|
|
53
|
-
const ref =
|
|
58
|
+
const ref = hostRef;
|
|
59
|
+
hostElement.__stencil__getHostRef = () => ref;
|
|
54
60
|
return ref;
|
|
55
61
|
};
|
|
56
62
|
var isMemberInElement = (elm, memberName) => memberName in elm;
|
|
@@ -107,7 +113,6 @@ var HYDRATED_STYLE_ID = "sty-id";
|
|
|
107
113
|
var HYDRATED_CSS = "{visibility:hidden}[hydrated]{visibility:inherit}";
|
|
108
114
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
109
115
|
var win = typeof window !== "undefined" ? window : {};
|
|
110
|
-
var doc = win.document || { head: {} };
|
|
111
116
|
var plt = {
|
|
112
117
|
$flags$: 0,
|
|
113
118
|
$resourcesUrl$: "",
|
|
@@ -167,9 +172,9 @@ var isComplexType = (o) => {
|
|
|
167
172
|
};
|
|
168
173
|
|
|
169
174
|
// src/utils/query-nonce-meta-tag-content.ts
|
|
170
|
-
function queryNonceMetaTagContent(
|
|
175
|
+
function queryNonceMetaTagContent(doc) {
|
|
171
176
|
var _a, _b, _c;
|
|
172
|
-
return (_c = (_b = (_a =
|
|
177
|
+
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;
|
|
173
178
|
}
|
|
174
179
|
|
|
175
180
|
// src/utils/result.ts
|
|
@@ -316,7 +321,10 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
316
321
|
var _a;
|
|
317
322
|
const scopeId2 = getScopeId(cmpMeta);
|
|
318
323
|
const style = styles.get(scopeId2);
|
|
319
|
-
|
|
324
|
+
if (!win.document) {
|
|
325
|
+
return scopeId2;
|
|
326
|
+
}
|
|
327
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
|
|
320
328
|
if (style) {
|
|
321
329
|
if (typeof style === "string") {
|
|
322
330
|
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
@@ -327,9 +335,9 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
327
335
|
}
|
|
328
336
|
if (!appliedStyles.has(scopeId2)) {
|
|
329
337
|
{
|
|
330
|
-
styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) ||
|
|
338
|
+
styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || win.document.createElement("style");
|
|
331
339
|
styleElm.innerHTML = style;
|
|
332
|
-
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(
|
|
340
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
333
341
|
if (nonce != null) {
|
|
334
342
|
styleElm.setAttribute("nonce", nonce);
|
|
335
343
|
}
|
|
@@ -358,7 +366,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
358
366
|
styleContainerNode.append(styleElm);
|
|
359
367
|
}
|
|
360
368
|
}
|
|
361
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */
|
|
369
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
362
370
|
styleContainerNode.insertBefore(styleElm, null);
|
|
363
371
|
}
|
|
364
372
|
}
|
|
@@ -383,7 +391,7 @@ var attachStyles = (hostRef) => {
|
|
|
383
391
|
const scopeId2 = addStyle(
|
|
384
392
|
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
385
393
|
cmpMeta);
|
|
386
|
-
if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
|
|
394
|
+
if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
|
|
387
395
|
elm["s-sc"] = scopeId2;
|
|
388
396
|
elm.classList.add(scopeId2 + "-h");
|
|
389
397
|
}
|
|
@@ -391,42 +399,43 @@ var attachStyles = (hostRef) => {
|
|
|
391
399
|
};
|
|
392
400
|
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
393
401
|
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
|
|
394
|
-
if (oldValue
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
402
|
+
if (oldValue === newValue) {
|
|
403
|
+
return;
|
|
404
|
+
}
|
|
405
|
+
let isProp = isMemberInElement(elm, memberName);
|
|
406
|
+
memberName.toLowerCase();
|
|
407
|
+
if (memberName === "key") ; else {
|
|
408
|
+
const isComplex = isComplexType(newValue);
|
|
409
|
+
if ((isProp || isComplex && newValue !== null) && !isSvg) {
|
|
410
|
+
try {
|
|
411
|
+
if (!elm.tagName.includes("-")) {
|
|
412
|
+
const n = newValue == null ? "" : newValue;
|
|
413
|
+
if (memberName === "list") {
|
|
414
|
+
isProp = false;
|
|
415
|
+
} else if (oldValue == null || elm[memberName] != n) {
|
|
416
|
+
if (typeof elm.__lookupSetter__(memberName) === "function") {
|
|
417
|
+
elm[memberName] = n;
|
|
418
|
+
} else {
|
|
419
|
+
elm.setAttribute(memberName, n);
|
|
411
420
|
}
|
|
412
|
-
} else if (elm[memberName] !== newValue) {
|
|
413
|
-
elm[memberName] = newValue;
|
|
414
421
|
}
|
|
415
|
-
}
|
|
422
|
+
} else if (elm[memberName] !== newValue) {
|
|
423
|
+
elm[memberName] = newValue;
|
|
416
424
|
}
|
|
425
|
+
} catch (e) {
|
|
417
426
|
}
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
elm.removeAttribute(memberName);
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
} else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
|
|
425
|
-
newValue = newValue === true ? "" : newValue;
|
|
427
|
+
}
|
|
428
|
+
if (newValue == null || newValue === false) {
|
|
429
|
+
if (newValue !== false || elm.getAttribute(memberName) === "") {
|
|
426
430
|
{
|
|
427
|
-
elm.
|
|
431
|
+
elm.removeAttribute(memberName);
|
|
428
432
|
}
|
|
429
433
|
}
|
|
434
|
+
} else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex && elm.nodeType === 1 /* ElementNode */) {
|
|
435
|
+
newValue = newValue === true ? "" : newValue;
|
|
436
|
+
{
|
|
437
|
+
elm.setAttribute(memberName, newValue);
|
|
438
|
+
}
|
|
430
439
|
}
|
|
431
440
|
}
|
|
432
441
|
};
|
|
@@ -464,7 +473,12 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
464
473
|
let elm;
|
|
465
474
|
let childNode;
|
|
466
475
|
{
|
|
467
|
-
|
|
476
|
+
if (!win.document) {
|
|
477
|
+
throw new Error(
|
|
478
|
+
"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."
|
|
479
|
+
);
|
|
480
|
+
}
|
|
481
|
+
elm = newVNode2.$elm$ = win.document.createElement(
|
|
468
482
|
!useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
|
|
469
483
|
);
|
|
470
484
|
{
|
|
@@ -513,12 +527,9 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
513
527
|
const elm = newVNode2.$elm$ = oldVNode.$elm$;
|
|
514
528
|
const oldChildren = oldVNode.$children$;
|
|
515
529
|
const newChildren = newVNode2.$children$;
|
|
516
|
-
const tag = newVNode2.$tag$;
|
|
517
530
|
{
|
|
518
531
|
{
|
|
519
|
-
|
|
520
|
-
updateElement(oldVNode, newVNode2, isSvgMode);
|
|
521
|
-
}
|
|
532
|
+
updateElement(oldVNode, newVNode2, isSvgMode);
|
|
522
533
|
}
|
|
523
534
|
if (newChildren !== null) {
|
|
524
535
|
addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
|
|
@@ -552,7 +563,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
552
563
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
553
564
|
hostRef.$vnode$ = rootVnode;
|
|
554
565
|
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
|
555
|
-
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)
|
|
566
|
+
useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
|
|
556
567
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
557
568
|
};
|
|
558
569
|
|
|
@@ -588,6 +599,12 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
588
599
|
);
|
|
589
600
|
}
|
|
590
601
|
let maybePromise;
|
|
602
|
+
if (isInitialLoad) {
|
|
603
|
+
maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
|
|
604
|
+
} else {
|
|
605
|
+
maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
|
|
606
|
+
}
|
|
607
|
+
maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
|
|
591
608
|
endSchedule();
|
|
592
609
|
return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
|
|
593
610
|
};
|
|
@@ -648,12 +665,15 @@ var postUpdateComponent = (hostRef) => {
|
|
|
648
665
|
const tagName = hostRef.$cmpMeta$.$tagName$;
|
|
649
666
|
const elm = hostRef.$hostElement$;
|
|
650
667
|
const endPostUpdate = createTime("postUpdate", tagName);
|
|
668
|
+
const instance = hostRef.$lazyInstance$ ;
|
|
651
669
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
670
|
+
safeCall(instance, "componentDidRender", void 0, elm);
|
|
652
671
|
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
653
672
|
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
654
673
|
{
|
|
655
674
|
addHydratedFlag(elm);
|
|
656
675
|
}
|
|
676
|
+
safeCall(instance, "componentDidLoad", void 0, elm);
|
|
657
677
|
endPostUpdate();
|
|
658
678
|
{
|
|
659
679
|
hostRef.$onReadyResolve$(elm);
|
|
@@ -662,6 +682,7 @@ var postUpdateComponent = (hostRef) => {
|
|
|
662
682
|
}
|
|
663
683
|
}
|
|
664
684
|
} else {
|
|
685
|
+
safeCall(instance, "componentDidUpdate", void 0, elm);
|
|
665
686
|
endPostUpdate();
|
|
666
687
|
}
|
|
667
688
|
{
|
|
@@ -676,11 +697,18 @@ var postUpdateComponent = (hostRef) => {
|
|
|
676
697
|
}
|
|
677
698
|
};
|
|
678
699
|
var appDidLoad = (who) => {
|
|
679
|
-
{
|
|
680
|
-
addHydratedFlag(doc.documentElement);
|
|
681
|
-
}
|
|
682
700
|
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
683
701
|
};
|
|
702
|
+
var safeCall = (instance, method, arg, elm) => {
|
|
703
|
+
if (instance && instance[method]) {
|
|
704
|
+
try {
|
|
705
|
+
return instance[method](arg);
|
|
706
|
+
} catch (e) {
|
|
707
|
+
consoleError(e, elm);
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
return void 0;
|
|
711
|
+
};
|
|
684
712
|
var addHydratedFlag = (elm) => {
|
|
685
713
|
var _b;
|
|
686
714
|
return elm.setAttribute((_b = BUILD.hydratedSelectorName) != null ? _b : "hydrated", "") ;
|
|
@@ -696,7 +724,8 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
696
724
|
let Cstr;
|
|
697
725
|
if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
|
|
698
726
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
699
|
-
|
|
727
|
+
const bundleId = cmpMeta.$lazyBundleId$;
|
|
728
|
+
if (bundleId) {
|
|
700
729
|
const CstrImport = loadModule(cmpMeta, hostRef);
|
|
701
730
|
if (CstrImport && "then" in CstrImport) {
|
|
702
731
|
const endLoad = uniqueTime();
|
|
@@ -715,6 +744,11 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
715
744
|
consoleError(e, elm);
|
|
716
745
|
}
|
|
717
746
|
endNewInstance();
|
|
747
|
+
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
748
|
+
} else {
|
|
749
|
+
Cstr = elm.constructor;
|
|
750
|
+
const cmpTag = elm.localName;
|
|
751
|
+
customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
|
|
718
752
|
}
|
|
719
753
|
if (Cstr && Cstr.style) {
|
|
720
754
|
let style;
|
|
@@ -738,6 +772,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
738
772
|
}
|
|
739
773
|
};
|
|
740
774
|
var fireConnectedCallback = (instance, elm) => {
|
|
775
|
+
{
|
|
776
|
+
safeCall(instance, "connectedCallback", void 0, elm);
|
|
777
|
+
}
|
|
741
778
|
};
|
|
742
779
|
|
|
743
780
|
// src/runtime/connected-callback.ts
|
|
@@ -761,20 +798,27 @@ var connectedCallback = (elm) => {
|
|
|
761
798
|
initializeComponent(elm, hostRef, cmpMeta);
|
|
762
799
|
}
|
|
763
800
|
} else {
|
|
764
|
-
if (hostRef == null ? void 0 : hostRef.$lazyInstance$)
|
|
765
|
-
hostRef.$
|
|
801
|
+
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
802
|
+
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
803
|
+
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
804
|
+
hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
|
|
766
805
|
}
|
|
767
806
|
}
|
|
768
807
|
endConnected();
|
|
769
808
|
}
|
|
770
809
|
};
|
|
771
810
|
var disconnectInstance = (instance, elm) => {
|
|
811
|
+
{
|
|
812
|
+
safeCall(instance, "disconnectedCallback", void 0, elm || instance);
|
|
813
|
+
}
|
|
772
814
|
};
|
|
773
815
|
var disconnectedCallback = async (elm) => {
|
|
774
816
|
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
775
817
|
const hostRef = getHostRef(elm);
|
|
776
|
-
if (hostRef == null ? void 0 : hostRef.$lazyInstance$)
|
|
777
|
-
hostRef.$
|
|
818
|
+
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
819
|
+
disconnectInstance(hostRef.$lazyInstance$, elm);
|
|
820
|
+
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
821
|
+
hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
|
|
778
822
|
}
|
|
779
823
|
}
|
|
780
824
|
if (rootAppliedStyles.has(elm)) {
|
|
@@ -788,18 +832,22 @@ var disconnectedCallback = async (elm) => {
|
|
|
788
832
|
// src/runtime/bootstrap-lazy.ts
|
|
789
833
|
var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
790
834
|
var _a;
|
|
835
|
+
if (!win.document) {
|
|
836
|
+
console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");
|
|
837
|
+
return;
|
|
838
|
+
}
|
|
791
839
|
const endBootstrap = createTime();
|
|
792
840
|
const cmpTags = [];
|
|
793
841
|
const exclude = options.exclude || [];
|
|
794
842
|
const customElements2 = win.customElements;
|
|
795
|
-
const head =
|
|
843
|
+
const head = win.document.head;
|
|
796
844
|
const metaCharset = /* @__PURE__ */ head.querySelector("meta[charset]");
|
|
797
|
-
const dataStyles = /* @__PURE__ */
|
|
845
|
+
const dataStyles = /* @__PURE__ */ win.document.createElement("style");
|
|
798
846
|
const deferredConnectedCallbacks = [];
|
|
799
847
|
let appLoadFallback;
|
|
800
848
|
let isBootstrapping = true;
|
|
801
849
|
Object.assign(plt, options);
|
|
802
|
-
plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./",
|
|
850
|
+
plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", win.document.baseURI).href;
|
|
803
851
|
let hasSlotRelocation = false;
|
|
804
852
|
lazyBundles.map((lazyBundle) => {
|
|
805
853
|
lazyBundle[1].map((compactMeta) => {
|
|
@@ -856,6 +904,10 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
856
904
|
plt.raf(() => {
|
|
857
905
|
var _a3;
|
|
858
906
|
const hostRef = getHostRef(this);
|
|
907
|
+
const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
|
|
908
|
+
if (i2 > -1) {
|
|
909
|
+
deferredConnectedCallbacks.splice(i2, 1);
|
|
910
|
+
}
|
|
859
911
|
if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
|
|
860
912
|
delete hostRef.$vnode$.$elm$;
|
|
861
913
|
}
|
|
@@ -884,7 +936,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
884
936
|
}
|
|
885
937
|
if (dataStyles.innerHTML.length) {
|
|
886
938
|
dataStyles.setAttribute("data-styles", "");
|
|
887
|
-
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(
|
|
939
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
888
940
|
if (nonce != null) {
|
|
889
941
|
dataStyles.setAttribute("nonce", nonce);
|
|
890
942
|
}
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-00b68035.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-00b68035.js');
|
|
6
6
|
|
|
7
7
|
const mdsListCss = ":host{gap:1rem;padding-left:1rem;display:grid}ul{margin:0rem;padding:0rem}: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}";
|
|
8
8
|
const MdsListStyle0 = mdsListCss;
|
package/dist/cjs/mds-list.cjs.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-00b68035.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
Stencil Client Patch Browser v4.
|
|
9
|
+
Stencil Client Patch Browser v4.27.2 | MIT Licensed | https://stenciljs.com
|
|
10
10
|
*/
|
|
11
11
|
var patchBrowser = () => {
|
|
12
12
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('mds-list.cjs.js', document.baseURI).href));
|