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.
- package/dist/react-crud-mobile.cjs.development.js +12 -13
- package/dist/react-crud-mobile.cjs.development.js.map +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js.map +1 -1
- package/dist/react-crud-mobile.esm.js +12 -13
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/UIElement.tsx +1 -1
- package/src/elements/core/UIModal.tsx +1 -1
@@ -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
|
-
|
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
|
1819
|
-
|
1820
|
-
|
1821
|
-
|
1822
|
-
|
1823
|
-
|
1824
|
-
|
1825
|
-
|
1826
|
-
|
1827
|
-
|
1828
|
-
|
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();
|