react-crud-mobile 1.3.377 → 1.3.379
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 +3 -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 +3 -4
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIOrder.tsx +10 -7
@@ -1728,6 +1728,7 @@ var styles$9 = /*#__PURE__*/reactNative.StyleSheet.create({
|
|
1728
1728
|
var ITEM_HEIGHT = 70;
|
1729
1729
|
function UIOrder(props) {
|
1730
1730
|
var scope = props.scope;
|
1731
|
+
var element = scope.original;
|
1731
1732
|
var initial = scope.getOptions();
|
1732
1733
|
var _useState = React.useState(initial),
|
1733
1734
|
items = _useState[0],
|
@@ -1896,7 +1897,7 @@ function UIOrder(props) {
|
|
1896
1897
|
}), /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
|
1897
1898
|
style: styles$a.itemText,
|
1898
1899
|
children: item.label
|
1899
|
-
}), /*#__PURE__*/jsxRuntime.jsx(reactNative.TouchableOpacity, {
|
1900
|
+
}), element.remove && /*#__PURE__*/jsxRuntime.jsx(reactNative.TouchableOpacity, {
|
1900
1901
|
onPress: function onPress() {
|
1901
1902
|
return removeItem(item.value);
|
1902
1903
|
},
|
@@ -1915,9 +1916,7 @@ function UIOrder(props) {
|
|
1915
1916
|
}
|
1916
1917
|
var styles$a = /*#__PURE__*/reactNative.StyleSheet.create({
|
1917
1918
|
container: {
|
1918
|
-
flex: 1
|
1919
|
-
paddingHorizontal: 20,
|
1920
|
-
backgroundColor: '#f5f7fb'
|
1919
|
+
flex: 1
|
1921
1920
|
},
|
1922
1921
|
title: {
|
1923
1922
|
fontSize: 18,
|