react-crud-mobile 1.3.48 → 1.3.49
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 +16 -15
- 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 +16 -15
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIModal.tsx +11 -5
- package/src/elements/core/UISelect.tsx +9 -5
|
@@ -597,7 +597,11 @@ function UISelect(props) {
|
|
|
597
597
|
ref: scrollRef,
|
|
598
598
|
children: /*#__PURE__*/jsxRuntime.jsx(reactNative.View, {
|
|
599
599
|
style: {
|
|
600
|
-
flex: 1
|
|
600
|
+
flex: 1,
|
|
601
|
+
paddingLeft: 15,
|
|
602
|
+
paddingRight: 15,
|
|
603
|
+
paddingTop: 10,
|
|
604
|
+
paddingBottom: 10
|
|
601
605
|
},
|
|
602
606
|
children: /*#__PURE__*/jsxRuntime.jsx(UI.List, _extends({
|
|
603
607
|
data: items,
|
|
@@ -658,11 +662,7 @@ var styles$3 = /*#__PURE__*/reactNative.StyleSheet.create({
|
|
|
658
662
|
},
|
|
659
663
|
modalContent: {
|
|
660
664
|
flex: 1,
|
|
661
|
-
backgroundColor: 'background'
|
|
662
|
-
paddingTop: 10,
|
|
663
|
-
paddingBottom: 10,
|
|
664
|
-
paddingLeft: 15,
|
|
665
|
-
paddingRight: 15
|
|
665
|
+
backgroundColor: 'background'
|
|
666
666
|
}
|
|
667
667
|
});
|
|
668
668
|
|
|
@@ -1429,6 +1429,7 @@ function UIModal(props) {
|
|
|
1429
1429
|
return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {});
|
|
1430
1430
|
}
|
|
1431
1431
|
var headerRight = reactCrudUtils.ComponentUtils.getDefine(props, 'header', 'right');
|
|
1432
|
+
var bottom = reactCrudUtils.ComponentUtils.getDefine(props, 'bottom');
|
|
1432
1433
|
scope.put('scrollRef', scrollRef);
|
|
1433
1434
|
reactCrudUtils.ComponentUtils.setViewScope(scope);
|
|
1434
1435
|
var color = reactCrudUtils.Utils.nvl(headerStyle.color, 'white');
|
|
@@ -1465,7 +1466,7 @@ function UIModal(props) {
|
|
|
1465
1466
|
"transient": true,
|
|
1466
1467
|
children: headerRight
|
|
1467
1468
|
})]
|
|
1468
|
-
}), /*#__PURE__*/jsxRuntime.
|
|
1469
|
+
}), /*#__PURE__*/jsxRuntime.jsxs(reactNative.ScrollView, {
|
|
1469
1470
|
contentContainerStyle: {
|
|
1470
1471
|
flexGrow: 1,
|
|
1471
1472
|
paddingBottom: 50
|
|
@@ -1473,16 +1474,20 @@ function UIModal(props) {
|
|
|
1473
1474
|
style: style('modalContent'),
|
|
1474
1475
|
nestedScrollEnabled: true,
|
|
1475
1476
|
ref: scrollRef,
|
|
1476
|
-
children: /*#__PURE__*/jsxRuntime.jsx(reactNative.View, {
|
|
1477
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(reactNative.View, {
|
|
1477
1478
|
style: {
|
|
1478
|
-
flex: 1
|
|
1479
|
+
flex: 1,
|
|
1480
|
+
paddingLeft: 15,
|
|
1481
|
+
paddingRight: 15,
|
|
1482
|
+
paddingTop: 10,
|
|
1483
|
+
paddingBottom: 10
|
|
1479
1484
|
},
|
|
1480
1485
|
children: /*#__PURE__*/jsxRuntime.jsx(UIChildren, {
|
|
1481
1486
|
scope: scope,
|
|
1482
1487
|
crud: scope.currentDialog,
|
|
1483
1488
|
children: props.children
|
|
1484
1489
|
})
|
|
1485
|
-
})
|
|
1490
|
+
}), bottom]
|
|
1486
1491
|
})]
|
|
1487
1492
|
}), /*#__PURE__*/jsxRuntime.jsx(UIToast, {})]
|
|
1488
1493
|
}, key);
|
|
@@ -1511,11 +1516,7 @@ var styles$8 = /*#__PURE__*/reactNative.StyleSheet.create({
|
|
|
1511
1516
|
},
|
|
1512
1517
|
modalContent: {
|
|
1513
1518
|
flex: 1,
|
|
1514
|
-
backgroundColor: 'background'
|
|
1515
|
-
paddingTop: 10,
|
|
1516
|
-
paddingBottom: 10,
|
|
1517
|
-
paddingLeft: 15,
|
|
1518
|
-
paddingRight: 15
|
|
1519
|
+
backgroundColor: 'background'
|
|
1519
1520
|
}
|
|
1520
1521
|
});
|
|
1521
1522
|
|