react-router 0.0.0-experimental-1ebb6d403 → 0.0.0-experimental-e41ede670
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/CHANGELOG.md +0 -10
- package/dist/development/{chunk-5XVYBMAF.mjs → chunk-H3OBLXFX.mjs} +767 -514
- package/dist/development/dom-export.d.mts +13 -3
- package/dist/development/dom-export.d.ts +13 -3
- package/dist/development/dom-export.js +272 -108
- package/dist/development/dom-export.mjs +9 -6
- package/dist/{production/fog-of-war-7V7BguJA.d.ts → development/fog-of-war-Bt7PejVF.d.ts} +91 -6
- package/dist/development/{fog-of-war-NQCW9yWR.d.mts → fog-of-war-Dz4n-TU-.d.mts} +91 -6
- package/dist/development/index.d.mts +10 -19
- package/dist/development/index.d.ts +10 -19
- package/dist/development/index.js +767 -514
- package/dist/development/index.mjs +2 -2
- package/dist/development/lib/types/route-module.d.mts +6 -2
- package/dist/development/lib/types/route-module.d.ts +6 -2
- package/dist/development/lib/types/route-module.js +1 -1
- package/dist/development/lib/types/route-module.mjs +1 -1
- package/dist/development/{route-data-JFOfNyPS.d.ts → route-data-C96IyGKo.d.mts} +37 -15
- package/dist/{production/route-data-JFOfNyPS.d.mts → development/route-data-C96IyGKo.d.ts} +37 -15
- package/dist/production/{chunk-CKFZHSMW.mjs → chunk-YBZNESR7.mjs} +767 -514
- package/dist/production/dom-export.d.mts +13 -3
- package/dist/production/dom-export.d.ts +13 -3
- package/dist/production/dom-export.js +272 -108
- package/dist/production/dom-export.mjs +9 -6
- package/dist/{development/fog-of-war-7V7BguJA.d.ts → production/fog-of-war-Bt7PejVF.d.ts} +91 -6
- package/dist/production/{fog-of-war-NQCW9yWR.d.mts → fog-of-war-Dz4n-TU-.d.mts} +91 -6
- package/dist/production/index.d.mts +10 -19
- package/dist/production/index.d.ts +10 -19
- package/dist/production/index.js +767 -514
- package/dist/production/index.mjs +2 -2
- package/dist/production/lib/types/route-module.d.mts +6 -2
- package/dist/production/lib/types/route-module.d.ts +6 -2
- package/dist/production/lib/types/route-module.js +1 -1
- package/dist/production/lib/types/route-module.mjs +1 -1
- package/dist/production/{route-data-JFOfNyPS.d.ts → route-data-C96IyGKo.d.mts} +37 -15
- package/dist/{development/route-data-JFOfNyPS.d.mts → production/route-data-C96IyGKo.d.ts} +37 -15
- package/package.json +2 -17
- package/dist/development/server.d.mts +0 -988
- package/dist/development/server.d.ts +0 -988
- package/dist/development/server.js +0 -1429
- package/dist/development/server.mjs +0 -1406
- package/dist/production/server.d.mts +0 -988
- package/dist/production/server.d.ts +0 -988
- package/dist/production/server.js +0 -1405
- package/dist/production/server.mjs +0 -1382
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-e41ede670
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
matchRoutes,
|
|
26
26
|
shouldHydrateRouteLoader,
|
|
27
27
|
useFogOFWarDiscovery
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-H3OBLXFX.mjs";
|
|
29
29
|
|
|
30
30
|
// lib/dom-export/dom-router-provider.tsx
|
|
31
31
|
import * as React from "react";
|
|
@@ -50,7 +50,9 @@ function initSsrInfo() {
|
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
function createHydratedRouter(
|
|
53
|
+
function createHydratedRouter({
|
|
54
|
+
context
|
|
55
|
+
}) {
|
|
54
56
|
initSsrInfo();
|
|
55
57
|
if (!ssrInfo) {
|
|
56
58
|
throw new Error(
|
|
@@ -116,9 +118,10 @@ function createHydratedRouter() {
|
|
|
116
118
|
routes,
|
|
117
119
|
history: createBrowserHistory(),
|
|
118
120
|
basename: ssrInfo.context.basename,
|
|
121
|
+
context,
|
|
119
122
|
hydrationData,
|
|
120
123
|
mapRouteProperties,
|
|
121
|
-
dataStrategy: getSingleFetchDataStrategy(
|
|
124
|
+
dataStrategy: ssrInfo.context.isSpaMode ? void 0 : getSingleFetchDataStrategy(
|
|
122
125
|
ssrInfo.manifest,
|
|
123
126
|
ssrInfo.routeModules,
|
|
124
127
|
() => router2
|
|
@@ -140,9 +143,9 @@ function createHydratedRouter() {
|
|
|
140
143
|
window.__reactRouterDataRouter = router2;
|
|
141
144
|
return router2;
|
|
142
145
|
}
|
|
143
|
-
function HydratedRouter() {
|
|
146
|
+
function HydratedRouter(props) {
|
|
144
147
|
if (!router) {
|
|
145
|
-
router = createHydratedRouter();
|
|
148
|
+
router = createHydratedRouter({ context: props.context });
|
|
146
149
|
}
|
|
147
150
|
let [criticalCss, setCriticalCss] = React2.useState(
|
|
148
151
|
process.env.NODE_ENV === "development" ? ssrInfo?.context.criticalCss : void 0
|
|
@@ -1,18 +1,63 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { q as RouteObject, D as DefaultRouterContext, F as FutureConfig$1, H as HydrationState, I as InitialEntry, b as DataStrategyFunction, ap as PatchRoutesOnNavigationFunction, a as Router$1, T as To, j as RelativeRoutingType, y as NonIndexRouteObject, a3 as LazyRouteFunction, x as IndexRouteObject, k as Location, l as Action, ao as Navigator, ar as RouteMatch, u as StaticHandlerContext, g as RouteManifest, R as RouteModules, an as DataRouteObject, aK as RouteModule, a2 as HTMLFormMethod, a0 as FormEncType, aw as PageLinkDescriptor, aL as History, E as GetScrollRestorationKeyFunction, N as NavigateOptions, J as Fetcher, S as SerializeFrom, B as BlockerFunction } from './route-data-C96IyGKo.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* @
|
|
5
|
+
* @private
|
|
6
6
|
*/
|
|
7
|
-
declare function
|
|
7
|
+
declare function mapRouteProperties(route: RouteObject): Partial<RouteObject> & {
|
|
8
|
+
hasErrorBoundary: boolean;
|
|
9
|
+
};
|
|
10
|
+
interface MemoryRouterOpts {
|
|
11
|
+
/**
|
|
12
|
+
* Basename path for the application.
|
|
13
|
+
*/
|
|
8
14
|
basename?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Router context singleton that will be passed to loader/action functions.
|
|
17
|
+
*/
|
|
18
|
+
context?: DefaultRouterContext;
|
|
19
|
+
/**
|
|
20
|
+
* Future flags to enable for the router.
|
|
21
|
+
*/
|
|
9
22
|
future?: Partial<FutureConfig$1>;
|
|
23
|
+
/**
|
|
24
|
+
* Hydration data to initialize the router with if you have already performed
|
|
25
|
+
* data loading on the server.
|
|
26
|
+
*/
|
|
10
27
|
hydrationData?: HydrationState;
|
|
28
|
+
/**
|
|
29
|
+
* Initial entires in the in-memory history stack
|
|
30
|
+
*/
|
|
11
31
|
initialEntries?: InitialEntry[];
|
|
32
|
+
/**
|
|
33
|
+
* Index of `initialEntries` the application should initialize to
|
|
34
|
+
*/
|
|
12
35
|
initialIndex?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Override the default data strategy of loading in parallel.
|
|
38
|
+
* Only intended for advanced usage.
|
|
39
|
+
*/
|
|
13
40
|
dataStrategy?: DataStrategyFunction;
|
|
41
|
+
/**
|
|
42
|
+
* Lazily define portions of the route tree on navigations.
|
|
43
|
+
*/
|
|
14
44
|
patchRoutesOnNavigation?: PatchRoutesOnNavigationFunction;
|
|
15
|
-
}
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Create a new data router that manages the application path using an in-memory
|
|
48
|
+
* history stack. Useful for non-browser environments without a DOM API.
|
|
49
|
+
*
|
|
50
|
+
* @category Routers
|
|
51
|
+
*/
|
|
52
|
+
declare function createMemoryRouter(
|
|
53
|
+
/**
|
|
54
|
+
* Application routes
|
|
55
|
+
*/
|
|
56
|
+
routes: RouteObject[],
|
|
57
|
+
/**
|
|
58
|
+
* Router options
|
|
59
|
+
*/
|
|
60
|
+
opts?: MemoryRouterOpts): Router$1;
|
|
16
61
|
interface RouterProviderProps {
|
|
17
62
|
router: Router$1;
|
|
18
63
|
flushSync?: (fn: () => unknown) => undefined;
|
|
@@ -647,19 +692,59 @@ declare function Scripts(props: ScriptsProps): React.JSX.Element | null;
|
|
|
647
692
|
declare global {
|
|
648
693
|
const REACT_ROUTER_VERSION: string;
|
|
649
694
|
}
|
|
695
|
+
/**
|
|
696
|
+
* @category Routers
|
|
697
|
+
*/
|
|
650
698
|
interface DOMRouterOpts {
|
|
699
|
+
/**
|
|
700
|
+
* Basename path for the application.
|
|
701
|
+
*/
|
|
651
702
|
basename?: string;
|
|
703
|
+
/**
|
|
704
|
+
* Router context singleton that will be passed to loader/action functions.
|
|
705
|
+
*/
|
|
706
|
+
context?: DefaultRouterContext;
|
|
707
|
+
/**
|
|
708
|
+
* Future flags to enable for the router.
|
|
709
|
+
*/
|
|
652
710
|
future?: Partial<FutureConfig$1>;
|
|
711
|
+
/**
|
|
712
|
+
* Hydration data to initialize the router with if you have already performed
|
|
713
|
+
* data loading on the server.
|
|
714
|
+
*/
|
|
653
715
|
hydrationData?: HydrationState;
|
|
716
|
+
/**
|
|
717
|
+
* Override the default data strategy of loading in parallel.
|
|
718
|
+
* Only intended for advanced usage.
|
|
719
|
+
*/
|
|
654
720
|
dataStrategy?: DataStrategyFunction;
|
|
721
|
+
/**
|
|
722
|
+
* Lazily define portions of the route tree on navigations.
|
|
723
|
+
*/
|
|
655
724
|
patchRoutesOnNavigation?: PatchRoutesOnNavigationFunction;
|
|
725
|
+
/**
|
|
726
|
+
* Window object override - defaults to the global `window` instance.
|
|
727
|
+
*/
|
|
656
728
|
window?: Window;
|
|
657
729
|
}
|
|
658
730
|
/**
|
|
731
|
+
* Create a new data router that manages the application path via `history.pushState`
|
|
732
|
+
* and `history.replaceState`.
|
|
733
|
+
*
|
|
659
734
|
* @category Routers
|
|
660
735
|
*/
|
|
661
|
-
declare function createBrowserRouter(
|
|
736
|
+
declare function createBrowserRouter(
|
|
737
|
+
/**
|
|
738
|
+
* Application routes
|
|
739
|
+
*/
|
|
740
|
+
routes: RouteObject[],
|
|
662
741
|
/**
|
|
742
|
+
* Router options
|
|
743
|
+
*/
|
|
744
|
+
opts?: DOMRouterOpts): Router$1;
|
|
745
|
+
/**
|
|
746
|
+
* Create a new data router that manages the application path via the URL hash
|
|
747
|
+
*
|
|
663
748
|
* @category Routers
|
|
664
749
|
*/
|
|
665
750
|
declare function createHashRouter(routes: RouteObject[], opts?: DOMRouterOpts): Router$1;
|
|
@@ -1589,4 +1674,4 @@ declare global {
|
|
|
1589
1674
|
declare function getPatchRoutesOnNavigationFunction(manifest: AssetsManifest, routeModules: RouteModules, isSpaMode: boolean, basename: string | undefined): PatchRoutesOnNavigationFunction | undefined;
|
|
1590
1675
|
declare function useFogOFWarDiscovery(router: Router$1, manifest: AssetsManifest, routeModules: RouteModules, isSpaMode: boolean): void;
|
|
1591
1676
|
|
|
1592
|
-
export {
|
|
1677
|
+
export { useSubmit as $, type AssetsManifest as A, type BrowserRouterProps as B, type FetcherSubmitFunction as C, type DOMRouterOpts as D, type EntryContext as E, type FutureConfig as F, type FetcherWithComponents as G, type HashRouterProps as H, type IndexRouteProps as I, createBrowserRouter as J, createHashRouter as K, type LayoutRouteProps as L, type MemoryRouterOpts as M, type NavigateProps as N, type OutletProps as O, type PathRouteProps as P, BrowserRouter as Q, type RouterProviderProps as R, type ScrollRestorationProps as S, HashRouter as T, Link as U, HistoryRouter as V, NavLink as W, Form as X, ScrollRestoration as Y, useLinkClickHandler as Z, useSearchParams as _, type Route as a, useFormAction as a0, useFetcher as a1, useFetchers as a2, useBeforeUnload as a3, usePrompt as a4, useViewTransitionState as a5, type FetcherSubmitOptions as a6, type ParamKeyValuePair as a7, type SubmitOptions as a8, type URLSearchParamsInit as a9, type SubmitTarget as aa, createSearchParams as ab, Meta as ac, Links as ad, Scripts as ae, PrefetchPageLinks as af, type ScriptsProps as ag, mapRouteProperties as ah, FrameworkContext as ai, getPatchRoutesOnNavigationFunction as aj, useFogOFWarDiscovery as ak, createClientRoutes as al, createClientRoutesWithHMRRevalidationOptOut as am, shouldHydrateRouteLoader as an, useScrollRestoration as ao, type AwaitProps as b, type MemoryRouterProps as c, type RouteProps as d, type RouterProps as e, type RoutesProps as f, Await as g, MemoryRouter as h, Navigate as i, Outlet as j, Route$1 as k, Router as l, RouterProvider as m, Routes as n, createMemoryRouter as o, createRoutesFromChildren as p, createRoutesFromElements as q, renderMatches as r, type HistoryRouterProps as s, type LinkProps as t, type NavLinkProps as u, type NavLinkRenderProps as v, type FetcherFormProps as w, type FormProps as x, type SetURLSearchParams as y, type SubmitFunction as z };
|
|
@@ -1,18 +1,63 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { q as RouteObject, D as DefaultRouterContext, F as FutureConfig$1, H as HydrationState, I as InitialEntry, b as DataStrategyFunction, ap as PatchRoutesOnNavigationFunction, a as Router$1, T as To, j as RelativeRoutingType, y as NonIndexRouteObject, a3 as LazyRouteFunction, x as IndexRouteObject, k as Location, l as Action, ao as Navigator, ar as RouteMatch, u as StaticHandlerContext, g as RouteManifest, R as RouteModules, an as DataRouteObject, aK as RouteModule, a2 as HTMLFormMethod, a0 as FormEncType, aw as PageLinkDescriptor, aL as History, E as GetScrollRestorationKeyFunction, N as NavigateOptions, J as Fetcher, S as SerializeFrom, B as BlockerFunction } from './route-data-C96IyGKo.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* @
|
|
5
|
+
* @private
|
|
6
6
|
*/
|
|
7
|
-
declare function
|
|
7
|
+
declare function mapRouteProperties(route: RouteObject): Partial<RouteObject> & {
|
|
8
|
+
hasErrorBoundary: boolean;
|
|
9
|
+
};
|
|
10
|
+
interface MemoryRouterOpts {
|
|
11
|
+
/**
|
|
12
|
+
* Basename path for the application.
|
|
13
|
+
*/
|
|
8
14
|
basename?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Router context singleton that will be passed to loader/action functions.
|
|
17
|
+
*/
|
|
18
|
+
context?: DefaultRouterContext;
|
|
19
|
+
/**
|
|
20
|
+
* Future flags to enable for the router.
|
|
21
|
+
*/
|
|
9
22
|
future?: Partial<FutureConfig$1>;
|
|
23
|
+
/**
|
|
24
|
+
* Hydration data to initialize the router with if you have already performed
|
|
25
|
+
* data loading on the server.
|
|
26
|
+
*/
|
|
10
27
|
hydrationData?: HydrationState;
|
|
28
|
+
/**
|
|
29
|
+
* Initial entires in the in-memory history stack
|
|
30
|
+
*/
|
|
11
31
|
initialEntries?: InitialEntry[];
|
|
32
|
+
/**
|
|
33
|
+
* Index of `initialEntries` the application should initialize to
|
|
34
|
+
*/
|
|
12
35
|
initialIndex?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Override the default data strategy of loading in parallel.
|
|
38
|
+
* Only intended for advanced usage.
|
|
39
|
+
*/
|
|
13
40
|
dataStrategy?: DataStrategyFunction;
|
|
41
|
+
/**
|
|
42
|
+
* Lazily define portions of the route tree on navigations.
|
|
43
|
+
*/
|
|
14
44
|
patchRoutesOnNavigation?: PatchRoutesOnNavigationFunction;
|
|
15
|
-
}
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Create a new data router that manages the application path using an in-memory
|
|
48
|
+
* history stack. Useful for non-browser environments without a DOM API.
|
|
49
|
+
*
|
|
50
|
+
* @category Routers
|
|
51
|
+
*/
|
|
52
|
+
declare function createMemoryRouter(
|
|
53
|
+
/**
|
|
54
|
+
* Application routes
|
|
55
|
+
*/
|
|
56
|
+
routes: RouteObject[],
|
|
57
|
+
/**
|
|
58
|
+
* Router options
|
|
59
|
+
*/
|
|
60
|
+
opts?: MemoryRouterOpts): Router$1;
|
|
16
61
|
interface RouterProviderProps {
|
|
17
62
|
router: Router$1;
|
|
18
63
|
flushSync?: (fn: () => unknown) => undefined;
|
|
@@ -647,19 +692,59 @@ declare function Scripts(props: ScriptsProps): React.JSX.Element | null;
|
|
|
647
692
|
declare global {
|
|
648
693
|
const REACT_ROUTER_VERSION: string;
|
|
649
694
|
}
|
|
695
|
+
/**
|
|
696
|
+
* @category Routers
|
|
697
|
+
*/
|
|
650
698
|
interface DOMRouterOpts {
|
|
699
|
+
/**
|
|
700
|
+
* Basename path for the application.
|
|
701
|
+
*/
|
|
651
702
|
basename?: string;
|
|
703
|
+
/**
|
|
704
|
+
* Router context singleton that will be passed to loader/action functions.
|
|
705
|
+
*/
|
|
706
|
+
context?: DefaultRouterContext;
|
|
707
|
+
/**
|
|
708
|
+
* Future flags to enable for the router.
|
|
709
|
+
*/
|
|
652
710
|
future?: Partial<FutureConfig$1>;
|
|
711
|
+
/**
|
|
712
|
+
* Hydration data to initialize the router with if you have already performed
|
|
713
|
+
* data loading on the server.
|
|
714
|
+
*/
|
|
653
715
|
hydrationData?: HydrationState;
|
|
716
|
+
/**
|
|
717
|
+
* Override the default data strategy of loading in parallel.
|
|
718
|
+
* Only intended for advanced usage.
|
|
719
|
+
*/
|
|
654
720
|
dataStrategy?: DataStrategyFunction;
|
|
721
|
+
/**
|
|
722
|
+
* Lazily define portions of the route tree on navigations.
|
|
723
|
+
*/
|
|
655
724
|
patchRoutesOnNavigation?: PatchRoutesOnNavigationFunction;
|
|
725
|
+
/**
|
|
726
|
+
* Window object override - defaults to the global `window` instance.
|
|
727
|
+
*/
|
|
656
728
|
window?: Window;
|
|
657
729
|
}
|
|
658
730
|
/**
|
|
731
|
+
* Create a new data router that manages the application path via `history.pushState`
|
|
732
|
+
* and `history.replaceState`.
|
|
733
|
+
*
|
|
659
734
|
* @category Routers
|
|
660
735
|
*/
|
|
661
|
-
declare function createBrowserRouter(
|
|
736
|
+
declare function createBrowserRouter(
|
|
737
|
+
/**
|
|
738
|
+
* Application routes
|
|
739
|
+
*/
|
|
740
|
+
routes: RouteObject[],
|
|
662
741
|
/**
|
|
742
|
+
* Router options
|
|
743
|
+
*/
|
|
744
|
+
opts?: DOMRouterOpts): Router$1;
|
|
745
|
+
/**
|
|
746
|
+
* Create a new data router that manages the application path via the URL hash
|
|
747
|
+
*
|
|
663
748
|
* @category Routers
|
|
664
749
|
*/
|
|
665
750
|
declare function createHashRouter(routes: RouteObject[], opts?: DOMRouterOpts): Router$1;
|
|
@@ -1589,4 +1674,4 @@ declare global {
|
|
|
1589
1674
|
declare function getPatchRoutesOnNavigationFunction(manifest: AssetsManifest, routeModules: RouteModules, isSpaMode: boolean, basename: string | undefined): PatchRoutesOnNavigationFunction | undefined;
|
|
1590
1675
|
declare function useFogOFWarDiscovery(router: Router$1, manifest: AssetsManifest, routeModules: RouteModules, isSpaMode: boolean): void;
|
|
1591
1676
|
|
|
1592
|
-
export {
|
|
1677
|
+
export { useSubmit as $, type AssetsManifest as A, type BrowserRouterProps as B, type FetcherSubmitFunction as C, type DOMRouterOpts as D, type EntryContext as E, type FutureConfig as F, type FetcherWithComponents as G, type HashRouterProps as H, type IndexRouteProps as I, createBrowserRouter as J, createHashRouter as K, type LayoutRouteProps as L, type MemoryRouterOpts as M, type NavigateProps as N, type OutletProps as O, type PathRouteProps as P, BrowserRouter as Q, type RouterProviderProps as R, type ScrollRestorationProps as S, HashRouter as T, Link as U, HistoryRouter as V, NavLink as W, Form as X, ScrollRestoration as Y, useLinkClickHandler as Z, useSearchParams as _, type Route as a, useFormAction as a0, useFetcher as a1, useFetchers as a2, useBeforeUnload as a3, usePrompt as a4, useViewTransitionState as a5, type FetcherSubmitOptions as a6, type ParamKeyValuePair as a7, type SubmitOptions as a8, type URLSearchParamsInit as a9, type SubmitTarget as aa, createSearchParams as ab, Meta as ac, Links as ad, Scripts as ae, PrefetchPageLinks as af, type ScriptsProps as ag, mapRouteProperties as ah, FrameworkContext as ai, getPatchRoutesOnNavigationFunction as aj, useFogOFWarDiscovery as ak, createClientRoutes as al, createClientRoutesWithHMRRevalidationOptOut as am, shouldHydrateRouteLoader as an, useScrollRestoration as ao, type AwaitProps as b, type MemoryRouterProps as c, type RouteProps as d, type RouterProps as e, type RoutesProps as f, Await as g, MemoryRouter as h, Navigate as i, Outlet as j, Route$1 as k, Router as l, RouterProvider as m, Routes as n, createMemoryRouter as o, createRoutesFromChildren as p, createRoutesFromElements as q, renderMatches as r, type HistoryRouterProps as s, type LinkProps as t, type NavLinkProps as u, type NavLinkRenderProps as v, type FetcherFormProps as w, type FormProps as x, type SetURLSearchParams as y, type SubmitFunction as z };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { R as RouteModules, a as Router,
|
|
2
|
-
export {
|
|
3
|
-
import { A as AssetsManifest, a as Route, F as FutureConfig, E as EntryContext } from './fog-of-war-
|
|
4
|
-
export {
|
|
1
|
+
import { R as RouteModules, a as Router, b as DataStrategyFunction, A as ActionFunction, L as LoaderFunction, M as MiddlewareFunction, C as ClientActionFunction, c as ClientLoaderFunction, d as ClientMiddlewareFunction, e as LinksFunction, f as MetaFunction, g as RouteManifest, h as LoaderFunctionArgs, i as ActionFunctionArgs, T as To, j as RelativeRoutingType, k as Location, l as Action, P as ParamParseKey, m as Path, n as PathPattern, o as PathMatch, N as NavigateOptions, p as Params, q as RouteObject, r as Navigation, s as RevalidationState, U as UIMatch, S as SerializeFrom, B as BlockerFunction, t as Blocker, u as StaticHandlerContext, v as StaticHandler, F as FutureConfig$1, w as CreateStaticHandlerOptions$1, I as InitialEntry, H as HydrationState, x as IndexRouteObject, y as NonIndexRouteObject, z as RouterState } from './route-data-C96IyGKo.mjs';
|
|
2
|
+
export { as as ClientActionFunctionArgs, at as ClientLoaderFunctionArgs, am as DataRouteMatch, an as DataRouteObject, X as DataStrategyFunctionArgs, Y as DataStrategyMatch, Z as DataStrategyResult, $ as ErrorResponse, J as Fetcher, a0 as FormEncType, a1 as FormMethod, G as GetScrollPositionFunction, E as GetScrollRestorationKeyFunction, a2 as HTMLFormMethod, ax as HtmlLinkDescriptor, ac as IDLE_BLOCKER, ab as IDLE_FETCHER, aa as IDLE_NAVIGATION, a3 as LazyRouteFunction, ay as LinkDescriptor, au as MetaArgs, av as MetaDescriptor, K as NavigationStates, ao as Navigator, aw as PageLinkDescriptor, ap as PatchRoutesOnNavigationFunction, aq as PatchRoutesOnNavigationFunctionArgs, a4 as PathParam, a5 as RedirectFunction, ar as RouteMatch, W as RouterFetchOptions, O as RouterInit, V as RouterNavigateOptions, Q as RouterSubscriber, a6 as ShouldRevalidateFunction, a7 as ShouldRevalidateFunctionArgs, aD as UNSAFE_DataRouterContext, aE as UNSAFE_DataRouterStateContext, _ as UNSAFE_DataWithResponseInit, aC as UNSAFE_ErrorResponseImpl, aF as UNSAFE_FetchersContext, aG as UNSAFE_LocationContext, aH as UNSAFE_NavigationContext, aI as UNSAFE_RouteContext, aJ as UNSAFE_ViewTransitionContext, az as UNSAFE_createBrowserHistory, aB as UNSAFE_createRouter, aA as UNSAFE_invariant, a8 as createPath, ad as data, ae as generatePath, af as isRouteErrorResponse, ag as matchPath, ah as matchRoutes, a9 as parsePath, ai as redirect, aj as redirectDocument, ak as replace, al as resolvePath } from './route-data-C96IyGKo.mjs';
|
|
3
|
+
import { A as AssetsManifest, a as Route, F as FutureConfig, E as EntryContext } from './fog-of-war-Dz4n-TU-.mjs';
|
|
4
|
+
export { g as Await, b as AwaitProps, Q as BrowserRouter, B as BrowserRouterProps, D as DOMRouterOpts, w as FetcherFormProps, C as FetcherSubmitFunction, a6 as FetcherSubmitOptions, G as FetcherWithComponents, X as Form, x as FormProps, T as HashRouter, H as HashRouterProps, s as HistoryRouterProps, I as IndexRouteProps, L as LayoutRouteProps, U as Link, t as LinkProps, ad as Links, h as MemoryRouter, M as MemoryRouterOpts, c as MemoryRouterProps, ac as Meta, W as NavLink, u as NavLinkProps, v as NavLinkRenderProps, i as Navigate, N as NavigateProps, j as Outlet, O as OutletProps, a7 as ParamKeyValuePair, P as PathRouteProps, af as PrefetchPageLinks, k as Route, d as RouteProps, l as Router, e as RouterProps, m as RouterProvider, R as RouterProviderProps, n as Routes, f as RoutesProps, ae as Scripts, ag as ScriptsProps, Y as ScrollRestoration, S as ScrollRestorationProps, y as SetURLSearchParams, z as SubmitFunction, a8 as SubmitOptions, aa as SubmitTarget, ai as UNSAFE_FrameworkContext, al as UNSAFE_createClientRoutes, am as UNSAFE_createClientRoutesWithHMRRevalidationOptOut, aj as UNSAFE_getPatchRoutesOnNavigationFunction, ah as UNSAFE_mapRouteProperties, an as UNSAFE_shouldHydrateRouteLoader, ak as UNSAFE_useFogOFWarDiscovery, ao as UNSAFE_useScrollRestoration, a9 as URLSearchParamsInit, J as createBrowserRouter, K as createHashRouter, o as createMemoryRouter, p as createRoutesFromChildren, q as createRoutesFromElements, ab as createSearchParams, r as renderMatches, V as unstable_HistoryRouter, a4 as unstable_usePrompt, a3 as useBeforeUnload, a1 as useFetcher, a2 as useFetchers, a0 as useFormAction, Z as useLinkClickHandler, _ as useSearchParams, $ as useSubmit, a5 as useViewTransitionState } from './fog-of-war-Dz4n-TU-.mjs';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { ReactElement } from 'react';
|
|
7
|
+
import { A as AppLoadContext } from './data-CQbyyGzl.mjs';
|
|
7
8
|
import { ParseOptions, SerializeOptions } from 'cookie';
|
|
8
9
|
export { ParseOptions as CookieParseOptions, SerializeOptions as CookieSerializeOptions } from 'cookie';
|
|
9
|
-
import { A as AppLoadContext$1 } from './data-CQbyyGzl.mjs';
|
|
10
10
|
|
|
11
11
|
declare const SingleFetchRedirectSymbol: unique symbol;
|
|
12
12
|
declare function getSingleFetchDataStrategy(manifest: AssetsManifest, routeModules: RouteModules, getRouter: () => Router): DataStrategyFunction;
|
|
@@ -44,6 +44,7 @@ type RouteHandle = unknown;
|
|
|
44
44
|
interface EntryRouteModule {
|
|
45
45
|
clientAction?: ClientActionFunction;
|
|
46
46
|
clientLoader?: ClientLoaderFunction;
|
|
47
|
+
clientMiddleware?: ClientMiddlewareFunction[];
|
|
47
48
|
ErrorBoundary?: any;
|
|
48
49
|
HydrateFallback?: any;
|
|
49
50
|
Layout?: any;
|
|
@@ -58,6 +59,7 @@ interface ServerRouteModule extends EntryRouteModule {
|
|
|
58
59
|
[name: string]: string;
|
|
59
60
|
};
|
|
60
61
|
loader?: LoaderFunction;
|
|
62
|
+
middleware?: MiddlewareFunction[];
|
|
61
63
|
}
|
|
62
64
|
|
|
63
65
|
type ServerRouteManifest = RouteManifest<Omit<ServerRoute, "children">>;
|
|
@@ -82,7 +84,7 @@ interface ServerBuild {
|
|
|
82
84
|
isSpaMode: boolean;
|
|
83
85
|
}
|
|
84
86
|
interface HandleDocumentRequestFunction {
|
|
85
|
-
(request: Request, responseStatusCode: number, responseHeaders: Headers, context: EntryContext, loadContext: AppLoadContext
|
|
87
|
+
(request: Request, responseStatusCode: number, responseHeaders: Headers, context: EntryContext, loadContext: AppLoadContext): Promise<Response> | Response;
|
|
86
88
|
}
|
|
87
89
|
interface HandleDataRequestFunction {
|
|
88
90
|
(response: Response, args: LoaderFunctionArgs | ActionFunctionArgs): Promise<Response> | Response;
|
|
@@ -493,7 +495,6 @@ interface StaticRouterProviderProps {
|
|
|
493
495
|
* @category Router Components
|
|
494
496
|
*/
|
|
495
497
|
declare function StaticRouterProvider({ context, router, hydrate, nonce, }: StaticRouterProviderProps): React.JSX.Element;
|
|
496
|
-
|
|
497
498
|
type CreateStaticHandlerOptions = Omit<CreateStaticHandlerOptions$1, "mapRouteProperties">;
|
|
498
499
|
/**
|
|
499
500
|
* @category Utils
|
|
@@ -535,9 +536,6 @@ interface StubNonIndexRouteObject extends Omit<NonIndexRouteObject, "loader" | "
|
|
|
535
536
|
links?: LinksFunction;
|
|
536
537
|
}
|
|
537
538
|
type StubRouteObject = StubIndexRouteObject | StubNonIndexRouteObject;
|
|
538
|
-
interface AppLoadContext {
|
|
539
|
-
[key: string]: unknown;
|
|
540
|
-
}
|
|
541
539
|
interface RoutesTestStubProps {
|
|
542
540
|
/**
|
|
543
541
|
* The initial entries in the history stack. This allows you to start a test with
|
|
@@ -633,7 +631,7 @@ type IsCookieFunction = (object: any) => object is Cookie;
|
|
|
633
631
|
*/
|
|
634
632
|
declare const isCookie: IsCookieFunction;
|
|
635
633
|
|
|
636
|
-
type RequestHandler = (request: Request, loadContext?: AppLoadContext
|
|
634
|
+
type RequestHandler = (request: Request, loadContext?: AppLoadContext) => Promise<Response>;
|
|
637
635
|
type CreateRequestHandlerFunction = (build: ServerBuild | (() => ServerBuild | Promise<ServerBuild>), mode?: string) => RequestHandler;
|
|
638
636
|
declare const createRequestHandler: CreateRequestHandlerFunction;
|
|
639
637
|
|
|
@@ -814,13 +812,6 @@ type DevServerHooks = {
|
|
|
814
812
|
};
|
|
815
813
|
declare function setDevServerHooks(devServerHooks: DevServerHooks): void;
|
|
816
814
|
|
|
817
|
-
/**
|
|
818
|
-
* @private
|
|
819
|
-
*/
|
|
820
|
-
declare function mapRouteProperties(route: RouteObject): Partial<RouteObject> & {
|
|
821
|
-
hasErrorBoundary: boolean;
|
|
822
|
-
};
|
|
823
|
-
|
|
824
815
|
declare function deserializeErrors(errors: RouterState["errors"]): RouterState["errors"];
|
|
825
816
|
|
|
826
817
|
type RemixErrorBoundaryProps = React.PropsWithChildren<{
|
|
@@ -844,4 +835,4 @@ declare class RemixErrorBoundary extends React.Component<RemixErrorBoundaryProps
|
|
|
844
835
|
render(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
|
|
845
836
|
}
|
|
846
837
|
|
|
847
|
-
export { ActionFunction, ActionFunctionArgs, AppLoadContext
|
|
838
|
+
export { ActionFunction, ActionFunctionArgs, AppLoadContext, Blocker, BlockerFunction, ClientActionFunction, ClientLoaderFunction, ClientMiddlewareFunction, type Cookie, type CookieOptions, type CookieSignatureOptions, type CreateRequestHandlerFunction, Router as DataRouter, DataStrategyFunction, EntryContext, type FlashSessionData, type HandleDataRequestFunction, type HandleDocumentRequestFunction, type HandleErrorFunction, type HeadersArgs, type HeadersFunction, HydrationState, IndexRouteObject, InitialEntry, type IsCookieFunction, type IsSessionFunction, LinksFunction, LoaderFunction, LoaderFunctionArgs, Location, MetaFunction, MiddlewareFunction, type NavigateFunction, NavigateOptions, Navigation, Action as NavigationType, NonIndexRouteObject, ParamParseKey, Params, Path, PathMatch, PathPattern, RelativeRoutingType, type RequestHandler, RevalidationState, RouteObject, RouterState, type RoutesTestStubProps, type ServerBuild, type ServerEntryModule, ServerRouter, type ServerRouterProps, type Session, type SessionData, type SessionIdStorageStrategy, type SessionStorage, StaticHandler, StaticHandlerContext, StaticRouter, type StaticRouterProps, StaticRouterProvider, type StaticRouterProviderProps, To, UIMatch, AssetsManifest as UNSAFE_AssetsManifest, RemixErrorBoundary as UNSAFE_RemixErrorBoundary, RouteModules as UNSAFE_RouteModules, ServerMode as UNSAFE_ServerMode, SingleFetchRedirectSymbol as UNSAFE_SingleFetchRedirectSymbol, decodeViaTurboStream as UNSAFE_decodeViaTurboStream, deserializeErrors as UNSAFE_deserializeErrors, getSingleFetchDataStrategy as UNSAFE_getSingleFetchDataStrategy, createCookie, createCookieSessionStorage, createMemorySessionStorage, createRequestHandler, createRoutesStub, createSession, createSessionStorage, createStaticHandler, createStaticRouter, isCookie, isSession, setDevServerHooks as unstable_setDevServerHooks, useActionData, useAsyncError, useAsyncValue, useBlocker, useHref, useInRouterContext, useLoaderData, useLocation, useMatch, useMatches, useNavigate, useNavigation, useNavigationType, useOutlet, useOutletContext, useParams, useResolvedPath, useRevalidator, useRouteError, useRouteLoaderData, useRoutes };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { R as RouteModules, a as Router,
|
|
2
|
-
export {
|
|
3
|
-
import { A as AssetsManifest, a as Route, F as FutureConfig, E as EntryContext } from './fog-of-war-
|
|
4
|
-
export {
|
|
1
|
+
import { R as RouteModules, a as Router, b as DataStrategyFunction, A as ActionFunction, L as LoaderFunction, M as MiddlewareFunction, C as ClientActionFunction, c as ClientLoaderFunction, d as ClientMiddlewareFunction, e as LinksFunction, f as MetaFunction, g as RouteManifest, h as LoaderFunctionArgs, i as ActionFunctionArgs, T as To, j as RelativeRoutingType, k as Location, l as Action, P as ParamParseKey, m as Path, n as PathPattern, o as PathMatch, N as NavigateOptions, p as Params, q as RouteObject, r as Navigation, s as RevalidationState, U as UIMatch, S as SerializeFrom, B as BlockerFunction, t as Blocker, u as StaticHandlerContext, v as StaticHandler, F as FutureConfig$1, w as CreateStaticHandlerOptions$1, I as InitialEntry, H as HydrationState, x as IndexRouteObject, y as NonIndexRouteObject, z as RouterState } from './route-data-C96IyGKo.js';
|
|
2
|
+
export { as as ClientActionFunctionArgs, at as ClientLoaderFunctionArgs, am as DataRouteMatch, an as DataRouteObject, X as DataStrategyFunctionArgs, Y as DataStrategyMatch, Z as DataStrategyResult, $ as ErrorResponse, J as Fetcher, a0 as FormEncType, a1 as FormMethod, G as GetScrollPositionFunction, E as GetScrollRestorationKeyFunction, a2 as HTMLFormMethod, ax as HtmlLinkDescriptor, ac as IDLE_BLOCKER, ab as IDLE_FETCHER, aa as IDLE_NAVIGATION, a3 as LazyRouteFunction, ay as LinkDescriptor, au as MetaArgs, av as MetaDescriptor, K as NavigationStates, ao as Navigator, aw as PageLinkDescriptor, ap as PatchRoutesOnNavigationFunction, aq as PatchRoutesOnNavigationFunctionArgs, a4 as PathParam, a5 as RedirectFunction, ar as RouteMatch, W as RouterFetchOptions, O as RouterInit, V as RouterNavigateOptions, Q as RouterSubscriber, a6 as ShouldRevalidateFunction, a7 as ShouldRevalidateFunctionArgs, aD as UNSAFE_DataRouterContext, aE as UNSAFE_DataRouterStateContext, _ as UNSAFE_DataWithResponseInit, aC as UNSAFE_ErrorResponseImpl, aF as UNSAFE_FetchersContext, aG as UNSAFE_LocationContext, aH as UNSAFE_NavigationContext, aI as UNSAFE_RouteContext, aJ as UNSAFE_ViewTransitionContext, az as UNSAFE_createBrowserHistory, aB as UNSAFE_createRouter, aA as UNSAFE_invariant, a8 as createPath, ad as data, ae as generatePath, af as isRouteErrorResponse, ag as matchPath, ah as matchRoutes, a9 as parsePath, ai as redirect, aj as redirectDocument, ak as replace, al as resolvePath } from './route-data-C96IyGKo.js';
|
|
3
|
+
import { A as AssetsManifest, a as Route, F as FutureConfig, E as EntryContext } from './fog-of-war-Bt7PejVF.js';
|
|
4
|
+
export { g as Await, b as AwaitProps, Q as BrowserRouter, B as BrowserRouterProps, D as DOMRouterOpts, w as FetcherFormProps, C as FetcherSubmitFunction, a6 as FetcherSubmitOptions, G as FetcherWithComponents, X as Form, x as FormProps, T as HashRouter, H as HashRouterProps, s as HistoryRouterProps, I as IndexRouteProps, L as LayoutRouteProps, U as Link, t as LinkProps, ad as Links, h as MemoryRouter, M as MemoryRouterOpts, c as MemoryRouterProps, ac as Meta, W as NavLink, u as NavLinkProps, v as NavLinkRenderProps, i as Navigate, N as NavigateProps, j as Outlet, O as OutletProps, a7 as ParamKeyValuePair, P as PathRouteProps, af as PrefetchPageLinks, k as Route, d as RouteProps, l as Router, e as RouterProps, m as RouterProvider, R as RouterProviderProps, n as Routes, f as RoutesProps, ae as Scripts, ag as ScriptsProps, Y as ScrollRestoration, S as ScrollRestorationProps, y as SetURLSearchParams, z as SubmitFunction, a8 as SubmitOptions, aa as SubmitTarget, ai as UNSAFE_FrameworkContext, al as UNSAFE_createClientRoutes, am as UNSAFE_createClientRoutesWithHMRRevalidationOptOut, aj as UNSAFE_getPatchRoutesOnNavigationFunction, ah as UNSAFE_mapRouteProperties, an as UNSAFE_shouldHydrateRouteLoader, ak as UNSAFE_useFogOFWarDiscovery, ao as UNSAFE_useScrollRestoration, a9 as URLSearchParamsInit, J as createBrowserRouter, K as createHashRouter, o as createMemoryRouter, p as createRoutesFromChildren, q as createRoutesFromElements, ab as createSearchParams, r as renderMatches, V as unstable_HistoryRouter, a4 as unstable_usePrompt, a3 as useBeforeUnload, a1 as useFetcher, a2 as useFetchers, a0 as useFormAction, Z as useLinkClickHandler, _ as useSearchParams, $ as useSubmit, a5 as useViewTransitionState } from './fog-of-war-Bt7PejVF.js';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { ReactElement } from 'react';
|
|
7
|
+
import { A as AppLoadContext } from './data-CQbyyGzl.js';
|
|
7
8
|
import { ParseOptions, SerializeOptions } from 'cookie';
|
|
8
9
|
export { ParseOptions as CookieParseOptions, SerializeOptions as CookieSerializeOptions } from 'cookie';
|
|
9
|
-
import { A as AppLoadContext$1 } from './data-CQbyyGzl.js';
|
|
10
10
|
|
|
11
11
|
declare const SingleFetchRedirectSymbol: unique symbol;
|
|
12
12
|
declare function getSingleFetchDataStrategy(manifest: AssetsManifest, routeModules: RouteModules, getRouter: () => Router): DataStrategyFunction;
|
|
@@ -44,6 +44,7 @@ type RouteHandle = unknown;
|
|
|
44
44
|
interface EntryRouteModule {
|
|
45
45
|
clientAction?: ClientActionFunction;
|
|
46
46
|
clientLoader?: ClientLoaderFunction;
|
|
47
|
+
clientMiddleware?: ClientMiddlewareFunction[];
|
|
47
48
|
ErrorBoundary?: any;
|
|
48
49
|
HydrateFallback?: any;
|
|
49
50
|
Layout?: any;
|
|
@@ -58,6 +59,7 @@ interface ServerRouteModule extends EntryRouteModule {
|
|
|
58
59
|
[name: string]: string;
|
|
59
60
|
};
|
|
60
61
|
loader?: LoaderFunction;
|
|
62
|
+
middleware?: MiddlewareFunction[];
|
|
61
63
|
}
|
|
62
64
|
|
|
63
65
|
type ServerRouteManifest = RouteManifest<Omit<ServerRoute, "children">>;
|
|
@@ -82,7 +84,7 @@ interface ServerBuild {
|
|
|
82
84
|
isSpaMode: boolean;
|
|
83
85
|
}
|
|
84
86
|
interface HandleDocumentRequestFunction {
|
|
85
|
-
(request: Request, responseStatusCode: number, responseHeaders: Headers, context: EntryContext, loadContext: AppLoadContext
|
|
87
|
+
(request: Request, responseStatusCode: number, responseHeaders: Headers, context: EntryContext, loadContext: AppLoadContext): Promise<Response> | Response;
|
|
86
88
|
}
|
|
87
89
|
interface HandleDataRequestFunction {
|
|
88
90
|
(response: Response, args: LoaderFunctionArgs | ActionFunctionArgs): Promise<Response> | Response;
|
|
@@ -493,7 +495,6 @@ interface StaticRouterProviderProps {
|
|
|
493
495
|
* @category Router Components
|
|
494
496
|
*/
|
|
495
497
|
declare function StaticRouterProvider({ context, router, hydrate, nonce, }: StaticRouterProviderProps): React.JSX.Element;
|
|
496
|
-
|
|
497
498
|
type CreateStaticHandlerOptions = Omit<CreateStaticHandlerOptions$1, "mapRouteProperties">;
|
|
498
499
|
/**
|
|
499
500
|
* @category Utils
|
|
@@ -535,9 +536,6 @@ interface StubNonIndexRouteObject extends Omit<NonIndexRouteObject, "loader" | "
|
|
|
535
536
|
links?: LinksFunction;
|
|
536
537
|
}
|
|
537
538
|
type StubRouteObject = StubIndexRouteObject | StubNonIndexRouteObject;
|
|
538
|
-
interface AppLoadContext {
|
|
539
|
-
[key: string]: unknown;
|
|
540
|
-
}
|
|
541
539
|
interface RoutesTestStubProps {
|
|
542
540
|
/**
|
|
543
541
|
* The initial entries in the history stack. This allows you to start a test with
|
|
@@ -633,7 +631,7 @@ type IsCookieFunction = (object: any) => object is Cookie;
|
|
|
633
631
|
*/
|
|
634
632
|
declare const isCookie: IsCookieFunction;
|
|
635
633
|
|
|
636
|
-
type RequestHandler = (request: Request, loadContext?: AppLoadContext
|
|
634
|
+
type RequestHandler = (request: Request, loadContext?: AppLoadContext) => Promise<Response>;
|
|
637
635
|
type CreateRequestHandlerFunction = (build: ServerBuild | (() => ServerBuild | Promise<ServerBuild>), mode?: string) => RequestHandler;
|
|
638
636
|
declare const createRequestHandler: CreateRequestHandlerFunction;
|
|
639
637
|
|
|
@@ -814,13 +812,6 @@ type DevServerHooks = {
|
|
|
814
812
|
};
|
|
815
813
|
declare function setDevServerHooks(devServerHooks: DevServerHooks): void;
|
|
816
814
|
|
|
817
|
-
/**
|
|
818
|
-
* @private
|
|
819
|
-
*/
|
|
820
|
-
declare function mapRouteProperties(route: RouteObject): Partial<RouteObject> & {
|
|
821
|
-
hasErrorBoundary: boolean;
|
|
822
|
-
};
|
|
823
|
-
|
|
824
815
|
declare function deserializeErrors(errors: RouterState["errors"]): RouterState["errors"];
|
|
825
816
|
|
|
826
817
|
type RemixErrorBoundaryProps = React.PropsWithChildren<{
|
|
@@ -844,4 +835,4 @@ declare class RemixErrorBoundary extends React.Component<RemixErrorBoundaryProps
|
|
|
844
835
|
render(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
|
|
845
836
|
}
|
|
846
837
|
|
|
847
|
-
export { ActionFunction, ActionFunctionArgs, AppLoadContext
|
|
838
|
+
export { ActionFunction, ActionFunctionArgs, AppLoadContext, Blocker, BlockerFunction, ClientActionFunction, ClientLoaderFunction, ClientMiddlewareFunction, type Cookie, type CookieOptions, type CookieSignatureOptions, type CreateRequestHandlerFunction, Router as DataRouter, DataStrategyFunction, EntryContext, type FlashSessionData, type HandleDataRequestFunction, type HandleDocumentRequestFunction, type HandleErrorFunction, type HeadersArgs, type HeadersFunction, HydrationState, IndexRouteObject, InitialEntry, type IsCookieFunction, type IsSessionFunction, LinksFunction, LoaderFunction, LoaderFunctionArgs, Location, MetaFunction, MiddlewareFunction, type NavigateFunction, NavigateOptions, Navigation, Action as NavigationType, NonIndexRouteObject, ParamParseKey, Params, Path, PathMatch, PathPattern, RelativeRoutingType, type RequestHandler, RevalidationState, RouteObject, RouterState, type RoutesTestStubProps, type ServerBuild, type ServerEntryModule, ServerRouter, type ServerRouterProps, type Session, type SessionData, type SessionIdStorageStrategy, type SessionStorage, StaticHandler, StaticHandlerContext, StaticRouter, type StaticRouterProps, StaticRouterProvider, type StaticRouterProviderProps, To, UIMatch, AssetsManifest as UNSAFE_AssetsManifest, RemixErrorBoundary as UNSAFE_RemixErrorBoundary, RouteModules as UNSAFE_RouteModules, ServerMode as UNSAFE_ServerMode, SingleFetchRedirectSymbol as UNSAFE_SingleFetchRedirectSymbol, decodeViaTurboStream as UNSAFE_decodeViaTurboStream, deserializeErrors as UNSAFE_deserializeErrors, getSingleFetchDataStrategy as UNSAFE_getSingleFetchDataStrategy, createCookie, createCookieSessionStorage, createMemorySessionStorage, createRequestHandler, createRoutesStub, createSession, createSessionStorage, createStaticHandler, createStaticRouter, isCookie, isSession, setDevServerHooks as unstable_setDevServerHooks, useActionData, useAsyncError, useAsyncValue, useBlocker, useHref, useInRouterContext, useLoaderData, useLocation, useMatch, useMatches, useNavigate, useNavigation, useNavigationType, useOutlet, useOutletContext, useParams, useResolvedPath, useRevalidator, useRouteError, useRouteLoaderData, useRoutes };
|