@tanstack/router-core 0.0.1-beta.174 → 0.0.1-beta.176
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/build/cjs/index.js +1 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/route.js.map +1 -1
- package/build/cjs/router.js +57 -36
- package/build/cjs/router.js.map +1 -1
- package/build/esm/index.js +56 -36
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +158 -191
- package/build/types/defer.d.ts +19 -0
- package/build/types/fileRoute.d.ts +35 -0
- package/build/types/history.d.ts +31 -0
- package/build/types/index.d.ts +12 -780
- package/build/types/link.d.ts +92 -0
- package/build/types/path.d.ts +16 -0
- package/build/types/qss.d.ts +2 -0
- package/build/types/route.d.ts +234 -0
- package/build/types/routeInfo.d.ts +22 -0
- package/build/types/router.d.ts +251 -0
- package/build/types/scroll-restoration.d.ts +6 -0
- package/build/types/searchParams.d.ts +5 -0
- package/build/types/utils.d.ts +53 -0
- package/build/umd/index.development.js +57 -36
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +2 -2
- package/build/umd/index.production.js.map +1 -1
- package/package.json +3 -3
- package/src/route.ts +12 -16
- package/src/router.ts +100 -55
package/build/stats-html.html
CHANGED
|
@@ -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":[{"name":"node_modules/.pnpm","children":[{"name":"tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js","uid":"
|
|
4027
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"node_modules/.pnpm","children":[{"name":"tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js","uid":"feae-1"},{"name":"tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js","uid":"feae-3"},{"name":"@tanstack+store@0.0.1/node_modules/@tanstack/store/build/esm/index.js","uid":"feae-17"}]},{"name":"packages/router-core/src","children":[{"uid":"feae-5","name":"history.ts"},{"uid":"feae-7","name":"utils.ts"},{"uid":"feae-9","name":"path.ts"},{"uid":"feae-11","name":"qss.ts"},{"uid":"feae-13","name":"route.ts"},{"uid":"feae-15","name":"fileRoute.ts"},{"uid":"feae-19","name":"searchParams.ts"},{"uid":"feae-21","name":"router.ts"},{"uid":"feae-23","name":"scroll-restoration.ts"},{"uid":"feae-25","name":"defer.ts"},{"uid":"feae-27","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"feae-1":{"renderedLength":199,"gzipLength":134,"brotliLength":0,"mainUid":"feae-0"},"feae-3":{"renderedLength":48,"gzipLength":65,"brotliLength":0,"mainUid":"feae-2"},"feae-5":{"renderedLength":6455,"gzipLength":1542,"brotliLength":0,"mainUid":"feae-4"},"feae-7":{"renderedLength":2821,"gzipLength":990,"brotliLength":0,"mainUid":"feae-6"},"feae-9":{"renderedLength":6028,"gzipLength":1423,"brotliLength":0,"mainUid":"feae-8"},"feae-11":{"renderedLength":1371,"gzipLength":552,"brotliLength":0,"mainUid":"feae-10"},"feae-13":{"renderedLength":2536,"gzipLength":895,"brotliLength":0,"mainUid":"feae-12"},"feae-15":{"renderedLength":223,"gzipLength":143,"brotliLength":0,"mainUid":"feae-14"},"feae-17":{"renderedLength":1969,"gzipLength":653,"brotliLength":0,"mainUid":"feae-16"},"feae-19":{"renderedLength":1924,"gzipLength":603,"brotliLength":0,"mainUid":"feae-18"},"feae-21":{"renderedLength":41476,"gzipLength":9216,"brotliLength":0,"mainUid":"feae-20"},"feae-23":{"renderedLength":4430,"gzipLength":1190,"brotliLength":0,"mainUid":"feae-22"},"feae-25":{"renderedLength":682,"gzipLength":314,"brotliLength":0,"mainUid":"feae-24"},"feae-27":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"feae-26"}},"nodeMetas":{"feae-0":{"id":"/node_modules/.pnpm/tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js","moduleParts":{"index.production.js":"feae-1"},"imported":[],"importedBy":[{"uid":"feae-26"},{"uid":"feae-12"},{"uid":"feae-20"}]},"feae-2":{"id":"/node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js","moduleParts":{"index.production.js":"feae-3"},"imported":[],"importedBy":[{"uid":"feae-26"}]},"feae-4":{"id":"/packages/router-core/src/history.ts","moduleParts":{"index.production.js":"feae-5"},"imported":[],"importedBy":[{"uid":"feae-26"},{"uid":"feae-20"}]},"feae-6":{"id":"/packages/router-core/src/utils.ts","moduleParts":{"index.production.js":"feae-7"},"imported":[],"importedBy":[{"uid":"feae-26"},{"uid":"feae-8"},{"uid":"feae-20"}]},"feae-8":{"id":"/packages/router-core/src/path.ts","moduleParts":{"index.production.js":"feae-9"},"imported":[{"uid":"feae-6"}],"importedBy":[{"uid":"feae-26"},{"uid":"feae-12"},{"uid":"feae-20"}]},"feae-10":{"id":"/packages/router-core/src/qss.ts","moduleParts":{"index.production.js":"feae-11"},"imported":[],"importedBy":[{"uid":"feae-26"},{"uid":"feae-18"}]},"feae-12":{"id":"/packages/router-core/src/route.ts","moduleParts":{"index.production.js":"feae-13"},"imported":[{"uid":"feae-0"},{"uid":"feae-8"}],"importedBy":[{"uid":"feae-26"},{"uid":"feae-14"}]},"feae-14":{"id":"/packages/router-core/src/fileRoute.ts","moduleParts":{"index.production.js":"feae-15"},"imported":[{"uid":"feae-12"}],"importedBy":[{"uid":"feae-26"}]},"feae-16":{"id":"/node_modules/.pnpm/@tanstack+store@0.0.1/node_modules/@tanstack/store/build/esm/index.js","moduleParts":{"index.production.js":"feae-17"},"imported":[],"importedBy":[{"uid":"feae-20"}]},"feae-18":{"id":"/packages/router-core/src/searchParams.ts","moduleParts":{"index.production.js":"feae-19"},"imported":[{"uid":"feae-10"}],"importedBy":[{"uid":"feae-26"},{"uid":"feae-20"}]},"feae-20":{"id":"/packages/router-core/src/router.ts","moduleParts":{"index.production.js":"feae-21"},"imported":[{"uid":"feae-16"},{"uid":"feae-0"},{"uid":"feae-8"},{"uid":"feae-18"},{"uid":"feae-6"},{"uid":"feae-4"}],"importedBy":[{"uid":"feae-26"}]},"feae-22":{"id":"/packages/router-core/src/scroll-restoration.ts","moduleParts":{"index.production.js":"feae-23"},"imported":[],"importedBy":[{"uid":"feae-26"}]},"feae-24":{"id":"/packages/router-core/src/defer.ts","moduleParts":{"index.production.js":"feae-25"},"imported":[],"importedBy":[{"uid":"feae-26"}]},"feae-26":{"id":"/packages/router-core/src/index.ts","moduleParts":{"index.production.js":"feae-27"},"imported":[{"uid":"feae-0"},{"uid":"feae-2"},{"uid":"feae-4"},{"uid":"feae-28"},{"uid":"feae-8"},{"uid":"feae-10"},{"uid":"feae-12"},{"uid":"feae-14"},{"uid":"feae-29"},{"uid":"feae-20"},{"uid":"feae-18"},{"uid":"feae-6"},{"uid":"feae-22"},{"uid":"feae-24"}],"importedBy":[],"isEntry":true},"feae-28":{"id":"/packages/router-core/src/link.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"feae-26"}]},"feae-29":{"id":"/packages/router-core/src/routeInfo.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"feae-26"}]}},"env":{"rollup":"2.79.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
4028
4028
|
|
|
4029
4029
|
const run = () => {
|
|
4030
4030
|
const width = window.innerWidth;
|