@maggioli-design-system/mds-table-row 5.2.0 → 5.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/dist/cjs/{index-cb928c36.js → index-27c9aefd.js} +146 -108
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mds-table-row.cjs.entry.js +17 -8
  4. package/dist/cjs/mds-table-row.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +1 -1
  6. package/dist/collection/common/browser.js +7 -0
  7. package/dist/collection/components/mds-table-row/mds-table-row.css +122 -132
  8. package/dist/collection/components/mds-table-row/mds-table-row.js +11 -6
  9. package/dist/components/mds-table-row.js +16 -7
  10. package/dist/documentation.json +10 -2
  11. package/dist/esm/{index-8134a00a.js → index-81f966aa.js} +146 -108
  12. package/dist/esm/loader.js +2 -2
  13. package/dist/esm/mds-table-row.entry.js +17 -8
  14. package/dist/esm/mds-table-row.js +3 -3
  15. package/dist/esm-es5/index-81f966aa.js +1 -0
  16. package/dist/esm-es5/loader.js +1 -1
  17. package/dist/esm-es5/mds-table-row.entry.js +2 -2
  18. package/dist/esm-es5/mds-table-row.js +1 -1
  19. package/dist/mds-table-row/mds-table-row.esm.js +1 -1
  20. package/dist/mds-table-row/mds-table-row.js +1 -1
  21. package/dist/mds-table-row/p-133f1581.system.js +2 -0
  22. package/dist/mds-table-row/p-25b773c1.js +2 -0
  23. package/dist/mds-table-row/p-4727e0b3.system.entry.js +6 -0
  24. package/dist/mds-table-row/p-869d0b15.entry.js +6 -0
  25. package/dist/mds-table-row/p-e71445fa.system.js +1 -0
  26. package/dist/stats.json +44 -35
  27. package/dist/types/common/browser.d.ts +2 -0
  28. package/dist/types/common/locale.d.ts +1 -1
  29. package/dist/types/components/mds-table-row/mds-table-row.d.ts +1 -0
  30. package/documentation.json +10 -2
  31. package/package.json +4 -4
  32. package/readme.md +4 -3
  33. package/src/common/browser.ts +10 -0
  34. package/src/common/locale.ts +2 -2
  35. package/src/components/mds-table-row/css/mds-table-row-actions.css +16 -10
  36. package/src/components/mds-table-row/css/mds-table-row-interactive.css +0 -1
  37. package/src/components/mds-table-row/css/mds-table-row-pref-animation.css +5 -14
  38. package/src/components/mds-table-row/css/mds-table-row-selected.css +0 -1
  39. package/src/components/mds-table-row/css/mds-table-row-sorted.css +0 -2
  40. package/src/components/mds-table-row/mds-table-row.css +1 -7
  41. package/src/components/mds-table-row/mds-table-row.tsx +14 -3
  42. package/src/components/mds-table-row/readme.md +4 -3
  43. package/src/fixtures/icons.json +2 -0
  44. package/src/fixtures/iconsauce.json +1 -0
  45. package/src/tailwind/components.css +2 -48
  46. package/src/tailwind/index.css +4 -0
  47. package/www/build/mds-table-row.esm.js +1 -1
  48. package/www/build/mds-table-row.js +1 -1
  49. package/www/build/p-133f1581.system.js +2 -0
  50. package/www/build/p-25b773c1.js +2 -0
  51. package/www/build/p-4727e0b3.system.entry.js +6 -0
  52. package/www/build/p-869d0b15.entry.js +6 -0
  53. package/www/build/p-e71445fa.system.js +1 -0
  54. package/dist/esm-es5/index-8134a00a.js +0 -1
  55. package/dist/mds-table-row/p-11048c96.system.js +0 -1
  56. package/dist/mds-table-row/p-22d4881a.js +0 -2
  57. package/dist/mds-table-row/p-64bc1c7b.entry.js +0 -6
  58. package/dist/mds-table-row/p-88f814c9.system.js +0 -2
  59. package/dist/mds-table-row/p-c5e9ab44.system.entry.js +0 -6
  60. package/www/build/p-11048c96.system.js +0 -1
  61. package/www/build/p-22d4881a.js +0 -2
  62. package/www/build/p-64bc1c7b.entry.js +0 -6
  63. package/www/build/p-88f814c9.system.js +0 -2
  64. package/www/build/p-c5e9ab44.system.entry.js +0 -6
@@ -21,10 +21,10 @@ function _interopNamespace(e) {
21
21
  }
22
22
 
23
23
  const NAMESPACE = 'mds-table-row';
24
- const BUILD = /* mds-table-row */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: true, hydratedClass: false, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: 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 };
24
+ 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 };
25
25
 
26
26
  /*
27
- Stencil Client Platform v4.25.1 | MIT Licensed | https://stenciljs.com
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 hostRefs = /* @__PURE__ */ new WeakMap();
37
- var getHostRef = (ref) => hostRefs.get(ref);
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
- hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
43
+ lazyInstance.__stencil__getHostRef = () => hostRef;
44
+ hostRef.$lazyInstance$ = lazyInstance;
40
45
  };
41
46
  var registerHost = (hostElement, cmpMeta) => {
42
47
  const hostRef = {
@@ -53,7 +58,8 @@ var registerHost = (hostElement, cmpMeta) => {
53
58
  hostElement["s-p"] = [];
54
59
  hostElement["s-rc"] = [];
55
60
  }
56
- const ref = hostRefs.set(hostElement, hostRef);
61
+ const ref = hostRef;
62
+ hostElement.__stencil__getHostRef = () => ref;
57
63
  return ref;
58
64
  };
59
65
  var isMemberInElement = (elm, memberName) => memberName in elm;
@@ -110,7 +116,6 @@ var HYDRATED_STYLE_ID = "sty-id";
110
116
  var HYDRATED_CSS = "{visibility:hidden}[hydrated]{visibility:inherit}";
111
117
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
112
118
  var win = typeof window !== "undefined" ? window : {};
113
- var doc = win.document || { head: {} };
114
119
  var plt = {
115
120
  $flags$: 0,
116
121
  $resourcesUrl$: "",
@@ -170,9 +175,9 @@ var isComplexType = (o) => {
170
175
  };
171
176
 
172
177
  // src/utils/query-nonce-meta-tag-content.ts
173
- function queryNonceMetaTagContent(doc2) {
178
+ function queryNonceMetaTagContent(doc) {
174
179
  var _a, _b, _c;
175
- return (_c = (_b = (_a = doc2.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
180
+ 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;
176
181
  }
177
182
 
178
183
  // src/utils/result.ts
@@ -335,7 +340,10 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
335
340
  var _a;
336
341
  const scopeId2 = getScopeId(cmpMeta);
337
342
  const style = styles.get(scopeId2);
338
- styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
343
+ if (!win.document) {
344
+ return scopeId2;
345
+ }
346
+ styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
339
347
  if (style) {
340
348
  if (typeof style === "string") {
341
349
  styleContainerNode = styleContainerNode.head || styleContainerNode;
@@ -346,9 +354,9 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
346
354
  }
347
355
  if (!appliedStyles.has(scopeId2)) {
348
356
  {
349
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
357
+ styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || win.document.createElement("style");
350
358
  styleElm.innerHTML = style;
351
- const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
359
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
352
360
  if (nonce != null) {
353
361
  styleElm.setAttribute("nonce", nonce);
354
362
  }
@@ -377,7 +385,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
377
385
  styleContainerNode.append(styleElm);
378
386
  }
379
387
  }
380
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
388
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
381
389
  styleContainerNode.insertBefore(styleElm, null);
382
390
  }
383
391
  }
@@ -402,7 +410,7 @@ var attachStyles = (hostRef) => {
402
410
  const scopeId2 = addStyle(
403
411
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
404
412
  cmpMeta);
405
- if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
413
+ if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
406
414
  elm["s-sc"] = scopeId2;
407
415
  elm.classList.add(scopeId2 + "-h");
408
416
  }
@@ -410,89 +418,90 @@ var attachStyles = (hostRef) => {
410
418
  };
411
419
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
412
420
  var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
413
- if (oldValue !== newValue) {
414
- let isProp = isMemberInElement(elm, memberName);
415
- let ln = memberName.toLowerCase();
416
- if (memberName === "class") {
417
- const classList = elm.classList;
418
- const oldClasses = parseClassList(oldValue);
419
- let newClasses = parseClassList(newValue);
420
- {
421
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
422
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
423
- }
424
- } else if (memberName === "style") {
425
- {
426
- for (const prop in oldValue) {
427
- if (!newValue || newValue[prop] == null) {
428
- if (prop.includes("-")) {
429
- elm.style.removeProperty(prop);
430
- } else {
431
- elm.style[prop] = "";
432
- }
433
- }
434
- }
435
- }
436
- for (const prop in newValue) {
437
- if (!oldValue || newValue[prop] !== oldValue[prop]) {
421
+ if (oldValue === newValue) {
422
+ return;
423
+ }
424
+ let isProp = isMemberInElement(elm, memberName);
425
+ let ln = memberName.toLowerCase();
426
+ if (memberName === "class") {
427
+ const classList = elm.classList;
428
+ const oldClasses = parseClassList(oldValue);
429
+ let newClasses = parseClassList(newValue);
430
+ {
431
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
432
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
433
+ }
434
+ } else if (memberName === "style") {
435
+ {
436
+ for (const prop in oldValue) {
437
+ if (!newValue || newValue[prop] == null) {
438
438
  if (prop.includes("-")) {
439
- elm.style.setProperty(prop, newValue[prop]);
439
+ elm.style.removeProperty(prop);
440
440
  } else {
441
- elm.style[prop] = newValue[prop];
441
+ elm.style[prop] = "";
442
442
  }
443
443
  }
444
444
  }
445
- } else if (memberName === "key") ; else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
446
- if (memberName[2] === "-") {
447
- memberName = memberName.slice(3);
448
- } else if (isMemberInElement(win, ln)) {
449
- memberName = ln.slice(2);
450
- } else {
451
- memberName = ln[2] + memberName.slice(3);
452
- }
453
- if (oldValue || newValue) {
454
- const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
455
- memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
456
- if (oldValue) {
457
- plt.rel(elm, memberName, oldValue, capture);
458
- }
459
- if (newValue) {
460
- plt.ael(elm, memberName, newValue, capture);
445
+ }
446
+ for (const prop in newValue) {
447
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
448
+ if (prop.includes("-")) {
449
+ elm.style.setProperty(prop, newValue[prop]);
450
+ } else {
451
+ elm.style[prop] = newValue[prop];
461
452
  }
462
453
  }
454
+ }
455
+ } else if (memberName === "key") ; else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
456
+ if (memberName[2] === "-") {
457
+ memberName = memberName.slice(3);
458
+ } else if (isMemberInElement(win, ln)) {
459
+ memberName = ln.slice(2);
463
460
  } else {
464
- const isComplex = isComplexType(newValue);
465
- if ((isProp || isComplex && newValue !== null) && !isSvg) {
466
- try {
467
- if (!elm.tagName.includes("-")) {
468
- const n = newValue == null ? "" : newValue;
469
- if (memberName === "list") {
470
- isProp = false;
471
- } else if (oldValue == null || elm[memberName] != n) {
472
- if (typeof elm.__lookupSetter__(memberName) === "function") {
473
- elm[memberName] = n;
474
- } else {
475
- elm.setAttribute(memberName, n);
476
- }
461
+ memberName = ln[2] + memberName.slice(3);
462
+ }
463
+ if (oldValue || newValue) {
464
+ const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
465
+ memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
466
+ if (oldValue) {
467
+ plt.rel(elm, memberName, oldValue, capture);
468
+ }
469
+ if (newValue) {
470
+ plt.ael(elm, memberName, newValue, capture);
471
+ }
472
+ }
473
+ } else {
474
+ const isComplex = isComplexType(newValue);
475
+ if ((isProp || isComplex && newValue !== null) && !isSvg) {
476
+ try {
477
+ if (!elm.tagName.includes("-")) {
478
+ const n = newValue == null ? "" : newValue;
479
+ if (memberName === "list") {
480
+ isProp = false;
481
+ } else if (oldValue == null || elm[memberName] != n) {
482
+ if (typeof elm.__lookupSetter__(memberName) === "function") {
483
+ elm[memberName] = n;
484
+ } else {
485
+ elm.setAttribute(memberName, n);
477
486
  }
478
- } else if (elm[memberName] !== newValue) {
479
- elm[memberName] = newValue;
480
487
  }
481
- } catch (e) {
488
+ } else if (elm[memberName] !== newValue) {
489
+ elm[memberName] = newValue;
482
490
  }
491
+ } catch (e) {
483
492
  }
484
- if (newValue == null || newValue === false) {
485
- if (newValue !== false || elm.getAttribute(memberName) === "") {
486
- {
487
- elm.removeAttribute(memberName);
488
- }
489
- }
490
- } else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
491
- newValue = newValue === true ? "" : newValue;
493
+ }
494
+ if (newValue == null || newValue === false) {
495
+ if (newValue !== false || elm.getAttribute(memberName) === "") {
492
496
  {
493
- elm.setAttribute(memberName, newValue);
497
+ elm.removeAttribute(memberName);
494
498
  }
495
499
  }
500
+ } else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex && elm.nodeType === 1 /* ElementNode */) {
501
+ newValue = newValue === true ? "" : newValue;
502
+ {
503
+ elm.setAttribute(memberName, newValue);
504
+ }
496
505
  }
497
506
  }
498
507
  };
@@ -555,9 +564,14 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
555
564
  let elm;
556
565
  let childNode;
557
566
  if (newVNode2.$text$ !== null) {
558
- elm = newVNode2.$elm$ = doc.createTextNode(newVNode2.$text$);
567
+ elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
559
568
  } else {
560
- elm = newVNode2.$elm$ = doc.createElement(
569
+ if (!win.document) {
570
+ throw new Error(
571
+ "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."
572
+ );
573
+ }
574
+ elm = newVNode2.$elm$ = win.document.createElement(
561
575
  !useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
562
576
  );
563
577
  {
@@ -702,13 +716,10 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
702
716
  const elm = newVNode2.$elm$ = oldVNode.$elm$;
703
717
  const oldChildren = oldVNode.$children$;
704
718
  const newChildren = newVNode2.$children$;
705
- const tag = newVNode2.$tag$;
706
719
  const text = newVNode2.$text$;
707
720
  if (text === null) {
708
721
  {
709
- if (tag === "slot" && !useNativeShadowDom) ; else {
710
- updateElement(oldVNode, newVNode2, isSvgMode);
711
- }
722
+ updateElement(oldVNode, newVNode2, isSvgMode);
712
723
  }
713
724
  if (oldChildren !== null && newChildren !== null) {
714
725
  updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
@@ -755,7 +766,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
755
766
  rootVnode.$flags$ |= 4 /* isHost */;
756
767
  hostRef.$vnode$ = rootVnode;
757
768
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
758
- useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
769
+ useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
759
770
  patch(oldVNode, rootVnode, isInitialLoad);
760
771
  };
761
772
 
@@ -795,10 +806,11 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
795
806
  }
796
807
  let maybePromise;
797
808
  if (isInitialLoad) {
798
- {
799
- maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
800
- }
809
+ maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
810
+ } else {
811
+ maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
801
812
  }
813
+ maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
802
814
  endSchedule();
803
815
  return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
804
816
  };
@@ -864,14 +876,13 @@ var postUpdateComponent = (hostRef) => {
864
876
  const endPostUpdate = createTime("postUpdate", tagName);
865
877
  const instance = hostRef.$lazyInstance$ ;
866
878
  const ancestorComponent = hostRef.$ancestorComponent$;
879
+ safeCall(instance, "componentDidRender", void 0, elm);
867
880
  if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
868
881
  hostRef.$flags$ |= 64 /* hasLoadedComponent */;
869
882
  {
870
883
  addHydratedFlag(elm);
871
884
  }
872
- {
873
- safeCall(instance, "componentDidLoad", void 0, elm);
874
- }
885
+ safeCall(instance, "componentDidLoad", void 0, elm);
875
886
  endPostUpdate();
876
887
  {
877
888
  hostRef.$onReadyResolve$(elm);
@@ -880,6 +891,7 @@ var postUpdateComponent = (hostRef) => {
880
891
  }
881
892
  }
882
893
  } else {
894
+ safeCall(instance, "componentDidUpdate", void 0, elm);
883
895
  endPostUpdate();
884
896
  }
885
897
  {
@@ -897,9 +909,6 @@ var postUpdateComponent = (hostRef) => {
897
909
  }
898
910
  };
899
911
  var appDidLoad = (who) => {
900
- {
901
- addHydratedFlag(doc.documentElement);
902
- }
903
912
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
904
913
  };
905
914
  var safeCall = (instance, method, arg, elm) => {
@@ -923,7 +932,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
923
932
  const hostRef = getHostRef(ref);
924
933
  if (!hostRef) {
925
934
  throw new Error(
926
- `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/ionic-team/stencil/issues/5457).`
935
+ `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).`
927
936
  );
928
937
  }
929
938
  const oldVal = hostRef.$instanceValues$.get(propName);
@@ -936,6 +945,11 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
936
945
  hostRef.$instanceValues$.set(propName, newVal);
937
946
  if (instance) {
938
947
  if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
948
+ if (instance.componentShouldUpdate) {
949
+ if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
950
+ return;
951
+ }
952
+ }
939
953
  scheduleUpdate(hostRef, false);
940
954
  }
941
955
  }
@@ -1083,7 +1097,8 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1083
1097
  let Cstr;
1084
1098
  if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
1085
1099
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1086
- {
1100
+ const bundleId = cmpMeta.$lazyBundleId$;
1101
+ if (bundleId) {
1087
1102
  const CstrImport = loadModule(cmpMeta, hostRef);
1088
1103
  if (CstrImport && "then" in CstrImport) {
1089
1104
  const endLoad = uniqueTime();
@@ -1112,6 +1127,11 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1112
1127
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
1113
1128
  }
1114
1129
  endNewInstance();
1130
+ fireConnectedCallback(hostRef.$lazyInstance$, elm);
1131
+ } else {
1132
+ Cstr = elm.constructor;
1133
+ const cmpTag = elm.localName;
1134
+ customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
1115
1135
  }
1116
1136
  if (Cstr && Cstr.style) {
1117
1137
  let style;
@@ -1135,6 +1155,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1135
1155
  }
1136
1156
  };
1137
1157
  var fireConnectedCallback = (instance, elm) => {
1158
+ {
1159
+ safeCall(instance, "connectedCallback", void 0, elm);
1160
+ }
1138
1161
  };
1139
1162
 
1140
1163
  // src/runtime/connected-callback.ts
@@ -1167,20 +1190,27 @@ var connectedCallback = (elm) => {
1167
1190
  initializeComponent(elm, hostRef, cmpMeta);
1168
1191
  }
1169
1192
  } else {
1170
- if (hostRef == null ? void 0 : hostRef.$lazyInstance$) ; else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1171
- hostRef.$onReadyPromise$.then(() => fireConnectedCallback());
1193
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1194
+ fireConnectedCallback(hostRef.$lazyInstance$, elm);
1195
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1196
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
1172
1197
  }
1173
1198
  }
1174
1199
  endConnected();
1175
1200
  }
1176
1201
  };
1177
1202
  var disconnectInstance = (instance, elm) => {
1203
+ {
1204
+ safeCall(instance, "disconnectedCallback", void 0, elm || instance);
1205
+ }
1178
1206
  };
1179
1207
  var disconnectedCallback = async (elm) => {
1180
1208
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1181
1209
  const hostRef = getHostRef(elm);
1182
- if (hostRef == null ? void 0 : hostRef.$lazyInstance$) ; else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1183
- hostRef.$onReadyPromise$.then(() => disconnectInstance());
1210
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1211
+ disconnectInstance(hostRef.$lazyInstance$, elm);
1212
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1213
+ hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
1184
1214
  }
1185
1215
  }
1186
1216
  if (rootAppliedStyles.has(elm)) {
@@ -1194,18 +1224,22 @@ var disconnectedCallback = async (elm) => {
1194
1224
  // src/runtime/bootstrap-lazy.ts
1195
1225
  var bootstrapLazy = (lazyBundles, options = {}) => {
1196
1226
  var _a;
1227
+ if (!win.document) {
1228
+ console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");
1229
+ return;
1230
+ }
1197
1231
  const endBootstrap = createTime();
1198
1232
  const cmpTags = [];
1199
1233
  const exclude = options.exclude || [];
1200
1234
  const customElements2 = win.customElements;
1201
- const head = doc.head;
1235
+ const head = win.document.head;
1202
1236
  const metaCharset = /* @__PURE__ */ head.querySelector("meta[charset]");
1203
- const dataStyles = /* @__PURE__ */ doc.createElement("style");
1237
+ const dataStyles = /* @__PURE__ */ win.document.createElement("style");
1204
1238
  const deferredConnectedCallbacks = [];
1205
1239
  let appLoadFallback;
1206
1240
  let isBootstrapping = true;
1207
1241
  Object.assign(plt, options);
1208
- plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", doc.baseURI).href;
1242
+ plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", win.document.baseURI).href;
1209
1243
  let hasSlotRelocation = false;
1210
1244
  lazyBundles.map((lazyBundle) => {
1211
1245
  lazyBundle[1].map((compactMeta) => {
@@ -1268,6 +1302,10 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1268
1302
  plt.raf(() => {
1269
1303
  var _a3;
1270
1304
  const hostRef = getHostRef(this);
1305
+ const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1306
+ if (i2 > -1) {
1307
+ deferredConnectedCallbacks.splice(i2, 1);
1308
+ }
1271
1309
  if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1272
1310
  delete hostRef.$vnode$.$elm$;
1273
1311
  }
@@ -1296,7 +1334,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1296
1334
  }
1297
1335
  if (dataStyles.innerHTML.length) {
1298
1336
  dataStyles.setAttribute("data-styles", "");
1299
- const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
1337
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
1300
1338
  if (nonce != null) {
1301
1339
  dataStyles.setAttribute("nonce", nonce);
1302
1340
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-cb928c36.js');
5
+ const index = require('./index-27c9aefd.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-cb928c36.js');
5
+ const index = require('./index-27c9aefd.js');
6
6
 
7
7
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
8
8
 
@@ -874,12 +874,20 @@ const localeIt = {
874
874
  unselectRow: unselectRow
875
875
  };
876
876
 
877
- const mdsTableRowCss = "@tailwind components;\n@tailwind utilities;\n\n:host(:not(:is([hydrated], .hydrated))) {\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n/* TODO refact(stencil): Uses only used selector from parent shadowDOM component */\n\nmds-accordion:not(:is([hydrated], .hydrated)),\nmds-accordion-item:not(:is([hydrated], .hydrated)),\nmds-accordion-timer:not(:is([hydrated], .hydrated)),\nmds-accordion-timer-item:not(:is([hydrated], .hydrated)),\nmds-author:not(:is([hydrated], .hydrated)),\nmds-avatar:not(:is([hydrated], .hydrated)),\nmds-badge:not(:is([hydrated], .hydrated)),\nmds-banner:not(:is([hydrated], .hydrated)),\nmds-benchmark-bar:not(:is([hydrated], .hydrated)),\nmds-bibliography:not(:is([hydrated], .hydrated)),\nmds-breadcrumb:not(:is([hydrated], .hydrated)),\nmds-breadcrumb-item:not(:is([hydrated], .hydrated)),\nmds-button:not(:is([hydrated], .hydrated)),\nmds-card:not(:is([hydrated], .hydrated)),\nmds-card-content:not(:is([hydrated], .hydrated)),\nmds-card-footer:not(:is([hydrated], .hydrated)),\nmds-card-header:not(:is([hydrated], .hydrated)),\nmds-card-media:not(:is([hydrated], .hydrated)),\nmds-chip:not(:is([hydrated], .hydrated)),\nmds-details:not(:is([hydrated], .hydrated)),\nmds-dropdown:not(:is([hydrated], .hydrated)),\nmds-entity:not(:is([hydrated], .hydrated)),\nmds-file:not(:is([hydrated], .hydrated)),\nmds-file-preview:not(:is([hydrated], .hydrated)),\nmds-filter:not(:is([hydrated], .hydrated)),\nmds-filter-item:not(:is([hydrated], .hydrated)),\nmds-header:not(:is([hydrated], .hydrated)),\nmds-header-bar:not(:is([hydrated], .hydrated)),\nmds-help:not(:is([hydrated], .hydrated)),\nmds-horizontal-scroll:not(:is([hydrated], .hydrated)),\nmds-hr:not(:is([hydrated], .hydrated)),\nmds-icon:not(:is([hydrated], .hydrated)),\nmds-img:not(:is([hydrated], .hydrated)),\nmds-input:not(:is([hydrated], .hydrated)),\nmds-input-field:not(:is([hydrated], .hydrated)),\nmds-input-range:not(:is([hydrated], .hydrated)),\nmds-input-select:not(:is([hydrated], .hydrated)),\nmds-input-switch:not(:is([hydrated], .hydrated)),\nmds-input-tip:not(:is([hydrated], .hydrated)),\nmds-input-tip-item:not(:is([hydrated], .hydrated)),\nmds-input-upload:not(:is([hydrated], .hydrated)),\nmds-keyboard:not(:is([hydrated], .hydrated)),\nmds-keyboard-key:not(:is([hydrated], .hydrated)),\nmds-kpi:not(:is([hydrated], .hydrated)),\nmds-kpi-item:not(:is([hydrated], .hydrated)),\nmds-label:not(:is([hydrated], .hydrated)),\nmds-list:not(:is([hydrated], .hydrated)),\nmds-list-item:not(:is([hydrated], .hydrated)),\nmds-modal:not(:is([hydrated], .hydrated)),\nmds-note:not(:is([hydrated], .hydrated)),\nmds-notification:not(:is([hydrated], .hydrated)),\nmds-paginator:not(:is([hydrated], .hydrated)),\nmds-paginator-item:not(:is([hydrated], .hydrated)),\nmds-pref:not(:is([hydrated], .hydrated)),\nmds-pref-animation:not(:is([hydrated], .hydrated)),\nmds-pref-consumption:not(:is([hydrated], .hydrated)),\nmds-pref-contrast:not(:is([hydrated], .hydrated)),\nmds-pref-language:not(:is([hydrated], .hydrated)),\nmds-pref-language-item:not(:is([hydrated], .hydrated)),\nmds-pref-theme:not(:is([hydrated], .hydrated)),\nmds-price-table:not(:is([hydrated], .hydrated)),\nmds-price-table-features:not(:is([hydrated], .hydrated)),\nmds-price-table-features-cell:not(:is([hydrated], .hydrated)),\nmds-price-table-features-row:not(:is([hydrated], .hydrated)),\nmds-price-table-header:not(:is([hydrated], .hydrated)),\nmds-price-table-list:not(:is([hydrated], .hydrated)),\nmds-price-table-list-item:not(:is([hydrated], .hydrated)),\nmds-progress:not(:is([hydrated], .hydrated)),\nmds-push-notification:not(:is([hydrated], .hydrated)),\nmds-push-notifications:not(:is([hydrated], .hydrated)),\nmds-quote:not(:is([hydrated], .hydrated)),\nmds-separator:not(:is([hydrated], .hydrated)),\nmds-spinner:not(:is([hydrated], .hydrated)),\nmds-stepper-bar:not(:is([hydrated], .hydrated)),\nmds-stepper-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab:not(:is([hydrated], .hydrated)),\nmds-tab-bar:not(:is([hydrated], .hydrated)),\nmds-tab-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab-item:not(:is([hydrated], .hydrated)),\nmds-table:not(:is([hydrated], .hydrated)),\nmds-table-body:not(:is([hydrated], .hydrated)),\nmds-table-cell:not(:is([hydrated], .hydrated)),\nmds-table-footer:not(:is([hydrated], .hydrated)),\nmds-table-header:not(:is([hydrated], .hydrated)),\nmds-table-header-cell:not(:is([hydrated], .hydrated)),\nmds-table-row:not(:is([hydrated], .hydrated)),\nmds-text:not(:is([hydrated], .hydrated)),\nmds-toast:not(:is([hydrated], .hydrated)),\nmds-tooltip:not(:is([hydrated], .hydrated)),\nmds-tree:not(:is([hydrated], .hydrated)),\nmds-tree-item:not(:is([hydrated], .hydrated)),\nmds-url-view:not(:is([hydrated], .hydrated)),\nmds-usage:not(:is([hydrated], .hydrated)),\nmds-video-wall:not(:is([hydrated], .hydrated)),\nmds-zero:not(:is([hydrated], .hydrated))\n{\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n\n:host {\n\n --mds-table-row-color-hover: var(--mds-table-color, rgb(var(--tone-neutral-02)));\n --mds-table-row-color-alt: var(--mds-table-color-alt, rgb(var(--tone-neutral-02)));\n --mds-table-row-background-hover: var(--mds-table-background, rgb(var(--tone-neutral)));\n --mds-table-row-background-alt: var(--mds-table-background-alt, rgb(var(--tone-neutral)));\n --mds-table-row-actions-gap: var(--mds-table-actions-gap, 1rem);\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n\n color: var(--mds-table-row-color);\n display: table-row;\n position: relative;\n -webkit-transition-property: color;\n transition-property: color;\n\n}\n\n.selection-cell {\n vertical-align: middle;\n}\n\n.checkbox-wrapper {\n display: -ms-flexbox;\n display: flex;\n}\n\n:host([interactive]:hover) {\n\n --mds-table-row-actions-background: var(--mds-table-row-background-hover);\n --mds-table-row-background: var(--mds-table-row-background-hover);\n --mds-table-row-color: var(--mds-table-row-color-hover);\n}\n\n:host([selected]) {\n\n --mds-table-row-background: var(--mds-table-row-background-hover);\n --mds-table-row-color: var(--mds-table-row-color-hover);\n}\n\n:host([sorted]) {\n\n --mds-table-row-background: var(--mds-table-row-background-alt);\n --mds-table-row-color: var(--mds-table-row-color-alt);\n}\n\n:host([sorted][selected]) {\n\n --mds-table-row-background: var(--mds-table-row-background-hover);\n --mds-table-row-color: var(--mds-table-row-color-hover);\n}\n\n.actions-view {\n -ms-flex-align: center;\n align-items: center;\n display: -ms-flexbox;\n display: flex;\n inset: 0;\n -ms-flex-pack: end;\n justify-content: end;\n pointer-events: none;\n position: absolute;\n}\n\n.actions {\n\n --mds-table-row-actions-background: var(--mds-table-row-background);\n\n -ms-flex-align: center;\n\n align-items: center;\n background-color: var(--mds-table-row-actions-background);\n border-bottom-left-radius: calc(0.5rem + var(--mds-table-border-width) * 2);\n border-top-left-radius: calc(0.5rem + var(--mds-table-border-width) * 2);\n display: -ms-inline-flexbox;\n display: inline-flex;\n gap: var(--mds-table-row-actions-gap);\n inset: 0;\n margin-right: 100%;\n padding: calc(var(--mds-table-border-width) * 2);\n padding-right: 0;\n pointer-events: auto;\n position: -webkit-sticky;\n position: sticky;\n right: 0;\n -webkit-transform: translateX(100%);\n transform: translateX(100%);\n -webkit-transition-duration: 500ms;\n transition-duration: 500ms;\n -webkit-transition-property: background-color, padding-right, -webkit-transform;\n transition-property: background-color, padding-right, -webkit-transform;\n transition-property: transform, background-color, padding-right;\n transition-property: transform, background-color, padding-right, -webkit-transform;\n -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n}\n\n:host(:hover) .actions {\n -webkit-transform: translateX(100%);\n transform: translateX(100%);\n}\n\n:host([overlay-actions]) .actions {\n padding-right: var(--mds-table-cell-padding);\n -webkit-transform: translateX(100%);\n transform: translateX(100%);\n}\n\n:host([overlay-actions]:hover) .actions {\n\n --mds-table-row-actions-background: var(--mds-table-row-background);\n\n -webkit-transform: translateX(0);\n\n transform: translateX(0);\n}\n\n:host(:hover):host-context(mds-table[interactive=\"false\"]) .actions,\n:host(:hover):host-context(mds-table:not([interactive])) .actions {\n\n --mds-table-row-actions-background: var(--mds-table-row-background-hover);\n}\n\n:host(:not([selected]):hover):host-context(mds-table[selection]:not([interactive])) .actions,\n:host(:not([selected]):hover):host-context(mds-table[selection][interactive=\"false\"]) .actions,\n:host([selected=\"false\"]:hover):host-context(mds-table[selection]:not([interactive])) .actions,\n:host([selected=\"false\"]:hover):host-context(mds-table[selection][interactive=\"false\"]) .actions {\n\n --mds-table-row-actions-background: var(--mds-table-row-background-alt);\n}\n\n@container style(--magma-pref-animation: reduce) {\n :host,\n .actions {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host,\n .actions {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n";
877
+ const isSafari = () => {
878
+ if (navigator) {
879
+ return /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
880
+ }
881
+ return false;
882
+ };
883
+
884
+ 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)}.actions-cell--disable,.actions-cell--disable .actions{position:static !important}.actions-cell--disable .actions{margin-right:0 !important;-webkit-transform:translateX(0) !important;transform:translateX(0) !important}: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}";
878
885
  const MdsTableRowStyle0 = mdsTableRowCss;
879
886
 
880
887
  const MdsTableRow = class {
881
888
  constructor(hostRef) {
882
889
  index.registerInstance(this, hostRef);
890
+ this.hasActions = true;
883
891
  this.t = new Locale({
884
892
  el: localeEl,
885
893
  en: localeEn,
@@ -899,7 +907,7 @@ const MdsTableRow = class {
899
907
  }
900
908
  componentWillLoad() {
901
909
  this.language = this.t.lang(this.host);
902
- this.hasActions = this.host.querySelector('[slot="action"]') !== null;
910
+ this.hasActions = this.host.querySelector(':scope > [slot="action"]') !== null;
903
911
  }
904
912
  componentDidLoad() {
905
913
  var _a;
@@ -909,15 +917,16 @@ const MdsTableRow = class {
909
917
  }
910
918
  }
911
919
  render() {
912
- return (index.h(index.Host, { key: '4905591b94a0af846d25e3cf55fe5805ecec76be', role: "row" }, this.selectable &&
913
- index.h("mds-table-cell", { key: '07f8596969f20148250cc42fde0a806435825274', class: "selection-cell" }, index.h("div", { key: '2d0bb74f3f5edaf6180c68a60457b374dcd7a4bd', class: "checkbox-wrapper" }, index.h("mds-input-switch", { key: 'e04fafd6a53ed1c6a4208b0317419fe21d08f28e', title: this.t.get(this.selected ? 'unselectRow' : 'selectRow'), lang: this.language, type: "checkbox", checked: this.selected, onMdsInputSwitchChange: this.handleSelectionChange }))), index.h("slot", { key: 'd71c2ec9e675fd8190eeeb7d816a5e2566c6afc4' }), this.hasActions &&
914
- index.h("mds-table-cell", { key: '0ede2c5f98d7541920c4170d70c21f9f61ac93cb', class: "actions-cell" }, index.h("div", { key: '8a097d4b04bd594778f51bedfe438fe1fd3479b3', class: "actions-sizer", style: {
920
+ return (index.h(index.Host, { key: 'ddc3467a490c2bd90fe51e21a5fe67268a09cabd', role: "row" }, this.selectable &&
921
+ index.h("mds-table-cell", { key: 'e0aae0041d28b4a39e2cdfef98f8ceb34703613b', class: "selection-cell" }, index.h("div", { key: 'daf5de2fcfdb0f1863109feb96b533f9bdec1e43', class: "checkbox-wrapper" }, index.h("mds-input-switch", { key: 'd27bd2000b73115b7c9c2ad7705fcda40d134c04', title: this.t.get(this.selected ? 'unselectRow' : 'selectRow'), lang: this.language, type: "checkbox", checked: this.selected, onMdsInputSwitchChange: this.handleSelectionChange }))), index.h("slot", { key: '2eb2218ac36175a75569199cb837c00ab56ef3d0' }), this.hasActions && isSafari() &&
922
+ index.h("mds-table-cell", { key: '0c74ae109c1112d79fc9a65412d032105fb1cdef', class: "actions-cell actions-cell--disable" }, index.h("div", { key: '969b05e04cb68ec781ba5227de80a8b0357e299c', class: "actions" }, index.h("slot", { key: '04ee8a48cf0ac01a0bc25b7e819e57767a6443a7', name: "action" }))), this.hasActions && !isSafari() &&
923
+ index.h("mds-table-cell", { key: '39dba4bf1fc6c2892705608bca1f68e70ce47c7c', class: "actions-cell" }, index.h("div", { key: '2cab6097ba0bfe85f258ee9f569d92f75fd58208', class: "actions-sizer", style: {
915
924
  minHeight: '1px',
916
925
  maxWidth: this.sizerWidth,
917
926
  minWidth: this.sizerWidth,
918
- } }), index.h("div", { key: '31f1fe8d7e4ee01f33f1c6a5b76e23fd875dfd82', class: "actions-view" }, index.h("div", { key: '762785e31a306ba3c1e7654218bdf8cb33044cd3', class: "actions", style: {
927
+ } }), index.h("div", { key: '1c77e27a925fe8fc003fcdd17f760f35a306027b', class: "actions-view" }, index.h("div", { key: '962a79184fa4cb6de61d443a65d9481b24cbb603', class: "actions", style: {
919
928
  marginRight: `calc(${this.sizerWidth} + var(--mds-table-cell-padding))`,
920
- } }, index.h("slot", { key: '05ea2b5edc71e58859e55e52c1ab65ca0c5354f8', name: "action" }))))));
929
+ } }, index.h("slot", { key: 'fde4f3d477475c8dfdb3346e84e3125f964b7676', name: "action" }))))));
921
930
  }
922
931
  get host() { return index.getElement(this); }
923
932
  };
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-cb928c36.js');
5
+ const index = require('./index-27c9aefd.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.25.1 | MIT Licensed | https://stenciljs.com
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-table-row.cjs.js', document.baseURI).href));
@@ -4,7 +4,7 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.25.1",
7
+ "version": "4.27.2",
8
8
  "typescriptVersion": "5.5.4"
9
9
  },
10
10
  "collections": [],
@@ -0,0 +1,7 @@
1
+ const isSafari = () => {
2
+ if (navigator) {
3
+ return /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
4
+ }
5
+ return false;
6
+ };
7
+ export { isSafari, };