@trintel/zooy 1.0.1 → 1.0.6

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