Redesign WeightSummaryCard stats from a disconnected 4-column grid to a compact legend-style list with color dots, percentages, and a divider before the total row. Switch chart and legend colors to a neutral gray palette. Add a currency selector to settings (USD, EUR, GBP, JPY, CAD, AUD) that changes the displayed symbol across the app. This is visual only — no value conversion is performed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
148 lines
4.4 KiB
TypeScript
148 lines
4.4 KiB
TypeScript
/* eslint-disable */
|
|
|
|
// @ts-nocheck
|
|
|
|
// noinspection JSUnusedGlobalSymbols
|
|
|
|
// This file was automatically generated by TanStack Router.
|
|
// You should NOT make any changes in this file as it will be overwritten.
|
|
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
|
|
|
|
import { Route as rootRouteImport } from './routes/__root'
|
|
import { Route as SettingsRouteImport } from './routes/settings'
|
|
import { Route as IndexRouteImport } from './routes/index'
|
|
import { Route as CollectionIndexRouteImport } from './routes/collection/index'
|
|
import { Route as ThreadsThreadIdRouteImport } from './routes/threads/$threadId'
|
|
import { Route as SetupsSetupIdRouteImport } from './routes/setups/$setupId'
|
|
|
|
const SettingsRoute = SettingsRouteImport.update({
|
|
id: '/settings',
|
|
path: '/settings',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const IndexRoute = IndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const CollectionIndexRoute = CollectionIndexRouteImport.update({
|
|
id: '/collection/',
|
|
path: '/collection/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ThreadsThreadIdRoute = ThreadsThreadIdRouteImport.update({
|
|
id: '/threads/$threadId',
|
|
path: '/threads/$threadId',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const SetupsSetupIdRoute = SetupsSetupIdRouteImport.update({
|
|
id: '/setups/$setupId',
|
|
path: '/setups/$setupId',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/': typeof IndexRoute
|
|
'/settings': typeof SettingsRoute
|
|
'/setups/$setupId': typeof SetupsSetupIdRoute
|
|
'/threads/$threadId': typeof ThreadsThreadIdRoute
|
|
'/collection/': typeof CollectionIndexRoute
|
|
}
|
|
export interface FileRoutesByTo {
|
|
'/': typeof IndexRoute
|
|
'/settings': typeof SettingsRoute
|
|
'/setups/$setupId': typeof SetupsSetupIdRoute
|
|
'/threads/$threadId': typeof ThreadsThreadIdRoute
|
|
'/collection': typeof CollectionIndexRoute
|
|
}
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRouteImport
|
|
'/': typeof IndexRoute
|
|
'/settings': typeof SettingsRoute
|
|
'/setups/$setupId': typeof SetupsSetupIdRoute
|
|
'/threads/$threadId': typeof ThreadsThreadIdRoute
|
|
'/collection/': typeof CollectionIndexRoute
|
|
}
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths:
|
|
| '/'
|
|
| '/settings'
|
|
| '/setups/$setupId'
|
|
| '/threads/$threadId'
|
|
| '/collection/'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to:
|
|
| '/'
|
|
| '/settings'
|
|
| '/setups/$setupId'
|
|
| '/threads/$threadId'
|
|
| '/collection'
|
|
id:
|
|
| '__root__'
|
|
| '/'
|
|
| '/settings'
|
|
| '/setups/$setupId'
|
|
| '/threads/$threadId'
|
|
| '/collection/'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
export interface RootRouteChildren {
|
|
IndexRoute: typeof IndexRoute
|
|
SettingsRoute: typeof SettingsRoute
|
|
SetupsSetupIdRoute: typeof SetupsSetupIdRoute
|
|
ThreadsThreadIdRoute: typeof ThreadsThreadIdRoute
|
|
CollectionIndexRoute: typeof CollectionIndexRoute
|
|
}
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/settings': {
|
|
id: '/settings'
|
|
path: '/settings'
|
|
fullPath: '/settings'
|
|
preLoaderRoute: typeof SettingsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/': {
|
|
id: '/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof IndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/collection/': {
|
|
id: '/collection/'
|
|
path: '/collection'
|
|
fullPath: '/collection/'
|
|
preLoaderRoute: typeof CollectionIndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/threads/$threadId': {
|
|
id: '/threads/$threadId'
|
|
path: '/threads/$threadId'
|
|
fullPath: '/threads/$threadId'
|
|
preLoaderRoute: typeof ThreadsThreadIdRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/setups/$setupId': {
|
|
id: '/setups/$setupId'
|
|
path: '/setups/$setupId'
|
|
fullPath: '/setups/$setupId'
|
|
preLoaderRoute: typeof SetupsSetupIdRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
}
|
|
}
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
IndexRoute: IndexRoute,
|
|
SettingsRoute: SettingsRoute,
|
|
SetupsSetupIdRoute: SetupsSetupIdRoute,
|
|
ThreadsThreadIdRoute: ThreadsThreadIdRoute,
|
|
CollectionIndexRoute: CollectionIndexRoute,
|
|
}
|
|
export const routeTree = rootRouteImport
|
|
._addFileChildren(rootRouteChildren)
|
|
._addFileTypes<FileRouteTypes>()
|