react-crud-mobile 1.3.243 → 1.3.245

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.
@@ -1403,7 +1403,7 @@ function UIModal(_ref) {
1403
1403
  };
1404
1404
  var curr = (_scope$currentDialog2 = scope.currentDialog) == null ? void 0 : _scope$currentDialog2.crud;
1405
1405
  var main = ViewUtils.getCrud('view');
1406
- if (dialog != null && dialog.debug) console.log(curr);
1406
+ console.log(curr);
1407
1407
  if (!curr) {
1408
1408
  return /*#__PURE__*/jsx(Fragment, {});
1409
1409
  }
@@ -1815,18 +1815,17 @@ function UIElement(props) {
1815
1815
  var ctx = useContext(CrudContext);
1816
1816
  var theme = Utils.nvl(props.theme, ctx == null ? void 0 : ctx.theme);
1817
1817
  var crud = Utils.nvl(props.crud, ctx == null ? void 0 : ctx.crud);
1818
- var _useState = useState(ScopeUtils.create(_extends({
1819
- crud: crud
1820
- }, props, {
1821
- theme: theme
1822
- }))),
1823
- scope = _useState[0];
1824
- var _useState2 = useState(0),
1825
- index = _useState2[0],
1826
- setIndex = _useState2[1];
1827
- var _useState3 = useState(null),
1828
- error = _useState3[0],
1829
- setError = _useState3[1];
1818
+ var scope = ScopeUtils.create(_extends({
1819
+ crud: crud
1820
+ }, props, {
1821
+ theme: theme
1822
+ }));
1823
+ var _useState = useState(0),
1824
+ index = _useState[0],
1825
+ setIndex = _useState[1];
1826
+ var _useState2 = useState(null),
1827
+ error = _useState2[0],
1828
+ setError = _useState2[1];
1830
1829
  scope.compile(props);
1831
1830
  crud = scope.crud;
1832
1831
  var options = scope.getOptions();