@tamagui/react-native-web-lite 1.114.4 → 1.115.1
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/AccessibilityInfo/index.cjs +98 -0
- package/dist/cjs/ActivityIndicator/__tests__/index-test.cjs +188 -0
- package/dist/cjs/ActivityIndicator/index.cjs +127 -0
- package/dist/cjs/Alert/index.cjs +29 -0
- package/dist/cjs/AppRegistry/AppContainer.cjs +70 -0
- package/dist/cjs/AppRegistry/__tests__/{index-test.js → index-test.cjs} +22 -16
- package/dist/cjs/AppRegistry/__tests__/{index-test.node.js → index-test.node.cjs} +46 -22
- package/dist/cjs/AppRegistry/index.cjs +99 -0
- package/dist/cjs/AppRegistry/renderApplication.cjs +80 -0
- package/dist/cjs/AppState/__tests__/{index-test.js → index-test.cjs} +17 -16
- package/dist/cjs/AppState/index.cjs +69 -0
- package/dist/cjs/Appearance/index.cjs +54 -0
- package/dist/cjs/BackHandler/index.cjs +36 -0
- package/dist/cjs/Clipboard/{index.js → index.cjs} +17 -13
- package/dist/cjs/{DeviceEmitter.js → DeviceEmitter.cjs} +23 -14
- package/dist/cjs/DeviceInfo/{index.js → index.cjs} +37 -19
- package/dist/cjs/Dimensions/__tests__/{index-test.js → index-test.cjs} +18 -15
- package/dist/cjs/Dimensions/{index.js → index.cjs} +34 -28
- package/dist/cjs/I18nManager/index.cjs +35 -0
- package/dist/cjs/Image/index.cjs +292 -0
- package/dist/cjs/Image/types.cjs +16 -0
- package/dist/cjs/ImageBackground/__tests__/index-test.cjs +68 -0
- package/dist/cjs/ImageBackground/index.cjs +77 -0
- package/dist/cjs/Keyboard/index.cjs +39 -0
- package/dist/cjs/KeyboardAvoidingView/{index.js → index.cjs} +32 -21
- package/dist/cjs/Linking/__tests__/{index-test.js → index-test.cjs} +19 -17
- package/dist/cjs/Linking/{index.js → index.cjs} +18 -15
- package/dist/cjs/LogBox/index.cjs +32 -0
- package/dist/cjs/Modal/ModalAnimation.cjs +148 -0
- package/dist/cjs/Modal/ModalContent.cjs +86 -0
- package/dist/cjs/Modal/ModalFocusTrap.cjs +108 -0
- package/dist/cjs/Modal/ModalPortal.cjs +53 -0
- package/dist/cjs/Modal/index.cjs +97 -0
- package/dist/cjs/NativeModules/index.cjs +30 -0
- package/dist/cjs/PanResponder/Alternative.cjs +198 -0
- package/dist/cjs/PanResponder/Alternative.cjs.map +6 -0
- package/dist/cjs/PanResponder/{index.js → index.cjs} +23 -14
- package/dist/cjs/PixelRatio/{index.js → index.cjs} +23 -15
- package/dist/cjs/Pressable/index.cjs +143 -0
- package/dist/cjs/RefreshControl/{index.js → index.cjs} +27 -16
- package/dist/cjs/SafeAreaView/index.cjs +62 -0
- package/dist/cjs/ScrollView/ScrollViewBase.cjs +137 -0
- package/dist/cjs/ScrollView/{index.js → index.cjs} +123 -108
- package/dist/cjs/Share/index.cjs +49 -0
- package/dist/cjs/StatusBar/{index.js → index.cjs} +17 -13
- package/dist/cjs/Text/index.cjs +170 -0
- package/dist/cjs/Text/types.cjs +16 -0
- package/dist/cjs/TextInput/__tests__/index-test.cjs +709 -0
- package/dist/cjs/TextInput/index.cjs +277 -0
- package/dist/cjs/TextInput/types.cjs +16 -0
- package/dist/cjs/TouchableOpacity.cjs +117 -0
- package/dist/cjs/{TouchableWithoutFeedback.js → TouchableWithoutFeedback.cjs} +60 -58
- package/dist/cjs/UnimplementedView.cjs +47 -0
- package/dist/cjs/Vibration/index.cjs +37 -0
- package/dist/cjs/View/{index.js → index.cjs} +49 -28
- package/dist/cjs/View/types.cjs +16 -0
- package/dist/cjs/createElement/__tests__/index-test.cjs +765 -0
- package/dist/cjs/createElement/index.cjs +54 -0
- package/dist/cjs/createReactDOMStyle.cjs +27 -0
- package/dist/cjs/findNodeHandle.cjs +33 -0
- package/dist/cjs/{index.js → index.cjs} +77 -16
- package/dist/cjs/render/{index.js → index.cjs} +20 -14
- package/dist/cjs/styleTypes.cjs +16 -0
- package/dist/cjs/types.cjs +16 -0
- package/dist/cjs/useColorScheme/{index.js → index.cjs} +27 -16
- package/dist/cjs/useLocaleContext/index.cjs +26 -0
- package/dist/cjs/useWindowDimensions/{index.js → index.cjs} +28 -16
- package/dist/cjs/vendor/react-native/Animated/Animated.cjs +52 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.cjs +125 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.cjs +514 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.cjs +149 -0
- package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.cjs +1 -0
- package/dist/cjs/vendor/react-native/Animated/{Easing.js → Easing.cjs} +31 -22
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.cjs +331 -0
- package/dist/cjs/vendor/react-native/Animated/{NativeAnimatedModule.js → NativeAnimatedModule.cjs} +23 -14
- package/dist/cjs/vendor/react-native/Animated/{NativeAnimatedTurboModule.js → NativeAnimatedTurboModule.cjs} +23 -14
- package/dist/cjs/vendor/react-native/Animated/{SpringConfig.js → SpringConfig.cjs} +20 -12
- package/dist/cjs/vendor/react-native/Animated/animations/{Animation.js → Animation.cjs} +29 -24
- package/dist/cjs/vendor/react-native/Animated/animations/{DecayAnimation.js → DecayAnimation.cjs} +27 -16
- package/dist/cjs/vendor/react-native/Animated/animations/{SpringAnimation.js → SpringAnimation.cjs} +48 -34
- package/dist/cjs/vendor/react-native/Animated/animations/{TimingAnimation.js → TimingAnimation.cjs} +32 -26
- package/dist/cjs/vendor/react-native/Animated/{bezier.js → bezier.cjs} +38 -27
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.cjs +40 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.cjs +45 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.cjs +40 -0
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.cjs +40 -0
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.cjs +61 -0
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedAddition.js → AnimatedAddition.cjs} +26 -15
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedColor.js → AnimatedColor.cjs} +57 -40
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedDiffClamp.js → AnimatedDiffClamp.cjs} +27 -16
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedDivision.js → AnimatedDivision.cjs} +29 -16
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedInterpolation.js → AnimatedInterpolation.cjs} +62 -72
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedModulo.js → AnimatedModulo.cjs} +25 -15
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedMultiplication.js → AnimatedMultiplication.cjs} +26 -15
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedNode.js → AnimatedNode.cjs} +39 -39
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedProps.js → AnimatedProps.cjs} +34 -24
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedStyle.js → AnimatedStyle.cjs} +35 -21
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedSubtraction.js → AnimatedSubtraction.cjs} +26 -15
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedTracking.js → AnimatedTracking.cjs} +34 -32
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedTransform.js → AnimatedTransform.cjs} +32 -21
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedValue.js → AnimatedValue.cjs} +43 -50
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedValueXY.js → AnimatedValueXY.cjs} +38 -31
- package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedWithChildren.js → AnimatedWithChildren.cjs} +31 -21
- package/dist/cjs/vendor/react-native/Animated/{useAnimatedProps.js → useAnimatedProps.cjs} +44 -31
- package/dist/cjs/vendor/react-native/{FeatureFlags.js → FeatureFlags.cjs} +16 -11
- package/dist/cjs/vendor/react-native/NativeEventEmitter/{RCTDeviceEventEmitter.js → RCTDeviceEventEmitter.cjs} +23 -14
- package/dist/cjs/vendor/react-native/NativeEventEmitter/{index.js → index.cjs} +29 -25
- package/dist/cjs/vendor/react-native/PanResponder/index.cjs +272 -0
- package/dist/cjs/vendor/react-native/TouchHistoryMath/index.cjs +105 -0
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.cjs +1 -0
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.cjs +34 -0
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.cjs +18 -0
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.cjs +36 -0
- package/dist/cjs/vendor/react-native/emitter/{EventEmitter.js → EventEmitter.cjs} +24 -14
- package/dist/cjs/vendor/react-native/emitter/EventSubscription.cjs +1 -0
- package/dist/cjs/vendor/react-native/emitter/{_EmitterSubscription.js → _EmitterSubscription.cjs} +24 -15
- package/dist/cjs/vendor/react-native/emitter/{_EventEmitter.js → _EventEmitter.cjs} +39 -39
- package/dist/cjs/vendor/react-native/emitter/{_EventSubscription.js → _EventSubscription.cjs} +17 -11
- package/dist/cjs/vendor/react-native/emitter/{_EventSubscriptionVendor.js → _EventSubscriptionVendor.cjs} +21 -16
- package/dist/cjs/vendor/react-native/infoLog/index.cjs +31 -0
- package/dist/cjs/vendor/react-native/useRefEffect.cjs +32 -0
- package/dist/cjs/without-animated.cjs +155 -0
- package/package.json +9 -8
- package/dist/cjs/AccessibilityInfo/index.js +0 -96
- package/dist/cjs/ActivityIndicator/__tests__/index-test.js +0 -116
- package/dist/cjs/ActivityIndicator/index.js +0 -108
- package/dist/cjs/Alert/index.js +0 -25
- package/dist/cjs/AppRegistry/AppContainer.js +0 -41
- package/dist/cjs/AppRegistry/index.js +0 -98
- package/dist/cjs/AppRegistry/renderApplication.js +0 -51
- package/dist/cjs/AppState/index.js +0 -71
- package/dist/cjs/Appearance/index.js +0 -41
- package/dist/cjs/BackHandler/index.js +0 -32
- package/dist/cjs/I18nManager/index.js +0 -30
- package/dist/cjs/Image/index.js +0 -253
- package/dist/cjs/Image/types.js +0 -14
- package/dist/cjs/ImageBackground/__tests__/index-test.js +0 -48
- package/dist/cjs/ImageBackground/index.js +0 -62
- package/dist/cjs/Keyboard/index.js +0 -35
- package/dist/cjs/LogBox/index.js +0 -31
- package/dist/cjs/Modal/ModalAnimation.js +0 -137
- package/dist/cjs/Modal/ModalContent.js +0 -75
- package/dist/cjs/Modal/ModalFocusTrap.js +0 -105
- package/dist/cjs/Modal/ModalPortal.js +0 -43
- package/dist/cjs/Modal/index.js +0 -92
- package/dist/cjs/NativeModules/index.js +0 -25
- package/dist/cjs/Pressable/index.js +0 -140
- package/dist/cjs/SafeAreaView/index.js +0 -43
- package/dist/cjs/ScrollView/ScrollViewBase.js +0 -124
- package/dist/cjs/Share/index.js +0 -56
- package/dist/cjs/Text/index.js +0 -152
- package/dist/cjs/Text/types.js +0 -14
- package/dist/cjs/TextInput/__tests__/index-test.js +0 -422
- package/dist/cjs/TextInput/index.js +0 -260
- package/dist/cjs/TextInput/types.js +0 -14
- package/dist/cjs/TouchableOpacity.js +0 -123
- package/dist/cjs/UnimplementedView.js +0 -36
- package/dist/cjs/Vibration/index.js +0 -31
- package/dist/cjs/View/types.js +0 -14
- package/dist/cjs/createElement/__tests__/index-test.js +0 -536
- package/dist/cjs/createElement/index.js +0 -37
- package/dist/cjs/createReactDOMStyle.js +0 -21
- package/dist/cjs/findNodeHandle.js +0 -29
- package/dist/cjs/styleTypes.js +0 -14
- package/dist/cjs/types.js +0 -14
- package/dist/cjs/useLocaleContext/index.js +0 -21
- package/dist/cjs/vendor/react-native/Animated/Animated.js +0 -35
- package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js +0 -143
- package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js +0 -458
- package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js +0 -126
- package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.js +0 -2
- package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js +0 -335
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js +0 -29
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js +0 -38
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js +0 -29
- package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js +0 -29
- package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js +0 -42
- package/dist/cjs/vendor/react-native/PanResponder/index.js +0 -272
- package/dist/cjs/vendor/react-native/TouchHistoryMath/index.js +0 -118
- package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js +0 -2
- package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js +0 -28
- package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js +0 -15
- package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js +0 -29
- package/dist/cjs/vendor/react-native/emitter/EventSubscription.js +0 -2
- package/dist/cjs/vendor/react-native/infoLog/index.js +0 -25
- package/dist/cjs/vendor/react-native/useRefEffect.js +0 -30
- package/dist/cjs/without-animated.js +0 -95
- /package/dist/cjs/AccessibilityInfo/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/ActivityIndicator/__tests__/{index-test.js.map → index-test.cjs.map} +0 -0
- /package/dist/cjs/ActivityIndicator/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Alert/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/AppRegistry/{AppContainer.js.map → AppContainer.cjs.map} +0 -0
- /package/dist/cjs/AppRegistry/__tests__/{index-test.js.map → index-test.cjs.map} +0 -0
- /package/dist/cjs/AppRegistry/__tests__/{index-test.node.js.map → index-test.node.cjs.map} +0 -0
- /package/dist/cjs/AppRegistry/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/AppRegistry/{renderApplication.js.map → renderApplication.cjs.map} +0 -0
- /package/dist/cjs/AppState/__tests__/{index-test.js.map → index-test.cjs.map} +0 -0
- /package/dist/cjs/AppState/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Appearance/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/BackHandler/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Clipboard/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/{DeviceEmitter.js.map → DeviceEmitter.cjs.map} +0 -0
- /package/dist/cjs/DeviceInfo/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Dimensions/__tests__/{index-test.js.map → index-test.cjs.map} +0 -0
- /package/dist/cjs/Dimensions/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/I18nManager/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Image/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Image/{types.js.map → types.cjs.map} +0 -0
- /package/dist/cjs/ImageBackground/__tests__/{index-test.js.map → index-test.cjs.map} +0 -0
- /package/dist/cjs/ImageBackground/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Keyboard/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/KeyboardAvoidingView/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Linking/__tests__/{index-test.js.map → index-test.cjs.map} +0 -0
- /package/dist/cjs/Linking/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/LogBox/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Modal/{ModalAnimation.js.map → ModalAnimation.cjs.map} +0 -0
- /package/dist/cjs/Modal/{ModalContent.js.map → ModalContent.cjs.map} +0 -0
- /package/dist/cjs/Modal/{ModalFocusTrap.js.map → ModalFocusTrap.cjs.map} +0 -0
- /package/dist/cjs/Modal/{ModalPortal.js.map → ModalPortal.cjs.map} +0 -0
- /package/dist/cjs/Modal/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/NativeModules/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/PanResponder/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/PixelRatio/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Pressable/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/RefreshControl/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/SafeAreaView/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/ScrollView/{ScrollViewBase.js.map → ScrollViewBase.cjs.map} +0 -0
- /package/dist/cjs/ScrollView/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Share/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/StatusBar/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Text/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/Text/{types.js.map → types.cjs.map} +0 -0
- /package/dist/cjs/TextInput/__tests__/{index-test.js.map → index-test.cjs.map} +0 -0
- /package/dist/cjs/TextInput/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/TextInput/{types.js.map → types.cjs.map} +0 -0
- /package/dist/cjs/{TouchableOpacity.js.map → TouchableOpacity.cjs.map} +0 -0
- /package/dist/cjs/{TouchableWithoutFeedback.js.map → TouchableWithoutFeedback.cjs.map} +0 -0
- /package/dist/cjs/{UnimplementedView.js.map → UnimplementedView.cjs.map} +0 -0
- /package/dist/cjs/Vibration/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/View/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/View/{types.js.map → types.cjs.map} +0 -0
- /package/dist/cjs/createElement/__tests__/{index-test.js.map → index-test.cjs.map} +0 -0
- /package/dist/cjs/createElement/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/{createReactDOMStyle.js.map → createReactDOMStyle.cjs.map} +0 -0
- /package/dist/cjs/{findNodeHandle.js.map → findNodeHandle.cjs.map} +0 -0
- /package/dist/cjs/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/render/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/{styleTypes.js.map → styleTypes.cjs.map} +0 -0
- /package/dist/cjs/{types.js.map → types.cjs.map} +0 -0
- /package/dist/cjs/useColorScheme/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/useLocaleContext/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/useWindowDimensions/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{Animated.js.map → Animated.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{AnimatedEvent.js.map → AnimatedEvent.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{AnimatedImplementation.js.map → AnimatedImplementation.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{AnimatedMock.js.map → AnimatedMock.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{AnimatedPlatformConfig.js.map → AnimatedPlatformConfig.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{Easing.js.map → Easing.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{NativeAnimatedHelper.js.map → NativeAnimatedHelper.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{NativeAnimatedModule.js.map → NativeAnimatedModule.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{NativeAnimatedTurboModule.js.map → NativeAnimatedTurboModule.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{SpringConfig.js.map → SpringConfig.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/animations/{Animation.js.map → Animation.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/animations/{DecayAnimation.js.map → DecayAnimation.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/animations/{SpringAnimation.js.map → SpringAnimation.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/animations/{TimingAnimation.js.map → TimingAnimation.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{bezier.js.map → bezier.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/components/{AnimatedImage.js.map → AnimatedImage.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/components/{AnimatedScrollView.js.map → AnimatedScrollView.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/components/{AnimatedText.js.map → AnimatedText.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/components/{AnimatedView.js.map → AnimatedView.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{createAnimatedComponent.js.map → createAnimatedComponent.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedAddition.js.map → AnimatedAddition.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedColor.js.map → AnimatedColor.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedDiffClamp.js.map → AnimatedDiffClamp.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedDivision.js.map → AnimatedDivision.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedInterpolation.js.map → AnimatedInterpolation.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedModulo.js.map → AnimatedModulo.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedMultiplication.js.map → AnimatedMultiplication.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedNode.js.map → AnimatedNode.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedProps.js.map → AnimatedProps.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedStyle.js.map → AnimatedStyle.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedSubtraction.js.map → AnimatedSubtraction.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedTracking.js.map → AnimatedTracking.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedTransform.js.map → AnimatedTransform.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedValue.js.map → AnimatedValue.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedValueXY.js.map → AnimatedValueXY.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedWithChildren.js.map → AnimatedWithChildren.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Animated/{useAnimatedProps.js.map → useAnimatedProps.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/{FeatureFlags.js.map → FeatureFlags.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/NativeEventEmitter/{RCTDeviceEventEmitter.js.map → RCTDeviceEventEmitter.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/NativeEventEmitter/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/PanResponder/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/TouchHistoryMath/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/TurboModule/{RCTExport.js.map → RCTExport.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/TurboModule/{TurboModuleRegistry.js.map → TurboModuleRegistry.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Types/{CoreEventTypes.js.map → CoreEventTypes.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/Utilities/{setAndForwardRef.js.map → setAndForwardRef.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/emitter/{EventEmitter.js.map → EventEmitter.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/emitter/{EventSubscription.js.map → EventSubscription.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/emitter/{_EmitterSubscription.js.map → _EmitterSubscription.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/emitter/{_EventEmitter.js.map → _EventEmitter.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/emitter/{_EventSubscription.js.map → _EventSubscription.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/emitter/{_EventSubscriptionVendor.js.map → _EventSubscriptionVendor.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/infoLog/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/vendor/react-native/{useRefEffect.js.map → useRefEffect.cjs.map} +0 -0
- /package/dist/cjs/{without-animated.js.map → without-animated.cjs.map} +0 -0
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
10
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
return to;
|
|
15
|
-
};
|
|
16
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
17
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
18
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
19
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
20
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
22
|
-
mod
|
|
23
|
-
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
24
|
-
var AnimatedMock_exports = {};
|
|
25
|
-
__export(AnimatedMock_exports, {
|
|
26
|
-
default: () => AnimatedMock_default
|
|
27
|
-
});
|
|
28
|
-
module.exports = __toCommonJS(AnimatedMock_exports);
|
|
29
|
-
var import_AnimatedEvent = require("./AnimatedEvent"), import_AnimatedImplementation = __toESM(require("./AnimatedImplementation")), import_createAnimatedComponent = __toESM(require("./createAnimatedComponent")), import_AnimatedColor = __toESM(require("./nodes/AnimatedColor")), import_AnimatedInterpolation = __toESM(require("./nodes/AnimatedInterpolation")), import_AnimatedNode = __toESM(require("./nodes/AnimatedNode")), import_AnimatedValue = __toESM(require("./nodes/AnimatedValue")), import_AnimatedValueXY = __toESM(require("./nodes/AnimatedValueXY")), inAnimationCallback = !1;
|
|
30
|
-
function mockAnimationStart(start) {
|
|
31
|
-
return (callback) => {
|
|
32
|
-
var guardedCallback = callback == null ? callback : function() {
|
|
33
|
-
if (inAnimationCallback) {
|
|
34
|
-
console.warn(
|
|
35
|
-
"Ignoring recursive animation callback when running mock animations"
|
|
36
|
-
);
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
inAnimationCallback = !0;
|
|
40
|
-
try {
|
|
41
|
-
callback(...arguments);
|
|
42
|
-
} finally {
|
|
43
|
-
inAnimationCallback = !1;
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
start(guardedCallback);
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
var emptyAnimation = {
|
|
50
|
-
start: () => {
|
|
51
|
-
},
|
|
52
|
-
stop: () => {
|
|
53
|
-
},
|
|
54
|
-
reset: () => {
|
|
55
|
-
},
|
|
56
|
-
_startNativeLoop: () => {
|
|
57
|
-
},
|
|
58
|
-
_isUsingNativeDriver: () => !1
|
|
59
|
-
}, mockCompositeAnimation = (animations) => ({
|
|
60
|
-
...emptyAnimation,
|
|
61
|
-
start: mockAnimationStart((callback) => {
|
|
62
|
-
animations.forEach((animation) => animation.start()), callback?.({
|
|
63
|
-
finished: !0
|
|
64
|
-
});
|
|
65
|
-
})
|
|
66
|
-
}), spring = function(value, config) {
|
|
67
|
-
var anyValue = value;
|
|
68
|
-
return {
|
|
69
|
-
...emptyAnimation,
|
|
70
|
-
start: mockAnimationStart((callback) => {
|
|
71
|
-
anyValue.setValue(config.toValue), callback?.({
|
|
72
|
-
finished: !0
|
|
73
|
-
});
|
|
74
|
-
})
|
|
75
|
-
};
|
|
76
|
-
}, timing = function(value, config) {
|
|
77
|
-
var anyValue = value;
|
|
78
|
-
return {
|
|
79
|
-
...emptyAnimation,
|
|
80
|
-
start: mockAnimationStart((callback) => {
|
|
81
|
-
anyValue.setValue(config.toValue), callback?.({
|
|
82
|
-
finished: !0
|
|
83
|
-
});
|
|
84
|
-
})
|
|
85
|
-
};
|
|
86
|
-
}, decay = function(value, config) {
|
|
87
|
-
return emptyAnimation;
|
|
88
|
-
}, sequence = function(animations) {
|
|
89
|
-
return mockCompositeAnimation(animations);
|
|
90
|
-
}, parallel = function(animations, config) {
|
|
91
|
-
return mockCompositeAnimation(animations);
|
|
92
|
-
}, delay = function(time) {
|
|
93
|
-
return emptyAnimation;
|
|
94
|
-
}, stagger = function(time, animations) {
|
|
95
|
-
return mockCompositeAnimation(animations);
|
|
96
|
-
}, loop = function(animation, _temp) {
|
|
97
|
-
var _ref = _temp === void 0 ? {} : _temp, _ref$iterations = _ref.iterations, iterations = _ref$iterations === void 0 ? -1 : _ref$iterations;
|
|
98
|
-
return emptyAnimation;
|
|
99
|
-
}, AnimatedMock_default = {
|
|
100
|
-
Value: import_AnimatedValue.default,
|
|
101
|
-
ValueXY: import_AnimatedValueXY.default,
|
|
102
|
-
Color: import_AnimatedColor.default,
|
|
103
|
-
Interpolation: import_AnimatedInterpolation.default,
|
|
104
|
-
Node: import_AnimatedNode.default,
|
|
105
|
-
decay,
|
|
106
|
-
timing,
|
|
107
|
-
spring,
|
|
108
|
-
add: import_AnimatedImplementation.default.add,
|
|
109
|
-
subtract: import_AnimatedImplementation.default.subtract,
|
|
110
|
-
divide: import_AnimatedImplementation.default.divide,
|
|
111
|
-
multiply: import_AnimatedImplementation.default.multiply,
|
|
112
|
-
modulo: import_AnimatedImplementation.default.modulo,
|
|
113
|
-
diffClamp: import_AnimatedImplementation.default.diffClamp,
|
|
114
|
-
delay,
|
|
115
|
-
sequence,
|
|
116
|
-
parallel,
|
|
117
|
-
stagger,
|
|
118
|
-
loop,
|
|
119
|
-
event: import_AnimatedImplementation.default.event,
|
|
120
|
-
createAnimatedComponent: import_createAnimatedComponent.default,
|
|
121
|
-
attachNativeEvent: import_AnimatedEvent.attachNativeEvent,
|
|
122
|
-
forkEvent: import_AnimatedImplementation.default.forkEvent,
|
|
123
|
-
unforkEvent: import_AnimatedImplementation.default.unforkEvent,
|
|
124
|
-
Event: import_AnimatedEvent.AnimatedEvent
|
|
125
|
-
};
|
|
126
|
-
//# sourceMappingURL=AnimatedMock.js.map
|
|
@@ -1,335 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf, __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 __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
16
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
17
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
18
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
19
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
21
|
-
mod
|
|
22
|
-
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
23
|
-
var NativeAnimatedHelper_exports = {};
|
|
24
|
-
__export(NativeAnimatedHelper_exports, {
|
|
25
|
-
API: () => API,
|
|
26
|
-
addWhitelistedInterpolationParam: () => addWhitelistedInterpolationParam,
|
|
27
|
-
addWhitelistedStyleProp: () => addWhitelistedStyleProp,
|
|
28
|
-
addWhitelistedTransformProp: () => addWhitelistedTransformProp,
|
|
29
|
-
assertNativeAnimatedModule: () => assertNativeAnimatedModule,
|
|
30
|
-
default: () => NativeAnimatedHelper_default,
|
|
31
|
-
generateNewAnimationId: () => generateNewAnimationId,
|
|
32
|
-
generateNewNodeTag: () => generateNewNodeTag,
|
|
33
|
-
isSupportedColorStyleProp: () => isSupportedColorStyleProp,
|
|
34
|
-
isSupportedInterpolationParam: () => isSupportedInterpolationParam,
|
|
35
|
-
isSupportedStyleProp: () => isSupportedStyleProp,
|
|
36
|
-
isSupportedTransformProp: () => isSupportedTransformProp,
|
|
37
|
-
shouldUseNativeDriver: () => shouldUseNativeDriver,
|
|
38
|
-
transformDataType: () => transformDataType,
|
|
39
|
-
validateInterpolation: () => validateInterpolation,
|
|
40
|
-
validateStyles: () => validateStyles,
|
|
41
|
-
validateTransform: () => validateTransform
|
|
42
|
-
});
|
|
43
|
-
module.exports = __toCommonJS(NativeAnimatedHelper_exports);
|
|
44
|
-
var import_react_native_web_internals = require("@tamagui/react-native-web-internals"), import_FeatureFlags = require("../FeatureFlags"), import_NativeEventEmitter = __toESM(require("../NativeEventEmitter/index")), import_RCTDeviceEventEmitter = __toESM(require("../NativeEventEmitter/RCTDeviceEventEmitter")), import_NativeAnimatedModule = __toESM(require("./NativeAnimatedModule")), import_NativeAnimatedTurboModule = __toESM(require("./NativeAnimatedTurboModule")), NativeAnimatedModule = import_react_native_web_internals.Platform.OS === "ios" && global.RN$Bridgeless === !0 ? import_NativeAnimatedTurboModule.default : import_NativeAnimatedModule.default, __nativeAnimatedNodeTagCount = 1, __nativeAnimationIdCount = 1, nativeEventEmitter, waitingForQueuedOperations = /* @__PURE__ */ new Set(), queueOperations = !1, queue = [], singleOpQueue = [], useSingleOpBatching = !1;
|
|
45
|
-
import_react_native_web_internals.Platform.OS === "android" && (NativeAnimatedModule != null && NativeAnimatedModule.queueAndExecuteBatchedOperations) && import_FeatureFlags.ReactNativeFeatureFlags.animatedShouldUseSingleOp();
|
|
46
|
-
var flushQueueTimeout = null, eventListenerGetValueCallbacks = {}, eventListenerAnimationFinishedCallbacks = {};
|
|
47
|
-
var nativeOps = useSingleOpBatching ? function() {
|
|
48
|
-
var apis = [
|
|
49
|
-
"createAnimatedNode",
|
|
50
|
-
// 1
|
|
51
|
-
"updateAnimatedNodeConfig",
|
|
52
|
-
// 2
|
|
53
|
-
"getValue",
|
|
54
|
-
// 3
|
|
55
|
-
"startListeningToAnimatedNodeValue",
|
|
56
|
-
// 4
|
|
57
|
-
"stopListeningToAnimatedNodeValue",
|
|
58
|
-
// 5
|
|
59
|
-
"connectAnimatedNodes",
|
|
60
|
-
// 6
|
|
61
|
-
"disconnectAnimatedNodes",
|
|
62
|
-
// 7
|
|
63
|
-
"startAnimatingNode",
|
|
64
|
-
// 8
|
|
65
|
-
"stopAnimation",
|
|
66
|
-
// 9
|
|
67
|
-
"setAnimatedNodeValue",
|
|
68
|
-
// 10
|
|
69
|
-
"setAnimatedNodeOffset",
|
|
70
|
-
// 11
|
|
71
|
-
"flattenAnimatedNodeOffset",
|
|
72
|
-
// 12
|
|
73
|
-
"extractAnimatedNodeOffset",
|
|
74
|
-
// 13
|
|
75
|
-
"connectAnimatedNodeToView",
|
|
76
|
-
// 14
|
|
77
|
-
"disconnectAnimatedNodeFromView",
|
|
78
|
-
// 15
|
|
79
|
-
"restoreDefaultValues",
|
|
80
|
-
// 16
|
|
81
|
-
"dropAnimatedNode",
|
|
82
|
-
// 17
|
|
83
|
-
"addAnimatedEventToView",
|
|
84
|
-
// 18
|
|
85
|
-
"removeAnimatedEventFromView",
|
|
86
|
-
// 19
|
|
87
|
-
"addListener",
|
|
88
|
-
// 20
|
|
89
|
-
"removeListener"
|
|
90
|
-
// 21
|
|
91
|
-
];
|
|
92
|
-
return apis.reduce((acc, functionName, i) => (acc[functionName] = i + 1, acc), {});
|
|
93
|
-
}() : NativeAnimatedModule, API = {
|
|
94
|
-
getValue: function(tag, saveValueCallback) {
|
|
95
|
-
(0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), useSingleOpBatching ? (saveValueCallback && (eventListenerGetValueCallbacks[tag] = saveValueCallback), API.queueOperation(nativeOps.getValue, tag)) : API.queueOperation(nativeOps.getValue, tag, saveValueCallback);
|
|
96
|
-
},
|
|
97
|
-
setWaitingForIdentifier: function(id) {
|
|
98
|
-
waitingForQueuedOperations.add(id), queueOperations = !0, import_FeatureFlags.ReactNativeFeatureFlags.animatedShouldDebounceQueueFlush() && flushQueueTimeout && clearTimeout(flushQueueTimeout);
|
|
99
|
-
},
|
|
100
|
-
unsetWaitingForIdentifier: function(id) {
|
|
101
|
-
waitingForQueuedOperations.delete(id), waitingForQueuedOperations.size === 0 && (queueOperations = !1, API.disableQueue());
|
|
102
|
-
},
|
|
103
|
-
disableQueue: function() {
|
|
104
|
-
if ((0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), import_FeatureFlags.ReactNativeFeatureFlags.animatedShouldDebounceQueueFlush()) {
|
|
105
|
-
var prevTimeout = flushQueueTimeout;
|
|
106
|
-
clearImmediate(prevTimeout), flushQueueTimeout = setImmediate(API.flushQueue);
|
|
107
|
-
} else
|
|
108
|
-
API.flushQueue();
|
|
109
|
-
},
|
|
110
|
-
flushQueue: function() {
|
|
111
|
-
},
|
|
112
|
-
queueOperation: function(fn) {
|
|
113
|
-
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++)
|
|
114
|
-
args[_key - 1] = arguments[_key];
|
|
115
|
-
if (useSingleOpBatching) {
|
|
116
|
-
singleOpQueue.push(fn, ...args);
|
|
117
|
-
return;
|
|
118
|
-
}
|
|
119
|
-
queueOperations || queue.length !== 0 ? queue.push(() => fn(...args)) : fn(...args);
|
|
120
|
-
},
|
|
121
|
-
createAnimatedNode: function(tag, config) {
|
|
122
|
-
(0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.createAnimatedNode, tag, config);
|
|
123
|
-
},
|
|
124
|
-
updateAnimatedNodeConfig: function(tag, config) {
|
|
125
|
-
(0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available");
|
|
126
|
-
},
|
|
127
|
-
startListeningToAnimatedNodeValue: function(tag) {
|
|
128
|
-
(0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.startListeningToAnimatedNodeValue, tag);
|
|
129
|
-
},
|
|
130
|
-
stopListeningToAnimatedNodeValue: function(tag) {
|
|
131
|
-
(0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.stopListeningToAnimatedNodeValue, tag);
|
|
132
|
-
},
|
|
133
|
-
connectAnimatedNodes: function(parentTag, childTag) {
|
|
134
|
-
(0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.connectAnimatedNodes, parentTag, childTag);
|
|
135
|
-
},
|
|
136
|
-
disconnectAnimatedNodes: function(parentTag, childTag) {
|
|
137
|
-
(0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.disconnectAnimatedNodes, parentTag, childTag);
|
|
138
|
-
},
|
|
139
|
-
startAnimatingNode: function(animationId, nodeTag, config, endCallback) {
|
|
140
|
-
(0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), useSingleOpBatching ? (endCallback && (eventListenerAnimationFinishedCallbacks[animationId] = endCallback), API.queueOperation(nativeOps.startAnimatingNode, animationId, nodeTag, config)) : API.queueOperation(
|
|
141
|
-
nativeOps.startAnimatingNode,
|
|
142
|
-
animationId,
|
|
143
|
-
nodeTag,
|
|
144
|
-
config,
|
|
145
|
-
endCallback
|
|
146
|
-
);
|
|
147
|
-
},
|
|
148
|
-
stopAnimation: function(animationId) {
|
|
149
|
-
(0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.stopAnimation, animationId);
|
|
150
|
-
},
|
|
151
|
-
setAnimatedNodeValue: function(nodeTag, value) {
|
|
152
|
-
(0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.setAnimatedNodeValue, nodeTag, value);
|
|
153
|
-
},
|
|
154
|
-
setAnimatedNodeOffset: function(nodeTag, offset) {
|
|
155
|
-
(0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.setAnimatedNodeOffset, nodeTag, offset);
|
|
156
|
-
},
|
|
157
|
-
flattenAnimatedNodeOffset: function(nodeTag) {
|
|
158
|
-
(0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.flattenAnimatedNodeOffset, nodeTag);
|
|
159
|
-
},
|
|
160
|
-
extractAnimatedNodeOffset: function(nodeTag) {
|
|
161
|
-
(0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.extractAnimatedNodeOffset, nodeTag);
|
|
162
|
-
},
|
|
163
|
-
connectAnimatedNodeToView: function(nodeTag, viewTag) {
|
|
164
|
-
(0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.connectAnimatedNodeToView, nodeTag, viewTag);
|
|
165
|
-
},
|
|
166
|
-
disconnectAnimatedNodeFromView: function(nodeTag, viewTag) {
|
|
167
|
-
(0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.disconnectAnimatedNodeFromView, nodeTag, viewTag);
|
|
168
|
-
},
|
|
169
|
-
restoreDefaultValues: function(nodeTag) {
|
|
170
|
-
(0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), nativeOps.restoreDefaultValues != null && API.queueOperation(nativeOps.restoreDefaultValues, nodeTag);
|
|
171
|
-
},
|
|
172
|
-
dropAnimatedNode: function(tag) {
|
|
173
|
-
(0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.dropAnimatedNode, tag);
|
|
174
|
-
},
|
|
175
|
-
addAnimatedEventToView: function(viewTag, eventName, eventMapping) {
|
|
176
|
-
(0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.addAnimatedEventToView, viewTag, eventName, eventMapping);
|
|
177
|
-
},
|
|
178
|
-
removeAnimatedEventFromView(viewTag, eventName, animatedNodeTag) {
|
|
179
|
-
(0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(
|
|
180
|
-
nativeOps.removeAnimatedEventFromView,
|
|
181
|
-
viewTag,
|
|
182
|
-
eventName,
|
|
183
|
-
animatedNodeTag
|
|
184
|
-
);
|
|
185
|
-
}
|
|
186
|
-
};
|
|
187
|
-
var SUPPORTED_COLOR_STYLES = {
|
|
188
|
-
backgroundColor: !0,
|
|
189
|
-
borderBottomColor: !0,
|
|
190
|
-
borderColor: !0,
|
|
191
|
-
borderEndColor: !0,
|
|
192
|
-
borderLeftColor: !0,
|
|
193
|
-
borderRightColor: !0,
|
|
194
|
-
borderStartColor: !0,
|
|
195
|
-
borderTopColor: !0,
|
|
196
|
-
color: !0,
|
|
197
|
-
tintColor: !0
|
|
198
|
-
}, SUPPORTED_STYLES = {
|
|
199
|
-
...SUPPORTED_COLOR_STYLES,
|
|
200
|
-
borderBottomEndRadius: !0,
|
|
201
|
-
borderBottomLeftRadius: !0,
|
|
202
|
-
borderBottomRightRadius: !0,
|
|
203
|
-
borderBottomStartRadius: !0,
|
|
204
|
-
borderRadius: !0,
|
|
205
|
-
borderTopEndRadius: !0,
|
|
206
|
-
borderTopLeftRadius: !0,
|
|
207
|
-
borderTopRightRadius: !0,
|
|
208
|
-
borderTopStartRadius: !0,
|
|
209
|
-
elevation: !0,
|
|
210
|
-
opacity: !0,
|
|
211
|
-
transform: !0,
|
|
212
|
-
zIndex: !0,
|
|
213
|
-
/* ios styles */
|
|
214
|
-
shadowOpacity: !0,
|
|
215
|
-
shadowRadius: !0,
|
|
216
|
-
/* legacy android transform properties */
|
|
217
|
-
scaleX: !0,
|
|
218
|
-
scaleY: !0,
|
|
219
|
-
translateX: !0,
|
|
220
|
-
translateY: !0
|
|
221
|
-
}, SUPPORTED_TRANSFORMS = {
|
|
222
|
-
translateX: !0,
|
|
223
|
-
translateY: !0,
|
|
224
|
-
scale: !0,
|
|
225
|
-
scaleX: !0,
|
|
226
|
-
scaleY: !0,
|
|
227
|
-
rotate: !0,
|
|
228
|
-
rotateX: !0,
|
|
229
|
-
rotateY: !0,
|
|
230
|
-
rotateZ: !0,
|
|
231
|
-
perspective: !0
|
|
232
|
-
}, SUPPORTED_INTERPOLATION_PARAMS = {
|
|
233
|
-
inputRange: !0,
|
|
234
|
-
outputRange: !0,
|
|
235
|
-
extrapolate: !0,
|
|
236
|
-
extrapolateRight: !0,
|
|
237
|
-
extrapolateLeft: !0
|
|
238
|
-
};
|
|
239
|
-
function addWhitelistedStyleProp(prop) {
|
|
240
|
-
SUPPORTED_STYLES[prop] = !0;
|
|
241
|
-
}
|
|
242
|
-
function addWhitelistedTransformProp(prop) {
|
|
243
|
-
SUPPORTED_TRANSFORMS[prop] = !0;
|
|
244
|
-
}
|
|
245
|
-
function addWhitelistedInterpolationParam(param) {
|
|
246
|
-
SUPPORTED_INTERPOLATION_PARAMS[param] = !0;
|
|
247
|
-
}
|
|
248
|
-
function isSupportedColorStyleProp(prop) {
|
|
249
|
-
return SUPPORTED_COLOR_STYLES.hasOwnProperty(prop);
|
|
250
|
-
}
|
|
251
|
-
function isSupportedStyleProp(prop) {
|
|
252
|
-
return SUPPORTED_STYLES.hasOwnProperty(prop);
|
|
253
|
-
}
|
|
254
|
-
function isSupportedTransformProp(prop) {
|
|
255
|
-
return SUPPORTED_TRANSFORMS.hasOwnProperty(prop);
|
|
256
|
-
}
|
|
257
|
-
function isSupportedInterpolationParam(param) {
|
|
258
|
-
return SUPPORTED_INTERPOLATION_PARAMS.hasOwnProperty(param);
|
|
259
|
-
}
|
|
260
|
-
function validateTransform(configs) {
|
|
261
|
-
configs.forEach((config) => {
|
|
262
|
-
if (!isSupportedTransformProp(config.property))
|
|
263
|
-
throw new Error(
|
|
264
|
-
"Property '" + config.property + "' is not supported by native animated module"
|
|
265
|
-
);
|
|
266
|
-
});
|
|
267
|
-
}
|
|
268
|
-
function validateStyles(styles) {
|
|
269
|
-
for (var _key2 in styles)
|
|
270
|
-
if (!isSupportedStyleProp(_key2))
|
|
271
|
-
throw new Error(
|
|
272
|
-
"Style property '" + _key2 + "' is not supported by native animated module"
|
|
273
|
-
);
|
|
274
|
-
}
|
|
275
|
-
function validateInterpolation(config) {
|
|
276
|
-
for (var _key3 in config)
|
|
277
|
-
if (!isSupportedInterpolationParam(_key3))
|
|
278
|
-
throw new Error(
|
|
279
|
-
"Interpolation property '" + _key3 + "' is not supported by native animated module"
|
|
280
|
-
);
|
|
281
|
-
}
|
|
282
|
-
function generateNewNodeTag() {
|
|
283
|
-
return __nativeAnimatedNodeTagCount++;
|
|
284
|
-
}
|
|
285
|
-
function generateNewAnimationId() {
|
|
286
|
-
return __nativeAnimationIdCount++;
|
|
287
|
-
}
|
|
288
|
-
function assertNativeAnimatedModule() {
|
|
289
|
-
(0, import_react_native_web_internals.invariant)(NativeAnimatedModule, "Native animated module is not available");
|
|
290
|
-
}
|
|
291
|
-
var _warnedMissingNativeAnimated = !1;
|
|
292
|
-
function shouldUseNativeDriver(config) {
|
|
293
|
-
return config.useNativeDriver == null && console.warn(
|
|
294
|
-
"Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false`"
|
|
295
|
-
), config.useNativeDriver === !0 && !NativeAnimatedModule ? (_warnedMissingNativeAnimated || (console.warn(
|
|
296
|
-
"Animated: `useNativeDriver` is not supported because the native animated module is missing. Falling back to JS-based animation. To resolve this, add `RCTAnimation` module to this app, or remove `useNativeDriver`. Make sure to run `bundle exec pod install` first. Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md"
|
|
297
|
-
), _warnedMissingNativeAnimated = !0), !1) : config.useNativeDriver || !1;
|
|
298
|
-
}
|
|
299
|
-
function transformDataType(value) {
|
|
300
|
-
if (typeof value != "string")
|
|
301
|
-
return value;
|
|
302
|
-
if (/deg$/.test(value)) {
|
|
303
|
-
var degrees = parseFloat(value) || 0, radians = degrees * Math.PI / 180;
|
|
304
|
-
return radians;
|
|
305
|
-
} else
|
|
306
|
-
return value;
|
|
307
|
-
}
|
|
308
|
-
var NativeAnimatedHelper_default = {
|
|
309
|
-
API,
|
|
310
|
-
isSupportedColorStyleProp,
|
|
311
|
-
isSupportedStyleProp,
|
|
312
|
-
isSupportedTransformProp,
|
|
313
|
-
isSupportedInterpolationParam,
|
|
314
|
-
addWhitelistedStyleProp,
|
|
315
|
-
addWhitelistedTransformProp,
|
|
316
|
-
addWhitelistedInterpolationParam,
|
|
317
|
-
validateStyles,
|
|
318
|
-
validateTransform,
|
|
319
|
-
validateInterpolation,
|
|
320
|
-
generateNewNodeTag,
|
|
321
|
-
generateNewAnimationId,
|
|
322
|
-
assertNativeAnimatedModule,
|
|
323
|
-
shouldUseNativeDriver,
|
|
324
|
-
transformDataType,
|
|
325
|
-
// $FlowExpectedError[unsafe-getters-setters] - unsafe getter lint suppresion
|
|
326
|
-
// $FlowExpectedError[missing-type-arg] - unsafe getter lint suppresion
|
|
327
|
-
get nativeEventEmitter() {
|
|
328
|
-
return nativeEventEmitter || (nativeEventEmitter = new import_NativeEventEmitter.default(
|
|
329
|
-
// T88715063: NativeEventEmitter only used this parameter on iOS. Now it uses it on all platforms, so this code was modified automatically to preserve its behavior
|
|
330
|
-
// If you want to use the native module on other platforms, please remove this condition and test its behavior
|
|
331
|
-
import_react_native_web_internals.Platform.OS !== "ios" ? null : NativeAnimatedModule
|
|
332
|
-
)), nativeEventEmitter;
|
|
333
|
-
}
|
|
334
|
-
};
|
|
335
|
-
//# sourceMappingURL=NativeAnimatedHelper.js.map
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf, __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 __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
16
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
17
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
18
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
19
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
21
|
-
mod
|
|
22
|
-
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
23
|
-
var AnimatedImage_exports = {};
|
|
24
|
-
__export(AnimatedImage_exports, {
|
|
25
|
-
default: () => AnimatedImage_default
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(AnimatedImage_exports);
|
|
28
|
-
var React = require("react"), import_Image = __toESM(require("../../../../Image/index")), import_createAnimatedComponent = __toESM(require("../createAnimatedComponent")), AnimatedImage_default = (0, import_createAnimatedComponent.default)(import_Image.default);
|
|
29
|
-
//# sourceMappingURL=AnimatedImage.js.map
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf, __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 __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
16
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
17
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
18
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
19
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
21
|
-
mod
|
|
22
|
-
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
23
|
-
var AnimatedScrollView_exports = {};
|
|
24
|
-
__export(AnimatedScrollView_exports, {
|
|
25
|
-
default: () => AnimatedScrollView_default
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(AnimatedScrollView_exports);
|
|
28
|
-
var React = __toESM(require("react")), import_ScrollView = __toESM(require("../../../../ScrollView/index")), import_createAnimatedComponent = __toESM(require("../createAnimatedComponent")), ScrollViewWithEventThrottle = /* @__PURE__ */ React.forwardRef(
|
|
29
|
-
(props, ref) => /* @__PURE__ */ React.createElement(
|
|
30
|
-
import_ScrollView.default,
|
|
31
|
-
{
|
|
32
|
-
scrollEventThrottle: 1e-4,
|
|
33
|
-
...props,
|
|
34
|
-
ref
|
|
35
|
-
}
|
|
36
|
-
)
|
|
37
|
-
), AnimatedScrollView_default = (0, import_createAnimatedComponent.default)(ScrollViewWithEventThrottle);
|
|
38
|
-
//# sourceMappingURL=AnimatedScrollView.js.map
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf, __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 __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
16
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
17
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
18
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
19
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
21
|
-
mod
|
|
22
|
-
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
23
|
-
var AnimatedText_exports = {};
|
|
24
|
-
__export(AnimatedText_exports, {
|
|
25
|
-
default: () => AnimatedText_default
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(AnimatedText_exports);
|
|
28
|
-
var React = require("react"), import_Text = __toESM(require("../../../../Text/index")), import_createAnimatedComponent = __toESM(require("../createAnimatedComponent")), AnimatedText_default = (0, import_createAnimatedComponent.default)(import_Text.default);
|
|
29
|
-
//# sourceMappingURL=AnimatedText.js.map
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf, __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 __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
16
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
17
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
18
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
19
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
21
|
-
mod
|
|
22
|
-
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
23
|
-
var AnimatedView_exports = {};
|
|
24
|
-
__export(AnimatedView_exports, {
|
|
25
|
-
default: () => AnimatedView_default
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(AnimatedView_exports);
|
|
28
|
-
var React = require("react"), import_View = __toESM(require("../../../../View/index")), import_createAnimatedComponent = __toESM(require("../createAnimatedComponent")), AnimatedView_default = (0, import_createAnimatedComponent.default)(import_View.default);
|
|
29
|
-
//# sourceMappingURL=AnimatedView.js.map
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf, __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 __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
16
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
17
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
18
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
19
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
21
|
-
mod
|
|
22
|
-
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
23
|
-
var createAnimatedComponent_exports = {};
|
|
24
|
-
__export(createAnimatedComponent_exports, {
|
|
25
|
-
default: () => createAnimatedComponent
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(createAnimatedComponent_exports);
|
|
28
|
-
var React = __toESM(require("react")), import_react_native_web_internals = require("@tamagui/react-native-web-internals"), import_useAnimatedProps = __toESM(require("./useAnimatedProps"));
|
|
29
|
-
function createAnimatedComponent(Component) {
|
|
30
|
-
return /* @__PURE__ */ React.forwardRef((props, forwardedRef) => {
|
|
31
|
-
var _useAnimatedProps = (0, import_useAnimatedProps.default)(props), reducedProps = _useAnimatedProps[0], callbackRef = _useAnimatedProps[1], ref = (0, import_react_native_web_internals.useMergeRefs)(callbackRef, forwardedRef), passthroughAnimatedPropExplicitValues = reducedProps.passthroughAnimatedPropExplicitValues, style = reducedProps.style, _ref = passthroughAnimatedPropExplicitValues ?? {};
|
|
32
|
-
const { passthroughStyle, ...passthroughProps } = _ref;
|
|
33
|
-
var mergedStyle = [style, passthroughStyle];
|
|
34
|
-
return /* @__PURE__ */ React.createElement(Component, {
|
|
35
|
-
...reducedProps,
|
|
36
|
-
...passthroughProps,
|
|
37
|
-
style: mergedStyle,
|
|
38
|
-
ref
|
|
39
|
-
});
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
//# sourceMappingURL=createAnimatedComponent.js.map
|