@tanstack/router-core 0.0.1-beta.173 → 0.0.1-beta.175
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 +60 -36
- package/build/cjs/router.js.map +1 -1
- package/build/esm/index.js +59 -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 +60 -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 +122 -79
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":"5c7c-1"},{"name":"tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js","uid":"5c7c-3"},{"name":"@tanstack+store@0.0.1/node_modules/@tanstack/store/build/esm/index.js","uid":"5c7c-17"}]},{"name":"packages/router-core/src","children":[{"uid":"5c7c-5","name":"history.ts"},{"uid":"5c7c-7","name":"utils.ts"},{"uid":"5c7c-9","name":"path.ts"},{"uid":"5c7c-11","name":"qss.ts"},{"uid":"5c7c-13","name":"route.ts"},{"uid":"5c7c-15","name":"fileRoute.ts"},{"uid":"5c7c-19","name":"searchParams.ts"},{"uid":"5c7c-21","name":"router.ts"},{"uid":"5c7c-23","name":"scroll-restoration.ts"},{"uid":"5c7c-25","name":"defer.ts"},{"uid":"5c7c-27","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"5c7c-1":{"renderedLength":199,"gzipLength":134,"brotliLength":0,"mainUid":"5c7c-0"},"5c7c-3":{"renderedLength":48,"gzipLength":65,"brotliLength":0,"mainUid":"5c7c-2"},"5c7c-5":{"renderedLength":6455,"gzipLength":1542,"brotliLength":0,"mainUid":"5c7c-4"},"5c7c-7":{"renderedLength":2821,"gzipLength":990,"brotliLength":0,"mainUid":"5c7c-6"},"5c7c-9":{"renderedLength":6028,"gzipLength":1423,"brotliLength":0,"mainUid":"5c7c-8"},"5c7c-11":{"renderedLength":1371,"gzipLength":552,"brotliLength":0,"mainUid":"5c7c-10"},"5c7c-13":{"renderedLength":2536,"gzipLength":895,"brotliLength":0,"mainUid":"5c7c-12"},"5c7c-15":{"renderedLength":223,"gzipLength":143,"brotliLength":0,"mainUid":"5c7c-14"},"5c7c-17":{"renderedLength":1969,"gzipLength":653,"brotliLength":0,"mainUid":"5c7c-16"},"5c7c-19":{"renderedLength":1924,"gzipLength":603,"brotliLength":0,"mainUid":"5c7c-18"},"5c7c-21":{"renderedLength":41607,"gzipLength":9251,"brotliLength":0,"mainUid":"5c7c-20"},"5c7c-23":{"renderedLength":4430,"gzipLength":1190,"brotliLength":0,"mainUid":"5c7c-22"},"5c7c-25":{"renderedLength":682,"gzipLength":314,"brotliLength":0,"mainUid":"5c7c-24"},"5c7c-27":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"5c7c-26"}},"nodeMetas":{"5c7c-0":{"id":"/node_modules/.pnpm/tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js","moduleParts":{"index.production.js":"5c7c-1"},"imported":[],"importedBy":[{"uid":"5c7c-26"},{"uid":"5c7c-12"},{"uid":"5c7c-20"}]},"5c7c-2":{"id":"/node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js","moduleParts":{"index.production.js":"5c7c-3"},"imported":[],"importedBy":[{"uid":"5c7c-26"}]},"5c7c-4":{"id":"/packages/router-core/src/history.ts","moduleParts":{"index.production.js":"5c7c-5"},"imported":[],"importedBy":[{"uid":"5c7c-26"},{"uid":"5c7c-20"}]},"5c7c-6":{"id":"/packages/router-core/src/utils.ts","moduleParts":{"index.production.js":"5c7c-7"},"imported":[],"importedBy":[{"uid":"5c7c-26"},{"uid":"5c7c-8"},{"uid":"5c7c-20"}]},"5c7c-8":{"id":"/packages/router-core/src/path.ts","moduleParts":{"index.production.js":"5c7c-9"},"imported":[{"uid":"5c7c-6"}],"importedBy":[{"uid":"5c7c-26"},{"uid":"5c7c-12"},{"uid":"5c7c-20"}]},"5c7c-10":{"id":"/packages/router-core/src/qss.ts","moduleParts":{"index.production.js":"5c7c-11"},"imported":[],"importedBy":[{"uid":"5c7c-26"},{"uid":"5c7c-18"}]},"5c7c-12":{"id":"/packages/router-core/src/route.ts","moduleParts":{"index.production.js":"5c7c-13"},"imported":[{"uid":"5c7c-0"},{"uid":"5c7c-8"}],"importedBy":[{"uid":"5c7c-26"},{"uid":"5c7c-14"}]},"5c7c-14":{"id":"/packages/router-core/src/fileRoute.ts","moduleParts":{"index.production.js":"5c7c-15"},"imported":[{"uid":"5c7c-12"}],"importedBy":[{"uid":"5c7c-26"}]},"5c7c-16":{"id":"/node_modules/.pnpm/@tanstack+store@0.0.1/node_modules/@tanstack/store/build/esm/index.js","moduleParts":{"index.production.js":"5c7c-17"},"imported":[],"importedBy":[{"uid":"5c7c-20"}]},"5c7c-18":{"id":"/packages/router-core/src/searchParams.ts","moduleParts":{"index.production.js":"5c7c-19"},"imported":[{"uid":"5c7c-10"}],"importedBy":[{"uid":"5c7c-26"},{"uid":"5c7c-20"}]},"5c7c-20":{"id":"/packages/router-core/src/router.ts","moduleParts":{"index.production.js":"5c7c-21"},"imported":[{"uid":"5c7c-16"},{"uid":"5c7c-0"},{"uid":"5c7c-8"},{"uid":"5c7c-18"},{"uid":"5c7c-6"},{"uid":"5c7c-4"}],"importedBy":[{"uid":"5c7c-26"}]},"5c7c-22":{"id":"/packages/router-core/src/scroll-restoration.ts","moduleParts":{"index.production.js":"5c7c-23"},"imported":[],"importedBy":[{"uid":"5c7c-26"}]},"5c7c-24":{"id":"/packages/router-core/src/defer.ts","moduleParts":{"index.production.js":"5c7c-25"},"imported":[],"importedBy":[{"uid":"5c7c-26"}]},"5c7c-26":{"id":"/packages/router-core/src/index.ts","moduleParts":{"index.production.js":"5c7c-27"},"imported":[{"uid":"5c7c-0"},{"uid":"5c7c-2"},{"uid":"5c7c-4"},{"uid":"5c7c-28"},{"uid":"5c7c-8"},{"uid":"5c7c-10"},{"uid":"5c7c-12"},{"uid":"5c7c-14"},{"uid":"5c7c-29"},{"uid":"5c7c-20"},{"uid":"5c7c-18"},{"uid":"5c7c-6"},{"uid":"5c7c-22"},{"uid":"5c7c-24"}],"importedBy":[],"isEntry":true},"5c7c-28":{"id":"/packages/router-core/src/link.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"5c7c-26"}]},"5c7c-29":{"id":"/packages/router-core/src/routeInfo.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"5c7c-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;
|