react-crud-mobile 1.3.47 → 1.3.48
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 +1 -39
- 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 +1 -39
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UISelect.tsx +0 -34
|
@@ -496,7 +496,7 @@ var MobileUtils = /*#__PURE__*/function () {
|
|
|
496
496
|
}();
|
|
497
497
|
|
|
498
498
|
function UISelect(props) {
|
|
499
|
-
var _theme$styles, _theme$colors, _scope$original, _scope$original2
|
|
499
|
+
var _theme$styles, _theme$colors, _scope$original, _scope$original2;
|
|
500
500
|
var _useState = useState(false),
|
|
501
501
|
modalVisible = _useState[0],
|
|
502
502
|
setModalVisible = _useState[1];
|
|
@@ -607,44 +607,6 @@ function UISelect(props) {
|
|
|
607
607
|
}))
|
|
608
608
|
})
|
|
609
609
|
})]
|
|
610
|
-
}), /*#__PURE__*/jsx(SafeAreaView, {
|
|
611
|
-
style: style('modalTop')
|
|
612
|
-
}), /*#__PURE__*/jsxs(SafeAreaView, {
|
|
613
|
-
style: style('modalSafe'),
|
|
614
|
-
children: [/*#__PURE__*/jsxs(View, {
|
|
615
|
-
style: scope.getStyle('header', headerStyle),
|
|
616
|
-
children: [/*#__PURE__*/jsx(TouchableOpacity, {
|
|
617
|
-
onPress: function onPress() {
|
|
618
|
-
return setModalVisible(false);
|
|
619
|
-
},
|
|
620
|
-
style: style('modalCloseButton'),
|
|
621
|
-
children: /*#__PURE__*/jsx(Ionicons$1, {
|
|
622
|
-
name: "close",
|
|
623
|
-
size: 24,
|
|
624
|
-
color: modalColor,
|
|
625
|
-
style: style('modalCloseText', defaults)
|
|
626
|
-
})
|
|
627
|
-
}), /*#__PURE__*/jsx(Text, {
|
|
628
|
-
style: style('modalTitle'),
|
|
629
|
-
children: placeholder
|
|
630
|
-
})]
|
|
631
|
-
}), /*#__PURE__*/jsx(View, {
|
|
632
|
-
style: style('modalContent'),
|
|
633
|
-
children: /*#__PURE__*/jsx(UI.List, _extends({
|
|
634
|
-
data: items,
|
|
635
|
-
name: scope.getName('list'),
|
|
636
|
-
layout: "card",
|
|
637
|
-
click: onClick,
|
|
638
|
-
rowStyle: _extends({
|
|
639
|
-
paddingLeft: 15,
|
|
640
|
-
paddinRight: 15
|
|
641
|
-
}, (_scope$original3 = scope.original) == null ? void 0 : _scope$original3.rowStyle)
|
|
642
|
-
}, (_scope$original4 = scope.original) == null ? void 0 : _scope$original4.listProps, {
|
|
643
|
-
children: /*#__PURE__*/jsx(UI.Value, {
|
|
644
|
-
value: "#{@this.label}"
|
|
645
|
-
})
|
|
646
|
-
}))
|
|
647
|
-
})]
|
|
648
610
|
})]
|
|
649
611
|
})]
|
|
650
612
|
}, scope.getName(scope.getPart('modal') + "_" + modalVisible));
|