react-crud-mobile 1.3.62 → 1.3.63

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.
@@ -1639,12 +1639,29 @@ function UIOrder(props) {
1639
1639
  var _useState = useState(items),
1640
1640
  data = _useState[0],
1641
1641
  setData = _useState[1];
1642
- return /*#__PURE__*/jsx(GestureHandlerRootView, {
1642
+ return /*#__PURE__*/jsxs(GestureHandlerRootView, {
1643
1643
  style: _extends({
1644
1644
  flex: 1,
1645
1645
  width: '100%'
1646
1646
  }, scope.getStyle('order')),
1647
- children: /*#__PURE__*/jsx(DraggableFlatList, {
1647
+ children: [original.search !== false && /*#__PURE__*/jsx(UI.Text, {
1648
+ placeholder: "Pesquisar...",
1649
+ field: "query",
1650
+ crud: crud,
1651
+ style: {
1652
+ marginBottom: 10
1653
+ },
1654
+ change: {
1655
+ action: function action() {
1656
+ scope.search();
1657
+ }
1658
+ },
1659
+ icon: /*#__PURE__*/jsx(Ionicons$1, {
1660
+ name: "search",
1661
+ size: 20,
1662
+ color: "#888"
1663
+ })
1664
+ }), /*#__PURE__*/jsx(DraggableFlatList, {
1648
1665
  data: data,
1649
1666
  renderItem: renderItem,
1650
1667
  keyExtractor: function keyExtractor(item) {
@@ -1655,7 +1672,7 @@ function UIOrder(props) {
1655
1672
  setData(data);
1656
1673
  scope.changeValue(data);
1657
1674
  }
1658
- })
1675
+ })]
1659
1676
  });
1660
1677
  }
1661
1678
  var styles$a = /*#__PURE__*/StyleSheet.create({