react-crud-mobile 1.3.90 → 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.
- package/dist/react-crud-mobile.cjs.development.js +5 -3
- 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 +5 -3
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/UIElement.tsx +2 -0
|
@@ -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$
|
|
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$
|
|
2073
|
+
})), ((_scope$currentDialog2 = scope.currentDialog) == null ? void 0 : _scope$currentDialog2.component) && /*#__PURE__*/jsxRuntime.jsx(UIModal, {
|
|
2072
2074
|
scope: scope,
|
|
2073
|
-
crud: (_scope$
|
|
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, {
|