react-crud-mobile 1.0.613 → 1.0.615
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 +22 -20
- 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 +22 -20
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIList.tsx +8 -6
|
@@ -657,17 +657,6 @@ var styles$6 = /*#__PURE__*/reactNative.StyleSheet.create({
|
|
|
657
657
|
}
|
|
658
658
|
});
|
|
659
659
|
|
|
660
|
-
function UIListRow(props) {
|
|
661
|
-
var scope = props.scope;
|
|
662
|
-
return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
663
|
-
children: /*#__PURE__*/jsxRuntime.jsx(UIChildren, {
|
|
664
|
-
scope: scope,
|
|
665
|
-
crud: scope.crud,
|
|
666
|
-
children: props.children
|
|
667
|
-
})
|
|
668
|
-
});
|
|
669
|
-
}
|
|
670
|
-
|
|
671
660
|
function UIList(props) {
|
|
672
661
|
var _repeat$list;
|
|
673
662
|
var scope = props.scope;
|
|
@@ -757,17 +746,24 @@ function UIList(props) {
|
|
|
757
746
|
if (!original.click) {
|
|
758
747
|
return /*#__PURE__*/jsxRuntime.jsx(reactNative.View, {
|
|
759
748
|
style: getRowStyle(),
|
|
760
|
-
children:
|
|
749
|
+
children: /*#__PURE__*/jsxRuntime.jsx(UIChildren, {
|
|
750
|
+
scope: row,
|
|
751
|
+
crud: row.crud,
|
|
752
|
+
children: children
|
|
753
|
+
})
|
|
761
754
|
}, "k-" + index);
|
|
762
755
|
}
|
|
763
756
|
return /*#__PURE__*/jsxRuntime.jsx(reactNative.TouchableHighlight, {
|
|
764
|
-
style: getRowStyle(),
|
|
765
757
|
underlayColor: 'transparent',
|
|
766
758
|
onPress: function onPress(e) {
|
|
767
759
|
e.stopPropagation();
|
|
768
760
|
onClick(item);
|
|
769
761
|
},
|
|
770
|
-
children:
|
|
762
|
+
children: /*#__PURE__*/jsxRuntime.jsx(UIChildren, {
|
|
763
|
+
scope: row,
|
|
764
|
+
crud: row.crud,
|
|
765
|
+
children: children
|
|
766
|
+
})
|
|
771
767
|
}, "k-" + index);
|
|
772
768
|
};
|
|
773
769
|
return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
@@ -786,12 +782,7 @@ function UIList(props) {
|
|
|
786
782
|
return /*#__PURE__*/jsxRuntime.jsx(RowItem, {
|
|
787
783
|
index: i,
|
|
788
784
|
item: item,
|
|
789
|
-
children:
|
|
790
|
-
scope: scope,
|
|
791
|
-
item: item,
|
|
792
|
-
index: i,
|
|
793
|
-
children: props.children
|
|
794
|
-
})
|
|
785
|
+
children: props.children
|
|
795
786
|
});
|
|
796
787
|
}), isShowAdd() && /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
797
788
|
children: add
|
|
@@ -854,6 +845,17 @@ var stylesRepeat = /*#__PURE__*/reactNative.StyleSheet.create({
|
|
|
854
845
|
}
|
|
855
846
|
});
|
|
856
847
|
|
|
848
|
+
function UIListRow(props) {
|
|
849
|
+
var scope = props.scope;
|
|
850
|
+
return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
851
|
+
children: /*#__PURE__*/jsxRuntime.jsx(UIChildren, {
|
|
852
|
+
scope: scope,
|
|
853
|
+
crud: scope.crud,
|
|
854
|
+
children: props.children
|
|
855
|
+
})
|
|
856
|
+
});
|
|
857
|
+
}
|
|
858
|
+
|
|
857
859
|
function UIToggle(props) {
|
|
858
860
|
var scope = props.scope;
|
|
859
861
|
var options = reactCrudUtils.Utils.nvl(scope.getOptions(), []);
|