@hybr1d-tech/charizard 1.1.91 → 1.1.92
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 +22 -28
- package/dist/hybr1d-ui.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/hybr1d-ui.js
CHANGED
|
@@ -9561,39 +9561,33 @@ function S1({ items: e, onChange: l, renderItem: n }) {
|
|
|
9561
9561
|
S1.Item = Sm;
|
|
9562
9562
|
S1.DragHandle = Rm;
|
|
9563
9563
|
function Gm({ checkedState: e, setCheckedState: l, search: n }) {
|
|
9564
|
-
const c = g.
|
|
9565
|
-
|
|
9566
|
-
|
|
9567
|
-
|
|
9568
|
-
|
|
9569
|
-
|
|
9570
|
-
|
|
9571
|
-
const
|
|
9572
|
-
return
|
|
9573
|
-
const o = i.
|
|
9574
|
-
|
|
9575
|
-
}), r;
|
|
9576
|
-
}, [e]), s = g.useMemo(() => {
|
|
9577
|
-
const r = {};
|
|
9578
|
-
return Object.entries(t).forEach(([i, o]) => {
|
|
9579
|
-
const u = o.filter(
|
|
9580
|
-
(m) => m.label.toLowerCase().includes(n.toLowerCase())
|
|
9564
|
+
const c = g.useMemo(() => {
|
|
9565
|
+
const s = {};
|
|
9566
|
+
return e.forEach((r) => {
|
|
9567
|
+
const i = r.group || "Ungrouped";
|
|
9568
|
+
s[i] || (s[i] = []), s[i].push(r);
|
|
9569
|
+
}), s;
|
|
9570
|
+
}, [e]), t = g.useMemo(() => {
|
|
9571
|
+
const s = {};
|
|
9572
|
+
return Object.entries(c).forEach(([r, i]) => {
|
|
9573
|
+
const o = i.filter(
|
|
9574
|
+
(u) => u.label.toLowerCase().includes(n.toLowerCase())
|
|
9581
9575
|
);
|
|
9582
|
-
|
|
9583
|
-
}),
|
|
9584
|
-
}, [
|
|
9585
|
-
return /* @__PURE__ */ a.jsx(a.Fragment, { children: Object.entries(
|
|
9586
|
-
/* @__PURE__ */ a.jsx("h3", { className: l2.groupTitle, children:
|
|
9587
|
-
|
|
9576
|
+
o.length > 0 && (s[r] = o);
|
|
9577
|
+
}), s;
|
|
9578
|
+
}, [c, n]);
|
|
9579
|
+
return /* @__PURE__ */ a.jsx(a.Fragment, { children: Object.entries(t).map(([s, r]) => /* @__PURE__ */ a.jsxs("div", { children: [
|
|
9580
|
+
/* @__PURE__ */ a.jsx("h3", { className: l2.groupTitle, children: s }),
|
|
9581
|
+
r.map((i) => /* @__PURE__ */ a.jsx("div", { className: l2.option, children: /* @__PURE__ */ a.jsx(
|
|
9588
9582
|
E1,
|
|
9589
9583
|
{
|
|
9590
|
-
label:
|
|
9591
|
-
id:
|
|
9592
|
-
checked:
|
|
9584
|
+
label: i.label,
|
|
9585
|
+
id: i.id,
|
|
9586
|
+
checked: i.checked,
|
|
9593
9587
|
setCheckedState: l
|
|
9594
9588
|
}
|
|
9595
|
-
) },
|
|
9596
|
-
] },
|
|
9589
|
+
) }, i.id))
|
|
9590
|
+
] }, s)) });
|
|
9597
9591
|
}
|
|
9598
9592
|
function Fm({
|
|
9599
9593
|
customColumnConfig: e,
|