@hybr1d-tech/charizard 2.3.19 → 2.3.20
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/hybr1d-ui.js +19 -13
- package/dist/hybr1d-ui.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/hybr1d-ui.js
CHANGED
|
@@ -9423,43 +9423,48 @@ const zd = "_selectedActions_jduip_1", yd = "_btnIcon_jduip_13", R1 = {
|
|
|
9423
9423
|
};
|
|
9424
9424
|
function Ad({
|
|
9425
9425
|
rowSelectionConfig: e,
|
|
9426
|
-
rowSelection: l
|
|
9426
|
+
rowSelection: l,
|
|
9427
|
+
setRowSelection: c
|
|
9427
9428
|
}) {
|
|
9428
9429
|
if (!e || !e.isCheckbox || Object.keys(l).length === 0)
|
|
9429
9430
|
return null;
|
|
9430
|
-
const { isCheckbox:
|
|
9431
|
-
return /* @__PURE__ */ a.jsx(a.Fragment, { children:
|
|
9431
|
+
const { isCheckbox: n, actions: t } = e, s = (t == null ? void 0 : t.length) && t.length > 2, o = t != null && t.length ? t[0] : null;
|
|
9432
|
+
return /* @__PURE__ */ a.jsx(a.Fragment, { children: n && Object.keys(l).length > 0 && /* @__PURE__ */ a.jsx(a.Fragment, { children: s ? /* @__PURE__ */ a.jsxs(
|
|
9432
9433
|
a0.GroupAction,
|
|
9433
9434
|
{
|
|
9434
9435
|
variant: Z.SECONDARY,
|
|
9435
9436
|
size: l0.SMALL,
|
|
9436
|
-
menuItems:
|
|
9437
|
+
menuItems: t.slice(1),
|
|
9437
9438
|
positionerProps: { placement: "bottom-end" },
|
|
9438
|
-
onClick:
|
|
9439
|
+
onClick: async () => {
|
|
9440
|
+
await (o == null ? void 0 : o.onClick()), c({});
|
|
9441
|
+
},
|
|
9439
9442
|
children: [
|
|
9440
9443
|
/* @__PURE__ */ a.jsx(
|
|
9441
9444
|
R,
|
|
9442
9445
|
{
|
|
9443
9446
|
svgClassName: R1.btnIcon,
|
|
9444
|
-
path: (
|
|
9447
|
+
path: (o == null ? void 0 : o.iconSrc) || "",
|
|
9445
9448
|
spanClassName: R1.btnIconSpan
|
|
9446
9449
|
}
|
|
9447
9450
|
),
|
|
9448
|
-
|
|
9451
|
+
o == null ? void 0 : o.label
|
|
9449
9452
|
]
|
|
9450
9453
|
}
|
|
9451
|
-
) : /* @__PURE__ */ a.jsx("div", { className: R1.selectedActions, children:
|
|
9454
|
+
) : /* @__PURE__ */ a.jsx("div", { className: R1.selectedActions, children: t == null ? void 0 : t.map((r) => /* @__PURE__ */ a.jsxs(
|
|
9452
9455
|
a0,
|
|
9453
9456
|
{
|
|
9454
|
-
onClick:
|
|
9457
|
+
onClick: async () => {
|
|
9458
|
+
await r.onClick(), c({});
|
|
9459
|
+
},
|
|
9455
9460
|
variant: Z.SECONDARY,
|
|
9456
9461
|
size: l0.SMALL,
|
|
9457
9462
|
children: [
|
|
9458
|
-
/* @__PURE__ */ a.jsx(R, { path:
|
|
9459
|
-
|
|
9463
|
+
/* @__PURE__ */ a.jsx(R, { path: r.iconSrc, svgClassName: R1.btnIcon }),
|
|
9464
|
+
r.label
|
|
9460
9465
|
]
|
|
9461
9466
|
},
|
|
9462
|
-
|
|
9467
|
+
r.label
|
|
9463
9468
|
)) }) }) });
|
|
9464
9469
|
}
|
|
9465
9470
|
function Nd({
|
|
@@ -9519,7 +9524,8 @@ function wd({
|
|
|
9519
9524
|
Ad,
|
|
9520
9525
|
{
|
|
9521
9526
|
rowSelectionConfig: e,
|
|
9522
|
-
rowSelection: o
|
|
9527
|
+
rowSelection: o,
|
|
9528
|
+
setRowSelection: r
|
|
9523
9529
|
}
|
|
9524
9530
|
)
|
|
9525
9531
|
] }),
|