wcz-layout 10.1.9 → 10.2.0

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 (107) hide show
  1. package/dist/{Approval-DoD-GRRH.mjs → Approval-D1TfISUL.mjs} +11 -21
  2. package/dist/Approval-D1TfISUL.mjs.map +1 -0
  3. package/dist/{LayoutTable-CRo43iWr.d.mts → ChatLayout-BmLySLXy.d.mts} +11 -18
  4. package/dist/ChatLayout-Tpuwo8-b.mjs +1622 -0
  5. package/dist/ChatLayout-Tpuwo8-b.mjs.map +1 -0
  6. package/dist/{DialogsContext-DLqA8RJ_.mjs → DialogsContext-D23fJjYR.mjs} +2 -3
  7. package/dist/DialogsContext-D23fJjYR.mjs.map +1 -0
  8. package/dist/{Email-CKUxOURX.d.mts → Email-Dz5k0UWE.d.mts} +1 -3
  9. package/dist/{Email-BzQQkbe9.mjs → Email-rnz3H0x3.mjs} +3 -5
  10. package/dist/Email-rnz3H0x3.mjs.map +1 -0
  11. package/dist/{Employee-agVPiGrJ.d.mts → Employee-C8xIlBxY.d.mts} +1 -7
  12. package/dist/{FileMeta-Be9viU7D.d.mts → FileMeta-B39e2FLC.d.mts} +1 -3
  13. package/dist/{FileMeta-DDqUju1Y.mjs → FileMeta-CPBWI_jA.mjs} +2 -3
  14. package/dist/FileMeta-CPBWI_jA.mjs.map +1 -0
  15. package/dist/{QueryClientParam-JcH0mJWl.d.mts → QueryClientParam-CTV1vj76.d.mts} +1 -3
  16. package/dist/RouterListItemButton-CF-8w-08.mjs +62 -0
  17. package/dist/RouterListItemButton-CF-8w-08.mjs.map +1 -0
  18. package/dist/{User-D4__w1I1.d.mts → User-aJksXItw.d.mts} +1 -3
  19. package/dist/{approval-L09uPzTU.mjs → approval-HB2w5jzc.mjs} +4 -5
  20. package/dist/approval-HB2w5jzc.mjs.map +1 -0
  21. package/dist/auth.d.mts +0 -4
  22. package/dist/auth.mjs +5 -6
  23. package/dist/auth.mjs.map +1 -1
  24. package/dist/components.d.mts +63 -33
  25. package/dist/components.mjs +658 -748
  26. package/dist/components.mjs.map +1 -1
  27. package/dist/{createApi-BhNkG4jz.mjs → createApi-CKgFi53y.mjs} +4 -6
  28. package/dist/createApi-CKgFi53y.mjs.map +1 -0
  29. package/dist/data/client.d.mts +2 -8
  30. package/dist/data/client.mjs +6 -9
  31. package/dist/data/client.mjs.map +1 -1
  32. package/dist/data/server.d.mts +2 -4
  33. package/dist/data/server.mjs +6 -7
  34. package/dist/data/server.mjs.map +1 -1
  35. package/dist/env-BwFl7nWc.mjs +48 -0
  36. package/dist/env-BwFl7nWc.mjs.map +1 -0
  37. package/dist/{file-Chlljz3o.mjs → file-X1sK4ok6.mjs} +7 -8
  38. package/dist/file-X1sK4ok6.mjs.map +1 -0
  39. package/dist/{file-Dl8JCcqy.mjs → file-tkfsnk5F.mjs} +8 -8
  40. package/dist/file-tkfsnk5F.mjs.map +1 -0
  41. package/dist/generatedChart-k7NEdi5Z.mjs +211 -0
  42. package/dist/generatedChart-k7NEdi5Z.mjs.map +1 -0
  43. package/dist/hooks.d.mts +30 -30
  44. package/dist/hooks.mjs +1828 -1304
  45. package/dist/hooks.mjs.map +1 -1
  46. package/dist/index.d.mts +11 -14
  47. package/dist/index.mjs +1273 -1051
  48. package/dist/index.mjs.map +1 -1
  49. package/dist/middleware.d.mts +1 -7
  50. package/dist/middleware.mjs +5 -8
  51. package/dist/middleware.mjs.map +1 -1
  52. package/dist/models.d.mts +4 -32
  53. package/dist/models.mjs +7 -11
  54. package/dist/models.mjs.map +1 -1
  55. package/dist/{peoplesoft-D6q3cYsH.d.mts → peoplesoft-C-zPdRVj.d.mts} +3 -9
  56. package/dist/{peoplesoft-BhintHQz.mjs → peoplesoft-RnvfLbWH.mjs} +5 -25
  57. package/dist/peoplesoft-RnvfLbWH.mjs.map +1 -0
  58. package/dist/{providers-BvuZWkpD.mjs → providers-BfFg_3eo.mjs} +5 -23
  59. package/dist/providers-BfFg_3eo.mjs.map +1 -0
  60. package/dist/{tokens-XuFhVbh5.mjs → tokens-C4SErO-K.mjs} +12 -8
  61. package/dist/tokens-C4SErO-K.mjs.map +1 -0
  62. package/dist/{utils-CaeVFWF-.mjs → utils-C2MZoH9U.mjs} +8 -39
  63. package/dist/utils-C2MZoH9U.mjs.map +1 -0
  64. package/dist/{utils-Bhi0KiBx.d.mts → utils-CNYCSgip.d.mts} +3 -5
  65. package/dist/utils-DnMFybj3.mjs +27 -0
  66. package/dist/utils-DnMFybj3.mjs.map +1 -0
  67. package/dist/utils.d.mts +11 -2
  68. package/dist/utils.mjs +3 -5
  69. package/dist/vite.d.mts +0 -2
  70. package/dist/vite.mjs +2 -4
  71. package/dist/vite.mjs.map +1 -1
  72. package/package.json +131 -131
  73. package/skills/ai/SKILL.md +136 -39
  74. package/skills/client-db/SKILL.md +104 -90
  75. package/skills/db-schema/SKILL.md +28 -20
  76. package/skills/dialogs/SKILL.md +26 -38
  77. package/skills/forms/SKILL.md +133 -73
  78. package/skills/general/SKILL.md +99 -105
  79. package/skills/general/references/auth.md +70 -0
  80. package/skills/migrations/versions/migrate-v10-to-v11.md +30 -4
  81. package/skills/routing/SKILL.md +60 -58
  82. package/skills/scanning/SKILL.md +67 -0
  83. package/skills/server-functions/SKILL.md +71 -26
  84. package/skills/services/SKILL.md +4 -4
  85. package/skills/services/docs/approval.md +70 -24
  86. package/skills/services/docs/email.md +24 -3
  87. package/skills/services/docs/file.md +69 -27
  88. package/skills/services/docs/peoplesoft.md +55 -39
  89. package/skills/start/steps/03-apm-setup.md +9 -9
  90. package/skills/table/SKILL.md +250 -267
  91. package/dist/AggregatedCell-oGcwbetF.mjs +0 -559
  92. package/dist/AggregatedCell-oGcwbetF.mjs.map +0 -1
  93. package/dist/Approval-DoD-GRRH.mjs.map +0 -1
  94. package/dist/DialogsContext-DLqA8RJ_.mjs.map +0 -1
  95. package/dist/Email-BzQQkbe9.mjs.map +0 -1
  96. package/dist/FileMeta-DDqUju1Y.mjs.map +0 -1
  97. package/dist/RouterListItemButton-ULMlaQh6.mjs +0 -80
  98. package/dist/RouterListItemButton-ULMlaQh6.mjs.map +0 -1
  99. package/dist/approval-L09uPzTU.mjs.map +0 -1
  100. package/dist/createApi-BhNkG4jz.mjs.map +0 -1
  101. package/dist/file-Chlljz3o.mjs.map +0 -1
  102. package/dist/file-Dl8JCcqy.mjs.map +0 -1
  103. package/dist/peoplesoft-BhintHQz.mjs.map +0 -1
  104. package/dist/providers-BvuZWkpD.mjs.map +0 -1
  105. package/dist/tokens-XuFhVbh5.mjs.map +0 -1
  106. package/dist/utils-CaeVFWF-.mjs.map +0 -1
  107. package/skills/general/references/exports.md +0 -114
package/dist/index.d.mts CHANGED
@@ -1,16 +1,20 @@
1
- import { n as User, t as ProviderId } from "./User-D4__w1I1.mjs";
2
- import { t as QueryClientParam } from "./QueryClientParam-JcH0mJWl.mjs";
3
- import { i as WISTRON_SECONDARY_COLOR, r as WISTRON_PRIMARY_COLOR, s as rootRouteHead } from "./utils-Bhi0KiBx.mjs";
1
+ import { i as WISTRON_SECONDARY_COLOR, r as WISTRON_PRIMARY_COLOR, s as rootRouteHead } from "./utils-CNYCSgip.mjs";
2
+ import { t as QueryClientParam } from "./QueryClientParam-CTV1vj76.mjs";
3
+ import { n as User, t as ProviderId } from "./User-aJksXItw.mjs";
4
4
  import { Theme } from "@mui/material";
5
5
  import { FC, ReactNode } from "react";
6
6
  import { LinkOptions } from "@tanstack/react-router";
7
- //#region src/models/LayoutOptions.d.ts
8
7
  interface LayoutOptions {
9
8
  showShell?: boolean;
10
9
  appBarActions?: ReactNode;
10
+ /**
11
+ * A chat on every page, opened from the app bar: a component rendering
12
+ * `<LayoutChat chat={useLayoutChat({ threadId })} />`. From `lg` up it docks right of the page and
13
+ * opens as it was left; below, it covers the page, opens only from the button and closes when a
14
+ * page opens. It mounts on the first open.
15
+ */
16
+ chat?: ReactNode;
11
17
  }
12
- //#endregion
13
- //#region src/models/Navigation.d.ts
14
18
  type NavigationBase = {
15
19
  hidden?: boolean;
16
20
  };
@@ -34,8 +38,6 @@ type NavigationHeader = NavigationBase & {
34
38
  };
35
39
  type NavigationItem = NavigationPageItem | NavigationPageGroup | NavigationDivider | NavigationHeader;
36
40
  type Navigation = Array<NavigationItem>;
37
- //#endregion
38
- //#region src/providers/LayoutProvider.d.ts
39
41
  interface ProvidersProps {
40
42
  options?: LayoutOptions;
41
43
  navigation?: Navigation;
@@ -43,8 +45,6 @@ interface ProvidersProps {
43
45
  children: ReactNode;
44
46
  }
45
47
  export declare const LayoutProvider: FC<ProvidersProps>;
46
- //#endregion
47
- //#region src/lib/auth/user.d.ts
48
48
  /**
49
49
  * Feeds `LoginForm`. Server config, not per-user, so it is safe to prime on the
50
50
  * server — the `/login` route's loader does that to avoid a flash of empty card.
@@ -65,15 +65,12 @@ export declare const loginProvidersQueryOptions: import("@tanstack/query-core").
65
65
  label: string;
66
66
  }[], Error>;
67
67
  export declare const getUser: ({ queryClient }: QueryClientParam) => Promise<User | null>;
68
- //#endregion
69
- //#region src/lib/language.d.ts
70
68
  /**
71
69
  * Server-renders the request's language — the `i18next` cookie the browser writes on every
72
70
  * switch, then `Accept-Language` — so `LayoutProvider`'s language-keyed page hydrates instead
73
71
  * of being rebuilt when the browser detects a language other than English. No-op in the browser,
74
72
  * where i18next detects the language itself.
75
73
  */
76
- export declare const setLanguageFromRequest: () => Promise<void>;
77
- //#endregion
74
+ export declare const setLanguageFromRequest: import("@tanstack/start-fn-stubs").IsomorphicFn<[], Promise<void>, Promise<void>>;
78
75
  export { type Navigation, WISTRON_PRIMARY_COLOR, WISTRON_SECONDARY_COLOR, rootRouteHead };
79
76
  //# sourceMappingURL=index.d.mts.map