@trintel/zooy 1.0.8 → 1.0.12

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 (156) hide show
  1. package/dist/chunks/{button-J_l629CJ.js → button-By7aRhFi.js} +4 -4
  2. package/dist/chunks/{button-C0ysaw92.js → button-CRxkguK3.js} +1 -1
  3. package/dist/chunks/{button-skeleton-C6DFZmZH.js → button-skeleton-CZmGLr_c.js} +1 -1
  4. package/dist/chunks/{button-skeleton-B_Sgp5GT.js → button-skeleton-DlCzuT6h.js} +4 -4
  5. package/dist/chunks/{checkbox-zD4SZkfz.js → checkbox-BMZ3_jkv.js} +5 -5
  6. package/dist/chunks/{checkbox-CgRvu8uo.js → checkbox-GUazWfM6.js} +1 -1
  7. package/dist/chunks/{class-map-CZy_lapI.js → class-map-Bpavh3zd.js} +1 -1
  8. package/dist/chunks/{class-map-C3HqAjJs.js → class-map-CewEiUeS.js} +1 -1
  9. package/dist/chunks/{content-switcher-item-D7my36A_.js → content-switcher-item-BzWtaEk8.js} +4 -4
  10. package/dist/chunks/{content-switcher-item-BwGyOcvG.js → content-switcher-item-DBiwY_5f.js} +1 -1
  11. package/dist/chunks/{dropdown-item-B4aGGhUu.js → dropdown-item-B8fOInIi.js} +1 -1
  12. package/dist/chunks/{dropdown-item-sj9_Q-2Y.js → dropdown-item-C1hnXvNw.js} +6 -6
  13. package/dist/chunks/{icon-loader-ChdGfSmj.js → icon-loader-BX6j0QV9.js} +1 -1
  14. package/dist/chunks/{icon-loader-pWXWFpAd.js → icon-loader-Cv5XYGqj.js} +1 -1
  15. package/dist/chunks/{icon-loader-utils-CD3l842s.js → icon-loader-utils-C_72Dnig.js} +1 -1
  16. package/dist/chunks/{icon-loader-utils-DdfPalr5.js → icon-loader-utils-CjBhA13V.js} +1 -1
  17. package/dist/chunks/{if-defined-C0WXUd0n.js → if-defined-B-VZmIag.js} +1 -1
  18. package/dist/chunks/{if-defined-h0V4oPE0.js → if-defined-Zq_Rpirs.js} +1 -1
  19. package/dist/chunks/{if-non-empty-DsNNfSW1.js → if-non-empty-CaK_h1Vn.js} +1 -1
  20. package/dist/chunks/if-non-empty-Dy-cc4QJ.js +1 -0
  21. package/dist/chunks/{index-CZIkoNzI.js → index-1OOPg4-d.js} +1 -1
  22. package/dist/chunks/{index-pE6aTBiZ.js → index-1eFOI8oe.js} +5 -5
  23. package/dist/chunks/{index-DPfXz4s4.js → index-B-OulI8n.js} +1 -1
  24. package/dist/chunks/{index-Q_jttfI5.js → index-B4L1iU-L.js} +7 -7
  25. package/dist/chunks/{index-ClkBeEyN.js → index-B4O0_8IT.js} +1 -1
  26. package/dist/chunks/{index-CIhGaNHB.js → index-B7CvW1Hr.js} +9 -9
  27. package/dist/chunks/{index-BGh5ukZB.js → index-BATw38c7.js} +3 -3
  28. package/dist/chunks/{index-DD8IhgVt.js → index-BERUsrwS.js} +1 -1
  29. package/dist/chunks/{index-Eo0QL5BD.js → index-BIWPmvxN.js} +6 -6
  30. package/dist/chunks/{index-BUX_B_Go.js → index-BJ0SBIwX.js} +6 -6
  31. package/dist/chunks/{index-BOOSwnW2.js → index-BX1au7I9.js} +1 -1
  32. package/dist/chunks/{index-BVNauB67.js → index-BXPG0d_k.js} +2 -2
  33. package/dist/chunks/{index-_YrjxtQS.js → index-B_Lmpm35.js} +8 -8
  34. package/dist/chunks/{index-BIz0BjjL.js → index-Bb8PCTuf.js} +1 -1
  35. package/dist/chunks/{index-hsgeVwtf.js → index-BeQ7ZTCw.js} +5 -5
  36. package/dist/chunks/{index-B_-ytvrp.js → index-BfiLUJJ3.js} +1 -1
  37. package/dist/chunks/{index-DRnD7wpG.js → index-BftJaPKS.js} +1 -1
  38. package/dist/chunks/{index-BNR5ONEM.js → index-BlfAhx-m.js} +1 -1
  39. package/dist/chunks/{index-DV4mpy_b.js → index-BmMr-B9I.js} +1 -1
  40. package/dist/chunks/{index-qCBuo7Dj.js → index-BoIS4S70.js} +3 -3
  41. package/dist/chunks/{index-BN42k7S9.js → index-BpfNVIsW.js} +1 -1
  42. package/dist/chunks/{index-DxZy3oU4.js → index-BsVpu7Ej.js} +1 -1
  43. package/dist/chunks/{index-B80vAz9U.js → index-BugJTHwJ.js} +1 -1
  44. package/dist/chunks/{index-DE9QLbNF.js → index-Bv0Kq6vx.js} +1 -1
  45. package/dist/chunks/{index-C8Epo2Nt.js → index-BwpbR54Z.js} +4 -4
  46. package/dist/chunks/{index-ze2WZhYO.js → index-Bx5tyF27.js} +3 -3
  47. package/dist/chunks/{index-BuuxULtA.js → index-ByxUjlpc.js} +1 -1
  48. package/dist/chunks/{index-CANkW4Or.js → index-Bz-sh-N4.js} +1 -1
  49. package/dist/chunks/{index-tyzdclid.js → index-C0JKLTdV.js} +1 -1
  50. package/dist/chunks/{index-poW5zIu0.js → index-C2Q5YPz1.js} +1 -1
  51. package/dist/chunks/{index-KHZmzPoF.js → index-C6YhnCuw.js} +1 -1
  52. package/dist/chunks/{index-DtKsNvQ_.js → index-C6nmbFvI.js} +1 -1
  53. package/dist/chunks/{index-Ss_rpifk.js → index-C7bz1V4O.js} +3 -3
  54. package/dist/chunks/{index-Dp1sKeLf.js → index-C9adbF3V.js} +1 -1
  55. package/dist/chunks/{index-g_0TpuQy.js → index-CCOIDxIB.js} +1 -1
  56. package/dist/chunks/{index-5HiyK8z_.js → index-CDpK5GU3.js} +1 -1
  57. package/dist/chunks/index-CNQHUhaQ.js +1 -0
  58. package/dist/chunks/{index-BVuFwiy8.js → index-CQY3cMqQ.js} +1 -1
  59. package/dist/chunks/{index-CI4IDokw.js → index-CRvczclO.js} +6 -6
  60. package/dist/chunks/{index-BM6jRp79.js → index-CVH7Hv6v.js} +5 -5
  61. package/dist/chunks/{index-TZUVB-W3.js → index-CVqAaFaO.js} +5 -5
  62. package/dist/chunks/{index-ChqgnI6f.js → index-CW3NpEbP.js} +1 -1
  63. package/dist/chunks/{index-jwYklbEt.js → index-CYLJDFiF.js} +5 -5
  64. package/dist/chunks/{index-CTt-WSM-.js → index-CZi-f4G4.js} +1 -1
  65. package/dist/chunks/{index-C-y2nrc1.js → index-CbKeQETj.js} +3 -3
  66. package/dist/chunks/{index-BOdoMpSP.js → index-Cdk8HqBZ.js} +1 -1
  67. package/dist/chunks/{index-D64233nd.js → index-ChbKcl-Z.js} +5 -5
  68. package/dist/chunks/{index-Bg1BBBMy.js → index-Cit60IYk.js} +1 -1
  69. package/dist/chunks/{index-CuqzTZu2.js → index-Cm3Uqia6.js} +6 -6
  70. package/dist/chunks/{index-Dy_V6Qce.js → index-CuZwN_ME.js} +3 -3
  71. package/dist/chunks/{index-BdCneYBx.js → index-CuuD-d5b.js} +2 -2
  72. package/dist/chunks/{index-BhdW2QbN.js → index-CvnLooVH.js} +1 -1
  73. package/dist/chunks/{index-C4MmJOdJ.js → index-CwXwz8dA.js} +1 -1
  74. package/dist/chunks/{index-v9RmWFs_.js → index-Cy5Gs96d.js} +1 -1
  75. package/dist/chunks/{index-90TKvaQz.js → index-CyHAdAxX.js} +7 -7
  76. package/dist/chunks/{index-dygVIOMF.js → index-CyeWQ9VJ.js} +1 -1
  77. package/dist/chunks/{index-Cy2K76Ai.js → index-D-20UbuG.js} +1 -1
  78. package/dist/chunks/{index-LoWfGWWA.js → index-D1xYcspc.js} +1 -1
  79. package/dist/chunks/{index-CKplFFc-.js → index-D2B2bs5k.js} +2 -2
  80. package/dist/chunks/{index-Di4YY_Ua.js → index-D2Z_PWuf.js} +1 -1
  81. package/dist/chunks/{index-By_1f8e1.js → index-D5_-tX11.js} +1 -1
  82. package/dist/chunks/{index-Bzp_dDt9.js → index-DD3tbFs9.js} +4 -4
  83. package/dist/chunks/{index-Dt-eWAJs.js → index-DEH3Oujh.js} +5 -5
  84. package/dist/chunks/{index-C1BCLU9c.js → index-DFzKxIGc.js} +7 -7
  85. package/dist/chunks/{index-DoczycjW.js → index-DKJCj-0F.js} +1 -1
  86. package/dist/chunks/{index-BXCZNGbC.js → index-DKOcsQER.js} +1 -1
  87. package/dist/chunks/{index-DTy7Kl9T.js → index-DLt6oTR3.js} +1 -1
  88. package/dist/chunks/{index-Oa3v3_7X.js → index-DQhfyFM4.js} +4 -4
  89. package/dist/chunks/{index-vVzSlOxh.js → index-DRYB8Q2c.js} +1 -1
  90. package/dist/chunks/{index-u-6uWe_o.js → index-DRsjyMRL.js} +4 -4
  91. package/dist/chunks/{index-BfyiB6r5.js → index-DScZj-56.js} +1 -1
  92. package/dist/chunks/{index-BRUV1CNi.js → index-DU7E0qo4.js} +7 -7
  93. package/dist/chunks/{index-BGWhDeBi.js → index-DVTOmcgu.js} +2 -2
  94. package/dist/chunks/{index-BqYoAbjK.js → index-DW24dyDr.js} +1 -1
  95. package/dist/chunks/{index--nPiAPdI.js → index-DW9xYANG.js} +3 -3
  96. package/dist/chunks/{index-BTM514kF.js → index-DYmmXHAT.js} +5 -5
  97. package/dist/chunks/{index-DNP3ng82.js → index-DYtqDqPL.js} +1 -1
  98. package/dist/chunks/{index-B9WY40Mg.js → index-DayFRhmw.js} +8 -8
  99. package/dist/chunks/{index-D0qgF0lD.js → index-DbT4fJLV.js} +7 -7
  100. package/dist/chunks/{index-BCd5o-O6.js → index-Dcs-4ouA.js} +4 -4
  101. package/dist/chunks/{index-Coav7Owj.js → index-DdzuoIsX.js} +6 -6
  102. package/dist/chunks/{index-D6_et4O5.js → index-DhwMNjJj.js} +4 -4
  103. package/dist/chunks/index-DjLSW4tB.js +2 -0
  104. package/dist/chunks/{index-sP0n4M3S.js → index-Do0fzNBP.js} +4 -4
  105. package/dist/chunks/{index-Bo68CzXB.js → index-DqWolj0i.js} +1 -1
  106. package/dist/chunks/{index-Cvvea2-F.js → index-DrRc4GOh.js} +5 -5
  107. package/dist/chunks/{index-Co8vob2d.js → index-DvbDUmZp.js} +7 -7
  108. package/dist/chunks/{index-DNQ1-jUj.js → index-DxlTsgQ8.js} +5 -5
  109. package/dist/chunks/{index-aMr7w_kx.js → index-LSL0pD4U.js} +1 -1
  110. package/dist/chunks/{index-BLJaTPjJ.js → index-ScGZvs71.js} +10 -10
  111. package/dist/chunks/{index-DgkK15bX.js → index-Smwc4F8-.js} +1 -1
  112. package/dist/chunks/{index-CQxC5gdy.js → index-TelAKDy3.js} +5 -5
  113. package/dist/chunks/{index-FyLcWuoP.js → index-UDUbB14y.js} +1 -1
  114. package/dist/chunks/{index-Bm7ePd1P.js → index-UfSJPzl_.js} +5 -5
  115. package/dist/chunks/{index-eTqONZnk.js → index-XY3TWQ_7.js} +1 -1
  116. package/dist/chunks/{index-DMtD0b_3.js → index-ZmTVduMY.js} +4 -4
  117. package/dist/chunks/{index-C8sCBvHj.js → index-ePccMpcM.js} +1 -1
  118. package/dist/chunks/{index-DtqsUG21.js → index-f2QnoTe2.js} +3 -3
  119. package/dist/chunks/{index-DuePdA69.js → index-jRYYdv4C.js} +5 -5
  120. package/dist/chunks/{index-BoxMbYX3.js → index-m978pani.js} +3 -3
  121. package/dist/chunks/{index-CmPWJUnL.js → index-o7Ly8WNV.js} +1 -1
  122. package/dist/chunks/{index-DBcWalCu.js → index-pT9YwIX-.js} +1 -1
  123. package/dist/chunks/{index-GgCbc4A-.js → index-s53NHb2d.js} +8 -8
  124. package/dist/chunks/{index-M2ihC48l.js → index-yIVEgAA_.js} +1 -1
  125. package/dist/chunks/{loading-icon-BLLYUpvs.js → loading-icon-Co-jn71c.js} +1 -1
  126. package/dist/chunks/{loading-icon-Cp8xIAZy.js → loading-icon-Dx2ktHir.js} +1 -1
  127. package/dist/chunks/{main-CPeOiLq5.js → main-BqOledN0.js} +813 -689
  128. package/dist/chunks/main-DHy75dVb.js +87 -0
  129. package/dist/chunks/{property-Cti8Pknb.js → property-B0b41oBL.js} +1 -1
  130. package/dist/chunks/{property-CpWqCPHX.js → property-Dg6D0XVD.js} +1 -1
  131. package/dist/chunks/register-BH6NpHIA.js +1 -0
  132. package/dist/chunks/{register-D01rr_6V.js → register-DgYdd65A.js} +353 -351
  133. package/dist/chunks/{register-BZYvuwHN.js → register-bMHOSpvM.js} +1 -1
  134. package/dist/chunks/{register-BDgKT87m.js → register-h6ZQPYju.js} +1 -1
  135. package/dist/chunks/{search-BoFbUjIa.js → search-CdbmNKGt.js} +6 -6
  136. package/dist/chunks/{search-B-sFlTAG.js → search-hgh8azYe.js} +1 -1
  137. package/dist/chunks/{select-item-BdZ5OqWH.js → select-item-B7Nispm3.js} +7 -7
  138. package/dist/chunks/{select-item-Uyiqlm7Q.js → select-item-bxxL-G6O.js} +1 -1
  139. package/dist/chunks/{state-D3hzHQXM.js → state-8K5PPQVS.js} +1 -1
  140. package/dist/chunks/{state-Czcme0IZ.js → state-C1eYNc3M.js} +1 -1
  141. package/dist/chunks/{text-input-iJP2nFN5.js → text-input-BFGnBN6w.js} +1 -1
  142. package/dist/chunks/{text-input-R3AwYWSw.js → text-input-Cax4HzgZ.js} +5 -5
  143. package/dist/chunks/{tooltip-content-Brl7yv5K.js → tooltip-content-CF2lm8EZ.js} +1 -1
  144. package/dist/chunks/{tooltip-content-Bug744xy.js → tooltip-content-l8Mg7xk8.js} +3 -3
  145. package/dist/chunks/{unsafe-html-NpLKNGt_.js → unsafe-html-Dw4MFH2g.js} +1 -1
  146. package/dist/chunks/{unsafe-html-BKdKIEJy.js → unsafe-html-Hoj8nqTC.js} +1 -1
  147. package/dist/zooy.cjs.js +1 -1
  148. package/dist/zooy.es.js +1 -1
  149. package/package.json +2 -3
  150. package/src/sass/_zoo.scss +20 -0
  151. package/src/sass/main.scss +1 -0
  152. package/dist/chunks/if-non-empty-4oodvODv.js +0 -1
  153. package/dist/chunks/index-DjW0vKON.js +0 -2
  154. package/dist/chunks/index-DwZ-6zgN.js +0 -1
  155. package/dist/chunks/main-AZkvXZM1.js +0 -65
  156. package/dist/chunks/register-BT1eatec.js +0 -1
@@ -1,13 +1,13 @@
1
- import { _ as et, c as vt, d as bt, g as l, e as Et, h as St, o as _t, j as It, p as yt, k as E, C as Ct } from "./main-CPeOiLq5.js";
2
- var Pt = /* @__PURE__ */ et(function(e, n) {
1
+ import { _ as et, c as vt, d as bt, g as l, e as Et, h as St, o as _t, j as It, p as yt, k as E, C as Pt } from "./main-BqOledN0.js";
2
+ var Ct = /* @__PURE__ */ et(function(e, n) {
3
3
  return n == null || n !== n ? e : n;
4
4
  }), At = /* @__PURE__ */ vt(function(e, n, o) {
5
- return Pt(e, bt(n, o));
5
+ return Ct(e, bt(n, o));
6
6
  }), Tt = /* @__PURE__ */ et(function(e, n) {
7
7
  for (var o = {}, s = 0; s < e.length; )
8
8
  e[s] in n && (o[e[s]] = n[e[s]]), s += 1;
9
9
  return o;
10
- }), z = {}, Y;
10
+ }), j = {}, Y;
11
11
  function Dt() {
12
12
  return Y || (Y = 1, (function(t) {
13
13
  t.TABLE_SIZE = void 0, (function(n) {
@@ -38,54 +38,16 @@ function Dt() {
38
38
  ]
39
39
  };
40
40
  t.TABLE_SORT_CYCLES = e;
41
- })(z)), z;
41
+ })(j)), j;
42
42
  }
43
43
  var kt = Dt();
44
- const Nt = {
45
- selector: "cds-pagination",
46
- /**
47
- * Initialize a standalone pagination component.
48
- *
49
- * Note: The pagination parameter is a CDSPagination instance from @carbon/web-components.
50
- * To access the CDSPagination class and its static properties:
51
- * const CDSPagination = customElements.get('cds-pagination');
52
- * // or
53
- * const CDSPagination = pagination.constructor;
54
- *
55
- * @param {CDSPagination} pagination - The CDSPagination custom element instance
56
- * @this {Panel} The panel instance
57
- */
58
- init: function(t) {
59
- const e = this, n = customElements.get("cds-pagination");
60
- let o = null;
61
- e.listen(t, n.eventChangeCurrent, (s) => {
62
- const c = s.detail.page, i = t.pageSize, a = (c - 1) * i;
63
- a !== o && (o = a, e.dispatchPanelEvent("pagination-changed-current", {
64
- detail: {
65
- page: c,
66
- pageSize: i,
67
- action: "page-change"
68
- }
69
- }));
70
- }), e.listen(t, n.eventPageSizeChanged, (s) => {
71
- const c = t.pageSize;
72
- o = null, e.dispatchPanelEvent("pagination-changed-page-size", {
73
- detail: {
74
- page: 1,
75
- // Reset to page 1 when changing size
76
- pageSize: c,
77
- action: "page-size-change"
78
- }
79
- });
80
- });
81
- }
82
- }, $ = (t, e, n) => {
44
+ const X = (t, e, n) => {
83
45
  const o = customElements.get("cds-table"), s = customElements.get("cds-pagination"), c = customElements.get(o.selectorTableBatchActions);
84
46
  customElements.get("cds-popover");
85
- const i = e.dataBinder, a = e.pagination, d = e.skeleton, S = e.querySelector(o.selectorTableToolbarSearch), I = e.querySelector(o.selectorTableBatchActions), D = e.querySelector(o.selectorTableBody), W = ["button", "a", "input", "select", "textarea", '[role="button"]', ".cds--table-expand", ".cds--table-column-checkbox"].join(","), U = e.querySelectorAll(o.selectorHeaderCell + "[is-sortable]"), nt = e.isSortable || U.length > 0, R = Symbol(), B = Symbol(), k = /* @__PURE__ */ new Map(), ot = (r) => {
47
+ const i = e.dataBinder, a = e.pagination, d = e.skeleton, S = e.querySelector(o.selectorTableToolbarSearch), I = e.querySelector(o.selectorTableBatchActions), D = e.querySelector(o.selectorTableBody), R = ["button", "a", "input", "select", "textarea", '[role="button"]', ".cds--table-expand", ".cds--table-column-checkbox"].join(","), H = e.querySelectorAll(o.selectorHeaderCell + "[is-sortable]"), nt = e.isSortable || H.length > 0, B = Symbol(), z = Symbol(), k = /* @__PURE__ */ new Map(), ot = (r) => {
86
48
  t.listen(e, "click", (p) => {
87
49
  const u = p.target.closest(o.selectorTableRow);
88
- if (!u || p.composedPath().some((f) => f.matches && f.matches(W))) return;
50
+ if (!u || p.composedPath().some((g) => g.matches && g.matches(R))) return;
89
51
  p.stopPropagation();
90
52
  const m = l(u);
91
53
  t.dispatchPanelEvent(r, {
@@ -94,25 +56,25 @@ const Nt = {
94
56
  });
95
57
  }, st = (r) => {
96
58
  t.listen(e, o.eventExpandoToggle, (p) => {
97
- const u = p.target, m = u.tagName === "CDS-TABLE-HEADER-ROW", f = p.detail.expanded, v = l(u), _ = {
59
+ const u = p.target, m = u.tagName === "CDS-TABLE-HEADER-ROW", g = p.detail.expanded, v = l(u), _ = {
98
60
  tableAttrs: n,
99
61
  ...v,
100
62
  target: u,
101
63
  allRows: m,
102
- didExpand: f
64
+ didExpand: g
103
65
  };
104
66
  t.dispatchPanelEvent(r, _);
105
67
  });
106
68
  }, ct = (r) => {
107
- k.set(R, (p) => {
69
+ k.set(B, (p) => {
108
70
  t.dispatchPanelEvent(r, p);
109
71
  });
110
72
  }, it = (r) => {
111
- k.set(B, (p) => {
112
- const u = p.detail.selectedRows, m = Math.min(u.length, I.totalRowsCount), f = p.target, v = l(f), _ = u.map(l), y = {
73
+ k.set(z, (p) => {
74
+ const u = p.detail.selectedRows, m = Math.min(u.length, I.totalRowsCount), g = p.target, v = l(g), _ = u.map(l), y = {
113
75
  tableAttrs: n,
114
76
  ...v,
115
- target: f,
77
+ target: g,
116
78
  selectCount: m,
117
79
  selection: _
118
80
  };
@@ -120,10 +82,10 @@ const Nt = {
120
82
  });
121
83
  }, at = (r) => {
122
84
  t.listen(e, o.eventTableRowSelect, (p) => {
123
- const u = p.target, m = p.detail.selectedRows || [], f = m.length, v = m.map(l), _ = l(u), y = {
85
+ const u = p.target, m = p.detail.selectedRows || [], g = m.length, v = m.map(l), _ = l(u), y = {
124
86
  tableAttrs: n,
125
87
  ..._,
126
- selectCount: f,
88
+ selectCount: g,
127
89
  selection: v,
128
90
  target: u
129
91
  };
@@ -131,16 +93,16 @@ const Nt = {
131
93
  });
132
94
  }, rt = () => {
133
95
  t.listen(e, o.eventBeforeSort, (r) => {
134
- const p = r.target, u = r.detail.oldSortDirection, m = r.detail.sortDirection, f = l(p), v = f.sortField, _ = m === kt.TABLE_SORT_DIRECTION.DESCENDING ? `-${v}` : v;
135
- r.cancelBubble = !0, r.stopPropagation(), r.preventDefault(), D.innerHTML = "", d && d.show(), U.forEach((A, h) => {
96
+ const p = r.target, u = r.detail.oldSortDirection, m = r.detail.sortDirection, g = l(p), v = g.sortField, _ = m === kt.TABLE_SORT_DIRECTION.DESCENDING ? `-${v}` : v;
97
+ r.cancelBubble = !0, r.stopPropagation(), r.preventDefault(), D.innerHTML = "", d && d.show(), H.forEach((A, h) => {
136
98
  A === p ? (A.setAttribute("sort-active", "true"), A.setAttribute("sort-direction", m)) : (A.removeAttribute("sort-active"), A.setAttribute("sort-direction", "none"));
137
99
  });
138
100
  const y = { ordering: _ };
139
101
  i.fetchData(y).then(() => {
140
102
  a.setData(i), d && d.hide();
141
- }), k.has(R) && k.get(R)({
103
+ }), k.has(B) && k.get(B)({
142
104
  tableAttrs: n,
143
- ...f,
105
+ ...g,
144
106
  sortNow: m,
145
107
  sortWas: u,
146
108
  sortField: v,
@@ -152,7 +114,7 @@ const Nt = {
152
114
  t.listen(e, o.eventTableRowSelectAll, (r) => {
153
115
  r.detail.selectedRows.length === 0 && e.querySelectorAll(o.selectorTableRow).forEach((p) => {
154
116
  p.disabled = !1, p.selected = !1;
155
- }), k.has(B) && k.get(B)(r);
117
+ }), k.has(z) && k.get(z)(r);
156
118
  });
157
119
  }, dt = () => {
158
120
  t.listen(e, o.eventBeforeChangeSelectionAll, (r) => {
@@ -194,9 +156,9 @@ const Nt = {
194
156
  });
195
157
  }
196
158
  });
197
- }, gt = (r) => {
159
+ }, ft = (r) => {
198
160
  r.caret = !1;
199
- const p = r.querySelector("cds-icon-button, button:not([slot])"), u = r.querySelectorAll("cds-checkbox"), m = r.querySelectorAll("cds-modal-footer-button"), f = [...r.querySelectorAll("cds-checkbox-group")].map(l).map(At("noop", ["zoo", "filter", "field"])).reduce(
161
+ const p = r.querySelector("cds-icon-button, button:not([slot])"), u = r.querySelectorAll("cds-checkbox"), m = r.querySelectorAll("cds-modal-footer-button"), g = [...r.querySelectorAll("cds-checkbox-group")].map(l).map(At("noop", ["zoo", "filter", "field"])).reduce(
200
162
  (h, b) => (h[b] = null, h),
201
163
  { offset: 0 }
202
164
  );
@@ -222,7 +184,7 @@ const Nt = {
222
184
  if (y.has(v)) {
223
185
  const h = (b) => b.checked = !1;
224
186
  t.listen(y.get(v), "click", (b) => {
225
- b.stopPropagation(), u.forEach(h), d && d.show(), i.fetchData(f).then(() => {
187
+ b.stopPropagation(), u.forEach(h), d && d.show(), i.fetchData(g).then(() => {
226
188
  a && a.setData(i), d && d.hide(), r.open = !1;
227
189
  });
228
190
  });
@@ -236,7 +198,7 @@ const Nt = {
236
198
  }), t.listen(p, "click", (h) => {
237
199
  h.stopPropagation(), r.open = !r.open, r.classList.toggle("cds--overflow-menu--open", r.open);
238
200
  });
239
- }, ft = () => {
201
+ }, gt = () => {
240
202
  t.listen(a, s.eventPageSizeChanged, (r) => {
241
203
  const u = {
242
204
  limit: a.pageSize,
@@ -249,24 +211,24 @@ const Nt = {
249
211
  }, ht = () => {
250
212
  let r = null;
251
213
  t.listen(a, s.eventChangeCurrent, (p) => {
252
- const { page: u } = p.detail, m = a.pageSize, f = (u - 1) * m;
253
- if (f !== r) {
254
- r = f;
255
- const v = { limit: m, offset: f };
214
+ const { page: u } = p.detail, m = a.pageSize, g = (u - 1) * m;
215
+ if (g !== r) {
216
+ r = g;
217
+ const v = { limit: m, offset: g };
256
218
  i.fetchData(v).then(() => {
257
219
  a.setData(i), d && d.hide();
258
220
  });
259
221
  }
260
222
  });
261
223
  };
262
- i && a && (ft(), ht()), i && S && (ut(S), mt(S));
263
- const H = e.querySelector(o.selectorTableToolbarContent);
264
- if (H) {
265
- const r = H.querySelectorAll("cds-popover[data-batch-filter]");
266
- i && r && r.forEach(gt);
224
+ i && a && (gt(), ht()), i && S && (ut(S), mt(S));
225
+ const V = e.querySelector(o.selectorTableToolbarContent);
226
+ if (V) {
227
+ const r = V.querySelectorAll("cds-popover[data-batch-filter]");
228
+ i && r && r.forEach(ft);
267
229
  }
268
230
  e.isSelectable && (lt(), dt(), I && pt(I)), i && nt && rt();
269
- const V = {
231
+ const $ = {
270
232
  zoo: {
271
233
  event: {
272
234
  row: {
@@ -284,9 +246,9 @@ const Nt = {
284
246
  }
285
247
  };
286
248
  _t(n).forEach(([r, p]) => {
287
- It(r, V) && yt(r, V)(p);
249
+ It(r, $) && yt(r, $)(p);
288
250
  });
289
- }, Ot = (t) => {
251
+ }, Nt = (t) => {
290
252
  const e = document.createElement("cds-pagination");
291
253
  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) => {
292
254
  const o = document.createElement("cds-select-item");
@@ -297,7 +259,7 @@ const Nt = {
297
259
  e.pagesUnknown = s > c, e.totalItems = o, e.pagesUnknown ? e.formatStatusWithIndeterminateTotal = ({ start: i, end: a }) => `${i}–${a} of ${o} item${o <= 1 ? "" : "s"}` : delete e.formatStatusWithIndeterminateTotal;
298
260
  }
299
261
  }, e;
300
- }, wt = (t) => {
262
+ }, Ot = (t) => {
301
263
  if (!t.parentNode) {
302
264
  console.error("[Carbon Table] Cannot create skeleton: table has no parent node");
303
265
  return;
@@ -306,13 +268,13 @@ const Nt = {
306
268
  a.showHeader = e || n, a.showToolbar = o, a.zebra = c, a.columnCount = s, a.size = i, a.show = () => a.classList.remove("hidden"), a.hide = () => a.classList.add("hidden");
307
269
  const d = document.createElement("div");
308
270
  return d.classList.add("zoo-datatable-skeleton-wrapper"), t.parentNode.insertBefore(d, t), d.appendChild(a), d.appendChild(t), a;
309
- }, Mt = (t, e) => {
271
+ }, wt = (t, e) => {
310
272
  const n = e.getAttribute("zoo-url-api"), o = parseInt(e.getAttribute("data-page-size") || 25, 10);
311
273
  if (n)
312
274
  return new St(t, n, e, {
313
275
  urlParams: { limit: o }
314
276
  });
315
- }, Wt = {
277
+ }, Mt = {
316
278
  selector: "cds-table",
317
279
  /**
318
280
  * Initialize a Carbon data table component.
@@ -344,23 +306,57 @@ const Nt = {
344
306
  * @this {Panel} The panel instance
345
307
  */
346
308
  init: function(t) {
347
- const e = l(t), n = this, o = Mt(n, t);
309
+ const e = l(t), n = this, o = wt(n, t);
348
310
  if (Et(o)) {
349
311
  t.dataBinder = o;
350
- const s = wt(t);
312
+ const s = Ot(t);
351
313
  t.skeleton = s;
352
- const c = Ot(o);
314
+ const c = Nt(o);
353
315
  t.pagination = c, t.after(c), o.fetchData().then((i) => {
354
- s.hide(), c.setData(o), $(n, t, e);
316
+ s.hide(), c.setData(o), X(n, t, e);
355
317
  });
356
318
  } else
357
- $(n, t, e);
319
+ X(n, t, e);
358
320
  }
359
- }, Rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
321
+ }, Wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
360
322
  __proto__: null,
361
- cdsPaginationWrap: Nt,
362
- cdsTableWrap: Wt
363
- }, Symbol.toStringTag, { value: "Module" })), Bt = {
323
+ cdsTableWrap: Mt
324
+ }, Symbol.toStringTag, { value: "Module" })), Rt = {
325
+ selector: "cds-pagination",
326
+ /**
327
+ * Initialize a standalone pagination component.
328
+ *
329
+ * @param {CDSPagination} pagination - The CDSPagination custom element instance
330
+ * @this {Panel} The panel instance
331
+ */
332
+ init: function(t) {
333
+ const e = this, n = customElements.get("cds-pagination");
334
+ let o = null;
335
+ e.listen(t, n.eventChangeCurrent, (s) => {
336
+ const c = s.detail.page, i = t.pageSize, a = (c - 1) * i;
337
+ a !== o && (o = a, e.dispatchPanelEvent("pagination-changed-current", {
338
+ detail: {
339
+ page: c,
340
+ pageSize: i,
341
+ action: "page-change"
342
+ }
343
+ }));
344
+ }), e.listen(t, n.eventPageSizeChanged, (s) => {
345
+ const c = t.pageSize;
346
+ o = null, e.dispatchPanelEvent("pagination-changed-page-size", {
347
+ detail: {
348
+ page: 1,
349
+ // Reset to page 1 when changing size
350
+ pageSize: c,
351
+ action: "page-size-change"
352
+ }
353
+ });
354
+ });
355
+ }
356
+ }, Bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
357
+ __proto__: null,
358
+ cdsPaginationWrap: Rt
359
+ }, Symbol.toStringTag, { value: "Module" })), zt = {
364
360
  selector: "cds-modal",
365
361
  /**
366
362
  * @param {CDSModal} modal - The CDSModal custom element instance
@@ -396,21 +392,21 @@ const Nt = {
396
392
  });
397
393
  });
398
394
  }
399
- }, zt = {
400
- selector: "cds-modal-header"
401
395
  }, jt = {
402
- selector: "cds-modal-heading"
396
+ selector: "cds-modal-header"
403
397
  }, xt = {
404
- selector: "cds-modal-label"
398
+ selector: "cds-modal-heading"
405
399
  }, Lt = {
406
- selector: "cds-modal-close-button"
400
+ selector: "cds-modal-label"
407
401
  }, Ft = {
408
- selector: "cds-modal-body"
402
+ selector: "cds-modal-close-button"
409
403
  }, qt = {
410
- selector: "cds-modal-body-content"
404
+ selector: "cds-modal-body"
411
405
  }, Gt = {
412
- selector: "cds-modal-footer"
406
+ selector: "cds-modal-body-content"
413
407
  }, Ut = {
408
+ selector: "cds-modal-footer"
409
+ }, Ht = {
414
410
  selector: "cds-modal-footer-button",
415
411
  /**
416
412
  * @param {CDSModalFooterButton} button - The CDSModal custom element instance
@@ -434,18 +430,18 @@ const Nt = {
434
430
  s.stopPropagation(), this.dispatchPanelEvent(o, e);
435
431
  });
436
432
  }
437
- }, Ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
433
+ }, Vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
438
434
  __proto__: null,
439
- cdsModalBodyContentWrap: qt,
440
- cdsModalBodyWrap: Ft,
441
- cdsModalCloseButWrap: Lt,
442
- cdsModalFooterButWrap: Ut,
443
- cdsModalFooterWrap: Gt,
444
- cdsModalHeaderWrap: zt,
445
- cdsModalHeadingWrap: jt,
446
- cdsModalLabelWrap: xt,
447
- cdsModalWrap: Bt
448
- }, Symbol.toStringTag, { value: "Module" })), Vt = {
435
+ cdsModalBodyContentWrap: Gt,
436
+ cdsModalBodyWrap: qt,
437
+ cdsModalCloseButWrap: Ft,
438
+ cdsModalFooterButWrap: Ht,
439
+ cdsModalFooterWrap: Ut,
440
+ cdsModalHeaderWrap: jt,
441
+ cdsModalHeadingWrap: xt,
442
+ cdsModalLabelWrap: Lt,
443
+ cdsModalWrap: zt
444
+ }, Symbol.toStringTag, { value: "Module" })), $t = {
449
445
  selector: "cds-menu",
450
446
  /**
451
447
  * @param {CDSMenu} menu - The CDSMenu custom element instance
@@ -500,11 +496,11 @@ const Nt = {
500
496
  }
501
497
  });
502
498
  }
503
- }, $t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
499
+ }, Xt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
504
500
  __proto__: null,
505
501
  cdsMenuButtonWrap: Yt,
506
- cdsMenuWrap: Vt
507
- }, Symbol.toStringTag, { value: "Module" })), Xt = {
502
+ cdsMenuWrap: $t
503
+ }, Symbol.toStringTag, { value: "Module" })), Zt = {
508
504
  selector: "cds-button",
509
505
  /**
510
506
  * @param {CDSButton} button - The CDSButton custom element instance
@@ -528,11 +524,11 @@ const Nt = {
528
524
  s.stopPropagation(), this.dispatchPanelEvent(o, l(t));
529
525
  });
530
526
  }
531
- }, Zt = {
527
+ }, Jt = {
532
528
  selector: "cds-icon-button:not([data-toggle])",
533
529
  event: "click",
534
530
  getData: (t, e) => e
535
- }, Jt = {
531
+ }, Kt = {
536
532
  selector: "cds-icon-button[data-toggle]",
537
533
  /**
538
534
  * @param {CDSIconButton} button - The CDSButton custom element instance
@@ -547,11 +543,11 @@ const Nt = {
547
543
  });
548
544
  });
549
545
  }
550
- }, Kt = {
546
+ }, Qt = {
551
547
  selector: "cds-button[data-fab]",
552
548
  event: "click",
553
549
  getData: (t, e) => e
554
- }, Qt = {
550
+ }, te = {
555
551
  selector: "cds-copy-button",
556
552
  /**
557
553
  * @param {CDSCopyButton} button - The CDSCopyButton custom element instance
@@ -579,7 +575,7 @@ const Nt = {
579
575
  }), t._copyObserver = s;
580
576
  }
581
577
  }
582
- }, te = {
578
+ }, ee = {
583
579
  selector: "cds-combo-button",
584
580
  /**
585
581
  * @param {CDSComboButton} button - The CDSComboButton custom element instance
@@ -606,15 +602,15 @@ const Nt = {
606
602
  }
607
603
  });
608
604
  }
609
- }, ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
605
+ }, ne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
610
606
  __proto__: null,
611
- cdsButFabWrap: Kt,
612
- cdsButtonWrap: Xt,
613
- cdsComboButWrap: te,
614
- cdsCopyButWrap: Qt,
615
- cdsIconButToggleWrap: Jt,
616
- cdsIconButWrap: Zt
617
- }, Symbol.toStringTag, { value: "Module" })), ne = {
607
+ cdsButFabWrap: Qt,
608
+ cdsButtonWrap: Zt,
609
+ cdsComboButWrap: ee,
610
+ cdsCopyButWrap: te,
611
+ cdsIconButToggleWrap: Kt,
612
+ cdsIconButWrap: Jt
613
+ }, Symbol.toStringTag, { value: "Module" })), oe = {
618
614
  selector: "cds-dropdown",
619
615
  /**
620
616
  * @param {CDSDropdown} dropdown - The CDSDropdown custom element instance
@@ -638,7 +634,7 @@ const Nt = {
638
634
  });
639
635
  });
640
636
  }
641
- }, oe = {
637
+ }, se = {
642
638
  selector: "cds-combo-box",
643
639
  /**
644
640
  * @param {CDSComboBox} comboBox - The CDSComboBox custom element instance
@@ -663,7 +659,7 @@ const Nt = {
663
659
  });
664
660
  });
665
661
  }
666
- }, se = {
662
+ }, ce = {
667
663
  selector: "cds-multi-select",
668
664
  /**
669
665
  * @param {CDSMultiSelect} multiSelect - The CDSMultiSelect custom element instance
@@ -686,12 +682,12 @@ const Nt = {
686
682
  });
687
683
  });
688
684
  }
689
- }, ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
685
+ }, ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
690
686
  __proto__: null,
691
- cdsComboBoxWrap: oe,
692
- cdsDropdownWrap: ne,
693
- cdsMultiSelectWrap: se
694
- }, Symbol.toStringTag, { value: "Module" })), ie = {
687
+ cdsComboBoxWrap: se,
688
+ cdsDropdownWrap: oe,
689
+ cdsMultiSelectWrap: ce
690
+ }, Symbol.toStringTag, { value: "Module" })), ae = {
695
691
  selector: "cds-date-picker",
696
692
  /**
697
693
  * @param {CDSDatePicker} datePicker - The CDSDatePicker custom element instance
@@ -717,18 +713,18 @@ const Nt = {
717
713
  });
718
714
  });
719
715
  }
720
- }, ae = {
716
+ }, re = {
721
717
  selector: "cds-time-picker",
722
718
  event: "cds-time-picker-changed",
723
719
  getData: (t, e, n) => ({
724
720
  ...e,
725
721
  value: n.value
726
722
  })
727
- }, re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
723
+ }, le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
728
724
  __proto__: null,
729
- cdsDatePickerWrap: ie,
730
- cdsTimePickerWrap: ae
731
- }, Symbol.toStringTag, { value: "Module" })), le = {
725
+ cdsDatePickerWrap: ae,
726
+ cdsTimePickerWrap: re
727
+ }, Symbol.toStringTag, { value: "Module" })), de = {
732
728
  selector: "cds-file-uploader",
733
729
  /**
734
730
  * @param {CDSFileUploader} uploader - The CDSFileUploader custom element instance
@@ -754,10 +750,10 @@ const Nt = {
754
750
  });
755
751
  });
756
752
  }
757
- }, de = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
753
+ }, pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
758
754
  __proto__: null,
759
- cdsFileUploaderWrap: le
760
- }, Symbol.toStringTag, { value: "Module" })), pe = {
755
+ cdsFileUploaderWrap: de
756
+ }, Symbol.toStringTag, { value: "Module" })), ue = {
761
757
  selector: "cds-tabs",
762
758
  /**
763
759
  * @param {CDSTabs} tabs - The CDSTabs custom element instance
@@ -782,7 +778,7 @@ const Nt = {
782
778
  });
783
779
  });
784
780
  }
785
- }, ue = {
781
+ }, me = {
786
782
  selector: "cds-accordion",
787
783
  /**
788
784
  * @param {CDSAccordion} accordion - The CDSAccordion custom element instance
@@ -801,7 +797,7 @@ const Nt = {
801
797
  });
802
798
  });
803
799
  }
804
- }, me = {
800
+ }, fe = {
805
801
  selector: "cds-content-switcher",
806
802
  /**
807
803
  * @param {CDSContentSwitcher} switcher - The CDSContentSwitcher custom element instance
@@ -828,19 +824,19 @@ const Nt = {
828
824
  }
829
825
  }, ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
830
826
  __proto__: null,
831
- cdsAccordionWrap: ue,
832
- cdsContentSwitcherWrap: me,
833
- cdsTabsWrap: pe
834
- }, Symbol.toStringTag, { value: "Module" })), fe = {
827
+ cdsAccordionWrap: me,
828
+ cdsContentSwitcherWrap: fe,
829
+ cdsTabsWrap: ue
830
+ }, Symbol.toStringTag, { value: "Module" })), he = {
835
831
  selector: "cds-breadcrumb-item"
836
- }, he = {
832
+ }, ve = {
837
833
  selector: "cds-breadcrumb-link",
838
834
  event: "click",
839
835
  getData: (t, e, n) => (t.preventDefault(), {
840
836
  ...e,
841
837
  href: n.getAttribute("href")
842
838
  })
843
- }, ve = {
839
+ }, be = {
844
840
  selector: "cds-breadcrumb",
845
841
  /**
846
842
  * @param {CDSBreadcrumb} breadcrumb - The CDSBreadcrumb custom element instance
@@ -871,12 +867,12 @@ const Nt = {
871
867
  });
872
868
  }
873
869
  }
874
- }, be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
870
+ }, Ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
875
871
  __proto__: null,
876
- cdsBreadCrumbWrap: ve,
877
- cdsBreadcrumbItemWrap: fe,
878
- cdsBreadcrumbLinkWrap: he
879
- }, Symbol.toStringTag, { value: "Module" })), Ee = {
872
+ cdsBreadCrumbWrap: be,
873
+ cdsBreadcrumbItemWrap: he,
874
+ cdsBreadcrumbLinkWrap: ve
875
+ }, Symbol.toStringTag, { value: "Module" })), Se = {
880
876
  selector: "cds-text-input",
881
877
  multiEvent: !0,
882
878
  events: [
@@ -897,7 +893,7 @@ const Nt = {
897
893
  })
898
894
  }
899
895
  ]
900
- }, Se = {
896
+ }, _e = {
901
897
  selector: "cds-textarea",
902
898
  multiEvent: !0,
903
899
  events: [
@@ -918,7 +914,7 @@ const Nt = {
918
914
  })
919
915
  }
920
916
  ]
921
- }, _e = {
917
+ }, Ie = {
922
918
  selector: "cds-number-input",
923
919
  event: "cds-number-input",
924
920
  getData: (t, e, n) => ({
@@ -927,7 +923,7 @@ const Nt = {
927
923
  direction: t.detail.direction
928
924
  // 'up' or 'down' when using steppers
929
925
  })
930
- }, Ie = {
926
+ }, ye = {
931
927
  selector: "cds-password-input",
932
928
  multiEvent: !0,
933
929
  events: [
@@ -948,7 +944,7 @@ const Nt = {
948
944
  })
949
945
  }
950
946
  ]
951
- }, ye = {
947
+ }, Pe = {
952
948
  selector: "cds-search",
953
949
  event: "cds-search-input",
954
950
  getData: (t, e, n) => ({
@@ -957,12 +953,12 @@ const Nt = {
957
953
  })
958
954
  }, Ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
959
955
  __proto__: null,
960
- cdsNumberInputWrap: _e,
961
- cdsPasswordInputWrap: Ie,
962
- cdsSearchWrap: ye,
963
- cdsTextAreaWrap: Se,
964
- cdsTextInputWrap: Ee
965
- }, Symbol.toStringTag, { value: "Module" })), Pe = {
956
+ cdsNumberInputWrap: Ie,
957
+ cdsPasswordInputWrap: ye,
958
+ cdsSearchWrap: Pe,
959
+ cdsTextAreaWrap: _e,
960
+ cdsTextInputWrap: Se
961
+ }, Symbol.toStringTag, { value: "Module" })), Ae = {
966
962
  selector: "cds-checkbox",
967
963
  event: "cds-checkbox-changed",
968
964
  getData: (t, e, n) => ({
@@ -970,14 +966,14 @@ const Nt = {
970
966
  checked: t.detail.checked,
971
967
  value: n.value
972
968
  })
973
- }, Ae = {
969
+ }, Te = {
974
970
  selector: "cds-radio-button-group",
975
971
  event: "cds-radio-button-group-changed",
976
972
  getData: (t, e) => ({
977
973
  ...e,
978
974
  value: t.detail?.value
979
975
  })
980
- }, Te = {
976
+ }, De = {
981
977
  selector: "cds-toggle",
982
978
  event: "cds-toggle-changed",
983
979
  getData: (t, e) => ({
@@ -985,14 +981,14 @@ const Nt = {
985
981
  isOn: t.detail.checked,
986
982
  value: t.detail.checked
987
983
  })
988
- }, De = {
984
+ }, ke = {
989
985
  selector: "cds-select",
990
986
  event: "cds-select-selected",
991
987
  getData: (t, e) => ({
992
988
  ...e,
993
989
  value: t.detail.value
994
990
  })
995
- }, ke = {
991
+ }, Ne = {
996
992
  selector: "cds-slider",
997
993
  /**
998
994
  * @param {CDSSlider} slider - The CDSSlider custom element instance
@@ -1014,18 +1010,18 @@ const Nt = {
1014
1010
  });
1015
1011
  });
1016
1012
  }
1017
- }, Ne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1013
+ }, Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1018
1014
  __proto__: null,
1019
- cdsCheckboxWrap: Pe,
1020
- cdsRadioButGroupWrap: Ae,
1021
- cdsSelectWrap: De,
1022
- cdsSliderWrap: ke,
1023
- cdsToggleWrap: Te
1024
- }, Symbol.toStringTag, { value: "Module" })), Oe = {
1015
+ cdsCheckboxWrap: Ae,
1016
+ cdsRadioButGroupWrap: Te,
1017
+ cdsSelectWrap: ke,
1018
+ cdsSliderWrap: Ne,
1019
+ cdsToggleWrap: De
1020
+ }, Symbol.toStringTag, { value: "Module" })), we = {
1025
1021
  selector: "cds-tag",
1026
1022
  event: "click",
1027
1023
  getData: (t, e) => e
1028
- }, we = {
1024
+ }, Me = {
1029
1025
  selector: "cds-dismissible-tag",
1030
1026
  /**
1031
1027
  * @param {CDSDismissibleTag} tag - The CDSDismissibleTag custom element instance
@@ -1046,19 +1042,19 @@ const Nt = {
1046
1042
  });
1047
1043
  });
1048
1044
  }
1049
- }, Me = {
1045
+ }, We = {
1050
1046
  selector: "cds-filter-tag",
1051
1047
  event: "cds-filter-tag-closed",
1052
1048
  getData: (t, e) => ({
1053
1049
  ...e,
1054
1050
  action: "remove"
1055
1051
  })
1056
- }, We = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1052
+ }, Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1057
1053
  __proto__: null,
1058
- cdsFilterTagWrap: Me,
1059
- cdsSDismissibleTagWrap: we,
1060
- cdsTagsWrap: Oe
1061
- }, Symbol.toStringTag, { value: "Module" })), Re = {
1054
+ cdsFilterTagWrap: We,
1055
+ cdsSDismissibleTagWrap: Me,
1056
+ cdsTagsWrap: we
1057
+ }, Symbol.toStringTag, { value: "Module" })), Be = {
1062
1058
  selector: "cds-overflow-menu",
1063
1059
  /**
1064
1060
  * @param {CDSOverflowMenu} overflowMenu - The CDSOverflowMenu custom element instance
@@ -1075,7 +1071,7 @@ const Nt = {
1075
1071
  });
1076
1072
  });
1077
1073
  }
1078
- }, Be = {
1074
+ }, ze = {
1079
1075
  selector: "cds-structured-list",
1080
1076
  /**
1081
1077
  * @param {CDSStructuredList} list - The CDSStructuredList custom element instance
@@ -1099,7 +1095,7 @@ const Nt = {
1099
1095
  });
1100
1096
  });
1101
1097
  }
1102
- }, ze = {
1098
+ }, je = {
1103
1099
  selector: "cds-tree-view",
1104
1100
  /**
1105
1101
  * @param {CDSTreeView} tree - The CDSTreeView custom element instance
@@ -1125,26 +1121,26 @@ const Nt = {
1125
1121
  });
1126
1122
  });
1127
1123
  }
1128
- }, je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1124
+ }, xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1129
1125
  __proto__: null,
1130
- cdsOverflowMenuWrap: Re,
1131
- cdsStructuredListWrap: Be,
1132
- cdsTreeViewWrap: ze
1133
- }, Symbol.toStringTag, { value: "Module" })), xe = {
1126
+ cdsOverflowMenuWrap: Be,
1127
+ cdsStructuredListWrap: ze,
1128
+ cdsTreeViewWrap: je
1129
+ }, Symbol.toStringTag, { value: "Module" })), Le = {
1134
1130
  selector: "cds-toast-notification",
1135
1131
  event: "cds-notification-closed",
1136
1132
  getData: (t, e) => ({
1137
1133
  ...e,
1138
1134
  action: "closed"
1139
1135
  })
1140
- }, Le = {
1136
+ }, Fe = {
1141
1137
  selector: "cds-inline-notification",
1142
1138
  event: "cds-notification-closed",
1143
1139
  getData: (t, e) => ({
1144
1140
  ...e,
1145
1141
  action: "closed"
1146
1142
  })
1147
- }, Fe = {
1143
+ }, qe = {
1148
1144
  selector: "cds-actionable-notification",
1149
1145
  /**
1150
1146
  * @param {CDSActionableNotification} notification - The CDSActionableNotification custom element instance
@@ -1166,19 +1162,19 @@ const Nt = {
1166
1162
  });
1167
1163
  });
1168
1164
  }
1169
- }, qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1165
+ }, Ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1170
1166
  __proto__: null,
1171
- cdsActionableNotificationWrap: Fe,
1172
- cdsInlineNotificationWrap: Le,
1173
- cdsToastNotificationWrap: xe
1174
- }, Symbol.toStringTag, { value: "Module" })), Ge = {
1167
+ cdsActionableNotificationWrap: qe,
1168
+ cdsInlineNotificationWrap: Fe,
1169
+ cdsToastNotificationWrap: Le
1170
+ }, Symbol.toStringTag, { value: "Module" })), Ue = {
1175
1171
  selector: "cds-clickable-tile",
1176
1172
  event: "click",
1177
1173
  getData: (t, e) => ({
1178
1174
  ...e,
1179
1175
  href: t.currentTarget.getAttribute("href")
1180
1176
  })
1181
- }, Ue = {
1177
+ }, He = {
1182
1178
  selector: "cds-expandable-tile",
1183
1179
  /**
1184
1180
  * @param {CDSExpandableTile} tile - The CDSExpandableTile custom element instance
@@ -1201,7 +1197,7 @@ const Nt = {
1201
1197
  });
1202
1198
  });
1203
1199
  }
1204
- }, He = {
1200
+ }, Ve = {
1205
1201
  selector: "cds-selectable-tile",
1206
1202
  event: "cds-selectable-tile-changed",
1207
1203
  getData: (t, e, n) => ({
@@ -1209,7 +1205,7 @@ const Nt = {
1209
1205
  selected: t.detail.selected,
1210
1206
  value: n.value
1211
1207
  })
1212
- }, Ve = {
1208
+ }, $e = {
1213
1209
  selector: "cds-radio-tile",
1214
1210
  event: "cds-selectable-tile-changed",
1215
1211
  getData: (t, e, n) => ({
@@ -1219,11 +1215,11 @@ const Nt = {
1219
1215
  })
1220
1216
  }, Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1221
1217
  __proto__: null,
1222
- cdsClickableTileWrap: Ge,
1223
- cdsExpandableTileWrap: Ue,
1224
- cdsRadioTileWrap: Ve,
1225
- cdsSelectableTileWrap: He
1226
- }, Symbol.toStringTag, { value: "Module" })), $e = {
1218
+ cdsClickableTileWrap: Ue,
1219
+ cdsExpandableTileWrap: He,
1220
+ cdsRadioTileWrap: $e,
1221
+ cdsSelectableTileWrap: Ve
1222
+ }, Symbol.toStringTag, { value: "Module" })), Xe = {
1227
1223
  selector: "cds-progress-bar",
1228
1224
  /**
1229
1225
  * @param {CDSProgressBar} progressBar - The CDSProgressBar custom element instance
@@ -1246,7 +1242,7 @@ const Nt = {
1246
1242
  }), t._progressObserver = n;
1247
1243
  }
1248
1244
  }
1249
- }, Xe = {
1245
+ }, Ze = {
1250
1246
  selector: "cds-progress-indicator",
1251
1247
  /**
1252
1248
  * @param {CDSProgressIndicator} indicator - The CDSProgressIndicator custom element instance
@@ -1264,7 +1260,7 @@ const Nt = {
1264
1260
  });
1265
1261
  });
1266
1262
  }
1267
- }, Ze = {
1263
+ }, Je = {
1268
1264
  selector: "cds-inline-loading",
1269
1265
  /**
1270
1266
  * @param {CDSInlineLoading} inlineLoading - The CDSInlineLoading custom element instance
@@ -1297,12 +1293,12 @@ const Nt = {
1297
1293
  }), t._statusObserver = s;
1298
1294
  }
1299
1295
  }
1300
- }, Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1296
+ }, Ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1301
1297
  __proto__: null,
1302
- cdsInlineLoadingWrap: Ze,
1303
- cdsProgressBarWrap: $e,
1304
- cdsProgressIndicatorWrap: Xe
1305
- }, Symbol.toStringTag, { value: "Module" })), Ke = {
1298
+ cdsInlineLoadingWrap: Je,
1299
+ cdsProgressBarWrap: Xe,
1300
+ cdsProgressIndicatorWrap: Ze
1301
+ }, Symbol.toStringTag, { value: "Module" })), Qe = {
1306
1302
  selector: "cds-tooltip",
1307
1303
  /**
1308
1304
  * @param {CDSTooltip} tooltip - The CDSTooltip custom element instance
@@ -1324,7 +1320,7 @@ const Nt = {
1324
1320
  });
1325
1321
  });
1326
1322
  }
1327
- }, Qe = {
1323
+ }, tn = {
1328
1324
  selector: "cds-popover",
1329
1325
  /**
1330
1326
  * @param {CDSPopover} popover - The CDSPopover custom element instance
@@ -1346,7 +1342,7 @@ const Nt = {
1346
1342
  });
1347
1343
  });
1348
1344
  }
1349
- }, tn = {
1345
+ }, en = {
1350
1346
  selector: "cds-toggletip",
1351
1347
  /**
1352
1348
  * @param {CDSToggletip} toggletip - The CDSToggletip custom element instance
@@ -1373,195 +1369,196 @@ const Nt = {
1373
1369
  }), t._toggletipObserver = n;
1374
1370
  }
1375
1371
  }
1376
- }, en = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1372
+ }, nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1377
1373
  __proto__: null,
1378
- cdsPopoverWrap: Qe,
1379
- cdsToggletipWrap: tn,
1380
- cdsTooltipWrap: Ke
1381
- }, Symbol.toStringTag, { value: "Module" })), nn = {
1374
+ cdsPopoverWrap: tn,
1375
+ cdsToggletipWrap: en,
1376
+ cdsTooltipWrap: Qe
1377
+ }, Symbol.toStringTag, { value: "Module" })), on = {
1382
1378
  selector: "cds-link",
1383
1379
  event: "click",
1384
1380
  getData: (t, e, n) => ({
1385
1381
  ...e,
1386
1382
  href: n.getAttribute("href")
1387
1383
  })
1388
- }, on = {
1384
+ }, sn = {
1389
1385
  selector: "cds-code-snippet",
1390
1386
  event: "cds-copy-button-clicked",
1391
1387
  getData: (t, e) => ({
1392
1388
  ...e,
1393
1389
  action: "copied"
1394
1390
  })
1395
- }, sn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1391
+ }, cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1396
1392
  __proto__: null,
1397
- cdsCodeSnipWrap: on,
1398
- cdsLinkWrap: nn
1399
- }, Symbol.toStringTag, { value: "Module" })), cn = {
1393
+ cdsCodeSnipWrap: sn,
1394
+ cdsLinkWrap: on
1395
+ }, Symbol.toStringTag, { value: "Module" })), an = {
1400
1396
  selector: "cds-form"
1401
- }, an = {
1402
- selector: "cds-form-item"
1403
1397
  }, rn = {
1404
- selector: "cds-form-group"
1398
+ selector: "cds-form-item"
1405
1399
  }, ln = {
1406
- selector: "cds-stack"
1400
+ selector: "cds-form-group"
1407
1401
  }, dn = {
1408
- selector: "cds-heading"
1402
+ selector: "cds-stack"
1409
1403
  }, pn = {
1410
- selector: "cds-icon"
1404
+ selector: "cds-heading"
1411
1405
  }, un = {
1412
- selector: "cds-icon-indicator"
1406
+ selector: "cds-icon"
1413
1407
  }, mn = {
1408
+ selector: "cds-icon-indicator"
1409
+ }, fn = {
1414
1410
  selector: "cds-badge-indicator"
1415
1411
  }, gn = {
1416
1412
  selector: "cds-loading"
1417
- }, fn = {
1418
- selector: "cds-skeleton-text"
1419
1413
  }, hn = {
1414
+ selector: "cds-skeleton-text"
1415
+ }, vn = {
1420
1416
  selector: "cds-skeleton-placeholder"
1421
- }, vn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1417
+ }, bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1422
1418
  __proto__: null,
1423
- cdsBadgeIndicatorWrap: mn,
1424
- cdsFormGroupWrap: rn,
1425
- cdsFormItemWrap: an,
1426
- cdsFormWrap: cn,
1427
- cdsHeadingWrap: dn,
1428
- cdsIconIndicatorWrap: un,
1429
- cdsIconWrap: pn,
1419
+ cdsBadgeIndicatorWrap: fn,
1420
+ cdsFormGroupWrap: ln,
1421
+ cdsFormItemWrap: rn,
1422
+ cdsFormWrap: an,
1423
+ cdsHeadingWrap: pn,
1424
+ cdsIconIndicatorWrap: mn,
1425
+ cdsIconWrap: un,
1430
1426
  cdsLoadingWrap: gn,
1431
- cdsSkeletonPlaceholderWrap: hn,
1432
- cdsSkeletonTextWrap: fn,
1433
- cdsStackWrap: ln
1427
+ cdsSkeletonPlaceholderWrap: vn,
1428
+ cdsSkeletonTextWrap: hn,
1429
+ cdsStackWrap: dn
1434
1430
  }, Symbol.toStringTag, { value: "Module" }));
1435
- function g(t) {
1431
+ function f(t) {
1436
1432
  return Object.values(t).filter(
1437
1433
  (e) => typeof e == "object" && e !== null && e.selector
1438
1434
  );
1439
1435
  }
1440
- const bn = [
1441
- ...g(Rt),
1442
- ...g(Ht),
1443
- ...g($t),
1444
- ...g(ee),
1445
- ...g(ce),
1446
- ...g(re),
1447
- ...g(de),
1448
- ...g(ge),
1449
- ...g(be),
1450
- ...g(Ce),
1451
- ...g(Ne),
1452
- ...g(We),
1453
- ...g(je),
1454
- ...g(qe),
1455
- ...g(Ye),
1456
- ...g(Je),
1457
- ...g(en),
1458
- ...g(sn),
1459
- ...g(vn)
1436
+ const En = [
1437
+ ...f(Bt),
1438
+ ...f(Wt),
1439
+ ...f(Vt),
1440
+ ...f(Xt),
1441
+ ...f(ne),
1442
+ ...f(ie),
1443
+ ...f(le),
1444
+ ...f(pe),
1445
+ ...f(ge),
1446
+ ...f(Ee),
1447
+ ...f(Ce),
1448
+ ...f(Oe),
1449
+ ...f(Re),
1450
+ ...f(xe),
1451
+ ...f(Ge),
1452
+ ...f(Ye),
1453
+ ...f(Ke),
1454
+ ...f(nn),
1455
+ ...f(cn),
1456
+ ...f(bn)
1460
1457
  ];
1461
- function En() {
1458
+ function Sn() {
1462
1459
  const t = /* @__PURE__ */ new Map();
1463
- return bn.forEach((e) => {
1460
+ return En.forEach((e) => {
1464
1461
  t.set(e.selector, e);
1465
1462
  }), t;
1466
1463
  }
1467
- const Sn = () => import("./index-Dt-eWAJs.js"), j = () => import("./index-C8Epo2Nt.js"), _n = () => import("./index-CKplFFc-.js"), In = () => import("./index-pE6aTBiZ.js"), w = () => import("./index-Coav7Owj.js"), yn = () => import("./index-CQxC5gdy.js"), Cn = () => import("./index-BCd5o-O6.js").then((t) => t.i), Pn = () => import("./index-Eo0QL5BD.js"), An = () => import("./index-DjW0vKON.js"), X = () => import("./index-BTM514kF.js"), Tn = () => import("./index-qCBuo7Dj.js"), x = () => import("./index-DuePdA69.js"), Z = () => import("./index-Co8vob2d.js").then((t) => t.i), Dn = () => import("./index-B9WY40Mg.js"), kn = () => import("./index-u-6uWe_o.js"), Nn = () => import("./index-Cvvea2-F.js"), On = () => import("./index-jwYklbEt.js"), wn = () => import("./index-BM6jRp79.js"), L = () => import("./index-C-y2nrc1.js"), Mn = () => import("./index-DNQ1-jUj.js"), F = () => import("./index-DtqsUG21.js"), Wn = () => import("./index-90TKvaQz.js"), Rn = () => import("./index-CuqzTZu2.js"), Bn = () => import("./index-GgCbc4A-.js"), J = () => import("./index-D6_et4O5.js"), zn = () => import("./index-D0qgF0lD.js"), jn = () => import("./index-BdCneYBx.js"), xn = () => import("./index-_YrjxtQS.js"), Ln = () => import("./index-BRUV1CNi.js"), Fn = () => import("./index-CI4IDokw.js"), qn = () => import("./index-CIhGaNHB.js"), K = () => import("./index-poW5zIu0.js"), Gn = () => import("./index-BGWhDeBi.js"), Un = () => import("./index-BLJaTPjJ.js"), Q = () => import("./index-Q_jttfI5.js"), Hn = () => import("./index-D64233nd.js"), q = () => import("./index-C1BCLU9c.js"), Vn = () => import("./index-BVNauB67.js"), G = () => import("./index-TZUVB-W3.js"), Yn = () => import("./index-DMtD0b_3.js").then((t) => t.i), $n = () => import("./index-Bm7ePd1P.js"), Xn = () => import("./index-Bzp_dDt9.js"), Zn = () => import("./index-sP0n4M3S.js"), Jn = () => import("./index-BoxMbYX3.js"), Kn = () => import("./index--nPiAPdI.js").then((t) => t.i), C = () => import("./index-BUX_B_Go.js"), P = () => import("./index-hsgeVwtf.js"), Qn = () => import("./index-Ss_rpifk.js").then((t) => t.i), to = () => import("./index-Oa3v3_7X.js"), eo = () => import("./index-Dy_V6Qce.js"), no = () => import("./index-BGh5ukZB.js"), oo = () => import("./index-ze2WZhYO.js"), tt = {
1464
+ const _n = () => import("./index-DEH3Oujh.js"), x = () => import("./index-BwpbR54Z.js"), In = () => import("./index-D2B2bs5k.js"), yn = () => import("./index-1eFOI8oe.js"), w = () => import("./index-DdzuoIsX.js"), Pn = () => import("./index-TelAKDy3.js"), Cn = () => import("./index-Dcs-4ouA.js").then((t) => t.i), An = () => import("./index-BIWPmvxN.js"), Tn = () => import("./index-DjLSW4tB.js"), Z = () => import("./index-DYmmXHAT.js"), Dn = () => import("./index-BoIS4S70.js"), L = () => import("./index-jRYYdv4C.js"), J = () => import("./index-DvbDUmZp.js").then((t) => t.i), kn = () => import("./index-DayFRhmw.js"), Nn = () => import("./index-DRsjyMRL.js"), On = () => import("./index-DrRc4GOh.js"), wn = () => import("./index-CYLJDFiF.js"), Mn = () => import("./index-CVH7Hv6v.js"), F = () => import("./index-CbKeQETj.js"), Wn = () => import("./index-DxlTsgQ8.js"), q = () => import("./index-f2QnoTe2.js"), Rn = () => import("./index-CyHAdAxX.js"), Bn = () => import("./index-Cm3Uqia6.js"), zn = () => import("./index-s53NHb2d.js"), K = () => import("./index-DhwMNjJj.js"), jn = () => import("./index-DbT4fJLV.js"), xn = () => import("./index-CuuD-d5b.js"), Ln = () => import("./index-B_Lmpm35.js"), Fn = () => import("./index-DU7E0qo4.js"), qn = () => import("./index-CRvczclO.js"), Gn = () => import("./index-B7CvW1Hr.js"), Q = () => import("./index-C2Q5YPz1.js"), Un = () => import("./index-DVTOmcgu.js"), Hn = () => import("./index-ScGZvs71.js"), tt = () => import("./index-B4L1iU-L.js"), Vn = () => import("./index-ChbKcl-Z.js"), G = () => import("./index-DFzKxIGc.js"), $n = () => import("./index-BXPG0d_k.js"), U = () => import("./index-CVqAaFaO.js"), Yn = () => import("./index-ZmTVduMY.js").then((t) => t.i), Xn = () => import("./index-UfSJPzl_.js"), Zn = () => import("./index-DD3tbFs9.js"), Jn = () => import("./index-Do0fzNBP.js"), Kn = () => import("./index-m978pani.js"), Qn = () => import("./index-DW9xYANG.js").then((t) => t.i), P = () => import("./index-BJ0SBIwX.js"), C = () => import("./index-BeQ7ZTCw.js"), to = () => import("./index-C7bz1V4O.js").then((t) => t.i), eo = () => import("./index-DQhfyFM4.js"), no = () => import("./index-CuZwN_ME.js"), oo = () => import("./index-BATw38c7.js"), so = () => import("./index-Bx5tyF27.js"), W = {
1468
1465
  // Tables & Pagination
1469
- "cds-table": [P, x, F, J, L, Q, Un],
1470
- "cds-pagination": [L, F, Q],
1466
+ "cds-table": [C, L, q, K, F, tt, Hn],
1467
+ "cds-pagination": [F, q, tt],
1471
1468
  // Buttons
1472
- "cds-button": [P, x],
1473
- "cds-icon-button:not([data-toggle])": [P, Z],
1474
- "cds-icon-button[data-toggle]": [P, Z],
1475
- "cds-button[data-fab]": [P, x],
1476
- "cds-copy-button": [P, kn],
1477
- "cds-combo-button": [P, Dn],
1469
+ "cds-button": [C, L],
1470
+ "cds-icon-button:not([data-toggle])": [C, J],
1471
+ "cds-icon-button[data-toggle]": [C, J],
1472
+ "cds-button[data-fab]": [C, L],
1473
+ "cds-copy-button": [C, Nn],
1474
+ "cds-combo-button": [C, kn],
1478
1475
  // Form Controls
1479
- "cds-checkbox": [Nn],
1480
- "cds-radio-button-group": [On],
1481
- "cds-toggle": [wn],
1482
- "cds-select": [L],
1483
- "cds-slider": [Mn],
1476
+ "cds-checkbox": [On],
1477
+ "cds-radio-button-group": [wn],
1478
+ "cds-toggle": [Mn],
1479
+ "cds-select": [F],
1480
+ "cds-slider": [Wn],
1484
1481
  // Form Inputs
1485
- "cds-text-input": [F],
1486
- "cds-textarea": [Wn],
1487
- "cds-number-input": [Rn],
1488
- "cds-password-input": [P, Bn],
1489
- "cds-search": [J],
1482
+ "cds-text-input": [q],
1483
+ "cds-textarea": [Rn],
1484
+ "cds-number-input": [Bn],
1485
+ "cds-password-input": [C, zn],
1486
+ "cds-search": [K],
1490
1487
  // Dropdown Components
1491
- "cds-dropdown": [jn],
1492
- "cds-combo-box": [zn],
1493
- "cds-multi-select": [xn],
1488
+ "cds-dropdown": [xn],
1489
+ "cds-combo-box": [jn],
1490
+ "cds-multi-select": [Ln],
1494
1491
  // Date & Time
1495
- "cds-date-picker": [Ln],
1496
- "cds-time-picker": [Fn],
1492
+ "cds-date-picker": [Fn],
1493
+ "cds-time-picker": [qn],
1497
1494
  // File Upload
1498
- "cds-file-uploader": [qn],
1495
+ "cds-file-uploader": [Gn],
1499
1496
  // Navigation - Tabs
1500
- "cds-tabs": [Pn],
1501
- "cds-accordion": [Sn],
1502
- "cds-content-switcher": [An],
1497
+ "cds-tabs": [An],
1498
+ "cds-accordion": [_n],
1499
+ "cds-content-switcher": [Tn],
1503
1500
  // Navigation - Breadcrumbs
1504
- "cds-breadcrumb": [j],
1505
- "cds-breadcrumb-item": [j],
1506
- "cds-breadcrumb-link": [j],
1501
+ "cds-breadcrumb": [x],
1502
+ "cds-breadcrumb-item": [x],
1503
+ "cds-breadcrumb-link": [x],
1507
1504
  // Navigation - Menus
1508
- "cds-menu": [X],
1509
- "cds-menu-button": [X],
1505
+ "cds-menu": [Z],
1506
+ "cds-menu-button": [Z],
1510
1507
  // Lists
1511
- "cds-overflow-menu": [Tn],
1512
- "cds-structured-list": [In],
1513
- "cds-tree-view": [yn],
1508
+ "cds-overflow-menu": [Dn],
1509
+ "cds-structured-list": [yn],
1510
+ "cds-tree-view": [Pn],
1514
1511
  // Modals
1515
- "cds-modal": [C],
1516
- "cds-modal-header": [C],
1517
- "cds-modal-heading": [C],
1518
- "cds-modal-label": [C],
1519
- "cds-modal-close-button": [C],
1520
- "cds-modal-body": [C],
1521
- "cds-modal-body-content": [C],
1522
- "cds-modal-footer": [C],
1523
- "cds-modal-footer-button": [C],
1512
+ "cds-modal": [P],
1513
+ "cds-modal-header": [P],
1514
+ "cds-modal-heading": [P],
1515
+ "cds-modal-label": [P],
1516
+ "cds-modal-close-button": [P],
1517
+ "cds-modal-body": [P],
1518
+ "cds-modal-body-content": [P],
1519
+ "cds-modal-footer": [P],
1520
+ "cds-modal-footer-button": [P],
1524
1521
  // Notifications
1525
- "cds-toast-notification": [G],
1526
- "cds-inline-notification": [G],
1527
- "cds-actionable-notification": [G],
1522
+ "cds-toast-notification": [U],
1523
+ "cds-inline-notification": [U],
1524
+ "cds-actionable-notification": [U],
1528
1525
  // Tiles
1529
1526
  "cds-clickable-tile": [w],
1530
1527
  "cds-expandable-tile": [w],
1531
1528
  "cds-selectable-tile": [w],
1532
1529
  "cds-radio-tile": [w],
1533
1530
  // Progress
1534
- "cds-progress-bar": [Xn],
1535
- "cds-progress-indicator": [Zn],
1536
- "cds-inline-loading": [$n],
1531
+ "cds-progress-bar": [Zn],
1532
+ "cds-progress-indicator": [Jn],
1533
+ "cds-inline-loading": [Xn],
1537
1534
  // Tooltips & Popovers
1538
- "cds-tooltip": [P],
1539
- "cds-popover": [Qn],
1540
- "cds-toggletip": [to],
1535
+ "cds-tooltip": [C],
1536
+ "cds-popover": [to],
1537
+ "cds-toggletip": [eo],
1541
1538
  // Tags
1542
- "cds-tag": [q],
1543
- "cds-dismissible-tag": [q],
1544
- "cds-filter-tag": [q],
1539
+ "cds-tag": [G],
1540
+ "cds-dismissible-tag": [G],
1541
+ "cds-filter-tag": [G],
1545
1542
  // Miscellaneous
1546
1543
  "cds-link": [Cn],
1547
- "cds-code-snippet": [Hn],
1544
+ "cds-code-snippet": [Vn],
1548
1545
  // Presentational - Form Structure
1549
- "cds-form": [K],
1550
- "cds-form-item": [K],
1551
- "cds-form-group": [Gn],
1546
+ "cds-form": [Q],
1547
+ "cds-form-item": [Q],
1548
+ "cds-form-group": [Un],
1552
1549
  // Presentational - Layout
1553
- "cds-stack": [_n],
1550
+ "cds-stack": [In],
1554
1551
  // Presentational - Typography & Icons
1555
- "cds-heading": [eo],
1556
- "cds-icon": [no],
1557
- "cds-icon-indicator": [oo],
1558
- "cds-badge-indicator": [Vn],
1552
+ "cds-heading": [no],
1553
+ "cds-icon": [oo],
1554
+ "cds-icon-indicator": [so],
1555
+ "cds-badge-indicator": [$n],
1559
1556
  // Presentational - Loading States
1560
1557
  "cds-loading": [Yn],
1561
- "cds-skeleton-text": [Kn],
1562
- "cds-skeleton-placeholder": [Jn]
1558
+ "cds-skeleton-text": [Qn],
1559
+ "cds-skeleton-placeholder": [Kn]
1563
1560
  };
1564
- function so(t) {
1561
+ function co(t) {
1565
1562
  const e = /* @__PURE__ */ new Map();
1566
1563
  if (!t || !(t instanceof Element))
1567
1564
  return e;
@@ -1577,19 +1574,19 @@ function so(t) {
1577
1574
  s.length === 0 && e.delete(o);
1578
1575
  return e;
1579
1576
  }
1580
- function co(t) {
1577
+ function io(t) {
1581
1578
  const e = /* @__PURE__ */ new Set();
1582
1579
  for (const [n, o] of t.entries())
1583
- o.length > 0 && tt[n] && tt[n].forEach((c) => e.add(c));
1580
+ o.length > 0 && W[n] && W[n].forEach((c) => e.add(c));
1584
1581
  return e;
1585
1582
  }
1586
- async function io(t, e) {
1583
+ async function ao(t, e) {
1587
1584
  if (t.size === 0)
1588
1585
  return;
1589
1586
  const n = Array.from(t).map(async (o) => (e.has(o) || e.set(o, o()), e.get(o)));
1590
1587
  await Promise.all(n);
1591
1588
  }
1592
- function ao(t, e) {
1589
+ function ro(t, e) {
1593
1590
  let n = 0;
1594
1591
  for (const [o, s] of t.entries()) {
1595
1592
  const c = M[o];
@@ -1602,8 +1599,8 @@ function ao(t, e) {
1602
1599
  const S = l(i);
1603
1600
  c.events.forEach((I) => {
1604
1601
  const D = E(i, I.attrName, "event");
1605
- D && e.listen(i, I.type, (W) => {
1606
- e.dispatchPanelEvent(D, I.getData(W, S, i));
1602
+ D && e.listen(i, I.type, (R) => {
1603
+ e.dispatchPanelEvent(D, I.getData(R, S, i));
1607
1604
  });
1608
1605
  });
1609
1606
  return;
@@ -1619,9 +1616,9 @@ function ao(t, e) {
1619
1616
  return n;
1620
1617
  }
1621
1618
  const M = {
1622
- ...Object.fromEntries(En())
1623
- }, ro = async function(t, e) {
1624
- const n = so(t);
1619
+ ...Object.fromEntries(Sn())
1620
+ }, lo = async function(t, e) {
1621
+ const n = co(t);
1625
1622
  if (n.size === 0) {
1626
1623
  this.debugMe("[Carbon] No Carbon components found in panel");
1627
1624
  return;
@@ -1629,17 +1626,22 @@ const M = {
1629
1626
  this.carbonComponents || (this.carbonComponents = /* @__PURE__ */ new Map());
1630
1627
  for (const [c, i] of n.entries())
1631
1628
  this.carbonComponents.set(c, i);
1632
- const o = co(n);
1629
+ const o = io(n);
1633
1630
  if (o.size > 0)
1634
1631
  try {
1635
- await io(o, e);
1632
+ await ao(o, e);
1636
1633
  } catch (c) {
1637
1634
  console.error("[Carbon] Failed to load some component modules:", c);
1638
1635
  }
1639
- const s = ao(n, this);
1636
+ const s = ro(n, this);
1640
1637
  s > 0 && this.debugMe(`[Carbon] Total components initialized: ${s}`);
1641
- }, po = () => {
1642
- Ct.register("carbon", {
1638
+ }, uo = (t = {}) => {
1639
+ const { preload: e = [] } = t;
1640
+ if (e.length > 0) {
1641
+ const n = e.filter((s) => W[s] ? !0 : (console.warn(`[Carbon] No import found for selector: ${s}`), !1)), o = n.flatMap((s) => W[s].map((c) => c()));
1642
+ Promise.all(o).then(() => console.debug(`[Carbon] Preloaded: ${n.join(", ")}`)).catch((s) => console.warn("[Carbon] Preload error:", s));
1643
+ }
1644
+ Pt.register("carbon", {
1643
1645
  /**
1644
1646
  * Main render function that orchestrates Carbon component initialization.
1645
1647
  * Called by Panel.parseContent() for each panel that enters the document.
@@ -1648,11 +1650,11 @@ const M = {
1648
1650
  * @param {Map} cache - Import cache to prevent duplicate module loads
1649
1651
  * @returns {Promise<void>}
1650
1652
  */
1651
- render: async function(t, e) {
1653
+ render: async function(n, o) {
1652
1654
  try {
1653
- await ro.call(this, t, e);
1654
- } catch (n) {
1655
- console.error("[Carbon] Initialization error:", n);
1655
+ await lo.call(this, n, o);
1656
+ } catch (s) {
1657
+ console.error("[Carbon] Initialization error:", s);
1656
1658
  }
1657
1659
  },
1658
1660
  /**
@@ -1663,7 +1665,7 @@ const M = {
1663
1665
  *
1664
1666
  * @param {Element} _element - The element being disposed
1665
1667
  */
1666
- dispose: function(t) {
1668
+ dispose: function(n) {
1667
1669
  },
1668
1670
  config: {
1669
1671
  version: "2.0",
@@ -1672,5 +1674,5 @@ const M = {
1672
1674
  }), console.debug("[Zooy] Carbon Design System library registered");
1673
1675
  };
1674
1676
  export {
1675
- po as registerCarbonLibrary
1677
+ uo as registerCarbonLibrary
1676
1678
  };