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
@@ -1017,6 +1017,7 @@ function UIList(props) {
|
|
1017
1017
|
var list = reactCrudUtils.Utils.nvl(scope.getItems(), []);
|
1018
1018
|
if (original.search && !((_original$list = original.list) != null && _original$list.url)) {
|
1019
1019
|
var query = crud.get('query', '').toLowerCase().trim();
|
1020
|
+
console.log(query);
|
1020
1021
|
if (query.length > 1) {
|
1021
1022
|
var filters = [];
|
1022
1023
|
var filterBy = reactCrudUtils.Utils.nvl(original.filterBy, 'label');
|
@@ -1425,24 +1426,15 @@ function UIModal(_ref) {
|
|
1425
1426
|
children: children
|
1426
1427
|
});
|
1427
1428
|
}
|
1428
|
-
return /*#__PURE__*/jsxRuntime.jsx(reactNative.
|
1429
|
-
|
1430
|
-
|
1431
|
-
|
1432
|
-
paddingRight: 15,
|
1433
|
-
paddingTop: 10,
|
1434
|
-
paddingBottom: 10
|
1429
|
+
return /*#__PURE__*/jsxRuntime.jsx(reactNative.ScrollView, {
|
1430
|
+
contentContainerStyle: {
|
1431
|
+
flexGrow: 1,
|
1432
|
+
paddingBottom: 50
|
1435
1433
|
},
|
1436
|
-
|
1437
|
-
|
1438
|
-
|
1439
|
-
|
1440
|
-
},
|
1441
|
-
style: style('modalContent'),
|
1442
|
-
nestedScrollEnabled: true,
|
1443
|
-
ref: scrollRef,
|
1444
|
-
children: children
|
1445
|
-
})
|
1434
|
+
style: style('modalContent'),
|
1435
|
+
nestedScrollEnabled: true,
|
1436
|
+
ref: scrollRef,
|
1437
|
+
children: children
|
1446
1438
|
});
|
1447
1439
|
};
|
1448
1440
|
var ModalView = function ModalView(_ref3) {
|
@@ -1531,7 +1523,11 @@ var styles$8 = /*#__PURE__*/reactNative.StyleSheet.create({
|
|
1531
1523
|
},
|
1532
1524
|
modalContent: {
|
1533
1525
|
flex: 1,
|
1534
|
-
backgroundColor: 'background'
|
1526
|
+
backgroundColor: 'background',
|
1527
|
+
paddingLeft: 15,
|
1528
|
+
paddingRight: 15,
|
1529
|
+
paddingTop: 10,
|
1530
|
+
paddingBottom: 10
|
1535
1531
|
}
|
1536
1532
|
});
|
1537
1533
|
|