@tamagui/react-native-web-lite 2.0.0-rc.3 → 2.0.0-rc.30
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/Libraries/Pressability/Pressability.cjs +26 -0
- package/dist/cjs/Libraries/Pressability/usePressability.cjs +26 -0
- package/dist/cjs/ScrollView/ScrollViewBase.cjs +9 -7
- package/dist/cjs/ScrollView/index.cjs +31 -0
- package/dist/cjs/createReactDOMStyle.cjs +4 -2
- package/dist/cjs/index.js +76 -18
- package/dist/cjs/preprocess.cjs +1 -0
- package/dist/cjs/without-animated.cjs +134 -43
- package/dist/esm/ActivityIndicator/__tests__/index-test.mjs +1 -1
- package/dist/esm/AppRegistry/__tests__/index-test.mjs +1 -1
- package/dist/esm/AppRegistry/__tests__/index-test.node.mjs +2 -2
- package/dist/esm/AppState/__tests__/index-test.mjs +1 -1
- package/dist/esm/Dimensions/__tests__/index-test.mjs +1 -1
- package/dist/esm/FlatList.mjs +4 -4
- package/dist/esm/ImageBackground/__tests__/index-test.mjs +2 -2
- package/dist/esm/Libraries/Pressability/Pressability.mjs +3 -0
- package/dist/esm/Libraries/Pressability/Pressability.mjs.map +1 -0
- package/dist/esm/Libraries/Pressability/usePressability.mjs +3 -0
- package/dist/esm/Libraries/Pressability/usePressability.mjs.map +1 -0
- package/dist/esm/Linking/__tests__/index-test.mjs +1 -1
- package/dist/esm/Modal/ModalContent.mjs +1 -1
- package/dist/esm/ScrollView/ScrollViewBase.mjs +9 -7
- package/dist/esm/ScrollView/ScrollViewBase.mjs.map +1 -1
- package/dist/esm/ScrollView/index.mjs +31 -0
- package/dist/esm/ScrollView/index.mjs.map +1 -1
- package/dist/esm/SectionList.mjs +2 -2
- package/dist/esm/TouchableOpacity.mjs +1 -1
- package/dist/esm/VirtualizedList.mjs +2 -2
- package/dist/esm/createElement/__tests__/index-test.mjs +1 -1
- package/dist/esm/createReactDOMStyle.mjs +2 -1
- package/dist/esm/createReactDOMStyle.mjs.map +1 -1
- package/dist/esm/index.js +54 -160
- package/dist/esm/index.js.map +1 -6
- package/dist/esm/preprocess.mjs +2 -2
- package/dist/esm/preprocess.mjs.map +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.mjs +1 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.mjs +1 -1
- package/dist/esm/vendor/react-native/FlatList/index.mjs +4 -4
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs +1 -1
- package/dist/esm/vendor/react-native/SectionList/index.mjs +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs +1 -1
- package/dist/esm/vendor/react-native/VirtualizedList/index.mjs +4 -4
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs +1 -1
- package/dist/esm/without-animated.mjs +133 -42
- package/dist/esm/without-animated.mjs.map +1 -1
- package/package.json +34 -8
- package/src/Libraries/Pressability/Pressability.ts +2 -0
- package/src/Libraries/Pressability/usePressability.ts +2 -0
- package/src/ScrollView/ScrollViewBase.tsx +12 -7
- package/src/ScrollView/index.tsx +31 -0
- package/src/createReactDOMStyle.ts +4 -1
- package/src/preprocess.ts +1 -0
- package/src/without-animated.tsx +156 -27
- package/dist/cjs/AccessibilityInfo/index.js +0 -95
- package/dist/cjs/AccessibilityInfo/index.js.map +0 -6
- package/dist/cjs/ActivityIndicator/__tests__/index-test.js +0 -116
- package/dist/cjs/ActivityIndicator/__tests__/index-test.js.map +0 -6
- package/dist/cjs/ActivityIndicator/index.js +0 -109
- package/dist/cjs/ActivityIndicator/index.js.map +0 -6
- package/dist/cjs/Alert/index.js +0 -24
- package/dist/cjs/Alert/index.js.map +0 -6
- package/dist/cjs/AppRegistry/AppContainer.js +0 -41
- package/dist/cjs/AppRegistry/AppContainer.js.map +0 -6
- package/dist/cjs/AppRegistry/__tests__/index-test.js +0 -77
- package/dist/cjs/AppRegistry/__tests__/index-test.js.map +0 -6
- package/dist/cjs/AppRegistry/__tests__/index-test.node.js +0 -131
- package/dist/cjs/AppRegistry/__tests__/index-test.node.js.map +0 -6
- package/dist/cjs/AppRegistry/index.js +0 -90
- package/dist/cjs/AppRegistry/index.js.map +0 -6
- package/dist/cjs/AppRegistry/renderApplication.js +0 -43
- package/dist/cjs/AppRegistry/renderApplication.js.map +0 -6
- package/dist/cjs/AppState/__tests__/index-test.js +0 -33
- package/dist/cjs/AppState/__tests__/index-test.js.map +0 -6
- package/dist/cjs/AppState/index.js +0 -71
- package/dist/cjs/AppState/index.js.map +0 -6
- package/dist/cjs/Appearance/index.js +0 -40
- package/dist/cjs/Appearance/index.js.map +0 -6
- package/dist/cjs/BackHandler/index.js +0 -31
- package/dist/cjs/BackHandler/index.js.map +0 -6
- package/dist/cjs/Clipboard/index.js +0 -47
- package/dist/cjs/Clipboard/index.js.map +0 -6
- package/dist/cjs/DeviceEmitter.js +0 -22
- package/dist/cjs/DeviceEmitter.js.map +0 -6
- package/dist/cjs/DeviceInfo/index.js +0 -53
- package/dist/cjs/DeviceInfo/index.js.map +0 -6
- package/dist/cjs/Dimensions/__tests__/index-test.js +0 -51
- package/dist/cjs/Dimensions/__tests__/index-test.js.map +0 -6
- package/dist/cjs/Dimensions/index.js +0 -76
- package/dist/cjs/Dimensions/index.js.map +0 -6
- package/dist/cjs/FlatList.js +0 -194
- package/dist/cjs/FlatList.js.map +0 -6
- package/dist/cjs/I18nManager/index.js +0 -29
- package/dist/cjs/I18nManager/index.js.map +0 -6
- package/dist/cjs/Image/index.js +0 -254
- package/dist/cjs/Image/index.js.map +0 -6
- package/dist/cjs/Image/types.js +0 -14
- package/dist/cjs/Image/types.js.map +0 -6
- package/dist/cjs/ImageBackground/__tests__/index-test.js +0 -48
- package/dist/cjs/ImageBackground/__tests__/index-test.js.map +0 -6
- package/dist/cjs/ImageBackground/index.js +0 -55
- package/dist/cjs/ImageBackground/index.js.map +0 -6
- package/dist/cjs/InteractionManager/TaskQueue.js +0 -75
- package/dist/cjs/InteractionManager/TaskQueue.js.map +0 -6
- package/dist/cjs/InteractionManager/index.js +0 -94
- package/dist/cjs/InteractionManager/index.js.map +0 -6
- package/dist/cjs/Keyboard/index.js +0 -34
- package/dist/cjs/Keyboard/index.js.map +0 -6
- package/dist/cjs/KeyboardAvoidingView/index.js +0 -57
- package/dist/cjs/KeyboardAvoidingView/index.js.map +0 -6
- package/dist/cjs/Linking/__tests__/index-test.js +0 -38
- package/dist/cjs/Linking/__tests__/index-test.js.map +0 -6
- package/dist/cjs/Linking/index.js +0 -85
- package/dist/cjs/Linking/index.js.map +0 -6
- package/dist/cjs/LogBox/index.js +0 -32
- package/dist/cjs/LogBox/index.js.map +0 -6
- package/dist/cjs/Modal/ModalAnimation.js +0 -137
- package/dist/cjs/Modal/ModalAnimation.js.map +0 -6
- package/dist/cjs/Modal/ModalContent.js +0 -77
- package/dist/cjs/Modal/ModalContent.js.map +0 -6
- package/dist/cjs/Modal/ModalPortal.js +0 -42
- package/dist/cjs/Modal/ModalPortal.js.map +0 -6
- package/dist/cjs/Modal/index.js +0 -21
- package/dist/cjs/Modal/index.js.map +0 -6
- package/dist/cjs/NativeModules/index.js +0 -24
- package/dist/cjs/NativeModules/index.js.map +0 -6
- package/dist/cjs/PanResponder/index.js +0 -29
- package/dist/cjs/PanResponder/index.js.map +0 -6
- package/dist/cjs/PixelRatio/index.js +0 -52
- package/dist/cjs/PixelRatio/index.js.map +0 -6
- package/dist/cjs/Pressable/index.js +0 -141
- package/dist/cjs/Pressable/index.js.map +0 -6
- package/dist/cjs/RefreshControl/index.js +0 -41
- package/dist/cjs/RefreshControl/index.js.map +0 -6
- package/dist/cjs/SafeAreaView/index.js +0 -44
- package/dist/cjs/SafeAreaView/index.js.map +0 -6
- package/dist/cjs/ScrollView/ScrollViewBase.js +0 -125
- package/dist/cjs/ScrollView/ScrollViewBase.js.map +0 -6
- package/dist/cjs/ScrollView/index.js +0 -525
- package/dist/cjs/ScrollView/index.js.map +0 -6
- package/dist/cjs/SectionList.js +0 -30
- package/dist/cjs/SectionList.js.map +0 -6
- package/dist/cjs/Share/index.js +0 -55
- package/dist/cjs/Share/index.js.map +0 -6
- package/dist/cjs/StatusBar/index.js +0 -32
- package/dist/cjs/StatusBar/index.js.map +0 -6
- package/dist/cjs/Text/index.js +0 -153
- package/dist/cjs/Text/index.js.map +0 -6
- package/dist/cjs/Text/types.js +0 -14
- package/dist/cjs/Text/types.js.map +0 -6
- package/dist/cjs/TextInput/index.js +0 -269
- package/dist/cjs/TextInput/index.js.map +0 -6
- package/dist/cjs/TextInput/types.js +0 -14
- package/dist/cjs/TextInput/types.js.map +0 -6
- package/dist/cjs/TouchableNativeFeedback.js +0 -21
- package/dist/cjs/TouchableNativeFeedback.js.map +0 -6
- package/dist/cjs/TouchableOpacity.js +0 -122
- package/dist/cjs/TouchableOpacity.js.map +0 -6
- package/dist/cjs/TouchableWithoutFeedback.js +0 -89
- package/dist/cjs/TouchableWithoutFeedback.js.map +0 -6
- package/dist/cjs/UnimplementedView.js +0 -36
- package/dist/cjs/UnimplementedView.js.map +0 -6
- package/dist/cjs/Vibration/index.js +0 -30
- package/dist/cjs/Vibration/index.js.map +0 -6
- package/dist/cjs/View/index.js +0 -102
- package/dist/cjs/View/index.js.map +0 -6
- package/dist/cjs/View/types.js +0 -14
- package/dist/cjs/View/types.js.map +0 -6
- package/dist/cjs/VirtualizedList.js +0 -30
- package/dist/cjs/VirtualizedList.js.map +0 -6
- package/dist/cjs/codegenNativeCommand.js +0 -23
- package/dist/cjs/codegenNativeCommand.js.map +0 -6
- package/dist/cjs/codegenNativeComponent.js +0 -23
- package/dist/cjs/codegenNativeComponent.js.map +0 -6
- package/dist/cjs/createElement/__tests__/index-test.js +0 -536
- package/dist/cjs/createElement/__tests__/index-test.js.map +0 -6
- package/dist/cjs/createElement/index.js +0 -60
- package/dist/cjs/createElement/index.js.map +0 -6
- package/dist/cjs/createReactDOMStyle.js +0 -21
- package/dist/cjs/createReactDOMStyle.js.map +0 -6
- package/dist/cjs/modules/requestIdleCallback.js +0 -34
- package/dist/cjs/modules/requestIdleCallback.js.map +0 -6
- package/dist/cjs/preprocess.js +0 -24
- package/dist/cjs/preprocess.js.map +0 -6
- package/dist/cjs/render/index.js +0 -31
- package/dist/cjs/render/index.js.map +0 -6
- package/dist/cjs/styleTypes.js +0 -14
- package/dist/cjs/styleTypes.js.map +0 -6
- package/dist/cjs/types.js +0 -14
- package/dist/cjs/types.js.map +0 -6
- package/dist/cjs/useColorScheme/index.js +0 -39
- package/dist/cjs/useColorScheme/index.js.map +0 -6
- package/dist/cjs/useLocaleContext/index.js +0 -21
- package/dist/cjs/useLocaleContext/index.js.map +0 -6
- package/dist/cjs/useWindowDimensions/index.js +0 -40
- package/dist/cjs/useWindowDimensions/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/Animated.js +0 -32
- package/dist/cjs/vendor/react-native/Animated/Animated.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js +0 -130
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js +0 -432
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js +0 -115
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.js +0 -2
- package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/Easing.js +0 -182
- package/dist/cjs/vendor/react-native/Animated/Easing.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js +0 -322
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.js +0 -90
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.js +0 -85
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/SpringConfig.js +0 -71
- package/dist/cjs/vendor/react-native/Animated/SpringConfig.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.js +0 -63
- package/dist/cjs/vendor/react-native/Animated/animations/Animation.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.js +0 -59
- package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.js +0 -155
- package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.js +0 -80
- package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/bezier.js +0 -77
- package/dist/cjs/vendor/react-native/Animated/bezier.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.js +0 -32
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js +0 -24
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js +0 -32
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.js +0 -32
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js +0 -24
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js +0 -24
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js +0 -37
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.js +0 -52
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.js +0 -172
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +0 -57
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.js +0 -54
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.js +0 -167
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.js +0 -52
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +0 -52
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.js +0 -134
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.js +0 -107
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.js +0 -95
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +0 -52
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.js +0 -69
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.js +0 -94
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.js +0 -181
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.js +0 -82
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +0 -66
- package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.js.map +0 -6
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.js +0 -75
- package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.js.map +0 -6
- package/dist/cjs/vendor/react-native/Batchinator/index.js +0 -51
- package/dist/cjs/vendor/react-native/Batchinator/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.js +0 -60
- package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.js.map +0 -6
- package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js +0 -24
- package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js.map +0 -6
- package/dist/cjs/vendor/react-native/FeatureFlags.js +0 -28
- package/dist/cjs/vendor/react-native/FeatureFlags.js.map +0 -6
- package/dist/cjs/vendor/react-native/FillRateHelper/index.js +0 -125
- package/dist/cjs/vendor/react-native/FillRateHelper/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/FlatList/index.js +0 -263
- package/dist/cjs/vendor/react-native/FlatList/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.js +0 -57
- package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.js +0 -102
- package/dist/cjs/vendor/react-native/LayoutAnimation/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/PanResponder/index.js +0 -147
- package/dist/cjs/vendor/react-native/PanResponder/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/PooledClass/index.js +0 -39
- package/dist/cjs/vendor/react-native/PooledClass/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +0 -29
- package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js.map +0 -6
- package/dist/cjs/vendor/react-native/SectionList/index.js +0 -87
- package/dist/cjs/vendor/react-native/SectionList/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/StaticContainer/index.js +0 -41
- package/dist/cjs/vendor/react-native/StaticContainer/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/StaticRenderer/index.js +0 -40
- package/dist/cjs/vendor/react-native/StaticRenderer/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/TouchHistoryMath/index.js +0 -119
- package/dist/cjs/vendor/react-native/TouchHistoryMath/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js +0 -27
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js.map +0 -6
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js +0 -33
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js.map +0 -6
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js +0 -128
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js.map +0 -6
- package/dist/cjs/vendor/react-native/Utilities/Platform.js +0 -23
- package/dist/cjs/vendor/react-native/Utilities/Platform.js.map +0 -6
- package/dist/cjs/vendor/react-native/Utilities/clamp.js +0 -26
- package/dist/cjs/vendor/react-native/Utilities/clamp.js.map +0 -6
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js +0 -29
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js.map +0 -6
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.js +0 -33
- package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.js.map +0 -6
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.js +0 -32
- package/dist/cjs/vendor/react-native/Utilities/useRefEffect.js.map +0 -6
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.js +0 -153
- package/dist/cjs/vendor/react-native/ViewabilityHelper/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/ViewabilityHelper.js +0 -145
- package/dist/cjs/vendor/react-native/ViewabilityHelper.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizeUtils/index.js +0 -86
- package/dist/cjs/vendor/react-native/VirtualizeUtils/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.js +0 -78
- package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.js +0 -61
- package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.js +0 -76
- package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js +0 -160
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.js +0 -65
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.js +0 -59
- package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedList/index.js +0 -238
- package/dist/cjs/vendor/react-native/VirtualizedList/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.js +0 -119
- package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/deepDiffer/index.js +0 -49
- package/dist/cjs/vendor/react-native/deepDiffer/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/emitter/EventEmitter.js +0 -24
- package/dist/cjs/vendor/react-native/emitter/EventEmitter.js.map +0 -6
- package/dist/cjs/vendor/react-native/emitter/EventSubscription.js +0 -2
- package/dist/cjs/vendor/react-native/emitter/EventSubscription.js.map +0 -6
- package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.js +0 -48
- package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.js.map +0 -6
- package/dist/cjs/vendor/react-native/emitter/_EventEmitter.js +0 -128
- package/dist/cjs/vendor/react-native/emitter/_EventEmitter.js.map +0 -6
- package/dist/cjs/vendor/react-native/emitter/_EventSubscription.js +0 -38
- package/dist/cjs/vendor/react-native/emitter/_EventSubscription.js.map +0 -6
- package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.js +0 -77
- package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.js.map +0 -6
- package/dist/cjs/vendor/react-native/infoLog/index.js +0 -26
- package/dist/cjs/vendor/react-native/infoLog/index.js.map +0 -6
- package/dist/cjs/vendor/react-native/useRefEffect.js +0 -32
- package/dist/cjs/vendor/react-native/useRefEffect.js.map +0 -6
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.js +0 -87
- package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.js.map +0 -6
- package/dist/cjs/without-animated.js +0 -179
- package/dist/cjs/without-animated.js.map +0 -6
- package/dist/esm/AccessibilityInfo/index.js +0 -79
- package/dist/esm/AccessibilityInfo/index.js.map +0 -6
- package/dist/esm/ActivityIndicator/__tests__/index-test.js +0 -102
- package/dist/esm/ActivityIndicator/__tests__/index-test.js.map +0 -6
- package/dist/esm/ActivityIndicator/index.js +0 -88
- package/dist/esm/ActivityIndicator/index.js.map +0 -6
- package/dist/esm/Alert/index.js +0 -8
- package/dist/esm/Alert/index.js.map +0 -6
- package/dist/esm/AppRegistry/AppContainer.js +0 -20
- package/dist/esm/AppRegistry/AppContainer.js.map +0 -6
- package/dist/esm/AppRegistry/__tests__/index-test.js +0 -59
- package/dist/esm/AppRegistry/__tests__/index-test.js.map +0 -6
- package/dist/esm/AppRegistry/__tests__/index-test.node.js +0 -116
- package/dist/esm/AppRegistry/__tests__/index-test.node.js.map +0 -6
- package/dist/esm/AppRegistry/index.js +0 -76
- package/dist/esm/AppRegistry/index.js.map +0 -6
- package/dist/esm/AppRegistry/renderApplication.js +0 -31
- package/dist/esm/AppRegistry/renderApplication.js.map +0 -6
- package/dist/esm/AppState/__tests__/index-test.js +0 -14
- package/dist/esm/AppState/__tests__/index-test.js.map +0 -6
- package/dist/esm/AppState/index.js +0 -55
- package/dist/esm/AppState/index.js.map +0 -6
- package/dist/esm/Appearance/index.js +0 -24
- package/dist/esm/Appearance/index.js.map +0 -6
- package/dist/esm/BackHandler/index.js +0 -15
- package/dist/esm/BackHandler/index.js.map +0 -6
- package/dist/esm/Clipboard/index.js +0 -31
- package/dist/esm/Clipboard/index.js.map +0 -6
- package/dist/esm/DeviceEmitter.js +0 -6
- package/dist/esm/DeviceEmitter.js.map +0 -6
- package/dist/esm/DeviceInfo/index.js +0 -38
- package/dist/esm/DeviceInfo/index.js.map +0 -6
- package/dist/esm/Dimensions/__tests__/index-test.js +0 -32
- package/dist/esm/Dimensions/__tests__/index-test.js.map +0 -6
- package/dist/esm/Dimensions/index.js +0 -60
- package/dist/esm/Dimensions/index.js.map +0 -6
- package/dist/esm/FlatList.js +0 -177
- package/dist/esm/FlatList.js.map +0 -6
- package/dist/esm/I18nManager/index.js +0 -13
- package/dist/esm/I18nManager/index.js.map +0 -6
- package/dist/esm/Image/index.js +0 -240
- package/dist/esm/Image/index.js.map +0 -6
- package/dist/esm/Image/types.js +0 -1
- package/dist/esm/Image/types.js.map +0 -6
- package/dist/esm/ImageBackground/__tests__/index-test.js +0 -32
- package/dist/esm/ImageBackground/__tests__/index-test.js.map +0 -6
- package/dist/esm/ImageBackground/index.js +0 -43
- package/dist/esm/ImageBackground/index.js.map +0 -6
- package/dist/esm/InteractionManager/TaskQueue.js +0 -59
- package/dist/esm/InteractionManager/TaskQueue.js.map +0 -6
- package/dist/esm/InteractionManager/index.js +0 -73
- package/dist/esm/InteractionManager/index.js.map +0 -6
- package/dist/esm/Keyboard/index.js +0 -18
- package/dist/esm/Keyboard/index.js.map +0 -6
- package/dist/esm/KeyboardAvoidingView/index.js +0 -35
- package/dist/esm/KeyboardAvoidingView/index.js.map +0 -6
- package/dist/esm/Linking/__tests__/index-test.js +0 -19
- package/dist/esm/Linking/__tests__/index-test.js.map +0 -6
- package/dist/esm/Linking/index.js +0 -69
- package/dist/esm/Linking/index.js.map +0 -6
- package/dist/esm/LogBox/index.js +0 -16
- package/dist/esm/LogBox/index.js.map +0 -6
- package/dist/esm/Modal/ModalAnimation.js +0 -116
- package/dist/esm/Modal/ModalAnimation.js.map +0 -6
- package/dist/esm/Modal/ModalContent.js +0 -55
- package/dist/esm/Modal/ModalContent.js.map +0 -6
- package/dist/esm/Modal/ModalPortal.js +0 -20
- package/dist/esm/Modal/ModalPortal.js.map +0 -6
- package/dist/esm/Modal/index.js +0 -5
- package/dist/esm/Modal/index.js.map +0 -6
- package/dist/esm/NativeModules/index.js +0 -8
- package/dist/esm/NativeModules/index.js.map +0 -6
- package/dist/esm/PanResponder/index.js +0 -5
- package/dist/esm/PanResponder/index.js.map +0 -6
- package/dist/esm/PixelRatio/index.js +0 -36
- package/dist/esm/PixelRatio/index.js.map +0 -6
- package/dist/esm/Pressable/index.js +0 -122
- package/dist/esm/Pressable/index.js.map +0 -6
- package/dist/esm/RefreshControl/index.js +0 -26
- package/dist/esm/RefreshControl/index.js.map +0 -6
- package/dist/esm/SafeAreaView/index.js +0 -23
- package/dist/esm/SafeAreaView/index.js.map +0 -6
- package/dist/esm/ScrollView/ScrollViewBase.js +0 -104
- package/dist/esm/ScrollView/ScrollViewBase.js.map +0 -6
- package/dist/esm/ScrollView/index.js +0 -515
- package/dist/esm/ScrollView/index.js.map +0 -6
- package/dist/esm/SectionList.js +0 -7
- package/dist/esm/SectionList.js.map +0 -6
- package/dist/esm/Share/index.js +0 -39
- package/dist/esm/Share/index.js.map +0 -6
- package/dist/esm/StatusBar/index.js +0 -16
- package/dist/esm/StatusBar/index.js.map +0 -6
- package/dist/esm/Text/index.js +0 -142
- package/dist/esm/Text/index.js.map +0 -6
- package/dist/esm/Text/types.js +0 -1
- package/dist/esm/Text/types.js.map +0 -6
- package/dist/esm/TextInput/index.js +0 -258
- package/dist/esm/TextInput/index.js.map +0 -6
- package/dist/esm/TextInput/types.js +0 -1
- package/dist/esm/TextInput/types.js.map +0 -6
- package/dist/esm/TouchableNativeFeedback.js +0 -5
- package/dist/esm/TouchableNativeFeedback.js.map +0 -6
- package/dist/esm/TouchableOpacity.js +0 -105
- package/dist/esm/TouchableOpacity.js.map +0 -6
- package/dist/esm/TouchableWithoutFeedback.js +0 -67
- package/dist/esm/TouchableWithoutFeedback.js.map +0 -6
- package/dist/esm/UnimplementedView.js +0 -14
- package/dist/esm/UnimplementedView.js.map +0 -6
- package/dist/esm/Vibration/index.js +0 -14
- package/dist/esm/Vibration/index.js.map +0 -6
- package/dist/esm/View/index.js +0 -90
- package/dist/esm/View/index.js.map +0 -6
- package/dist/esm/View/types.js +0 -1
- package/dist/esm/View/types.js.map +0 -6
- package/dist/esm/VirtualizedList.js +0 -7
- package/dist/esm/VirtualizedList.js.map +0 -6
- package/dist/esm/codegenNativeCommand.js +0 -7
- package/dist/esm/codegenNativeCommand.js.map +0 -6
- package/dist/esm/codegenNativeComponent.js +0 -7
- package/dist/esm/codegenNativeComponent.js.map +0 -6
- package/dist/esm/createElement/__tests__/index-test.js +0 -519
- package/dist/esm/createElement/__tests__/index-test.js.map +0 -6
- package/dist/esm/createElement/index.js +0 -48
- package/dist/esm/createElement/index.js.map +0 -6
- package/dist/esm/createReactDOMStyle.js +0 -5
- package/dist/esm/createReactDOMStyle.js.map +0 -6
- package/dist/esm/modules/requestIdleCallback.js +0 -18
- package/dist/esm/modules/requestIdleCallback.js.map +0 -6
- package/dist/esm/preprocess.js +0 -13
- package/dist/esm/preprocess.js.map +0 -6
- package/dist/esm/render/index.js +0 -15
- package/dist/esm/render/index.js.map +0 -6
- package/dist/esm/styleTypes.js +0 -1
- package/dist/esm/styleTypes.js.map +0 -6
- package/dist/esm/types.js +0 -1
- package/dist/esm/types.js.map +0 -6
- package/dist/esm/useColorScheme/index.js +0 -16
- package/dist/esm/useColorScheme/index.js.map +0 -6
- package/dist/esm/useLocaleContext/index.js +0 -5
- package/dist/esm/useLocaleContext/index.js.map +0 -6
- package/dist/esm/useWindowDimensions/index.js +0 -17
- package/dist/esm/useWindowDimensions/index.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/Animated.js +0 -24
- package/dist/esm/vendor/react-native/Animated/Animated.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.js +0 -116
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.js +0 -433
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.js +0 -105
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.js +0 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/Easing.js +0 -165
- package/dist/esm/vendor/react-native/Animated/Easing.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.js +0 -312
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.js +0 -66
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.js +0 -61
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/SpringConfig.js +0 -55
- package/dist/esm/vendor/react-native/Animated/SpringConfig.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/animations/Animation.js +0 -46
- package/dist/esm/vendor/react-native/Animated/animations/Animation.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.js +0 -43
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.js +0 -141
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.js +0 -66
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/bezier.js +0 -60
- package/dist/esm/vendor/react-native/Animated/bezier.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.js +0 -11
- package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.js +0 -10
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.js +0 -11
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.js +0 -11
- package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.js +0 -9
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.js +0 -9
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.js +0 -16
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.js +0 -37
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.js +0 -159
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +0 -42
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.js +0 -40
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.js +0 -152
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.js +0 -37
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +0 -37
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.js +0 -118
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.js +0 -95
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.js +0 -83
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +0 -37
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.js +0 -55
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.js +0 -79
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.js +0 -167
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.js +0 -68
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +0 -50
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.js.map +0 -6
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.js +0 -63
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.js.map +0 -6
- package/dist/esm/vendor/react-native/Batchinator/index.js +0 -34
- package/dist/esm/vendor/react-native/Batchinator/index.js.map +0 -6
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.js +0 -44
- package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.js.map +0 -6
- package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js +0 -8
- package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js.map +0 -6
- package/dist/esm/vendor/react-native/FeatureFlags.js +0 -12
- package/dist/esm/vendor/react-native/FeatureFlags.js.map +0 -6
- package/dist/esm/vendor/react-native/FillRateHelper/index.js +0 -109
- package/dist/esm/vendor/react-native/FillRateHelper/index.js.map +0 -6
- package/dist/esm/vendor/react-native/FlatList/index.js +0 -247
- package/dist/esm/vendor/react-native/FlatList/index.js.map +0 -6
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.js +0 -40
- package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.js.map +0 -6
- package/dist/esm/vendor/react-native/LayoutAnimation/index.js +0 -86
- package/dist/esm/vendor/react-native/LayoutAnimation/index.js.map +0 -6
- package/dist/esm/vendor/react-native/PanResponder/index.js +0 -124
- package/dist/esm/vendor/react-native/PanResponder/index.js.map +0 -6
- package/dist/esm/vendor/react-native/PooledClass/index.js +0 -23
- package/dist/esm/vendor/react-native/PooledClass/index.js.map +0 -6
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +0 -13
- package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js.map +0 -6
- package/dist/esm/vendor/react-native/SectionList/index.js +0 -65
- package/dist/esm/vendor/react-native/SectionList/index.js.map +0 -6
- package/dist/esm/vendor/react-native/StaticContainer/index.js +0 -16
- package/dist/esm/vendor/react-native/StaticContainer/index.js.map +0 -6
- package/dist/esm/vendor/react-native/StaticRenderer/index.js +0 -15
- package/dist/esm/vendor/react-native/StaticRenderer/index.js.map +0 -6
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.js +0 -103
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.js.map +0 -6
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.js +0 -10
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.js.map +0 -6
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.js +0 -16
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.js.map +0 -6
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.js +0 -111
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.js.map +0 -6
- package/dist/esm/vendor/react-native/Utilities/Platform.js +0 -7
- package/dist/esm/vendor/react-native/Utilities/Platform.js.map +0 -6
- package/dist/esm/vendor/react-native/Utilities/clamp.js +0 -9
- package/dist/esm/vendor/react-native/Utilities/clamp.js.map +0 -6
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.js +0 -12
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.js.map +0 -6
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.js +0 -17
- package/dist/esm/vendor/react-native/Utilities/useMergeRefs.js.map +0 -6
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.js +0 -16
- package/dist/esm/vendor/react-native/Utilities/useRefEffect.js.map +0 -6
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.js +0 -136
- package/dist/esm/vendor/react-native/ViewabilityHelper/index.js.map +0 -6
- package/dist/esm/vendor/react-native/ViewabilityHelper.js +0 -129
- package/dist/esm/vendor/react-native/ViewabilityHelper.js.map +0 -6
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.js +0 -70
- package/dist/esm/vendor/react-native/VirtualizeUtils/index.js.map +0 -6
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.js +0 -62
- package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.js.map +0 -6
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.js +0 -45
- package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.js.map +0 -6
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.js +0 -53
- package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.js.map +0 -6
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js +0 -140
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js.map +0 -6
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.js +0 -44
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.js.map +0 -6
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.js +0 -43
- package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.js.map +0 -6
- package/dist/esm/vendor/react-native/VirtualizedList/index.js +0 -232
- package/dist/esm/vendor/react-native/VirtualizedList/index.js.map +0 -6
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.js +0 -97
- package/dist/esm/vendor/react-native/VirtualizedSectionList/index.js.map +0 -6
- package/dist/esm/vendor/react-native/deepDiffer/index.js +0 -32
- package/dist/esm/vendor/react-native/deepDiffer/index.js.map +0 -6
- package/dist/esm/vendor/react-native/emitter/EventEmitter.js +0 -7
- package/dist/esm/vendor/react-native/emitter/EventEmitter.js.map +0 -6
- package/dist/esm/vendor/react-native/emitter/EventSubscription.js +0 -1
- package/dist/esm/vendor/react-native/emitter/EventSubscription.js.map +0 -6
- package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.js +0 -31
- package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.js.map +0 -6
- package/dist/esm/vendor/react-native/emitter/_EventEmitter.js +0 -115
- package/dist/esm/vendor/react-native/emitter/_EventEmitter.js.map +0 -6
- package/dist/esm/vendor/react-native/emitter/_EventSubscription.js +0 -21
- package/dist/esm/vendor/react-native/emitter/_EventSubscription.js.map +0 -6
- package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.js +0 -60
- package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.js.map +0 -6
- package/dist/esm/vendor/react-native/infoLog/index.js +0 -9
- package/dist/esm/vendor/react-native/infoLog/index.js.map +0 -6
- package/dist/esm/vendor/react-native/useRefEffect.js +0 -16
- package/dist/esm/vendor/react-native/useRefEffect.js.map +0 -6
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.js +0 -71
- package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.js.map +0 -6
- package/dist/esm/without-animated.js +0 -229
- package/dist/esm/without-animated.js.map +0 -6
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
9
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
-
return to;
|
|
14
|
-
};
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
16
|
-
var setAndForwardRef_exports = {};
|
|
17
|
-
__export(setAndForwardRef_exports, {
|
|
18
|
-
default: () => setAndForwardRef_default,
|
|
19
|
-
setAndForwardRef: () => setAndForwardRef
|
|
20
|
-
});
|
|
21
|
-
module.exports = __toCommonJS(setAndForwardRef_exports);
|
|
22
|
-
function setAndForwardRef({ getForwardedRef, setLocalRef }) {
|
|
23
|
-
return function(ref) {
|
|
24
|
-
const forwardedRef = getForwardedRef();
|
|
25
|
-
setLocalRef(ref), typeof forwardedRef == "function" ? forwardedRef(ref) : typeof forwardedRef == "object" && forwardedRef != null && (forwardedRef.current = ref);
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
var setAndForwardRef_default = setAndForwardRef;
|
|
29
|
-
//# sourceMappingURL=setAndForwardRef.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../src/vendor/react-native/Utilities/setAndForwardRef.js"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA2CA,SAAS,iBAAiB,EAAE,iBAAiB,YAAY,GAAG;AAC1D,SAAO,SAAoB,KAAK;AAC9B,UAAM,eAAe,gBAAgB;AAErC,gBAAY,GAAG,GAGX,OAAO,gBAAiB,aAE1B,aAAa,GAAG,IACP,OAAO,gBAAiB,YAAY,gBAAgB,SAE7D,aAAa,UAAU;AAAA,EAE3B;AACF;AAGA,IAAO,2BAAQ;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
-
for (let key of __getOwnPropNames(from))
|
|
11
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
-
var useMergeRefs_exports = {};
|
|
16
|
-
__export(useMergeRefs_exports, {
|
|
17
|
-
default: () => useMergeRefs_default,
|
|
18
|
-
useMergeRefs: () => useMergeRefs
|
|
19
|
-
});
|
|
20
|
-
module.exports = __toCommonJS(useMergeRefs_exports);
|
|
21
|
-
var import_react = require("react");
|
|
22
|
-
function useMergeRefs(...refs) {
|
|
23
|
-
return (0, import_react.useCallback)(
|
|
24
|
-
(current) => {
|
|
25
|
-
for (const ref of refs)
|
|
26
|
-
ref != null && (typeof ref == "function" ? ref(current) : ref.current = current);
|
|
27
|
-
},
|
|
28
|
-
[...refs]
|
|
29
|
-
// eslint-disable-line react-hooks/exhaustive-deps
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
var useMergeRefs_default = useMergeRefs;
|
|
33
|
-
//# sourceMappingURL=useMergeRefs.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../src/vendor/react-native/Utilities/useMergeRefs.js"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAUA,mBAA4B;AAW5B,SAAS,gBAAgB,MAAM;AAC7B,aAAO;AAAA,IACL,CAAC,YAAY;AACX,iBAAW,OAAO;AAChB,QAAI,OAAO,SACL,OAAO,OAAQ,aACjB,IAAI,OAAO,IAEX,IAAI,UAAU;AAAA,IAItB;AAAA,IACA,CAAC,GAAG,IAAI;AAAA;AAAA,EACV;AACF;AAGA,IAAO,uBAAQ;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
-
for (let key of __getOwnPropNames(from))
|
|
11
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
-
var useRefEffect_exports = {};
|
|
16
|
-
__export(useRefEffect_exports, {
|
|
17
|
-
default: () => useRefEffect_default,
|
|
18
|
-
useRefEffect: () => useRefEffect
|
|
19
|
-
});
|
|
20
|
-
module.exports = __toCommonJS(useRefEffect_exports);
|
|
21
|
-
var import_react = require("react");
|
|
22
|
-
function useRefEffect(effect) {
|
|
23
|
-
const cleanupRef = (0, import_react.useRef)(void 0);
|
|
24
|
-
return (0, import_react.useCallback)(
|
|
25
|
-
(instance) => {
|
|
26
|
-
cleanupRef.current && (cleanupRef.current(), cleanupRef.current = void 0), instance != null && (cleanupRef.current = effect(instance));
|
|
27
|
-
},
|
|
28
|
-
[effect]
|
|
29
|
-
);
|
|
30
|
-
}
|
|
31
|
-
var useRefEffect_default = useRefEffect;
|
|
32
|
-
//# sourceMappingURL=useRefEffect.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../src/vendor/react-native/Utilities/useRefEffect.js"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAUA,mBAAoC;AAgBpC,SAAS,aAAa,QAAQ;AAC5B,QAAM,iBAAa,qBAAO,MAAS;AACnC,aAAO;AAAA,IACL,CAAC,aAAa;AACZ,MAAI,WAAW,YACb,WAAW,QAAQ,GACnB,WAAW,UAAU,SAEnB,YAAY,SACd,WAAW,UAAU,OAAO,QAAQ;AAAA,IAExC;AAAA,IACA,CAAC,MAAM;AAAA,EACT;AACF;AAGA,IAAO,uBAAQ;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
9
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
-
return to;
|
|
14
|
-
};
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
16
|
-
var ViewabilityHelper_exports = {};
|
|
17
|
-
__export(ViewabilityHelper_exports, {
|
|
18
|
-
ViewabilityHelper: () => ViewabilityHelper,
|
|
19
|
-
default: () => ViewabilityHelper_default
|
|
20
|
-
});
|
|
21
|
-
module.exports = __toCommonJS(ViewabilityHelper_exports);
|
|
22
|
-
var import_react_native_web_internals = require("@tamagui/react-native-web-internals");
|
|
23
|
-
class ViewabilityHelper {
|
|
24
|
-
_config;
|
|
25
|
-
_hasInteracted = !1;
|
|
26
|
-
_timers = /* @__PURE__ */ new Set();
|
|
27
|
-
_viewableIndices = [];
|
|
28
|
-
_viewableItems = /* @__PURE__ */ new Map();
|
|
29
|
-
constructor(config = { viewAreaCoveragePercentThreshold: 0 }) {
|
|
30
|
-
this._config = config;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Cleanup, e.g. on unmount. Clears any pending timers.
|
|
34
|
-
*/
|
|
35
|
-
dispose() {
|
|
36
|
-
this._timers.forEach(clearTimeout);
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Determines which items are viewable based on the current metrics and config.
|
|
40
|
-
*/
|
|
41
|
-
computeViewableItems(props, scrollOffset, viewportHeight, getFrameMetrics, renderRange) {
|
|
42
|
-
const itemCount = props.getItemCount(props.data), { itemVisiblePercentThreshold, viewAreaCoveragePercentThreshold } = this._config, viewAreaMode = viewAreaCoveragePercentThreshold != null, viewablePercentThreshold = viewAreaMode ? viewAreaCoveragePercentThreshold : itemVisiblePercentThreshold;
|
|
43
|
-
(0, import_react_native_web_internals.invariant)(
|
|
44
|
-
viewablePercentThreshold != null && itemVisiblePercentThreshold != null != (viewAreaCoveragePercentThreshold != null),
|
|
45
|
-
"Must set exactly one of itemVisiblePercentThreshold or viewAreaCoveragePercentThreshold"
|
|
46
|
-
);
|
|
47
|
-
const viewableIndices = [];
|
|
48
|
-
if (itemCount === 0)
|
|
49
|
-
return viewableIndices;
|
|
50
|
-
let firstVisible = -1;
|
|
51
|
-
const { first, last } = renderRange || { first: 0, last: itemCount - 1 };
|
|
52
|
-
if (last >= itemCount)
|
|
53
|
-
return console.warn(
|
|
54
|
-
"Invalid render range computing viewability " + JSON.stringify({ renderRange, itemCount })
|
|
55
|
-
), [];
|
|
56
|
-
for (let idx = first; idx <= last; idx++) {
|
|
57
|
-
const metrics = getFrameMetrics(idx, props);
|
|
58
|
-
if (!metrics)
|
|
59
|
-
continue;
|
|
60
|
-
const top = metrics.offset - scrollOffset, bottom = top + metrics.length;
|
|
61
|
-
if (top < viewportHeight && bottom > 0)
|
|
62
|
-
firstVisible = idx, _isViewable(
|
|
63
|
-
viewAreaMode,
|
|
64
|
-
viewablePercentThreshold,
|
|
65
|
-
top,
|
|
66
|
-
bottom,
|
|
67
|
-
viewportHeight,
|
|
68
|
-
metrics.length
|
|
69
|
-
) && viewableIndices.push(idx);
|
|
70
|
-
else if (firstVisible >= 0)
|
|
71
|
-
break;
|
|
72
|
-
}
|
|
73
|
-
return viewableIndices;
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Figures out which items are viewable and how that has changed from before and calls
|
|
77
|
-
* `onViewableItemsChanged` as appropriate.
|
|
78
|
-
*/
|
|
79
|
-
onUpdate(props, scrollOffset, viewportHeight, getFrameMetrics, createViewToken, onViewableItemsChanged, renderRange) {
|
|
80
|
-
const itemCount = props.getItemCount(props.data);
|
|
81
|
-
if (this._config.waitForInteraction && !this._hasInteracted || itemCount === 0 || !getFrameMetrics(0, props))
|
|
82
|
-
return;
|
|
83
|
-
let viewableIndices = [];
|
|
84
|
-
if (itemCount && (viewableIndices = this.computeViewableItems(
|
|
85
|
-
props,
|
|
86
|
-
scrollOffset,
|
|
87
|
-
viewportHeight,
|
|
88
|
-
getFrameMetrics,
|
|
89
|
-
renderRange
|
|
90
|
-
)), !(this._viewableIndices.length === viewableIndices.length && this._viewableIndices.every((v, ii) => v === viewableIndices[ii])))
|
|
91
|
-
if (this._viewableIndices = viewableIndices, this._config.minimumViewTime) {
|
|
92
|
-
const handle = setTimeout(() => {
|
|
93
|
-
this._timers.delete(handle), this._onUpdateSync(
|
|
94
|
-
props,
|
|
95
|
-
viewableIndices,
|
|
96
|
-
onViewableItemsChanged,
|
|
97
|
-
createViewToken
|
|
98
|
-
);
|
|
99
|
-
}, this._config.minimumViewTime);
|
|
100
|
-
this._timers.add(handle);
|
|
101
|
-
} else
|
|
102
|
-
this._onUpdateSync(props, viewableIndices, onViewableItemsChanged, createViewToken);
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* clean-up cached _viewableIndices to evaluate changed items on next update
|
|
106
|
-
*/
|
|
107
|
-
resetViewableIndices() {
|
|
108
|
-
this._viewableIndices = [];
|
|
109
|
-
}
|
|
110
|
-
/**
|
|
111
|
-
* Records that an interaction has happened even if there has been no scroll.
|
|
112
|
-
*/
|
|
113
|
-
recordInteraction() {
|
|
114
|
-
this._hasInteracted = !0;
|
|
115
|
-
}
|
|
116
|
-
_onUpdateSync(props, viewableIndicesToCheck, onViewableItemsChanged, createViewToken) {
|
|
117
|
-
viewableIndicesToCheck = viewableIndicesToCheck.filter(
|
|
118
|
-
(ii) => this._viewableIndices.includes(ii)
|
|
119
|
-
);
|
|
120
|
-
const prevItems = this._viewableItems, nextItems = new Map(
|
|
121
|
-
viewableIndicesToCheck.map((ii) => {
|
|
122
|
-
const viewable = createViewToken(ii, !0, props);
|
|
123
|
-
return [viewable.key, viewable];
|
|
124
|
-
})
|
|
125
|
-
), changed = [];
|
|
126
|
-
for (const [key, viewable] of nextItems)
|
|
127
|
-
prevItems.has(key) || changed.push(viewable);
|
|
128
|
-
for (const [key, viewable] of prevItems)
|
|
129
|
-
nextItems.has(key) || changed.push({ ...viewable, isViewable: !1 });
|
|
130
|
-
changed.length > 0 && (this._viewableItems = nextItems, onViewableItemsChanged({
|
|
131
|
-
viewableItems: Array.from(nextItems.values()),
|
|
132
|
-
changed,
|
|
133
|
-
viewabilityConfig: this._config
|
|
134
|
-
}));
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
function _isViewable(viewAreaMode, viewablePercentThreshold, top, bottom, viewportHeight, itemLength) {
|
|
138
|
-
if (_isEntirelyVisible(top, bottom, viewportHeight))
|
|
139
|
-
return !0;
|
|
140
|
-
{
|
|
141
|
-
const pixels = _getPixelsVisible(top, bottom, viewportHeight);
|
|
142
|
-
return 100 * (viewAreaMode ? pixels / viewportHeight : pixels / itemLength) >= viewablePercentThreshold;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
function _getPixelsVisible(top, bottom, viewportHeight) {
|
|
146
|
-
const visibleHeight = Math.min(bottom, viewportHeight) - Math.max(top, 0);
|
|
147
|
-
return Math.max(0, visibleHeight);
|
|
148
|
-
}
|
|
149
|
-
function _isEntirelyVisible(top, bottom, viewportHeight) {
|
|
150
|
-
return top >= 0 && bottom <= viewportHeight && bottom > top;
|
|
151
|
-
}
|
|
152
|
-
var ViewabilityHelper_default = ViewabilityHelper;
|
|
153
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../src/vendor/react-native/ViewabilityHelper/index.js"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AA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,eAAO,CAAC,SAAS,KAAK,QAAQ;AAAA,MAChC,CAAC;AAAA,IACH,GAEM,UAAU,CAAC;AACjB,eAAW,CAAC,KAAK,QAAQ,KAAK;AAC5B,MAAK,UAAU,IAAI,GAAG,KACpB,QAAQ,KAAK,QAAQ;AAGzB,eAAW,CAAC,KAAK,QAAQ,KAAK;AAC5B,MAAK,UAAU,IAAI,GAAG,KACpB,QAAQ,KAAK,EAAE,GAAG,UAAU,YAAY,GAAM,CAAC;AAGnD,IAAI,QAAQ,SAAS,MACnB,KAAK,iBAAiB,WACtB,uBAAuB;AAAA,MACrB,eAAe,MAAM,KAAK,UAAU,OAAO,CAAC;AAAA,MAC5C;AAAA,MACA,mBAAmB,KAAK;AAAA,IAC1B,CAAC;AAAA,EAEL;AACF;AAEA,SAAS,YACP,cACA,0BACA,KACA,QACA,gBACA,YACA;AACA,MAAI,mBAAmB,KAAK,QAAQ,cAAc;AAChD,WAAO;AACF;AACL,UAAM,SAAS,kBAAkB,KAAK,QAAQ,cAAc;AAE5D,WADgB,OAAO,eAAe,SAAS,iBAAiB,SAAS,eACvD;AAAA,EACpB;AACF;AAEA,SAAS,kBAAkB,KAAK,QAAQ,gBAAgB;AACtD,QAAM,gBAAgB,KAAK,IAAI,QAAQ,cAAc,IAAI,KAAK,IAAI,KAAK,CAAC;AACxE,SAAO,KAAK,IAAI,GAAG,aAAa;AAClC;AAEA,SAAS,mBAAmB,KAAK,QAAQ,gBAAgB;AACvD,SAAO,OAAO,KAAK,UAAU,kBAAkB,SAAS;AAC1D;AAGA,IAAO,4BAAQ;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
-
for (let key of __getOwnPropNames(from))
|
|
11
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
-
var ViewabilityHelper_exports = {};
|
|
16
|
-
__export(ViewabilityHelper_exports, {
|
|
17
|
-
ViewabilityHelper: () => ViewabilityHelper,
|
|
18
|
-
default: () => ViewabilityHelper_default
|
|
19
|
-
});
|
|
20
|
-
module.exports = __toCommonJS(ViewabilityHelper_exports);
|
|
21
|
-
var import_react_native_web_internals = require("@tamagui/react-native-web-internals");
|
|
22
|
-
class ViewabilityHelper {
|
|
23
|
-
_config;
|
|
24
|
-
_hasInteracted = !1;
|
|
25
|
-
_timers = /* @__PURE__ */ new Set();
|
|
26
|
-
_viewableIndices = [];
|
|
27
|
-
_viewableItems = /* @__PURE__ */ new Map();
|
|
28
|
-
constructor(config = { viewAreaCoveragePercentThreshold: 0 }) {
|
|
29
|
-
this._config = config;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Cleanup, e.g. on unmount. Clears any pending timers.
|
|
33
|
-
*/
|
|
34
|
-
dispose() {
|
|
35
|
-
this._timers.forEach(clearTimeout);
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Determines which items are viewable based on the current metrics and config.
|
|
39
|
-
*/
|
|
40
|
-
computeViewableItems(props, scrollOffset, viewportHeight, getFrameMetrics, renderRange) {
|
|
41
|
-
const itemCount = props.getItemCount(props.data), { itemVisiblePercentThreshold, viewAreaCoveragePercentThreshold } = this._config, viewAreaMode = viewAreaCoveragePercentThreshold != null, viewablePercentThreshold = viewAreaMode ? viewAreaCoveragePercentThreshold : itemVisiblePercentThreshold;
|
|
42
|
-
(0, import_react_native_web_internals.invariant)(
|
|
43
|
-
viewablePercentThreshold != null && itemVisiblePercentThreshold != null != (viewAreaCoveragePercentThreshold != null),
|
|
44
|
-
"Must set exactly one of itemVisiblePercentThreshold or viewAreaCoveragePercentThreshold"
|
|
45
|
-
);
|
|
46
|
-
const viewableIndices = [];
|
|
47
|
-
if (itemCount === 0)
|
|
48
|
-
return viewableIndices;
|
|
49
|
-
let firstVisible = -1;
|
|
50
|
-
const { first, last } = renderRange || { first: 0, last: itemCount - 1 };
|
|
51
|
-
if (last >= itemCount)
|
|
52
|
-
return console.warn(
|
|
53
|
-
"Invalid render range computing viewability " + JSON.stringify({ renderRange, itemCount })
|
|
54
|
-
), [];
|
|
55
|
-
for (let idx = first; idx <= last; idx++) {
|
|
56
|
-
const metrics = getFrameMetrics(idx, props);
|
|
57
|
-
if (!metrics)
|
|
58
|
-
continue;
|
|
59
|
-
const top = metrics.offset - scrollOffset, bottom = top + metrics.length;
|
|
60
|
-
if (top < viewportHeight && bottom > 0)
|
|
61
|
-
firstVisible = idx, _isViewable(
|
|
62
|
-
viewAreaMode,
|
|
63
|
-
viewablePercentThreshold,
|
|
64
|
-
top,
|
|
65
|
-
bottom,
|
|
66
|
-
viewportHeight,
|
|
67
|
-
metrics.length
|
|
68
|
-
) && viewableIndices.push(idx);
|
|
69
|
-
else if (firstVisible >= 0)
|
|
70
|
-
break;
|
|
71
|
-
}
|
|
72
|
-
return viewableIndices;
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* Figures out which items are viewable and how that has changed from before and calls
|
|
76
|
-
* `onViewableItemsChanged` as appropriate.
|
|
77
|
-
*/
|
|
78
|
-
onUpdate(props, scrollOffset, viewportHeight, getFrameMetrics, createViewToken, onViewableItemsChanged, renderRange) {
|
|
79
|
-
const itemCount = props.getItemCount(props.data);
|
|
80
|
-
if (this._config.waitForInteraction && !this._hasInteracted || itemCount === 0 || !getFrameMetrics(0, props))
|
|
81
|
-
return;
|
|
82
|
-
let viewableIndices = [];
|
|
83
|
-
if (itemCount && (viewableIndices = this.computeViewableItems(
|
|
84
|
-
props,
|
|
85
|
-
scrollOffset,
|
|
86
|
-
viewportHeight,
|
|
87
|
-
getFrameMetrics,
|
|
88
|
-
renderRange
|
|
89
|
-
)), !(this._viewableIndices.length === viewableIndices.length && this._viewableIndices.every((v, ii) => v === viewableIndices[ii])))
|
|
90
|
-
if (this._viewableIndices = viewableIndices, this._config.minimumViewTime) {
|
|
91
|
-
const handle = setTimeout(() => {
|
|
92
|
-
this._timers.delete(handle), this._onUpdateSync(
|
|
93
|
-
props,
|
|
94
|
-
viewableIndices,
|
|
95
|
-
onViewableItemsChanged,
|
|
96
|
-
createViewToken
|
|
97
|
-
);
|
|
98
|
-
}, this._config.minimumViewTime);
|
|
99
|
-
this._timers.add(handle);
|
|
100
|
-
} else
|
|
101
|
-
this._onUpdateSync(props, viewableIndices, onViewableItemsChanged, createViewToken);
|
|
102
|
-
}
|
|
103
|
-
resetViewableIndices() {
|
|
104
|
-
this._viewableIndices = [];
|
|
105
|
-
}
|
|
106
|
-
recordInteraction() {
|
|
107
|
-
this._hasInteracted = !0;
|
|
108
|
-
}
|
|
109
|
-
_onUpdateSync(props, viewableIndicesToCheck, onViewableItemsChanged, createViewToken) {
|
|
110
|
-
viewableIndicesToCheck = viewableIndicesToCheck.filter(
|
|
111
|
-
(ii) => this._viewableIndices.includes(ii)
|
|
112
|
-
);
|
|
113
|
-
const prevItems = this._viewableItems, nextItems = new Map(
|
|
114
|
-
viewableIndicesToCheck.map((ii) => {
|
|
115
|
-
const viewable = createViewToken(ii, !0, props);
|
|
116
|
-
return [viewable.key, viewable];
|
|
117
|
-
})
|
|
118
|
-
), changed = [];
|
|
119
|
-
for (const [key, viewable] of nextItems)
|
|
120
|
-
prevItems.has(key) || changed.push(viewable);
|
|
121
|
-
for (const [key, viewable] of prevItems)
|
|
122
|
-
nextItems.has(key) || changed.push({ ...viewable, isViewable: !1 });
|
|
123
|
-
changed.length > 0 && (this._viewableItems = nextItems, onViewableItemsChanged({
|
|
124
|
-
viewableItems: Array.from(nextItems.values()),
|
|
125
|
-
changed
|
|
126
|
-
}));
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
function _isViewable(viewAreaMode, viewablePercentThreshold, top, bottom, viewportHeight, itemLength) {
|
|
130
|
-
if (_isEntirelyVisible(top, bottom, viewportHeight))
|
|
131
|
-
return !0;
|
|
132
|
-
{
|
|
133
|
-
const pixels = _getPixelsVisible(top, bottom, viewportHeight);
|
|
134
|
-
return 100 * (viewAreaMode ? pixels / viewportHeight : pixels / itemLength) >= viewablePercentThreshold;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
function _getPixelsVisible(top, bottom, viewportHeight) {
|
|
138
|
-
const visibleHeight = Math.min(bottom, viewportHeight) - Math.max(top, 0);
|
|
139
|
-
return Math.max(0, visibleHeight);
|
|
140
|
-
}
|
|
141
|
-
function _isEntirelyVisible(top, bottom, viewportHeight) {
|
|
142
|
-
return top >= 0 && bottom <= viewportHeight && bottom > top;
|
|
143
|
-
}
|
|
144
|
-
var ViewabilityHelper_default = ViewabilityHelper;
|
|
145
|
-
//# sourceMappingURL=ViewabilityHelper.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../src/vendor/react-native/ViewabilityHelper.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA,wCAA0B;AAoD1B,MAAM,kBAAkB;AAAA,EACtB;AAAA,EACA,iBAA0B;AAAA,EAC1B,UAAuB,oBAAI,IAAI;AAAA,EAC/B,mBAA6B,CAAC;AAAA,EAC9B,iBAAyC,oBAAI,IAAI;AAAA,EAEjD,YAAY,SAA4B,EAAE,kCAA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AG,UAAU,YAAY,GAAM,CAAC;AAGnD,IAAI,QAAQ,SAAS,MACnB,KAAK,iBAAiB,WACtB,uBAAuB;AAAA,MACrB,eAAe,MAAM,KAAK,UAAU,OAAO,CAAC;AAAA,MAC5C;AAAA,IACF,CAAC;AAAA,EAEL;AACF;AAEA,SAAS,YACP,cACA,0BACA,KACA,QACA,gBACA,YACS;AACT,MAAI,mBAAmB,KAAK,QAAQ,cAAc;AAChD,WAAO;AACF;AACL,UAAM,SAAS,kBAAkB,KAAK,QAAQ,cAAc;AAE5D,WADgB,OAAO,eAAe,SAAS,iBAAiB,SAAS,eACvD;AAAA,EACpB;AACF;AAEA,SAAS,kBAAkB,KAAa,QAAgB,gBAAgC;AACtF,QAAM,gBAAgB,KAAK,IAAI,QAAQ,cAAc,IAAI,KAAK,IAAI,KAAK,CAAC;AACxE,SAAO,KAAK,IAAI,GAAG,aAAa;AAClC;AAEA,SAAS,mBACP,KACA,QACA,gBACS;AACT,SAAO,OAAO,KAAK,UAAU,kBAAkB,SAAS;AAC1D;AAEA,IAAO,4BAAQ;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
-
for (let key of __getOwnPropNames(from))
|
|
11
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
-
var VirtualizeUtils_exports = {};
|
|
16
|
-
__export(VirtualizeUtils_exports, {
|
|
17
|
-
computeWindowedRenderLimits: () => computeWindowedRenderLimits,
|
|
18
|
-
elementsThatOverlapOffsets: () => elementsThatOverlapOffsets,
|
|
19
|
-
keyExtractor: () => keyExtractor,
|
|
20
|
-
newRangeCount: () => newRangeCount
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(VirtualizeUtils_exports);
|
|
23
|
-
function elementsThatOverlapOffsets(offsets, props, getFrameMetrics, zoomScale = 1) {
|
|
24
|
-
const itemCount = props.getItemCount(props.data), result = [];
|
|
25
|
-
for (let offsetIndex = 0; offsetIndex < offsets.length; offsetIndex++) {
|
|
26
|
-
const currentOffset = offsets[offsetIndex];
|
|
27
|
-
let left = 0, right = itemCount - 1;
|
|
28
|
-
for (; left <= right; ) {
|
|
29
|
-
const mid = left + (right - left >>> 1), frame = getFrameMetrics(mid, props), scaledOffsetStart = frame.offset * zoomScale, scaledOffsetEnd = (frame.offset + frame.length) * zoomScale;
|
|
30
|
-
if (mid === 0 && currentOffset < scaledOffsetStart || mid !== 0 && currentOffset <= scaledOffsetStart)
|
|
31
|
-
right = mid - 1;
|
|
32
|
-
else if (currentOffset > scaledOffsetEnd)
|
|
33
|
-
left = mid + 1;
|
|
34
|
-
else {
|
|
35
|
-
result[offsetIndex] = mid;
|
|
36
|
-
break;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
return result;
|
|
41
|
-
}
|
|
42
|
-
function newRangeCount(prev, next) {
|
|
43
|
-
return next.last - next.first + 1 - Math.max(0, 1 + Math.min(next.last, prev.last) - Math.max(next.first, prev.first));
|
|
44
|
-
}
|
|
45
|
-
function computeWindowedRenderLimits(props, maxToRenderPerBatch, windowSize, prev, getFrameMetricsApprox, scrollMetrics) {
|
|
46
|
-
const itemCount = props.getItemCount(props.data);
|
|
47
|
-
if (itemCount === 0)
|
|
48
|
-
return { first: 0, last: -1 };
|
|
49
|
-
const { offset, velocity, visibleLength, zoomScale = 1 } = scrollMetrics, visibleBegin = Math.max(0, offset), visibleEnd = visibleBegin + visibleLength, overscanLength = (windowSize - 1) * visibleLength, leadFactor = 0.5, fillPreference = velocity > 1 ? "after" : velocity < -1 ? "before" : "none", overscanBegin = Math.max(0, visibleBegin - (1 - leadFactor) * overscanLength), overscanEnd = Math.max(0, visibleEnd + leadFactor * overscanLength);
|
|
50
|
-
if (getFrameMetricsApprox(itemCount - 1, props).offset * zoomScale < overscanBegin)
|
|
51
|
-
return {
|
|
52
|
-
first: Math.max(0, itemCount - 1 - maxToRenderPerBatch),
|
|
53
|
-
last: itemCount - 1
|
|
54
|
-
};
|
|
55
|
-
let [overscanFirst, first, last, overscanLast] = elementsThatOverlapOffsets(
|
|
56
|
-
[overscanBegin, visibleBegin, visibleEnd, overscanEnd],
|
|
57
|
-
props,
|
|
58
|
-
getFrameMetricsApprox,
|
|
59
|
-
zoomScale
|
|
60
|
-
);
|
|
61
|
-
overscanFirst = overscanFirst ?? 0, first = first ?? Math.max(0, overscanFirst), overscanLast = overscanLast ?? itemCount - 1, last = last ?? Math.min(overscanLast, first + maxToRenderPerBatch - 1);
|
|
62
|
-
const visible = { first, last };
|
|
63
|
-
let newCellCount = newRangeCount(prev, visible);
|
|
64
|
-
for (; !(first <= overscanFirst && last >= overscanLast); ) {
|
|
65
|
-
const maxNewCells = newCellCount >= maxToRenderPerBatch, firstWillAddMore = first <= prev.first || first > prev.last, firstShouldIncrement = first > overscanFirst && (!maxNewCells || !firstWillAddMore), lastWillAddMore = last >= prev.last || last < prev.first, lastShouldIncrement = last < overscanLast && (!maxNewCells || !lastWillAddMore);
|
|
66
|
-
if (maxNewCells && !firstShouldIncrement && !lastShouldIncrement)
|
|
67
|
-
break;
|
|
68
|
-
firstShouldIncrement && !(fillPreference === "after" && lastShouldIncrement && lastWillAddMore) && (firstWillAddMore && newCellCount++, first--), lastShouldIncrement && !(fillPreference === "before" && firstShouldIncrement && firstWillAddMore) && (lastWillAddMore && newCellCount++, last++);
|
|
69
|
-
}
|
|
70
|
-
if (!(last >= first && first >= 0 && last < itemCount && first >= overscanFirst && last <= overscanLast && first <= visible.first && last >= visible.last))
|
|
71
|
-
throw new Error(
|
|
72
|
-
"Bad window calculation " + JSON.stringify({
|
|
73
|
-
first,
|
|
74
|
-
last,
|
|
75
|
-
itemCount,
|
|
76
|
-
overscanFirst,
|
|
77
|
-
overscanLast,
|
|
78
|
-
visible
|
|
79
|
-
})
|
|
80
|
-
);
|
|
81
|
-
return { first, last };
|
|
82
|
-
}
|
|
83
|
-
function keyExtractor(item, index) {
|
|
84
|
-
return typeof item == "object" && item?.key != null ? item.key : typeof item == "object" && item?.id != null ? item.id : String(index);
|
|
85
|
-
}
|
|
86
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../src/vendor/react-native/VirtualizeUtils/index.js"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAeO,SAAS,2BACd,SACA,OACA,iBACA,YAAY,GACZ;AACA,QAAM,YAAY,MAAM,aAAa,MAAM,IAAI,GACzC,SAAS,CAAC;AAChB,WAAS,cAAc,GAAG,cAAc,QAAQ,QAAQ,eAAe;AACrE,UAAM,gBAAgB,QAAQ,WAAW;AACzC,QAAI,OAAO,GACP,QAAQ,YAAY;AAExB,WAAO,QAAQ,SAAO;AAEpB,YAAM,MAAM,QAAS,QAAQ,SAAU,IACjC,QAAQ,gBAAgB,KAAK,KAAK,GAClC,oBAAoB,MAAM,SAAS,WACnC,mBAAmB,MAAM,SAAS,MAAM,UAAU;AAIxD,UACG,QAAQ,KAAK,gBAAgB,qBAC7B,QAAQ,KAAK,iBAAiB;AAE/B,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C;AAC5E,QAAM,UAAU,EAAE,OAAO,KAAK;AAM9B,MAAI,eAAe,cAAc,MAAM,OAAO;AAE9C,SACM,WAAS,iBAAiB,QAAQ,iBAD3B;AAKX,UAAM,cAAc,gBAAgB,qBAC9B,mBAAmB,SAAS,KAAK,SAAS,QAAQ,KAAK,MACvD,uBACJ,QAAQ,kBAAkB,CAAC,eAAe,CAAC,mBACvC,kBAAkB,QAAQ,KAAK,QAAQ,OAAO,KAAK,OACnD,sBAAsB,OAAO,iBAAiB,CAAC,eAAe,CAAC;AACrE,QAAI,eAAe,CAAC,wBAAwB,CAAC;AAK3C;AAEF,IACE,wBACA,EAAE,mBAAmB,WAAW,uBAAuB,qBAEnD,oBACF,gBAEF,UAGA,uBACA,EAAE,mBAAmB,YAAY,wBAAwB,sBAErD,mBACF,gBAEF;AAAA,EAEJ;AACA,MACE,EACE,QAAQ,SACR,SAAS,KACT,OAAO,aACP,SAAS,iBACT,QAAQ,gBACR,SAAS,QAAQ,SACjB,QAAQ,QAAQ;AAGlB,UAAM,IAAI;AAAA,MACR,4BACE,KAAK,UAAU;AAAA,QACb;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF,CAAC;AAAA,IACL;AAEF,SAAO,EAAE,OAAO,KAAK;AACvB;AAEO,SAAS,aAAa,MAAM,OAAO;AACxC,SAAI,OAAO,QAAS,YAAY,MAAM,OAAO,OACpC,KAAK,MAEV,OAAO,QAAS,YAAY,MAAM,MAAM,OACnC,KAAK,KAEP,OAAO,KAAK;AACrB;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
-
for (let key of __getOwnPropNames(from))
|
|
11
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
-
var CellRenderMask_exports = {};
|
|
16
|
-
__export(CellRenderMask_exports, {
|
|
17
|
-
CellRenderMask: () => CellRenderMask
|
|
18
|
-
});
|
|
19
|
-
module.exports = __toCommonJS(CellRenderMask_exports);
|
|
20
|
-
var import_react_native_web_internals = require("@tamagui/react-native-web-internals");
|
|
21
|
-
class CellRenderMask {
|
|
22
|
-
constructor(numCells) {
|
|
23
|
-
(0, import_react_native_web_internals.invariant)(numCells >= 0, "CellRenderMask must contain a non-negative number os cells"), this._numCells = numCells, numCells === 0 ? this._regions = [] : this._regions = [
|
|
24
|
-
{
|
|
25
|
-
first: 0,
|
|
26
|
-
last: numCells - 1,
|
|
27
|
-
isSpacer: !0
|
|
28
|
-
}
|
|
29
|
-
];
|
|
30
|
-
}
|
|
31
|
-
enumerateRegions() {
|
|
32
|
-
return this._regions;
|
|
33
|
-
}
|
|
34
|
-
addCells(cells) {
|
|
35
|
-
if ((0, import_react_native_web_internals.invariant)(
|
|
36
|
-
cells.first >= 0 && cells.first < this._numCells && cells.last >= -1 && cells.last < this._numCells && cells.last >= cells.first - 1,
|
|
37
|
-
"CellRenderMask.addCells called with invalid cell range"
|
|
38
|
-
), cells.last < cells.first)
|
|
39
|
-
return;
|
|
40
|
-
const [firstIntersect, firstIntersectIdx] = this._findRegion(cells.first), [lastIntersect, lastIntersectIdx] = this._findRegion(cells.last);
|
|
41
|
-
if (firstIntersectIdx === lastIntersectIdx && !firstIntersect.isSpacer)
|
|
42
|
-
return;
|
|
43
|
-
const newLeadRegion = [], newTailRegion = [], newMainRegion = {
|
|
44
|
-
...cells,
|
|
45
|
-
isSpacer: !1
|
|
46
|
-
};
|
|
47
|
-
firstIntersect.first < newMainRegion.first && (firstIntersect.isSpacer ? newLeadRegion.push({
|
|
48
|
-
first: firstIntersect.first,
|
|
49
|
-
last: newMainRegion.first - 1,
|
|
50
|
-
isSpacer: !0
|
|
51
|
-
}) : newMainRegion.first = firstIntersect.first), lastIntersect.last > newMainRegion.last && (lastIntersect.isSpacer ? newTailRegion.push({
|
|
52
|
-
first: newMainRegion.last + 1,
|
|
53
|
-
last: lastIntersect.last,
|
|
54
|
-
isSpacer: !0
|
|
55
|
-
}) : newMainRegion.last = lastIntersect.last);
|
|
56
|
-
const replacementRegions = [...newLeadRegion, newMainRegion, ...newTailRegion], numRegionsToDelete = lastIntersectIdx - firstIntersectIdx + 1;
|
|
57
|
-
this._regions.splice(firstIntersectIdx, numRegionsToDelete, ...replacementRegions);
|
|
58
|
-
}
|
|
59
|
-
numCells() {
|
|
60
|
-
return this._numCells;
|
|
61
|
-
}
|
|
62
|
-
equals(other) {
|
|
63
|
-
return this._numCells === other._numCells && this._regions.length === other._regions.length && this._regions.every(
|
|
64
|
-
(region, i) => region.first === other._regions[i].first && region.last === other._regions[i].last && region.isSpacer === other._regions[i].isSpacer
|
|
65
|
-
);
|
|
66
|
-
}
|
|
67
|
-
_findRegion(cellIdx) {
|
|
68
|
-
let firstIdx = 0, lastIdx = this._regions.length - 1;
|
|
69
|
-
for (; firstIdx <= lastIdx; ) {
|
|
70
|
-
const middleIdx = Math.floor((firstIdx + lastIdx) / 2), middleRegion = this._regions[middleIdx];
|
|
71
|
-
if (cellIdx >= middleRegion.first && cellIdx <= middleRegion.last)
|
|
72
|
-
return [middleRegion, middleIdx];
|
|
73
|
-
cellIdx < middleRegion.first ? lastIdx = middleIdx - 1 : cellIdx > middleRegion.last && (firstIdx = middleIdx + 1);
|
|
74
|
-
}
|
|
75
|
-
(0, import_react_native_web_internals.invariant)(!1, `A region was not found containing cellIdx ${cellIdx}`);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
//# sourceMappingURL=CellRenderMask.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../src/vendor/react-native/VirtualizedList/CellRenderMask.js"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAUA,wCAA0B;AAEnB,MAAM,eAAe;AAAA,EAC1B,YAAY,UAAU;AACpB,qDAAU,YAAY,GAAG,4DAA4D,GAErF,KAAK,YAAY,UAEb,aAAa,IACf,KAAK,WAAW,CAAC,IAEjB,KAAK,WAAW;AAAA,MACd;AAAA,QACE,OAAO;AAAA,QACP,MAAM,WAAW;AAAA,QACjB,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,EAEJ;AAAA,EAEA,mBAAmB;AACjB,WAAO,KAAK;AAAA,EACd;AAAA,EAEA,SAAS,OAAO;AAYd,YAXA;AAAA,MACE,MAAM,SAAS,KACb,MAAM,QAAQ,KAAK,aACnB,MAAM,QAAQ,MACd,MAAM,OAAO,KAAK,aAClB,MAAM,QAAQ,MAAM,QAAQ;AAAA,MAC9B;AAAA,IACF,GAII,MAAM,OAAO,MAAM;AACrB;AAGF,UAAM,CAAC,gBAAgB,iBAAiB,IAAI,KAAK,YAAY,MAAM,KAAK,GAClE,CAAC,eAAe,gBAAgB,IAAI,KAAK,YAAY,MAAM,IAAI;AAIrE,QAAI,sBAAsB,oBAAoB,CAAC,eAAe;AAC5D;AAKF,UAAM,gBAAgB,CAAC,GACjB,gBAAgB,CAAC,GACjB,gBAAgB;AAAA,MACpB,GAAG;AAAA,MACH,UAAU;AAAA,IACZ;AAEA,IAAI,eAAe,QAAQ,cAAc,UACnC,eAAe,WACjB,cAAc,KAA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