@tamagui/react-native-web-lite 1.116.0 → 1.116.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.
Files changed (243) hide show
  1. package/dist/cjs/AccessibilityInfo/index.js +96 -0
  2. package/dist/cjs/ActivityIndicator/__tests__/index-test.js +116 -0
  3. package/dist/cjs/ActivityIndicator/index.js +108 -0
  4. package/dist/cjs/Alert/index.js +25 -0
  5. package/dist/cjs/AppRegistry/AppContainer.js +41 -0
  6. package/dist/cjs/AppRegistry/__tests__/index-test.js +77 -0
  7. package/dist/cjs/AppRegistry/__tests__/index-test.node.js +131 -0
  8. package/dist/cjs/AppRegistry/index.js +98 -0
  9. package/dist/cjs/AppRegistry/renderApplication.js +51 -0
  10. package/dist/cjs/AppState/__tests__/index-test.js +33 -0
  11. package/dist/cjs/AppState/index.js +71 -0
  12. package/dist/cjs/Appearance/index.js +41 -0
  13. package/dist/cjs/BackHandler/index.js +32 -0
  14. package/dist/cjs/Clipboard/index.js +47 -0
  15. package/dist/cjs/DeviceEmitter.js +29 -0
  16. package/dist/cjs/DeviceInfo/index.js +62 -0
  17. package/dist/cjs/Dimensions/__tests__/index-test.js +51 -0
  18. package/dist/cjs/Dimensions/index.js +74 -0
  19. package/dist/cjs/I18nManager/index.js +30 -0
  20. package/dist/cjs/Image/index.js +253 -0
  21. package/dist/cjs/Image/types.js +14 -0
  22. package/dist/cjs/ImageBackground/__tests__/index-test.js +48 -0
  23. package/dist/cjs/ImageBackground/index.js +62 -0
  24. package/dist/cjs/Keyboard/index.js +35 -0
  25. package/dist/cjs/KeyboardAvoidingView/index.js +56 -0
  26. package/dist/cjs/Linking/__tests__/index-test.js +38 -0
  27. package/dist/cjs/Linking/index.js +86 -0
  28. package/dist/cjs/LogBox/index.js +31 -0
  29. package/dist/cjs/Modal/ModalAnimation.js +137 -0
  30. package/dist/cjs/Modal/ModalContent.js +75 -0
  31. package/dist/cjs/Modal/ModalFocusTrap.js +105 -0
  32. package/dist/cjs/Modal/ModalPortal.js +43 -0
  33. package/dist/cjs/Modal/index.js +92 -0
  34. package/dist/cjs/NativeModules/index.js +25 -0
  35. package/dist/cjs/PanResponder/index.js +29 -0
  36. package/dist/cjs/PixelRatio/index.js +60 -0
  37. package/dist/cjs/Pressable/index.js +140 -0
  38. package/dist/cjs/RefreshControl/index.js +48 -0
  39. package/dist/cjs/SafeAreaView/index.js +43 -0
  40. package/dist/cjs/ScrollView/ScrollViewBase.js +124 -0
  41. package/dist/cjs/ScrollView/index.js +374 -0
  42. package/dist/cjs/Share/index.js +56 -0
  43. package/dist/cjs/StatusBar/index.js +31 -0
  44. package/dist/cjs/Text/index.js +152 -0
  45. package/dist/cjs/Text/types.js +14 -0
  46. package/dist/cjs/TextInput/__tests__/index-test.js +422 -0
  47. package/dist/cjs/TextInput/index.js +260 -0
  48. package/dist/cjs/TextInput/types.js +14 -0
  49. package/dist/cjs/TouchableOpacity.js +123 -0
  50. package/dist/cjs/TouchableWithoutFeedback.js +90 -0
  51. package/dist/cjs/UnimplementedView.js +36 -0
  52. package/dist/cjs/Vibration/index.js +31 -0
  53. package/dist/cjs/View/index.js +101 -0
  54. package/dist/cjs/View/types.js +14 -0
  55. package/dist/cjs/createElement/__tests__/index-test.js +536 -0
  56. package/dist/cjs/createElement/index.js +37 -0
  57. package/dist/cjs/createReactDOMStyle.js +21 -0
  58. package/dist/cjs/findNodeHandle.js +29 -0
  59. package/dist/cjs/index.js +110 -0
  60. package/dist/cjs/render/index.js +45 -0
  61. package/dist/cjs/styleTypes.js +14 -0
  62. package/dist/cjs/types.js +14 -0
  63. package/dist/cjs/useColorScheme/index.js +39 -0
  64. package/dist/cjs/useLocaleContext/index.js +21 -0
  65. package/dist/cjs/useWindowDimensions/index.js +41 -0
  66. package/dist/cjs/vendor/react-native/Animated/Animated.js +35 -0
  67. package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js +143 -0
  68. package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js +458 -0
  69. package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js +126 -0
  70. package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.js +2 -0
  71. package/dist/cjs/vendor/react-native/Animated/Easing.js +189 -0
  72. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js +335 -0
  73. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.js +29 -0
  74. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.js +29 -0
  75. package/dist/cjs/vendor/react-native/Animated/SpringConfig.js +70 -0
  76. package/dist/cjs/vendor/react-native/Animated/animations/Animation.js +64 -0
  77. package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.js +63 -0
  78. package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.js +146 -0
  79. package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.js +82 -0
  80. package/dist/cjs/vendor/react-native/Animated/bezier.js +72 -0
  81. package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js +29 -0
  82. package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js +38 -0
  83. package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js +29 -0
  84. package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js +29 -0
  85. package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js +42 -0
  86. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.js +57 -0
  87. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.js +197 -0
  88. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +60 -0
  89. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.js +58 -0
  90. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.js +175 -0
  91. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.js +58 -0
  92. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +57 -0
  93. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.js +136 -0
  94. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.js +112 -0
  95. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.js +100 -0
  96. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +57 -0
  97. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.js +76 -0
  98. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.js +100 -0
  99. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.js +182 -0
  100. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.js +167 -0
  101. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +67 -0
  102. package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.js +89 -0
  103. package/dist/cjs/vendor/react-native/FeatureFlags.js +28 -0
  104. package/dist/cjs/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.js +29 -0
  105. package/dist/cjs/vendor/react-native/NativeEventEmitter/index.js +73 -0
  106. package/dist/cjs/vendor/react-native/PanResponder/index.js +272 -0
  107. package/dist/cjs/vendor/react-native/TouchHistoryMath/index.js +118 -0
  108. package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js +2 -0
  109. package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js +28 -0
  110. package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js +15 -0
  111. package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js +29 -0
  112. package/dist/cjs/vendor/react-native/emitter/EventEmitter.js +30 -0
  113. package/dist/cjs/vendor/react-native/emitter/EventSubscription.js +2 -0
  114. package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.js +55 -0
  115. package/dist/cjs/vendor/react-native/emitter/_EventEmitter.js +135 -0
  116. package/dist/cjs/vendor/react-native/emitter/_EventSubscription.js +37 -0
  117. package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.js +76 -0
  118. package/dist/cjs/vendor/react-native/infoLog/index.js +25 -0
  119. package/dist/cjs/vendor/react-native/useRefEffect.js +30 -0
  120. package/dist/cjs/without-animated.js +95 -0
  121. package/package.json +6 -6
  122. package/dist/cjs/PanResponder/Alternative.cjs +0 -198
  123. package/dist/cjs/PanResponder/Alternative.cjs.map +0 -6
  124. /package/dist/cjs/AccessibilityInfo/{index.cjs.map → index.js.map} +0 -0
  125. /package/dist/cjs/ActivityIndicator/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
  126. /package/dist/cjs/ActivityIndicator/{index.cjs.map → index.js.map} +0 -0
  127. /package/dist/cjs/Alert/{index.cjs.map → index.js.map} +0 -0
  128. /package/dist/cjs/AppRegistry/{AppContainer.cjs.map → AppContainer.js.map} +0 -0
  129. /package/dist/cjs/AppRegistry/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
  130. /package/dist/cjs/AppRegistry/__tests__/{index-test.node.cjs.map → index-test.node.js.map} +0 -0
  131. /package/dist/cjs/AppRegistry/{index.cjs.map → index.js.map} +0 -0
  132. /package/dist/cjs/AppRegistry/{renderApplication.cjs.map → renderApplication.js.map} +0 -0
  133. /package/dist/cjs/AppState/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
  134. /package/dist/cjs/AppState/{index.cjs.map → index.js.map} +0 -0
  135. /package/dist/cjs/Appearance/{index.cjs.map → index.js.map} +0 -0
  136. /package/dist/cjs/BackHandler/{index.cjs.map → index.js.map} +0 -0
  137. /package/dist/cjs/Clipboard/{index.cjs.map → index.js.map} +0 -0
  138. /package/dist/cjs/{DeviceEmitter.cjs.map → DeviceEmitter.js.map} +0 -0
  139. /package/dist/cjs/DeviceInfo/{index.cjs.map → index.js.map} +0 -0
  140. /package/dist/cjs/Dimensions/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
  141. /package/dist/cjs/Dimensions/{index.cjs.map → index.js.map} +0 -0
  142. /package/dist/cjs/I18nManager/{index.cjs.map → index.js.map} +0 -0
  143. /package/dist/cjs/Image/{index.cjs.map → index.js.map} +0 -0
  144. /package/dist/cjs/Image/{types.cjs.map → types.js.map} +0 -0
  145. /package/dist/cjs/ImageBackground/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
  146. /package/dist/cjs/ImageBackground/{index.cjs.map → index.js.map} +0 -0
  147. /package/dist/cjs/Keyboard/{index.cjs.map → index.js.map} +0 -0
  148. /package/dist/cjs/KeyboardAvoidingView/{index.cjs.map → index.js.map} +0 -0
  149. /package/dist/cjs/Linking/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
  150. /package/dist/cjs/Linking/{index.cjs.map → index.js.map} +0 -0
  151. /package/dist/cjs/LogBox/{index.cjs.map → index.js.map} +0 -0
  152. /package/dist/cjs/Modal/{ModalAnimation.cjs.map → ModalAnimation.js.map} +0 -0
  153. /package/dist/cjs/Modal/{ModalContent.cjs.map → ModalContent.js.map} +0 -0
  154. /package/dist/cjs/Modal/{ModalFocusTrap.cjs.map → ModalFocusTrap.js.map} +0 -0
  155. /package/dist/cjs/Modal/{ModalPortal.cjs.map → ModalPortal.js.map} +0 -0
  156. /package/dist/cjs/Modal/{index.cjs.map → index.js.map} +0 -0
  157. /package/dist/cjs/NativeModules/{index.cjs.map → index.js.map} +0 -0
  158. /package/dist/cjs/PanResponder/{index.cjs.map → index.js.map} +0 -0
  159. /package/dist/cjs/PixelRatio/{index.cjs.map → index.js.map} +0 -0
  160. /package/dist/cjs/Pressable/{index.cjs.map → index.js.map} +0 -0
  161. /package/dist/cjs/RefreshControl/{index.cjs.map → index.js.map} +0 -0
  162. /package/dist/cjs/SafeAreaView/{index.cjs.map → index.js.map} +0 -0
  163. /package/dist/cjs/ScrollView/{ScrollViewBase.cjs.map → ScrollViewBase.js.map} +0 -0
  164. /package/dist/cjs/ScrollView/{index.cjs.map → index.js.map} +0 -0
  165. /package/dist/cjs/Share/{index.cjs.map → index.js.map} +0 -0
  166. /package/dist/cjs/StatusBar/{index.cjs.map → index.js.map} +0 -0
  167. /package/dist/cjs/Text/{index.cjs.map → index.js.map} +0 -0
  168. /package/dist/cjs/Text/{types.cjs.map → types.js.map} +0 -0
  169. /package/dist/cjs/TextInput/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
  170. /package/dist/cjs/TextInput/{index.cjs.map → index.js.map} +0 -0
  171. /package/dist/cjs/TextInput/{types.cjs.map → types.js.map} +0 -0
  172. /package/dist/cjs/{TouchableOpacity.cjs.map → TouchableOpacity.js.map} +0 -0
  173. /package/dist/cjs/{TouchableWithoutFeedback.cjs.map → TouchableWithoutFeedback.js.map} +0 -0
  174. /package/dist/cjs/{UnimplementedView.cjs.map → UnimplementedView.js.map} +0 -0
  175. /package/dist/cjs/Vibration/{index.cjs.map → index.js.map} +0 -0
  176. /package/dist/cjs/View/{index.cjs.map → index.js.map} +0 -0
  177. /package/dist/cjs/View/{types.cjs.map → types.js.map} +0 -0
  178. /package/dist/cjs/createElement/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
  179. /package/dist/cjs/createElement/{index.cjs.map → index.js.map} +0 -0
  180. /package/dist/cjs/{createReactDOMStyle.cjs.map → createReactDOMStyle.js.map} +0 -0
  181. /package/dist/cjs/{findNodeHandle.cjs.map → findNodeHandle.js.map} +0 -0
  182. /package/dist/cjs/{index.cjs.map → index.js.map} +0 -0
  183. /package/dist/cjs/render/{index.cjs.map → index.js.map} +0 -0
  184. /package/dist/cjs/{styleTypes.cjs.map → styleTypes.js.map} +0 -0
  185. /package/dist/cjs/{types.cjs.map → types.js.map} +0 -0
  186. /package/dist/cjs/useColorScheme/{index.cjs.map → index.js.map} +0 -0
  187. /package/dist/cjs/useLocaleContext/{index.cjs.map → index.js.map} +0 -0
  188. /package/dist/cjs/useWindowDimensions/{index.cjs.map → index.js.map} +0 -0
  189. /package/dist/cjs/vendor/react-native/Animated/{Animated.cjs.map → Animated.js.map} +0 -0
  190. /package/dist/cjs/vendor/react-native/Animated/{AnimatedEvent.cjs.map → AnimatedEvent.js.map} +0 -0
  191. /package/dist/cjs/vendor/react-native/Animated/{AnimatedImplementation.cjs.map → AnimatedImplementation.js.map} +0 -0
  192. /package/dist/cjs/vendor/react-native/Animated/{AnimatedMock.cjs.map → AnimatedMock.js.map} +0 -0
  193. /package/dist/cjs/vendor/react-native/Animated/{AnimatedPlatformConfig.cjs.map → AnimatedPlatformConfig.js.map} +0 -0
  194. /package/dist/cjs/vendor/react-native/Animated/{Easing.cjs.map → Easing.js.map} +0 -0
  195. /package/dist/cjs/vendor/react-native/Animated/{NativeAnimatedHelper.cjs.map → NativeAnimatedHelper.js.map} +0 -0
  196. /package/dist/cjs/vendor/react-native/Animated/{NativeAnimatedModule.cjs.map → NativeAnimatedModule.js.map} +0 -0
  197. /package/dist/cjs/vendor/react-native/Animated/{NativeAnimatedTurboModule.cjs.map → NativeAnimatedTurboModule.js.map} +0 -0
  198. /package/dist/cjs/vendor/react-native/Animated/{SpringConfig.cjs.map → SpringConfig.js.map} +0 -0
  199. /package/dist/cjs/vendor/react-native/Animated/animations/{Animation.cjs.map → Animation.js.map} +0 -0
  200. /package/dist/cjs/vendor/react-native/Animated/animations/{DecayAnimation.cjs.map → DecayAnimation.js.map} +0 -0
  201. /package/dist/cjs/vendor/react-native/Animated/animations/{SpringAnimation.cjs.map → SpringAnimation.js.map} +0 -0
  202. /package/dist/cjs/vendor/react-native/Animated/animations/{TimingAnimation.cjs.map → TimingAnimation.js.map} +0 -0
  203. /package/dist/cjs/vendor/react-native/Animated/{bezier.cjs.map → bezier.js.map} +0 -0
  204. /package/dist/cjs/vendor/react-native/Animated/components/{AnimatedImage.cjs.map → AnimatedImage.js.map} +0 -0
  205. /package/dist/cjs/vendor/react-native/Animated/components/{AnimatedScrollView.cjs.map → AnimatedScrollView.js.map} +0 -0
  206. /package/dist/cjs/vendor/react-native/Animated/components/{AnimatedText.cjs.map → AnimatedText.js.map} +0 -0
  207. /package/dist/cjs/vendor/react-native/Animated/components/{AnimatedView.cjs.map → AnimatedView.js.map} +0 -0
  208. /package/dist/cjs/vendor/react-native/Animated/{createAnimatedComponent.cjs.map → createAnimatedComponent.js.map} +0 -0
  209. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedAddition.cjs.map → AnimatedAddition.js.map} +0 -0
  210. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedColor.cjs.map → AnimatedColor.js.map} +0 -0
  211. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedDiffClamp.cjs.map → AnimatedDiffClamp.js.map} +0 -0
  212. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedDivision.cjs.map → AnimatedDivision.js.map} +0 -0
  213. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedInterpolation.cjs.map → AnimatedInterpolation.js.map} +0 -0
  214. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedModulo.cjs.map → AnimatedModulo.js.map} +0 -0
  215. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedMultiplication.cjs.map → AnimatedMultiplication.js.map} +0 -0
  216. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedNode.cjs.map → AnimatedNode.js.map} +0 -0
  217. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedProps.cjs.map → AnimatedProps.js.map} +0 -0
  218. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedStyle.cjs.map → AnimatedStyle.js.map} +0 -0
  219. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedSubtraction.cjs.map → AnimatedSubtraction.js.map} +0 -0
  220. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedTracking.cjs.map → AnimatedTracking.js.map} +0 -0
  221. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedTransform.cjs.map → AnimatedTransform.js.map} +0 -0
  222. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedValue.cjs.map → AnimatedValue.js.map} +0 -0
  223. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedValueXY.cjs.map → AnimatedValueXY.js.map} +0 -0
  224. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedWithChildren.cjs.map → AnimatedWithChildren.js.map} +0 -0
  225. /package/dist/cjs/vendor/react-native/Animated/{useAnimatedProps.cjs.map → useAnimatedProps.js.map} +0 -0
  226. /package/dist/cjs/vendor/react-native/{FeatureFlags.cjs.map → FeatureFlags.js.map} +0 -0
  227. /package/dist/cjs/vendor/react-native/NativeEventEmitter/{RCTDeviceEventEmitter.cjs.map → RCTDeviceEventEmitter.js.map} +0 -0
  228. /package/dist/cjs/vendor/react-native/NativeEventEmitter/{index.cjs.map → index.js.map} +0 -0
  229. /package/dist/cjs/vendor/react-native/PanResponder/{index.cjs.map → index.js.map} +0 -0
  230. /package/dist/cjs/vendor/react-native/TouchHistoryMath/{index.cjs.map → index.js.map} +0 -0
  231. /package/dist/cjs/vendor/react-native/TurboModule/{RCTExport.cjs.map → RCTExport.js.map} +0 -0
  232. /package/dist/cjs/vendor/react-native/TurboModule/{TurboModuleRegistry.cjs.map → TurboModuleRegistry.js.map} +0 -0
  233. /package/dist/cjs/vendor/react-native/Types/{CoreEventTypes.cjs.map → CoreEventTypes.js.map} +0 -0
  234. /package/dist/cjs/vendor/react-native/Utilities/{setAndForwardRef.cjs.map → setAndForwardRef.js.map} +0 -0
  235. /package/dist/cjs/vendor/react-native/emitter/{EventEmitter.cjs.map → EventEmitter.js.map} +0 -0
  236. /package/dist/cjs/vendor/react-native/emitter/{EventSubscription.cjs.map → EventSubscription.js.map} +0 -0
  237. /package/dist/cjs/vendor/react-native/emitter/{_EmitterSubscription.cjs.map → _EmitterSubscription.js.map} +0 -0
  238. /package/dist/cjs/vendor/react-native/emitter/{_EventEmitter.cjs.map → _EventEmitter.js.map} +0 -0
  239. /package/dist/cjs/vendor/react-native/emitter/{_EventSubscription.cjs.map → _EventSubscription.js.map} +0 -0
  240. /package/dist/cjs/vendor/react-native/emitter/{_EventSubscriptionVendor.cjs.map → _EventSubscriptionVendor.js.map} +0 -0
  241. /package/dist/cjs/vendor/react-native/infoLog/{index.cjs.map → index.js.map} +0 -0
  242. /package/dist/cjs/vendor/react-native/{useRefEffect.cjs.map → useRefEffect.js.map} +0 -0
  243. /package/dist/cjs/{without-animated.cjs.map → without-animated.js.map} +0 -0
@@ -0,0 +1,272 @@
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 PanResponder_exports = {};
25
+ __export(PanResponder_exports, {
26
+ default: () => PanResponder_default
27
+ });
28
+ module.exports = __toCommonJS(PanResponder_exports);
29
+ var import_react_native_web_internals = require("@tamagui/react-native-web-internals"), import_TouchHistoryMath = __toESM(require("../TouchHistoryMath"));
30
+ const currentCentroidXOfTouchesChangedAfter = import_TouchHistoryMath.default.currentCentroidXOfTouchesChangedAfter, currentCentroidYOfTouchesChangedAfter = import_TouchHistoryMath.default.currentCentroidYOfTouchesChangedAfter, previousCentroidXOfTouchesChangedAfter = import_TouchHistoryMath.default.previousCentroidXOfTouchesChangedAfter, previousCentroidYOfTouchesChangedAfter = import_TouchHistoryMath.default.previousCentroidYOfTouchesChangedAfter, currentCentroidX = import_TouchHistoryMath.default.currentCentroidX, currentCentroidY = import_TouchHistoryMath.default.currentCentroidY, PanResponder = {
31
+ /**
32
+ *
33
+ * A graphical explanation of the touch data flow:
34
+ *
35
+ * +----------------------------+ +--------------------------------+
36
+ * | ResponderTouchHistoryStore | |TouchHistoryMath |
37
+ * +----------------------------+ +----------+---------------------+
38
+ * |Global store of touchHistory| |Allocation-less math util |
39
+ * |including activeness, start | |on touch history (centroids |
40
+ * |position, prev/cur position.| |and multitouch movement etc) |
41
+ * | | | |
42
+ * +----^-----------------------+ +----^---------------------------+
43
+ * | |
44
+ * | (records relevant history |
45
+ * | of touches relevant for |
46
+ * | implementing higher level |
47
+ * | gestures) |
48
+ * | |
49
+ * +----+-----------------------+ +----|---------------------------+
50
+ * | ResponderEventPlugin | | | Your App/Component |
51
+ * +----------------------------+ +----|---------------------------+
52
+ * |Negotiates which view gets | Low level | | High level |
53
+ * |onResponderMove events. | events w/ | +-+-------+ events w/ |
54
+ * |Also records history into | touchHistory| | Pan | multitouch + |
55
+ * |ResponderTouchHistoryStore. +---------------->Responder+-----> accumulative|
56
+ * +----------------------------+ attached to | | | distance and |
57
+ * each event | +---------+ velocity. |
58
+ * | |
59
+ * | |
60
+ * +--------------------------------+
61
+ *
62
+ *
63
+ *
64
+ * Gesture that calculates cumulative movement over time in a way that just
65
+ * "does the right thing" for multiple touches. The "right thing" is very
66
+ * nuanced. When moving two touches in opposite directions, the cumulative
67
+ * distance is zero in each dimension. When two touches move in parallel five
68
+ * pixels in the same direction, the cumulative distance is five, not ten. If
69
+ * two touches start, one moves five in a direction, then stops and the other
70
+ * touch moves fives in the same direction, the cumulative distance is ten.
71
+ *
72
+ * This logic requires a kind of processing of time "clusters" of touch events
73
+ * so that two touch moves that essentially occur in parallel but move every
74
+ * other frame respectively, are considered part of the same movement.
75
+ *
76
+ * Explanation of some of the non-obvious fields:
77
+ *
78
+ * - moveX/moveY: If no move event has been observed, then `(moveX, moveY)` is
79
+ * invalid. If a move event has been observed, `(moveX, moveY)` is the
80
+ * centroid of the most recently moved "cluster" of active touches.
81
+ * (Currently all move have the same timeStamp, but later we should add some
82
+ * threshold for what is considered to be "moving"). If a palm is
83
+ * accidentally counted as a touch, but a finger is moving greatly, the palm
84
+ * will move slightly, but we only want to count the single moving touch.
85
+ * - x0/y0: Centroid location (non-cumulative) at the time of becoming
86
+ * responder.
87
+ * - dx/dy: Cumulative touch distance - not the same thing as sum of each touch
88
+ * distance. Accounts for touch moves that are clustered together in time,
89
+ * moving the same direction. Only valid when currently responder (otherwise,
90
+ * it only represents the drag distance below the threshold).
91
+ * - vx/vy: Velocity.
92
+ */
93
+ _initializeGestureState(gestureState) {
94
+ gestureState.moveX = 0, gestureState.moveY = 0, gestureState.x0 = 0, gestureState.y0 = 0, gestureState.dx = 0, gestureState.dy = 0, gestureState.vx = 0, gestureState.vy = 0, gestureState.numberActiveTouches = 0, gestureState._accountsForMovesUpTo = 0;
95
+ },
96
+ /**
97
+ * This is nuanced and is necessary. It is incorrect to continuously take all
98
+ * active *and* recently moved touches, find the centroid, and track how that
99
+ * result changes over time. Instead, we must take all recently moved
100
+ * touches, and calculate how the centroid has changed just for those
101
+ * recently moved touches, and append that change to an accumulator. This is
102
+ * to (at least) handle the case where the user is moving three fingers, and
103
+ * then one of the fingers stops but the other two continue.
104
+ *
105
+ * This is very different than taking all of the recently moved touches and
106
+ * storing their centroid as `dx/dy`. For correctness, we must *accumulate
107
+ * changes* in the centroid of recently moved touches.
108
+ *
109
+ * There is also some nuance with how we handle multiple moved touches in a
110
+ * single event. With the way `ReactNativeEventEmitter` dispatches touches as
111
+ * individual events, multiple touches generate two 'move' events, each of
112
+ * them triggering `onResponderMove`. But with the way `PanResponder` works,
113
+ * all of the gesture inference is performed on the first dispatch, since it
114
+ * looks at all of the touches (even the ones for which there hasn't been a
115
+ * native dispatch yet). Therefore, `PanResponder` does not call
116
+ * `onResponderMove` passed the first dispatch. This diverges from the
117
+ * typical responder callback pattern (without using `PanResponder`), but
118
+ * avoids more dispatches than necessary.
119
+ */
120
+ _updateGestureStateOnMove(gestureState, touchHistory) {
121
+ gestureState.numberActiveTouches = touchHistory.numberActiveTouches, gestureState.moveX = currentCentroidXOfTouchesChangedAfter(
122
+ touchHistory,
123
+ gestureState._accountsForMovesUpTo
124
+ ), gestureState.moveY = currentCentroidYOfTouchesChangedAfter(
125
+ touchHistory,
126
+ gestureState._accountsForMovesUpTo
127
+ );
128
+ const movedAfter = gestureState._accountsForMovesUpTo, prevX = previousCentroidXOfTouchesChangedAfter(touchHistory, movedAfter), x = currentCentroidXOfTouchesChangedAfter(touchHistory, movedAfter), prevY = previousCentroidYOfTouchesChangedAfter(touchHistory, movedAfter), y = currentCentroidYOfTouchesChangedAfter(touchHistory, movedAfter), nextDX = gestureState.dx + (x - prevX), nextDY = gestureState.dy + (y - prevY), dt = touchHistory.mostRecentTimeStamp - gestureState._accountsForMovesUpTo;
129
+ gestureState.vx = (nextDX - gestureState.dx) / dt, gestureState.vy = (nextDY - gestureState.dy) / dt, gestureState.dx = nextDX, gestureState.dy = nextDY, gestureState._accountsForMovesUpTo = touchHistory.mostRecentTimeStamp;
130
+ },
131
+ /**
132
+ * @param {object} config Enhanced versions of all of the responder callbacks
133
+ * that provide not only the typical `ResponderSyntheticEvent`, but also the
134
+ * `PanResponder` gesture state. Simply replace the word `Responder` with
135
+ * `PanResponder` in each of the typical `onResponder*` callbacks. For
136
+ * example, the `config` object would look like:
137
+ *
138
+ * - `onMoveShouldSetPanResponder: (e, gestureState) => {...}`
139
+ * - `onMoveShouldSetPanResponderCapture: (e, gestureState) => {...}`
140
+ * - `onStartShouldSetPanResponder: (e, gestureState) => {...}`
141
+ * - `onStartShouldSetPanResponderCapture: (e, gestureState) => {...}`
142
+ * - `onPanResponderReject: (e, gestureState) => {...}`
143
+ * - `onPanResponderGrant: (e, gestureState) => {...}`
144
+ * - `onPanResponderStart: (e, gestureState) => {...}`
145
+ * - `onPanResponderEnd: (e, gestureState) => {...}`
146
+ * - `onPanResponderRelease: (e, gestureState) => {...}`
147
+ * - `onPanResponderMove: (e, gestureState) => {...}`
148
+ * - `onPanResponderTerminate: (e, gestureState) => {...}`
149
+ * - `onPanResponderTerminationRequest: (e, gestureState) => {...}`
150
+ * - `onShouldBlockNativeResponder: (e, gestureState) => {...}`
151
+ *
152
+ * In general, for events that have capture equivalents, we update the
153
+ * gestureState once in the capture phase and can use it in the bubble phase
154
+ * as well.
155
+ *
156
+ * Be careful with onStartShould* callbacks. They only reflect updated
157
+ * `gestureState` for start/end events that bubble/capture to the Node.
158
+ * Once the node is the responder, you can rely on every start/end event
159
+ * being processed by the gesture and `gestureState` being updated
160
+ * accordingly. (numberActiveTouches) may not be totally accurate unless you
161
+ * are the responder.
162
+ */
163
+ create(config) {
164
+ const interactionState = {
165
+ handle: null,
166
+ shouldCancelClick: !1,
167
+ timeout: null
168
+ }, gestureState = {
169
+ // Useful for debugging
170
+ stateID: Math.random(),
171
+ moveX: 0,
172
+ moveY: 0,
173
+ x0: 0,
174
+ y0: 0,
175
+ dx: 0,
176
+ dy: 0,
177
+ vx: 0,
178
+ vy: 0,
179
+ numberActiveTouches: 0,
180
+ _accountsForMovesUpTo: 0
181
+ };
182
+ return {
183
+ panHandlers: {
184
+ onStartShouldSetResponder(event) {
185
+ return config.onStartShouldSetPanResponder == null ? !1 : config.onStartShouldSetPanResponder(event, gestureState);
186
+ },
187
+ onMoveShouldSetResponder(event) {
188
+ return config.onMoveShouldSetPanResponder == null ? !1 : config.onMoveShouldSetPanResponder(event, gestureState);
189
+ },
190
+ onStartShouldSetResponderCapture(event) {
191
+ return event.nativeEvent.touches.length === 1 && PanResponder._initializeGestureState(gestureState), gestureState.numberActiveTouches = event.touchHistory.numberActiveTouches, config.onStartShouldSetPanResponderCapture != null ? config.onStartShouldSetPanResponderCapture(event, gestureState) : !1;
192
+ },
193
+ onMoveShouldSetResponderCapture(event) {
194
+ const touchHistory = event.touchHistory;
195
+ return gestureState._accountsForMovesUpTo === touchHistory.mostRecentTimeStamp ? !1 : (PanResponder._updateGestureStateOnMove(gestureState, touchHistory), config.onMoveShouldSetPanResponderCapture ? config.onMoveShouldSetPanResponderCapture(event, gestureState) : !1);
196
+ },
197
+ onResponderGrant(event) {
198
+ return interactionState.handle || (interactionState.handle = import_react_native_web_internals.InteractionManager.createInteractionHandle()), interactionState.timeout && clearInteractionTimeout(interactionState), interactionState.shouldCancelClick = !0, gestureState.x0 = currentCentroidX(event.touchHistory), gestureState.y0 = currentCentroidY(event.touchHistory), gestureState.dx = 0, gestureState.dy = 0, config.onPanResponderGrant && config.onPanResponderGrant(event, gestureState), config.onShouldBlockNativeResponder == null ? !0 : config.onShouldBlockNativeResponder(event, gestureState);
199
+ },
200
+ onResponderReject(event) {
201
+ clearInteractionHandle(
202
+ interactionState,
203
+ // @ts-ignore
204
+ config.onPanResponderReject,
205
+ event,
206
+ gestureState
207
+ );
208
+ },
209
+ onResponderRelease(event) {
210
+ clearInteractionHandle(
211
+ interactionState,
212
+ config.onPanResponderRelease,
213
+ event,
214
+ gestureState
215
+ ), setInteractionTimeout(interactionState), PanResponder._initializeGestureState(gestureState);
216
+ },
217
+ onResponderStart(event) {
218
+ const touchHistory = event.touchHistory;
219
+ gestureState.numberActiveTouches = touchHistory.numberActiveTouches, config.onPanResponderStart && config.onPanResponderStart(event, gestureState);
220
+ },
221
+ onResponderMove(event) {
222
+ const touchHistory = event.touchHistory;
223
+ gestureState._accountsForMovesUpTo !== touchHistory.mostRecentTimeStamp && (PanResponder._updateGestureStateOnMove(gestureState, touchHistory), config.onPanResponderMove && config.onPanResponderMove(event, gestureState));
224
+ },
225
+ onResponderEnd(event) {
226
+ const touchHistory = event.touchHistory;
227
+ gestureState.numberActiveTouches = touchHistory.numberActiveTouches, clearInteractionHandle(
228
+ interactionState,
229
+ config.onPanResponderEnd,
230
+ event,
231
+ gestureState
232
+ );
233
+ },
234
+ onResponderTerminate(event) {
235
+ clearInteractionHandle(
236
+ interactionState,
237
+ // @ts-ignore
238
+ config.onPanResponderTerminate,
239
+ event,
240
+ gestureState
241
+ ), setInteractionTimeout(interactionState), PanResponder._initializeGestureState(gestureState);
242
+ },
243
+ onResponderTerminationRequest(event) {
244
+ return config.onPanResponderTerminationRequest == null ? !0 : config.onPanResponderTerminationRequest(event, gestureState);
245
+ },
246
+ // We do not want to trigger 'click' activated gestures or native behaviors
247
+ // on any pan target that is under a mouse cursor when it is released.
248
+ // Browsers will natively cancel 'click' events on a target if a non-mouse
249
+ // active pointer moves.
250
+ onClickCapture: (event) => {
251
+ interactionState.shouldCancelClick === !0 && (event.stopPropagation(), event.preventDefault());
252
+ }
253
+ },
254
+ getInteractionHandle() {
255
+ return interactionState.handle;
256
+ }
257
+ };
258
+ }
259
+ };
260
+ function clearInteractionHandle(interactionState, callback, event, gestureState) {
261
+ interactionState.handle && (import_react_native_web_internals.InteractionManager.clearInteractionHandle(interactionState.handle), interactionState.handle = null), callback && callback(event, gestureState);
262
+ }
263
+ function clearInteractionTimeout(interactionState) {
264
+ clearTimeout(interactionState.timeout);
265
+ }
266
+ function setInteractionTimeout(interactionState) {
267
+ interactionState.timeout = setTimeout(() => {
268
+ interactionState.shouldCancelClick = !1;
269
+ }, 250);
270
+ }
271
+ var PanResponder_default = PanResponder;
272
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,118 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: !0 });
8
+ }, __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from == "object" || typeof from == "function")
10
+ for (let key of __getOwnPropNames(from))
11
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
+ var TouchHistoryMath_exports = {};
16
+ __export(TouchHistoryMath_exports, {
17
+ default: () => TouchHistoryMath_default
18
+ });
19
+ module.exports = __toCommonJS(TouchHistoryMath_exports);
20
+ const TouchHistoryMath = {
21
+ /**
22
+ * This code is optimized and not intended to look beautiful. This allows
23
+ * computing of touch centroids that have moved after `touchesChangedAfter`
24
+ * timeStamp. You can compute the current centroid involving all touches
25
+ * moves after `touchesChangedAfter`, or you can compute the previous
26
+ * centroid of all touches that were moved after `touchesChangedAfter`.
27
+ *
28
+ * @param {TouchHistoryMath} touchHistory Standard Responder touch track
29
+ * data.
30
+ * @param {number} touchesChangedAfter timeStamp after which moved touches
31
+ * are considered "actively moving" - not just "active".
32
+ * @param {boolean} isXAxis Consider `x` dimension vs. `y` dimension.
33
+ * @param {boolean} ofCurrent Compute current centroid for actively moving
34
+ * touches vs. previous centroid of now actively moving touches.
35
+ * @return {number} value of centroid in specified dimension.
36
+ */
37
+ centroidDimension: function(touchHistory, touchesChangedAfter, isXAxis, ofCurrent) {
38
+ const touchBank = touchHistory.touchBank;
39
+ let total = 0, count = 0;
40
+ const oneTouchData = touchHistory.numberActiveTouches === 1 ? touchHistory.touchBank[touchHistory.indexOfSingleActiveTouch] : null;
41
+ if (oneTouchData !== null)
42
+ oneTouchData.touchActive && oneTouchData.currentTimeStamp > touchesChangedAfter && (total += ofCurrent && isXAxis ? oneTouchData.currentPageX : ofCurrent && !isXAxis ? oneTouchData.currentPageY : !ofCurrent && isXAxis ? oneTouchData.previousPageX : oneTouchData.previousPageY, count = 1);
43
+ else
44
+ for (let i = 0; i < touchBank.length; i++) {
45
+ const touchTrack = touchBank[i];
46
+ if (touchTrack != null && touchTrack.touchActive && touchTrack.currentTimeStamp >= touchesChangedAfter) {
47
+ let toAdd;
48
+ ofCurrent && isXAxis ? toAdd = touchTrack.currentPageX : ofCurrent && !isXAxis ? toAdd = touchTrack.currentPageY : !ofCurrent && isXAxis ? toAdd = touchTrack.previousPageX : toAdd = touchTrack.previousPageY, total += toAdd, count++;
49
+ }
50
+ }
51
+ return count > 0 ? total / count : TouchHistoryMath.noCentroid;
52
+ },
53
+ currentCentroidXOfTouchesChangedAfter: function(touchHistory, touchesChangedAfter) {
54
+ return TouchHistoryMath.centroidDimension(
55
+ touchHistory,
56
+ touchesChangedAfter,
57
+ !0,
58
+ // isXAxis
59
+ !0
60
+ // ofCurrent
61
+ );
62
+ },
63
+ currentCentroidYOfTouchesChangedAfter: function(touchHistory, touchesChangedAfter) {
64
+ return TouchHistoryMath.centroidDimension(
65
+ touchHistory,
66
+ touchesChangedAfter,
67
+ !1,
68
+ // isXAxis
69
+ !0
70
+ // ofCurrent
71
+ );
72
+ },
73
+ previousCentroidXOfTouchesChangedAfter: function(touchHistory, touchesChangedAfter) {
74
+ return TouchHistoryMath.centroidDimension(
75
+ touchHistory,
76
+ touchesChangedAfter,
77
+ !0,
78
+ // isXAxis
79
+ !1
80
+ // ofCurrent
81
+ );
82
+ },
83
+ previousCentroidYOfTouchesChangedAfter: function(touchHistory, touchesChangedAfter) {
84
+ return TouchHistoryMath.centroidDimension(
85
+ touchHistory,
86
+ touchesChangedAfter,
87
+ !1,
88
+ // isXAxis
89
+ !1
90
+ // ofCurrent
91
+ );
92
+ },
93
+ currentCentroidX: function(touchHistory) {
94
+ return TouchHistoryMath.centroidDimension(
95
+ touchHistory,
96
+ 0,
97
+ // touchesChangedAfter
98
+ !0,
99
+ // isXAxis
100
+ !0
101
+ // ofCurrent
102
+ );
103
+ },
104
+ currentCentroidY: function(touchHistory) {
105
+ return TouchHistoryMath.centroidDimension(
106
+ touchHistory,
107
+ 0,
108
+ // touchesChangedAfter
109
+ !1,
110
+ // isXAxis
111
+ !0
112
+ // ofCurrent
113
+ );
114
+ },
115
+ noCentroid: -1
116
+ };
117
+ var TouchHistoryMath_default = TouchHistoryMath;
118
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=RCTExport.js.map
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: !0 });
9
+ }, __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from == "object" || typeof from == "function")
11
+ for (let key of __getOwnPropNames(from))
12
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
+ return to;
14
+ };
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
+ var TurboModuleRegistry_exports = {};
17
+ __export(TurboModuleRegistry_exports, {
18
+ get: () => get,
19
+ getEnforcing: () => getEnforcing
20
+ });
21
+ module.exports = __toCommonJS(TurboModuleRegistry_exports);
22
+ function get(name) {
23
+ return null;
24
+ }
25
+ function getEnforcing(name) {
26
+ return null;
27
+ }
28
+ //# sourceMappingURL=TurboModuleRegistry.js.map
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from == "object" || typeof from == "function")
8
+ for (let key of __getOwnPropNames(from))
9
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ return to;
11
+ };
12
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
13
+ var CoreEventTypes_exports = {};
14
+ module.exports = __toCommonJS(CoreEventTypes_exports);
15
+ //# sourceMappingURL=CoreEventTypes.js.map
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: !0 });
9
+ }, __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from == "object" || typeof from == "function")
11
+ for (let key of __getOwnPropNames(from))
12
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
+ return to;
14
+ };
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
+ var setAndForwardRef_exports = {};
17
+ __export(setAndForwardRef_exports, {
18
+ default: () => setAndForwardRef_default
19
+ });
20
+ module.exports = __toCommonJS(setAndForwardRef_exports);
21
+ function setAndForwardRef(_ref) {
22
+ var getForwardedRef = _ref.getForwardedRef, setLocalRef = _ref.setLocalRef;
23
+ return function(ref) {
24
+ var forwardedRef = getForwardedRef();
25
+ setLocalRef(ref), typeof forwardedRef == "function" ? forwardedRef(ref) : typeof forwardedRef == "object" && forwardedRef != null && (forwardedRef.current = ref);
26
+ };
27
+ }
28
+ var setAndForwardRef_default = setAndForwardRef;
29
+ //# sourceMappingURL=setAndForwardRef.js.map
@@ -0,0 +1,30 @@
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 EventEmitter_exports = {};
25
+ __export(EventEmitter_exports, {
26
+ default: () => EventEmitter_default
27
+ });
28
+ module.exports = __toCommonJS(EventEmitter_exports);
29
+ var import_EventEmitter = __toESM(require("./_EventEmitter")), EventEmitter_default = import_EventEmitter.default;
30
+ //# sourceMappingURL=EventEmitter.js.map
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=EventSubscription.js.map
@@ -0,0 +1,55 @@
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 EmitterSubscription_exports = {};
25
+ __export(EmitterSubscription_exports, {
26
+ default: () => EmitterSubscription_default
27
+ });
28
+ module.exports = __toCommonJS(EmitterSubscription_exports);
29
+ var import_EventSubscription = __toESM(require("./_EventSubscription"));
30
+ class EmitterSubscription extends import_EventSubscription.default {
31
+ /**
32
+ * @param {EventEmitter} emitter - The event emitter that registered this
33
+ * subscription
34
+ * @param {EventSubscriptionVendor} subscriber - The subscriber that controls
35
+ * this subscription
36
+ * @param {function} listener - Function to invoke when the specified event is
37
+ * emitted
38
+ * @param {*} context - Optional context object to use when invoking the
39
+ * listener
40
+ */
41
+ constructor(emitter, subscriber, listener, context) {
42
+ super(subscriber), this.emitter = emitter, this.listener = listener, this.context = context;
43
+ }
44
+ /**
45
+ * Removes this subscription from the emitter that registered it.
46
+ * Note: we're overriding the `remove()` method of _EventSubscription here
47
+ * but deliberately not calling `super.remove()` as the responsibility
48
+ * for removing the subscription lies with the EventEmitter.
49
+ */
50
+ remove() {
51
+ this.emitter.removeSubscription(this);
52
+ }
53
+ }
54
+ var EmitterSubscription_default = EmitterSubscription;
55
+ //# sourceMappingURL=_EmitterSubscription.js.map