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.
@@ -1799,18 +1799,17 @@ function UIElement(props) {
1799
1799
  var ctx = useContext(CrudContext);
1800
1800
  var theme = Utils.nvl(props.theme, ctx == null ? void 0 : ctx.theme);
1801
1801
  var crud = Utils.nvl(props.crud, ctx == null ? void 0 : ctx.crud);
1802
- var _useState = useState(ScopeUtils.create(_extends({
1803
- crud: crud
1804
- }, props, {
1805
- theme: theme
1806
- }))),
1807
- scope = _useState[0];
1808
- var _useState2 = useState(0),
1809
- index = _useState2[0],
1810
- setIndex = _useState2[1];
1811
- var _useState3 = useState(null),
1812
- error = _useState3[0],
1813
- setError = _useState3[1];
1802
+ var scope = ScopeUtils.create(_extends({
1803
+ crud: crud
1804
+ }, props, {
1805
+ theme: theme
1806
+ }));
1807
+ var _useState = useState(0),
1808
+ index = _useState[0],
1809
+ setIndex = _useState[1];
1810
+ var _useState2 = useState(null),
1811
+ error = _useState2[0],
1812
+ setError = _useState2[1];
1814
1813
  scope.compile(props);
1815
1814
  crud = scope.crud;
1816
1815
  var options = scope.getOptions();
@@ -2117,6 +2116,12 @@ function UIElement(props) {
2117
2116
  };
2118
2117
  var Container = function Container() {
2119
2118
  var _scope$currentDialog2, _scope$currentDialog3, _scope$currentDialog4;
2119
+ var _useState3 = useState(0),
2120
+ indxContainer = _useState3[0],
2121
+ setIndxContainer = _useState3[1];
2122
+ scope.updaters.container = function () {
2123
+ setIndxContainer(++indxContainer);
2124
+ };
2120
2125
  return /*#__PURE__*/jsxs(Fragment, {
2121
2126
  children: [isShowLabel() && /*#__PURE__*/jsxs(View, {
2122
2127
  style: getStyle('outerLabel', {
@@ -2265,6 +2270,7 @@ function UIElement(props) {
2265
2270
  dialogScope.currentDialog = dialog;
2266
2271
  dialogScope.toggleDialog(true);
2267
2272
  scope.update();
2273
+ scope.updaters.container == null || scope.updaters.container();
2268
2274
  };
2269
2275
  scope.dialogHide = function (args) {
2270
2276
  var _main$dialog;
@@ -2316,7 +2322,7 @@ var boxStyle = /*#__PURE__*/StyleSheet.create({
2316
2322
  }
2317
2323
  });
2318
2324
  var box = /*#__PURE__*/_extends({}, boxStyle.box);
2319
- //v4
2325
+ //v5
2320
2326
  var elementStyle = {};
2321
2327
  elementStyle.view = {
2322
2328
  inner: {