react-router 7.8.1 → 7.8.2-pre.0
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 +12 -0
- package/dist/development/{chunk-UH6JLGW7.mjs → chunk-5LNVHL6T.mjs} +185 -201
- package/dist/development/{chunk-TGXCWGPT.js → chunk-KUJAVZYD.js} +123 -180
- package/dist/development/{chunk-IFMMFE4R.mjs → chunk-RVSOEW4N.mjs} +34 -75
- package/dist/development/{chunk-IIA3TUI2.js → chunk-UMVNFWBW.js} +210 -169
- package/dist/development/{context-DohQKLID.d.mts → context-D5hQ2yCL.d.mts} +843 -6
- package/dist/development/dom-export.d.mts +20 -2
- package/dist/development/dom-export.d.ts +20 -1
- package/dist/development/dom-export.js +10 -4
- package/dist/development/dom-export.mjs +10 -4
- package/dist/{production/index-react-server-client-BQ6FxdA_.d.ts → development/index-react-server-client-C4AMmMi3.d.ts} +6 -816
- package/dist/{production/index-react-server-client-11fLy3qB.d.mts → development/index-react-server-client-DgVbd8DS.d.mts} +2 -3
- package/dist/development/index-react-server-client.d.mts +3 -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 +1 -1
- package/dist/development/index-react-server.d.ts +1 -1
- package/dist/development/index-react-server.js +39 -45
- package/dist/development/index-react-server.mjs +39 -45
- package/dist/development/index.d.mts +7 -9
- package/dist/development/index.d.ts +5 -5
- package/dist/development/index.js +122 -163
- package/dist/development/index.mjs +3 -3
- package/dist/development/lib/types/internal.d.mts +3 -3
- package/dist/development/lib/types/internal.d.ts +2 -2
- package/dist/development/lib/types/internal.js +1 -1
- package/dist/development/lib/types/internal.mjs +1 -1
- package/dist/development/{route-data-CNjObrhZ.d.mts → route-data-B3sNokxM.d.mts} +2 -2
- package/dist/development/{routeModules-C3oqzPpI.d.ts → routeModules-DRWHoPcT.d.ts} +844 -7
- package/dist/production/{chunk-YMYXECPK.js → chunk-3PSRBVDP.js} +210 -169
- package/dist/production/{chunk-5Y7ELDIJ.mjs → chunk-4HHN5NDL.mjs} +34 -75
- package/dist/production/{chunk-KHPQXKYM.js → chunk-NCRSBAFG.js} +123 -180
- package/dist/production/{chunk-PFDCNQUK.mjs → chunk-O46NJYOA.mjs} +185 -201
- package/dist/production/{context-DohQKLID.d.mts → context-D5hQ2yCL.d.mts} +843 -6
- package/dist/production/dom-export.d.mts +20 -2
- package/dist/production/dom-export.d.ts +20 -1
- package/dist/production/dom-export.js +10 -4
- package/dist/production/dom-export.mjs +10 -4
- package/dist/{development/index-react-server-client-BQ6FxdA_.d.ts → production/index-react-server-client-C4AMmMi3.d.ts} +6 -816
- package/dist/{development/index-react-server-client-11fLy3qB.d.mts → production/index-react-server-client-DgVbd8DS.d.mts} +2 -3
- package/dist/production/index-react-server-client.d.mts +3 -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 +1 -1
- package/dist/production/index-react-server.d.ts +1 -1
- package/dist/production/index-react-server.js +39 -45
- package/dist/production/index-react-server.mjs +39 -45
- package/dist/production/index.d.mts +7 -9
- package/dist/production/index.d.ts +5 -5
- package/dist/production/index.js +122 -163
- package/dist/production/index.mjs +3 -3
- package/dist/production/lib/types/internal.d.mts +3 -3
- package/dist/production/lib/types/internal.d.ts +2 -2
- package/dist/production/lib/types/internal.js +1 -1
- package/dist/production/lib/types/internal.mjs +1 -1
- package/dist/production/{route-data-CNjObrhZ.d.mts → route-data-B3sNokxM.d.mts} +2 -2
- package/dist/production/{routeModules-C3oqzPpI.d.ts → routeModules-DRWHoPcT.d.ts} +844 -7
- package/package.json +1 -1
- package/dist/development/components-CuPfnyiZ.d.mts +0 -814
- package/dist/production/components-CuPfnyiZ.d.mts +0 -814
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import './
|
|
1
|
+
import { b6 as RouteManifest, M as MiddlewareEnabled, h as unstable_RouterContextProvider, c as LoaderFunctionArgs, A as ActionFunctionArgs, O as StaticHandlerContext, H as HydrationState, F as DataRouteObject, a3 as HTMLFormMethod, a1 as FormEncType, m as RelativeRoutingType, T as To, b7 as History, K as GetScrollRestorationKeyFunction, a as RouterInit, b8 as FutureConfig$1, k as DataStrategyFunction, C as PatchRoutesOnNavigationFunction, N as NavigateOptions, Q as Fetcher, t as RouteObject, j as Router, B as BlockerFunction, L as Location, b9 as CreateStaticHandlerOptions$1, G as StaticHandler } from './context-D5hQ2yCL.mjs';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import {
|
|
4
|
-
import { o as ServerRouteModule, A as AppLoadContext, c as RouteModules, h as ClientLoaderFunction, m as PageLinkDescriptor, d as SerializeFrom } from './route-data-CNjObrhZ.mjs';
|
|
3
|
+
import { o as ServerRouteModule, A as AppLoadContext, c as RouteModules, h as ClientLoaderFunction, m as PageLinkDescriptor, d as SerializeFrom } from './route-data-B3sNokxM.mjs';
|
|
5
4
|
|
|
6
5
|
type ServerRouteManifest = RouteManifest<Omit<ServerRoute, "children">>;
|
|
7
6
|
interface ServerRoute extends Route {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { l as BrowserRouter, q as Form, m as HashRouter, n as Link, X as Links, W as Meta, p as NavLink, r as ScrollRestoration, T as StaticRouter, V as StaticRouterProvider, o as unstable_HistoryRouter } from './index-react-server-client-
|
|
3
|
-
import './context-DohQKLID.mjs';
|
|
1
|
+
export { aC as Await, aD as MemoryRouter, aE as Navigate, aF as Outlet, aG as Route, aH as Router, aI as RouterProvider, aJ as Routes, b0 as UNSAFE_WithComponentProps, b4 as UNSAFE_WithErrorBoundaryProps, b2 as UNSAFE_WithHydrateFallbackProps } from './context-D5hQ2yCL.mjs';
|
|
2
|
+
export { l as BrowserRouter, q as Form, m as HashRouter, n as Link, X as Links, W as Meta, p as NavLink, r as ScrollRestoration, T as StaticRouter, V as StaticRouterProvider, o as unstable_HistoryRouter } from './index-react-server-client-DgVbd8DS.mjs';
|
|
4
3
|
import 'react';
|
|
5
|
-
import './route-data-
|
|
4
|
+
import './route-data-B3sNokxM.mjs';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
2
|
-
|
|
1
|
+
export { aW as Await, aX as MemoryRouter, aY as Navigate, aZ as Outlet, a_ as Route, a$ as Router, b0 as RouterProvider, b1 as Routes, br as UNSAFE_WithComponentProps, bv as UNSAFE_WithErrorBoundaryProps, bt as UNSAFE_WithHydrateFallbackProps } from './routeModules-DRWHoPcT.js';
|
|
2
|
+
export { l as BrowserRouter, q as Form, m as HashRouter, n as Link, X as Links, W as Meta, p as NavLink, r as ScrollRestoration, T as StaticRouter, V as StaticRouterProvider, o as unstable_HistoryRouter } from './index-react-server-client-C4AMmMi3.js';
|
|
3
3
|
import 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});/**
|
|
2
|
-
* react-router v7.8.
|
|
2
|
+
* react-router v7.8.2-pre.0
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
var
|
|
33
|
+
var _chunkUMVNFWBWjs = require('./chunk-UMVNFWBW.js');
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunkKUJAVZYDjs = require('./chunk-KUJAVZYD.js');
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
@@ -58,4 +58,4 @@ var _chunkTGXCWGPTjs = require('./chunk-TGXCWGPT.js');
|
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
|
|
61
|
-
exports.Await =
|
|
61
|
+
exports.Await = _chunkUMVNFWBWjs.Await; exports.BrowserRouter = _chunkUMVNFWBWjs.BrowserRouter; exports.Form = _chunkUMVNFWBWjs.Form; exports.HashRouter = _chunkUMVNFWBWjs.HashRouter; exports.Link = _chunkUMVNFWBWjs.Link; exports.Links = _chunkKUJAVZYDjs.Links; exports.MemoryRouter = _chunkUMVNFWBWjs.MemoryRouter; exports.Meta = _chunkKUJAVZYDjs.Meta; exports.NavLink = _chunkUMVNFWBWjs.NavLink; exports.Navigate = _chunkUMVNFWBWjs.Navigate; exports.Outlet = _chunkUMVNFWBWjs.Outlet; exports.Route = _chunkUMVNFWBWjs.Route; exports.Router = _chunkUMVNFWBWjs.Router; exports.RouterProvider = _chunkUMVNFWBWjs.RouterProvider; exports.Routes = _chunkUMVNFWBWjs.Routes; exports.ScrollRestoration = _chunkUMVNFWBWjs.ScrollRestoration; exports.StaticRouter = _chunkUMVNFWBWjs.StaticRouter; exports.StaticRouterProvider = _chunkUMVNFWBWjs.StaticRouterProvider; exports.UNSAFE_WithComponentProps = _chunkUMVNFWBWjs.WithComponentProps; exports.UNSAFE_WithErrorBoundaryProps = _chunkUMVNFWBWjs.WithErrorBoundaryProps; exports.UNSAFE_WithHydrateFallbackProps = _chunkUMVNFWBWjs.WithHydrateFallbackProps; exports.unstable_HistoryRouter = _chunkUMVNFWBWjs.HistoryRouter;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v7.8.
|
|
2
|
+
* react-router v7.8.2-pre.0
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
WithComponentProps,
|
|
33
33
|
WithErrorBoundaryProps,
|
|
34
34
|
WithHydrateFallbackProps
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-5LNVHL6T.mjs";
|
|
36
36
|
export {
|
|
37
37
|
Await,
|
|
38
38
|
BrowserRouter,
|
|
@@ -1608,7 +1608,7 @@ type unstable_SerializesTo<T> = {
|
|
|
1608
1608
|
unstable__ReactRouter_SerializesTo: [T];
|
|
1609
1609
|
};
|
|
1610
1610
|
|
|
1611
|
-
type Serialize<T> = T extends unstable_SerializesTo<infer To> ? To : T extends Serializable ? T : T extends (...args: any[]) => unknown ? undefined : T extends Promise<infer U> ? Promise<Serialize<U>> : T extends Map<infer K, infer V> ? Map<Serialize<K>, Serialize<V>> : T extends Set<infer U> ? Set<Serialize<U>> : T extends [] ? [] : T extends readonly [infer F, ...infer R] ? [Serialize<F>, ...Serialize<R>] : T extends Array<infer U> ? Array<Serialize<U>> : T extends readonly unknown[] ? readonly Serialize<T[number]>[] : T extends Record<any, any> ? {
|
|
1611
|
+
type Serialize<T> = T extends unstable_SerializesTo<infer To> ? To : T extends Serializable ? T : T extends (...args: any[]) => unknown ? undefined : T extends Promise<infer U> ? Promise<Serialize<U>> : T extends Map<infer K, infer V> ? Map<Serialize<K>, Serialize<V>> : T extends ReadonlyMap<infer K, infer V> ? ReadonlyMap<Serialize<K>, Serialize<V>> : T extends Set<infer U> ? Set<Serialize<U>> : T extends ReadonlySet<infer U> ? ReadonlySet<Serialize<U>> : T extends [] ? [] : T extends readonly [infer F, ...infer R] ? [Serialize<F>, ...Serialize<R>] : T extends Array<infer U> ? Array<Serialize<U>> : T extends readonly unknown[] ? readonly Serialize<T[number]>[] : T extends Record<any, any> ? {
|
|
1612
1612
|
[K in keyof T]: Serialize<T[K]>;
|
|
1613
1613
|
} : undefined;
|
|
1614
1614
|
type VoidToUndefined<T> = Equal<T, void> extends true ? undefined : T;
|
|
@@ -1608,7 +1608,7 @@ type unstable_SerializesTo<T> = {
|
|
|
1608
1608
|
unstable__ReactRouter_SerializesTo: [T];
|
|
1609
1609
|
};
|
|
1610
1610
|
|
|
1611
|
-
type Serialize<T> = T extends unstable_SerializesTo<infer To> ? To : T extends Serializable ? T : T extends (...args: any[]) => unknown ? undefined : T extends Promise<infer U> ? Promise<Serialize<U>> : T extends Map<infer K, infer V> ? Map<Serialize<K>, Serialize<V>> : T extends Set<infer U> ? Set<Serialize<U>> : T extends [] ? [] : T extends readonly [infer F, ...infer R] ? [Serialize<F>, ...Serialize<R>] : T extends Array<infer U> ? Array<Serialize<U>> : T extends readonly unknown[] ? readonly Serialize<T[number]>[] : T extends Record<any, any> ? {
|
|
1611
|
+
type Serialize<T> = T extends unstable_SerializesTo<infer To> ? To : T extends Serializable ? T : T extends (...args: any[]) => unknown ? undefined : T extends Promise<infer U> ? Promise<Serialize<U>> : T extends Map<infer K, infer V> ? Map<Serialize<K>, Serialize<V>> : T extends ReadonlyMap<infer K, infer V> ? ReadonlyMap<Serialize<K>, Serialize<V>> : T extends Set<infer U> ? Set<Serialize<U>> : T extends ReadonlySet<infer U> ? ReadonlySet<Serialize<U>> : T extends [] ? [] : T extends readonly [infer F, ...infer R] ? [Serialize<F>, ...Serialize<R>] : T extends Array<infer U> ? Array<Serialize<U>> : T extends readonly unknown[] ? readonly Serialize<T[number]>[] : T extends Record<any, any> ? {
|
|
1612
1612
|
[K in keyof T]: Serialize<T[K]>;
|
|
1613
1613
|
} : undefined;
|
|
1614
1614
|
type VoidToUndefined<T> = Equal<T, void> extends true ? undefined : T;
|
|
@@ -27,7 +27,7 @@ function _interopNamespace(e) {
|
|
|
27
27
|
var React2__namespace = /*#__PURE__*/_interopNamespace(React2);
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
* react-router v7.8.
|
|
30
|
+
* react-router v7.8.2-pre.0
|
|
31
31
|
*
|
|
32
32
|
* Copyright (c) Remix Software Inc.
|
|
33
33
|
*
|
|
@@ -1513,31 +1513,37 @@ async function defaultDataStrategy(args) {
|
|
|
1513
1513
|
});
|
|
1514
1514
|
return keyedResults;
|
|
1515
1515
|
}
|
|
1516
|
-
|
|
1516
|
+
function runServerMiddlewarePipeline(args, handler, errorHandler) {
|
|
1517
|
+
return runMiddlewarePipeline(
|
|
1518
|
+
args,
|
|
1519
|
+
handler,
|
|
1520
|
+
processResult,
|
|
1521
|
+
isResponse,
|
|
1522
|
+
errorHandler
|
|
1523
|
+
);
|
|
1524
|
+
function processResult(result) {
|
|
1525
|
+
return isDataWithResponseInit(result) ? dataWithResponseInitToResponse(result) : result;
|
|
1526
|
+
}
|
|
1527
|
+
}
|
|
1528
|
+
async function runMiddlewarePipeline(args, handler, processResult, isResult, errorHandler) {
|
|
1517
1529
|
let { matches, request, params, context } = args;
|
|
1518
1530
|
let tuples = matches.flatMap(
|
|
1519
1531
|
(m) => m.route.unstable_middleware ? m.route.unstable_middleware.map((fn) => [m.route.id, fn]) : []
|
|
1520
1532
|
);
|
|
1521
|
-
let result = await
|
|
1533
|
+
let result = await callRouteMiddleware(
|
|
1522
1534
|
{ request, params, context },
|
|
1523
1535
|
tuples,
|
|
1524
1536
|
handler,
|
|
1537
|
+
processResult,
|
|
1538
|
+
isResult,
|
|
1525
1539
|
errorHandler
|
|
1526
1540
|
);
|
|
1527
|
-
|
|
1528
|
-
return result;
|
|
1529
|
-
}
|
|
1530
|
-
invariant(false, `Expected a Response to be returned from route middleware`);
|
|
1541
|
+
return result;
|
|
1531
1542
|
}
|
|
1532
|
-
async function
|
|
1543
|
+
async function callRouteMiddleware(args, middlewares, handler, processResult, isResult, errorHandler, idx = 0) {
|
|
1533
1544
|
let { request } = args;
|
|
1534
1545
|
if (request.signal.aborted) {
|
|
1535
|
-
|
|
1536
|
-
throw request.signal.reason;
|
|
1537
|
-
}
|
|
1538
|
-
throw new Error(
|
|
1539
|
-
`Request aborted without an \`AbortSignal.reason\`: ${request.method} ${request.url}`
|
|
1540
|
-
);
|
|
1546
|
+
throw request.signal.reason ?? new Error(`Request aborted: ${request.method} ${request.url}`);
|
|
1541
1547
|
}
|
|
1542
1548
|
let tuple = middlewares[idx];
|
|
1543
1549
|
if (!tuple) {
|
|
@@ -1545,53 +1551,41 @@ async function callServerRouteMiddleware(args, middlewares, handler, errorHandle
|
|
|
1545
1551
|
return result;
|
|
1546
1552
|
}
|
|
1547
1553
|
let [routeId, middleware] = tuple;
|
|
1548
|
-
let
|
|
1549
|
-
let nextResult = void 0;
|
|
1554
|
+
let nextResult;
|
|
1550
1555
|
let next = async () => {
|
|
1551
|
-
if (
|
|
1556
|
+
if (nextResult) {
|
|
1552
1557
|
throw new Error("You may only call `next()` once per middleware");
|
|
1553
1558
|
}
|
|
1554
|
-
nextCalled = true;
|
|
1555
1559
|
try {
|
|
1556
|
-
let result = await
|
|
1560
|
+
let result = await callRouteMiddleware(
|
|
1557
1561
|
args,
|
|
1558
1562
|
middlewares,
|
|
1559
1563
|
handler,
|
|
1564
|
+
processResult,
|
|
1565
|
+
isResult,
|
|
1560
1566
|
errorHandler,
|
|
1561
1567
|
idx + 1
|
|
1562
1568
|
);
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
nextResult =
|
|
1567
|
-
return nextResult;
|
|
1568
|
-
} catch (e) {
|
|
1569
|
-
nextResult = await errorHandler(e, routeId);
|
|
1570
|
-
return nextResult;
|
|
1569
|
+
nextResult = { value: result };
|
|
1570
|
+
return nextResult.value;
|
|
1571
|
+
} catch (error) {
|
|
1572
|
+
nextResult = { value: await errorHandler(error, routeId, nextResult) };
|
|
1573
|
+
return nextResult.value;
|
|
1571
1574
|
}
|
|
1572
1575
|
};
|
|
1573
1576
|
try {
|
|
1574
|
-
let
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
params: args.params,
|
|
1578
|
-
context: args.context
|
|
1579
|
-
},
|
|
1580
|
-
next
|
|
1581
|
-
);
|
|
1582
|
-
if (isDataWithResponseInit(result)) {
|
|
1583
|
-
result = dataWithResponseInitToResponse(result);
|
|
1584
|
-
}
|
|
1585
|
-
if (nextCalled) {
|
|
1586
|
-
return typeof result === "undefined" ? nextResult : result;
|
|
1587
|
-
} else if (isResponse(result)) {
|
|
1577
|
+
let value = await middleware(args, next);
|
|
1578
|
+
let result = value != null ? processResult(value) : void 0;
|
|
1579
|
+
if (isResult(result)) {
|
|
1588
1580
|
return result;
|
|
1581
|
+
} else if (nextResult) {
|
|
1582
|
+
return result ?? nextResult.value;
|
|
1589
1583
|
} else {
|
|
1590
|
-
nextResult = await next();
|
|
1591
|
-
return nextResult;
|
|
1584
|
+
nextResult = { value: await next() };
|
|
1585
|
+
return nextResult.value;
|
|
1592
1586
|
}
|
|
1593
|
-
} catch (
|
|
1594
|
-
let response = await errorHandler(
|
|
1587
|
+
} catch (error) {
|
|
1588
|
+
let response = await errorHandler(error, routeId, nextResult);
|
|
1595
1589
|
return response;
|
|
1596
1590
|
}
|
|
1597
1591
|
}
|
|
@@ -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.
|
|
9
|
+
* react-router v7.8.2-pre.0
|
|
10
10
|
*
|
|
11
11
|
* Copyright (c) Remix Software Inc.
|
|
12
12
|
*
|
|
@@ -1492,31 +1492,37 @@ async function defaultDataStrategy(args) {
|
|
|
1492
1492
|
});
|
|
1493
1493
|
return keyedResults;
|
|
1494
1494
|
}
|
|
1495
|
-
|
|
1495
|
+
function runServerMiddlewarePipeline(args, handler, errorHandler) {
|
|
1496
|
+
return runMiddlewarePipeline(
|
|
1497
|
+
args,
|
|
1498
|
+
handler,
|
|
1499
|
+
processResult,
|
|
1500
|
+
isResponse,
|
|
1501
|
+
errorHandler
|
|
1502
|
+
);
|
|
1503
|
+
function processResult(result) {
|
|
1504
|
+
return isDataWithResponseInit(result) ? dataWithResponseInitToResponse(result) : result;
|
|
1505
|
+
}
|
|
1506
|
+
}
|
|
1507
|
+
async function runMiddlewarePipeline(args, handler, processResult, isResult, errorHandler) {
|
|
1496
1508
|
let { matches, request, params, context } = args;
|
|
1497
1509
|
let tuples = matches.flatMap(
|
|
1498
1510
|
(m) => m.route.unstable_middleware ? m.route.unstable_middleware.map((fn) => [m.route.id, fn]) : []
|
|
1499
1511
|
);
|
|
1500
|
-
let result = await
|
|
1512
|
+
let result = await callRouteMiddleware(
|
|
1501
1513
|
{ request, params, context },
|
|
1502
1514
|
tuples,
|
|
1503
1515
|
handler,
|
|
1516
|
+
processResult,
|
|
1517
|
+
isResult,
|
|
1504
1518
|
errorHandler
|
|
1505
1519
|
);
|
|
1506
|
-
|
|
1507
|
-
return result;
|
|
1508
|
-
}
|
|
1509
|
-
invariant(false, `Expected a Response to be returned from route middleware`);
|
|
1520
|
+
return result;
|
|
1510
1521
|
}
|
|
1511
|
-
async function
|
|
1522
|
+
async function callRouteMiddleware(args, middlewares, handler, processResult, isResult, errorHandler, idx = 0) {
|
|
1512
1523
|
let { request } = args;
|
|
1513
1524
|
if (request.signal.aborted) {
|
|
1514
|
-
|
|
1515
|
-
throw request.signal.reason;
|
|
1516
|
-
}
|
|
1517
|
-
throw new Error(
|
|
1518
|
-
`Request aborted without an \`AbortSignal.reason\`: ${request.method} ${request.url}`
|
|
1519
|
-
);
|
|
1525
|
+
throw request.signal.reason ?? new Error(`Request aborted: ${request.method} ${request.url}`);
|
|
1520
1526
|
}
|
|
1521
1527
|
let tuple = middlewares[idx];
|
|
1522
1528
|
if (!tuple) {
|
|
@@ -1524,53 +1530,41 @@ async function callServerRouteMiddleware(args, middlewares, handler, errorHandle
|
|
|
1524
1530
|
return result;
|
|
1525
1531
|
}
|
|
1526
1532
|
let [routeId, middleware] = tuple;
|
|
1527
|
-
let
|
|
1528
|
-
let nextResult = void 0;
|
|
1533
|
+
let nextResult;
|
|
1529
1534
|
let next = async () => {
|
|
1530
|
-
if (
|
|
1535
|
+
if (nextResult) {
|
|
1531
1536
|
throw new Error("You may only call `next()` once per middleware");
|
|
1532
1537
|
}
|
|
1533
|
-
nextCalled = true;
|
|
1534
1538
|
try {
|
|
1535
|
-
let result = await
|
|
1539
|
+
let result = await callRouteMiddleware(
|
|
1536
1540
|
args,
|
|
1537
1541
|
middlewares,
|
|
1538
1542
|
handler,
|
|
1543
|
+
processResult,
|
|
1544
|
+
isResult,
|
|
1539
1545
|
errorHandler,
|
|
1540
1546
|
idx + 1
|
|
1541
1547
|
);
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
nextResult =
|
|
1546
|
-
return nextResult;
|
|
1547
|
-
} catch (e) {
|
|
1548
|
-
nextResult = await errorHandler(e, routeId);
|
|
1549
|
-
return nextResult;
|
|
1548
|
+
nextResult = { value: result };
|
|
1549
|
+
return nextResult.value;
|
|
1550
|
+
} catch (error) {
|
|
1551
|
+
nextResult = { value: await errorHandler(error, routeId, nextResult) };
|
|
1552
|
+
return nextResult.value;
|
|
1550
1553
|
}
|
|
1551
1554
|
};
|
|
1552
1555
|
try {
|
|
1553
|
-
let
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
params: args.params,
|
|
1557
|
-
context: args.context
|
|
1558
|
-
},
|
|
1559
|
-
next
|
|
1560
|
-
);
|
|
1561
|
-
if (isDataWithResponseInit(result)) {
|
|
1562
|
-
result = dataWithResponseInitToResponse(result);
|
|
1563
|
-
}
|
|
1564
|
-
if (nextCalled) {
|
|
1565
|
-
return typeof result === "undefined" ? nextResult : result;
|
|
1566
|
-
} else if (isResponse(result)) {
|
|
1556
|
+
let value = await middleware(args, next);
|
|
1557
|
+
let result = value != null ? processResult(value) : void 0;
|
|
1558
|
+
if (isResult(result)) {
|
|
1567
1559
|
return result;
|
|
1560
|
+
} else if (nextResult) {
|
|
1561
|
+
return result ?? nextResult.value;
|
|
1568
1562
|
} else {
|
|
1569
|
-
nextResult = await next();
|
|
1570
|
-
return nextResult;
|
|
1563
|
+
nextResult = { value: await next() };
|
|
1564
|
+
return nextResult.value;
|
|
1571
1565
|
}
|
|
1572
|
-
} catch (
|
|
1573
|
-
let response = await errorHandler(
|
|
1566
|
+
} catch (error) {
|
|
1567
|
+
let response = await errorHandler(error, routeId, nextResult);
|
|
1574
1568
|
return response;
|
|
1575
1569
|
}
|
|
1576
1570
|
}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
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';
|
|
1
|
+
import { j as Router, k as DataStrategyFunction, T as To, N as NavigateOptions, B as BlockerFunction, l as Blocker, m as RelativeRoutingType, L as Location, n as ParamParseKey, o as Path, p as PathPattern, q as PathMatch, U as UIMatch, r as Navigation, s as Action, P as Params, t as RouteObject, I as InitialEntry, H as HydrationState, v as IndexRouteObject, w as RouteComponentType, x as HydrateFallbackType, E as ErrorBoundaryType, e as LoaderFunction, d as ActionFunction, y as NonIndexRouteObject, h as unstable_RouterContextProvider, M as MiddlewareEnabled, S as ShouldRevalidateFunction, a as RouterInit, z as RouterState, C as PatchRoutesOnNavigationFunction, F as DataRouteObject } from './context-D5hQ2yCL.mjs';
|
|
2
|
+
export { A as ActionFunctionArgs, aC as Await, ar as AwaitProps, f as DataRouteMatch, _ as DataStrategyFunctionArgs, $ as DataStrategyMatch, D as DataStrategyResult, a0 as ErrorResponse, Q as Fetcher, a1 as FormEncType, a2 as FormMethod, aO as Future, J as GetScrollPositionFunction, K as GetScrollRestorationKeyFunction, a3 as HTMLFormMethod, ae as IDLE_BLOCKER, ad as IDLE_FETCHER, ac as IDLE_NAVIGATION, as as IndexRouteProps, at as LayoutRouteProps, a4 as LazyRouteFunction, c as LoaderFunctionArgs, aD as MemoryRouter, au as MemoryRouterOpts, av as MemoryRouterProps, aE as Navigate, aw as NavigateProps, V as NavigationStates, ao as Navigator, aF as Outlet, ax as OutletProps, ap as PatchRoutesOnNavigationFunctionArgs, a5 as PathParam, ay as PathRouteProps, a6 as RedirectFunction, Z as RevalidationState, aG as Route, aq as RouteMatch, az as RouteProps, aH as Router, Y as RouterFetchOptions, X as RouterNavigateOptions, aA as RouterProps, aI as RouterProvider, R as RouterProviderProps, W as RouterSubscriber, aJ as Routes, aB as RoutesProps, a8 as ShouldRevalidateFunctionArgs, G as StaticHandler, O as StaticHandlerContext, aT as UNSAFE_DataRouterContext, aU as UNSAFE_DataRouterStateContext, i as UNSAFE_DataWithResponseInit, aS as UNSAFE_ErrorResponseImpl, aV as UNSAFE_FetchersContext, aW as UNSAFE_LocationContext, aX as UNSAFE_NavigationContext, aY as UNSAFE_RouteContext, aZ as UNSAFE_ViewTransitionContext, b0 as UNSAFE_WithComponentProps, b4 as UNSAFE_WithErrorBoundaryProps, b2 as UNSAFE_WithHydrateFallbackProps, aP as UNSAFE_createBrowserHistory, aR as UNSAFE_createRouter, a_ as UNSAFE_hydrationRouteProperties, aQ as UNSAFE_invariant, a$ as UNSAFE_mapRouteProperties, b1 as UNSAFE_withComponentProps, b5 as UNSAFE_withErrorBoundaryProps, b3 as UNSAFE_withHydrateFallbackProps, aK as createMemoryRouter, aa as createPath, aL as createRoutesFromChildren, aM as createRoutesFromElements, af as data, ag as generatePath, ah as isRouteErrorResponse, ai as matchPath, aj as matchRoutes, ab as parsePath, ak as redirect, al as redirectDocument, aN as renderMatches, am as replace, an as resolvePath, u as unstable_ClientOnErrorFunction, g as unstable_MiddlewareFunction, a7 as unstable_RouterContext, a9 as unstable_createContext } from './context-D5hQ2yCL.mjs';
|
|
5
3
|
import * as React from 'react';
|
|
6
4
|
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-
|
|
5
|
+
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-B3sNokxM.mjs';
|
|
6
|
+
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-B3sNokxM.mjs';
|
|
7
|
+
import { A as AssetsManifest, E as EntryContext, F as FutureConfig, S as ServerBuild } from './index-react-server-client-DgVbd8DS.mjs';
|
|
8
|
+
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-DgVbd8DS.mjs';
|
|
11
9
|
import { ParseOptions, SerializeOptions } from 'cookie';
|
|
12
10
|
export { ParseOptions as CookieParseOptions, SerializeOptions as CookieSerializeOptions } from 'cookie';
|
|
13
11
|
import { P as Pages } from './register-DiOIlEq5.mjs';
|
|
@@ -1646,7 +1644,7 @@ declare class RemixErrorBoundary extends React.Component<RemixErrorBoundaryProps
|
|
|
1646
1644
|
error: Error | null;
|
|
1647
1645
|
location: Location<any>;
|
|
1648
1646
|
};
|
|
1649
|
-
render(): string | number | boolean |
|
|
1647
|
+
render(): string | number | boolean | React.JSX.Element | Iterable<React.ReactNode> | null | undefined;
|
|
1650
1648
|
}
|
|
1651
1649
|
|
|
1652
1650
|
declare function getPatchRoutesOnNavigationFunction(manifest: AssetsManifest, routeModules: RouteModules, ssr: boolean, routeDiscovery: ServerBuild["routeDiscovery"], isSpaMode: boolean, basename: string | undefined): PatchRoutesOnNavigationFunction | undefined;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d as Router, e as RouteModules,
|
|
2
|
-
export {
|
|
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-BQ6FxdA_.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-BQ6FxdA_.js';
|
|
1
|
+
import { d as Router, e as RouteModules, f as DataStrategyFunction, T as To, g as NavigateOptions, B as BlockerFunction, h as Blocker, i as SerializeFrom, j as RelativeRoutingType, a as Location, k as ParamParseKey, l as Path, m as PathPattern, n as PathMatch, U as UIMatch, o as Navigation, A as Action, p as Params, q as RouteObject, I as InitialEntry, H as HydrationState, r as IndexRouteObject, s as RouteComponentType, t as HydrateFallbackType, E as ErrorBoundaryType, v as LoaderFunction, w as ActionFunction, x as MetaFunction, y as LinksFunction, z as NonIndexRouteObject, J as AppLoadContext, K as unstable_RouterContextProvider, O as MiddlewareEnabled, Q as Equal, V as ClientActionFunction, W as ClientLoaderFunction, X as HeadersFunction, Y as ShouldRevalidateFunction, Z as RouterInit, _ as RouterState, $ as PatchRoutesOnNavigationFunction, a0 as DataRouteObject } from './routeModules-DRWHoPcT.js';
|
|
2
|
+
export { ab as ActionFunctionArgs, aW as Await, aJ as AwaitProps, b6 as ClientActionFunctionArgs, b7 as ClientLoaderFunctionArgs, aF as DataRouteMatch, ac as DataStrategyFunctionArgs, ad as DataStrategyMatch, D as DataStrategyResult, af as ErrorResponse, a5 as Fetcher, ag as FormEncType, ah as FormMethod, bc as Future, a2 as GetScrollPositionFunction, a3 as GetScrollRestorationKeyFunction, ai as HTMLFormMethod, b8 as HeadersArgs, bb as HtmlLinkDescriptor, av as IDLE_BLOCKER, au as IDLE_FETCHER, at as IDLE_NAVIGATION, aK as IndexRouteProps, aM as LayoutRouteProps, aj as LazyRouteFunction, L as LinkDescriptor, ak as LoaderFunctionArgs, aX as MemoryRouter, aN as MemoryRouterOpts, aO as MemoryRouterProps, b9 as MetaArgs, M as MetaDescriptor, aY as Navigate, aP as NavigateProps, a6 as NavigationStates, aG as Navigator, aZ as Outlet, aQ as OutletProps, ba as PageLinkDescriptor, aH as PatchRoutesOnNavigationFunctionArgs, am as PathParam, aR as PathRouteProps, an as RedirectFunction, aa as RevalidationState, a_ as Route, aI as RouteMatch, aS as RouteProps, a$ as Router, a9 as RouterFetchOptions, a8 as RouterNavigateOptions, aT as RouterProps, b0 as RouterProvider, aU as RouterProviderProps, a7 as RouterSubscriber, b1 as Routes, aV as RoutesProps, ap as ShouldRevalidateFunctionArgs, a1 as StaticHandler, a4 as StaticHandlerContext, bi as UNSAFE_DataRouterContext, bj as UNSAFE_DataRouterStateContext, ae as UNSAFE_DataWithResponseInit, bh as UNSAFE_ErrorResponseImpl, bk as UNSAFE_FetchersContext, bl as UNSAFE_LocationContext, bm as UNSAFE_NavigationContext, bn as UNSAFE_RouteContext, bo as UNSAFE_ViewTransitionContext, br as UNSAFE_WithComponentProps, bv as UNSAFE_WithErrorBoundaryProps, bt as UNSAFE_WithHydrateFallbackProps, be as UNSAFE_createBrowserHistory, bg as UNSAFE_createRouter, bp as UNSAFE_hydrationRouteProperties, bf as UNSAFE_invariant, bq as UNSAFE_mapRouteProperties, bs as UNSAFE_withComponentProps, bw as UNSAFE_withErrorBoundaryProps, bu as UNSAFE_withHydrateFallbackProps, b2 as createMemoryRouter, ar as createPath, b3 as createRoutesFromChildren, b4 as createRoutesFromElements, aw as data, ax as generatePath, ay as isRouteErrorResponse, az as matchPath, aA as matchRoutes, as as parsePath, aB as redirect, aC as redirectDocument, b5 as renderMatches, aD as replace, aE as resolvePath, aL as unstable_ClientOnErrorFunction, al as unstable_MiddlewareFunction, ao as unstable_RouterContext, bd as unstable_SerializesTo, aq as unstable_createContext } from './routeModules-DRWHoPcT.js';
|
|
5
3
|
import * as React from 'react';
|
|
6
4
|
import React__default, { ReactElement } from 'react';
|
|
5
|
+
import { A as AssetsManifest, E as EntryContext, F as FutureConfig, S as ServerBuild } from './index-react-server-client-C4AMmMi3.js';
|
|
6
|
+
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-C4AMmMi3.js';
|
|
7
7
|
import { ParseOptions, SerializeOptions } from 'cookie';
|
|
8
8
|
export { ParseOptions as CookieParseOptions, SerializeOptions as CookieSerializeOptions } from 'cookie';
|
|
9
9
|
import { P as Pages } from './register-DiOIlEq5.js';
|
|
@@ -1686,7 +1686,7 @@ declare class RemixErrorBoundary extends React.Component<RemixErrorBoundaryProps
|
|
|
1686
1686
|
error: Error | null;
|
|
1687
1687
|
location: Location<any>;
|
|
1688
1688
|
};
|
|
1689
|
-
render(): string | number | boolean |
|
|
1689
|
+
render(): string | number | boolean | React.JSX.Element | Iterable<React.ReactNode> | null | undefined;
|
|
1690
1690
|
}
|
|
1691
1691
|
|
|
1692
1692
|
declare function getPatchRoutesOnNavigationFunction(manifest: AssetsManifest, routeModules: RouteModules, ssr: boolean, routeDiscovery: ServerBuild["routeDiscovery"], isSpaMode: boolean, basename: string | undefined): PatchRoutesOnNavigationFunction | undefined;
|