react-crud-mobile 1.3.8 → 1.3.10
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 +3 -1
- 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 +3 -1
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIModal.tsx +5 -0
|
@@ -1351,6 +1351,7 @@ function UIModal(props) {
|
|
|
1351
1351
|
};
|
|
1352
1352
|
scope.dialogShow = function (args) {
|
|
1353
1353
|
var crud = args.crud;
|
|
1354
|
+
console.log(index);
|
|
1354
1355
|
var name = scope.getName('modal');
|
|
1355
1356
|
var edit = args.edit === true;
|
|
1356
1357
|
var def = {};
|
|
@@ -1406,6 +1407,7 @@ function UIModal(props) {
|
|
|
1406
1407
|
var defaults = {
|
|
1407
1408
|
color: color
|
|
1408
1409
|
};
|
|
1410
|
+
var key = scope.currentDialog.name + "-" + index;
|
|
1409
1411
|
return /*#__PURE__*/jsxRuntime.jsxs(reactNative.Modal, {
|
|
1410
1412
|
animationType: "slide",
|
|
1411
1413
|
transparent: true,
|
|
@@ -1455,7 +1457,7 @@ function UIModal(props) {
|
|
|
1455
1457
|
})
|
|
1456
1458
|
})]
|
|
1457
1459
|
}), /*#__PURE__*/jsxRuntime.jsx(UIToast, {})]
|
|
1458
|
-
});
|
|
1460
|
+
}, key);
|
|
1459
1461
|
}
|
|
1460
1462
|
var styles$8 = /*#__PURE__*/reactNative.StyleSheet.create({
|
|
1461
1463
|
modalTop: {
|