react-router 7.8.0-pre.0 → 7.8.0-pre.1
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 +6 -0
- package/dist/{production/chunk-BCLZG6QW.js → development/chunk-4EVDZJGM.js} +130 -130
- package/dist/development/{chunk-HSC5IU24.mjs → chunk-I22FVTOY.mjs} +2 -2
- package/dist/development/{chunk-IW6UADHO.js → chunk-NGF2R4G7.js} +65 -32
- package/dist/development/{chunk-SC4OUYO4.mjs → chunk-XFFANEXU.mjs} +45 -12
- package/dist/development/{components-uUh0svuC.d.mts → components-CuPfnyiZ.d.mts} +1 -1
- package/dist/{production/context-DZWGFcKX.d.mts → development/context-DohQKLID.d.mts} +6 -7
- package/dist/development/dom-export.d.mts +2 -2
- package/dist/development/dom-export.js +3 -3
- package/dist/development/dom-export.mjs +3 -3
- package/dist/{production/index-react-server-client-DSU6bZil.d.ts → development/index-react-server-client-BzBbJLAD.d.ts} +1 -1
- package/dist/{production/index-react-server-client-BUK-oRcG.d.mts → development/index-react-server-client-CuajY2vy.d.mts} +3 -3
- package/dist/development/index-react-server-client.d.mts +4 -4
- package/dist/development/index-react-server-client.d.ts +2 -2
- package/dist/development/index-react-server-client.js +4 -4
- package/dist/development/index-react-server-client.mjs +2 -2
- package/dist/development/index-react-server.d.mts +6 -7
- package/dist/development/index-react-server.d.ts +6 -7
- package/dist/development/index-react-server.js +44 -11
- package/dist/development/index-react-server.mjs +44 -11
- package/dist/development/index.d.mts +8 -8
- package/dist/development/index.d.ts +4 -4
- package/dist/development/index.js +97 -97
- package/dist/development/index.mjs +3 -3
- package/dist/development/lib/types/internal.d.mts +2 -2
- package/dist/development/lib/types/internal.d.ts +1 -1
- package/dist/development/lib/types/internal.js +1 -1
- package/dist/development/lib/types/internal.mjs +1 -1
- package/dist/development/{route-data-UTmTa8an.d.mts → route-data-CpB5xtMm.d.mts} +1 -1
- package/dist/development/{routeModules-D5bppTB2.d.ts → routeModules-qBivMBjd.d.ts} +6 -7
- package/dist/{development/chunk-Z4NNCWGU.js → production/chunk-4PESVXQ2.js} +130 -130
- package/dist/production/{chunk-KQ5567DT.mjs → chunk-JJOMWYJ4.mjs} +2 -2
- package/dist/production/{chunk-X2NPJMV2.mjs → chunk-P2ZJHOXZ.mjs} +45 -12
- package/dist/production/{chunk-YC2ENCM3.js → chunk-RLJ23MYZ.js} +65 -32
- package/dist/production/{components-uUh0svuC.d.mts → components-CuPfnyiZ.d.mts} +1 -1
- package/dist/{development/context-DZWGFcKX.d.mts → production/context-DohQKLID.d.mts} +6 -7
- package/dist/production/dom-export.d.mts +2 -2
- package/dist/production/dom-export.js +3 -3
- package/dist/production/dom-export.mjs +3 -3
- package/dist/{development/index-react-server-client-DSU6bZil.d.ts → production/index-react-server-client-BzBbJLAD.d.ts} +1 -1
- package/dist/{development/index-react-server-client-BUK-oRcG.d.mts → production/index-react-server-client-CuajY2vy.d.mts} +3 -3
- package/dist/production/index-react-server-client.d.mts +4 -4
- package/dist/production/index-react-server-client.d.ts +2 -2
- package/dist/production/index-react-server-client.js +4 -4
- package/dist/production/index-react-server-client.mjs +2 -2
- package/dist/production/index-react-server.d.mts +6 -7
- package/dist/production/index-react-server.d.ts +6 -7
- package/dist/production/index-react-server.js +44 -11
- package/dist/production/index-react-server.mjs +44 -11
- package/dist/production/index.d.mts +8 -8
- package/dist/production/index.d.ts +4 -4
- package/dist/production/index.js +97 -97
- package/dist/production/index.mjs +3 -3
- package/dist/production/lib/types/internal.d.mts +2 -2
- package/dist/production/lib/types/internal.d.ts +1 -1
- package/dist/production/lib/types/internal.js +1 -1
- package/dist/production/lib/types/internal.mjs +1 -1
- package/dist/production/{route-data-UTmTa8an.d.mts → route-data-CpB5xtMm.d.mts} +1 -1
- package/dist/production/{routeModules-D5bppTB2.d.ts → routeModules-qBivMBjd.d.ts} +6 -7
- package/package.json +1 -1
|
@@ -237,12 +237,10 @@ interface unstable_RouterContext<T = unknown> {
|
|
|
237
237
|
}
|
|
238
238
|
/**
|
|
239
239
|
* Creates a type-safe {@link unstable_RouterContext} object that can be used to
|
|
240
|
-
*
|
|
241
|
-
*
|
|
242
|
-
*
|
|
243
|
-
*
|
|
244
|
-
*
|
|
245
|
-
* <docs-warning>Enable this API with the `future.unstable_middleware` flag.</docs-warning>
|
|
240
|
+
* store and retrieve arbitrary values in [`action`](../../start/framework/route-module#action)s,
|
|
241
|
+
* [`loader`](../../start/framework/route-module#loader)s, and [middleware](../../how-to/middleware).
|
|
242
|
+
* Similar to React's [`createContext`](https://react.dev/reference/react/createContext),
|
|
243
|
+
* but specifically designed for React Router's request/response lifecycle.
|
|
246
244
|
*
|
|
247
245
|
* If a `defaultValue` is provided, it will be returned from `context.get()`
|
|
248
246
|
* when no value has been set for the context. Otherwise, reading this context
|
|
@@ -309,6 +307,7 @@ declare function unstable_createContext<T>(defaultValue?: T): unstable_RouterCon
|
|
|
309
307
|
* const userContext = unstable_createContext<User | null>(null);
|
|
310
308
|
* const contextProvider = new unstable_RouterContextProvider();
|
|
311
309
|
* contextProvider.set(userContext, getUser());
|
|
310
|
+
* // ^ Type-safe
|
|
312
311
|
* const user = contextProvider.get(userContext);
|
|
313
312
|
* // ^ User
|
|
314
313
|
*
|
|
@@ -379,7 +378,7 @@ interface DataFunctionArgs<Context> {
|
|
|
379
378
|
* middlewares from the bottom-up
|
|
380
379
|
*/
|
|
381
380
|
interface unstable_MiddlewareNextFunction<Result = unknown> {
|
|
382
|
-
():
|
|
381
|
+
(): Promise<Result>;
|
|
383
382
|
}
|
|
384
383
|
/**
|
|
385
384
|
* Route middleware function signature. Receives the same "data" arguments as a
|
|
@@ -27,7 +27,7 @@ function _interopNamespace(e) {
|
|
|
27
27
|
var React2__namespace = /*#__PURE__*/_interopNamespace(React2);
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
* react-router v7.8.0-pre.
|
|
30
|
+
* react-router v7.8.0-pre.1
|
|
31
31
|
*
|
|
32
32
|
* Copyright (c) Remix Software Inc.
|
|
33
33
|
*
|
|
@@ -901,6 +901,9 @@ function createStaticHandler(routes, opts) {
|
|
|
901
901
|
return res;
|
|
902
902
|
},
|
|
903
903
|
(error) => {
|
|
904
|
+
if (isRouteErrorResponse(error)) {
|
|
905
|
+
return Promise.resolve(errorResponseToResponse(error));
|
|
906
|
+
}
|
|
904
907
|
if (isResponse(error)) {
|
|
905
908
|
return Promise.resolve(error);
|
|
906
909
|
}
|
|
@@ -1494,12 +1497,6 @@ async function runServerMiddlewarePipeline(args, handler, errorHandler) {
|
|
|
1494
1497
|
handler,
|
|
1495
1498
|
errorHandler
|
|
1496
1499
|
);
|
|
1497
|
-
if (isDataWithResponseInit(result)) {
|
|
1498
|
-
return new Response(
|
|
1499
|
-
typeof result.data === "string" ? result.data : JSON.stringify(result.data),
|
|
1500
|
-
{ ...result.init }
|
|
1501
|
-
);
|
|
1502
|
-
}
|
|
1503
1500
|
if (isResponse(result)) {
|
|
1504
1501
|
return result;
|
|
1505
1502
|
}
|
|
@@ -1536,10 +1533,17 @@ async function callServerRouteMiddleware(args, middlewares, handler, errorHandle
|
|
|
1536
1533
|
errorHandler,
|
|
1537
1534
|
idx + 1
|
|
1538
1535
|
);
|
|
1536
|
+
if (isDataWithResponseInit(result)) {
|
|
1537
|
+
result = dataWithResponseInitToResponse(result);
|
|
1538
|
+
}
|
|
1539
1539
|
nextResult = result;
|
|
1540
1540
|
return nextResult;
|
|
1541
1541
|
} catch (e) {
|
|
1542
|
-
nextResult = await errorHandler(
|
|
1542
|
+
nextResult = await errorHandler(
|
|
1543
|
+
// Convert thrown data() values to ErrorResponses
|
|
1544
|
+
isDataWithResponseInit(e) ? dataWithResponseInitToErrorResponse(e) : e,
|
|
1545
|
+
routeId
|
|
1546
|
+
);
|
|
1543
1547
|
return nextResult;
|
|
1544
1548
|
}
|
|
1545
1549
|
};
|
|
@@ -1552,16 +1556,23 @@ async function callServerRouteMiddleware(args, middlewares, handler, errorHandle
|
|
|
1552
1556
|
},
|
|
1553
1557
|
next
|
|
1554
1558
|
);
|
|
1559
|
+
if (isDataWithResponseInit(result)) {
|
|
1560
|
+
result = dataWithResponseInitToResponse(result);
|
|
1561
|
+
}
|
|
1555
1562
|
if (nextCalled) {
|
|
1556
1563
|
return typeof result === "undefined" ? nextResult : result;
|
|
1557
|
-
} else if (isResponse(result)
|
|
1564
|
+
} else if (isResponse(result)) {
|
|
1558
1565
|
return result;
|
|
1559
1566
|
} else {
|
|
1560
1567
|
nextResult = await next();
|
|
1561
1568
|
return nextResult;
|
|
1562
1569
|
}
|
|
1563
|
-
} catch (
|
|
1564
|
-
let response = await errorHandler(
|
|
1570
|
+
} catch (e) {
|
|
1571
|
+
let response = await errorHandler(
|
|
1572
|
+
// Convert thrown data() values to ErrorResponses
|
|
1573
|
+
isDataWithResponseInit(e) ? dataWithResponseInitToErrorResponse(e) : e,
|
|
1574
|
+
routeId
|
|
1575
|
+
);
|
|
1565
1576
|
return response;
|
|
1566
1577
|
}
|
|
1567
1578
|
}
|
|
@@ -2000,6 +2011,28 @@ function getInternalRouterError(status, {
|
|
|
2000
2011
|
true
|
|
2001
2012
|
);
|
|
2002
2013
|
}
|
|
2014
|
+
function dataWithResponseInitToResponse(data2) {
|
|
2015
|
+
return new Response(
|
|
2016
|
+
typeof data2.data === "string" ? data2.data : JSON.stringify(data2.data),
|
|
2017
|
+
data2.init || void 0
|
|
2018
|
+
);
|
|
2019
|
+
}
|
|
2020
|
+
function dataWithResponseInitToErrorResponse(data2) {
|
|
2021
|
+
return new ErrorResponseImpl(
|
|
2022
|
+
data2.init?.status ?? 500,
|
|
2023
|
+
data2.init?.statusText ?? "Internal Server Error",
|
|
2024
|
+
data2.data
|
|
2025
|
+
);
|
|
2026
|
+
}
|
|
2027
|
+
function errorResponseToResponse(error) {
|
|
2028
|
+
return new Response(
|
|
2029
|
+
typeof error.data === "string" ? error.data : JSON.stringify(error.data),
|
|
2030
|
+
{
|
|
2031
|
+
status: error.status,
|
|
2032
|
+
statusText: error.statusText
|
|
2033
|
+
}
|
|
2034
|
+
);
|
|
2035
|
+
}
|
|
2003
2036
|
function isDataStrategyResult(result) {
|
|
2004
2037
|
return result != null && typeof result === "object" && "type" in result && "result" in result && (result.type === "data" /* data */ || result.type === "error" /* error */);
|
|
2005
2038
|
}
|
|
@@ -6,7 +6,7 @@ export { Await, BrowserRouter, Form, HashRouter, Link, Links, MemoryRouter, Meta
|
|
|
6
6
|
import { serialize, parse } from 'cookie';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* react-router v7.8.0-pre.
|
|
9
|
+
* react-router v7.8.0-pre.1
|
|
10
10
|
*
|
|
11
11
|
* Copyright (c) Remix Software Inc.
|
|
12
12
|
*
|
|
@@ -880,6 +880,9 @@ function createStaticHandler(routes, opts) {
|
|
|
880
880
|
return res;
|
|
881
881
|
},
|
|
882
882
|
(error) => {
|
|
883
|
+
if (isRouteErrorResponse(error)) {
|
|
884
|
+
return Promise.resolve(errorResponseToResponse(error));
|
|
885
|
+
}
|
|
883
886
|
if (isResponse(error)) {
|
|
884
887
|
return Promise.resolve(error);
|
|
885
888
|
}
|
|
@@ -1473,12 +1476,6 @@ async function runServerMiddlewarePipeline(args, handler, errorHandler) {
|
|
|
1473
1476
|
handler,
|
|
1474
1477
|
errorHandler
|
|
1475
1478
|
);
|
|
1476
|
-
if (isDataWithResponseInit(result)) {
|
|
1477
|
-
return new Response(
|
|
1478
|
-
typeof result.data === "string" ? result.data : JSON.stringify(result.data),
|
|
1479
|
-
{ ...result.init }
|
|
1480
|
-
);
|
|
1481
|
-
}
|
|
1482
1479
|
if (isResponse(result)) {
|
|
1483
1480
|
return result;
|
|
1484
1481
|
}
|
|
@@ -1515,10 +1512,17 @@ async function callServerRouteMiddleware(args, middlewares, handler, errorHandle
|
|
|
1515
1512
|
errorHandler,
|
|
1516
1513
|
idx + 1
|
|
1517
1514
|
);
|
|
1515
|
+
if (isDataWithResponseInit(result)) {
|
|
1516
|
+
result = dataWithResponseInitToResponse(result);
|
|
1517
|
+
}
|
|
1518
1518
|
nextResult = result;
|
|
1519
1519
|
return nextResult;
|
|
1520
1520
|
} catch (e) {
|
|
1521
|
-
nextResult = await errorHandler(
|
|
1521
|
+
nextResult = await errorHandler(
|
|
1522
|
+
// Convert thrown data() values to ErrorResponses
|
|
1523
|
+
isDataWithResponseInit(e) ? dataWithResponseInitToErrorResponse(e) : e,
|
|
1524
|
+
routeId
|
|
1525
|
+
);
|
|
1522
1526
|
return nextResult;
|
|
1523
1527
|
}
|
|
1524
1528
|
};
|
|
@@ -1531,16 +1535,23 @@ async function callServerRouteMiddleware(args, middlewares, handler, errorHandle
|
|
|
1531
1535
|
},
|
|
1532
1536
|
next
|
|
1533
1537
|
);
|
|
1538
|
+
if (isDataWithResponseInit(result)) {
|
|
1539
|
+
result = dataWithResponseInitToResponse(result);
|
|
1540
|
+
}
|
|
1534
1541
|
if (nextCalled) {
|
|
1535
1542
|
return typeof result === "undefined" ? nextResult : result;
|
|
1536
|
-
} else if (isResponse(result)
|
|
1543
|
+
} else if (isResponse(result)) {
|
|
1537
1544
|
return result;
|
|
1538
1545
|
} else {
|
|
1539
1546
|
nextResult = await next();
|
|
1540
1547
|
return nextResult;
|
|
1541
1548
|
}
|
|
1542
|
-
} catch (
|
|
1543
|
-
let response = await errorHandler(
|
|
1549
|
+
} catch (e) {
|
|
1550
|
+
let response = await errorHandler(
|
|
1551
|
+
// Convert thrown data() values to ErrorResponses
|
|
1552
|
+
isDataWithResponseInit(e) ? dataWithResponseInitToErrorResponse(e) : e,
|
|
1553
|
+
routeId
|
|
1554
|
+
);
|
|
1544
1555
|
return response;
|
|
1545
1556
|
}
|
|
1546
1557
|
}
|
|
@@ -1979,6 +1990,28 @@ function getInternalRouterError(status, {
|
|
|
1979
1990
|
true
|
|
1980
1991
|
);
|
|
1981
1992
|
}
|
|
1993
|
+
function dataWithResponseInitToResponse(data2) {
|
|
1994
|
+
return new Response(
|
|
1995
|
+
typeof data2.data === "string" ? data2.data : JSON.stringify(data2.data),
|
|
1996
|
+
data2.init || void 0
|
|
1997
|
+
);
|
|
1998
|
+
}
|
|
1999
|
+
function dataWithResponseInitToErrorResponse(data2) {
|
|
2000
|
+
return new ErrorResponseImpl(
|
|
2001
|
+
data2.init?.status ?? 500,
|
|
2002
|
+
data2.init?.statusText ?? "Internal Server Error",
|
|
2003
|
+
data2.data
|
|
2004
|
+
);
|
|
2005
|
+
}
|
|
2006
|
+
function errorResponseToResponse(error) {
|
|
2007
|
+
return new Response(
|
|
2008
|
+
typeof error.data === "string" ? error.data : JSON.stringify(error.data),
|
|
2009
|
+
{
|
|
2010
|
+
status: error.status,
|
|
2011
|
+
statusText: error.statusText
|
|
2012
|
+
}
|
|
2013
|
+
);
|
|
2014
|
+
}
|
|
1982
2015
|
function isDataStrategyResult(result) {
|
|
1983
2016
|
return result != null && typeof result === "object" && "type" in result && "result" in result && (result.type === "data" /* data */ || result.type === "error" /* error */);
|
|
1984
2017
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { R as Router, D as DataStrategyFunction, T as To, q as NavigateOptions, B as BlockerFunction, r as Blocker, a as RelativeRoutingType, c as Location, s as ParamParseKey, t as Path, v as PathPattern, w as PathMatch, U as UIMatch, x as Navigation, A as Action, h as Params, f as RouteObject, I as InitialEntry, H as HydrationState, b as IndexRouteObject, l as LoaderFunction, k as ActionFunction, N as NonIndexRouteObject, o as unstable_RouterContextProvider, M as MiddlewareEnabled, S as ShouldRevalidateFunction, e as RouterInit, y as RouterState, P as PatchRoutesOnNavigationFunction, z as DataRouteObject } from './context-
|
|
2
|
-
export { i as ActionFunctionArgs, m as DataRouteMatch, Y as DataStrategyFunctionArgs, Z as DataStrategyMatch, _ as DataStrategyResult, $ as ErrorResponse, K as Fetcher, a0 as FormEncType, a1 as FormMethod, an as Future, G as GetScrollPositionFunction, E as GetScrollRestorationKeyFunction, a2 as HTMLFormMethod, ac as IDLE_BLOCKER, ab as IDLE_FETCHER, aa as IDLE_NAVIGATION, L as LazyRouteFunction, j as LoaderFunctionArgs, O as NavigationStates, d as Navigator, am as PatchRoutesOnNavigationFunctionArgs, a3 as PathParam, a4 as RedirectFunction, X as RevalidationState, g as RouteMatch, W as RouterFetchOptions, V as RouterNavigateOptions, Q as RouterSubscriber, a6 as ShouldRevalidateFunctionArgs, C as StaticHandler, J as StaticHandlerContext, as as UNSAFE_DataRouterContext, at as UNSAFE_DataRouterStateContext, p as UNSAFE_DataWithResponseInit, ar as UNSAFE_ErrorResponseImpl, au as UNSAFE_FetchersContext, av as UNSAFE_LocationContext, aw as UNSAFE_NavigationContext, ax as UNSAFE_RouteContext, ay as UNSAFE_ViewTransitionContext, ao as UNSAFE_createBrowserHistory, aq as UNSAFE_createRouter, ap 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, n as unstable_MiddlewareFunction, a5 as unstable_RouterContext, a7 as unstable_createContext } from './context-
|
|
3
|
-
import { a as RouteComponentType, H as HydrateFallbackType, E as ErrorBoundaryType } from './components-
|
|
4
|
-
export { f as Await, A as AwaitProps, I as IndexRouteProps, L as LayoutRouteProps, g as MemoryRouter, M as MemoryRouterOpts, b as MemoryRouterProps, h as Navigate, N as NavigateProps, i as Outlet, O as OutletProps, P as PathRouteProps, j as Route, c as RouteProps, k as Router, d as RouterProps, l as RouterProvider, R as RouterProviderProps, m as Routes, e as RoutesProps, W as UNSAFE_WithComponentProps, v as UNSAFE_WithErrorBoundaryProps, t as UNSAFE_WithHydrateFallbackProps, q as UNSAFE_hydrationRouteProperties, s as UNSAFE_mapRouteProperties, w as UNSAFE_withComponentProps, x as UNSAFE_withErrorBoundaryProps, u as UNSAFE_withHydrateFallbackProps, n as createMemoryRouter, o as createRoutesFromChildren, p as createRoutesFromElements, r as renderMatches } from './components-
|
|
1
|
+
import { R as Router, D as DataStrategyFunction, T as To, q as NavigateOptions, B as BlockerFunction, r as Blocker, a as RelativeRoutingType, c as Location, s as ParamParseKey, t as Path, v as PathPattern, w as PathMatch, U as UIMatch, x as Navigation, A as Action, h as Params, f as RouteObject, I as InitialEntry, H as HydrationState, b as IndexRouteObject, l as LoaderFunction, k as ActionFunction, N as NonIndexRouteObject, o as unstable_RouterContextProvider, M as MiddlewareEnabled, S as ShouldRevalidateFunction, e as RouterInit, y as RouterState, P as PatchRoutesOnNavigationFunction, z as DataRouteObject } from './context-DohQKLID.mjs';
|
|
2
|
+
export { i as ActionFunctionArgs, m as DataRouteMatch, Y as DataStrategyFunctionArgs, Z as DataStrategyMatch, _ as DataStrategyResult, $ as ErrorResponse, K as Fetcher, a0 as FormEncType, a1 as FormMethod, an as Future, G as GetScrollPositionFunction, E as GetScrollRestorationKeyFunction, a2 as HTMLFormMethod, ac as IDLE_BLOCKER, ab as IDLE_FETCHER, aa as IDLE_NAVIGATION, L as LazyRouteFunction, j as LoaderFunctionArgs, O as NavigationStates, d as Navigator, am as PatchRoutesOnNavigationFunctionArgs, a3 as PathParam, a4 as RedirectFunction, X as RevalidationState, g as RouteMatch, W as RouterFetchOptions, V as RouterNavigateOptions, Q as RouterSubscriber, a6 as ShouldRevalidateFunctionArgs, C as StaticHandler, J as StaticHandlerContext, as as UNSAFE_DataRouterContext, at as UNSAFE_DataRouterStateContext, p as UNSAFE_DataWithResponseInit, ar as UNSAFE_ErrorResponseImpl, au as UNSAFE_FetchersContext, av as UNSAFE_LocationContext, aw as UNSAFE_NavigationContext, ax as UNSAFE_RouteContext, ay as UNSAFE_ViewTransitionContext, ao as UNSAFE_createBrowserHistory, aq as UNSAFE_createRouter, ap 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, n as unstable_MiddlewareFunction, a5 as unstable_RouterContext, a7 as unstable_createContext } from './context-DohQKLID.mjs';
|
|
3
|
+
import { a as RouteComponentType, H as HydrateFallbackType, E as ErrorBoundaryType } from './components-CuPfnyiZ.mjs';
|
|
4
|
+
export { f as Await, A as AwaitProps, I as IndexRouteProps, L as LayoutRouteProps, g as MemoryRouter, M as MemoryRouterOpts, b as MemoryRouterProps, h as Navigate, N as NavigateProps, i as Outlet, O as OutletProps, P as PathRouteProps, j as Route, c as RouteProps, k as Router, d as RouterProps, l as RouterProvider, R as RouterProviderProps, m as Routes, e as RoutesProps, W as UNSAFE_WithComponentProps, v as UNSAFE_WithErrorBoundaryProps, t as UNSAFE_WithHydrateFallbackProps, q as UNSAFE_hydrationRouteProperties, s as UNSAFE_mapRouteProperties, w as UNSAFE_withComponentProps, x as UNSAFE_withErrorBoundaryProps, u as UNSAFE_withHydrateFallbackProps, n as createMemoryRouter, o as createRoutesFromChildren, p as createRoutesFromElements, r as renderMatches } from './components-CuPfnyiZ.mjs';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import React__default, { ReactElement } from 'react';
|
|
7
|
-
import { c as RouteModules, d as SerializeFrom, e as MetaFunction, f as LinksFunction, A as AppLoadContext, E as Equal, g as ClientActionFunction, h as ClientLoaderFunction, H as HeadersFunction } from './route-data-
|
|
8
|
-
export { i as ClientActionFunctionArgs, j as ClientLoaderFunctionArgs, k as HeadersArgs, n as HtmlLinkDescriptor, L as LinkDescriptor, l as MetaArgs, M as MetaDescriptor, m as PageLinkDescriptor, u as unstable_SerializesTo } from './route-data-
|
|
9
|
-
import { A as AssetsManifest, E as EntryContext, F as FutureConfig, S as ServerBuild } from './index-react-server-client-
|
|
10
|
-
export { l as BrowserRouter, B as BrowserRouterProps, D as DOMRouterOpts, a1 as DiscoverBehavior, c as FetcherFormProps, h as FetcherSubmitFunction, G as FetcherSubmitOptions, i as FetcherWithComponents, q as Form, d as FormProps, a2 as HandleDataRequestFunction, a3 as HandleDocumentRequestFunction, a4 as HandleErrorFunction, m as HashRouter, H as HashRouterProps, a as HistoryRouterProps, n as Link, L as LinkProps, X as Links, _ as LinksProps, W as Meta, p as NavLink, N as NavLinkProps, b as NavLinkRenderProps, P as ParamKeyValuePair, a0 as PrefetchBehavior, Z as PrefetchPageLinks, Y as Scripts, $ as ScriptsProps, r as ScrollRestoration, e as ScrollRestorationProps, a5 as ServerEntryModule, f as SetURLSearchParams, T as StaticRouter, M as StaticRouterProps, V as StaticRouterProvider, O as StaticRouterProviderProps, g as SubmitFunction, I as SubmitOptions, J as SubmitTarget, a6 as UNSAFE_FrameworkContext, a7 as UNSAFE_createClientRoutes, a8 as UNSAFE_createClientRoutesWithHMRRevalidationOptOut, a9 as UNSAFE_shouldHydrateRouteLoader, aa as UNSAFE_useScrollRestoration, U as URLSearchParamsInit, j as createBrowserRouter, k as createHashRouter, K as createSearchParams, Q as createStaticHandler, R as createStaticRouter, o as unstable_HistoryRouter, z as unstable_usePrompt, y as useBeforeUnload, w as useFetcher, x as useFetchers, v as useFormAction, u as useLinkClickHandler, s as useSearchParams, t as useSubmit, C as useViewTransitionState } from './index-react-server-client-
|
|
7
|
+
import { c as RouteModules, d as SerializeFrom, e as MetaFunction, f as LinksFunction, A as AppLoadContext, E as Equal, g as ClientActionFunction, h as ClientLoaderFunction, H as HeadersFunction } from './route-data-CpB5xtMm.mjs';
|
|
8
|
+
export { i as ClientActionFunctionArgs, j as ClientLoaderFunctionArgs, k as HeadersArgs, n as HtmlLinkDescriptor, L as LinkDescriptor, l as MetaArgs, M as MetaDescriptor, m as PageLinkDescriptor, u as unstable_SerializesTo } from './route-data-CpB5xtMm.mjs';
|
|
9
|
+
import { A as AssetsManifest, E as EntryContext, F as FutureConfig, S as ServerBuild } from './index-react-server-client-CuajY2vy.mjs';
|
|
10
|
+
export { l as BrowserRouter, B as BrowserRouterProps, D as DOMRouterOpts, a1 as DiscoverBehavior, c as FetcherFormProps, h as FetcherSubmitFunction, G as FetcherSubmitOptions, i as FetcherWithComponents, q as Form, d as FormProps, a2 as HandleDataRequestFunction, a3 as HandleDocumentRequestFunction, a4 as HandleErrorFunction, m as HashRouter, H as HashRouterProps, a as HistoryRouterProps, n as Link, L as LinkProps, X as Links, _ as LinksProps, W as Meta, p as NavLink, N as NavLinkProps, b as NavLinkRenderProps, P as ParamKeyValuePair, a0 as PrefetchBehavior, Z as PrefetchPageLinks, Y as Scripts, $ as ScriptsProps, r as ScrollRestoration, e as ScrollRestorationProps, a5 as ServerEntryModule, f as SetURLSearchParams, T as StaticRouter, M as StaticRouterProps, V as StaticRouterProvider, O as StaticRouterProviderProps, g as SubmitFunction, I as SubmitOptions, J as SubmitTarget, a6 as UNSAFE_FrameworkContext, a7 as UNSAFE_createClientRoutes, a8 as UNSAFE_createClientRoutesWithHMRRevalidationOptOut, a9 as UNSAFE_shouldHydrateRouteLoader, aa as UNSAFE_useScrollRestoration, U as URLSearchParamsInit, j as createBrowserRouter, k as createHashRouter, K as createSearchParams, Q as createStaticHandler, R as createStaticRouter, o as unstable_HistoryRouter, z as unstable_usePrompt, y as useBeforeUnload, w as useFetcher, x as useFetchers, v as useFormAction, u as useLinkClickHandler, s as useSearchParams, t as useSubmit, C as useViewTransitionState } from './index-react-server-client-CuajY2vy.mjs';
|
|
11
11
|
import { ParseOptions, SerializeOptions } from 'cookie';
|
|
12
12
|
export { ParseOptions as CookieParseOptions, SerializeOptions as CookieSerializeOptions } from 'cookie';
|
|
13
13
|
import { P as Pages } from './register-DiOIlEq5.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as Router, e as RouteModules, D as DataStrategyFunction, T as To, f as NavigateOptions, B as BlockerFunction, g as Blocker, h as SerializeFrom, i as RelativeRoutingType, a as Location, j as ParamParseKey, k as Path, l as PathPattern, m as PathMatch, U as UIMatch, n as Navigation, A as Action, o as Params, p as RouteObject, I as InitialEntry, H as HydrationState, q as IndexRouteObject, r as LoaderFunction, s as ActionFunction, t as MetaFunction, v as LinksFunction, w as NonIndexRouteObject, x as AppLoadContext, y as unstable_RouterContextProvider, z as MiddlewareEnabled, E as Equal, F as ClientActionFunction, J as ClientLoaderFunction, K as HeadersFunction, O as ShouldRevalidateFunction, Q as RouterInit, V as RouterState, W as PatchRoutesOnNavigationFunction, X as DataRouteObject } from './routeModules-
|
|
2
|
-
export { a6 as ActionFunctionArgs, aF as ClientActionFunctionArgs, aG as ClientLoaderFunctionArgs, aB as DataRouteMatch, a7 as DataStrategyFunctionArgs, a8 as DataStrategyMatch, a9 as DataStrategyResult, ab as ErrorResponse, a0 as Fetcher, ac as FormEncType, ad as FormMethod, aL as Future, Z as GetScrollPositionFunction, _ as GetScrollRestorationKeyFunction, ae as HTMLFormMethod, aH as HeadersArgs, aK as HtmlLinkDescriptor, ar as IDLE_BLOCKER, aq as IDLE_FETCHER, ap as IDLE_NAVIGATION, af as LazyRouteFunction, L as LinkDescriptor, ag as LoaderFunctionArgs, aI as MetaArgs, M as MetaDescriptor, a1 as NavigationStates, aC as Navigator, aJ as PageLinkDescriptor, aD as PatchRoutesOnNavigationFunctionArgs, ai as PathParam, aj as RedirectFunction, a5 as RevalidationState, aE as RouteMatch, a4 as RouterFetchOptions, a3 as RouterNavigateOptions, a2 as RouterSubscriber, al as ShouldRevalidateFunctionArgs, Y as StaticHandler, $ as StaticHandlerContext, aR as UNSAFE_DataRouterContext, aS as UNSAFE_DataRouterStateContext, aa as UNSAFE_DataWithResponseInit, aQ as UNSAFE_ErrorResponseImpl, aT as UNSAFE_FetchersContext, aU as UNSAFE_LocationContext, aV as UNSAFE_NavigationContext, aW as UNSAFE_RouteContext, aX as UNSAFE_ViewTransitionContext, aN as UNSAFE_createBrowserHistory, aP as UNSAFE_createRouter, aO as UNSAFE_invariant, an as createPath, as as data, at as generatePath, au as isRouteErrorResponse, av as matchPath, aw as matchRoutes, ao as parsePath, ax as redirect, ay as redirectDocument, az as replace, aA as resolvePath, ah as unstable_MiddlewareFunction, ak as unstable_RouterContext, aM as unstable_SerializesTo, am as unstable_createContext } from './routeModules-
|
|
3
|
-
import { A as AssetsManifest, E as EntryContext, F as FutureConfig, R as RouteComponentType, H as HydrateFallbackType, a as ErrorBoundaryType, S as ServerBuild } from './index-react-server-client-
|
|
4
|
-
export { h as Await, b as AwaitProps, V as BrowserRouter, B as BrowserRouterProps, D as DOMRouterOpts, as as DiscoverBehavior, y as FetcherFormProps, K as FetcherSubmitFunction, a9 as FetcherSubmitOptions, Q as FetcherWithComponents, _ as Form, z as FormProps, at as HandleDataRequestFunction, au as HandleDocumentRequestFunction, av as HandleErrorFunction, W as HashRouter, t as HashRouterProps, u as HistoryRouterProps, I as IndexRouteProps, L as LayoutRouteProps, X as Link, v as LinkProps, am as Links, ap as LinksProps, i as MemoryRouter, M as MemoryRouterOpts, c as MemoryRouterProps, al as Meta, Z as NavLink, w as NavLinkProps, x as NavLinkRenderProps, j as Navigate, N as NavigateProps, k as Outlet, O as OutletProps, aa as ParamKeyValuePair, P as PathRouteProps, ar as PrefetchBehavior, ao as PrefetchPageLinks, l as Route, d as RouteProps, m as Router, e as RouterProps, n as RouterProvider, f as RouterProviderProps, o as Routes, g as RoutesProps, an as Scripts, aq as ScriptsProps, $ as ScrollRestoration, C as ScrollRestorationProps, aw as ServerEntryModule, G as SetURLSearchParams, aj as StaticRouter, af as StaticRouterProps, ak as StaticRouterProvider, ag as StaticRouterProviderProps, J as SubmitFunction, ab as SubmitOptions, ad as SubmitTarget, aF as UNSAFE_FrameworkContext, az as UNSAFE_WithComponentProps, aD as UNSAFE_WithErrorBoundaryProps, aB as UNSAFE_WithHydrateFallbackProps, aG as UNSAFE_createClientRoutes, aH as UNSAFE_createClientRoutesWithHMRRevalidationOptOut, ax as UNSAFE_hydrationRouteProperties, ay as UNSAFE_mapRouteProperties, aI as UNSAFE_shouldHydrateRouteLoader, aJ as UNSAFE_useScrollRestoration, aA as UNSAFE_withComponentProps, aE as UNSAFE_withErrorBoundaryProps, aC as UNSAFE_withHydrateFallbackProps, ac as URLSearchParamsInit, T as createBrowserRouter, U as createHashRouter, p as createMemoryRouter, q as createRoutesFromChildren, r as createRoutesFromElements, ae as createSearchParams, ah as createStaticHandler, ai as createStaticRouter, s as renderMatches, Y as unstable_HistoryRouter, a7 as unstable_usePrompt, a6 as useBeforeUnload, a4 as useFetcher, a5 as useFetchers, a3 as useFormAction, a0 as useLinkClickHandler, a1 as useSearchParams, a2 as useSubmit, a8 as useViewTransitionState } from './index-react-server-client-
|
|
1
|
+
import { d as Router, e as RouteModules, D as DataStrategyFunction, T as To, f as NavigateOptions, B as BlockerFunction, g as Blocker, h as SerializeFrom, i as RelativeRoutingType, a as Location, j as ParamParseKey, k as Path, l as PathPattern, m as PathMatch, U as UIMatch, n as Navigation, A as Action, o as Params, p as RouteObject, I as InitialEntry, H as HydrationState, q as IndexRouteObject, r as LoaderFunction, s as ActionFunction, t as MetaFunction, v as LinksFunction, w as NonIndexRouteObject, x as AppLoadContext, y as unstable_RouterContextProvider, z as MiddlewareEnabled, E as Equal, F as ClientActionFunction, J as ClientLoaderFunction, K as HeadersFunction, O as ShouldRevalidateFunction, Q as RouterInit, V as RouterState, W as PatchRoutesOnNavigationFunction, X as DataRouteObject } from './routeModules-qBivMBjd.js';
|
|
2
|
+
export { a6 as ActionFunctionArgs, aF as ClientActionFunctionArgs, aG as ClientLoaderFunctionArgs, aB as DataRouteMatch, a7 as DataStrategyFunctionArgs, a8 as DataStrategyMatch, a9 as DataStrategyResult, ab as ErrorResponse, a0 as Fetcher, ac as FormEncType, ad as FormMethod, aL as Future, Z as GetScrollPositionFunction, _ as GetScrollRestorationKeyFunction, ae as HTMLFormMethod, aH as HeadersArgs, aK as HtmlLinkDescriptor, ar as IDLE_BLOCKER, aq as IDLE_FETCHER, ap as IDLE_NAVIGATION, af as LazyRouteFunction, L as LinkDescriptor, ag as LoaderFunctionArgs, aI as MetaArgs, M as MetaDescriptor, a1 as NavigationStates, aC as Navigator, aJ as PageLinkDescriptor, aD as PatchRoutesOnNavigationFunctionArgs, ai as PathParam, aj as RedirectFunction, a5 as RevalidationState, aE as RouteMatch, a4 as RouterFetchOptions, a3 as RouterNavigateOptions, a2 as RouterSubscriber, al as ShouldRevalidateFunctionArgs, Y as StaticHandler, $ as StaticHandlerContext, aR as UNSAFE_DataRouterContext, aS as UNSAFE_DataRouterStateContext, aa as UNSAFE_DataWithResponseInit, aQ as UNSAFE_ErrorResponseImpl, aT as UNSAFE_FetchersContext, aU as UNSAFE_LocationContext, aV as UNSAFE_NavigationContext, aW as UNSAFE_RouteContext, aX as UNSAFE_ViewTransitionContext, aN as UNSAFE_createBrowserHistory, aP as UNSAFE_createRouter, aO as UNSAFE_invariant, an as createPath, as as data, at as generatePath, au as isRouteErrorResponse, av as matchPath, aw as matchRoutes, ao as parsePath, ax as redirect, ay as redirectDocument, az as replace, aA as resolvePath, ah as unstable_MiddlewareFunction, ak as unstable_RouterContext, aM as unstable_SerializesTo, am as unstable_createContext } from './routeModules-qBivMBjd.js';
|
|
3
|
+
import { A as AssetsManifest, E as EntryContext, F as FutureConfig, R as RouteComponentType, H as HydrateFallbackType, a as ErrorBoundaryType, S as ServerBuild } from './index-react-server-client-BzBbJLAD.js';
|
|
4
|
+
export { h as Await, b as AwaitProps, V as BrowserRouter, B as BrowserRouterProps, D as DOMRouterOpts, as as DiscoverBehavior, y as FetcherFormProps, K as FetcherSubmitFunction, a9 as FetcherSubmitOptions, Q as FetcherWithComponents, _ as Form, z as FormProps, at as HandleDataRequestFunction, au as HandleDocumentRequestFunction, av as HandleErrorFunction, W as HashRouter, t as HashRouterProps, u as HistoryRouterProps, I as IndexRouteProps, L as LayoutRouteProps, X as Link, v as LinkProps, am as Links, ap as LinksProps, i as MemoryRouter, M as MemoryRouterOpts, c as MemoryRouterProps, al as Meta, Z as NavLink, w as NavLinkProps, x as NavLinkRenderProps, j as Navigate, N as NavigateProps, k as Outlet, O as OutletProps, aa as ParamKeyValuePair, P as PathRouteProps, ar as PrefetchBehavior, ao as PrefetchPageLinks, l as Route, d as RouteProps, m as Router, e as RouterProps, n as RouterProvider, f as RouterProviderProps, o as Routes, g as RoutesProps, an as Scripts, aq as ScriptsProps, $ as ScrollRestoration, C as ScrollRestorationProps, aw as ServerEntryModule, G as SetURLSearchParams, aj as StaticRouter, af as StaticRouterProps, ak as StaticRouterProvider, ag as StaticRouterProviderProps, J as SubmitFunction, ab as SubmitOptions, ad as SubmitTarget, aF as UNSAFE_FrameworkContext, az as UNSAFE_WithComponentProps, aD as UNSAFE_WithErrorBoundaryProps, aB as UNSAFE_WithHydrateFallbackProps, aG as UNSAFE_createClientRoutes, aH as UNSAFE_createClientRoutesWithHMRRevalidationOptOut, ax as UNSAFE_hydrationRouteProperties, ay as UNSAFE_mapRouteProperties, aI as UNSAFE_shouldHydrateRouteLoader, aJ as UNSAFE_useScrollRestoration, aA as UNSAFE_withComponentProps, aE as UNSAFE_withErrorBoundaryProps, aC as UNSAFE_withHydrateFallbackProps, ac as URLSearchParamsInit, T as createBrowserRouter, U as createHashRouter, p as createMemoryRouter, q as createRoutesFromChildren, r as createRoutesFromElements, ae as createSearchParams, ah as createStaticHandler, ai as createStaticRouter, s as renderMatches, Y as unstable_HistoryRouter, a7 as unstable_usePrompt, a6 as useBeforeUnload, a4 as useFetcher, a5 as useFetchers, a3 as useFormAction, a0 as useLinkClickHandler, a1 as useSearchParams, a2 as useSubmit, a8 as useViewTransitionState } from './index-react-server-client-BzBbJLAD.js';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import React__default, { ReactElement } from 'react';
|
|
7
7
|
import { ParseOptions, SerializeOptions } from 'cookie';
|