react-crud-mobile 1.3.64 → 1.3.66
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 -26
- 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 -26
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/UIElement.tsx +4 -4
- package/src/elements/core/UIOrder.tsx +0 -15
|
@@ -1648,31 +1648,14 @@ function UIOrder(props) {
|
|
|
1648
1648
|
var _useState = React.useState(items),
|
|
1649
1649
|
data = _useState[0],
|
|
1650
1650
|
setData = _useState[1];
|
|
1651
|
-
return /*#__PURE__*/jsxRuntime.
|
|
1651
|
+
return /*#__PURE__*/jsxRuntime.jsx(reactNativeGestureHandler.GestureHandlerRootView, {
|
|
1652
1652
|
style: _extends({
|
|
1653
1653
|
flex: 1,
|
|
1654
1654
|
width: '100%'
|
|
1655
1655
|
}, scope.getStyle('order', {
|
|
1656
1656
|
justifyContent: 'flex-start'
|
|
1657
1657
|
})),
|
|
1658
|
-
children:
|
|
1659
|
-
placeholder: "Pesquisar...",
|
|
1660
|
-
field: "query",
|
|
1661
|
-
crud: crud,
|
|
1662
|
-
style: {
|
|
1663
|
-
marginBottom: 10
|
|
1664
|
-
},
|
|
1665
|
-
change: {
|
|
1666
|
-
action: function action() {
|
|
1667
|
-
scope.search();
|
|
1668
|
-
}
|
|
1669
|
-
},
|
|
1670
|
-
icon: /*#__PURE__*/jsxRuntime.jsx(vectorIcons.Ionicons, {
|
|
1671
|
-
name: "search",
|
|
1672
|
-
size: 20,
|
|
1673
|
-
color: "#888"
|
|
1674
|
-
})
|
|
1675
|
-
}), /*#__PURE__*/jsxRuntime.jsx(DraggableFlatList__default, {
|
|
1658
|
+
children: /*#__PURE__*/jsxRuntime.jsx(DraggableFlatList__default, {
|
|
1676
1659
|
data: data,
|
|
1677
1660
|
renderItem: renderItem,
|
|
1678
1661
|
keyExtractor: function keyExtractor(item) {
|
|
@@ -1683,7 +1666,7 @@ function UIOrder(props) {
|
|
|
1683
1666
|
setData(data);
|
|
1684
1667
|
scope.changeValue(data);
|
|
1685
1668
|
}
|
|
1686
|
-
})
|
|
1669
|
+
})
|
|
1687
1670
|
});
|
|
1688
1671
|
}
|
|
1689
1672
|
var styles$a = /*#__PURE__*/reactNative.StyleSheet.create({
|
|
@@ -2046,6 +2029,9 @@ function UIElement(props) {
|
|
|
2046
2029
|
})), scope.isType('view') && /*#__PURE__*/jsxRuntime.jsx(UIView, _extends({}, props, {
|
|
2047
2030
|
scope: scope,
|
|
2048
2031
|
crud: crud
|
|
2032
|
+
})), scope.isType('dialog') && /*#__PURE__*/jsxRuntime.jsx(UIModal, _extends({}, props, {
|
|
2033
|
+
scope: scope,
|
|
2034
|
+
crud: crud
|
|
2049
2035
|
})), isShowChild() && /*#__PURE__*/jsxRuntime.jsx(UIChildren, _extends({}, props, {
|
|
2050
2036
|
scope: scope,
|
|
2051
2037
|
crud: crud,
|
|
@@ -2090,12 +2076,6 @@ function UIElement(props) {
|
|
|
2090
2076
|
crud: crud
|
|
2091
2077
|
}));
|
|
2092
2078
|
}
|
|
2093
|
-
if (scope.isType('dialog')) {
|
|
2094
|
-
return /*#__PURE__*/jsxRuntime.jsx(UIModal, _extends({}, props, {
|
|
2095
|
-
scope: scope,
|
|
2096
|
-
crud: crud
|
|
2097
|
-
}));
|
|
2098
|
-
}
|
|
2099
2079
|
return /*#__PURE__*/jsxRuntime.jsx(Tag, _extends({
|
|
2100
2080
|
ref: ref,
|
|
2101
2081
|
style: getStyle()
|