react-crud-mobile 1.3.524 → 1.3.526

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.js CHANGED
@@ -1502,7 +1502,8 @@ function UIModal(props) {
1502
1502
  let Aux = dialog.component;
1503
1503
  return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Aux, { crud: curr, ...cprops }, curr.uuid);
1504
1504
  }
1505
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(UIChildren, { scope, crud: curr, children: props.children });
1505
+ let children = import_react_crud_utils14.Utils.nvl(props.children, scope.children);
1506
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(UIChildren, { scope, crud: curr, children });
1506
1507
  };
1507
1508
  let content = /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Content, {});
1508
1509
  let area = {};
@@ -2277,10 +2278,6 @@ function UIElement(props) {
2277
2278
  let extra = {};
2278
2279
  if (!component) {
2279
2280
  extra = { ...localScope?.original };
2280
- if (!import_react_crud_utils18.Utils.isEmpty(extra.children)) {
2281
- component = extra.children;
2282
- console.log(component);
2283
- }
2284
2281
  delete extra.scope;
2285
2282
  delete extra.crud;
2286
2283
  delete extra.owner;
@@ -2297,6 +2294,7 @@ function UIElement(props) {
2297
2294
  label,
2298
2295
  parent,
2299
2296
  component,
2297
+ children: extra.children,
2300
2298
  scope: dialogScope,
2301
2299
  close,
2302
2300
  props: event.props,