react-crud-mobile 1.0.613 → 1.0.614
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 -19
- 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 -19
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIList.tsx +8 -5
|
@@ -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,7 +746,11 @@ 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, {
|
|
@@ -767,7 +760,11 @@ function UIList(props) {
|
|
|
767
760
|
e.stopPropagation();
|
|
768
761
|
onClick(item);
|
|
769
762
|
},
|
|
770
|
-
children:
|
|
763
|
+
children: /*#__PURE__*/jsxRuntime.jsx(UIChildren, {
|
|
764
|
+
scope: row,
|
|
765
|
+
crud: row.crud,
|
|
766
|
+
children: children
|
|
767
|
+
})
|
|
771
768
|
}, "k-" + index);
|
|
772
769
|
};
|
|
773
770
|
return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
@@ -786,12 +783,7 @@ function UIList(props) {
|
|
|
786
783
|
return /*#__PURE__*/jsxRuntime.jsx(RowItem, {
|
|
787
784
|
index: i,
|
|
788
785
|
item: item,
|
|
789
|
-
children:
|
|
790
|
-
scope: scope,
|
|
791
|
-
item: item,
|
|
792
|
-
index: i,
|
|
793
|
-
children: props.children
|
|
794
|
-
})
|
|
786
|
+
children: props.children
|
|
795
787
|
});
|
|
796
788
|
}), isShowAdd() && /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
797
789
|
children: add
|
|
@@ -854,6 +846,17 @@ var stylesRepeat = /*#__PURE__*/reactNative.StyleSheet.create({
|
|
|
854
846
|
}
|
|
855
847
|
});
|
|
856
848
|
|
|
849
|
+
function UIListRow(props) {
|
|
850
|
+
var scope = props.scope;
|
|
851
|
+
return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
852
|
+
children: /*#__PURE__*/jsxRuntime.jsx(UIChildren, {
|
|
853
|
+
scope: scope,
|
|
854
|
+
crud: scope.crud,
|
|
855
|
+
children: props.children
|
|
856
|
+
})
|
|
857
|
+
});
|
|
858
|
+
}
|
|
859
|
+
|
|
857
860
|
function UIToggle(props) {
|
|
858
861
|
var scope = props.scope;
|
|
859
862
|
var options = reactCrudUtils.Utils.nvl(scope.getOptions(), []);
|