@trintel/zooy 1.0.9 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{button-B5xRFIEh.js → button-D2VKJsLS.js} +1 -1
- package/dist/chunks/{button-C4sd9gLh.js → button-pZ-DRK6v.js} +4 -4
- package/dist/chunks/{button-skeleton-MZDqqf3a.js → button-skeleton-CDETU1qG.js} +1 -1
- package/dist/chunks/{button-skeleton-Dk5IzDLm.js → button-skeleton-CtG4NQzT.js} +4 -4
- package/dist/chunks/{checkbox-DsM29E1F.js → checkbox-CVge6cOk.js} +5 -5
- package/dist/chunks/{checkbox-BBsWqHhb.js → checkbox-DUGLQnd6.js} +1 -1
- package/dist/chunks/{class-map-Blob2x1Q.js → class-map-C8RyF4hT.js} +1 -1
- package/dist/chunks/{class-map-DxXUQv4a.js → class-map-CLDu36Gc.js} +1 -1
- package/dist/chunks/{content-switcher-item-B5XFOV0z.js → content-switcher-item-CA0doXHf.js} +4 -4
- package/dist/chunks/{content-switcher-item-CaQRCBTe.js → content-switcher-item-DgEJ6RFq.js} +1 -1
- package/dist/chunks/{dropdown-item-CJp_mZ2I.js → dropdown-item-C6ff_rA-.js} +6 -6
- package/dist/chunks/{dropdown-item-Cwh3NfDc.js → dropdown-item-DTnshNe4.js} +1 -1
- package/dist/chunks/{icon-loader-BRYZ9-dX.js → icon-loader-DdCPeV1F.js} +1 -1
- package/dist/chunks/{icon-loader-CehUsWUX.js → icon-loader-bqbv6v-z.js} +1 -1
- package/dist/chunks/{icon-loader-utils-DfhPr5h_.js → icon-loader-utils-BWrg3bpN.js} +1 -1
- package/dist/chunks/{icon-loader-utils-BaBsGFM_.js → icon-loader-utils-wU7uJZWU.js} +1 -1
- package/dist/chunks/{if-defined--YV9wEAj.js → if-defined-JokaXq_5.js} +1 -1
- package/dist/chunks/{if-defined-BHvp27Od.js → if-defined-LYYEqErp.js} +1 -1
- package/dist/chunks/{if-non-empty-DaS9zyOo.js → if-non-empty-B3vx66n4.js} +1 -1
- package/dist/chunks/if-non-empty-UE5WDWwQ.js +1 -0
- package/dist/chunks/{index-DEh2-UZJ.js → index-0kDKmcUn.js} +1 -1
- package/dist/chunks/{index-DHles42i.js → index-2-nMkC0u.js} +1 -1
- package/dist/chunks/{index-DOb7ppJl.js → index-3GQJ_7On.js} +5 -5
- package/dist/chunks/{index-BYa48BT4.js → index-7nNy5WEl.js} +1 -1
- package/dist/chunks/{index-C276f5fW.js → index-9LzZzz4u.js} +1 -1
- package/dist/chunks/{index-BsNCKhBs.js → index-B0ZKf4SU.js} +1 -1
- package/dist/chunks/{index-BZ7ODxUk.js → index-B3rHrWp1.js} +5 -5
- package/dist/chunks/{index-BvUQiKco.js → index-B76lqoqT.js} +1 -1
- package/dist/chunks/{index-Dui3Vi6K.js → index-BC4YWTSF.js} +5 -5
- package/dist/chunks/{index-BjrjLGm3.js → index-BCzt9Ccn.js} +2 -2
- package/dist/chunks/{index-Dkz860Ep.js → index-BDgfSKzL.js} +3 -3
- package/dist/chunks/{index-C0Ziv4Lg.js → index-BGMe0w5_.js} +1 -1
- package/dist/chunks/{index-DGlzUO5f.js → index-BHJC9GSR.js} +1 -1
- package/dist/chunks/{index-CLaUpA-S.js → index-BL3nrhct.js} +3 -3
- package/dist/chunks/{index-DlEnFuPS.js → index-BL8bOR9n.js} +1 -1
- package/dist/chunks/{index-CORy3Pa1.js → index-BNX9EJIE.js} +1 -1
- package/dist/chunks/{index-BmUKW0kW.js → index-BRODR18b.js} +3 -3
- package/dist/chunks/{index-DExrBB06.js → index-BRT0gqo3.js} +4 -4
- package/dist/chunks/{index-CKgr4QI3.js → index-BWsnXW01.js} +1 -1
- package/dist/chunks/{index-BLYL92KD.js → index-BYHPRyAK.js} +1 -1
- package/dist/chunks/{index-CLmuZhI5.js → index-BYeH-Lx8.js} +1 -1
- package/dist/chunks/{index-CKECA6Bi.js → index-Bgmh4Nfq.js} +1 -1
- package/dist/chunks/{index-DV5sL-Mh.js → index-BiW01Ou8.js} +1 -1
- package/dist/chunks/{index-CDCT9JBg.js → index-BjPqbngg.js} +5 -5
- package/dist/chunks/{index-BSFdROB8.js → index-BoCQVLwG.js} +1 -1
- package/dist/chunks/{index-loKB7cIv.js → index-BrjlYyR4.js} +5 -5
- package/dist/chunks/{index-CV_L-5I4.js → index-Bumb78BV.js} +1 -1
- package/dist/chunks/{index-BXDKiGII.js → index-C21uRpcN.js} +2 -2
- package/dist/chunks/{index-CNU6h6vt.js → index-C2valRve.js} +5 -5
- package/dist/chunks/{index-qRCcVUtv.js → index-C3wd1Ce9.js} +1 -1
- package/dist/chunks/{index-DfCYA2CL.js → index-C50tGv-j.js} +1 -1
- package/dist/chunks/{index-DLut9sH5.js → index-C5GJatuZ.js} +8 -8
- package/dist/chunks/{index-CMmmbJSh.js → index-C5TJ62J9.js} +7 -7
- package/dist/chunks/{index-DdUuX4Oe.js → index-C5dTaeYU.js} +1 -1
- package/dist/chunks/{index-BQOq1vvH.js → index-CH2IVG4V.js} +1 -1
- package/dist/chunks/{index-DZMcd93M.js → index-CIWTMX9s.js} +1 -1
- package/dist/chunks/{index-NZ7MusKR.js → index-CIbCDWFV.js} +2 -2
- package/dist/chunks/{index-BBAH7Ul-.js → index-CPxaESxc.js} +3 -3
- package/dist/chunks/{index-i6Ep70AY.js → index-CR49u8S9.js} +1 -1
- package/dist/chunks/{index-D0c8Scw_.js → index-CTQAWlOg.js} +5 -5
- package/dist/chunks/{index-DEV12jMj.js → index-CTt8Y8HC.js} +1 -1
- package/dist/chunks/{index-tOWItg8e.js → index-CUhfQp9_.js} +5 -5
- package/dist/chunks/{index-CUy68xO6.js → index-CaLO9pKf.js} +4 -4
- package/dist/chunks/{index-BDJw9hLf.js → index-CiXoGI6W.js} +7 -7
- package/dist/chunks/{index-BwiG-jwr.js → index-CjEivsuj.js} +1 -1
- package/dist/chunks/{index-PlhvaDKI.js → index-Cke1JFeD.js} +3 -3
- package/dist/chunks/index-Cm-qH0_A.js +1 -0
- package/dist/chunks/{index-BdRBUuLB.js → index-CmqyRYtd.js} +1 -1
- package/dist/chunks/{index-oJ5OnqqB.js → index-CmxDyzAj.js} +1 -1
- package/dist/chunks/{index-GSWXkQ54.js → index-CnQZDqa3.js} +2 -2
- package/dist/chunks/{index-BXwNOxmz.js → index-Cpo2cg14.js} +1 -1
- package/dist/chunks/index-CqV7rF6Y.js +2 -0
- package/dist/chunks/{index-C77hqhqA.js → index-CsJ-eqZ9.js} +1 -1
- package/dist/chunks/{index-DabYIcPl.js → index-CvZ0FZoz.js} +10 -10
- package/dist/chunks/{index-BtS9nsdr.js → index-CyFniodw.js} +1 -1
- package/dist/chunks/{index-zn8VBbbH.js → index-Cz0qsW9k.js} +9 -9
- package/dist/chunks/{index-cneeu7y_.js → index-D3bm4dv9.js} +1 -1
- package/dist/chunks/{index-D_xHARJW.js → index-D46OGW4a.js} +7 -7
- package/dist/chunks/{index-CAgqWzow.js → index-D5TR0TpO.js} +5 -5
- package/dist/chunks/{index-Du6Xt9iB.js → index-D5reIinO.js} +7 -7
- package/dist/chunks/{index-C4pmKhMw.js → index-D79_j0Y6.js} +3 -3
- package/dist/chunks/{index-Bd3h6IUe.js → index-DDpWWnYg.js} +4 -4
- package/dist/chunks/{index-Co797QQC.js → index-DFku2wwc.js} +1 -1
- package/dist/chunks/{index-BodCpKSq.js → index-DIXYEqKa.js} +8 -8
- package/dist/chunks/{index-CX_XoqUh.js → index-DJ58_keq.js} +5 -5
- package/dist/chunks/{index-BnHoSTWv.js → index-DKKcCZD0.js} +4 -4
- package/dist/chunks/{index-CTJm7mCD.js → index-DLd78Rbz.js} +3 -3
- package/dist/chunks/{index-Bey-4kZC.js → index-DRBWg6SP.js} +6 -6
- package/dist/chunks/{index-B6-ZBaD4.js → index-DUN06aMm.js} +1 -1
- package/dist/chunks/{index-DEybieKF.js → index-DVIeirxu.js} +1 -1
- package/dist/chunks/{index-2bKxAUu7.js → index-DVJk-q4a.js} +8 -8
- package/dist/chunks/{index-BE0iYsJ5.js → index-DYPDRQjH.js} +3 -3
- package/dist/chunks/{index-DbFgxLQe.js → index-DYSNxsmk.js} +1 -1
- package/dist/chunks/{index-DvWjvPHH.js → index-Dc46GN9v.js} +1 -1
- package/dist/chunks/{index-B6bs42I0.js → index-DiMhcmKq.js} +7 -7
- package/dist/chunks/{index-ZBHwSMvY.js → index-DlaJ2UYi.js} +1 -1
- package/dist/chunks/{index-Dg53tAoz.js → index-DmgEkYDC.js} +1 -1
- package/dist/chunks/{index-BSSJRamX.js → index-DnIZrTPt.js} +1 -1
- package/dist/chunks/{index-BE5FgC1Z.js → index-Dnrd-ghp.js} +1 -1
- package/dist/chunks/{index-BlM79rIk.js → index-DoT9doqj.js} +1 -1
- package/dist/chunks/{index-DG1HMDEs.js → index-DoiyAuJa.js} +1 -1
- package/dist/chunks/{index-D8NYnDWQ.js → index-DpqoWgT9.js} +4 -4
- package/dist/chunks/{index-Crj9Sc_q.js → index-DraQgvgl.js} +1 -1
- package/dist/chunks/{index-BM59oOIJ.js → index-DsCjIWpO.js} +7 -7
- package/dist/chunks/{index-DtglBHCQ.js → index-DsShxfRw.js} +1 -1
- package/dist/chunks/{index-DSbYxfLs.js → index-DscKTLkM.js} +1 -1
- package/dist/chunks/{index-CFqEaeKw.js → index-DvpeF28r.js} +1 -1
- package/dist/chunks/{index-BF8o2tS2.js → index-Fd-LYjkR.js} +1 -1
- package/dist/chunks/{index-DNQ0R54o.js → index-MzshInpG.js} +3 -3
- package/dist/chunks/{index-PQIjb1W1.js → index-OboyKoLD.js} +6 -6
- package/dist/chunks/{index-CHJDVytM.js → index-QtI2aP7P.js} +4 -4
- package/dist/chunks/{index-CCfRgzXS.js → index-SS-8a0z5.js} +5 -5
- package/dist/chunks/{index-L5Km9H8v.js → index-Sc6xBZpS.js} +1 -1
- package/dist/chunks/{index-sISDYHRo.js → index-UfmYZ2gl.js} +4 -4
- package/dist/chunks/{index-COpJjxt8.js → index-XCgnYslF.js} +1 -1
- package/dist/chunks/{index-Db8hq1oK.js → index-_8VNB8cM.js} +5 -5
- package/dist/chunks/{index-DJXH0nsT.js → index-boHTic51.js} +6 -6
- package/dist/chunks/{index-DsABJ0hu.js → index-cfYcnLla.js} +6 -6
- package/dist/chunks/{index-BPOTiBnU.js → index-cxbnAO6M.js} +4 -4
- package/dist/chunks/{index-uEl2EDxm.js → index-frG4A1ZV.js} +1 -1
- package/dist/chunks/{index-d5VkMQr5.js → index-gXB8HHp-.js} +1 -1
- package/dist/chunks/{index-b3n-T2Mr.js → index-skQF78KL.js} +5 -5
- package/dist/chunks/{index-CmoxVlhj.js → index-wCs-JduP.js} +6 -6
- package/dist/chunks/{index-DghXFP1_.js → index-yQy9Zqt6.js} +1 -1
- package/dist/chunks/{loading-icon-BjhgIkxm.js → loading-icon-aUR93XFj.js} +1 -1
- package/dist/chunks/{loading-icon-CzsLYW5d.js → loading-icon-kRHi53Yj.js} +1 -1
- package/dist/chunks/{main-1YHLay2M.js → main-C7DwFPRv.js} +197 -163
- package/dist/chunks/{main-Dieh-js6.js → main-CBogFjAz.js} +4 -4
- package/dist/chunks/{property-PcxHNqC7.js → property-CsJ7ixLW.js} +1 -1
- package/dist/chunks/{property-rHw5Qiya.js → property-DlFpsdD_.js} +1 -1
- package/dist/chunks/{register-BVJ7Rj88.js → register-AR8jupzJ.js} +1 -1
- package/dist/chunks/{register-BVB1VVdT.js → register-CWsYpCXE.js} +1 -1
- package/dist/chunks/{register-DGyCiJGq.js → register-CpwdnySd.js} +142 -137
- package/dist/chunks/{register-D-bV-b_k.js → register-D3mJ58Cv.js} +1 -1
- package/dist/chunks/{search-BM3u-Up9.js → search-Cftx2dVp.js} +6 -6
- package/dist/chunks/{search-ClNSlscR.js → search-CuOnNcnw.js} +1 -1
- package/dist/chunks/{select-item-D6fUNCbb.js → select-item-BPKT7Wm1.js} +1 -1
- package/dist/chunks/{select-item-5W4QUbqx.js → select-item-DENN36wG.js} +7 -7
- package/dist/chunks/{state-Dt3SwvJx.js → state-BUoEDghj.js} +1 -1
- package/dist/chunks/{state-0RlnmTzo.js → state-C8_dQr4b.js} +1 -1
- package/dist/chunks/{text-input-DgwJ4KjV.js → text-input-CQrOXfMO.js} +5 -5
- package/dist/chunks/{text-input-BsExNRbn.js → text-input-CnlqMvsE.js} +1 -1
- package/dist/chunks/{tooltip-content-DHqA_dS-.js → tooltip-content-CKqz0OvQ.js} +1 -1
- package/dist/chunks/{tooltip-content-BEFieAlC.js → tooltip-content-CLu411r7.js} +3 -3
- package/dist/chunks/{unsafe-html-GZdjQgYe.js → unsafe-html-BiLL5zaQ.js} +1 -1
- package/dist/chunks/{unsafe-html-CRC4ViH6.js → unsafe-html-CPchn7UI.js} +1 -1
- package/dist/zooy.cjs.js +1 -1
- package/dist/zooy.es.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/if-non-empty-96tm0-2Q.js +0 -1
- package/dist/chunks/index-BZWvbxle.js +0 -1
- package/dist/chunks/index-BpO6h6ag.js +0 -2
|
@@ -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
|
|
2
|
-
var
|
|
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-C7DwFPRv.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
|
|
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
|
-
}),
|
|
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,16 +38,16 @@ function Dt() {
|
|
|
38
38
|
]
|
|
39
39
|
};
|
|
40
40
|
t.TABLE_SORT_CYCLES = e;
|
|
41
|
-
})(
|
|
41
|
+
})(j)), j;
|
|
42
42
|
}
|
|
43
43
|
var kt = Dt();
|
|
44
|
-
const
|
|
44
|
+
const X = (t, e, n) => {
|
|
45
45
|
const o = customElements.get("cds-table"), s = customElements.get("cds-pagination"), c = customElements.get(o.selectorTableBatchActions);
|
|
46
46
|
customElements.get("cds-popover");
|
|
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),
|
|
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) => {
|
|
48
48
|
t.listen(e, "click", (p) => {
|
|
49
49
|
const u = p.target.closest(o.selectorTableRow);
|
|
50
|
-
if (!u || p.composedPath().some((
|
|
50
|
+
if (!u || p.composedPath().some((g) => g.matches && g.matches(R))) return;
|
|
51
51
|
p.stopPropagation();
|
|
52
52
|
const m = l(u);
|
|
53
53
|
t.dispatchPanelEvent(r, {
|
|
@@ -56,25 +56,25 @@ const $ = (t, e, n) => {
|
|
|
56
56
|
});
|
|
57
57
|
}, st = (r) => {
|
|
58
58
|
t.listen(e, o.eventExpandoToggle, (p) => {
|
|
59
|
-
const u = p.target, m = u.tagName === "CDS-TABLE-HEADER-ROW",
|
|
59
|
+
const u = p.target, m = u.tagName === "CDS-TABLE-HEADER-ROW", g = p.detail.expanded, v = l(u), _ = {
|
|
60
60
|
tableAttrs: n,
|
|
61
61
|
...v,
|
|
62
62
|
target: u,
|
|
63
63
|
allRows: m,
|
|
64
|
-
didExpand:
|
|
64
|
+
didExpand: g
|
|
65
65
|
};
|
|
66
66
|
t.dispatchPanelEvent(r, _);
|
|
67
67
|
});
|
|
68
68
|
}, ct = (r) => {
|
|
69
|
-
k.set(
|
|
69
|
+
k.set(B, (p) => {
|
|
70
70
|
t.dispatchPanelEvent(r, p);
|
|
71
71
|
});
|
|
72
72
|
}, it = (r) => {
|
|
73
|
-
k.set(
|
|
74
|
-
const u = p.detail.selectedRows, m = Math.min(u.length, I.totalRowsCount),
|
|
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 = {
|
|
75
75
|
tableAttrs: n,
|
|
76
76
|
...v,
|
|
77
|
-
target:
|
|
77
|
+
target: g,
|
|
78
78
|
selectCount: m,
|
|
79
79
|
selection: _
|
|
80
80
|
};
|
|
@@ -82,10 +82,10 @@ const $ = (t, e, n) => {
|
|
|
82
82
|
});
|
|
83
83
|
}, at = (r) => {
|
|
84
84
|
t.listen(e, o.eventTableRowSelect, (p) => {
|
|
85
|
-
const u = p.target, m = p.detail.selectedRows || [],
|
|
85
|
+
const u = p.target, m = p.detail.selectedRows || [], g = m.length, v = m.map(l), _ = l(u), y = {
|
|
86
86
|
tableAttrs: n,
|
|
87
87
|
..._,
|
|
88
|
-
selectCount:
|
|
88
|
+
selectCount: g,
|
|
89
89
|
selection: v,
|
|
90
90
|
target: u
|
|
91
91
|
};
|
|
@@ -93,16 +93,16 @@ const $ = (t, e, n) => {
|
|
|
93
93
|
});
|
|
94
94
|
}, rt = () => {
|
|
95
95
|
t.listen(e, o.eventBeforeSort, (r) => {
|
|
96
|
-
const p = r.target, u = r.detail.oldSortDirection, m = r.detail.sortDirection,
|
|
97
|
-
r.cancelBubble = !0, r.stopPropagation(), r.preventDefault(), D.innerHTML = "", d && d.show(),
|
|
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) => {
|
|
98
98
|
A === p ? (A.setAttribute("sort-active", "true"), A.setAttribute("sort-direction", m)) : (A.removeAttribute("sort-active"), A.setAttribute("sort-direction", "none"));
|
|
99
99
|
});
|
|
100
100
|
const y = { ordering: _ };
|
|
101
101
|
i.fetchData(y).then(() => {
|
|
102
102
|
a.setData(i), d && d.hide();
|
|
103
|
-
}), k.has(
|
|
103
|
+
}), k.has(B) && k.get(B)({
|
|
104
104
|
tableAttrs: n,
|
|
105
|
-
...
|
|
105
|
+
...g,
|
|
106
106
|
sortNow: m,
|
|
107
107
|
sortWas: u,
|
|
108
108
|
sortField: v,
|
|
@@ -114,7 +114,7 @@ const $ = (t, e, n) => {
|
|
|
114
114
|
t.listen(e, o.eventTableRowSelectAll, (r) => {
|
|
115
115
|
r.detail.selectedRows.length === 0 && e.querySelectorAll(o.selectorTableRow).forEach((p) => {
|
|
116
116
|
p.disabled = !1, p.selected = !1;
|
|
117
|
-
}), k.has(
|
|
117
|
+
}), k.has(z) && k.get(z)(r);
|
|
118
118
|
});
|
|
119
119
|
}, dt = () => {
|
|
120
120
|
t.listen(e, o.eventBeforeChangeSelectionAll, (r) => {
|
|
@@ -156,9 +156,9 @@ const $ = (t, e, n) => {
|
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
|
-
},
|
|
159
|
+
}, ft = (r) => {
|
|
160
160
|
r.caret = !1;
|
|
161
|
-
const p = r.querySelector("cds-icon-button, button:not([slot])"), u = r.querySelectorAll("cds-checkbox"), m = r.querySelectorAll("cds-modal-footer-button"),
|
|
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(
|
|
162
162
|
(h, b) => (h[b] = null, h),
|
|
163
163
|
{ offset: 0 }
|
|
164
164
|
);
|
|
@@ -177,28 +177,28 @@ const $ = (t, e, n) => {
|
|
|
177
177
|
return u.forEach((b) => {
|
|
178
178
|
const T = b.getAttribute("id");
|
|
179
179
|
if (!T || !T.includes(":")) return;
|
|
180
|
-
const [
|
|
181
|
-
h.has(
|
|
180
|
+
const [N, O] = T.split(":");
|
|
181
|
+
h.has(N) || h.set(N, []), b.checked && h.get(N).push(O);
|
|
182
182
|
}), h;
|
|
183
183
|
};
|
|
184
184
|
if (y.has(v)) {
|
|
185
185
|
const h = (b) => b.checked = !1;
|
|
186
186
|
t.listen(y.get(v), "click", (b) => {
|
|
187
|
-
b.stopPropagation(), u.forEach(h), d && d.show(), i.fetchData(
|
|
187
|
+
b.stopPropagation(), u.forEach(h), d && d.show(), i.fetchData(g).then(() => {
|
|
188
188
|
a && a.setData(i), d && d.hide(), r.open = !1;
|
|
189
189
|
});
|
|
190
190
|
});
|
|
191
191
|
}
|
|
192
192
|
y.has(_) && t.listen(y.get(_), "click", (h) => {
|
|
193
193
|
h.stopPropagation();
|
|
194
|
-
const b = [...A()].reduce((T, [
|
|
194
|
+
const b = [...A()].reduce((T, [N, O]) => (T[N] = O === [] ? null : O, T), { offset: 0 });
|
|
195
195
|
d && d.show(), i.fetchData(b).then(() => {
|
|
196
196
|
a && a.setData(i), d && d.hide(), r.open = !1;
|
|
197
197
|
});
|
|
198
198
|
}), t.listen(p, "click", (h) => {
|
|
199
199
|
h.stopPropagation(), r.open = !r.open, r.classList.toggle("cds--overflow-menu--open", r.open);
|
|
200
200
|
});
|
|
201
|
-
},
|
|
201
|
+
}, gt = () => {
|
|
202
202
|
t.listen(a, s.eventPageSizeChanged, (r) => {
|
|
203
203
|
const u = {
|
|
204
204
|
limit: a.pageSize,
|
|
@@ -211,24 +211,24 @@ const $ = (t, e, n) => {
|
|
|
211
211
|
}, ht = () => {
|
|
212
212
|
let r = null;
|
|
213
213
|
t.listen(a, s.eventChangeCurrent, (p) => {
|
|
214
|
-
const { page: u } = p.detail, m = a.pageSize,
|
|
215
|
-
if (
|
|
216
|
-
r =
|
|
217
|
-
const v = { limit: m, offset:
|
|
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 };
|
|
218
218
|
i.fetchData(v).then(() => {
|
|
219
219
|
a.setData(i), d && d.hide();
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
};
|
|
224
|
-
i && a && (
|
|
225
|
-
const
|
|
226
|
-
if (
|
|
227
|
-
const r =
|
|
228
|
-
i && r && r.forEach(
|
|
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);
|
|
229
229
|
}
|
|
230
230
|
e.isSelectable && (lt(), dt(), I && pt(I)), i && nt && rt();
|
|
231
|
-
const
|
|
231
|
+
const $ = {
|
|
232
232
|
zoo: {
|
|
233
233
|
event: {
|
|
234
234
|
row: {
|
|
@@ -246,9 +246,9 @@ const $ = (t, e, n) => {
|
|
|
246
246
|
}
|
|
247
247
|
};
|
|
248
248
|
_t(n).forEach(([r, p]) => {
|
|
249
|
-
It(r,
|
|
249
|
+
It(r, $) && yt(r, $)(p);
|
|
250
250
|
});
|
|
251
|
-
},
|
|
251
|
+
}, Nt = (t) => {
|
|
252
252
|
const e = document.createElement("cds-pagination");
|
|
253
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) => {
|
|
254
254
|
const o = document.createElement("cds-select-item");
|
|
@@ -259,7 +259,7 @@ const $ = (t, e, n) => {
|
|
|
259
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;
|
|
260
260
|
}
|
|
261
261
|
}, e;
|
|
262
|
-
},
|
|
262
|
+
}, Ot = (t) => {
|
|
263
263
|
if (!t.parentNode) {
|
|
264
264
|
console.error("[Carbon Table] Cannot create skeleton: table has no parent node");
|
|
265
265
|
return;
|
|
@@ -309,14 +309,14 @@ const $ = (t, e, n) => {
|
|
|
309
309
|
const e = l(t), n = this, o = wt(n, t);
|
|
310
310
|
if (Et(o)) {
|
|
311
311
|
t.dataBinder = o;
|
|
312
|
-
const s =
|
|
312
|
+
const s = Ot(t);
|
|
313
313
|
t.skeleton = s;
|
|
314
|
-
const c =
|
|
314
|
+
const c = Nt(o);
|
|
315
315
|
t.pagination = c, t.after(c), o.fetchData().then((i) => {
|
|
316
|
-
s.hide(), c.setData(o),
|
|
316
|
+
s.hide(), c.setData(o), X(n, t, e);
|
|
317
317
|
});
|
|
318
318
|
} else
|
|
319
|
-
|
|
319
|
+
X(n, t, e);
|
|
320
320
|
}
|
|
321
321
|
}, Wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
322
322
|
__proto__: null,
|
|
@@ -441,7 +441,7 @@ const $ = (t, e, n) => {
|
|
|
441
441
|
cdsModalHeadingWrap: xt,
|
|
442
442
|
cdsModalLabelWrap: Lt,
|
|
443
443
|
cdsModalWrap: zt
|
|
444
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
444
|
+
}, Symbol.toStringTag, { value: "Module" })), $t = {
|
|
445
445
|
selector: "cds-menu",
|
|
446
446
|
/**
|
|
447
447
|
* @param {CDSMenu} menu - The CDSMenu custom element instance
|
|
@@ -478,7 +478,7 @@ const $ = (t, e, n) => {
|
|
|
478
478
|
});
|
|
479
479
|
});
|
|
480
480
|
}
|
|
481
|
-
},
|
|
481
|
+
}, Yt = {
|
|
482
482
|
selector: "cds-menu-button",
|
|
483
483
|
/**
|
|
484
484
|
* @param {CDSMenuButton} menuButton - The CDSMenuButton custom element instance
|
|
@@ -498,8 +498,8 @@ const $ = (t, e, n) => {
|
|
|
498
498
|
}
|
|
499
499
|
}, Xt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
500
500
|
__proto__: null,
|
|
501
|
-
cdsMenuButtonWrap:
|
|
502
|
-
cdsMenuWrap:
|
|
501
|
+
cdsMenuButtonWrap: Yt,
|
|
502
|
+
cdsMenuWrap: $t
|
|
503
503
|
}, Symbol.toStringTag, { value: "Module" })), Zt = {
|
|
504
504
|
selector: "cds-button",
|
|
505
505
|
/**
|
|
@@ -797,7 +797,7 @@ const $ = (t, e, n) => {
|
|
|
797
797
|
});
|
|
798
798
|
});
|
|
799
799
|
}
|
|
800
|
-
},
|
|
800
|
+
}, fe = {
|
|
801
801
|
selector: "cds-content-switcher",
|
|
802
802
|
/**
|
|
803
803
|
* @param {CDSContentSwitcher} switcher - The CDSContentSwitcher custom element instance
|
|
@@ -822,10 +822,10 @@ const $ = (t, e, n) => {
|
|
|
822
822
|
});
|
|
823
823
|
});
|
|
824
824
|
}
|
|
825
|
-
},
|
|
825
|
+
}, ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
826
826
|
__proto__: null,
|
|
827
827
|
cdsAccordionWrap: me,
|
|
828
|
-
cdsContentSwitcherWrap:
|
|
828
|
+
cdsContentSwitcherWrap: fe,
|
|
829
829
|
cdsTabsWrap: ue
|
|
830
830
|
}, Symbol.toStringTag, { value: "Module" })), he = {
|
|
831
831
|
selector: "cds-breadcrumb-item"
|
|
@@ -944,18 +944,18 @@ const $ = (t, e, n) => {
|
|
|
944
944
|
})
|
|
945
945
|
}
|
|
946
946
|
]
|
|
947
|
-
},
|
|
947
|
+
}, Pe = {
|
|
948
948
|
selector: "cds-search",
|
|
949
949
|
event: "cds-search-input",
|
|
950
950
|
getData: (t, e, n) => ({
|
|
951
951
|
...e,
|
|
952
952
|
value: n.value
|
|
953
953
|
})
|
|
954
|
-
},
|
|
954
|
+
}, Ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
955
955
|
__proto__: null,
|
|
956
956
|
cdsNumberInputWrap: Ie,
|
|
957
957
|
cdsPasswordInputWrap: ye,
|
|
958
|
-
cdsSearchWrap:
|
|
958
|
+
cdsSearchWrap: Pe,
|
|
959
959
|
cdsTextAreaWrap: _e,
|
|
960
960
|
cdsTextInputWrap: Se
|
|
961
961
|
}, Symbol.toStringTag, { value: "Module" })), Ae = {
|
|
@@ -988,7 +988,7 @@ const $ = (t, e, n) => {
|
|
|
988
988
|
...e,
|
|
989
989
|
value: t.detail.value
|
|
990
990
|
})
|
|
991
|
-
},
|
|
991
|
+
}, Ne = {
|
|
992
992
|
selector: "cds-slider",
|
|
993
993
|
/**
|
|
994
994
|
* @param {CDSSlider} slider - The CDSSlider custom element instance
|
|
@@ -1010,12 +1010,12 @@ const $ = (t, e, n) => {
|
|
|
1010
1010
|
});
|
|
1011
1011
|
});
|
|
1012
1012
|
}
|
|
1013
|
-
},
|
|
1013
|
+
}, Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1014
1014
|
__proto__: null,
|
|
1015
1015
|
cdsCheckboxWrap: Ae,
|
|
1016
1016
|
cdsRadioButGroupWrap: Te,
|
|
1017
1017
|
cdsSelectWrap: ke,
|
|
1018
|
-
cdsSliderWrap:
|
|
1018
|
+
cdsSliderWrap: Ne,
|
|
1019
1019
|
cdsToggleWrap: De
|
|
1020
1020
|
}, Symbol.toStringTag, { value: "Module" })), we = {
|
|
1021
1021
|
selector: "cds-tag",
|
|
@@ -1205,7 +1205,7 @@ const $ = (t, e, n) => {
|
|
|
1205
1205
|
selected: t.detail.selected,
|
|
1206
1206
|
value: n.value
|
|
1207
1207
|
})
|
|
1208
|
-
},
|
|
1208
|
+
}, $e = {
|
|
1209
1209
|
selector: "cds-radio-tile",
|
|
1210
1210
|
event: "cds-selectable-tile-changed",
|
|
1211
1211
|
getData: (t, e, n) => ({
|
|
@@ -1213,11 +1213,11 @@ const $ = (t, e, n) => {
|
|
|
1213
1213
|
selected: t.detail.selected,
|
|
1214
1214
|
value: n.value
|
|
1215
1215
|
})
|
|
1216
|
-
},
|
|
1216
|
+
}, Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1217
1217
|
__proto__: null,
|
|
1218
1218
|
cdsClickableTileWrap: Ue,
|
|
1219
1219
|
cdsExpandableTileWrap: He,
|
|
1220
|
-
cdsRadioTileWrap:
|
|
1220
|
+
cdsRadioTileWrap: $e,
|
|
1221
1221
|
cdsSelectableTileWrap: Ve
|
|
1222
1222
|
}, Symbol.toStringTag, { value: "Module" })), Xe = {
|
|
1223
1223
|
selector: "cds-progress-bar",
|
|
@@ -1406,9 +1406,9 @@ const $ = (t, e, n) => {
|
|
|
1406
1406
|
selector: "cds-icon"
|
|
1407
1407
|
}, mn = {
|
|
1408
1408
|
selector: "cds-icon-indicator"
|
|
1409
|
-
}, gn = {
|
|
1410
|
-
selector: "cds-badge-indicator"
|
|
1411
1409
|
}, fn = {
|
|
1410
|
+
selector: "cds-badge-indicator"
|
|
1411
|
+
}, gn = {
|
|
1412
1412
|
selector: "cds-loading"
|
|
1413
1413
|
}, hn = {
|
|
1414
1414
|
selector: "cds-skeleton-text"
|
|
@@ -1416,44 +1416,44 @@ const $ = (t, e, n) => {
|
|
|
1416
1416
|
selector: "cds-skeleton-placeholder"
|
|
1417
1417
|
}, bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1418
1418
|
__proto__: null,
|
|
1419
|
-
cdsBadgeIndicatorWrap:
|
|
1419
|
+
cdsBadgeIndicatorWrap: fn,
|
|
1420
1420
|
cdsFormGroupWrap: ln,
|
|
1421
1421
|
cdsFormItemWrap: rn,
|
|
1422
1422
|
cdsFormWrap: an,
|
|
1423
1423
|
cdsHeadingWrap: pn,
|
|
1424
1424
|
cdsIconIndicatorWrap: mn,
|
|
1425
1425
|
cdsIconWrap: un,
|
|
1426
|
-
cdsLoadingWrap:
|
|
1426
|
+
cdsLoadingWrap: gn,
|
|
1427
1427
|
cdsSkeletonPlaceholderWrap: vn,
|
|
1428
1428
|
cdsSkeletonTextWrap: hn,
|
|
1429
1429
|
cdsStackWrap: dn
|
|
1430
1430
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1431
|
-
function
|
|
1431
|
+
function f(t) {
|
|
1432
1432
|
return Object.values(t).filter(
|
|
1433
1433
|
(e) => typeof e == "object" && e !== null && e.selector
|
|
1434
1434
|
);
|
|
1435
1435
|
}
|
|
1436
1436
|
const En = [
|
|
1437
|
-
...
|
|
1438
|
-
...
|
|
1439
|
-
...
|
|
1440
|
-
...
|
|
1441
|
-
...
|
|
1442
|
-
...
|
|
1443
|
-
...
|
|
1444
|
-
...
|
|
1445
|
-
...
|
|
1446
|
-
...
|
|
1447
|
-
...
|
|
1448
|
-
...
|
|
1449
|
-
...
|
|
1450
|
-
...
|
|
1451
|
-
...
|
|
1452
|
-
...
|
|
1453
|
-
...
|
|
1454
|
-
...
|
|
1455
|
-
...
|
|
1456
|
-
...
|
|
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)
|
|
1457
1457
|
];
|
|
1458
1458
|
function Sn() {
|
|
1459
1459
|
const t = /* @__PURE__ */ new Map();
|
|
@@ -1461,29 +1461,29 @@ function Sn() {
|
|
|
1461
1461
|
t.set(e.selector, e);
|
|
1462
1462
|
}), t;
|
|
1463
1463
|
}
|
|
1464
|
-
const _n = () => import("./index-
|
|
1464
|
+
const _n = () => import("./index-B3rHrWp1.js"), x = () => import("./index-DpqoWgT9.js"), In = () => import("./index-C21uRpcN.js"), yn = () => import("./index-CUhfQp9_.js"), w = () => import("./index-cfYcnLla.js"), Pn = () => import("./index-BC4YWTSF.js"), Cn = () => import("./index-CaLO9pKf.js").then((t) => t.i), An = () => import("./index-boHTic51.js"), Tn = () => import("./index-CqV7rF6Y.js"), Z = () => import("./index-_8VNB8cM.js"), Dn = () => import("./index-CPxaESxc.js"), L = () => import("./index-SS-8a0z5.js"), J = () => import("./index-DiMhcmKq.js").then((t) => t.i), kn = () => import("./index-DIXYEqKa.js"), Nn = () => import("./index-cxbnAO6M.js"), On = () => import("./index-BjPqbngg.js"), wn = () => import("./index-DJ58_keq.js"), Mn = () => import("./index-skQF78KL.js"), F = () => import("./index-MzshInpG.js"), Wn = () => import("./index-C2valRve.js"), q = () => import("./index-Cke1JFeD.js"), Rn = () => import("./index-D5reIinO.js"), Bn = () => import("./index-DRBWg6SP.js"), zn = () => import("./index-DVJk-q4a.js"), K = () => import("./index-UfmYZ2gl.js"), jn = () => import("./index-C5TJ62J9.js"), xn = () => import("./index-CnQZDqa3.js"), Ln = () => import("./index-C5GJatuZ.js"), Fn = () => import("./index-CiXoGI6W.js"), qn = () => import("./index-wCs-JduP.js"), Gn = () => import("./index-Cz0qsW9k.js"), Q = () => import("./index-C50tGv-j.js"), Un = () => import("./index-BCzt9Ccn.js"), Hn = () => import("./index-CvZ0FZoz.js"), tt = () => import("./index-DsCjIWpO.js"), Vn = () => import("./index-3GQJ_7On.js"), G = () => import("./index-D46OGW4a.js"), $n = () => import("./index-CIbCDWFV.js"), U = () => import("./index-CTQAWlOg.js"), Yn = () => import("./index-QtI2aP7P.js").then((t) => t.i), Xn = () => import("./index-D5TR0TpO.js"), Zn = () => import("./index-DDpWWnYg.js"), Jn = () => import("./index-DKKcCZD0.js"), Kn = () => import("./index-BL3nrhct.js"), Qn = () => import("./index-D79_j0Y6.js").then((t) => t.i), P = () => import("./index-OboyKoLD.js"), C = () => import("./index-BrjlYyR4.js"), to = () => import("./index-DLd78Rbz.js").then((t) => t.i), eo = () => import("./index-BRT0gqo3.js"), no = () => import("./index-BDgfSKzL.js"), oo = () => import("./index-DYPDRQjH.js"), so = () => import("./index-BRODR18b.js"), W = {
|
|
1465
1465
|
// Tables & Pagination
|
|
1466
|
-
"cds-table": [
|
|
1467
|
-
"cds-pagination": [
|
|
1466
|
+
"cds-table": [C, L, q, K, F, tt, Hn],
|
|
1467
|
+
"cds-pagination": [F, q, tt],
|
|
1468
1468
|
// Buttons
|
|
1469
|
-
"cds-button": [
|
|
1470
|
-
"cds-icon-button:not([data-toggle])": [
|
|
1471
|
-
"cds-icon-button[data-toggle]": [
|
|
1472
|
-
"cds-button[data-fab]": [
|
|
1473
|
-
"cds-copy-button": [
|
|
1474
|
-
"cds-combo-button": [
|
|
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],
|
|
1475
1475
|
// Form Controls
|
|
1476
|
-
"cds-checkbox": [
|
|
1476
|
+
"cds-checkbox": [On],
|
|
1477
1477
|
"cds-radio-button-group": [wn],
|
|
1478
1478
|
"cds-toggle": [Mn],
|
|
1479
|
-
"cds-select": [
|
|
1479
|
+
"cds-select": [F],
|
|
1480
1480
|
"cds-slider": [Wn],
|
|
1481
1481
|
// Form Inputs
|
|
1482
|
-
"cds-text-input": [
|
|
1482
|
+
"cds-text-input": [q],
|
|
1483
1483
|
"cds-textarea": [Rn],
|
|
1484
1484
|
"cds-number-input": [Bn],
|
|
1485
|
-
"cds-password-input": [
|
|
1486
|
-
"cds-search": [
|
|
1485
|
+
"cds-password-input": [C, zn],
|
|
1486
|
+
"cds-search": [K],
|
|
1487
1487
|
// Dropdown Components
|
|
1488
1488
|
"cds-dropdown": [xn],
|
|
1489
1489
|
"cds-combo-box": [jn],
|
|
@@ -1498,30 +1498,30 @@ const _n = () => import("./index-BZ7ODxUk.js"), j = () => import("./index-D8NYnD
|
|
|
1498
1498
|
"cds-accordion": [_n],
|
|
1499
1499
|
"cds-content-switcher": [Tn],
|
|
1500
1500
|
// Navigation - Breadcrumbs
|
|
1501
|
-
"cds-breadcrumb": [
|
|
1502
|
-
"cds-breadcrumb-item": [
|
|
1503
|
-
"cds-breadcrumb-link": [
|
|
1501
|
+
"cds-breadcrumb": [x],
|
|
1502
|
+
"cds-breadcrumb-item": [x],
|
|
1503
|
+
"cds-breadcrumb-link": [x],
|
|
1504
1504
|
// Navigation - Menus
|
|
1505
|
-
"cds-menu": [
|
|
1506
|
-
"cds-menu-button": [
|
|
1505
|
+
"cds-menu": [Z],
|
|
1506
|
+
"cds-menu-button": [Z],
|
|
1507
1507
|
// Lists
|
|
1508
1508
|
"cds-overflow-menu": [Dn],
|
|
1509
1509
|
"cds-structured-list": [yn],
|
|
1510
|
-
"cds-tree-view": [
|
|
1510
|
+
"cds-tree-view": [Pn],
|
|
1511
1511
|
// Modals
|
|
1512
|
-
"cds-modal": [
|
|
1513
|
-
"cds-modal-header": [
|
|
1514
|
-
"cds-modal-heading": [
|
|
1515
|
-
"cds-modal-label": [
|
|
1516
|
-
"cds-modal-close-button": [
|
|
1517
|
-
"cds-modal-body": [
|
|
1518
|
-
"cds-modal-body-content": [
|
|
1519
|
-
"cds-modal-footer": [
|
|
1520
|
-
"cds-modal-footer-button": [
|
|
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],
|
|
1521
1521
|
// Notifications
|
|
1522
|
-
"cds-toast-notification": [
|
|
1523
|
-
"cds-inline-notification": [
|
|
1524
|
-
"cds-actionable-notification": [
|
|
1522
|
+
"cds-toast-notification": [U],
|
|
1523
|
+
"cds-inline-notification": [U],
|
|
1524
|
+
"cds-actionable-notification": [U],
|
|
1525
1525
|
// Tiles
|
|
1526
1526
|
"cds-clickable-tile": [w],
|
|
1527
1527
|
"cds-expandable-tile": [w],
|
|
@@ -1532,19 +1532,19 @@ const _n = () => import("./index-BZ7ODxUk.js"), j = () => import("./index-D8NYnD
|
|
|
1532
1532
|
"cds-progress-indicator": [Jn],
|
|
1533
1533
|
"cds-inline-loading": [Xn],
|
|
1534
1534
|
// Tooltips & Popovers
|
|
1535
|
-
"cds-tooltip": [
|
|
1535
|
+
"cds-tooltip": [C],
|
|
1536
1536
|
"cds-popover": [to],
|
|
1537
1537
|
"cds-toggletip": [eo],
|
|
1538
1538
|
// Tags
|
|
1539
|
-
"cds-tag": [
|
|
1540
|
-
"cds-dismissible-tag": [
|
|
1541
|
-
"cds-filter-tag": [
|
|
1539
|
+
"cds-tag": [G],
|
|
1540
|
+
"cds-dismissible-tag": [G],
|
|
1541
|
+
"cds-filter-tag": [G],
|
|
1542
1542
|
// Miscellaneous
|
|
1543
|
-
"cds-link": [
|
|
1543
|
+
"cds-link": [Cn],
|
|
1544
1544
|
"cds-code-snippet": [Vn],
|
|
1545
1545
|
// Presentational - Form Structure
|
|
1546
|
-
"cds-form": [
|
|
1547
|
-
"cds-form-item": [
|
|
1546
|
+
"cds-form": [Q],
|
|
1547
|
+
"cds-form-item": [Q],
|
|
1548
1548
|
"cds-form-group": [Un],
|
|
1549
1549
|
// Presentational - Layout
|
|
1550
1550
|
"cds-stack": [In],
|
|
@@ -1552,9 +1552,9 @@ const _n = () => import("./index-BZ7ODxUk.js"), j = () => import("./index-D8NYnD
|
|
|
1552
1552
|
"cds-heading": [no],
|
|
1553
1553
|
"cds-icon": [oo],
|
|
1554
1554
|
"cds-icon-indicator": [so],
|
|
1555
|
-
"cds-badge-indicator": [
|
|
1555
|
+
"cds-badge-indicator": [$n],
|
|
1556
1556
|
// Presentational - Loading States
|
|
1557
|
-
"cds-loading": [
|
|
1557
|
+
"cds-loading": [Yn],
|
|
1558
1558
|
"cds-skeleton-text": [Qn],
|
|
1559
1559
|
"cds-skeleton-placeholder": [Kn]
|
|
1560
1560
|
};
|
|
@@ -1577,7 +1577,7 @@ function co(t) {
|
|
|
1577
1577
|
function io(t) {
|
|
1578
1578
|
const e = /* @__PURE__ */ new Set();
|
|
1579
1579
|
for (const [n, o] of t.entries())
|
|
1580
|
-
o.length > 0 &&
|
|
1580
|
+
o.length > 0 && W[n] && W[n].forEach((c) => e.add(c));
|
|
1581
1581
|
return e;
|
|
1582
1582
|
}
|
|
1583
1583
|
async function ao(t, e) {
|
|
@@ -1599,8 +1599,8 @@ function ro(t, e) {
|
|
|
1599
1599
|
const S = l(i);
|
|
1600
1600
|
c.events.forEach((I) => {
|
|
1601
1601
|
const D = E(i, I.attrName, "event");
|
|
1602
|
-
D && e.listen(i, I.type, (
|
|
1603
|
-
e.dispatchPanelEvent(D, I.getData(
|
|
1602
|
+
D && e.listen(i, I.type, (R) => {
|
|
1603
|
+
e.dispatchPanelEvent(D, I.getData(R, S, i));
|
|
1604
1604
|
});
|
|
1605
1605
|
});
|
|
1606
1606
|
return;
|
|
@@ -1635,8 +1635,13 @@ const M = {
|
|
|
1635
1635
|
}
|
|
1636
1636
|
const s = ro(n, this);
|
|
1637
1637
|
s > 0 && this.debugMe(`[Carbon] Total components initialized: ${s}`);
|
|
1638
|
-
}, uo = () => {
|
|
1639
|
-
|
|
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", {
|
|
1640
1645
|
/**
|
|
1641
1646
|
* Main render function that orchestrates Carbon component initialization.
|
|
1642
1647
|
* Called by Panel.parseContent() for each panel that enters the document.
|
|
@@ -1645,11 +1650,11 @@ const M = {
|
|
|
1645
1650
|
* @param {Map} cache - Import cache to prevent duplicate module loads
|
|
1646
1651
|
* @returns {Promise<void>}
|
|
1647
1652
|
*/
|
|
1648
|
-
render: async function(
|
|
1653
|
+
render: async function(n, o) {
|
|
1649
1654
|
try {
|
|
1650
|
-
await lo.call(this,
|
|
1651
|
-
} catch (
|
|
1652
|
-
console.error("[Carbon] Initialization error:",
|
|
1655
|
+
await lo.call(this, n, o);
|
|
1656
|
+
} catch (s) {
|
|
1657
|
+
console.error("[Carbon] Initialization error:", s);
|
|
1653
1658
|
}
|
|
1654
1659
|
},
|
|
1655
1660
|
/**
|
|
@@ -1660,7 +1665,7 @@ const M = {
|
|
|
1660
1665
|
*
|
|
1661
1666
|
* @param {Element} _element - The element being disposed
|
|
1662
1667
|
*/
|
|
1663
|
-
dispose: function(
|
|
1668
|
+
dispose: function(n) {
|
|
1664
1669
|
},
|
|
1665
1670
|
config: {
|
|
1666
1671
|
version: "2.0",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as J, e as Gt, t as me, C as Cn, m as vn } from "./main-
|
|
1
|
+
import { l as J, e as Gt, t as me, C as Cn, m as vn } from "./main-C7DwFPRv.js";
|
|
2
2
|
import { a as $e, b as Zt, c as E, d as h, e as P, f as Tn, g as yn } from "./tslib.es6-C5gLNDSD.js";
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { _ as i } from "./tslib.es6-C5gLNDSD.js";
|
|
2
|
-
import { e as w } from "./class-map-
|
|
3
|
-
import { a as k, i as b, x as h } from "./main-
|
|
4
|
-
import { n as c } from "./property-
|
|
2
|
+
import { e as w } from "./class-map-CLDu36Gc.js";
|
|
3
|
+
import { a as k, i as b, x as h } from "./main-C7DwFPRv.js";
|
|
4
|
+
import { n as c } from "./property-DlFpsdD_.js";
|
|
5
5
|
import { p as n } from "./settings-jvP7vP60.js";
|
|
6
6
|
import { _ as q } from "./16-D3Ol0pdg.js";
|
|
7
|
-
import { i as l } from "./if-non-empty-
|
|
7
|
+
import { i as l } from "./if-non-empty-B3vx66n4.js";
|
|
8
8
|
import { F as C } from "./focus-WnKGH_xB.js";
|
|
9
9
|
import { F as S } from "./form-DpI-v6DA.js";
|
|
10
|
-
import { I as $ } from "./text-input-
|
|
10
|
+
import { I as $ } from "./text-input-CQrOXfMO.js";
|
|
11
11
|
import { H as p } from "./host-listener-DD3oGxvg.js";
|
|
12
12
|
import { H as I } from "./host-listener-CN245INl.js";
|
|
13
13
|
import { c as B } from "./carbon-element-DzDuXiyl.js";
|
|
14
|
-
import { i as u } from "./icon-loader-
|
|
14
|
+
import { i as u } from "./icon-loader-DdCPeV1F.js";
|
|
15
15
|
var M = {
|
|
16
16
|
elem: "svg",
|
|
17
17
|
attrs: {
|