@trintel/zooy 1.0.9 → 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.
- package/dist/chunks/{button-C4sd9gLh.js → button-By7aRhFi.js} +4 -4
- package/dist/chunks/{button-B5xRFIEh.js → button-CRxkguK3.js} +1 -1
- package/dist/chunks/{button-skeleton-MZDqqf3a.js → button-skeleton-CZmGLr_c.js} +1 -1
- package/dist/chunks/{button-skeleton-Dk5IzDLm.js → button-skeleton-DlCzuT6h.js} +4 -4
- package/dist/chunks/{checkbox-DsM29E1F.js → checkbox-BMZ3_jkv.js} +5 -5
- package/dist/chunks/{checkbox-BBsWqHhb.js → checkbox-GUazWfM6.js} +1 -1
- package/dist/chunks/{class-map-Blob2x1Q.js → class-map-Bpavh3zd.js} +1 -1
- package/dist/chunks/{class-map-DxXUQv4a.js → class-map-CewEiUeS.js} +1 -1
- package/dist/chunks/{content-switcher-item-B5XFOV0z.js → content-switcher-item-BzWtaEk8.js} +4 -4
- package/dist/chunks/{content-switcher-item-CaQRCBTe.js → content-switcher-item-DBiwY_5f.js} +1 -1
- package/dist/chunks/{dropdown-item-Cwh3NfDc.js → dropdown-item-B8fOInIi.js} +1 -1
- package/dist/chunks/{dropdown-item-CJp_mZ2I.js → dropdown-item-C1hnXvNw.js} +6 -6
- package/dist/chunks/{icon-loader-BRYZ9-dX.js → icon-loader-BX6j0QV9.js} +1 -1
- package/dist/chunks/{icon-loader-CehUsWUX.js → icon-loader-Cv5XYGqj.js} +1 -1
- package/dist/chunks/{icon-loader-utils-BaBsGFM_.js → icon-loader-utils-C_72Dnig.js} +1 -1
- package/dist/chunks/{icon-loader-utils-DfhPr5h_.js → icon-loader-utils-CjBhA13V.js} +1 -1
- package/dist/chunks/{if-defined-BHvp27Od.js → if-defined-B-VZmIag.js} +1 -1
- package/dist/chunks/{if-defined--YV9wEAj.js → if-defined-Zq_Rpirs.js} +1 -1
- package/dist/chunks/{if-non-empty-DaS9zyOo.js → if-non-empty-CaK_h1Vn.js} +1 -1
- package/dist/chunks/if-non-empty-Dy-cc4QJ.js +1 -0
- package/dist/chunks/{index-ZBHwSMvY.js → index-1OOPg4-d.js} +1 -1
- package/dist/chunks/{index-tOWItg8e.js → index-1eFOI8oe.js} +5 -5
- package/dist/chunks/{index-CFqEaeKw.js → index-B-OulI8n.js} +1 -1
- package/dist/chunks/{index-BM59oOIJ.js → index-B4L1iU-L.js} +7 -7
- package/dist/chunks/{index-DEh2-UZJ.js → index-B4O0_8IT.js} +1 -1
- package/dist/chunks/{index-zn8VBbbH.js → index-B7CvW1Hr.js} +9 -9
- package/dist/chunks/{index-BE0iYsJ5.js → index-BATw38c7.js} +3 -3
- package/dist/chunks/{index-BsNCKhBs.js → index-BERUsrwS.js} +1 -1
- package/dist/chunks/{index-DJXH0nsT.js → index-BIWPmvxN.js} +6 -6
- package/dist/chunks/{index-PQIjb1W1.js → index-BJ0SBIwX.js} +6 -6
- package/dist/chunks/{index-DbFgxLQe.js → index-BX1au7I9.js} +1 -1
- package/dist/chunks/{index-NZ7MusKR.js → index-BXPG0d_k.js} +2 -2
- package/dist/chunks/{index-DLut9sH5.js → index-B_Lmpm35.js} +8 -8
- package/dist/chunks/{index-DSbYxfLs.js → index-Bb8PCTuf.js} +1 -1
- package/dist/chunks/{index-loKB7cIv.js → index-BeQ7ZTCw.js} +5 -5
- package/dist/chunks/{index-BSFdROB8.js → index-BfiLUJJ3.js} +1 -1
- package/dist/chunks/{index-BvUQiKco.js → index-BftJaPKS.js} +1 -1
- package/dist/chunks/{index-DG1HMDEs.js → index-BlfAhx-m.js} +1 -1
- package/dist/chunks/{index-BlM79rIk.js → index-BmMr-B9I.js} +1 -1
- package/dist/chunks/{index-BBAH7Ul-.js → index-BoIS4S70.js} +3 -3
- package/dist/chunks/{index-BSSJRamX.js → index-BpfNVIsW.js} +1 -1
- package/dist/chunks/{index-DHles42i.js → index-BsVpu7Ej.js} +1 -1
- package/dist/chunks/{index-BQOq1vvH.js → index-BugJTHwJ.js} +1 -1
- package/dist/chunks/{index-BwiG-jwr.js → index-Bv0Kq6vx.js} +1 -1
- package/dist/chunks/{index-D8NYnDWQ.js → index-BwpbR54Z.js} +4 -4
- package/dist/chunks/{index-BmUKW0kW.js → index-Bx5tyF27.js} +3 -3
- package/dist/chunks/{index-DEybieKF.js → index-ByxUjlpc.js} +1 -1
- package/dist/chunks/{index-C276f5fW.js → index-Bz-sh-N4.js} +1 -1
- package/dist/chunks/{index-BF8o2tS2.js → index-C0JKLTdV.js} +1 -1
- package/dist/chunks/{index-DfCYA2CL.js → index-C2Q5YPz1.js} +1 -1
- package/dist/chunks/{index-CORy3Pa1.js → index-C6YhnCuw.js} +1 -1
- package/dist/chunks/{index-i6Ep70AY.js → index-C6nmbFvI.js} +1 -1
- package/dist/chunks/{index-CTJm7mCD.js → index-C7bz1V4O.js} +3 -3
- package/dist/chunks/{index-BYa48BT4.js → index-C9adbF3V.js} +1 -1
- package/dist/chunks/{index-DEV12jMj.js → index-CCOIDxIB.js} +1 -1
- package/dist/chunks/{index-CKECA6Bi.js → index-CDpK5GU3.js} +1 -1
- package/dist/chunks/index-CNQHUhaQ.js +1 -0
- package/dist/chunks/{index-cneeu7y_.js → index-CQY3cMqQ.js} +1 -1
- package/dist/chunks/{index-CmoxVlhj.js → index-CRvczclO.js} +6 -6
- package/dist/chunks/{index-b3n-T2Mr.js → index-CVH7Hv6v.js} +5 -5
- package/dist/chunks/{index-D0c8Scw_.js → index-CVqAaFaO.js} +5 -5
- package/dist/chunks/{index-DghXFP1_.js → index-CW3NpEbP.js} +1 -1
- package/dist/chunks/{index-CX_XoqUh.js → index-CYLJDFiF.js} +5 -5
- package/dist/chunks/{index-COpJjxt8.js → index-CZi-f4G4.js} +1 -1
- package/dist/chunks/{index-DNQ0R54o.js → index-CbKeQETj.js} +3 -3
- package/dist/chunks/{index-B6-ZBaD4.js → index-Cdk8HqBZ.js} +1 -1
- package/dist/chunks/{index-DOb7ppJl.js → index-ChbKcl-Z.js} +5 -5
- package/dist/chunks/{index-Co797QQC.js → index-Cit60IYk.js} +1 -1
- package/dist/chunks/{index-Bey-4kZC.js → index-Cm3Uqia6.js} +6 -6
- package/dist/chunks/{index-Dkz860Ep.js → index-CuZwN_ME.js} +3 -3
- package/dist/chunks/{index-GSWXkQ54.js → index-CuuD-d5b.js} +2 -2
- package/dist/chunks/{index-DdUuX4Oe.js → index-CvnLooVH.js} +1 -1
- package/dist/chunks/{index-BLYL92KD.js → index-CwXwz8dA.js} +1 -1
- package/dist/chunks/{index-L5Km9H8v.js → index-Cy5Gs96d.js} +1 -1
- package/dist/chunks/{index-Du6Xt9iB.js → index-CyHAdAxX.js} +7 -7
- package/dist/chunks/{index-CV_L-5I4.js → index-CyeWQ9VJ.js} +1 -1
- package/dist/chunks/{index-DV5sL-Mh.js → index-D-20UbuG.js} +1 -1
- package/dist/chunks/{index-DZMcd93M.js → index-D1xYcspc.js} +1 -1
- package/dist/chunks/{index-BXDKiGII.js → index-D2B2bs5k.js} +2 -2
- package/dist/chunks/{index-BdRBUuLB.js → index-D2Z_PWuf.js} +1 -1
- package/dist/chunks/{index-uEl2EDxm.js → index-D5_-tX11.js} +1 -1
- package/dist/chunks/{index-Bd3h6IUe.js → index-DD3tbFs9.js} +4 -4
- package/dist/chunks/{index-BZ7ODxUk.js → index-DEH3Oujh.js} +5 -5
- package/dist/chunks/{index-D_xHARJW.js → index-DFzKxIGc.js} +7 -7
- package/dist/chunks/{index-DtglBHCQ.js → index-DKJCj-0F.js} +1 -1
- package/dist/chunks/{index-C77hqhqA.js → index-DKOcsQER.js} +1 -1
- package/dist/chunks/{index-DlEnFuPS.js → index-DLt6oTR3.js} +1 -1
- package/dist/chunks/{index-DExrBB06.js → index-DQhfyFM4.js} +4 -4
- package/dist/chunks/{index-Dg53tAoz.js → index-DRYB8Q2c.js} +1 -1
- package/dist/chunks/{index-BPOTiBnU.js → index-DRsjyMRL.js} +4 -4
- package/dist/chunks/{index-BE5FgC1Z.js → index-DScZj-56.js} +1 -1
- package/dist/chunks/{index-BDJw9hLf.js → index-DU7E0qo4.js} +7 -7
- package/dist/chunks/{index-BjrjLGm3.js → index-DVTOmcgu.js} +2 -2
- package/dist/chunks/{index-DGlzUO5f.js → index-DW24dyDr.js} +1 -1
- package/dist/chunks/{index-C4pmKhMw.js → index-DW9xYANG.js} +3 -3
- package/dist/chunks/{index-Db8hq1oK.js → index-DYmmXHAT.js} +5 -5
- package/dist/chunks/{index-DvWjvPHH.js → index-DYtqDqPL.js} +1 -1
- package/dist/chunks/{index-BodCpKSq.js → index-DayFRhmw.js} +8 -8
- package/dist/chunks/{index-CMmmbJSh.js → index-DbT4fJLV.js} +7 -7
- package/dist/chunks/{index-CUy68xO6.js → index-Dcs-4ouA.js} +4 -4
- package/dist/chunks/{index-DsABJ0hu.js → index-DdzuoIsX.js} +6 -6
- package/dist/chunks/{index-sISDYHRo.js → index-DhwMNjJj.js} +4 -4
- package/dist/chunks/index-DjLSW4tB.js +2 -0
- package/dist/chunks/{index-BnHoSTWv.js → index-Do0fzNBP.js} +4 -4
- package/dist/chunks/{index-CKgr4QI3.js → index-DqWolj0i.js} +1 -1
- package/dist/chunks/{index-CDCT9JBg.js → index-DrRc4GOh.js} +5 -5
- package/dist/chunks/{index-B6bs42I0.js → index-DvbDUmZp.js} +7 -7
- package/dist/chunks/{index-CNU6h6vt.js → index-DxlTsgQ8.js} +5 -5
- package/dist/chunks/{index-qRCcVUtv.js → index-LSL0pD4U.js} +1 -1
- package/dist/chunks/{index-DabYIcPl.js → index-ScGZvs71.js} +10 -10
- package/dist/chunks/{index-oJ5OnqqB.js → index-Smwc4F8-.js} +1 -1
- package/dist/chunks/{index-Dui3Vi6K.js → index-TelAKDy3.js} +5 -5
- package/dist/chunks/{index-BtS9nsdr.js → index-UDUbB14y.js} +1 -1
- package/dist/chunks/{index-CAgqWzow.js → index-UfSJPzl_.js} +5 -5
- package/dist/chunks/{index-CLmuZhI5.js → index-XY3TWQ_7.js} +1 -1
- package/dist/chunks/{index-CHJDVytM.js → index-ZmTVduMY.js} +4 -4
- package/dist/chunks/{index-BXwNOxmz.js → index-ePccMpcM.js} +1 -1
- package/dist/chunks/{index-PlhvaDKI.js → index-f2QnoTe2.js} +3 -3
- package/dist/chunks/{index-CCfRgzXS.js → index-jRYYdv4C.js} +5 -5
- package/dist/chunks/{index-CLaUpA-S.js → index-m978pani.js} +3 -3
- package/dist/chunks/{index-Crj9Sc_q.js → index-o7Ly8WNV.js} +1 -1
- package/dist/chunks/{index-C0Ziv4Lg.js → index-pT9YwIX-.js} +1 -1
- package/dist/chunks/{index-2bKxAUu7.js → index-s53NHb2d.js} +8 -8
- package/dist/chunks/{index-d5VkMQr5.js → index-yIVEgAA_.js} +1 -1
- package/dist/chunks/{loading-icon-CzsLYW5d.js → loading-icon-Co-jn71c.js} +1 -1
- package/dist/chunks/{loading-icon-BjhgIkxm.js → loading-icon-Dx2ktHir.js} +1 -1
- package/dist/chunks/{main-1YHLay2M.js → main-BqOledN0.js} +9 -19
- package/dist/chunks/{main-Dieh-js6.js → main-DHy75dVb.js} +2 -2
- package/dist/chunks/{property-PcxHNqC7.js → property-B0b41oBL.js} +1 -1
- package/dist/chunks/{property-rHw5Qiya.js → property-Dg6D0XVD.js} +1 -1
- package/dist/chunks/{register-BVJ7Rj88.js → register-BH6NpHIA.js} +1 -1
- package/dist/chunks/{register-DGyCiJGq.js → register-DgYdd65A.js} +142 -137
- package/dist/chunks/{register-D-bV-b_k.js → register-bMHOSpvM.js} +1 -1
- package/dist/chunks/{register-BVB1VVdT.js → register-h6ZQPYju.js} +1 -1
- package/dist/chunks/{search-BM3u-Up9.js → search-CdbmNKGt.js} +6 -6
- package/dist/chunks/{search-ClNSlscR.js → search-hgh8azYe.js} +1 -1
- package/dist/chunks/{select-item-5W4QUbqx.js → select-item-B7Nispm3.js} +7 -7
- package/dist/chunks/{select-item-D6fUNCbb.js → select-item-bxxL-G6O.js} +1 -1
- package/dist/chunks/{state-Dt3SwvJx.js → state-8K5PPQVS.js} +1 -1
- package/dist/chunks/{state-0RlnmTzo.js → state-C1eYNc3M.js} +1 -1
- package/dist/chunks/{text-input-BsExNRbn.js → text-input-BFGnBN6w.js} +1 -1
- package/dist/chunks/{text-input-DgwJ4KjV.js → text-input-Cax4HzgZ.js} +5 -5
- package/dist/chunks/{tooltip-content-DHqA_dS-.js → tooltip-content-CF2lm8EZ.js} +1 -1
- package/dist/chunks/{tooltip-content-BEFieAlC.js → tooltip-content-l8Mg7xk8.js} +3 -3
- package/dist/chunks/{unsafe-html-CRC4ViH6.js → unsafe-html-Dw4MFH2g.js} +1 -1
- package/dist/chunks/{unsafe-html-GZdjQgYe.js → unsafe-html-Hoj8nqTC.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-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
|
|
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-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 = {
|
|
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-BqOledN0.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,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("./main-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("./main-DHy75dVb.js"),l=require("./tslib.es6-B07k2eac.js");/**
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright 2016 Google Inc.
|
|
4
4
|
*
|