@maggioli-design-system/mds-table-row 5.1.0 → 5.3.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-cb928c36.js → index-27c9aefd.js} +146 -108
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mds-table-row.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-row.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/common/floating-controller.js +3 -3
- package/dist/collection/common/string.js +30 -0
- package/dist/collection/components/mds-table-row/mds-table-row.css +131 -28
- package/dist/collection/dictionary/keyboard.js +84 -0
- package/dist/collection/type/keyboard.js +1 -0
- package/dist/components/mds-table-row.js +1 -1
- package/dist/documentation.json +2 -2
- package/dist/esm/{index-8134a00a.js → index-81f966aa.js} +146 -108
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mds-table-row.entry.js +2 -2
- package/dist/esm/mds-table-row.js +3 -3
- package/dist/esm-es5/index-81f966aa.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-table-row.entry.js +2 -2
- package/dist/esm-es5/mds-table-row.js +1 -1
- package/dist/mds-table-row/mds-table-row.esm.js +1 -1
- package/dist/mds-table-row/mds-table-row.js +1 -1
- package/dist/mds-table-row/p-133f1581.system.js +2 -0
- package/dist/mds-table-row/p-25b773c1.js +2 -0
- package/dist/mds-table-row/p-dea08b0f.system.entry.js +6 -0
- package/dist/mds-table-row/p-e71445fa.system.js +1 -0
- package/dist/mds-table-row/p-f83384f1.entry.js +6 -0
- package/dist/stats.json +38 -33
- package/dist/types/common/string.d.ts +4 -0
- package/dist/types/dictionary/keyboard.d.ts +2 -0
- package/dist/types/type/keyboard.d.ts +12 -0
- package/documentation.json +22 -2
- package/package.json +4 -4
- package/src/common/floating-controller.ts +6 -6
- package/src/common/string.ts +42 -0
- package/src/components/mds-table-row/css/mds-table-row-actions.css +8 -10
- package/src/components/mds-table-row/css/mds-table-row-interactive.css +0 -1
- package/src/components/mds-table-row/css/mds-table-row-pref-animation.css +5 -14
- package/src/components/mds-table-row/css/mds-table-row-selected.css +0 -1
- package/src/components/mds-table-row/css/mds-table-row-sorted.css +0 -2
- package/src/components/mds-table-row/mds-table-row.css +1 -3
- package/src/dictionary/keyboard.ts +87 -0
- package/src/fixtures/icons.json +18 -1
- package/src/meta/keyboard/keys.json +83 -0
- package/src/tailwind/components.css +11 -46
- package/src/tailwind/fouc.css +118 -0
- package/src/tailwind/index.css +4 -0
- package/src/type/keyboard.ts +93 -0
- package/www/build/mds-table-row.esm.js +1 -1
- package/www/build/mds-table-row.js +1 -1
- package/www/build/p-133f1581.system.js +2 -0
- package/www/build/p-25b773c1.js +2 -0
- package/www/build/p-dea08b0f.system.entry.js +6 -0
- package/www/build/p-e71445fa.system.js +1 -0
- package/www/build/p-f83384f1.entry.js +6 -0
- package/dist/esm-es5/index-8134a00a.js +0 -1
- package/dist/mds-table-row/p-11048c96.system.js +0 -1
- package/dist/mds-table-row/p-12e458ac.entry.js +0 -6
- package/dist/mds-table-row/p-22d4881a.js +0 -2
- package/dist/mds-table-row/p-88f814c9.system.js +0 -2
- package/dist/mds-table-row/p-95fc715e.system.entry.js +0 -6
- package/www/build/p-11048c96.system.js +0 -1
- package/www/build/p-12e458ac.entry.js +0 -6
- package/www/build/p-22d4881a.js +0 -2
- package/www/build/p-88f814c9.system.js +0 -2
- package/www/build/p-95fc715e.system.entry.js +0 -6
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const NAMESPACE = 'mds-table-row';
|
|
2
|
-
const BUILD = /* mds-table-row */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false,
|
|
2
|
+
const BUILD = /* mds-table-row */ { 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: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: false, propString: false, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: true, vdomText: true, 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 = {
|
|
@@ -31,7 +36,8 @@ var registerHost = (hostElement, cmpMeta) => {
|
|
|
31
36
|
hostElement["s-p"] = [];
|
|
32
37
|
hostElement["s-rc"] = [];
|
|
33
38
|
}
|
|
34
|
-
const ref =
|
|
39
|
+
const ref = hostRef;
|
|
40
|
+
hostElement.__stencil__getHostRef = () => ref;
|
|
35
41
|
return ref;
|
|
36
42
|
};
|
|
37
43
|
var isMemberInElement = (elm, memberName) => memberName in elm;
|
|
@@ -88,7 +94,6 @@ var HYDRATED_STYLE_ID = "sty-id";
|
|
|
88
94
|
var HYDRATED_CSS = "{visibility:hidden}[hydrated]{visibility:inherit}";
|
|
89
95
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
90
96
|
var win = typeof window !== "undefined" ? window : {};
|
|
91
|
-
var doc = win.document || { head: {} };
|
|
92
97
|
var plt = {
|
|
93
98
|
$flags$: 0,
|
|
94
99
|
$resourcesUrl$: "",
|
|
@@ -148,9 +153,9 @@ var isComplexType = (o) => {
|
|
|
148
153
|
};
|
|
149
154
|
|
|
150
155
|
// src/utils/query-nonce-meta-tag-content.ts
|
|
151
|
-
function queryNonceMetaTagContent(
|
|
156
|
+
function queryNonceMetaTagContent(doc) {
|
|
152
157
|
var _a, _b, _c;
|
|
153
|
-
return (_c = (_b = (_a =
|
|
158
|
+
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;
|
|
154
159
|
}
|
|
155
160
|
|
|
156
161
|
// src/utils/result.ts
|
|
@@ -313,7 +318,10 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
313
318
|
var _a;
|
|
314
319
|
const scopeId2 = getScopeId(cmpMeta);
|
|
315
320
|
const style = styles.get(scopeId2);
|
|
316
|
-
|
|
321
|
+
if (!win.document) {
|
|
322
|
+
return scopeId2;
|
|
323
|
+
}
|
|
324
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
|
|
317
325
|
if (style) {
|
|
318
326
|
if (typeof style === "string") {
|
|
319
327
|
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
@@ -324,9 +332,9 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
324
332
|
}
|
|
325
333
|
if (!appliedStyles.has(scopeId2)) {
|
|
326
334
|
{
|
|
327
|
-
styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) ||
|
|
335
|
+
styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || win.document.createElement("style");
|
|
328
336
|
styleElm.innerHTML = style;
|
|
329
|
-
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(
|
|
337
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
330
338
|
if (nonce != null) {
|
|
331
339
|
styleElm.setAttribute("nonce", nonce);
|
|
332
340
|
}
|
|
@@ -355,7 +363,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
355
363
|
styleContainerNode.append(styleElm);
|
|
356
364
|
}
|
|
357
365
|
}
|
|
358
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */
|
|
366
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
359
367
|
styleContainerNode.insertBefore(styleElm, null);
|
|
360
368
|
}
|
|
361
369
|
}
|
|
@@ -380,7 +388,7 @@ var attachStyles = (hostRef) => {
|
|
|
380
388
|
const scopeId2 = addStyle(
|
|
381
389
|
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
382
390
|
cmpMeta);
|
|
383
|
-
if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
|
|
391
|
+
if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
|
|
384
392
|
elm["s-sc"] = scopeId2;
|
|
385
393
|
elm.classList.add(scopeId2 + "-h");
|
|
386
394
|
}
|
|
@@ -388,89 +396,90 @@ var attachStyles = (hostRef) => {
|
|
|
388
396
|
};
|
|
389
397
|
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
390
398
|
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
|
|
391
|
-
if (oldValue
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
} else {
|
|
409
|
-
elm.style[prop] = "";
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
for (const prop in newValue) {
|
|
415
|
-
if (!oldValue || newValue[prop] !== oldValue[prop]) {
|
|
399
|
+
if (oldValue === newValue) {
|
|
400
|
+
return;
|
|
401
|
+
}
|
|
402
|
+
let isProp = isMemberInElement(elm, memberName);
|
|
403
|
+
let ln = memberName.toLowerCase();
|
|
404
|
+
if (memberName === "class") {
|
|
405
|
+
const classList = elm.classList;
|
|
406
|
+
const oldClasses = parseClassList(oldValue);
|
|
407
|
+
let newClasses = parseClassList(newValue);
|
|
408
|
+
{
|
|
409
|
+
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
410
|
+
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
411
|
+
}
|
|
412
|
+
} else if (memberName === "style") {
|
|
413
|
+
{
|
|
414
|
+
for (const prop in oldValue) {
|
|
415
|
+
if (!newValue || newValue[prop] == null) {
|
|
416
416
|
if (prop.includes("-")) {
|
|
417
|
-
elm.style.
|
|
417
|
+
elm.style.removeProperty(prop);
|
|
418
418
|
} else {
|
|
419
|
-
elm.style[prop] =
|
|
419
|
+
elm.style[prop] = "";
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
}
|
|
431
|
-
if (oldValue || newValue) {
|
|
432
|
-
const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
|
|
433
|
-
memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
|
|
434
|
-
if (oldValue) {
|
|
435
|
-
plt.rel(elm, memberName, oldValue, capture);
|
|
436
|
-
}
|
|
437
|
-
if (newValue) {
|
|
438
|
-
plt.ael(elm, memberName, newValue, capture);
|
|
423
|
+
}
|
|
424
|
+
for (const prop in newValue) {
|
|
425
|
+
if (!oldValue || newValue[prop] !== oldValue[prop]) {
|
|
426
|
+
if (prop.includes("-")) {
|
|
427
|
+
elm.style.setProperty(prop, newValue[prop]);
|
|
428
|
+
} else {
|
|
429
|
+
elm.style[prop] = newValue[prop];
|
|
439
430
|
}
|
|
440
431
|
}
|
|
432
|
+
}
|
|
433
|
+
} else if (memberName === "key") ; else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
|
|
434
|
+
if (memberName[2] === "-") {
|
|
435
|
+
memberName = memberName.slice(3);
|
|
436
|
+
} else if (isMemberInElement(win, ln)) {
|
|
437
|
+
memberName = ln.slice(2);
|
|
441
438
|
} else {
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
439
|
+
memberName = ln[2] + memberName.slice(3);
|
|
440
|
+
}
|
|
441
|
+
if (oldValue || newValue) {
|
|
442
|
+
const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
|
|
443
|
+
memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
|
|
444
|
+
if (oldValue) {
|
|
445
|
+
plt.rel(elm, memberName, oldValue, capture);
|
|
446
|
+
}
|
|
447
|
+
if (newValue) {
|
|
448
|
+
plt.ael(elm, memberName, newValue, capture);
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
} else {
|
|
452
|
+
const isComplex = isComplexType(newValue);
|
|
453
|
+
if ((isProp || isComplex && newValue !== null) && !isSvg) {
|
|
454
|
+
try {
|
|
455
|
+
if (!elm.tagName.includes("-")) {
|
|
456
|
+
const n = newValue == null ? "" : newValue;
|
|
457
|
+
if (memberName === "list") {
|
|
458
|
+
isProp = false;
|
|
459
|
+
} else if (oldValue == null || elm[memberName] != n) {
|
|
460
|
+
if (typeof elm.__lookupSetter__(memberName) === "function") {
|
|
461
|
+
elm[memberName] = n;
|
|
462
|
+
} else {
|
|
463
|
+
elm.setAttribute(memberName, n);
|
|
455
464
|
}
|
|
456
|
-
} else if (elm[memberName] !== newValue) {
|
|
457
|
-
elm[memberName] = newValue;
|
|
458
465
|
}
|
|
459
|
-
}
|
|
466
|
+
} else if (elm[memberName] !== newValue) {
|
|
467
|
+
elm[memberName] = newValue;
|
|
460
468
|
}
|
|
469
|
+
} catch (e) {
|
|
461
470
|
}
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
elm.removeAttribute(memberName);
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
} else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
|
|
469
|
-
newValue = newValue === true ? "" : newValue;
|
|
471
|
+
}
|
|
472
|
+
if (newValue == null || newValue === false) {
|
|
473
|
+
if (newValue !== false || elm.getAttribute(memberName) === "") {
|
|
470
474
|
{
|
|
471
|
-
elm.
|
|
475
|
+
elm.removeAttribute(memberName);
|
|
472
476
|
}
|
|
473
477
|
}
|
|
478
|
+
} else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex && elm.nodeType === 1 /* ElementNode */) {
|
|
479
|
+
newValue = newValue === true ? "" : newValue;
|
|
480
|
+
{
|
|
481
|
+
elm.setAttribute(memberName, newValue);
|
|
482
|
+
}
|
|
474
483
|
}
|
|
475
484
|
}
|
|
476
485
|
};
|
|
@@ -533,9 +542,14 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
533
542
|
let elm;
|
|
534
543
|
let childNode;
|
|
535
544
|
if (newVNode2.$text$ !== null) {
|
|
536
|
-
elm = newVNode2.$elm$ =
|
|
545
|
+
elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
|
|
537
546
|
} else {
|
|
538
|
-
|
|
547
|
+
if (!win.document) {
|
|
548
|
+
throw new Error(
|
|
549
|
+
"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."
|
|
550
|
+
);
|
|
551
|
+
}
|
|
552
|
+
elm = newVNode2.$elm$ = win.document.createElement(
|
|
539
553
|
!useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
|
|
540
554
|
);
|
|
541
555
|
{
|
|
@@ -680,13 +694,10 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
680
694
|
const elm = newVNode2.$elm$ = oldVNode.$elm$;
|
|
681
695
|
const oldChildren = oldVNode.$children$;
|
|
682
696
|
const newChildren = newVNode2.$children$;
|
|
683
|
-
const tag = newVNode2.$tag$;
|
|
684
697
|
const text = newVNode2.$text$;
|
|
685
698
|
if (text === null) {
|
|
686
699
|
{
|
|
687
|
-
|
|
688
|
-
updateElement(oldVNode, newVNode2, isSvgMode);
|
|
689
|
-
}
|
|
700
|
+
updateElement(oldVNode, newVNode2, isSvgMode);
|
|
690
701
|
}
|
|
691
702
|
if (oldChildren !== null && newChildren !== null) {
|
|
692
703
|
updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
|
|
@@ -733,7 +744,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
733
744
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
734
745
|
hostRef.$vnode$ = rootVnode;
|
|
735
746
|
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
|
736
|
-
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)
|
|
747
|
+
useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
|
|
737
748
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
738
749
|
};
|
|
739
750
|
|
|
@@ -773,10 +784,11 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
773
784
|
}
|
|
774
785
|
let maybePromise;
|
|
775
786
|
if (isInitialLoad) {
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
787
|
+
maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
|
|
788
|
+
} else {
|
|
789
|
+
maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
|
|
779
790
|
}
|
|
791
|
+
maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
|
|
780
792
|
endSchedule();
|
|
781
793
|
return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
|
|
782
794
|
};
|
|
@@ -842,14 +854,13 @@ var postUpdateComponent = (hostRef) => {
|
|
|
842
854
|
const endPostUpdate = createTime("postUpdate", tagName);
|
|
843
855
|
const instance = hostRef.$lazyInstance$ ;
|
|
844
856
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
857
|
+
safeCall(instance, "componentDidRender", void 0, elm);
|
|
845
858
|
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
846
859
|
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
847
860
|
{
|
|
848
861
|
addHydratedFlag(elm);
|
|
849
862
|
}
|
|
850
|
-
|
|
851
|
-
safeCall(instance, "componentDidLoad", void 0, elm);
|
|
852
|
-
}
|
|
863
|
+
safeCall(instance, "componentDidLoad", void 0, elm);
|
|
853
864
|
endPostUpdate();
|
|
854
865
|
{
|
|
855
866
|
hostRef.$onReadyResolve$(elm);
|
|
@@ -858,6 +869,7 @@ var postUpdateComponent = (hostRef) => {
|
|
|
858
869
|
}
|
|
859
870
|
}
|
|
860
871
|
} else {
|
|
872
|
+
safeCall(instance, "componentDidUpdate", void 0, elm);
|
|
861
873
|
endPostUpdate();
|
|
862
874
|
}
|
|
863
875
|
{
|
|
@@ -875,9 +887,6 @@ var postUpdateComponent = (hostRef) => {
|
|
|
875
887
|
}
|
|
876
888
|
};
|
|
877
889
|
var appDidLoad = (who) => {
|
|
878
|
-
{
|
|
879
|
-
addHydratedFlag(doc.documentElement);
|
|
880
|
-
}
|
|
881
890
|
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
882
891
|
};
|
|
883
892
|
var safeCall = (instance, method, arg, elm) => {
|
|
@@ -901,7 +910,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
901
910
|
const hostRef = getHostRef(ref);
|
|
902
911
|
if (!hostRef) {
|
|
903
912
|
throw new Error(
|
|
904
|
-
`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/
|
|
913
|
+
`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).`
|
|
905
914
|
);
|
|
906
915
|
}
|
|
907
916
|
const oldVal = hostRef.$instanceValues$.get(propName);
|
|
@@ -914,6 +923,11 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
914
923
|
hostRef.$instanceValues$.set(propName, newVal);
|
|
915
924
|
if (instance) {
|
|
916
925
|
if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
926
|
+
if (instance.componentShouldUpdate) {
|
|
927
|
+
if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
|
|
928
|
+
return;
|
|
929
|
+
}
|
|
930
|
+
}
|
|
917
931
|
scheduleUpdate(hostRef, false);
|
|
918
932
|
}
|
|
919
933
|
}
|
|
@@ -1061,7 +1075,8 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1061
1075
|
let Cstr;
|
|
1062
1076
|
if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
|
|
1063
1077
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1064
|
-
|
|
1078
|
+
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1079
|
+
if (bundleId) {
|
|
1065
1080
|
const CstrImport = loadModule(cmpMeta, hostRef);
|
|
1066
1081
|
if (CstrImport && "then" in CstrImport) {
|
|
1067
1082
|
const endLoad = uniqueTime();
|
|
@@ -1090,6 +1105,11 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1090
1105
|
hostRef.$flags$ &= ~8 /* isConstructingInstance */;
|
|
1091
1106
|
}
|
|
1092
1107
|
endNewInstance();
|
|
1108
|
+
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
1109
|
+
} else {
|
|
1110
|
+
Cstr = elm.constructor;
|
|
1111
|
+
const cmpTag = elm.localName;
|
|
1112
|
+
customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
|
|
1093
1113
|
}
|
|
1094
1114
|
if (Cstr && Cstr.style) {
|
|
1095
1115
|
let style;
|
|
@@ -1113,6 +1133,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1113
1133
|
}
|
|
1114
1134
|
};
|
|
1115
1135
|
var fireConnectedCallback = (instance, elm) => {
|
|
1136
|
+
{
|
|
1137
|
+
safeCall(instance, "connectedCallback", void 0, elm);
|
|
1138
|
+
}
|
|
1116
1139
|
};
|
|
1117
1140
|
|
|
1118
1141
|
// src/runtime/connected-callback.ts
|
|
@@ -1145,20 +1168,27 @@ var connectedCallback = (elm) => {
|
|
|
1145
1168
|
initializeComponent(elm, hostRef, cmpMeta);
|
|
1146
1169
|
}
|
|
1147
1170
|
} else {
|
|
1148
|
-
if (hostRef == null ? void 0 : hostRef.$lazyInstance$)
|
|
1149
|
-
hostRef.$
|
|
1171
|
+
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
1172
|
+
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
1173
|
+
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
1174
|
+
hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
|
|
1150
1175
|
}
|
|
1151
1176
|
}
|
|
1152
1177
|
endConnected();
|
|
1153
1178
|
}
|
|
1154
1179
|
};
|
|
1155
1180
|
var disconnectInstance = (instance, elm) => {
|
|
1181
|
+
{
|
|
1182
|
+
safeCall(instance, "disconnectedCallback", void 0, elm || instance);
|
|
1183
|
+
}
|
|
1156
1184
|
};
|
|
1157
1185
|
var disconnectedCallback = async (elm) => {
|
|
1158
1186
|
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
1159
1187
|
const hostRef = getHostRef(elm);
|
|
1160
|
-
if (hostRef == null ? void 0 : hostRef.$lazyInstance$)
|
|
1161
|
-
hostRef.$
|
|
1188
|
+
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
1189
|
+
disconnectInstance(hostRef.$lazyInstance$, elm);
|
|
1190
|
+
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
1191
|
+
hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
|
|
1162
1192
|
}
|
|
1163
1193
|
}
|
|
1164
1194
|
if (rootAppliedStyles.has(elm)) {
|
|
@@ -1172,18 +1202,22 @@ var disconnectedCallback = async (elm) => {
|
|
|
1172
1202
|
// src/runtime/bootstrap-lazy.ts
|
|
1173
1203
|
var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
1174
1204
|
var _a;
|
|
1205
|
+
if (!win.document) {
|
|
1206
|
+
console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");
|
|
1207
|
+
return;
|
|
1208
|
+
}
|
|
1175
1209
|
const endBootstrap = createTime();
|
|
1176
1210
|
const cmpTags = [];
|
|
1177
1211
|
const exclude = options.exclude || [];
|
|
1178
1212
|
const customElements2 = win.customElements;
|
|
1179
|
-
const head =
|
|
1213
|
+
const head = win.document.head;
|
|
1180
1214
|
const metaCharset = /* @__PURE__ */ head.querySelector("meta[charset]");
|
|
1181
|
-
const dataStyles = /* @__PURE__ */
|
|
1215
|
+
const dataStyles = /* @__PURE__ */ win.document.createElement("style");
|
|
1182
1216
|
const deferredConnectedCallbacks = [];
|
|
1183
1217
|
let appLoadFallback;
|
|
1184
1218
|
let isBootstrapping = true;
|
|
1185
1219
|
Object.assign(plt, options);
|
|
1186
|
-
plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./",
|
|
1220
|
+
plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", win.document.baseURI).href;
|
|
1187
1221
|
let hasSlotRelocation = false;
|
|
1188
1222
|
lazyBundles.map((lazyBundle) => {
|
|
1189
1223
|
lazyBundle[1].map((compactMeta) => {
|
|
@@ -1246,6 +1280,10 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1246
1280
|
plt.raf(() => {
|
|
1247
1281
|
var _a3;
|
|
1248
1282
|
const hostRef = getHostRef(this);
|
|
1283
|
+
const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
|
|
1284
|
+
if (i2 > -1) {
|
|
1285
|
+
deferredConnectedCallbacks.splice(i2, 1);
|
|
1286
|
+
}
|
|
1249
1287
|
if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
|
|
1250
1288
|
delete hostRef.$vnode$.$elm$;
|
|
1251
1289
|
}
|
|
@@ -1274,7 +1312,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1274
1312
|
}
|
|
1275
1313
|
if (dataStyles.innerHTML.length) {
|
|
1276
1314
|
dataStyles.setAttribute("data-styles", "");
|
|
1277
|
-
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(
|
|
1315
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
1278
1316
|
if (nonce != null) {
|
|
1279
1317
|
dataStyles.setAttribute("nonce", nonce);
|
|
1280
1318
|
}
|
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-81f966aa.js';
|
|
2
|
+
export { s as setNonce } from './index-81f966aa.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-81f966aa.js';
|
|
2
2
|
|
|
3
3
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4
4
|
|
|
@@ -870,7 +870,7 @@ const localeIt = {
|
|
|
870
870
|
unselectRow: unselectRow
|
|
871
871
|
};
|
|
872
872
|
|
|
873
|
-
const mdsTableRowCss = "
|
|
873
|
+
const mdsTableRowCss = ":host{--mds-table-row-color-hover:var(--mds-table-color, rgb(var(--tone-neutral-02)));--mds-table-row-color-alt:var(--mds-table-color-alt, rgb(var(--tone-neutral-02)));--mds-table-row-background-hover:var(--mds-table-background, rgb(var(--tone-neutral)));--mds-table-row-background-alt:var(--mds-table-background-alt, rgb(var(--tone-neutral)));--mds-table-row-actions-gap:var(--mds-table-actions-gap, 1rem);-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);color:var(--mds-table-row-color);display:table-row;position:relative;-webkit-transition-property:color;transition-property:color}.selection-cell{vertical-align:middle}.checkbox-wrapper{display:-ms-flexbox;display:flex}:host([interactive]:hover){--mds-table-row-actions-background:var(--mds-table-row-background-hover);--mds-table-row-background:var(--mds-table-row-background-hover);--mds-table-row-color:var(--mds-table-row-color-hover)}:host([selected]){--mds-table-row-background:var(--mds-table-row-background-hover);--mds-table-row-color:var(--mds-table-row-color-hover)}:host([sorted]){--mds-table-row-background:var(--mds-table-row-background-alt);--mds-table-row-color:var(--mds-table-row-color-alt)}:host([sorted][selected]){--mds-table-row-background:var(--mds-table-row-background-hover);--mds-table-row-color:var(--mds-table-row-color-hover)}.actions-view{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;inset:0;-ms-flex-pack:end;justify-content:end;pointer-events:none;position:absolute}.actions{--mds-table-row-actions-background:var(--mds-table-row-background);-ms-flex-align:center;align-items:center;background-color:var(--mds-table-row-actions-background);border-bottom-left-radius:calc(0.5rem + var(--mds-table-border-width) * 2);border-top-left-radius:calc(0.5rem + var(--mds-table-border-width) * 2);display:-ms-inline-flexbox;display:inline-flex;gap:var(--mds-table-row-actions-gap);inset:0;margin-right:100%;padding:calc(var(--mds-table-border-width) * 2);padding-right:0;pointer-events:auto;position:-webkit-sticky;position:sticky;right:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-property:background-color, padding-right, -webkit-transform;transition-property:background-color, padding-right, -webkit-transform;transition-property:transform, background-color, padding-right;transition-property:transform, background-color, padding-right, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1)}:host(:hover) .actions{-webkit-transform:translateX(100%);transform:translateX(100%)}:host([overlay-actions]) .actions{padding-right:var(--mds-table-cell-padding);-webkit-transform:translateX(100%);transform:translateX(100%)}:host([overlay-actions]:hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background);-webkit-transform:translateX(0);transform:translateX(0)}:host-context(mds-table[interactive=\"false\"]):host(:hover) .actions,:host-context(mds-table:not([interactive])):host(:hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-hover)}:host-context(mds-table[selection]:not([interactive])):host(:not([selected]):hover) .actions,:host-context(mds-table[selection][interactive=\"false\"]):host(:not([selected]):hover) .actions,:host-context(mds-table[selection]:not([interactive])):host([selected=\"false\"]:hover) .actions,:host-context(mds-table[selection][interactive=\"false\"]):host([selected=\"false\"]:hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-alt)}: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}";
|
|
874
874
|
const MdsTableRowStyle0 = mdsTableRowCss;
|
|
875
875
|
|
|
876
876
|
const MdsTableRow = 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-81f966aa.js';
|
|
2
|
+
export { s as setNonce } from './index-81f966aa.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-table-row";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:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,modernPropertyDecls:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:false,propString:false,reflect:true,scoped:false,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:true,slot:true,slotChildNodesFix:false,slotRelocation:false,state:true,style:true,svg:false,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:false,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:false,vdomRender:true,vdomStyle:true,vdomText:true,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}))}{t.p=new Promise((function(e){return t.m=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.h.replace(/-/g,"_");var i=e.S;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-table-row":return import("./mds-table-row.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,C:"",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]._+=i}else{u.push(o?newVNode(null,i):i)}s=o}}};l(t);if(r){if(r.key){a=r.key}{var f=r.className||r.class;if(f){r.class=typeof f!=="object"?f:Object.keys(f).filter((function(e){return f[e]})).join(" ")}}}var c=newVNode(e,null);c.T=r;if(u.length>0){c.A=u}{c.k=a}return c};var newVNode=function(e,r){var t={i:0,R:e,_:r,D:null,A:null};{t.T=null}{t.k=null}return t};var Host={};var isHost=function(e){return e&&e.R===Host};var parsePropertyValue=function(e,r){if(e!=null&&!isComplexType(e)){if(r&4){return e==="false"?false:e===""||!!e}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};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.N)!=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.h);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.h};var setAccessor=function(e,r,t,n,i,a,o){if(t===n){return}var s=isMemberInElement(e,r);var u=r.toLowerCase();if(r==="class"){var l=e.classList;var f=parseClassList(t);var c=parseClassList(n);{l.remove.apply(l,f.filter((function(e){return e&&!c.includes(e)})));l.add.apply(l,c.filter((function(e){return e&&!f.includes(e)})))}}else if(r==="style"){{for(var v in t){if(!n||n[v]==null){if(v.includes("-")){e.style.removeProperty(v)}else{e.style[v]=""}}}}for(var v in n){if(!t||n[v]!==t[v]){if(v.includes("-")){e.style.setProperty(v,n[v])}else{e.style[v]=n[v]}}}}else if(r==="key");else if(!s&&r[0]==="o"&&r[1]==="n"){if(r[2]==="-"){r=r.slice(3)}else if(isMemberInElement(win,u)){r=u.slice(2)}else{r=u[2]+r.slice(3)}if(t||n){var d=r.endsWith(CAPTURE_EVENT_SUFFIX);r=r.replace(CAPTURE_EVENT_REGEX,"");if(t){plt.rel(e,r,t,d)}if(n){plt.ael(e,r,n,d)}}}else{var p=isComplexType(n);if((s||p&&n!==null)&&!i){try{if(!e.tagName.includes("-")){var m=n==null?"":n;if(r==="list"){s=false}else if(t==null||e[r]!=m){if(typeof e.__lookupSetter__(r)==="function"){e[r]=m}else{e.setAttribute(r,m)}}}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)&&!p&&e.nodeType===1){n=n===true?"":n;{e.setAttribute(r,n)}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){if(typeof e==="object"&&e&&"baseVal"in e){e=e.baseVal}if(!e||typeof e!=="string"){return[]}return e.split(parseClassListRegex)};var CAPTURE_EVENT_SUFFIX="Capture";var CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$");var updateElement=function(e,r,t,n){var i=r.D.nodeType===11&&r.D.host?r.D.host:r.D;var a=e&&e.T||{};var o=r.T||{};{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.A[t];var i=0;var a;var o;if(n._!==null){a=n.D=win.document.createTextNode(n._)}else{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.D=win.document.createElement(!useNativeShadowDom&&BUILD.slotRelocation&&n.i&2?"slot-fb":n.R);{updateElement(null,n,isSvgMode)}if(n.A){for(i=0;i<n.A.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].D=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.D;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.D,c.D.nextSibling);f=r[++a];p=n[--v]}else if(isSameVnode(c,d,i)){patch(c,d,i);insertBefore(e,c.D,f.D);c=r[--l];d=n[++o]}else{s=-1;{for(u=a;u<=l;++u){if(r[u]&&r[u].k!==null&&r[u].k===d.k){s=u;break}}}if(s>=0){h=r[s];if(h.R!==d.R){m=createElm(r&&r[o],t,s)}else{patch(h,d,i);r[s]=void 0;m=h.D}d=n[++o]}else{m=createElm(r&&r[o],t,o);d=n[++o]}if(m){{insertBefore(f.D.parentNode,m,f.D)}}}}if(a>l){addVnodes(e,n[v+1]==null?null:n[v+1].D,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.R===r.R){if(!t){return e.k===r.k}if(t&&!e.k&&r.k){e.k=r.k}return true}return false};var patch=function(e,r,t){if(t===void 0){t=false}var n=r.D=e.D;var i=e.A;var a=r.A;var o=r._;if(o===null){{updateElement(e,r,isSvgMode)}if(i!==null&&a!==null){updateChildren(n,i,r,a,t)}else if(a!==null){if(e._!==null){n.textContent=""}addVnodes(n,null,r,a,0,a.length-1)}else if(!t&&BUILD.updatable&&i!==null){removeVnodes(i,0,i.length-1)}}else if(e._!==o){n.data=o}};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.L||newVNode(null,null);var o=isHost(r)?r:h(null,null,r);hostTagName=n.tagName;if(i.V){o.T=o.T||{};i.V.map((function(e){var r=e[0],t=e[1];return o.T[t]=n[r]}))}if(t&&o.T){for(var s=0,u=Object.keys(o.T);s<u.length;s++){var l=u[s];if(n.hasAttribute(l)&&!["key","ref","style","class"].includes(l)){o.T[l]=n[l]}}}o.R=null;o.i|=4;e.L=o;o.D=a.D=n.shadowRoot||n;useNativeShadowDom=!!(i.i&1)&&!(i.i&128);patch(a,o,t)};var attachToAncestor=function(e,r){if(r&&!e.P&&r["s-p"]){var t=r["s-p"].push(new Promise((function(n){return e.P=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.H);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.h);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.h);o=i["s-rc"];if(t){attachStyles(e)}s=createTime("render",e.o.h);{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.h;var t=e.$hostElement$;var n=createTime("postUpdate",r);var i=e.t;var a=e.H;safeCall(i,"componentDidRender",void 0,t);if(!(e.i&64)){e.i|=64;{addHydratedFlag(t)}safeCall(i,"componentDidLoad",void 0,t);n();{e.m(t);if(!a){appDidLoad()}}}else{safeCall(i,"componentDidUpdate",void 0,t);n()}{e.v(t)}{if(e.P){e.P();e.P=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.h,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/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.p.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.p.then((function(){return l()}))}}}})}else if(t&1&&i&64){Object.defineProperty(a,n,{value:function(){var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}var t;var i=getHostRef(this);return(t=i==null?void 0:i.l)==null?void 0:t.then((function(){var r;return(r=i.t)==null?void 0:r[n].apply(r,e)}))}})}}));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.V)==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.S;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.h,"#").concat(r.U,'" was not found'))}if(!n.isProxied){proxyComponent(n,t,2);n.isProxied=true}s=createTime("createInstance",t.h);{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.h);registerStyle(f,l,!!(t.i&1));c()}}p.label=6;case 6:v=r.H;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.h);if(!(r.i&1)){r.i|=1;{var i=e;while(i=i.parentNode||i.host){if(i["s-p"]){attachToAncestor(r,r.H=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.p){r.p.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.p){r.p.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.C=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],h:r[1],M:r[2],j:r[3]};if(t.i&4){d=true}{t.M=r[2]}{t.V=[]}var n=t.h;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.h,"! 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.L)==null?void 0:r.D)instanceof Node&&!t.L.D.isConnected){delete t.L.D}}))};r.prototype.componentOnReady=function(){return getHostRef(this).p};return r}(HTMLElement);t.S=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.N)!=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.N=e};export{Host as H,bootstrapLazy as b,getElement as g,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(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function u(e){try{c(r["throw"](e))}catch(e){o(e)}}function c(e){e.done?n(e.value):i(e.value).then(a,u)}c((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(e){return function(t){return c([e,t])}}function c(u){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(n=0)),n)try{if(r=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;i=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1];o=u;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(u);break}if(o[2])n.ops.pop();n.trys.pop();continue}u=t.call(e,n)}catch(e){u=[6,e];i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};import{b as bootstrapLazy}from"./index-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function u(e){try{c(r["throw"](e))}catch(e){o(e)}}function c(e){e.done?n(e.value):i(e.value).then(a,u)}c((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(e){return function(t){return c([e,t])}}function c(u){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(n=0)),n)try{if(r=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;i=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1];o=u;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(u);break}if(o[2])n.ops.pop();n.trys.pop();continue}u=t.call(e,n)}catch(e){u=[6,e];i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};import{b as bootstrapLazy}from"./index-81f966aa.js";export{s as setNonce}from"./index-81f966aa.js";import{g as globalScripts}from"./app-globals-0f993ce5.js";var defineCustomElements=function(e,t){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(typeof window==="undefined")return[2,undefined];return[4,globalScripts()];case 1:e.sent();return[2,bootstrapLazy([["mds-table-row",[[1,"mds-table-row",{interactive:[516],overlayActions:[516,"overlay-actions"],selectable:[516],selected:[1540],value:[520],language:[32],updateLang:[64]}]]]],t)]}}))}))};export{defineCustomElements};
|