react-crud-mobile 1.3.381 → 1.3.382

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.
@@ -1,7 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ListType, UserType, InputType, ChartType, ContainerType, ListInputType, TabsType, DefineType, ButtonType, IconType, LinkType, SliderType } from 'react-crud-utils';
3
3
  import SafeView from './core/SafeView';
4
- import GestureView from './core/GestureView';
5
4
  declare const UI: {
6
5
  Order: (props: ListType) => import("react").JSX.Element;
7
6
  List: (props: ListType) => import("react").JSX.Element;
@@ -46,6 +45,5 @@ declare const UI: {
46
45
  Quantity: (props: ListInputType) => import("react").JSX.Element;
47
46
  Slider: (props: SliderType) => import("react").JSX.Element;
48
47
  SafeView: typeof SafeView;
49
- GestureView: typeof GestureView;
50
48
  };
51
49
  export default UI;
@@ -14,7 +14,6 @@ var vectorIcons = require('@expo/vector-icons');
14
14
  var Slider = _interopDefault(require('@react-native-community/slider'));
15
15
  var Toast = require('react-native-toast-message');
16
16
  var Toast__default = _interopDefault(Toast);
17
- var reactNativeGestureHandler = require('react-native-gesture-handler');
18
17
  var reactNativeSafeAreaContext = require('react-native-safe-area-context');
19
18
 
20
19
  function _extends() {
@@ -1522,20 +1521,6 @@ function UIModal(props) {
1522
1521
  children: children
1523
1522
  });
1524
1523
  };
1525
- var ModalView = function ModalView(_ref2) {
1526
- var children = _ref2.children;
1527
- if (original.gesture) {
1528
- return /*#__PURE__*/jsxRuntime.jsx(reactNativeGestureHandler.GestureHandlerRootView, {
1529
- style: {
1530
- flex: 1
1531
- },
1532
- children: children
1533
- });
1534
- }
1535
- return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
1536
- children: children
1537
- });
1538
- };
1539
1524
  var ModalInner = function ModalInner() {
1540
1525
  var Content = function Content() {
1541
1526
  if (dialog != null && dialog.component) {
@@ -1589,15 +1574,13 @@ function UIModal(props) {
1589
1574
  }), /*#__PURE__*/jsxRuntime.jsx(UIToast, {})]
1590
1575
  });
1591
1576
  };
1592
- return /*#__PURE__*/jsxRuntime.jsx(ModalView, {
1593
- children: /*#__PURE__*/jsxRuntime.jsx(reactNative.Modal, {
1594
- animationType: "slide",
1595
- transparent: true,
1596
- visible: true,
1597
- onRequestClose: onClose,
1598
- children: /*#__PURE__*/jsxRuntime.jsx(ModalInner, {})
1599
- }, key)
1600
- });
1577
+ return /*#__PURE__*/jsxRuntime.jsx(reactNative.Modal, {
1578
+ animationType: "slide",
1579
+ transparent: true,
1580
+ visible: true,
1581
+ onRequestClose: onClose,
1582
+ children: /*#__PURE__*/jsxRuntime.jsx(ModalInner, {})
1583
+ }, key);
1601
1584
  }
1602
1585
  var styles$8 = /*#__PURE__*/reactNative.StyleSheet.create({
1603
1586
  modalTop: {
@@ -2702,15 +2685,6 @@ function SafeView(props) {
2702
2685
  });
2703
2686
  }
2704
2687
 
2705
- function GestureView(props) {
2706
- return /*#__PURE__*/jsxRuntime.jsx(reactNativeGestureHandler.GestureHandlerRootView, {
2707
- style: {
2708
- flex: 1
2709
- },
2710
- children: props.children
2711
- });
2712
- }
2713
-
2714
2688
  var _excluded = ["type"];
2715
2689
  var UI = {
2716
2690
  Order: function Order(props) {
@@ -2927,8 +2901,7 @@ var UI = {
2927
2901
  type: "slider"
2928
2902
  }));
2929
2903
  },
2930
- SafeView: SafeView,
2931
- GestureView: GestureView
2904
+ SafeView: SafeView
2932
2905
  };
2933
2906
 
2934
2907
  exports.UI = UI;