react-native-drawer-layout 4.0.0-alpha.0 → 4.0.0-alpha.2

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.
Files changed (83) hide show
  1. package/lib/commonjs/constants.js +5 -9
  2. package/lib/commonjs/constants.js.map +1 -1
  3. package/lib/commonjs/index.js.map +1 -1
  4. package/lib/commonjs/types.js.map +1 -1
  5. package/lib/commonjs/utils/DrawerGestureContext.js +3 -4
  6. package/lib/commonjs/utils/DrawerGestureContext.js.map +1 -1
  7. package/lib/commonjs/utils/DrawerProgressContext.js +3 -4
  8. package/lib/commonjs/utils/DrawerProgressContext.js.map +1 -1
  9. package/lib/commonjs/utils/useDrawerProgress.js +2 -2
  10. package/lib/commonjs/utils/useDrawerProgress.js.map +1 -1
  11. package/lib/commonjs/views/Drawer.js +285 -36
  12. package/lib/commonjs/views/Drawer.js.map +1 -1
  13. package/lib/commonjs/views/GestureHandler.android.js.map +1 -1
  14. package/lib/commonjs/views/GestureHandler.ios.js.map +1 -1
  15. package/lib/commonjs/views/GestureHandler.js +8 -12
  16. package/lib/commonjs/views/GestureHandler.js.map +1 -1
  17. package/lib/commonjs/views/GestureHandlerNative.js +2 -2
  18. package/lib/commonjs/views/GestureHandlerNative.js.map +1 -1
  19. package/lib/commonjs/views/{modern/Overlay.js → Overlay.js} +3 -4
  20. package/lib/commonjs/views/Overlay.js.map +1 -0
  21. package/lib/module/constants.js +1 -1
  22. package/lib/module/constants.js.map +1 -1
  23. package/lib/module/index.js.map +1 -1
  24. package/lib/module/types.js.map +1 -1
  25. package/lib/module/utils/DrawerGestureContext.js.map +1 -1
  26. package/lib/module/utils/DrawerProgressContext.js.map +1 -1
  27. package/lib/module/utils/useDrawerProgress.js.map +1 -1
  28. package/lib/module/views/Drawer.js +285 -37
  29. package/lib/module/views/Drawer.js.map +1 -1
  30. package/lib/module/views/GestureHandler.android.js.map +1 -1
  31. package/lib/module/views/GestureHandler.ios.js.map +1 -1
  32. package/lib/module/views/GestureHandler.js +3 -3
  33. package/lib/module/views/GestureHandler.js.map +1 -1
  34. package/lib/module/views/GestureHandlerNative.js.map +1 -1
  35. package/lib/module/views/Overlay.js.map +1 -0
  36. package/lib/typescript/src/constants.d.ts +1 -1
  37. package/lib/typescript/src/constants.d.ts.map +1 -1
  38. package/lib/typescript/src/types.d.ts +4 -0
  39. package/lib/typescript/src/types.d.ts.map +1 -1
  40. package/lib/typescript/src/utils/DrawerProgressContext.d.ts +1 -1
  41. package/lib/typescript/src/utils/DrawerProgressContext.d.ts.map +1 -1
  42. package/lib/typescript/src/utils/useDrawerProgress.d.ts +1 -1
  43. package/lib/typescript/src/utils/useDrawerProgress.d.ts.map +1 -1
  44. package/lib/typescript/src/views/Drawer.d.ts +2 -17
  45. package/lib/typescript/src/views/Drawer.d.ts.map +1 -1
  46. package/lib/typescript/src/views/GestureHandlerNative.d.ts +3 -2
  47. package/lib/typescript/src/views/GestureHandlerNative.d.ts.map +1 -1
  48. package/lib/typescript/src/views/Overlay.d.ts +106 -0
  49. package/lib/typescript/src/views/Overlay.d.ts.map +1 -0
  50. package/package.json +10 -10
  51. package/src/constants.tsx +1 -1
  52. package/src/types.tsx +5 -0
  53. package/src/utils/DrawerProgressContext.tsx +1 -1
  54. package/src/utils/useDrawerProgress.tsx +1 -3
  55. package/src/views/Drawer.tsx +424 -62
  56. package/src/views/GestureHandlerNative.tsx +1 -1
  57. package/lib/commonjs/views/legacy/Drawer.js +0 -452
  58. package/lib/commonjs/views/legacy/Drawer.js.map +0 -1
  59. package/lib/commonjs/views/legacy/Overlay.js +0 -73
  60. package/lib/commonjs/views/legacy/Overlay.js.map +0 -1
  61. package/lib/commonjs/views/modern/Drawer.js +0 -304
  62. package/lib/commonjs/views/modern/Drawer.js.map +0 -1
  63. package/lib/commonjs/views/modern/Overlay.js.map +0 -1
  64. package/lib/module/views/legacy/Drawer.js +0 -442
  65. package/lib/module/views/legacy/Drawer.js.map +0 -1
  66. package/lib/module/views/legacy/Overlay.js +0 -63
  67. package/lib/module/views/legacy/Overlay.js.map +0 -1
  68. package/lib/module/views/modern/Drawer.js +0 -295
  69. package/lib/module/views/modern/Drawer.js.map +0 -1
  70. package/lib/module/views/modern/Overlay.js.map +0 -1
  71. package/lib/typescript/src/views/legacy/Drawer.d.ts +0 -51
  72. package/lib/typescript/src/views/legacy/Drawer.d.ts.map +0 -1
  73. package/lib/typescript/src/views/legacy/Overlay.d.ts +0 -104
  74. package/lib/typescript/src/views/legacy/Overlay.d.ts.map +0 -1
  75. package/lib/typescript/src/views/modern/Drawer.d.ts +0 -9
  76. package/lib/typescript/src/views/modern/Drawer.d.ts.map +0 -1
  77. package/lib/typescript/src/views/modern/Overlay.d.ts +0 -104
  78. package/lib/typescript/src/views/modern/Overlay.d.ts.map +0 -1
  79. package/src/views/legacy/Drawer.tsx +0 -690
  80. package/src/views/legacy/Overlay.tsx +0 -85
  81. package/src/views/modern/Drawer.tsx +0 -441
  82. /package/lib/module/views/{modern/Overlay.js → Overlay.js} +0 -0
  83. /package/src/views/{modern/Overlay.tsx → Overlay.tsx} +0 -0
@@ -1,295 +0,0 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
- import * as React from 'react';
3
- import { InteractionManager, Keyboard, Platform, StatusBar, StyleSheet, View } from 'react-native';
4
- import Animated, { interpolate, runOnJS, useAnimatedGestureHandler, useAnimatedStyle, useDerivedValue, useSharedValue, withSpring } from 'react-native-reanimated';
5
- import useLatestCallback from 'use-latest-callback';
6
- import { DEFAULT_DRAWER_WIDTH, SWIPE_MIN_DISTANCE, SWIPE_MIN_OFFSET, SWIPE_MIN_VELOCITY } from '../../constants';
7
- import { DrawerProgressContext } from '../../utils/DrawerProgressContext';
8
- import { GestureState, PanGestureHandler } from '../GestureHandler';
9
- import { Overlay } from './Overlay';
10
- const minmax = (value, start, end) => {
11
- 'worklet';
12
-
13
- return Math.min(Math.max(value, start), end);
14
- };
15
- export function Drawer(_ref) {
16
- let {
17
- layout,
18
- drawerPosition,
19
- drawerStyle,
20
- drawerType,
21
- gestureHandlerProps,
22
- hideStatusBarOnOpen,
23
- keyboardDismissMode,
24
- onClose,
25
- onOpen,
26
- onGestureStart,
27
- onGestureCancel,
28
- onGestureEnd,
29
- onTransitionStart,
30
- onTransitionEnd,
31
- open,
32
- overlayStyle,
33
- overlayAccessibilityLabel,
34
- statusBarAnimation,
35
- swipeEnabled,
36
- swipeEdgeWidth,
37
- swipeMinDistance = SWIPE_MIN_DISTANCE,
38
- swipeMinVelocity = SWIPE_MIN_VELOCITY,
39
- renderDrawerContent,
40
- children
41
- } = _ref;
42
- const getDrawerWidth = () => {
43
- const {
44
- width = DEFAULT_DRAWER_WIDTH
45
- } = StyleSheet.flatten(drawerStyle) || {};
46
- if (typeof width === 'string' && width.endsWith('%')) {
47
- // Try to calculate width if a percentage is given
48
- const percentage = Number(width.replace(/%$/, ''));
49
- if (Number.isFinite(percentage)) {
50
- return layout.width * (percentage / 100);
51
- }
52
- }
53
- return typeof width === 'number' ? width : 0;
54
- };
55
- const drawerWidth = getDrawerWidth();
56
- const isOpen = drawerType === 'permanent' ? true : open;
57
- const isRight = drawerPosition === 'right';
58
- const getDrawerTranslationX = React.useCallback(open => {
59
- 'worklet';
60
-
61
- if (drawerPosition === 'left') {
62
- return open ? 0 : -drawerWidth;
63
- }
64
- return open ? 0 : drawerWidth;
65
- }, [drawerPosition, drawerWidth]);
66
- const hideStatusBar = React.useCallback(hide => {
67
- if (hideStatusBarOnOpen) {
68
- StatusBar.setHidden(hide, statusBarAnimation);
69
- }
70
- }, [hideStatusBarOnOpen, statusBarAnimation]);
71
- React.useEffect(() => {
72
- hideStatusBar(isOpen);
73
- return () => hideStatusBar(false);
74
- }, [isOpen, hideStatusBarOnOpen, statusBarAnimation, hideStatusBar]);
75
- const interactionHandleRef = React.useRef(null);
76
- const startInteraction = () => {
77
- interactionHandleRef.current = InteractionManager.createInteractionHandle();
78
- };
79
- const endInteraction = () => {
80
- if (interactionHandleRef.current != null) {
81
- InteractionManager.clearInteractionHandle(interactionHandleRef.current);
82
- interactionHandleRef.current = null;
83
- }
84
- };
85
- const hideKeyboard = () => {
86
- if (keyboardDismissMode === 'on-drag') {
87
- Keyboard.dismiss();
88
- }
89
- };
90
- const onGestureBegin = () => {
91
- onGestureStart === null || onGestureStart === void 0 ? void 0 : onGestureStart();
92
- startInteraction();
93
- hideKeyboard();
94
- hideStatusBar(true);
95
- };
96
- const onGestureFinish = () => {
97
- onGestureEnd === null || onGestureEnd === void 0 ? void 0 : onGestureEnd();
98
- endInteraction();
99
- };
100
-
101
- // FIXME: Currently hitSlop is broken when on Android when drawer is on right
102
- // https://github.com/software-mansion/react-native-gesture-handler/issues/569
103
- const hitSlop = isRight ?
104
- // Extend hitSlop to the side of the screen when drawer is closed
105
- // This lets the user drag the drawer from the side of the screen
106
- {
107
- right: 0,
108
- width: isOpen ? undefined : swipeEdgeWidth
109
- } : {
110
- left: 0,
111
- width: isOpen ? undefined : swipeEdgeWidth
112
- };
113
- const touchStartX = useSharedValue(0);
114
- const touchX = useSharedValue(0);
115
- const translationX = useSharedValue(getDrawerTranslationX(open));
116
- const gestureState = useSharedValue(GestureState.UNDETERMINED);
117
- const handleAnimationStart = useLatestCallback(open => {
118
- onTransitionStart === null || onTransitionStart === void 0 ? void 0 : onTransitionStart(!open);
119
- });
120
- const handleAnimationEnd = useLatestCallback((open, finished) => {
121
- if (!finished) return;
122
- onTransitionEnd === null || onTransitionEnd === void 0 ? void 0 : onTransitionEnd(!open);
123
- });
124
- const toggleDrawer = React.useCallback((open, velocity) => {
125
- 'worklet';
126
-
127
- const translateX = getDrawerTranslationX(open);
128
- if (velocity === undefined) {
129
- runOnJS(handleAnimationStart)(open);
130
- }
131
- touchStartX.value = 0;
132
- touchX.value = 0;
133
- translationX.value = withSpring(translateX, {
134
- velocity,
135
- stiffness: 1000,
136
- damping: 500,
137
- mass: 3,
138
- overshootClamping: true,
139
- restDisplacementThreshold: 0.01,
140
- restSpeedThreshold: 0.01
141
- }, finished => runOnJS(handleAnimationEnd)(open, finished));
142
- if (open) {
143
- runOnJS(onOpen)();
144
- } else {
145
- runOnJS(onClose)();
146
- }
147
- }, [getDrawerTranslationX, handleAnimationEnd, handleAnimationStart, onClose, onOpen, touchStartX, touchX, translationX]);
148
- React.useEffect(() => toggleDrawer(open), [open, toggleDrawer]);
149
- const onGestureEvent = useAnimatedGestureHandler({
150
- onStart: (event, ctx) => {
151
- ctx.hasCalledOnStart = false;
152
- ctx.startX = translationX.value;
153
- gestureState.value = event.state;
154
- touchStartX.value = event.x;
155
- },
156
- onCancel: () => {
157
- runOnJS(() => onGestureCancel === null || onGestureCancel === void 0 ? void 0 : onGestureCancel())();
158
- },
159
- onActive: (event, ctx) => {
160
- touchX.value = event.x;
161
- translationX.value = ctx.startX + event.translationX;
162
- gestureState.value = event.state;
163
-
164
- // onStart will _always_ be called, even when the activation
165
- // criteria isn't met yet. This makes sure onGestureBegin is only
166
- // called when the criteria is really met.
167
- if (!ctx.hasCalledOnStart) {
168
- ctx.hasCalledOnStart = true;
169
- runOnJS(onGestureBegin)();
170
- }
171
- },
172
- onEnd: event => {
173
- gestureState.value = event.state;
174
- const nextOpen = Math.abs(event.translationX) > SWIPE_MIN_OFFSET && Math.abs(event.translationX) > swipeMinVelocity || Math.abs(event.translationX) > swipeMinDistance ? drawerPosition === 'left' ?
175
- // If swiped to right, open the drawer, otherwise close it
176
- (event.velocityX === 0 ? event.translationX : event.velocityX) > 0 :
177
- // If swiped to left, open the drawer, otherwise close it
178
- (event.velocityX === 0 ? event.translationX : event.velocityX) < 0 : open;
179
- toggleDrawer(nextOpen, event.velocityX);
180
- },
181
- onFinish: () => {
182
- runOnJS(onGestureFinish)();
183
- }
184
- });
185
- const translateX = useDerivedValue(() => {
186
- // Comment stolen from react-native-gesture-handler/DrawerLayout
187
- //
188
- // While closing the drawer when user starts gesture outside of its area (in greyed
189
- // out part of the window), we want the drawer to follow only once finger reaches the
190
- // edge of the drawer.
191
- // E.g. on the diagram below drawer is illustrate by X signs and the greyed out area by
192
- // dots. The touch gesture starts at '*' and moves left, touch path is indicated by
193
- // an arrow pointing left
194
- // 1) +---------------+ 2) +---------------+ 3) +---------------+ 4) +---------------+
195
- // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|
196
- // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|
197
- // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|
198
- // |XXXXXXXX|......| |XXXXXXXX|.<-*..| |XXXXXXXX|<--*..| |XXXXX|<-----*..|
199
- // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|
200
- // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|
201
- // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|
202
- // +---------------+ +---------------+ +---------------+ +---------------+
203
- //
204
- // For the above to work properly we define animated value that will keep start position
205
- // of the gesture. Then we use that value to calculate how much we need to subtract from
206
- // the translationX. If the gesture started on the greyed out area we take the distance from the
207
- // edge of the drawer to the start position. Otherwise we don't subtract at all and the
208
- // drawer be pulled back as soon as you start the pan.
209
- //
210
- // This is used only when drawerType is "front"
211
- const touchDistance = drawerType === 'front' && gestureState.value === GestureState.ACTIVE ? minmax(drawerPosition === 'left' ? touchStartX.value - drawerWidth : layout.width - drawerWidth - touchStartX.value, 0, layout.width) : 0;
212
- const translateX = drawerPosition === 'left' ? minmax(translationX.value + touchDistance, -drawerWidth, 0) : minmax(translationX.value - touchDistance, 0, drawerWidth);
213
- return translateX;
214
- });
215
- const drawerAnimatedStyle = useAnimatedStyle(() => {
216
- return {
217
- transform: drawerType === 'permanent' ?
218
- // Reanimated needs the property to be present, but it results in Browser bug
219
- // https://bugs.chromium.org/p/chromium/issues/detail?id=20574
220
- [] : [{
221
- translateX:
222
- // The drawer stays in place when `drawerType` is `back`
223
- drawerType === 'back' ? 0 : translateX.value
224
- }]
225
- };
226
- });
227
- const contentAnimatedStyle = useAnimatedStyle(() => {
228
- return {
229
- transform: drawerType === 'permanent' ?
230
- // Reanimated needs the property to be present, but it results in Browser bug
231
- // https://bugs.chromium.org/p/chromium/issues/detail?id=20574
232
- [] : [{
233
- translateX:
234
- // The screen content stays in place when `drawerType` is `front`
235
- drawerType === 'front' ? 0 : translateX.value + drawerWidth * (drawerPosition === 'left' ? 1 : -1)
236
- }]
237
- };
238
- });
239
- const progress = useDerivedValue(() => {
240
- return drawerType === 'permanent' ? 1 : interpolate(translateX.value, [getDrawerTranslationX(false), getDrawerTranslationX(true)], [0, 1]);
241
- });
242
- return /*#__PURE__*/React.createElement(DrawerProgressContext.Provider, {
243
- value: progress
244
- }, /*#__PURE__*/React.createElement(PanGestureHandler, _extends({
245
- activeOffsetX: [-SWIPE_MIN_OFFSET, SWIPE_MIN_OFFSET],
246
- failOffsetY: [-SWIPE_MIN_OFFSET, SWIPE_MIN_OFFSET],
247
- hitSlop: hitSlop,
248
- enabled: drawerType !== 'permanent' && swipeEnabled,
249
- onGestureEvent: onGestureEvent
250
- }, gestureHandlerProps), /*#__PURE__*/React.createElement(Animated.View, {
251
- style: [styles.main, {
252
- flexDirection: drawerType === 'permanent' && !isRight ? 'row-reverse' : 'row'
253
- }]
254
- }, /*#__PURE__*/React.createElement(Animated.View, {
255
- style: [styles.content, contentAnimatedStyle]
256
- }, /*#__PURE__*/React.createElement(View, {
257
- accessibilityElementsHidden: isOpen && drawerType !== 'permanent',
258
- importantForAccessibility: isOpen && drawerType !== 'permanent' ? 'no-hide-descendants' : 'auto',
259
- style: styles.content
260
- }, children), drawerType !== 'permanent' ? /*#__PURE__*/React.createElement(Overlay, {
261
- progress: progress,
262
- onPress: () => toggleDrawer(false),
263
- style: overlayStyle,
264
- accessibilityLabel: overlayAccessibilityLabel
265
- }) : null), /*#__PURE__*/React.createElement(Animated.View, {
266
- removeClippedSubviews: Platform.OS !== 'ios',
267
- style: [styles.container, {
268
- position: drawerType === 'permanent' ? 'relative' : 'absolute',
269
- zIndex: drawerType === 'back' ? -1 : 0
270
- }, drawerAnimatedStyle, drawerStyle]
271
- }, renderDrawerContent()))));
272
- }
273
- const styles = StyleSheet.create({
274
- container: {
275
- top: 0,
276
- bottom: 0,
277
- maxWidth: '100%',
278
- width: DEFAULT_DRAWER_WIDTH
279
- },
280
- content: {
281
- flex: 1
282
- },
283
- main: {
284
- flex: 1,
285
- ...Platform.select({
286
- // FIXME: We need to hide `overflowX` on Web so the translated content doesn't show offscreen.
287
- // But adding `overflowX: 'hidden'` prevents content from collapsing the URL bar.
288
- web: null,
289
- default: {
290
- overflow: 'hidden'
291
- }
292
- })
293
- }
294
- });
295
- //# sourceMappingURL=Drawer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","InteractionManager","Keyboard","Platform","StatusBar","StyleSheet","View","Animated","interpolate","runOnJS","useAnimatedGestureHandler","useAnimatedStyle","useDerivedValue","useSharedValue","withSpring","useLatestCallback","DEFAULT_DRAWER_WIDTH","SWIPE_MIN_DISTANCE","SWIPE_MIN_OFFSET","SWIPE_MIN_VELOCITY","DrawerProgressContext","GestureState","PanGestureHandler","Overlay","minmax","value","start","end","Math","min","max","Drawer","layout","drawerPosition","drawerStyle","drawerType","gestureHandlerProps","hideStatusBarOnOpen","keyboardDismissMode","onClose","onOpen","onGestureStart","onGestureCancel","onGestureEnd","onTransitionStart","onTransitionEnd","open","overlayStyle","overlayAccessibilityLabel","statusBarAnimation","swipeEnabled","swipeEdgeWidth","swipeMinDistance","swipeMinVelocity","renderDrawerContent","children","getDrawerWidth","width","flatten","endsWith","percentage","Number","replace","isFinite","drawerWidth","isOpen","isRight","getDrawerTranslationX","useCallback","hideStatusBar","hide","setHidden","useEffect","interactionHandleRef","useRef","startInteraction","current","createInteractionHandle","endInteraction","clearInteractionHandle","hideKeyboard","dismiss","onGestureBegin","onGestureFinish","hitSlop","right","undefined","left","touchStartX","touchX","translationX","gestureState","UNDETERMINED","handleAnimationStart","handleAnimationEnd","finished","toggleDrawer","velocity","translateX","stiffness","damping","mass","overshootClamping","restDisplacementThreshold","restSpeedThreshold","onGestureEvent","onStart","event","ctx","hasCalledOnStart","startX","state","x","onCancel","onActive","onEnd","nextOpen","abs","velocityX","onFinish","touchDistance","ACTIVE","drawerAnimatedStyle","transform","contentAnimatedStyle","progress","styles","main","flexDirection","content","OS","container","position","zIndex","create","top","bottom","maxWidth","flex","select","web","default","overflow"],"sourceRoot":"../../../../src","sources":["views/modern/Drawer.tsx"],"mappings":";AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SACEC,kBAAkB,EAClBC,QAAQ,EACRC,QAAQ,EACRC,SAAS,EACTC,UAAU,EACVC,IAAI,QACC,cAAc;AACrB,OAAOC,QAAQ,IACbC,WAAW,EACXC,OAAO,EACPC,yBAAyB,EACzBC,gBAAgB,EAChBC,eAAe,EACfC,cAAc,EACdC,UAAU,QACL,yBAAyB;AAChC,OAAOC,iBAAiB,MAAM,qBAAqB;AAEnD,SACEC,oBAAoB,EACpBC,kBAAkB,EAClBC,gBAAgB,EAChBC,kBAAkB,QACb,iBAAiB;AAExB,SAASC,qBAAqB,QAAQ,mCAAmC;AACzE,SACEC,YAAY,EACZC,iBAAiB,QAEZ,mBAAmB;AAC1B,SAASC,OAAO,QAAQ,WAAW;AAEnC,MAAMC,MAAM,GAAG,CAACC,KAAa,EAAEC,KAAa,EAAEC,GAAW,KAAK;EAC5D,SAAS;;EAET,OAAOC,IAAI,CAACC,GAAG,CAACD,IAAI,CAACE,GAAG,CAACL,KAAK,EAAEC,KAAK,CAAC,EAAEC,GAAG,CAAC;AAC9C,CAAC;AAMD,OAAO,SAASI,MAAM,OAyBZ;EAAA,IAzBa;IACr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,kBAAkB,EAAEC;EAA0B,EAC9C,GACA,IAAI,CACM,eAChB,oBAAC,QAAQ,CAAC,IAAI;IACZ,qBAAqB,EAAE7C,QAAQ,CAAC+H,EAAE,KAAK,KAAM;IAC7C,KAAK,EAAE,CACLJ,MAAM,CAACK,SAAS,EAChB;MACEC,QAAQ,EAAEjG,UAAU,KAAK,WAAW,GAAG,UAAU,GAAG,UAAU;MAC9DkG,MAAM,EAAElG,UAAU,KAAK,MAAM,GAAG,CAAC,CAAC,GAAG;IACvC,CAAC,EACDuF,mBAAmB,EACnBxF,WAAW;EACX,GAEDoB,mBAAmB,EAAE,CACR,CACF,CACE,CACW;AAErC;AAEA,MAAMwE,MAAM,GAAGzH,UAAU,CAACiI,MAAM,CAAC;EAC/BH,SAAS,EAAE;IACTI,GAAG,EAAE,CAAC;IACNC,MAAM,EAAE,CAAC;IACTC,QAAQ,EAAE,MAAM;IAChBhF,KAAK,EAAEzC;EACT,CAAC;EACDiH,OAAO,EAAE;IACPS,IAAI,EAAE;EACR,CAAC;EACDX,IAAI,EAAE;IACJW,IAAI,EAAE,CAAC;IACP,GAAGvI,QAAQ,CAACwI,MAAM,CAAC;MACjB;MACA;MACAC,GAAG,EAAE,IAAI;MACTC,OAAO,EAAE;QAAEC,QAAQ,EAAE;MAAS;IAChC,CAAC;EACH;AACF,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","Platform","Pressable","StyleSheet","Animated","useAnimatedProps","useAnimatedStyle","PROGRESS_EPSILON","Overlay","forwardRef","ref","progress","onPress","style","accessibilityLabel","props","animatedStyle","opacity","value","zIndex","animatedProps","active","pointerEvents","accessibilityElementsHidden","importantForAccessibility","styles","overlay","overlayStyle","pressable","select","web","WebkitTapHighlightColor","default","create","absoluteFillObject","backgroundColor","flex"],"sourceRoot":"../../../../src","sources":["views/modern/Overlay.tsx"],"mappings":";AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,QAAQ,EAAEC,SAAS,E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EAC3DC,GAAG,EAAE;IACH;IACA;IACAC,uBAAuB,EAAE;EAC3B,CAAC;EACDC,OAAO,EAAE,CAAC;AACZ,CAAC,CAAC;AAEF,MAAMP,MAAM,GAAGtB,UAAU,CAAC8B,MAAM,CAAC;EAC/BP,OAAO,EAAE;IACP,GAAGvB,UAAU,CAAC+B,kBAAkB;IAChCC,eAAe,EAAE;EACnB,CAAC;EACDP,SAAS,EAAE;IACTQ,IAAI,EAAE,CAAC;IACPd,aAAa,EAAE;EACjB;AACF,CAAC,CAAC"}
@@ -1,51 +0,0 @@
1
- import * as React from 'react';
2
- import type { DrawerProps } from '../../types';
3
- type Props = DrawerProps & {
4
- layout: {
5
- width: number;
6
- };
7
- };
8
- export declare class Drawer extends React.Component<Props> {
9
- componentDidUpdate(prevProps: Props): void;
10
- componentWillUnmount(): void;
11
- private handleEndInteraction;
12
- private handleStartInteraction;
13
- private getDrawerWidth;
14
- private clock;
15
- private interactionHandle;
16
- private isDrawerTypeFront;
17
- private isOpen;
18
- private nextIsOpen;
19
- private isSwiping;
20
- private initialDrawerWidth;
21
- private gestureState;
22
- private touchX;
23
- private velocityX;
24
- private gestureX;
25
- private offsetX;
26
- private position;
27
- private containerWidth;
28
- private drawerWidth;
29
- private drawerOpacity;
30
- private drawerPosition;
31
- private touchDistanceFromDrawer;
32
- private swipeDistanceThreshold;
33
- private swipeVelocityThreshold;
34
- private currentOpenValue;
35
- private pendingOpenValue;
36
- private isStatusBarHidden;
37
- private manuallyTriggerSpring;
38
- private transitionTo;
39
- private dragX;
40
- private translateX;
41
- private progress;
42
- private handleGestureEvent;
43
- private handleGestureStateChange;
44
- private handleContainerLayout;
45
- private handleDrawerLayout;
46
- private toggleDrawer;
47
- private toggleStatusBar;
48
- render(): JSX.Element;
49
- }
50
- export {};
51
- //# sourceMappingURL=Drawer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../../../src/views/legacy/Drawer.tsx"],"names":[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AAC,YAAY,CAsDlB;IAEF,OAAO,CAAC,KAAK,CAiIV;IAEH,OAAO,CAAC,UAAU,CAIhB;IAEF,OAAO,CAAC,QAAQ,CAKd;IAEF,OAAO,CAAC,kBAAkB,CAQvB;IAEH,OAAO,CAAC,wBAAwB,CAM7B;IAEH,OAAO,CAAC,qBAAqB,CAC8B;IAE3D,OAAO,CAAC,kBAAkB,CAUxB;IAEF,OAAO,CAAC,YAAY,CAQlB;IAEF,OAAO,CAAC,eAAe,CAQrB;IAEF,MAAM;CAwJP"}
@@ -1,104 +0,0 @@
1
- import * as React from 'react';
2
- import Animated from 'react-native-reanimated';
3
- export declare const Overlay: React.ForwardRefExoticComponent<{
4
- children?: React.ReactNode | Animated.Node<React.ReactNode>;
5
- hitSlop?: import("react-native").Insets | Animated.Node<import("react-native").Insets | undefined> | undefined;
6
- id?: string | Animated.Node<string | undefined> | undefined;
7
- onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | Animated.Node<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
8
- pointerEvents?: "none" | "auto" | "box-none" | "box-only" | Animated.Node<"none" | "auto" | "box-none" | "box-only" | undefined> | undefined;
9
- removeClippedSubviews?: boolean | Animated.Node<boolean | undefined> | undefined;
10
- testID?: string | Animated.Node<string | undefined> | undefined;
11
- nativeID?: string | Animated.Node<string | undefined> | undefined;
12
- collapsable?: boolean | Animated.Node<boolean | undefined> | undefined;
13
- needsOffscreenAlphaCompositing?: boolean | Animated.Node<boolean | undefined> | undefined;
14
- renderToHardwareTextureAndroid?: boolean | Animated.Node<boolean | undefined> | undefined;
15
- focusable?: boolean | Animated.Node<boolean | undefined> | undefined;
16
- shouldRasterizeIOS?: boolean | Animated.Node<boolean | undefined> | undefined;
17
- isTVSelectable?: boolean | Animated.Node<boolean | undefined> | undefined;
18
- hasTVPreferredFocus?: boolean | Animated.Node<boolean | undefined> | undefined;
19
- tvParallaxProperties?: import("react-native").TVParallaxProperties | Animated.Node<import("react-native").TVParallaxProperties | undefined> | undefined;
20
- tvParallaxShiftDistanceX?: number | Animated.Node<number | undefined> | undefined;
21
- tvParallaxShiftDistanceY?: number | Animated.Node<number | undefined> | undefined;
22
- tvParallaxTiltAngle?: number | Animated.Node<number | undefined> | undefined;
23
- tvParallaxMagnification?: number | Animated.Node<number | undefined> | undefined;
24
- onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | Animated.Node<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
25
- onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | Animated.Node<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
26
- onResponderEnd?: ((event: import("react-native").GestureResponderEvent) => void) | Animated.Node<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
27
- onResponderGrant?: ((event: import("react-native").GestureResponderEvent) => void) | Animated.Node<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
28
- onResponderReject?: ((event: import("react-native").GestureResponderEvent) => void) | Animated.Node<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
29
- onResponderMove?: ((event: import("react-native").GestureResponderEvent) => void) | Animated.Node<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
30
- onResponderRelease?: ((event: import("react-native").GestureResponderEvent) => void) | Animated.Node<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
31
- onResponderStart?: ((event: import("react-native").GestureResponderEvent) => void) | Animated.Node<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
32
- onResponderTerminationRequest?: ((event: import("react-native").GestureResponderEvent) => boolean) | Animated.Node<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
33
- onResponderTerminate?: ((event: import("react-native").GestureResponderEvent) => void) | Animated.Node<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
34
- onStartShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | Animated.Node<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
35
- onMoveShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | Animated.Node<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
36
- onTouchStart?: ((event: import("react-native").GestureResponderEvent) => void) | Animated.Node<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
37
- onTouchMove?: ((event: import("react-native").GestureResponderEvent) => void) | Animated.Node<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
38
- onTouchEnd?: ((event: import("react-native").GestureResponderEvent) => void) | Animated.Node<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
39
- onTouchCancel?: ((event: import("react-native").GestureResponderEvent) => void) | Animated.Node<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
40
- onTouchEndCapture?: ((event: import("react-native").GestureResponderEvent) => void) | Animated.Node<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
41
- onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | Animated.Node<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
42
- onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | Animated.Node<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
43
- onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | Animated.Node<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
44
- onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | Animated.Node<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
45
- onPointerMove?: ((event: import("react-native").PointerEvent) => void) | Animated.Node<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
46
- onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | Animated.Node<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
47
- onPointerCancel?: ((event: import("react-native").PointerEvent) => void) | Animated.Node<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
48
- onPointerCancelCapture?: ((event: import("react-native").PointerEvent) => void) | Animated.Node<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
49
- onPointerDown?: ((event: import("react-native").PointerEvent) => void) | Animated.Node<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
50
- onPointerDownCapture?: ((event: import("react-native").PointerEvent) => void) | Animated.Node<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
51
- onPointerUp?: ((event: import("react-native").PointerEvent) => void) | Animated.Node<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
52
- onPointerUpCapture?: ((event: import("react-native").PointerEvent) => void) | Animated.Node<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
53
- accessible?: boolean | Animated.Node<boolean | undefined> | undefined;
54
- accessibilityActions?: readonly Readonly<{
55
- name: string;
56
- label?: string | undefined;
57
- }>[] | Animated.Node<readonly Readonly<{
58
- name: string;
59
- label?: string | undefined;
60
- }>[] | undefined> | undefined;
61
- accessibilityLabel?: string | Animated.Node<string | undefined> | undefined;
62
- 'aria-label'?: string | Animated.Node<string | undefined> | undefined;
63
- accessibilityRole?: import("react-native").AccessibilityRole | Animated.Node<import("react-native").AccessibilityRole | undefined> | undefined;
64
- accessibilityState?: import("react-native").AccessibilityState | Animated.Node<import("react-native").AccessibilityState | undefined> | undefined;
65
- 'aria-busy'?: boolean | Animated.Node<boolean | undefined> | undefined;
66
- 'aria-checked'?: boolean | "mixed" | Animated.Node<boolean | "mixed" | undefined> | undefined;
67
- 'aria-disabled'?: boolean | Animated.Node<boolean | undefined> | undefined;
68
- 'aria-expanded'?: boolean | Animated.Node<boolean | undefined> | undefined;
69
- 'aria-selected'?: boolean | Animated.Node<boolean | undefined> | undefined;
70
- 'aria-labelledby'?: string | Animated.Node<string | undefined> | undefined;
71
- accessibilityHint?: string | Animated.Node<string | undefined> | undefined;
72
- accessibilityValue?: import("react-native").AccessibilityValue | Animated.Node<import("react-native").AccessibilityValue | undefined> | undefined;
73
- 'aria-valuemax'?: number | Animated.Node<number | undefined> | undefined;
74
- 'aria-valuemin'?: number | Animated.Node<number | undefined> | undefined;
75
- 'aria-valuenow'?: number | Animated.Node<number | undefined> | undefined;
76
- 'aria-valuetext'?: string | Animated.Node<string | undefined> | undefined;
77
- onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => void) | Animated.Node<((event: import("react-native").AccessibilityActionEvent) => void) | undefined> | undefined;
78
- importantForAccessibility?: "auto" | "no-hide-descendants" | "yes" | "no" | Animated.Node<"auto" | "no-hide-descendants" | "yes" | "no" | undefined> | undefined;
79
- 'aria-hidden'?: boolean | Animated.Node<boolean | undefined> | undefined;
80
- 'aria-live'?: "polite" | "assertive" | "off" | Animated.Node<"polite" | "assertive" | "off" | undefined> | undefined;
81
- 'aria-modal'?: boolean | Animated.Node<boolean | undefined> | undefined;
82
- role?: import("react-native").Role | Animated.Node<import("react-native").Role | undefined> | undefined;
83
- accessibilityLiveRegion?: "none" | "polite" | "assertive" | Animated.Node<"none" | "polite" | "assertive" | undefined> | undefined;
84
- accessibilityLabelledBy?: string | string[] | Animated.Node<string | string[] | undefined> | undefined;
85
- accessibilityElementsHidden?: boolean | Animated.Node<boolean | undefined> | undefined;
86
- accessibilityViewIsModal?: boolean | Animated.Node<boolean | undefined> | undefined;
87
- onAccessibilityEscape?: (() => void) | Animated.Node<(() => void) | undefined> | undefined;
88
- onAccessibilityTap?: (() => void) | Animated.Node<(() => void) | undefined> | undefined;
89
- onMagicTap?: (() => void) | Animated.Node<(() => void) | undefined> | undefined;
90
- accessibilityIgnoresInvertColors?: boolean | Animated.Node<boolean | undefined> | undefined;
91
- accessibilityLanguage?: string | Animated.Node<string | undefined> | undefined;
92
- } & {
93
- style?: import("react-native").StyleProp<Animated.AnimateStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
94
- } & {
95
- animatedProps?: Partial<Animated.AnimateProps<import("react-native").ViewProps>> | undefined;
96
- layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder | undefined;
97
- entering?: import("react-native-reanimated").BaseAnimationBuilder | typeof import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").EntryExitAnimationFunction | import("react-native-reanimated").Keyframe | undefined;
98
- exiting?: import("react-native-reanimated").BaseAnimationBuilder | typeof import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").EntryExitAnimationFunction | import("react-native-reanimated").Keyframe | undefined;
99
- } & {
100
- progress: Animated.Node<number>;
101
- onPress: () => void;
102
- accessibilityLabel?: string | undefined;
103
- } & React.RefAttributes<Animated.View>>;
104
- //# sourceMappingURL=Overlay.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Overlay.d.ts","sourceRoot":"","sources":["../../../../../src/views/legacy/Overlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,QAAQ,MAAM,yBAAyB,CAAC;AAqB/C,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cALR,aAAa,CAAC,MAAM,CAAC;aACtB,MAAM,IAAI;;uCA8CnB,CAAC"}
@@ -1,9 +0,0 @@
1
- import type { DrawerProps } from '../../types';
2
- type Props = DrawerProps & {
3
- layout: {
4
- width: number;
5
- };
6
- };
7
- export declare function Drawer({ layout, drawerPosition, drawerStyle, drawerType, gestureHandlerProps, hideStatusBarOnOpen, keyboardDismissMode, onClose, onOpen, onGestureStart, onGestureCancel, onGestureEnd, onTransitionStart, onTransitionEnd, open, overlayStyle, overlayAccessibilityLabel, statusBarAnimation, swipeEnabled, swipeEdgeWidth, swipeMinDistance, swipeMinVelocity, renderDrawerContent, children, }: Props): JSX.Element;
8
- export {};
9
- //# sourceMappingURL=Drawer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../../../src/views/modern/Drawer.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAe/C,KAAK,KAAK,GAAG,WAAW,GAAG;IACzB,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;CAC3B,CAAC;AAEF,wBAAgB,MAAM,CAAC,EACrB,MAAM,EACN,cAAc,EACd,WAAW,EACX,UAAU,EACV,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,OAAO,EACP,MAAM,EACN,cAAc,EACd,eAAe,EACf,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,IAAI,EACJ,YAAY,EACZ,yBAAyB,EACzB,kBAAkB,EAClB,YAAY,EACZ,cAAc,EACd,gBAAqC,EACrC,gBAAqC,EACrC,mBAAmB,EACnB,QAAQ,GACT,EAAE,KAAK,eA6VP"}
@@ -1,104 +0,0 @@
1
- import * as React from 'react';
2
- import Animated from 'react-native-reanimated';
3
- export declare const Overlay: React.ForwardRefExoticComponent<{
4
- children?: React.ReactNode | Animated.Node<React.ReactNode>;
5
- hitSlop?: import("react-native").Insets | Animated.Node<import("react-native").Insets | undefined> | undefined;
6
- id?: string | Animated.Node<string | undefined> | undefined;
7
- onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | Animated.Node<((event: import("react-native").LayoutChangeEvent) => void) | undefined> | undefined;
8
- pointerEvents?: "none" | "auto" | "box-none" | "box-only" | Animated.Node<"none" | "auto" | "box-none" | "box-only" | undefined> | undefined;
9
- removeClippedSubviews?: boolean | Animated.Node<boolean | undefined> | undefined;
10
- testID?: string | Animated.Node<string | undefined> | undefined;
11
- nativeID?: string | Animated.Node<string | undefined> | undefined;
12
- collapsable?: boolean | Animated.Node<boolean | undefined> | undefined;
13
- needsOffscreenAlphaCompositing?: boolean | Animated.Node<boolean | undefined> | undefined;
14
- renderToHardwareTextureAndroid?: boolean | Animated.Node<boolean | undefined> | undefined;
15
- focusable?: boolean | Animated.Node<boolean | undefined> | undefined;
16
- shouldRasterizeIOS?: boolean | Animated.Node<boolean | undefined> | undefined;
17
- isTVSelectable?: boolean | Animated.Node<boolean | undefined> | undefined;
18
- hasTVPreferredFocus?: boolean | Animated.Node<boolean | undefined> | undefined;
19
- tvParallaxProperties?: import("react-native").TVParallaxProperties | Animated.Node<import("react-native").TVParallaxProperties | undefined> | undefined;
20
- tvParallaxShiftDistanceX?: number | Animated.Node<number | undefined> | undefined;
21
- tvParallaxShiftDistanceY?: number | Animated.Node<number | undefined> | undefined;
22
- tvParallaxTiltAngle?: number | Animated.Node<number | undefined> | undefined;
23
- tvParallaxMagnification?: number | Animated.Node<number | undefined> | undefined;
24
- onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | Animated.Node<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
25
- onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | Animated.Node<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
26
- onResponderEnd?: ((event: import("react-native").GestureResponderEvent) => void) | Animated.Node<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
27
- onResponderGrant?: ((event: import("react-native").GestureResponderEvent) => void) | Animated.Node<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
28
- onResponderReject?: ((event: import("react-native").GestureResponderEvent) => void) | Animated.Node<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
29
- onResponderMove?: ((event: import("react-native").GestureResponderEvent) => void) | Animated.Node<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
30
- onResponderRelease?: ((event: import("react-native").GestureResponderEvent) => void) | Animated.Node<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
31
- onResponderStart?: ((event: import("react-native").GestureResponderEvent) => void) | Animated.Node<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
32
- onResponderTerminationRequest?: ((event: import("react-native").GestureResponderEvent) => boolean) | Animated.Node<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
33
- onResponderTerminate?: ((event: import("react-native").GestureResponderEvent) => void) | Animated.Node<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
34
- onStartShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | Animated.Node<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
35
- onMoveShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | Animated.Node<((event: import("react-native").GestureResponderEvent) => boolean) | undefined> | undefined;
36
- onTouchStart?: ((event: import("react-native").GestureResponderEvent) => void) | Animated.Node<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
37
- onTouchMove?: ((event: import("react-native").GestureResponderEvent) => void) | Animated.Node<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
38
- onTouchEnd?: ((event: import("react-native").GestureResponderEvent) => void) | Animated.Node<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
39
- onTouchCancel?: ((event: import("react-native").GestureResponderEvent) => void) | Animated.Node<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
40
- onTouchEndCapture?: ((event: import("react-native").GestureResponderEvent) => void) | Animated.Node<((event: import("react-native").GestureResponderEvent) => void) | undefined> | undefined;
41
- onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | Animated.Node<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
42
- onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | Animated.Node<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
43
- onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | Animated.Node<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
44
- onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | Animated.Node<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
45
- onPointerMove?: ((event: import("react-native").PointerEvent) => void) | Animated.Node<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
46
- onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | Animated.Node<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
47
- onPointerCancel?: ((event: import("react-native").PointerEvent) => void) | Animated.Node<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
48
- onPointerCancelCapture?: ((event: import("react-native").PointerEvent) => void) | Animated.Node<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
49
- onPointerDown?: ((event: import("react-native").PointerEvent) => void) | Animated.Node<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
50
- onPointerDownCapture?: ((event: import("react-native").PointerEvent) => void) | Animated.Node<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
51
- onPointerUp?: ((event: import("react-native").PointerEvent) => void) | Animated.Node<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
52
- onPointerUpCapture?: ((event: import("react-native").PointerEvent) => void) | Animated.Node<((event: import("react-native").PointerEvent) => void) | undefined> | undefined;
53
- accessible?: boolean | Animated.Node<boolean | undefined> | undefined;
54
- accessibilityActions?: readonly Readonly<{
55
- name: string;
56
- label?: string | undefined;
57
- }>[] | Animated.Node<readonly Readonly<{
58
- name: string;
59
- label?: string | undefined;
60
- }>[] | undefined> | undefined;
61
- accessibilityLabel?: string | Animated.Node<string | undefined> | undefined;
62
- 'aria-label'?: string | Animated.Node<string | undefined> | undefined;
63
- accessibilityRole?: import("react-native").AccessibilityRole | Animated.Node<import("react-native").AccessibilityRole | undefined> | undefined;
64
- accessibilityState?: import("react-native").AccessibilityState | Animated.Node<import("react-native").AccessibilityState | undefined> | undefined;
65
- 'aria-busy'?: boolean | Animated.Node<boolean | undefined> | undefined;
66
- 'aria-checked'?: boolean | "mixed" | Animated.Node<boolean | "mixed" | undefined> | undefined;
67
- 'aria-disabled'?: boolean | Animated.Node<boolean | undefined> | undefined;
68
- 'aria-expanded'?: boolean | Animated.Node<boolean | undefined> | undefined;
69
- 'aria-selected'?: boolean | Animated.Node<boolean | undefined> | undefined;
70
- 'aria-labelledby'?: string | Animated.Node<string | undefined> | undefined;
71
- accessibilityHint?: string | Animated.Node<string | undefined> | undefined;
72
- accessibilityValue?: import("react-native").AccessibilityValue | Animated.Node<import("react-native").AccessibilityValue | undefined> | undefined;
73
- 'aria-valuemax'?: number | Animated.Node<number | undefined> | undefined;
74
- 'aria-valuemin'?: number | Animated.Node<number | undefined> | undefined;
75
- 'aria-valuenow'?: number | Animated.Node<number | undefined> | undefined;
76
- 'aria-valuetext'?: string | Animated.Node<string | undefined> | undefined;
77
- onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => void) | Animated.Node<((event: import("react-native").AccessibilityActionEvent) => void) | undefined> | undefined;
78
- importantForAccessibility?: "auto" | "no-hide-descendants" | "yes" | "no" | Animated.Node<"auto" | "no-hide-descendants" | "yes" | "no" | undefined> | undefined;
79
- 'aria-hidden'?: boolean | Animated.Node<boolean | undefined> | undefined;
80
- 'aria-live'?: "polite" | "assertive" | "off" | Animated.Node<"polite" | "assertive" | "off" | undefined> | undefined;
81
- 'aria-modal'?: boolean | Animated.Node<boolean | undefined> | undefined;
82
- role?: import("react-native").Role | Animated.Node<import("react-native").Role | undefined> | undefined;
83
- accessibilityLiveRegion?: "none" | "polite" | "assertive" | Animated.Node<"none" | "polite" | "assertive" | undefined> | undefined;
84
- accessibilityLabelledBy?: string | string[] | Animated.Node<string | string[] | undefined> | undefined;
85
- accessibilityElementsHidden?: boolean | Animated.Node<boolean | undefined> | undefined;
86
- accessibilityViewIsModal?: boolean | Animated.Node<boolean | undefined> | undefined;
87
- onAccessibilityEscape?: (() => void) | Animated.Node<(() => void) | undefined> | undefined;
88
- onAccessibilityTap?: (() => void) | Animated.Node<(() => void) | undefined> | undefined;
89
- onMagicTap?: (() => void) | Animated.Node<(() => void) | undefined> | undefined;
90
- accessibilityIgnoresInvertColors?: boolean | Animated.Node<boolean | undefined> | undefined;
91
- accessibilityLanguage?: string | Animated.Node<string | undefined> | undefined;
92
- } & {
93
- style?: import("react-native").StyleProp<Animated.AnimateStyle<import("react-native").StyleProp<import("react-native").ViewStyle>>>;
94
- } & {
95
- animatedProps?: Partial<Animated.AnimateProps<import("react-native").ViewProps>> | undefined;
96
- layout?: import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").LayoutAnimationFunction | typeof import("react-native-reanimated").BaseAnimationBuilder | undefined;
97
- entering?: import("react-native-reanimated").BaseAnimationBuilder | typeof import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").EntryExitAnimationFunction | import("react-native-reanimated").Keyframe | undefined;
98
- exiting?: import("react-native-reanimated").BaseAnimationBuilder | typeof import("react-native-reanimated").BaseAnimationBuilder | import("react-native-reanimated").EntryExitAnimationFunction | import("react-native-reanimated").Keyframe | undefined;
99
- } & {
100
- progress: Animated.SharedValue<number>;
101
- onPress: () => void;
102
- accessibilityLabel?: string | undefined;
103
- } & React.RefAttributes<Animated.View>>;
104
- //# sourceMappingURL=Overlay.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Overlay.d.ts","sourceRoot":"","sources":["../../../../../src/views/modern/Overlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,QAGN,MAAM,yBAAyB,CAAC;AAUjC,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cALR,SAAS,WAAW,CAAC,MAAM,CAAC;aAC7B,MAAM,IAAI;;uCAgDnB,CAAC"}