@react-navigation/core 7.8.3 → 7.8.5

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 (522) hide show
  1. package/lib/typescript/src/BaseNavigationContainer.d.ts.map +1 -0
  2. package/lib/typescript/src/CurrentRenderContext.d.ts.map +1 -0
  3. package/lib/typescript/src/DeprecatedNavigationInChildContext.d.ts.map +1 -0
  4. package/lib/typescript/src/EnsureSingleNavigator.d.ts.map +1 -0
  5. package/lib/typescript/src/Group.d.ts.map +1 -0
  6. package/lib/typescript/src/NavigationBuilderContext.d.ts.map +1 -0
  7. package/lib/typescript/src/NavigationContainerRefContext.d.ts.map +1 -0
  8. package/lib/typescript/src/NavigationContext.d.ts.map +1 -0
  9. package/lib/typescript/src/NavigationFocusedRouteStateContext.d.ts.map +1 -0
  10. package/lib/typescript/src/NavigationHelpersContext.d.ts.map +1 -0
  11. package/lib/typescript/src/NavigationIndependentTree.d.ts.map +1 -0
  12. package/lib/typescript/src/NavigationIndependentTreeContext.d.ts.map +1 -0
  13. package/lib/typescript/src/NavigationRouteContext.d.ts.map +1 -0
  14. package/lib/typescript/src/NavigationStateContext.d.ts.map +1 -0
  15. package/lib/typescript/src/PreventRemoveContext.d.ts.map +1 -0
  16. package/lib/typescript/src/PreventRemoveProvider.d.ts.map +1 -0
  17. package/lib/typescript/src/SceneView.d.ts.map +1 -0
  18. package/lib/typescript/src/Screen.d.ts.map +1 -0
  19. package/lib/typescript/src/StaticContainer.d.ts.map +1 -0
  20. package/lib/typescript/src/StaticNavigation.d.ts.map +1 -0
  21. package/lib/typescript/src/UnhandledActionContext.d.ts.map +1 -0
  22. package/lib/typescript/src/arrayStartsWith.d.ts.map +1 -0
  23. package/lib/typescript/src/checkDuplicateRouteNames.d.ts.map +1 -0
  24. package/lib/typescript/src/checkSerializable.d.ts.map +1 -0
  25. package/lib/typescript/src/createNavigationContainerRef.d.ts.map +1 -0
  26. package/lib/typescript/src/createNavigatorFactory.d.ts.map +1 -0
  27. package/lib/typescript/src/deepFreeze.d.ts.map +1 -0
  28. package/lib/typescript/src/findFocusedRoute.d.ts.map +1 -0
  29. package/lib/typescript/src/getActionFromState.d.ts.map +1 -0
  30. package/lib/typescript/src/getFocusedRouteNameFromRoute.d.ts.map +1 -0
  31. package/lib/typescript/src/getPathFromState.d.ts.map +1 -0
  32. package/lib/typescript/src/getPatternParts.d.ts.map +1 -0
  33. package/lib/typescript/src/getStateFromPath.d.ts.map +1 -0
  34. package/lib/typescript/src/index.d.ts.map +1 -0
  35. package/lib/typescript/src/isArrayEqual.d.ts.map +1 -0
  36. package/lib/typescript/src/isRecordEqual.d.ts.map +1 -0
  37. package/lib/typescript/src/theming/ThemeContext.d.ts.map +1 -0
  38. package/lib/typescript/src/theming/ThemeProvider.d.ts.map +1 -0
  39. package/lib/typescript/src/theming/useTheme.d.ts.map +1 -0
  40. package/lib/typescript/src/types.d.ts.map +1 -0
  41. package/lib/typescript/src/useChildListeners.d.ts.map +1 -0
  42. package/lib/typescript/src/useComponent.d.ts.map +1 -0
  43. package/lib/typescript/src/useCurrentRender.d.ts.map +1 -0
  44. package/lib/typescript/src/useDescriptors.d.ts.map +1 -0
  45. package/lib/typescript/src/useEventEmitter.d.ts.map +1 -0
  46. package/lib/typescript/src/useFocusEffect.d.ts.map +1 -0
  47. package/lib/typescript/src/useFocusEvents.d.ts.map +1 -0
  48. package/lib/typescript/src/useFocusedListenersChildrenAdapter.d.ts.map +1 -0
  49. package/lib/typescript/src/useIsFocused.d.ts.map +1 -0
  50. package/lib/typescript/src/useIsomorphicLayoutEffect.d.ts.map +1 -0
  51. package/lib/typescript/src/useIsomorphicLayoutEffect.native.d.ts.map +1 -0
  52. package/lib/typescript/src/useKeyedChildListeners.d.ts.map +1 -0
  53. package/lib/typescript/src/useLazyValue.d.ts.map +1 -0
  54. package/lib/typescript/src/useNavigation.d.ts.map +1 -0
  55. package/lib/typescript/src/useNavigationBuilder.d.ts.map +1 -0
  56. package/lib/typescript/src/useNavigationCache.d.ts.map +1 -0
  57. package/lib/typescript/src/useNavigationContainerRef.d.ts.map +1 -0
  58. package/lib/typescript/src/useNavigationHelpers.d.ts.map +1 -0
  59. package/lib/typescript/src/useNavigationIndependentTree.d.ts.map +1 -0
  60. package/lib/typescript/src/useNavigationState.d.ts.map +1 -0
  61. package/lib/typescript/src/useOnAction.d.ts.map +1 -0
  62. package/lib/typescript/src/useOnGetState.d.ts.map +1 -0
  63. package/lib/typescript/src/useOnPreventRemove.d.ts.map +1 -0
  64. package/lib/typescript/src/useOnRouteFocus.d.ts.map +1 -0
  65. package/lib/typescript/src/useOptionsGetters.d.ts.map +1 -0
  66. package/lib/typescript/src/usePreventRemove.d.ts.map +1 -0
  67. package/lib/typescript/src/usePreventRemoveContext.d.ts.map +1 -0
  68. package/lib/typescript/src/useRegisterNavigator.d.ts.map +1 -0
  69. package/lib/typescript/src/useRoute.d.ts.map +1 -0
  70. package/lib/typescript/src/useRouteCache.d.ts.map +1 -0
  71. package/lib/typescript/src/useScheduleUpdate.d.ts.map +1 -0
  72. package/lib/typescript/src/useStateForPath.d.ts.map +1 -0
  73. package/lib/typescript/src/useSyncState.d.ts.map +1 -0
  74. package/lib/typescript/src/validatePathConfig.d.ts.map +1 -0
  75. package/package.json +11 -24
  76. package/lib/commonjs/BaseNavigationContainer.js +0 -368
  77. package/lib/commonjs/BaseNavigationContainer.js.map +0 -1
  78. package/lib/commonjs/CurrentRenderContext.js +0 -15
  79. package/lib/commonjs/CurrentRenderContext.js.map +0 -1
  80. package/lib/commonjs/DeprecatedNavigationInChildContext.js +0 -14
  81. package/lib/commonjs/DeprecatedNavigationInChildContext.js.map +0 -1
  82. package/lib/commonjs/EnsureSingleNavigator.js +0 -43
  83. package/lib/commonjs/EnsureSingleNavigator.js.map +0 -1
  84. package/lib/commonjs/Group.js +0 -14
  85. package/lib/commonjs/Group.js.map +0 -1
  86. package/lib/commonjs/NavigationBuilderContext.js +0 -23
  87. package/lib/commonjs/NavigationBuilderContext.js.map +0 -1
  88. package/lib/commonjs/NavigationContainerRefContext.js +0 -14
  89. package/lib/commonjs/NavigationContainerRefContext.js.map +0 -1
  90. package/lib/commonjs/NavigationContext.js +0 -14
  91. package/lib/commonjs/NavigationContext.js.map +0 -1
  92. package/lib/commonjs/NavigationFocusedRouteStateContext.js +0 -14
  93. package/lib/commonjs/NavigationFocusedRouteStateContext.js.map +0 -1
  94. package/lib/commonjs/NavigationHelpersContext.js +0 -15
  95. package/lib/commonjs/NavigationHelpersContext.js.map +0 -1
  96. package/lib/commonjs/NavigationIndependentTree.js +0 -35
  97. package/lib/commonjs/NavigationIndependentTree.js.map +0 -1
  98. package/lib/commonjs/NavigationIndependentTreeContext.js +0 -14
  99. package/lib/commonjs/NavigationIndependentTreeContext.js.map +0 -1
  100. package/lib/commonjs/NavigationRouteContext.js +0 -14
  101. package/lib/commonjs/NavigationRouteContext.js.map +0 -1
  102. package/lib/commonjs/NavigationStateContext.js +0 -29
  103. package/lib/commonjs/NavigationStateContext.js.map +0 -1
  104. package/lib/commonjs/PreventRemoveContext.js +0 -16
  105. package/lib/commonjs/PreventRemoveContext.js.map +0 -1
  106. package/lib/commonjs/PreventRemoveProvider.js +0 -91
  107. package/lib/commonjs/PreventRemoveProvider.js.map +0 -1
  108. package/lib/commonjs/SceneView.js +0 -151
  109. package/lib/commonjs/SceneView.js.map +0 -1
  110. package/lib/commonjs/Screen.js +0 -14
  111. package/lib/commonjs/Screen.js.map +0 -1
  112. package/lib/commonjs/StaticContainer.js +0 -31
  113. package/lib/commonjs/StaticContainer.js.map +0 -1
  114. package/lib/commonjs/StaticNavigation.js +0 -258
  115. package/lib/commonjs/StaticNavigation.js.map +0 -1
  116. package/lib/commonjs/UnhandledActionContext.js +0 -11
  117. package/lib/commonjs/UnhandledActionContext.js.map +0 -1
  118. package/lib/commonjs/arrayStartsWith.js +0 -16
  119. package/lib/commonjs/arrayStartsWith.js.map +0 -1
  120. package/lib/commonjs/checkDuplicateRouteNames.js +0 -25
  121. package/lib/commonjs/checkDuplicateRouteNames.js.map +0 -1
  122. package/lib/commonjs/checkSerializable.js +0 -50
  123. package/lib/commonjs/checkSerializable.js.map +0 -1
  124. package/lib/commonjs/createNavigationContainerRef.js +0 -69
  125. package/lib/commonjs/createNavigationContainerRef.js.map +0 -1
  126. package/lib/commonjs/createNavigatorFactory.js +0 -34
  127. package/lib/commonjs/createNavigatorFactory.js.map +0 -1
  128. package/lib/commonjs/deepFreeze.js +0 -40
  129. package/lib/commonjs/deepFreeze.js.map +0 -1
  130. package/lib/commonjs/findFocusedRoute.js +0 -15
  131. package/lib/commonjs/findFocusedRoute.js.map +0 -1
  132. package/lib/commonjs/getActionFromState.js +0 -111
  133. package/lib/commonjs/getActionFromState.js.map +0 -1
  134. package/lib/commonjs/getFocusedRouteNameFromRoute.js +0 -22
  135. package/lib/commonjs/getFocusedRouteNameFromRoute.js.map +0 -1
  136. package/lib/commonjs/getPathFromState.js +0 -241
  137. package/lib/commonjs/getPathFromState.js.map +0 -1
  138. package/lib/commonjs/getPatternParts.js +0 -105
  139. package/lib/commonjs/getPatternParts.js.map +0 -1
  140. package/lib/commonjs/getStateFromPath.js +0 -521
  141. package/lib/commonjs/getStateFromPath.js.map +0 -1
  142. package/lib/commonjs/index.js +0 -295
  143. package/lib/commonjs/index.js.map +0 -1
  144. package/lib/commonjs/isArrayEqual.js +0 -20
  145. package/lib/commonjs/isArrayEqual.js.map +0 -1
  146. package/lib/commonjs/isRecordEqual.js +0 -21
  147. package/lib/commonjs/isRecordEqual.js.map +0 -1
  148. package/lib/commonjs/package.json +0 -1
  149. package/lib/commonjs/theming/ThemeContext.js +0 -12
  150. package/lib/commonjs/theming/ThemeContext.js.map +0 -1
  151. package/lib/commonjs/theming/ThemeProvider.js +0 -21
  152. package/lib/commonjs/theming/ThemeProvider.js.map +0 -1
  153. package/lib/commonjs/theming/useTheme.js +0 -18
  154. package/lib/commonjs/theming/useTheme.js.map +0 -1
  155. package/lib/commonjs/types.js +0 -9
  156. package/lib/commonjs/types.js.map +0 -1
  157. package/lib/commonjs/useChildListeners.js +0 -36
  158. package/lib/commonjs/useChildListeners.js.map +0 -1
  159. package/lib/commonjs/useComponent.js +0 -40
  160. package/lib/commonjs/useComponent.js.map +0 -1
  161. package/lib/commonjs/useCurrentRender.js +0 -25
  162. package/lib/commonjs/useCurrentRender.js.map +0 -1
  163. package/lib/commonjs/useDescriptors.js +0 -192
  164. package/lib/commonjs/useDescriptors.js.map +0 -1
  165. package/lib/commonjs/useEventEmitter.js +0 -105
  166. package/lib/commonjs/useEventEmitter.js.map +0 -1
  167. package/lib/commonjs/useFocusEffect.js +0 -80
  168. package/lib/commonjs/useFocusEffect.js.map +0 -1
  169. package/lib/commonjs/useFocusEvents.js +0 -70
  170. package/lib/commonjs/useFocusEvents.js.map +0 -1
  171. package/lib/commonjs/useFocusedListenersChildrenAdapter.js +0 -48
  172. package/lib/commonjs/useFocusedListenersChildrenAdapter.js.map +0 -1
  173. package/lib/commonjs/useIsFocused.js +0 -28
  174. package/lib/commonjs/useIsFocused.js.map +0 -1
  175. package/lib/commonjs/useIsomorphicLayoutEffect.js +0 -12
  176. package/lib/commonjs/useIsomorphicLayoutEffect.js.map +0 -1
  177. package/lib/commonjs/useIsomorphicLayoutEffect.native.js +0 -9
  178. package/lib/commonjs/useIsomorphicLayoutEffect.native.js.map +0 -1
  179. package/lib/commonjs/useKeyedChildListeners.js +0 -33
  180. package/lib/commonjs/useKeyedChildListeners.js.map +0 -1
  181. package/lib/commonjs/useLazyValue.js +0 -17
  182. package/lib/commonjs/useLazyValue.js.map +0 -1
  183. package/lib/commonjs/useNavigation.js +0 -27
  184. package/lib/commonjs/useNavigation.js.map +0 -1
  185. package/lib/commonjs/useNavigationBuilder.js +0 -495
  186. package/lib/commonjs/useNavigationBuilder.js.map +0 -1
  187. package/lib/commonjs/useNavigationCache.js +0 -162
  188. package/lib/commonjs/useNavigationCache.js.map +0 -1
  189. package/lib/commonjs/useNavigationContainerRef.js +0 -18
  190. package/lib/commonjs/useNavigationContainerRef.js.map +0 -1
  191. package/lib/commonjs/useNavigationHelpers.js +0 -88
  192. package/lib/commonjs/useNavigationHelpers.js.map +0 -1
  193. package/lib/commonjs/useNavigationIndependentTree.js +0 -14
  194. package/lib/commonjs/useNavigationIndependentTree.js.map +0 -1
  195. package/lib/commonjs/useNavigationState.js +0 -26
  196. package/lib/commonjs/useNavigationState.js.map +0 -1
  197. package/lib/commonjs/useOnAction.js +0 -106
  198. package/lib/commonjs/useOnAction.js.map +0 -1
  199. package/lib/commonjs/useOnGetState.js +0 -48
  200. package/lib/commonjs/useOnGetState.js.map +0 -1
  201. package/lib/commonjs/useOnPreventRemove.js +0 -72
  202. package/lib/commonjs/useOnPreventRemove.js.map +0 -1
  203. package/lib/commonjs/useOnRouteFocus.js +0 -36
  204. package/lib/commonjs/useOnRouteFocus.js.map +0 -1
  205. package/lib/commonjs/useOptionsGetters.js +0 -78
  206. package/lib/commonjs/useOptionsGetters.js.map +0 -1
  207. package/lib/commonjs/usePreventRemove.js +0 -48
  208. package/lib/commonjs/usePreventRemove.js.map +0 -1
  209. package/lib/commonjs/usePreventRemoveContext.js +0 -18
  210. package/lib/commonjs/usePreventRemoveContext.js.map +0 -1
  211. package/lib/commonjs/useRegisterNavigator.js +0 -32
  212. package/lib/commonjs/useRegisterNavigator.js.map +0 -1
  213. package/lib/commonjs/useRoute.js +0 -23
  214. package/lib/commonjs/useRoute.js.map +0 -1
  215. package/lib/commonjs/useRouteCache.js +0 -69
  216. package/lib/commonjs/useRouteCache.js.map +0 -1
  217. package/lib/commonjs/useScheduleUpdate.js +0 -30
  218. package/lib/commonjs/useScheduleUpdate.js.map +0 -1
  219. package/lib/commonjs/useStateForPath.js +0 -21
  220. package/lib/commonjs/useStateForPath.js.map +0 -1
  221. package/lib/commonjs/useSyncState.js +0 -87
  222. package/lib/commonjs/useSyncState.js.map +0 -1
  223. package/lib/commonjs/validatePathConfig.js +0 -56
  224. package/lib/commonjs/validatePathConfig.js.map +0 -1
  225. package/lib/typescript/commonjs/package.json +0 -1
  226. package/lib/typescript/commonjs/src/BaseNavigationContainer.d.ts.map +0 -1
  227. package/lib/typescript/commonjs/src/CurrentRenderContext.d.ts.map +0 -1
  228. package/lib/typescript/commonjs/src/DeprecatedNavigationInChildContext.d.ts.map +0 -1
  229. package/lib/typescript/commonjs/src/EnsureSingleNavigator.d.ts.map +0 -1
  230. package/lib/typescript/commonjs/src/Group.d.ts.map +0 -1
  231. package/lib/typescript/commonjs/src/NavigationBuilderContext.d.ts.map +0 -1
  232. package/lib/typescript/commonjs/src/NavigationContainerRefContext.d.ts.map +0 -1
  233. package/lib/typescript/commonjs/src/NavigationContext.d.ts.map +0 -1
  234. package/lib/typescript/commonjs/src/NavigationFocusedRouteStateContext.d.ts.map +0 -1
  235. package/lib/typescript/commonjs/src/NavigationHelpersContext.d.ts.map +0 -1
  236. package/lib/typescript/commonjs/src/NavigationIndependentTree.d.ts.map +0 -1
  237. package/lib/typescript/commonjs/src/NavigationIndependentTreeContext.d.ts.map +0 -1
  238. package/lib/typescript/commonjs/src/NavigationRouteContext.d.ts.map +0 -1
  239. package/lib/typescript/commonjs/src/NavigationStateContext.d.ts.map +0 -1
  240. package/lib/typescript/commonjs/src/PreventRemoveContext.d.ts.map +0 -1
  241. package/lib/typescript/commonjs/src/PreventRemoveProvider.d.ts.map +0 -1
  242. package/lib/typescript/commonjs/src/SceneView.d.ts.map +0 -1
  243. package/lib/typescript/commonjs/src/Screen.d.ts.map +0 -1
  244. package/lib/typescript/commonjs/src/StaticContainer.d.ts.map +0 -1
  245. package/lib/typescript/commonjs/src/StaticNavigation.d.ts.map +0 -1
  246. package/lib/typescript/commonjs/src/UnhandledActionContext.d.ts.map +0 -1
  247. package/lib/typescript/commonjs/src/arrayStartsWith.d.ts.map +0 -1
  248. package/lib/typescript/commonjs/src/checkDuplicateRouteNames.d.ts.map +0 -1
  249. package/lib/typescript/commonjs/src/checkSerializable.d.ts.map +0 -1
  250. package/lib/typescript/commonjs/src/createNavigationContainerRef.d.ts.map +0 -1
  251. package/lib/typescript/commonjs/src/createNavigatorFactory.d.ts.map +0 -1
  252. package/lib/typescript/commonjs/src/deepFreeze.d.ts.map +0 -1
  253. package/lib/typescript/commonjs/src/findFocusedRoute.d.ts.map +0 -1
  254. package/lib/typescript/commonjs/src/getActionFromState.d.ts.map +0 -1
  255. package/lib/typescript/commonjs/src/getFocusedRouteNameFromRoute.d.ts.map +0 -1
  256. package/lib/typescript/commonjs/src/getPathFromState.d.ts.map +0 -1
  257. package/lib/typescript/commonjs/src/getPatternParts.d.ts.map +0 -1
  258. package/lib/typescript/commonjs/src/getStateFromPath.d.ts.map +0 -1
  259. package/lib/typescript/commonjs/src/index.d.ts.map +0 -1
  260. package/lib/typescript/commonjs/src/isArrayEqual.d.ts.map +0 -1
  261. package/lib/typescript/commonjs/src/isRecordEqual.d.ts.map +0 -1
  262. package/lib/typescript/commonjs/src/theming/ThemeContext.d.ts.map +0 -1
  263. package/lib/typescript/commonjs/src/theming/ThemeProvider.d.ts.map +0 -1
  264. package/lib/typescript/commonjs/src/theming/useTheme.d.ts.map +0 -1
  265. package/lib/typescript/commonjs/src/types.d.ts.map +0 -1
  266. package/lib/typescript/commonjs/src/useChildListeners.d.ts.map +0 -1
  267. package/lib/typescript/commonjs/src/useComponent.d.ts.map +0 -1
  268. package/lib/typescript/commonjs/src/useCurrentRender.d.ts.map +0 -1
  269. package/lib/typescript/commonjs/src/useDescriptors.d.ts.map +0 -1
  270. package/lib/typescript/commonjs/src/useEventEmitter.d.ts.map +0 -1
  271. package/lib/typescript/commonjs/src/useFocusEffect.d.ts.map +0 -1
  272. package/lib/typescript/commonjs/src/useFocusEvents.d.ts.map +0 -1
  273. package/lib/typescript/commonjs/src/useFocusedListenersChildrenAdapter.d.ts.map +0 -1
  274. package/lib/typescript/commonjs/src/useIsFocused.d.ts.map +0 -1
  275. package/lib/typescript/commonjs/src/useIsomorphicLayoutEffect.d.ts.map +0 -1
  276. package/lib/typescript/commonjs/src/useIsomorphicLayoutEffect.native.d.ts.map +0 -1
  277. package/lib/typescript/commonjs/src/useKeyedChildListeners.d.ts.map +0 -1
  278. package/lib/typescript/commonjs/src/useLazyValue.d.ts.map +0 -1
  279. package/lib/typescript/commonjs/src/useNavigation.d.ts.map +0 -1
  280. package/lib/typescript/commonjs/src/useNavigationBuilder.d.ts.map +0 -1
  281. package/lib/typescript/commonjs/src/useNavigationCache.d.ts.map +0 -1
  282. package/lib/typescript/commonjs/src/useNavigationContainerRef.d.ts.map +0 -1
  283. package/lib/typescript/commonjs/src/useNavigationHelpers.d.ts.map +0 -1
  284. package/lib/typescript/commonjs/src/useNavigationIndependentTree.d.ts.map +0 -1
  285. package/lib/typescript/commonjs/src/useNavigationState.d.ts.map +0 -1
  286. package/lib/typescript/commonjs/src/useOnAction.d.ts.map +0 -1
  287. package/lib/typescript/commonjs/src/useOnGetState.d.ts.map +0 -1
  288. package/lib/typescript/commonjs/src/useOnPreventRemove.d.ts.map +0 -1
  289. package/lib/typescript/commonjs/src/useOnRouteFocus.d.ts.map +0 -1
  290. package/lib/typescript/commonjs/src/useOptionsGetters.d.ts.map +0 -1
  291. package/lib/typescript/commonjs/src/usePreventRemove.d.ts.map +0 -1
  292. package/lib/typescript/commonjs/src/usePreventRemoveContext.d.ts.map +0 -1
  293. package/lib/typescript/commonjs/src/useRegisterNavigator.d.ts.map +0 -1
  294. package/lib/typescript/commonjs/src/useRoute.d.ts.map +0 -1
  295. package/lib/typescript/commonjs/src/useRouteCache.d.ts.map +0 -1
  296. package/lib/typescript/commonjs/src/useScheduleUpdate.d.ts.map +0 -1
  297. package/lib/typescript/commonjs/src/useStateForPath.d.ts.map +0 -1
  298. package/lib/typescript/commonjs/src/useSyncState.d.ts.map +0 -1
  299. package/lib/typescript/commonjs/src/validatePathConfig.d.ts.map +0 -1
  300. package/lib/typescript/module/src/BaseNavigationContainer.d.ts +0 -17
  301. package/lib/typescript/module/src/BaseNavigationContainer.d.ts.map +0 -1
  302. package/lib/typescript/module/src/CurrentRenderContext.d.ts +0 -9
  303. package/lib/typescript/module/src/CurrentRenderContext.d.ts.map +0 -1
  304. package/lib/typescript/module/src/DeprecatedNavigationInChildContext.d.ts +0 -6
  305. package/lib/typescript/module/src/DeprecatedNavigationInChildContext.d.ts.map +0 -1
  306. package/lib/typescript/module/src/EnsureSingleNavigator.d.ts +0 -14
  307. package/lib/typescript/module/src/EnsureSingleNavigator.d.ts.map +0 -1
  308. package/lib/typescript/module/src/Group.d.ts +0 -7
  309. package/lib/typescript/module/src/Group.d.ts.map +0 -1
  310. package/lib/typescript/module/src/NavigationBuilderContext.d.ts +0 -36
  311. package/lib/typescript/module/src/NavigationBuilderContext.d.ts.map +0 -1
  312. package/lib/typescript/module/src/NavigationContainerRefContext.d.ts +0 -8
  313. package/lib/typescript/module/src/NavigationContainerRefContext.d.ts.map +0 -1
  314. package/lib/typescript/module/src/NavigationContext.d.ts +0 -8
  315. package/lib/typescript/module/src/NavigationContext.d.ts.map +0 -1
  316. package/lib/typescript/module/src/NavigationFocusedRouteStateContext.d.ts +0 -17
  317. package/lib/typescript/module/src/NavigationFocusedRouteStateContext.d.ts.map +0 -1
  318. package/lib/typescript/module/src/NavigationHelpersContext.d.ts +0 -9
  319. package/lib/typescript/module/src/NavigationHelpersContext.d.ts.map +0 -1
  320. package/lib/typescript/module/src/NavigationIndependentTree.d.ts +0 -8
  321. package/lib/typescript/module/src/NavigationIndependentTree.d.ts.map +0 -1
  322. package/lib/typescript/module/src/NavigationIndependentTreeContext.d.ts +0 -6
  323. package/lib/typescript/module/src/NavigationIndependentTreeContext.d.ts.map +0 -1
  324. package/lib/typescript/module/src/NavigationRouteContext.d.ts +0 -7
  325. package/lib/typescript/module/src/NavigationRouteContext.d.ts.map +0 -1
  326. package/lib/typescript/module/src/NavigationStateContext.d.ts +0 -13
  327. package/lib/typescript/module/src/NavigationStateContext.d.ts.map +0 -1
  328. package/lib/typescript/module/src/PreventRemoveContext.d.ts +0 -13
  329. package/lib/typescript/module/src/PreventRemoveContext.d.ts.map +0 -1
  330. package/lib/typescript/module/src/PreventRemoveProvider.d.ts +0 -10
  331. package/lib/typescript/module/src/PreventRemoveProvider.d.ts.map +0 -1
  332. package/lib/typescript/module/src/SceneView.d.ts +0 -21
  333. package/lib/typescript/module/src/SceneView.d.ts.map +0 -1
  334. package/lib/typescript/module/src/Screen.d.ts +0 -7
  335. package/lib/typescript/module/src/Screen.d.ts.map +0 -1
  336. package/lib/typescript/module/src/StaticContainer.d.ts +0 -6
  337. package/lib/typescript/module/src/StaticContainer.d.ts.map +0 -1
  338. package/lib/typescript/module/src/StaticNavigation.d.ts +0 -188
  339. package/lib/typescript/module/src/StaticNavigation.d.ts.map +0 -1
  340. package/lib/typescript/module/src/UnhandledActionContext.d.ts +0 -4
  341. package/lib/typescript/module/src/UnhandledActionContext.d.ts.map +0 -1
  342. package/lib/typescript/module/src/arrayStartsWith.d.ts +0 -5
  343. package/lib/typescript/module/src/arrayStartsWith.d.ts.map +0 -1
  344. package/lib/typescript/module/src/checkDuplicateRouteNames.d.ts +0 -3
  345. package/lib/typescript/module/src/checkDuplicateRouteNames.d.ts.map +0 -1
  346. package/lib/typescript/module/src/checkSerializable.d.ts +0 -10
  347. package/lib/typescript/module/src/checkSerializable.d.ts.map +0 -1
  348. package/lib/typescript/module/src/createNavigationContainerRef.d.ts +0 -4
  349. package/lib/typescript/module/src/createNavigationContainerRef.d.ts.map +0 -1
  350. package/lib/typescript/module/src/createNavigatorFactory.d.ts +0 -10
  351. package/lib/typescript/module/src/createNavigatorFactory.d.ts.map +0 -1
  352. package/lib/typescript/module/src/deepFreeze.d.ts +0 -3
  353. package/lib/typescript/module/src/deepFreeze.d.ts.map +0 -1
  354. package/lib/typescript/module/src/findFocusedRoute.d.ts +0 -10
  355. package/lib/typescript/module/src/findFocusedRoute.d.ts.map +0 -1
  356. package/lib/typescript/module/src/getActionFromState.d.ts +0 -17
  357. package/lib/typescript/module/src/getActionFromState.d.ts.map +0 -1
  358. package/lib/typescript/module/src/getFocusedRouteNameFromRoute.d.ts +0 -3
  359. package/lib/typescript/module/src/getFocusedRouteNameFromRoute.d.ts.map +0 -1
  360. package/lib/typescript/module/src/getPathFromState.d.ts +0 -40
  361. package/lib/typescript/module/src/getPathFromState.d.ts.map +0 -1
  362. package/lib/typescript/module/src/getPatternParts.d.ts +0 -11
  363. package/lib/typescript/module/src/getPatternParts.d.ts.map +0 -1
  364. package/lib/typescript/module/src/getStateFromPath.d.ts +0 -34
  365. package/lib/typescript/module/src/getStateFromPath.d.ts.map +0 -1
  366. package/lib/typescript/module/src/index.d.ts +0 -35
  367. package/lib/typescript/module/src/index.d.ts.map +0 -1
  368. package/lib/typescript/module/src/isArrayEqual.d.ts +0 -6
  369. package/lib/typescript/module/src/isArrayEqual.d.ts.map +0 -1
  370. package/lib/typescript/module/src/isRecordEqual.d.ts +0 -5
  371. package/lib/typescript/module/src/isRecordEqual.d.ts.map +0 -1
  372. package/lib/typescript/module/src/theming/ThemeContext.d.ts +0 -3
  373. package/lib/typescript/module/src/theming/ThemeContext.d.ts.map +0 -1
  374. package/lib/typescript/module/src/theming/ThemeProvider.d.ts +0 -8
  375. package/lib/typescript/module/src/theming/ThemeProvider.d.ts.map +0 -1
  376. package/lib/typescript/module/src/theming/useTheme.d.ts +0 -2
  377. package/lib/typescript/module/src/theming/useTheme.d.ts.map +0 -1
  378. package/lib/typescript/module/src/types.d.ts +0 -732
  379. package/lib/typescript/module/src/types.d.ts.map +0 -1
  380. package/lib/typescript/module/src/useChildListeners.d.ts +0 -12
  381. package/lib/typescript/module/src/useChildListeners.d.ts.map +0 -1
  382. package/lib/typescript/module/src/useComponent.d.ts +0 -7
  383. package/lib/typescript/module/src/useComponent.d.ts.map +0 -1
  384. package/lib/typescript/module/src/useCurrentRender.d.ts +0 -14
  385. package/lib/typescript/module/src/useCurrentRender.d.ts.map +0 -1
  386. package/lib/typescript/module/src/useDescriptors.d.ts +0 -141
  387. package/lib/typescript/module/src/useDescriptors.d.ts.map +0 -1
  388. package/lib/typescript/module/src/useEventEmitter.d.ts +0 -9
  389. package/lib/typescript/module/src/useEventEmitter.d.ts.map +0 -1
  390. package/lib/typescript/module/src/useFocusEffect.d.ts +0 -11
  391. package/lib/typescript/module/src/useFocusEffect.d.ts.map +0 -1
  392. package/lib/typescript/module/src/useFocusEvents.d.ts +0 -13
  393. package/lib/typescript/module/src/useFocusEvents.d.ts.map +0 -1
  394. package/lib/typescript/module/src/useFocusedListenersChildrenAdapter.d.ts +0 -13
  395. package/lib/typescript/module/src/useFocusedListenersChildrenAdapter.d.ts.map +0 -1
  396. package/lib/typescript/module/src/useIsFocused.d.ts +0 -6
  397. package/lib/typescript/module/src/useIsFocused.d.ts.map +0 -1
  398. package/lib/typescript/module/src/useIsomorphicLayoutEffect.d.ts +0 -6
  399. package/lib/typescript/module/src/useIsomorphicLayoutEffect.d.ts.map +0 -1
  400. package/lib/typescript/module/src/useIsomorphicLayoutEffect.native.d.ts +0 -3
  401. package/lib/typescript/module/src/useIsomorphicLayoutEffect.native.d.ts.map +0 -1
  402. package/lib/typescript/module/src/useKeyedChildListeners.d.ts +0 -12
  403. package/lib/typescript/module/src/useKeyedChildListeners.d.ts.map +0 -1
  404. package/lib/typescript/module/src/useLazyValue.d.ts +0 -2
  405. package/lib/typescript/module/src/useLazyValue.d.ts.map +0 -1
  406. package/lib/typescript/module/src/useNavigation.d.ts +0 -11
  407. package/lib/typescript/module/src/useNavigation.d.ts.map +0 -1
  408. package/lib/typescript/module/src/useNavigationBuilder.d.ts +0 -193
  409. package/lib/typescript/module/src/useNavigationBuilder.d.ts.map +0 -1
  410. package/lib/typescript/module/src/useNavigationCache.d.ts +0 -69
  411. package/lib/typescript/module/src/useNavigationCache.d.ts.map +0 -1
  412. package/lib/typescript/module/src/useNavigationContainerRef.d.ts +0 -3
  413. package/lib/typescript/module/src/useNavigationContainerRef.d.ts.map +0 -1
  414. package/lib/typescript/module/src/useNavigationHelpers.d.ts +0 -102
  415. package/lib/typescript/module/src/useNavigationHelpers.d.ts.map +0 -1
  416. package/lib/typescript/module/src/useNavigationIndependentTree.d.ts +0 -2
  417. package/lib/typescript/module/src/useNavigationIndependentTree.d.ts.map +0 -1
  418. package/lib/typescript/module/src/useNavigationState.d.ts +0 -10
  419. package/lib/typescript/module/src/useNavigationState.d.ts.map +0 -1
  420. package/lib/typescript/module/src/useOnAction.d.ts +0 -26
  421. package/lib/typescript/module/src/useOnAction.d.ts.map +0 -1
  422. package/lib/typescript/module/src/useOnGetState.d.ts +0 -9
  423. package/lib/typescript/module/src/useOnGetState.d.ts.map +0 -1
  424. package/lib/typescript/module/src/useOnPreventRemove.d.ts +0 -17
  425. package/lib/typescript/module/src/useOnPreventRemove.d.ts.map +0 -1
  426. package/lib/typescript/module/src/useOnRouteFocus.d.ts +0 -15
  427. package/lib/typescript/module/src/useOnRouteFocus.d.ts.map +0 -1
  428. package/lib/typescript/module/src/useOptionsGetters.d.ts +0 -13
  429. package/lib/typescript/module/src/useOptionsGetters.d.ts.map +0 -1
  430. package/lib/typescript/module/src/usePreventRemove.d.ts +0 -13
  431. package/lib/typescript/module/src/usePreventRemove.d.ts.map +0 -1
  432. package/lib/typescript/module/src/usePreventRemoveContext.d.ts +0 -5
  433. package/lib/typescript/module/src/usePreventRemoveContext.d.ts.map +0 -1
  434. package/lib/typescript/module/src/useRegisterNavigator.d.ts +0 -6
  435. package/lib/typescript/module/src/useRegisterNavigator.d.ts.map +0 -1
  436. package/lib/typescript/module/src/useRoute.d.ts +0 -9
  437. package/lib/typescript/module/src/useRoute.d.ts.map +0 -1
  438. package/lib/typescript/module/src/useRouteCache.d.ts +0 -14
  439. package/lib/typescript/module/src/useRouteCache.d.ts.map +0 -1
  440. package/lib/typescript/module/src/useScheduleUpdate.d.ts +0 -9
  441. package/lib/typescript/module/src/useScheduleUpdate.d.ts.map +0 -1
  442. package/lib/typescript/module/src/useStateForPath.d.ts +0 -8
  443. package/lib/typescript/module/src/useStateForPath.d.ts.map +0 -1
  444. package/lib/typescript/module/src/useSyncState.d.ts +0 -8
  445. package/lib/typescript/module/src/useSyncState.d.ts.map +0 -1
  446. package/lib/typescript/module/src/validatePathConfig.d.ts +0 -2
  447. package/lib/typescript/module/src/validatePathConfig.d.ts.map +0 -1
  448. /package/lib/typescript/{module/package.json → package.json} +0 -0
  449. /package/lib/typescript/{commonjs/src → src}/BaseNavigationContainer.d.ts +0 -0
  450. /package/lib/typescript/{commonjs/src → src}/CurrentRenderContext.d.ts +0 -0
  451. /package/lib/typescript/{commonjs/src → src}/DeprecatedNavigationInChildContext.d.ts +0 -0
  452. /package/lib/typescript/{commonjs/src → src}/EnsureSingleNavigator.d.ts +0 -0
  453. /package/lib/typescript/{commonjs/src → src}/Group.d.ts +0 -0
  454. /package/lib/typescript/{commonjs/src → src}/NavigationBuilderContext.d.ts +0 -0
  455. /package/lib/typescript/{commonjs/src → src}/NavigationContainerRefContext.d.ts +0 -0
  456. /package/lib/typescript/{commonjs/src → src}/NavigationContext.d.ts +0 -0
  457. /package/lib/typescript/{commonjs/src → src}/NavigationFocusedRouteStateContext.d.ts +0 -0
  458. /package/lib/typescript/{commonjs/src → src}/NavigationHelpersContext.d.ts +0 -0
  459. /package/lib/typescript/{commonjs/src → src}/NavigationIndependentTree.d.ts +0 -0
  460. /package/lib/typescript/{commonjs/src → src}/NavigationIndependentTreeContext.d.ts +0 -0
  461. /package/lib/typescript/{commonjs/src → src}/NavigationRouteContext.d.ts +0 -0
  462. /package/lib/typescript/{commonjs/src → src}/NavigationStateContext.d.ts +0 -0
  463. /package/lib/typescript/{commonjs/src → src}/PreventRemoveContext.d.ts +0 -0
  464. /package/lib/typescript/{commonjs/src → src}/PreventRemoveProvider.d.ts +0 -0
  465. /package/lib/typescript/{commonjs/src → src}/SceneView.d.ts +0 -0
  466. /package/lib/typescript/{commonjs/src → src}/Screen.d.ts +0 -0
  467. /package/lib/typescript/{commonjs/src → src}/StaticContainer.d.ts +0 -0
  468. /package/lib/typescript/{commonjs/src → src}/StaticNavigation.d.ts +0 -0
  469. /package/lib/typescript/{commonjs/src → src}/UnhandledActionContext.d.ts +0 -0
  470. /package/lib/typescript/{commonjs/src → src}/arrayStartsWith.d.ts +0 -0
  471. /package/lib/typescript/{commonjs/src → src}/checkDuplicateRouteNames.d.ts +0 -0
  472. /package/lib/typescript/{commonjs/src → src}/checkSerializable.d.ts +0 -0
  473. /package/lib/typescript/{commonjs/src → src}/createNavigationContainerRef.d.ts +0 -0
  474. /package/lib/typescript/{commonjs/src → src}/createNavigatorFactory.d.ts +0 -0
  475. /package/lib/typescript/{commonjs/src → src}/deepFreeze.d.ts +0 -0
  476. /package/lib/typescript/{commonjs/src → src}/findFocusedRoute.d.ts +0 -0
  477. /package/lib/typescript/{commonjs/src → src}/getActionFromState.d.ts +0 -0
  478. /package/lib/typescript/{commonjs/src → src}/getFocusedRouteNameFromRoute.d.ts +0 -0
  479. /package/lib/typescript/{commonjs/src → src}/getPathFromState.d.ts +0 -0
  480. /package/lib/typescript/{commonjs/src → src}/getPatternParts.d.ts +0 -0
  481. /package/lib/typescript/{commonjs/src → src}/getStateFromPath.d.ts +0 -0
  482. /package/lib/typescript/{commonjs/src → src}/index.d.ts +0 -0
  483. /package/lib/typescript/{commonjs/src → src}/isArrayEqual.d.ts +0 -0
  484. /package/lib/typescript/{commonjs/src → src}/isRecordEqual.d.ts +0 -0
  485. /package/lib/typescript/{commonjs/src → src}/theming/ThemeContext.d.ts +0 -0
  486. /package/lib/typescript/{commonjs/src → src}/theming/ThemeProvider.d.ts +0 -0
  487. /package/lib/typescript/{commonjs/src → src}/theming/useTheme.d.ts +0 -0
  488. /package/lib/typescript/{commonjs/src → src}/types.d.ts +0 -0
  489. /package/lib/typescript/{commonjs/src → src}/useChildListeners.d.ts +0 -0
  490. /package/lib/typescript/{commonjs/src → src}/useComponent.d.ts +0 -0
  491. /package/lib/typescript/{commonjs/src → src}/useCurrentRender.d.ts +0 -0
  492. /package/lib/typescript/{commonjs/src → src}/useDescriptors.d.ts +0 -0
  493. /package/lib/typescript/{commonjs/src → src}/useEventEmitter.d.ts +0 -0
  494. /package/lib/typescript/{commonjs/src → src}/useFocusEffect.d.ts +0 -0
  495. /package/lib/typescript/{commonjs/src → src}/useFocusEvents.d.ts +0 -0
  496. /package/lib/typescript/{commonjs/src → src}/useFocusedListenersChildrenAdapter.d.ts +0 -0
  497. /package/lib/typescript/{commonjs/src → src}/useIsFocused.d.ts +0 -0
  498. /package/lib/typescript/{commonjs/src → src}/useIsomorphicLayoutEffect.d.ts +0 -0
  499. /package/lib/typescript/{commonjs/src → src}/useIsomorphicLayoutEffect.native.d.ts +0 -0
  500. /package/lib/typescript/{commonjs/src → src}/useKeyedChildListeners.d.ts +0 -0
  501. /package/lib/typescript/{commonjs/src → src}/useLazyValue.d.ts +0 -0
  502. /package/lib/typescript/{commonjs/src → src}/useNavigation.d.ts +0 -0
  503. /package/lib/typescript/{commonjs/src → src}/useNavigationBuilder.d.ts +0 -0
  504. /package/lib/typescript/{commonjs/src → src}/useNavigationCache.d.ts +0 -0
  505. /package/lib/typescript/{commonjs/src → src}/useNavigationContainerRef.d.ts +0 -0
  506. /package/lib/typescript/{commonjs/src → src}/useNavigationHelpers.d.ts +0 -0
  507. /package/lib/typescript/{commonjs/src → src}/useNavigationIndependentTree.d.ts +0 -0
  508. /package/lib/typescript/{commonjs/src → src}/useNavigationState.d.ts +0 -0
  509. /package/lib/typescript/{commonjs/src → src}/useOnAction.d.ts +0 -0
  510. /package/lib/typescript/{commonjs/src → src}/useOnGetState.d.ts +0 -0
  511. /package/lib/typescript/{commonjs/src → src}/useOnPreventRemove.d.ts +0 -0
  512. /package/lib/typescript/{commonjs/src → src}/useOnRouteFocus.d.ts +0 -0
  513. /package/lib/typescript/{commonjs/src → src}/useOptionsGetters.d.ts +0 -0
  514. /package/lib/typescript/{commonjs/src → src}/usePreventRemove.d.ts +0 -0
  515. /package/lib/typescript/{commonjs/src → src}/usePreventRemoveContext.d.ts +0 -0
  516. /package/lib/typescript/{commonjs/src → src}/useRegisterNavigator.d.ts +0 -0
  517. /package/lib/typescript/{commonjs/src → src}/useRoute.d.ts +0 -0
  518. /package/lib/typescript/{commonjs/src → src}/useRouteCache.d.ts +0 -0
  519. /package/lib/typescript/{commonjs/src → src}/useScheduleUpdate.d.ts +0 -0
  520. /package/lib/typescript/{commonjs/src → src}/useStateForPath.d.ts +0 -0
  521. /package/lib/typescript/{commonjs/src → src}/useSyncState.d.ts +0 -0
  522. /package/lib/typescript/{commonjs/src → src}/validatePathConfig.d.ts +0 -0
@@ -1,69 +0,0 @@
1
- import { type NavigationAction, type NavigationState, type ParamListBase, type Router } from '@react-navigation/routers';
2
- import type { NavigationHelpers, NavigationProp } from './types';
3
- import type { NavigationEventEmitter } from './useEventEmitter';
4
- type Options<State extends NavigationState, ScreenOptions extends {}, EventMap extends Record<string, any>> = {
5
- state: State;
6
- getState: () => State;
7
- navigation: NavigationHelpers<ParamListBase> & Partial<NavigationProp<ParamListBase, string, any, any, any>>;
8
- setOptions: (cb: (options: Record<string, ScreenOptions>) => Record<string, ScreenOptions>) => void;
9
- router: Router<State, NavigationAction>;
10
- emitter: NavigationEventEmitter<EventMap>;
11
- };
12
- type NavigationItem<State extends NavigationState, ScreenOptions extends {}, EventMap extends Record<string, any>> = NavigationProp<ParamListBase, string, string | undefined, State, ScreenOptions, EventMap>;
13
- type NavigationCache<State extends NavigationState, ScreenOptions extends {}, EventMap extends Record<string, any>> = Record<string, NavigationItem<State, ScreenOptions, EventMap>>;
14
- /**
15
- * Hook to cache navigation objects for each screen in the navigator.
16
- * It's important to cache them to make sure navigation objects don't change between renders.
17
- * This lets us apply optimizations like `React.memo` to minimize re-rendering screens.
18
- */
19
- export declare function useNavigationCache<State extends NavigationState, ScreenOptions extends {}, EventMap extends Record<string, any>, ActionHelpers extends Record<string, () => void>>({ state, getState, navigation, setOptions, router, emitter, }: Options<State, ScreenOptions, EventMap>): {
20
- base: Omit<{
21
- dispatch(action: Readonly<{
22
- type: string;
23
- payload?: object;
24
- source?: string;
25
- target?: string;
26
- }> | ((state: Readonly<State>) => NavigationAction)): void;
27
- navigate<RouteName extends string>(...args: RouteName extends unknown ? [screen: RouteName, params?: object | undefined, options?: {
28
- merge?: boolean;
29
- pop?: boolean;
30
- } | undefined] : never): void;
31
- navigate<RouteName extends string>(options: RouteName extends unknown ? {
32
- name: RouteName;
33
- params: object | undefined;
34
- path?: string;
35
- merge?: boolean;
36
- pop?: boolean;
37
- } : never): void;
38
- navigateDeprecated<RouteName extends string>(...args: RouteName extends unknown ? [screen: RouteName, params?: object | undefined] : never): void;
39
- navigateDeprecated<RouteName extends string>(options: RouteName extends unknown ? {
40
- name: RouteName;
41
- params: object | undefined;
42
- merge?: boolean;
43
- } : never): void;
44
- preload<RouteName extends string>(...args: RouteName extends unknown ? [screen: RouteName, params?: object | undefined] : never): void;
45
- reset(state: State | import("@react-navigation/routers").PartialState<State>): void;
46
- goBack(): void;
47
- isFocused(): boolean;
48
- canGoBack(): boolean;
49
- getId(): string | undefined;
50
- getParent<T = NavigationHelpers<ParamListBase, {}> | undefined>(id?: string): T;
51
- getState(): State;
52
- setStateForNextRouteNamesChange(state: State | import("@react-navigation/routers").PartialState<State>): void;
53
- } & import("./types").PrivateValueStore<[ParamListBase, unknown, unknown]>, "getParent"> & {
54
- getParent<T = NavigationProp<ParamListBase, string, undefined, Readonly<{
55
- key: string;
56
- index: number;
57
- routeNames: string[];
58
- history?: unknown[];
59
- routes: import("@react-navigation/routers").NavigationRoute<ParamListBase, string>[];
60
- type: string;
61
- stale: false;
62
- }>, {}, {}> | undefined>(id?: string | undefined): T;
63
- setParams(params: Partial<object | undefined>): void;
64
- setOptions(options: Partial<ScreenOptions>): void;
65
- } & import("./types").EventConsumer<EventMap & import("./types").EventMapCore<State>> & import("./types").PrivateValueStore<[ParamListBase, string, EventMap]> & ActionHelpers;
66
- navigations: NavigationCache<State, ScreenOptions, EventMap>;
67
- };
68
- export {};
69
- //# sourceMappingURL=useNavigationCache.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useNavigationCache.d.ts","sourceRoot":"","sources":["../../../../src/useNavigationCache.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,MAAM,EACZ,MAAM,2BAA2B,CAAC;AAInC,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEhE,KAAK,OAAO,CACV,KAAK,SAAS,eAAe,EAC7B,aAAa,SAAS,EAAE,EACxB,QAAQ,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAClC;IACF,KAAK,EAAE,KAAK,CAAC;IACb,QAAQ,EAAE,MAAM,KAAK,CAAC;IACtB,UAAU,EAAE,iBAAiB,CAAC,aAAa,CAAC,GAC1C,OAAO,CAAC,cAAc,CAAC,aAAa,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;IAChE,UAAU,EAAE,CACV,EAAE,EAAE,CACF,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,KACnC,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,KAC/B,IAAI,CAAC;IACV,MAAM,EAAE,MAAM,CAAC,KAAK,EAAE,gBAAgB,CAAC,CAAC;IACxC,OAAO,EAAE,sBAAsB,CAAC,QAAQ,CAAC,CAAC;CAC3C,CAAC;AAEF,KAAK,cAAc,CACjB,KAAK,SAAS,eAAe,EAC7B,aAAa,SAAS,EAAE,EACxB,QAAQ,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAClC,cAAc,CAChB,aAAa,EACb,MAAM,EACN,MAAM,GAAG,SAAS,EAClB,KAAK,EACL,aAAa,EACb,QAAQ,CACT,CAAC;AAEF,KAAK,eAAe,CAClB,KAAK,SAAS,eAAe,EAC7B,aAAa,SAAS,EAAE,EACxB,QAAQ,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAClC,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,KAAK,EAAE,aAAa,EAAE,QAAQ,CAAC,CAAC,CAAC;AAEnE;;;;GAIG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,SAAS,eAAe,EAC7B,aAAa,SAAS,EAAE,EACxB,QAAQ,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACpC,aAAa,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,IAAI,CAAC,EAChD,EACA,KAAK,EACL,QAAQ,EACR,UAAU,EACV,UAAU,EACV,MAAM,EACN,OAAO,GACR,EAAE,OAAO,CAAC,KAAK,EAAE,aAAa,EAAE,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4KzC"}
@@ -1,3 +0,0 @@
1
- import type { NavigationContainerRefWithCurrent } from './types';
2
- export declare function useNavigationContainerRef<ParamList extends {} = ReactNavigation.RootParamList>(): NavigationContainerRefWithCurrent<ParamList>;
3
- //# sourceMappingURL=useNavigationContainerRef.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useNavigationContainerRef.d.ts","sourceRoot":"","sources":["../../../../src/useNavigationContainerRef.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,SAAS,CAAC;AAEjE,wBAAgB,yBAAyB,CACvC,SAAS,SAAS,EAAE,GAAG,eAAe,CAAC,aAAa,KACjD,iCAAiC,CAAC,SAAS,CAAC,CAShD"}
@@ -1,102 +0,0 @@
1
- import { type NavigationAction, type NavigationState, type ParamListBase, type Router } from '@react-navigation/routers';
2
- import * as React from 'react';
3
- import { type NavigationHelpers, PrivateValueStore } from './types';
4
- import type { NavigationEventEmitter } from './useEventEmitter';
5
- type Options<State extends NavigationState, Action extends NavigationAction> = {
6
- id: string | undefined;
7
- onAction: (action: NavigationAction) => boolean;
8
- getState: () => State;
9
- emitter: NavigationEventEmitter<any>;
10
- router: Router<State, Action>;
11
- stateRef: React.RefObject<State | null>;
12
- };
13
- /**
14
- * Navigation object with helper methods to be used by a navigator.
15
- * This object includes methods for common actions as well as methods the parent screen's navigation object.
16
- */
17
- export declare function useNavigationHelpers<State extends NavigationState, ActionHelpers extends Record<string, () => void>, Action extends NavigationAction, EventMap extends Record<string, any>>({ id: navigatorId, onAction, getState, emitter, router, stateRef, }: Options<State, Action>): {
18
- dispatch(action: Readonly<{
19
- type: string;
20
- payload?: object;
21
- source?: string;
22
- target?: string;
23
- }> | ((state: Readonly<Readonly<{
24
- key: string;
25
- index: number;
26
- routeNames: string[];
27
- history?: unknown[];
28
- routes: import("@react-navigation/routers").NavigationRoute<ParamListBase, string>[];
29
- type: string;
30
- stale: false;
31
- }>>) => NavigationAction)): void;
32
- navigate<RouteName extends string>(...args: RouteName extends unknown ? [screen: RouteName, params?: object | undefined, options?: {
33
- merge?: boolean;
34
- pop?: boolean;
35
- } | undefined] : never): void;
36
- navigate<RouteName extends string>(options: RouteName extends unknown ? {
37
- name: RouteName;
38
- params: object | undefined;
39
- path?: string;
40
- merge?: boolean;
41
- pop?: boolean;
42
- } : never): void;
43
- navigateDeprecated<RouteName extends string>(...args: RouteName extends unknown ? [screen: RouteName, params?: object | undefined] : never): void;
44
- navigateDeprecated<RouteName extends string>(options: RouteName extends unknown ? {
45
- name: RouteName;
46
- params: object | undefined;
47
- merge?: boolean;
48
- } : never): void;
49
- preload<RouteName extends string>(...args: RouteName extends unknown ? [screen: RouteName, params?: object | undefined] : never): void;
50
- reset(state: Readonly<{
51
- key: string;
52
- index: number;
53
- routeNames: string[];
54
- history?: unknown[];
55
- routes: import("@react-navigation/routers").NavigationRoute<ParamListBase, string>[];
56
- type: string;
57
- stale: false;
58
- }> | import("@react-navigation/routers").PartialState<Readonly<{
59
- key: string;
60
- index: number;
61
- routeNames: string[];
62
- history?: unknown[];
63
- routes: import("@react-navigation/routers").NavigationRoute<ParamListBase, string>[];
64
- type: string;
65
- stale: false;
66
- }>>): void;
67
- goBack(): void;
68
- isFocused(): boolean;
69
- canGoBack(): boolean;
70
- getId(): string | undefined;
71
- getParent<T = NavigationHelpers<ParamListBase, {}> | undefined>(id?: string): T;
72
- getState(): Readonly<{
73
- key: string;
74
- index: number;
75
- routeNames: string[];
76
- history?: unknown[];
77
- routes: import("@react-navigation/routers").NavigationRoute<ParamListBase, string>[];
78
- type: string;
79
- stale: false;
80
- }>;
81
- setStateForNextRouteNamesChange(state: Readonly<{
82
- key: string;
83
- index: number;
84
- routeNames: string[];
85
- history?: unknown[];
86
- routes: import("@react-navigation/routers").NavigationRoute<ParamListBase, string>[];
87
- type: string;
88
- stale: false;
89
- }> | import("@react-navigation/routers").PartialState<Readonly<{
90
- key: string;
91
- index: number;
92
- routeNames: string[];
93
- history?: unknown[];
94
- routes: import("@react-navigation/routers").NavigationRoute<ParamListBase, string>[];
95
- type: string;
96
- stale: false;
97
- }>>): void;
98
- } & PrivateValueStore<[ParamListBase, unknown, unknown]> & import("./types").EventEmitter<EventMap> & {
99
- setParams<RouteName extends string>(params: Partial<object | undefined>): void;
100
- } & ActionHelpers;
101
- export {};
102
- //# sourceMappingURL=useNavigationHelpers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useNavigationHelpers.d.ts","sourceRoot":"","sources":["../../../../src/useNavigationHelpers.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,MAAM,EACZ,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,KAAK,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEpE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAMhE,KAAK,OAAO,CAAC,KAAK,SAAS,eAAe,EAAE,MAAM,SAAS,gBAAgB,IAAI;IAC7E,EAAE,EAAE,MAAM,GAAG,SAAS,CAAC;IACvB,QAAQ,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,OAAO,CAAC;IAChD,QAAQ,EAAE,MAAM,KAAK,CAAC;IACtB,OAAO,EAAE,sBAAsB,CAAC,GAAG,CAAC,CAAC;IACrC,MAAM,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC;CACzC,CAAC;AAEF;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,SAAS,eAAe,EAC7B,aAAa,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,IAAI,CAAC,EAChD,MAAM,SAAS,gBAAgB,EAC/B,QAAQ,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACpC,EACA,EAAE,EAAE,WAAW,EACf,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,MAAM,EACN,QAAQ,GACT,EAAE,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAsFxB"}
@@ -1,2 +0,0 @@
1
- export declare function useNavigationIndependentTree(): boolean;
2
- //# sourceMappingURL=useNavigationIndependentTree.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useNavigationIndependentTree.d.ts","sourceRoot":"","sources":["../../../../src/useNavigationIndependentTree.tsx"],"names":[],"mappings":"AAIA,wBAAgB,4BAA4B,YAE3C"}
@@ -1,10 +0,0 @@
1
- import type { NavigationState, ParamListBase } from '@react-navigation/routers';
2
- type Selector<ParamList extends ParamListBase, T> = (state: NavigationState<ParamList>) => T;
3
- /**
4
- * Hook to get a value from the current navigation state using a selector.
5
- *
6
- * @param selector Selector function to get a value from the state.
7
- */
8
- export declare function useNavigationState<ParamList extends ParamListBase, T>(selector: Selector<ParamList, T>): T;
9
- export {};
10
- //# sourceMappingURL=useNavigationState.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useNavigationState.d.ts","sourceRoot":"","sources":["../../../../src/useNavigationState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAOhF,KAAK,QAAQ,CAAC,SAAS,SAAS,aAAa,EAAE,CAAC,IAAI,CAClD,KAAK,EAAE,eAAe,CAAC,SAAS,CAAC,KAC9B,CAAC,CAAC;AAEP;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,SAAS,SAAS,aAAa,EAAE,CAAC,EACnE,QAAQ,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC,CAAC,GAC/B,CAAC,CAoBH"}
@@ -1,26 +0,0 @@
1
- import type { NavigationAction, NavigationState, PartialState, Router, RouterConfigOptions } from '@react-navigation/routers';
2
- import { type ChildActionListener, type ChildBeforeRemoveListener } from './NavigationBuilderContext';
3
- import type { EventMapCore } from './types';
4
- import type { NavigationEventEmitter } from './useEventEmitter';
5
- type Options = {
6
- router: Router<NavigationState, NavigationAction>;
7
- key?: string;
8
- getState: () => NavigationState;
9
- setState: (state: NavigationState | PartialState<NavigationState>) => void;
10
- actionListeners: ChildActionListener[];
11
- beforeRemoveListeners: Record<string, ChildBeforeRemoveListener | undefined>;
12
- routerConfigOptions: RouterConfigOptions;
13
- emitter: NavigationEventEmitter<EventMapCore<any>>;
14
- };
15
- /**
16
- * Hook to handle actions for a navigator, including state updates and bubbling.
17
- *
18
- * Bubbling an action is achieved in 2 ways:
19
- * 1. To bubble action to parent, we expose the action handler in context and then access the parent context
20
- * 2. To bubble action to child, child adds event listeners subscribing to actions from parent
21
- *
22
- * When the action handler handles as action, it returns `true`, otherwise `false`.
23
- */
24
- export declare function useOnAction({ router, getState, setState, key, actionListeners, beforeRemoveListeners, routerConfigOptions, emitter, }: Options): (action: NavigationAction, visitedNavigators?: Set<string>) => boolean;
25
- export {};
26
- //# sourceMappingURL=useOnAction.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useOnAction.d.ts","sourceRoot":"","sources":["../../../../src/useOnAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,eAAe,EACf,YAAY,EACZ,MAAM,EACN,mBAAmB,EACpB,MAAM,2BAA2B,CAAC;AAInC,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAE/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAGhE,KAAK,OAAO,GAAG;IACb,MAAM,EAAE,MAAM,CAAC,eAAe,EAAE,gBAAgB,CAAC,CAAC;IAClD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,eAAe,CAAC;IAChC,QAAQ,EAAE,CAAC,KAAK,EAAE,eAAe,GAAG,YAAY,CAAC,eAAe,CAAC,KAAK,IAAI,CAAC;IAC3E,eAAe,EAAE,mBAAmB,EAAE,CAAC;IACvC,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,yBAAyB,GAAG,SAAS,CAAC,CAAC;IAC7E,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,OAAO,EAAE,sBAAsB,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC;CACpD,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,GAAG,EACH,eAAe,EACf,qBAAqB,EACrB,mBAAmB,EACnB,OAAO,GACR,EAAE,OAAO,YAoBI,gBAAgB,sBACL,GAAG,CAAC,MAAM,CAAC,aA8GnC"}
@@ -1,9 +0,0 @@
1
- import type { NavigationState } from '@react-navigation/routers';
2
- import { type GetStateListener } from './NavigationBuilderContext';
3
- type Options = {
4
- getState: () => NavigationState;
5
- getStateListeners: Record<string, GetStateListener | undefined>;
6
- };
7
- export declare function useOnGetState({ getState, getStateListeners }: Options): void;
8
- export {};
9
- //# sourceMappingURL=useOnGetState.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useOnGetState.d.ts","sourceRoot":"","sources":["../../../../src/useOnGetState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAIjE,OAAO,EACL,KAAK,gBAAgB,EAEtB,MAAM,4BAA4B,CAAC;AAGpC,KAAK,OAAO,GAAG;IACb,QAAQ,EAAE,MAAM,eAAe,CAAC;IAChC,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,GAAG,SAAS,CAAC,CAAC;CACjE,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,iBAAiB,EAAE,EAAE,OAAO,QA6BrE"}
@@ -1,17 +0,0 @@
1
- import type { NavigationAction, NavigationState } from '@react-navigation/routers';
2
- import { type ChildBeforeRemoveListener } from './NavigationBuilderContext';
3
- import type { EventMapCore } from './types';
4
- import type { NavigationEventEmitter } from './useEventEmitter';
5
- type Options = {
6
- getState: () => NavigationState;
7
- emitter: NavigationEventEmitter<EventMapCore<any>>;
8
- beforeRemoveListeners: Record<string, ChildBeforeRemoveListener | undefined>;
9
- };
10
- export declare const shouldPreventRemove: (emitter: NavigationEventEmitter<EventMapCore<any>>, beforeRemoveListeners: Record<string, ChildBeforeRemoveListener | undefined>, currentRoutes: {
11
- key: string;
12
- }[], nextRoutes: {
13
- key?: string | undefined;
14
- }[], action: NavigationAction) => boolean;
15
- export declare function useOnPreventRemove({ getState, emitter, beforeRemoveListeners, }: Options): void;
16
- export {};
17
- //# sourceMappingURL=useOnPreventRemove.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useOnPreventRemove.d.ts","sourceRoot":"","sources":["../../../../src/useOnPreventRemove.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,eAAe,EAChB,MAAM,2BAA2B,CAAC;AAGnC,OAAO,EACL,KAAK,yBAAyB,EAE/B,MAAM,4BAA4B,CAAC;AAEpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEhE,KAAK,OAAO,GAAG;IACb,QAAQ,EAAE,MAAM,eAAe,CAAC;IAChC,OAAO,EAAE,sBAAsB,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC;IACnD,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,yBAAyB,GAAG,SAAS,CAAC,CAAC;CAC9E,CAAC;AAIF,eAAO,MAAM,mBAAmB,YACrB,sBAAsB,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,yBAC3B,MAAM,CAAC,MAAM,EAAE,yBAAyB,GAAG,SAAS,CAAC,iBAC7D;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,EAAE,cACpB;IAAE,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,EAAE,UAClC,gBAAgB,YA8CzB,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,OAAO,EACP,qBAAqB,GACtB,EAAE,OAAO,QAoBT"}
@@ -1,15 +0,0 @@
1
- import type { NavigationAction, NavigationState, Router } from '@react-navigation/routers';
2
- type Options<Action extends NavigationAction> = {
3
- router: Router<NavigationState, Action>;
4
- getState: () => NavigationState;
5
- setState: (state: NavigationState) => void;
6
- key?: string;
7
- };
8
- /**
9
- * Hook to handle focus actions for a route.
10
- * Focus action needs to be treated specially, coz when a nested route is focused,
11
- * the parent navigators also needs to be focused.
12
- */
13
- export declare function useOnRouteFocus<Action extends NavigationAction>({ router, getState, key: sourceRouteKey, setState, }: Options<Action>): (key: string) => void;
14
- export {};
15
- //# sourceMappingURL=useOnRouteFocus.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useOnRouteFocus.d.ts","sourceRoot":"","sources":["../../../../src/useOnRouteFocus.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,eAAe,EACf,MAAM,EACP,MAAM,2BAA2B,CAAC;AAKnC,KAAK,OAAO,CAAC,MAAM,SAAS,gBAAgB,IAAI;IAC9C,MAAM,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;IACxC,QAAQ,EAAE,MAAM,eAAe,CAAC;IAChC,QAAQ,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;IAC3C,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,MAAM,SAAS,gBAAgB,EAAE,EAC/D,MAAM,EACN,QAAQ,EACR,GAAG,EAAE,cAAc,EACnB,QAAQ,GACT,EAAE,OAAO,CAAC,MAAM,CAAC,SAMR,MAAM,UAcf"}
@@ -1,13 +0,0 @@
1
- import type { ParamListBase } from '@react-navigation/routers';
2
- import type { NavigationProp } from './types';
3
- type Options = {
4
- key?: string;
5
- navigation?: NavigationProp<ParamListBase>;
6
- options?: object | undefined;
7
- };
8
- export declare function useOptionsGetters({ key, options, navigation }: Options): {
9
- addOptionsGetter: (key: string, getter: () => object | undefined | null) => () => void;
10
- getCurrentOptions: () => object | null | undefined;
11
- };
12
- export {};
13
- //# sourceMappingURL=useOptionsGetters.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useOptionsGetters.d.ts","sourceRoot":"","sources":["../../../../src/useOptionsGetters.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAK/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,KAAK,OAAO,GAAG;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;IAC3C,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,EAAE,OAAO;4BA+D7D,MAAM,UAAU,MAAM,MAAM,GAAG,SAAS,GAAG,IAAI;;EAiBxD"}
@@ -1,13 +0,0 @@
1
- import type { NavigationAction } from '@react-navigation/routers';
2
- /**
3
- * Hook to prevent screen from being removed. Can be used to prevent users from leaving the screen.
4
- *
5
- * @param preventRemove Boolean indicating whether to prevent screen from being removed.
6
- * @param callback Function which is executed when screen was prevented from being removed.
7
- */
8
- export declare function usePreventRemove(preventRemove: boolean, callback: (options: {
9
- data: {
10
- action: NavigationAction;
11
- };
12
- }) => void): void;
13
- //# sourceMappingURL=usePreventRemove.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"usePreventRemove.d.ts","sourceRoot":"","sources":["../../../../src/usePreventRemove.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAUlE;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC9B,aAAa,EAAE,OAAO,EACtB,QAAQ,EAAE,CAAC,OAAO,EAAE;IAAE,IAAI,EAAE;QAAE,MAAM,EAAE,gBAAgB,CAAA;KAAE,CAAA;CAAE,KAAK,IAAI,QAgCpE"}
@@ -1,5 +0,0 @@
1
- export declare function usePreventRemoveContext(): {
2
- preventedRoutes: import("./PreventRemoveContext").PreventedRoutes;
3
- setPreventRemove: (id: string, routeKey: string, preventRemove: boolean) => void;
4
- };
5
- //# sourceMappingURL=usePreventRemoveContext.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"usePreventRemoveContext.d.ts","sourceRoot":"","sources":["../../../../src/usePreventRemoveContext.tsx"],"names":[],"mappings":"AAIA,wBAAgB,uBAAuB;;;EAUtC"}
@@ -1,6 +0,0 @@
1
- /**
2
- * Register a navigator in the parent context (either a navigation container or a screen).
3
- * This is used to prevent multiple navigators under a single container or screen.
4
- */
5
- export declare function useRegisterNavigator(): string;
6
- //# sourceMappingURL=useRegisterNavigator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useRegisterNavigator.d.ts","sourceRoot":"","sources":["../../../../src/useRegisterNavigator.tsx"],"names":[],"mappings":"AAKA;;;GAGG;AACH,wBAAgB,oBAAoB,WAmBnC"}
@@ -1,9 +0,0 @@
1
- import type { ParamListBase } from '@react-navigation/routers';
2
- import type { RouteProp } from './types';
3
- /**
4
- * Hook to access the route prop of the parent screen anywhere.
5
- *
6
- * @returns Route prop of the parent screen.
7
- */
8
- export declare function useRoute<T extends RouteProp<ParamListBase>>(): T;
9
- //# sourceMappingURL=useRoute.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useRoute.d.ts","sourceRoot":"","sources":["../../../../src/useRoute.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAI/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,SAAS,CAAC,aAAa,CAAC,KAAK,CAAC,CAUhE"}
@@ -1,14 +0,0 @@
1
- import type { NavigationState, ParamListBase } from '@react-navigation/routers';
2
- import type { RouteProp } from './types';
3
- /**
4
- * Utilities such as `getFocusedRouteNameFromRoute` need to access state.
5
- * So we need a way to suppress the warning for those use cases.
6
- * This is fine since they are internal utilities and this is not public API.
7
- */
8
- export declare const CHILD_STATE: unique symbol;
9
- /**
10
- * Hook to cache route props for each screen in the navigator.
11
- * This lets add warnings and modifications to the route object but keep references between renders.
12
- */
13
- export declare function useRouteCache<State extends NavigationState>(routes: State['routes']): RouteProp<ParamListBase>[];
14
- //# sourceMappingURL=useRouteCache.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useRouteCache.d.ts","sourceRoot":"","sources":["../../../../src/useRouteCache.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAIhF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAIzC;;;;GAIG;AACH,eAAO,MAAM,WAAW,eAAwB,CAAC;AAEjD;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,SAAS,eAAe,EACzD,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,8BAmDxB"}
@@ -1,9 +0,0 @@
1
- /**
2
- * When screen config changes, we want to update the navigator in the same update phase.
3
- * However, navigation state is in the root component and React won't let us update it from a child.
4
- * This is a workaround for that, the scheduled update is stored in the ref without actually calling setState.
5
- * It lets all subsequent updates access the latest state so it stays correct.
6
- * Then we call setState during after the component updates.
7
- */
8
- export declare function useScheduleUpdate(callback: () => void): void;
9
- //# sourceMappingURL=useScheduleUpdate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useScheduleUpdate.d.ts","sourceRoot":"","sources":["../../../../src/useScheduleUpdate.tsx"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,IAAI,QAUrD"}
@@ -1,8 +0,0 @@
1
- /**
2
- * Hook to get a minimal state representation for the current route.
3
- * The returned state can be used with `getPathFromState` to build a path.
4
- *
5
- * @returns Minimal state to build a path for the current route.
6
- */
7
- export declare function useStateForPath(): import("./NavigationFocusedRouteStateContext").FocusedRouteState | undefined;
8
- //# sourceMappingURL=useStateForPath.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useStateForPath.d.ts","sourceRoot":"","sources":["../../../../src/useStateForPath.tsx"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,wBAAgB,eAAe,iFAI9B"}
@@ -1,8 +0,0 @@
1
- export declare function useSyncState<T>(getInitialState: () => T): {
2
- readonly state: T;
3
- readonly getState: () => T;
4
- readonly setState: (newState: T) => void;
5
- readonly scheduleUpdate: (callback: () => void) => void;
6
- readonly flushUpdates: () => void;
7
- };
8
- //# sourceMappingURL=useSyncState.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useSyncState.d.ts","sourceRoot":"","sources":["../../../../src/useSyncState.tsx"],"names":[],"mappings":"AAiEA,wBAAgB,YAAY,CAAC,CAAC,EAAE,eAAe,EAAE,MAAM,CAAC;;;;wCAaF,MAAM,IAAI;;EA0B/D"}
@@ -1,2 +0,0 @@
1
- export declare function validatePathConfig(config: unknown, root?: boolean): void;
2
- //# sourceMappingURL=validatePathConfig.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"validatePathConfig.d.ts","sourceRoot":"","sources":["../../../../src/validatePathConfig.tsx"],"names":[],"mappings":"AAKA,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,UAAO,QA6E9D"}
File without changes
File without changes
File without changes