react-crud-mobile 1.3.191 → 1.3.193
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 -11
- 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 -11
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/elements/UIElement.tsx +1 -1
@@ -1797,17 +1797,18 @@ function UIElement(props) {
|
|
1797
1797
|
var ctx = React.useContext(CrudContext);
|
1798
1798
|
var theme = reactCrudUtils.Utils.nvl(props.theme, ctx == null ? void 0 : ctx.theme);
|
1799
1799
|
var crud = reactCrudUtils.Utils.nvl(props.crud, ctx == null ? void 0 : ctx.crud);
|
1800
|
-
var
|
1801
|
-
|
1802
|
-
|
1803
|
-
|
1804
|
-
|
1805
|
-
|
1806
|
-
|
1807
|
-
|
1808
|
-
|
1809
|
-
|
1810
|
-
|
1800
|
+
var _useState = React.useState(reactCrudUtils.ScopeUtils.create(_extends({
|
1801
|
+
crud: crud
|
1802
|
+
}, props, {
|
1803
|
+
theme: theme
|
1804
|
+
}))),
|
1805
|
+
scope = _useState[0];
|
1806
|
+
var _useState2 = React.useState(0),
|
1807
|
+
index = _useState2[0],
|
1808
|
+
setIndex = _useState2[1];
|
1809
|
+
var _useState3 = React.useState(null),
|
1810
|
+
error = _useState3[0],
|
1811
|
+
setError = _useState3[1];
|
1811
1812
|
scope.compile(props);
|
1812
1813
|
crud = scope.crud;
|
1813
1814
|
var options = scope.getOptions();
|