@3sc/common-component 0.0.329 → 0.0.330

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 CHANGED
@@ -41098,7 +41098,7 @@ const k8 = ({ options: e, isDraggable: t }) => {
41098
41098
  m.map(
41099
41099
  (P, j) => {
41100
41100
  var W, Z, Q;
41101
- return (!(P != null && P.isMandatory) || (P == null ? void 0 : P.isMandatory) && (P == null ? void 0 : P.showHide) === !0) && /* @__PURE__ */ y.jsxs(ye.Fragment, { children: [
41101
+ return !(P != null && P.isMandatory) || (P == null ? void 0 : P.isMandatory) && (P == null ? void 0 : P.showHide) === !0 || (P == null ? void 0 : P.isVisible) && /* @__PURE__ */ y.jsxs(ye.Fragment, { children: [
41102
41102
  /* @__PURE__ */ y.jsx(
41103
41103
  Hr,
41104
41104
  {
@@ -44883,12 +44883,13 @@ const Rw = ({
44883
44883
  showHide: !0,
44884
44884
  children: []
44885
44885
  };
44886
- let I = u.map((A) => (A != null && A.children && A.children.forEach((N) => {
44886
+ let I = u.map((N) => (N != null && N.children && N.children.forEach((D) => {
44887
44887
  M.children.some(
44888
- (L) => L.key === N.key
44889
- ) || M.children.push({ ...N, showInHierarchy: !0 });
44890
- }), A)).filter((A) => (A == null ? void 0 : A.id) !== (M == null ? void 0 : M.id));
44891
- p([...I, M]);
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) => {