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.
@@ -1639,31 +1639,14 @@ function UIOrder(props) {
1639
1639
  var _useState = useState(items),
1640
1640
  data = _useState[0],
1641
1641
  setData = _useState[1];
1642
- return /*#__PURE__*/jsxs(GestureHandlerRootView, {
1642
+ return /*#__PURE__*/jsx(GestureHandlerRootView, {
1643
1643
  style: _extends({
1644
1644
  flex: 1,
1645
1645
  width: '100%'
1646
1646
  }, scope.getStyle('order', {
1647
1647
  justifyContent: 'flex-start'
1648
1648
  })),
1649
- children: [original.search !== false && /*#__PURE__*/jsx(UI.Text, {
1650
- placeholder: "Pesquisar...",
1651
- field: "query",
1652
- crud: crud,
1653
- style: {
1654
- marginBottom: 10
1655
- },
1656
- change: {
1657
- action: function action() {
1658
- scope.search();
1659
- }
1660
- },
1661
- icon: /*#__PURE__*/jsx(Ionicons$1, {
1662
- name: "search",
1663
- size: 20,
1664
- color: "#888"
1665
- })
1666
- }), /*#__PURE__*/jsx(DraggableFlatList, {
1649
+ children: /*#__PURE__*/jsx(DraggableFlatList, {
1667
1650
  data: data,
1668
1651
  renderItem: renderItem,
1669
1652
  keyExtractor: function keyExtractor(item) {
@@ -1674,7 +1657,7 @@ function UIOrder(props) {
1674
1657
  setData(data);
1675
1658
  scope.changeValue(data);
1676
1659
  }
1677
- })]
1660
+ })
1678
1661
  });
1679
1662
  }
1680
1663
  var styles$a = /*#__PURE__*/StyleSheet.create({
@@ -2037,6 +2020,9 @@ function UIElement(props) {
2037
2020
  })), scope.isType('view') && /*#__PURE__*/jsx(UIView, _extends({}, props, {
2038
2021
  scope: scope,
2039
2022
  crud: crud
2023
+ })), scope.isType('dialog') && /*#__PURE__*/jsx(UIModal, _extends({}, props, {
2024
+ scope: scope,
2025
+ crud: crud
2040
2026
  })), isShowChild() && /*#__PURE__*/jsx(UIChildren, _extends({}, props, {
2041
2027
  scope: scope,
2042
2028
  crud: crud,
@@ -2081,12 +2067,6 @@ function UIElement(props) {
2081
2067
  crud: crud
2082
2068
  }));
2083
2069
  }
2084
- if (scope.isType('dialog')) {
2085
- return /*#__PURE__*/jsx(UIModal, _extends({}, props, {
2086
- scope: scope,
2087
- crud: crud
2088
- }));
2089
- }
2090
2070
  return /*#__PURE__*/jsx(Tag, _extends({
2091
2071
  ref: ref,
2092
2072
  style: getStyle()