react-crud-mobile 1.3.42 → 1.3.44
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 +6 -4
- 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 +6 -4
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +75 -75
- package/src/elements/UI.tsx +73 -73
- package/src/elements/UIChildren.tsx +139 -139
- package/src/elements/UIComplete.tsx +14 -14
- package/src/elements/UIElement.tsx +701 -701
- package/src/elements/UITag.tsx +13 -13
- package/src/elements/charts/ElChart.tsx +10 -10
- package/src/elements/core/SafeView.tsx +69 -69
- package/src/elements/core/UIButton.tsx +139 -139
- package/src/elements/core/UIIcon.tsx +25 -25
- package/src/elements/core/UIInclude.tsx +40 -40
- package/src/elements/core/UIInput.tsx +96 -96
- package/src/elements/core/UIList.tsx +168 -168
- package/src/elements/core/UIListRow.tsx +123 -123
- package/src/elements/core/UIModal.tsx +206 -206
- package/src/elements/core/UIQuantity.tsx +98 -98
- package/src/elements/core/UISelect.tsx +166 -164
- package/src/elements/core/UIToast.tsx +44 -44
- package/src/elements/core/UIToggle.tsx +102 -102
- package/src/elements/core/UIView.tsx +94 -94
- package/src/elements/index.ts +1 -1
- package/src/elements/tabs/ElTabs.tsx +178 -178
- package/src/index.ts +1 -1
|
@@ -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;
|
|
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];
|
|
@@ -547,6 +547,7 @@ function UISelect(props) {
|
|
|
547
547
|
React.useEffect(function () {
|
|
548
548
|
MobileUtils.syncTheme();
|
|
549
549
|
}, [modalVisible]);
|
|
550
|
+
console.log(scope.original);
|
|
550
551
|
return /*#__PURE__*/jsxRuntime.jsxs(reactNative.View, {
|
|
551
552
|
style: style('selectRoot'),
|
|
552
553
|
children: [/*#__PURE__*/jsxRuntime.jsxs(reactNative.TouchableOpacity, {
|
|
@@ -591,7 +592,7 @@ function UISelect(props) {
|
|
|
591
592
|
})]
|
|
592
593
|
}), /*#__PURE__*/jsxRuntime.jsx(reactNative.View, {
|
|
593
594
|
style: style('modalContent'),
|
|
594
|
-
children: /*#__PURE__*/jsxRuntime.jsx(UI.List, {
|
|
595
|
+
children: /*#__PURE__*/jsxRuntime.jsx(UI.List, _extends({
|
|
595
596
|
data: items,
|
|
596
597
|
name: scope.getName('list'),
|
|
597
598
|
layout: "card",
|
|
@@ -599,11 +600,12 @@ function UISelect(props) {
|
|
|
599
600
|
rowStyle: _extends({
|
|
600
601
|
paddingLeft: 15,
|
|
601
602
|
paddinRight: 15
|
|
602
|
-
}, (_scope$original = scope.original) == null ? void 0 : _scope$original.rowStyle)
|
|
603
|
+
}, (_scope$original = scope.original) == null ? void 0 : _scope$original.rowStyle)
|
|
604
|
+
}, (_scope$original2 = scope.original) == null ? void 0 : _scope$original2.listProps, {
|
|
603
605
|
children: /*#__PURE__*/jsxRuntime.jsx(UI.Value, {
|
|
604
606
|
value: "#{@this.label}"
|
|
605
607
|
})
|
|
606
|
-
})
|
|
608
|
+
}))
|
|
607
609
|
})]
|
|
608
610
|
})]
|
|
609
611
|
})]
|