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.
@@ -1340,7 +1340,7 @@ function UIModal(_ref) {
1340
1340
  index = _useState2[0],
1341
1341
  setIndex = _useState2[1];
1342
1342
  var main = ViewUtils.getCrud('view');
1343
- //v5
1343
+ //v6
1344
1344
  var label = scope.getLabel();
1345
1345
  var theme = scope.getTheme();
1346
1346
  var headerStyle = Utils.nvl((_theme$styles = theme.styles) == null || (_theme$styles = _theme$styles.defaults) == null ? void 0 : _theme$styles.header, {});
@@ -1816,6 +1816,8 @@ function UIElement(props) {
1816
1816
  scope.update();
1817
1817
  };
1818
1818
  var onClick = function onClick(e) {
1819
+ var _scope$currentDialog;
1820
+ if ((_scope$currentDialog = scope.currentDialog) != null && _scope$currentDialog.component) return;
1819
1821
  scope.call('click');
1820
1822
  };
1821
1823
  var defaultsInput = {
@@ -2022,7 +2024,7 @@ function UIElement(props) {
2022
2024
  return /*#__PURE__*/jsx(Fragment, {});
2023
2025
  };
2024
2026
  var Container = function Container() {
2025
- var _scope$currentDialog, _scope$currentDialog2;
2027
+ var _scope$currentDialog2, _scope$currentDialog3;
2026
2028
  return /*#__PURE__*/jsxs(Fragment, {
2027
2029
  children: [isShowLabel() && /*#__PURE__*/jsxs(View, {
2028
2030
  style: getStyle('outerLabel', {
@@ -2059,9 +2061,9 @@ function UIElement(props) {
2059
2061
  })), scope.isType('dialog') && /*#__PURE__*/jsx(UIModal, _extends({}, props, {
2060
2062
  scope: scope,
2061
2063
  crud: crud
2062
- })), ((_scope$currentDialog = scope.currentDialog) == null ? void 0 : _scope$currentDialog.component) && /*#__PURE__*/jsx(UIModal, {
2064
+ })), ((_scope$currentDialog2 = scope.currentDialog) == null ? void 0 : _scope$currentDialog2.component) && /*#__PURE__*/jsx(UIModal, {
2063
2065
  scope: scope,
2064
- crud: (_scope$currentDialog2 = scope.currentDialog) == null ? void 0 : _scope$currentDialog2.crud,
2066
+ crud: (_scope$currentDialog3 = scope.currentDialog) == null ? void 0 : _scope$currentDialog3.crud,
2065
2067
  open: true,
2066
2068
  dialog: scope.currentDialog
2067
2069
  }), scope.isType('chart') && /*#__PURE__*/jsx(ElChart, _extends({}, props, {