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.
@@ -1407,20 +1407,6 @@ function UIModal(_ref) {
1407
1407
  color: color
1408
1408
  };
1409
1409
  var key = curr.name + "-" + index;
1410
- var Content = function Content() {
1411
- if (dialog != null && dialog.component) {
1412
- var Aux = dialog == null ? void 0 : dialog.component;
1413
- console.log(Aux);
1414
- return /*#__PURE__*/jsx(Aux, {
1415
- crud: curr
1416
- }, curr.uuid);
1417
- }
1418
- return /*#__PURE__*/jsx(UIChildren, {
1419
- scope: scope,
1420
- crud: curr,
1421
- children: props.children
1422
- });
1423
- };
1424
1410
  var ModalContent = function ModalContent(_ref2) {
1425
1411
  var children = _ref2.children;
1426
1412
  var disableScroll = scope.part('disableScroll', false);
@@ -1462,12 +1448,32 @@ function UIModal(_ref) {
1462
1448
  });
1463
1449
  };
1464
1450
  var ModalInner = function ModalInner() {
1451
+ var Content = function Content() {
1452
+ if (dialog != null && dialog.component) {
1453
+ var Aux = dialog == null ? void 0 : dialog.component;
1454
+ var x = Aux({
1455
+ crud: dialog.crud,
1456
+ scope: dialog.scope
1457
+ });
1458
+ console.log(x);
1459
+ return /*#__PURE__*/jsx(Aux, {
1460
+ crud: curr
1461
+ }, curr.uuid);
1462
+ }
1463
+ return /*#__PURE__*/jsx(UIChildren, {
1464
+ scope: scope,
1465
+ crud: curr,
1466
+ children: props.children
1467
+ });
1468
+ };
1469
+ var content = /*#__PURE__*/jsx(Content, {});
1465
1470
  if (original["transient"]) {
1466
1471
  return /*#__PURE__*/jsx(View, {
1467
1472
  style: style('modalSafe'),
1468
- children: /*#__PURE__*/jsx(Content, {})
1473
+ children: content
1469
1474
  });
1470
1475
  }
1476
+ console.log(content);
1471
1477
  return /*#__PURE__*/jsxs(Fragment, {
1472
1478
  children: [/*#__PURE__*/jsx(SafeAreaView, {
1473
1479
  style: style('modalTop')
@@ -1494,7 +1500,7 @@ function UIModal(_ref) {
1494
1500
  children: headerRight
1495
1501
  })]
1496
1502
  }), /*#__PURE__*/jsx(ModalContent, {
1497
- children: /*#__PURE__*/jsx(Content, {})
1503
+ children: content
1498
1504
  }), bottom]
1499
1505
  }), /*#__PURE__*/jsx(UIToast, {})]
1500
1506
  });