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.
@@ -1648,12 +1648,29 @@ function UIOrder(props) {
1648
1648
  var _useState = React.useState(items),
1649
1649
  data = _useState[0],
1650
1650
  setData = _useState[1];
1651
- return /*#__PURE__*/jsxRuntime.jsx(reactNativeGestureHandler.GestureHandlerRootView, {
1651
+ return /*#__PURE__*/jsxRuntime.jsxs(reactNativeGestureHandler.GestureHandlerRootView, {
1652
1652
  style: _extends({
1653
1653
  flex: 1,
1654
1654
  width: '100%'
1655
1655
  }, scope.getStyle('order')),
1656
- children: /*#__PURE__*/jsxRuntime.jsx(DraggableFlatList__default, {
1656
+ children: [original.search !== false && /*#__PURE__*/jsxRuntime.jsx(UI.Text, {
1657
+ placeholder: "Pesquisar...",
1658
+ field: "query",
1659
+ crud: crud,
1660
+ style: {
1661
+ marginBottom: 10
1662
+ },
1663
+ change: {
1664
+ action: function action() {
1665
+ scope.search();
1666
+ }
1667
+ },
1668
+ icon: /*#__PURE__*/jsxRuntime.jsx(vectorIcons.Ionicons, {
1669
+ name: "search",
1670
+ size: 20,
1671
+ color: "#888"
1672
+ })
1673
+ }), /*#__PURE__*/jsxRuntime.jsx(DraggableFlatList__default, {
1657
1674
  data: data,
1658
1675
  renderItem: renderItem,
1659
1676
  keyExtractor: function keyExtractor(item) {
@@ -1664,7 +1681,7 @@ function UIOrder(props) {
1664
1681
  setData(data);
1665
1682
  scope.changeValue(data);
1666
1683
  }
1667
- })
1684
+ })]
1668
1685
  });
1669
1686
  }
1670
1687
  var styles$a = /*#__PURE__*/reactNative.StyleSheet.create({