@trintel/zooy 1.0.1 → 1.0.2

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 (154) hide show
  1. package/dist/chunks/{button-C-oX8EmF.js → button--cIzwEQA.js} +1 -1
  2. package/dist/chunks/{button-B1jzfT-Z.js → button-i6QyRwAM.js} +4 -4
  3. package/dist/chunks/{button-skeleton-CK3BHdja.js → button-skeleton-Bk2Vw5Mq.js} +1 -1
  4. package/dist/chunks/{button-skeleton-DoCp6sBb.js → button-skeleton-D2TeTVpP.js} +4 -4
  5. package/dist/chunks/{checkbox-CgFjYxQ_.js → checkbox-Dyh34VfG.js} +5 -5
  6. package/dist/chunks/{checkbox-t3G-H1NN.js → checkbox-atdz21pu.js} +1 -1
  7. package/dist/chunks/{class-map-D6tjF27Y.js → class-map-CziJvhVR.js} +1 -1
  8. package/dist/chunks/{class-map-FWQBIzSx.js → class-map-hWNVHb09.js} +1 -1
  9. package/dist/chunks/{content-switcher-item-c4WBWz31.js → content-switcher-item-88PWpM2j.js} +1 -1
  10. package/dist/chunks/{content-switcher-item-CedjjtvP.js → content-switcher-item-CpNfKVu-.js} +4 -4
  11. package/dist/chunks/{dropdown-item-Dh5IEXDr.js → dropdown-item-CDbnp5_k.js} +6 -6
  12. package/dist/chunks/{dropdown-item-C0SHr4st.js → dropdown-item-CRyAm4Ku.js} +1 -1
  13. package/dist/chunks/{icon-loader-CJxyg-lp.js → icon-loader-C3acLKRm.js} +1 -1
  14. package/dist/chunks/{icon-loader-ChKeNR4s.js → icon-loader-CsKt-G8D.js} +1 -1
  15. package/dist/chunks/{icon-loader-utils-DK8DViXt.js → icon-loader-utils-DKbXKLDh.js} +1 -1
  16. package/dist/chunks/{icon-loader-utils-BwViqIXz.js → icon-loader-utils-DXGGCFfD.js} +1 -1
  17. package/dist/chunks/{if-defined-eJcDYClo.js → if-defined-D2rCHx2p.js} +1 -1
  18. package/dist/chunks/{if-defined-DYWhlnlE.js → if-defined-uehgcl8e.js} +1 -1
  19. package/dist/chunks/if-non-empty-BEpfFFDX.js +1 -0
  20. package/dist/chunks/{if-non-empty-COTeEFkK.js → if-non-empty-CcwduEjT.js} +1 -1
  21. package/dist/chunks/{index-Dc51G1mo.js → index--Q3NhIVC.js} +1 -1
  22. package/dist/chunks/{index-Z4ar01y-.js → index-B16kSrMy.js} +4 -4
  23. package/dist/chunks/{index-pS6-humH.js → index-B6vimuhF.js} +1 -1
  24. package/dist/chunks/{index-CR3DrmQi.js → index-B8fGrrzJ.js} +8 -8
  25. package/dist/chunks/{index-DBsASlZI.js → index-BEDYiyp9.js} +1 -1
  26. package/dist/chunks/{index-CBICHiFD.js → index-BEyCs2cc.js} +5 -5
  27. package/dist/chunks/{index-C3n83pM3.js → index-BIJ3miZu.js} +1 -1
  28. package/dist/chunks/{index-du3RQU31.js → index-BIvyXnIe.js} +1 -1
  29. package/dist/chunks/{index-C2oV5vU3.js → index-BMJjuXme.js} +1 -1
  30. package/dist/chunks/{index-Ctna95NT.js → index-BMNd2Qad.js} +4 -4
  31. package/dist/chunks/{index-_xRytR0j.js → index-BMNv7Afr.js} +1 -1
  32. package/dist/chunks/{index-qgl9W8eF.js → index-BMzAaQhy.js} +1 -1
  33. package/dist/chunks/{index-DUtoSCTU.js → index-BODxU-Mu.js} +9 -9
  34. package/dist/chunks/{index-hH_m653R.js → index-BPRteboN.js} +5 -5
  35. package/dist/chunks/{index-D9sRIKMQ.js → index-BTUYIkmg.js} +5 -5
  36. package/dist/chunks/{index-MgWriQfr.js → index-BUcMLg1n.js} +1 -1
  37. package/dist/chunks/{index-CJdEJ8pY.js → index-BVpkxHll.js} +1 -1
  38. package/dist/chunks/{index-CKYRBtLC.js → index-BWBjCDwY.js} +1 -1
  39. package/dist/chunks/{index-BMquNDkd.js → index-BYHXKkvf.js} +6 -6
  40. package/dist/chunks/{index-CQl4NaPS.js → index-BeKAg3cB.js} +1 -1
  41. package/dist/chunks/{index-CTsGb3mD.js → index-Bgo3KCFI.js} +7 -7
  42. package/dist/chunks/{index-Bls8zdHV.js → index-Bh3jqbKV.js} +5 -5
  43. package/dist/chunks/{index-CkxGsCJy.js → index-Bk2MEnMu.js} +7 -7
  44. package/dist/chunks/{index-CEy6bu7P.js → index-BlAm81hv.js} +1 -1
  45. package/dist/chunks/{index-BseD7Jzt.js → index-Bp5LwA_m.js} +1 -1
  46. package/dist/chunks/{index-BwRxBdeg.js → index-BqExj5O7.js} +1 -1
  47. package/dist/chunks/{index-BbJQIwkY.js → index-BrqEja9V.js} +8 -8
  48. package/dist/chunks/{index-CIZ3Gnmm.js → index-BtPiuBUm.js} +1 -1
  49. package/dist/chunks/{index-yzFU-E6F.js → index-Bu6R2tix.js} +1 -1
  50. package/dist/chunks/{index-i4heE-wx.js → index-Bug3BjgA.js} +3 -3
  51. package/dist/chunks/{index-Bff6B9vY.js → index-BwhAoVy-.js} +7 -7
  52. package/dist/chunks/{index-B8Ze9ISK.js → index-BxGUZ-qP.js} +1 -1
  53. package/dist/chunks/{index-BGGDxbLL.js → index-ByNfpHAO.js} +5 -5
  54. package/dist/chunks/{index-BeMnerDj.js → index-Byf_K1x1.js} +8 -8
  55. package/dist/chunks/{index-Dd9iSSXa.js → index-C-P030e_.js} +3 -3
  56. package/dist/chunks/{index-DbAeG1nY.js → index-C1Eehpcx.js} +1 -1
  57. package/dist/chunks/{index-Dk3tlz8Q.js → index-C4GpRDm7.js} +1 -1
  58. package/dist/chunks/{index-hn76Yo-L.js → index-C5b2680a.js} +1 -1
  59. package/dist/chunks/{index-CYIcfuAW.js → index-C5s9Z5Ou.js} +3 -3
  60. package/dist/chunks/{index-CqQZpHti.js → index-C9HJjC2j.js} +1 -1
  61. package/dist/chunks/{index-i9jyrFc9.js → index-CFG5exAl.js} +1 -1
  62. package/dist/chunks/{index-pc36PiDY.js → index-CHIQ4wsM.js} +1 -1
  63. package/dist/chunks/{index-7cXLLw89.js → index-CO_QGXLN.js} +5 -5
  64. package/dist/chunks/{index-BwFE4R87.js → index-CPLpCt6z.js} +3 -3
  65. package/dist/chunks/{index-Cv6qE9qP.js → index-CP_zaIyv.js} +1 -1
  66. package/dist/chunks/{index-Cp3P3KaW.js → index-CPzh43Kr.js} +1 -1
  67. package/dist/chunks/{index-CsjJntyD.js → index-CTEnXoVq.js} +1 -1
  68. package/dist/chunks/{index-DyO3Wdy_.js → index-CUI3NPWg.js} +1 -1
  69. package/dist/chunks/{index-C-pfDP7B.js → index-C_JOABLw.js} +1 -1
  70. package/dist/chunks/{index-ClE0uX_c.js → index-C_NhQPDA.js} +1 -1
  71. package/dist/chunks/{index-DYvD9xjl.js → index-CbiknV4d.js} +1 -1
  72. package/dist/chunks/{index-4WNeLsiw.js → index-CcK76f0I.js} +3 -3
  73. package/dist/chunks/{index-B5GB0rQW.js → index-Cd1j7Qp1.js} +5 -5
  74. package/dist/chunks/{index-DGw1TVFB.js → index-Chyr-DU2.js} +2 -2
  75. package/dist/chunks/{index-C572_UKV.js → index-CjVvmbL6.js} +1 -1
  76. package/dist/chunks/{index-BBap1uCI.js → index-CsKII5mz.js} +1 -1
  77. package/dist/chunks/{index-B4SxU_Hu.js → index-CwpgmKTP.js} +7 -7
  78. package/dist/chunks/{index-Bt7v-zqV.js → index-CxJCioQg.js} +1 -1
  79. package/dist/chunks/{index-uwN33H1P.js → index-CyF5Kef-.js} +5 -5
  80. package/dist/chunks/{index-Cnsy7Qk3.js → index-CyR413wv.js} +5 -5
  81. package/dist/chunks/{index-4XJJobHw.js → index-CyvZ9jxn.js} +5 -5
  82. package/dist/chunks/{index-C6bOvXSf.js → index-Czs-UAWh.js} +4 -4
  83. package/dist/chunks/{index-B0nToMRj.js → index-D-iqTNbL.js} +4 -4
  84. package/dist/chunks/{index-9fmHblh5.js → index-D9nVgUNo.js} +1 -1
  85. package/dist/chunks/{index-DNWjc2SJ.js → index-DDUqY4Rl.js} +2 -2
  86. package/dist/chunks/{index-OgL1A9Rm.js → index-DEdeVoZn.js} +1 -1
  87. package/dist/chunks/{index-Cu1u3Mjn.js → index-DEtGo4Q7.js} +4 -4
  88. package/dist/chunks/{index-BQnyeVHX.js → index-DGvLgX2O.js} +1 -1
  89. package/dist/chunks/{index-Bymsj9gH.js → index-DGvVa-5J.js} +1 -1
  90. package/dist/chunks/{index-Bi9WliCA.js → index-DIg4fP-p.js} +6 -6
  91. package/dist/chunks/{index-Dh4LYLg5.js → index-DNkLJEg1.js} +10 -10
  92. package/dist/chunks/{index-JWULDURW.js → index-DPCfOgTU.js} +1 -1
  93. package/dist/chunks/index-DPnGRDRl.js +1 -0
  94. package/dist/chunks/{index-CWlg_Hu2.js → index-DQ4Y-fiZ.js} +4 -4
  95. package/dist/chunks/{index-GDVDUQtg.js → index-DSMPUWJU.js} +7 -7
  96. package/dist/chunks/{index-DIsXKJDH.js → index-DSgb2u7b.js} +1 -1
  97. package/dist/chunks/{index-BBWp83R-.js → index-DTadLLRG.js} +1 -1
  98. package/dist/chunks/{index-BRnzFxjk.js → index-DTtMSAgV.js} +1 -1
  99. package/dist/chunks/{index-0AElqkkj.js → index-DX2JlRat.js} +1 -1
  100. package/dist/chunks/{index-GbWz6fuF.js → index-DZrmJ7Ll.js} +5 -5
  101. package/dist/chunks/{index-DZabSr3s.js → index-DdkIREYU.js} +3 -3
  102. package/dist/chunks/{index-lFqOe0IJ.js → index-DkphY0sd.js} +1 -1
  103. package/dist/chunks/{index-BAAA4wkE.js → index-Do9f8Pwe.js} +2 -2
  104. package/dist/chunks/{index-CIiIAqrQ.js → index-Dr4evLL7.js} +3 -3
  105. package/dist/chunks/{index-QzojJs5M.js → index-DwCXQC7X.js} +2 -2
  106. package/dist/chunks/{index-DrDKdYFJ.js → index-DwDG_y9_.js} +1 -1
  107. package/dist/chunks/{index-BvdNKhJw.js → index-F2zwTZm1.js} +1 -1
  108. package/dist/chunks/{index-CoAT1iC6.js → index-HbS1lUW6.js} +1 -1
  109. package/dist/chunks/{index-Bo2QmpPO.js → index-LtB-4-X9.js} +1 -1
  110. package/dist/chunks/{index-DWjrCygZ.js → index-QuyEX50y.js} +1 -1
  111. package/dist/chunks/{index-CzAwJhyQ.js → index-WpBhhuED.js} +3 -3
  112. package/dist/chunks/{index-Bb_1S0pr.js → index-d0CqW2Cm.js} +5 -5
  113. package/dist/chunks/{index-CV7TVQ4T.js → index-el9l-ZQy.js} +4 -4
  114. package/dist/chunks/{index-cuMoh7qn.js → index-gfbRBI-d.js} +1 -1
  115. package/dist/chunks/{index-Cwb1pbm9.js → index-hhX-bWEv.js} +5 -5
  116. package/dist/chunks/{index-CFqKkC5Z.js → index-jdx-M5Y-.js} +1 -1
  117. package/dist/chunks/{index-uxZPrL2m.js → index-nfJ9ioGW.js} +6 -6
  118. package/dist/chunks/{index-DfFx1Jz3.js → index-oS8XvY4G.js} +3 -3
  119. package/dist/chunks/{index-DSOPjl5x.js → index-t9TINCcm.js} +7 -7
  120. package/dist/chunks/{index-Bunat0DP.js → index-tQGRhvw0.js} +6 -6
  121. package/dist/chunks/{index-TJL02uup.js → index-tdmIA8Xp.js} +6 -6
  122. package/dist/chunks/{index-D8LE8G2j.js → index-w027CjA0.js} +1 -1
  123. package/dist/chunks/{index-DyyLrVDY.js → index-wgp15jn2.js} +4 -4
  124. package/dist/chunks/index-xipeWGGU.js +2 -0
  125. package/dist/chunks/{loading-icon-DdwpAk8-.js → loading-icon-CN-iehcR.js} +1 -1
  126. package/dist/chunks/{loading-icon-CPvmJvpZ.js → loading-icon-q__8yLZw.js} +1 -1
  127. package/dist/chunks/{main-Bx21zlkN.js → main-BPWCMI5R.js} +7 -7
  128. package/dist/chunks/{main-BGOPab-5.js → main-BywCEBtD.js} +214 -168
  129. package/dist/chunks/{property-DAFv3PCb.js → property-DCTz3KPt.js} +1 -1
  130. package/dist/chunks/{property-BkjBVRuu.js → property-DzfJpYmn.js} +1 -1
  131. package/dist/chunks/{register-DTXmg-gw.js → register-B4yRiHm6.js} +1 -1
  132. package/dist/chunks/{register-BCEOkbXG.js → register-C3XDWad0.js} +393 -358
  133. package/dist/chunks/{register-Bkr1UKav.js → register-CyNp_638.js} +1 -1
  134. package/dist/chunks/register-DpOrINOx.js +1 -0
  135. package/dist/chunks/{search-npG8ywjx.js → search-BCJx6Xft.js} +6 -6
  136. package/dist/chunks/{search-DDFN8-Mz.js → search-CzmoEHwa.js} +1 -1
  137. package/dist/chunks/{select-DkCpQORs.js → select-0jyl720Y.js} +7 -7
  138. package/dist/chunks/{select-CFy3MvH6.js → select-DC0T8Fw_.js} +1 -1
  139. package/dist/chunks/{state-BdgD82MZ.js → state-BiEAGUqO.js} +1 -1
  140. package/dist/chunks/{state-uF7CZaP5.js → state-DJQLwKiU.js} +1 -1
  141. package/dist/chunks/{text-input-DVdkm07X.js → text-input-BGuFqOdN.js} +5 -5
  142. package/dist/chunks/{text-input-BUdM-ojg.js → text-input-BPvBDzky.js} +1 -1
  143. package/dist/chunks/{tooltip-content-BXcBmMsV.js → tooltip-content-BOefn0hU.js} +1 -1
  144. package/dist/chunks/{tooltip-content-CWRE_NqH.js → tooltip-content-CWdOnBaw.js} +3 -3
  145. package/dist/chunks/{unsafe-html-CpAqmPyx.js → unsafe-html-Bi2pB4Lb.js} +1 -1
  146. package/dist/chunks/{unsafe-html-Bg0eM3hS.js → unsafe-html-xqClX-6M.js} +1 -1
  147. package/dist/zooy.cjs.js +1 -1
  148. package/dist/zooy.es.js +3 -3
  149. package/package.json +1 -1
  150. package/src/sass/carbon.scss +46 -13
  151. package/dist/chunks/if-non-empty-CxMysAQW.js +0 -1
  152. package/dist/chunks/index-B5DpS-cb.js +0 -2
  153. package/dist/chunks/index-Do1DszoZ.js +0 -1
  154. package/dist/chunks/register-D_CXtGy1.js +0 -1
@@ -1,11 +1,15 @@
1
- import { _ as ct, g as a, c as at, B as rt, o as lt, h as dt, p as pt, d as h, C as mt } from "./main-BGOPab-5.js";
2
- var ut = /* @__PURE__ */ ct(function(e, n) {
1
+ import { _ as W, c as mt, d as ut, g as r, e as ht, B as vt, o as ft, h as gt, p as Et, j as E, C as bt } from "./main-BywCEBtD.js";
2
+ var Ct = /* @__PURE__ */ W(function(e, n) {
3
+ return n == null || n !== n ? e : n;
4
+ }), St = /* @__PURE__ */ mt(function(e, n, o) {
5
+ return Ct(e, ut(n, o));
6
+ }), It = /* @__PURE__ */ W(function(e, n) {
3
7
  for (var o = {}, s = 0; s < e.length; )
4
8
  e[s] in n && (o[e[s]] = n[e[s]]), s += 1;
5
9
  return o;
6
- }), T = {}, L;
7
- function vt() {
8
- return L || (L = 1, (function(t) {
10
+ }), B = {}, U;
11
+ function At() {
12
+ return U || (U = 1, (function(t) {
9
13
  t.TABLE_SIZE = void 0, (function(n) {
10
14
  n.XS = "xs", n.SM = "sm", n.MD = "md", n.LG = "lg", n.XL = "xl";
11
15
  })(t.TABLE_SIZE || (t.TABLE_SIZE = {})), t.TABLE_SORT_DIRECTION = void 0, (function(n) {
@@ -34,12 +38,12 @@ function vt() {
34
38
  ]
35
39
  };
36
40
  t.TABLE_SORT_CYCLES = e;
37
- })(T)), T;
41
+ })(B)), B;
38
42
  }
39
- var ht = vt();
40
- const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3mD.js"), ft = {
43
+ var Dt = At();
44
+ const Nt = () => import("./index-DNkLJEg1.js"), Y = () => import("./index-Bgo3KCFI.js"), Pt = {
41
45
  "cds-pagination": {
42
- import: G,
46
+ import: Y,
43
47
  /**
44
48
  * Initialize a standalone pagination component.
45
49
  *
@@ -56,8 +60,8 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
56
60
  const e = this, n = customElements.get("cds-pagination");
57
61
  let o = null;
58
62
  e.listen(t, n.eventChangeCurrent, (s) => {
59
- const i = s.detail.page, c = t.pageSize, r = (i - 1) * c;
60
- r !== o && (o = r, e.dispatchPanelEvent("pagination-changed-current", {
63
+ const i = s.detail.page, c = t.pageSize, a = (i - 1) * c;
64
+ a !== o && (o = a, e.dispatchPanelEvent("pagination-changed-current", {
61
65
  detail: {
62
66
  page: i,
63
67
  pageSize: c,
@@ -77,89 +81,89 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
77
81
  });
78
82
  }
79
83
  }
80
- }, q = (t, e, n) => {
84
+ }, V = (t, e, n) => {
81
85
  const o = customElements.get("cds-table"), s = customElements.get("cds-pagination"), i = customElements.get(o.selectorTableBatchActions);
82
86
  customElements.get("cds-popover");
83
- const c = e.dataBinder, r = e.pagination, p = e.skeleton, g = e.querySelector(o.selectorTableToolbarSearch), f = e.querySelector(o.selectorTableBatchActions), S = e.querySelector(o.selectorTableToolbarContent), _ = e.querySelector(o.selectorTableBody), H = ["button", "a", "input", "select", "textarea", '[role="button"]', ".cds--table-expand", ".cds--table-column-checkbox"].join(","), M = e.querySelectorAll(o.selectorHeaderCell + "[is-sortable]"), j = e.isSortable || M.length > 0, k = Symbol(), y = Symbol(), I = /* @__PURE__ */ new Map(), Y = (l) => {
84
- t.listen(e, "click", (d) => {
85
- const m = d.target.closest(o.selectorTableRow);
86
- if (!m || d.composedPath().some((v) => v.matches && v.matches(H))) return;
87
- d.stopPropagation();
88
- const u = a(m);
87
+ const c = e.dataBinder, a = e.pagination, d = e.skeleton, b = e.querySelector(o.selectorTableToolbarSearch), S = e.querySelector(o.selectorTableBatchActions), P = e.querySelector(o.selectorTableToolbarContent), O = e.querySelector(o.selectorTableBody), Z = ["button", "a", "input", "select", "textarea", '[role="button"]', ".cds--table-expand", ".cds--table-column-checkbox"].join(","), x = e.querySelectorAll(o.selectorHeaderCell + "[is-sortable]"), J = e.isSortable || x.length > 0, R = Symbol(), M = Symbol(), _ = /* @__PURE__ */ new Map(), K = (l) => {
88
+ t.listen(e, "click", (p) => {
89
+ const m = p.target.closest(o.selectorTableRow);
90
+ if (!m || p.composedPath().some((h) => h.matches && h.matches(Z))) return;
91
+ p.stopPropagation();
92
+ const u = r(m);
89
93
  t.dispatchPanelEvent(l, {
90
94
  ...u
91
95
  });
92
96
  });
93
- }, W = (l) => {
94
- t.listen(e, o.eventExpandoToggle, (d) => {
95
- const m = d.target, u = m.tagName === "CDS-TABLE-HEADER-ROW", v = d.detail.expanded, E = a(m), C = {
97
+ }, Q = (l) => {
98
+ t.listen(e, o.eventExpandoToggle, (p) => {
99
+ const m = p.target, u = m.tagName === "CDS-TABLE-HEADER-ROW", h = p.detail.expanded, f = r(m), C = {
96
100
  tableAttrs: n,
97
- ...E,
101
+ ...f,
98
102
  target: m,
99
103
  allRows: u,
100
- didExpand: v
104
+ didExpand: h
101
105
  };
102
106
  t.dispatchPanelEvent(l, C);
103
107
  });
104
- }, X = (l) => {
105
- I.set(k, (d) => {
106
- t.dispatchPanelEvent(l, d);
108
+ }, tt = (l) => {
109
+ _.set(R, (p) => {
110
+ t.dispatchPanelEvent(l, p);
107
111
  });
108
- }, Z = (l) => {
109
- I.set(y, (d) => {
110
- const m = d.detail.selectedRows, u = Math.min(m.length, f.totalRowsCount), v = d.target, E = a(v), C = m.map(a), A = {
112
+ }, et = (l) => {
113
+ _.set(M, (p) => {
114
+ const m = p.detail.selectedRows, u = Math.min(m.length, S.totalRowsCount), h = p.target, f = r(h), C = m.map(r), I = {
111
115
  tableAttrs: n,
112
- ...E,
113
- target: v,
116
+ ...f,
117
+ target: h,
114
118
  selectCount: u,
115
119
  selection: C
116
120
  };
117
- t.dispatchPanelEvent(l, A);
121
+ t.dispatchPanelEvent(l, I);
118
122
  });
119
- }, $ = (l) => {
120
- t.listen(e, o.eventTableRowSelect, (d) => {
121
- const m = d.target, u = d.detail.selectedRows || [], v = u.length, E = u.map(a), C = a(m), A = {
123
+ }, nt = (l) => {
124
+ t.listen(e, o.eventTableRowSelect, (p) => {
125
+ const m = p.target, u = p.detail.selectedRows || [], h = u.length, f = u.map(r), C = r(m), I = {
122
126
  tableAttrs: n,
123
127
  ...C,
124
- selectCount: v,
125
- selection: E,
128
+ selectCount: h,
129
+ selection: f,
126
130
  target: m
127
131
  };
128
- t.dispatchPanelEvent(l, A);
132
+ t.dispatchPanelEvent(l, I);
129
133
  });
130
- }, J = () => {
134
+ }, ot = () => {
131
135
  t.listen(e, o.eventBeforeSort, (l) => {
132
- const d = l.target, m = l.detail.oldSortDirection, u = l.detail.sortDirection, v = a(d), E = v.sortField, C = u === ht.TABLE_SORT_DIRECTION.DESCENDING ? `-${E}` : E;
133
- l.cancelBubble = !0, l.stopPropagation(), l.preventDefault(), _.innerHTML = "", p && p.show(), M.forEach((D, $e) => {
134
- D === d ? (D.setAttribute("sort-active", "true"), D.setAttribute("sort-direction", u)) : (D.removeAttribute("sort-active"), D.setAttribute("sort-direction", "none"));
136
+ const p = l.target, m = l.detail.oldSortDirection, u = l.detail.sortDirection, h = r(p), f = h.sortField, C = u === Dt.TABLE_SORT_DIRECTION.DESCENDING ? `-${f}` : f;
137
+ l.cancelBubble = !0, l.stopPropagation(), l.preventDefault(), O.innerHTML = "", d && d.show(), x.forEach((D, v) => {
138
+ D === p ? (D.setAttribute("sort-active", "true"), D.setAttribute("sort-direction", u)) : (D.removeAttribute("sort-active"), D.setAttribute("sort-direction", "none"));
135
139
  });
136
- const A = { ordering: C };
137
- c.fetchData(A).then(() => {
138
- r.setData(c), p && p.hide();
139
- }), I.has(k) && I.get(k)({
140
+ const I = { ordering: C };
141
+ c.fetchData(I).then(() => {
142
+ a.setData(c), d && d.hide();
143
+ }), _.has(R) && _.get(R)({
140
144
  tableAttrs: n,
141
- ...v,
145
+ ...h,
142
146
  sortNow: u,
143
147
  sortWas: m,
144
- sortField: E,
148
+ sortField: f,
145
149
  ordering: C,
146
- target: d
150
+ target: p
147
151
  });
148
152
  });
149
- }, K = () => {
153
+ }, st = () => {
150
154
  t.listen(e, o.eventTableRowSelectAll, (l) => {
151
- l.detail.selectedRows.length === 0 && e.querySelectorAll(o.selectorTableRow).forEach((d) => {
152
- d.disabled = !1, d.selected = !1;
153
- }), I.has(y) && I.get(y)(l);
155
+ l.detail.selectedRows.length === 0 && e.querySelectorAll(o.selectorTableRow).forEach((p) => {
156
+ p.disabled = !1, p.selected = !1;
157
+ }), _.has(M) && _.get(M)(l);
154
158
  });
155
- }, Q = () => {
159
+ }, it = () => {
156
160
  t.listen(e, o.eventBeforeChangeSelectionAll, (l) => {
157
161
  l.stopPropagation(), l.detail.callback && l.detail.callback();
158
162
  });
159
- }, tt = (l) => {
160
- const d = e.querySelector("cds-table-header-row");
163
+ }, ct = (l) => {
164
+ const p = e.querySelector("cds-table-header-row");
161
165
  t.listen(l, i.eventClickSelectAll, (m) => {
162
- m.stopPropagation(), d.dispatchEvent(new CustomEvent(o.eventBeforeChangeSelectionAll, {
166
+ m.stopPropagation(), p.dispatchEvent(new CustomEvent(o.eventBeforeChangeSelectionAll, {
163
167
  bubbles: !0,
164
168
  cancelable: !0,
165
169
  composed: !0,
@@ -173,111 +177,142 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
173
177
  }
174
178
  }));
175
179
  });
176
- }, et = (l) => {
177
- t.listen(l, "keydown", (d) => {
178
- if (d.key === "Enter") {
179
- p && p.show(), r.totalItems = 0, e.querySelector("cds-table-body").replaceChildren();
180
+ }, at = (l) => {
181
+ t.listen(l, "keydown", (p) => {
182
+ if (p.key === "Enter") {
183
+ d && d.show(), a.totalItems = 0, e.querySelector("cds-table-body").replaceChildren();
180
184
  const u = { search: l.value || "", offset: 0 };
181
185
  c.fetchData(u).then(() => {
182
- r.setData(c), p && p.hide();
186
+ a.setData(c), d && d.hide();
183
187
  });
184
188
  }
185
189
  });
186
- }, nt = (l) => {
187
- t.listen(l, o.eventSearchInput, (d) => {
188
- if ((d.detail.value || "") === "") {
190
+ }, rt = (l) => {
191
+ t.listen(l, o.eventSearchInput, (p) => {
192
+ if ((p.detail.value || "") === "") {
189
193
  const u = { search: "", offset: 0 };
190
- p && p.show(), c.fetchData(u).then(() => {
191
- p && p.hide(), r.setData(c);
194
+ d && d.show(), c.fetchData(u).then(() => {
195
+ d && d.hide(), a.setData(c);
192
196
  });
193
197
  }
194
198
  });
195
- }, ot = (l) => {
196
- const d = l.querySelector("cds-icon-button, button:not([slot])");
197
- if (!d) return;
198
- l.caret = !1, t.listen(d, "click", (u) => {
199
- u.stopPropagation(), l.open = !l.open, l.classList.toggle("cds--overflow-menu--open", l.open);
200
- }), new MutationObserver(() => {
199
+ }, lt = (l) => {
200
+ l.caret = !1;
201
+ const p = l.querySelector("cds-icon-button, button:not([slot])"), m = l.querySelectorAll("cds-checkbox"), u = l.querySelectorAll("cds-modal-footer-button"), h = [...l.querySelectorAll("cds-checkbox-group")].map(r).map(St("noop", ["zoo", "filter", "field"])).reduce(
202
+ (v, g) => (v[g] = null, v),
203
+ { offset: 0 }
204
+ );
205
+ if (!p || !u) {
206
+ console.error("Improperly configured Batch Filter popover");
207
+ return;
208
+ }
209
+ new MutationObserver(() => {
201
210
  l.classList.toggle("cds--overflow-menu--open", l.open);
202
211
  }).observe(l, {
203
212
  attributes: !0,
204
213
  attributeFilter: ["open"]
205
214
  });
206
- }, st = () => {
207
- t.listen(r, s.eventPageSizeChanged, (l) => {
215
+ const f = Symbol(), C = Symbol(), I = [...u].reduce((v, g, N) => (g.hasAttribute("reset-filter") && v.set(f, g), g.hasAttribute("apply-filter") && v.set(C, g), v), /* @__PURE__ */ new Map()), D = () => {
216
+ const v = /* @__PURE__ */ new Map();
217
+ return m.forEach((g) => {
218
+ const N = g.getAttribute("id");
219
+ if (!N || !N.includes(":")) return;
220
+ const [k, T] = N.split(":");
221
+ v.has(k) || v.set(k, []), g.checked && v.get(k).push(T);
222
+ }), v;
223
+ };
224
+ if (I.has(f)) {
225
+ const v = (g) => g.checked = !1;
226
+ t.listen(I.get(f), "click", (g) => {
227
+ g.stopPropagation(), m.forEach(v), d && d.show(), c.fetchData(h).then(() => {
228
+ a && a.setData(c), d && d.hide(), l.open = !1;
229
+ });
230
+ });
231
+ }
232
+ I.has(C) && t.listen(I.get(C), "click", (v) => {
233
+ v.stopPropagation();
234
+ const g = [...D()].reduce((N, [k, T]) => (N[k] = T === [] ? null : T, N), { offset: 0 });
235
+ d && d.show(), c.fetchData(g).then(() => {
236
+ a && a.setData(c), d && d.hide(), l.open = !1;
237
+ });
238
+ }), t.listen(p, "click", (v) => {
239
+ v.stopPropagation(), l.open = !l.open, l.classList.toggle("cds--overflow-menu--open", l.open);
240
+ });
241
+ }, dt = () => {
242
+ t.listen(a, s.eventPageSizeChanged, (l) => {
208
243
  const m = {
209
- limit: r.pageSize,
244
+ limit: a.pageSize,
210
245
  offset: 0
211
246
  };
212
247
  c.fetchData(m).then(() => {
213
- r.setData(c);
248
+ a.setData(c);
214
249
  });
215
250
  });
216
- }, it = () => {
251
+ }, pt = () => {
217
252
  let l = null;
218
- t.listen(r, s.eventChangeCurrent, (d) => {
219
- const { page: m } = d.detail, u = r.pageSize, v = (m - 1) * u;
220
- if (v !== l) {
221
- l = v;
222
- const E = { limit: u, offset: v };
223
- c.fetchData(E).then(() => {
224
- r.setData(c), p && p.hide();
253
+ t.listen(a, s.eventChangeCurrent, (p) => {
254
+ const { page: m } = p.detail, u = a.pageSize, h = (m - 1) * u;
255
+ if (h !== l) {
256
+ l = h;
257
+ const f = { limit: u, offset: h };
258
+ c.fetchData(f).then(() => {
259
+ a.setData(c), d && d.hide();
225
260
  });
226
261
  }
227
262
  });
228
263
  };
229
- c && r && (st(), it()), c && g && (et(g), nt(g));
230
- const B = S.querySelectorAll("cds-popover[data-batch-filter]");
231
- B && B.forEach(ot), e.isSelectable && (K(), Q(), f && tt(f)), c && j && J();
232
- const z = {
264
+ c && a && (dt(), pt()), c && b && (at(b), rt(b));
265
+ const F = P.querySelectorAll("cds-popover[data-batch-filter]");
266
+ c && F && F.forEach(lt), e.isSelectable && (st(), it(), S && ct(S)), c && J && ot();
267
+ const G = {
233
268
  zoo: {
234
269
  event: {
235
270
  row: {
236
- click: Y,
237
- expand: W,
271
+ click: K,
272
+ expand: Q,
238
273
  check: {
239
- one: $,
240
- all: Z
274
+ one: nt,
275
+ all: et
241
276
  }
242
277
  },
243
278
  column: {
244
- sort: X
279
+ sort: tt
245
280
  }
246
281
  }
247
282
  }
248
283
  };
249
- lt(n).forEach(([l, d]) => {
250
- dt(l, z) && pt(l, z)(d);
284
+ ft(n).forEach(([l, p]) => {
285
+ gt(l, G) && Et(l, G)(p);
251
286
  });
252
- }, Et = (t) => {
287
+ }, _t = (t) => {
253
288
  const e = document.createElement("cds-pagination");
254
289
  return e.backwardText = "Previous page", e.forwardText = "Next page", e.itemsPerPageText = "Items per page:", e.pageSize = t.limit, e.size = "lg", [10, 25, 50, 100, 500].forEach((n) => {
255
290
  const o = document.createElement("cds-select-item");
256
291
  o.value = n.toString(), o.textContent = n.toString(), e.appendChild(o);
257
292
  }), e.setData = (n) => {
258
293
  if (n.isPaginated) {
259
- const { count: o } = ut(["count"], n.data), s = Math.ceil(o / n.limit), i = 100;
260
- e.pagesUnknown = s > i, e.totalItems = o;
294
+ const { count: o } = It(["count"], n.data), s = Math.ceil(o / n.limit), i = 100;
295
+ e.pagesUnknown = s > i, e.totalItems = o, e.pagesUnknown ? e.formatStatusWithIndeterminateTotal = ({ start: c, end: a }) => `${c}–${a} of ${o} item${o <= 1 ? "" : "s"}` : delete e.formatStatusWithIndeterminateTotal;
261
296
  }
262
297
  }, e;
263
- }, bt = (t) => {
298
+ }, kt = (t) => {
264
299
  if (!t.parentNode) {
265
300
  console.error("[Carbon Table] Cannot create skeleton: table has no parent node");
266
301
  return;
267
302
  }
268
- const e = !!t.querySelector("cds-table-header-title"), n = !!t.querySelector("cds-table-header-description"), o = !!t.querySelector("cds-table-toolbar"), s = [...t.querySelectorAll("cds-table-header-cell")].length, i = t.hasAttribute("zebra"), c = t.getAttribute("size"), r = document.createElement("cds-table-skeleton");
269
- r.showHeader = e || n, r.showToolbar = o, r.zebra = i, r.columnCount = s, r.size = c, r.show = () => r.classList.remove("hidden"), r.hide = () => r.classList.add("hidden");
270
- const p = document.createElement("div");
271
- return p.classList.add("zoo-datatable-skeleton-wrapper"), t.parentNode.insertBefore(p, t), p.appendChild(r), p.appendChild(t), r;
272
- }, Ct = (t, e) => {
303
+ const e = !!t.querySelector("cds-table-header-title"), n = !!t.querySelector("cds-table-header-description"), o = !!t.querySelector("cds-table-toolbar"), s = [...t.querySelectorAll("cds-table-header-cell")].length, i = t.hasAttribute("zebra"), c = t.getAttribute("size"), a = document.createElement("cds-table-skeleton");
304
+ a.showHeader = e || n, a.showToolbar = o, a.zebra = i, a.columnCount = s, a.size = c, a.show = () => a.classList.remove("hidden"), a.hide = () => a.classList.add("hidden");
305
+ const d = document.createElement("div");
306
+ return d.classList.add("zoo-datatable-skeleton-wrapper"), t.parentNode.insertBefore(d, t), d.appendChild(a), d.appendChild(t), a;
307
+ }, yt = (t, e) => {
273
308
  const n = e.getAttribute("zoo-url-api"), o = parseInt(e.getAttribute("data-page-size") || 25, 10);
274
309
  if (n)
275
- return new rt(t, n, e, {
310
+ return new vt(t, n, e, {
276
311
  urlParams: { limit: o }
277
312
  });
278
- }, St = {
313
+ }, Tt = {
279
314
  selector: "cds-table",
280
- import: [gt, G],
315
+ import: [Nt, Y],
281
316
  /**
282
317
  * Initialize a Carbon data table component.
283
318
  *
@@ -308,27 +343,27 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
308
343
  * @this {Panel} The panel instance
309
344
  */
310
345
  init: function(t) {
311
- const e = a(t), n = this, o = Ct(n, t);
312
- if (at(o)) {
346
+ const e = r(t), n = this, o = yt(n, t);
347
+ if (ht(o)) {
313
348
  t.dataBinder = o;
314
- const s = bt(t);
349
+ const s = kt(t);
315
350
  t.skeleton = s;
316
- const i = Et(o);
351
+ const i = _t(o);
317
352
  t.pagination = i, t.after(i), o.fetchData().then((c) => {
318
- s.hide(), i.setData(o), q(n, t, e);
353
+ s.hide(), i.setData(o), V(n, t, e);
319
354
  });
320
355
  } else
321
- q(n, t, e);
356
+ V(n, t, e);
322
357
  }
323
- }, b = () => import("./index-BMquNDkd.js"), It = {
358
+ }, A = () => import("./index-BYHXKkvf.js"), wt = {
324
359
  selector: "cds-modal",
325
- import: b,
360
+ import: A,
326
361
  /**
327
362
  * @param {CDSModal} modal - The CDSModal custom element instance
328
363
  * @this {Panel} The panel instance
329
364
  */
330
365
  init: function(t) {
331
- const e = customElements.get("cds-modal"), n = a(t), o = h(t, "open-event", "event");
366
+ const e = customElements.get("cds-modal"), n = r(t), o = E(t, "open-event", "event");
332
367
  o && this.listen(t, "cds-modal-beingopened", (c) => {
333
368
  this.dispatchPanelEvent(o, {
334
369
  ...n,
@@ -349,7 +384,7 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
349
384
  triggeredBy: c.detail?.triggeredBy
350
385
  });
351
386
  });
352
- const i = h(t, "primary-event", "event");
387
+ const i = E(t, "primary-event", "event");
353
388
  i && this.listen(t, "cds-modal-primary-focus", (c) => {
354
389
  this.dispatchPanelEvent(i, {
355
390
  ...n,
@@ -357,39 +392,39 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
357
392
  });
358
393
  });
359
394
  }
360
- }, At = {
395
+ }, Ot = {
361
396
  "cds-modal-header": {
362
- import: b
397
+ import: A
363
398
  // No event handling - presentational header wrapper
364
399
  },
365
400
  "cds-modal-heading": {
366
- import: b
401
+ import: A
367
402
  // No event handling - presentational heading element
368
403
  },
369
404
  "cds-modal-label": {
370
- import: b
405
+ import: A
371
406
  // No event handling - presentational label element
372
407
  },
373
408
  "cds-modal-close-button": {
374
- import: b
409
+ import: A
375
410
  // No event handling - close button handled by modal itself via data-modal-close
376
411
  },
377
412
  "cds-modal-body": {
378
- import: b
413
+ import: A
379
414
  // No event handling - presentational body wrapper
380
415
  },
381
416
  "cds-modal-body-content": {
382
- import: b
417
+ import: A
383
418
  // No event handling - presentational content wrapper
384
419
  },
385
420
  "cds-modal-footer": {
386
- import: b
421
+ import: A
387
422
  // No event handling - presentational footer wrapper
388
423
  },
389
424
  "cds-modal-footer-button": {
390
- import: b,
425
+ import: A,
391
426
  init: function(t) {
392
- const e = a(t);
427
+ const e = r(t);
393
428
  if (t.getAttribute("type") === "submit") {
394
429
  this.listen(t, "click", (s) => {
395
430
  let i = t.closest("form");
@@ -407,22 +442,22 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
407
442
  });
408
443
  }
409
444
  }
410
- }, U = () => import("./index-CBICHiFD.js"), Dt = {
445
+ }, $ = () => import("./index-BEyCs2cc.js"), Rt = {
411
446
  selector: "cds-menu",
412
- import: U,
447
+ import: $,
413
448
  /**
414
449
  * @param {CDSMenu} menu - The CDSMenu custom element instance
415
450
  * @this {Panel} The panel instance
416
451
  */
417
452
  init: function(t) {
418
- const e = a(t), n = h(t, "open-event");
453
+ const e = r(t), n = E(t, "open-event");
419
454
  n && this.listen(t, "cds-menu-opened", (s) => {
420
455
  this.dispatchPanelEvent(n, {
421
456
  ...e,
422
457
  action: "opened"
423
458
  });
424
459
  });
425
- const o = h(t, "close-event");
460
+ const o = E(t, "close-event");
426
461
  o && this.listen(t, "cds-menu-closed", (s) => {
427
462
  this.dispatchPanelEvent(o, {
428
463
  ...e,
@@ -430,33 +465,33 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
430
465
  });
431
466
  }), this.listen(t, "click", (s) => {
432
467
  if (s.target.tagName === "CDS-MENU-ITEM") {
433
- const i = a(s.target), c = i.event || e.event;
468
+ const i = r(s.target), c = i.event || e.event;
434
469
  c && (s.stopPropagation(), this.dispatchPanelEvent(c, {
435
470
  ...e,
436
471
  ...i
437
472
  }));
438
473
  }
439
474
  }), this.listen(t, "cds-item-changed", (s) => {
440
- const i = s.detail.triggeredBy, c = a(i), r = c.event || e.event;
441
- r && this.dispatchPanelEvent(r, {
475
+ const i = s.detail.triggeredBy, c = r(i), a = c.event || e.event;
476
+ a && this.dispatchPanelEvent(a, {
442
477
  ...e,
443
478
  ...c,
444
479
  action: "selection-changed"
445
480
  });
446
481
  });
447
482
  }
448
- }, Nt = {
483
+ }, Mt = {
449
484
  "cds-menu-button": {
450
- import: U,
485
+ import: $,
451
486
  /**
452
487
  * @param {CDSMenuButton} menuButton - The CDSMenuButton custom element instance
453
488
  * @this {Panel} The panel instance
454
489
  */
455
490
  init: function(t) {
456
- const e = a(t), n = t.querySelector("cds-menu");
491
+ const e = r(t), n = t.querySelector("cds-menu");
457
492
  n && this.listen(n, "click", (o) => {
458
493
  if (o.target.tagName === "CDS-MENU-ITEM") {
459
- const s = a(o.target), i = s.event || e.event;
494
+ const s = r(o.target), i = s.event || e.event;
460
495
  i && (o.stopPropagation(), this.dispatchPanelEvent(i, {
461
496
  ...e,
462
497
  ...s
@@ -465,15 +500,15 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
465
500
  });
466
501
  }
467
502
  }
468
- }, V = () => import("./index-Bls8zdHV.js"), x = () => import("./index-B4SxU_Hu.js").then((t) => t.i), Pt = () => import("./index-BeMnerDj.js"), _t = () => import("./index-C6bOvXSf.js"), kt = {
503
+ }, X = () => import("./index-Bh3jqbKV.js"), j = () => import("./index-CwpgmKTP.js").then((t) => t.i), Bt = () => import("./index-Byf_K1x1.js"), zt = () => import("./index-Czs-UAWh.js"), Lt = {
469
504
  selector: "cds-button",
470
- import: V,
505
+ import: X,
471
506
  /**
472
507
  * @param {CDSButton} button - The CDSButton custom element instance
473
508
  * @this {Panel} The panel instance
474
509
  */
475
510
  init: function(t) {
476
- const e = a(t);
511
+ const e = r(t);
477
512
  if (t.getAttribute("type") === "submit") {
478
513
  this.listen(t, "click", (s) => {
479
514
  let i = t.closest("form");
@@ -487,22 +522,22 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
487
522
  }
488
523
  const o = e.event;
489
524
  o && this.listen(t, "click", (s) => {
490
- s.stopPropagation(), this.dispatchPanelEvent(o, e);
525
+ s.stopPropagation(), this.dispatchPanelEvent(o, r(t));
491
526
  });
492
527
  }
493
- }, yt = {
528
+ }, qt = {
494
529
  // Icon Button (non-toggle)
495
530
  "cds-icon-button:not([data-toggle])": {
496
- import: x,
531
+ import: j,
497
532
  event: "click",
498
533
  getData: (t, e) => e
499
534
  },
500
535
  // Icon Toggle - Toggles Carbon's built-in isSelected state for ghost icon buttons
501
536
  // Visual styling (subtle background change) is handled by Carbon's CSS
502
537
  "cds-icon-button[data-toggle]": {
503
- import: x,
538
+ import: j,
504
539
  init: function(t) {
505
- const e = a(t);
540
+ const e = r(t);
506
541
  e.event && this.listen(t, "click", (n) => {
507
542
  n.stopPropagation(), t.isSelected = !t.isSelected, this.dispatchPanelEvent(e.event, {
508
543
  ...e,
@@ -513,15 +548,15 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
513
548
  },
514
549
  // FAB (Floating Action Button) - just a styled button
515
550
  "cds-button[data-fab]": {
516
- import: V,
551
+ import: X,
517
552
  event: "click",
518
553
  getData: (t, e) => e
519
554
  },
520
555
  // Copy Button - Button that copies text to clipboard
521
556
  "cds-copy-button": {
522
- import: _t,
557
+ import: zt,
523
558
  init: function(t) {
524
- const e = a(t), n = e.event;
559
+ const e = r(t), n = e.event;
525
560
  n && this.listen(t, "click", (s) => {
526
561
  s.stopPropagation(), this.dispatchPanelEvent(n, {
527
562
  ...e,
@@ -545,11 +580,11 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
545
580
  },
546
581
  // Combo Button - composed of button + menu
547
582
  "cds-combo-button": {
548
- import: Pt,
583
+ import: Bt,
549
584
  init: function(t) {
550
- const e = a(t);
585
+ const e = r(t);
551
586
  e.event && this.listen(t, "click", (o) => {
552
- const s = o.composedPath(), i = s.some((r) => r.tagName === "CDS-MENU-ITEM"), c = s.some((r) => r.tagName === "CDS-ICON-BUTTON");
587
+ const s = o.composedPath(), i = s.some((a) => a.tagName === "CDS-MENU-ITEM"), c = s.some((a) => a.tagName === "CDS-ICON-BUTTON");
553
588
  !i && !c && (o.stopPropagation(), this.dispatchPanelEvent(e.event, {
554
589
  ...e,
555
590
  action: "primary"
@@ -558,7 +593,7 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
558
593
  const n = t.querySelector("cds-menu");
559
594
  n && this.listen(n, "click", (o) => {
560
595
  if (o.target.tagName === "CDS-MENU-ITEM") {
561
- const s = a(o.target), i = s.event || h(t, "menu-event", "event");
596
+ const s = r(o.target), i = s.event || E(t, "menu-event", "event");
562
597
  i && this.dispatchPanelEvent(i, {
563
598
  ...e,
564
599
  ...s,
@@ -568,15 +603,15 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
568
603
  });
569
604
  }
570
605
  }
571
- }, Tt = () => import("./index-DNWjc2SJ.js"), wt = () => import("./index-Bff6B9vY.js"), Ot = () => import("./index-BbJQIwkY.js"), Rt = {
606
+ }, xt = () => import("./index-DDUqY4Rl.js"), Ft = () => import("./index-BwhAoVy-.js"), Gt = () => import("./index-BrqEja9V.js"), Ut = {
572
607
  selector: "cds-dropdown",
573
- import: Tt,
608
+ import: xt,
574
609
  /**
575
610
  * @param {CDSDropdown} dropdown - The CDSDropdown custom element instance
576
611
  * @this {Panel} The panel instance
577
612
  */
578
613
  init: function(t) {
579
- const e = customElements.get("cds-dropdown"), n = a(t), o = n.event;
614
+ const e = customElements.get("cds-dropdown"), n = r(t), o = n.event;
580
615
  o && this.listen(t, e.eventSelect, (i) => {
581
616
  this.dispatchPanelEvent(o, {
582
617
  ...n,
@@ -593,16 +628,16 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
593
628
  });
594
629
  });
595
630
  }
596
- }, Mt = {
631
+ }, Vt = {
597
632
  // Combo Box
598
633
  "cds-combo-box": {
599
- import: wt,
634
+ import: Ft,
600
635
  /**
601
636
  * @param {CDSComboBox} comboBox - The CDSComboBox custom element instance
602
637
  * @this {Panel} The panel instance
603
638
  */
604
639
  init: function(t) {
605
- const e = customElements.get("cds-combo-box"), n = a(t), o = n.event;
640
+ const e = customElements.get("cds-combo-box"), n = r(t), o = n.event;
606
641
  o && this.listen(t, e.eventSelect, (i) => {
607
642
  const c = i.detail?.item;
608
643
  this.dispatchPanelEvent(o, {
@@ -623,13 +658,13 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
623
658
  },
624
659
  // Multi Select
625
660
  "cds-multi-select": {
626
- import: Ot,
661
+ import: Gt,
627
662
  /**
628
663
  * @param {CDSMultiSelect} multiSelect - The CDSMultiSelect custom element instance
629
664
  * @this {Panel} The panel instance
630
665
  */
631
666
  init: function(t) {
632
- const e = customElements.get("cds-multi-select"), n = a(t), o = n.event;
667
+ const e = customElements.get("cds-multi-select"), n = r(t), o = n.event;
633
668
  o && this.listen(t, e.eventSelect, (i) => {
634
669
  const c = t.value ? t.value.split(",") : [];
635
670
  this.dispatchPanelEvent(o, {
@@ -646,51 +681,51 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
646
681
  });
647
682
  }
648
683
  }
649
- }, Bt = () => import("./index-CkxGsCJy.js"), zt = () => import("./index-TJL02uup.js"), Lt = {
684
+ }, jt = () => import("./index-Bk2MEnMu.js"), Ht = () => import("./index-tdmIA8Xp.js"), Wt = {
650
685
  selector: "cds-date-picker",
651
- import: Bt,
686
+ import: jt,
652
687
  /**
653
688
  * @param {CDSDatePicker} datePicker - The CDSDatePicker custom element instance
654
689
  * @this {Panel} The panel instance
655
690
  */
656
691
  init: function(t) {
657
- const e = customElements.get("cds-date-picker"), n = a(t), o = t.querySelector('cds-date-picker-input[kind="from"]'), s = t.querySelector('cds-date-picker-input[kind="to"]'), i = o && s, c = n.event;
658
- c && this.listen(t, e.eventChange, (p) => {
659
- let g;
660
- i ? g = {
692
+ const e = customElements.get("cds-date-picker"), n = r(t), o = t.querySelector('cds-date-picker-input[kind="from"]'), s = t.querySelector('cds-date-picker-input[kind="to"]'), i = o && s, c = n.event;
693
+ c && this.listen(t, e.eventChange, (d) => {
694
+ let b;
695
+ i ? b = {
661
696
  from: o.value || "",
662
697
  to: s.value || ""
663
- } : g = t.value, this.dispatchPanelEvent(c, {
698
+ } : b = t.value, this.dispatchPanelEvent(c, {
664
699
  ...n,
665
- value: g
700
+ value: b
666
701
  });
667
702
  });
668
- const r = t.getAttribute("error-event");
669
- r && this.listen(t, e.eventFlatpickrError, (p) => {
670
- this.dispatchPanelEvent(r, {
703
+ const a = t.getAttribute("error-event");
704
+ a && this.listen(t, e.eventFlatpickrError, (d) => {
705
+ this.dispatchPanelEvent(a, {
671
706
  ...n,
672
- error: p.detail
707
+ error: d.detail
673
708
  });
674
709
  });
675
710
  }
676
- }, qt = {
711
+ }, Yt = {
677
712
  "cds-time-picker": {
678
- import: zt,
713
+ import: Ht,
679
714
  event: "cds-time-picker-changed",
680
715
  getData: (t, e, n) => ({
681
716
  ...e,
682
717
  value: n.value
683
718
  })
684
719
  }
685
- }, xt = () => import("./index-DUtoSCTU.js"), Ft = {
720
+ }, $t = () => import("./index-BODxU-Mu.js"), Xt = {
686
721
  selector: "cds-file-uploader",
687
- import: xt,
722
+ import: $t,
688
723
  /**
689
724
  * @param {CDSFileUploader} uploader - The CDSFileUploader custom element instance
690
725
  * @this {Panel} The panel instance
691
726
  */
692
727
  init: function(t) {
693
- const e = a(t), n = e.event;
728
+ const e = r(t), n = e.event;
694
729
  if (n) {
695
730
  const s = t.querySelector('input[type="file"]');
696
731
  s && this.listen(s, "change", (i) => {
@@ -709,15 +744,15 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
709
744
  });
710
745
  });
711
746
  }
712
- }, Gt = () => import("./index-uxZPrL2m.js"), Ut = () => import("./index-D9sRIKMQ.js"), Vt = () => import("./index-B5DpS-cb.js"), Ht = {
747
+ }, Zt = () => import("./index-nfJ9ioGW.js"), Jt = () => import("./index-BTUYIkmg.js"), Kt = () => import("./index-xipeWGGU.js"), Qt = {
713
748
  selector: "cds-tabs",
714
- import: Gt,
749
+ import: Zt,
715
750
  /**
716
751
  * @param {CDSTabs} tabs - The CDSTabs custom element instance
717
752
  * @this {Panel} The panel instance
718
753
  */
719
754
  init: function(t) {
720
- const e = customElements.get("cds-tabs"), n = a(t), o = t.getAttribute("before-select-event");
755
+ const e = customElements.get("cds-tabs"), n = r(t), o = t.getAttribute("before-select-event");
721
756
  o && this.listen(t, e.eventBeforeSelect, (i) => {
722
757
  this.dispatchPanelEvent(o, {
723
758
  ...n,
@@ -727,31 +762,31 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
727
762
  });
728
763
  const s = n.event;
729
764
  s && this.listen(t, e.eventSelect, (i) => {
730
- const c = i.detail.item, r = a(c);
765
+ const c = i.detail.item, a = r(c);
731
766
  this.dispatchPanelEvent(s, {
732
767
  ...n,
733
- ...r,
768
+ ...a,
734
769
  tabValue: i.detail.value
735
770
  });
736
771
  });
737
772
  }
738
- }, jt = {
773
+ }, te = {
739
774
  // Accordion
740
775
  "cds-accordion": {
741
- import: Ut,
776
+ import: Jt,
742
777
  /**
743
778
  * @param {CDSAccordion} accordion - The CDSAccordion custom element instance
744
779
  * @this {Panel} The panel instance
745
780
  */
746
781
  init: function(t) {
747
- const e = customElements.get("cds-accordion-item"), n = a(t);
782
+ const e = customElements.get("cds-accordion-item"), n = r(t);
748
783
  [...t.querySelectorAll("cds-accordion-item")].forEach((s) => {
749
- const i = a(s), c = i.event || n.event;
750
- c && this.listen(s, e.eventToggle, (r) => {
784
+ const i = r(s), c = i.event || n.event;
785
+ c && this.listen(s, e.eventToggle, (a) => {
751
786
  this.dispatchPanelEvent(c, {
752
787
  ...n,
753
788
  ...i,
754
- open: r.detail.open
789
+ open: a.detail.open
755
790
  });
756
791
  });
757
792
  });
@@ -759,13 +794,13 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
759
794
  },
760
795
  // Content Switcher
761
796
  "cds-content-switcher": {
762
- import: Vt,
797
+ import: Kt,
763
798
  /**
764
799
  * @param {CDSContentSwitcher} switcher - The CDSContentSwitcher custom element instance
765
800
  * @this {Panel} The panel instance
766
801
  */
767
802
  init: function(t) {
768
- const e = customElements.get("cds-content-switcher"), n = a(t), o = t.getAttribute("before-select-event");
803
+ const e = customElements.get("cds-content-switcher"), n = r(t), o = t.getAttribute("before-select-event");
769
804
  o && this.listen(t, e.eventBeforeSelect, (i) => {
770
805
  this.dispatchPanelEvent(o, {
771
806
  ...n,
@@ -775,65 +810,65 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
775
810
  });
776
811
  const s = n.event;
777
812
  s && this.listen(t, e.eventSelect, (i) => {
778
- const c = i.detail.item, r = a(c);
813
+ const c = i.detail.item, a = r(c);
779
814
  this.dispatchPanelEvent(s, {
780
815
  ...n,
781
- ...r,
816
+ ...a,
782
817
  value: c.getAttribute("value")
783
818
  });
784
819
  });
785
820
  }
786
821
  }
787
- }, w = () => import("./index-CWlg_Hu2.js"), Yt = {
822
+ }, z = () => import("./index-DQ4Y-fiZ.js"), ee = {
788
823
  selector: "cds-breadcrumb",
789
- import: w,
824
+ import: z,
790
825
  /**
791
826
  * @param {CDSBreadcrumb} breadcrumb - The CDSBreadcrumb custom element instance
792
827
  * @this {Panel} The panel instance
793
828
  */
794
829
  init: function(t) {
795
- const e = a(t), n = e.event;
796
- if (n) {
797
- const o = (i) => {
798
- this.dispatchPanelEvent(n, {
799
- ...e,
800
- ...i
830
+ const e = this, n = r(t), o = n.event;
831
+ if (o) {
832
+ const s = (c) => {
833
+ e.dispatchPanelEvent(o, {
834
+ ...n,
835
+ ...c
801
836
  });
802
837
  };
803
- this.listen(t, "click", (i) => {
804
- const c = i.target.closest("cds-breadcrumb-link");
805
- if (c) {
806
- i.preventDefault(), i.stopPropagation();
807
- const r = a(c);
808
- o(r);
838
+ e.listen(t, "click", (c) => {
839
+ const a = c.target.closest("cds-breadcrumb-link");
840
+ if (a) {
841
+ c.preventDefault(), c.stopPropagation();
842
+ const d = r(a);
843
+ s(d);
809
844
  }
810
845
  });
811
- const s = t.querySelector("cds-overflow-menu-body");
812
- s && this.listen(s, "cds-overflow-menu-item-clicked", (i) => {
813
- i.stopPropagation();
814
- const c = a(i.target);
815
- o(c);
846
+ const i = t.querySelector("cds-overflow-menu-body");
847
+ i && e.listen(i, "cds-overflow-menu-item-clicked", (c) => {
848
+ c.stopPropagation();
849
+ const a = r(c.target);
850
+ s(a);
816
851
  });
817
852
  }
818
853
  }
819
- }, Wt = {
854
+ }, ne = {
820
855
  // Breadcrumb Item - Wrapper for breadcrumb links
821
856
  "cds-breadcrumb-item": {
822
- import: w
857
+ import: z
823
858
  // No event handling - presentational wrapper
824
859
  },
825
860
  // Breadcrumb Link - Individual breadcrumb link
826
861
  "cds-breadcrumb-link": {
827
- import: w,
862
+ import: z,
828
863
  event: "click",
829
864
  getData: (t, e, n) => (t.preventDefault(), {
830
865
  ...e,
831
866
  href: n.getAttribute("href")
832
867
  })
833
868
  }
834
- }, Xt = () => import("./index-4WNeLsiw.js"), Zt = () => import("./index-GDVDUQtg.js"), $t = () => import("./index-Bunat0DP.js"), Jt = () => import("./index-CR3DrmQi.js"), Kt = () => import("./index-B0nToMRj.js"), Qt = {
869
+ }, oe = () => import("./index-CcK76f0I.js"), se = () => import("./index-DSMPUWJU.js"), ie = () => import("./index-tQGRhvw0.js"), ce = () => import("./index-B8fGrrzJ.js"), ae = () => import("./index-D-iqTNbL.js"), re = {
835
870
  selector: "cds-text-input",
836
- import: Xt,
871
+ import: oe,
837
872
  multiEvent: !0,
838
873
  events: [
839
874
  {
@@ -853,10 +888,10 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
853
888
  })
854
889
  }
855
890
  ]
856
- }, te = {
891
+ }, le = {
857
892
  // Text Area
858
893
  "cds-textarea": {
859
- import: Zt,
894
+ import: se,
860
895
  multiEvent: !0,
861
896
  events: [
862
897
  {
@@ -879,7 +914,7 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
879
914
  },
880
915
  // Number Input
881
916
  "cds-number-input": {
882
- import: $t,
917
+ import: ie,
883
918
  event: "cds-number-input",
884
919
  getData: (t, e, n) => ({
885
920
  ...e,
@@ -890,7 +925,7 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
890
925
  },
891
926
  // Password Input
892
927
  "cds-password-input": {
893
- import: Jt,
928
+ import: ce,
894
929
  multiEvent: !0,
895
930
  events: [
896
931
  {
@@ -913,26 +948,26 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
913
948
  },
914
949
  // Search
915
950
  "cds-search": {
916
- import: Kt,
951
+ import: ae,
917
952
  event: "cds-search-input",
918
953
  getData: (t, e, n) => ({
919
954
  ...e,
920
955
  value: n.value
921
956
  })
922
957
  }
923
- }, ee = () => import("./index-hH_m653R.js"), ne = () => import("./index-B5GB0rQW.js"), oe = () => import("./index-4XJJobHw.js"), se = () => import("./index-CYIcfuAW.js"), ie = () => import("./index-7cXLLw89.js"), ce = {
958
+ }, de = () => import("./index-BPRteboN.js"), pe = () => import("./index-Cd1j7Qp1.js"), me = () => import("./index-CyvZ9jxn.js"), ue = () => import("./index-C5s9Z5Ou.js"), he = () => import("./index-CO_QGXLN.js"), ve = {
924
959
  selector: "cds-checkbox",
925
- import: ee,
960
+ import: de,
926
961
  event: "cds-checkbox-changed",
927
962
  getData: (t, e, n) => ({
928
963
  ...e,
929
964
  checked: t.detail.checked,
930
965
  value: n.value
931
966
  })
932
- }, ae = {
967
+ }, fe = {
933
968
  // Radio Button Group - only listen to the group, not individual buttons
934
969
  "cds-radio-button-group": {
935
- import: ne,
970
+ import: pe,
936
971
  event: "cds-radio-button-group-changed",
937
972
  getData: (t, e) => ({
938
973
  ...e,
@@ -941,7 +976,7 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
941
976
  },
942
977
  // Toggle
943
978
  "cds-toggle": {
944
- import: oe,
979
+ import: me,
945
980
  event: "cds-toggle-changed",
946
981
  getData: (t, e) => ({
947
982
  ...e,
@@ -951,7 +986,7 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
951
986
  },
952
987
  // Select
953
988
  "cds-select": {
954
- import: se,
989
+ import: ue,
955
990
  event: "cds-select-selected",
956
991
  getData: (t, e) => ({
957
992
  ...e,
@@ -960,13 +995,13 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
960
995
  },
961
996
  // Slider
962
997
  "cds-slider": {
963
- import: ie,
998
+ import: he,
964
999
  /**
965
1000
  * @param {CDSSlider} slider - The CDSSlider custom element instance
966
1001
  * @this {Panel} The panel instance
967
1002
  */
968
1003
  init: function(t) {
969
- const e = a(t), n = e.event;
1004
+ const e = r(t), n = e.event;
970
1005
  n && this.listen(t, "cds-slider-changed", (s) => {
971
1006
  this.dispatchPanelEvent(n, {
972
1007
  ...e,
@@ -982,21 +1017,21 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
982
1017
  });
983
1018
  }
984
1019
  }
985
- }, O = () => import("./index-DSOPjl5x.js"), re = {
1020
+ }, L = () => import("./index-t9TINCcm.js"), ge = {
986
1021
  selector: "cds-tag",
987
- import: O,
1022
+ import: L,
988
1023
  event: "click",
989
1024
  getData: (t, e) => e
990
- }, le = {
1025
+ }, Ee = {
991
1026
  // Dismissible tags (closeable tags with X button)
992
1027
  "cds-dismissible-tag": {
993
- import: O,
1028
+ import: L,
994
1029
  /**
995
1030
  * @param {CDSDismissibleTag} tag - The CDSDismissibleTag custom element instance
996
1031
  * @this {Panel} The panel instance
997
1032
  */
998
1033
  init: function(t) {
999
- const e = a(t), n = t.getAttribute("click-event");
1034
+ const e = r(t), n = t.getAttribute("click-event");
1000
1035
  n && this.listen(t, "click", (s) => {
1001
1036
  s.target.closest("button") || this.dispatchPanelEvent(n, {
1002
1037
  ...e
@@ -1013,16 +1048,16 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
1013
1048
  },
1014
1049
  // Filter tags (closeable tags used for filters)
1015
1050
  "cds-filter-tag": {
1016
- import: O,
1051
+ import: L,
1017
1052
  event: "cds-filter-tag-closed",
1018
1053
  getData: (t, e) => ({
1019
1054
  ...e,
1020
1055
  action: "remove"
1021
1056
  })
1022
1057
  }
1023
- }, de = () => import("./index-CIiIAqrQ.js"), pe = () => import("./index-Cwb1pbm9.js"), me = () => import("./index-BGGDxbLL.js"), ue = {
1058
+ }, be = () => import("./index-Dr4evLL7.js"), Ce = () => import("./index-hhX-bWEv.js"), Se = () => import("./index-ByNfpHAO.js"), Ie = {
1024
1059
  selector: "cds-overflow-menu",
1025
- import: de,
1060
+ import: be,
1026
1061
  // We collect the menu attributes from the menu, but we listen for the
1027
1062
  // events on the menu body.
1028
1063
  /**
@@ -1030,28 +1065,28 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
1030
1065
  * @this {Panel} The panel instance
1031
1066
  */
1032
1067
  init: function(t) {
1033
- const e = a(t), n = e.event, o = t.querySelector("cds-overflow-menu-body");
1068
+ const e = r(t), n = e.event, o = t.querySelector("cds-overflow-menu-body");
1034
1069
  n && o && this.listen(o, "cds-overflow-menu-item-clicked", (s) => {
1035
1070
  s.stopPropagation();
1036
- const i = a(s.target);
1071
+ const i = r(s.target);
1037
1072
  this.dispatchPanelEvent(n, {
1038
1073
  ...e,
1039
1074
  ...i
1040
1075
  });
1041
1076
  });
1042
1077
  }
1043
- }, ve = {
1078
+ }, Ae = {
1044
1079
  // Structured List
1045
1080
  "cds-structured-list": {
1046
- import: pe,
1081
+ import: Ce,
1047
1082
  /**
1048
1083
  * @param {CDSStructuredList} list - The CDSStructuredList custom element instance
1049
1084
  * @this {Panel} The panel instance
1050
1085
  */
1051
1086
  init: function(t) {
1052
- const e = a(t);
1087
+ const e = r(t);
1053
1088
  [...t.querySelectorAll("cds-structured-list-row")].forEach((o) => {
1054
- const s = a(o), i = s.event || e.event;
1089
+ const s = r(o), i = s.event || e.event;
1055
1090
  i && this.listen(o, "click", (c) => {
1056
1091
  c.stopPropagation(), this.dispatchPanelEvent(i, {
1057
1092
  ...e,
@@ -1059,7 +1094,7 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
1059
1094
  });
1060
1095
  });
1061
1096
  }), t.hasAttribute("selection") && this.listen(t, "cds-structured-list-selected", (o) => {
1062
- const s = o.detail.row, i = a(s), c = e.event;
1097
+ const s = o.detail.row, i = r(s), c = e.event;
1063
1098
  c && this.dispatchPanelEvent(c, {
1064
1099
  ...e,
1065
1100
  ...i
@@ -1069,15 +1104,15 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
1069
1104
  },
1070
1105
  // Tree View
1071
1106
  "cds-tree-view": {
1072
- import: me,
1107
+ import: Se,
1073
1108
  /**
1074
1109
  * @param {CDSTreeView} tree - The CDSTreeView custom element instance
1075
1110
  * @this {Panel} The panel instance
1076
1111
  */
1077
1112
  init: function(t) {
1078
- const e = a(t);
1113
+ const e = r(t);
1079
1114
  this.listen(t, "cds-tree-node-selected", (o) => {
1080
- const s = o.detail.node, i = a(s), c = i.event || e.event;
1115
+ const s = o.detail.node, i = r(s), c = i.event || e.event;
1081
1116
  c && this.dispatchPanelEvent(c, {
1082
1117
  ...e,
1083
1118
  ...i,
@@ -1085,7 +1120,7 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
1085
1120
  label: s.getAttribute("label")
1086
1121
  });
1087
1122
  });
1088
- const n = h(t, "expand-event");
1123
+ const n = E(t, "expand-event");
1089
1124
  n && this.listen(t, "cds-tree-node-expanded", (o) => {
1090
1125
  this.dispatchPanelEvent(n, {
1091
1126
  ...e,
@@ -1095,18 +1130,18 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
1095
1130
  });
1096
1131
  }
1097
1132
  }
1098
- }, R = () => import("./index-Cnsy7Qk3.js"), he = {
1133
+ }, q = () => import("./index-CyR413wv.js"), De = {
1099
1134
  selector: "cds-toast-notification",
1100
- import: R,
1135
+ import: q,
1101
1136
  event: "cds-notification-closed",
1102
1137
  getData: (t, e) => ({
1103
1138
  ...e,
1104
1139
  action: "closed"
1105
1140
  })
1106
- }, ge = {
1141
+ }, Ne = {
1107
1142
  // Inline Notification
1108
1143
  "cds-inline-notification": {
1109
- import: R,
1144
+ import: q,
1110
1145
  event: "cds-notification-closed",
1111
1146
  getData: (t, e) => ({
1112
1147
  ...e,
@@ -1115,20 +1150,20 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
1115
1150
  },
1116
1151
  // Actionable Notification
1117
1152
  "cds-actionable-notification": {
1118
- import: R,
1153
+ import: q,
1119
1154
  /**
1120
1155
  * @param {CDSActionableNotification} notification - The CDSActionableNotification custom element instance
1121
1156
  * @this {Panel} The panel instance
1122
1157
  */
1123
1158
  init: function(t) {
1124
- const e = a(t), n = h(t, "close-event", "event");
1159
+ const e = r(t), n = E(t, "close-event", "event");
1125
1160
  n && this.listen(t, "cds-notification-closed", (s) => {
1126
1161
  this.dispatchPanelEvent(n, {
1127
1162
  ...e,
1128
1163
  action: "closed"
1129
1164
  });
1130
1165
  });
1131
- const o = h(t, "action-event");
1166
+ const o = E(t, "action-event");
1132
1167
  o && this.listen(t, "cds-notification-actioned", (s) => {
1133
1168
  this.dispatchPanelEvent(o, {
1134
1169
  ...e,
@@ -1137,24 +1172,24 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
1137
1172
  });
1138
1173
  }
1139
1174
  }
1140
- }, P = () => import("./index-Bi9WliCA.js"), fe = {
1175
+ }, w = () => import("./index-DIg4fP-p.js"), Pe = {
1141
1176
  selector: "cds-clickable-tile",
1142
- import: P,
1177
+ import: w,
1143
1178
  event: "click",
1144
1179
  getData: (t, e) => ({
1145
1180
  ...e,
1146
1181
  href: t.currentTarget.getAttribute("href")
1147
1182
  })
1148
- }, Ee = {
1183
+ }, _e = {
1149
1184
  // Expandable Tile
1150
1185
  "cds-expandable-tile": {
1151
- import: P,
1186
+ import: w,
1152
1187
  /**
1153
1188
  * @param {CDSExpandableTile} tile - The CDSExpandableTile custom element instance
1154
1189
  * @this {Panel} The panel instance
1155
1190
  */
1156
1191
  init: function(t) {
1157
- const e = a(t), n = t.getAttribute("before-toggle-event");
1192
+ const e = r(t), n = t.getAttribute("before-toggle-event");
1158
1193
  n && this.listen(t, "cds-expandable-tile-beingtoggled", (s) => {
1159
1194
  this.dispatchPanelEvent(n, {
1160
1195
  ...e,
@@ -1173,7 +1208,7 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
1173
1208
  },
1174
1209
  // Selectable Tile
1175
1210
  "cds-selectable-tile": {
1176
- import: P,
1211
+ import: w,
1177
1212
  event: "cds-selectable-tile-changed",
1178
1213
  getData: (t, e, n) => ({
1179
1214
  ...e,
@@ -1183,7 +1218,7 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
1183
1218
  },
1184
1219
  // Radio Tile
1185
1220
  "cds-radio-tile": {
1186
- import: P,
1221
+ import: w,
1187
1222
  event: "cds-selectable-tile-changed",
1188
1223
  getData: (t, e, n) => ({
1189
1224
  ...e,
@@ -1191,15 +1226,15 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
1191
1226
  value: n.value
1192
1227
  })
1193
1228
  }
1194
- }, be = () => import("./index-Ctna95NT.js"), Ce = () => import("./index-Z4ar01y-.js"), Se = () => import("./index-uwN33H1P.js"), Ie = {
1229
+ }, ke = () => import("./index-BMNd2Qad.js"), ye = () => import("./index-B16kSrMy.js"), Te = () => import("./index-CyF5Kef-.js"), we = {
1195
1230
  selector: "cds-progress-bar",
1196
- import: be,
1231
+ import: ke,
1197
1232
  /**
1198
1233
  * @param {CDSProgressBar} progressBar - The CDSProgressBar custom element instance
1199
1234
  * @this {Panel} The panel instance
1200
1235
  */
1201
1236
  init: function(t) {
1202
- const e = a(t);
1237
+ const e = r(t);
1203
1238
  if (e.event) {
1204
1239
  const n = new MutationObserver(() => {
1205
1240
  const o = parseFloat(t.getAttribute("value") || "0"), s = parseFloat(t.getAttribute("max") || "100");
@@ -1215,18 +1250,18 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
1215
1250
  }), t._progressObserver = n;
1216
1251
  }
1217
1252
  }
1218
- }, Ae = {
1253
+ }, Oe = {
1219
1254
  // Progress Indicator
1220
1255
  "cds-progress-indicator": {
1221
- import: Ce,
1256
+ import: ye,
1222
1257
  /**
1223
1258
  * @param {CDSProgressIndicator} indicator - The CDSProgressIndicator custom element instance
1224
1259
  * @this {Panel} The panel instance
1225
1260
  */
1226
1261
  init: function(t) {
1227
- const e = a(t);
1262
+ const e = r(t);
1228
1263
  this.listen(t, "cds-progress-step-click", (n) => {
1229
- const o = n.target, s = a(o), i = s.event || e.event;
1264
+ const o = n.target, s = r(o), i = s.event || e.event;
1230
1265
  i && this.dispatchPanelEvent(i, {
1231
1266
  ...e,
1232
1267
  ...s,
@@ -1238,13 +1273,13 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
1238
1273
  },
1239
1274
  // Inline Loading - Loading indicator for inline actions (e.g., form submit)
1240
1275
  "cds-inline-loading": {
1241
- import: Se,
1276
+ import: Te,
1242
1277
  /**
1243
1278
  * @param {CDSInlineLoading} inlineLoading - The CDSInlineLoading custom element instance
1244
1279
  * @this {Panel} The panel instance
1245
1280
  */
1246
1281
  init: function(t) {
1247
- const e = a(t), n = e.event;
1282
+ const e = r(t), n = e.event;
1248
1283
  n && this.listen(t, "cds-inline-loading-onsuccess", (s) => {
1249
1284
  this.dispatchPanelEvent(n, {
1250
1285
  ...e,
@@ -1256,10 +1291,10 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
1256
1291
  const s = new MutationObserver((i) => {
1257
1292
  i.forEach((c) => {
1258
1293
  if (c.attributeName === "status") {
1259
- const r = t.getAttribute("status");
1294
+ const a = t.getAttribute("status");
1260
1295
  this.dispatchPanelEvent(o, {
1261
1296
  ...e,
1262
- status: r
1297
+ status: a
1263
1298
  });
1264
1299
  }
1265
1300
  });
@@ -1271,22 +1306,22 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
1271
1306
  }
1272
1307
  }
1273
1308
  }
1274
- }, De = () => import("./index-Bb_1S0pr.js"), Ne = () => import("./index-Dd9iSSXa.js").then((t) => t.i), Pe = () => import("./index-DyyLrVDY.js"), _e = {
1309
+ }, Re = () => import("./index-d0CqW2Cm.js"), Me = () => import("./index-C-P030e_.js").then((t) => t.i), Be = () => import("./index-wgp15jn2.js"), ze = {
1275
1310
  selector: "cds-tooltip",
1276
- import: De,
1311
+ import: Re,
1277
1312
  /**
1278
1313
  * @param {CDSTooltip} tooltip - The CDSTooltip custom element instance
1279
1314
  * @this {Panel} The panel instance
1280
1315
  */
1281
1316
  init: function(t) {
1282
- const e = a(t), n = h(t, "open-event");
1317
+ const e = r(t), n = E(t, "open-event");
1283
1318
  n && this.listen(t, "cds-tooltip-beingopened", (s) => {
1284
1319
  this.dispatchPanelEvent(n, {
1285
1320
  ...e,
1286
1321
  action: "opened"
1287
1322
  });
1288
1323
  });
1289
- const o = h(t, "close-event");
1324
+ const o = E(t, "close-event");
1290
1325
  o && this.listen(t, "cds-tooltip-closed", (s) => {
1291
1326
  this.dispatchPanelEvent(o, {
1292
1327
  ...e,
@@ -1294,23 +1329,23 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
1294
1329
  });
1295
1330
  });
1296
1331
  }
1297
- }, ke = {
1332
+ }, Le = {
1298
1333
  // Popover
1299
1334
  "cds-popover": {
1300
- import: Ne,
1335
+ import: Me,
1301
1336
  /**
1302
1337
  * @param {CDSPopover} popover - The CDSPopover custom element instance
1303
1338
  * @this {Panel} The panel instance
1304
1339
  */
1305
1340
  init: function(t) {
1306
- const e = a(t), n = h(t, "open-event");
1341
+ const e = r(t), n = E(t, "open-event");
1307
1342
  n && this.listen(t, "cds-popover-beingopened", (s) => {
1308
1343
  this.dispatchPanelEvent(n, {
1309
1344
  ...e,
1310
1345
  action: "opened"
1311
1346
  });
1312
1347
  });
1313
- const o = h(t, "close-event");
1348
+ const o = E(t, "close-event");
1314
1349
  o && this.listen(t, "cds-popover-closed", (s) => {
1315
1350
  this.dispatchPanelEvent(o, {
1316
1351
  ...e,
@@ -1321,13 +1356,13 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
1321
1356
  },
1322
1357
  // Toggletip - tooltip that stays open until dismissed
1323
1358
  "cds-toggletip": {
1324
- import: Pe,
1359
+ import: Be,
1325
1360
  /**
1326
1361
  * @param {CDSToggletip} toggletip - The CDSToggletip custom element instance
1327
1362
  * @this {Panel} The panel instance
1328
1363
  */
1329
1364
  init: function(t) {
1330
- const e = a(t);
1365
+ const e = r(t);
1331
1366
  if (e.event) {
1332
1367
  const n = new MutationObserver((o) => {
1333
1368
  o.forEach((s) => {
@@ -1348,187 +1383,187 @@ const gt = () => import("./index-Dh4LYLg5.js"), G = () => import("./index-CTsGb3
1348
1383
  }
1349
1384
  }
1350
1385
  }
1351
- }, ye = () => import("./index-Cu1u3Mjn.js").then((t) => t.i), Te = () => import("./index-GbWz6fuF.js"), we = {
1386
+ }, qe = () => import("./index-DEtGo4Q7.js").then((t) => t.i), xe = () => import("./index-DZrmJ7Ll.js"), Fe = {
1352
1387
  selector: "cds-link",
1353
- import: ye,
1388
+ import: qe,
1354
1389
  event: "click",
1355
1390
  getData: (t, e, n) => ({
1356
1391
  ...e,
1357
1392
  href: n.getAttribute("href")
1358
1393
  })
1359
- }, Oe = {
1394
+ }, Ge = {
1360
1395
  // Code Snippet
1361
1396
  "cds-code-snippet": {
1362
- import: Te,
1397
+ import: xe,
1363
1398
  event: "cds-copy-button-clicked",
1364
1399
  getData: (t, e) => ({
1365
1400
  ...e,
1366
1401
  action: "copied"
1367
1402
  })
1368
1403
  }
1369
- }, F = () => import("./index-Dc51G1mo.js"), Re = () => import("./index-BAAA4wkE.js"), Me = () => import("./index-QzojJs5M.js"), Be = () => import("./index-CzAwJhyQ.js"), ze = () => import("./index-DZabSr3s.js"), Le = () => import("./index-DfFx1Jz3.js"), qe = () => import("./index-CV7TVQ4T.js").then((t) => t.i), xe = () => import("./index-i4heE-wx.js").then((t) => t.i), Fe = () => import("./index-BwFE4R87.js"), Ge = () => import("./index-DGw1TVFB.js"), Ue = {
1404
+ }, H = () => import("./index--Q3NhIVC.js"), Ue = () => import("./index-Do9f8Pwe.js"), Ve = () => import("./index-DwCXQC7X.js"), je = () => import("./index-WpBhhuED.js"), He = () => import("./index-DdkIREYU.js"), We = () => import("./index-oS8XvY4G.js"), Ye = () => import("./index-el9l-ZQy.js").then((t) => t.i), $e = () => import("./index-Bug3BjgA.js").then((t) => t.i), Xe = () => import("./index-CPLpCt6z.js"), Ze = () => import("./index-Chyr-DU2.js"), Je = {
1370
1405
  // Form structure components (presentational only - no event handling needed)
1371
1406
  "cds-form": {
1372
- import: F
1407
+ import: H
1373
1408
  // No event handling - wraps native <form> which works naturally
1374
1409
  },
1375
1410
  "cds-form-item": {
1376
- import: F
1411
+ import: H
1377
1412
  // No event handling - presentational wrapper for form fields
1378
1413
  },
1379
1414
  "cds-form-group": {
1380
- import: Re
1415
+ import: Ue
1381
1416
  // No event handling - presentational fieldset wrapper
1382
1417
  },
1383
1418
  "cds-stack": {
1384
- import: Me
1419
+ import: Ve
1385
1420
  // No event handling - layout utility for spacing items vertically or horizontally
1386
1421
  },
1387
1422
  // Typography & Icons (Presentational)
1388
1423
  "cds-heading": {
1389
- import: Be
1424
+ import: je
1390
1425
  // No event handling - semantic heading component
1391
1426
  },
1392
1427
  "cds-icon": {
1393
- import: ze
1428
+ import: He
1394
1429
  // No event handling - icon display component
1395
1430
  },
1396
1431
  "cds-icon-indicator": {
1397
- import: Le
1432
+ import: We
1398
1433
  // No event handling - status indicator icon
1399
1434
  },
1400
1435
  // Badge Indicator - Status badge component (typically used in tabs/icons)
1401
1436
  "cds-badge-indicator": {
1402
- import: Ge
1437
+ import: Ze
1403
1438
  // No event handling - presentational status indicator
1404
1439
  // Typically appears as a dot on tabs or icons to show notifications/status
1405
1440
  },
1406
1441
  // Loading - Full-page or section loading spinner
1407
1442
  "cds-loading": {
1408
- import: qe
1443
+ import: Ye
1409
1444
  // No event handling - presentational loading spinner
1410
1445
  },
1411
1446
  // Skeleton components - Loading placeholders
1412
1447
  "cds-skeleton-text": {
1413
- import: xe
1448
+ import: $e
1414
1449
  // No event handling - presentational loading placeholder
1415
1450
  },
1416
1451
  "cds-skeleton-placeholder": {
1417
- import: Fe
1452
+ import: Xe
1418
1453
  // No event handling - presentational loading placeholder
1419
1454
  }
1420
- }, Ve = [
1421
- St,
1422
- It,
1423
- Dt,
1424
- kt,
1455
+ }, Ke = [
1456
+ Tt,
1457
+ wt,
1425
1458
  Rt,
1426
1459
  Lt,
1427
- Ft,
1428
- Ht,
1429
- Yt,
1460
+ Ut,
1461
+ Wt,
1462
+ Xt,
1430
1463
  Qt,
1431
- ce,
1464
+ ee,
1432
1465
  re,
1433
- ue,
1434
- he,
1435
- fe,
1466
+ ve,
1467
+ ge,
1436
1468
  Ie,
1437
- _e,
1438
- we
1469
+ De,
1470
+ Pe,
1471
+ we,
1472
+ ze,
1473
+ Fe
1439
1474
  ];
1440
- function He() {
1475
+ function Qe() {
1441
1476
  const t = /* @__PURE__ */ new Map();
1442
- return Ve.forEach((n) => {
1477
+ return Ke.forEach((n) => {
1443
1478
  t.set(n.selector, n);
1444
1479
  }), [
1445
- At,
1446
- Nt,
1447
- yt,
1480
+ Ot,
1448
1481
  Mt,
1449
1482
  qt,
1450
- jt,
1451
- Wt,
1452
- ft,
1483
+ Vt,
1484
+ Yt,
1453
1485
  te,
1454
- ae,
1486
+ ne,
1487
+ Pt,
1455
1488
  le,
1456
- ve,
1457
- ge,
1489
+ fe,
1458
1490
  Ee,
1459
1491
  Ae,
1460
- ke,
1492
+ Ne,
1493
+ _e,
1461
1494
  Oe,
1462
- Ue
1495
+ Le,
1496
+ Ge,
1497
+ Je
1463
1498
  ].forEach((n) => {
1464
1499
  Object.entries(n).forEach(([o, s]) => {
1465
1500
  t.set(o, s);
1466
1501
  });
1467
1502
  }), t;
1468
1503
  }
1469
- function je(t) {
1504
+ function tn(t) {
1470
1505
  const e = /* @__PURE__ */ new Map();
1471
1506
  if (!t || !(t instanceof Element))
1472
1507
  return e;
1473
- for (const o of Object.keys(N))
1508
+ for (const o of Object.keys(y))
1474
1509
  e.set(o, []);
1475
- for (const [o, s] of Object.entries(N))
1510
+ for (const [o, s] of Object.entries(y))
1476
1511
  t.matches(o) && e.get(o).push(t);
1477
1512
  const n = t.querySelectorAll("*");
1478
1513
  for (const o of n)
1479
- for (const [s, i] of Object.entries(N))
1514
+ for (const [s, i] of Object.entries(y))
1480
1515
  o.matches(s) && e.get(s).push(o);
1481
1516
  for (const [o, s] of e.entries())
1482
1517
  s.length === 0 && e.delete(o);
1483
1518
  return e;
1484
1519
  }
1485
- function Ye(t) {
1520
+ function en(t) {
1486
1521
  const e = /* @__PURE__ */ new Set();
1487
1522
  for (const [n, o] of t.entries()) {
1488
- const s = N[n];
1523
+ const s = y[n];
1489
1524
  s && s.import && o.length > 0 && (Array.isArray(s.import) ? s.import : [s.import]).forEach((c) => e.add(c));
1490
1525
  }
1491
1526
  return e;
1492
1527
  }
1493
- async function We(t, e) {
1528
+ async function nn(t, e) {
1494
1529
  if (t.size === 0)
1495
1530
  return;
1496
1531
  const n = Array.from(t).map(async (o) => (e.has(o) || e.set(o, o()), e.get(o)));
1497
1532
  await Promise.all(n);
1498
1533
  }
1499
- function Xe(t, e) {
1534
+ function on(t, e) {
1500
1535
  let n = 0;
1501
1536
  for (const [o, s] of t.entries()) {
1502
- const i = N[o];
1537
+ const i = y[o];
1503
1538
  s.forEach((c) => {
1504
1539
  if (i.init) {
1505
1540
  i.init.call(e, c);
1506
1541
  return;
1507
1542
  }
1508
1543
  if (i.multiEvent) {
1509
- const g = a(c);
1510
- i.events.forEach((f) => {
1511
- const S = h(c, f.attrName, "event");
1512
- S && e.listen(c, f.type, (_) => {
1513
- e.dispatchPanelEvent(S, f.getData(_, g, c));
1544
+ const b = r(c);
1545
+ i.events.forEach((S) => {
1546
+ const P = E(c, S.attrName, "event");
1547
+ P && e.listen(c, S.type, (O) => {
1548
+ e.dispatchPanelEvent(P, S.getData(O, b, c));
1514
1549
  });
1515
1550
  });
1516
1551
  return;
1517
1552
  }
1518
- const r = a(c), p = r.event;
1519
- p && e.listen(c, i.event, (g) => {
1520
- g.stopPropagation();
1521
- const f = i.getData(g, r, c), S = f._eventOverride || p;
1522
- delete f._eventOverride, e.dispatchPanelEvent(S, f);
1553
+ const a = r(c), d = a.event;
1554
+ d && e.listen(c, i.event, (b) => {
1555
+ b.stopPropagation();
1556
+ const S = i.getData(b, a, c), P = S._eventOverride || d;
1557
+ delete S._eventOverride, e.dispatchPanelEvent(P, S);
1523
1558
  });
1524
1559
  }), n += s.length;
1525
1560
  }
1526
1561
  return n;
1527
1562
  }
1528
- const N = {
1529
- ...Object.fromEntries(He())
1530
- }, Ze = async function(t, e) {
1531
- const n = je(t);
1563
+ const y = {
1564
+ ...Object.fromEntries(Qe())
1565
+ }, sn = async function(t, e) {
1566
+ const n = tn(t);
1532
1567
  if (n.size === 0) {
1533
1568
  this.debugMe("[Carbon] No Carbon components found in panel");
1534
1569
  return;
@@ -1536,17 +1571,17 @@ const N = {
1536
1571
  this.carbonComponents || (this.carbonComponents = /* @__PURE__ */ new Map());
1537
1572
  for (const [i, c] of n.entries())
1538
1573
  this.carbonComponents.set(i, c);
1539
- const o = Ye(n);
1574
+ const o = en(n);
1540
1575
  if (o.size > 0)
1541
1576
  try {
1542
- await We(o, e);
1577
+ await nn(o, e);
1543
1578
  } catch (i) {
1544
1579
  console.error("[Carbon] Failed to load some component modules:", i);
1545
1580
  }
1546
- const s = Xe(n, this);
1581
+ const s = on(n, this);
1547
1582
  s > 0 && this.debugMe(`[Carbon] Total components initialized: ${s}`);
1548
- }, Ke = () => {
1549
- mt.register("carbon", {
1583
+ }, an = () => {
1584
+ bt.register("carbon", {
1550
1585
  /**
1551
1586
  * Main render function that orchestrates Carbon component initialization.
1552
1587
  * Called by Panel.parseContent() for each panel that enters the document.
@@ -1557,7 +1592,7 @@ const N = {
1557
1592
  */
1558
1593
  render: async function(t, e) {
1559
1594
  try {
1560
- await Ze.call(this, t, e);
1595
+ await sn.call(this, t, e);
1561
1596
  } catch (n) {
1562
1597
  console.error("[Carbon] Initialization error:", n);
1563
1598
  }
@@ -1579,5 +1614,5 @@ const N = {
1579
1614
  }), console.debug("[Zooy] Carbon Design System library registered");
1580
1615
  };
1581
1616
  export {
1582
- Ke as registerCarbonLibrary
1617
+ an as registerCarbonLibrary
1583
1618
  };