react-crud-mobile 1.3.203 → 1.3.208

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.
@@ -1808,18 +1808,17 @@ function UIElement(props) {
1808
1808
  var ctx = React.useContext(CrudContext);
1809
1809
  var theme = reactCrudUtils.Utils.nvl(props.theme, ctx == null ? void 0 : ctx.theme);
1810
1810
  var crud = reactCrudUtils.Utils.nvl(props.crud, ctx == null ? void 0 : ctx.crud);
1811
- var _useState = React.useState(reactCrudUtils.ScopeUtils.create(_extends({
1812
- crud: crud
1813
- }, props, {
1814
- theme: theme
1815
- }))),
1816
- scope = _useState[0];
1817
- var _useState2 = React.useState(0),
1818
- index = _useState2[0],
1819
- setIndex = _useState2[1];
1820
- var _useState3 = React.useState(null),
1821
- error = _useState3[0],
1822
- setError = _useState3[1];
1811
+ var scope = reactCrudUtils.ScopeUtils.create(_extends({
1812
+ crud: crud
1813
+ }, props, {
1814
+ theme: theme
1815
+ }));
1816
+ var _useState = React.useState(0),
1817
+ index = _useState[0],
1818
+ setIndex = _useState[1];
1819
+ var _useState2 = React.useState(null),
1820
+ error = _useState2[0],
1821
+ setError = _useState2[1];
1823
1822
  scope.compile(props);
1824
1823
  crud = scope.crud;
1825
1824
  var options = scope.getOptions();
@@ -2126,6 +2125,12 @@ function UIElement(props) {
2126
2125
  };
2127
2126
  var Container = function Container() {
2128
2127
  var _scope$currentDialog2, _scope$currentDialog3, _scope$currentDialog4;
2128
+ var _useState3 = React.useState(0),
2129
+ indxContainer = _useState3[0],
2130
+ setIndxContainer = _useState3[1];
2131
+ scope.updaters.container = function () {
2132
+ setIndxContainer(++indxContainer);
2133
+ };
2129
2134
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
2130
2135
  children: [isShowLabel() && /*#__PURE__*/jsxRuntime.jsxs(reactNative.View, {
2131
2136
  style: getStyle('outerLabel', {
@@ -2274,6 +2279,7 @@ function UIElement(props) {
2274
2279
  dialogScope.currentDialog = dialog;
2275
2280
  dialogScope.toggleDialog(true);
2276
2281
  scope.update();
2282
+ scope.updaters.container == null || scope.updaters.container();
2277
2283
  };
2278
2284
  scope.dialogHide = function (args) {
2279
2285
  var _main$dialog;
@@ -2325,7 +2331,7 @@ var boxStyle = /*#__PURE__*/reactNative.StyleSheet.create({
2325
2331
  }
2326
2332
  });
2327
2333
  var box = /*#__PURE__*/_extends({}, boxStyle.box);
2328
- //v4
2334
+ //v5
2329
2335
  var elementStyle = {};
2330
2336
  elementStyle.view = {
2331
2337
  inner: {