@3sc/common-component 0.0.227 → 0.0.228

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
@@ -38698,7 +38698,7 @@ const v_ = ({ options: e, isDraggable: t }) => {
38698
38698
  }, [n]);
38699
38699
  const B = (R, A) => {
38700
38700
  var P, D, _;
38701
- if (!s) {
38701
+ if (g(""), !s) {
38702
38702
  (P = l == null ? void 0 : l.onChange) == null || P.call(l, R), u(!1);
38703
38703
  return;
38704
38704
  }
@@ -38716,7 +38716,7 @@ const v_ = ({ options: e, isDraggable: t }) => {
38716
38716
  L.push({ ...A, children: [R] });
38717
38717
  } else
38718
38718
  L = L.some((U) => U.id === R.id) ? L.filter((U) => U.id !== R.id) : [...L, R];
38719
- p(L), (_ = l == null ? void 0 : l.onChange) == null || _.call(l, L), g("");
38719
+ p(L), (_ = l == null ? void 0 : l.onChange) == null || _.call(l, L);
38720
38720
  };
38721
38721
  xt(() => {
38722
38722
  const R = g_(n, f);