@react-navigation/core 7.8.2 → 7.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/getPathFromState.js +15 -2
- package/lib/commonjs/getPathFromState.js.map +1 -1
- package/lib/module/getPathFromState.js +15 -2
- package/lib/module/getPathFromState.js.map +1 -1
- package/lib/typescript/src/BaseNavigationContainer.d.ts.map +1 -0
- package/lib/typescript/src/CurrentRenderContext.d.ts.map +1 -0
- package/lib/typescript/src/DeprecatedNavigationInChildContext.d.ts.map +1 -0
- package/lib/typescript/src/EnsureSingleNavigator.d.ts.map +1 -0
- package/lib/typescript/src/Group.d.ts.map +1 -0
- package/lib/typescript/src/NavigationBuilderContext.d.ts.map +1 -0
- package/lib/typescript/src/NavigationContainerRefContext.d.ts.map +1 -0
- package/lib/typescript/src/NavigationContext.d.ts.map +1 -0
- package/lib/typescript/src/NavigationFocusedRouteStateContext.d.ts.map +1 -0
- package/lib/typescript/src/NavigationHelpersContext.d.ts.map +1 -0
- package/lib/typescript/src/NavigationIndependentTree.d.ts.map +1 -0
- package/lib/typescript/src/NavigationIndependentTreeContext.d.ts.map +1 -0
- package/lib/typescript/src/NavigationRouteContext.d.ts.map +1 -0
- package/lib/typescript/src/NavigationStateContext.d.ts.map +1 -0
- package/lib/typescript/src/PreventRemoveContext.d.ts.map +1 -0
- package/lib/typescript/src/PreventRemoveProvider.d.ts.map +1 -0
- package/lib/typescript/src/SceneView.d.ts.map +1 -0
- package/lib/typescript/src/Screen.d.ts.map +1 -0
- package/lib/typescript/src/StaticContainer.d.ts.map +1 -0
- package/lib/typescript/src/StaticNavigation.d.ts.map +1 -0
- package/lib/typescript/src/UnhandledActionContext.d.ts.map +1 -0
- package/lib/typescript/src/arrayStartsWith.d.ts.map +1 -0
- package/lib/typescript/src/checkDuplicateRouteNames.d.ts.map +1 -0
- package/lib/typescript/src/checkSerializable.d.ts.map +1 -0
- package/lib/typescript/src/createNavigationContainerRef.d.ts.map +1 -0
- package/lib/typescript/src/createNavigatorFactory.d.ts.map +1 -0
- package/lib/typescript/src/deepFreeze.d.ts.map +1 -0
- package/lib/typescript/src/findFocusedRoute.d.ts.map +1 -0
- package/lib/typescript/src/getActionFromState.d.ts.map +1 -0
- package/lib/typescript/src/getFocusedRouteNameFromRoute.d.ts.map +1 -0
- package/lib/typescript/src/getPathFromState.d.ts.map +1 -0
- package/lib/typescript/src/getPatternParts.d.ts.map +1 -0
- package/lib/typescript/src/getStateFromPath.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/isArrayEqual.d.ts.map +1 -0
- package/lib/typescript/src/isRecordEqual.d.ts.map +1 -0
- package/lib/typescript/src/theming/ThemeContext.d.ts.map +1 -0
- package/lib/typescript/src/theming/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/src/theming/useTheme.d.ts.map +1 -0
- package/lib/typescript/src/types.d.ts.map +1 -0
- package/lib/typescript/src/useChildListeners.d.ts.map +1 -0
- package/lib/typescript/src/useComponent.d.ts.map +1 -0
- package/lib/typescript/src/useCurrentRender.d.ts.map +1 -0
- package/lib/typescript/src/useDescriptors.d.ts.map +1 -0
- package/lib/typescript/src/useEventEmitter.d.ts.map +1 -0
- package/lib/typescript/src/useFocusEffect.d.ts.map +1 -0
- package/lib/typescript/src/useFocusEvents.d.ts.map +1 -0
- package/lib/typescript/src/useFocusedListenersChildrenAdapter.d.ts.map +1 -0
- package/lib/typescript/src/useIsFocused.d.ts.map +1 -0
- package/lib/typescript/src/useIsomorphicLayoutEffect.d.ts.map +1 -0
- package/lib/typescript/src/useIsomorphicLayoutEffect.native.d.ts.map +1 -0
- package/lib/typescript/src/useKeyedChildListeners.d.ts.map +1 -0
- package/lib/typescript/src/useLazyValue.d.ts.map +1 -0
- package/lib/typescript/src/useNavigation.d.ts.map +1 -0
- package/lib/typescript/src/useNavigationBuilder.d.ts.map +1 -0
- package/lib/typescript/src/useNavigationCache.d.ts.map +1 -0
- package/lib/typescript/src/useNavigationContainerRef.d.ts.map +1 -0
- package/lib/typescript/src/useNavigationHelpers.d.ts.map +1 -0
- package/lib/typescript/src/useNavigationIndependentTree.d.ts.map +1 -0
- package/lib/typescript/src/useNavigationState.d.ts.map +1 -0
- package/lib/typescript/src/useOnAction.d.ts.map +1 -0
- package/lib/typescript/src/useOnGetState.d.ts.map +1 -0
- package/lib/typescript/src/useOnPreventRemove.d.ts.map +1 -0
- package/lib/typescript/src/useOnRouteFocus.d.ts.map +1 -0
- package/lib/typescript/src/useOptionsGetters.d.ts.map +1 -0
- package/lib/typescript/src/usePreventRemove.d.ts.map +1 -0
- package/lib/typescript/src/usePreventRemoveContext.d.ts.map +1 -0
- package/lib/typescript/src/useRegisterNavigator.d.ts.map +1 -0
- package/lib/typescript/src/useRoute.d.ts.map +1 -0
- package/lib/typescript/src/useRouteCache.d.ts.map +1 -0
- package/lib/typescript/src/useScheduleUpdate.d.ts.map +1 -0
- package/lib/typescript/src/useStateForPath.d.ts.map +1 -0
- package/lib/typescript/src/useSyncState.d.ts.map +1 -0
- package/lib/typescript/src/validatePathConfig.d.ts.map +1 -0
- package/package.json +10 -24
- package/src/getPathFromState.tsx +22 -5
- package/lib/typescript/commonjs/package.json +0 -1
- package/lib/typescript/commonjs/src/BaseNavigationContainer.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/CurrentRenderContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/DeprecatedNavigationInChildContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/EnsureSingleNavigator.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/Group.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/NavigationBuilderContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/NavigationContainerRefContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/NavigationContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/NavigationFocusedRouteStateContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/NavigationHelpersContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/NavigationIndependentTree.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/NavigationIndependentTreeContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/NavigationRouteContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/NavigationStateContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/PreventRemoveContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/PreventRemoveProvider.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/SceneView.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/Screen.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/StaticContainer.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/StaticNavigation.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/UnhandledActionContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/arrayStartsWith.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/checkDuplicateRouteNames.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/checkSerializable.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/createNavigationContainerRef.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/createNavigatorFactory.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/deepFreeze.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/findFocusedRoute.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/getActionFromState.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/getFocusedRouteNameFromRoute.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/getPathFromState.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/getPatternParts.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/getStateFromPath.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/isArrayEqual.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/isRecordEqual.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/theming/ThemeContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/theming/ThemeProvider.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/theming/useTheme.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useChildListeners.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useCurrentRender.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useDescriptors.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useEventEmitter.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useFocusEffect.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useFocusEvents.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useFocusedListenersChildrenAdapter.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useIsFocused.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useIsomorphicLayoutEffect.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useIsomorphicLayoutEffect.native.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useKeyedChildListeners.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useLazyValue.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useNavigation.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useNavigationBuilder.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useNavigationCache.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useNavigationContainerRef.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useNavigationHelpers.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useNavigationIndependentTree.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useNavigationState.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useOnAction.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useOnGetState.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useOnPreventRemove.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useOnRouteFocus.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useOptionsGetters.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/usePreventRemove.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/usePreventRemoveContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useRegisterNavigator.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useRoute.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useRouteCache.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useScheduleUpdate.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useStateForPath.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/useSyncState.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/validatePathConfig.d.ts.map +0 -1
- package/lib/typescript/module/src/BaseNavigationContainer.d.ts +0 -17
- package/lib/typescript/module/src/BaseNavigationContainer.d.ts.map +0 -1
- package/lib/typescript/module/src/CurrentRenderContext.d.ts +0 -9
- package/lib/typescript/module/src/CurrentRenderContext.d.ts.map +0 -1
- package/lib/typescript/module/src/DeprecatedNavigationInChildContext.d.ts +0 -6
- package/lib/typescript/module/src/DeprecatedNavigationInChildContext.d.ts.map +0 -1
- package/lib/typescript/module/src/EnsureSingleNavigator.d.ts +0 -14
- package/lib/typescript/module/src/EnsureSingleNavigator.d.ts.map +0 -1
- package/lib/typescript/module/src/Group.d.ts +0 -7
- package/lib/typescript/module/src/Group.d.ts.map +0 -1
- package/lib/typescript/module/src/NavigationBuilderContext.d.ts +0 -36
- package/lib/typescript/module/src/NavigationBuilderContext.d.ts.map +0 -1
- package/lib/typescript/module/src/NavigationContainerRefContext.d.ts +0 -8
- package/lib/typescript/module/src/NavigationContainerRefContext.d.ts.map +0 -1
- package/lib/typescript/module/src/NavigationContext.d.ts +0 -8
- package/lib/typescript/module/src/NavigationContext.d.ts.map +0 -1
- package/lib/typescript/module/src/NavigationFocusedRouteStateContext.d.ts +0 -17
- package/lib/typescript/module/src/NavigationFocusedRouteStateContext.d.ts.map +0 -1
- package/lib/typescript/module/src/NavigationHelpersContext.d.ts +0 -9
- package/lib/typescript/module/src/NavigationHelpersContext.d.ts.map +0 -1
- package/lib/typescript/module/src/NavigationIndependentTree.d.ts +0 -8
- package/lib/typescript/module/src/NavigationIndependentTree.d.ts.map +0 -1
- package/lib/typescript/module/src/NavigationIndependentTreeContext.d.ts +0 -6
- package/lib/typescript/module/src/NavigationIndependentTreeContext.d.ts.map +0 -1
- package/lib/typescript/module/src/NavigationRouteContext.d.ts +0 -7
- package/lib/typescript/module/src/NavigationRouteContext.d.ts.map +0 -1
- package/lib/typescript/module/src/NavigationStateContext.d.ts +0 -13
- package/lib/typescript/module/src/NavigationStateContext.d.ts.map +0 -1
- package/lib/typescript/module/src/PreventRemoveContext.d.ts +0 -13
- package/lib/typescript/module/src/PreventRemoveContext.d.ts.map +0 -1
- package/lib/typescript/module/src/PreventRemoveProvider.d.ts +0 -10
- package/lib/typescript/module/src/PreventRemoveProvider.d.ts.map +0 -1
- package/lib/typescript/module/src/SceneView.d.ts +0 -21
- package/lib/typescript/module/src/SceneView.d.ts.map +0 -1
- package/lib/typescript/module/src/Screen.d.ts +0 -7
- package/lib/typescript/module/src/Screen.d.ts.map +0 -1
- package/lib/typescript/module/src/StaticContainer.d.ts +0 -6
- package/lib/typescript/module/src/StaticContainer.d.ts.map +0 -1
- package/lib/typescript/module/src/StaticNavigation.d.ts +0 -188
- package/lib/typescript/module/src/StaticNavigation.d.ts.map +0 -1
- package/lib/typescript/module/src/UnhandledActionContext.d.ts +0 -4
- package/lib/typescript/module/src/UnhandledActionContext.d.ts.map +0 -1
- package/lib/typescript/module/src/arrayStartsWith.d.ts +0 -5
- package/lib/typescript/module/src/arrayStartsWith.d.ts.map +0 -1
- package/lib/typescript/module/src/checkDuplicateRouteNames.d.ts +0 -3
- package/lib/typescript/module/src/checkDuplicateRouteNames.d.ts.map +0 -1
- package/lib/typescript/module/src/checkSerializable.d.ts +0 -10
- package/lib/typescript/module/src/checkSerializable.d.ts.map +0 -1
- package/lib/typescript/module/src/createNavigationContainerRef.d.ts +0 -4
- package/lib/typescript/module/src/createNavigationContainerRef.d.ts.map +0 -1
- package/lib/typescript/module/src/createNavigatorFactory.d.ts +0 -10
- package/lib/typescript/module/src/createNavigatorFactory.d.ts.map +0 -1
- package/lib/typescript/module/src/deepFreeze.d.ts +0 -3
- package/lib/typescript/module/src/deepFreeze.d.ts.map +0 -1
- package/lib/typescript/module/src/findFocusedRoute.d.ts +0 -10
- package/lib/typescript/module/src/findFocusedRoute.d.ts.map +0 -1
- package/lib/typescript/module/src/getActionFromState.d.ts +0 -17
- package/lib/typescript/module/src/getActionFromState.d.ts.map +0 -1
- package/lib/typescript/module/src/getFocusedRouteNameFromRoute.d.ts +0 -3
- package/lib/typescript/module/src/getFocusedRouteNameFromRoute.d.ts.map +0 -1
- package/lib/typescript/module/src/getPathFromState.d.ts +0 -40
- package/lib/typescript/module/src/getPathFromState.d.ts.map +0 -1
- package/lib/typescript/module/src/getPatternParts.d.ts +0 -11
- package/lib/typescript/module/src/getPatternParts.d.ts.map +0 -1
- package/lib/typescript/module/src/getStateFromPath.d.ts +0 -34
- package/lib/typescript/module/src/getStateFromPath.d.ts.map +0 -1
- package/lib/typescript/module/src/index.d.ts +0 -35
- package/lib/typescript/module/src/index.d.ts.map +0 -1
- package/lib/typescript/module/src/isArrayEqual.d.ts +0 -6
- package/lib/typescript/module/src/isArrayEqual.d.ts.map +0 -1
- package/lib/typescript/module/src/isRecordEqual.d.ts +0 -5
- package/lib/typescript/module/src/isRecordEqual.d.ts.map +0 -1
- package/lib/typescript/module/src/theming/ThemeContext.d.ts +0 -3
- package/lib/typescript/module/src/theming/ThemeContext.d.ts.map +0 -1
- package/lib/typescript/module/src/theming/ThemeProvider.d.ts +0 -8
- package/lib/typescript/module/src/theming/ThemeProvider.d.ts.map +0 -1
- package/lib/typescript/module/src/theming/useTheme.d.ts +0 -2
- package/lib/typescript/module/src/theming/useTheme.d.ts.map +0 -1
- package/lib/typescript/module/src/types.d.ts +0 -732
- package/lib/typescript/module/src/types.d.ts.map +0 -1
- package/lib/typescript/module/src/useChildListeners.d.ts +0 -12
- package/lib/typescript/module/src/useChildListeners.d.ts.map +0 -1
- package/lib/typescript/module/src/useComponent.d.ts +0 -7
- package/lib/typescript/module/src/useComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/useCurrentRender.d.ts +0 -14
- package/lib/typescript/module/src/useCurrentRender.d.ts.map +0 -1
- package/lib/typescript/module/src/useDescriptors.d.ts +0 -141
- package/lib/typescript/module/src/useDescriptors.d.ts.map +0 -1
- package/lib/typescript/module/src/useEventEmitter.d.ts +0 -9
- package/lib/typescript/module/src/useEventEmitter.d.ts.map +0 -1
- package/lib/typescript/module/src/useFocusEffect.d.ts +0 -11
- package/lib/typescript/module/src/useFocusEffect.d.ts.map +0 -1
- package/lib/typescript/module/src/useFocusEvents.d.ts +0 -13
- package/lib/typescript/module/src/useFocusEvents.d.ts.map +0 -1
- package/lib/typescript/module/src/useFocusedListenersChildrenAdapter.d.ts +0 -13
- package/lib/typescript/module/src/useFocusedListenersChildrenAdapter.d.ts.map +0 -1
- package/lib/typescript/module/src/useIsFocused.d.ts +0 -6
- package/lib/typescript/module/src/useIsFocused.d.ts.map +0 -1
- package/lib/typescript/module/src/useIsomorphicLayoutEffect.d.ts +0 -6
- package/lib/typescript/module/src/useIsomorphicLayoutEffect.d.ts.map +0 -1
- package/lib/typescript/module/src/useIsomorphicLayoutEffect.native.d.ts +0 -3
- package/lib/typescript/module/src/useIsomorphicLayoutEffect.native.d.ts.map +0 -1
- package/lib/typescript/module/src/useKeyedChildListeners.d.ts +0 -12
- package/lib/typescript/module/src/useKeyedChildListeners.d.ts.map +0 -1
- package/lib/typescript/module/src/useLazyValue.d.ts +0 -2
- package/lib/typescript/module/src/useLazyValue.d.ts.map +0 -1
- package/lib/typescript/module/src/useNavigation.d.ts +0 -11
- package/lib/typescript/module/src/useNavigation.d.ts.map +0 -1
- package/lib/typescript/module/src/useNavigationBuilder.d.ts +0 -193
- package/lib/typescript/module/src/useNavigationBuilder.d.ts.map +0 -1
- package/lib/typescript/module/src/useNavigationCache.d.ts +0 -69
- package/lib/typescript/module/src/useNavigationCache.d.ts.map +0 -1
- package/lib/typescript/module/src/useNavigationContainerRef.d.ts +0 -3
- package/lib/typescript/module/src/useNavigationContainerRef.d.ts.map +0 -1
- package/lib/typescript/module/src/useNavigationHelpers.d.ts +0 -102
- package/lib/typescript/module/src/useNavigationHelpers.d.ts.map +0 -1
- package/lib/typescript/module/src/useNavigationIndependentTree.d.ts +0 -2
- package/lib/typescript/module/src/useNavigationIndependentTree.d.ts.map +0 -1
- package/lib/typescript/module/src/useNavigationState.d.ts +0 -10
- package/lib/typescript/module/src/useNavigationState.d.ts.map +0 -1
- package/lib/typescript/module/src/useOnAction.d.ts +0 -26
- package/lib/typescript/module/src/useOnAction.d.ts.map +0 -1
- package/lib/typescript/module/src/useOnGetState.d.ts +0 -9
- package/lib/typescript/module/src/useOnGetState.d.ts.map +0 -1
- package/lib/typescript/module/src/useOnPreventRemove.d.ts +0 -17
- package/lib/typescript/module/src/useOnPreventRemove.d.ts.map +0 -1
- package/lib/typescript/module/src/useOnRouteFocus.d.ts +0 -15
- package/lib/typescript/module/src/useOnRouteFocus.d.ts.map +0 -1
- package/lib/typescript/module/src/useOptionsGetters.d.ts +0 -13
- package/lib/typescript/module/src/useOptionsGetters.d.ts.map +0 -1
- package/lib/typescript/module/src/usePreventRemove.d.ts +0 -13
- package/lib/typescript/module/src/usePreventRemove.d.ts.map +0 -1
- package/lib/typescript/module/src/usePreventRemoveContext.d.ts +0 -5
- package/lib/typescript/module/src/usePreventRemoveContext.d.ts.map +0 -1
- package/lib/typescript/module/src/useRegisterNavigator.d.ts +0 -6
- package/lib/typescript/module/src/useRegisterNavigator.d.ts.map +0 -1
- package/lib/typescript/module/src/useRoute.d.ts +0 -9
- package/lib/typescript/module/src/useRoute.d.ts.map +0 -1
- package/lib/typescript/module/src/useRouteCache.d.ts +0 -14
- package/lib/typescript/module/src/useRouteCache.d.ts.map +0 -1
- package/lib/typescript/module/src/useScheduleUpdate.d.ts +0 -9
- package/lib/typescript/module/src/useScheduleUpdate.d.ts.map +0 -1
- package/lib/typescript/module/src/useStateForPath.d.ts +0 -8
- package/lib/typescript/module/src/useStateForPath.d.ts.map +0 -1
- package/lib/typescript/module/src/useSyncState.d.ts +0 -8
- package/lib/typescript/module/src/useSyncState.d.ts.map +0 -1
- package/lib/typescript/module/src/validatePathConfig.d.ts +0 -2
- package/lib/typescript/module/src/validatePathConfig.d.ts.map +0 -1
- /package/lib/typescript/{module/package.json → package.json} +0 -0
- /package/lib/typescript/{commonjs/src → src}/BaseNavigationContainer.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/CurrentRenderContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/DeprecatedNavigationInChildContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/EnsureSingleNavigator.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/Group.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/NavigationBuilderContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/NavigationContainerRefContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/NavigationContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/NavigationFocusedRouteStateContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/NavigationHelpersContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/NavigationIndependentTree.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/NavigationIndependentTreeContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/NavigationRouteContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/NavigationStateContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/PreventRemoveContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/PreventRemoveProvider.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/SceneView.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/Screen.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/StaticContainer.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/StaticNavigation.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/UnhandledActionContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/arrayStartsWith.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/checkDuplicateRouteNames.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/checkSerializable.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/createNavigationContainerRef.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/createNavigatorFactory.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/deepFreeze.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/findFocusedRoute.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/getActionFromState.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/getFocusedRouteNameFromRoute.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/getPathFromState.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/getPatternParts.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/getStateFromPath.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/isArrayEqual.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/isRecordEqual.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/theming/ThemeContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/theming/ThemeProvider.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/theming/useTheme.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/types.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useChildListeners.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useComponent.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useCurrentRender.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useDescriptors.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useEventEmitter.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useFocusEffect.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useFocusEvents.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useFocusedListenersChildrenAdapter.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useIsFocused.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useIsomorphicLayoutEffect.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useIsomorphicLayoutEffect.native.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useKeyedChildListeners.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useLazyValue.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useNavigation.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useNavigationBuilder.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useNavigationCache.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useNavigationContainerRef.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useNavigationHelpers.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useNavigationIndependentTree.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useNavigationState.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useOnAction.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useOnGetState.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useOnPreventRemove.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useOnRouteFocus.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useOptionsGetters.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/usePreventRemove.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/usePreventRemoveContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useRegisterNavigator.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useRoute.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useRouteCache.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useScheduleUpdate.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useStateForPath.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/useSyncState.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/validatePathConfig.d.ts +0 -0
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { NavigationAction, NavigationState, ParamListBase } from '@react-navigation/routers';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import type { NavigationHelpers } from './types';
|
|
4
|
-
export type ListenerMap = {
|
|
5
|
-
action: ChildActionListener;
|
|
6
|
-
focus: FocusedNavigationListener;
|
|
7
|
-
};
|
|
8
|
-
export type KeyedListenerMap = {
|
|
9
|
-
getState: GetStateListener;
|
|
10
|
-
beforeRemove: ChildBeforeRemoveListener;
|
|
11
|
-
};
|
|
12
|
-
export type AddListener = <T extends keyof ListenerMap>(type: T, listener: ListenerMap[T]) => void;
|
|
13
|
-
export type AddKeyedListener = <T extends keyof KeyedListenerMap>(type: T, key: string, listener: KeyedListenerMap[T]) => void;
|
|
14
|
-
export type ChildActionListener = (action: NavigationAction, visitedNavigators?: Set<string>) => boolean;
|
|
15
|
-
export type FocusedNavigationCallback<T> = (navigation: NavigationHelpers<ParamListBase>) => T;
|
|
16
|
-
export type FocusedNavigationListener = <T>(callback: FocusedNavigationCallback<T>) => {
|
|
17
|
-
handled: boolean;
|
|
18
|
-
result: T;
|
|
19
|
-
};
|
|
20
|
-
export type GetStateListener = () => NavigationState;
|
|
21
|
-
export type ChildBeforeRemoveListener = (action: NavigationAction) => boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Context which holds the required helpers needed to build nested navigators.
|
|
24
|
-
*/
|
|
25
|
-
export declare const NavigationBuilderContext: React.Context<{
|
|
26
|
-
onAction?: (action: NavigationAction, visitedNavigators?: Set<string>) => boolean;
|
|
27
|
-
addListener?: AddListener;
|
|
28
|
-
addKeyedListener?: AddKeyedListener;
|
|
29
|
-
onRouteFocus?: (key: string) => void;
|
|
30
|
-
onDispatchAction: (action: NavigationAction, noop: boolean) => void;
|
|
31
|
-
onOptionsChange: (options: object) => void;
|
|
32
|
-
scheduleUpdate: (callback: () => void) => void;
|
|
33
|
-
flushUpdates: () => void;
|
|
34
|
-
stackRef?: React.MutableRefObject<string | undefined>;
|
|
35
|
-
}>;
|
|
36
|
-
//# sourceMappingURL=NavigationBuilderContext.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationBuilderContext.d.ts","sourceRoot":"","sources":["../../../../src/NavigationBuilderContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,eAAe,EACf,aAAa,EACd,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,EAAE,mBAAmB,CAAC;IAC5B,KAAK,EAAE,yBAAyB,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,YAAY,EAAE,yBAAyB,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,SAAS,MAAM,WAAW,EACpD,IAAI,EAAE,CAAC,EACP,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC,KACrB,IAAI,CAAC;AAEV,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,SAAS,MAAM,gBAAgB,EAC9D,IAAI,EAAE,CAAC,EACP,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,gBAAgB,CAAC,CAAC,CAAC,KAC1B,IAAI,CAAC;AAEV,MAAM,MAAM,mBAAmB,GAAG,CAChC,MAAM,EAAE,gBAAgB,EACxB,iBAAiB,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,KAC5B,OAAO,CAAC;AAEb,MAAM,MAAM,yBAAyB,CAAC,CAAC,IAAI,CACzC,UAAU,EAAE,iBAAiB,CAAC,aAAa,CAAC,KACzC,CAAC,CAAC;AAEP,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,EACxC,QAAQ,EAAE,yBAAyB,CAAC,CAAC,CAAC,KACnC;IACH,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,CAAC,CAAC;CACX,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,MAAM,eAAe,CAAC;AAErD,MAAM,MAAM,yBAAyB,GAAG,CAAC,MAAM,EAAE,gBAAgB,KAAK,OAAO,CAAC;AAE9E;;GAEG;AACH,eAAO,MAAM,wBAAwB;eACxB,CACT,MAAM,EAAE,gBAAgB,EACxB,iBAAiB,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,KAC5B,OAAO;kBACE,WAAW;uBACN,gBAAgB;mBACpB,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI;sBAClB,CAAC,MAAM,EAAE,gBAAgB,EAAE,IAAI,EAAE,OAAO,KAAK,IAAI;qBAClD,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI;oBAC1B,CAAC,QAAQ,EAAE,MAAM,IAAI,KAAK,IAAI;kBAChC,MAAM,IAAI;eACb,KAAK,CAAC,gBAAgB,CAAC,MAAM,GAAG,SAAS,CAAC;EAUrD,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ParamListBase } from '@react-navigation/routers';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import type { NavigationContainerRef } from './types';
|
|
4
|
-
/**
|
|
5
|
-
* Context which holds the route prop for a screen.
|
|
6
|
-
*/
|
|
7
|
-
export declare const NavigationContainerRefContext: React.Context<NavigationContainerRef<ParamListBase> | undefined>;
|
|
8
|
-
//# sourceMappingURL=NavigationContainerRefContext.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationContainerRefContext.d.ts","sourceRoot":"","sources":["../../../../src/NavigationContainerRefContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,6BAA6B,kEAE9B,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ParamListBase } from '@react-navigation/routers';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import type { NavigationProp } from './types';
|
|
4
|
-
/**
|
|
5
|
-
* Context which holds the navigation prop for a screen.
|
|
6
|
-
*/
|
|
7
|
-
export declare const NavigationContext: React.Context<NavigationProp<ParamListBase> | undefined>;
|
|
8
|
-
//# sourceMappingURL=NavigationContext.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationContext.d.ts","sourceRoot":"","sources":["../../../../src/NavigationContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,iBAAiB,0DAElB,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export type FocusedRouteState = {
|
|
3
|
-
routes: [
|
|
4
|
-
{
|
|
5
|
-
key?: string;
|
|
6
|
-
name: string;
|
|
7
|
-
params?: object;
|
|
8
|
-
path?: string;
|
|
9
|
-
state?: FocusedRouteState;
|
|
10
|
-
}
|
|
11
|
-
];
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* Context for the parent route of a navigator.
|
|
15
|
-
*/
|
|
16
|
-
export declare const NavigationFocusedRouteStateContext: React.Context<FocusedRouteState | undefined>;
|
|
17
|
-
//# sourceMappingURL=NavigationFocusedRouteStateContext.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationFocusedRouteStateContext.d.ts","sourceRoot":"","sources":["../../../../src/NavigationFocusedRouteStateContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE;QACN;YACE,GAAG,CAAC,EAAE,MAAM,CAAC;YACb,IAAI,EAAE,MAAM,CAAC;YACb,MAAM,CAAC,EAAE,MAAM,CAAC;YAChB,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,KAAK,CAAC,EAAE,iBAAiB,CAAC;SAC3B;KACF,CAAC;CACH,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kCAAkC,8CAEnC,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { ParamListBase } from '@react-navigation/routers';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import type { NavigationHelpers } from './types';
|
|
4
|
-
/**
|
|
5
|
-
* Context which holds the navigation helpers of the parent navigator.
|
|
6
|
-
* Navigators should use this context in their view component.
|
|
7
|
-
*/
|
|
8
|
-
export declare const NavigationHelpersContext: React.Context<NavigationHelpers<ParamListBase> | undefined>;
|
|
9
|
-
//# sourceMappingURL=NavigationHelpersContext.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationHelpersContext.d.ts","sourceRoot":"","sources":["../../../../src/NavigationHelpersContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD;;;GAGG;AACH,eAAO,MAAM,wBAAwB,6DAEzB,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Component to make the child navigation container independent of parent containers.
|
|
4
|
-
*/
|
|
5
|
-
export declare function NavigationIndependentTree({ children, }: {
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
//# sourceMappingURL=NavigationIndependentTree.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationIndependentTree.d.ts","sourceRoot":"","sources":["../../../../src/NavigationIndependentTree.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,EACxC,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,2CAWA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationIndependentTreeContext.d.ts","sourceRoot":"","sources":["../../../../src/NavigationIndependentTreeContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;GAEG;AACH,eAAO,MAAM,gCAAgC,wBAA6B,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Route } from '@react-navigation/routers';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
/**
|
|
4
|
-
* Context which holds the route prop for a screen.
|
|
5
|
-
*/
|
|
6
|
-
export declare const NavigationRouteContext: React.Context<Route<string> | undefined>;
|
|
7
|
-
//# sourceMappingURL=NavigationRouteContext.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationRouteContext.d.ts","sourceRoot":"","sources":["../../../../src/NavigationRouteContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;GAEG;AACH,eAAO,MAAM,sBAAsB,0CAEvB,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { NavigationState, PartialState } from '@react-navigation/routers';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
export declare const NavigationStateContext: React.Context<{
|
|
4
|
-
isDefault?: true;
|
|
5
|
-
state?: NavigationState | PartialState<NavigationState>;
|
|
6
|
-
getKey: () => string | undefined;
|
|
7
|
-
setKey: (key: string) => void;
|
|
8
|
-
getState: () => NavigationState | PartialState<NavigationState> | undefined;
|
|
9
|
-
setState: (state: NavigationState | PartialState<NavigationState> | undefined) => void;
|
|
10
|
-
getIsInitial: () => boolean;
|
|
11
|
-
addOptionsGetter?: (key: string, getter: () => object | undefined | null) => void;
|
|
12
|
-
}>;
|
|
13
|
-
//# sourceMappingURL=NavigationStateContext.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationStateContext.d.ts","sourceRoot":"","sources":["../../../../src/NavigationStateContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,eAAO,MAAM,sBAAsB;gBACrB,IAAI;YACR,eAAe,GAAG,YAAY,CAAC,eAAe,CAAC;YAC/C,MAAM,MAAM,GAAG,SAAS;YACxB,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI;cACnB,MAAM,eAAe,GAAG,YAAY,CAAC,eAAe,CAAC,GAAG,SAAS;cACjE,CACR,KAAK,EAAE,eAAe,GAAG,YAAY,CAAC,eAAe,CAAC,GAAG,SAAS,KAC/D,IAAI;kBACK,MAAM,OAAO;uBACR,CACjB,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,MAAM,MAAM,GAAG,SAAS,GAAG,IAAI,KACpC,IAAI;EAmBT,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* A type of an object that have a route key as an object key
|
|
4
|
-
* and a value whether to prevent that route.
|
|
5
|
-
*/
|
|
6
|
-
export type PreventedRoutes = Record<string, {
|
|
7
|
-
preventRemove: boolean;
|
|
8
|
-
}>;
|
|
9
|
-
export declare const PreventRemoveContext: React.Context<{
|
|
10
|
-
preventedRoutes: PreventedRoutes;
|
|
11
|
-
setPreventRemove: (id: string, routeKey: string, preventRemove: boolean) => void;
|
|
12
|
-
} | undefined>;
|
|
13
|
-
//# sourceMappingURL=PreventRemoveContext.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PreventRemoveContext.d.ts","sourceRoot":"","sources":["../../../../src/PreventRemoveContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE;IAAE,aAAa,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC;AAEzE,eAAO,MAAM,oBAAoB;qBAEV,eAAe;sBACd,CAChB,EAAE,EAAE,MAAM,EACV,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,OAAO,KACnB,IAAI;cAGH,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* Component used for managing which routes have to be prevented from removal in native-stack.
|
|
7
|
-
*/
|
|
8
|
-
export declare function PreventRemoveProvider({ children }: Props): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=PreventRemoveProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PreventRemoveProvider.d.ts","sourceRoot":"","sources":["../../../../src/PreventRemoveProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AA+BF;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,EAAE,QAAQ,EAAE,EAAE,KAAK,2CAiFxD"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { NavigationState, ParamListBase, PartialState, Route } from '@react-navigation/routers';
|
|
2
|
-
import type { NavigationProp, RouteConfigComponent } from './types';
|
|
3
|
-
type Props<State extends NavigationState, ScreenOptions extends {}> = {
|
|
4
|
-
screen: RouteConfigComponent<ParamListBase, string> & {
|
|
5
|
-
name: string;
|
|
6
|
-
};
|
|
7
|
-
navigation: NavigationProp<ParamListBase, string, string | undefined, State, ScreenOptions>;
|
|
8
|
-
route: Route<string>;
|
|
9
|
-
routeState: NavigationState | PartialState<NavigationState> | undefined;
|
|
10
|
-
getState: () => State;
|
|
11
|
-
setState: (state: State) => void;
|
|
12
|
-
options: object;
|
|
13
|
-
clearOptions: () => void;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* Component which takes care of rendering the screen for a route.
|
|
17
|
-
* It provides all required contexts and applies optimizations when applicable.
|
|
18
|
-
*/
|
|
19
|
-
export declare function SceneView<State extends NavigationState, ScreenOptions extends {}>({ screen, route, navigation, routeState, getState, setState, options, clearOptions, }: Props<State, ScreenOptions>): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export {};
|
|
21
|
-
//# sourceMappingURL=SceneView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SceneView.d.ts","sourceRoot":"","sources":["../../../../src/SceneView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,aAAa,EACb,YAAY,EACZ,KAAK,EACN,MAAM,2BAA2B,CAAC;AAUnC,OAAO,KAAK,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAGpE,KAAK,KAAK,CAAC,KAAK,SAAS,eAAe,EAAE,aAAa,SAAS,EAAE,IAAI;IACpE,MAAM,EAAE,oBAAoB,CAAC,aAAa,EAAE,MAAM,CAAC,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IACvE,UAAU,EAAE,cAAc,CACxB,aAAa,EACb,MAAM,EACN,MAAM,GAAG,SAAS,EAClB,KAAK,EACL,aAAa,CACd,CAAC;IACF,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB,UAAU,EAAE,eAAe,GAAG,YAAY,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC;IACxE,QAAQ,EAAE,MAAM,KAAK,CAAC;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAEF;;;GAGG;AACH,wBAAgB,SAAS,CACvB,KAAK,SAAS,eAAe,EAC7B,aAAa,SAAS,EAAE,EACxB,EACA,MAAM,EACN,KAAK,EACL,UAAU,EACV,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,YAAY,GACb,EAAE,KAAK,CAAC,KAAK,EAAE,aAAa,CAAC,2CAuK7B"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { NavigationState, ParamListBase } from '@react-navigation/routers';
|
|
2
|
-
import type { EventMapBase, RouteConfig } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* Empty component used for specifying route configuration.
|
|
5
|
-
*/
|
|
6
|
-
export declare function Screen<ParamList extends ParamListBase, RouteName extends keyof ParamList, State extends NavigationState, ScreenOptions extends {}, EventMap extends EventMapBase, NavigationProp>(_: RouteConfig<ParamList, RouteName, State, ScreenOptions, EventMap, NavigationProp>): null;
|
|
7
|
-
//# sourceMappingURL=Screen.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Screen.d.ts","sourceRoot":"","sources":["../../../../src/Screen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAEhF,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEzD;;GAEG;AACH,wBAAgB,MAAM,CACpB,SAAS,SAAS,aAAa,EAC/B,SAAS,SAAS,MAAM,SAAS,EACjC,KAAK,SAAS,eAAe,EAC7B,aAAa,SAAS,EAAE,EACxB,QAAQ,SAAS,YAAY,EAC7B,cAAc,EAEd,CAAC,EAAE,WAAW,CACZ,SAAS,EACT,SAAS,EACT,KAAK,EACL,aAAa,EACb,QAAQ,EACR,cAAc,CACf,QAIF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StaticContainer.d.ts","sourceRoot":"","sources":["../../../../src/StaticContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;GAEG;AACH,eAAO,MAAM,eAAe,iCAwB3B,CAAC"}
|
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import type { NavigationState, ParamListBase } from '@react-navigation/routers';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import type { DefaultNavigatorOptions, EventMapBase, NavigationListBase, NavigatorScreenParams, NavigatorTypeBagBase, PathConfig, RouteConfigComponent, RouteConfigProps, RouteGroupConfig } from './types';
|
|
4
|
-
/**
|
|
5
|
-
* Flatten a type to remove all type alias names, unions etc.
|
|
6
|
-
* This will show a plain object when hovering over the type.
|
|
7
|
-
*/
|
|
8
|
-
type FlatType<T> = {
|
|
9
|
-
[K in keyof T]: T[K];
|
|
10
|
-
} & {};
|
|
11
|
-
/**
|
|
12
|
-
* keyof T doesn't work for union types. We can use distributive conditional types instead.
|
|
13
|
-
* https://www.typescriptlang.org/docs/handbook/2/conditional-types.html#distributive-conditional-types
|
|
14
|
-
*/
|
|
15
|
-
type KeysOf<T> = T extends {} ? keyof T : never;
|
|
16
|
-
/**
|
|
17
|
-
* We get a union type when using keyof, but we want an intersection instead.
|
|
18
|
-
* https://stackoverflow.com/a/50375286/1665026
|
|
19
|
-
*/
|
|
20
|
-
type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
|
|
21
|
-
type UnknownToUndefined<T> = unknown extends T ? undefined : T;
|
|
22
|
-
type ParamsForScreenComponent<T> = T extends {
|
|
23
|
-
screen: React.ComponentType<{
|
|
24
|
-
route: {
|
|
25
|
-
params: infer P;
|
|
26
|
-
};
|
|
27
|
-
}>;
|
|
28
|
-
} ? P : T extends React.ComponentType<{
|
|
29
|
-
route: {
|
|
30
|
-
params: infer P;
|
|
31
|
-
};
|
|
32
|
-
}> ? P : undefined;
|
|
33
|
-
type ParamsForScreen<T> = T extends {
|
|
34
|
-
screen: StaticNavigation<any, any, any>;
|
|
35
|
-
} ? NavigatorScreenParams<StaticParamList<T['screen']>> | undefined : T extends StaticNavigation<any, any, any> ? NavigatorScreenParams<StaticParamList<T>> | undefined : UnknownToUndefined<ParamsForScreenComponent<T>>;
|
|
36
|
-
type ParamListForScreens<Screens> = {
|
|
37
|
-
[Key in KeysOf<Screens>]: ParamsForScreen<Screens[Key]>;
|
|
38
|
-
};
|
|
39
|
-
type ParamListForGroups<Groups extends Readonly<{
|
|
40
|
-
[key: string]: {
|
|
41
|
-
screens: StaticConfigScreens<ParamListBase, NavigationState, {}, EventMapBase, any>;
|
|
42
|
-
};
|
|
43
|
-
}> | undefined> = Groups extends {
|
|
44
|
-
[key: string]: {
|
|
45
|
-
screens: StaticConfigScreens<ParamListBase, NavigationState, {}, EventMapBase, any>;
|
|
46
|
-
};
|
|
47
|
-
} ? ParamListForScreens<UnionToIntersection<Groups[keyof Groups]['screens']>> : {};
|
|
48
|
-
type StaticRouteConfig<ParamList extends ParamListBase, RouteName extends keyof ParamList, State extends NavigationState, ScreenOptions extends {}, EventMap extends EventMapBase, Navigation> = RouteConfigProps<ParamList, RouteName, State, ScreenOptions, EventMap, Navigation> & RouteConfigComponent<ParamList, RouteName>;
|
|
49
|
-
type StaticConfigScreens<ParamList extends ParamListBase, State extends NavigationState, ScreenOptions extends {}, EventMap extends EventMapBase, NavigationList extends NavigationListBase<ParamList>> = {
|
|
50
|
-
[RouteName in keyof ParamList]: React.ComponentType<any> | StaticNavigation<any, any, any> | (Omit<StaticRouteConfig<ParamList, RouteName, State, ScreenOptions, EventMap, NavigationList[RouteName]>, 'name' | 'component' | 'getComponent' | 'children'> & {
|
|
51
|
-
/**
|
|
52
|
-
* Callback to determine whether the screen should be rendered or not.
|
|
53
|
-
* This can be useful for conditional rendering of screens,
|
|
54
|
-
* e.g. - if you want to render a different screen for logged in users.
|
|
55
|
-
*
|
|
56
|
-
* You can use a custom hook to use custom logic to determine the return value.
|
|
57
|
-
*
|
|
58
|
-
* @example
|
|
59
|
-
* ```js
|
|
60
|
-
* if: useIsLoggedIn
|
|
61
|
-
* ```
|
|
62
|
-
*/
|
|
63
|
-
if?: () => boolean;
|
|
64
|
-
/**
|
|
65
|
-
* Linking config for the screen.
|
|
66
|
-
* This can be a string to specify the path, or an object with more options.
|
|
67
|
-
*
|
|
68
|
-
* @example
|
|
69
|
-
* ```js
|
|
70
|
-
* linking: {
|
|
71
|
-
* path: 'profile/:id',
|
|
72
|
-
* exact: true,
|
|
73
|
-
* },
|
|
74
|
-
* ```
|
|
75
|
-
*/
|
|
76
|
-
linking?: PathConfig<ParamList> | string;
|
|
77
|
-
/**
|
|
78
|
-
* Static navigation config or Component to render for the screen.
|
|
79
|
-
*/
|
|
80
|
-
screen: StaticNavigation<any, any, any> | React.ComponentType<any>;
|
|
81
|
-
});
|
|
82
|
-
};
|
|
83
|
-
type GroupConfig<ParamList extends ParamListBase, State extends NavigationState, ScreenOptions extends {}, EventMap extends EventMapBase, NavigationList extends NavigationListBase<ParamList>> = Omit<RouteGroupConfig<ParamList, ScreenOptions, NavigationList[keyof ParamList]>, 'screens' | 'children'> & {
|
|
84
|
-
/**
|
|
85
|
-
* Callback to determine whether the screens in the group should be rendered or not.
|
|
86
|
-
* This can be useful for conditional rendering of group of screens.
|
|
87
|
-
*/
|
|
88
|
-
if?: () => boolean;
|
|
89
|
-
/**
|
|
90
|
-
* Static navigation config or Component to render for the screen.
|
|
91
|
-
*/
|
|
92
|
-
screens: StaticConfigScreens<ParamList, State, ScreenOptions, EventMap, NavigationList>;
|
|
93
|
-
};
|
|
94
|
-
export type StaticConfig<Bag extends NavigatorTypeBagBase> = StaticConfigInternal<Bag['ParamList'], Bag['NavigatorID'], Bag['State'], Bag['ScreenOptions'], Bag['EventMap'], Bag['NavigationList'], Bag['Navigator']>;
|
|
95
|
-
type StaticConfigInternal<ParamList extends ParamListBase, NavigatorID extends string | undefined, State extends NavigationState, ScreenOptions extends {}, EventMap extends EventMapBase, NavigationList extends NavigationListBase<ParamList>, Navigator extends React.ComponentType<any>> = Omit<Omit<React.ComponentProps<Navigator>, keyof DefaultNavigatorOptions<ParamListBase, string | undefined, NavigationState, {}, EventMapBase, NavigationList[keyof ParamList]>> & DefaultNavigatorOptions<ParamList, NavigatorID, State, ScreenOptions, EventMap, NavigationList[keyof ParamList]>, 'screens' | 'children'> & ({
|
|
96
|
-
/**
|
|
97
|
-
* Screens to render in the navigator and their configuration.
|
|
98
|
-
*/
|
|
99
|
-
screens: StaticConfigScreens<ParamList, State, ScreenOptions, EventMap, NavigationList>;
|
|
100
|
-
/**
|
|
101
|
-
* Groups of screens to render in the navigator and their configuration.
|
|
102
|
-
*/
|
|
103
|
-
groups?: {
|
|
104
|
-
[key: string]: GroupConfig<ParamList, State, ScreenOptions, EventMap, NavigationList>;
|
|
105
|
-
};
|
|
106
|
-
} | {
|
|
107
|
-
/**
|
|
108
|
-
* Screens to render in the navigator and their configuration.
|
|
109
|
-
*/
|
|
110
|
-
screens?: StaticConfigScreens<ParamList, State, ScreenOptions, EventMap, NavigationList>;
|
|
111
|
-
/**
|
|
112
|
-
* Groups of screens to render in the navigator and their configuration.
|
|
113
|
-
*/
|
|
114
|
-
groups: {
|
|
115
|
-
[key: string]: GroupConfig<ParamList, State, ScreenOptions, EventMap, NavigationList>;
|
|
116
|
-
};
|
|
117
|
-
});
|
|
118
|
-
/**
|
|
119
|
-
* Props for a screen component which is rendered by a static navigator.
|
|
120
|
-
* Takes the route params as a generic argument.
|
|
121
|
-
*/
|
|
122
|
-
export type StaticScreenProps<T extends Record<string, unknown> | undefined> = {
|
|
123
|
-
route: {
|
|
124
|
-
params: T;
|
|
125
|
-
};
|
|
126
|
-
};
|
|
127
|
-
/**
|
|
128
|
-
* Infer the param list from the static navigation config.
|
|
129
|
-
*/
|
|
130
|
-
export type StaticParamList<T extends {
|
|
131
|
-
readonly config: {
|
|
132
|
-
readonly screens?: Record<string, any>;
|
|
133
|
-
readonly groups?: {
|
|
134
|
-
[key: string]: {
|
|
135
|
-
screens: Record<string, any>;
|
|
136
|
-
};
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
}> = FlatType<ParamListForScreens<T['config']['screens']> & ParamListForGroups<T['config']['groups']>>;
|
|
140
|
-
export type StaticNavigation<NavigatorProps, GroupProps, ScreenProps> = {
|
|
141
|
-
Navigator: React.ComponentType<NavigatorProps>;
|
|
142
|
-
Group: React.ComponentType<GroupProps>;
|
|
143
|
-
Screen: React.ComponentType<ScreenProps>;
|
|
144
|
-
config: StaticConfig<NavigatorTypeBagBase>;
|
|
145
|
-
};
|
|
146
|
-
/**
|
|
147
|
-
* Create a component that renders a navigator based on the static configuration.
|
|
148
|
-
*
|
|
149
|
-
* @param tree Static navigation config.
|
|
150
|
-
* @param displayName Name of the component to be displayed in React DevTools.
|
|
151
|
-
* @returns A component which renders the navigator.
|
|
152
|
-
*/
|
|
153
|
-
export declare function createComponentForStaticNavigation(tree: StaticNavigation<any, any, any>, displayName: string): React.ComponentType<{}>;
|
|
154
|
-
type TreeForPathConfig = {
|
|
155
|
-
config: {
|
|
156
|
-
initialRouteName?: string;
|
|
157
|
-
screens?: StaticConfigScreens<ParamListBase, NavigationState, {}, EventMapBase, Record<string, unknown>>;
|
|
158
|
-
groups?: {
|
|
159
|
-
[key: string]: {
|
|
160
|
-
screens: StaticConfigScreens<ParamListBase, NavigationState, {}, EventMapBase, Record<string, unknown>>;
|
|
161
|
-
};
|
|
162
|
-
};
|
|
163
|
-
};
|
|
164
|
-
};
|
|
165
|
-
/**
|
|
166
|
-
* Create a path config object from a static navigation config for deep linking.
|
|
167
|
-
*
|
|
168
|
-
* @param tree Static navigation config.
|
|
169
|
-
* @param options Additional options from `linking.config`.
|
|
170
|
-
* @param auto Whether to automatically generate paths for leaf screens.
|
|
171
|
-
* @returns Path config object to use in linking config.
|
|
172
|
-
*
|
|
173
|
-
* @example
|
|
174
|
-
* ```js
|
|
175
|
-
* const config = {
|
|
176
|
-
* screens: {
|
|
177
|
-
* Home: {
|
|
178
|
-
* screens: createPathConfigForStaticNavigation(HomeTabs),
|
|
179
|
-
* },
|
|
180
|
-
* },
|
|
181
|
-
* };
|
|
182
|
-
* ```
|
|
183
|
-
*/
|
|
184
|
-
export declare function createPathConfigForStaticNavigation(tree: TreeForPathConfig, options?: {
|
|
185
|
-
initialRouteName?: string;
|
|
186
|
-
}, auto?: boolean): {} | undefined;
|
|
187
|
-
export {};
|
|
188
|
-
//# sourceMappingURL=StaticNavigation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StaticNavigation.d.ts","sourceRoot":"","sources":["../../../../src/StaticNavigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,a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;;;;GAMG;AACH,wBAAgB,kCAAkC,CAChD,IAAI,EAAE,gBAAgB,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EACrC,WAAW,EAAE,MAAM,GAClB,KAAK,CAAC,aAAa,CAAC,EAAE,CAAC,CAsDzB;AAED,KAAK,iBAAiB,GAAG;IACvB,MAAM,EAAE;QACN,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,OAAO,CAAC,EAAE,mBAAmB,CAC3B,aAAa,EACb,eAAe,EACf,EAAE,EACF,YAAY,EACZ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CACxB,CAAC;QACF,MAAM,CAAC,EAAE;YACP,CAAC,GAAG,EAAE,MAAM,GAAG;gBACb,OAAO,EAAE,mBAAmB,CAC1B,aAAa,EACb,eAAe,EACf,EAAE,EACF,YAAY,EACZ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CACxB,CAAC;aACH,CAAC;SACH,CAAC;KACH,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,mCAAmC,CACjD,IAAI,EAAE,iBAAiB,EACvB,OAAO,CAAC,EAAE;IACR,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,EACD,IAAI,CAAC,EAAE,OAAO,kBAyJf"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UnhandledActionContext.d.ts","sourceRoot":"","sources":["../../../../src/UnhandledActionContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,eAAO,MAAM,sBAAsB,0BACvB,gBAAgB,KAAK,IAAI,cACzB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"arrayStartsWith.d.ts","sourceRoot":"","sources":["../../../../src/arrayStartsWith.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,WAMxD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"checkDuplicateRouteNames.d.ts","sourceRoot":"","sources":["../../../../src/checkDuplicateRouteNames.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAgB,MAAM,2BAA2B,CAAC;AAE/E,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,eAAe,cA8B9D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"checkSerializable.d.ts","sourceRoot":"","sources":["../../../../src/checkSerializable.tsx"],"names":[],"mappings":"AAuEA,wBAAgB,iBAAiB,CAAC,CAAC,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE;kBAlEvC,IAAI;;kBAEJ,KAAK;cACT,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE;YACrB,MAAM;EAgEnB"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { NavigationContainerRefWithCurrent } from './types';
|
|
2
|
-
export declare const NOT_INITIALIZED_ERROR = "The 'navigation' object hasn't been initialized yet. This might happen if you don't have a navigator mounted, or if the navigator hasn't finished mounting. See https://reactnavigation.org/docs/navigating-without-navigation-prop#handling-initialization for more details.";
|
|
3
|
-
export declare function createNavigationContainerRef<ParamList extends {} = ReactNavigation.RootParamList>(): NavigationContainerRefWithCurrent<ParamList>;
|
|
4
|
-
//# sourceMappingURL=createNavigationContainerRef.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createNavigationContainerRef.d.ts","sourceRoot":"","sources":["../../../../src/createNavigationContainerRef.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAGV,iCAAiC,EAClC,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,qBAAqB,kRAC+O,CAAC;AAElR,wBAAgB,4BAA4B,CAC1C,SAAS,SAAS,EAAE,GAAG,eAAe,CAAC,aAAa,KACjD,iCAAiC,CAAC,SAAS,CAAC,CAqFhD"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type * as React from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Higher order component to create a `Navigator` and `Screen` pair.
|
|
4
|
-
* Custom navigators should wrap the navigator component in `createNavigator` before exporting.
|
|
5
|
-
*
|
|
6
|
-
* @param Navigator The navigator component to wrap.
|
|
7
|
-
* @returns Factory method to create a `Navigator` and `Screen` pair.
|
|
8
|
-
*/
|
|
9
|
-
export declare function createNavigatorFactory(Navigator: React.ComponentType<any>): (config?: any) => any;
|
|
10
|
-
//# sourceMappingURL=createNavigatorFactory.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createNavigatorFactory.d.ts","sourceRoot":"","sources":["../../../../src/createNavigatorFactory.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAKpC;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,aACtC,GAAG,KAAG,GAAG,CAkB5C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deepFreeze.d.ts","sourceRoot":"","sources":["../../../../src/deepFreeze.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,UAAW,OAAO,KAAG,KAAK,IAAI,MAMvD,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,CAAC,UAAW,CAAC,KAAG,QAAQ,CAAC,CAAC,CA4BpD,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { InitialState } from '@react-navigation/routers';
|
|
2
|
-
type Result = {
|
|
3
|
-
key?: string;
|
|
4
|
-
name: string;
|
|
5
|
-
params?: object;
|
|
6
|
-
path?: string;
|
|
7
|
-
} | undefined;
|
|
8
|
-
export declare function findFocusedRoute(state: InitialState): Result;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=findFocusedRoute.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"findFocusedRoute.d.ts","sourceRoot":"","sources":["../../../../src/findFocusedRoute.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,KAAK,MAAM,GACP;IACE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GACD,SAAS,CAAC;AAEd,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,YAAY,GAAG,MAAM,CAU5D"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { CommonActions, NavigationState, PartialState } from '@react-navigation/routers';
|
|
2
|
-
import type { NavigatorScreenParams, PathConfigMap } from './types';
|
|
3
|
-
type Options = {
|
|
4
|
-
initialRouteName?: string;
|
|
5
|
-
screens: PathConfigMap<object>;
|
|
6
|
-
};
|
|
7
|
-
type NavigateAction<State extends NavigationState> = {
|
|
8
|
-
type: 'NAVIGATE';
|
|
9
|
-
payload: {
|
|
10
|
-
name: string;
|
|
11
|
-
params?: NavigatorScreenParams<State>;
|
|
12
|
-
path?: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export declare function getActionFromState(state: PartialState<NavigationState>, options?: Options): NavigateAction<NavigationState> | CommonActions.Action | undefined;
|
|
16
|
-
export {};
|
|
17
|
-
//# sourceMappingURL=getActionFromState.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getActionFromState.d.ts","sourceRoot":"","sources":["../../../../src/getActionFromState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,eAAe,EAGf,YAAY,EAEb,MAAM,2BAA2B,CAAC;AAEnC,OAAO,KAAK,EAAE,qBAAqB,EAAc,aAAa,EAAE,MAAM,SAAS,CAAC;AAOhF,KAAK,OAAO,GAAG;IACb,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CAChC,CAAC;AAEF,KAAK,cAAc,CAAC,KAAK,SAAS,eAAe,IAAI;IACnD,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,CAAC,EAAE,qBAAqB,CAAC,KAAK,CAAC,CAAC;QACtC,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;CACH,CAAC;AAEF,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,YAAY,CAAC,eAAe,CAAC,EACpC,OAAO,CAAC,EAAE,OAAO,GAChB,cAAc,CAAC,eAAe,CAAC,GAAG,aAAa,CAAC,MAAM,GAAG,SAAS,CAmIpE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getFocusedRouteNameFromRoute.d.ts","sourceRoot":"","sources":["../../../../src/getFocusedRouteNameFromRoute.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAIvD,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,GAC5B,MAAM,GAAG,SAAS,CAqBpB"}
|