react-crud-mobile 1.3.89 → 1.3.91

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.
@@ -1349,7 +1349,7 @@ function UIModal(_ref) {
1349
1349
  index = _useState2[0],
1350
1350
  setIndex = _useState2[1];
1351
1351
  var main = reactCrudUtils.ViewUtils.getCrud('view');
1352
- //v5
1352
+ //v6
1353
1353
  var label = scope.getLabel();
1354
1354
  var theme = scope.getTheme();
1355
1355
  var headerStyle = reactCrudUtils.Utils.nvl((_theme$styles = theme.styles) == null || (_theme$styles = _theme$styles.defaults) == null ? void 0 : _theme$styles.header, {});
@@ -1825,6 +1825,8 @@ function UIElement(props) {
1825
1825
  scope.update();
1826
1826
  };
1827
1827
  var onClick = function onClick(e) {
1828
+ var _scope$currentDialog;
1829
+ if ((_scope$currentDialog = scope.currentDialog) != null && _scope$currentDialog.component) return;
1828
1830
  scope.call('click');
1829
1831
  };
1830
1832
  var defaultsInput = {
@@ -2031,7 +2033,7 @@ function UIElement(props) {
2031
2033
  return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {});
2032
2034
  };
2033
2035
  var Container = function Container() {
2034
- var _scope$currentDialog, _scope$currentDialog2;
2036
+ var _scope$currentDialog2, _scope$currentDialog3;
2035
2037
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
2036
2038
  children: [isShowLabel() && /*#__PURE__*/jsxRuntime.jsxs(reactNative.View, {
2037
2039
  style: getStyle('outerLabel', {
@@ -2068,9 +2070,9 @@ function UIElement(props) {
2068
2070
  })), scope.isType('dialog') && /*#__PURE__*/jsxRuntime.jsx(UIModal, _extends({}, props, {
2069
2071
  scope: scope,
2070
2072
  crud: crud
2071
- })), ((_scope$currentDialog = scope.currentDialog) == null ? void 0 : _scope$currentDialog.component) && /*#__PURE__*/jsxRuntime.jsx(UIModal, {
2073
+ })), ((_scope$currentDialog2 = scope.currentDialog) == null ? void 0 : _scope$currentDialog2.component) && /*#__PURE__*/jsxRuntime.jsx(UIModal, {
2072
2074
  scope: scope,
2073
- crud: (_scope$currentDialog2 = scope.currentDialog) == null ? void 0 : _scope$currentDialog2.crud,
2075
+ crud: (_scope$currentDialog3 = scope.currentDialog) == null ? void 0 : _scope$currentDialog3.crud,
2074
2076
  open: true,
2075
2077
  dialog: scope.currentDialog
2076
2078
  }), scope.isType('chart') && /*#__PURE__*/jsxRuntime.jsx(ElChart, _extends({}, props, {