react-crud-mobile 1.3.163 → 1.3.165
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 +14 -18
- 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 +14 -18
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIList.tsx +2 -0
- package/src/elements/core/UIModal.tsx +11 -17
@@ -1008,6 +1008,7 @@ function UIList(props) {
|
|
1008
1008
|
var list = Utils.nvl(scope.getItems(), []);
|
1009
1009
|
if (original.search && !((_original$list = original.list) != null && _original$list.url)) {
|
1010
1010
|
var query = crud.get('query', '').toLowerCase().trim();
|
1011
|
+
console.log(query);
|
1011
1012
|
if (query.length > 1) {
|
1012
1013
|
var filters = [];
|
1013
1014
|
var filterBy = Utils.nvl(original.filterBy, 'label');
|
@@ -1416,24 +1417,15 @@ function UIModal(_ref) {
|
|
1416
1417
|
children: children
|
1417
1418
|
});
|
1418
1419
|
}
|
1419
|
-
return /*#__PURE__*/jsx(
|
1420
|
-
|
1421
|
-
|
1422
|
-
|
1423
|
-
paddingRight: 15,
|
1424
|
-
paddingTop: 10,
|
1425
|
-
paddingBottom: 10
|
1420
|
+
return /*#__PURE__*/jsx(ScrollView, {
|
1421
|
+
contentContainerStyle: {
|
1422
|
+
flexGrow: 1,
|
1423
|
+
paddingBottom: 50
|
1426
1424
|
},
|
1427
|
-
|
1428
|
-
|
1429
|
-
|
1430
|
-
|
1431
|
-
},
|
1432
|
-
style: style('modalContent'),
|
1433
|
-
nestedScrollEnabled: true,
|
1434
|
-
ref: scrollRef,
|
1435
|
-
children: children
|
1436
|
-
})
|
1425
|
+
style: style('modalContent'),
|
1426
|
+
nestedScrollEnabled: true,
|
1427
|
+
ref: scrollRef,
|
1428
|
+
children: children
|
1437
1429
|
});
|
1438
1430
|
};
|
1439
1431
|
var ModalView = function ModalView(_ref3) {
|
@@ -1522,7 +1514,11 @@ var styles$8 = /*#__PURE__*/StyleSheet.create({
|
|
1522
1514
|
},
|
1523
1515
|
modalContent: {
|
1524
1516
|
flex: 1,
|
1525
|
-
backgroundColor: 'background'
|
1517
|
+
backgroundColor: 'background',
|
1518
|
+
paddingLeft: 15,
|
1519
|
+
paddingRight: 15,
|
1520
|
+
paddingTop: 10,
|
1521
|
+
paddingBottom: 10
|
1526
1522
|
}
|
1527
1523
|
});
|
1528
1524
|
|