react-crud-mobile 1.3.192 → 1.3.194
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
@@ -1788,17 +1788,18 @@ function UIElement(props) {
|
|
1788
1788
|
var ctx = useContext(CrudContext);
|
1789
1789
|
var theme = Utils.nvl(props.theme, ctx == null ? void 0 : ctx.theme);
|
1790
1790
|
var crud = Utils.nvl(props.crud, ctx == null ? void 0 : ctx.crud);
|
1791
|
-
var
|
1792
|
-
|
1793
|
-
|
1794
|
-
|
1795
|
-
|
1796
|
-
|
1797
|
-
|
1798
|
-
|
1799
|
-
|
1800
|
-
|
1801
|
-
|
1791
|
+
var _useState = useState(ScopeUtils.create(_extends({
|
1792
|
+
crud: crud
|
1793
|
+
}, props, {
|
1794
|
+
theme: theme
|
1795
|
+
}))),
|
1796
|
+
scope = _useState[0];
|
1797
|
+
var _useState2 = useState(0),
|
1798
|
+
index = _useState2[0],
|
1799
|
+
setIndex = _useState2[1];
|
1800
|
+
var _useState3 = useState(null),
|
1801
|
+
error = _useState3[0],
|
1802
|
+
setError = _useState3[1];
|
1802
1803
|
scope.compile(props);
|
1803
1804
|
crud = scope.crud;
|
1804
1805
|
var options = scope.getOptions();
|