react-crud-mobile 1.3.33 → 1.3.34
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 +13 -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 +13 -11
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/elements/UIElement.tsx +3 -1
|
@@ -1587,17 +1587,19 @@ function UIElement(props) {
|
|
|
1587
1587
|
var ctx = useContext(CrudContext);
|
|
1588
1588
|
var theme = Utils.nvl(props.theme, ctx == null ? void 0 : ctx.theme);
|
|
1589
1589
|
var crud = Utils.nvl(props.crud, ctx == null ? void 0 : ctx.crud);
|
|
1590
|
-
var
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1590
|
+
var _useState = useState(ScopeUtils.create(_extends({
|
|
1591
|
+
crud: crud
|
|
1592
|
+
}, props, {
|
|
1593
|
+
theme: theme
|
|
1594
|
+
}))),
|
|
1595
|
+
scope = _useState[0];
|
|
1596
|
+
var _useState2 = useState(0),
|
|
1597
|
+
index = _useState2[0],
|
|
1598
|
+
setIndex = _useState2[1];
|
|
1599
|
+
var _useState3 = useState(null),
|
|
1600
|
+
error = _useState3[0],
|
|
1601
|
+
setError = _useState3[1];
|
|
1602
|
+
scope.compile(props);
|
|
1601
1603
|
crud = scope.crud;
|
|
1602
1604
|
var options = scope.getOptions();
|
|
1603
1605
|
var original = scope.original;
|