@tamagui/react-native-web-lite 1.129.12 → 1.129.14
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/dist/cjs/InteractionManager/index.cjs +3 -2
- package/dist/cjs/InteractionManager/index.js +2 -2
- package/dist/cjs/InteractionManager/index.js.map +2 -2
- package/dist/cjs/InteractionManager/index.native.js +2 -2
- package/dist/cjs/InteractionManager/index.native.js.map +1 -1
- package/dist/cjs/ScrollView/index.cjs +172 -4
- package/dist/cjs/ScrollView/index.js +153 -5
- package/dist/cjs/ScrollView/index.js.map +2 -2
- package/dist/cjs/ScrollView/index.native.js +155 -7
- package/dist/cjs/ScrollView/index.native.js.map +2 -2
- package/dist/cjs/SectionList.cjs +38 -0
- package/dist/cjs/SectionList.js +29 -0
- package/dist/cjs/SectionList.js.map +6 -0
- package/dist/cjs/SectionList.native.js +30 -0
- package/dist/cjs/SectionList.native.js.map +6 -0
- package/dist/cjs/TextInput/index.cjs +18 -2
- package/dist/cjs/TextInput/index.js +20 -3
- package/dist/cjs/TextInput/index.js.map +1 -1
- package/dist/cjs/TextInput/index.native.js +19 -4
- package/dist/cjs/TextInput/index.native.js.map +2 -2
- package/dist/cjs/TouchableNativeFeedback.cjs +38 -0
- package/dist/cjs/TouchableNativeFeedback.js +29 -0
- package/dist/cjs/TouchableNativeFeedback.js.map +6 -0
- package/dist/cjs/TouchableNativeFeedback.native.js +30 -0
- package/dist/cjs/TouchableNativeFeedback.native.js.map +6 -0
- package/dist/cjs/VirtualizedList.cjs +38 -0
- package/dist/cjs/VirtualizedList.js +29 -0
- package/dist/cjs/VirtualizedList.js.map +6 -0
- package/dist/cjs/VirtualizedList.native.js +30 -0
- package/dist/cjs/VirtualizedList.native.js.map +6 -0
- package/dist/cjs/createElement/index.cjs +3 -3
- package/dist/cjs/createElement/index.js +3 -3
- package/dist/cjs/createElement/index.js.map +1 -1
- package/dist/cjs/createElement/index.native.js +3 -3
- package/dist/cjs/createElement/index.native.js.map +1 -1
- package/dist/cjs/index.cjs +6 -4
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.native.js +3 -3
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/modules/requestIdleCallback.cjs +44 -0
- package/dist/cjs/modules/requestIdleCallback.js +35 -0
- package/dist/cjs/modules/requestIdleCallback.js.map +6 -0
- package/dist/cjs/modules/requestIdleCallback.native.js +39 -0
- package/dist/cjs/modules/requestIdleCallback.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/Animated/Animated.cjs +15 -12
- package/dist/cjs/vendor/react-native/Animated/Animated.js +6 -2
- package/dist/cjs/vendor/react-native/Animated/Animated.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/Animated.native.js +4 -2
- package/dist/cjs/vendor/react-native/Animated/Animated.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.cjs +26 -27
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js +24 -28
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.native.js +23 -20
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.cjs +236 -234
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js +59 -79
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.native.js +34 -29
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.cjs +39 -40
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js +13 -18
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.native.js +6 -4
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/Easing.cjs +11 -12
- package/dist/cjs/vendor/react-native/Animated/Easing.js +11 -11
- package/dist/cjs/vendor/react-native/Animated/Easing.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/Easing.native.js +11 -11
- package/dist/cjs/vendor/react-native/Animated/Easing.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.cjs +28 -36
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js +26 -33
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.native.js +48 -48
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.cjs +40 -2
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.js +61 -1
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.native.js +67 -1
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.cjs +37 -2
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.js +56 -1
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js +62 -1
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/SpringConfig.cjs +5 -7
- package/dist/cjs/vendor/react-native/Animated/SpringConfig.js +5 -6
- package/dist/cjs/vendor/react-native/Animated/SpringConfig.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/SpringConfig.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.cjs +10 -5
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.js +16 -6
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.native.js +10 -2
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.cjs +12 -5
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.js +13 -10
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.native.js +17 -3
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.cjs +53 -42
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.js +55 -39
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.native.js +41 -13
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.cjs +20 -9
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.js +21 -16
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.native.js +22 -3
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/bezier.cjs +16 -18
- package/dist/cjs/vendor/react-native/Animated/bezier.js +22 -13
- package/dist/cjs/vendor/react-native/Animated/bezier.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/bezier.native.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.cjs +46 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.js +31 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.js.map +6 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.native.js +36 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js +1 -1
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.native.js +1 -1
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.native.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.cjs +7 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js +3 -10
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.native.js +2 -2
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.native.js.map +3 -3
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.cjs +46 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.js +31 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.js.map +6 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.native.js +36 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.cjs +1 -2
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js +1 -1
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.native.js +1 -1
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.native.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.cjs +1 -2
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js +1 -1
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.native.js +1 -1
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.native.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.cjs +17 -18
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js +14 -11
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js.map +3 -3
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.native.js +3 -3
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.native.js.map +3 -3
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.cjs +2 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.js +2 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.native.js +9 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.cjs +35 -49
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.js +32 -51
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.native.js +23 -32
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.cjs +6 -3
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +6 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js +10 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.cjs +5 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.js +5 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.native.js +9 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.cjs +26 -31
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.js +24 -25
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.js.map +3 -3
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js +13 -13
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.cjs +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.js +2 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.native.js +10 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.native.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.cjs +2 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +2 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js +9 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.cjs +14 -9
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.js +14 -9
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.native.js +13 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.cjs +21 -23
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.js +22 -20
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.native.js +2 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.native.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.cjs +25 -25
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.js +23 -21
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.native.js +12 -3
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.cjs +2 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +2 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js +9 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.cjs +14 -9
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.js +12 -12
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.native.js +14 -4
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.cjs +20 -19
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.js +18 -17
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.native.js +10 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.native.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.cjs +12 -7
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.js +10 -4
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.native.js +10 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.cjs +8 -76
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.js +5 -83
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.js.map +1 -1
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js +4 -70
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.cjs +5 -11
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +17 -11
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js +42 -9
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.cjs +16 -25
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.js +14 -22
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.js.map +2 -2
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.native.js +24 -16
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.native.js.map +2 -2
- package/dist/cjs/{Batchinator → vendor/react-native/Batchinator}/index.cjs +9 -18
- package/dist/cjs/{Batchinator → vendor/react-native/Batchinator}/index.js +6 -13
- package/dist/cjs/vendor/react-native/Batchinator/index.js.map +6 -0
- package/dist/cjs/{Batchinator → vendor/react-native/Batchinator}/index.native.js +5 -14
- package/dist/cjs/vendor/react-native/Batchinator/index.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/{NativeEventEmitter/index.cjs → EventEmitter/NativeEventEmitter.cjs} +8 -15
- package/dist/cjs/vendor/react-native/{NativeEventEmitter/index.js → EventEmitter/NativeEventEmitter.js} +10 -17
- package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.js.map +6 -0
- package/dist/cjs/vendor/react-native/{NativeEventEmitter/index.native.js → EventEmitter/NativeEventEmitter.native.js} +19 -11
- package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js.map +6 -0
- package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/FillRateHelper/index.cjs +3 -3
- package/dist/cjs/vendor/react-native/FillRateHelper/index.js +3 -3
- package/dist/cjs/vendor/react-native/FillRateHelper/index.js.map +2 -2
- package/dist/cjs/vendor/react-native/FillRateHelper/index.native.js +5 -4
- package/dist/cjs/vendor/react-native/FillRateHelper/index.native.js.map +3 -3
- package/dist/cjs/vendor/react-native/FlatList/index.cjs +262 -0
- package/dist/cjs/vendor/react-native/FlatList/index.js +270 -0
- package/dist/cjs/vendor/react-native/FlatList/index.js.map +6 -0
- package/dist/cjs/vendor/react-native/FlatList/index.native.js +352 -0
- package/dist/cjs/vendor/react-native/FlatList/index.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.cjs +88 -0
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.js +64 -0
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.js.map +6 -0
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.native.js +69 -0
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.cjs +121 -0
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.js +108 -0
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.js.map +6 -0
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.native.js +112 -0
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/PanResponder/index.cjs +22 -209
- package/dist/cjs/vendor/react-native/PanResponder/index.js +16 -212
- package/dist/cjs/vendor/react-native/PanResponder/index.js.map +3 -3
- package/dist/cjs/vendor/react-native/PanResponder/index.native.js +29 -200
- package/dist/cjs/vendor/react-native/PanResponder/index.native.js.map +3 -3
- package/dist/cjs/vendor/react-native/PooledClass/index.cjs +47 -0
- package/dist/cjs/vendor/react-native/PooledClass/index.js +37 -0
- package/dist/cjs/vendor/react-native/PooledClass/index.js.map +6 -0
- package/dist/cjs/vendor/react-native/PooledClass/index.native.js +38 -0
- package/dist/cjs/vendor/react-native/PooledClass/index.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.cjs +33 -0
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +28 -0
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js.map +6 -0
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.native.js +38 -0
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/SectionList/index.cjs +102 -0
- package/dist/cjs/vendor/react-native/SectionList/index.js +85 -0
- package/dist/cjs/vendor/react-native/SectionList/index.js.map +6 -0
- package/dist/cjs/vendor/react-native/SectionList/index.native.js +190 -0
- package/dist/cjs/vendor/react-native/SectionList/index.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/StaticContainer/index.cjs +49 -0
- package/dist/cjs/vendor/react-native/StaticContainer/index.js +40 -0
- package/dist/cjs/vendor/react-native/StaticContainer/index.js.map +6 -0
- package/dist/cjs/vendor/react-native/StaticContainer/index.native.js +110 -0
- package/dist/cjs/vendor/react-native/StaticContainer/index.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/StaticRenderer/index.cjs +48 -0
- package/dist/cjs/vendor/react-native/StaticRenderer/index.js +39 -0
- package/dist/cjs/vendor/react-native/StaticRenderer/index.js.map +6 -0
- package/dist/cjs/vendor/react-native/StaticRenderer/index.native.js +109 -0
- package/dist/cjs/vendor/react-native/StaticRenderer/index.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/TouchHistoryMath/index.js.map +2 -2
- package/dist/cjs/vendor/react-native/TouchHistoryMath/index.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.cjs +34 -1
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js +25 -0
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js.map +2 -2
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.native.js +32 -0
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.native.js.map +3 -3
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.cjs +3 -1
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js +6 -1
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js.map +2 -2
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.native.js +3 -1
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.cjs +158 -8
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js +123 -1
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js.map +2 -2
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.native.js +159 -1
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.native.js.map +3 -3
- package/dist/cjs/vendor/react-native/Utilities/Platform.cjs +27 -0
- package/dist/cjs/vendor/react-native/Utilities/Platform.js +21 -0
- package/dist/cjs/vendor/react-native/Utilities/Platform.js.map +6 -0
- package/dist/cjs/vendor/react-native/Utilities/Platform.native.js +22 -0
- package/dist/cjs/vendor/react-native/Utilities/Platform.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/Utilities/clamp.cjs +2 -0
- package/dist/cjs/vendor/react-native/Utilities/clamp.js +1 -0
- package/dist/cjs/vendor/react-native/Utilities/clamp.js.map +2 -2
- package/dist/cjs/vendor/react-native/Utilities/clamp.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.cjs +5 -4
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js +5 -3
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js.map +1 -1
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.native.js +2 -2
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.cjs +33 -0
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.js +31 -0
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.js.map +6 -0
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.native.js +46 -0
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.cjs +32 -0
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.js +30 -0
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.js.map +6 -0
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.native.js +30 -0
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.cjs +142 -0
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.js +152 -0
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.js.map +6 -0
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.native.js +205 -0
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/VirtualizeUtils/index.js.map +2 -2
- package/dist/cjs/vendor/react-native/VirtualizeUtils/index.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.cjs +1 -3
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.js +2 -8
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.js.map +2 -2
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.native.js +1 -9
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.native.js.map +3 -3
- package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.js.map +2 -2
- package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.cjs +3 -3
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.js +3 -3
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.js.map +3 -3
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js +3 -3
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.cjs +16 -9
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js +16 -7
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js.map +3 -3
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js +19 -11
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.cjs +4 -3
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.js +6 -13
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.js.map +2 -2
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js +2 -1
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js.map +3 -3
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.cjs +56 -8
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.js +46 -1
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.js.map +2 -2
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js +49 -1
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js.map +3 -3
- package/dist/cjs/vendor/react-native/VirtualizedList/index.cjs +136 -865
- package/dist/cjs/vendor/react-native/VirtualizedList/index.js +126 -894
- package/dist/cjs/vendor/react-native/VirtualizedList/index.js.map +3 -3
- package/dist/cjs/vendor/react-native/VirtualizedList/index.native.js +92 -853
- package/dist/cjs/vendor/react-native/VirtualizedList/index.native.js.map +3 -3
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.cjs +129 -0
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.js +118 -0
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.js.map +6 -0
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.native.js +219 -0
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.native.js.map +6 -0
- package/dist/cjs/vendor/react-native/deepDiffer/index.cjs +5 -3
- package/dist/cjs/vendor/react-native/deepDiffer/index.js +4 -3
- package/dist/cjs/vendor/react-native/deepDiffer/index.js.map +3 -3
- package/dist/cjs/vendor/react-native/deepDiffer/index.native.js +3 -3
- package/dist/cjs/vendor/react-native/deepDiffer/index.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/infoLog/index.js.map +2 -2
- package/dist/cjs/vendor/react-native/infoLog/index.native.js.map +2 -2
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.cjs +86 -0
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.js +85 -0
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.js.map +6 -0
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.native.js +163 -0
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.native.js.map +6 -0
- package/dist/cjs/without-animated.cjs +1 -1
- package/dist/cjs/without-animated.js +1 -1
- package/dist/cjs/without-animated.js.map +1 -1
- package/dist/cjs/without-animated.native.js +1 -1
- package/dist/cjs/without-animated.native.js.map +1 -1
- package/dist/esm/InteractionManager/index.js +1 -0
- package/dist/esm/InteractionManager/index.js.map +1 -1
- package/dist/esm/InteractionManager/index.mjs +1 -0
- package/dist/esm/InteractionManager/index.mjs.map +1 -1
- package/dist/esm/InteractionManager/index.native.js +1 -0
- package/dist/esm/InteractionManager/index.native.js.map +1 -1
- package/dist/esm/ScrollView/index.js +155 -4
- package/dist/esm/ScrollView/index.js.map +1 -1
- package/dist/esm/ScrollView/index.mjs +173 -5
- package/dist/esm/ScrollView/index.mjs.map +1 -1
- package/dist/esm/ScrollView/index.native.js +176 -7
- package/dist/esm/ScrollView/index.native.js.map +1 -1
- package/dist/esm/SectionList.js +6 -0
- package/dist/esm/SectionList.js.map +6 -0
- package/dist/esm/SectionList.mjs +4 -0
- package/dist/esm/SectionList.mjs.map +1 -0
- package/dist/esm/SectionList.native.js +4 -0
- package/dist/esm/SectionList.native.js.map +1 -0
- package/dist/esm/TextInput/index.js +20 -3
- package/dist/esm/TextInput/index.js.map +1 -1
- package/dist/esm/TextInput/index.mjs +18 -2
- package/dist/esm/TextInput/index.mjs.map +1 -1
- package/dist/esm/TextInput/index.native.js +18 -2
- package/dist/esm/TextInput/index.native.js.map +1 -1
- package/dist/esm/TouchableNativeFeedback.js +6 -0
- package/dist/esm/TouchableNativeFeedback.js.map +6 -0
- package/dist/esm/TouchableNativeFeedback.mjs +4 -0
- package/dist/esm/TouchableNativeFeedback.mjs.map +1 -0
- package/dist/esm/TouchableNativeFeedback.native.js +4 -0
- package/dist/esm/TouchableNativeFeedback.native.js.map +1 -0
- package/dist/esm/VirtualizedList.js +6 -0
- package/dist/esm/VirtualizedList.js.map +6 -0
- package/dist/esm/VirtualizedList.mjs +4 -0
- package/dist/esm/VirtualizedList.mjs.map +1 -0
- package/dist/esm/VirtualizedList.native.js +4 -0
- package/dist/esm/VirtualizedList.native.js.map +1 -0
- package/dist/esm/createElement/index.js +3 -3
- package/dist/esm/createElement/index.js.map +1 -1
- package/dist/esm/createElement/index.mjs +3 -3
- package/dist/esm/createElement/index.mjs.map +1 -1
- package/dist/esm/createElement/index.native.js +3 -3
- package/dist/esm/createElement/index.native.js.map +1 -1
- package/dist/esm/index.js +12 -12
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.mjs +6 -4
- package/dist/esm/index.mjs.map +1 -1
- package/dist/esm/index.native.js +6 -4
- package/dist/esm/index.native.js.map +1 -1
- package/dist/esm/modules/requestIdleCallback.js +19 -0
- package/dist/esm/modules/requestIdleCallback.js.map +6 -0
- package/dist/esm/modules/requestIdleCallback.mjs +20 -0
- package/dist/esm/modules/requestIdleCallback.mjs.map +1 -0
- package/dist/esm/modules/requestIdleCallback.native.js +20 -0
- package/dist/esm/modules/requestIdleCallback.native.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/Animated.js +9 -5
- package/dist/esm/vendor/react-native/Animated/Animated.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/Animated.mjs +14 -11
- package/dist/esm/vendor/react-native/Animated/Animated.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/Animated.native.js +7 -4
- package/dist/esm/vendor/react-native/Animated/Animated.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.js +25 -30
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.js.map +2 -2
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs +25 -26
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js +21 -14
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.js +65 -84
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.js.map +2 -2
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs +236 -234
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.native.js +49 -43
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.js +14 -20
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs +38 -39
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.native.js +8 -7
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/Easing.js +10 -11
- package/dist/esm/vendor/react-native/Animated/Easing.js.map +2 -2
- package/dist/esm/vendor/react-native/Animated/Easing.mjs +10 -11
- package/dist/esm/vendor/react-native/Animated/Easing.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/Easing.native.js +12 -11
- package/dist/esm/vendor/react-native/Animated/Easing.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.js +27 -34
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs +24 -32
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.native.js +45 -44
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.js +60 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs +35 -2
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.native.js +35 -2
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.js +55 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs +32 -2
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js +32 -2
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/SpringConfig.js +5 -5
- package/dist/esm/vendor/react-native/Animated/SpringConfig.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs +5 -5
- package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/SpringConfig.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/Animation.js +15 -6
- package/dist/esm/vendor/react-native/Animated/animations/Animation.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs +9 -4
- package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/Animation.native.js +10 -2
- package/dist/esm/vendor/react-native/Animated/animations/Animation.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.js +13 -10
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs +11 -4
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.native.js +17 -3
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.js +56 -40
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs +52 -41
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.native.js +46 -16
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.js +21 -16
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs +20 -7
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.native.js +23 -3
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/bezier.js +22 -13
- package/dist/esm/vendor/react-native/Animated/bezier.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/bezier.mjs +16 -18
- package/dist/esm/vendor/react-native/Animated/bezier.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/bezier.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.js +10 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.js.map +6 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs +12 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.native.js +14 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.native.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.js +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.native.js +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.js +4 -11
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.js.map +2 -2
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs +8 -7
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.native.js +3 -2
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.js +10 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.js.map +6 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs +12 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.native.js +14 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.native.js.map +1 -0
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.js +1 -2
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.mjs +1 -2
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.native.js +1 -2
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.js +1 -2
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.mjs +1 -2
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.native.js +1 -2
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.js +16 -12
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.js.map +2 -2
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.mjs +15 -16
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.native.js +11 -11
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.js +2 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs +2 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.native.js +9 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.js +33 -52
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs +34 -46
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.native.js +27 -32
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +6 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs +6 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js +11 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.js +5 -2
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs +5 -2
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.native.js +9 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.js +25 -28
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.js.map +2 -2
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs +26 -31
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js +13 -12
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.js +2 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs +2 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.native.js +11 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +2 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs +2 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js +9 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.js +14 -10
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs +13 -8
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.native.js +13 -5
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.js +23 -20
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs +19 -19
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.native.js +4 -2
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.js +24 -22
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs +24 -22
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.native.js +14 -4
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +2 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs +2 -0
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js +9 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.js +13 -11
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs +13 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.native.js +16 -4
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.js +18 -17
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs +18 -17
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.native.js +10 -2
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.js +11 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs +11 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.native.js +11 -3
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.js +5 -83
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs +7 -73
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js +7 -70
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +16 -11
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs +4 -10
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js +43 -8
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.js +15 -31
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.js.map +1 -1
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs +14 -23
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.native.js +25 -19
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.native.js.map +1 -1
- package/dist/esm/{Batchinator → vendor/react-native/Batchinator}/index.js +2 -2
- package/dist/esm/vendor/react-native/Batchinator/index.js.map +6 -0
- package/dist/esm/{Batchinator → vendor/react-native/Batchinator}/index.mjs +2 -2
- package/dist/esm/vendor/react-native/Batchinator/index.mjs.map +1 -0
- package/dist/esm/{Batchinator → vendor/react-native/Batchinator}/index.native.js +2 -4
- package/dist/esm/vendor/react-native/Batchinator/index.native.js.map +1 -0
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.js +42 -0
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.js.map +6 -0
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs +34 -0
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs.map +1 -0
- package/dist/esm/vendor/react-native/{NativeEventEmitter/index.native.js → EventEmitter/NativeEventEmitter.native.js} +19 -12
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.native.js.map +1 -0
- package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js.map +6 -0
- package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.mjs.map +1 -0
- package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.native.js.map +1 -0
- package/dist/esm/vendor/react-native/FillRateHelper/index.js +3 -3
- package/dist/esm/vendor/react-native/FillRateHelper/index.js.map +2 -2
- package/dist/esm/vendor/react-native/FillRateHelper/index.mjs +3 -3
- package/dist/esm/vendor/react-native/FillRateHelper/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/FillRateHelper/index.native.js +7 -7
- package/dist/esm/vendor/react-native/FillRateHelper/index.native.js.map +1 -1
- package/dist/esm/vendor/react-native/FlatList/index.js +254 -0
- package/dist/esm/vendor/react-native/FlatList/index.js.map +6 -0
- package/dist/esm/vendor/react-native/FlatList/index.mjs +228 -0
- package/dist/esm/vendor/react-native/FlatList/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/FlatList/index.native.js +330 -0
- package/dist/esm/vendor/react-native/FlatList/index.native.js.map +1 -0
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.js +39 -0
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.js.map +6 -0
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs +52 -0
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.native.js +53 -0
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.native.js.map +1 -0
- package/dist/esm/vendor/react-native/LayoutAnimation/index.js +84 -0
- package/dist/esm/vendor/react-native/LayoutAnimation/index.js.map +6 -0
- package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs +85 -0
- package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/LayoutAnimation/index.native.js +86 -0
- package/dist/esm/vendor/react-native/LayoutAnimation/index.native.js.map +1 -0
- package/dist/esm/vendor/react-native/PanResponder/index.js +14 -202
- package/dist/esm/vendor/react-native/PanResponder/index.js.map +2 -2
- package/dist/esm/vendor/react-native/PanResponder/index.mjs +18 -192
- package/dist/esm/vendor/react-native/PanResponder/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/PanResponder/index.native.js +33 -192
- package/dist/esm/vendor/react-native/PanResponder/index.native.js.map +1 -1
- package/dist/esm/vendor/react-native/PooledClass/index.js +21 -0
- package/dist/esm/vendor/react-native/PooledClass/index.js.map +6 -0
- package/dist/esm/vendor/react-native/PooledClass/index.mjs +24 -0
- package/dist/esm/vendor/react-native/PooledClass/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/PooledClass/index.native.js +24 -0
- package/dist/esm/vendor/react-native/PooledClass/index.native.js.map +1 -0
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +12 -0
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js.map +6 -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/ReactNative/ReactNativeFeatureFlags.native.js +20 -0
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.native.js.map +1 -0
- package/dist/esm/vendor/react-native/SectionList/index.js +63 -0
- package/dist/esm/vendor/react-native/SectionList/index.js.map +6 -0
- package/dist/esm/vendor/react-native/SectionList/index.mjs +68 -0
- package/dist/esm/vendor/react-native/SectionList/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/SectionList/index.native.js +161 -0
- package/dist/esm/vendor/react-native/SectionList/index.native.js.map +1 -0
- package/dist/esm/vendor/react-native/StaticContainer/index.js +15 -0
- package/dist/esm/vendor/react-native/StaticContainer/index.js.map +6 -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/StaticContainer/index.native.js +77 -0
- package/dist/esm/vendor/react-native/StaticContainer/index.native.js.map +1 -0
- package/dist/esm/vendor/react-native/StaticRenderer/index.js +14 -0
- package/dist/esm/vendor/react-native/StaticRenderer/index.js.map +6 -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/StaticRenderer/index.native.js +76 -0
- package/dist/esm/vendor/react-native/StaticRenderer/index.native.js.map +1 -0
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.js.map +2 -2
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.native.js.map +1 -1
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.js +9 -0
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.js.map +2 -2
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs +7 -1
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs.map +1 -1
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.native.js +9 -1
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.native.js.map +1 -1
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.js +6 -1
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.js.map +1 -1
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs +3 -1
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs.map +1 -1
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.native.js +3 -1
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.js +119 -0
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.js.map +2 -2
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs +131 -1
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.native.js +135 -1
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Utilities/Platform.js +6 -0
- package/dist/esm/vendor/react-native/Utilities/Platform.js.map +6 -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/Platform.native.js +4 -0
- package/dist/esm/vendor/react-native/Utilities/Platform.native.js.map +1 -0
- package/dist/esm/vendor/react-native/Utilities/clamp.js.map +2 -2
- package/dist/esm/vendor/react-native/Utilities/clamp.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Utilities/clamp.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.js +5 -3
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.js.map +1 -1
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs +5 -4
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.native.js +5 -3
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.native.js.map +1 -1
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.js +15 -0
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.js.map +6 -0
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs +10 -0
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.native.js +25 -0
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.native.js.map +1 -0
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.js +14 -0
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.js.map +6 -0
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs +9 -0
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs.map +1 -0
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.native.js +9 -0
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.native.js.map +1 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.js +135 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.js.map +6 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs +117 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.native.js +185 -0
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.native.js.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.js.map +2 -2
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.native.js.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.js +2 -8
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.js.map +2 -2
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs +1 -3
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.native.js +1 -9
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.native.js.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.js.map +2 -2
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.native.js.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.js +2 -2
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.js.map +2 -2
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs +2 -2
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js +2 -2
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js +16 -10
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js.map +2 -2
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs +14 -7
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js +16 -9
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.js +6 -12
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.js.map +2 -2
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs +3 -2
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js +3 -2
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.js +42 -0
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.js.map +2 -2
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs +39 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js +39 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/index.js +135 -910
- package/dist/esm/vendor/react-native/VirtualizedList/index.js.map +2 -2
- package/dist/esm/vendor/react-native/VirtualizedList/index.mjs +138 -867
- package/dist/esm/vendor/react-native/VirtualizedList/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/index.native.js +128 -912
- package/dist/esm/vendor/react-native/VirtualizedList/index.native.js.map +1 -1
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.js +96 -0
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.js.map +6 -0
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs +95 -0
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs.map +1 -0
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.native.js +204 -0
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.native.js.map +1 -0
- package/dist/esm/vendor/react-native/deepDiffer/index.js +3 -3
- package/dist/esm/vendor/react-native/deepDiffer/index.js.map +3 -3
- package/dist/esm/vendor/react-native/deepDiffer/index.mjs +3 -3
- package/dist/esm/vendor/react-native/deepDiffer/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/deepDiffer/index.native.js +3 -3
- package/dist/esm/vendor/react-native/deepDiffer/index.native.js.map +1 -1
- package/dist/esm/vendor/react-native/infoLog/index.js.map +2 -2
- package/dist/esm/vendor/react-native/infoLog/index.mjs.map +1 -1
- package/dist/esm/vendor/react-native/infoLog/index.native.js.map +1 -1
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.js +69 -0
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.js.map +6 -0
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs +61 -0
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs.map +1 -0
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.native.js +122 -0
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.native.js.map +1 -0
- package/dist/esm/without-animated.js +1 -1
- package/dist/esm/without-animated.mjs +1 -1
- package/dist/esm/without-animated.native.js +1 -1
- package/package.json +6 -6
- package/src/InteractionManager/index.tsx +1 -0
- package/src/ScrollView/index.tsx +238 -1
- package/src/SectionList.tsx +9 -0
- package/src/TextInput/index.tsx +20 -1
- package/src/TextInput/types.tsx +2 -0
- package/src/TouchableNativeFeedback.tsx +9 -0
- package/src/VirtualizedList.tsx +9 -0
- package/src/createElement/index.tsx +4 -4
- package/src/index.tsx +7 -5
- package/src/modules/requestIdleCallback.ts +34 -0
- package/src/vendor/react-native/Animated/Animated.js +17 -13
- package/src/vendor/react-native/Animated/AnimatedEvent.js +40 -65
- package/src/vendor/react-native/Animated/AnimatedImplementation.js +151 -190
- package/src/vendor/react-native/Animated/AnimatedMock.js +30 -44
- package/src/vendor/react-native/Animated/AnimatedPlatformConfig.js +4 -2
- package/src/vendor/react-native/Animated/Easing.js +60 -65
- package/src/vendor/react-native/Animated/NativeAnimatedHelper.js +87 -123
- package/src/vendor/react-native/Animated/NativeAnimatedModule.js +59 -3
- package/src/vendor/react-native/Animated/NativeAnimatedTurboModule.js +55 -3
- package/src/vendor/react-native/Animated/SpringConfig.js +14 -9
- package/src/vendor/react-native/Animated/animations/Animation.js +44 -31
- package/src/vendor/react-native/Animated/animations/DecayAnimation.js +52 -54
- package/src/vendor/react-native/Animated/animations/SpringAnimation.js +84 -140
- package/src/vendor/react-native/Animated/animations/TimingAnimation.js +29 -57
- package/src/vendor/react-native/Animated/bezier.js +80 -71
- package/src/vendor/react-native/Animated/components/AnimatedFlatList.jsx +23 -0
- package/src/vendor/react-native/Animated/components/AnimatedImage.js +2 -2
- package/src/vendor/react-native/Animated/components/{AnimatedScrollView.js → AnimatedScrollView.jsx} +9 -15
- package/src/vendor/react-native/Animated/components/AnimatedSectionList.jsx +23 -0
- package/src/vendor/react-native/Animated/components/AnimatedText.js +1 -3
- package/src/vendor/react-native/Animated/components/AnimatedView.js +1 -3
- package/src/vendor/react-native/Animated/createAnimatedComponent.jsx +46 -0
- package/src/vendor/react-native/Animated/nodes/AnimatedAddition.js +28 -26
- package/src/vendor/react-native/Animated/nodes/AnimatedColor.js +56 -122
- package/src/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +10 -7
- package/src/vendor/react-native/Animated/nodes/AnimatedDivision.js +36 -41
- package/src/vendor/react-native/Animated/nodes/{AnimatedInterpolation.js → AnimatedInterpolation.jsx} +55 -70
- package/src/vendor/react-native/Animated/nodes/AnimatedModulo.js +4 -4
- package/src/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +28 -27
- package/src/vendor/react-native/Animated/nodes/AnimatedNode.js +23 -40
- package/src/vendor/react-native/Animated/nodes/AnimatedProps.js +25 -45
- package/src/vendor/react-native/Animated/nodes/AnimatedStyle.js +32 -46
- package/src/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +27 -26
- package/src/vendor/react-native/Animated/nodes/AnimatedTracking.js +16 -22
- package/src/vendor/react-native/Animated/nodes/AnimatedTransform.js +53 -62
- package/src/vendor/react-native/Animated/nodes/AnimatedValue.js +33 -59
- package/src/vendor/react-native/Animated/nodes/AnimatedValueXY.js +8 -101
- package/src/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +21 -25
- package/src/vendor/react-native/Animated/useAnimatedProps.js +45 -93
- package/src/{Batchinator/index.tsx → vendor/react-native/Batchinator/index.js} +10 -12
- package/src/vendor/react-native/{NativeEventEmitter/index.js → EventEmitter/NativeEventEmitter.js} +14 -34
- package/src/vendor/react-native/{NativeEventEmitter → EventEmitter}/RCTDeviceEventEmitter.js +4 -2
- package/src/vendor/react-native/FillRateHelper/{index.tsx → index.js} +41 -47
- package/src/vendor/react-native/FlatList/index.jsx +529 -0
- package/src/vendor/react-native/JSEventLoopWatchdog/index.js +84 -0
- package/src/vendor/react-native/LayoutAnimation/index.js +121 -0
- package/src/vendor/react-native/PanResponder/index.js +131 -0
- package/src/vendor/react-native/PooledClass/index.js +61 -0
- package/src/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +19 -0
- package/src/vendor/react-native/SectionList/index.jsx +97 -0
- package/src/vendor/react-native/StaticContainer/index.js +45 -0
- package/src/vendor/react-native/StaticRenderer/index.js +26 -0
- package/src/vendor/react-native/TouchHistoryMath/{index.tsx → index.js} +53 -36
- package/src/vendor/react-native/TurboModule/RCTExport.js +13 -2
- package/src/vendor/react-native/TurboModule/TurboModuleRegistry.js +12 -2
- package/src/vendor/react-native/Types/CoreEventTypes.js +153 -0
- package/src/vendor/react-native/Utilities/Platform.js +2 -0
- package/src/vendor/react-native/Utilities/{clamp.ts → clamp.js} +8 -6
- package/src/vendor/react-native/Utilities/setAndForwardRef.js +18 -11
- package/src/vendor/react-native/Utilities/useMergeRefs.js +41 -0
- package/src/vendor/react-native/Utilities/useRefEffect.js +44 -0
- package/src/vendor/react-native/ViewabilityHelper/index.js +250 -0
- package/src/vendor/react-native/ViewabilityHelper.ts +1 -1
- package/src/vendor/react-native/VirtualizeUtils/{index.tsx → index.js} +40 -48
- package/src/vendor/react-native/VirtualizedList/{CellRenderMask.ts → CellRenderMask.js} +14 -26
- package/src/vendor/react-native/VirtualizedList/{ChildListCollection.tsx → ChildListCollection.js} +10 -11
- package/src/vendor/react-native/VirtualizedList/{StateSafePureComponent.tsx → StateSafePureComponent.js} +19 -19
- package/src/vendor/react-native/VirtualizedList/{VirtualizedListCellRenderer.tsx → VirtualizedListCellRenderer.jsx} +43 -70
- package/src/vendor/react-native/VirtualizedList/{VirtualizedListContext.tsx → VirtualizedListContext.jsx} +24 -44
- package/src/vendor/react-native/VirtualizedList/VirtualizedListProps.js +46 -0
- package/src/vendor/react-native/VirtualizedList/index.jsx +395 -0
- package/src/vendor/react-native/VirtualizedSectionList/index.jsx +148 -0
- package/src/vendor/react-native/deepDiffer/{index.tsx → index.js} +32 -16
- package/src/vendor/react-native/infoLog/{index.tsx → index.js} +7 -3
- package/src/vendor/react-native/useRefEffect.js +1 -1
- package/src/vendor/react-native/vendor/emitter/EventEmitter.js +118 -0
- package/src/without-animated.tsx +1 -1
- package/dist/cjs/Batchinator/index.js.map +0 -6
- package/dist/cjs/Batchinator/index.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.js.map +0 -6
- package/dist/cjs/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.native.js.map +0 -6
- package/dist/cjs/vendor/react-native/NativeEventEmitter/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/NativeEventEmitter/index.native.js.map +0 -6
- package/dist/esm/Batchinator/index.js.map +0 -6
- package/dist/esm/Batchinator/index.mjs.map +0 -1
- package/dist/esm/Batchinator/index.native.js.map +0 -1
- package/dist/esm/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.js.map +0 -6
- package/dist/esm/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.mjs.map +0 -1
- package/dist/esm/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.native.js.map +0 -1
- package/dist/esm/vendor/react-native/NativeEventEmitter/index.js +0 -50
- package/dist/esm/vendor/react-native/NativeEventEmitter/index.js.map +0 -6
- package/dist/esm/vendor/react-native/NativeEventEmitter/index.mjs +0 -41
- package/dist/esm/vendor/react-native/NativeEventEmitter/index.mjs.map +0 -1
- package/dist/esm/vendor/react-native/NativeEventEmitter/index.native.js.map +0 -1
- package/src/vendor/react-native/Animated/createAnimatedComponent.js +0 -51
- package/src/vendor/react-native/PanResponder/index.tsx +0 -594
- package/src/vendor/react-native/Types/CoreEventTypes.tsx +0 -88
- package/src/vendor/react-native/VirtualizedList/VirtualizedListProps.ts +0 -130
- package/src/vendor/react-native/VirtualizedList/index.tsx +0 -1797
- /package/dist/cjs/vendor/react-native/{NativeEventEmitter → EventEmitter}/RCTDeviceEventEmitter.cjs +0 -0
- /package/dist/cjs/vendor/react-native/{NativeEventEmitter → EventEmitter}/RCTDeviceEventEmitter.js +0 -0
- /package/dist/cjs/vendor/react-native/{NativeEventEmitter → EventEmitter}/RCTDeviceEventEmitter.native.js +0 -0
- /package/dist/esm/vendor/react-native/{NativeEventEmitter → EventEmitter}/RCTDeviceEventEmitter.js +0 -0
- /package/dist/esm/vendor/react-native/{NativeEventEmitter → EventEmitter}/RCTDeviceEventEmitter.mjs +0 -0
- /package/dist/esm/vendor/react-native/{NativeEventEmitter → EventEmitter}/RCTDeviceEventEmitter.native.js +0 -0
|
@@ -26,7 +26,7 @@ __export(VirtualizedList_exports, {
|
|
|
26
26
|
default: () => VirtualizedList_default
|
|
27
27
|
});
|
|
28
28
|
module.exports = __toCommonJS(VirtualizedList_exports);
|
|
29
|
-
var import_jsx_runtime = require("react/jsx-runtime"), import_react_native_web_internals = require("@tamagui/react-native-web-internals"),
|
|
29
|
+
var import_jsx_runtime = require("react/jsx-runtime"), import_react_native_web_internals = require("@tamagui/react-native-web-internals"), import_ScrollView = __toESM(require("../../../ScrollView")), import_RefreshControl = __toESM(require("../../../RefreshControl")), import_Batchinator = __toESM(require("../Batchinator")), import_ChildListCollection = __toESM(require("./ChildListCollection")), import_FillRateHelper = __toESM(require("../FillRateHelper")), import_StateSafePureComponent = __toESM(require("./StateSafePureComponent")), import_ViewabilityHelper = __toESM(require("../ViewabilityHelper")), import_VirtualizedListCellRenderer = __toESM(require("./VirtualizedListCellRenderer")), import_VirtualizedListContext = require("./VirtualizedListContext");
|
|
30
30
|
function _assert_this_initialized(self) {
|
|
31
31
|
if (self === void 0)
|
|
32
32
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -94,37 +94,13 @@ function _is_native_reflect_construct() {
|
|
|
94
94
|
return !!result;
|
|
95
95
|
})();
|
|
96
96
|
}
|
|
97
|
-
var __DEV__ = process.env.NODE_ENV !== "production"
|
|
97
|
+
var __DEV__ = process.env.NODE_ENV !== "production";
|
|
98
98
|
function horizontalOrDefault(horizontal) {
|
|
99
99
|
return horizontal ?? !1;
|
|
100
100
|
}
|
|
101
|
-
function initialNumToRenderOrDefault(initialNumToRender) {
|
|
102
|
-
return initialNumToRender ?? 10;
|
|
103
|
-
}
|
|
104
|
-
function maxToRenderPerBatchOrDefault(maxToRenderPerBatch) {
|
|
105
|
-
return maxToRenderPerBatch ?? 10;
|
|
106
|
-
}
|
|
107
|
-
function onStartReachedThresholdOrDefault(onStartReachedThreshold) {
|
|
108
|
-
return onStartReachedThreshold ?? 2;
|
|
109
|
-
}
|
|
110
|
-
function onEndReachedThresholdOrDefault(onEndReachedThreshold) {
|
|
111
|
-
return onEndReachedThreshold ?? 2;
|
|
112
|
-
}
|
|
113
|
-
function getScrollingThreshold(threshold, visibleLength) {
|
|
114
|
-
return threshold * visibleLength / 2;
|
|
115
|
-
}
|
|
116
101
|
function scrollEventThrottleOrDefault(scrollEventThrottle) {
|
|
117
102
|
return scrollEventThrottle ?? 50;
|
|
118
103
|
}
|
|
119
|
-
function windowSizeOrDefault(windowSize) {
|
|
120
|
-
return windowSize ?? 21;
|
|
121
|
-
}
|
|
122
|
-
function findLastWhere(arr, predicate) {
|
|
123
|
-
for (var i = arr.length - 1; i >= 0; i--)
|
|
124
|
-
if (predicate(arr[i]))
|
|
125
|
-
return arr[i];
|
|
126
|
-
return null;
|
|
127
|
-
}
|
|
128
104
|
var VirtualizedList = /* @__PURE__ */ function(StateSafePureComponent2) {
|
|
129
105
|
"use strict";
|
|
130
106
|
_inherits(VirtualizedList2, StateSafePureComponent2);
|
|
@@ -133,240 +109,30 @@ var VirtualizedList = /* @__PURE__ */ function(StateSafePureComponent2) {
|
|
|
133
109
|
var _this;
|
|
134
110
|
_this = _call_super(this, VirtualizedList2, [
|
|
135
111
|
props
|
|
136
|
-
]), _define_property(_this, "
|
|
137
|
-
|
|
138
|
-
}), _define_property(_this, "
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
}), _define_property(_this, "invertedWheelEventHandler", void 0), _define_property(_this, "_onUpdateSeparators", function(keys, newProps) {
|
|
145
|
-
keys.forEach(function(key) {
|
|
146
|
-
var ref = key != null && _this._cellRefs[key];
|
|
147
|
-
ref && ref.updateSeparatorProps(newProps);
|
|
148
|
-
});
|
|
149
|
-
}), _define_property(_this, "_getSpacerKey", function(isVertical) {
|
|
150
|
-
return isVertical ? "height" : "width";
|
|
151
|
-
}), _define_property(_this, "_averageCellLength", 0), _define_property(_this, "_cellRefs", {}), _define_property(_this, "_fillRateHelper", void 0), _define_property(_this, "_frames", {}), _define_property(_this, "_footerLength", 0), _define_property(_this, "_hasTriggeredInitialScrollToIndex", !1), _define_property(_this, "_hasInteracted", !1), _define_property(_this, "_hasMore", !1), _define_property(_this, "_hasWarned", {}), _define_property(_this, "_headerLength", 0), _define_property(_this, "_hiPriInProgress", !1), _define_property(_this, "_highestMeasuredFrameIndex", 0), _define_property(_this, "_indicesToKeys", /* @__PURE__ */ new Map()), _define_property(_this, "_lastFocusedCellKey", null), _define_property(_this, "_nestedChildLists", new import_ChildListCollection.default()), _define_property(_this, "_offsetFromParentVirtualizedList", 0), _define_property(_this, "_prevParentOffset", 0), _define_property(_this, "_scrollMetrics", {
|
|
112
|
+
]), _define_property(_this, "_captureRef", function(ref) {
|
|
113
|
+
_this._scrollRef = ref;
|
|
114
|
+
}), _define_property(_this, "_onContentSizeChange", function(width, height) {
|
|
115
|
+
}), // Handle content size changes
|
|
116
|
+
_define_property(_this, "_onLayout", function(event) {
|
|
117
|
+
}), // Handle layout changes
|
|
118
|
+
_define_property(_this, "_onScroll", function(event) {
|
|
119
|
+
}), _this._nestedChildLists = new import_ChildListCollection.default(), _this._viewabilityTuples = [], _this._scrollMetrics = {
|
|
152
120
|
contentLength: 0,
|
|
153
121
|
dOffset: 0,
|
|
154
122
|
dt: 10,
|
|
155
123
|
offset: 0,
|
|
156
124
|
timestamp: 0,
|
|
157
125
|
velocity: 0,
|
|
158
|
-
visibleLength: 0
|
|
159
|
-
|
|
160
|
-
}), _define_property(_this, "_scrollRef", null), _define_property(_this, "_sentStartForContentLength", 0), _define_property(_this, "_sentEndForContentLength", 0), _define_property(_this, "_totalCellLength", 0), _define_property(_this, "_totalCellsMeasured", 0), _define_property(_this, "_updateCellsToRenderBatcher", void 0), _define_property(_this, "_viewabilityTuples", []), _define_property(_this, "_captureScrollRef", function(ref) {
|
|
161
|
-
_this._scrollRef = ref;
|
|
162
|
-
}), _define_property(_this, "_defaultRenderScrollComponent", function(props2) {
|
|
163
|
-
var onRefresh = props2.onRefresh;
|
|
164
|
-
if (_this._isNestedWithSameOrientation())
|
|
165
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_View.default, {
|
|
166
|
-
...props2
|
|
167
|
-
});
|
|
168
|
-
if (onRefresh) {
|
|
169
|
-
var _props_refreshing;
|
|
170
|
-
return (0, import_react_native_web_internals.invariant)(typeof props2.refreshing == "boolean", "`refreshing` prop must be set as a boolean in order to use `onRefresh`, but got `" + JSON.stringify((_props_refreshing = props2.refreshing) !== null && _props_refreshing !== void 0 ? _props_refreshing : "undefined") + "`"), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ScrollViewBase.default, {
|
|
171
|
-
...props2,
|
|
172
|
-
refreshControl: props2.refreshControl == null ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_RefreshControl.default, {
|
|
173
|
-
refreshing: props2.refreshing,
|
|
174
|
-
onRefresh,
|
|
175
|
-
progressViewOffset: props2.progressViewOffset
|
|
176
|
-
}) : props2.refreshControl
|
|
177
|
-
});
|
|
178
|
-
} else
|
|
179
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ScrollViewBase.default, {
|
|
180
|
-
...props2
|
|
181
|
-
});
|
|
182
|
-
}), _define_property(_this, "_onCellLayout", function(e, cellKey, index) {
|
|
183
|
-
var layout = e.nativeEvent.layout, next = {
|
|
184
|
-
offset: _this._selectOffset(layout),
|
|
185
|
-
length: _this._selectLength(layout),
|
|
186
|
-
index,
|
|
187
|
-
inLayout: !0
|
|
188
|
-
}, curr = _this._frames[cellKey];
|
|
189
|
-
!curr || next.offset !== curr.offset || next.length !== curr.length || index !== curr.index ? (_this._totalCellLength += next.length - (curr ? curr.length : 0), _this._totalCellsMeasured += curr ? 0 : 1, _this._averageCellLength = _this._totalCellLength / _this._totalCellsMeasured, _this._frames[cellKey] = next, _this._highestMeasuredFrameIndex = Math.max(_this._highestMeasuredFrameIndex, index), _this._scheduleCellsToRenderUpdate()) : _this._frames[cellKey].inLayout = !0, _this._triggerRemeasureForChildListsInCell(cellKey), _this._computeBlankness(), _this._updateViewableItems(
|
|
190
|
-
// @ts-ignore
|
|
191
|
-
_this.props,
|
|
192
|
-
_this.state.cellsAroundViewport
|
|
193
|
-
);
|
|
194
|
-
}), _define_property(_this, "_onCellUnmount", function(cellKey) {
|
|
195
|
-
delete _this._cellRefs[cellKey];
|
|
196
|
-
var curr = _this._frames[cellKey];
|
|
197
|
-
curr && (_this._frames[cellKey] = {
|
|
198
|
-
...curr,
|
|
199
|
-
inLayout: !1
|
|
200
|
-
});
|
|
201
|
-
}), _define_property(_this, "_onLayout", function(e) {
|
|
202
|
-
_this._isNestedWithSameOrientation() ? _this.measureLayoutRelativeToContainingList() : _this._scrollMetrics.visibleLength = _this._selectLength(e.nativeEvent.layout), _this.props.onLayout && _this.props.onLayout(e), _this._scheduleCellsToRenderUpdate(), _this._maybeCallOnEdgeReached();
|
|
203
|
-
}), _define_property(_this, "_onLayoutEmpty", function(e) {
|
|
204
|
-
_this.props.onLayout && _this.props.onLayout(e);
|
|
205
|
-
}), _define_property(_this, "_onLayoutFooter", function(e) {
|
|
206
|
-
_this._triggerRemeasureForChildListsInCell(_this._getFooterCellKey()), _this._footerLength = _this._selectLength(e.nativeEvent.layout);
|
|
207
|
-
}), _define_property(_this, "_onLayoutHeader", function(e) {
|
|
208
|
-
_this._headerLength = _this._selectLength(e.nativeEvent.layout);
|
|
209
|
-
}), _define_property(_this, "_onContentSizeChange", function(width, height) {
|
|
210
|
-
width > 0 && height > 0 && _this.props.initialScrollIndex != null && _this.props.initialScrollIndex > 0 && !_this._hasTriggeredInitialScrollToIndex && (_this.props.contentOffset == null && (_this.props.initialScrollIndex < _this.props.getItemCount(_this.props.data) ? _this.scrollToIndex({
|
|
211
|
-
animated: !1,
|
|
212
|
-
index: nullthrows(_this.props.initialScrollIndex)
|
|
213
|
-
}) : _this.scrollToEnd({
|
|
214
|
-
animated: !1
|
|
215
|
-
})), _this._hasTriggeredInitialScrollToIndex = !0), _this.props.onContentSizeChange && _this.props.onContentSizeChange(width, height), _this._scrollMetrics.contentLength = _this._selectLength({
|
|
216
|
-
height,
|
|
217
|
-
width
|
|
218
|
-
}), _this._scheduleCellsToRenderUpdate(), _this._maybeCallOnEdgeReached();
|
|
219
|
-
}), _define_property(_this, "_convertParentScrollMetrics", function(metrics) {
|
|
220
|
-
var offset = metrics.offset - _this._offsetFromParentVirtualizedList, visibleLength = metrics.visibleLength, dOffset = offset - _this._scrollMetrics.offset, contentLength = _this._scrollMetrics.contentLength;
|
|
221
|
-
return {
|
|
222
|
-
visibleLength,
|
|
223
|
-
contentLength,
|
|
224
|
-
offset,
|
|
225
|
-
dOffset
|
|
226
|
-
};
|
|
227
|
-
}), _define_property(_this, "_onScroll", function(e) {
|
|
228
|
-
_this._nestedChildLists.forEach(function(childList) {
|
|
229
|
-
childList._onScroll(e);
|
|
230
|
-
}), _this.props.onScroll && _this.props.onScroll(e);
|
|
231
|
-
var timestamp = e.timeStamp, visibleLength = _this._selectLength(e.nativeEvent.layoutMeasurement), contentLength = _this._selectLength(e.nativeEvent.contentSize), offset = _this._selectOffset(e.nativeEvent.contentOffset), dOffset = offset - _this._scrollMetrics.offset;
|
|
232
|
-
if (_this._isNestedWithSameOrientation()) {
|
|
233
|
-
if (_this._scrollMetrics.contentLength === 0)
|
|
234
|
-
return;
|
|
235
|
-
({ visibleLength, contentLength, offset, dOffset } = _this._convertParentScrollMetrics({
|
|
236
|
-
visibleLength,
|
|
237
|
-
offset
|
|
238
|
-
}));
|
|
239
|
-
}
|
|
240
|
-
var dt = _this._scrollMetrics.timestamp ? Math.max(1, timestamp - _this._scrollMetrics.timestamp) : 1, velocity = dOffset / dt;
|
|
241
|
-
dt > 500 && _this._scrollMetrics.dt > 500 && contentLength > 5 * visibleLength && !_this._hasWarned.perf && (infoLog("VirtualizedList: You have a large list that is slow to update - make sure your renderItem function renders components that follow React performance best practices like PureComponent, shouldComponentUpdate, etc.", {
|
|
242
|
-
dt,
|
|
243
|
-
prevDt: _this._scrollMetrics.dt,
|
|
244
|
-
contentLength
|
|
245
|
-
}), _this._hasWarned.perf = !0);
|
|
246
|
-
var zoomScale = e.nativeEvent.zoomScale < 0 ? 1 : e.nativeEvent.zoomScale;
|
|
247
|
-
_this._scrollMetrics = {
|
|
248
|
-
contentLength,
|
|
249
|
-
dt,
|
|
250
|
-
dOffset,
|
|
251
|
-
offset,
|
|
252
|
-
timestamp,
|
|
253
|
-
velocity,
|
|
254
|
-
visibleLength,
|
|
255
|
-
zoomScale
|
|
256
|
-
}, _this._updateViewableItems(_this.props, _this.state.cellsAroundViewport), _this.props && (_this._maybeCallOnEdgeReached(), velocity !== 0 && _this._fillRateHelper.activate(), _this._computeBlankness(), _this._scheduleCellsToRenderUpdate());
|
|
257
|
-
}), _define_property(_this, "_onScrollBeginDrag", function(e) {
|
|
258
|
-
_this._nestedChildLists.forEach(function(childList) {
|
|
259
|
-
childList._onScrollBeginDrag(e);
|
|
260
|
-
}), _this._viewabilityTuples.forEach(function(tuple) {
|
|
261
|
-
tuple.viewabilityHelper.recordInteraction();
|
|
262
|
-
}), _this._hasInteracted = !0, _this.props.onScrollBeginDrag && _this.props.onScrollBeginDrag(e);
|
|
263
|
-
}), _define_property(_this, "_onScrollEndDrag", function(e) {
|
|
264
|
-
_this._nestedChildLists.forEach(function(childList) {
|
|
265
|
-
childList._onScrollEndDrag(e);
|
|
266
|
-
});
|
|
267
|
-
var { velocity } = e.nativeEvent;
|
|
268
|
-
velocity && (_this._scrollMetrics.velocity = _this._selectOffset(velocity)), _this._computeBlankness(), _this.props.onScrollEndDrag && _this.props.onScrollEndDrag(e);
|
|
269
|
-
}), _define_property(_this, "_onMomentumScrollBegin", function(e) {
|
|
270
|
-
_this._nestedChildLists.forEach(function(childList) {
|
|
271
|
-
childList._onMomentumScrollBegin(e);
|
|
272
|
-
}), _this.props.onMomentumScrollBegin && _this.props.onMomentumScrollBegin(e);
|
|
273
|
-
}), _define_property(_this, "_onMomentumScrollEnd", function(e) {
|
|
274
|
-
_this._nestedChildLists.forEach(function(childList) {
|
|
275
|
-
childList._onMomentumScrollEnd(e);
|
|
276
|
-
}), _this._scrollMetrics.velocity = 0, _this._computeBlankness(), _this.props.onMomentumScrollEnd && _this.props.onMomentumScrollEnd(e);
|
|
277
|
-
}), _define_property(_this, "_updateCellsToRender", function() {
|
|
278
|
-
_this._updateViewableItems(_this.props, _this.state.cellsAroundViewport), _this.setState(function(state, props2) {
|
|
279
|
-
var cellsAroundViewport = _this._adjustCellsAroundViewport(props2, state.cellsAroundViewport), renderMask = VirtualizedList2._createRenderMask(props2, cellsAroundViewport, _this._getNonViewportRenderRegions(props2));
|
|
280
|
-
return cellsAroundViewport.first === state.cellsAroundViewport.first && cellsAroundViewport.last === state.cellsAroundViewport.last && renderMask.equals(state.renderMask) ? null : {
|
|
281
|
-
cellsAroundViewport,
|
|
282
|
-
renderMask
|
|
283
|
-
};
|
|
284
|
-
});
|
|
285
|
-
}), _define_property(_this, "_createViewToken", function(index, isViewable, props2) {
|
|
286
|
-
var { data, getItem } = props2, item = getItem(data, index);
|
|
287
|
-
return {
|
|
288
|
-
index,
|
|
289
|
-
item,
|
|
290
|
-
key: _this._keyExtractor(item, index, props2),
|
|
291
|
-
isViewable
|
|
292
|
-
};
|
|
293
|
-
}), _define_property(_this, "_getOffsetApprox", function(index, props2) {
|
|
294
|
-
if (Number.isInteger(index))
|
|
295
|
-
return _this.__getFrameMetricsApprox(index, props2).offset;
|
|
296
|
-
var frameMetrics = _this.__getFrameMetricsApprox(Math.floor(index), props2), remainder = index - Math.floor(index);
|
|
297
|
-
return frameMetrics.offset + remainder * frameMetrics.length;
|
|
298
|
-
}), _define_property(_this, "__getFrameMetricsApprox", function(index, props2) {
|
|
299
|
-
var frame = _this._getFrameMetrics(index, props2);
|
|
300
|
-
if (frame && frame.index === index)
|
|
301
|
-
return frame;
|
|
302
|
-
var { data, getItemCount, getItemLayout } = props2;
|
|
303
|
-
return (0, import_react_native_web_internals.invariant)(index >= 0 && index < getItemCount(data), "Tried to get frame for out of range index " + index), (0, import_react_native_web_internals.invariant)(!getItemLayout, "Should not have to estimate frames when a measurement metrics function is provided"), {
|
|
304
|
-
length: _this._averageCellLength,
|
|
305
|
-
offset: _this._averageCellLength * index
|
|
306
|
-
};
|
|
307
|
-
}), _define_property(_this, "_getFrameMetrics", function(index, props2) {
|
|
308
|
-
var { data, getItem, getItemCount, getItemLayout } = props2;
|
|
309
|
-
(0, import_react_native_web_internals.invariant)(index >= 0 && index < getItemCount(data), "Tried to get frame for out of range index " + index);
|
|
310
|
-
var item = getItem(data, index), frame = _this._frames[_this._keyExtractor(item, index, props2)];
|
|
311
|
-
return (!frame || frame.index !== index) && getItemLayout ? getItemLayout(data, index) : frame;
|
|
312
|
-
}), _define_property(_this, "_getNonViewportRenderRegions", function(props2) {
|
|
313
|
-
if (!(_this._lastFocusedCellKey && _this._cellRefs[_this._lastFocusedCellKey]))
|
|
314
|
-
return [];
|
|
315
|
-
var lastFocusedCellRenderer = _this._cellRefs[_this._lastFocusedCellKey], focusedCellIndex = lastFocusedCellRenderer.props.index, itemCount = props2.getItemCount(props2.data);
|
|
316
|
-
if (focusedCellIndex >= itemCount || _this._keyExtractor(props2.getItem(props2.data, focusedCellIndex), focusedCellIndex, props2) !== _this._lastFocusedCellKey)
|
|
317
|
-
return [];
|
|
318
|
-
for (var first = focusedCellIndex, heightOfCellsBeforeFocused = 0, i = first - 1; i >= 0 && heightOfCellsBeforeFocused < _this._scrollMetrics.visibleLength; i--)
|
|
319
|
-
first--, heightOfCellsBeforeFocused += _this.__getFrameMetricsApprox(i, props2).length;
|
|
320
|
-
for (var last = focusedCellIndex, heightOfCellsAfterFocused = 0, i1 = last + 1; i1 < itemCount && heightOfCellsAfterFocused < _this._scrollMetrics.visibleLength; i1++)
|
|
321
|
-
last++, heightOfCellsAfterFocused += _this.__getFrameMetricsApprox(i1, props2).length;
|
|
322
|
-
return [
|
|
323
|
-
{
|
|
324
|
-
first,
|
|
325
|
-
last
|
|
326
|
-
}
|
|
327
|
-
];
|
|
328
|
-
}), _this._checkProps(props), _this._fillRateHelper = new import_FillRateHelper.default(_this._getFrameMetrics);
|
|
126
|
+
visibleLength: 0
|
|
127
|
+
}, _this._highestMeasuredFrameIndex = 0, _this._headerLength = 0, _this._footerLength = 0, _this._averageCellLength = 0, _this._hasWarned = {}, _this._fillRateHelper = new import_FillRateHelper.default(_this._getFrameMetrics);
|
|
329
128
|
var _this_props_updateCellsBatchingPeriod;
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
onViewableItemsChanged: pair.onViewableItemsChanged
|
|
335
|
-
};
|
|
336
|
-
});
|
|
337
|
-
else {
|
|
338
|
-
var { onViewableItemsChanged, viewabilityConfig } = _this.props;
|
|
339
|
-
onViewableItemsChanged && _this._viewabilityTuples.push({
|
|
340
|
-
viewabilityHelper: new import_ViewabilityHelper.default(viewabilityConfig),
|
|
341
|
-
onViewableItemsChanged
|
|
342
|
-
});
|
|
343
|
-
}
|
|
344
|
-
var initialRenderRegion = VirtualizedList2._initialRenderRegion(props);
|
|
345
|
-
return _this.state = {
|
|
346
|
-
cellsAroundViewport: initialRenderRegion,
|
|
347
|
-
renderMask: VirtualizedList2._createRenderMask(props, initialRenderRegion)
|
|
348
|
-
}, _this.invertedWheelEventHandler = function(ev) {
|
|
349
|
-
var scrollOffset = _this.props.horizontal ? ev.target.scrollLeft : ev.target.scrollTop, scrollLength = _this.props.horizontal ? ev.target.scrollWidth : ev.target.scrollHeight, clientLength = _this.props.horizontal ? ev.target.clientWidth : ev.target.clientHeight, isEventTargetScrollable = scrollLength > clientLength, delta = _this.props.horizontal ? ev.deltaX || ev.wheelDeltaX : ev.deltaY || ev.wheelDeltaY, leftoverDelta = delta;
|
|
350
|
-
isEventTargetScrollable && (leftoverDelta = delta < 0 ? Math.min(delta + scrollOffset, 0) : Math.max(delta - (scrollLength - clientLength - scrollOffset), 0));
|
|
351
|
-
var targetDelta = delta - leftoverDelta;
|
|
352
|
-
if (_this.props.inverted && _this._scrollRef && _this._scrollRef.getScrollableNode) {
|
|
353
|
-
var node = _this._scrollRef.getScrollableNode();
|
|
354
|
-
if (_this.props.horizontal) {
|
|
355
|
-
ev.target.scrollLeft += targetDelta;
|
|
356
|
-
var nextScrollLeft = node.scrollLeft - leftoverDelta;
|
|
357
|
-
node.scrollLeft = _this.props.getItemLayout ? nextScrollLeft : Math.min(nextScrollLeft, _this._totalCellLength);
|
|
358
|
-
} else {
|
|
359
|
-
ev.target.scrollTop += targetDelta;
|
|
360
|
-
var nextScrollTop = node.scrollTop - leftoverDelta;
|
|
361
|
-
node.scrollTop = _this.props.getItemLayout ? nextScrollTop : Math.min(nextScrollTop, _this._totalCellLength);
|
|
362
|
-
}
|
|
363
|
-
ev.preventDefault();
|
|
364
|
-
}
|
|
365
|
-
}, _this;
|
|
129
|
+
return _this._updateCellsToRenderBatcher = new import_Batchinator.default(_this._updateCellsToRender, (_this_props_updateCellsBatchingPeriod = _this.props.updateCellsBatchingPeriod) !== null && _this_props_updateCellsBatchingPeriod !== void 0 ? _this_props_updateCellsBatchingPeriod : 50), _this.props.viewabilityConfig && _this.props.onViewableItemsChanged && _this._viewabilityTuples.push({
|
|
130
|
+
viewabilityHelper: new import_ViewabilityHelper.default(_this.props.viewabilityConfig),
|
|
131
|
+
onViewableItemsChanged: _this.props.onViewableItemsChanged
|
|
132
|
+
}), _this;
|
|
366
133
|
}
|
|
367
134
|
return _create_class(VirtualizedList2, [
|
|
368
135
|
{
|
|
369
|
-
// scrollToEnd may be janky without getItemLayout prop
|
|
370
136
|
key: "scrollToEnd",
|
|
371
137
|
value: function(params) {
|
|
372
138
|
var animated = params ? params.animated : !0, veryLast = this.props.getItemCount(this.props.data) - 1;
|
|
@@ -389,7 +155,6 @@ var VirtualizedList = /* @__PURE__ */ function(StateSafePureComponent2) {
|
|
|
389
155
|
}
|
|
390
156
|
},
|
|
391
157
|
{
|
|
392
|
-
// scrollToIndex may be janky without getItemLayout prop
|
|
393
158
|
key: "scrollToIndex",
|
|
394
159
|
value: function(params) {
|
|
395
160
|
var { data, horizontal, getItemCount, getItemLayout, onScrollToIndexFailed } = this.props, { animated, index, viewOffset, viewPosition } = params;
|
|
@@ -401,68 +166,51 @@ var VirtualizedList = /* @__PURE__ */ function(StateSafePureComponent2) {
|
|
|
401
166
|
});
|
|
402
167
|
return;
|
|
403
168
|
}
|
|
404
|
-
var frame = this.__getFrameMetricsApprox(Math.floor(index), this.props), offset = Math.max(
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
return;
|
|
413
|
-
}
|
|
414
|
-
this._scrollRef.scrollTo(horizontal ? {
|
|
415
|
-
x: offset,
|
|
416
|
-
animated
|
|
417
|
-
} : {
|
|
418
|
-
y: offset,
|
|
419
|
-
animated
|
|
420
|
-
});
|
|
421
|
-
}
|
|
169
|
+
var frame = this.__getFrameMetricsApprox(Math.floor(index), this.props), offset = Math.max(0, this._getOffsetApprox(index, this.props) - (viewPosition || 0) * (this._scrollMetrics.visibleLength - frame.length)) - (viewOffset || 0);
|
|
170
|
+
this._scrollRef != null && this._scrollRef.scrollTo(horizontalOrDefault(horizontal) ? {
|
|
171
|
+
x: offset,
|
|
172
|
+
animated
|
|
173
|
+
} : {
|
|
174
|
+
y: offset,
|
|
175
|
+
animated
|
|
176
|
+
});
|
|
422
177
|
}
|
|
423
178
|
},
|
|
424
179
|
{
|
|
425
|
-
// scrollToItem may be janky without getItemLayout prop. Required linear scan through items -
|
|
426
|
-
// use scrollToIndex instead if possible.
|
|
427
180
|
key: "scrollToItem",
|
|
428
181
|
value: function(params) {
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
}
|
|
182
|
+
var { data, getItem, getItemCount, horizontal, onScrollToIndexFailed } = this.props, { animated, item, viewPosition, viewOffset } = params, index = this.props.data.indexOf(item);
|
|
183
|
+
if (index !== -1)
|
|
184
|
+
this.scrollToIndex({
|
|
185
|
+
animated,
|
|
186
|
+
index,
|
|
187
|
+
viewOffset,
|
|
188
|
+
viewPosition
|
|
189
|
+
});
|
|
190
|
+
else
|
|
191
|
+
for (var itemCount = getItemCount(data), i = 0; i < itemCount; i++)
|
|
192
|
+
if (getItem(data, i) === item) {
|
|
193
|
+
this.scrollToIndex({
|
|
194
|
+
animated,
|
|
195
|
+
index: i,
|
|
196
|
+
viewOffset,
|
|
197
|
+
viewPosition
|
|
198
|
+
});
|
|
199
|
+
break;
|
|
200
|
+
}
|
|
437
201
|
}
|
|
438
202
|
},
|
|
439
203
|
{
|
|
440
|
-
/**
|
|
441
|
-
* Scroll to a specific content pixel offset in the list.
|
|
442
|
-
*
|
|
443
|
-
* Param `offset` expects the offset to scroll to.
|
|
444
|
-
* In case of `horizontal` is true, the offset is the x-value,
|
|
445
|
-
* in any other case the offset is the y-value.
|
|
446
|
-
*
|
|
447
|
-
* Param `animated` (`true` by default) defines whether the list
|
|
448
|
-
* should do an animation while scrolling.
|
|
449
|
-
*/
|
|
450
204
|
key: "scrollToOffset",
|
|
451
205
|
value: function(params) {
|
|
452
206
|
var { animated, offset } = params;
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
animated
|
|
461
|
-
} : {
|
|
462
|
-
y: offset,
|
|
463
|
-
animated
|
|
464
|
-
});
|
|
465
|
-
}
|
|
207
|
+
this._scrollRef != null && this._scrollRef.scrollTo(horizontalOrDefault(this.props.horizontal) ? {
|
|
208
|
+
x: offset,
|
|
209
|
+
animated
|
|
210
|
+
} : {
|
|
211
|
+
y: offset,
|
|
212
|
+
animated
|
|
213
|
+
});
|
|
466
214
|
}
|
|
467
215
|
},
|
|
468
216
|
{
|
|
@@ -470,606 +218,97 @@ var VirtualizedList = /* @__PURE__ */ function(StateSafePureComponent2) {
|
|
|
470
218
|
value: function() {
|
|
471
219
|
this._nestedChildLists.forEach(function(childList) {
|
|
472
220
|
childList.recordInteraction();
|
|
473
|
-
}), this._viewabilityTuples.forEach(function(
|
|
474
|
-
|
|
475
|
-
})
|
|
221
|
+
}), this._viewabilityTuples.forEach(function(viewabilityTuple) {
|
|
222
|
+
viewabilityTuple.viewabilityHelper.recordInteraction();
|
|
223
|
+
});
|
|
476
224
|
}
|
|
477
225
|
},
|
|
478
226
|
{
|
|
479
227
|
key: "flashScrollIndicators",
|
|
480
228
|
value: function() {
|
|
481
|
-
this._scrollRef
|
|
229
|
+
this._scrollRef && this._scrollRef.flashScrollIndicators && this._scrollRef.flashScrollIndicators();
|
|
482
230
|
}
|
|
483
231
|
},
|
|
484
232
|
{
|
|
485
|
-
/**
|
|
486
|
-
* Provides a handle to the underlying scroll responder.
|
|
487
|
-
* Note that `this._scrollRef` might not be a `ScrollView`, so we
|
|
488
|
-
* need to check that it responds to `getScrollResponder` before calling it.
|
|
489
|
-
*/
|
|
490
233
|
key: "getScrollResponder",
|
|
491
234
|
value: function() {
|
|
492
|
-
|
|
235
|
+
if (this._scrollRef && this._scrollRef.getScrollResponder)
|
|
236
|
+
return this._scrollRef.getScrollResponder();
|
|
493
237
|
}
|
|
494
238
|
},
|
|
495
239
|
{
|
|
496
240
|
key: "getScrollableNode",
|
|
497
241
|
value: function() {
|
|
498
|
-
|
|
242
|
+
if (this._scrollRef && this._scrollRef.getScrollableNode)
|
|
243
|
+
return this._scrollRef.getScrollableNode();
|
|
499
244
|
}
|
|
500
245
|
},
|
|
501
246
|
{
|
|
502
247
|
key: "getScrollRef",
|
|
503
248
|
value: function() {
|
|
504
|
-
return this._scrollRef
|
|
505
|
-
}
|
|
506
|
-
},
|
|
507
|
-
{
|
|
508
|
-
key: "_getCellKey",
|
|
509
|
-
value: function() {
|
|
510
|
-
var _this_context;
|
|
511
|
-
return ((_this_context = this.context) === null || _this_context === void 0 ? void 0 : _this_context.cellKey) || "rootList";
|
|
249
|
+
return this._scrollRef;
|
|
512
250
|
}
|
|
513
251
|
},
|
|
514
252
|
{
|
|
515
|
-
key: "
|
|
516
|
-
value: function() {
|
|
517
|
-
return this._hasMore;
|
|
518
|
-
}
|
|
519
|
-
},
|
|
520
|
-
{
|
|
521
|
-
key: "_checkProps",
|
|
253
|
+
key: "setNativeProps",
|
|
522
254
|
value: function(props) {
|
|
523
|
-
|
|
524
|
-
(0, import_react_native_web_internals.invariant)(!(onScroll && onScroll.__isNative), "Components based on VirtualizedList must be wrapped with Animated.createAnimatedComponent to support native onScroll events with useNativeDriver"), (0, import_react_native_web_internals.invariant)(windowSizeOrDefault(windowSize) > 0, "VirtualizedList: The windowSize prop must be present and set to a value greater than 0."), (0, import_react_native_web_internals.invariant)(getItemCount, 'VirtualizedList: The "getItemCount" prop must be provided');
|
|
525
|
-
var itemCount = getItemCount(data);
|
|
526
|
-
if (initialScrollIndex != null && !this._hasTriggeredInitialScrollToIndex && (initialScrollIndex < 0 || itemCount > 0 && initialScrollIndex >= itemCount) && !this._hasWarned.initialScrollIndex && (console.warn(`initialScrollIndex "${initialScrollIndex}" is not valid (list has ${itemCount} items)`), this._hasWarned.initialScrollIndex = !0), __DEV__ && !this._hasWarned.flexWrap) {
|
|
527
|
-
var flatStyles = import_react_native_web_internals.StyleSheet.flatten(this.props.contentContainerStyle);
|
|
528
|
-
flatStyles != null && flatStyles.flexWrap === "wrap" && (console.warn("`flexWrap: `wrap`` is not supported with the `VirtualizedList` components.Consider using `numColumns` with `FlatList` instead."), this._hasWarned.flexWrap = !0);
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
key: "_adjustCellsAroundViewport",
|
|
534
|
-
value: function(props, cellsAroundViewport) {
|
|
535
|
-
var { data, getItemCount } = props, onEndReachedThreshold = onEndReachedThresholdOrDefault(props.onEndReachedThreshold), { contentLength, offset, visibleLength } = this._scrollMetrics, distanceFromEnd = contentLength - visibleLength - offset;
|
|
536
|
-
if (visibleLength <= 0 || contentLength <= 0)
|
|
537
|
-
return cellsAroundViewport.last >= getItemCount(data) ? VirtualizedList2._constrainToItemCount(cellsAroundViewport, props) : cellsAroundViewport;
|
|
538
|
-
var newCellsAroundViewport;
|
|
539
|
-
if (props.disableVirtualization) {
|
|
540
|
-
var renderAhead = distanceFromEnd < onEndReachedThreshold * visibleLength ? maxToRenderPerBatchOrDefault(props.maxToRenderPerBatch) : 0;
|
|
541
|
-
newCellsAroundViewport = {
|
|
542
|
-
first: 0,
|
|
543
|
-
last: Math.min(cellsAroundViewport.last + renderAhead, getItemCount(data) - 1)
|
|
544
|
-
};
|
|
545
|
-
} else {
|
|
546
|
-
if (props.initialScrollIndex && !this._scrollMetrics.offset && Math.abs(distanceFromEnd) >= Number.EPSILON)
|
|
547
|
-
return cellsAroundViewport.last >= getItemCount(data) ? VirtualizedList2._constrainToItemCount(cellsAroundViewport, props) : cellsAroundViewport;
|
|
548
|
-
newCellsAroundViewport = computeWindowedRenderLimits(props, maxToRenderPerBatchOrDefault(props.maxToRenderPerBatch), windowSizeOrDefault(props.windowSize), cellsAroundViewport, this.__getFrameMetricsApprox, this._scrollMetrics), (0, import_react_native_web_internals.invariant)(newCellsAroundViewport.last < getItemCount(data), "computeWindowedRenderLimits() should return range in-bounds");
|
|
549
|
-
}
|
|
550
|
-
if (this._nestedChildLists.size() > 0) {
|
|
551
|
-
var childIdx = this._findFirstChildWithMore(newCellsAroundViewport.first, newCellsAroundViewport.last);
|
|
552
|
-
newCellsAroundViewport.last = childIdx ?? newCellsAroundViewport.last;
|
|
553
|
-
}
|
|
554
|
-
return newCellsAroundViewport;
|
|
555
|
-
}
|
|
556
|
-
},
|
|
557
|
-
{
|
|
558
|
-
key: "_findFirstChildWithMore",
|
|
559
|
-
value: function(first, last) {
|
|
560
|
-
for (var ii = first; ii <= last; ii++) {
|
|
561
|
-
var cellKeyForIndex = this._indicesToKeys.get(ii);
|
|
562
|
-
if (cellKeyForIndex != null && this._nestedChildLists.anyInCell(cellKeyForIndex, function(childList) {
|
|
563
|
-
return childList.hasMore();
|
|
564
|
-
}))
|
|
565
|
-
return ii;
|
|
566
|
-
}
|
|
567
|
-
return null;
|
|
568
|
-
}
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
key: "componentDidMount",
|
|
572
|
-
value: function() {
|
|
573
|
-
this._isNestedWithSameOrientation() && this.context.registerAsNestedChild({
|
|
574
|
-
ref: this,
|
|
575
|
-
cellKey: this.context.cellKey
|
|
576
|
-
}), this.setupWebWheelHandler();
|
|
577
|
-
}
|
|
578
|
-
},
|
|
579
|
-
{
|
|
580
|
-
key: "componentWillUnmount",
|
|
581
|
-
value: function() {
|
|
582
|
-
this._isNestedWithSameOrientation() && this.context.unregisterAsNestedChild({
|
|
583
|
-
ref: this
|
|
584
|
-
}), this._updateCellsToRenderBatcher.dispose({
|
|
585
|
-
abort: !0
|
|
586
|
-
}), this._viewabilityTuples.forEach(function(tuple) {
|
|
587
|
-
tuple.viewabilityHelper.dispose();
|
|
588
|
-
}), this._fillRateHelper.deactivateAndFlush(), this.teardownWebWheelHandler();
|
|
589
|
-
}
|
|
590
|
-
},
|
|
591
|
-
{
|
|
592
|
-
key: "setupWebWheelHandler",
|
|
593
|
-
value: function() {
|
|
594
|
-
var _this = this;
|
|
595
|
-
if (this._scrollRef && this._scrollRef.getScrollableNode)
|
|
596
|
-
this._scrollRef.getScrollableNode().addEventListener("wheel", this.invertedWheelEventHandler);
|
|
597
|
-
else {
|
|
598
|
-
setTimeout(function() {
|
|
599
|
-
return _this.setupWebWheelHandler();
|
|
600
|
-
}, 50);
|
|
601
|
-
return;
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
},
|
|
605
|
-
{
|
|
606
|
-
key: "teardownWebWheelHandler",
|
|
607
|
-
value: function() {
|
|
608
|
-
this._scrollRef && this._scrollRef.getScrollableNode && this._scrollRef.getScrollableNode().removeEventListener("wheel", this.invertedWheelEventHandler);
|
|
609
|
-
}
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
key: "_pushCells",
|
|
613
|
-
value: function(cells, stickyHeaderIndices, stickyIndicesFromProps, first, last, inversionStyle) {
|
|
614
|
-
var _this, _loop = function(ii2) {
|
|
615
|
-
var item = getItem(data, ii2), key = _this._keyExtractor(item, ii2, _this.props);
|
|
616
|
-
_this._indicesToKeys.set(ii2, key), stickyIndicesFromProps.has(ii2 + stickyOffset) && stickyHeaderIndices.push(cells.length);
|
|
617
|
-
var shouldListenForLayout = getItemLayout == null || debug || _this._fillRateHelper.enabled();
|
|
618
|
-
cells.push(/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_VirtualizedListCellRenderer.default, {
|
|
619
|
-
CellRendererComponent,
|
|
620
|
-
ItemSeparatorComponent: ii2 < end ? ItemSeparatorComponent : void 0,
|
|
621
|
-
ListItemComponent,
|
|
622
|
-
cellKey: key,
|
|
623
|
-
horizontal,
|
|
624
|
-
index: ii2,
|
|
625
|
-
inversionStyle,
|
|
626
|
-
item,
|
|
627
|
-
prevCellKey,
|
|
628
|
-
onUpdateSeparators: _this._onUpdateSeparators,
|
|
629
|
-
onCellFocusCapture: function(e) {
|
|
630
|
-
return _this1._onCellFocusCapture(key);
|
|
631
|
-
},
|
|
632
|
-
onUnmount: _this._onCellUnmount,
|
|
633
|
-
ref: function(ref) {
|
|
634
|
-
_this1._cellRefs[key] = ref;
|
|
635
|
-
},
|
|
636
|
-
renderItem,
|
|
637
|
-
...shouldListenForLayout && {
|
|
638
|
-
onCellLayout: _this._onCellLayout
|
|
639
|
-
}
|
|
640
|
-
}, key)), prevCellKey = key;
|
|
641
|
-
}, _this1 = this, { CellRendererComponent, ItemSeparatorComponent, ListHeaderComponent, ListItemComponent, data, debug, getItem, getItemCount, getItemLayout, horizontal, renderItem } = this.props, stickyOffset = ListHeaderComponent ? 1 : 0, end = getItemCount(data) - 1, prevCellKey;
|
|
642
|
-
last = Math.min(end, last);
|
|
643
|
-
for (var ii = first; ii <= last; ii++) _this = this, _loop(ii);
|
|
644
|
-
}
|
|
645
|
-
},
|
|
646
|
-
{
|
|
647
|
-
key: "_isNestedWithSameOrientation",
|
|
648
|
-
value: function() {
|
|
649
|
-
var nestedContext = this.context;
|
|
650
|
-
return !!(nestedContext && !!nestedContext.horizontal === horizontalOrDefault(this.props.horizontal));
|
|
651
|
-
}
|
|
652
|
-
},
|
|
653
|
-
{
|
|
654
|
-
key: "_keyExtractor",
|
|
655
|
-
value: function(item, index, props) {
|
|
656
|
-
if (props.keyExtractor != null)
|
|
657
|
-
return props.keyExtractor(item, index);
|
|
658
|
-
var key = (0, import_VirtualizeUtils.keyExtractor)(item, index);
|
|
659
|
-
return key === String(index) && (_usedIndexForKey = !0, item.type && item.type.displayName && (_keylessItemComponentName = item.type.displayName)), key;
|
|
255
|
+
this._scrollRef && this._scrollRef.setNativeProps(props);
|
|
660
256
|
}
|
|
661
257
|
},
|
|
662
258
|
{
|
|
663
259
|
key: "render",
|
|
664
260
|
value: function() {
|
|
665
|
-
var
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
stickyIndicesFromProps.has(0) && stickyHeaderIndices.push(0);
|
|
670
|
-
var element = /* @__PURE__ */ import_react.default.isValidElement(ListHeaderComponent) ? ListHeaderComponent : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ListHeaderComponent, {});
|
|
671
|
-
cells.push(/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_VirtualizedListContext.VirtualizedListCellContextProvider, {
|
|
672
|
-
cellKey: this._getCellKey() + "-header",
|
|
673
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_View.default, {
|
|
674
|
-
onLayout: this._onLayoutHeader,
|
|
675
|
-
style: [
|
|
676
|
-
inversionStyle,
|
|
677
|
-
this.props.ListHeaderComponentStyle
|
|
678
|
-
],
|
|
679
|
-
children: element
|
|
680
|
-
})
|
|
681
|
-
}, "$header"));
|
|
682
|
-
}
|
|
683
|
-
var itemCount = this.props.getItemCount(data);
|
|
684
|
-
if (itemCount === 0 && ListEmptyComponent) {
|
|
685
|
-
var element1 = /* @__PURE__ */ import_react.default.isValidElement(ListEmptyComponent) ? ListEmptyComponent : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ListEmptyComponent, {});
|
|
686
|
-
cells.push(/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_VirtualizedListContext.VirtualizedListCellContextProvider, {
|
|
687
|
-
cellKey: this._getCellKey() + "-empty",
|
|
688
|
-
children: /* @__PURE__ */ import_react.default.cloneElement(element1, {
|
|
689
|
-
onLayout: function(event) {
|
|
690
|
-
_this._onLayoutEmpty(event), element1.props.onLayout && element1.props.onLayout(event);
|
|
691
|
-
},
|
|
692
|
-
style: [
|
|
693
|
-
inversionStyle,
|
|
694
|
-
element1.props.style
|
|
695
|
-
]
|
|
696
|
-
})
|
|
697
|
-
}, "$empty"));
|
|
698
|
-
}
|
|
699
|
-
if (itemCount > 0) {
|
|
700
|
-
_usedIndexForKey = !1, _keylessItemComponentName = "";
|
|
701
|
-
var spacerKey = this._getSpacerKey(!horizontal), renderRegions = this.state.renderMask.enumerateRegions(), lastSpacer = findLastWhere(renderRegions, function(r) {
|
|
702
|
-
return r.isSpacer;
|
|
703
|
-
}), _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
|
|
704
|
-
try {
|
|
705
|
-
for (var _iterator = renderRegions[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {
|
|
706
|
-
var section = _step.value;
|
|
707
|
-
if (section.isSpacer) {
|
|
708
|
-
if (this.props.disableVirtualization)
|
|
709
|
-
continue;
|
|
710
|
-
var isLastSpacer = section === lastSpacer, constrainToMeasured = isLastSpacer && !this.props.getItemLayout, last = constrainToMeasured ? (0, import_clamp.default)(section.first - 1, section.last, this._highestMeasuredFrameIndex) : section.last, firstMetrics = this.__getFrameMetricsApprox(section.first, this.props), lastMetrics = this.__getFrameMetricsApprox(last, this.props), spacerSize = lastMetrics.offset + lastMetrics.length - firstMetrics.offset;
|
|
711
|
-
cells.push(/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_View.default, {
|
|
712
|
-
style: {
|
|
713
|
-
[spacerKey]: spacerSize
|
|
714
|
-
}
|
|
715
|
-
}, `$spacer-${section.first}`));
|
|
716
|
-
} else
|
|
717
|
-
this._pushCells(cells, stickyHeaderIndices, stickyIndicesFromProps, section.first, section.last, inversionStyle);
|
|
718
|
-
}
|
|
719
|
-
} catch (err) {
|
|
720
|
-
_didIteratorError = !0, _iteratorError = err;
|
|
721
|
-
} finally {
|
|
722
|
-
try {
|
|
723
|
-
!_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
|
|
724
|
-
} finally {
|
|
725
|
-
if (_didIteratorError)
|
|
726
|
-
throw _iteratorError;
|
|
727
|
-
}
|
|
728
|
-
}
|
|
729
|
-
!this._hasWarned.keys && _usedIndexForKey && (console.warn("VirtualizedList: missing keys for items, make sure to specify a key or id property on each item or provide a custom keyExtractor.", _keylessItemComponentName), this._hasWarned.keys = !0);
|
|
730
|
-
}
|
|
731
|
-
if (ListFooterComponent) {
|
|
732
|
-
var element2 = /* @__PURE__ */ import_react.default.isValidElement(ListFooterComponent) ? ListFooterComponent : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ListFooterComponent, {});
|
|
733
|
-
cells.push(/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_VirtualizedListContext.VirtualizedListCellContextProvider, {
|
|
734
|
-
cellKey: this._getFooterCellKey(),
|
|
735
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_View.default, {
|
|
736
|
-
onLayout: this._onLayoutFooter,
|
|
737
|
-
style: [
|
|
738
|
-
inversionStyle,
|
|
739
|
-
this.props.ListFooterComponentStyle
|
|
740
|
-
],
|
|
741
|
-
children: element2
|
|
742
|
-
})
|
|
743
|
-
}, "$footer"));
|
|
744
|
-
}
|
|
745
|
-
var scrollProps = {
|
|
746
|
-
...this.props,
|
|
261
|
+
var { ListEmptyComponent, ListFooterComponent, ListHeaderComponent, data, debug, disableVirtualization, getItem, getItemCount, getItemLayout, horizontal, keyExtractor, numColumns, onEndReached, onEndReachedThreshold, onLayout, onRefresh, onScroll, onScrollBeginDrag, onScrollEndDrag, onMomentumScrollBegin, onMomentumScrollEnd, onStartReached, onStartReachedThreshold, onViewableItemsChanged, refreshing, removeClippedSubviews, renderItem, viewabilityConfig, viewabilityConfigCallbackPairs, ...restProps } = this.props, itemCount = getItemCount(data);
|
|
262
|
+
return itemCount === 0 ? ListEmptyComponent ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ListEmptyComponent, {}) : null : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ScrollView.default, {
|
|
263
|
+
...restProps,
|
|
264
|
+
ref: this._captureRef,
|
|
747
265
|
onContentSizeChange: this._onContentSizeChange,
|
|
748
266
|
onLayout: this._onLayout,
|
|
749
267
|
onScroll: this._onScroll,
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
268
|
+
refreshControl: onRefresh && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_RefreshControl.default, {
|
|
269
|
+
refreshing,
|
|
270
|
+
onRefresh
|
|
271
|
+
}),
|
|
754
272
|
scrollEventThrottle: scrollEventThrottleOrDefault(this.props.scrollEventThrottle),
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
style: inversionStyle ? [
|
|
758
|
-
inversionStyle,
|
|
759
|
-
this.props.style
|
|
760
|
-
] : this.props.style
|
|
761
|
-
};
|
|
762
|
-
this._hasMore = this.state.cellsAroundViewport.last < itemCount - 1;
|
|
763
|
-
var innerRet = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_VirtualizedListContext.VirtualizedListContextProvider, {
|
|
764
|
-
value: {
|
|
765
|
-
cellKey: null,
|
|
766
|
-
getScrollMetrics: this._getScrollMetrics,
|
|
767
|
-
horizontal: horizontalOrDefault(this.props.horizontal),
|
|
768
|
-
getOutermostParentListRef: this._getOutermostParentListRef,
|
|
769
|
-
registerAsNestedChild: this._registerAsNestedChild,
|
|
770
|
-
unregisterAsNestedChild: this._unregisterAsNestedChild
|
|
771
|
-
},
|
|
772
|
-
children: /* @__PURE__ */ import_react.default.cloneElement((this.props.renderScrollComponent || this._defaultRenderScrollComponent)(scrollProps), {
|
|
773
|
-
ref: this._captureScrollRef
|
|
774
|
-
}, cells)
|
|
775
|
-
}), ret = innerRet;
|
|
776
|
-
return ret;
|
|
777
|
-
}
|
|
778
|
-
},
|
|
779
|
-
{
|
|
780
|
-
key: "componentDidUpdate",
|
|
781
|
-
value: function(prevProps) {
|
|
782
|
-
var { data, extraData } = this.props;
|
|
783
|
-
(data !== prevProps.data || extraData !== prevProps.extraData) && this._viewabilityTuples.forEach(function(tuple) {
|
|
784
|
-
tuple.viewabilityHelper.resetViewableIndices();
|
|
273
|
+
removeClippedSubviews,
|
|
274
|
+
children: this._renderChildren()
|
|
785
275
|
});
|
|
786
|
-
var hiPriInProgress = this._hiPriInProgress;
|
|
787
|
-
this._scheduleCellsToRenderUpdate(), hiPriInProgress && (this._hiPriInProgress = !1);
|
|
788
276
|
}
|
|
789
277
|
},
|
|
790
278
|
{
|
|
791
|
-
key: "
|
|
279
|
+
key: "_renderChildren",
|
|
792
280
|
value: function() {
|
|
793
|
-
this.
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
{
|
|
802
|
-
key: "_onCellFocusCapture",
|
|
803
|
-
value: function(cellKey) {
|
|
804
|
-
this._lastFocusedCellKey = cellKey, this._updateCellsToRender();
|
|
805
|
-
}
|
|
806
|
-
},
|
|
807
|
-
{
|
|
808
|
-
key: "_triggerRemeasureForChildListsInCell",
|
|
809
|
-
value: function(cellKey) {
|
|
810
|
-
this._nestedChildLists.forEachInCell(cellKey, function(childList) {
|
|
811
|
-
childList.measureLayoutRelativeToContainingList();
|
|
812
|
-
});
|
|
813
|
-
}
|
|
814
|
-
},
|
|
815
|
-
{
|
|
816
|
-
key: "measureLayoutRelativeToContainingList",
|
|
817
|
-
value: function() {
|
|
818
|
-
var _this = this;
|
|
819
|
-
try {
|
|
820
|
-
if (!this._scrollRef)
|
|
821
|
-
return;
|
|
822
|
-
this._scrollRef.measureLayout(this.context.getOutermostParentListRef().getScrollRef(), function(x, y, width, height) {
|
|
823
|
-
_this._offsetFromParentVirtualizedList = _this._selectOffset({
|
|
824
|
-
x,
|
|
825
|
-
y
|
|
826
|
-
}), _this._scrollMetrics.contentLength = _this._selectLength({
|
|
827
|
-
width,
|
|
828
|
-
height
|
|
829
|
-
});
|
|
830
|
-
var scrollMetrics = _this._convertParentScrollMetrics(_this.context.getScrollMetrics()), metricsChanged = _this._scrollMetrics.visibleLength !== scrollMetrics.visibleLength || _this._scrollMetrics.offset !== scrollMetrics.offset;
|
|
831
|
-
metricsChanged && (_this._scrollMetrics.visibleLength = scrollMetrics.visibleLength, _this._scrollMetrics.offset = scrollMetrics.offset, _this._nestedChildLists.forEach(function(childList) {
|
|
832
|
-
childList.measureLayoutRelativeToContainingList();
|
|
833
|
-
}));
|
|
834
|
-
}, function(error) {
|
|
835
|
-
console.warn("VirtualizedList: Encountered an error while measuring a list's offset from its containing VirtualizedList.");
|
|
836
|
-
});
|
|
837
|
-
} catch (error) {
|
|
838
|
-
console.warn("measureLayoutRelativeToContainingList threw an error", error.stack);
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
},
|
|
842
|
-
{
|
|
843
|
-
key: "_getFooterCellKey",
|
|
844
|
-
value: function() {
|
|
845
|
-
return this._getCellKey() + "-footer";
|
|
846
|
-
}
|
|
847
|
-
},
|
|
848
|
-
{
|
|
849
|
-
key: "_renderDebugOverlay",
|
|
850
|
-
value: function() {
|
|
851
|
-
for (var normalize = this._scrollMetrics.visibleLength / (this._scrollMetrics.contentLength || 1), framesInLayout = [], itemCount = this.props.getItemCount(this.props.data), ii = 0; ii < itemCount; ii++) {
|
|
852
|
-
var frame = this.__getFrameMetricsApprox(ii, this.props);
|
|
853
|
-
frame.inLayout && framesInLayout.push(frame);
|
|
854
|
-
}
|
|
855
|
-
var windowTop = this.__getFrameMetricsApprox(this.state.cellsAroundViewport.first, this.props).offset, frameLast = this.__getFrameMetricsApprox(this.state.cellsAroundViewport.last, this.props), windowLen = frameLast.offset + frameLast.length - windowTop, visTop = this._scrollMetrics.offset, visLen = this._scrollMetrics.visibleLength;
|
|
856
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_View.default, {
|
|
857
|
-
style: [
|
|
858
|
-
styles.debugOverlayBase,
|
|
859
|
-
styles.debugOverlay
|
|
860
|
-
],
|
|
861
|
-
children: [
|
|
862
|
-
framesInLayout.map(function(f, ii2) {
|
|
863
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_View.default, {
|
|
864
|
-
style: [
|
|
865
|
-
styles.debugOverlayBase,
|
|
866
|
-
styles.debugOverlayFrame,
|
|
867
|
-
{
|
|
868
|
-
top: f.offset * normalize,
|
|
869
|
-
height: f.length * normalize
|
|
870
|
-
}
|
|
871
|
-
]
|
|
872
|
-
}, "f" + ii2);
|
|
873
|
-
}),
|
|
874
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_View.default, {
|
|
875
|
-
style: [
|
|
876
|
-
styles.debugOverlayBase,
|
|
877
|
-
styles.debugOverlayFrameLast,
|
|
878
|
-
{
|
|
879
|
-
top: windowTop * normalize,
|
|
880
|
-
height: windowLen * normalize
|
|
881
|
-
}
|
|
882
|
-
]
|
|
883
|
-
}),
|
|
884
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_View.default, {
|
|
885
|
-
style: [
|
|
886
|
-
styles.debugOverlayBase,
|
|
887
|
-
styles.debugOverlayFrameVis,
|
|
888
|
-
{
|
|
889
|
-
top: visTop * normalize,
|
|
890
|
-
height: visLen * normalize
|
|
891
|
-
}
|
|
892
|
-
]
|
|
893
|
-
})
|
|
894
|
-
]
|
|
895
|
-
});
|
|
896
|
-
}
|
|
897
|
-
},
|
|
898
|
-
{
|
|
899
|
-
key: "_selectLength",
|
|
900
|
-
value: function(metrics) {
|
|
901
|
-
return horizontalOrDefault(this.props.horizontal) ? metrics.width : metrics.height;
|
|
902
|
-
}
|
|
903
|
-
},
|
|
904
|
-
{
|
|
905
|
-
key: "_selectOffset",
|
|
906
|
-
value: function(metrics) {
|
|
907
|
-
return horizontalOrDefault(this.props.horizontal) ? metrics.x : metrics.y;
|
|
908
|
-
}
|
|
909
|
-
},
|
|
910
|
-
{
|
|
911
|
-
key: "_maybeCallOnEdgeReached",
|
|
912
|
-
value: function() {
|
|
913
|
-
var { data, getItemCount, onStartReached, onStartReachedThreshold, onEndReached, onEndReachedThreshold, initialScrollIndex } = this.props, { contentLength, visibleLength, offset } = this._scrollMetrics, distanceFromStart = offset, distanceFromEnd = contentLength - visibleLength - offset;
|
|
914
|
-
distanceFromStart < ON_EDGE_REACHED_EPSILON && (distanceFromStart = 0), distanceFromEnd < ON_EDGE_REACHED_EPSILON && (distanceFromEnd = 0);
|
|
915
|
-
var DEFAULT_THRESHOLD_PX = 2, startThreshold = onStartReachedThreshold != null ? onStartReachedThreshold * visibleLength : DEFAULT_THRESHOLD_PX, endThreshold = onEndReachedThreshold != null ? onEndReachedThreshold * visibleLength : DEFAULT_THRESHOLD_PX, isWithinStartThreshold = distanceFromStart <= startThreshold, isWithinEndThreshold = distanceFromEnd <= endThreshold;
|
|
916
|
-
onEndReached && this.state.cellsAroundViewport.last === getItemCount(data) - 1 && isWithinEndThreshold && this._scrollMetrics.contentLength !== this._sentEndForContentLength ? (this._sentEndForContentLength = this._scrollMetrics.contentLength, onEndReached({
|
|
917
|
-
distanceFromEnd
|
|
918
|
-
})) : onStartReached != null && this.state.cellsAroundViewport.first === 0 && isWithinStartThreshold && this._scrollMetrics.contentLength !== this._sentStartForContentLength ? (!initialScrollIndex || this._scrollMetrics.timestamp !== 0) && (this._sentStartForContentLength = this._scrollMetrics.contentLength, onStartReached({
|
|
919
|
-
distanceFromStart
|
|
920
|
-
})) : (this._sentStartForContentLength = isWithinStartThreshold ? this._sentStartForContentLength : 0, this._sentEndForContentLength = isWithinEndThreshold ? this._sentEndForContentLength : 0);
|
|
921
|
-
}
|
|
922
|
-
},
|
|
923
|
-
{
|
|
924
|
-
key: "_scheduleCellsToRenderUpdate",
|
|
925
|
-
value: function() {
|
|
926
|
-
var { first, last } = this.state.cellsAroundViewport, { offset, visibleLength, velocity } = this._scrollMetrics, itemCount = this.props.getItemCount(this.props.data), hiPri = !1, onStartReachedThreshold = onStartReachedThresholdOrDefault(this.props.onStartReachedThreshold), onEndReachedThreshold = onEndReachedThresholdOrDefault(this.props.onEndReachedThreshold);
|
|
927
|
-
if (first > 0) {
|
|
928
|
-
var distTop = offset - this.__getFrameMetricsApprox(first, this.props).offset;
|
|
929
|
-
hiPri = distTop < 0 || velocity < -2 && distTop < getScrollingThreshold(onStartReachedThreshold, visibleLength);
|
|
930
|
-
}
|
|
931
|
-
if (!hiPri && last >= 0 && last < itemCount - 1) {
|
|
932
|
-
var distBottom = this.__getFrameMetricsApprox(last, this.props).offset - (offset + visibleLength);
|
|
933
|
-
hiPri = distBottom < 0 || velocity > 2 && distBottom < getScrollingThreshold(onEndReachedThreshold, visibleLength);
|
|
934
|
-
}
|
|
935
|
-
if (hiPri && (this._averageCellLength || this.props.getItemLayout) && !this._hiPriInProgress) {
|
|
936
|
-
this._hiPriInProgress = !0, this._updateCellsToRenderBatcher.dispose({
|
|
937
|
-
abort: !0
|
|
938
|
-
}), this._updateCellsToRender();
|
|
939
|
-
return;
|
|
940
|
-
} else
|
|
941
|
-
this._updateCellsToRenderBatcher.schedule();
|
|
942
|
-
}
|
|
943
|
-
},
|
|
944
|
-
{
|
|
945
|
-
key: "_updateViewableItems",
|
|
946
|
-
value: function(props, cellsAroundViewport) {
|
|
947
|
-
var _this = this;
|
|
948
|
-
this._viewabilityTuples.forEach(function(tuple) {
|
|
949
|
-
tuple.viewabilityHelper.onUpdate(props, _this._scrollMetrics.offset, _this._scrollMetrics.visibleLength, _this._getFrameMetrics, _this._createViewToken, tuple.onViewableItemsChanged, cellsAroundViewport);
|
|
950
|
-
});
|
|
951
|
-
}
|
|
952
|
-
}
|
|
953
|
-
], [
|
|
954
|
-
{
|
|
955
|
-
key: "_createRenderMask",
|
|
956
|
-
value: function(props, cellsAroundViewport, additionalRegions) {
|
|
957
|
-
var itemCount = props.getItemCount(props.data);
|
|
958
|
-
(0, import_react_native_web_internals.invariant)(cellsAroundViewport.first >= 0 && cellsAroundViewport.last >= cellsAroundViewport.first - 1 && cellsAroundViewport.last < itemCount, `Invalid cells around viewport "[${cellsAroundViewport.first}, ${cellsAroundViewport.last}]" was passed to VirtualizedList._createRenderMask`);
|
|
959
|
-
var renderMask = new import_CellRenderMask.CellRenderMask(itemCount);
|
|
960
|
-
if (itemCount > 0) {
|
|
961
|
-
var allRegions = [
|
|
962
|
-
cellsAroundViewport,
|
|
963
|
-
...additionalRegions ?? []
|
|
964
|
-
], _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
|
|
965
|
-
try {
|
|
966
|
-
for (var _iterator = allRegions[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {
|
|
967
|
-
var region = _step.value;
|
|
968
|
-
renderMask.addCells(region);
|
|
969
|
-
}
|
|
970
|
-
} catch (err) {
|
|
971
|
-
_didIteratorError = !0, _iteratorError = err;
|
|
972
|
-
} finally {
|
|
973
|
-
try {
|
|
974
|
-
!_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
|
|
975
|
-
} finally {
|
|
976
|
-
if (_didIteratorError)
|
|
977
|
-
throw _iteratorError;
|
|
978
|
-
}
|
|
979
|
-
}
|
|
980
|
-
if (props.initialScrollIndex == null || props.initialScrollIndex <= 0) {
|
|
981
|
-
var initialRegion = VirtualizedList2._initialRenderRegion(props);
|
|
982
|
-
renderMask.addCells(initialRegion);
|
|
983
|
-
}
|
|
984
|
-
var stickyIndicesSet = new Set(props.stickyHeaderIndices);
|
|
985
|
-
VirtualizedList2._ensureClosestStickyHeader(props, stickyIndicesSet, renderMask, cellsAroundViewport.first);
|
|
281
|
+
for (var { data, getItem, getItemCount, renderItem } = this.props, items = [], i = 0; i < getItemCount(data); i++) {
|
|
282
|
+
var item = getItem(data, i);
|
|
283
|
+
items.push(/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_VirtualizedListCellRenderer.default, {
|
|
284
|
+
cellKey: String(i),
|
|
285
|
+
index: i,
|
|
286
|
+
item,
|
|
287
|
+
renderItem
|
|
288
|
+
}, this.props.keyExtractor ? this.props.keyExtractor(item, i) : i));
|
|
986
289
|
}
|
|
987
|
-
return
|
|
988
|
-
}
|
|
989
|
-
},
|
|
990
|
-
{
|
|
991
|
-
key: "_initialRenderRegion",
|
|
992
|
-
value: function(props) {
|
|
993
|
-
var itemCount = props.getItemCount(props.data), _props_initialScrollIndex, firstCellIndex = Math.max(0, Math.min(itemCount - 1, Math.floor((_props_initialScrollIndex = props.initialScrollIndex) !== null && _props_initialScrollIndex !== void 0 ? _props_initialScrollIndex : 0))), lastCellIndex = Math.min(itemCount, firstCellIndex + initialNumToRenderOrDefault(props.initialNumToRender)) - 1;
|
|
994
|
-
return {
|
|
995
|
-
first: firstCellIndex,
|
|
996
|
-
last: lastCellIndex
|
|
997
|
-
};
|
|
998
|
-
}
|
|
999
|
-
},
|
|
1000
|
-
{
|
|
1001
|
-
key: "_ensureClosestStickyHeader",
|
|
1002
|
-
value: function(props, stickyIndicesSet, renderMask, cellIdx) {
|
|
1003
|
-
for (var stickyOffset = props.ListHeaderComponent ? 1 : 0, itemIdx = cellIdx - 1; itemIdx >= 0; itemIdx--)
|
|
1004
|
-
if (stickyIndicesSet.has(itemIdx + stickyOffset)) {
|
|
1005
|
-
renderMask.addCells({
|
|
1006
|
-
first: itemIdx,
|
|
1007
|
-
last: itemIdx
|
|
1008
|
-
});
|
|
1009
|
-
break;
|
|
1010
|
-
}
|
|
290
|
+
return items;
|
|
1011
291
|
}
|
|
1012
292
|
},
|
|
1013
293
|
{
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
return {
|
|
1021
|
-
cellsAroundViewport: constrainedCells,
|
|
1022
|
-
renderMask: VirtualizedList2._createRenderMask(newProps, constrainedCells)
|
|
294
|
+
// Handle scroll events
|
|
295
|
+
key: "__getFrameMetricsApprox",
|
|
296
|
+
value: function(index, props) {
|
|
297
|
+
var frame = {
|
|
298
|
+
length: this._averageCellLength,
|
|
299
|
+
offset: this._averageCellLength * index
|
|
1023
300
|
};
|
|
301
|
+
return frame;
|
|
1024
302
|
}
|
|
1025
303
|
},
|
|
1026
304
|
{
|
|
1027
|
-
key: "
|
|
1028
|
-
value: function(
|
|
1029
|
-
|
|
1030
|
-
return {
|
|
1031
|
-
first: (0, import_clamp.default)(0, itemCount - 1 - maxToRenderPerBatch, cells.first),
|
|
1032
|
-
last
|
|
1033
|
-
};
|
|
305
|
+
key: "_getOffsetApprox",
|
|
306
|
+
value: function(index, props) {
|
|
307
|
+
return this.__getFrameMetricsApprox(index, props).offset;
|
|
1034
308
|
}
|
|
1035
309
|
}
|
|
1036
310
|
]), VirtualizedList2;
|
|
1037
311
|
}(import_StateSafePureComponent.default);
|
|
1038
312
|
_define_property(VirtualizedList, "contextType", import_VirtualizedListContext.VirtualizedListContext);
|
|
1039
|
-
var
|
|
1040
|
-
verticallyInverted: {
|
|
1041
|
-
transform: "scaleY(-1)"
|
|
1042
|
-
},
|
|
1043
|
-
horizontallyInverted: {
|
|
1044
|
-
transform: "scaleX(-1)"
|
|
1045
|
-
},
|
|
1046
|
-
debug: {
|
|
1047
|
-
flex: 1
|
|
1048
|
-
},
|
|
1049
|
-
debugOverlayBase: {
|
|
1050
|
-
position: "absolute",
|
|
1051
|
-
top: 0,
|
|
1052
|
-
right: 0
|
|
1053
|
-
},
|
|
1054
|
-
debugOverlay: {
|
|
1055
|
-
bottom: 0,
|
|
1056
|
-
width: 20,
|
|
1057
|
-
borderColor: "blue",
|
|
1058
|
-
borderWidth: 1
|
|
1059
|
-
},
|
|
1060
|
-
debugOverlayFrame: {
|
|
1061
|
-
left: 0,
|
|
1062
|
-
backgroundColor: "orange"
|
|
1063
|
-
},
|
|
1064
|
-
debugOverlayFrameLast: {
|
|
1065
|
-
left: 0,
|
|
1066
|
-
borderColor: "green",
|
|
1067
|
-
borderWidth: 2
|
|
1068
|
-
},
|
|
1069
|
-
debugOverlayFrameVis: {
|
|
1070
|
-
left: 0,
|
|
1071
|
-
borderColor: "red",
|
|
1072
|
-
borderWidth: 2
|
|
1073
|
-
}
|
|
1074
|
-
}), VirtualizedList_default = VirtualizedList;
|
|
313
|
+
var VirtualizedList_default = VirtualizedList;
|
|
1075
314
|
//# sourceMappingURL=index.js.map
|