@3sc/common-component 0.0.329 → 0.0.331
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 +6 -5
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -44883,12 +44883,13 @@ const Rw = ({
|
|
|
44883
44883
|
showHide: !0,
|
|
44884
44884
|
children: []
|
|
44885
44885
|
};
|
|
44886
|
-
let I = u.map((
|
|
44886
|
+
let I = u.map((N) => (N != null && N.children && N.children.forEach((D) => {
|
|
44887
44887
|
M.children.some(
|
|
44888
|
-
(
|
|
44889
|
-
) || M.children.push({ ...
|
|
44890
|
-
}),
|
|
44891
|
-
|
|
44888
|
+
(_) => _.key === D.key
|
|
44889
|
+
) || M.children.push({ ...D, showInHierarchy: !0 });
|
|
44890
|
+
}), N)).filter((N) => (N == null ? void 0 : N.id) !== (M == null ? void 0 : M.id));
|
|
44891
|
+
const A = M.children.length > 0 ? [...I, M] : I;
|
|
44892
|
+
p(A);
|
|
44892
44893
|
}
|
|
44893
44894
|
}, [u]);
|
|
44894
44895
|
const m = async (M) => {
|