@tamagui/react-native-web-lite 1.113.0 → 1.113.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/AccessibilityInfo/index.native.js +62 -58
- package/dist/esm/AccessibilityInfo/index.native.js.map +6 -1
- package/dist/esm/ActivityIndicator/__tests__/index-test.native.js +55 -85
- package/dist/esm/ActivityIndicator/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/ActivityIndicator/index.native.js +90 -82
- package/dist/esm/ActivityIndicator/index.native.js.map +6 -1
- package/dist/esm/Alert/index.native.js +18 -14
- package/dist/esm/Alert/index.native.js.map +6 -1
- package/dist/esm/AppRegistry/AppContainer.native.js +26 -30
- package/dist/esm/AppRegistry/AppContainer.native.js.map +6 -1
- package/dist/esm/AppRegistry/__tests__/index-test.native.js +13 -13
- package/dist/esm/AppRegistry/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/AppRegistry/__tests__/index-test.node.native.js +34 -45
- package/dist/esm/AppRegistry/__tests__/index-test.node.native.js.map +6 -1
- package/dist/esm/AppRegistry/index.native.js +55 -50
- package/dist/esm/AppRegistry/index.native.js.map +6 -1
- package/dist/esm/AppRegistry/renderApplication.native.js +27 -33
- package/dist/esm/AppRegistry/renderApplication.native.js.map +6 -1
- package/dist/esm/AppState/__tests__/index-test.native.js +10 -9
- package/dist/esm/AppState/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/AppState/index.native.js +51 -45
- package/dist/esm/AppState/index.native.js.map +6 -1
- package/dist/esm/Appearance/index.native.js +24 -27
- package/dist/esm/Appearance/index.native.js.map +6 -1
- package/dist/esm/BackHandler/index.native.js +13 -11
- package/dist/esm/BackHandler/index.native.js.map +6 -1
- package/dist/esm/Clipboard/index.native.js +26 -21
- package/dist/esm/Clipboard/index.native.js.map +6 -1
- package/dist/esm/DeviceEmitter.native.js +5 -3
- package/dist/esm/DeviceEmitter.native.js.map +6 -1
- package/dist/esm/DeviceInfo/index.native.js +33 -41
- package/dist/esm/DeviceInfo/index.native.js.map +6 -1
- package/dist/esm/Dimensions/__tests__/index-test.native.js +8 -9
- package/dist/esm/Dimensions/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/Dimensions/index.native.js +53 -49
- package/dist/esm/Dimensions/index.native.js.map +6 -1
- package/dist/esm/I18nManager/index.native.js +13 -10
- package/dist/esm/I18nManager/index.native.js.map +6 -1
- package/dist/esm/Image/index.native.js +149 -174
- package/dist/esm/Image/index.native.js.map +6 -1
- package/dist/esm/Image/types.native.js +1 -2
- package/dist/esm/Image/types.native.js.map +6 -1
- package/dist/esm/ImageBackground/__tests__/index-test.native.js +19 -27
- package/dist/esm/ImageBackground/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/ImageBackground/index.native.js +33 -35
- package/dist/esm/ImageBackground/index.native.js.map +6 -1
- package/dist/esm/Keyboard/index.native.js +17 -13
- package/dist/esm/Keyboard/index.native.js.map +6 -1
- package/dist/esm/KeyboardAvoidingView/index.native.js +44 -34
- package/dist/esm/KeyboardAvoidingView/index.native.js.map +6 -1
- package/dist/esm/Linking/__tests__/index-test.native.js +9 -9
- package/dist/esm/Linking/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/Linking/index.native.js +49 -42
- package/dist/esm/Linking/index.native.js.map +6 -1
- package/dist/esm/LogBox/index.native.js +12 -7
- package/dist/esm/LogBox/index.native.js.map +6 -1
- package/dist/esm/Modal/ModalAnimation.native.js +112 -89
- package/dist/esm/Modal/ModalAnimation.native.js.map +6 -1
- package/dist/esm/Modal/ModalContent.native.js +54 -52
- package/dist/esm/Modal/ModalContent.native.js.map +6 -1
- package/dist/esm/Modal/ModalFocusTrap.native.js +52 -49
- package/dist/esm/Modal/ModalFocusTrap.native.js.map +6 -1
- package/dist/esm/Modal/ModalPortal.native.js +11 -9
- package/dist/esm/Modal/ModalPortal.native.js.map +6 -1
- package/dist/esm/Modal/index.native.js +45 -53
- package/dist/esm/Modal/index.native.js.map +6 -1
- package/dist/esm/NativeModules/index.native.js +6 -5
- package/dist/esm/NativeModules/index.native.js.map +6 -1
- package/dist/esm/PanResponder/Alternative.js +122 -157
- package/dist/esm/PanResponder/Alternative.js.map +6 -1
- package/dist/esm/PanResponder/index.native.js +5 -3
- package/dist/esm/PanResponder/index.native.js.map +6 -1
- package/dist/esm/PixelRatio/index.native.js +59 -48
- package/dist/esm/PixelRatio/index.native.js.map +6 -1
- package/dist/esm/Pressable/index.native.js +67 -70
- package/dist/esm/Pressable/index.native.js.map +6 -1
- package/dist/esm/RefreshControl/index.native.js +6 -4
- package/dist/esm/RefreshControl/index.native.js.map +6 -1
- package/dist/esm/SafeAreaView/index.native.js +21 -24
- package/dist/esm/SafeAreaView/index.native.js.map +6 -1
- package/dist/esm/ScrollView/ScrollViewBase.native.js +50 -61
- package/dist/esm/ScrollView/ScrollViewBase.native.js.map +6 -1
- package/dist/esm/ScrollView/index.native.js +211 -183
- package/dist/esm/ScrollView/index.native.js.map +6 -1
- package/dist/esm/Share/index.native.js +36 -29
- package/dist/esm/Share/index.native.js.map +6 -1
- package/dist/esm/StatusBar/index.native.js +6 -3
- package/dist/esm/StatusBar/index.native.js.map +6 -1
- package/dist/esm/Text/index.native.js +100 -128
- package/dist/esm/Text/index.native.js.map +6 -1
- package/dist/esm/Text/types.native.js +1 -2
- package/dist/esm/Text/types.native.js.map +6 -1
- package/dist/esm/TextInput/__tests__/index-test.native.js +259 -445
- package/dist/esm/TextInput/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/TextInput/index.native.js +157 -220
- package/dist/esm/TextInput/index.native.js.map +6 -1
- package/dist/esm/TextInput/types.native.js +1 -2
- package/dist/esm/TextInput/types.native.js.map +6 -1
- package/dist/esm/TouchableOpacity.native.js +67 -63
- package/dist/esm/TouchableOpacity.native.js.map +6 -1
- package/dist/esm/TouchableWithoutFeedback.native.js +45 -49
- package/dist/esm/TouchableWithoutFeedback.native.js.map +6 -1
- package/dist/esm/UnimplementedView.native.js +30 -22
- package/dist/esm/UnimplementedView.native.js.map +6 -1
- package/dist/esm/Vibration/index.native.js +14 -14
- package/dist/esm/Vibration/index.native.js.map +6 -1
- package/dist/esm/View/index.native.js +55 -84
- package/dist/esm/View/index.native.js.map +6 -1
- package/dist/esm/View/types.native.js +1 -2
- package/dist/esm/View/types.native.js.map +6 -1
- package/dist/esm/createElement/__tests__/index-test.native.js +195 -398
- package/dist/esm/createElement/__tests__/index-test.native.js.map +6 -1
- package/dist/esm/createElement/index.native.js +14 -16
- package/dist/esm/createElement/index.native.js.map +6 -1
- package/dist/esm/createReactDOMStyle.native.js +4 -2
- package/dist/esm/createReactDOMStyle.native.js.map +6 -1
- package/dist/esm/findNodeHandle.native.js +7 -4
- package/dist/esm/findNodeHandle.native.js.map +6 -1
- package/dist/esm/index.native.js +133 -55
- package/dist/esm/index.native.js.map +6 -1
- package/dist/esm/render/index.native.js +9 -4
- package/dist/esm/render/index.native.js.map +6 -1
- package/dist/esm/styleTypes.native.js +1 -2
- package/dist/esm/styleTypes.native.js.map +6 -1
- package/dist/esm/types.native.js +1 -2
- package/dist/esm/types.native.js.map +6 -1
- package/dist/esm/useColorScheme/index.native.js +7 -7
- package/dist/esm/useColorScheme/index.native.js.map +6 -1
- package/dist/esm/useLocaleContext/index.native.js +4 -2
- package/dist/esm/useLocaleContext/index.native.js.map +6 -1
- package/dist/esm/useWindowDimensions/index.native.js +9 -9
- package/dist/esm/useWindowDimensions/index.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/Animated.native.js +17 -16
- package/dist/esm/vendor/react-native/Animated/Animated.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js +99 -72
- package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.native.js +436 -465
- package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.native.js +91 -97
- package/dist/esm/vendor/react-native/Animated/AnimatedMock.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.native.js +1 -2
- package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/Easing.native.js +231 -194
- package/dist/esm/vendor/react-native/Animated/Easing.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.native.js +222 -206
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.native.js +5 -3
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js +5 -3
- package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/SpringConfig.native.js +5 -5
- package/dist/esm/vendor/react-native/Animated/SpringConfig.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/animations/Animation.native.js +37 -25
- package/dist/esm/vendor/react-native/Animated/animations/Animation.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.native.js +54 -42
- package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.native.js +72 -72
- package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.native.js +60 -45
- package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/bezier.native.js +20 -23
- package/dist/esm/vendor/react-native/Animated/bezier.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.native.js +6 -4
- package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.native.js +13 -12
- package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.native.js +6 -4
- package/dist/esm/vendor/react-native/Animated/components/AnimatedText.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.native.js +6 -4
- package/dist/esm/vendor/react-native/Animated/components/AnimatedView.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.native.js +11 -17
- package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.native.js +55 -39
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.native.js +197 -180
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js +51 -39
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.native.js +57 -42
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js +116 -99
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.native.js +50 -37
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js +55 -39
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.native.js +89 -61
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.native.js +70 -52
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.native.js +68 -50
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js +55 -39
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.native.js +53 -41
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.native.js +57 -44
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.native.js +99 -70
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js +82 -64
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js +53 -40
- package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.native.js +58 -50
- package/dist/esm/vendor/react-native/Animated/useAnimatedProps.native.js.map +6 -1
- package/dist/esm/vendor/react-native/FeatureFlags.native.js +10 -8
- package/dist/esm/vendor/react-native/FeatureFlags.native.js.map +6 -1
- package/dist/esm/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.native.js +5 -3
- package/dist/esm/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.native.js.map +6 -1
- package/dist/esm/vendor/react-native/NativeEventEmitter/index.native.js +55 -46
- package/dist/esm/vendor/react-native/NativeEventEmitter/index.native.js.map +6 -1
- package/dist/esm/vendor/react-native/PanResponder/index.native.js +219 -224
- package/dist/esm/vendor/react-native/PanResponder/index.native.js.map +6 -1
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.native.js +81 -58
- package/dist/esm/vendor/react-native/TouchHistoryMath/index.native.js.map +6 -1
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.native.js +1 -2
- package/dist/esm/vendor/react-native/TurboModule/RCTExport.native.js.map +6 -1
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.native.js +5 -2
- package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.native.js +1 -2
- package/dist/esm/vendor/react-native/Types/CoreEventTypes.native.js.map +6 -1
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.native.js +6 -5
- package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.native.js.map +6 -1
- package/dist/esm/vendor/react-native/emitter/EventEmitter.native.js +5 -3
- package/dist/esm/vendor/react-native/emitter/EventEmitter.native.js.map +6 -1
- package/dist/esm/vendor/react-native/emitter/EventSubscription.native.js +1 -2
- package/dist/esm/vendor/react-native/emitter/EventSubscription.native.js.map +6 -1
- package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.native.js +33 -24
- package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.native.js.map +6 -1
- package/dist/esm/vendor/react-native/emitter/_EventEmitter.native.js +51 -41
- package/dist/esm/vendor/react-native/emitter/_EventEmitter.native.js.map +6 -1
- package/dist/esm/vendor/react-native/emitter/_EventSubscription.native.js +16 -12
- package/dist/esm/vendor/react-native/emitter/_EventSubscription.native.js.map +6 -1
- package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.native.js +26 -21
- package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.native.js.map +6 -1
- package/dist/esm/vendor/react-native/infoLog/index.native.js +6 -3
- package/dist/esm/vendor/react-native/infoLog/index.native.js.map +6 -1
- package/dist/esm/vendor/react-native/useRefEffect.native.js +8 -4
- package/dist/esm/vendor/react-native/useRefEffect.native.js.map +6 -1
- package/dist/esm/without-animated.native.js +115 -52
- package/dist/esm/without-animated.native.js.map +6 -1
- package/package.json +6 -6
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import AnimatedInterpolation from "./AnimatedInterpolation
|
|
2
|
-
import AnimatedValue from "./AnimatedValue
|
|
3
|
-
import AnimatedWithChildren from "./AnimatedWithChildren
|
|
1
|
+
import AnimatedInterpolation from "./AnimatedInterpolation";
|
|
2
|
+
import AnimatedValue from "./AnimatedValue";
|
|
3
|
+
import AnimatedWithChildren from "./AnimatedWithChildren";
|
|
4
4
|
function _assert_this_initialized(self) {
|
|
5
|
-
if (self === void 0)
|
|
5
|
+
if (self === void 0)
|
|
6
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
6
7
|
return self;
|
|
7
8
|
}
|
|
8
9
|
function _call_super(_this, derived, args) {
|
|
9
10
|
return derived = _get_prototype_of(derived), _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
11
|
}
|
|
11
12
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
+
if (!(instance instanceof Constructor))
|
|
14
|
+
throw new TypeError("Cannot call a class as a function");
|
|
13
15
|
}
|
|
14
16
|
function _defineProperties(target, props) {
|
|
15
17
|
for (var i = 0; i < props.length; i++) {
|
|
@@ -21,7 +23,7 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
21
23
|
return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
|
|
22
24
|
}
|
|
23
25
|
function _get(target, property, receiver) {
|
|
24
|
-
return typeof Reflect < "u" && Reflect.get ? _get = Reflect.get : _get = function
|
|
26
|
+
return typeof Reflect < "u" && Reflect.get ? _get = Reflect.get : _get = function(target2, property2, receiver2) {
|
|
25
27
|
var base = _super_prop_base(target2, property2);
|
|
26
28
|
if (base) {
|
|
27
29
|
var desc = Object.getOwnPropertyDescriptor(base, property2);
|
|
@@ -30,12 +32,13 @@ function _get(target, property, receiver) {
|
|
|
30
32
|
}, _get(target, property, receiver || target);
|
|
31
33
|
}
|
|
32
34
|
function _get_prototype_of(o) {
|
|
33
|
-
return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function
|
|
35
|
+
return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function(o2) {
|
|
34
36
|
return o2.__proto__ || Object.getPrototypeOf(o2);
|
|
35
37
|
}, _get_prototype_of(o);
|
|
36
38
|
}
|
|
37
39
|
function _inherits(subClass, superClass) {
|
|
38
|
-
if (typeof superClass != "function" && superClass !== null)
|
|
40
|
+
if (typeof superClass != "function" && superClass !== null)
|
|
41
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
39
42
|
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
40
43
|
constructor: {
|
|
41
44
|
value: subClass,
|
|
@@ -48,69 +51,82 @@ function _possible_constructor_return(self, call) {
|
|
|
48
51
|
return call && (_type_of(call) === "object" || typeof call == "function") ? call : _assert_this_initialized(self);
|
|
49
52
|
}
|
|
50
53
|
function _set_prototype_of(o, p) {
|
|
51
|
-
return _set_prototype_of = Object.setPrototypeOf || function
|
|
54
|
+
return _set_prototype_of = Object.setPrototypeOf || function(o2, p2) {
|
|
52
55
|
return o2.__proto__ = p2, o2;
|
|
53
56
|
}, _set_prototype_of(o, p);
|
|
54
57
|
}
|
|
55
58
|
function _super_prop_base(object, property) {
|
|
56
|
-
for (; !Object.prototype.hasOwnProperty.call(object, property) && (object = _get_prototype_of(object), object !== null);)
|
|
59
|
+
for (; !Object.prototype.hasOwnProperty.call(object, property) && (object = _get_prototype_of(object), object !== null); )
|
|
60
|
+
;
|
|
57
61
|
return object;
|
|
58
62
|
}
|
|
59
63
|
function _type_of(obj) {
|
|
60
64
|
"@swc/helpers - typeof";
|
|
61
|
-
|
|
62
65
|
return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
63
66
|
}
|
|
64
67
|
function _is_native_reflect_construct() {
|
|
65
68
|
try {
|
|
66
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function
|
|
67
|
-
|
|
68
|
-
|
|
69
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
70
|
+
}));
|
|
71
|
+
} catch {
|
|
72
|
+
}
|
|
73
|
+
return (_is_native_reflect_construct = function() {
|
|
69
74
|
return !!result;
|
|
70
75
|
})();
|
|
71
76
|
}
|
|
72
|
-
var AnimatedSubtraction = /* @__PURE__ */function
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
var AnimatedSubtraction = /* @__PURE__ */ function(AnimatedWithChildren2) {
|
|
78
|
+
_inherits(AnimatedSubtraction2, AnimatedWithChildren2);
|
|
79
|
+
function AnimatedSubtraction2(a, b) {
|
|
80
|
+
_class_call_check(this, AnimatedSubtraction2);
|
|
81
|
+
var _this;
|
|
82
|
+
return _this = _call_super(this, AnimatedSubtraction2), _this._a = typeof a == "number" ? new AnimatedValue(a) : a, _this._b = typeof b == "number" ? new AnimatedValue(b) : b, _this;
|
|
83
|
+
}
|
|
84
|
+
return _create_class(AnimatedSubtraction2, [
|
|
85
|
+
{
|
|
80
86
|
key: "__makeNative",
|
|
81
|
-
value: function
|
|
87
|
+
value: function(platformConfig) {
|
|
82
88
|
this._a.__makeNative(platformConfig), this._b.__makeNative(platformConfig), _get(_get_prototype_of(AnimatedSubtraction2.prototype), "__makeNative", this).call(this, platformConfig);
|
|
83
89
|
}
|
|
84
|
-
},
|
|
90
|
+
},
|
|
91
|
+
{
|
|
85
92
|
key: "__getValue",
|
|
86
|
-
value: function
|
|
93
|
+
value: function() {
|
|
87
94
|
return this._a.__getValue() - this._b.__getValue();
|
|
88
95
|
}
|
|
89
|
-
},
|
|
96
|
+
},
|
|
97
|
+
{
|
|
90
98
|
key: "interpolate",
|
|
91
|
-
value: function
|
|
99
|
+
value: function(config) {
|
|
92
100
|
return new AnimatedInterpolation(this, config);
|
|
93
101
|
}
|
|
94
|
-
},
|
|
102
|
+
},
|
|
103
|
+
{
|
|
95
104
|
key: "__attach",
|
|
96
|
-
value: function
|
|
105
|
+
value: function() {
|
|
97
106
|
this._a.__addChild(this), this._b.__addChild(this);
|
|
98
107
|
}
|
|
99
|
-
},
|
|
108
|
+
},
|
|
109
|
+
{
|
|
100
110
|
key: "__detach",
|
|
101
|
-
value: function
|
|
111
|
+
value: function() {
|
|
102
112
|
this._a.__removeChild(this), this._b.__removeChild(this), _get(_get_prototype_of(AnimatedSubtraction2.prototype), "__detach", this).call(this);
|
|
103
113
|
}
|
|
104
|
-
},
|
|
114
|
+
},
|
|
115
|
+
{
|
|
105
116
|
key: "__getNativeConfig",
|
|
106
|
-
value: function
|
|
117
|
+
value: function() {
|
|
107
118
|
return {
|
|
108
119
|
type: "subtraction",
|
|
109
|
-
input: [
|
|
120
|
+
input: [
|
|
121
|
+
this._a.__getNativeTag(),
|
|
122
|
+
this._b.__getNativeTag()
|
|
123
|
+
]
|
|
110
124
|
};
|
|
111
125
|
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
export {
|
|
116
|
-
|
|
126
|
+
}
|
|
127
|
+
]), AnimatedSubtraction2;
|
|
128
|
+
}(AnimatedWithChildren), AnimatedSubtraction_default = AnimatedSubtraction;
|
|
129
|
+
export {
|
|
130
|
+
AnimatedSubtraction_default as default
|
|
131
|
+
};
|
|
132
|
+
//# sourceMappingURL=AnimatedSubtraction.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../src/vendor/react-native/Animated/nodes/Users/n8/tamagui/code/packages/react-native-web-lite/src/vendor/react-native/Animated/nodes/AnimatedSubtraction.js"],
|
|
4
|
+
"mappings": "AAWA,OAAOA,2BAA2B;AAClC,OAAOC,mBAAmB;AAC1B,OAAOC,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjC,IAAMC,sBAAN,yBAAAD,uBAAA;YAAMC,sBAAAA,qBAAAA;WAAAA,qBACQC,GAAGC,GAAC;4BADZF,oBAAAA;;mBAEF,YAAA,MAFEA,oBAAAA,GAGF,MAAKG,KAAK,OAAOF,KAAM,WAAW,IAAIH,cAAcG,CAAAA,IAAKA,GACzD,MAAKG,KAAK,OAAOF,KAAM,WAAW,IAAIJ,cAAcI,CAAAA,IAAKA;;uBAJvDF,sBAAAA;;MAOJK,KAAAA;aAAAA,SAAaC,gBAAc;AACzB,aAAKH,GAAGE,aAAaC,cAAAA,GAErB,KAAKF,GAAGC,aAAaC,cAAAA,GAErB,KAAA,kBAZEN,qBAAAA,SAAAA,GAYIK,gBAAN,IAAK,EAAA,KAAA,MAAcC,cAAAA;MACrB;;;MAEAC,KAAAA;aAAAA,WAAAA;AACE,eAAO,KAAKJ,GAAGI,WAAU,IAAK,KAAKH,GAAGG,WAAU;MAClD;;;MAEAC,KAAAA;aAAAA,SAAYC,QAAM;AAChB,eAAO,IAAIZ,sBAAsB,MAAMY,MAAAA;MACzC;;;MAEAC,KAAAA;aAAAA,WAAAA;AACE,aAAKP,GAAGQ,WAAW,IAAI,GAEvB,KAAKP,GAAGO,WAAW,IAAI;MACzB;;;MAEAC,KAAAA;aAAAA,WAAAA;AACE,aAAKT,GAAGU,cAAc,IAAI,GAE1B,KAAKT,GAAGS,cAAc,IAAI,GAE1B,KAAA,kBAlCEb,qBAAAA,SAAAA,GAkCIY,YAAN,IAAK,EAAA,KAAA,IAAA;MACP;;;MAEAE,KAAAA;aAAAA,WAAAA;AACE,eAAO;UACLC,MAAM;UACNC,OAAO;YAAC,KAAKb,GAAGc,eAAc;YAAI,KAAKb,GAAGa,eAAc;;QAC1D;MACF;;MA1CIjB;EAA4BD,oBAAAA,GA6ClC,8BAAeC;",
|
|
5
|
+
"names": ["AnimatedInterpolation", "AnimatedValue", "AnimatedWithChildren", "AnimatedSubtraction", "a", "b", "_a", "_b", "__makeNative", "platformConfig", "__getValue", "interpolate", "config", "__attach", "__addChild", "__detach", "__removeChild", "__getNativeConfig", "type", "input", "__getNativeTag"]
|
|
6
|
+
}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import { generateNewAnimationId, shouldUseNativeDriver } from "../NativeAnimatedHelper
|
|
2
|
-
import AnimatedNode from "./AnimatedNode
|
|
1
|
+
import { generateNewAnimationId, shouldUseNativeDriver } from "../NativeAnimatedHelper";
|
|
2
|
+
import AnimatedNode from "./AnimatedNode";
|
|
3
3
|
function _assert_this_initialized(self) {
|
|
4
|
-
if (self === void 0)
|
|
4
|
+
if (self === void 0)
|
|
5
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
6
|
return self;
|
|
6
7
|
}
|
|
7
8
|
function _call_super(_this, derived, args) {
|
|
8
9
|
return derived = _get_prototype_of(derived), _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
9
10
|
}
|
|
10
11
|
function _class_call_check(instance, Constructor) {
|
|
11
|
-
if (!(instance instanceof Constructor))
|
|
12
|
+
if (!(instance instanceof Constructor))
|
|
13
|
+
throw new TypeError("Cannot call a class as a function");
|
|
12
14
|
}
|
|
13
15
|
function _defineProperties(target, props) {
|
|
14
16
|
for (var i = 0; i < props.length; i++) {
|
|
@@ -20,7 +22,7 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
20
22
|
return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
|
|
21
23
|
}
|
|
22
24
|
function _get(target, property, receiver) {
|
|
23
|
-
return typeof Reflect < "u" && Reflect.get ? _get = Reflect.get : _get = function
|
|
25
|
+
return typeof Reflect < "u" && Reflect.get ? _get = Reflect.get : _get = function(target2, property2, receiver2) {
|
|
24
26
|
var base = _super_prop_base(target2, property2);
|
|
25
27
|
if (base) {
|
|
26
28
|
var desc = Object.getOwnPropertyDescriptor(base, property2);
|
|
@@ -29,12 +31,13 @@ function _get(target, property, receiver) {
|
|
|
29
31
|
}, _get(target, property, receiver || target);
|
|
30
32
|
}
|
|
31
33
|
function _get_prototype_of(o) {
|
|
32
|
-
return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function
|
|
34
|
+
return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function(o2) {
|
|
33
35
|
return o2.__proto__ || Object.getPrototypeOf(o2);
|
|
34
36
|
}, _get_prototype_of(o);
|
|
35
37
|
}
|
|
36
38
|
function _inherits(subClass, superClass) {
|
|
37
|
-
if (typeof superClass != "function" && superClass !== null)
|
|
39
|
+
if (typeof superClass != "function" && superClass !== null)
|
|
40
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
38
41
|
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
39
42
|
constructor: {
|
|
40
43
|
value: subClass,
|
|
@@ -47,70 +50,77 @@ function _possible_constructor_return(self, call) {
|
|
|
47
50
|
return call && (_type_of(call) === "object" || typeof call == "function") ? call : _assert_this_initialized(self);
|
|
48
51
|
}
|
|
49
52
|
function _set_prototype_of(o, p) {
|
|
50
|
-
return _set_prototype_of = Object.setPrototypeOf || function
|
|
53
|
+
return _set_prototype_of = Object.setPrototypeOf || function(o2, p2) {
|
|
51
54
|
return o2.__proto__ = p2, o2;
|
|
52
55
|
}, _set_prototype_of(o, p);
|
|
53
56
|
}
|
|
54
57
|
function _super_prop_base(object, property) {
|
|
55
|
-
for (; !Object.prototype.hasOwnProperty.call(object, property) && (object = _get_prototype_of(object), object !== null);)
|
|
58
|
+
for (; !Object.prototype.hasOwnProperty.call(object, property) && (object = _get_prototype_of(object), object !== null); )
|
|
59
|
+
;
|
|
56
60
|
return object;
|
|
57
61
|
}
|
|
58
62
|
function _type_of(obj) {
|
|
59
63
|
"@swc/helpers - typeof";
|
|
60
|
-
|
|
61
64
|
return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
62
65
|
}
|
|
63
66
|
function _is_native_reflect_construct() {
|
|
64
67
|
try {
|
|
65
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function
|
|
66
|
-
|
|
67
|
-
|
|
68
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
69
|
+
}));
|
|
70
|
+
} catch {
|
|
71
|
+
}
|
|
72
|
+
return (_is_native_reflect_construct = function() {
|
|
68
73
|
return !!result;
|
|
69
74
|
})();
|
|
70
75
|
}
|
|
71
|
-
var AnimatedTracking = /* @__PURE__ */function
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
var AnimatedTracking = /* @__PURE__ */ function(AnimatedNode2) {
|
|
77
|
+
_inherits(AnimatedTracking2, AnimatedNode2);
|
|
78
|
+
function AnimatedTracking2(value, parent, animationClass, animationConfig, callback) {
|
|
79
|
+
_class_call_check(this, AnimatedTracking2);
|
|
80
|
+
var _this;
|
|
81
|
+
return _this = _call_super(this, AnimatedTracking2), _this._value = value, _this._parent = parent, _this._animationClass = animationClass, _this._animationConfig = animationConfig, _this._useNativeDriver = shouldUseNativeDriver(animationConfig), _this._callback = callback, _this.__attach(), _this;
|
|
82
|
+
}
|
|
83
|
+
return _create_class(AnimatedTracking2, [
|
|
84
|
+
{
|
|
79
85
|
key: "__makeNative",
|
|
80
|
-
value: function
|
|
86
|
+
value: function() {
|
|
81
87
|
this.__isNative = !0, this._parent.__makeNative(), _get(_get_prototype_of(AnimatedTracking2.prototype), "__makeNative", this).call(this), this._value.__makeNative();
|
|
82
88
|
}
|
|
83
|
-
},
|
|
89
|
+
},
|
|
90
|
+
{
|
|
84
91
|
key: "__getValue",
|
|
85
|
-
value: function
|
|
92
|
+
value: function() {
|
|
86
93
|
return this._parent.__getValue();
|
|
87
94
|
}
|
|
88
|
-
},
|
|
95
|
+
},
|
|
96
|
+
{
|
|
89
97
|
key: "__attach",
|
|
90
|
-
value: function
|
|
98
|
+
value: function() {
|
|
91
99
|
this._parent.__addChild(this), this._useNativeDriver && this.__makeNative();
|
|
92
100
|
}
|
|
93
|
-
},
|
|
101
|
+
},
|
|
102
|
+
{
|
|
94
103
|
key: "__detach",
|
|
95
|
-
value: function
|
|
104
|
+
value: function() {
|
|
96
105
|
this._parent.__removeChild(this), _get(_get_prototype_of(AnimatedTracking2.prototype), "__detach", this).call(this);
|
|
97
106
|
}
|
|
98
|
-
},
|
|
107
|
+
},
|
|
108
|
+
{
|
|
99
109
|
key: "update",
|
|
100
|
-
value: function
|
|
110
|
+
value: function() {
|
|
101
111
|
this._value.animate(new this._animationClass({
|
|
102
112
|
...this._animationConfig,
|
|
103
113
|
toValue: this._animationConfig.toValue.__getValue()
|
|
104
114
|
}), this._callback);
|
|
105
115
|
}
|
|
106
|
-
},
|
|
116
|
+
},
|
|
117
|
+
{
|
|
107
118
|
key: "__getNativeConfig",
|
|
108
|
-
value: function
|
|
119
|
+
value: function() {
|
|
109
120
|
var animation = new this._animationClass(_objectSpread(_objectSpread({}, this._animationConfig), {}, {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
animationConfig = animation.__getNativeAnimationConfig();
|
|
121
|
+
// remove toValue from the config as it's a ref to Animated.Value
|
|
122
|
+
toValue: void 0
|
|
123
|
+
})), animationConfig = animation.__getNativeAnimationConfig();
|
|
114
124
|
return {
|
|
115
125
|
type: "tracking",
|
|
116
126
|
animationId: generateNewAnimationId(),
|
|
@@ -119,8 +129,10 @@ var AnimatedTracking = /* @__PURE__ */function (AnimatedNode2) {
|
|
|
119
129
|
value: this._value.__getNativeTag()
|
|
120
130
|
};
|
|
121
131
|
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
export {
|
|
126
|
-
|
|
132
|
+
}
|
|
133
|
+
]), AnimatedTracking2;
|
|
134
|
+
}(AnimatedNode), AnimatedTracking_default = AnimatedTracking;
|
|
135
|
+
export {
|
|
136
|
+
AnimatedTracking_default as default
|
|
137
|
+
};
|
|
138
|
+
//# sourceMappingURL=AnimatedTracking.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../src/vendor/react-native/Animated/nodes/Users/n8/tamagui/code/packages/react-native-web-lite/src/vendor/react-native/Animated/nodes/AnimatedTracking.js"],
|
|
4
|
+
"mappings": "AAWA,SAASA,wBAAwBC,6BAA6B;AAC9D,OAAOC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEzB,IAAMC,mBAAN,yBAAAD,eAAA;YAAMC,mBAAAA,aAAAA;WAAAA,kBACQC,OAAOC,QAAQC,gBAAgBC,iBAAiBC,UAAQ;4BADhEL,iBAAAA;;mBAEF,YAAA,MAFEA,iBAAAA,GAGF,MAAKM,SAASL,OACd,MAAKM,UAAUL,QACf,MAAKM,kBAAkBL,gBACvB,MAAKM,mBAAmBL,iBACxB,MAAKM,mBAAmBZ,sBAAsBM,eAAAA,GAC9C,MAAKO,YAAYN,UAEjB,MAAKO,SAAQ;;uBAVXZ,mBAAAA;;MAaJa,KAAAA;aAAAA,WAAAA;AACE,aAAKC,aAAa,IAElB,KAAKP,QAAQM,aAAY,GAEzB,KAAA,kBAlBEb,kBAAAA,SAAAA,GAkBIa,gBAAN,IAAK,EAAA,KAAA,IAAA,GAEL,KAAKP,OAAOO,aAAY;MAC1B;;;MAEAE,KAAAA;aAAAA,WAAAA;AACE,eAAO,KAAKR,QAAQQ,WAAU;MAChC;;;MAEAH,KAAAA;aAAAA,WAAAA;AACE,aAAKL,QAAQS,WAAW,IAAI,GAExB,KAAKN,oBAMP,KAAKG,aAAY;MAErB;;;MAEAI,KAAAA;aAAAA,WAAAA;AACE,aAAKV,QAAQW,cAAc,IAAI,GAE/B,KAAA,kBA3CElB,kBAAAA,SAAAA,GA2CIiB,YAAN,IAAK,EAAA,KAAA,IAAA;MACP;;;MAEAE,KAAAA;aAAAA,WAAAA;AACE,aAAKb,OAAOc,QACV,IAAI,KAAKZ,gBAAgB;UACvB,GAAG,KAAKC;UACRY,SAAS,KAAKZ,iBAAiBY,QAAQN,WAAU;QACnD,CAAA,GACA,KAAKJ,SAAS;MAElB;;;MAEAW,KAAAA;aAAAA,WAAAA;AACE,YAAIC,YAAY,IAAI,KAAKf,gBACvBgB,cACEA,cAAc,CAAC,GAAG,KAAKf,gBAAgB,GACvC,CAAC,GACD;;UAEEY,SAASI;QACX,CAAA,CAAA,GAIArB,kBAAkBmB,UAAUG,2BAA0B;AAE1D,eAAO;UACLC,MAAM;UACNC,aAAa/B,uBAAAA;UACbO;UACAiB,SAAS,KAAKd,QAAQsB,eAAc;UACpC5B,OAAO,KAAKK,OAAOuB,eAAc;QACnC;MACF;;MA7EI7B;EAAyBD,YAAAA,GAgF/B,2BAAeC;",
|
|
5
|
+
"names": ["generateNewAnimationId", "shouldUseNativeDriver", "AnimatedNode", "AnimatedTracking", "value", "parent", "animationClass", "animationConfig", "callback", "_value", "_parent", "_animationClass", "_animationConfig", "_useNativeDriver", "_callback", "__attach", "__makeNative", "__isNative", "__getValue", "__addChild", "__detach", "__removeChild", "update", "animate", "toValue", "__getNativeConfig", "animation", "_objectSpread", "undefined", "__getNativeAnimationConfig", "type", "animationId", "__getNativeTag"]
|
|
6
|
+
}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import NativeAnimatedHelper from "../NativeAnimatedHelper
|
|
2
|
-
import AnimatedNode from "./AnimatedNode
|
|
3
|
-
import AnimatedWithChildren from "./AnimatedWithChildren
|
|
1
|
+
import NativeAnimatedHelper from "../NativeAnimatedHelper";
|
|
2
|
+
import AnimatedNode from "./AnimatedNode";
|
|
3
|
+
import AnimatedWithChildren from "./AnimatedWithChildren";
|
|
4
4
|
function _assert_this_initialized(self) {
|
|
5
|
-
if (self === void 0)
|
|
5
|
+
if (self === void 0)
|
|
6
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
6
7
|
return self;
|
|
7
8
|
}
|
|
8
9
|
function _call_super(_this, derived, args) {
|
|
9
10
|
return derived = _get_prototype_of(derived), _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
11
|
}
|
|
11
12
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
+
if (!(instance instanceof Constructor))
|
|
14
|
+
throw new TypeError("Cannot call a class as a function");
|
|
13
15
|
}
|
|
14
16
|
function _defineProperties(target, props) {
|
|
15
17
|
for (var i = 0; i < props.length; i++) {
|
|
@@ -21,7 +23,7 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
21
23
|
return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
|
|
22
24
|
}
|
|
23
25
|
function _get(target, property, receiver) {
|
|
24
|
-
return typeof Reflect < "u" && Reflect.get ? _get = Reflect.get : _get = function
|
|
26
|
+
return typeof Reflect < "u" && Reflect.get ? _get = Reflect.get : _get = function(target2, property2, receiver2) {
|
|
25
27
|
var base = _super_prop_base(target2, property2);
|
|
26
28
|
if (base) {
|
|
27
29
|
var desc = Object.getOwnPropertyDescriptor(base, property2);
|
|
@@ -30,12 +32,13 @@ function _get(target, property, receiver) {
|
|
|
30
32
|
}, _get(target, property, receiver || target);
|
|
31
33
|
}
|
|
32
34
|
function _get_prototype_of(o) {
|
|
33
|
-
return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function
|
|
35
|
+
return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function(o2) {
|
|
34
36
|
return o2.__proto__ || Object.getPrototypeOf(o2);
|
|
35
37
|
}, _get_prototype_of(o);
|
|
36
38
|
}
|
|
37
39
|
function _inherits(subClass, superClass) {
|
|
38
|
-
if (typeof superClass != "function" && superClass !== null)
|
|
40
|
+
if (typeof superClass != "function" && superClass !== null)
|
|
41
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
39
42
|
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
40
43
|
constructor: {
|
|
41
44
|
value: subClass,
|
|
@@ -48,48 +51,52 @@ function _possible_constructor_return(self, call) {
|
|
|
48
51
|
return call && (_type_of(call) === "object" || typeof call == "function") ? call : _assert_this_initialized(self);
|
|
49
52
|
}
|
|
50
53
|
function _set_prototype_of(o, p) {
|
|
51
|
-
return _set_prototype_of = Object.setPrototypeOf || function
|
|
54
|
+
return _set_prototype_of = Object.setPrototypeOf || function(o2, p2) {
|
|
52
55
|
return o2.__proto__ = p2, o2;
|
|
53
56
|
}, _set_prototype_of(o, p);
|
|
54
57
|
}
|
|
55
58
|
function _super_prop_base(object, property) {
|
|
56
|
-
for (; !Object.prototype.hasOwnProperty.call(object, property) && (object = _get_prototype_of(object), object !== null);)
|
|
59
|
+
for (; !Object.prototype.hasOwnProperty.call(object, property) && (object = _get_prototype_of(object), object !== null); )
|
|
60
|
+
;
|
|
57
61
|
return object;
|
|
58
62
|
}
|
|
59
63
|
function _type_of(obj) {
|
|
60
64
|
"@swc/helpers - typeof";
|
|
61
|
-
|
|
62
65
|
return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
63
66
|
}
|
|
64
67
|
function _is_native_reflect_construct() {
|
|
65
68
|
try {
|
|
66
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function
|
|
67
|
-
|
|
68
|
-
|
|
69
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
70
|
+
}));
|
|
71
|
+
} catch {
|
|
72
|
+
}
|
|
73
|
+
return (_is_native_reflect_construct = function() {
|
|
69
74
|
return !!result;
|
|
70
75
|
})();
|
|
71
76
|
}
|
|
72
|
-
var AnimatedTransform = /* @__PURE__ */function
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
var AnimatedTransform = /* @__PURE__ */ function(AnimatedWithChildren2) {
|
|
78
|
+
_inherits(AnimatedTransform2, AnimatedWithChildren2);
|
|
79
|
+
function AnimatedTransform2(transforms) {
|
|
80
|
+
_class_call_check(this, AnimatedTransform2);
|
|
81
|
+
var _this;
|
|
82
|
+
return _this = _call_super(this, AnimatedTransform2), _this._transforms = transforms || [], _this;
|
|
83
|
+
}
|
|
84
|
+
return _create_class(AnimatedTransform2, [
|
|
85
|
+
{
|
|
80
86
|
key: "__makeNative",
|
|
81
|
-
value: function
|
|
82
|
-
this._transforms.forEach(function
|
|
87
|
+
value: function() {
|
|
88
|
+
this._transforms.forEach(function(transform) {
|
|
83
89
|
for (var key in transform) {
|
|
84
90
|
var value = transform[key];
|
|
85
91
|
value instanceof AnimatedNode && value.__makeNative();
|
|
86
92
|
}
|
|
87
93
|
}), _get(_get_prototype_of(AnimatedTransform2.prototype), "__makeNative", this).call(this);
|
|
88
94
|
}
|
|
89
|
-
},
|
|
95
|
+
},
|
|
96
|
+
{
|
|
90
97
|
key: "__getValue",
|
|
91
|
-
value: function
|
|
92
|
-
return this._transforms.map(function
|
|
98
|
+
value: function() {
|
|
99
|
+
return this._transforms.map(function(transform) {
|
|
93
100
|
var result = {};
|
|
94
101
|
for (var key in transform) {
|
|
95
102
|
var value = transform[key];
|
|
@@ -98,10 +105,11 @@ var AnimatedTransform = /* @__PURE__ */function (AnimatedWithChildren2) {
|
|
|
98
105
|
return result;
|
|
99
106
|
});
|
|
100
107
|
}
|
|
101
|
-
},
|
|
108
|
+
},
|
|
109
|
+
{
|
|
102
110
|
key: "__getAnimatedValue",
|
|
103
|
-
value: function
|
|
104
|
-
return this._transforms.map(function
|
|
111
|
+
value: function() {
|
|
112
|
+
return this._transforms.map(function(transform) {
|
|
105
113
|
var result = {};
|
|
106
114
|
for (var key in transform) {
|
|
107
115
|
var value = transform[key];
|
|
@@ -110,33 +118,36 @@ var AnimatedTransform = /* @__PURE__ */function (AnimatedWithChildren2) {
|
|
|
110
118
|
return result;
|
|
111
119
|
});
|
|
112
120
|
}
|
|
113
|
-
},
|
|
121
|
+
},
|
|
122
|
+
{
|
|
114
123
|
key: "__attach",
|
|
115
|
-
value: function
|
|
124
|
+
value: function() {
|
|
116
125
|
var _this = this;
|
|
117
|
-
this._transforms.forEach(function
|
|
126
|
+
this._transforms.forEach(function(transform) {
|
|
118
127
|
for (var key in transform) {
|
|
119
128
|
var value = transform[key];
|
|
120
129
|
value instanceof AnimatedNode && value.__addChild(_this);
|
|
121
130
|
}
|
|
122
131
|
});
|
|
123
132
|
}
|
|
124
|
-
},
|
|
133
|
+
},
|
|
134
|
+
{
|
|
125
135
|
key: "__detach",
|
|
126
|
-
value: function
|
|
136
|
+
value: function() {
|
|
127
137
|
var _this = this;
|
|
128
|
-
this._transforms.forEach(function
|
|
138
|
+
this._transforms.forEach(function(transform) {
|
|
129
139
|
for (var key in transform) {
|
|
130
140
|
var value = transform[key];
|
|
131
141
|
value instanceof AnimatedNode && value.__removeChild(_this);
|
|
132
142
|
}
|
|
133
143
|
}), _get(_get_prototype_of(AnimatedTransform2.prototype), "__detach", this).call(this);
|
|
134
144
|
}
|
|
135
|
-
},
|
|
145
|
+
},
|
|
146
|
+
{
|
|
136
147
|
key: "__getNativeConfig",
|
|
137
|
-
value: function
|
|
148
|
+
value: function() {
|
|
138
149
|
var transConfigs = [];
|
|
139
|
-
return this._transforms.forEach(function
|
|
150
|
+
return this._transforms.forEach(function(transform) {
|
|
140
151
|
for (var key in transform) {
|
|
141
152
|
var value = transform[key];
|
|
142
153
|
value instanceof AnimatedNode ? transConfigs.push({
|
|
@@ -154,8 +165,10 @@ var AnimatedTransform = /* @__PURE__ */function (AnimatedWithChildren2) {
|
|
|
154
165
|
transforms: transConfigs
|
|
155
166
|
};
|
|
156
167
|
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
export {
|
|
161
|
-
|
|
168
|
+
}
|
|
169
|
+
]), AnimatedTransform2;
|
|
170
|
+
}(AnimatedWithChildren), AnimatedTransform_default = AnimatedTransform;
|
|
171
|
+
export {
|
|
172
|
+
AnimatedTransform_default as default
|
|
173
|
+
};
|
|
174
|
+
//# sourceMappingURL=AnimatedTransform.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../src/vendor/react-native/Animated/nodes/Users/n8/tamagui/code/packages/react-native-web-lite/src/vendor/react-native/Animated/nodes/AnimatedTransform.js"],
|
|
4
|
+
"mappings": "AAWA,OAAOA,0BAA0B;AACjC,OAAOC,kBAAkB;AACzB,OAAOC,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjC,IAAMC,oBAAN,yBAAAD,uBAAA;YAAMC,oBAAAA,qBAAAA;WAAAA,mBACQC,YAAU;4BADlBD,kBAAAA;;mBAEF,YAAA,MAFEA,kBAAAA,GAGF,MAAKE,cAAcD,cAAc,CAAA;;uBAH/BD,oBAAAA;;MAMJG,KAAAA;aAAAA,WAAAA;AACE,aAAKD,YAAYE,QAAQ,SAACC,WAAAA;AACxB,mBAASC,OAAOD,WAAW;AACzB,gBAAIE,QAAQF,UAAUC,GAAAA;AAEtB,YAAIC,iBAAiBT,gBACnBS,MAAMJ,aAAY;UAEtB;QACF,CAAA,GAEA,KAAA,kBAjBEH,mBAAAA,SAAAA,GAiBIG,gBAAN,IAAK,EAAA,KAAA,IAAA;MACP;;;MAEAK,KAAAA;aAAAA,WAAAA;AACE,eAAO,KAAKN,YAAYO,IAAI,SAACJ,WAAAA;AAC3B,cAAIK,SAAS,CAAC;AAEd,mBAASJ,OAAOD,WAAW;AACzB,gBAAIE,QAAQF,UAAUC,GAAAA;AAEtB,YAAIC,iBAAiBT,eACnBY,OAAOJ,GAAAA,IAAOC,MAAMC,WAAU,IAE9BE,OAAOJ,GAAAA,IAAOC;UAElB;AAEA,iBAAOG;QACT,CAAA;MACF;;;MAEAC,KAAAA;aAAAA,WAAAA;AACE,eAAO,KAAKT,YAAYO,IAAI,SAACJ,WAAAA;AAC3B,cAAIK,SAAS,CAAC;AAEd,mBAASJ,OAAOD,WAAW;AACzB,gBAAIE,QAAQF,UAAUC,GAAAA;AAEtB,YAAIC,iBAAiBT,eACnBY,OAAOJ,GAAAA,IAAOC,MAAMI,mBAAkB,IAGtCD,OAAOJ,GAAAA,IAAOC;UAElB;AAEA,iBAAOG;QACT,CAAA;MACF;;;MAEAE,KAAAA;aAAAA,WAAAA;;AACE,aAAKV,YAAYE,QAAQ,SAACC,WAAAA;AACxB,mBAASC,OAAOD,WAAW;AACzB,gBAAIE,QAAQF,UAAUC,GAAAA;AAEtB,YAAIC,iBAAiBT,gBACnBS,MAAMM,WAAU,KAAA;UAEpB;QACF,CAAA;MACF;;;MAEAC,KAAAA;aAAAA,WAAAA;;AACE,aAAKZ,YAAYE,QAAQ,SAACC,WAAAA;AACxB,mBAASC,OAAOD,WAAW;AACzB,gBAAIE,QAAQF,UAAUC,GAAAA;AAEtB,YAAIC,iBAAiBT,gBACnBS,MAAMQ,cAAa,KAAA;UAEvB;QACF,CAAA,GAEA,KAAA,kBAhFEf,mBAAAA,SAAAA,GAgFIc,YAAN,IAAK,EAAA,KAAA,IAAA;MACP;;;MAEAE,KAAAA;aAAAA,WAAAA;AACE,YAAIC,eAAe,CAAA;AAEnB,oBAAKf,YAAYE,QAAQ,SAACC,WAAAA;AACxB,mBAASC,OAAOD,WAAW;AACzB,gBAAIE,QAAQF,UAAUC,GAAAA;AAEtB,YAAIC,iBAAiBT,eACnBmB,aAAaC,KAAK;cAChBC,MAAM;cACNC,UAAUd;cACVe,SAASd,MAAMe,eAAc;YAC/B,CAAA,IAEAL,aAAaC,KAAK;cAChBC,MAAM;cACNC,UAAUd;cACVC,OAAOV,qBAAqB0B,kBAAkBhB,KAAAA;YAChD,CAAA;UAEJ;QACF,CAAA,GAEAV,qBAAqB2B,kBAAkBP,YAAAA,GAChC;UACLE,MAAM;UACNlB,YAAYgB;QACd;MACF;;MA/GIjB;EAA0BD,oBAAAA,GAkHhC,4BAAeC;",
|
|
5
|
+
"names": ["NativeAnimatedHelper", "AnimatedNode", "AnimatedWithChildren", "AnimatedTransform", "transforms", "_transforms", "__makeNative", "forEach", "transform", "key", "value", "__getValue", "map", "result", "__getAnimatedValue", "__attach", "__addChild", "__detach", "__removeChild", "__getNativeConfig", "transConfigs", "push", "type", "property", "nodeTag", "__getNativeTag", "transformDataType", "validateTransform"]
|
|
6
|
+
}
|