@hanzogui/react-native-web-lite 2.0.0-rc.41-hanzoai.5
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.
- package/LICENSE +21 -0
- package/README.md +31 -0
- package/dist/cjs/AccessibilityInfo/index.cjs +109 -0
- package/dist/cjs/ActivityIndicator/__tests__/index-test.cjs +209 -0
- package/dist/cjs/ActivityIndicator/index.cjs +130 -0
- package/dist/cjs/Alert/index.cjs +30 -0
- package/dist/cjs/AppRegistry/AppContainer.cjs +75 -0
- package/dist/cjs/AppRegistry/__tests__/index-test.cjs +97 -0
- package/dist/cjs/AppRegistry/__tests__/index-test.node.cjs +162 -0
- package/dist/cjs/AppRegistry/index.cjs +100 -0
- package/dist/cjs/AppRegistry/renderApplication.cjs +74 -0
- package/dist/cjs/AppState/__tests__/index-test.cjs +38 -0
- package/dist/cjs/AppState/index.cjs +85 -0
- package/dist/cjs/Appearance/index.cjs +64 -0
- package/dist/cjs/BackHandler/index.cjs +37 -0
- package/dist/cjs/Clipboard/index.cjs +64 -0
- package/dist/cjs/DeviceEmitter.cjs +29 -0
- package/dist/cjs/DeviceInfo/index.cjs +76 -0
- package/dist/cjs/Dimensions/__tests__/index-test.cjs +67 -0
- package/dist/cjs/Dimensions/index.cjs +112 -0
- package/dist/cjs/FlatList.cjs +241 -0
- package/dist/cjs/I18nManager/index.cjs +40 -0
- package/dist/cjs/Image/index.cjs +355 -0
- package/dist/cjs/Image/types.cjs +18 -0
- package/dist/cjs/ImageBackground/__tests__/index-test.cjs +72 -0
- package/dist/cjs/ImageBackground/index.cjs +69 -0
- package/dist/cjs/InteractionManager/TaskQueue.cjs +111 -0
- package/dist/cjs/InteractionManager/index.cjs +141 -0
- package/dist/cjs/Keyboard/index.cjs +40 -0
- package/dist/cjs/KeyboardAvoidingView/index.cjs +72 -0
- package/dist/cjs/Libraries/Pressability/Pressability.cjs +28 -0
- package/dist/cjs/Libraries/Pressability/usePressability.cjs +28 -0
- package/dist/cjs/Linking/__tests__/index-test.cjs +56 -0
- package/dist/cjs/Linking/index.cjs +103 -0
- package/dist/cjs/LogBox/index.cjs +35 -0
- package/dist/cjs/Modal/ModalAnimation.cjs +174 -0
- package/dist/cjs/Modal/ModalContent.cjs +95 -0
- package/dist/cjs/Modal/ModalPortal.cjs +63 -0
- package/dist/cjs/Modal/index.cjs +28 -0
- package/dist/cjs/NativeModules/index.cjs +31 -0
- package/dist/cjs/PanResponder/index.cjs +39 -0
- package/dist/cjs/PixelRatio/index.cjs +59 -0
- package/dist/cjs/Pressable/index.cjs +172 -0
- package/dist/cjs/RefreshControl/index.cjs +51 -0
- package/dist/cjs/SafeAreaView/index.cjs +70 -0
- package/dist/cjs/ScrollView/ScrollViewBase.cjs +167 -0
- package/dist/cjs/ScrollView/index.cjs +672 -0
- package/dist/cjs/SectionList.cjs +41 -0
- package/dist/cjs/Share/index.cjs +58 -0
- package/dist/cjs/StatusBar/index.cjs +38 -0
- package/dist/cjs/Text/index.cjs +197 -0
- package/dist/cjs/Text/types.cjs +18 -0
- package/dist/cjs/TextInput/index.cjs +396 -0
- package/dist/cjs/TextInput/types.cjs +18 -0
- package/dist/cjs/TouchableNativeFeedback.cjs +28 -0
- package/dist/cjs/TouchableOpacity.cjs +125 -0
- package/dist/cjs/TouchableWithoutFeedback.cjs +95 -0
- package/dist/cjs/UnimplementedView.cjs +52 -0
- package/dist/cjs/Vibration/index.cjs +40 -0
- package/dist/cjs/View/index.cjs +144 -0
- package/dist/cjs/View/types.cjs +18 -0
- package/dist/cjs/VirtualizedList.cjs +41 -0
- package/dist/cjs/codegenNativeCommand.cjs +31 -0
- package/dist/cjs/codegenNativeComponent.cjs +31 -0
- package/dist/cjs/createElement/__tests__/index-test.cjs +828 -0
- package/dist/cjs/createElement/index.cjs +94 -0
- package/dist/cjs/createReactDOMStyle.cjs +30 -0
- package/dist/cjs/index.cjs +174 -0
- package/dist/cjs/modules/requestIdleCallback.cjs +45 -0
- package/dist/cjs/preprocess.cjs +32 -0
- package/dist/cjs/render/index.cjs +34 -0
- package/dist/cjs/styleTypes.cjs +18 -0
- package/dist/cjs/types.cjs +18 -0
- package/dist/cjs/useColorScheme/index.cjs +53 -0
- package/dist/cjs/useLocaleContext/index.cjs +28 -0
- package/dist/cjs/useWindowDimensions/index.cjs +58 -0
- package/dist/cjs/vendor/react-native/Animated/Animated.cjs +48 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.cjs +164 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.cjs +587 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.cjs +147 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.cjs +1 -0
- package/dist/cjs/vendor/react-native/Animated/Easing.cjs +199 -0
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.cjs +402 -0
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.cjs +80 -0
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.cjs +77 -0
- package/dist/cjs/vendor/react-native/Animated/SpringConfig.cjs +86 -0
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.cjs +72 -0
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.cjs +95 -0
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.cjs +233 -0
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.cjs +134 -0
- package/dist/cjs/vendor/react-native/Animated/bezier.cjs +124 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.cjs +50 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.cjs +44 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.cjs +50 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.cjs +50 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.cjs +32 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.cjs +32 -0
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.cjs +65 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.cjs +69 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.cjs +274 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.cjs +74 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.cjs +84 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.cjs +225 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.cjs +64 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.cjs +69 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.cjs +174 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.cjs +151 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.cjs +136 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.cjs +69 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.cjs +90 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.cjs +127 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.cjs +239 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.cjs +119 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.cjs +87 -0
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.cjs +104 -0
- package/dist/cjs/vendor/react-native/Batchinator/index.cjs +72 -0
- package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.cjs +73 -0
- package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.cjs +31 -0
- package/dist/cjs/vendor/react-native/FeatureFlags.cjs +35 -0
- package/dist/cjs/vendor/react-native/FillRateHelper/index.cjs +189 -0
- package/dist/cjs/vendor/react-native/FlatList/index.cjs +324 -0
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.cjs +93 -0
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.cjs +116 -0
- package/dist/cjs/vendor/react-native/PanResponder/index.cjs +207 -0
- package/dist/cjs/vendor/react-native/PooledClass/index.cjs +62 -0
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.cjs +36 -0
- package/dist/cjs/vendor/react-native/SectionList/index.cjs +128 -0
- package/dist/cjs/vendor/react-native/StaticContainer/index.cjs +52 -0
- package/dist/cjs/vendor/react-native/StaticRenderer/index.cjs +51 -0
- package/dist/cjs/vendor/react-native/TouchHistoryMath/index.cjs +125 -0
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.cjs +36 -0
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.cjs +39 -0
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.cjs +158 -0
- package/dist/cjs/vendor/react-native/Utilities/Platform.cjs +30 -0
- package/dist/cjs/vendor/react-native/Utilities/clamp.cjs +40 -0
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.cjs +45 -0
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.cjs +45 -0
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.cjs +42 -0
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.cjs +184 -0
- package/dist/cjs/vendor/react-native/ViewabilityHelper.cjs +175 -0
- package/dist/cjs/vendor/react-native/VirtualizeUtils/index.cjs +144 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.cjs +110 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.cjs +77 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.cjs +92 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.cjs +182 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.cjs +89 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.cjs +66 -0
- package/dist/cjs/vendor/react-native/VirtualizedList/index.cjs +310 -0
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.cjs +165 -0
- package/dist/cjs/vendor/react-native/deepDiffer/index.cjs +74 -0
- package/dist/cjs/vendor/react-native/emitter/EventEmitter.cjs +32 -0
- package/dist/cjs/vendor/react-native/emitter/EventSubscription.cjs +1 -0
- package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.cjs +59 -0
- package/dist/cjs/vendor/react-native/emitter/_EventEmitter.cjs +136 -0
- package/dist/cjs/vendor/react-native/emitter/_EventSubscription.cjs +46 -0
- package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.cjs +96 -0
- package/dist/cjs/vendor/react-native/infoLog/index.cjs +34 -0
- package/dist/cjs/vendor/react-native/useRefEffect.cjs +42 -0
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.cjs +103 -0
- package/dist/cjs/without-animated.cjs +348 -0
- package/dist/esm/AccessibilityInfo/index.mjs +84 -0
- package/dist/esm/AccessibilityInfo/index.mjs.map +1 -0
- package/dist/esm/ActivityIndicator/__tests__/index-test.mjs +186 -0
- package/dist/esm/ActivityIndicator/__tests__/index-test.mjs.map +1 -0
- package/dist/esm/ActivityIndicator/index.mjs +93 -0
- package/dist/esm/ActivityIndicator/index.mjs.map +1 -0
- package/dist/esm/Alert/index.mjs +5 -0
- package/dist/esm/Alert/index.mjs.map +1 -0
- package/dist/esm/AppRegistry/AppContainer.mjs +38 -0
- package/dist/esm/AppRegistry/AppContainer.mjs.map +1 -0
- package/dist/esm/AppRegistry/__tests__/index-test.mjs +74 -0
- package/dist/esm/AppRegistry/__tests__/index-test.mjs.map +1 -0
- package/dist/esm/AppRegistry/__tests__/index-test.node.mjs +139 -0
- package/dist/esm/AppRegistry/__tests__/index-test.node.mjs.map +1 -0
- package/dist/esm/AppRegistry/index.mjs +75 -0
- package/dist/esm/AppRegistry/index.mjs.map +1 -0
- package/dist/esm/AppRegistry/renderApplication.mjs +48 -0
- package/dist/esm/AppRegistry/renderApplication.mjs.map +1 -0
- package/dist/esm/AppState/__tests__/index-test.mjs +15 -0
- package/dist/esm/AppState/__tests__/index-test.mjs.map +1 -0
- package/dist/esm/AppState/index.mjs +60 -0
- package/dist/esm/AppState/index.mjs.map +1 -0
- package/dist/esm/Appearance/index.mjs +39 -0
- package/dist/esm/Appearance/index.mjs.map +1 -0
- package/dist/esm/BackHandler/index.mjs +12 -0
- package/dist/esm/BackHandler/index.mjs.map +1 -0
- package/dist/esm/Clipboard/index.mjs +39 -0
- package/dist/esm/Clipboard/index.mjs.map +1 -0
- package/dist/esm/DeviceEmitter.mjs +4 -0
- package/dist/esm/DeviceEmitter.mjs.map +1 -0
- package/dist/esm/DeviceInfo/index.mjs +51 -0
- package/dist/esm/DeviceInfo/index.mjs.map +1 -0
- package/dist/esm/Dimensions/__tests__/index-test.mjs +44 -0
- package/dist/esm/Dimensions/__tests__/index-test.mjs.map +1 -0
- package/dist/esm/Dimensions/index.mjs +86 -0
- package/dist/esm/Dimensions/index.mjs.map +1 -0
- package/dist/esm/FlatList.mjs +204 -0
- package/dist/esm/FlatList.mjs.map +1 -0
- package/dist/esm/I18nManager/index.mjs +15 -0
- package/dist/esm/I18nManager/index.mjs.map +1 -0
- package/dist/esm/Image/index.mjs +318 -0
- package/dist/esm/Image/index.mjs.map +1 -0
- package/dist/esm/Image/types.mjs +2 -0
- package/dist/esm/Image/types.mjs.map +1 -0
- package/dist/esm/ImageBackground/__tests__/index-test.mjs +49 -0
- package/dist/esm/ImageBackground/__tests__/index-test.mjs.map +1 -0
- package/dist/esm/ImageBackground/index.mjs +43 -0
- package/dist/esm/ImageBackground/index.mjs.map +1 -0
- package/dist/esm/InteractionManager/TaskQueue.mjs +86 -0
- package/dist/esm/InteractionManager/TaskQueue.mjs.map +1 -0
- package/dist/esm/InteractionManager/index.mjs +105 -0
- package/dist/esm/InteractionManager/index.mjs.map +1 -0
- package/dist/esm/Keyboard/index.mjs +15 -0
- package/dist/esm/Keyboard/index.mjs.map +1 -0
- package/dist/esm/KeyboardAvoidingView/index.mjs +35 -0
- package/dist/esm/KeyboardAvoidingView/index.mjs.map +1 -0
- package/dist/esm/Libraries/Pressability/Pressability.mjs +3 -0
- package/dist/esm/Libraries/Pressability/Pressability.mjs.map +1 -0
- package/dist/esm/Libraries/Pressability/usePressability.mjs +3 -0
- package/dist/esm/Libraries/Pressability/usePressability.mjs.map +1 -0
- package/dist/esm/Linking/__tests__/index-test.mjs +33 -0
- package/dist/esm/Linking/__tests__/index-test.mjs.map +1 -0
- package/dist/esm/Linking/index.mjs +78 -0
- package/dist/esm/Linking/index.mjs.map +1 -0
- package/dist/esm/LogBox/index.mjs +9 -0
- package/dist/esm/LogBox/index.mjs.map +1 -0
- package/dist/esm/Modal/ModalAnimation.mjs +138 -0
- package/dist/esm/Modal/ModalAnimation.mjs.map +1 -0
- package/dist/esm/Modal/ModalContent.mjs +59 -0
- package/dist/esm/Modal/ModalContent.mjs.map +1 -0
- package/dist/esm/Modal/ModalPortal.mjs +27 -0
- package/dist/esm/Modal/ModalPortal.mjs.map +1 -0
- package/dist/esm/Modal/index.mjs +3 -0
- package/dist/esm/Modal/index.mjs.map +1 -0
- package/dist/esm/NativeModules/index.mjs +6 -0
- package/dist/esm/NativeModules/index.mjs.map +1 -0
- package/dist/esm/PanResponder/index.mjs +3 -0
- package/dist/esm/PanResponder/index.mjs.map +1 -0
- package/dist/esm/PixelRatio/index.mjs +34 -0
- package/dist/esm/PixelRatio/index.mjs.map +1 -0
- package/dist/esm/Pressable/index.mjs +133 -0
- package/dist/esm/Pressable/index.mjs.map +1 -0
- package/dist/esm/RefreshControl/index.mjs +25 -0
- package/dist/esm/RefreshControl/index.mjs.map +1 -0
- package/dist/esm/SafeAreaView/index.mjs +33 -0
- package/dist/esm/SafeAreaView/index.mjs.map +1 -0
- package/dist/esm/ScrollView/ScrollViewBase.mjs +130 -0
- package/dist/esm/ScrollView/ScrollViewBase.mjs.map +1 -0
- package/dist/esm/ScrollView/index.mjs +635 -0
- package/dist/esm/ScrollView/index.mjs.map +1 -0
- package/dist/esm/SectionList.mjs +4 -0
- package/dist/esm/SectionList.mjs.map +1 -0
- package/dist/esm/Share/index.mjs +33 -0
- package/dist/esm/Share/index.mjs.map +1 -0
- package/dist/esm/StatusBar/index.mjs +12 -0
- package/dist/esm/StatusBar/index.mjs.map +1 -0
- package/dist/esm/Text/index.mjs +160 -0
- package/dist/esm/Text/index.mjs.map +1 -0
- package/dist/esm/Text/types.mjs +2 -0
- package/dist/esm/Text/types.mjs.map +1 -0
- package/dist/esm/TextInput/index.mjs +359 -0
- package/dist/esm/TextInput/index.mjs.map +1 -0
- package/dist/esm/TextInput/types.mjs +2 -0
- package/dist/esm/TextInput/types.mjs.map +1 -0
- package/dist/esm/TouchableNativeFeedback.mjs +3 -0
- package/dist/esm/TouchableNativeFeedback.mjs.map +1 -0
- package/dist/esm/TouchableOpacity.mjs +87 -0
- package/dist/esm/TouchableOpacity.mjs.map +1 -0
- package/dist/esm/TouchableWithoutFeedback.mjs +59 -0
- package/dist/esm/TouchableWithoutFeedback.mjs.map +1 -0
- package/dist/esm/UnimplementedView.mjs +16 -0
- package/dist/esm/UnimplementedView.mjs.map +1 -0
- package/dist/esm/Vibration/index.mjs +15 -0
- package/dist/esm/Vibration/index.mjs.map +1 -0
- package/dist/esm/View/index.mjs +107 -0
- package/dist/esm/View/index.mjs.map +1 -0
- package/dist/esm/View/types.mjs +2 -0
- package/dist/esm/View/types.mjs.map +1 -0
- package/dist/esm/VirtualizedList.mjs +4 -0
- package/dist/esm/VirtualizedList.mjs.map +1 -0
- package/dist/esm/codegenNativeCommand.mjs +6 -0
- package/dist/esm/codegenNativeCommand.mjs.map +1 -0
- package/dist/esm/codegenNativeComponent.mjs +6 -0
- package/dist/esm/codegenNativeComponent.mjs.map +1 -0
- package/dist/esm/createElement/__tests__/index-test.mjs +805 -0
- package/dist/esm/createElement/__tests__/index-test.mjs.map +1 -0
- package/dist/esm/createElement/index.mjs +57 -0
- package/dist/esm/createElement/index.mjs.map +1 -0
- package/dist/esm/createReactDOMStyle.mjs +4 -0
- package/dist/esm/createReactDOMStyle.mjs.map +1 -0
- package/dist/esm/index.js +61 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/index.mjs +61 -0
- package/dist/esm/index.mjs.map +1 -0
- package/dist/esm/modules/requestIdleCallback.mjs +19 -0
- package/dist/esm/modules/requestIdleCallback.mjs.map +1 -0
- package/dist/esm/preprocess.mjs +3 -0
- package/dist/esm/preprocess.mjs.map +1 -0
- package/dist/esm/render/index.mjs +6 -0
- package/dist/esm/render/index.mjs.map +1 -0
- package/dist/esm/styleTypes.mjs +2 -0
- package/dist/esm/styleTypes.mjs.map +1 -0
- package/dist/esm/types.mjs +2 -0
- package/dist/esm/types.mjs.map +1 -0
- package/dist/esm/useColorScheme/index.mjs +17 -0
- package/dist/esm/useColorScheme/index.mjs.map +1 -0
- package/dist/esm/useLocaleContext/index.mjs +3 -0
- package/dist/esm/useLocaleContext/index.mjs.map +1 -0
- package/dist/esm/useWindowDimensions/index.mjs +22 -0
- package/dist/esm/useWindowDimensions/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/Animated.mjs +22 -0
- package/dist/esm/vendor/react-native/Animated/Animated.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs +136 -0
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs +558 -0
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs +118 -0
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.mjs +2 -0
- package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/Easing.mjs +171 -0
- package/dist/esm/vendor/react-native/Animated/Easing.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs +360 -0
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs +38 -0
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs +35 -0
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs +60 -0
- package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs +44 -0
- package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs +67 -0
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs +205 -0
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs +108 -0
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/bezier.mjs +96 -0
- package/dist/esm/vendor/react-native/Animated/bezier.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs +13 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs +7 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs +13 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs +13 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.mjs +6 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.mjs +6 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.mjs +28 -0
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs +41 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs +248 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs +48 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs +56 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs +197 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs +38 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs +41 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs +146 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs +125 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs +110 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs +41 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs +64 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs +99 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs +211 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs +93 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs +59 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs +76 -0
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Batchinator/index.mjs +44 -0
- package/dist/esm/vendor/react-native/Batchinator/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs +45 -0
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs.map +1 -0
- package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.mjs +5 -0
- package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.mjs.map +1 -0
- package/dist/esm/vendor/react-native/FeatureFlags.mjs +10 -0
- package/dist/esm/vendor/react-native/FeatureFlags.mjs.map +1 -0
- package/dist/esm/vendor/react-native/FillRateHelper/index.mjs +163 -0
- package/dist/esm/vendor/react-native/FillRateHelper/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/FlatList/index.mjs +287 -0
- package/dist/esm/vendor/react-native/FlatList/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs +65 -0
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs +88 -0
- package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/PanResponder/index.mjs +170 -0
- package/dist/esm/vendor/react-native/PanResponder/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/PooledClass/index.mjs +36 -0
- package/dist/esm/vendor/react-native/PooledClass/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.mjs +10 -0
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.mjs.map +1 -0
- package/dist/esm/vendor/react-native/SectionList/index.mjs +91 -0
- package/dist/esm/vendor/react-native/SectionList/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/StaticContainer/index.mjs +13 -0
- package/dist/esm/vendor/react-native/StaticContainer/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/StaticRenderer/index.mjs +12 -0
- package/dist/esm/vendor/react-native/StaticRenderer/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.mjs +99 -0
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs +8 -0
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs.map +1 -0
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs +11 -0
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs +126 -0
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Utilities/Platform.mjs +4 -0
- package/dist/esm/vendor/react-native/Utilities/Platform.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Utilities/clamp.mjs +12 -0
- package/dist/esm/vendor/react-native/Utilities/clamp.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs +17 -0
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs +19 -0
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs +16 -0
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs.map +1 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs +156 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper.mjs +149 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs +116 -0
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs +85 -0
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs +51 -0
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs +55 -0
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs +145 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs +50 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs +40 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedList/index.mjs +284 -0
- package/dist/esm/vendor/react-native/VirtualizedList/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs +128 -0
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/deepDiffer/index.mjs +46 -0
- package/dist/esm/vendor/react-native/deepDiffer/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/emitter/EventEmitter.mjs +4 -0
- package/dist/esm/vendor/react-native/emitter/EventEmitter.mjs.map +1 -0
- package/dist/esm/vendor/react-native/emitter/EventSubscription.mjs +2 -0
- package/dist/esm/vendor/react-native/emitter/EventSubscription.mjs.map +1 -0
- package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.mjs +31 -0
- package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.mjs.map +1 -0
- package/dist/esm/vendor/react-native/emitter/_EventEmitter.mjs +110 -0
- package/dist/esm/vendor/react-native/emitter/_EventEmitter.mjs.map +1 -0
- package/dist/esm/vendor/react-native/emitter/_EventSubscription.mjs +18 -0
- package/dist/esm/vendor/react-native/emitter/_EventSubscription.mjs.map +1 -0
- package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.mjs +68 -0
- package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.mjs.map +1 -0
- package/dist/esm/vendor/react-native/infoLog/index.mjs +6 -0
- package/dist/esm/vendor/react-native/infoLog/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/useRefEffect.mjs +16 -0
- package/dist/esm/vendor/react-native/useRefEffect.mjs.map +1 -0
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs +75 -0
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs.map +1 -0
- package/dist/esm/without-animated.mjs +234 -0
- package/dist/esm/without-animated.mjs.map +1 -0
- package/package.json +125 -0
- package/src/AccessibilityInfo/index.tsx +113 -0
- package/src/ActivityIndicator/__tests__/__snapshots__/index-test.js.snap +466 -0
- package/src/ActivityIndicator/__tests__/index-test.tsx +147 -0
- package/src/ActivityIndicator/index.tsx +116 -0
- package/src/Alert/index.tsx +12 -0
- package/src/AppRegistry/AppContainer.tsx +54 -0
- package/src/AppRegistry/__tests__/index-test.node.tsx +144 -0
- package/src/AppRegistry/__tests__/index-test.tsx +94 -0
- package/src/AppRegistry/index.tsx +156 -0
- package/src/AppRegistry/renderApplication.tsx +75 -0
- package/src/AppState/__tests__/index-test.tsx +24 -0
- package/src/AppState/index.tsx +92 -0
- package/src/Appearance/index.tsx +59 -0
- package/src/BackHandler/index.tsx +23 -0
- package/src/Clipboard/index.tsx +61 -0
- package/src/DeviceEmitter.ts +3 -0
- package/src/DeviceInfo/index.tsx +55 -0
- package/src/Dimensions/__tests__/index-test.tsx +54 -0
- package/src/Dimensions/index.tsx +129 -0
- package/src/FlatList.tsx +331 -0
- package/src/I18nManager/index.tsx +31 -0
- package/src/Image/index.tsx +401 -0
- package/src/Image/types.tsx +112 -0
- package/src/ImageBackground/__tests__/index-test.tsx +49 -0
- package/src/ImageBackground/index.tsx +66 -0
- package/src/InteractionManager/TaskQueue.tsx +112 -0
- package/src/InteractionManager/index.tsx +140 -0
- package/src/Keyboard/index.tsx +24 -0
- package/src/KeyboardAvoidingView/index.tsx +55 -0
- package/src/Libraries/Pressability/Pressability.ts +2 -0
- package/src/Libraries/Pressability/usePressability.ts +2 -0
- package/src/Linking/__tests__/index-test.tsx +37 -0
- package/src/Linking/index.tsx +113 -0
- package/src/LogBox/index.tsx +17 -0
- package/src/Modal/ModalAnimation.js +178 -0
- package/src/Modal/ModalContent.js +73 -0
- package/src/Modal/ModalPortal.js +40 -0
- package/src/Modal/index.js +1 -0
- package/src/NativeModules/index.tsx +15 -0
- package/src/PanResponder/Alternative.tsx +385 -0
- package/src/PanResponder/index.tsx +1 -0
- package/src/PixelRatio/index.tsx +49 -0
- package/src/Pressable/__tests__/__snapshots__/index-test.js.snap +196 -0
- package/src/Pressable/index.tsx +236 -0
- package/src/RefreshControl/index.tsx +50 -0
- package/src/SafeAreaView/index.tsx +48 -0
- package/src/ScrollView/ScrollViewBase.tsx +183 -0
- package/src/ScrollView/__tests__/__snapshots__/index-test.js.snap +49 -0
- package/src/ScrollView/index.tsx +892 -0
- package/src/SectionList.tsx +9 -0
- package/src/Share/index.tsx +69 -0
- package/src/StatusBar/index.tsx +22 -0
- package/src/Text/__tests__/__snapshots__/index-test.js.snap +218 -0
- package/src/Text/index.tsx +208 -0
- package/src/Text/types.tsx +96 -0
- package/src/TextInput/index.tsx +453 -0
- package/src/TextInput/types.tsx +74 -0
- package/src/TouchableNativeFeedback.tsx +8 -0
- package/src/TouchableOpacity.tsx +150 -0
- package/src/TouchableWithoutFeedback.tsx +95 -0
- package/src/UnimplementedView.tsx +13 -0
- package/src/Vibration/index.tsx +26 -0
- package/src/View/index.tsx +139 -0
- package/src/View/types.tsx +170 -0
- package/src/VirtualizedList.tsx +9 -0
- package/src/codegenNativeCommand.ts +6 -0
- package/src/codegenNativeComponent.ts +6 -0
- package/src/createElement/__tests__/__snapshots__/index-test.js.snap +13 -0
- package/src/createElement/__tests__/index-test.tsx +647 -0
- package/src/createElement/index.tsx +92 -0
- package/src/createReactDOMStyle.ts +4 -0
- package/src/index.tsx +111 -0
- package/src/modules/requestIdleCallback.ts +32 -0
- package/src/preprocess.ts +7 -0
- package/src/render/index.tsx +16 -0
- package/src/styleTypes.ts +321 -0
- package/src/types.ts +77 -0
- package/src/useColorScheme/index.tsx +28 -0
- package/src/useLocaleContext/index.tsx +10 -0
- package/src/useWindowDimensions/index.tsx +34 -0
- package/src/vendor/react-native/Animated/Animated.js +33 -0
- package/src/vendor/react-native/Animated/AnimatedEvent.js +199 -0
- package/src/vendor/react-native/Animated/AnimatedImplementation.js +649 -0
- package/src/vendor/react-native/Animated/AnimatedMock.js +155 -0
- package/src/vendor/react-native/Animated/AnimatedPlatformConfig.js +11 -0
- package/src/vendor/react-native/Animated/Easing.js +249 -0
- package/src/vendor/react-native/Animated/NativeAnimatedHelper.js +525 -0
- package/src/vendor/react-native/Animated/NativeAnimatedModule.js +57 -0
- package/src/vendor/react-native/Animated/NativeAnimatedTurboModule.js +53 -0
- package/src/vendor/react-native/Animated/SpringConfig.js +88 -0
- package/src/vendor/react-native/Animated/animations/Animation.js +66 -0
- package/src/vendor/react-native/Animated/animations/DecayAnimation.js +88 -0
- package/src/vendor/react-native/Animated/animations/SpringAnimation.js +291 -0
- package/src/vendor/react-native/Animated/animations/TimingAnimation.js +133 -0
- package/src/vendor/react-native/Animated/bezier.js +142 -0
- package/src/vendor/react-native/Animated/components/AnimatedFlatList.jsx +24 -0
- package/src/vendor/react-native/Animated/components/AnimatedImage.js +17 -0
- package/src/vendor/react-native/Animated/components/AnimatedScrollView.jsx +24 -0
- package/src/vendor/react-native/Animated/components/AnimatedSectionList.jsx +24 -0
- package/src/vendor/react-native/Animated/components/AnimatedText.js +15 -0
- package/src/vendor/react-native/Animated/components/AnimatedView.js +15 -0
- package/src/vendor/react-native/Animated/createAnimatedComponent.jsx +39 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedAddition.js +60 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedColor.js +293 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +67 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedDivision.js +78 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedInterpolation.jsx +327 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedModulo.js +56 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +59 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedNode.js +190 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedProps.js +160 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedStyle.js +137 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +60 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedTracking.js +90 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedTransform.js +122 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedValue.js +292 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedValueXY.js +108 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +89 -0
- package/src/vendor/react-native/Animated/useAnimatedProps.js +173 -0
- package/src/vendor/react-native/Batchinator/index.js +77 -0
- package/src/vendor/react-native/EventEmitter/NativeEventEmitter.js +85 -0
- package/src/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js +22 -0
- package/src/vendor/react-native/FeatureFlags.js +8 -0
- package/src/vendor/react-native/FillRateHelper/index.js +213 -0
- package/src/vendor/react-native/FlatList/index.jsx +518 -0
- package/src/vendor/react-native/JSEventLoopWatchdog/index.js +85 -0
- package/src/vendor/react-native/LayoutAnimation/index.js +119 -0
- package/src/vendor/react-native/PanResponder/index.js +243 -0
- package/src/vendor/react-native/PooledClass/index.js +62 -0
- package/src/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +20 -0
- package/src/vendor/react-native/SHA +2 -0
- package/src/vendor/react-native/SectionList/index.jsx +100 -0
- package/src/vendor/react-native/StaticContainer/index.js +43 -0
- package/src/vendor/react-native/StaticRenderer/index.js +26 -0
- package/src/vendor/react-native/TouchHistoryMath/index.js +137 -0
- package/src/vendor/react-native/TurboModule/RCTExport.js +37 -0
- package/src/vendor/react-native/TurboModule/TurboModuleRegistry.js +27 -0
- package/src/vendor/react-native/Types/CoreEventTypes.js +151 -0
- package/src/vendor/react-native/Utilities/Platform.js +3 -0
- package/src/vendor/react-native/Utilities/clamp.js +24 -0
- package/src/vendor/react-native/Utilities/setAndForwardRef.js +62 -0
- package/src/vendor/react-native/Utilities/useMergeRefs.js +40 -0
- package/src/vendor/react-native/Utilities/useRefEffect.js +44 -0
- package/src/vendor/react-native/ViewabilityHelper/index.js +251 -0
- package/src/vendor/react-native/ViewabilityHelper.ts +293 -0
- package/src/vendor/react-native/VirtualizeUtils/index.js +204 -0
- package/src/vendor/react-native/VirtualizedList/CellRenderMask.js +135 -0
- package/src/vendor/react-native/VirtualizedList/ChildListCollection.js +75 -0
- package/src/vendor/react-native/VirtualizedList/StateSafePureComponent.js +82 -0
- package/src/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.jsx +184 -0
- package/src/vendor/react-native/VirtualizedList/VirtualizedListContext.jsx +96 -0
- package/src/vendor/react-native/VirtualizedList/VirtualizedListProps.js +46 -0
- package/src/vendor/react-native/VirtualizedList/index.jsx +378 -0
- package/src/vendor/react-native/VirtualizedSectionList/index.jsx +149 -0
- package/src/vendor/react-native/deepDiffer/index.js +69 -0
- package/src/vendor/react-native/emitter/EventEmitter.js +14 -0
- package/src/vendor/react-native/emitter/EventSubscription.js +12 -0
- package/src/vendor/react-native/emitter/_EmitterSubscription.js +47 -0
- package/src/vendor/react-native/emitter/_EventEmitter.js +175 -0
- package/src/vendor/react-native/emitter/_EventSubscription.js +34 -0
- package/src/vendor/react-native/emitter/_EventSubscriptionVendor.js +96 -0
- package/src/vendor/react-native/infoLog/index.js +21 -0
- package/src/vendor/react-native/useRefEffect.js +44 -0
- package/src/vendor/react-native/vendor/emitter/EventEmitter.js +121 -0
- package/src/without-animated.tsx +288 -0
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
+
value: true
|
|
24
|
+
}), mod);
|
|
25
|
+
var AnimatedValue_exports = {};
|
|
26
|
+
__export(AnimatedValue_exports, {
|
|
27
|
+
AnimatedValue: () => AnimatedValue,
|
|
28
|
+
default: () => AnimatedValue_default
|
|
29
|
+
});
|
|
30
|
+
module.exports = __toCommonJS(AnimatedValue_exports);
|
|
31
|
+
var import_AnimatedInterpolation = require("./AnimatedInterpolation.cjs");
|
|
32
|
+
var import_AnimatedWithChildren = require("./AnimatedWithChildren.cjs");
|
|
33
|
+
var import_react_native_web_internals = require("@hanzogui/react-native-web-internals");
|
|
34
|
+
var import_NativeAnimatedHelper = require("../NativeAnimatedHelper.cjs");
|
|
35
|
+
const NativeAnimatedAPI = import_NativeAnimatedHelper.NativeAnimatedHelper.API;
|
|
36
|
+
function _flush(rootNode) {
|
|
37
|
+
const animatedStyles = /* @__PURE__ */new Set();
|
|
38
|
+
function findAnimatedStyles(node) {
|
|
39
|
+
if (typeof node.update === "function") {
|
|
40
|
+
animatedStyles.add(node);
|
|
41
|
+
} else {
|
|
42
|
+
node.__getChildren().forEach(findAnimatedStyles);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
findAnimatedStyles(rootNode);
|
|
46
|
+
animatedStyles.forEach(animatedStyle => animatedStyle.update());
|
|
47
|
+
}
|
|
48
|
+
function _executeAsAnimatedBatch(id, operation) {
|
|
49
|
+
NativeAnimatedAPI.setWaitingForIdentifier(id);
|
|
50
|
+
operation();
|
|
51
|
+
NativeAnimatedAPI.unsetWaitingForIdentifier(id);
|
|
52
|
+
}
|
|
53
|
+
class AnimatedValue extends import_AnimatedWithChildren.AnimatedWithChildren {
|
|
54
|
+
_value;
|
|
55
|
+
_startingValue;
|
|
56
|
+
_offset;
|
|
57
|
+
_animation;
|
|
58
|
+
_tracking;
|
|
59
|
+
constructor(value, config) {
|
|
60
|
+
super();
|
|
61
|
+
if (typeof value !== "number") {
|
|
62
|
+
throw new Error("AnimatedValue: Attempting to set value to undefined");
|
|
63
|
+
}
|
|
64
|
+
this._startingValue = this._value = value;
|
|
65
|
+
this._offset = 0;
|
|
66
|
+
this._animation = null;
|
|
67
|
+
if (config && config.useNativeDriver) {
|
|
68
|
+
this.__makeNative();
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
__detach() {
|
|
72
|
+
if (this.__isNative) {
|
|
73
|
+
NativeAnimatedAPI.getValue(this.__getNativeTag(), value => {
|
|
74
|
+
this._value = value - this._offset;
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
this.stopAnimation();
|
|
78
|
+
super.__detach();
|
|
79
|
+
}
|
|
80
|
+
__getValue() {
|
|
81
|
+
return this._value + this._offset;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Directly set the value. This will stop any animations running on the value
|
|
85
|
+
* and update all the bound properties.
|
|
86
|
+
*
|
|
87
|
+
* See https://reactnative.dev/docs/animatedvalue#setvalue
|
|
88
|
+
*/
|
|
89
|
+
setValue(value) {
|
|
90
|
+
if (this._animation) {
|
|
91
|
+
this._animation.stop();
|
|
92
|
+
this._animation = null;
|
|
93
|
+
}
|
|
94
|
+
this._updateValue(value, !this.__isNative
|
|
95
|
+
/* don't perform a flush for natively driven values */);
|
|
96
|
+
if (this.__isNative) {
|
|
97
|
+
_executeAsAnimatedBatch(this.__getNativeTag().toString(), () => NativeAnimatedAPI.setAnimatedNodeValue(this.__getNativeTag(), value));
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Sets an offset that is applied on top of whatever value is set, whether via
|
|
102
|
+
* `setValue`, an animation, or `Animated.event`. Useful for compensating
|
|
103
|
+
* things like the start of a pan gesture.
|
|
104
|
+
*
|
|
105
|
+
* See https://reactnative.dev/docs/animatedvalue#setoffset
|
|
106
|
+
*/
|
|
107
|
+
setOffset(offset) {
|
|
108
|
+
this._offset = offset;
|
|
109
|
+
if (this.__isNative) {
|
|
110
|
+
NativeAnimatedAPI.setAnimatedNodeOffset(this.__getNativeTag(), offset);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Merges the offset value into the base value and resets the offset to zero.
|
|
115
|
+
* The final output of the value is unchanged.
|
|
116
|
+
*
|
|
117
|
+
* See https://reactnative.dev/docs/animatedvalue#flattenoffset
|
|
118
|
+
*/
|
|
119
|
+
flattenOffset() {
|
|
120
|
+
this._value += this._offset;
|
|
121
|
+
this._offset = 0;
|
|
122
|
+
if (this.__isNative) {
|
|
123
|
+
NativeAnimatedAPI.flattenAnimatedNodeOffset(this.__getNativeTag());
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Sets the offset value to the base value, and resets the base value to zero.
|
|
128
|
+
* The final output of the value is unchanged.
|
|
129
|
+
*
|
|
130
|
+
* See https://reactnative.dev/docs/animatedvalue#extractoffset
|
|
131
|
+
*/
|
|
132
|
+
extractOffset() {
|
|
133
|
+
this._offset += this._value;
|
|
134
|
+
this._value = 0;
|
|
135
|
+
if (this.__isNative) {
|
|
136
|
+
NativeAnimatedAPI.extractAnimatedNodeOffset(this.__getNativeTag());
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Stops any running animation or tracking. `callback` is invoked with the
|
|
141
|
+
* final value after stopping the animation, which is useful for updating
|
|
142
|
+
* state to match the animation position with layout.
|
|
143
|
+
*
|
|
144
|
+
* See https://reactnative.dev/docs/animatedvalue#stopanimation
|
|
145
|
+
*/
|
|
146
|
+
stopAnimation(callback) {
|
|
147
|
+
this.stopTracking();
|
|
148
|
+
this._animation && this._animation.stop();
|
|
149
|
+
this._animation = null;
|
|
150
|
+
if (callback) {
|
|
151
|
+
if (this.__isNative) {
|
|
152
|
+
NativeAnimatedAPI.getValue(this.__getNativeTag(), callback);
|
|
153
|
+
} else {
|
|
154
|
+
callback(this.__getValue());
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Stops any animation and resets the value to its original.
|
|
160
|
+
*
|
|
161
|
+
* See https://reactnative.dev/docs/animatedvalue#resetanimation
|
|
162
|
+
*/
|
|
163
|
+
resetAnimation(callback) {
|
|
164
|
+
this.stopAnimation(callback);
|
|
165
|
+
this._value = this._startingValue;
|
|
166
|
+
if (this.__isNative) {
|
|
167
|
+
NativeAnimatedAPI.setAnimatedNodeValue(this.__getNativeTag(), this._startingValue);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
__onAnimatedValueUpdateReceived(value) {
|
|
171
|
+
this._updateValue(value, false
|
|
172
|
+
/*flush*/);
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Interpolates the value before updating the property, e.g. mapping 0-1 to
|
|
176
|
+
* 0-10.
|
|
177
|
+
*/
|
|
178
|
+
interpolate(config) {
|
|
179
|
+
return new import_AnimatedInterpolation.AnimatedInterpolation(this, config);
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Typically only used internally, but could be used by a custom Animation
|
|
183
|
+
* class.
|
|
184
|
+
*
|
|
185
|
+
* See https://reactnative.dev/docs/animatedvalue#animate
|
|
186
|
+
*/
|
|
187
|
+
animate(animation, callback) {
|
|
188
|
+
let handle = null;
|
|
189
|
+
if (animation.__isInteraction) {
|
|
190
|
+
handle = import_react_native_web_internals.InteractionManager.createInteractionHandle();
|
|
191
|
+
}
|
|
192
|
+
const previousAnimation = this._animation;
|
|
193
|
+
this._animation && this._animation.stop();
|
|
194
|
+
this._animation = animation;
|
|
195
|
+
animation.start(this._value, value => {
|
|
196
|
+
this._updateValue(value, true
|
|
197
|
+
/* flush */);
|
|
198
|
+
}, result => {
|
|
199
|
+
this._animation = null;
|
|
200
|
+
if (handle !== null) {
|
|
201
|
+
import_react_native_web_internals.InteractionManager.clearInteractionHandle(handle);
|
|
202
|
+
}
|
|
203
|
+
callback && callback(result);
|
|
204
|
+
}, previousAnimation, this);
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Typically only used internally.
|
|
208
|
+
*/
|
|
209
|
+
stopTracking() {
|
|
210
|
+
this._tracking && this._tracking.__detach();
|
|
211
|
+
this._tracking = null;
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* Typically only used internally.
|
|
215
|
+
*/
|
|
216
|
+
track(tracking) {
|
|
217
|
+
this.stopTracking();
|
|
218
|
+
this._tracking = tracking;
|
|
219
|
+
this._tracking && this._tracking.update();
|
|
220
|
+
}
|
|
221
|
+
_updateValue(value, flush) {
|
|
222
|
+
if (value === void 0) {
|
|
223
|
+
throw new Error("AnimatedValue: Attempting to set value to undefined");
|
|
224
|
+
}
|
|
225
|
+
this._value = value;
|
|
226
|
+
if (flush) {
|
|
227
|
+
_flush(this);
|
|
228
|
+
}
|
|
229
|
+
super.__callListeners(this.__getValue());
|
|
230
|
+
}
|
|
231
|
+
__getNativeConfig() {
|
|
232
|
+
return {
|
|
233
|
+
type: "value",
|
|
234
|
+
value: this._value,
|
|
235
|
+
offset: this._offset
|
|
236
|
+
};
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
var AnimatedValue_default = AnimatedValue;
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
14
|
+
get: () => from[key],
|
|
15
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: true
|
|
22
|
+
}), mod);
|
|
23
|
+
var AnimatedValueXY_exports = {};
|
|
24
|
+
__export(AnimatedValueXY_exports, {
|
|
25
|
+
AnimatedValueXY: () => AnimatedValueXY,
|
|
26
|
+
default: () => AnimatedValueXY_default
|
|
27
|
+
});
|
|
28
|
+
module.exports = __toCommonJS(AnimatedValueXY_exports);
|
|
29
|
+
var import_AnimatedValue = require("./AnimatedValue.cjs");
|
|
30
|
+
var import_AnimatedWithChildren = require("./AnimatedWithChildren.cjs");
|
|
31
|
+
var import_react_native_web_internals = require("@hanzogui/react-native-web-internals");
|
|
32
|
+
let _uniqueId = 1;
|
|
33
|
+
class AnimatedValueXY extends import_AnimatedWithChildren.AnimatedWithChildren {
|
|
34
|
+
constructor(valueIn) {
|
|
35
|
+
super();
|
|
36
|
+
const value = valueIn || {
|
|
37
|
+
x: 0,
|
|
38
|
+
y: 0
|
|
39
|
+
};
|
|
40
|
+
if (typeof value.x === "number" && typeof value.y === "number") {
|
|
41
|
+
this.x = new import_AnimatedValue.AnimatedValue(value.x);
|
|
42
|
+
this.y = new import_AnimatedValue.AnimatedValue(value.y);
|
|
43
|
+
} else {
|
|
44
|
+
(0, import_react_native_web_internals.invariant)(value.x instanceof import_AnimatedValue.AnimatedValue && value.y instanceof import_AnimatedValue.AnimatedValue, "AnimatedValueXY must be initialized with an object of numbers or AnimatedValues.");
|
|
45
|
+
this.x = value.x;
|
|
46
|
+
this.y = value.y;
|
|
47
|
+
}
|
|
48
|
+
this._listeners = {};
|
|
49
|
+
}
|
|
50
|
+
setValue(value) {
|
|
51
|
+
this.x.setValue(value.x);
|
|
52
|
+
this.y.setValue(value.y);
|
|
53
|
+
}
|
|
54
|
+
setOffset(offset) {
|
|
55
|
+
this.x.setOffset(offset.x);
|
|
56
|
+
this.y.setOffset(offset.y);
|
|
57
|
+
}
|
|
58
|
+
flattenOffset() {
|
|
59
|
+
this.x.flattenOffset();
|
|
60
|
+
this.y.flattenOffset();
|
|
61
|
+
}
|
|
62
|
+
extractOffset() {
|
|
63
|
+
this.x.extractOffset();
|
|
64
|
+
this.y.extractOffset();
|
|
65
|
+
}
|
|
66
|
+
__getValue() {
|
|
67
|
+
return {
|
|
68
|
+
x: this.x.__getValue(),
|
|
69
|
+
y: this.y.__getValue()
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
resetAnimation(callback) {
|
|
73
|
+
this.x.resetAnimation();
|
|
74
|
+
this.y.resetAnimation();
|
|
75
|
+
callback && callback(this.__getValue());
|
|
76
|
+
}
|
|
77
|
+
stopAnimation(callback) {
|
|
78
|
+
this.x.stopAnimation();
|
|
79
|
+
this.y.stopAnimation();
|
|
80
|
+
callback && callback(this.__getValue());
|
|
81
|
+
}
|
|
82
|
+
addListener(callback) {
|
|
83
|
+
const id = String(_uniqueId++);
|
|
84
|
+
const jointCallback = ({
|
|
85
|
+
value
|
|
86
|
+
}) => {
|
|
87
|
+
callback(this.__getValue());
|
|
88
|
+
};
|
|
89
|
+
this._listeners[id] = {
|
|
90
|
+
x: this.x.addListener(jointCallback),
|
|
91
|
+
y: this.y.addListener(jointCallback)
|
|
92
|
+
};
|
|
93
|
+
return id;
|
|
94
|
+
}
|
|
95
|
+
removeListener(id) {
|
|
96
|
+
this.x.removeListener(this._listeners[id].x);
|
|
97
|
+
this.y.removeListener(this._listeners[id].y);
|
|
98
|
+
delete this._listeners[id];
|
|
99
|
+
}
|
|
100
|
+
removeAllListeners() {
|
|
101
|
+
this.x.removeAllListeners();
|
|
102
|
+
this.y.removeAllListeners();
|
|
103
|
+
this._listeners = {};
|
|
104
|
+
}
|
|
105
|
+
getLayout() {
|
|
106
|
+
return {
|
|
107
|
+
left: this.x,
|
|
108
|
+
top: this.y
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
getTranslateTransform() {
|
|
112
|
+
return [{
|
|
113
|
+
translateX: this.x
|
|
114
|
+
}, {
|
|
115
|
+
translateY: this.y
|
|
116
|
+
}];
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
var AnimatedValueXY_default = AnimatedValueXY;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
+
value: true
|
|
24
|
+
}), mod);
|
|
25
|
+
var AnimatedWithChildren_exports = {};
|
|
26
|
+
__export(AnimatedWithChildren_exports, {
|
|
27
|
+
AnimatedWithChildren: () => AnimatedWithChildren,
|
|
28
|
+
default: () => AnimatedWithChildren_default
|
|
29
|
+
});
|
|
30
|
+
module.exports = __toCommonJS(AnimatedWithChildren_exports);
|
|
31
|
+
var import_AnimatedNode = require("./AnimatedNode.cjs");
|
|
32
|
+
var import_NativeAnimatedHelper = require("../NativeAnimatedHelper.cjs");
|
|
33
|
+
class AnimatedWithChildren extends import_AnimatedNode.AnimatedNode {
|
|
34
|
+
_children;
|
|
35
|
+
constructor() {
|
|
36
|
+
super();
|
|
37
|
+
this._children = [];
|
|
38
|
+
}
|
|
39
|
+
__makeNative(platformConfig) {
|
|
40
|
+
if (!this.__isNative) {
|
|
41
|
+
this.__isNative = true;
|
|
42
|
+
for (const child of this._children) {
|
|
43
|
+
child.__makeNative(platformConfig);
|
|
44
|
+
import_NativeAnimatedHelper.NativeAnimatedHelper.API.connectAnimatedNodes(this.__getNativeTag(), child.__getNativeTag());
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
super.__makeNative(platformConfig);
|
|
48
|
+
}
|
|
49
|
+
__addChild(child) {
|
|
50
|
+
if (this._children.length === 0) {
|
|
51
|
+
this.__attach();
|
|
52
|
+
}
|
|
53
|
+
this._children.push(child);
|
|
54
|
+
if (this.__isNative) {
|
|
55
|
+
child.__makeNative(this.__getPlatformConfig());
|
|
56
|
+
import_NativeAnimatedHelper.NativeAnimatedHelper.API.connectAnimatedNodes(this.__getNativeTag(), child.__getNativeTag());
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
__removeChild(child) {
|
|
60
|
+
const index = this._children.indexOf(child);
|
|
61
|
+
if (index === -1) {
|
|
62
|
+
console.warn("Trying to remove a child that doesn't exist");
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
if (this.__isNative && child.__isNative) {
|
|
66
|
+
import_NativeAnimatedHelper.NativeAnimatedHelper.API.disconnectAnimatedNodes(this.__getNativeTag(), child.__getNativeTag());
|
|
67
|
+
}
|
|
68
|
+
this._children.splice(index, 1);
|
|
69
|
+
if (this._children.length === 0) {
|
|
70
|
+
this.__detach();
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
__getChildren() {
|
|
74
|
+
return this._children;
|
|
75
|
+
}
|
|
76
|
+
__callListeners(value) {
|
|
77
|
+
super.__callListeners(value);
|
|
78
|
+
if (!this.__isNative) {
|
|
79
|
+
for (const child of this._children) {
|
|
80
|
+
if (child.__getValue) {
|
|
81
|
+
child.__callListeners(child.__getValue());
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
var AnimatedWithChildren_default = AnimatedWithChildren;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
+
value: true
|
|
24
|
+
}), mod);
|
|
25
|
+
var useAnimatedProps_exports = {};
|
|
26
|
+
__export(useAnimatedProps_exports, {
|
|
27
|
+
default: () => useAnimatedProps_default,
|
|
28
|
+
useAnimatedProps: () => useAnimatedProps
|
|
29
|
+
});
|
|
30
|
+
module.exports = __toCommonJS(useAnimatedProps_exports);
|
|
31
|
+
var import_AnimatedProps = require("./nodes/AnimatedProps.cjs");
|
|
32
|
+
var import_AnimatedEvent = require("./AnimatedEvent.cjs");
|
|
33
|
+
var import_useRefEffect = require("../Utilities/useRefEffect.cjs");
|
|
34
|
+
var import_NativeAnimatedHelper = require("./NativeAnimatedHelper.cjs");
|
|
35
|
+
var import_react = require("react");
|
|
36
|
+
var import_react_native_web_internals = require("@hanzogui/react-native-web-internals");
|
|
37
|
+
function useAnimatedProps(props) {
|
|
38
|
+
const [, scheduleUpdate] = (0, import_react.useReducer)(count => count + 1, 0);
|
|
39
|
+
const onUpdateRef = (0, import_react.useRef)(null);
|
|
40
|
+
const node = (0, import_react.useMemo)(() => new import_AnimatedProps.AnimatedProps(props, () => onUpdateRef.current?.()), [props]);
|
|
41
|
+
useAnimatedPropsLifecycle(node);
|
|
42
|
+
const refEffect = (0, import_react.useCallback)(instance => {
|
|
43
|
+
node.setNativeView(instance);
|
|
44
|
+
onUpdateRef.current = () => {
|
|
45
|
+
scheduleUpdate();
|
|
46
|
+
};
|
|
47
|
+
const target = getEventTarget(instance);
|
|
48
|
+
const events = [];
|
|
49
|
+
for (const propName in props) {
|
|
50
|
+
const propValue = props[propName];
|
|
51
|
+
if (propValue instanceof import_AnimatedEvent.AnimatedEvent && propValue.__isNative) {
|
|
52
|
+
propValue.__attach(target, propName);
|
|
53
|
+
events.push([propName, propValue]);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return () => {
|
|
57
|
+
onUpdateRef.current = null;
|
|
58
|
+
for (const [propName, propValue] of events) {
|
|
59
|
+
propValue.__detach(target, propName);
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
}, [props, node]);
|
|
63
|
+
const callbackRef = (0, import_useRefEffect.useRefEffect)(refEffect);
|
|
64
|
+
return [reduceAnimatedProps(node), callbackRef];
|
|
65
|
+
}
|
|
66
|
+
function reduceAnimatedProps(node) {
|
|
67
|
+
return {
|
|
68
|
+
...node.__getValue(),
|
|
69
|
+
collapsable: false
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
function useAnimatedPropsLifecycle(node) {
|
|
73
|
+
const prevNodeRef = (0, import_react.useRef)(null);
|
|
74
|
+
const isUnmountingRef = (0, import_react.useRef)(false);
|
|
75
|
+
(0, import_react.useEffect)(() => {
|
|
76
|
+
import_NativeAnimatedHelper.NativeAnimatedHelper.API.flushQueue();
|
|
77
|
+
});
|
|
78
|
+
(0, import_react_native_web_internals.useLayoutEffect)(() => {
|
|
79
|
+
isUnmountingRef.current = false;
|
|
80
|
+
return () => {
|
|
81
|
+
isUnmountingRef.current = true;
|
|
82
|
+
};
|
|
83
|
+
}, []);
|
|
84
|
+
(0, import_react_native_web_internals.useLayoutEffect)(() => {
|
|
85
|
+
node.__attach();
|
|
86
|
+
if (prevNodeRef.current != null) {
|
|
87
|
+
const prevNode = prevNodeRef.current;
|
|
88
|
+
prevNode.__restoreDefaultValues();
|
|
89
|
+
prevNode.__detach();
|
|
90
|
+
prevNodeRef.current = null;
|
|
91
|
+
}
|
|
92
|
+
return () => {
|
|
93
|
+
if (isUnmountingRef.current) {
|
|
94
|
+
node.__detach();
|
|
95
|
+
} else {
|
|
96
|
+
prevNodeRef.current = node;
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
}, [node]);
|
|
100
|
+
}
|
|
101
|
+
function getEventTarget(instance) {
|
|
102
|
+
return typeof instance === "object" && typeof instance?.getScrollableNode === "function" ? instance.getScrollableNode() : instance;
|
|
103
|
+
}
|
|
104
|
+
var useAnimatedProps_default = useAnimatedProps;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
+
value: true
|
|
24
|
+
}), mod);
|
|
25
|
+
var Batchinator_exports = {};
|
|
26
|
+
__export(Batchinator_exports, {
|
|
27
|
+
Batchinator: () => Batchinator,
|
|
28
|
+
default: () => Batchinator_default
|
|
29
|
+
});
|
|
30
|
+
module.exports = __toCommonJS(Batchinator_exports);
|
|
31
|
+
var import_react_native_web_internals = require("@hanzogui/react-native-web-internals");
|
|
32
|
+
class Batchinator {
|
|
33
|
+
_callback;
|
|
34
|
+
_delay;
|
|
35
|
+
_taskHandle;
|
|
36
|
+
constructor(callback, delayMS) {
|
|
37
|
+
this._delay = delayMS;
|
|
38
|
+
this._callback = callback;
|
|
39
|
+
}
|
|
40
|
+
/*
|
|
41
|
+
* Cleanup any pending tasks.
|
|
42
|
+
*
|
|
43
|
+
* By default, if there is a pending task the callback is run immediately. Set the option abort to
|
|
44
|
+
* true to not call the callback if it was pending.
|
|
45
|
+
*/
|
|
46
|
+
dispose(options = {
|
|
47
|
+
abort: false
|
|
48
|
+
}) {
|
|
49
|
+
if (this._taskHandle) {
|
|
50
|
+
this._taskHandle.cancel();
|
|
51
|
+
if (!options.abort) {
|
|
52
|
+
this._callback();
|
|
53
|
+
}
|
|
54
|
+
this._taskHandle = null;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
schedule() {
|
|
58
|
+
if (this._taskHandle) {
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
const timeoutHandle = setTimeout(() => {
|
|
62
|
+
this._taskHandle = import_react_native_web_internals.InteractionManager.runAfterInteractions(() => {
|
|
63
|
+
this._taskHandle = null;
|
|
64
|
+
this._callback();
|
|
65
|
+
});
|
|
66
|
+
}, this._delay);
|
|
67
|
+
this._taskHandle = {
|
|
68
|
+
cancel: () => clearTimeout(timeoutHandle)
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
var Batchinator_default = Batchinator;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
+
value: true
|
|
24
|
+
}), mod);
|
|
25
|
+
var NativeEventEmitter_exports = {};
|
|
26
|
+
__export(NativeEventEmitter_exports, {
|
|
27
|
+
NativeEventEmitter: () => NativeEventEmitter,
|
|
28
|
+
default: () => NativeEventEmitter_default
|
|
29
|
+
});
|
|
30
|
+
module.exports = __toCommonJS(NativeEventEmitter_exports);
|
|
31
|
+
var import_react_native_web_internals = require("@hanzogui/react-native-web-internals");
|
|
32
|
+
var import_RCTDeviceEventEmitter = require("./RCTDeviceEventEmitter.cjs");
|
|
33
|
+
class NativeEventEmitter {
|
|
34
|
+
_nativeModule;
|
|
35
|
+
constructor(nativeModule) {
|
|
36
|
+
if (import_react_native_web_internals.Platform.OS === "ios") {
|
|
37
|
+
(0, import_react_native_web_internals.invariant)(nativeModule != null, "`new NativeEventEmitter()` requires a non-null argument.");
|
|
38
|
+
this._nativeModule = nativeModule;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
addListener(eventType, listener, context) {
|
|
42
|
+
this._nativeModule?.addListener(eventType);
|
|
43
|
+
let subscription = import_RCTDeviceEventEmitter.RCTDeviceEventEmitter.addListener(eventType, listener, context);
|
|
44
|
+
return {
|
|
45
|
+
remove: () => {
|
|
46
|
+
if (subscription != null) {
|
|
47
|
+
this._nativeModule?.removeListeners(1);
|
|
48
|
+
subscription.remove();
|
|
49
|
+
subscription = null;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* @deprecated Use `remove` on the EventSubscription from `addListener`.
|
|
56
|
+
*/
|
|
57
|
+
removeListener(eventType, listener) {
|
|
58
|
+
this._nativeModule?.removeListeners(1);
|
|
59
|
+
import_RCTDeviceEventEmitter.RCTDeviceEventEmitter.removeListener(eventType, listener);
|
|
60
|
+
}
|
|
61
|
+
emit(eventType, ...args) {
|
|
62
|
+
import_RCTDeviceEventEmitter.RCTDeviceEventEmitter.emit(eventType, ...args);
|
|
63
|
+
}
|
|
64
|
+
removeAllListeners(eventType) {
|
|
65
|
+
(0, import_react_native_web_internals.invariant)(eventType != null, "`NativeEventEmitter.removeAllListener()` requires a non-null argument.");
|
|
66
|
+
this._nativeModule?.removeListeners(this.listenerCount(eventType));
|
|
67
|
+
import_RCTDeviceEventEmitter.RCTDeviceEventEmitter.removeAllListeners(eventType);
|
|
68
|
+
}
|
|
69
|
+
listenerCount(eventType) {
|
|
70
|
+
return import_RCTDeviceEventEmitter.RCTDeviceEventEmitter.listenerCount(eventType);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
var NativeEventEmitter_default = NativeEventEmitter;
|