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
|
@@ -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;
|
|
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];
|
|
@@ -539,6 +539,7 @@ function UISelect(props) {
|
|
|
539
539
|
useEffect(function () {
|
|
540
540
|
MobileUtils.syncTheme();
|
|
541
541
|
}, [modalVisible]);
|
|
542
|
+
console.log(scope.original);
|
|
542
543
|
return /*#__PURE__*/jsxs(View, {
|
|
543
544
|
style: style('selectRoot'),
|
|
544
545
|
children: [/*#__PURE__*/jsxs(TouchableOpacity, {
|
|
@@ -583,7 +584,7 @@ function UISelect(props) {
|
|
|
583
584
|
})]
|
|
584
585
|
}), /*#__PURE__*/jsx(View, {
|
|
585
586
|
style: style('modalContent'),
|
|
586
|
-
children: /*#__PURE__*/jsx(UI.List, {
|
|
587
|
+
children: /*#__PURE__*/jsx(UI.List, _extends({
|
|
587
588
|
data: items,
|
|
588
589
|
name: scope.getName('list'),
|
|
589
590
|
layout: "card",
|
|
@@ -591,11 +592,12 @@ function UISelect(props) {
|
|
|
591
592
|
rowStyle: _extends({
|
|
592
593
|
paddingLeft: 15,
|
|
593
594
|
paddinRight: 15
|
|
594
|
-
}, (_scope$original = scope.original) == null ? void 0 : _scope$original.rowStyle)
|
|
595
|
+
}, (_scope$original = scope.original) == null ? void 0 : _scope$original.rowStyle)
|
|
596
|
+
}, (_scope$original2 = scope.original) == null ? void 0 : _scope$original2.listProps, {
|
|
595
597
|
children: /*#__PURE__*/jsx(UI.Value, {
|
|
596
598
|
value: "#{@this.label}"
|
|
597
599
|
})
|
|
598
|
-
})
|
|
600
|
+
}))
|
|
599
601
|
})]
|
|
600
602
|
})]
|
|
601
603
|
})]
|