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
|
@@ -504,7 +504,7 @@ var MobileUtils = /*#__PURE__*/function () {
|
|
|
504
504
|
}();
|
|
505
505
|
|
|
506
506
|
function UISelect(props) {
|
|
507
|
-
var _theme$styles, _theme$colors, _scope$original, _scope$original2
|
|
507
|
+
var _theme$styles, _theme$colors, _scope$original, _scope$original2;
|
|
508
508
|
var _useState = React.useState(false),
|
|
509
509
|
modalVisible = _useState[0],
|
|
510
510
|
setModalVisible = _useState[1];
|
|
@@ -615,44 +615,6 @@ function UISelect(props) {
|
|
|
615
615
|
}))
|
|
616
616
|
})
|
|
617
617
|
})]
|
|
618
|
-
}), /*#__PURE__*/jsxRuntime.jsx(reactNative.SafeAreaView, {
|
|
619
|
-
style: style('modalTop')
|
|
620
|
-
}), /*#__PURE__*/jsxRuntime.jsxs(reactNative.SafeAreaView, {
|
|
621
|
-
style: style('modalSafe'),
|
|
622
|
-
children: [/*#__PURE__*/jsxRuntime.jsxs(reactNative.View, {
|
|
623
|
-
style: scope.getStyle('header', headerStyle),
|
|
624
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(reactNative.TouchableOpacity, {
|
|
625
|
-
onPress: function onPress() {
|
|
626
|
-
return setModalVisible(false);
|
|
627
|
-
},
|
|
628
|
-
style: style('modalCloseButton'),
|
|
629
|
-
children: /*#__PURE__*/jsxRuntime.jsx(vectorIcons.Ionicons, {
|
|
630
|
-
name: "close",
|
|
631
|
-
size: 24,
|
|
632
|
-
color: modalColor,
|
|
633
|
-
style: style('modalCloseText', defaults)
|
|
634
|
-
})
|
|
635
|
-
}), /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
|
|
636
|
-
style: style('modalTitle'),
|
|
637
|
-
children: placeholder
|
|
638
|
-
})]
|
|
639
|
-
}), /*#__PURE__*/jsxRuntime.jsx(reactNative.View, {
|
|
640
|
-
style: style('modalContent'),
|
|
641
|
-
children: /*#__PURE__*/jsxRuntime.jsx(UI.List, _extends({
|
|
642
|
-
data: items,
|
|
643
|
-
name: scope.getName('list'),
|
|
644
|
-
layout: "card",
|
|
645
|
-
click: onClick,
|
|
646
|
-
rowStyle: _extends({
|
|
647
|
-
paddingLeft: 15,
|
|
648
|
-
paddinRight: 15
|
|
649
|
-
}, (_scope$original3 = scope.original) == null ? void 0 : _scope$original3.rowStyle)
|
|
650
|
-
}, (_scope$original4 = scope.original) == null ? void 0 : _scope$original4.listProps, {
|
|
651
|
-
children: /*#__PURE__*/jsxRuntime.jsx(UI.Value, {
|
|
652
|
-
value: "#{@this.label}"
|
|
653
|
-
})
|
|
654
|
-
}))
|
|
655
|
-
})]
|
|
656
618
|
})]
|
|
657
619
|
})]
|
|
658
620
|
}, scope.getName(scope.getPart('modal') + "_" + modalVisible));
|