wcz-layout 9.6.6 → 10.0.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 (94) hide show
  1. package/dist/AggregatedCell-BtKC5-m6.mjs +497 -0
  2. package/dist/AggregatedCell-BtKC5-m6.mjs.map +1 -0
  3. package/dist/Approval-C-hF4jbT.mjs.map +1 -1
  4. package/dist/DialogsContext-DLqA8RJ_.mjs.map +1 -1
  5. package/dist/Email-BzQQkbe9.mjs.map +1 -1
  6. package/dist/FileMeta-DDqUju1Y.mjs.map +1 -1
  7. package/dist/LayoutTable-4DLs-NI-.d.mts +752 -0
  8. package/dist/{QueryClientParam-Cbb0MIKg.d.mts → QueryClientParam-JcH0mJWl.d.mts} +2 -2
  9. package/dist/RouterListItemButton-ULMlaQh6.mjs.map +1 -1
  10. package/dist/{User-1gKoYJvW.d.mts → User-D4__w1I1.d.mts} +4 -2
  11. package/dist/approval-DFExxyAJ.mjs +84 -0
  12. package/dist/approval-DFExxyAJ.mjs.map +1 -0
  13. package/dist/auth.d.mts +21 -11
  14. package/dist/auth.mjs +43 -26
  15. package/dist/auth.mjs.map +1 -1
  16. package/dist/components.d.mts +22 -30
  17. package/dist/components.mjs +792 -145
  18. package/dist/components.mjs.map +1 -1
  19. package/dist/createApi-CLYWCzR2.mjs +27 -0
  20. package/dist/createApi-CLYWCzR2.mjs.map +1 -0
  21. package/dist/data/client.d.mts +703 -1152
  22. package/dist/data/client.mjs +4 -3
  23. package/dist/data/client.mjs.map +1 -1
  24. package/dist/data/server.d.mts +3 -3
  25. package/dist/data/server.mjs +4 -2
  26. package/dist/data/server.mjs.map +1 -1
  27. package/dist/{file-BTFDDalH.mjs → file-CZwQfvTU.mjs} +8 -27
  28. package/dist/file-CZwQfvTU.mjs.map +1 -0
  29. package/dist/{file-CuvAmdJW.mjs → file-aSQto2rw.mjs} +7 -9
  30. package/dist/file-aSQto2rw.mjs.map +1 -0
  31. package/dist/hooks.d.mts +7 -46
  32. package/dist/hooks.mjs +2578 -239
  33. package/dist/hooks.mjs.map +1 -1
  34. package/dist/index.d.mts +29 -9
  35. package/dist/index.mjs +1257 -499
  36. package/dist/index.mjs.map +1 -1
  37. package/dist/middleware.d.mts +20 -19
  38. package/dist/middleware.mjs +47 -2
  39. package/dist/middleware.mjs.map +1 -1
  40. package/dist/models.d.mts +17 -10
  41. package/dist/models.mjs.map +1 -1
  42. package/dist/{peoplesoft-D4w8d4s1.d.mts → peoplesoft-BY_75WTS.d.mts} +3 -2
  43. package/dist/{peoplesoft-DGdM1bws.mjs → peoplesoft-CQnc01Hc.mjs} +24 -81
  44. package/dist/peoplesoft-CQnc01Hc.mjs.map +1 -0
  45. package/dist/providers-Dbl95AxR.mjs +74 -0
  46. package/dist/providers-Dbl95AxR.mjs.map +1 -0
  47. package/dist/tokens-D8CVIFTb.mjs +143 -0
  48. package/dist/tokens-D8CVIFTb.mjs.map +1 -0
  49. package/dist/{utils-5x4uNxsX.d.mts → utils-Bhi0KiBx.d.mts} +18 -6
  50. package/dist/{utils-DjdexspV.mjs → utils-KaM5VMTJ.mjs} +64 -42
  51. package/dist/utils-KaM5VMTJ.mjs.map +1 -0
  52. package/dist/utils.d.mts +2 -2
  53. package/dist/utils.mjs +2 -2
  54. package/dist/vite.d.mts +1 -2
  55. package/dist/vite.mjs +3 -3
  56. package/dist/vite.mjs.map +1 -1
  57. package/package.json +128 -127
  58. package/skills/client-db/SKILL.md +104 -96
  59. package/skills/db-schema/SKILL.md +46 -33
  60. package/skills/dialogs/SKILL.md +21 -27
  61. package/skills/forms/SKILL.md +60 -39
  62. package/skills/general/SKILL.md +125 -94
  63. package/skills/general/references/exports.md +106 -0
  64. package/skills/migrations/SKILL.md +57 -0
  65. package/skills/migrations/versions/migrate-v9-to-v10.md +581 -0
  66. package/skills/routing/SKILL.md +50 -60
  67. package/skills/server-functions/SKILL.md +36 -56
  68. package/skills/services/SKILL.md +34 -31
  69. package/skills/services/docs/approval.md +2 -2
  70. package/skills/services/docs/peoplesoft.md +1 -1
  71. package/skills/start/SKILL.md +51 -47
  72. package/skills/start/steps/01-git-setup.md +0 -1
  73. package/skills/start/steps/04-wicop-setup.md +105 -80
  74. package/skills/start/steps/05-database-setup.md +13 -5
  75. package/skills/start/steps/06-entra-setup.md +96 -98
  76. package/skills/start/steps/07-vault-setup.md +57 -24
  77. package/skills/table/SKILL.md +275 -0
  78. package/skills/unslop/SKILL.md +80 -0
  79. package/dist/NotificationContext-CgwUOeW0.mjs +0 -7
  80. package/dist/NotificationContext-CgwUOeW0.mjs.map +0 -1
  81. package/dist/authMiddleware-DPly0b_T.mjs +0 -48
  82. package/dist/authMiddleware-DPly0b_T.mjs.map +0 -1
  83. package/dist/entra-CJSyeQsx.mjs +0 -109
  84. package/dist/entra-CJSyeQsx.mjs.map +0 -1
  85. package/dist/file-BTFDDalH.mjs.map +0 -1
  86. package/dist/file-CuvAmdJW.mjs.map +0 -1
  87. package/dist/msalServer-DLwA7_ta.mjs +0 -30
  88. package/dist/msalServer-DLwA7_ta.mjs.map +0 -1
  89. package/dist/peoplesoft-DGdM1bws.mjs.map +0 -1
  90. package/dist/useDialogs-BUzVrTSP.mjs +0 -248
  91. package/dist/useDialogs-BUzVrTSP.mjs.map +0 -1
  92. package/dist/user-Dzv0N9fj.d.mts +0 -16
  93. package/dist/utils-DjdexspV.mjs.map +0 -1
  94. package/skills/data-grid/SKILL.md +0 -142
package/dist/index.d.mts CHANGED
@@ -1,15 +1,13 @@
1
- import { n as getUser } from "./user-Dzv0N9fj.mjs";
2
- import { i as WISTRON_SECONDARY_COLOR, r as WISTRON_PRIMARY_COLOR, s as rootRouteHead } from "./utils-5x4uNxsX.mjs";
3
- import { SnackbarOrigin, Theme } from "@mui/material";
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";
4
+ import { Theme } from "@mui/material";
4
5
  import { FC, ReactNode } from "react";
5
6
  import { LinkOptions } from "@tanstack/react-router";
6
7
  //#region src/models/LayoutOptions.d.ts
7
8
  interface LayoutOptions {
8
9
  showShell?: boolean;
9
- /**
10
- * @deprecated Prefer a success animation for successful actions and a non-disappearing alert dialog for errors.
11
- */
12
- snackbarOrigin?: SnackbarOrigin;
10
+ appBarActions?: ReactNode;
13
11
  }
14
12
  //#endregion
15
13
  //#region src/models/Navigation.d.ts
@@ -44,7 +42,29 @@ interface ProvidersProps {
44
42
  theme: Theme;
45
43
  children: ReactNode;
46
44
  }
47
- declare const LayoutProvider: FC<ProvidersProps>;
45
+ export declare const LayoutProvider: FC<ProvidersProps>;
48
46
  //#endregion
49
- export { LayoutProvider, type Navigation, WISTRON_PRIMARY_COLOR, WISTRON_SECONDARY_COLOR, getUser, rootRouteHead };
47
+ //#region src/lib/auth/user.d.ts
48
+ /**
49
+ * Feeds `LoginForm`. Server config, not per-user, so it is safe to prime on the
50
+ * server — the `/login` route's loader does that to avoid a flash of empty card.
51
+ */
52
+ export declare const loginProvidersQueryOptions: import("@tanstack/query-core").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
53
+ id: ProviderId;
54
+ label: string;
55
+ }[], Error, {
56
+ id: ProviderId;
57
+ label: string;
58
+ }[], string[]>, "queryFn"> & {
59
+ queryFn?: import("@tanstack/query-core").QueryFunction<{
60
+ id: ProviderId;
61
+ label: string;
62
+ }[], string[], never> | undefined;
63
+ } & import("@tanstack/query-core").QueryKeyWithDataTag<string[], {
64
+ id: ProviderId;
65
+ label: string;
66
+ }[], Error>;
67
+ export declare const getUser: ({ queryClient }: QueryClientParam) => Promise<User | null>;
68
+ //#endregion
69
+ export { type Navigation, WISTRON_PRIMARY_COLOR, WISTRON_SECONDARY_COLOR, rootRouteHead };
50
70
  //# sourceMappingURL=index.d.mts.map