@3sc/common-component 0.0.285 → 0.0.287
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/index.es.js +4 -5
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -40838,7 +40838,6 @@ const RV = ({ options: e, isDraggable: t }) => {
|
|
|
40838
40838
|
...l
|
|
40839
40839
|
}) => {
|
|
40840
40840
|
var L, _, j;
|
|
40841
|
-
console.log("Inside select", { value: r });
|
|
40842
40841
|
const [c, u] = De(!1), [d, f] = De(null), [p, h] = De(""), [g, m] = De([]), [b, x] = De("bottom-start"), w = St(null), C = St(null), O = St(null), v = St(!1), {
|
|
40843
40842
|
closeDropdown: k,
|
|
40844
40843
|
hasChange: E,
|
|
@@ -40868,7 +40867,7 @@ const RV = ({ options: e, isDraggable: t }) => {
|
|
|
40868
40867
|
};
|
|
40869
40868
|
}) : V = V.some((W) => W.id === R.id) ? V.filter((W) => W.id !== R.id) : [...V, R] : V = n.every(
|
|
40870
40869
|
(X) => r.some((ne) => ne.id === X.id)
|
|
40871
|
-
) ? [] : n,
|
|
40870
|
+
) ? [] : n, f(V), (F = l == null ? void 0 : l.onChange) == null || F.call(l, V);
|
|
40872
40871
|
};
|
|
40873
40872
|
Ct(() => {
|
|
40874
40873
|
const R = OV(n, p);
|
|
@@ -44075,7 +44074,7 @@ function kw({ parent: e, column: t, sort: n, handleMenuClick: r, isManageable: o
|
|
|
44075
44074
|
handleSortClick: () => d({ column: t, sortDir: u, sortField: c, parent: e })
|
|
44076
44075
|
}
|
|
44077
44076
|
),
|
|
44078
|
-
o && !i && /* @__PURE__ */ y.jsx(
|
|
44077
|
+
o && !i && !e && /* @__PURE__ */ y.jsx(
|
|
44079
44078
|
qr,
|
|
44080
44079
|
{
|
|
44081
44080
|
onClick: (f) => r(f, t, e),
|
|
@@ -44828,7 +44827,7 @@ const Mw = ({
|
|
|
44828
44827
|
const l = gt(ka), { visibleGridColumns: c, triggerApi: u } = gt(Oa), [d, f] = De([]), [p, h] = De(!1);
|
|
44829
44828
|
Ct(() => {
|
|
44830
44829
|
if (i.length) {
|
|
44831
|
-
const E = i.length ? c.filter((P) => i.includes(P.id)) : c;
|
|
44830
|
+
const E = i.length ? c.filter((P) => i.includes(P.id)).map(({ children: P, ...M }) => M) : c;
|
|
44832
44831
|
f(E);
|
|
44833
44832
|
}
|
|
44834
44833
|
}, [i, c]);
|
|
@@ -44891,7 +44890,7 @@ const Mw = ({
|
|
|
44891
44890
|
const P = Array.isArray(E.children) ? E.children.filter((M) => !M.isHidden) : void 0;
|
|
44892
44891
|
return !E.isHidden || P && P.length ? { ...E, children: P } : null;
|
|
44893
44892
|
}).filter(Boolean);
|
|
44894
|
-
return /* @__PURE__ */ y.jsxs(
|
|
44893
|
+
return console.log({ visibleGridColumns: c, baseManageSelectOptions: d }), /* @__PURE__ */ y.jsxs(
|
|
44895
44894
|
ve,
|
|
44896
44895
|
{
|
|
44897
44896
|
sx: {
|