@tanstack/react-router 0.0.1-beta.167 → 0.0.1-beta.168

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.
@@ -4024,7 +4024,7 @@ var drawChart = (function (exports) {
4024
4024
  </script>
4025
4025
  <script>
4026
4026
  /*<!--*/
4027
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"uid":"0688-159","name":"\u0000rollupPluginBabelHelpers.js"},{"name":"packages","children":[{"name":"store/build/esm/index.js","uid":"0688-161"},{"name":"react-store/build/esm/index.js","uid":"0688-163"},{"name":"router-core/build/esm/index.js","uid":"0688-169"},{"name":"react-router/src","children":[{"uid":"0688-171","name":"scroll-restoration.tsx"},{"uid":"0688-173","name":"deferred.tsx"},{"uid":"0688-175","name":"index.tsx"}]}]},{"name":"node_modules/.pnpm","children":[{"name":"tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js","uid":"0688-165"},{"name":"tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js","uid":"0688-167"}]}]}],"isRoot":true},"nodeParts":{"0688-159":{"renderedLength":429,"gzipLength":238,"brotliLength":0,"mainUid":"0688-158"},"0688-161":{"renderedLength":1843,"gzipLength":644,"brotliLength":0,"mainUid":"0688-160"},"0688-163":{"renderedLength":1006,"gzipLength":479,"brotliLength":0,"mainUid":"0688-162"},"0688-165":{"renderedLength":181,"gzipLength":129,"brotliLength":0,"mainUid":"0688-164"},"0688-167":{"renderedLength":44,"gzipLength":62,"brotliLength":0,"mainUid":"0688-166"},"0688-169":{"renderedLength":62814,"gzipLength":14835,"brotliLength":0,"mainUid":"0688-168"},"0688-171":{"renderedLength":466,"gzipLength":228,"brotliLength":0,"mainUid":"0688-170"},"0688-173":{"renderedLength":646,"gzipLength":299,"brotliLength":0,"mainUid":"0688-172"},"0688-175":{"renderedLength":17226,"gzipLength":3829,"brotliLength":0,"mainUid":"0688-174"}},"nodeMetas":{"0688-158":{"id":"\u0000rollupPluginBabelHelpers.js","moduleParts":{"index.production.js":"0688-159"},"imported":[],"importedBy":[{"uid":"0688-174"}]},"0688-160":{"id":"/packages/store/build/esm/index.js","moduleParts":{"index.production.js":"0688-161"},"imported":[],"importedBy":[{"uid":"0688-162"}]},"0688-162":{"id":"/packages/react-store/build/esm/index.js","moduleParts":{"index.production.js":"0688-163"},"imported":[{"uid":"0688-177"},{"uid":"0688-160"}],"importedBy":[{"uid":"0688-174"},{"uid":"0688-168"}]},"0688-164":{"id":"/node_modules/.pnpm/tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js","moduleParts":{"index.production.js":"0688-165"},"imported":[],"importedBy":[{"uid":"0688-174"},{"uid":"0688-168"}]},"0688-166":{"id":"/node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js","moduleParts":{"index.production.js":"0688-167"},"imported":[],"importedBy":[{"uid":"0688-174"},{"uid":"0688-168"}]},"0688-168":{"id":"/packages/router-core/build/esm/index.js","moduleParts":{"index.production.js":"0688-169"},"imported":[{"uid":"0688-164"},{"uid":"0688-166"},{"uid":"0688-162"}],"importedBy":[{"uid":"0688-174"},{"uid":"0688-170"},{"uid":"0688-172"}]},"0688-170":{"id":"/packages/react-router/src/scroll-restoration.tsx","moduleParts":{"index.production.js":"0688-171"},"imported":[{"uid":"0688-176"},{"uid":"0688-168"},{"uid":"0688-174"}],"importedBy":[{"uid":"0688-174"}]},"0688-172":{"id":"/packages/react-router/src/deferred.tsx","moduleParts":{"index.production.js":"0688-173"},"imported":[{"uid":"0688-168"},{"uid":"0688-174"}],"importedBy":[{"uid":"0688-174"}]},"0688-174":{"id":"/packages/react-router/src/index.tsx","moduleParts":{"index.production.js":"0688-175"},"imported":[{"uid":"0688-158"},{"uid":"0688-176"},{"uid":"0688-162"},{"uid":"0688-164"},{"uid":"0688-166"},{"uid":"0688-168"},{"uid":"0688-170"},{"uid":"0688-172"}],"importedBy":[{"uid":"0688-170"},{"uid":"0688-172"}],"isEntry":true},"0688-176":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"0688-174"},{"uid":"0688-170"}],"isExternal":true},"0688-177":{"id":"use-sync-external-store/shim/with-selector","moduleParts":{},"imported":[],"importedBy":[{"uid":"0688-162"}],"isExternal":true}},"env":{"rollup":"2.79.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
4027
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages","children":[{"name":"store/build/esm/index.js","uid":"56b6-159"},{"name":"react-store/build/esm/index.js","uid":"56b6-161"},{"name":"router-core/build/esm/index.js","uid":"56b6-167"},{"name":"react-router/src","children":[{"uid":"56b6-171","name":"react.tsx"},{"uid":"56b6-173","name":"scroll-restoration.tsx"},{"uid":"56b6-175","name":"awaited.tsx"},{"uid":"56b6-177","name":"index.tsx"}]}]},{"name":"node_modules/.pnpm","children":[{"name":"tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js","uid":"56b6-163"},{"name":"tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js","uid":"56b6-165"}]},{"uid":"56b6-169","name":"\u0000rollupPluginBabelHelpers.js"}]}],"isRoot":true},"nodeParts":{"56b6-159":{"renderedLength":1843,"gzipLength":644,"brotliLength":0,"mainUid":"56b6-158"},"56b6-161":{"renderedLength":1006,"gzipLength":479,"brotliLength":0,"mainUid":"56b6-160"},"56b6-163":{"renderedLength":181,"gzipLength":129,"brotliLength":0,"mainUid":"56b6-162"},"56b6-165":{"renderedLength":44,"gzipLength":62,"brotliLength":0,"mainUid":"56b6-164"},"56b6-167":{"renderedLength":62804,"gzipLength":14837,"brotliLength":0,"mainUid":"56b6-166"},"56b6-169":{"renderedLength":429,"gzipLength":238,"brotliLength":0,"mainUid":"56b6-168"},"56b6-171":{"renderedLength":17226,"gzipLength":3829,"brotliLength":0,"mainUid":"56b6-170"},"56b6-173":{"renderedLength":466,"gzipLength":228,"brotliLength":0,"mainUid":"56b6-172"},"56b6-175":{"renderedLength":641,"gzipLength":305,"brotliLength":0,"mainUid":"56b6-174"},"56b6-177":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"56b6-176"}},"nodeMetas":{"56b6-158":{"id":"/packages/store/build/esm/index.js","moduleParts":{"index.production.js":"56b6-159"},"imported":[],"importedBy":[{"uid":"56b6-160"}]},"56b6-160":{"id":"/packages/react-store/build/esm/index.js","moduleParts":{"index.production.js":"56b6-161"},"imported":[{"uid":"56b6-178"},{"uid":"56b6-158"}],"importedBy":[{"uid":"56b6-176"},{"uid":"56b6-166"},{"uid":"56b6-170"}]},"56b6-162":{"id":"/node_modules/.pnpm/tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js","moduleParts":{"index.production.js":"56b6-163"},"imported":[],"importedBy":[{"uid":"56b6-166"},{"uid":"56b6-170"}]},"56b6-164":{"id":"/node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js","moduleParts":{"index.production.js":"56b6-165"},"imported":[],"importedBy":[{"uid":"56b6-166"},{"uid":"56b6-170"}]},"56b6-166":{"id":"/packages/router-core/build/esm/index.js","moduleParts":{"index.production.js":"56b6-167"},"imported":[{"uid":"56b6-162"},{"uid":"56b6-164"},{"uid":"56b6-160"}],"importedBy":[{"uid":"56b6-176"},{"uid":"56b6-170"},{"uid":"56b6-172"},{"uid":"56b6-174"}]},"56b6-168":{"id":"\u0000rollupPluginBabelHelpers.js","moduleParts":{"index.production.js":"56b6-169"},"imported":[],"importedBy":[{"uid":"56b6-170"}]},"56b6-170":{"id":"/packages/react-router/src/react.tsx","moduleParts":{"index.production.js":"56b6-171"},"imported":[{"uid":"56b6-168"},{"uid":"56b6-179"},{"uid":"56b6-160"},{"uid":"56b6-162"},{"uid":"56b6-164"},{"uid":"56b6-166"}],"importedBy":[{"uid":"56b6-176"},{"uid":"56b6-172"},{"uid":"56b6-174"}]},"56b6-172":{"id":"/packages/react-router/src/scroll-restoration.tsx","moduleParts":{"index.production.js":"56b6-173"},"imported":[{"uid":"56b6-179"},{"uid":"56b6-166"},{"uid":"56b6-170"}],"importedBy":[{"uid":"56b6-176"}]},"56b6-174":{"id":"/packages/react-router/src/awaited.tsx","moduleParts":{"index.production.js":"56b6-175"},"imported":[{"uid":"56b6-166"},{"uid":"56b6-170"}],"importedBy":[{"uid":"56b6-176"}]},"56b6-176":{"id":"/packages/react-router/src/index.tsx","moduleParts":{"index.production.js":"56b6-177"},"imported":[{"uid":"56b6-160"},{"uid":"56b6-166"},{"uid":"56b6-170"},{"uid":"56b6-172"},{"uid":"56b6-174"}],"importedBy":[],"isEntry":true},"56b6-178":{"id":"use-sync-external-store/shim/with-selector","moduleParts":{},"imported":[],"importedBy":[{"uid":"56b6-160"}],"isExternal":true},"56b6-179":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"56b6-170"},{"uid":"56b6-172"}],"isExternal":true}},"env":{"rollup":"2.79.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
4028
4028
 
4029
4029
  const run = () => {
4030
4030
  const width = window.innerWidth;
@@ -6,38 +6,38 @@
6
6
  {
7
7
  "name": "index.production.js",
8
8
  "children": [
9
- {
10
- "uid": "0688-179",
11
- "name": "\u0000rollupPluginBabelHelpers.js"
12
- },
13
9
  {
14
10
  "name": "packages",
15
11
  "children": [
16
12
  {
17
13
  "name": "store/build/esm/index.js",
18
- "uid": "0688-181"
14
+ "uid": "56b6-181"
19
15
  },
20
16
  {
21
17
  "name": "react-store/build/esm/index.js",
22
- "uid": "0688-183"
18
+ "uid": "56b6-183"
23
19
  },
24
20
  {
25
21
  "name": "router-core/build/esm/index.js",
26
- "uid": "0688-189"
22
+ "uid": "56b6-189"
27
23
  },
28
24
  {
29
25
  "name": "react-router/src",
30
26
  "children": [
31
27
  {
32
- "uid": "0688-191",
28
+ "uid": "56b6-193",
29
+ "name": "react.tsx"
30
+ },
31
+ {
32
+ "uid": "56b6-195",
33
33
  "name": "scroll-restoration.tsx"
34
34
  },
35
35
  {
36
- "uid": "0688-193",
37
- "name": "deferred.tsx"
36
+ "uid": "56b6-197",
37
+ "name": "awaited.tsx"
38
38
  },
39
39
  {
40
- "uid": "0688-195",
40
+ "uid": "56b6-199",
41
41
  "name": "index.tsx"
42
42
  }
43
43
  ]
@@ -49,13 +49,17 @@
49
49
  "children": [
50
50
  {
51
51
  "name": "tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js",
52
- "uid": "0688-185"
52
+ "uid": "56b6-185"
53
53
  },
54
54
  {
55
55
  "name": "tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js",
56
- "uid": "0688-187"
56
+ "uid": "56b6-187"
57
57
  }
58
58
  ]
59
+ },
60
+ {
61
+ "uid": "56b6-191",
62
+ "name": "\u0000rollupPluginBabelHelpers.js"
59
63
  }
60
64
  ]
61
65
  }
@@ -63,269 +67,302 @@
63
67
  "isRoot": true
64
68
  },
65
69
  "nodeParts": {
66
- "0688-179": {
67
- "renderedLength": 429,
68
- "gzipLength": 238,
69
- "brotliLength": 0,
70
- "mainUid": "0688-178"
71
- },
72
- "0688-181": {
70
+ "56b6-181": {
73
71
  "renderedLength": 1843,
74
72
  "gzipLength": 644,
75
73
  "brotliLength": 0,
76
- "mainUid": "0688-180"
74
+ "mainUid": "56b6-180"
77
75
  },
78
- "0688-183": {
76
+ "56b6-183": {
79
77
  "renderedLength": 1006,
80
78
  "gzipLength": 479,
81
79
  "brotliLength": 0,
82
- "mainUid": "0688-182"
80
+ "mainUid": "56b6-182"
83
81
  },
84
- "0688-185": {
82
+ "56b6-185": {
85
83
  "renderedLength": 181,
86
84
  "gzipLength": 129,
87
85
  "brotliLength": 0,
88
- "mainUid": "0688-184"
86
+ "mainUid": "56b6-184"
89
87
  },
90
- "0688-187": {
88
+ "56b6-187": {
91
89
  "renderedLength": 44,
92
90
  "gzipLength": 62,
93
91
  "brotliLength": 0,
94
- "mainUid": "0688-186"
92
+ "mainUid": "56b6-186"
93
+ },
94
+ "56b6-189": {
95
+ "renderedLength": 62804,
96
+ "gzipLength": 14837,
97
+ "brotliLength": 0,
98
+ "mainUid": "56b6-188"
95
99
  },
96
- "0688-189": {
97
- "renderedLength": 62814,
98
- "gzipLength": 14835,
100
+ "56b6-191": {
101
+ "renderedLength": 429,
102
+ "gzipLength": 238,
99
103
  "brotliLength": 0,
100
- "mainUid": "0688-188"
104
+ "mainUid": "56b6-190"
101
105
  },
102
- "0688-191": {
106
+ "56b6-193": {
107
+ "renderedLength": 17226,
108
+ "gzipLength": 3829,
109
+ "brotliLength": 0,
110
+ "mainUid": "56b6-192"
111
+ },
112
+ "56b6-195": {
103
113
  "renderedLength": 466,
104
114
  "gzipLength": 228,
105
115
  "brotliLength": 0,
106
- "mainUid": "0688-190"
116
+ "mainUid": "56b6-194"
107
117
  },
108
- "0688-193": {
109
- "renderedLength": 646,
110
- "gzipLength": 299,
118
+ "56b6-197": {
119
+ "renderedLength": 641,
120
+ "gzipLength": 305,
111
121
  "brotliLength": 0,
112
- "mainUid": "0688-192"
122
+ "mainUid": "56b6-196"
113
123
  },
114
- "0688-195": {
115
- "renderedLength": 17226,
116
- "gzipLength": 3829,
124
+ "56b6-199": {
125
+ "renderedLength": 0,
126
+ "gzipLength": 0,
117
127
  "brotliLength": 0,
118
- "mainUid": "0688-194"
128
+ "mainUid": "56b6-198"
119
129
  }
120
130
  },
121
131
  "nodeMetas": {
122
- "0688-178": {
123
- "id": "\u0000rollupPluginBabelHelpers.js",
124
- "moduleParts": {
125
- "index.production.js": "0688-179"
126
- },
127
- "imported": [],
128
- "importedBy": [
129
- {
130
- "uid": "0688-194"
131
- }
132
- ]
133
- },
134
- "0688-180": {
132
+ "56b6-180": {
135
133
  "id": "/packages/store/build/esm/index.js",
136
134
  "moduleParts": {
137
- "index.production.js": "0688-181"
135
+ "index.production.js": "56b6-181"
138
136
  },
139
137
  "imported": [],
140
138
  "importedBy": [
141
139
  {
142
- "uid": "0688-182"
140
+ "uid": "56b6-182"
143
141
  }
144
142
  ]
145
143
  },
146
- "0688-182": {
144
+ "56b6-182": {
147
145
  "id": "/packages/react-store/build/esm/index.js",
148
146
  "moduleParts": {
149
- "index.production.js": "0688-183"
147
+ "index.production.js": "56b6-183"
150
148
  },
151
149
  "imported": [
152
150
  {
153
- "uid": "0688-197"
151
+ "uid": "56b6-200"
154
152
  },
155
153
  {
156
- "uid": "0688-180"
154
+ "uid": "56b6-180"
157
155
  }
158
156
  ],
159
157
  "importedBy": [
160
158
  {
161
- "uid": "0688-194"
159
+ "uid": "56b6-198"
160
+ },
161
+ {
162
+ "uid": "56b6-188"
162
163
  },
163
164
  {
164
- "uid": "0688-188"
165
+ "uid": "56b6-192"
165
166
  }
166
167
  ]
167
168
  },
168
- "0688-184": {
169
+ "56b6-184": {
169
170
  "id": "/node_modules/.pnpm/tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js",
170
171
  "moduleParts": {
171
- "index.production.js": "0688-185"
172
+ "index.production.js": "56b6-185"
172
173
  },
173
174
  "imported": [],
174
175
  "importedBy": [
175
176
  {
176
- "uid": "0688-194"
177
+ "uid": "56b6-188"
177
178
  },
178
179
  {
179
- "uid": "0688-188"
180
+ "uid": "56b6-192"
180
181
  }
181
182
  ]
182
183
  },
183
- "0688-186": {
184
+ "56b6-186": {
184
185
  "id": "/node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js",
185
186
  "moduleParts": {
186
- "index.production.js": "0688-187"
187
+ "index.production.js": "56b6-187"
187
188
  },
188
189
  "imported": [],
189
190
  "importedBy": [
190
191
  {
191
- "uid": "0688-194"
192
+ "uid": "56b6-188"
192
193
  },
193
194
  {
194
- "uid": "0688-188"
195
+ "uid": "56b6-192"
195
196
  }
196
197
  ]
197
198
  },
198
- "0688-188": {
199
+ "56b6-188": {
199
200
  "id": "/packages/router-core/build/esm/index.js",
200
201
  "moduleParts": {
201
- "index.production.js": "0688-189"
202
+ "index.production.js": "56b6-189"
202
203
  },
203
204
  "imported": [
204
205
  {
205
- "uid": "0688-184"
206
+ "uid": "56b6-184"
206
207
  },
207
208
  {
208
- "uid": "0688-186"
209
+ "uid": "56b6-186"
209
210
  },
210
211
  {
211
- "uid": "0688-182"
212
+ "uid": "56b6-182"
212
213
  }
213
214
  ],
214
215
  "importedBy": [
215
216
  {
216
- "uid": "0688-194"
217
+ "uid": "56b6-198"
217
218
  },
218
219
  {
219
- "uid": "0688-190"
220
+ "uid": "56b6-192"
220
221
  },
221
222
  {
222
- "uid": "0688-192"
223
+ "uid": "56b6-194"
224
+ },
225
+ {
226
+ "uid": "56b6-196"
223
227
  }
224
228
  ]
225
229
  },
226
- "0688-190": {
227
- "id": "/packages/react-router/src/scroll-restoration.tsx",
230
+ "56b6-190": {
231
+ "id": "\u0000rollupPluginBabelHelpers.js",
228
232
  "moduleParts": {
229
- "index.production.js": "0688-191"
233
+ "index.production.js": "56b6-191"
234
+ },
235
+ "imported": [],
236
+ "importedBy": [
237
+ {
238
+ "uid": "56b6-192"
239
+ }
240
+ ]
241
+ },
242
+ "56b6-192": {
243
+ "id": "/packages/react-router/src/react.tsx",
244
+ "moduleParts": {
245
+ "index.production.js": "56b6-193"
230
246
  },
231
247
  "imported": [
232
248
  {
233
- "uid": "0688-196"
249
+ "uid": "56b6-190"
250
+ },
251
+ {
252
+ "uid": "56b6-201"
253
+ },
254
+ {
255
+ "uid": "56b6-182"
234
256
  },
235
257
  {
236
- "uid": "0688-188"
258
+ "uid": "56b6-184"
237
259
  },
238
260
  {
239
- "uid": "0688-194"
261
+ "uid": "56b6-186"
262
+ },
263
+ {
264
+ "uid": "56b6-188"
240
265
  }
241
266
  ],
242
267
  "importedBy": [
243
268
  {
244
- "uid": "0688-194"
269
+ "uid": "56b6-198"
270
+ },
271
+ {
272
+ "uid": "56b6-194"
273
+ },
274
+ {
275
+ "uid": "56b6-196"
245
276
  }
246
277
  ]
247
278
  },
248
- "0688-192": {
249
- "id": "/packages/react-router/src/deferred.tsx",
279
+ "56b6-194": {
280
+ "id": "/packages/react-router/src/scroll-restoration.tsx",
250
281
  "moduleParts": {
251
- "index.production.js": "0688-193"
282
+ "index.production.js": "56b6-195"
252
283
  },
253
284
  "imported": [
254
285
  {
255
- "uid": "0688-188"
286
+ "uid": "56b6-201"
256
287
  },
257
288
  {
258
- "uid": "0688-194"
289
+ "uid": "56b6-188"
290
+ },
291
+ {
292
+ "uid": "56b6-192"
259
293
  }
260
294
  ],
261
295
  "importedBy": [
262
296
  {
263
- "uid": "0688-194"
297
+ "uid": "56b6-198"
264
298
  }
265
299
  ]
266
300
  },
267
- "0688-194": {
268
- "id": "/packages/react-router/src/index.tsx",
301
+ "56b6-196": {
302
+ "id": "/packages/react-router/src/awaited.tsx",
269
303
  "moduleParts": {
270
- "index.production.js": "0688-195"
304
+ "index.production.js": "56b6-197"
271
305
  },
272
306
  "imported": [
273
307
  {
274
- "uid": "0688-178"
308
+ "uid": "56b6-188"
275
309
  },
276
310
  {
277
- "uid": "0688-196"
278
- },
279
- {
280
- "uid": "0688-182"
281
- },
311
+ "uid": "56b6-192"
312
+ }
313
+ ],
314
+ "importedBy": [
282
315
  {
283
- "uid": "0688-184"
284
- },
316
+ "uid": "56b6-198"
317
+ }
318
+ ]
319
+ },
320
+ "56b6-198": {
321
+ "id": "/packages/react-router/src/index.tsx",
322
+ "moduleParts": {
323
+ "index.production.js": "56b6-199"
324
+ },
325
+ "imported": [
285
326
  {
286
- "uid": "0688-186"
327
+ "uid": "56b6-182"
287
328
  },
288
329
  {
289
- "uid": "0688-188"
330
+ "uid": "56b6-188"
290
331
  },
291
332
  {
292
- "uid": "0688-190"
333
+ "uid": "56b6-192"
293
334
  },
294
335
  {
295
- "uid": "0688-192"
296
- }
297
- ],
298
- "importedBy": [
299
- {
300
- "uid": "0688-190"
336
+ "uid": "56b6-194"
301
337
  },
302
338
  {
303
- "uid": "0688-192"
339
+ "uid": "56b6-196"
304
340
  }
305
341
  ],
342
+ "importedBy": [],
306
343
  "isEntry": true
307
344
  },
308
- "0688-196": {
309
- "id": "react",
345
+ "56b6-200": {
346
+ "id": "use-sync-external-store/shim/with-selector",
310
347
  "moduleParts": {},
311
348
  "imported": [],
312
349
  "importedBy": [
313
350
  {
314
- "uid": "0688-194"
315
- },
316
- {
317
- "uid": "0688-190"
351
+ "uid": "56b6-182"
318
352
  }
319
353
  ],
320
354
  "isExternal": true
321
355
  },
322
- "0688-197": {
323
- "id": "use-sync-external-store/shim/with-selector",
356
+ "56b6-201": {
357
+ "id": "react",
324
358
  "moduleParts": {},
325
359
  "imported": [],
326
360
  "importedBy": [
327
361
  {
328
- "uid": "0688-182"
362
+ "uid": "56b6-192"
363
+ },
364
+ {
365
+ "uid": "56b6-194"
329
366
  }
330
367
  ],
331
368
  "isExternal": true
@@ -8,30 +8,22 @@
8
8
  *
9
9
  * @license MIT
10
10
  */
11
+ import { NoInfer } from '@tanstack/react-store';
12
+ export { useStore } from '@tanstack/react-store';
11
13
  import * as _tanstack_router_core from '@tanstack/router-core';
12
- import { ScrollRestorationOptions, DeferredPromise, RouteConstraints, AnyRoute, ResolveFullPath, ResolveId, ResolveFullSearchSchema, ParsePathParams, MergeParamsFromParent, RouteContext, AnyContext, UseLoaderResult, AnySearchSchema, AnyPathParams, AnyRouteProps, RoutePaths, RegisteredRouter, LinkOptions, ToOptions, MatchRouteOptions, RouteByPath, ResolveRelativePath, NavigateOptions, RouterOptions, Router, RouteMatch, RouteIds, RouteById, ParseRoute, RoutesById, AllParams } from '@tanstack/router-core';
14
+ import { AnySearchSchema, AnyPathParams, AnyContext, RouteConstraints, AnyRoute, ResolveFullPath, ResolveId, ResolveFullSearchSchema, ParsePathParams, MergeParamsFromParent, RouteContext, UseLoaderResult, AnyRouteProps, RoutePaths, RegisteredRouter, LinkOptions, ToOptions, MatchRouteOptions, RouteByPath, ResolveRelativePath, NavigateOptions, RouterOptions, Router, RouteMatch, RouteIds, RouteById, ParseRoute, RoutesById, AllParams, ScrollRestorationOptions, DeferredPromise } from '@tanstack/router-core';
13
15
  export * from '@tanstack/router-core';
14
16
  import * as React from 'react';
15
- import { NoInfer } from '@tanstack/react-store';
16
- export { useStore } from '@tanstack/react-store';
17
-
18
- declare function useScrollRestoration(options?: ScrollRestorationOptions): void;
19
- declare function ScrollRestoration(props: ScrollRestorationOptions): null;
20
-
21
- type DeferredOptions<T> = {
22
- promise: DeferredPromise<T>;
23
- };
24
- declare function useDeferred<T>({ promise }: DeferredOptions<T>): [T];
25
- declare function Deferred<T>(props: DeferredOptions<T> & {
26
- children: (result: T) => JSX.Element;
27
- }): JSX.Element;
28
17
 
29
18
  declare module '@tanstack/router-core' {
30
- interface RegisterRouteComponent<TProps> {
31
- RouteComponent: RouteComponent<TProps>;
19
+ interface RegisterRouteComponent<TLoader = unknown, TFullSearchSchema extends AnySearchSchema = AnySearchSchema, TAllParams extends AnyPathParams = AnyPathParams, TRouteContext extends AnyContext = AnyContext, TAllContext extends AnyContext = AnyContext> {
20
+ RouteComponent: RouteComponent<RouteProps<TLoader, TFullSearchSchema, TAllParams, TRouteContext, TAllContext>>;
32
21
  }
33
- interface RegisterRouteErrorComponent<TProps> {
34
- RouteErrorComponent: RouteComponent<TProps>;
22
+ interface RegisterErrorRouteComponent<TFullSearchSchema extends AnySearchSchema = AnySearchSchema, TAllParams extends AnyPathParams = AnyPathParams, TRouteContext extends AnyContext = AnyContext, TAllContext extends AnyContext = AnyContext> {
23
+ ErrorRouteComponent: RouteComponent<ErrorRouteProps<TFullSearchSchema, TAllParams, TRouteContext, TAllContext>>;
24
+ }
25
+ interface RegisterPendingRouteComponent<TFullSearchSchema extends AnySearchSchema = AnySearchSchema, TAllParams extends AnyPathParams = AnyPathParams, TRouteContext extends AnyContext = AnyContext, TAllContext extends AnyContext = AnyContext> {
26
+ PendingRouteComponent: RouteComponent<PendingRouteProps<TFullSearchSchema, TAllParams, TRouteContext, TAllContext>>;
35
27
  }
36
28
  interface Route<TParentRoute extends RouteConstraints['TParentRoute'] = AnyRoute, TPath extends RouteConstraints['TPath'] = '/', TFullPath extends RouteConstraints['TFullPath'] = ResolveFullPath<TParentRoute, TPath>, TCustomId extends RouteConstraints['TCustomId'] = string, TId extends RouteConstraints['TId'] = ResolveId<TParentRoute, TCustomId, TPath>, TLoader = unknown, TSearchSchema extends RouteConstraints['TSearchSchema'] = {}, TFullSearchSchema extends RouteConstraints['TFullSearchSchema'] = ResolveFullSearchSchema<TParentRoute, TSearchSchema>, TParams extends RouteConstraints['TParams'] = Record<ParsePathParams<TPath>, string>, TAllParams extends RouteConstraints['TAllParams'] = MergeParamsFromParent<TParentRoute['types']['allParams'], TParams>, TParentContext extends RouteConstraints['TParentContext'] = TParentRoute['types']['routeContext'], TAllParentContext extends RouteConstraints['TAllParentContext'] = TParentRoute['types']['context'], TRouteContext extends RouteConstraints['TRouteContext'] = RouteContext, TAllContext extends RouteConstraints['TAllContext'] = MergeParamsFromParent<TParentRoute['types']['context'], TRouteContext>, TRouterContext extends RouteConstraints['TRouterContext'] = AnyContext, TChildren extends RouteConstraints['TChildren'] = unknown, TRouteTree extends RouteConstraints['TRouteTree'] = AnyRoute> {
37
29
  useMatch: <TStrict extends boolean = true, TSelected = TAllContext>(opts?: {
@@ -63,15 +55,10 @@ declare module '@tanstack/router-core' {
63
55
  RouteProps: RouteProps<TLoader, TFullSearchSchema, TAllParams, TRouteContext, TAllContext>;
64
56
  }
65
57
  interface RegisterPendingRouteProps<TFullSearchSchema extends AnySearchSchema = AnySearchSchema, TAllParams extends AnyPathParams = AnyPathParams, TRouteContext extends AnyContext = AnyContext, TAllContext extends AnyContext = AnyContext> {
66
- PendingRouteProps: Omit<RouteProps<unknown, TFullSearchSchema, TAllParams, TRouteContext, TAllContext>, 'useLoader'>;
58
+ PendingRouteProps: PendingRouteProps<TFullSearchSchema, TAllParams, TRouteContext, TAllContext>;
67
59
  }
68
60
  interface RegisterErrorRouteProps<TFullSearchSchema extends AnySearchSchema = AnySearchSchema, TAllParams extends AnyPathParams = AnyPathParams, TRouteContext extends AnyContext = AnyContext, TAllContext extends AnyContext = AnyContext> {
69
- ErrorRouteProps: {
70
- error: unknown;
71
- info: {
72
- componentStack: string;
73
- };
74
- } & Omit<RouteProps<unknown, TFullSearchSchema, TAllParams, TRouteContext, TAllContext>, 'useLoader'>;
61
+ ErrorRouteProps: ErrorRouteProps;
75
62
  }
76
63
  }
77
64
  type RouteProps<TLoader = unknown, TFullSearchSchema extends AnySearchSchema = AnySearchSchema, TAllParams extends AnyPathParams = AnyPathParams, TRouteContext extends AnyContext = AnyContext, TAllContext extends AnyContext = AnyContext> = {
@@ -100,13 +87,20 @@ type RouteProps<TLoader = unknown, TFullSearchSchema extends AnySearchSchema = A
100
87
  select?: (search: TAllParams) => TSelected;
101
88
  }) => TStrict extends true ? TSelected : TSelected | undefined;
102
89
  };
90
+ type ErrorRouteProps<TFullSearchSchema extends AnySearchSchema = AnySearchSchema, TAllParams extends AnyPathParams = AnyPathParams, TRouteContext extends AnyContext = AnyContext, TAllContext extends AnyContext = AnyContext> = {
91
+ error: unknown;
92
+ info: {
93
+ componentStack: string;
94
+ };
95
+ } & Omit<RouteProps<unknown, TFullSearchSchema, TAllParams, TRouteContext, TAllContext>, 'useLoader'>;
96
+ type PendingRouteProps<TFullSearchSchema extends AnySearchSchema = AnySearchSchema, TAllParams extends AnyPathParams = AnyPathParams, TRouteContext extends AnyContext = AnyContext, TAllContext extends AnyContext = AnyContext> = Omit<RouteProps<unknown, TFullSearchSchema, TAllParams, TRouteContext, TAllContext>, 'useLoader'>;
103
97
  type ReactNode = any;
104
98
  type SyncRouteComponent<TProps> = ((props: TProps) => ReactNode) | React.LazyExoticComponent<(props: TProps) => ReactNode>;
105
99
  type AsyncRouteComponent<TProps> = SyncRouteComponent<TProps> & {
106
100
  preload?: () => Promise<void>;
107
101
  };
108
- type RouteErrorComponent = AsyncRouteComponent<RouteErrorComponentProps>;
109
- type RouteErrorComponentProps = {
102
+ type ErrorRouteComponent = AsyncRouteComponent<ErrorRouteComponentProps>;
103
+ type ErrorRouteComponentProps = {
110
104
  error: Error;
111
105
  info: {
112
106
  componentStack: string;
@@ -201,4 +195,15 @@ declare function useBlocker(message: string, condition?: boolean | any): void;
201
195
  declare function Block({ message, condition, children }: PromptProps): any;
202
196
  declare function shallow<T>(objA: T, objB: T): boolean;
203
197
 
204
- export { AnyRouteComponent, AsyncRouteComponent, Block, Deferred, DeferredOptions, ErrorComponent, Link, LinkComponent, LinkPropsOptions, MakeLinkOptions, MakeLinkPropsOptions, MakeMatchRouteOptions, MakeUseMatchRouteOptions, MatchRoute, Navigate, Outlet, PromptProps, RouteComponent, RouteErrorComponent, RouteErrorComponentProps, RouteFromIdOrRoute, RouteProps, RouterProps, RouterProvider, ScrollRestoration, SyncRouteComponent, lazyRouteComponent, matchIdsContext, routerContext, shallow, useBlocker, useDeferred, useDehydrate, useHydrate, useInjectHtml, useLinkProps, useLoader, useMatch, useMatchRoute, useMatches, useNavigate, useParams, useRouteContext, useRouter, useRouterContext, useRouterState, useScrollRestoration, useSearch };
198
+ declare function useScrollRestoration(options?: ScrollRestorationOptions): void;
199
+ declare function ScrollRestoration(props: ScrollRestorationOptions): null;
200
+
201
+ type AwaitOptions<T> = {
202
+ promise: DeferredPromise<T>;
203
+ };
204
+ declare function useAwaited<T>({ promise }: AwaitOptions<T>): [T];
205
+ declare function Await<T>(props: AwaitOptions<T> & {
206
+ children: (result: T) => JSX.Element;
207
+ }): JSX.Element;
208
+
209
+ export { AnyRouteComponent, AsyncRouteComponent, Await, AwaitOptions, Block, ErrorComponent, ErrorRouteComponent, ErrorRouteComponentProps, ErrorRouteProps, Link, LinkComponent, LinkPropsOptions, MakeLinkOptions, MakeLinkPropsOptions, MakeMatchRouteOptions, MakeUseMatchRouteOptions, MatchRoute, Navigate, Outlet, PendingRouteProps, PromptProps, RouteComponent, RouteFromIdOrRoute, RouteProps, RouterProps, RouterProvider, ScrollRestoration, SyncRouteComponent, lazyRouteComponent, matchIdsContext, routerContext, shallow, useAwaited, useBlocker, useDehydrate, useHydrate, useInjectHtml, useLinkProps, useLoader, useMatch, useMatchRoute, useMatches, useNavigate, useParams, useRouteContext, useRouter, useRouterContext, useRouterState, useScrollRestoration, useSearch };