@powerhousedao/connect-core 6.2.3-dev.69 → 6.2.3-dev.71

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.
Files changed (78) hide show
  1. package/dist/{index-Dg01kuDa.d.ts → index-CL4fj0Pl.d.ts} +2 -9
  2. package/dist/index-CL4fj0Pl.d.ts.map +1 -0
  3. package/dist/{index-5d0kYjgb.d.ts → index-DP1NfCUn.d.ts} +4 -4
  4. package/dist/{index-5d0kYjgb.d.ts.map → index-DP1NfCUn.d.ts.map} +1 -1
  5. package/dist/index-PjlUqG36.d.ts +2023 -0
  6. package/dist/index-PjlUqG36.d.ts.map +1 -0
  7. package/dist/index.d.ts +3 -3
  8. package/dist/index.js +8 -8
  9. package/dist/{plugin-host-iMmpZDbU.js → plugin-host-DVwFg7-D.js} +2 -2
  10. package/dist/{plugin-host-iMmpZDbU.js.map → plugin-host-DVwFg7-D.js.map} +1 -1
  11. package/dist/{plugin-ui-vZnI2dRG.js → plugin-ui-Br91idOH.js} +3 -3
  12. package/dist/{plugin-ui-vZnI2dRG.js.map → plugin-ui-Br91idOH.js.map} +1 -1
  13. package/dist/plugins.js +2 -2
  14. package/dist/route-tree.d.ts +36 -2088
  15. package/dist/route-tree.d.ts.map +1 -1
  16. package/dist/route-tree.js +18 -106
  17. package/dist/route-tree.js.map +1 -1
  18. package/dist/{router-BrL5BjAF.js → router-uK9fOfed.js} +3 -3
  19. package/dist/{router-BrL5BjAF.js.map → router-uK9fOfed.js.map} +1 -1
  20. package/dist/router.d.ts +2 -2
  21. package/dist/router.js +4 -4
  22. package/dist/routes/__root.d.ts +25 -0
  23. package/dist/routes/__root.d.ts.map +1 -0
  24. package/dist/routes/__root.js +17 -0
  25. package/dist/routes/__root.js.map +1 -0
  26. package/dist/routes/_app/$.d.ts +20 -0
  27. package/dist/routes/_app/$.d.ts.map +1 -0
  28. package/dist/routes/_app/$.js +17 -0
  29. package/dist/routes/_app/$.js.map +1 -0
  30. package/dist/routes/_app/d/$driveSlug/{-$nodeSlug}.d.ts +40 -0
  31. package/dist/routes/_app/d/$driveSlug/{-$nodeSlug}.d.ts.map +1 -0
  32. package/dist/routes/_app/d/$driveSlug/{-$nodeSlug}.js +26 -0
  33. package/dist/routes/_app/d/$driveSlug/{-$nodeSlug}.js.map +1 -0
  34. package/dist/routes/_app/d/$driveSlug.d.ts +28 -0
  35. package/dist/routes/_app/d/$driveSlug.d.ts.map +1 -0
  36. package/dist/routes/_app/d/$driveSlug.js +24 -0
  37. package/dist/routes/_app/d/$driveSlug.js.map +1 -0
  38. package/dist/routes/_app/index.d.ts +8 -0
  39. package/dist/routes/_app/index.d.ts.map +1 -0
  40. package/dist/routes/_app/index.js +14 -0
  41. package/dist/routes/_app/index.js.map +1 -0
  42. package/dist/routes/_app/settings/appearance.d.ts +15 -0
  43. package/dist/routes/_app/settings/appearance.d.ts.map +1 -0
  44. package/dist/routes/_app/settings/appearance.js +17 -0
  45. package/dist/routes/_app/settings/appearance.js.map +1 -0
  46. package/dist/routes/_app/settings/packages.d.ts +15 -0
  47. package/dist/routes/_app/settings/packages.d.ts.map +1 -0
  48. package/dist/routes/_app/settings/packages.js +17 -0
  49. package/dist/routes/_app/settings/packages.js.map +1 -0
  50. package/dist/routes/_app/settings.d.ts +25 -0
  51. package/dist/routes/_app/settings.d.ts.map +1 -0
  52. package/dist/routes/_app/settings.js +18 -0
  53. package/dist/routes/_app/settings.js.map +1 -0
  54. package/dist/routes/_app.d.ts +8 -0
  55. package/dist/routes/_app.d.ts.map +1 -0
  56. package/dist/routes/_app.js +14 -0
  57. package/dist/routes/_app.js.map +1 -0
  58. package/dist/{runtime-DkngvTo2.js → runtime-CYADuBKe.js} +2 -2
  59. package/dist/{runtime-DkngvTo2.js.map → runtime-CYADuBKe.js.map} +1 -1
  60. package/dist/runtime-config.js +4 -4
  61. package/dist/{runtime-flag-8Pw54GW1.js → runtime-flag-JJ_8aMvi.js} +2 -2
  62. package/dist/{runtime-flag-8Pw54GW1.js.map → runtime-flag-JJ_8aMvi.js.map} +1 -1
  63. package/dist/runtime.js +2 -2
  64. package/dist/{sidebar-DZG1K5Jm.js → sidebar-C0RvssAJ.js} +3 -27
  65. package/dist/sidebar-C0RvssAJ.js.map +1 -0
  66. package/dist/{views-cyJytTeq.js → views-BOajEGgQ.js} +48 -24
  67. package/dist/views-BOajEGgQ.js.map +1 -0
  68. package/dist/views.d.ts +1 -1
  69. package/dist/views.js +1 -1
  70. package/package.json +18 -11
  71. package/src/router/index.ts +0 -1
  72. package/src/views/content.tsx +30 -14
  73. package/tailwind.css +3 -0
  74. package/theme.css +0 -2
  75. package/dist/index-Dg01kuDa.d.ts.map +0 -1
  76. package/dist/sidebar-DZG1K5Jm.js.map +0 -1
  77. package/dist/views-cyJytTeq.js.map +0 -1
  78. package/src/router/route-selection.tsx +0 -30
@@ -1 +1 @@
1
- {"version":3,"file":"route-tree.d.ts","names":[],"sources":["../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/sieve-cache.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/validators.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/fileRoute.d.ts","../../../node_modules/.pnpm/@tanstack+history@1.162.4/node_modules/@tanstack/history/dist/esm/index.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/utils.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/location.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/link.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/routeInfo.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/not-found.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/redirect.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/Matches.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/root.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/RouterProvider.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/ssr/serializer/RawStream.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/ssr/serializer/transformer.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/route.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/path.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/new-process-route-tree.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/searchParams.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/ssr/constants.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/manifest.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/ssr/types.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/load-client.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/load-server.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/ssr/hydrationScripts.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/stores.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/router.d.ts","../../../node_modules/.pnpm/@tanstack+router-core@1.171.34/node_modules/@tanstack/router-core/dist/esm/global.d.ts","../src/routes/__root.tsx","../src/routes/_app.tsx","../src/routes/_app/index.tsx","../src/routes/_app/$.tsx","../src/routes/_app/settings.tsx","../src/routes/_app/d/$driveSlug.tsx","../src/routes/_app/settings/appearance.tsx","../src/routes/_app/settings/packages.tsx","../src/routes/_app/d/$driveSlug/{-$nodeSlug}.tsx","../src/routeTree.gen.ts"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],"mappings":";;;;;KAAY,WAAW,MAAM;EACzB,MAAM,KAAK,SAAS;EACpB,MAAM,KAAK,MAAM,OAAO;EACxB;;;;UCFa,6BAA6B,QAAQ;WACzC,QAAQ,6BAA6B,QAAQ;WAC7C,UAAU;;UAEN,wBAAwB,QAAQ;WACpC,aAAa,6BAA6B,QAAQ;;KAEnD,6BAA6B;UACxB,6BAA6B,QAAQ;WACzC,OAAO;WACP,QAAQ;;UAEJ;WACJ;WACA;;UAEI;WACJ,QAAQ,cAAc;;UAElB;WACJ;;KAKD,6BAA6B,oBAAoB,mCAAmC,oCAAoC,QAAQ,mCAAmC;UAC9J,aAAa,QAAQ;EAClC,OAAO,YAAY,QAAQ;;KAEnB,kBAAkB;UACb,iBAAiB,QAAQ;EACtC;IACI,OAAO;IACP,QAAQ;;EAEZ,QAAQ,mBAAmB;;KAEnB,sBAAsB;KAEtB,YAAY,QAAQ,YAAY,OAAO,WAAW;KAClD,UAAU,QAAQ,WAAW,aAAa,QAAQ,WAAW,YAAY,QAAQ,WAAW,iBAAiB,QAAQ,WAAW,wBAAwB,QAAQ;KAChK,eAAe;KACf;KACA,mBAAmB,UAAU,yBAAyB;KACtD,8BAA8B,cAAc,qBAAoB,aAAa,wBAAuB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oBAAoB;;IAEtB;MACE;MACA;MACA;MACA,uBAAuB;MACvB,oBAAoB;;IAEtB;MACE;MACA;MACA;MACA,uBAAuB;MACvB,oBAAoB;;IAEtB;MACE;MACA;MACA;MACA,uBAAuB;MACvB,oBAAoB;;IAEtB;MACE;MACA;MACA;MACA,uBAAuB;MACvB,oBAAoB;;IAEtB;MACE;MACA;MACA;MACA,uBAAuB;MACvB,oBAAoB;;IAEtB;MACE;MACA;MACA;MACA,uBAAuB;MACvB,oBAAoB;;IAEtB;MACE;MACA;MACA;MACA,uBAAuB;MACvB,oBAAoB;;;;UAKhB;EACR,mCAAmC;EACnC,iCAAiC;;cAG7B,0BAA0B;cAK1B,8BAA4B,uCAAA,UAAA,uCAAA,2CAAA,2CAAA,WAAA,QAAA,4BAAA,oCAAA,sBAAA,YAAA,iHAAA,mBAAA,YAAA,YAAA,oJAAA,4BAAA,YAAA,aAAA,sCAAA;UAIxB;EACR,iDAAiD;;cAG7C,4BAA4B;cAK5B,gCAEL,uCAFmC,UAAA,uCAAA,2CAAA,2CAAA,WAAA,QAAA,4BAAA,oCAAA,sBAAA,YAAA,iHAAA,mBAAA,YAAA,YAAA,oKAAA,kBAAA,YAAA,sBAAA;qBAAA;;;;GAEnC;UAES;EACR,sBAAsB;EACtB,yBAAyB;EACzB,sBAAsB;EACtB,2BAA2B;;cAGvB,kBAAkB;cAOlB,sBAAoB,uCAAA,2CAAA,2CAAA,WAAA,QAAA,4BAAA,oCAAA,sBAAA,YAAA,iHAAA,mBAAA,YAAA,YAAA,2BAAA;qBAKb,WAAS,uCAAA,8CAAA,QAAA,4BAAA,wCAAA,sBAAA,YAAA,2BAAA,mBAAA"}
@@ -1,111 +1,23 @@
1
- import { createFileRoute, createRootRouteWithContext } from "@tanstack/react-router";
2
- import { DRIVE_PENDING_MS, DrivePending, appTitle, connectRoutesSettled, connectSearchMiddlewares, coreView, driveTitle, loadDrive, loadNode, notFoundTitle, redirectToSettingsTab, settingsTitle, validateConnectSearch, validateDriveSearch } from "@powerhousedao/connect-core/router";
3
- //#region src/routes/__root.tsx
4
- /** The root's options: search params and the app's title. */
5
- const options$8 = {
6
- validateSearch: (search) => validateConnectSearch(search),
7
- search: { middlewares: connectSearchMiddlewares },
8
- head: ({ match, matches }) => ({ meta: [{ title: matches.some((m) => m.status === "notFound") ? notFoundTitle(match.context.appName) : appTitle(match.context.appName) }] })
9
- };
10
- const Route$8 = createRootRouteWithContext()({
11
- ...options$8,
12
- component: coreView("CoreRoot")
13
- });
14
- const Route$7 = createFileRoute("/_app")({
15
- codeSplitGroupings: [],
16
- component: coreView("CoreLayout")
17
- });
18
- const Route$6 = createFileRoute("/_app/")({
19
- codeSplitGroupings: [],
20
- component: coreView("DriveIndex")
21
- });
22
- const Route$5 = createFileRoute("/_app/$")({
23
- head: ({ match }) => ({ meta: [{ title: notFoundTitle(match.context.appName) }] }),
24
- loader: () => connectRoutesSettled(),
25
- codeSplitGroupings: [],
26
- component: coreView("NotFoundPage")
27
- });
28
- //#endregion
29
- //#region src/routes/_app/settings.tsx
30
- /** The settings page's options: the tab redirect and title. Its tabs are its
31
- * child routes with `staticData.settings`. */
32
- const options$4 = {
33
- beforeLoad: redirectToSettingsTab,
34
- head: ({ matches, match }) => ({ meta: [{ title: settingsTitle(matches.at(-1)?.staticData.settings?.label, match.context.appName) }] })
35
- };
36
- const Route$4 = createFileRoute("/_app/settings")({
37
- ...options$4,
38
- codeSplitGroupings: [],
39
- component: coreView("CoreSettingsPage")
40
- });
41
- //#endregion
42
- //#region src/routes/_app/d/$driveSlug.tsx
43
- /** The drive layout's options: its loader and pending view. */
44
- const options$3 = {
45
- loader: {
46
- handler: (options) => loadDrive(options),
47
- staleReloadMode: "blocking"
48
- },
49
- shouldReload: ({ cause }) => cause !== "stay",
50
- preloadStaleTime: 0,
51
- pendingMs: DRIVE_PENDING_MS,
52
- pendingMinMs: 0,
53
- pendingComponent: DrivePending
54
- };
55
- const Route$3 = createFileRoute("/_app/d/$driveSlug")({
56
- ...options$3,
57
- codeSplitGroupings: [],
58
- component: coreView("DriveLayout")
59
- });
60
- const Route$2 = createFileRoute("/_app/settings/appearance")({
61
- staticData: { settings: {
62
- label: "Appearance",
63
- order: 30
64
- } },
65
- codeSplitGroupings: [],
66
- component: coreView("AppearanceTab")
67
- });
68
- const Route$1 = createFileRoute("/_app/settings/packages")({
69
- staticData: { settings: {
70
- label: "Packages",
71
- order: 50
72
- } },
73
- codeSplitGroupings: [],
74
- component: coreView("PackagesTab")
75
- });
76
- //#endregion
77
- //#region src/routes/_app/d/$driveSlug/{-$nodeSlug}.tsx
78
- /** The node route's options: its loader, `?history` search and title. */
79
- const options = {
80
- validateSearch: (search) => validateDriveSearch(search),
81
- loader: {
82
- handler: (options) => loadNode(options),
83
- staleReloadMode: "blocking"
84
- },
85
- shouldReload: ({ cause }) => cause !== "stay",
86
- preloadStaleTime: 0,
87
- pendingMs: DRIVE_PENDING_MS,
88
- pendingMinMs: 0,
89
- pendingComponent: DrivePending,
90
- head: ({ match, loaderData }) => ({ meta: [{ title: driveTitle(match.context.store, loaderData, match.context.appName) }] })
91
- };
92
- const Route = createFileRoute("/_app/d/$driveSlug/{-$nodeSlug}")({
93
- ...options,
94
- codeSplitGroupings: [],
95
- component: coreView("NodeView")
96
- });
97
- //#endregion
1
+ import { Route } from "./routes/__root.js";
2
+ import { Route as Route$1 } from "./routes/_app.js";
3
+ import { Route as Route$2 } from "./routes/_app/index.js";
4
+ import { Route as Route$3 } from "./routes/_app/$.js";
5
+ import { Route as Route$4 } from "./routes/_app/settings.js";
6
+ import { Route as Route$5 } from "./routes/_app/d/$driveSlug.js";
7
+ import { Route as Route$6 } from "./routes/_app/settings/appearance.js";
8
+ import { Route as Route$7 } from "./routes/_app/settings/packages.js";
9
+ import { Route as Route$8 } from "./routes/_app/d/$driveSlug/{-$nodeSlug}.js";
98
10
  //#region src/routeTree.gen.ts
99
- const AppRoute = Route$7.update({
11
+ const AppRoute = Route$1.update({
100
12
  id: "/_app",
101
- getParentRoute: () => Route$8
13
+ getParentRoute: () => Route
102
14
  });
103
- const AppIndexRoute = Route$6.update({
15
+ const AppIndexRoute = Route$2.update({
104
16
  id: "/",
105
17
  path: "/",
106
18
  getParentRoute: () => AppRoute
107
19
  });
108
- const AppSplatRoute = Route$5.update({
20
+ const AppSplatRoute = Route$3.update({
109
21
  id: "/$",
110
22
  path: "/$",
111
23
  getParentRoute: () => AppRoute
@@ -115,22 +27,22 @@ const AppSettingsRoute = Route$4.update({
115
27
  path: "/settings",
116
28
  getParentRoute: () => AppRoute
117
29
  });
118
- const AppDDriveSlugRoute = Route$3.update({
30
+ const AppDDriveSlugRoute = Route$5.update({
119
31
  id: "/d/$driveSlug",
120
32
  path: "/d/$driveSlug",
121
33
  getParentRoute: () => AppRoute
122
34
  });
123
- const AppSettingsAppearanceRoute = Route$2.update({
35
+ const AppSettingsAppearanceRoute = Route$6.update({
124
36
  id: "/appearance",
125
37
  path: "/appearance",
126
38
  getParentRoute: () => AppSettingsRoute
127
39
  });
128
- const AppSettingsPackagesRoute = Route$1.update({
40
+ const AppSettingsPackagesRoute = Route$7.update({
129
41
  id: "/packages",
130
42
  path: "/packages",
131
43
  getParentRoute: () => AppSettingsRoute
132
44
  });
133
- const AppDDriveSlugChar123NodeSlugChar125Route = Route.update({
45
+ const AppDDriveSlugChar123NodeSlugChar125Route = Route$8.update({
134
46
  id: "/{-$nodeSlug}",
135
47
  path: "/{-$nodeSlug}",
136
48
  getParentRoute: () => AppDDriveSlugRoute
@@ -148,7 +60,7 @@ const AppRouteChildren = {
148
60
  AppDDriveSlugRoute: AppDDriveSlugRoute._addFileChildren(AppDDriveSlugRouteChildren)
149
61
  };
150
62
  const rootRouteChildren = { AppRoute: AppRoute._addFileChildren(AppRouteChildren) };
151
- const routeTree = Route$8._addFileChildren(rootRouteChildren)._addFileTypes();
63
+ const routeTree = Route._addFileChildren(rootRouteChildren)._addFileTypes();
152
64
  //#endregion
153
65
  export { routeTree };
154
66
 
@@ -1 +1 @@
1
- {"version":3,"file":"route-tree.js","names":["options","Route","options","Route","options","Route","options","Route","options","Route","options","Route","options","Route","options","Route","AppRouteImport","rootRouteImport","AppIndexRouteImport","AppSplatRouteImport","AppSettingsRouteImport","AppDDriveSlugRouteImport","AppSettingsAppearanceRouteImport","AppSettingsPackagesRouteImport","AppDDriveSlugChar123NodeSlugChar125RouteImport"],"sources":["../src/routes/__root.tsx","../src/routes/_app.tsx","../src/routes/_app/index.tsx","../src/routes/_app/$.tsx","../src/routes/_app/settings.tsx","../src/routes/_app/d/$driveSlug.tsx","../src/routes/_app/settings/appearance.tsx","../src/routes/_app/settings/packages.tsx","../src/routes/_app/d/$driveSlug/{-$nodeSlug}.tsx","../src/routeTree.gen.ts"],"sourcesContent":["import { createRootRouteWithContext } from \"@tanstack/react-router\";\n// By package name: a project's build shares the module Connect uses, and its\n// declarations can name the types.\nimport type { ConnectRouterContext } from \"@powerhousedao/connect-core/router\";\nimport {\n appTitle,\n connectSearchMiddlewares,\n coreView,\n notFoundTitle,\n validateConnectSearch,\n} from \"@powerhousedao/connect-core/router\";\n\n/** The root's options: search params and the app's title. */\nexport const options = {\n // Passes every param through; only the global ones outlive a navigation.\n // Inline type: project declaration emit can't name this module's types.\n validateSearch: (search: Record<string, unknown>) =>\n validateConnectSearch(search) as Record<string, string | undefined>,\n search: { middlewares: connectSearchMiddlewares },\n // Child routes' titles replace this one; a notFound() skips the heads below it.\n head: ({\n match,\n matches,\n }: {\n match: { context: ConnectRouterContext };\n matches: readonly { status: string }[];\n }) => ({\n meta: [\n {\n title: matches.some((m) => m.status === \"notFound\")\n ? notFoundTitle(match.context.appName)\n : appTitle(match.context.appName),\n },\n ],\n }),\n};\n\n// The page in the theme, with the matched routes' head.\nexport const Route = createRootRouteWithContext<ConnectRouterContext>()({\n ...options,\n component: coreView(\"CoreRoot\"),\n});\n","import { createFileRoute } from \"@tanstack/react-router\";\nimport { coreView } from \"@powerhousedao/connect-core/router\";\n\n/** The layout's options; none yet. */\nexport const options = {};\n\n// Pathless: the header and content area around home, drives, settings and a\n// project's _app/ routes. A layout renders `ContentOutlet` for its content.\nexport const Route = createFileRoute(\"/_app\")({\n ...options,\n // Core routes stay in the main chunk when a project build splits its routes.\n codeSplitGroupings: [],\n component: coreView(\"CoreLayout\"),\n});\n","import { createFileRoute } from \"@tanstack/react-router\";\nimport { coreView } from \"@powerhousedao/connect-core/router\";\n\n/** Home's options; none yet. */\nexport const options = {};\n\n// The drives, as an index.\nexport const Route = createFileRoute(\"/_app/\")({\n ...options,\n // Core routes stay in the main chunk when a project build splits its routes.\n codeSplitGroupings: [],\n component: coreView(\"DriveIndex\"),\n});\n","import { createFileRoute } from \"@tanstack/react-router\";\nimport type { ConnectRouterContext } from \"@powerhousedao/connect-core/router\";\nimport {\n connectRoutesSettled,\n coreView,\n notFoundTitle,\n} from \"@powerhousedao/connect-core/router\";\n\n/** Not found's options: its title, and a wait for routes still loading. */\nexport const options = {\n head: ({ match }: { match: { context: ConnectRouterContext } }) => ({\n meta: [{ title: notFoundTitle(match.context.appName) }],\n }),\n // A package's routes may still be loading: the path may be one of them.\n loader: () => connectRoutesSettled(),\n};\n\n// Unknown paths, inside the layout so it stays; matched last.\nexport const Route = createFileRoute(\"/_app/$\")({\n ...options,\n // Core routes stay in the main chunk when a project build splits its routes.\n codeSplitGroupings: [],\n component: coreView(\"NotFoundPage\"),\n});\n","import type { ConnectRouterContext } from \"@powerhousedao/connect-core/router\";\nimport {\n coreView,\n redirectToSettingsTab,\n settingsTitle,\n} from \"@powerhousedao/connect-core/router\";\nimport type { StaticDataRouteOption } from \"@tanstack/react-router\";\nimport { createFileRoute } from \"@tanstack/react-router\";\n\n/** The settings page's options: the tab redirect and title. Its tabs are its\n * child routes with `staticData.settings`. */\nexport const options = {\n // Bare /settings and a disabled tab go to the first tab. `any`: checking the\n // router's context against a typed parameter here is circular.\n beforeLoad: redirectToSettingsTab as (context: any) => void,\n // The shown tab's label; a tab needs no head of its own.\n head: ({\n matches,\n match,\n }: {\n matches: readonly { staticData: StaticDataRouteOption }[];\n match: { context: ConnectRouterContext };\n }) => ({\n meta: [\n {\n title: settingsTitle(\n matches.at(-1)?.staticData.settings?.label,\n match.context.appName,\n ),\n },\n ],\n }),\n};\n\n// The tab list beside the shown tab.\nexport const Route = createFileRoute(\"/_app/settings\")({\n ...options,\n // Core routes stay in the main chunk when a project build splits its routes.\n codeSplitGroupings: [],\n component: coreView(\"CoreSettingsPage\"),\n});\n","// By package name: a project's build shares the module Connect uses, and its\n// declarations can name the types.\nimport type { DriveLoaderOptions } from \"@powerhousedao/connect-core/router\";\nimport {\n coreView,\n DRIVE_PENDING_MS,\n DrivePending,\n loadDrive,\n} from \"@powerhousedao/connect-core/router\";\nimport { createFileRoute } from \"@tanstack/react-router\";\n\n/** The drive layout's options: its loader and pending view. */\nexport const options = {\n loader: {\n handler: (options: DriveLoaderOptions) => loadDrive(options),\n // A reused match re-resolves before it shows; drives may have changed.\n staleReloadMode: \"blocking\" as const,\n },\n // Only a path change re-resolves; search-only and same-URL navigations stay.\n shouldReload: ({ cause }: { cause: \"preload\" | \"enter\" | \"stay\" }) =>\n cause !== \"stay\",\n preloadStaleTime: 0,\n pendingMs: DRIVE_PENDING_MS,\n // The pending view is empty on warm navigations; the router's 500 ms default\n // would hold their commit.\n pendingMinMs: 0,\n pendingComponent: DrivePending,\n};\n\n// The drive app the drive names, else a directory listing, around the node route.\nexport const Route = createFileRoute(\"/_app/d/$driveSlug\")({\n ...options,\n // Core routes stay in the main chunk when a project build splits its routes.\n codeSplitGroupings: [],\n component: coreView(\"DriveLayout\"),\n});\n","import { createFileRoute } from \"@tanstack/react-router\";\nimport { coreView } from \"@powerhousedao/connect-core/router\";\n\n/** The tab's options: its entry in the settings page. */\nexport const options = {\n staticData: { settings: { label: \"Appearance\", order: 30 } },\n};\n\n// The theme.\nexport const Route = createFileRoute(\"/_app/settings/appearance\")({\n ...options,\n // Core routes stay in the main chunk when a project build splits its routes.\n codeSplitGroupings: [],\n component: coreView(\"AppearanceTab\"),\n});\n","import { createFileRoute } from \"@tanstack/react-router\";\nimport { coreView } from \"@powerhousedao/connect-core/router\";\n\n/** The tab's options: its entry in the settings page. */\nexport const options = {\n staticData: { settings: { label: \"Packages\", order: 50 } },\n};\n\n// The loaded packages, their document models and editors.\nexport const Route = createFileRoute(\"/_app/settings/packages\")({\n ...options,\n // Core routes stay in the main chunk when a project build splits its routes.\n codeSplitGroupings: [],\n component: coreView(\"PackagesTab\"),\n});\n","// By package name: a project's build shares the module Connect uses, and its\n// declarations can name the types.\nimport type {\n ConnectRouterContext,\n DriveLoaderOptions,\n DriveRouteData,\n} from \"@powerhousedao/connect-core/router\";\nimport {\n coreView,\n DRIVE_PENDING_MS,\n DrivePending,\n driveTitle,\n loadNode,\n validateDriveSearch,\n} from \"@powerhousedao/connect-core/router\";\nimport { createFileRoute } from \"@tanstack/react-router\";\n\n/** The node route's options: its loader, `?history` search and title. */\nexport const options = {\n // `?history` and its `historyPage`; inline type, as in __root.tsx.\n validateSearch: (search: Record<string, unknown>) =>\n validateDriveSearch(search) as Record<string, string | undefined>,\n loader: {\n handler: (options: DriveLoaderOptions): Promise<DriveRouteData> =>\n loadNode(options),\n // A reused match re-resolves before it shows; drives may have changed.\n staleReloadMode: \"blocking\" as const,\n },\n // Only a path change re-resolves; search-only and same-URL navigations stay.\n shouldReload: ({ cause }: { cause: \"preload\" | \"enter\" | \"stay\" }) =>\n cause !== \"stay\",\n preloadStaleTime: 0,\n pendingMs: DRIVE_PENDING_MS,\n pendingMinMs: 0,\n pendingComponent: DrivePending,\n // Names from the store; bindConnectRouter re-runs this when they change.\n head: ({\n match,\n loaderData,\n }: {\n match: { context: ConnectRouterContext };\n loaderData?: DriveRouteData;\n }) => ({\n meta: [\n {\n title: driveTitle(\n match.context.store,\n loaderData,\n match.context.appName,\n ),\n },\n ],\n }),\n};\n\n// The open document: its history, editor or JSON. Nothing on a folder or the drive's root.\nexport const Route = createFileRoute(\"/_app/d/$driveSlug/{-$nodeSlug}\")({\n ...options,\n // Core routes stay in the main chunk when a project build splits its routes.\n codeSplitGroupings: [],\n component: coreView(\"NodeView\"),\n});\n","/* eslint-disable */\n\n// @ts-nocheck\n\n// noinspection JSUnusedGlobalSymbols\n\n// This file was automatically generated by TanStack Router.\n// You should NOT make any changes in this file as it will be overwritten.\n// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.\n\nimport { Route as rootRouteImport } from \"./routes/__root.js\";\nimport { Route as AppRouteImport } from \"./routes/_app.js\";\nimport { Route as AppIndexRouteImport } from \"./routes/_app/index.js\";\nimport { Route as AppSplatRouteImport } from \"./routes/_app/$.js\";\nimport { Route as AppSettingsRouteImport } from \"./routes/_app/settings.js\";\nimport { Route as AppDDriveSlugRouteImport } from \"./routes/_app/d/$driveSlug.js\";\nimport { Route as AppSettingsAppearanceRouteImport } from \"./routes/_app/settings/appearance.js\";\nimport { Route as AppSettingsPackagesRouteImport } from \"./routes/_app/settings/packages.js\";\nimport { Route as AppDDriveSlugChar123NodeSlugChar125RouteImport } from \"./routes/_app/d/$driveSlug/{-$nodeSlug}.js\";\n\nconst AppRoute = AppRouteImport.update({\n id: \"/_app\",\n getParentRoute: () => rootRouteImport,\n} as any);\nconst AppIndexRoute = AppIndexRouteImport.update({\n id: \"/\",\n path: \"/\",\n getParentRoute: () => AppRoute,\n} as any);\nconst AppSplatRoute = AppSplatRouteImport.update({\n id: \"/$\",\n path: \"/$\",\n getParentRoute: () => AppRoute,\n} as any);\nconst AppSettingsRoute = AppSettingsRouteImport.update({\n id: \"/settings\",\n path: \"/settings\",\n getParentRoute: () => AppRoute,\n} as any);\nconst AppDDriveSlugRoute = AppDDriveSlugRouteImport.update({\n id: \"/d/$driveSlug\",\n path: \"/d/$driveSlug\",\n getParentRoute: () => AppRoute,\n} as any);\nconst AppSettingsAppearanceRoute = AppSettingsAppearanceRouteImport.update({\n id: \"/appearance\",\n path: \"/appearance\",\n getParentRoute: () => AppSettingsRoute,\n} as any);\nconst AppSettingsPackagesRoute = AppSettingsPackagesRouteImport.update({\n id: \"/packages\",\n path: \"/packages\",\n getParentRoute: () => AppSettingsRoute,\n} as any);\nconst AppDDriveSlugChar123NodeSlugChar125Route =\n AppDDriveSlugChar123NodeSlugChar125RouteImport.update({\n id: \"/{-$nodeSlug}\",\n path: \"/{-$nodeSlug}\",\n getParentRoute: () => AppDDriveSlugRoute,\n } as any);\n\nexport interface FileRoutesByFullPath {\n \"/\": typeof AppIndexRoute;\n \"/$\": typeof AppSplatRoute;\n \"/settings\": typeof AppSettingsRouteWithChildren;\n \"/d/$driveSlug\": typeof AppDDriveSlugRouteWithChildren;\n \"/settings/appearance\": typeof AppSettingsAppearanceRoute;\n \"/settings/packages\": typeof AppSettingsPackagesRoute;\n \"/d/$driveSlug/{-$nodeSlug}\": typeof AppDDriveSlugChar123NodeSlugChar125Route;\n}\nexport interface FileRoutesByTo {\n \"/$\": typeof AppSplatRoute;\n \"/settings\": typeof AppSettingsRouteWithChildren;\n \"/\": typeof AppIndexRoute;\n \"/d/$driveSlug\": typeof AppDDriveSlugRouteWithChildren;\n \"/settings/appearance\": typeof AppSettingsAppearanceRoute;\n \"/settings/packages\": typeof AppSettingsPackagesRoute;\n \"/d/$driveSlug/{-$nodeSlug}\": typeof AppDDriveSlugChar123NodeSlugChar125Route;\n}\nexport interface FileRoutesById {\n __root__: typeof rootRouteImport;\n \"/_app\": typeof AppRouteWithChildren;\n \"/_app/$\": typeof AppSplatRoute;\n \"/_app/settings\": typeof AppSettingsRouteWithChildren;\n \"/_app/\": typeof AppIndexRoute;\n \"/_app/d/$driveSlug\": typeof AppDDriveSlugRouteWithChildren;\n \"/_app/settings/appearance\": typeof AppSettingsAppearanceRoute;\n \"/_app/settings/packages\": typeof AppSettingsPackagesRoute;\n \"/_app/d/$driveSlug/{-$nodeSlug}\": typeof AppDDriveSlugChar123NodeSlugChar125Route;\n}\nexport interface FileRouteTypes {\n fileRoutesByFullPath: FileRoutesByFullPath;\n fullPaths:\n | \"/\"\n | \"/$\"\n | \"/settings\"\n | \"/d/$driveSlug\"\n | \"/settings/appearance\"\n | \"/settings/packages\"\n | \"/d/$driveSlug/{-$nodeSlug}\";\n fileRoutesByTo: FileRoutesByTo;\n to:\n | \"/$\"\n | \"/settings\"\n | \"/\"\n | \"/d/$driveSlug\"\n | \"/settings/appearance\"\n | \"/settings/packages\"\n | \"/d/$driveSlug/{-$nodeSlug}\";\n id:\n | \"__root__\"\n | \"/_app\"\n | \"/_app/$\"\n | \"/_app/settings\"\n | \"/_app/\"\n | \"/_app/d/$driveSlug\"\n | \"/_app/settings/appearance\"\n | \"/_app/settings/packages\"\n | \"/_app/d/$driveSlug/{-$nodeSlug}\";\n fileRoutesById: FileRoutesById;\n}\nexport interface RootRouteChildren {\n AppRoute: typeof AppRouteWithChildren;\n}\n\ndeclare module \"@tanstack/react-router\" {\n interface FileRoutesByPath {\n \"/_app\": {\n id: \"/_app\";\n path: \"\";\n fullPath: \"/\";\n preLoaderRoute: typeof AppRouteImport;\n parentRoute: typeof rootRouteImport;\n };\n \"/_app/\": {\n id: \"/_app/\";\n path: \"/\";\n fullPath: \"/\";\n preLoaderRoute: typeof AppIndexRouteImport;\n parentRoute: typeof AppRoute;\n };\n \"/_app/$\": {\n id: \"/_app/$\";\n path: \"/$\";\n fullPath: \"/$\";\n preLoaderRoute: typeof AppSplatRouteImport;\n parentRoute: typeof AppRoute;\n };\n \"/_app/settings\": {\n id: \"/_app/settings\";\n path: \"/settings\";\n fullPath: \"/settings\";\n preLoaderRoute: typeof AppSettingsRouteImport;\n parentRoute: typeof AppRoute;\n };\n \"/_app/d/$driveSlug\": {\n id: \"/_app/d/$driveSlug\";\n path: \"/d/$driveSlug\";\n fullPath: \"/d/$driveSlug\";\n preLoaderRoute: typeof AppDDriveSlugRouteImport;\n parentRoute: typeof AppRoute;\n };\n \"/_app/settings/appearance\": {\n id: \"/_app/settings/appearance\";\n path: \"/appearance\";\n fullPath: \"/settings/appearance\";\n preLoaderRoute: typeof AppSettingsAppearanceRouteImport;\n parentRoute: typeof AppSettingsRoute;\n };\n \"/_app/settings/packages\": {\n id: \"/_app/settings/packages\";\n path: \"/packages\";\n fullPath: \"/settings/packages\";\n preLoaderRoute: typeof AppSettingsPackagesRouteImport;\n parentRoute: typeof AppSettingsRoute;\n };\n \"/_app/d/$driveSlug/{-$nodeSlug}\": {\n id: \"/_app/d/$driveSlug/{-$nodeSlug}\";\n path: \"/{-$nodeSlug}\";\n fullPath: \"/d/$driveSlug/{-$nodeSlug}\";\n preLoaderRoute: typeof AppDDriveSlugChar123NodeSlugChar125RouteImport;\n parentRoute: typeof AppDDriveSlugRoute;\n };\n }\n}\n\ninterface AppSettingsRouteChildren {\n AppSettingsAppearanceRoute: typeof AppSettingsAppearanceRoute;\n AppSettingsPackagesRoute: typeof AppSettingsPackagesRoute;\n}\n\nconst AppSettingsRouteChildren: AppSettingsRouteChildren = {\n AppSettingsAppearanceRoute: AppSettingsAppearanceRoute,\n AppSettingsPackagesRoute: AppSettingsPackagesRoute,\n};\n\nconst AppSettingsRouteWithChildren = AppSettingsRoute._addFileChildren(\n AppSettingsRouteChildren,\n);\n\ninterface AppDDriveSlugRouteChildren {\n AppDDriveSlugChar123NodeSlugChar125Route: typeof AppDDriveSlugChar123NodeSlugChar125Route;\n}\n\nconst AppDDriveSlugRouteChildren: AppDDriveSlugRouteChildren = {\n AppDDriveSlugChar123NodeSlugChar125Route:\n AppDDriveSlugChar123NodeSlugChar125Route,\n};\n\nconst AppDDriveSlugRouteWithChildren = AppDDriveSlugRoute._addFileChildren(\n AppDDriveSlugRouteChildren,\n);\n\ninterface AppRouteChildren {\n AppSplatRoute: typeof AppSplatRoute;\n AppSettingsRoute: typeof AppSettingsRouteWithChildren;\n AppIndexRoute: typeof AppIndexRoute;\n AppDDriveSlugRoute: typeof AppDDriveSlugRouteWithChildren;\n}\n\nconst AppRouteChildren: AppRouteChildren = {\n AppSplatRoute: AppSplatRoute,\n AppSettingsRoute: AppSettingsRouteWithChildren,\n AppIndexRoute: AppIndexRoute,\n AppDDriveSlugRoute: AppDDriveSlugRouteWithChildren,\n};\n\nconst AppRouteWithChildren = AppRoute._addFileChildren(AppRouteChildren);\n\nconst rootRouteChildren: RootRouteChildren = {\n AppRoute: AppRouteWithChildren,\n};\nexport const routeTree = rootRouteImport\n ._addFileChildren(rootRouteChildren)\n ._addFileTypes<FileRouteTypes>();\n"],"mappings":";;;;AAaA,MAAaA,YAAU;CAGrB,iBAAiB,WACf,sBAAsB,MAAM;CAC9B,QAAQ,EAAE,aAAa,yBAAyB;CAEhD,OAAO,EACL,OACA,eAIK,EACL,MAAM,CACJ,EACE,OAAO,QAAQ,MAAM,MAAM,EAAE,WAAW,UAAU,IAC9C,cAAc,MAAM,QAAQ,OAAO,IACnC,SAAS,MAAM,QAAQ,OAAO,EACpC,CACF,EACF;AACF;AAGA,MAAaC,UAAQ,2BAAiD,CAAC,CAAC;CACtE,GAAGD;CACH,WAAW,SAAS,UAAU;AAChC,CAAC;ACjCD,MAAaG,UAAQ,gBAAgB,OAAO,CAAC,CAAC;CAG5C,oBAAoB,CAAC;CACrB,WAAW,SAAS,YAAY;AAClC,CAAC;ACND,MAAaE,UAAQ,gBAAgB,QAAQ,CAAC,CAAC;CAG7C,oBAAoB,CAAC;CACrB,WAAW,SAAS,YAAY;AAClC,CAAC;ACMD,MAAaE,UAAQ,gBAAgB,SAAS,CAAC,CAAC;CAR9C,OAAO,EAAE,aAA2D,EAClE,MAAM,CAAC,EAAE,OAAO,cAAc,MAAM,QAAQ,OAAO,EAAE,CAAC,EACxD;CAEA,cAAc,qBAAqB;CAOnC,oBAAoB,CAAC;CACrB,WAAW,SAAS,cAAc;AACpC,CAAC;;;;;ACZD,MAAaC,YAAU;CAGrB,YAAY;CAEZ,OAAO,EACL,SACA,aAIK,EACL,MAAM,CACJ,EACE,OAAO,cACL,QAAQ,GAAG,EAAE,CAAC,EAAE,WAAW,UAAU,OACrC,MAAM,QAAQ,OAChB,EACF,CACF,EACF;AACF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,IAAI;CACJ,sBAAsBC;AACxB,CAAQ;AACR,MAAM,gBAAgBC,QAAoB,OAAO;CAC/C,IAAI;CACJ,MAAM;CACN,sBAAsB;AACxB,CAAQ;AACR,MAAM,gBAAgBC,QAAoB,OAAO;CAC/C,IAAI;CACJ,MAAM;CACN,sBAAsB;AACxB,CAAQ;AACR,MAAM,mBAAmBC,QAAuB,OAAO;CACrD,IAAI;CACJ,MAAM;CACN,sBAAsB;AACxB,CAAQ;AACR,MAAM,qBAAqBC,QAAyB,OAAO;CACzD,IAAI;CACJ,MAAM;CACN,sBAAsB;AACxB,CAAQ;AACR,MAAM,6BAA6BC,QAAiC,OAAO;CACzE,IAAI;CACJ,MAAM;CACN,sBAAsB;AACxB,CAAQ;AACR,MAAM,2BAA2BC,QAA+B,OAAO;CACrE,IAAI;CACJ,MAAM;CACN,sBAAsB;AACxB,CAAQ;AACR,MAAM,2CACJC,MAA+C,OAAO;CACpD,IAAI;CACJ,MAAM;CACN,sBAAsB;AACxB,CAAQ;AAoIV,MAAM,2BAAqD;CAC7B;CACF;AAC5B;AAEA,MAAM,+BAA+B,iBAAiB,iBACpD,wBACF;AAMA,MAAM,6BAAyD,EAE3D,yCACJ;AAaA,MAAM,mBAAqC;CAC1B;CACf,kBAAkB;CACH;CACf,oBAfqC,mBAAmB,iBACxD,0BAciD;AACnD;AAIA,MAAM,oBAAuC,EAC3C,UAH2B,SAAS,iBAAiB,gBAGxB,EAC/B;AACA,MAAa,YAAYP,QACtB,iBAAiB,iBAAiB,CAAC,CACnC,cAA8B"}
1
+ {"version":3,"file":"route-tree.js","names":["AppRouteImport","rootRouteImport","AppIndexRouteImport","AppSplatRouteImport","AppSettingsRouteImport","AppDDriveSlugRouteImport","AppSettingsAppearanceRouteImport","AppSettingsPackagesRouteImport","AppDDriveSlugChar123NodeSlugChar125RouteImport"],"sources":["../src/routeTree.gen.ts"],"sourcesContent":["/* eslint-disable */\n\n// @ts-nocheck\n\n// noinspection JSUnusedGlobalSymbols\n\n// This file was automatically generated by TanStack Router.\n// You should NOT make any changes in this file as it will be overwritten.\n// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.\n\nimport { Route as rootRouteImport } from \"./routes/__root.js\";\nimport { Route as AppRouteImport } from \"./routes/_app.js\";\nimport { Route as AppIndexRouteImport } from \"./routes/_app/index.js\";\nimport { Route as AppSplatRouteImport } from \"./routes/_app/$.js\";\nimport { Route as AppSettingsRouteImport } from \"./routes/_app/settings.js\";\nimport { Route as AppDDriveSlugRouteImport } from \"./routes/_app/d/$driveSlug.js\";\nimport { Route as AppSettingsAppearanceRouteImport } from \"./routes/_app/settings/appearance.js\";\nimport { Route as AppSettingsPackagesRouteImport } from \"./routes/_app/settings/packages.js\";\nimport { Route as AppDDriveSlugChar123NodeSlugChar125RouteImport } from \"./routes/_app/d/$driveSlug/{-$nodeSlug}.js\";\n\nconst AppRoute = AppRouteImport.update({\n id: \"/_app\",\n getParentRoute: () => rootRouteImport,\n} as any);\nconst AppIndexRoute = AppIndexRouteImport.update({\n id: \"/\",\n path: \"/\",\n getParentRoute: () => AppRoute,\n} as any);\nconst AppSplatRoute = AppSplatRouteImport.update({\n id: \"/$\",\n path: \"/$\",\n getParentRoute: () => AppRoute,\n} as any);\nconst AppSettingsRoute = AppSettingsRouteImport.update({\n id: \"/settings\",\n path: \"/settings\",\n getParentRoute: () => AppRoute,\n} as any);\nconst AppDDriveSlugRoute = AppDDriveSlugRouteImport.update({\n id: \"/d/$driveSlug\",\n path: \"/d/$driveSlug\",\n getParentRoute: () => AppRoute,\n} as any);\nconst AppSettingsAppearanceRoute = AppSettingsAppearanceRouteImport.update({\n id: \"/appearance\",\n path: \"/appearance\",\n getParentRoute: () => AppSettingsRoute,\n} as any);\nconst AppSettingsPackagesRoute = AppSettingsPackagesRouteImport.update({\n id: \"/packages\",\n path: \"/packages\",\n getParentRoute: () => AppSettingsRoute,\n} as any);\nconst AppDDriveSlugChar123NodeSlugChar125Route =\n AppDDriveSlugChar123NodeSlugChar125RouteImport.update({\n id: \"/{-$nodeSlug}\",\n path: \"/{-$nodeSlug}\",\n getParentRoute: () => AppDDriveSlugRoute,\n } as any);\n\nexport interface FileRoutesByFullPath {\n \"/\": typeof AppIndexRoute;\n \"/$\": typeof AppSplatRoute;\n \"/settings\": typeof AppSettingsRouteWithChildren;\n \"/d/$driveSlug\": typeof AppDDriveSlugRouteWithChildren;\n \"/settings/appearance\": typeof AppSettingsAppearanceRoute;\n \"/settings/packages\": typeof AppSettingsPackagesRoute;\n \"/d/$driveSlug/{-$nodeSlug}\": typeof AppDDriveSlugChar123NodeSlugChar125Route;\n}\nexport interface FileRoutesByTo {\n \"/$\": typeof AppSplatRoute;\n \"/settings\": typeof AppSettingsRouteWithChildren;\n \"/\": typeof AppIndexRoute;\n \"/d/$driveSlug\": typeof AppDDriveSlugRouteWithChildren;\n \"/settings/appearance\": typeof AppSettingsAppearanceRoute;\n \"/settings/packages\": typeof AppSettingsPackagesRoute;\n \"/d/$driveSlug/{-$nodeSlug}\": typeof AppDDriveSlugChar123NodeSlugChar125Route;\n}\nexport interface FileRoutesById {\n __root__: typeof rootRouteImport;\n \"/_app\": typeof AppRouteWithChildren;\n \"/_app/$\": typeof AppSplatRoute;\n \"/_app/settings\": typeof AppSettingsRouteWithChildren;\n \"/_app/\": typeof AppIndexRoute;\n \"/_app/d/$driveSlug\": typeof AppDDriveSlugRouteWithChildren;\n \"/_app/settings/appearance\": typeof AppSettingsAppearanceRoute;\n \"/_app/settings/packages\": typeof AppSettingsPackagesRoute;\n \"/_app/d/$driveSlug/{-$nodeSlug}\": typeof AppDDriveSlugChar123NodeSlugChar125Route;\n}\nexport interface FileRouteTypes {\n fileRoutesByFullPath: FileRoutesByFullPath;\n fullPaths:\n | \"/\"\n | \"/$\"\n | \"/settings\"\n | \"/d/$driveSlug\"\n | \"/settings/appearance\"\n | \"/settings/packages\"\n | \"/d/$driveSlug/{-$nodeSlug}\";\n fileRoutesByTo: FileRoutesByTo;\n to:\n | \"/$\"\n | \"/settings\"\n | \"/\"\n | \"/d/$driveSlug\"\n | \"/settings/appearance\"\n | \"/settings/packages\"\n | \"/d/$driveSlug/{-$nodeSlug}\";\n id:\n | \"__root__\"\n | \"/_app\"\n | \"/_app/$\"\n | \"/_app/settings\"\n | \"/_app/\"\n | \"/_app/d/$driveSlug\"\n | \"/_app/settings/appearance\"\n | \"/_app/settings/packages\"\n | \"/_app/d/$driveSlug/{-$nodeSlug}\";\n fileRoutesById: FileRoutesById;\n}\nexport interface RootRouteChildren {\n AppRoute: typeof AppRouteWithChildren;\n}\n\ndeclare module \"@tanstack/react-router\" {\n interface FileRoutesByPath {\n \"/_app\": {\n id: \"/_app\";\n path: \"\";\n fullPath: \"/\";\n preLoaderRoute: typeof AppRouteImport;\n parentRoute: typeof rootRouteImport;\n };\n \"/_app/\": {\n id: \"/_app/\";\n path: \"/\";\n fullPath: \"/\";\n preLoaderRoute: typeof AppIndexRouteImport;\n parentRoute: typeof AppRoute;\n };\n \"/_app/$\": {\n id: \"/_app/$\";\n path: \"/$\";\n fullPath: \"/$\";\n preLoaderRoute: typeof AppSplatRouteImport;\n parentRoute: typeof AppRoute;\n };\n \"/_app/settings\": {\n id: \"/_app/settings\";\n path: \"/settings\";\n fullPath: \"/settings\";\n preLoaderRoute: typeof AppSettingsRouteImport;\n parentRoute: typeof AppRoute;\n };\n \"/_app/d/$driveSlug\": {\n id: \"/_app/d/$driveSlug\";\n path: \"/d/$driveSlug\";\n fullPath: \"/d/$driveSlug\";\n preLoaderRoute: typeof AppDDriveSlugRouteImport;\n parentRoute: typeof AppRoute;\n };\n \"/_app/settings/appearance\": {\n id: \"/_app/settings/appearance\";\n path: \"/appearance\";\n fullPath: \"/settings/appearance\";\n preLoaderRoute: typeof AppSettingsAppearanceRouteImport;\n parentRoute: typeof AppSettingsRoute;\n };\n \"/_app/settings/packages\": {\n id: \"/_app/settings/packages\";\n path: \"/packages\";\n fullPath: \"/settings/packages\";\n preLoaderRoute: typeof AppSettingsPackagesRouteImport;\n parentRoute: typeof AppSettingsRoute;\n };\n \"/_app/d/$driveSlug/{-$nodeSlug}\": {\n id: \"/_app/d/$driveSlug/{-$nodeSlug}\";\n path: \"/{-$nodeSlug}\";\n fullPath: \"/d/$driveSlug/{-$nodeSlug}\";\n preLoaderRoute: typeof AppDDriveSlugChar123NodeSlugChar125RouteImport;\n parentRoute: typeof AppDDriveSlugRoute;\n };\n }\n}\n\ninterface AppSettingsRouteChildren {\n AppSettingsAppearanceRoute: typeof AppSettingsAppearanceRoute;\n AppSettingsPackagesRoute: typeof AppSettingsPackagesRoute;\n}\n\nconst AppSettingsRouteChildren: AppSettingsRouteChildren = {\n AppSettingsAppearanceRoute: AppSettingsAppearanceRoute,\n AppSettingsPackagesRoute: AppSettingsPackagesRoute,\n};\n\nconst AppSettingsRouteWithChildren = AppSettingsRoute._addFileChildren(\n AppSettingsRouteChildren,\n);\n\ninterface AppDDriveSlugRouteChildren {\n AppDDriveSlugChar123NodeSlugChar125Route: typeof AppDDriveSlugChar123NodeSlugChar125Route;\n}\n\nconst AppDDriveSlugRouteChildren: AppDDriveSlugRouteChildren = {\n AppDDriveSlugChar123NodeSlugChar125Route:\n AppDDriveSlugChar123NodeSlugChar125Route,\n};\n\nconst AppDDriveSlugRouteWithChildren = AppDDriveSlugRoute._addFileChildren(\n AppDDriveSlugRouteChildren,\n);\n\ninterface AppRouteChildren {\n AppSplatRoute: typeof AppSplatRoute;\n AppSettingsRoute: typeof AppSettingsRouteWithChildren;\n AppIndexRoute: typeof AppIndexRoute;\n AppDDriveSlugRoute: typeof AppDDriveSlugRouteWithChildren;\n}\n\nconst AppRouteChildren: AppRouteChildren = {\n AppSplatRoute: AppSplatRoute,\n AppSettingsRoute: AppSettingsRouteWithChildren,\n AppIndexRoute: AppIndexRoute,\n AppDDriveSlugRoute: AppDDriveSlugRouteWithChildren,\n};\n\nconst AppRouteWithChildren = AppRoute._addFileChildren(AppRouteChildren);\n\nconst rootRouteChildren: RootRouteChildren = {\n AppRoute: AppRouteWithChildren,\n};\nexport const routeTree = rootRouteImport\n ._addFileChildren(rootRouteChildren)\n ._addFileTypes<FileRouteTypes>();\n"],"mappings":";;;;;;;;;;AAoBA,MAAM,WAAWA,QAAe,OAAO;CACrC,IAAI;CACJ,sBAAsBC;AACxB,CAAQ;AACR,MAAM,gBAAgBC,QAAoB,OAAO;CAC/C,IAAI;CACJ,MAAM;CACN,sBAAsB;AACxB,CAAQ;AACR,MAAM,gBAAgBC,QAAoB,OAAO;CAC/C,IAAI;CACJ,MAAM;CACN,sBAAsB;AACxB,CAAQ;AACR,MAAM,mBAAmBC,QAAuB,OAAO;CACrD,IAAI;CACJ,MAAM;CACN,sBAAsB;AACxB,CAAQ;AACR,MAAM,qBAAqBC,QAAyB,OAAO;CACzD,IAAI;CACJ,MAAM;CACN,sBAAsB;AACxB,CAAQ;AACR,MAAM,6BAA6BC,QAAiC,OAAO;CACzE,IAAI;CACJ,MAAM;CACN,sBAAsB;AACxB,CAAQ;AACR,MAAM,2BAA2BC,QAA+B,OAAO;CACrE,IAAI;CACJ,MAAM;CACN,sBAAsB;AACxB,CAAQ;AACR,MAAM,2CACJC,QAA+C,OAAO;CACpD,IAAI;CACJ,MAAM;CACN,sBAAsB;AACxB,CAAQ;AAoIV,MAAM,2BAAqD;CAC7B;CACF;AAC5B;AAEA,MAAM,+BAA+B,iBAAiB,iBACpD,wBACF;AAMA,MAAM,6BAAyD,EAE3D,yCACJ;AAaA,MAAM,mBAAqC;CAC1B;CACf,kBAAkB;CACH;CACf,oBAfqC,mBAAmB,iBACxD,0BAciD;AACnD;AAIA,MAAM,oBAAuC,EAC3C,UAH2B,SAAS,iBAAiB,gBAGxB,EAC/B;AACA,MAAa,YAAYP,MACtB,iBAAiB,iBAAiB,CAAC,CACnC,cAA8B"}
@@ -1,7 +1,7 @@
1
1
  import { t as getConnectRegistry } from "./registry-DCZHBP7M.js";
2
- import { c as CoreNotFound, n as getConnectPluginUi, s as CoreError, t as applyConnectPluginUi } from "./plugin-ui-vZnI2dRG.js";
2
+ import { c as CoreNotFound, n as getConnectPluginUi, s as CoreError, t as applyConnectPluginUi } from "./plugin-ui-Br91idOH.js";
3
3
  import { i as connectRoutes, r as addConnectRoutes, u as resolveConnectRoutes } from "./route-tree-91OurkPS.js";
4
- import { S as CONTENT_VIEW_ID, b as driveTitle, f as setSettingsRoute, p as settingsTabs, u as keepOpenedFrom } from "./sidebar-DZG1K5Jm.js";
4
+ import { d as setSettingsRoute, f as settingsTabs, l as keepOpenedFrom, x as CONTENT_VIEW_ID, y as driveTitle } from "./sidebar-C0RvssAJ.js";
5
5
  import { FEATURE_FLAG_PARAM_PREFIX, GLOBAL_SEARCH_PARAMS, OPENED_FROM_STATE_KEY, PHStoreProvider, REVISION_HISTORY_PAGE_PARAM, REVISION_HISTORY_PARAM, applySearchUpdate, createDriveArrivals, findDriveBySlugOrId, getPHStoreSubscribe, isRoutedModal, isSettingsTarget, makeDriveSlug, modalFromSearch, openedFromIndex, parseRevisionHistoryPage, resolveSearchUpdate, searchParamsToString } from "@powerhousedao/reactor-browser";
6
6
  import { RouterProvider, createRouter, retainSearchParams, useRouterState } from "@tanstack/react-router";
7
7
  import { useMemo } from "react";
@@ -488,4 +488,4 @@ function ConnectCoreApp(props) {
488
488
  //#endregion
489
489
  export { PERF_STORAGE_KEY as _, createConnectRouter as a, markRouterNavigations as b, GLOBAL_SEARCH_PARAMS as c, parseConnectSearch as d, stringifyConnectSearch as f, connectScrollRestoration as g, bindConnectScroll as h, bindConnectRouter as i, connectSearchMiddlewares as l, validateDriveSearch as m, disposeConnectAppRouter as n, createConnectNavigation as o, validateConnectSearch as p, getConnectAppRouter as r, FEATURE_FLAG_PARAM_PREFIX as s, ConnectCoreApp as t, definedSearch as u, ROUTER_MEASURES as v, routerPerfEnabled as x, markNavigationClick as y };
490
490
 
491
- //# sourceMappingURL=router-BrL5BjAF.js.map
491
+ //# sourceMappingURL=router-uK9fOfed.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"router-BrL5BjAF.js","names":[],"sources":["../src/router/perf-marks.ts","../src/router/scroll.ts","../src/router/search.ts","../src/router/navigation.ts","../src/router/connect-router.ts","../src/router/app-router.ts","../src/router/core-app.tsx"],"sourcesContent":["import type { AnyRouter } from \"@tanstack/react-router\";\n\n/** `localStorage[PERF_STORAGE_KEY] = \"1\"` or `?perf=1` turns the marks on in production. */\nexport const PERF_STORAGE_KEY = \"ph:perf\";\n\n/** The measures each navigation writes, as the bench reads them. */\nexport const ROUTER_MEASURES = {\n /** `navigation.open` to the router starting the navigation. */\n click: \"nav click\",\n /** Route loaders, until the router commits the matches. */\n loader: \"nav loader\",\n /** The commit until React has rendered it. */\n commit: \"nav commit\",\n /** The click (or the navigation's start) to the next frame after render. */\n total: \"nav total\",\n} as const;\n\n// Chrome's Performance panel shows these as \"Connect › Router\".\nconst DETAIL = {\n devtools: { dataType: \"track-entry\", track: \"Router\", trackGroup: \"Connect\" },\n} as const;\n\nlet marking = 0;\nlet clickedAt: number | undefined;\n\n/** On in dev builds; elsewhere only with the runtime flag. */\nexport function routerPerfEnabled(dev: boolean = import.meta.env.DEV) {\n if (dev) return true;\n try {\n return (\n new URLSearchParams(location.search).get(\"perf\") === \"1\" ||\n localStorage.getItem(PERF_STORAGE_KEY) === \"1\"\n );\n } catch {\n return false;\n }\n}\n\n/** Marks a navigation's click; a no-op unless a router is being marked. */\nexport function markNavigationClick() {\n if (!marking) return;\n clickedAt = performance.now();\n performance.mark(\"nav:click\", { detail: DETAIL });\n}\n\nfunction measure(name: string, start: number | undefined, end: number) {\n if (start === undefined) return;\n performance.measure(name, { start, end, detail: DETAIL });\n}\n\n/** Writes each navigation's phases as performance measures; returns the unsubscribe. */\nexport function markRouterNavigations(\n router: Pick<AnyRouter, \"subscribe\">,\n enabled = routerPerfEnabled(),\n) {\n if (!enabled) return () => {};\n marking++;\n let generation = 0;\n let clicked: number | undefined;\n let navigated: number | undefined;\n let loading: number | undefined;\n let loaded: number | undefined;\n const unsubscribes = [\n router.subscribe(\"onBeforeNavigate\", () => {\n generation++;\n navigated = performance.now();\n clicked = clickedAt;\n clickedAt = undefined;\n measure(ROUTER_MEASURES.click, clicked, navigated);\n loading = loaded = undefined;\n }),\n router.subscribe(\"onBeforeLoad\", () => {\n loading = performance.now();\n }),\n router.subscribe(\"onLoad\", () => {\n loaded = performance.now();\n measure(ROUTER_MEASURES.loader, loading, loaded);\n }),\n router.subscribe(\"onRendered\", () => {\n measure(ROUTER_MEASURES.commit, loaded, performance.now());\n const current = generation;\n const start = clicked ?? navigated;\n // The frame after render, as close to paint as a script sees.\n requestAnimationFrame(() =>\n setTimeout(() => {\n if (current === generation) {\n measure(ROUTER_MEASURES.total, start, performance.now());\n }\n }),\n );\n }),\n ];\n return () => {\n marking--;\n for (const unsubscribe of unsubscribes) unsubscribe();\n };\n}\n","import type {\n AnyRouter,\n ParsedLocation,\n RouterHistory,\n} from \"@tanstack/react-router\";\n\ntype ScrollRouter = Pick<AnyRouter, \"subscribe\" | \"_scroll\" | \"options\"> & {\n history: RouterHistory;\n};\n\nconst TRAVERSALS = new Set([\"BACK\", \"FORWARD\", \"GO\"]);\nconst traversals = new WeakMap<object, { traversal: boolean }>();\n\n/** The router's `scrollRestoration`: on for back/forward only; other\n * navigations reset the content view in `bindConnectScroll`. */\nexport function connectScrollRestoration() {\n // The first load restores a reloaded page's scroll.\n const state = { traversal: true };\n const restore = ({ location }: { location: ParsedLocation }) =>\n state.traversal || !!location.hash;\n traversals.set(restore, state);\n return restore;\n}\n\n/** Tracks history actions, and resets a scrolled content view on new views. */\nexport function bindConnectScroll(router: ScrollRouter, contentViewId: string) {\n const state = traversals.get(router.options.scrollRestoration as object);\n if (!state) return () => {};\n const unsubscribeHistory = router.history.subscribe(({ action }) => {\n state.traversal = TRAVERSALS.has(action.type);\n });\n if (typeof document === \"undefined\") return unsubscribeHistory;\n\n // Read in the scroll event, where layout is clean, not at navigation.\n let scrolledView: Element | undefined;\n let windowScrolled = false;\n const onScroll = (event: Event) => {\n const target = event.target;\n if (target === document) {\n windowScrolled = window.scrollY > 0 || window.scrollX > 0;\n } else if (target instanceof Element && target.id === contentViewId) {\n scrolledView = target.scrollTop > 0 ? target : undefined;\n }\n };\n document.addEventListener(\"scroll\", onScroll, {\n capture: true,\n passive: true,\n });\n\n let resetScroll = true;\n const unsubscribes = [\n unsubscribeHistory,\n // The navigation's `resetScroll`, before the router clears it on render.\n router.subscribe(\"onBeforeRouteMount\", () => {\n resetScroll = router._scroll.n;\n }),\n router.subscribe(\"onRendered\", ({ toLocation }) => {\n if (state.traversal || toLocation.hash || !resetScroll) return;\n if (scrolledView?.isConnected) scrolledView.scrollTo(0, 0);\n if (windowScrolled) window.scrollTo(0, 0);\n scrolledView = undefined;\n windowScrolled = false;\n }),\n ];\n return () => {\n document.removeEventListener(\"scroll\", onScroll, { capture: true });\n for (const unsubscribe of unsubscribes) unsubscribe();\n };\n}\n","import {\n FEATURE_FLAG_PARAM_PREFIX,\n GLOBAL_SEARCH_PARAMS,\n parseRevisionHistoryPage,\n REVISION_HISTORY_PAGE_PARAM,\n REVISION_HISTORY_PARAM,\n searchParamsToString,\n} from \"@powerhousedao/reactor-browser\";\nimport type { SearchMiddleware } from \"@tanstack/react-router\";\nimport { retainSearchParams } from \"@tanstack/react-router\";\n\n// Shared with reactor-browser's fallback navigation.\nexport { FEATURE_FLAG_PARAM_PREFIX, GLOBAL_SEARCH_PARAMS };\n\n/** Connect's query params: plain strings, as in the URL. */\nexport type ConnectSearch = Record<string, string | undefined>;\n\nconst retainFeatureFlags: SearchMiddleware<ConnectSearch> = ({\n search,\n next,\n}) => {\n const result = { ...next(search) };\n for (const [key, value] of Object.entries(search)) {\n if (key.startsWith(FEATURE_FLAG_PARAM_PREFIX) && !(key in result)) {\n result[key] = value;\n }\n }\n return result;\n};\n\n/** The root route's middlewares; they apply to every navigation and redirect. */\nexport const connectSearchMiddlewares: SearchMiddleware<ConnectSearch>[] = [\n retainSearchParams<ConnectSearch>([...GLOBAL_SEARCH_PARAMS]),\n retainFeatureFlags,\n];\n\n/** Lets every param through; routes add none of their own. */\nexport function validateConnectSearch(\n search: Record<string, unknown>,\n): ConnectSearch {\n return search as ConnectSearch;\n}\n\n/** Parses a query string into plain string values, unlike the JSON default. */\nexport function parseConnectSearch(searchStr: string): ConnectSearch {\n return Object.fromEntries(new URLSearchParams(searchStr));\n}\n\n/** Writes plain `key=value` pairs, so other readers of the URL see strings. */\nexport function stringifyConnectSearch(search: Record<string, unknown>) {\n const params = new URLSearchParams();\n for (const [key, value] of Object.entries(search)) {\n if (value === undefined || value === null) continue;\n params.set(key, typeof value === \"string\" ? value : JSON.stringify(value));\n }\n const searchStr = searchParamsToString(params);\n return searchStr ? `?${searchStr}` : \"\";\n}\n\n/** The drive route's params: `?history` opens the document's revision history,\n * and `historyPage` (a positive integer; 1 is dropped) pages it. */\nexport function validateDriveSearch(\n search: Record<string, unknown>,\n): ConnectSearch {\n const result = { ...search } as ConnectSearch;\n if (result[REVISION_HISTORY_PARAM] === undefined) return result;\n result[REVISION_HISTORY_PARAM] = \"\";\n const page = parseRevisionHistoryPage(result[REVISION_HISTORY_PAGE_PARAM]);\n if (page > 1) result[REVISION_HISTORY_PAGE_PARAM] = String(page);\n // Undefined, not deleted: a route's search is merged over its parent's.\n else result[REVISION_HISTORY_PAGE_PARAM] = undefined;\n return result;\n}\n\n/** The defined values of `search`, for callers that take plain records. */\nexport function definedSearch(search: object): Record<string, string> {\n const record: Record<string, string> = {};\n for (const [key, value] of Object.entries(search)) {\n if (typeof value === \"string\") record[key] = value;\n else if (value !== undefined && value !== null) {\n record[key] = JSON.stringify(value);\n }\n }\n return record;\n}\n","import type {\n PHDriveTarget,\n PHNavigation,\n PHNavigationTarget,\n PHSettingsTarget,\n SetSearchParams,\n} from \"@powerhousedao/reactor-browser\";\nimport {\n applySearchUpdate,\n findDriveBySlugOrId,\n isSettingsTarget,\n makeDriveSlug,\n OPENED_FROM_STATE_KEY,\n openedFromIndex,\n resolveSearchUpdate,\n} from \"@powerhousedao/reactor-browser\";\nimport type {\n AnyRouter,\n HistoryState,\n MakeRouteMatchUnion,\n} from \"@tanstack/react-router\";\nimport { useRouterState } from \"@tanstack/react-router\";\nimport { useMemo } from \"react\";\nimport type { ConnectRouterBundle } from \"./connect-router.js\";\nimport { markNavigationClick } from \"./perf-marks.js\";\nimport { definedSearch } from \"./search.js\";\nimport { keepOpenedFrom, settingsTabs } from \"./settings.js\";\n\n// Hover intent: a pointer passing over cards doesn't preload each of them.\nconst PRELOAD_DELAY_MS = 50;\n\n/** The PH navigation backed by `router`; its hooks take the router directly,\n * so they work outside the RouterProvider. */\nexport function createConnectNavigation(\n connectRouter: ConnectRouterBundle,\n): PHNavigation & { dispose(): void } {\n const { router, homeRoute, nodeRoute, settingsRoute } = connectRouter;\n // Settings tabs can come from a project's routes, unknown to Connect's types.\n const anyRouter = router as unknown as AnyRouter;\n\n // A listed drive is addressed by its canonical slug, whatever form came in.\n const driveParams = (target: PHDriveTarget) => {\n const drive = findDriveBySlugOrId(\n router.options.context.store,\n target.driveSlug,\n );\n return {\n driveSlug: drive ? makeDriveSlug(drive) : target.driveSlug,\n nodeSlug: target.nodeSlug || undefined,\n };\n };\n\n // `true` is the first tab, so the URL names a tab without a redirect.\n const settingsPath = ({ settings }: PHSettingsTarget) => {\n const tab =\n settings === true ? settingsTabs(anyRouter).at(0)?.id : settings;\n return tab ? `${settingsRoute.fullPath}/${tab}` : settingsRoute.fullPath;\n };\n\n // In-document writes keep the entry's state, so its opened-from index too.\n const setSearch: PHNavigation[\"setSearch\"] = (update, options) => {\n void router.navigate({\n to: \".\",\n search: (prev) => applySearchUpdate({}, update(definedSearch(prev))),\n state: true,\n replace: options?.replace,\n resetScroll: false,\n });\n };\n\n const showsSettings = () =>\n router.state.matches.some((match) => match.routeId === settingsRoute.id);\n\n // A push remembers the entry it leaves; a replace keeps what that one had,\n // as does a move between settings tabs.\n const openedFromState = (\n replace: boolean | undefined,\n target: PHNavigationTarget | undefined,\n ) => {\n const { state } = router.history.location;\n const next =\n replace || (isSettingsTarget(target) && showsSettings())\n ? keepOpenedFrom(state)\n : ({\n [OPENED_FROM_STATE_KEY]: state.__TSR_index,\n } as unknown as HistoryState);\n return () => next;\n };\n\n const targetKey = (target: PHNavigationTarget | undefined) => {\n if (!target) return homeRoute.id;\n if (isSettingsTarget(target)) return settingsPath(target);\n const { driveSlug, nodeSlug } = driveParams(target);\n return JSON.stringify([driveSlug, nodeSlug ?? \"\"]);\n };\n let keyedMatches: readonly MakeRouteMatchUnion[] | undefined;\n let matchesKey: string | undefined;\n const currentKey = (matches: readonly MakeRouteMatchUnion[]) => {\n if (matches === keyedMatches) return matchesKey;\n keyedMatches = matches;\n const drive = matches.find((match) => match.routeId === nodeRoute.id);\n const settings = matches.some(\n (match) => match.routeId === settingsRoute.id,\n );\n if (drive) {\n matchesKey = targetKey(drive.params as PHDriveTarget);\n } else if (settings) {\n // A tab's key is its path, as settingsPath builds it.\n matchesKey = matches.at(-1)?.fullPath.replace(/\\/$/, \"\");\n } else {\n matchesKey = matches.find(\n (match) => match.routeId === homeRoute.id,\n )?.routeId;\n }\n return matchesKey;\n };\n\n // Hrefs depend only on the target and the global params of the current search.\n const hrefs = new Map<string, string>();\n let hrefsSearch: string | undefined;\n\n const setSearchParams: SetSearchParams = (update, options) =>\n setSearch((prev) => resolveSearchUpdate(prev, update), options);\n\n let preloadTimer: ReturnType<typeof setTimeout> | undefined;\n return {\n location: () => router.history.location,\n // The root route's middlewares add the global params to `search`.\n open: (target, options) => {\n markNavigationClick();\n const search = applySearchUpdate({}, options?.search ?? {});\n const replace = options?.replace;\n const state = openedFromState(replace, target);\n if (!target) {\n void router.navigate({\n to: homeRoute.fullPath,\n search,\n replace,\n state,\n });\n return;\n }\n if (isSettingsTarget(target)) {\n void anyRouter.navigate({\n to: settingsPath(target),\n search,\n replace,\n state,\n });\n return;\n }\n void router.navigate({\n to: nodeRoute.fullPath,\n params: driveParams(target),\n search,\n replace,\n state,\n });\n },\n // The public href, base path included; global params as `open` keeps them.\n hrefFor: (target) => {\n const { searchStr } = router.latestLocation;\n if (searchStr !== hrefsSearch) {\n hrefs.clear();\n hrefsSearch = searchStr;\n }\n const key = targetKey(target);\n let href = hrefs.get(key);\n if (href === undefined) {\n const location = !target\n ? router.buildLocation({ to: homeRoute.fullPath, search: {} })\n : isSettingsTarget(target)\n ? anyRouter.buildLocation({ to: settingsPath(target), search: {} })\n : router.buildLocation({\n to: nodeRoute.fullPath,\n params: driveParams(target),\n search: {},\n });\n href = location.publicHref;\n hrefs.set(key, href);\n }\n return href;\n },\n // One key per shown matches, so each link's selector is a string compare.\n useIsCurrent: (target) => {\n // The settings page itself is current on any of its tabs.\n const anyTab = isSettingsTarget(target) && target.settings === true;\n const key = anyTab ? `${settingsRoute.fullPath}/` : targetKey(target);\n return useRouterState({\n router,\n select: (state) => {\n const current = currentKey(state.matches);\n return anyTab ? !!current?.startsWith(key) : current === key;\n },\n });\n },\n preload: (target) => {\n clearTimeout(preloadTimer);\n if (!target) return;\n preloadTimer = setTimeout(() => {\n const preloading = isSettingsTarget(target)\n ? anyRouter.preloadRoute({ to: settingsPath(target) })\n : router.preloadRoute({\n to: nodeRoute.fullPath,\n params: driveParams(target),\n });\n preloading.catch(() => undefined);\n }, PRELOAD_DELAY_MS);\n },\n setSearch,\n // The presented matches' params, else the location's.\n useSearchParams() {\n const search = useRouterState({\n router,\n select: (state) =>\n state.matches.at(-1)?.search ?? state.location.search,\n });\n return useMemo(() => definedSearch(search), [search]);\n },\n useSetSearchParams: () => setSearchParams,\n closeOpened: () => {\n const { state } = router.history.location;\n const from = openedFromIndex(state, state.__TSR_index);\n if (from === undefined) return false;\n router.history.go(from - state.__TSR_index);\n return true;\n },\n dispose: () => clearTimeout(preloadTimer),\n };\n}\n","import type { DriveArrivals, PHStore } from \"@powerhousedao/reactor-browser\";\nimport {\n getPHStoreSubscribe,\n isRoutedModal,\n modalFromSearch,\n} from \"@powerhousedao/reactor-browser\";\nimport type {\n AnyRoute,\n ErrorRouteComponent,\n NotFoundRouteComponent,\n RouteComponent,\n Router,\n RouterHistory,\n} from \"@tanstack/react-router\";\nimport { createRouter } from \"@tanstack/react-router\";\nimport type { ErrorInfo, PropsWithChildren, ReactElement } from \"react\";\nimport type { ConnectPluginUiSet } from \"../plugins/plugin-ui.js\";\nimport { applyConnectPluginUi } from \"../plugins/plugin-ui.js\";\nimport { markRouterNavigations } from \"./perf-marks.js\";\nimport { bindConnectScroll, connectScrollRestoration } from \"./scroll.js\";\nimport type { DriveRouteData } from \"./drive-route-loader.js\";\nimport type { ConnectRootRoute, ConnectRoutes } from \"./route-tree.js\";\nimport { createConnectNavigation } from \"./navigation.js\";\nimport { CoreError, CoreNotFound } from \"./core-views.js\";\nimport { CONTENT_VIEW_ID } from \"./route-components.js\";\nimport { addConnectRoutes, connectRoutes } from \"./route-tree.js\";\nimport { setSettingsRoute } from \"./settings.js\";\nimport { parseConnectSearch, stringifyConnectSearch } from \"./search.js\";\nimport { driveTitle } from \"./titles.js\";\n\nexport type ConnectRouterOptions = {\n store: PHStore;\n arrivals?: DriveArrivals;\n basepath?: string;\n history?: RouterHistory;\n InnerWrap?: (props: PropsWithChildren) => ReactElement;\n /** Shown while a route's loader or chunks are pending, after the router's `pendingMs`. */\n pendingComponent?: RouteComponent;\n /** Any route's loader or render error; the plugins', else core's error view. */\n errorComponent?: ErrorRouteComponent;\n /** The active plugins' UI, set on the routes that show core's views. */\n pluginUi?: ConnectPluginUiSet;\n /** Loaders' notFound(), e.g. a missing drive's; core's page by default. */\n notFoundComponent?: NotFoundRouteComponent;\n /** The tree to route with: `@powerhousedao/connect/route-tree`, core's or a project's. */\n routeTree: AnyRoute;\n /** Code routes added to the file routes; see `addConnectRoutes`. A function\n * receives the tree's core routes to attach to. */\n routes?:\n | readonly AnyRoute[]\n | ((routes: ConnectRoutes) => readonly AnyRoute[]);\n /** Reports a route's loader or render error; logged by default. */\n onCatch?: (error: unknown, info?: ErrorInfo) => void;\n /** Ends every document title; \"Connect\" without one. */\n appName?: string;\n /** Renders the loading shell: layouts show their pendingComponent, not their page. */\n shell?: boolean;\n};\n\nfunction reportRouteError(error: unknown, info?: ErrorInfo) {\n console.error(error, info?.componentStack ?? \"\");\n}\n\n/** The router over `TRouteTree`; a project's generated tree registers its own. */\nexport type ConnectRouterFor<TRouteTree extends AnyRoute> = Router<\n TRouteTree,\n \"never\",\n false,\n RouterHistory,\n Record<string, any>\n>;\n// Written out, not inferred; see ConnectRootRoute.\nexport type ConnectRouter = ConnectRouterFor<ConnectRootRoute>;\nexport type ConnectRouterBundle = Pick<\n ConnectRoutes,\n \"homeRoute\" | \"driveRoute\" | \"nodeRoute\" | \"settingsRoute\"\n> & { router: ConnectRouter };\n\nexport function createConnectRouter(\n options: ConnectRouterOptions,\n): ConnectRouterBundle {\n const { routeTree, homeRoute, driveRoute, nodeRoute, settingsRoute } =\n connectRoutes(options.routeTree);\n if (options.pluginUi) applyConnectPluginUi(routeTree, options.pluginUi);\n if (options.routes) {\n addConnectRoutes(\n typeof options.routes === \"function\"\n ? options.routes(connectRoutes(routeTree))\n : options.routes,\n );\n }\n setSettingsRoute(settingsRoute);\n const router = createRouter({\n routeTree,\n basepath: options.basepath,\n history: options.history,\n context: {\n store: options.store,\n arrivals: options.arrivals,\n appName: options.appName,\n shell: options.shell,\n },\n parseSearch: parseConnectSearch,\n stringifySearch: stringifyConnectSearch,\n scrollRestoration: connectScrollRestoration(),\n scrollToTopSelectors: [`#${CONTENT_VIEW_ID}`],\n InnerWrap: options.InnerWrap,\n defaultPendingComponent: options.pendingComponent,\n defaultErrorComponent:\n options.errorComponent ?? options.pluginUi?.errorComponent ?? CoreError,\n // Not per route: a route's notFoundComponent mounts a boundary that\n // re-renders on every navigation.\n defaultNotFoundComponent: options.notFoundComponent ?? CoreNotFound,\n defaultOnCatch: options.onCatch ?? reportRouteError,\n });\n return { router, homeRoute, driveRoute, nodeRoute, settingsRoute };\n}\n\nfunction writeSelection(store: PHStore, data: DriveRouteData | undefined) {\n // Drive first: a new drive resets the node.\n store.selectedDriveId = data?.driveId;\n store.selectedNodeId = data?.nodeId;\n}\n\n/** Makes `router` the store's navigation and writes the selection it commits. */\nexport function bindConnectRouter(\n connectRouter: ConnectRouterBundle,\n store: PHStore,\n) {\n const { router, nodeRoute } = connectRouter;\n\n // Only committed matches select; pending ones keep the open view.\n const commitSelection = () => {\n const matches = router.state.matches;\n const drive = matches.find((match) => match.routeId === nodeRoute.id);\n if (drive) {\n if (drive.status === \"success\" && drive.loaderData) {\n writeSelection(store, drive.loaderData);\n } else if (matches.some((match) => match.status === \"notFound\")) {\n // The drive's 404 page shows no drive.\n writeSelection(store, undefined);\n }\n return;\n }\n // Any other page (home, settings, a project's, a 404) shows no drive.\n const shown = matches.at(-1)?.status;\n if (shown === \"success\" || shown === \"notFound\") {\n writeSelection(store, undefined);\n }\n };\n\n // A routed modal is the URL's: the store holds what the location names,\n // unless a confirmation is open over it.\n const syncModal = () => {\n const routed = modalFromSearch(router.state.location.search);\n if (store.modal && !isRoutedModal(store.modal)) return;\n if (routed) {\n if (JSON.stringify(store.modal) !== JSON.stringify(routed)) {\n store.modal = routed;\n }\n } else if (isRoutedModal(store.modal)) {\n store.modal = undefined;\n }\n };\n\n // Set once, before the first render; selection setters navigate from the start.\n const navigation = createConnectNavigation(connectRouter);\n store.navigation = navigation;\n\n // The node route's head reads names from the store; a rename re-runs it.\n const shownTitle = () => {\n const node = router.state.matches.find((m) => m.routeId === nodeRoute.id);\n return driveTitle(store, node?.loaderData, router.options.context.appName);\n };\n let title = shownTitle();\n const retitle = () => {\n const next = shownTitle();\n if (next === title) return;\n title = next;\n void router.invalidate({ filter: (m) => m.routeId === nodeRoute.id });\n };\n\n // Before mount, so the view and scroll restoration see the new selection.\n const unsubscribes = [\n router.subscribe(\"onBeforeRouteMount\", commitSelection),\n router.subscribe(\"onResolved\", commitSelection),\n router.subscribe(\"onResolved\", () => {\n title = shownTitle();\n }),\n router.subscribe(\"onResolved\", syncModal),\n getPHStoreSubscribe(store, \"drives\")(retitle),\n markRouterNavigations(router),\n ];\n const unbindScroll = bindConnectScroll(router, CONTENT_VIEW_ID);\n commitSelection();\n syncModal();\n\n return () => {\n navigation.dispose();\n unbindScroll();\n for (const unsubscribe of unsubscribes) unsubscribe();\n if (store.navigation === navigation) store.navigation = undefined;\n };\n}\n","import type { PHStore } from \"@powerhousedao/reactor-browser\";\nimport { createDriveArrivals } from \"@powerhousedao/reactor-browser\";\nimport { getConnectPluginUi } from \"../plugins/plugin-ui.js\";\nimport { getConnectRegistry } from \"../registry.js\";\nimport type {\n ConnectRouterBundle,\n ConnectRouterOptions,\n} from \"./connect-router.js\";\nimport { bindConnectRouter, createConnectRouter } from \"./connect-router.js\";\nimport { resolveConnectRoutes } from \"./route-tree.js\";\n\nexport type ConnectAppRouterOptions = Omit<\n ConnectRouterOptions,\n \"store\" | \"arrivals\"\n>;\n\n/** The app's one router over `store`; created, and made the store's navigation,\n * on first use. Registered routes join `options.routes`. */\nexport function getConnectAppRouter(\n store: PHStore,\n options: () => ConnectAppRouterOptions,\n): ConnectRouterBundle {\n const registry = getConnectRegistry();\n const current = registry.app;\n if (current) {\n if (import.meta.env.DEV && current.store !== store) {\n throw new Error(\"Connect's router is already bound to another PH store\");\n }\n return current.bundle;\n }\n const { routes, ...rest } = options();\n const bundle = createConnectRouter({\n store,\n arrivals: createDriveArrivals(store),\n pluginUi: getConnectPluginUi(),\n ...rest,\n routes: (tree) => [\n ...(routes ? resolveConnectRoutes(routes, tree.routeTree) : []),\n ...registry.routes.flatMap((entry) => {\n entry.added = [\n ...resolveConnectRoutes(entry.registration, tree.routeTree),\n ];\n return entry.added;\n }),\n ],\n });\n registry.app = { store, bundle, unbind: bindConnectRouter(bundle, store) };\n return bundle;\n}\n\n/** Stops the app's router writing the selection, e.g. on HMR. */\nexport function disposeConnectAppRouter() {\n const registry = getConnectRegistry();\n registry.app?.unbind();\n registry.app = undefined;\n}\n","import type { PHStore } from \"@powerhousedao/reactor-browser\";\nimport { PHStoreProvider } from \"@powerhousedao/reactor-browser\";\nimport type { AnyRoute } from \"@tanstack/react-router\";\nimport { RouterProvider } from \"@tanstack/react-router\";\nimport type { ConnectAppRouterOptions } from \"./app-router.js\";\nimport { getConnectAppRouter } from \"./app-router.js\";\n\n/** A core-only app: `routeTree`'s views over `store`. */\nexport function ConnectCoreApp(props: {\n store: PHStore;\n routeTree: AnyRoute;\n basepath?: string;\n options?: () => Omit<ConnectAppRouterOptions, \"routeTree\">;\n}) {\n const { router } = getConnectAppRouter(props.store, () => ({\n basepath: props.basepath,\n ...props.options?.(),\n routeTree: props.routeTree,\n }));\n return (\n <PHStoreProvider store={props.store}>\n <RouterProvider router={router} />\n </PHStoreProvider>\n );\n}\n"],"mappings":";;;;;;;;;;AAGA,MAAa,mBAAmB;;AAGhC,MAAa,kBAAkB;;CAE7B,OAAO;;CAEP,QAAQ;;CAER,QAAQ;;CAER,OAAO;AACT;AAGA,MAAM,SAAS,EACb,UAAU;CAAE,UAAU;CAAe,OAAO;CAAU,YAAY;AAAU,EAC9E;AAEA,IAAI,UAAU;AACd,IAAI;;AAGJ,SAAgB,kBAAkB,MAAe,YAAY,IAAI,KAAK;CACpE,IAAI,KAAK,OAAO;CAChB,IAAI;EACF,OACE,IAAI,gBAAgB,SAAS,MAAM,CAAC,CAAC,IAAI,MAAM,MAAM,OACrD,aAAa,QAAA,SAAwB,MAAM;CAE/C,QAAQ;EACN,OAAO;CACT;AACF;;AAGA,SAAgB,sBAAsB;CACpC,IAAI,CAAC,SAAS;CACd,YAAY,YAAY,IAAI;CAC5B,YAAY,KAAK,aAAa,EAAE,QAAQ,OAAO,CAAC;AAClD;AAEA,SAAS,QAAQ,MAAc,OAA2B,KAAa;CACrE,IAAI,UAAU,KAAA,GAAW;CACzB,YAAY,QAAQ,MAAM;EAAE;EAAO;EAAK,QAAQ;CAAO,CAAC;AAC1D;;AAGA,SAAgB,sBACd,QACA,UAAU,kBAAkB,GAC5B;CACA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jC;EACA,UAAU,oBAAoB,KAAK;EACnC,UAAU,mBAAmB;EAC7B,GAAG;EACH,SAAS,SAAS,CAChB,GAAI,SAAS,qBAAqB,QAAQ,KAAK,SAAS,IAAI,CAAC,GAC7D,GAAG,SAAS,OAAO,SAAS,UAAU;GACpC,MAAM,QAAQ,CACZ,GAAG,qBAAqB,MAAM,cAAc,KAAK,SAAS,CAC5D;GACA,OAAO,MAAM;EACf,CAAC,CACH;CACF,CAAC;CACD,SAAS,MAAM;EAAE;EAAO;EAAQ,QAAQ,kBAAkB,QAAQ,KAAK;CAAE;CACzE,OAAO;AACT;;AAGA,SAAgB,0BAA0B;CACxC,MAAM,WAAW,mBAAmB;CACpC,SAAS,KAAK,OAAO;CACrB,SAAS,MAAM,KAAA;AACjB;;;;AC/CA,SAAgB,eAAe,OAK5B;CACD,MAAM,EAAE,WAAW,oBAAoB,MAAM,cAAc;EACzD,UAAU,MAAM;EAChB,GAAG,MAAM,UAAU;EACnB,WAAW,MAAM;CACnB,EAAE;CACF,OACE,oBAAC,iBAAD;EAAiB,OAAO,MAAM;EAC5B,UAAA,oBAAC,gBAAD,EAAwB,OAAS,CAAA;CAClB,CAAA;AAErB"}
1
+ {"version":3,"file":"router-uK9fOfed.js","names":[],"sources":["../src/router/perf-marks.ts","../src/router/scroll.ts","../src/router/search.ts","../src/router/navigation.ts","../src/router/connect-router.ts","../src/router/app-router.ts","../src/router/core-app.tsx"],"sourcesContent":["import type { AnyRouter } from \"@tanstack/react-router\";\n\n/** `localStorage[PERF_STORAGE_KEY] = \"1\"` or `?perf=1` turns the marks on in production. */\nexport const PERF_STORAGE_KEY = \"ph:perf\";\n\n/** The measures each navigation writes, as the bench reads them. */\nexport const ROUTER_MEASURES = {\n /** `navigation.open` to the router starting the navigation. */\n click: \"nav click\",\n /** Route loaders, until the router commits the matches. */\n loader: \"nav loader\",\n /** The commit until React has rendered it. */\n commit: \"nav commit\",\n /** The click (or the navigation's start) to the next frame after render. */\n total: \"nav total\",\n} as const;\n\n// Chrome's Performance panel shows these as \"Connect › Router\".\nconst DETAIL = {\n devtools: { dataType: \"track-entry\", track: \"Router\", trackGroup: \"Connect\" },\n} as const;\n\nlet marking = 0;\nlet clickedAt: number | undefined;\n\n/** On in dev builds; elsewhere only with the runtime flag. */\nexport function routerPerfEnabled(dev: boolean = import.meta.env.DEV) {\n if (dev) return true;\n try {\n return (\n new URLSearchParams(location.search).get(\"perf\") === \"1\" ||\n localStorage.getItem(PERF_STORAGE_KEY) === \"1\"\n );\n } catch {\n return false;\n }\n}\n\n/** Marks a navigation's click; a no-op unless a router is being marked. */\nexport function markNavigationClick() {\n if (!marking) return;\n clickedAt = performance.now();\n performance.mark(\"nav:click\", { detail: DETAIL });\n}\n\nfunction measure(name: string, start: number | undefined, end: number) {\n if (start === undefined) return;\n performance.measure(name, { start, end, detail: DETAIL });\n}\n\n/** Writes each navigation's phases as performance measures; returns the unsubscribe. */\nexport function markRouterNavigations(\n router: Pick<AnyRouter, \"subscribe\">,\n enabled = routerPerfEnabled(),\n) {\n if (!enabled) return () => {};\n marking++;\n let generation = 0;\n let clicked: number | undefined;\n let navigated: number | undefined;\n let loading: number | undefined;\n let loaded: number | undefined;\n const unsubscribes = [\n router.subscribe(\"onBeforeNavigate\", () => {\n generation++;\n navigated = performance.now();\n clicked = clickedAt;\n clickedAt = undefined;\n measure(ROUTER_MEASURES.click, clicked, navigated);\n loading = loaded = undefined;\n }),\n router.subscribe(\"onBeforeLoad\", () => {\n loading = performance.now();\n }),\n router.subscribe(\"onLoad\", () => {\n loaded = performance.now();\n measure(ROUTER_MEASURES.loader, loading, loaded);\n }),\n router.subscribe(\"onRendered\", () => {\n measure(ROUTER_MEASURES.commit, loaded, performance.now());\n const current = generation;\n const start = clicked ?? navigated;\n // The frame after render, as close to paint as a script sees.\n requestAnimationFrame(() =>\n setTimeout(() => {\n if (current === generation) {\n measure(ROUTER_MEASURES.total, start, performance.now());\n }\n }),\n );\n }),\n ];\n return () => {\n marking--;\n for (const unsubscribe of unsubscribes) unsubscribe();\n };\n}\n","import type {\n AnyRouter,\n ParsedLocation,\n RouterHistory,\n} from \"@tanstack/react-router\";\n\ntype ScrollRouter = Pick<AnyRouter, \"subscribe\" | \"_scroll\" | \"options\"> & {\n history: RouterHistory;\n};\n\nconst TRAVERSALS = new Set([\"BACK\", \"FORWARD\", \"GO\"]);\nconst traversals = new WeakMap<object, { traversal: boolean }>();\n\n/** The router's `scrollRestoration`: on for back/forward only; other\n * navigations reset the content view in `bindConnectScroll`. */\nexport function connectScrollRestoration() {\n // The first load restores a reloaded page's scroll.\n const state = { traversal: true };\n const restore = ({ location }: { location: ParsedLocation }) =>\n state.traversal || !!location.hash;\n traversals.set(restore, state);\n return restore;\n}\n\n/** Tracks history actions, and resets a scrolled content view on new views. */\nexport function bindConnectScroll(router: ScrollRouter, contentViewId: string) {\n const state = traversals.get(router.options.scrollRestoration as object);\n if (!state) return () => {};\n const unsubscribeHistory = router.history.subscribe(({ action }) => {\n state.traversal = TRAVERSALS.has(action.type);\n });\n if (typeof document === \"undefined\") return unsubscribeHistory;\n\n // Read in the scroll event, where layout is clean, not at navigation.\n let scrolledView: Element | undefined;\n let windowScrolled = false;\n const onScroll = (event: Event) => {\n const target = event.target;\n if (target === document) {\n windowScrolled = window.scrollY > 0 || window.scrollX > 0;\n } else if (target instanceof Element && target.id === contentViewId) {\n scrolledView = target.scrollTop > 0 ? target : undefined;\n }\n };\n document.addEventListener(\"scroll\", onScroll, {\n capture: true,\n passive: true,\n });\n\n let resetScroll = true;\n const unsubscribes = [\n unsubscribeHistory,\n // The navigation's `resetScroll`, before the router clears it on render.\n router.subscribe(\"onBeforeRouteMount\", () => {\n resetScroll = router._scroll.n;\n }),\n router.subscribe(\"onRendered\", ({ toLocation }) => {\n if (state.traversal || toLocation.hash || !resetScroll) return;\n if (scrolledView?.isConnected) scrolledView.scrollTo(0, 0);\n if (windowScrolled) window.scrollTo(0, 0);\n scrolledView = undefined;\n windowScrolled = false;\n }),\n ];\n return () => {\n document.removeEventListener(\"scroll\", onScroll, { capture: true });\n for (const unsubscribe of unsubscribes) unsubscribe();\n };\n}\n","import {\n FEATURE_FLAG_PARAM_PREFIX,\n GLOBAL_SEARCH_PARAMS,\n parseRevisionHistoryPage,\n REVISION_HISTORY_PAGE_PARAM,\n REVISION_HISTORY_PARAM,\n searchParamsToString,\n} from \"@powerhousedao/reactor-browser\";\nimport type { SearchMiddleware } from \"@tanstack/react-router\";\nimport { retainSearchParams } from \"@tanstack/react-router\";\n\n// Shared with reactor-browser's fallback navigation.\nexport { FEATURE_FLAG_PARAM_PREFIX, GLOBAL_SEARCH_PARAMS };\n\n/** Connect's query params: plain strings, as in the URL. */\nexport type ConnectSearch = Record<string, string | undefined>;\n\nconst retainFeatureFlags: SearchMiddleware<ConnectSearch> = ({\n search,\n next,\n}) => {\n const result = { ...next(search) };\n for (const [key, value] of Object.entries(search)) {\n if (key.startsWith(FEATURE_FLAG_PARAM_PREFIX) && !(key in result)) {\n result[key] = value;\n }\n }\n return result;\n};\n\n/** The root route's middlewares; they apply to every navigation and redirect. */\nexport const connectSearchMiddlewares: SearchMiddleware<ConnectSearch>[] = [\n retainSearchParams<ConnectSearch>([...GLOBAL_SEARCH_PARAMS]),\n retainFeatureFlags,\n];\n\n/** Lets every param through; routes add none of their own. */\nexport function validateConnectSearch(\n search: Record<string, unknown>,\n): ConnectSearch {\n return search as ConnectSearch;\n}\n\n/** Parses a query string into plain string values, unlike the JSON default. */\nexport function parseConnectSearch(searchStr: string): ConnectSearch {\n return Object.fromEntries(new URLSearchParams(searchStr));\n}\n\n/** Writes plain `key=value` pairs, so other readers of the URL see strings. */\nexport function stringifyConnectSearch(search: Record<string, unknown>) {\n const params = new URLSearchParams();\n for (const [key, value] of Object.entries(search)) {\n if (value === undefined || value === null) continue;\n params.set(key, typeof value === \"string\" ? value : JSON.stringify(value));\n }\n const searchStr = searchParamsToString(params);\n return searchStr ? `?${searchStr}` : \"\";\n}\n\n/** The drive route's params: `?history` opens the document's revision history,\n * and `historyPage` (a positive integer; 1 is dropped) pages it. */\nexport function validateDriveSearch(\n search: Record<string, unknown>,\n): ConnectSearch {\n const result = { ...search } as ConnectSearch;\n if (result[REVISION_HISTORY_PARAM] === undefined) return result;\n result[REVISION_HISTORY_PARAM] = \"\";\n const page = parseRevisionHistoryPage(result[REVISION_HISTORY_PAGE_PARAM]);\n if (page > 1) result[REVISION_HISTORY_PAGE_PARAM] = String(page);\n // Undefined, not deleted: a route's search is merged over its parent's.\n else result[REVISION_HISTORY_PAGE_PARAM] = undefined;\n return result;\n}\n\n/** The defined values of `search`, for callers that take plain records. */\nexport function definedSearch(search: object): Record<string, string> {\n const record: Record<string, string> = {};\n for (const [key, value] of Object.entries(search)) {\n if (typeof value === \"string\") record[key] = value;\n else if (value !== undefined && value !== null) {\n record[key] = JSON.stringify(value);\n }\n }\n return record;\n}\n","import type {\n PHDriveTarget,\n PHNavigation,\n PHNavigationTarget,\n PHSettingsTarget,\n SetSearchParams,\n} from \"@powerhousedao/reactor-browser\";\nimport {\n applySearchUpdate,\n findDriveBySlugOrId,\n isSettingsTarget,\n makeDriveSlug,\n OPENED_FROM_STATE_KEY,\n openedFromIndex,\n resolveSearchUpdate,\n} from \"@powerhousedao/reactor-browser\";\nimport type {\n AnyRouter,\n HistoryState,\n MakeRouteMatchUnion,\n} from \"@tanstack/react-router\";\nimport { useRouterState } from \"@tanstack/react-router\";\nimport { useMemo } from \"react\";\nimport type { ConnectRouterBundle } from \"./connect-router.js\";\nimport { markNavigationClick } from \"./perf-marks.js\";\nimport { definedSearch } from \"./search.js\";\nimport { keepOpenedFrom, settingsTabs } from \"./settings.js\";\n\n// Hover intent: a pointer passing over cards doesn't preload each of them.\nconst PRELOAD_DELAY_MS = 50;\n\n/** The PH navigation backed by `router`; its hooks take the router directly,\n * so they work outside the RouterProvider. */\nexport function createConnectNavigation(\n connectRouter: ConnectRouterBundle,\n): PHNavigation & { dispose(): void } {\n const { router, homeRoute, nodeRoute, settingsRoute } = connectRouter;\n // Settings tabs can come from a project's routes, unknown to Connect's types.\n const anyRouter = router as unknown as AnyRouter;\n\n // A listed drive is addressed by its canonical slug, whatever form came in.\n const driveParams = (target: PHDriveTarget) => {\n const drive = findDriveBySlugOrId(\n router.options.context.store,\n target.driveSlug,\n );\n return {\n driveSlug: drive ? makeDriveSlug(drive) : target.driveSlug,\n nodeSlug: target.nodeSlug || undefined,\n };\n };\n\n // `true` is the first tab, so the URL names a tab without a redirect.\n const settingsPath = ({ settings }: PHSettingsTarget) => {\n const tab =\n settings === true ? settingsTabs(anyRouter).at(0)?.id : settings;\n return tab ? `${settingsRoute.fullPath}/${tab}` : settingsRoute.fullPath;\n };\n\n // In-document writes keep the entry's state, so its opened-from index too.\n const setSearch: PHNavigation[\"setSearch\"] = (update, options) => {\n void router.navigate({\n to: \".\",\n search: (prev) => applySearchUpdate({}, update(definedSearch(prev))),\n state: true,\n replace: options?.replace,\n resetScroll: false,\n });\n };\n\n const showsSettings = () =>\n router.state.matches.some((match) => match.routeId === settingsRoute.id);\n\n // A push remembers the entry it leaves; a replace keeps what that one had,\n // as does a move between settings tabs.\n const openedFromState = (\n replace: boolean | undefined,\n target: PHNavigationTarget | undefined,\n ) => {\n const { state } = router.history.location;\n const next =\n replace || (isSettingsTarget(target) && showsSettings())\n ? keepOpenedFrom(state)\n : ({\n [OPENED_FROM_STATE_KEY]: state.__TSR_index,\n } as unknown as HistoryState);\n return () => next;\n };\n\n const targetKey = (target: PHNavigationTarget | undefined) => {\n if (!target) return homeRoute.id;\n if (isSettingsTarget(target)) return settingsPath(target);\n const { driveSlug, nodeSlug } = driveParams(target);\n return JSON.stringify([driveSlug, nodeSlug ?? \"\"]);\n };\n let keyedMatches: readonly MakeRouteMatchUnion[] | undefined;\n let matchesKey: string | undefined;\n const currentKey = (matches: readonly MakeRouteMatchUnion[]) => {\n if (matches === keyedMatches) return matchesKey;\n keyedMatches = matches;\n const drive = matches.find((match) => match.routeId === nodeRoute.id);\n const settings = matches.some(\n (match) => match.routeId === settingsRoute.id,\n );\n if (drive) {\n matchesKey = targetKey(drive.params as PHDriveTarget);\n } else if (settings) {\n // A tab's key is its path, as settingsPath builds it.\n matchesKey = matches.at(-1)?.fullPath.replace(/\\/$/, \"\");\n } else {\n matchesKey = matches.find(\n (match) => match.routeId === homeRoute.id,\n )?.routeId;\n }\n return matchesKey;\n };\n\n // Hrefs depend only on the target and the global params of the current search.\n const hrefs = new Map<string, string>();\n let hrefsSearch: string | undefined;\n\n const setSearchParams: SetSearchParams = (update, options) =>\n setSearch((prev) => resolveSearchUpdate(prev, update), options);\n\n let preloadTimer: ReturnType<typeof setTimeout> | undefined;\n return {\n location: () => router.history.location,\n // The root route's middlewares add the global params to `search`.\n open: (target, options) => {\n markNavigationClick();\n const search = applySearchUpdate({}, options?.search ?? {});\n const replace = options?.replace;\n const state = openedFromState(replace, target);\n if (!target) {\n void router.navigate({\n to: homeRoute.fullPath,\n search,\n replace,\n state,\n });\n return;\n }\n if (isSettingsTarget(target)) {\n void anyRouter.navigate({\n to: settingsPath(target),\n search,\n replace,\n state,\n });\n return;\n }\n void router.navigate({\n to: nodeRoute.fullPath,\n params: driveParams(target),\n search,\n replace,\n state,\n });\n },\n // The public href, base path included; global params as `open` keeps them.\n hrefFor: (target) => {\n const { searchStr } = router.latestLocation;\n if (searchStr !== hrefsSearch) {\n hrefs.clear();\n hrefsSearch = searchStr;\n }\n const key = targetKey(target);\n let href = hrefs.get(key);\n if (href === undefined) {\n const location = !target\n ? router.buildLocation({ to: homeRoute.fullPath, search: {} })\n : isSettingsTarget(target)\n ? anyRouter.buildLocation({ to: settingsPath(target), search: {} })\n : router.buildLocation({\n to: nodeRoute.fullPath,\n params: driveParams(target),\n search: {},\n });\n href = location.publicHref;\n hrefs.set(key, href);\n }\n return href;\n },\n // One key per shown matches, so each link's selector is a string compare.\n useIsCurrent: (target) => {\n // The settings page itself is current on any of its tabs.\n const anyTab = isSettingsTarget(target) && target.settings === true;\n const key = anyTab ? `${settingsRoute.fullPath}/` : targetKey(target);\n return useRouterState({\n router,\n select: (state) => {\n const current = currentKey(state.matches);\n return anyTab ? !!current?.startsWith(key) : current === key;\n },\n });\n },\n preload: (target) => {\n clearTimeout(preloadTimer);\n if (!target) return;\n preloadTimer = setTimeout(() => {\n const preloading = isSettingsTarget(target)\n ? anyRouter.preloadRoute({ to: settingsPath(target) })\n : router.preloadRoute({\n to: nodeRoute.fullPath,\n params: driveParams(target),\n });\n preloading.catch(() => undefined);\n }, PRELOAD_DELAY_MS);\n },\n setSearch,\n // The presented matches' params, else the location's.\n useSearchParams() {\n const search = useRouterState({\n router,\n select: (state) =>\n state.matches.at(-1)?.search ?? state.location.search,\n });\n return useMemo(() => definedSearch(search), [search]);\n },\n useSetSearchParams: () => setSearchParams,\n closeOpened: () => {\n const { state } = router.history.location;\n const from = openedFromIndex(state, state.__TSR_index);\n if (from === undefined) return false;\n router.history.go(from - state.__TSR_index);\n return true;\n },\n dispose: () => clearTimeout(preloadTimer),\n };\n}\n","import type { DriveArrivals, PHStore } from \"@powerhousedao/reactor-browser\";\nimport {\n getPHStoreSubscribe,\n isRoutedModal,\n modalFromSearch,\n} from \"@powerhousedao/reactor-browser\";\nimport type {\n AnyRoute,\n ErrorRouteComponent,\n NotFoundRouteComponent,\n RouteComponent,\n Router,\n RouterHistory,\n} from \"@tanstack/react-router\";\nimport { createRouter } from \"@tanstack/react-router\";\nimport type { ErrorInfo, PropsWithChildren, ReactElement } from \"react\";\nimport type { ConnectPluginUiSet } from \"../plugins/plugin-ui.js\";\nimport { applyConnectPluginUi } from \"../plugins/plugin-ui.js\";\nimport { markRouterNavigations } from \"./perf-marks.js\";\nimport { bindConnectScroll, connectScrollRestoration } from \"./scroll.js\";\nimport type { DriveRouteData } from \"./drive-route-loader.js\";\nimport type { ConnectRootRoute, ConnectRoutes } from \"./route-tree.js\";\nimport { createConnectNavigation } from \"./navigation.js\";\nimport { CoreError, CoreNotFound } from \"./core-views.js\";\nimport { CONTENT_VIEW_ID } from \"./route-components.js\";\nimport { addConnectRoutes, connectRoutes } from \"./route-tree.js\";\nimport { setSettingsRoute } from \"./settings.js\";\nimport { parseConnectSearch, stringifyConnectSearch } from \"./search.js\";\nimport { driveTitle } from \"./titles.js\";\n\nexport type ConnectRouterOptions = {\n store: PHStore;\n arrivals?: DriveArrivals;\n basepath?: string;\n history?: RouterHistory;\n InnerWrap?: (props: PropsWithChildren) => ReactElement;\n /** Shown while a route's loader or chunks are pending, after the router's `pendingMs`. */\n pendingComponent?: RouteComponent;\n /** Any route's loader or render error; the plugins', else core's error view. */\n errorComponent?: ErrorRouteComponent;\n /** The active plugins' UI, set on the routes that show core's views. */\n pluginUi?: ConnectPluginUiSet;\n /** Loaders' notFound(), e.g. a missing drive's; core's page by default. */\n notFoundComponent?: NotFoundRouteComponent;\n /** The tree to route with: `@powerhousedao/connect/route-tree`, core's or a project's. */\n routeTree: AnyRoute;\n /** Code routes added to the file routes; see `addConnectRoutes`. A function\n * receives the tree's core routes to attach to. */\n routes?:\n | readonly AnyRoute[]\n | ((routes: ConnectRoutes) => readonly AnyRoute[]);\n /** Reports a route's loader or render error; logged by default. */\n onCatch?: (error: unknown, info?: ErrorInfo) => void;\n /** Ends every document title; \"Connect\" without one. */\n appName?: string;\n /** Renders the loading shell: layouts show their pendingComponent, not their page. */\n shell?: boolean;\n};\n\nfunction reportRouteError(error: unknown, info?: ErrorInfo) {\n console.error(error, info?.componentStack ?? \"\");\n}\n\n/** The router over `TRouteTree`; a project's generated tree registers its own. */\nexport type ConnectRouterFor<TRouteTree extends AnyRoute> = Router<\n TRouteTree,\n \"never\",\n false,\n RouterHistory,\n Record<string, any>\n>;\n// Written out, not inferred; see ConnectRootRoute.\nexport type ConnectRouter = ConnectRouterFor<ConnectRootRoute>;\nexport type ConnectRouterBundle = Pick<\n ConnectRoutes,\n \"homeRoute\" | \"driveRoute\" | \"nodeRoute\" | \"settingsRoute\"\n> & { router: ConnectRouter };\n\nexport function createConnectRouter(\n options: ConnectRouterOptions,\n): ConnectRouterBundle {\n const { routeTree, homeRoute, driveRoute, nodeRoute, settingsRoute } =\n connectRoutes(options.routeTree);\n if (options.pluginUi) applyConnectPluginUi(routeTree, options.pluginUi);\n if (options.routes) {\n addConnectRoutes(\n typeof options.routes === \"function\"\n ? options.routes(connectRoutes(routeTree))\n : options.routes,\n );\n }\n setSettingsRoute(settingsRoute);\n const router = createRouter({\n routeTree,\n basepath: options.basepath,\n history: options.history,\n context: {\n store: options.store,\n arrivals: options.arrivals,\n appName: options.appName,\n shell: options.shell,\n },\n parseSearch: parseConnectSearch,\n stringifySearch: stringifyConnectSearch,\n scrollRestoration: connectScrollRestoration(),\n scrollToTopSelectors: [`#${CONTENT_VIEW_ID}`],\n InnerWrap: options.InnerWrap,\n defaultPendingComponent: options.pendingComponent,\n defaultErrorComponent:\n options.errorComponent ?? options.pluginUi?.errorComponent ?? CoreError,\n // Not per route: a route's notFoundComponent mounts a boundary that\n // re-renders on every navigation.\n defaultNotFoundComponent: options.notFoundComponent ?? CoreNotFound,\n defaultOnCatch: options.onCatch ?? reportRouteError,\n });\n return { router, homeRoute, driveRoute, nodeRoute, settingsRoute };\n}\n\nfunction writeSelection(store: PHStore, data: DriveRouteData | undefined) {\n // Drive first: a new drive resets the node.\n store.selectedDriveId = data?.driveId;\n store.selectedNodeId = data?.nodeId;\n}\n\n/** Makes `router` the store's navigation and writes the selection it commits. */\nexport function bindConnectRouter(\n connectRouter: ConnectRouterBundle,\n store: PHStore,\n) {\n const { router, nodeRoute } = connectRouter;\n\n // Only committed matches select; pending ones keep the open view.\n const commitSelection = () => {\n const matches = router.state.matches;\n const drive = matches.find((match) => match.routeId === nodeRoute.id);\n if (drive) {\n if (drive.status === \"success\" && drive.loaderData) {\n writeSelection(store, drive.loaderData);\n } else if (matches.some((match) => match.status === \"notFound\")) {\n // The drive's 404 page shows no drive.\n writeSelection(store, undefined);\n }\n return;\n }\n // Any other page (home, settings, a project's, a 404) shows no drive.\n const shown = matches.at(-1)?.status;\n if (shown === \"success\" || shown === \"notFound\") {\n writeSelection(store, undefined);\n }\n };\n\n // A routed modal is the URL's: the store holds what the location names,\n // unless a confirmation is open over it.\n const syncModal = () => {\n const routed = modalFromSearch(router.state.location.search);\n if (store.modal && !isRoutedModal(store.modal)) return;\n if (routed) {\n if (JSON.stringify(store.modal) !== JSON.stringify(routed)) {\n store.modal = routed;\n }\n } else if (isRoutedModal(store.modal)) {\n store.modal = undefined;\n }\n };\n\n // Set once, before the first render; selection setters navigate from the start.\n const navigation = createConnectNavigation(connectRouter);\n store.navigation = navigation;\n\n // The node route's head reads names from the store; a rename re-runs it.\n const shownTitle = () => {\n const node = router.state.matches.find((m) => m.routeId === nodeRoute.id);\n return driveTitle(store, node?.loaderData, router.options.context.appName);\n };\n let title = shownTitle();\n const retitle = () => {\n const next = shownTitle();\n if (next === title) return;\n title = next;\n void router.invalidate({ filter: (m) => m.routeId === nodeRoute.id });\n };\n\n // Before mount, so the view and scroll restoration see the new selection.\n const unsubscribes = [\n router.subscribe(\"onBeforeRouteMount\", commitSelection),\n router.subscribe(\"onResolved\", commitSelection),\n router.subscribe(\"onResolved\", () => {\n title = shownTitle();\n }),\n router.subscribe(\"onResolved\", syncModal),\n getPHStoreSubscribe(store, \"drives\")(retitle),\n markRouterNavigations(router),\n ];\n const unbindScroll = bindConnectScroll(router, CONTENT_VIEW_ID);\n commitSelection();\n syncModal();\n\n return () => {\n navigation.dispose();\n unbindScroll();\n for (const unsubscribe of unsubscribes) unsubscribe();\n if (store.navigation === navigation) store.navigation = undefined;\n };\n}\n","import type { PHStore } from \"@powerhousedao/reactor-browser\";\nimport { createDriveArrivals } from \"@powerhousedao/reactor-browser\";\nimport { getConnectPluginUi } from \"../plugins/plugin-ui.js\";\nimport { getConnectRegistry } from \"../registry.js\";\nimport type {\n ConnectRouterBundle,\n ConnectRouterOptions,\n} from \"./connect-router.js\";\nimport { bindConnectRouter, createConnectRouter } from \"./connect-router.js\";\nimport { resolveConnectRoutes } from \"./route-tree.js\";\n\nexport type ConnectAppRouterOptions = Omit<\n ConnectRouterOptions,\n \"store\" | \"arrivals\"\n>;\n\n/** The app's one router over `store`; created, and made the store's navigation,\n * on first use. Registered routes join `options.routes`. */\nexport function getConnectAppRouter(\n store: PHStore,\n options: () => ConnectAppRouterOptions,\n): ConnectRouterBundle {\n const registry = getConnectRegistry();\n const current = registry.app;\n if (current) {\n if (import.meta.env.DEV && current.store !== store) {\n throw new Error(\"Connect's router is already bound to another PH store\");\n }\n return current.bundle;\n }\n const { routes, ...rest } = options();\n const bundle = createConnectRouter({\n store,\n arrivals: createDriveArrivals(store),\n pluginUi: getConnectPluginUi(),\n ...rest,\n routes: (tree) => [\n ...(routes ? resolveConnectRoutes(routes, tree.routeTree) : []),\n ...registry.routes.flatMap((entry) => {\n entry.added = [\n ...resolveConnectRoutes(entry.registration, tree.routeTree),\n ];\n return entry.added;\n }),\n ],\n });\n registry.app = { store, bundle, unbind: bindConnectRouter(bundle, store) };\n return bundle;\n}\n\n/** Stops the app's router writing the selection, e.g. on HMR. */\nexport function disposeConnectAppRouter() {\n const registry = getConnectRegistry();\n registry.app?.unbind();\n registry.app = undefined;\n}\n","import type { PHStore } from \"@powerhousedao/reactor-browser\";\nimport { PHStoreProvider } from \"@powerhousedao/reactor-browser\";\nimport type { AnyRoute } from \"@tanstack/react-router\";\nimport { RouterProvider } from \"@tanstack/react-router\";\nimport type { ConnectAppRouterOptions } from \"./app-router.js\";\nimport { getConnectAppRouter } from \"./app-router.js\";\n\n/** A core-only app: `routeTree`'s views over `store`. */\nexport function ConnectCoreApp(props: {\n store: PHStore;\n routeTree: AnyRoute;\n basepath?: string;\n options?: () => Omit<ConnectAppRouterOptions, \"routeTree\">;\n}) {\n const { router } = getConnectAppRouter(props.store, () => ({\n basepath: props.basepath,\n ...props.options?.(),\n routeTree: props.routeTree,\n }));\n return (\n <PHStoreProvider store={props.store}>\n <RouterProvider router={router} />\n </PHStoreProvider>\n );\n}\n"],"mappings":";;;;;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C/CA,SAAgB,eAAe,OAK5B;CACD,MAAM,EAAE,WAAW,oBAAoB,MAAM,cAAc;EACzD,UAAU,MAAM;EAChB,GAAG,MAAM,UAAU;EACnB,WAAW,MAAM;CACnB,EAAE;CACF,OACE,oBAAC,iBAAD;EAAiB,OAAO,MAAM;EAC5B,UAAA,oBAAC,gBAAD,EAAwB,OAAS,CAAA;CAClB,CAAA;AAErB"}
package/dist/router.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { A as useDriveRouteData, C as holdConnectRoutes, D as DRIVE_ROUTE_ID, E as removeConnectRoutes, F as DriveRouteData, I as DriveRouteParams, J as ConnectModals, L as isDriveNotFound, M as ConnectRouterContext, N as DriveLoaderOptions, O as DriveRouteView, P as DriveNotFoundData, R as loadDrive, S as connectRoutesSettled, T as registerPackageRoutes, Y as ModalOutlet, _ as ConnectRoutes, a as bindConnectRouter, b as addConnectRoutes, g as ConnectRootRoute, h as APP_ROUTE_ID, i as ConnectRouterOptions, j as useDriveRouteIds, k as NODE_ROUTE_ID, m as ConnectRouteRegistration, n as ConnectRouterBundle, o as createConnectRouter, q as CORE_MODAL_VIEWS, r as ConnectRouterFor, t as ConnectRouter, v as HOME_ROUTE_ID, w as registerConnectRoutes, x as connectRoutes, y as PackageRoute, z as loadNode } from "./connect-router-11uRIT3z.js";
2
2
  import { a as DrivePending, i as DocumentViewProps, n as ContentOutlet, o as DriveViewProps, r as DRIVE_PENDING_MS, t as CONTENT_VIEW_ID } from "./route-components-1XyfosoL.js";
3
- import { A as validateDriveSearch, B as coreView, C as FEATURE_FLAG_PARAM_PREFIX, D as parseConnectSearch, E as definedSearch, F as useModalFrame, G as markRouterNavigations, H as PERF_STORAGE_KEY, I as ConnectCoreApp, J as ConnectAppRouterOptions, K as routerPerfEnabled, L as CoreError, M as connectScrollRestoration, N as ModalDialog, O as stringifyConnectSearch, P as ModalFrameProps, Q as RouteSelection, R as CoreNotFound, S as ConnectSearch, T as connectSearchMiddlewares, U as ROUTER_MEASURES, V as isCoreView, W as markNavigationClick, X as getConnectAppRouter, Y as disposeConnectAppRouter, Z as useIsColdStart, _ as NavRouteEntry, a as SETTINGS_ROUTE_ID, b as useNavRoutes, c as redirectToSettingsTab, d as settingsTabsOf, f as settingsTitle, g as ConnectNavItem, h as useSettingsTabs, i as ConnectSettingsTab, j as bindConnectScroll, k as validateConnectSearch, l as setSettingsRoute, m as useForgetSettingsOpenedFrom, n as driveTitle, o as SettingsTabEntry, p as showsSettingsTab, q as createConnectNavigation, r as notFoundTitle, s as keepOpenedFrom, t as appTitle, u as settingsTabs, v as SidebarMode, w as GLOBAL_SEARCH_PARAMS, x as useSidebarMode, y as navRoutes, z as coreModals } from "./index-Dg01kuDa.js";
4
- export { APP_ROUTE_ID, CONTENT_VIEW_ID, CORE_MODAL_VIEWS, type ConnectAppRouterOptions, ConnectCoreApp, type ConnectModals, type ConnectNavItem, type ConnectRootRoute, type ConnectRouteRegistration, type ConnectRouter, type ConnectRouterBundle, type ConnectRouterContext, type ConnectRouterFor, type ConnectRouterOptions, type ConnectRoutes, type ConnectSearch, type ConnectSettingsTab, ContentOutlet, CoreError, CoreNotFound, DRIVE_PENDING_MS, DRIVE_ROUTE_ID, type DocumentViewProps, type DriveLoaderOptions, type DriveNotFoundData, DrivePending, type DriveRouteData, type DriveRouteParams, type DriveRouteView, type DriveViewProps, FEATURE_FLAG_PARAM_PREFIX, GLOBAL_SEARCH_PARAMS, HOME_ROUTE_ID, ModalDialog, type ModalFrameProps, ModalOutlet, NODE_ROUTE_ID, type NavRouteEntry, PERF_STORAGE_KEY, type PackageRoute, ROUTER_MEASURES, RouteSelection, SETTINGS_ROUTE_ID, type SettingsTabEntry, type SidebarMode, addConnectRoutes, appTitle, bindConnectRouter, bindConnectScroll, connectRoutes, connectRoutesSettled, connectScrollRestoration, connectSearchMiddlewares, coreModals, coreView, createConnectNavigation, createConnectRouter, definedSearch, disposeConnectAppRouter, driveTitle, getConnectAppRouter, holdConnectRoutes, isCoreView, isDriveNotFound, keepOpenedFrom, loadDrive, loadNode, markNavigationClick, markRouterNavigations, navRoutes, notFoundTitle, parseConnectSearch, redirectToSettingsTab, registerConnectRoutes, registerPackageRoutes, removeConnectRoutes, routerPerfEnabled, setSettingsRoute, settingsTabs, settingsTabsOf, settingsTitle, showsSettingsTab, stringifyConnectSearch, useDriveRouteData, useDriveRouteIds, useForgetSettingsOpenedFrom, useIsColdStart, useModalFrame, useNavRoutes, useSettingsTabs, useSidebarMode, validateConnectSearch, validateDriveSearch };
3
+ import { A as validateDriveSearch, B as coreView, C as FEATURE_FLAG_PARAM_PREFIX, D as parseConnectSearch, E as definedSearch, F as useModalFrame, G as markRouterNavigations, H as PERF_STORAGE_KEY, I as ConnectCoreApp, J as ConnectAppRouterOptions, K as routerPerfEnabled, L as CoreError, M as connectScrollRestoration, N as ModalDialog, O as stringifyConnectSearch, P as ModalFrameProps, R as CoreNotFound, S as ConnectSearch, T as connectSearchMiddlewares, U as ROUTER_MEASURES, V as isCoreView, W as markNavigationClick, X as getConnectAppRouter, Y as disposeConnectAppRouter, Z as useIsColdStart, _ as NavRouteEntry, a as SETTINGS_ROUTE_ID, b as useNavRoutes, c as redirectToSettingsTab, d as settingsTabsOf, f as settingsTitle, g as ConnectNavItem, h as useSettingsTabs, i as ConnectSettingsTab, j as bindConnectScroll, k as validateConnectSearch, l as setSettingsRoute, m as useForgetSettingsOpenedFrom, n as driveTitle, o as SettingsTabEntry, p as showsSettingsTab, q as createConnectNavigation, r as notFoundTitle, s as keepOpenedFrom, t as appTitle, u as settingsTabs, v as SidebarMode, w as GLOBAL_SEARCH_PARAMS, x as useSidebarMode, y as navRoutes, z as coreModals } from "./index-CL4fj0Pl.js";
4
+ export { APP_ROUTE_ID, CONTENT_VIEW_ID, CORE_MODAL_VIEWS, type ConnectAppRouterOptions, ConnectCoreApp, type ConnectModals, type ConnectNavItem, type ConnectRootRoute, type ConnectRouteRegistration, type ConnectRouter, type ConnectRouterBundle, type ConnectRouterContext, type ConnectRouterFor, type ConnectRouterOptions, type ConnectRoutes, type ConnectSearch, type ConnectSettingsTab, ContentOutlet, CoreError, CoreNotFound, DRIVE_PENDING_MS, DRIVE_ROUTE_ID, type DocumentViewProps, type DriveLoaderOptions, type DriveNotFoundData, DrivePending, type DriveRouteData, type DriveRouteParams, type DriveRouteView, type DriveViewProps, FEATURE_FLAG_PARAM_PREFIX, GLOBAL_SEARCH_PARAMS, HOME_ROUTE_ID, ModalDialog, type ModalFrameProps, ModalOutlet, NODE_ROUTE_ID, type NavRouteEntry, PERF_STORAGE_KEY, type PackageRoute, ROUTER_MEASURES, SETTINGS_ROUTE_ID, type SettingsTabEntry, type SidebarMode, addConnectRoutes, appTitle, bindConnectRouter, bindConnectScroll, connectRoutes, connectRoutesSettled, connectScrollRestoration, connectSearchMiddlewares, coreModals, coreView, createConnectNavigation, createConnectRouter, definedSearch, disposeConnectAppRouter, driveTitle, getConnectAppRouter, holdConnectRoutes, isCoreView, isDriveNotFound, keepOpenedFrom, loadDrive, loadNode, markNavigationClick, markRouterNavigations, navRoutes, notFoundTitle, parseConnectSearch, redirectToSettingsTab, registerConnectRoutes, registerPackageRoutes, removeConnectRoutes, routerPerfEnabled, setSettingsRoute, settingsTabs, settingsTabsOf, settingsTitle, showsSettingsTab, stringifyConnectSearch, useDriveRouteData, useDriveRouteIds, useForgetSettingsOpenedFrom, useIsColdStart, useModalFrame, useNavRoutes, useSettingsTabs, useSidebarMode, validateConnectSearch, validateDriveSearch };
5
5
  export {};
package/dist/router.js CHANGED
@@ -1,5 +1,5 @@
1
- import { c as CoreNotFound, d as isCoreView, f as isDriveNotFound, l as coreModals, m as loadNode, p as loadDrive, s as CoreError, u as coreView } from "./plugin-ui-vZnI2dRG.js";
1
+ import { c as CoreNotFound, d as isCoreView, f as isDriveNotFound, l as coreModals, m as loadNode, p as loadDrive, s as CoreError, u as coreView } from "./plugin-ui-Br91idOH.js";
2
2
  import { a as connectRoutesSettled, c as registerPackageRoutes, f as CORE_MODAL_VIEWS, h as useModalFrame, i as connectRoutes, l as removeConnectRoutes, m as ModalDialog, n as HOME_ROUTE_ID, o as holdConnectRoutes, p as ModalOutlet, r as addConnectRoutes, s as registerConnectRoutes, t as APP_ROUTE_ID } from "./route-tree-91OurkPS.js";
3
- import { C as ContentOutlet, E as useIsColdStart, S as CONTENT_VIEW_ID, T as DrivePending, _ as useForgetSettingsOpenedFrom, a as DRIVE_ROUTE_ID, b as driveTitle, c as useDriveRouteIds, d as redirectToSettingsTab, f as setSettingsRoute, g as showsSettingsTab, h as settingsTitle, i as RouteSelection, l as SETTINGS_ROUTE_ID, m as settingsTabsOf, n as useNavRoutes, o as NODE_ROUTE_ID, p as settingsTabs, r as useSidebarMode, s as useDriveRouteData, t as navRoutes, u as keepOpenedFrom, v as useSettingsTabs, w as DRIVE_PENDING_MS, x as notFoundTitle, y as appTitle } from "./sidebar-DZG1K5Jm.js";
4
- import { _ as PERF_STORAGE_KEY, a as createConnectRouter, b as markRouterNavigations, c as GLOBAL_SEARCH_PARAMS, d as parseConnectSearch, f as stringifyConnectSearch, g as connectScrollRestoration, h as bindConnectScroll, i as bindConnectRouter, l as connectSearchMiddlewares, m as validateDriveSearch, n as disposeConnectAppRouter, o as createConnectNavigation, p as validateConnectSearch, r as getConnectAppRouter, s as FEATURE_FLAG_PARAM_PREFIX, t as ConnectCoreApp, u as definedSearch, v as ROUTER_MEASURES, x as routerPerfEnabled, y as markNavigationClick } from "./router-BrL5BjAF.js";
5
- export { APP_ROUTE_ID, CONTENT_VIEW_ID, CORE_MODAL_VIEWS, ConnectCoreApp, ContentOutlet, CoreError, CoreNotFound, DRIVE_PENDING_MS, DRIVE_ROUTE_ID, DrivePending, FEATURE_FLAG_PARAM_PREFIX, GLOBAL_SEARCH_PARAMS, HOME_ROUTE_ID, ModalDialog, ModalOutlet, NODE_ROUTE_ID, PERF_STORAGE_KEY, ROUTER_MEASURES, RouteSelection, SETTINGS_ROUTE_ID, addConnectRoutes, appTitle, bindConnectRouter, bindConnectScroll, connectRoutes, connectRoutesSettled, connectScrollRestoration, connectSearchMiddlewares, coreModals, coreView, createConnectNavigation, createConnectRouter, definedSearch, disposeConnectAppRouter, driveTitle, getConnectAppRouter, holdConnectRoutes, isCoreView, isDriveNotFound, keepOpenedFrom, loadDrive, loadNode, markNavigationClick, markRouterNavigations, navRoutes, notFoundTitle, parseConnectSearch, redirectToSettingsTab, registerConnectRoutes, registerPackageRoutes, removeConnectRoutes, routerPerfEnabled, setSettingsRoute, settingsTabs, settingsTabsOf, settingsTitle, showsSettingsTab, stringifyConnectSearch, useDriveRouteData, useDriveRouteIds, useForgetSettingsOpenedFrom, useIsColdStart, useModalFrame, useNavRoutes, useSettingsTabs, useSidebarMode, validateConnectSearch, validateDriveSearch };
3
+ import { C as DRIVE_PENDING_MS, S as ContentOutlet, T as useIsColdStart, _ as useSettingsTabs, a as NODE_ROUTE_ID, b as notFoundTitle, c as SETTINGS_ROUTE_ID, d as setSettingsRoute, f as settingsTabs, g as useForgetSettingsOpenedFrom, h as showsSettingsTab, i as DRIVE_ROUTE_ID, l as keepOpenedFrom, m as settingsTitle, n as useNavRoutes, o as useDriveRouteData, p as settingsTabsOf, r as useSidebarMode, s as useDriveRouteIds, t as navRoutes, u as redirectToSettingsTab, v as appTitle, w as DrivePending, x as CONTENT_VIEW_ID, y as driveTitle } from "./sidebar-C0RvssAJ.js";
4
+ import { _ as PERF_STORAGE_KEY, a as createConnectRouter, b as markRouterNavigations, c as GLOBAL_SEARCH_PARAMS, d as parseConnectSearch, f as stringifyConnectSearch, g as connectScrollRestoration, h as bindConnectScroll, i as bindConnectRouter, l as connectSearchMiddlewares, m as validateDriveSearch, n as disposeConnectAppRouter, o as createConnectNavigation, p as validateConnectSearch, r as getConnectAppRouter, s as FEATURE_FLAG_PARAM_PREFIX, t as ConnectCoreApp, u as definedSearch, v as ROUTER_MEASURES, x as routerPerfEnabled, y as markNavigationClick } from "./router-uK9fOfed.js";
5
+ export { APP_ROUTE_ID, CONTENT_VIEW_ID, CORE_MODAL_VIEWS, ConnectCoreApp, ContentOutlet, CoreError, CoreNotFound, DRIVE_PENDING_MS, DRIVE_ROUTE_ID, DrivePending, FEATURE_FLAG_PARAM_PREFIX, GLOBAL_SEARCH_PARAMS, HOME_ROUTE_ID, ModalDialog, ModalOutlet, NODE_ROUTE_ID, PERF_STORAGE_KEY, ROUTER_MEASURES, SETTINGS_ROUTE_ID, addConnectRoutes, appTitle, bindConnectRouter, bindConnectScroll, connectRoutes, connectRoutesSettled, connectScrollRestoration, connectSearchMiddlewares, coreModals, coreView, createConnectNavigation, createConnectRouter, definedSearch, disposeConnectAppRouter, driveTitle, getConnectAppRouter, holdConnectRoutes, isCoreView, isDriveNotFound, keepOpenedFrom, loadDrive, loadNode, markNavigationClick, markRouterNavigations, navRoutes, notFoundTitle, parseConnectSearch, redirectToSettingsTab, registerConnectRoutes, registerPackageRoutes, removeConnectRoutes, routerPerfEnabled, setSettingsRoute, settingsTabs, settingsTabsOf, settingsTitle, showsSettingsTab, stringifyConnectSearch, useDriveRouteData, useDriveRouteIds, useForgetSettingsOpenedFrom, useIsColdStart, useModalFrame, useNavRoutes, useSettingsTabs, useSidebarMode, validateConnectSearch, validateDriveSearch };