UNPKG

5.74 kB JavaScript View Raw
1/**
2 * react-router v7.6.2
3 *
4 * Copyright (c) Remix Software Inc.
5 *
6 * This source code is licensed under the MIT license found in the
7 * LICENSE.md file in the root directory of this source tree.
8 *
9 * @license MIT
10 */
11import {
12 Action,
13 Await,
14 BrowserRouter,
15 DataRouterContext,
16 DataRouterStateContext,
17 ErrorResponseImpl,
18 FetchersContext,
19 Form,
20 FrameworkContext,
21 HashRouter,
22 HistoryRouter,
23 IDLE_BLOCKER,
24 IDLE_FETCHER,
25 IDLE_NAVIGATION,
26 Link,
27 Links,
28 LocationContext,
29 MemoryRouter,
30 Meta,
31 NavLink,
32 Navigate,
33 NavigationContext,
34 Outlet,
35 PrefetchPageLinks,
36 RemixErrorBoundary,
37 Route,
38 RouteContext,
39 Router,
40 RouterProvider,
41 Routes,
42 Scripts,
43 ScrollRestoration,
44 ServerMode,
45 ServerRouter,
46 SingleFetchRedirectSymbol,
47 StaticRouter,
48 StaticRouterProvider,
49 ViewTransitionContext,
50 createBrowserHistory,
51 createBrowserRouter,
52 createClientRoutes,
53 createClientRoutesWithHMRRevalidationOptOut,
54 createCookie,
55 createCookieSessionStorage,
56 createHashRouter,
57 createMemoryRouter,
58 createMemorySessionStorage,
59 createPath,
60 createRequestHandler,
61 createRouter,
62 createRoutesFromChildren,
63 createRoutesFromElements,
64 createRoutesStub,
65 createSearchParams,
66 createSession,
67 createSessionStorage,
68 createStaticHandler,
69 createStaticRouter,
70 data,
71 decodeViaTurboStream,
72 deserializeErrors,
73 generatePath,
74 getHydrationData,
75 getPatchRoutesOnNavigationFunction,
76 getTurboStreamSingleFetchDataStrategy,
77 href,
78 hydrationRouteProperties,
79 invariant,
80 isCookie,
81 isRouteErrorResponse,
82 isSession,
83 mapRouteProperties,
84 matchPath,
85 matchRoutes,
86 parsePath,
87 redirect,
88 redirectDocument,
89 renderMatches,
90 replace,
91 resolvePath,
92 setDevServerHooks,
93 shouldHydrateRouteLoader,
94 unstable_RouterContextProvider,
95 unstable_createContext,
96 useActionData,
97 useAsyncError,
98 useAsyncValue,
99 useBeforeUnload,
100 useBlocker,
101 useFetcher,
102 useFetchers,
103 useFogOFWarDiscovery,
104 useFormAction,
105 useHref,
106 useInRouterContext,
107 useLinkClickHandler,
108 useLoaderData,
109 useLocation,
110 useMatch,
111 useMatches,
112 useNavigate,
113 useNavigation,
114 useNavigationType,
115 useOutlet,
116 useOutletContext,
117 useParams,
118 usePrompt,
119 useResolvedPath,
120 useRevalidator,
121 useRouteError,
122 useRouteLoaderData,
123 useRoutes,
124 useScrollRestoration,
125 useSearchParams,
126 useSubmit,
127 useViewTransitionState,
128 withComponentProps,
129 withErrorBoundaryProps,
130 withHydrateFallbackProps
131} from "./chunk-JRQCFVZH.mjs";
132export {
133 Await,
134 BrowserRouter,
135 Form,
136 HashRouter,
137 IDLE_BLOCKER,
138 IDLE_FETCHER,
139 IDLE_NAVIGATION,
140 Link,
141 Links,
142 MemoryRouter,
143 Meta,
144 NavLink,
145 Navigate,
146 Action as NavigationType,
147 Outlet,
148 PrefetchPageLinks,
149 Route,
150 Router,
151 RouterProvider,
152 Routes,
153 Scripts,
154 ScrollRestoration,
155 ServerRouter,
156 StaticRouter,
157 StaticRouterProvider,
158 DataRouterContext as UNSAFE_DataRouterContext,
159 DataRouterStateContext as UNSAFE_DataRouterStateContext,
160 ErrorResponseImpl as UNSAFE_ErrorResponseImpl,
161 FetchersContext as UNSAFE_FetchersContext,
162 FrameworkContext as UNSAFE_FrameworkContext,
163 LocationContext as UNSAFE_LocationContext,
164 NavigationContext as UNSAFE_NavigationContext,
165 RemixErrorBoundary as UNSAFE_RemixErrorBoundary,
166 RouteContext as UNSAFE_RouteContext,
167 ServerMode as UNSAFE_ServerMode,
168 SingleFetchRedirectSymbol as UNSAFE_SingleFetchRedirectSymbol,
169 ViewTransitionContext as UNSAFE_ViewTransitionContext,
170 createBrowserHistory as UNSAFE_createBrowserHistory,
171 createClientRoutes as UNSAFE_createClientRoutes,
172 createClientRoutesWithHMRRevalidationOptOut as UNSAFE_createClientRoutesWithHMRRevalidationOptOut,
173 createRouter as UNSAFE_createRouter,
174 decodeViaTurboStream as UNSAFE_decodeViaTurboStream,
175 deserializeErrors as UNSAFE_deserializeErrors,
176 getHydrationData as UNSAFE_getHydrationData,
177 getPatchRoutesOnNavigationFunction as UNSAFE_getPatchRoutesOnNavigationFunction,
178 getTurboStreamSingleFetchDataStrategy as UNSAFE_getTurboStreamSingleFetchDataStrategy,
179 hydrationRouteProperties as UNSAFE_hydrationRouteProperties,
180 invariant as UNSAFE_invariant,
181 mapRouteProperties as UNSAFE_mapRouteProperties,
182 shouldHydrateRouteLoader as UNSAFE_shouldHydrateRouteLoader,
183 useFogOFWarDiscovery as UNSAFE_useFogOFWarDiscovery,
184 useScrollRestoration as UNSAFE_useScrollRestoration,
185 withComponentProps as UNSAFE_withComponentProps,
186 withErrorBoundaryProps as UNSAFE_withErrorBoundaryProps,
187 withHydrateFallbackProps as UNSAFE_withHydrateFallbackProps,
188 createBrowserRouter,
189 createCookie,
190 createCookieSessionStorage,
191 createHashRouter,
192 createMemoryRouter,
193 createMemorySessionStorage,
194 createPath,
195 createRequestHandler,
196 createRoutesFromChildren,
197 createRoutesFromElements,
198 createRoutesStub,
199 createSearchParams,
200 createSession,
201 createSessionStorage,
202 createStaticHandler,
203 createStaticRouter,
204 data,
205 generatePath,
206 href,
207 isCookie,
208 isRouteErrorResponse,
209 isSession,
210 matchPath,
211 matchRoutes,
212 parsePath,
213 redirect,
214 redirectDocument,
215 renderMatches,
216 replace,
217 resolvePath,
218 HistoryRouter as unstable_HistoryRouter,
219 unstable_RouterContextProvider,
220 unstable_createContext,
221 setDevServerHooks as unstable_setDevServerHooks,
222 usePrompt as unstable_usePrompt,
223 useActionData,
224 useAsyncError,
225 useAsyncValue,
226 useBeforeUnload,
227 useBlocker,
228 useFetcher,
229 useFetchers,
230 useFormAction,
231 useHref,
232 useInRouterContext,
233 useLinkClickHandler,
234 useLoaderData,
235 useLocation,
236 useMatch,
237 useMatches,
238 useNavigate,
239 useNavigation,
240 useNavigationType,
241 useOutlet,
242 useOutletContext,
243 useParams,
244 useResolvedPath,
245 useRevalidator,
246 useRouteError,
247 useRouteLoaderData,
248 useRoutes,
249 useSearchParams,
250 useSubmit,
251 useViewTransitionState
252};