react-crud-mobile 1.3.32 → 1.3.33
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 +11 -12
- 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 +11 -12
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/UIElement.tsx +1 -1
|
@@ -1595,18 +1595,17 @@ function UIElement(props) {
|
|
|
1595
1595
|
var ctx = React.useContext(CrudContext);
|
|
1596
1596
|
var theme = reactCrudUtils.Utils.nvl(props.theme, ctx == null ? void 0 : ctx.theme);
|
|
1597
1597
|
var crud = reactCrudUtils.Utils.nvl(props.crud, ctx == null ? void 0 : ctx.crud);
|
|
1598
|
-
var
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
setError = _useState3[1];
|
|
1598
|
+
var scope = reactCrudUtils.ScopeUtils.create(_extends({
|
|
1599
|
+
crud: crud
|
|
1600
|
+
}, props, {
|
|
1601
|
+
theme: theme
|
|
1602
|
+
}));
|
|
1603
|
+
var _useState = React.useState(0),
|
|
1604
|
+
index = _useState[0],
|
|
1605
|
+
setIndex = _useState[1];
|
|
1606
|
+
var _useState2 = React.useState(null),
|
|
1607
|
+
error = _useState2[0],
|
|
1608
|
+
setError = _useState2[1];
|
|
1610
1609
|
crud = scope.crud;
|
|
1611
1610
|
var options = scope.getOptions();
|
|
1612
1611
|
var original = scope.original;
|