@tanstack/router-core 0.0.1-beta.9 → 1.20.3-alpha.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/LICENSE +21 -0
- package/README.md +5 -0
- package/dist/cjs/Matches.cjs +13 -0
- package/dist/cjs/Matches.cjs.map +1 -0
- package/dist/cjs/Matches.d.cts +109 -0
- package/dist/cjs/RouterProvider.d.cts +26 -0
- package/dist/cjs/defer.cjs +25 -0
- package/dist/cjs/defer.cjs.map +1 -0
- package/dist/cjs/defer.d.cts +20 -0
- package/dist/cjs/fileRoute.d.cts +23 -0
- package/dist/cjs/history.d.cts +8 -0
- package/dist/cjs/index.cjs +80 -0
- package/dist/cjs/index.cjs.map +1 -0
- package/dist/cjs/index.d.cts +41 -0
- package/dist/cjs/link.cjs +5 -0
- package/dist/cjs/link.cjs.map +1 -0
- package/dist/cjs/link.d.cts +200 -0
- package/dist/cjs/location.d.cts +12 -0
- package/dist/cjs/manifest.d.cts +24 -0
- package/dist/cjs/not-found.cjs +13 -0
- package/dist/cjs/not-found.cjs.map +1 -0
- package/dist/cjs/not-found.d.cts +20 -0
- package/dist/cjs/path.cjs +412 -0
- package/dist/cjs/path.cjs.map +1 -0
- package/dist/cjs/path.d.cts +56 -0
- package/dist/cjs/qss.cjs +38 -0
- package/dist/cjs/qss.cjs.map +1 -0
- package/dist/cjs/qss.d.cts +22 -0
- package/dist/cjs/redirect.cjs +34 -0
- package/dist/cjs/redirect.cjs.map +1 -0
- package/dist/cjs/redirect.d.cts +38 -0
- package/dist/cjs/root.cjs +5 -0
- package/dist/cjs/root.cjs.map +1 -0
- package/dist/cjs/root.d.cts +2 -0
- package/dist/cjs/route.cjs +119 -0
- package/dist/cjs/route.cjs.map +1 -0
- package/dist/cjs/route.d.cts +422 -0
- package/dist/cjs/routeInfo.d.cts +54 -0
- package/dist/cjs/router.cjs +1800 -0
- package/dist/cjs/router.cjs.map +1 -0
- package/dist/cjs/router.d.cts +630 -0
- package/dist/cjs/scroll-restoration.cjs +196 -0
- package/dist/cjs/scroll-restoration.cjs.map +1 -0
- package/dist/cjs/scroll-restoration.d.cts +38 -0
- package/dist/cjs/searchMiddleware.cjs +42 -0
- package/dist/cjs/searchMiddleware.cjs.map +1 -0
- package/dist/cjs/searchMiddleware.d.cts +5 -0
- package/dist/cjs/searchParams.cjs +61 -0
- package/dist/cjs/searchParams.cjs.map +1 -0
- package/dist/cjs/searchParams.d.cts +7 -0
- package/dist/cjs/serializer.d.cts +22 -0
- package/dist/cjs/structuralSharing.d.cts +4 -0
- package/dist/cjs/typePrimitives.d.cts +65 -0
- package/dist/cjs/useLoaderData.d.cts +5 -0
- package/dist/cjs/useLoaderDeps.d.cts +5 -0
- package/dist/cjs/useNavigate.d.cts +3 -0
- package/dist/cjs/useParams.d.cts +5 -0
- package/dist/cjs/useRouteContext.d.cts +9 -0
- package/dist/cjs/useSearch.d.cts +5 -0
- package/dist/cjs/utils.cjs +160 -0
- package/dist/cjs/utils.cjs.map +1 -0
- package/dist/cjs/utils.d.cts +105 -0
- package/dist/cjs/validators.d.cts +51 -0
- package/dist/esm/Matches.d.ts +109 -0
- package/dist/esm/Matches.js +13 -0
- package/dist/esm/Matches.js.map +1 -0
- package/dist/esm/RouterProvider.d.ts +26 -0
- package/dist/esm/defer.d.ts +20 -0
- package/dist/esm/defer.js +25 -0
- package/dist/esm/defer.js.map +1 -0
- package/dist/esm/fileRoute.d.ts +23 -0
- package/dist/esm/history.d.ts +8 -0
- package/dist/esm/index.d.ts +41 -0
- package/dist/esm/index.js +80 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/link.d.ts +200 -0
- package/dist/esm/link.js +5 -0
- package/dist/esm/link.js.map +1 -0
- package/dist/esm/location.d.ts +12 -0
- package/dist/esm/manifest.d.ts +24 -0
- package/dist/esm/not-found.d.ts +20 -0
- package/dist/esm/not-found.js +13 -0
- package/dist/esm/not-found.js.map +1 -0
- package/dist/esm/path.d.ts +56 -0
- package/dist/esm/path.js +412 -0
- package/dist/esm/path.js.map +1 -0
- package/dist/esm/qss.d.ts +22 -0
- package/dist/esm/qss.js +38 -0
- package/dist/esm/qss.js.map +1 -0
- package/dist/esm/redirect.d.ts +38 -0
- package/dist/esm/redirect.js +34 -0
- package/dist/esm/redirect.js.map +1 -0
- package/dist/esm/root.d.ts +2 -0
- package/dist/esm/root.js +5 -0
- package/dist/esm/root.js.map +1 -0
- package/dist/esm/route.d.ts +422 -0
- package/dist/esm/route.js +119 -0
- package/dist/esm/route.js.map +1 -0
- package/dist/esm/routeInfo.d.ts +54 -0
- package/dist/esm/router.d.ts +630 -0
- package/dist/esm/router.js +1800 -0
- package/dist/esm/router.js.map +1 -0
- package/dist/esm/scroll-restoration.d.ts +38 -0
- package/dist/esm/scroll-restoration.js +196 -0
- package/dist/esm/scroll-restoration.js.map +1 -0
- package/dist/esm/searchMiddleware.d.ts +5 -0
- package/dist/esm/searchMiddleware.js +42 -0
- package/dist/esm/searchMiddleware.js.map +1 -0
- package/dist/esm/searchParams.d.ts +7 -0
- package/dist/esm/searchParams.js +61 -0
- package/dist/esm/searchParams.js.map +1 -0
- package/dist/esm/serializer.d.ts +22 -0
- package/dist/esm/structuralSharing.d.ts +4 -0
- package/dist/esm/typePrimitives.d.ts +65 -0
- package/dist/esm/useLoaderData.d.ts +5 -0
- package/dist/esm/useLoaderDeps.d.ts +5 -0
- package/dist/esm/useNavigate.d.ts +3 -0
- package/dist/esm/useParams.d.ts +5 -0
- package/dist/esm/useRouteContext.d.ts +9 -0
- package/dist/esm/useSearch.d.ts +5 -0
- package/dist/esm/utils.d.ts +105 -0
- package/dist/esm/utils.js +160 -0
- package/dist/esm/utils.js.map +1 -0
- package/dist/esm/validators.d.ts +51 -0
- package/package.json +36 -32
- package/src/Matches.ts +239 -0
- package/src/RouterProvider.ts +50 -0
- package/src/defer.ts +52 -0
- package/src/fileRoute.ts +140 -0
- package/src/history.ts +9 -0
- package/src/index.ts +421 -19
- package/src/link.ts +580 -286
- package/src/location.ts +13 -0
- package/src/manifest.ts +32 -0
- package/src/not-found.ts +29 -0
- package/src/path.ts +425 -49
- package/src/qss.ts +70 -41
- package/src/redirect.ts +100 -0
- package/src/root.ts +2 -0
- package/src/route.ts +1682 -218
- package/src/routeInfo.ts +224 -217
- package/src/router.ts +3100 -1073
- package/src/scroll-restoration.ts +340 -0
- package/src/searchMiddleware.ts +54 -0
- package/src/searchParams.ts +43 -20
- package/src/serializer.ts +32 -0
- package/src/structuralSharing.ts +7 -0
- package/src/typePrimitives.ts +181 -0
- package/src/useLoaderData.ts +20 -0
- package/src/useLoaderDeps.ts +13 -0
- package/src/useNavigate.ts +13 -0
- package/src/useParams.ts +20 -0
- package/src/useRouteContext.ts +39 -0
- package/src/useSearch.ts +20 -0
- package/src/utils.ts +369 -75
- package/src/validators.ts +121 -0
- package/build/cjs/_virtual/_rollupPluginBabelHelpers.js +0 -33
- package/build/cjs/_virtual/_rollupPluginBabelHelpers.js.map +0 -1
- package/build/cjs/node_modules/@babel/runtime/helpers/esm/extends.js +0 -33
- package/build/cjs/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
- package/build/cjs/node_modules/history/index.js +0 -815
- package/build/cjs/node_modules/history/index.js.map +0 -1
- package/build/cjs/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +0 -30
- package/build/cjs/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +0 -1
- package/build/cjs/packages/router-core/src/index.js +0 -58
- package/build/cjs/packages/router-core/src/index.js.map +0 -1
- package/build/cjs/packages/router-core/src/path.js +0 -222
- package/build/cjs/packages/router-core/src/path.js.map +0 -1
- package/build/cjs/packages/router-core/src/qss.js +0 -71
- package/build/cjs/packages/router-core/src/qss.js.map +0 -1
- package/build/cjs/packages/router-core/src/route.js +0 -150
- package/build/cjs/packages/router-core/src/route.js.map +0 -1
- package/build/cjs/packages/router-core/src/routeConfig.js +0 -69
- package/build/cjs/packages/router-core/src/routeConfig.js.map +0 -1
- package/build/cjs/packages/router-core/src/routeMatch.js +0 -266
- package/build/cjs/packages/router-core/src/routeMatch.js.map +0 -1
- package/build/cjs/packages/router-core/src/router.js +0 -822
- package/build/cjs/packages/router-core/src/router.js.map +0 -1
- package/build/cjs/packages/router-core/src/searchParams.js +0 -70
- package/build/cjs/packages/router-core/src/searchParams.js.map +0 -1
- package/build/cjs/packages/router-core/src/utils.js +0 -125
- package/build/cjs/packages/router-core/src/utils.js.map +0 -1
- package/build/esm/index.js +0 -2481
- package/build/esm/index.js.map +0 -1
- package/build/stats-html.html +0 -4034
- package/build/stats-react.json +0 -493
- package/build/types/index.d.ts +0 -618
- package/build/umd/index.development.js +0 -2514
- package/build/umd/index.development.js.map +0 -1
- package/build/umd/index.production.js +0 -12
- package/build/umd/index.production.js.map +0 -1
- package/src/frameworks.ts +0 -12
- package/src/routeConfig.ts +0 -495
- package/src/routeMatch.ts +0 -374
package/src/index.ts
CHANGED
|
@@ -1,20 +1,422 @@
|
|
|
1
|
+
export { TSR_DEFERRED_PROMISE, defer } from './defer'
|
|
2
|
+
export type { DeferredPromiseState, DeferredPromise } from './defer'
|
|
3
|
+
export { preloadWarning } from './link'
|
|
4
|
+
export type {
|
|
5
|
+
IsRequiredParams,
|
|
6
|
+
ParsePathParams,
|
|
7
|
+
AddTrailingSlash,
|
|
8
|
+
RemoveTrailingSlashes,
|
|
9
|
+
AddLeadingSlash,
|
|
10
|
+
RemoveLeadingSlashes,
|
|
11
|
+
ActiveOptions,
|
|
12
|
+
LinkOptionsProps,
|
|
13
|
+
ResolveCurrentPath,
|
|
14
|
+
ResolveParentPath,
|
|
15
|
+
ResolveRelativePath,
|
|
16
|
+
LinkCurrentTargetElement,
|
|
17
|
+
FindDescendantToPaths,
|
|
18
|
+
InferDescendantToPaths,
|
|
19
|
+
RelativeToPath,
|
|
20
|
+
RelativeToParentPath,
|
|
21
|
+
RelativeToCurrentPath,
|
|
22
|
+
AbsoluteToPath,
|
|
23
|
+
RelativeToPathAutoComplete,
|
|
24
|
+
NavigateOptions,
|
|
25
|
+
ToOptions,
|
|
26
|
+
ToMaskOptions,
|
|
27
|
+
ToSubOptions,
|
|
28
|
+
ResolveRoute,
|
|
29
|
+
SearchParamOptions,
|
|
30
|
+
PathParamOptions,
|
|
31
|
+
ToPathOption,
|
|
32
|
+
LinkOptions,
|
|
33
|
+
MakeOptionalPathParams,
|
|
34
|
+
FromPathOption,
|
|
35
|
+
MakeOptionalSearchParams,
|
|
36
|
+
MaskOptions,
|
|
37
|
+
ToSubOptionsProps,
|
|
38
|
+
RequiredToOptions,
|
|
39
|
+
} from './link'
|
|
40
|
+
|
|
41
|
+
export type {
|
|
42
|
+
RouteToPath,
|
|
43
|
+
TrailingSlashOptionByRouter,
|
|
44
|
+
ParseRoute,
|
|
45
|
+
CodeRouteToPath,
|
|
46
|
+
RouteIds,
|
|
47
|
+
FullSearchSchema,
|
|
48
|
+
FullSearchSchemaInput,
|
|
49
|
+
AllParams,
|
|
50
|
+
RouteById,
|
|
51
|
+
AllContext,
|
|
52
|
+
RoutePaths,
|
|
53
|
+
RoutesById,
|
|
54
|
+
RoutesByPath,
|
|
55
|
+
AllLoaderData,
|
|
56
|
+
RouteByPath,
|
|
57
|
+
} from './routeInfo'
|
|
58
|
+
|
|
59
|
+
export type {
|
|
60
|
+
InferFileRouteTypes,
|
|
61
|
+
FileRouteTypes,
|
|
62
|
+
FileRoutesByPath,
|
|
63
|
+
CreateFileRoute,
|
|
64
|
+
LazyRoute,
|
|
65
|
+
LazyRouteOptions,
|
|
66
|
+
CreateLazyFileRoute,
|
|
67
|
+
} from './fileRoute'
|
|
68
|
+
|
|
69
|
+
export type {
|
|
70
|
+
StartSerializer,
|
|
71
|
+
Serializable,
|
|
72
|
+
SerializerParse,
|
|
73
|
+
SerializerParseBy,
|
|
74
|
+
SerializerStringify,
|
|
75
|
+
SerializerStringifyBy,
|
|
76
|
+
SerializerExtensions,
|
|
77
|
+
} from './serializer'
|
|
78
|
+
|
|
79
|
+
export type { ParsedLocation } from './location'
|
|
80
|
+
export type { Manifest, RouterManagedTag } from './manifest'
|
|
81
|
+
export { isMatch } from './Matches'
|
|
82
|
+
export type {
|
|
83
|
+
AnyMatchAndValue,
|
|
84
|
+
FindValueByIndex,
|
|
85
|
+
FindValueByKey,
|
|
86
|
+
CreateMatchAndValue,
|
|
87
|
+
NextMatchAndValue,
|
|
88
|
+
IsMatchKeyOf,
|
|
89
|
+
IsMatchPath,
|
|
90
|
+
IsMatchResult,
|
|
91
|
+
IsMatchParse,
|
|
92
|
+
IsMatch,
|
|
93
|
+
RouteMatch,
|
|
94
|
+
RouteMatchExtensions,
|
|
95
|
+
MakeRouteMatchUnion,
|
|
96
|
+
MakeRouteMatch,
|
|
97
|
+
AnyRouteMatch,
|
|
98
|
+
MakeRouteMatchFromRoute,
|
|
99
|
+
MatchRouteOptions,
|
|
100
|
+
} from './Matches'
|
|
1
101
|
export {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
|
|
102
|
+
joinPaths,
|
|
103
|
+
cleanPath,
|
|
104
|
+
trimPathLeft,
|
|
105
|
+
trimPathRight,
|
|
106
|
+
trimPath,
|
|
107
|
+
removeTrailingSlash,
|
|
108
|
+
exactPathTest,
|
|
109
|
+
resolvePath,
|
|
110
|
+
parsePathname,
|
|
111
|
+
interpolatePath,
|
|
112
|
+
matchPathname,
|
|
113
|
+
removeBasepath,
|
|
114
|
+
matchByPath,
|
|
115
|
+
} from './path'
|
|
116
|
+
export type { Segment } from './path'
|
|
117
|
+
export { encode, decode } from './qss'
|
|
118
|
+
export { rootRouteId } from './root'
|
|
119
|
+
export type { RootRouteId } from './root'
|
|
120
|
+
|
|
121
|
+
export { BaseRoute, BaseRouteApi, BaseRootRoute } from './route'
|
|
122
|
+
export type {
|
|
123
|
+
AnyPathParams,
|
|
124
|
+
SearchSchemaInput,
|
|
125
|
+
AnyContext,
|
|
126
|
+
RouteContext,
|
|
127
|
+
PreloadableObj,
|
|
128
|
+
RoutePathOptions,
|
|
129
|
+
StaticDataRouteOption,
|
|
130
|
+
RoutePathOptionsIntersection,
|
|
131
|
+
SearchFilter,
|
|
132
|
+
SearchMiddlewareContext,
|
|
133
|
+
SearchMiddleware,
|
|
134
|
+
ResolveId,
|
|
135
|
+
InferFullSearchSchema,
|
|
136
|
+
InferFullSearchSchemaInput,
|
|
137
|
+
InferAllParams,
|
|
138
|
+
InferAllContext,
|
|
139
|
+
MetaDescriptor,
|
|
140
|
+
RouteLinkEntry,
|
|
141
|
+
SearchValidator,
|
|
142
|
+
AnySearchValidator,
|
|
143
|
+
DefaultSearchValidator,
|
|
144
|
+
ErrorRouteProps,
|
|
145
|
+
ErrorComponentProps,
|
|
146
|
+
NotFoundRouteProps,
|
|
147
|
+
ParseSplatParams,
|
|
148
|
+
SplatParams,
|
|
149
|
+
ResolveParams,
|
|
150
|
+
ParseParamsFn,
|
|
151
|
+
StringifyParamsFn,
|
|
152
|
+
ParamsOptions,
|
|
153
|
+
UpdatableStaticRouteOption,
|
|
154
|
+
ContextReturnType,
|
|
155
|
+
ContextAsyncReturnType,
|
|
156
|
+
ResolveRouteContext,
|
|
157
|
+
ResolveLoaderData,
|
|
158
|
+
RoutePrefix,
|
|
159
|
+
TrimPath,
|
|
160
|
+
TrimPathLeft,
|
|
161
|
+
TrimPathRight,
|
|
162
|
+
ResolveSearchSchemaFnInput,
|
|
163
|
+
ResolveSearchSchemaInput,
|
|
164
|
+
ResolveSearchSchemaFn,
|
|
165
|
+
ResolveSearchSchema,
|
|
166
|
+
ResolveFullSearchSchema,
|
|
167
|
+
ResolveFullSearchSchemaInput,
|
|
168
|
+
ResolveAllContext,
|
|
169
|
+
BeforeLoadContextParameter,
|
|
170
|
+
RouteContextParameter,
|
|
171
|
+
ResolveAllParamsFromParent,
|
|
172
|
+
AnyRoute,
|
|
173
|
+
Route,
|
|
174
|
+
RouteTypes,
|
|
175
|
+
FullSearchSchemaOption,
|
|
176
|
+
RemountDepsOptions,
|
|
177
|
+
MakeRemountDepsOptionsUnion,
|
|
178
|
+
ResolveFullPath,
|
|
179
|
+
AnyRouteWithContext,
|
|
180
|
+
RouteOptions,
|
|
181
|
+
FileBaseRouteOptions,
|
|
182
|
+
BaseRouteOptions,
|
|
183
|
+
UpdatableRouteOptions,
|
|
184
|
+
RouteLoaderFn,
|
|
185
|
+
LoaderFnContext,
|
|
186
|
+
RouteContextFn,
|
|
187
|
+
BeforeLoadFn,
|
|
188
|
+
ContextOptions,
|
|
189
|
+
RouteContextOptions,
|
|
190
|
+
BeforeLoadContextOptions,
|
|
191
|
+
RootRouteOptions,
|
|
192
|
+
UpdatableRouteOptionsExtensions,
|
|
193
|
+
RouteConstraints,
|
|
194
|
+
RouteTypesById,
|
|
195
|
+
RouteMask,
|
|
196
|
+
RouteExtensions,
|
|
197
|
+
RouteLazyFn,
|
|
198
|
+
RouteAddChildrenFn,
|
|
199
|
+
RouteAddFileChildrenFn,
|
|
200
|
+
RouteAddFileTypesFn,
|
|
201
|
+
} from './route'
|
|
202
|
+
|
|
203
|
+
export {
|
|
204
|
+
defaultSerializeError,
|
|
205
|
+
getLocationChangeInfo,
|
|
206
|
+
RouterCore,
|
|
207
|
+
componentTypes,
|
|
208
|
+
lazyFn,
|
|
209
|
+
SearchParamError,
|
|
210
|
+
PathParamError,
|
|
211
|
+
getInitialRouterState,
|
|
212
|
+
processRouteTree,
|
|
213
|
+
getMatchedRoutes,
|
|
214
|
+
} from './router'
|
|
215
|
+
export type {
|
|
216
|
+
ViewTransitionOptions,
|
|
217
|
+
ExtractedBaseEntry,
|
|
218
|
+
ExtractedStream,
|
|
219
|
+
ExtractedPromise,
|
|
220
|
+
ExtractedEntry,
|
|
221
|
+
StreamState,
|
|
222
|
+
TrailingSlashOption,
|
|
223
|
+
Register,
|
|
224
|
+
AnyRouter,
|
|
225
|
+
AnyRouterWithContext,
|
|
226
|
+
RegisteredRouter,
|
|
227
|
+
RouterState,
|
|
228
|
+
BuildNextOptions,
|
|
229
|
+
RouterListener,
|
|
230
|
+
RouterEvent,
|
|
231
|
+
ListenerFn,
|
|
232
|
+
RouterEvents,
|
|
233
|
+
MatchRoutesOpts,
|
|
234
|
+
RouterOptionsExtensions,
|
|
235
|
+
DefaultRemountDepsFn,
|
|
236
|
+
PreloadRouteFn,
|
|
237
|
+
MatchRouteFn,
|
|
238
|
+
RouterContextOptions,
|
|
239
|
+
RouterOptions,
|
|
240
|
+
RouterConstructorOptions,
|
|
241
|
+
UpdateFn,
|
|
242
|
+
ParseLocationFn,
|
|
243
|
+
InvalidateFn,
|
|
244
|
+
ControllablePromise,
|
|
245
|
+
InjectedHtmlEntry,
|
|
246
|
+
RouterErrorSerializer,
|
|
247
|
+
MatchedRoutesResult,
|
|
248
|
+
EmitFn,
|
|
249
|
+
LoadFn,
|
|
250
|
+
GetMatchFn,
|
|
251
|
+
SubscribeFn,
|
|
252
|
+
UpdateMatchFn,
|
|
253
|
+
CommitLocationFn,
|
|
254
|
+
GetMatchRoutesFn,
|
|
255
|
+
MatchRoutesFn,
|
|
256
|
+
StartTransitionFn,
|
|
257
|
+
LoadRouteChunkFn,
|
|
258
|
+
ServerSrr,
|
|
259
|
+
ClearCacheFn,
|
|
260
|
+
CreateRouterFn,
|
|
261
|
+
} from './router'
|
|
262
|
+
|
|
263
|
+
export type {
|
|
264
|
+
MatchLocation,
|
|
265
|
+
CommitLocationOptions,
|
|
266
|
+
NavigateFn,
|
|
267
|
+
BuildLocationFn,
|
|
268
|
+
} from './RouterProvider'
|
|
269
|
+
|
|
270
|
+
export { retainSearchParams, stripSearchParams } from './searchMiddleware'
|
|
271
|
+
|
|
272
|
+
export {
|
|
273
|
+
defaultParseSearch,
|
|
274
|
+
defaultStringifySearch,
|
|
275
|
+
parseSearchWith,
|
|
276
|
+
stringifySearchWith,
|
|
277
|
+
} from './searchParams'
|
|
278
|
+
export type { SearchSerializer, SearchParser } from './searchParams'
|
|
279
|
+
|
|
280
|
+
export type { OptionalStructuralSharing } from './structuralSharing'
|
|
281
|
+
|
|
282
|
+
export {
|
|
283
|
+
last,
|
|
284
|
+
functionalUpdate,
|
|
285
|
+
pick,
|
|
286
|
+
replaceEqualDeep,
|
|
287
|
+
isPlainObject,
|
|
288
|
+
isPlainArray,
|
|
289
|
+
deepEqual,
|
|
290
|
+
escapeJSON,
|
|
291
|
+
shallow,
|
|
292
|
+
createControlledPromise,
|
|
293
|
+
} from './utils'
|
|
294
|
+
export type {
|
|
295
|
+
NoInfer,
|
|
296
|
+
IsAny,
|
|
297
|
+
PickAsRequired,
|
|
298
|
+
PickRequired,
|
|
299
|
+
PickOptional,
|
|
300
|
+
WithoutEmpty,
|
|
301
|
+
Expand,
|
|
302
|
+
DeepPartial,
|
|
303
|
+
MakeDifferenceOptional,
|
|
304
|
+
IsUnion,
|
|
305
|
+
IsNonEmptyObject,
|
|
306
|
+
Assign,
|
|
307
|
+
IntersectAssign,
|
|
308
|
+
Timeout,
|
|
309
|
+
Updater,
|
|
310
|
+
NonNullableUpdater,
|
|
311
|
+
StringLiteral,
|
|
312
|
+
ThrowOrOptional,
|
|
313
|
+
ThrowConstraint,
|
|
314
|
+
ControlledPromise,
|
|
315
|
+
ExtractObjects,
|
|
316
|
+
PartialMergeAllObject,
|
|
317
|
+
MergeAllPrimitive,
|
|
318
|
+
ExtractPrimitives,
|
|
319
|
+
PartialMergeAll,
|
|
320
|
+
Constrain,
|
|
321
|
+
ConstrainLiteral,
|
|
322
|
+
UnionToIntersection,
|
|
323
|
+
MergeAllObjects,
|
|
324
|
+
MergeAll,
|
|
325
|
+
ValidateJSON,
|
|
326
|
+
StrictOrFrom,
|
|
327
|
+
LooseReturnType,
|
|
328
|
+
LooseAsyncReturnType,
|
|
329
|
+
} from './utils'
|
|
330
|
+
|
|
331
|
+
export type {
|
|
332
|
+
StandardSchemaValidatorProps,
|
|
333
|
+
StandardSchemaValidator,
|
|
334
|
+
AnyStandardSchemaValidator,
|
|
335
|
+
StandardSchemaValidatorTypes,
|
|
336
|
+
AnyStandardSchemaValidateSuccess,
|
|
337
|
+
AnyStandardSchemaValidateFailure,
|
|
338
|
+
AnyStandardSchemaValidateIssue,
|
|
339
|
+
AnyStandardSchemaValidateInput,
|
|
340
|
+
AnyStandardSchemaValidate,
|
|
341
|
+
ValidatorObj,
|
|
342
|
+
AnyValidatorObj,
|
|
343
|
+
ValidatorAdapter,
|
|
344
|
+
AnyValidatorAdapter,
|
|
345
|
+
AnyValidatorFn,
|
|
346
|
+
ValidatorFn,
|
|
347
|
+
Validator,
|
|
348
|
+
AnyValidator,
|
|
349
|
+
AnySchema,
|
|
350
|
+
DefaultValidator,
|
|
351
|
+
ResolveSearchValidatorInputFn,
|
|
352
|
+
ResolveSearchValidatorInput,
|
|
353
|
+
ResolveValidatorInputFn,
|
|
354
|
+
ResolveValidatorInput,
|
|
355
|
+
ResolveValidatorOutputFn,
|
|
356
|
+
ResolveValidatorOutput,
|
|
357
|
+
} from './validators'
|
|
358
|
+
|
|
359
|
+
export type {
|
|
360
|
+
UseRouteContextBaseOptions,
|
|
361
|
+
UseRouteContextOptions,
|
|
362
|
+
UseRouteContextResult,
|
|
363
|
+
} from './useRouteContext'
|
|
364
|
+
|
|
365
|
+
export type { UseSearchResult, ResolveUseSearch } from './useSearch'
|
|
366
|
+
|
|
367
|
+
export type { UseParamsResult, ResolveUseParams } from './useParams'
|
|
368
|
+
|
|
369
|
+
export type { UseNavigateResult } from './useNavigate'
|
|
370
|
+
|
|
371
|
+
export type { UseLoaderDepsResult, ResolveUseLoaderDeps } from './useLoaderDeps'
|
|
372
|
+
|
|
373
|
+
export type { UseLoaderDataResult, ResolveUseLoaderData } from './useLoaderData'
|
|
374
|
+
|
|
375
|
+
export type { Redirect, ResolvedRedirect, AnyRedirect } from './redirect'
|
|
376
|
+
|
|
377
|
+
export {
|
|
378
|
+
redirect,
|
|
379
|
+
isRedirect,
|
|
380
|
+
isResolvedRedirect,
|
|
381
|
+
tsrRedirectHeaderKey,
|
|
382
|
+
parseRedirect,
|
|
383
|
+
} from './redirect'
|
|
384
|
+
|
|
385
|
+
export type { NotFoundError } from './not-found'
|
|
386
|
+
export { isNotFound, notFound } from './not-found'
|
|
387
|
+
|
|
388
|
+
export {
|
|
389
|
+
defaultGetScrollRestorationKey,
|
|
390
|
+
restoreScroll,
|
|
391
|
+
storageKey,
|
|
392
|
+
getCssSelector,
|
|
393
|
+
scrollRestorationCache,
|
|
394
|
+
setupScrollRestoration,
|
|
395
|
+
handleHashScroll,
|
|
396
|
+
} from './scroll-restoration'
|
|
397
|
+
|
|
398
|
+
export type {
|
|
399
|
+
ScrollRestorationOptions,
|
|
400
|
+
ScrollRestorationEntry,
|
|
401
|
+
} from './scroll-restoration'
|
|
402
|
+
|
|
403
|
+
export type {
|
|
404
|
+
ValidateFromPath,
|
|
405
|
+
ValidateToPath,
|
|
406
|
+
ValidateSearch,
|
|
407
|
+
ValidateParams,
|
|
408
|
+
InferFrom,
|
|
409
|
+
InferTo,
|
|
410
|
+
InferMaskTo,
|
|
411
|
+
InferMaskFrom,
|
|
412
|
+
ValidateNavigateOptions,
|
|
413
|
+
ValidateNavigateOptionsArray,
|
|
414
|
+
ValidateRedirectOptions,
|
|
415
|
+
ValidateRedirectOptionsArray,
|
|
416
|
+
ValidateId,
|
|
417
|
+
InferStrict,
|
|
418
|
+
InferShouldThrow,
|
|
419
|
+
InferSelected,
|
|
420
|
+
ValidateUseSearchResult,
|
|
421
|
+
ValidateUseParamsResult,
|
|
422
|
+
} from './typePrimitives'
|