@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
|
@@ -2,43 +2,41 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import { forwardRef } from "react";
|
|
4
4
|
import { StyleSheet } from "@tamagui/react-native-web-internals";
|
|
5
|
-
import Image from "../Image/index
|
|
6
|
-
import View from "../View/index
|
|
7
|
-
var emptyObject = {},
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
...rest
|
|
15
|
-
} = props,
|
|
16
|
-
{
|
|
17
|
-
height,
|
|
18
|
-
width
|
|
19
|
-
} = StyleSheet.flatten(style);
|
|
20
|
-
return /* @__PURE__ */_jsxs(View, {
|
|
21
|
-
ref: forwardedRef,
|
|
22
|
-
style,
|
|
23
|
-
children: [/* @__PURE__ */_jsx(Image, {
|
|
5
|
+
import Image from "../Image/index";
|
|
6
|
+
import View from "../View/index";
|
|
7
|
+
var emptyObject = {}, ImageBackground = /* @__PURE__ */ forwardRef(function(props, forwardedRef) {
|
|
8
|
+
var { children, style = emptyObject, imageStyle, imageRef, ...rest } = props, { height, width } = StyleSheet.flatten(style);
|
|
9
|
+
return /* @__PURE__ */ _jsxs(View, {
|
|
10
|
+
ref: forwardedRef,
|
|
11
|
+
style,
|
|
12
|
+
children: [
|
|
13
|
+
/* @__PURE__ */ _jsx(Image, {
|
|
24
14
|
...rest,
|
|
25
15
|
ref: imageRef,
|
|
26
|
-
style: [
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
16
|
+
style: [
|
|
17
|
+
{
|
|
18
|
+
// Temporary Workaround:
|
|
19
|
+
// Current (imperfect yet) implementation of <Image> overwrites width and height styles
|
|
20
|
+
// (which is not quite correct), and these styles conflict with explicitly set styles
|
|
21
|
+
// of <ImageBackground> and with our internal layout model here.
|
|
22
|
+
// So, we have to proxy/reapply these styles explicitly for actual <Image> component.
|
|
23
|
+
// This workaround should be removed after implementing proper support of
|
|
24
|
+
// intrinsic content size of the <Image>.
|
|
25
|
+
width,
|
|
26
|
+
height,
|
|
27
|
+
zIndex: -1
|
|
28
|
+
},
|
|
29
|
+
StyleSheet.absoluteFill,
|
|
30
|
+
imageStyle
|
|
31
|
+
]
|
|
32
|
+
}),
|
|
33
|
+
children
|
|
34
|
+
]
|
|
40
35
|
});
|
|
36
|
+
});
|
|
41
37
|
ImageBackground.displayName = "ImageBackground";
|
|
42
38
|
var ImageBackground_default = ImageBackground;
|
|
43
|
-
export {
|
|
44
|
-
|
|
39
|
+
export {
|
|
40
|
+
ImageBackground_default as default
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/ImageBackground/Users/n8/tamagui/code/packages/react-native-web-lite/src/ImageBackground/index.tsx"],
|
|
4
|
+
"mappings": "AAOC,SAAA,OAAA,MAAA,QAAA,aAAA;AAED,OAAuB;AACvB,SAASA,kBAAkB;AAC3B,SAASC,kBAAkB;AAG3B,OAAOC,WAAW;AAElB,OAAOC,UAAU;AAQjB,IAAMC,cAAc,CAAC,GAKfC,kBAAkBL,2BACtB,SAACM,OAAOC,cAAAA;AACN,MAAM,EAAEC,UAAUC,QAAQL,aAAaM,YAAYC,UAAU,GAAGC,KAAAA,IAASN,OACnE,EAAEO,QAAQC,MAAK,IAAKb,WAAWc,QAAQN,KAAAA;AAE7C,SACE,sBAACN,MAAAA;IAAKa,KAAKT;IAAcE;;MACvB,qBAACP,OAAAA;QACE,GAAGU;QACJI,KAAKL;QACLF,OAAO;UACL;;;;;;;;YAQEK;YACAD;YACAI,QAAQ;UACV;UACAhB,WAAWiB;UACXR;;;MAGHF;;;AAGP,CAAA;AAGFH,gBAAgBc,cAAc;AAE9B,IAAA,0BAAed;",
|
|
5
|
+
"names": ["forwardRef", "StyleSheet", "Image", "View", "emptyObject", "ImageBackground", "props", "forwardedRef", "children", "style", "imageStyle", "imageRef", "rest", "height", "width", "flatten", "ref", "zIndex", "absoluteFill", "displayName"]
|
|
6
|
+
}
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
import { dismissKeyboard } from "@tamagui/react-native-web-internals";
|
|
2
2
|
var Keyboard = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
dismiss() {
|
|
9
|
-
dismissKeyboard();
|
|
10
|
-
},
|
|
11
|
-
removeAllListeners() {},
|
|
12
|
-
removeListener() {}
|
|
3
|
+
addListener() {
|
|
4
|
+
return {
|
|
5
|
+
remove: function() {
|
|
6
|
+
}
|
|
7
|
+
};
|
|
13
8
|
},
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
dismiss() {
|
|
10
|
+
dismissKeyboard();
|
|
11
|
+
},
|
|
12
|
+
removeAllListeners() {
|
|
13
|
+
},
|
|
14
|
+
removeListener() {
|
|
15
|
+
}
|
|
16
|
+
}, Keyboard_default = Keyboard;
|
|
17
|
+
export {
|
|
18
|
+
Keyboard_default as default
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/Keyboard/Users/n8/tamagui/code/packages/react-native-web-lite/src/Keyboard/index.tsx"],
|
|
4
|
+
"mappings": "AAUA,SAASA,uBAAuB;AAEhC,IAAMC,WAAW;EACfC,cAAAA;AAGE,WAAO;MAAEC,QAAQ,WAAA;MAAO;IAAE;EAC5B;EACAC,UAAAA;AACEJ,oBAAAA;EACF;EACAK,qBAAAA;EAAsB;EACtBC,iBAAAA;EAAkB;AACpB,GAEA,mBAAeL;",
|
|
5
|
+
"names": ["dismissKeyboard", "Keyboard", "addListener", "remove", "dismiss", "removeAllListeners", "removeListener"]
|
|
6
|
+
}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import View from "../View/index
|
|
3
|
+
import View from "../View/index";
|
|
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++) {
|
|
@@ -29,12 +31,13 @@ function _define_property(obj, key, value) {
|
|
|
29
31
|
}) : obj[key] = value, obj;
|
|
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,48 +50,53 @@ 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 _type_of(obj) {
|
|
55
58
|
"@swc/helpers - typeof";
|
|
56
|
-
|
|
57
59
|
return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
58
60
|
}
|
|
59
61
|
function _is_native_reflect_construct() {
|
|
60
62
|
try {
|
|
61
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function
|
|
62
|
-
|
|
63
|
-
|
|
63
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
64
|
+
}));
|
|
65
|
+
} catch {
|
|
66
|
+
}
|
|
67
|
+
return (_is_native_reflect_construct = function() {
|
|
64
68
|
return !!result;
|
|
65
69
|
})();
|
|
66
70
|
}
|
|
67
|
-
var KeyboardAvoidingView = /* @__PURE__ */function
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
71
|
+
var KeyboardAvoidingView = /* @__PURE__ */ function(_React_Component) {
|
|
72
|
+
"use strict";
|
|
73
|
+
_inherits(KeyboardAvoidingView2, _React_Component);
|
|
74
|
+
function KeyboardAvoidingView2() {
|
|
75
|
+
_class_call_check(this, KeyboardAvoidingView2);
|
|
76
|
+
var _this;
|
|
77
|
+
return _this = _call_super(this, KeyboardAvoidingView2, arguments), _define_property(_this, "frame", null), _define_property(_this, "onLayout", function(event) {
|
|
78
|
+
_this.frame = event.nativeEvent.layout;
|
|
79
|
+
}), _this;
|
|
80
|
+
}
|
|
81
|
+
return _create_class(KeyboardAvoidingView2, [
|
|
82
|
+
{
|
|
79
83
|
key: "relativeKeyboardHeight",
|
|
80
|
-
value: function
|
|
84
|
+
value: function(keyboardFrame) {
|
|
81
85
|
var frame = this.frame;
|
|
82
|
-
if (!frame || !keyboardFrame)
|
|
86
|
+
if (!frame || !keyboardFrame)
|
|
87
|
+
return 0;
|
|
83
88
|
var keyboardY = keyboardFrame.screenY - (this.props.keyboardVerticalOffset || 0);
|
|
84
89
|
return Math.max(frame.y + frame.height - keyboardY, 0);
|
|
85
90
|
}
|
|
86
|
-
},
|
|
91
|
+
},
|
|
92
|
+
{
|
|
87
93
|
key: "onKeyboardChange",
|
|
88
|
-
value: function
|
|
89
|
-
|
|
94
|
+
value: function(event) {
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
90
98
|
key: "render",
|
|
91
|
-
value: function
|
|
99
|
+
value: function() {
|
|
92
100
|
var {
|
|
93
101
|
/* eslint-disable */
|
|
94
102
|
behavior,
|
|
@@ -97,13 +105,15 @@ var KeyboardAvoidingView = /* @__PURE__ */function (_React_Component) {
|
|
|
97
105
|
/* eslint-enable */
|
|
98
106
|
...rest
|
|
99
107
|
} = this.props;
|
|
100
|
-
return /* @__PURE__ */_jsx(View, {
|
|
108
|
+
return /* @__PURE__ */ _jsx(View, {
|
|
101
109
|
onLayout: this.onLayout,
|
|
102
110
|
...rest
|
|
103
111
|
});
|
|
104
112
|
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
export {
|
|
109
|
-
|
|
113
|
+
}
|
|
114
|
+
]), KeyboardAvoidingView2;
|
|
115
|
+
}(React.Component), KeyboardAvoidingView_default = KeyboardAvoidingView;
|
|
116
|
+
export {
|
|
117
|
+
KeyboardAvoidingView_default as default
|
|
118
|
+
};
|
|
119
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/KeyboardAvoidingView/Users/n8/tamagui/code/packages/react-native-web-lite/src/KeyboardAvoidingView/index.tsx"],
|
|
4
|
+
"mappings": ";AAUA,YAAYA,WAAW;AAIvB,OAAOC,UAAU;AANhB,SAAA,yBAAA,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcD,IAAMC,uBAAN,yBAAA,kBAAA;;YAAMA,uBAAAA,gBAAAA;WAAAA,wBAAAA;4BAAAA,qBAAAA;;qCAAAA,uBAAAA,SAAAA,GACJC,iBAAAA,OAAAA,SAA4B,IAAA,GAa5BC,iBAAAA,OAAAA,YAAyC,SAACC,OAAAA;AACxC,YAAKF,QAAQE,MAAMC,YAAYC;IACjC,CAAA;;uBAhBIL,uBAAAA;;MAGJM,KAAAA;aAAAA,SAAuBC,eAAkC;AACvD,YAAMN,QAAQ,KAAKA;AACnB,YAAI,CAACA,SAAS,CAACM;AACb,iBAAO;AAET,YAAMC,YAAYD,cAAcE,WAAW,KAAKC,MAAMC,0BAA0B;AAChF,eAAOC,KAAKC,IAAIZ,MAAMa,IAAIb,MAAMc,SAASP,WAAW,CAAA;MACtD;;;MAEAQ,KAAAA;aAAAA,SAAiBb,OAAa;MAAG;;;MAMjCc,KAAAA;aAAAA,WAAAA;AACE,YAAM;;UAEJC;UACAC;UACAR;;UAEA,GAAGS;QAAAA,IACD,KAAKV;AAET,eAAO,qBAACX,MAAAA;UAAKG,UAAU,KAAKA;UAAW,GAAGkB;;MAC5C;;MA7BIpB;EAA6BF,MAAMuB,SAAS,GAgClD,+BAAerB;",
|
|
5
|
+
"names": ["React", "View", "KeyboardAvoidingView", "frame", "onLayout", "event", "nativeEvent", "layout", "relativeKeyboardHeight", "keyboardFrame", "keyboardY", "screenY", "props", "keyboardVerticalOffset", "Math", "max", "y", "height", "onKeyboardChange", "render", "behavior", "contentContainerStyle", "rest", "Component"]
|
|
6
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import Linking from "..";
|
|
2
|
-
describe("apis/Linking", function
|
|
3
|
-
describe("openURL", function
|
|
4
|
-
test("calls open with a url and target", function
|
|
5
|
-
jest.spyOn(window, "open").mockImplementationOnce(function
|
|
2
|
+
describe("apis/Linking", function() {
|
|
3
|
+
describe("openURL", function() {
|
|
4
|
+
test("calls open with a url and target", function(done) {
|
|
5
|
+
jest.spyOn(window, "open").mockImplementationOnce(function(url, target, opener) {
|
|
6
6
|
expect(url).toBe("http://foo.com/"), expect(target).toBe("target_name"), expect(opener).toBe("noopener"), done();
|
|
7
7
|
}), Linking.openURL("http://foo.com", "target_name");
|
|
8
|
-
}), test("defaults target to _blank if not provided", function
|
|
9
|
-
jest.spyOn(window, "open").mockImplementationOnce(function
|
|
8
|
+
}), test("defaults target to _blank if not provided", function(done) {
|
|
9
|
+
jest.spyOn(window, "open").mockImplementationOnce(function(url, target, opener) {
|
|
10
10
|
expect(url).toBe("http://foo.com/"), expect(target).toBe("_blank"), expect(opener).toBe("noopener"), done();
|
|
11
11
|
}), Linking.openURL("http://foo.com");
|
|
12
|
-
}), test("accepts undefined as a target", function
|
|
13
|
-
jest.spyOn(window, "open").mockImplementationOnce(function
|
|
12
|
+
}), test("accepts undefined as a target", function(done) {
|
|
13
|
+
jest.spyOn(window, "open").mockImplementationOnce(function(url, target, opener) {
|
|
14
14
|
expect(url).toBe("http://foo.com/"), expect(target).toBe(void 0), expect(opener).toBe("noopener"), done();
|
|
15
15
|
}), Linking.openURL("http://foo.com", void 0);
|
|
16
16
|
});
|
|
17
17
|
});
|
|
18
18
|
});
|
|
19
|
-
//# sourceMappingURL=index-test.
|
|
19
|
+
//# sourceMappingURL=index-test.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/Linking/__tests__/Users/n8/tamagui/code/packages/react-native-web-lite/src/Linking/__tests__/index-test.tsx"],
|
|
4
|
+
"mappings": "AAEA,OAAOA,aAAa;AAEpBC,SAAS,gBAAgB,WAAA;AACvBA,WAAS,WAAW,WAAA;AAClBC,SAAK,oCAAoC,SAACC,MAAAA;AACxCC,WAAKC,MAAMC,QAAQ,MAAA,EAAQC,uBAAuB,SAACC,KAAKC,QAAQC,QAAAA;AAC9DC,eAAOH,GAAAA,EAAKI,KAAK,iBAAA,GACjBD,OAAOF,MAAAA,EAAQG,KAAK,aAAA,GACpBD,OAAOD,MAAAA,EAAQE,KAAK,UAAA,GACpBT,KAAAA;MACF,CAAA,GACAH,QAAQa,QAAQ,kBAAkB,aAAA;IACpC,CAAA,GAEAX,KAAK,6CAA6C,SAACC,MAAAA;AACjDC,WAAKC,MAAMC,QAAQ,MAAA,EAAQC,uBAAuB,SAACC,KAAKC,QAAQC,QAAAA;AAC9DC,eAAOH,GAAAA,EAAKI,KAAK,iBAAA,GACjBD,OAAOF,MAAAA,EAAQG,KAAK,QAAA,GACpBD,OAAOD,MAAAA,EAAQE,KAAK,UAAA,GACpBT,KAAAA;MACF,CAAA,GACAH,QAAQa,QAAQ,gBAAA;IAClB,CAAA,GAEAX,KAAK,iCAAiC,SAACC,MAAAA;AACrCC,WAAKC,MAAMC,QAAQ,MAAA,EAAQC,uBAAuB,SAACC,KAAKC,QAAQC,QAAAA;AAC9DC,eAAOH,GAAAA,EAAKI,KAAK,iBAAA,GACjBD,OAAOF,MAAAA,EAAQG,KAAKE,MAAAA,GACpBH,OAAOD,MAAAA,EAAQE,KAAK,UAAA,GACpBT,KAAAA;MACF,CAAA,GACAH,QAAQa,QAAQ,kBAAkBC,MAAAA;IACpC,CAAA;EACF,CAAA;AACF,CAAA;",
|
|
5
|
+
"names": ["Linking", "describe", "test", "done", "jest", "spyOn", "window", "mockImplementationOnce", "url", "target", "opener", "expect", "toBe", "openURL", "undefined"]
|
|
6
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { canUseDOM, invariant } from "@tamagui/react-native-web-internals";
|
|
2
2
|
function _class_call_check(instance, Constructor) {
|
|
3
|
-
if (!(instance instanceof Constructor))
|
|
3
|
+
if (!(instance instanceof Constructor))
|
|
4
|
+
throw new TypeError("Cannot call a class as a function");
|
|
4
5
|
}
|
|
5
6
|
function _defineProperties(target, props) {
|
|
6
7
|
for (var i = 0; i < props.length; i++) {
|
|
@@ -19,46 +20,50 @@ function _define_property(obj, key, value) {
|
|
|
19
20
|
writable: !0
|
|
20
21
|
}) : obj[key] = value, obj;
|
|
21
22
|
}
|
|
22
|
-
var initialURL = canUseDOM ? window.location.href : "",
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
return c.toString() !== callback.toString();
|
|
38
|
-
});
|
|
39
|
-
_this._eventCallbacks[event] = filteredCallbacks;
|
|
23
|
+
var initialURL = canUseDOM ? window.location.href : "", Linking = /* @__PURE__ */ function() {
|
|
24
|
+
"use strict";
|
|
25
|
+
function Linking2() {
|
|
26
|
+
var _this = this;
|
|
27
|
+
_class_call_check(this, Linking2), _define_property(this, "_eventCallbacks", {}), _define_property(this, "addEventListener", function(event, callback) {
|
|
28
|
+
if (!_this._eventCallbacks[event]) {
|
|
29
|
+
_this._eventCallbacks[event] = [
|
|
30
|
+
callback
|
|
31
|
+
];
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
_this._eventCallbacks[event].push(callback);
|
|
35
|
+
}), _define_property(this, "removeEventListener", function(event, callback) {
|
|
36
|
+
var callbacks = _this._eventCallbacks[event], filteredCallbacks = callbacks.filter(function(c) {
|
|
37
|
+
return c.toString() !== callback.toString();
|
|
40
38
|
});
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
_this._eventCallbacks[event] = filteredCallbacks;
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
return _create_class(Linking2, [
|
|
43
|
+
{
|
|
43
44
|
key: "_dispatchEvent",
|
|
44
|
-
value: function
|
|
45
|
-
for (var _len = arguments.length, data = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++)
|
|
45
|
+
value: function(event) {
|
|
46
|
+
for (var _len = arguments.length, data = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++)
|
|
47
|
+
data[_key - 1] = arguments[_key];
|
|
46
48
|
var listeners = this._eventCallbacks[event];
|
|
47
|
-
listeners != null && Array.isArray(listeners) && listeners.map(function
|
|
49
|
+
listeners != null && Array.isArray(listeners) && listeners.map(function(listener) {
|
|
48
50
|
listener(...data);
|
|
49
51
|
});
|
|
50
52
|
}
|
|
51
|
-
},
|
|
53
|
+
},
|
|
54
|
+
{
|
|
52
55
|
key: "canOpenURL",
|
|
53
|
-
value: function
|
|
56
|
+
value: function() {
|
|
54
57
|
return Promise.resolve(!0);
|
|
55
58
|
}
|
|
56
|
-
},
|
|
59
|
+
},
|
|
60
|
+
{
|
|
57
61
|
key: "getInitialURL",
|
|
58
|
-
value: function
|
|
62
|
+
value: function() {
|
|
59
63
|
return Promise.resolve(initialURL);
|
|
60
64
|
}
|
|
61
|
-
},
|
|
65
|
+
},
|
|
66
|
+
{
|
|
62
67
|
/**
|
|
63
68
|
* Try to open the given url in a secure fashion. The method returns a Promise object.
|
|
64
69
|
* If a target is passed (including undefined) that target will be used, otherwise '_blank'.
|
|
@@ -66,7 +71,7 @@ var initialURL = canUseDOM ? window.location.href : "",
|
|
|
66
71
|
* Dispatches the `onOpen` event if `url` is opened successfully.
|
|
67
72
|
*/
|
|
68
73
|
key: "openURL",
|
|
69
|
-
value: function
|
|
74
|
+
value: function(url, target) {
|
|
70
75
|
arguments.length === 1 && (target = "_blank");
|
|
71
76
|
try {
|
|
72
77
|
return open(url, target), this._dispatchEvent("onOpen", url), Promise.resolve();
|
|
@@ -74,19 +79,21 @@ var initialURL = canUseDOM ? window.location.href : "",
|
|
|
74
79
|
return Promise.reject(e);
|
|
75
80
|
}
|
|
76
81
|
}
|
|
77
|
-
},
|
|
82
|
+
},
|
|
83
|
+
{
|
|
78
84
|
key: "_validateURL",
|
|
79
|
-
value: function
|
|
85
|
+
value: function(url) {
|
|
80
86
|
invariant(typeof url == "string", "Invalid URL: should be a string. Was: " + url), invariant(url, "Invalid URL: cannot be empty");
|
|
81
87
|
}
|
|
82
|
-
}]), Linking2;
|
|
83
|
-
}(),
|
|
84
|
-
open = function (url, target) {
|
|
85
|
-
if (canUseDOM) {
|
|
86
|
-
var urlToOpen = new URL(url, window.location).toString();
|
|
87
|
-
urlToOpen.indexOf("tel:") === 0 ? window.location = urlToOpen : window.open(urlToOpen, target, "noopener");
|
|
88
88
|
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
89
|
+
]), Linking2;
|
|
90
|
+
}(), open = function(url, target) {
|
|
91
|
+
if (canUseDOM) {
|
|
92
|
+
var urlToOpen = new URL(url, window.location).toString();
|
|
93
|
+
urlToOpen.indexOf("tel:") === 0 ? window.location = urlToOpen : window.open(urlToOpen, target, "noopener");
|
|
94
|
+
}
|
|
95
|
+
}, Linking_default = new Linking();
|
|
96
|
+
export {
|
|
97
|
+
Linking_default as default
|
|
98
|
+
};
|
|
99
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/Linking/Users/n8/tamagui/code/packages/react-native-web-lite/src/Linking/index.tsx"],
|
|
4
|
+
"mappings": "AAUA,SAASA,WAAWC,iBAAiB;AAFpC,SAAA,kBAAA,UAAA,aAAA;;;;;;;;;;;;;;;;;;;;;AAID,IAAMC,aAAaF,YAAYG,OAAOC,SAASC,OAAO,IAOhDC,UAAN,2BAAA;;WAAMA,WAAAA;;4BAAAA,QAAAA,GAKJC,iBAAAA,MAAAA,mBAAsD,CAAC,CAAA,GAevDC,iBAAAA,MAAAA,oBAAqD,SACnDC,OACAC,UAAAA;AAEA,UAAI,CAAC,MAAKH,gBAAgBE,KAAAA,GAAQ;AAChC,cAAKF,gBAAgBE,KAAAA,IAAS;UAACC;;AAC/B;MACF;AACA,YAAKH,gBAAgBE,KAAAA,EAAOE,KAAKD,QAAAA;IACnC,CAAA,GAMAE,iBAAAA,MAAAA,uBAAwD,SACtDH,OACAC,UAAAA;AAEA,UAAMG,YAAY,MAAKN,gBAAgBE,KAAAA,GACjCK,oBAAoBD,UAAUE,OAClC,SAACC,GAAAA;eAAMA,EAAEC,SAAQ,MAAOP,SAASO,SAAQ;;AAE3C,YAAKV,gBAAgBE,KAAAA,IAASK;IAChC,CAAA;;uBA5CIR,UAAAA;;MAOJY,KAAAA;aAAAA,SAAeT,OAAa;AAAE,iBAAA,OAAA,UAAA,QAAGU,OAAH,IAAA,MAAA,OAAA,IAAA,OAAA,IAAA,CAAA,GAAA,OAAA,GAAA,OAAA,MAAA;AAAGA,eAAH,OAAA,CAAA,IAAA,UAAA,IAAA;AAC5B,YAAMC,YAAY,KAAKb,gBAAgBE,KAAAA;AACvC,QAAIW,aAAa,QAAQC,MAAMC,QAAQF,SAAAA,KACrCA,UAAUG,IAAI,SAACC,UAAAA;AACbA,mBAAAA,GAAYL,IAAAA;QACd,CAAA;MAEJ;;;MAgCAM,KAAAA;aAAAA,WAAAA;AACE,eAAOC,QAAQC,QAAQ,EAAA;MACzB;;;MAEAC,KAAAA;aAAAA,WAAAA;AACE,eAAOF,QAAQC,QAAQzB,UAAAA;MACzB;;;;;;;;;MAQA2B,KAAAA;aAAAA,SAAQC,KAAaC,QAAe;AAClC,QAAIC,UAAUC,WAAW,MACvBF,SAAS;AAEX,YAAI;AACFG,sBAAKJ,KAAKC,MAAAA,GACV,KAAKb,eAAe,UAAUY,GAAAA,GACvBJ,QAAQC,QAAO;QACxB,SAASQ,GAAG;AACV,iBAAOT,QAAQU,OAAOD,CAAAA;QACxB;MACF;;;MAEAE,KAAAA;aAAAA,SAAaP,KAAW;AACtB7B,kBAAU,OAAO6B,OAAQ,UAAU,2CAA2CA,GAAAA,GAC9E7B,UAAU6B,KAAK,8BAAA;MACjB;;MA5EIxB;KA+EA4B,OAAO,SAACJ,KAAKC,QAAAA;AACjB,MAAI/B,WAAW;AAEb,QAAMsC,YAAY,IAAIC,IAAIT,KAAK3B,OAAOC,QAAQ,EAAEa,SAAQ;AACxD,IAAIqB,UAAUE,QAAQ,MAAA,MAAY,IAEhCrC,OAAOC,WAAWkC,YAElBnC,OAAO+B,KAAKI,WAAWP,QAAQ,UAAA;EAEnC;AACF,GAEA,kBAAe,IAAIzB,QAAAA;",
|
|
5
|
+
"names": ["canUseDOM", "invariant", "initialURL", "window", "location", "href", "Linking", "_eventCallbacks", "addEventListener", "event", "callback", "push", "removeEventListener", "callbacks", "filteredCallbacks", "filter", "c", "toString", "_dispatchEvent", "data", "listeners", "Array", "isArray", "map", "listener", "canOpenURL", "Promise", "resolve", "getInitialURL", "openURL", "url", "target", "arguments", "length", "open", "e", "reject", "_validateURL", "urlToOpen", "URL", "indexOf"]
|
|
6
|
+
}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
var LogBox = {
|
|
2
|
-
|
|
3
|
-
ignoreAllLogs() {},
|
|
4
|
-
uninstall() {},
|
|
5
|
-
install() {}
|
|
2
|
+
ignoreLogs() {
|
|
6
3
|
},
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
ignoreAllLogs() {
|
|
5
|
+
},
|
|
6
|
+
uninstall() {
|
|
7
|
+
},
|
|
8
|
+
install() {
|
|
9
|
+
}
|
|
10
|
+
}, LogBox_default = LogBox;
|
|
11
|
+
export {
|
|
12
|
+
LogBox_default as default
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/LogBox/Users/n8/tamagui/code/packages/react-native-web-lite/src/LogBox/index.tsx"],
|
|
4
|
+
"mappings": "AASA,IAAMA,SAAS;EACbC,aAAAA;EAAc;EACdC,gBAAAA;EAAiB;EACjBC,YAAAA;EAAa;EACbC,UAAAA;EAAW;AACb,GAEA,iBAAeJ;",
|
|
5
|
+
"names": ["LogBox", "ignoreLogs", "ignoreAllLogs", "uninstall", "install"]
|
|
6
|
+
}
|