react-crud-mobile 1.3.215 → 1.3.217

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.
@@ -1416,20 +1416,6 @@ function UIModal(_ref) {
1416
1416
  color: color
1417
1417
  };
1418
1418
  var key = curr.name + "-" + index;
1419
- var Content = function Content() {
1420
- if (dialog != null && dialog.component) {
1421
- var Aux = dialog == null ? void 0 : dialog.component;
1422
- console.log(Aux);
1423
- return /*#__PURE__*/jsxRuntime.jsx(Aux, {
1424
- crud: curr
1425
- }, curr.uuid);
1426
- }
1427
- return /*#__PURE__*/jsxRuntime.jsx(UIChildren, {
1428
- scope: scope,
1429
- crud: curr,
1430
- children: props.children
1431
- });
1432
- };
1433
1419
  var ModalContent = function ModalContent(_ref2) {
1434
1420
  var children = _ref2.children;
1435
1421
  var disableScroll = scope.part('disableScroll', false);
@@ -1471,12 +1457,32 @@ function UIModal(_ref) {
1471
1457
  });
1472
1458
  };
1473
1459
  var ModalInner = function ModalInner() {
1460
+ var Content = function Content() {
1461
+ if (dialog != null && dialog.component) {
1462
+ var Aux = dialog == null ? void 0 : dialog.component;
1463
+ var x = Aux({
1464
+ crud: dialog.crud,
1465
+ scope: dialog.scope
1466
+ });
1467
+ console.log(x);
1468
+ return /*#__PURE__*/jsxRuntime.jsx(Aux, {
1469
+ crud: curr
1470
+ }, curr.uuid);
1471
+ }
1472
+ return /*#__PURE__*/jsxRuntime.jsx(UIChildren, {
1473
+ scope: scope,
1474
+ crud: curr,
1475
+ children: props.children
1476
+ });
1477
+ };
1478
+ var content = /*#__PURE__*/jsxRuntime.jsx(Content, {});
1474
1479
  if (original["transient"]) {
1475
1480
  return /*#__PURE__*/jsxRuntime.jsx(reactNative.View, {
1476
1481
  style: style('modalSafe'),
1477
- children: /*#__PURE__*/jsxRuntime.jsx(Content, {})
1482
+ children: content
1478
1483
  });
1479
1484
  }
1485
+ console.log(content);
1480
1486
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
1481
1487
  children: [/*#__PURE__*/jsxRuntime.jsx(reactNative.SafeAreaView, {
1482
1488
  style: style('modalTop')
@@ -1503,7 +1509,7 @@ function UIModal(_ref) {
1503
1509
  children: headerRight
1504
1510
  })]
1505
1511
  }), /*#__PURE__*/jsxRuntime.jsx(ModalContent, {
1506
- children: /*#__PURE__*/jsxRuntime.jsx(Content, {})
1512
+ children: content
1507
1513
  }), bottom]
1508
1514
  }), /*#__PURE__*/jsxRuntime.jsx(UIToast, {})]
1509
1515
  });