react-crud-mobile 1.3.62 → 1.3.64

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,31 @@ 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
- }, scope.getStyle('order')),
1656
- children: /*#__PURE__*/jsxRuntime.jsx(DraggableFlatList__default, {
1655
+ }, scope.getStyle('order', {
1656
+ justifyContent: 'flex-start'
1657
+ })),
1658
+ children: [original.search !== false && /*#__PURE__*/jsxRuntime.jsx(UI.Text, {
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, {
1657
1676
  data: data,
1658
1677
  renderItem: renderItem,
1659
1678
  keyExtractor: function keyExtractor(item) {
@@ -1664,7 +1683,7 @@ function UIOrder(props) {
1664
1683
  setData(data);
1665
1684
  scope.changeValue(data);
1666
1685
  }
1667
- })
1686
+ })]
1668
1687
  });
1669
1688
  }
1670
1689
  var styles$a = /*#__PURE__*/reactNative.StyleSheet.create({