react-crud-mobile 1.3.245 → 1.3.246
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 +1 -1
- package/src/elements/UIElement.tsx +1 -1
@@ -1824,17 +1824,18 @@ function UIElement(props) {
|
|
1824
1824
|
var ctx = React.useContext(CrudContext);
|
1825
1825
|
var theme = reactCrudUtils.Utils.nvl(props.theme, ctx == null ? void 0 : ctx.theme);
|
1826
1826
|
var crud = reactCrudUtils.Utils.nvl(props.crud, ctx == null ? void 0 : ctx.crud);
|
1827
|
-
var
|
1828
|
-
|
1829
|
-
|
1830
|
-
|
1831
|
-
|
1832
|
-
|
1833
|
-
|
1834
|
-
|
1835
|
-
|
1836
|
-
|
1837
|
-
|
1827
|
+
var _useState = React.useState(reactCrudUtils.ScopeUtils.create(_extends({
|
1828
|
+
crud: crud
|
1829
|
+
}, props, {
|
1830
|
+
theme: theme
|
1831
|
+
}))),
|
1832
|
+
scope = _useState[0];
|
1833
|
+
var _useState2 = React.useState(0),
|
1834
|
+
index = _useState2[0],
|
1835
|
+
setIndex = _useState2[1];
|
1836
|
+
var _useState3 = React.useState(null),
|
1837
|
+
error = _useState3[0],
|
1838
|
+
setError = _useState3[1];
|
1838
1839
|
scope.compile(props);
|
1839
1840
|
crud = scope.crud;
|
1840
1841
|
var options = scope.getOptions();
|