zudoku 0.0.0-feat-bundled-types.9aa135e → 0.0.0-feat-bundled-types.71f1034

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 (60) hide show
  1. package/dist/config/index.d.ts +4 -0
  2. package/dist/config/index.js +2 -0
  3. package/dist/config/index.js.map +1 -0
  4. package/dist/config/validators/InputSidebarSchema.d.ts +5 -1
  5. package/dist/config/validators/InputSidebarSchema.js +18 -0
  6. package/dist/config/validators/InputSidebarSchema.js.map +1 -1
  7. package/dist/config/validators/SidebarSchema.d.ts +1 -1
  8. package/dist/config/validators/flat-config.d.ts +420 -0
  9. package/dist/config/validators/flat-config.js +2 -0
  10. package/dist/config/validators/flat-config.js.map +1 -0
  11. package/dist/config/validators/validate.d.ts +40 -40
  12. package/dist/config/validators/validate.js +13 -13
  13. package/dist/config/validators/validate.js.map +1 -1
  14. package/dist/index.d.ts +11 -6264
  15. package/dist/lib/components/Bootstrap.d.ts +2 -2
  16. package/dist/lib/components/Bootstrap.js +0 -2
  17. package/dist/lib/components/Bootstrap.js.map +1 -1
  18. package/dist/lib/components/index.d.ts +81 -726
  19. package/dist/lib/components/navigation/SidebarItem.js +2 -3
  20. package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
  21. package/dist/lib/hooks/index.d.ts +22 -637
  22. package/dist/vite/build.js +1 -4
  23. package/dist/vite/build.js.map +1 -1
  24. package/lib/{Markdown-Cm4kj26S.js → Markdown-COBDvr4G.js} +307 -304
  25. package/lib/{Markdown-Cm4kj26S.js.map → Markdown-COBDvr4G.js.map} +1 -1
  26. package/lib/{MdxPage-fDGQtB5w.js → MdxPage-Dwb723gn.js} +3 -3
  27. package/lib/{MdxPage-fDGQtB5w.js.map → MdxPage-Dwb723gn.js.map} +1 -1
  28. package/lib/{OasProvider-CFBvfR3r.js → OasProvider-DZq25XRY.js} +2 -2
  29. package/lib/{OasProvider-CFBvfR3r.js.map → OasProvider-DZq25XRY.js.map} +1 -1
  30. package/lib/{OperationList-Xs4KWmsh.js → OperationList-ClZqCrZL.js} +5 -5
  31. package/lib/{OperationList-Xs4KWmsh.js.map → OperationList-ClZqCrZL.js.map} +1 -1
  32. package/lib/{SchemaList-BWaNlmUJ.js → SchemaList-CFiH9XCD.js} +5 -5
  33. package/lib/{SchemaList-BWaNlmUJ.js.map → SchemaList-CFiH9XCD.js.map} +1 -1
  34. package/lib/{SchemaView-DdKJt2ln.js → SchemaView-DcAEVFMX.js} +3 -3
  35. package/lib/{SchemaView-DdKJt2ln.js.map → SchemaView-DcAEVFMX.js.map} +1 -1
  36. package/lib/{Slot-B99cbD-q.js → Slot-CX5MJIIl.js} +3 -3
  37. package/lib/{Slot-B99cbD-q.js.map → Slot-CX5MJIIl.js.map} +1 -1
  38. package/lib/{SyntaxHighlight-Cz6Me7-F.js → SyntaxHighlight-VHPtvkm2.js} +1291 -1265
  39. package/lib/SyntaxHighlight-VHPtvkm2.js.map +1 -0
  40. package/lib/{Toc-Qe7A4uj_.js → Toc-CpVWtbJv.js} +2 -2
  41. package/lib/{Toc-Qe7A4uj_.js.map → Toc-CpVWtbJv.js.map} +1 -1
  42. package/lib/{circular-w5eL5J8a.js → circular-C8T14g4j.js} +2 -2
  43. package/lib/{circular-w5eL5J8a.js.map → circular-C8T14g4j.js.map} +1 -1
  44. package/lib/{createServer-p3yUA8Bu.js → createServer-BNdsMmPY.js} +2625 -2615
  45. package/lib/createServer-BNdsMmPY.js.map +1 -0
  46. package/lib/{index-yqBxBqxF.js → index-DxDMCSQ1.js} +7 -7
  47. package/lib/{index-yqBxBqxF.js.map → index-DxDMCSQ1.js.map} +1 -1
  48. package/lib/ui/SyntaxHighlight.js +1 -1
  49. package/lib/zudoku.components.js +2 -2
  50. package/lib/zudoku.components.js.map +1 -1
  51. package/lib/zudoku.plugin-api-catalog.js +1 -1
  52. package/lib/zudoku.plugin-api-keys.js +1 -1
  53. package/lib/zudoku.plugin-custom-pages.js +1 -1
  54. package/lib/zudoku.plugin-markdown.js +1 -1
  55. package/lib/zudoku.plugin-openapi.js +1 -1
  56. package/package.json +18 -14
  57. package/src/lib/components/Bootstrap.tsx +2 -4
  58. package/src/lib/components/navigation/SidebarItem.tsx +2 -1
  59. package/lib/SyntaxHighlight-Cz6Me7-F.js.map +0 -1
  60. package/lib/createServer-p3yUA8Bu.js.map +0 -1
@@ -1,637 +1,22 @@
1
- import type { BundledTheme } from 'shiki';
2
- import { ComponentProps } from 'react';
3
- import { ComponentType } from 'react';
4
- import type { HighlighterCore } from 'shiki';
5
- import { Location as Location_2 } from 'react-router';
6
- import { LucideIcon } from 'lucide-react';
7
- import { MDXComponents } from 'mdx/types.js';
8
- import { NamedExoticComponent } from 'react';
9
- import { NavigateFunction } from 'react-router';
10
- import { Params } from 'react-router';
11
- import type { QueryClient } from '@tanstack/react-query';
12
- import type { ReactElement } from 'react';
13
- import { ReactNode } from 'react';
14
- import type { RouteObject } from 'react-router';
15
- import { SetURLSearchParams } from 'react-router';
16
- import { Unsubscribe } from 'nanoevents';
17
- import { useMDXComponents as useMDXComponents_2 } from '@mdx-js/react';
18
- import { UseThemeProps } from 'next-themes';
19
- import { z } from 'zod';
20
-
21
- declare interface ApiIdentity {
22
- authorizeRequest: (request: Request) => Promise<Request> | Request;
23
- authorizationFields?: {
24
- headers?: string[];
25
- queryParams?: string[];
26
- };
27
- label: string;
28
- id: string;
29
- }
30
-
31
- declare interface ApiIdentityPlugin {
32
- getIdentities: (context: ZudokuContext) => Promise<ApiIdentity[]>;
33
- }
34
-
35
- declare interface AuthenticationPlugin {
36
- signUp(options?: {
37
- redirectTo?: string;
38
- }): Promise<void>;
39
- signIn(options?: {
40
- redirectTo?: string;
41
- }): Promise<void>;
42
- signOut(): Promise<void>;
43
- getAccessToken(): Promise<string>;
44
- onPageLoad?(): void;
45
- signRequest(request: Request): Promise<Request>;
46
- }
47
-
48
- declare interface AuthState<ProviderData = unknown> {
49
- isAuthenticated: boolean;
50
- isPending: boolean;
51
- profile: UserProfile | null;
52
- providerData: ProviderData | null;
53
- }
54
-
55
- declare type BaseInputSidebarItemCategoryLinkDoc = z.infer<typeof BaseInputSidebarItemCategoryLinkDocSchema>;
56
-
57
- declare const BaseInputSidebarItemCategoryLinkDocSchema: z.ZodObject<{
58
- type: z.ZodLiteral<"doc">;
59
- id: z.ZodString;
60
- label: z.ZodOptional<z.ZodString>;
61
- }, "strip", z.ZodTypeAny, {
62
- type: "doc";
63
- id: string;
64
- label?: string | undefined;
65
- }, {
66
- type: "doc";
67
- id: string;
68
- label?: string | undefined;
69
- }>;
70
-
71
- declare const BaseInputSidebarItemCategorySchema: z.ZodObject<{
72
- type: z.ZodLiteral<"category">;
73
- icon: z.ZodOptional<z.ZodType<IconNames, z.ZodTypeDef, IconNames>>;
74
- label: z.ZodString;
75
- description: z.ZodOptional<z.ZodString>;
76
- collapsible: z.ZodOptional<z.ZodBoolean>;
77
- collapsed: z.ZodOptional<z.ZodBoolean>;
78
- link: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
79
- type: z.ZodLiteral<"doc">;
80
- id: z.ZodString;
81
- label: z.ZodOptional<z.ZodString>;
82
- }, "strip", z.ZodTypeAny, {
83
- type: "doc";
84
- id: string;
85
- label?: string | undefined;
86
- }, {
87
- type: "doc";
88
- id: string;
89
- label?: string | undefined;
90
- }>, z.ZodString]>>;
91
- }, "strip", z.ZodTypeAny, {
92
- type: "category";
93
- label: string;
94
- link?: string | {
95
- type: "doc";
96
- id: string;
97
- label?: string | undefined;
98
- } | undefined;
99
- description?: string | undefined;
100
- icon?: IconNames | undefined;
101
- collapsible?: boolean | undefined;
102
- collapsed?: boolean | undefined;
103
- }, {
104
- type: "category";
105
- label: string;
106
- link?: string | {
107
- type: "doc";
108
- id: string;
109
- label?: string | undefined;
110
- } | undefined;
111
- description?: string | undefined;
112
- icon?: IconNames | undefined;
113
- collapsible?: boolean | undefined;
114
- collapsed?: boolean | undefined;
115
- }>;
116
-
117
- declare type BaseInputSidebarItemDoc = z.infer<typeof BaseInputSidebarItemDocSchema>;
118
-
119
- declare const BaseInputSidebarItemDocSchema: z.ZodObject<{
120
- type: z.ZodLiteral<"doc">;
121
- id: z.ZodString;
122
- icon: z.ZodOptional<z.ZodType<IconNames, z.ZodTypeDef, IconNames>>;
123
- label: z.ZodOptional<z.ZodString>;
124
- badge: z.ZodOptional<z.ZodObject<{
125
- label: z.ZodString;
126
- color: z.ZodEnum<["green", "blue", "yellow", "red", "purple", "indigo", "gray", "outline"]>;
127
- placement: z.ZodOptional<z.ZodEnum<["start", "end"]>>;
128
- invert: z.ZodOptional<z.ZodBoolean>;
129
- }, "strip", z.ZodTypeAny, {
130
- label: string;
131
- color: "green" | "blue" | "yellow" | "red" | "purple" | "indigo" | "gray" | "outline";
132
- placement?: "start" | "end" | undefined;
133
- invert?: boolean | undefined;
134
- }, {
135
- label: string;
136
- color: "green" | "blue" | "yellow" | "red" | "purple" | "indigo" | "gray" | "outline";
137
- placement?: "start" | "end" | undefined;
138
- invert?: boolean | undefined;
139
- }>>;
140
- }, "strip", z.ZodTypeAny, {
141
- type: "doc";
142
- id: string;
143
- badge?: {
144
- label: string;
145
- color: "green" | "blue" | "yellow" | "red" | "purple" | "indigo" | "gray" | "outline";
146
- placement?: "start" | "end" | undefined;
147
- invert?: boolean | undefined;
148
- } | undefined;
149
- label?: string | undefined;
150
- icon?: IconNames | undefined;
151
- }, {
152
- type: "doc";
153
- id: string;
154
- badge?: {
155
- label: string;
156
- color: "green" | "blue" | "yellow" | "red" | "purple" | "indigo" | "gray" | "outline";
157
- placement?: "start" | "end" | undefined;
158
- invert?: boolean | undefined;
159
- } | undefined;
160
- label?: string | undefined;
161
- icon?: IconNames | undefined;
162
- }>;
163
-
164
- export declare const CACHE_KEYS: Readonly<{
165
- API_IDENTITIES: string[];
166
- }>;
167
-
168
- declare interface CommonPlugin {
169
- initialize?: (context: ZudokuContext) => Promise<void | boolean> | void | boolean;
170
- getHead?: ({ location }: {
171
- location: Location_2;
172
- }) => ReactElement | undefined;
173
- getMdxComponents?: () => MdxComponentsType;
174
- }
175
-
176
- declare type ComponentsContextType = {
177
- Header?: ComponentType<ComponentProps<typeof Header>>;
178
- };
179
-
180
- declare type EventConsumerPlugin<Event extends ZudokuEvents = ZudokuEvents> = {
181
- events: {
182
- [K in keyof Event]?: Event[K];
183
- };
184
- };
185
-
186
- declare type EventParameters<Event extends keyof ZudokuEvents> = Parameters<ZudokuEvents[Event]>;
187
-
188
- declare type ExposedComponentProps = {
189
- location: Location_2;
190
- navigate: NavigateFunction;
191
- searchParams: URLSearchParams;
192
- setSearchParams: SetURLSearchParams;
193
- params: Params;
194
- };
195
-
196
- declare const FooterSchema: z.ZodOptional<z.ZodObject<{
197
- columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
198
- position: z.ZodOptional<z.ZodEnum<["start", "center", "end"]>>;
199
- title: z.ZodString;
200
- links: z.ZodArray<z.ZodObject<{
201
- label: z.ZodString;
202
- href: z.ZodString;
203
- }, "strip", z.ZodTypeAny, {
204
- label: string;
205
- href: string;
206
- }, {
207
- label: string;
208
- href: string;
209
- }>, "many">;
210
- }, "strip", z.ZodTypeAny, {
211
- title: string;
212
- links: {
213
- label: string;
214
- href: string;
215
- }[];
216
- position?: "start" | "end" | "center" | undefined;
217
- }, {
218
- title: string;
219
- links: {
220
- label: string;
221
- href: string;
222
- }[];
223
- position?: "start" | "end" | "center" | undefined;
224
- }>, "many">>;
225
- social: z.ZodOptional<z.ZodArray<z.ZodObject<{
226
- label: z.ZodOptional<z.ZodString>;
227
- href: z.ZodString;
228
- icon: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["reddit", "discord", "github", "x", "linkedin", "facebook", "instagram", "youtube", "tiktok", "twitch", "pinterest", "snapchat", "whatsapp", "telegram"]>, z.ZodType<ReactNode, z.ZodTypeDef, ReactNode>]>>;
229
- }, "strip", z.ZodTypeAny, {
230
- href: string;
231
- label?: string | undefined;
232
- icon?: ReactNode;
233
- }, {
234
- href: string;
235
- label?: string | undefined;
236
- icon?: ReactNode;
237
- }>, "many">>;
238
- copyright: z.ZodOptional<z.ZodString>;
239
- logo: z.ZodOptional<z.ZodObject<{
240
- src: z.ZodObject<{
241
- light: z.ZodString;
242
- dark: z.ZodString;
243
- }, "strip", z.ZodTypeAny, {
244
- light: string;
245
- dark: string;
246
- }, {
247
- light: string;
248
- dark: string;
249
- }>;
250
- alt: z.ZodOptional<z.ZodString>;
251
- width: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
252
- }, "strip", z.ZodTypeAny, {
253
- src: {
254
- light: string;
255
- dark: string;
256
- };
257
- alt?: string | undefined;
258
- width?: string | number | undefined;
259
- }, {
260
- src: {
261
- light: string;
262
- dark: string;
263
- };
264
- alt?: string | undefined;
265
- width?: string | number | undefined;
266
- }>>;
267
- position: z.ZodOptional<z.ZodEnum<["start", "center", "end"]>>;
268
- }, "strip", z.ZodTypeAny, {
269
- columns?: {
270
- title: string;
271
- links: {
272
- label: string;
273
- href: string;
274
- }[];
275
- position?: "start" | "end" | "center" | undefined;
276
- }[] | undefined;
277
- copyright?: string | undefined;
278
- logo?: {
279
- src: {
280
- light: string;
281
- dark: string;
282
- };
283
- alt?: string | undefined;
284
- width?: string | number | undefined;
285
- } | undefined;
286
- position?: "start" | "end" | "center" | undefined;
287
- social?: {
288
- href: string;
289
- label?: string | undefined;
290
- icon?: ReactNode;
291
- }[] | undefined;
292
- }, {
293
- columns?: {
294
- title: string;
295
- links: {
296
- label: string;
297
- href: string;
298
- }[];
299
- position?: "start" | "end" | "center" | undefined;
300
- }[] | undefined;
301
- copyright?: string | undefined;
302
- logo?: {
303
- src: {
304
- light: string;
305
- dark: string;
306
- };
307
- alt?: string | undefined;
308
- width?: string | number | undefined;
309
- } | undefined;
310
- position?: "start" | "end" | "center" | undefined;
311
- social?: {
312
- href: string;
313
- label?: string | undefined;
314
- icon?: ReactNode;
315
- }[] | undefined;
316
- }>>;
317
-
318
- declare const Header: NamedExoticComponent<object>;
319
-
320
- declare type IconNames = "a-arrow-down" | "a-arrow-up" | "a-large-small" | "accessibility" | "activity" | "activity-square" | "air-vent" | "airplay" | "alarm-check" | "alarm-clock" | "alarm-clock-check" | "alarm-clock-minus" | "alarm-clock-off" | "alarm-clock-plus" | "alarm-minus" | "alarm-plus" | "alarm-smoke" | "album" | "alert-circle" | "alert-octagon" | "alert-triangle" | "align-center" | "align-center-horizontal" | "align-center-vertical" | "align-end-horizontal" | "align-end-vertical" | "align-horizontal-distribute-center" | "align-horizontal-distribute-end" | "align-horizontal-distribute-start" | "align-horizontal-justify-center" | "align-horizontal-justify-end" | "align-horizontal-justify-start" | "align-horizontal-space-around" | "align-horizontal-space-between" | "align-justify" | "align-left" | "align-right" | "align-start-horizontal" | "align-start-vertical" | "align-vertical-distribute-center" | "align-vertical-distribute-end" | "align-vertical-distribute-start" | "align-vertical-justify-center" | "align-vertical-justify-end" | "align-vertical-justify-start" | "align-vertical-space-around" | "align-vertical-space-between" | "ambulance" | "ampersand" | "ampersands" | "amphora" | "anchor" | "angry" | "annoyed" | "antenna" | "anvil" | "aperture" | "app-window" | "app-window-mac" | "apple" | "archive" | "archive-restore" | "archive-x" | "area-chart" | "armchair" | "arrow-big-down" | "arrow-big-down-dash" | "arrow-big-left" | "arrow-big-left-dash" | "arrow-big-right" | "arrow-big-right-dash" | "arrow-big-up" | "arrow-big-up-dash" | "arrow-down" | "arrow-down-0-1" | "arrow-down-01" | "arrow-down-1-0" | "arrow-down-10" | "arrow-down-a-z" | "arrow-down-az" | "arrow-down-circle" | "arrow-down-from-line" | "arrow-down-left" | "arrow-down-left-from-circle" | "arrow-down-left-from-square" | "arrow-down-left-square" | "arrow-down-narrow-wide" | "arrow-down-right" | "arrow-down-right-from-circle" | "arrow-down-right-from-square" | "arrow-down-right-square" | "arrow-down-square" | "arrow-down-to-dot" | "arrow-down-to-line" | "arrow-down-up" | "arrow-down-wide-narrow" | "arrow-down-z-a" | "arrow-down-za" | "arrow-left" | "arrow-left-circle" | "arrow-left-from-line" | "arrow-left-right" | "arrow-left-square" | "arrow-left-to-line" | "arrow-right" | "arrow-right-circle" | "arrow-right-from-line" | "arrow-right-left" | "arrow-right-square" | "arrow-right-to-line" | "arrow-up" | "arrow-up-0-1" | "arrow-up-01" | "arrow-up-1-0" | "arrow-up-10" | "arrow-up-a-z" | "arrow-up-az" | "arrow-up-circle" | "arrow-up-down" | "arrow-up-from-dot" | "arrow-up-from-line" | "arrow-up-left" | "arrow-up-left-from-circle" | "arrow-up-left-from-square" | "arrow-up-left-square" | "arrow-up-narrow-wide" | "arrow-up-right" | "arrow-up-right-from-circle" | "arrow-up-right-from-square" | "arrow-up-right-square" | "arrow-up-square" | "arrow-up-to-line" | "arrow-up-wide-narrow" | "arrow-up-z-a" | "arrow-up-za" | "arrows-up-from-line" | "asterisk" | "asterisk-square" | "at-sign" | "atom" | "audio-lines" | "audio-waveform" | "award" | "axe" | "axis-3-d" | "axis-3d" | "baby" | "backpack" | "badge" | "badge-alert" | "badge-cent" | "badge-check" | "badge-dollar-sign" | "badge-euro" | "badge-help" | "badge-indian-rupee" | "badge-info" | "badge-japanese-yen" | "badge-minus" | "badge-percent" | "badge-plus" | "badge-pound-sterling" | "badge-russian-ruble" | "badge-swiss-franc" | "badge-x" | "baggage-claim" | "ban" | "banana" | "bandage" | "banknote" | "banknote-arrow-down" | "banknote-arrow-up" | "banknote-x" | "bar-chart" | "bar-chart-2" | "bar-chart-3" | "bar-chart-4" | "bar-chart-big" | "bar-chart-horizontal" | "bar-chart-horizontal-big" | "barcode" | "baseline" | "bath" | "battery" | "battery-charging" | "battery-full" | "battery-low" | "battery-medium" | "battery-plus" | "battery-warning" | "beaker" | "bean" | "bean-off" | "bed" | "bed-double" | "bed-single" | "beef" | "beer" | "beer-off" | "bell" | "bell-dot" | "bell-electric" | "bell-minus" | "bell-off" | "bell-plus" | "bell-ring" | "between-horizonal-end" | "between-horizonal-start" | "between-horizontal-end" | "between-horizontal-start" | "between-vertical-end" | "between-vertical-start" | "biceps-flexed" | "bike" | "binary" | "binoculars" | "biohazard" | "bird" | "bitcoin" | "blend" | "blinds" | "blocks" | "bluetooth" | "bluetooth-connected" | "bluetooth-off" | "bluetooth-searching" | "bold" | "bolt" | "bomb" | "bone" | "book" | "book-a" | "book-audio" | "book-check" | "book-copy" | "book-dashed" | "book-down" | "book-headphones" | "book-heart" | "book-image" | "book-key" | "book-lock" | "book-marked" | "book-minus" | "book-open" | "book-open-check" | "book-open-text" | "book-plus" | "book-template" | "book-text" | "book-type" | "book-up" | "book-up-2" | "book-user" | "book-x" | "bookmark" | "bookmark-check" | "bookmark-minus" | "bookmark-plus" | "bookmark-x" | "boom-box" | "bot" | "bot-message-square" | "bot-off" | "box" | "box-select" | "boxes" | "braces" | "brackets" | "brain" | "brain-circuit" | "brain-cog" | "brick-wall" | "briefcase" | "briefcase-business" | "briefcase-conveyor-belt" | "briefcase-medical" | "bring-to-front" | "brush" | "bug" | "bug-off" | "bug-play" | "building" | "building-2" | "bus" | "bus-front" | "cable" | "cable-car" | "cake" | "cake-slice" | "calculator" | "calendar" | "calendar-1" | "calendar-arrow-down" | "calendar-arrow-up" | "calendar-check" | "calendar-check-2" | "calendar-clock" | "calendar-cog" | "calendar-days" | "calendar-fold" | "calendar-heart" | "calendar-minus" | "calendar-minus-2" | "calendar-off" | "calendar-plus" | "calendar-plus-2" | "calendar-range" | "calendar-search" | "calendar-sync" | "calendar-x" | "calendar-x-2" | "camera" | "camera-off" | "candlestick-chart" | "candy" | "candy-cane" | "candy-off" | "cannabis" | "captions" | "captions-off" | "car" | "car-front" | "car-taxi-front" | "caravan" | "carrot" | "case-lower" | "case-sensitive" | "case-upper" | "cassette-tape" | "cast" | "castle" | "cat" | "cctv" | "chart-area" | "chart-bar" | "chart-bar-big" | "chart-bar-decreasing" | "chart-bar-increasing" | "chart-bar-stacked" | "chart-candlestick" | "chart-column" | "chart-column-big" | "chart-column-decreasing" | "chart-column-increasing" | "chart-column-stacked" | "chart-gantt" | "chart-line" | "chart-network" | "chart-no-axes-column" | "chart-no-axes-column-decreasing" | "chart-no-axes-column-increasing" | "chart-no-axes-combined" | "chart-no-axes-gantt" | "chart-pie" | "chart-scatter" | "chart-spline" | "check" | "check-check" | "check-circle" | "check-circle-2" | "check-square" | "check-square-2" | "chef-hat" | "cherry" | "chevron-down" | "chevron-down-circle" | "chevron-down-square" | "chevron-first" | "chevron-last" | "chevron-left" | "chevron-left-circle" | "chevron-left-square" | "chevron-right" | "chevron-right-circle" | "chevron-right-square" | "chevron-up" | "chevron-up-circle" | "chevron-up-square" | "chevrons-down" | "chevrons-down-up" | "chevrons-left" | "chevrons-left-right" | "chevrons-left-right-ellipsis" | "chevrons-right" | "chevrons-right-left" | "chevrons-up" | "chevrons-up-down" | "chrome" | "church" | "cigarette" | "cigarette-off" | "circle" | "circle-alert" | "circle-arrow-down" | "circle-arrow-left" | "circle-arrow-out-down-left" | "circle-arrow-out-down-right" | "circle-arrow-out-up-left" | "circle-arrow-out-up-right" | "circle-arrow-right" | "circle-arrow-up" | "circle-check" | "circle-check-big" | "circle-chevron-down" | "circle-chevron-left" | "circle-chevron-right" | "circle-chevron-up" | "circle-dashed" | "circle-divide" | "circle-dollar-sign" | "circle-dot" | "circle-dot-dashed" | "circle-ellipsis" | "circle-equal" | "circle-fading-arrow-up" | "circle-fading-plus" | "circle-gauge" | "circle-help" | "circle-minus" | "circle-off" | "circle-parking" | "circle-parking-off" | "circle-pause" | "circle-percent" | "circle-play" | "circle-plus" | "circle-power" | "circle-slash" | "circle-slash-2" | "circle-slashed" | "circle-small" | "circle-stop" | "circle-user" | "circle-user-round" | "circle-x" | "circuit-board" | "citrus" | "clapperboard" | "clipboard" | "clipboard-check" | "clipboard-copy" | "clipboard-edit" | "clipboard-list" | "clipboard-minus" | "clipboard-paste" | "clipboard-pen" | "clipboard-pen-line" | "clipboard-plus" | "clipboard-signature" | "clipboard-type" | "clipboard-x" | "clock" | "clock-1" | "clock-10" | "clock-11" | "clock-12" | "clock-2" | "clock-3" | "clock-4" | "clock-5" | "clock-6" | "clock-7" | "clock-8" | "clock-9" | "clock-alert" | "clock-arrow-down" | "clock-arrow-up" | "clock-fading" | "cloud" | "cloud-alert" | "cloud-cog" | "cloud-download" | "cloud-drizzle" | "cloud-fog" | "cloud-hail" | "cloud-lightning" | "cloud-moon" | "cloud-moon-rain" | "cloud-off" | "cloud-rain" | "cloud-rain-wind" | "cloud-snow" | "cloud-sun" | "cloud-sun-rain" | "cloud-upload" | "cloudy" | "clover" | "club" | "code" | "code-2" | "code-square" | "code-xml" | "codepen" | "codesandbox" | "coffee" | "cog" | "coins" | "columns" | "columns-2" | "columns-3" | "columns-4" | "combine" | "command" | "compass" | "component" | "computer" | "concierge-bell" | "cone" | "construction" | "contact" | "contact-2" | "contact-round" | "container" | "contrast" | "cookie" | "cooking-pot" | "copy" | "copy-check" | "copy-minus" | "copy-plus" | "copy-slash" | "copy-x" | "copyleft" | "copyright" | "corner-down-left" | "corner-down-right" | "corner-left-down" | "corner-left-up" | "corner-right-down" | "corner-right-up" | "corner-up-left" | "corner-up-right" | "cpu" | "creative-commons" | "credit-card" | "croissant" | "crop" | "cross" | "crosshair" | "crown" | "cuboid" | "cup-soda" | "curly-braces" | "currency" | "cylinder" | "dam" | "database" | "database-backup" | "database-zap" | "delete" | "dessert" | "diameter" | "diamond" | "diamond-minus" | "diamond-percent" | "diamond-plus" | "dice-1" | "dice-2" | "dice-3" | "dice-4" | "dice-5" | "dice-6" | "dices" | "diff" | "disc" | "disc-2" | "disc-3" | "disc-album" | "divide" | "divide-circle" | "divide-square" | "dna" | "dna-off" | "dock" | "dog" | "dollar-sign" | "donut" | "door-closed" | "door-open" | "dot" | "dot-square" | "download" | "download-cloud" | "drafting-compass" | "drama" | "dribbble" | "drill" | "droplet" | "droplet-off" | "droplets" | "drum" | "drumstick" | "dumbbell" | "ear" | "ear-off" | "earth" | "earth-lock" | "eclipse" | "edit" | "edit-2" | "edit-3" | "egg" | "egg-fried" | "egg-off" | "ellipsis" | "ellipsis-vertical" | "equal" | "equal-approximately" | "equal-not" | "equal-square" | "eraser" | "ethernet-port" | "euro" | "expand" | "external-link" | "eye" | "eye-closed" | "eye-off" | "facebook" | "factory" | "fan" | "fast-forward" | "feather" | "fence" | "ferris-wheel" | "figma" | "file" | "file-archive" | "file-audio" | "file-audio-2" | "file-axis-3-d" | "file-axis-3d" | "file-badge" | "file-badge-2" | "file-bar-chart" | "file-bar-chart-2" | "file-box" | "file-chart-column" | "file-chart-column-increasing" | "file-chart-line" | "file-chart-pie" | "file-check" | "file-check-2" | "file-clock" | "file-code" | "file-code-2" | "file-cog" | "file-cog-2" | "file-diff" | "file-digit" | "file-down" | "file-edit" | "file-heart" | "file-image" | "file-input" | "file-json" | "file-json-2" | "file-key" | "file-key-2" | "file-line-chart" | "file-lock" | "file-lock-2" | "file-minus" | "file-minus-2" | "file-music" | "file-output" | "file-pen" | "file-pen-line" | "file-pie-chart" | "file-plus" | "file-plus-2" | "file-question" | "file-scan" | "file-search" | "file-search-2" | "file-signature" | "file-sliders" | "file-spreadsheet" | "file-stack" | "file-symlink" | "file-terminal" | "file-text" | "file-type" | "file-type-2" | "file-up" | "file-user" | "file-video" | "file-video-2" | "file-volume" | "file-volume-2" | "file-warning" | "file-x" | "file-x-2" | "files" | "film" | "filter" | "filter-x" | "fingerprint" | "fire-extinguisher" | "fish" | "fish-off" | "fish-symbol" | "flag" | "flag-off" | "flag-triangle-left" | "flag-triangle-right" | "flame" | "flame-kindling" | "flashlight" | "flashlight-off" | "flask-conical" | "flask-conical-off" | "flask-round" | "flip-horizontal" | "flip-horizontal-2" | "flip-vertical" | "flip-vertical-2" | "flower" | "flower-2" | "focus" | "fold-horizontal" | "fold-vertical" | "folder" | "folder-archive" | "folder-check" | "folder-clock" | "folder-closed" | "folder-code" | "folder-cog" | "folder-cog-2" | "folder-dot" | "folder-down" | "folder-edit" | "folder-git" | "folder-git-2" | "folder-heart" | "folder-input" | "folder-kanban" | "folder-key" | "folder-lock" | "folder-minus" | "folder-open" | "folder-open-dot" | "folder-output" | "folder-pen" | "folder-plus" | "folder-root" | "folder-search" | "folder-search-2" | "folder-symlink" | "folder-sync" | "folder-tree" | "folder-up" | "folder-x" | "folders" | "footprints" | "fork-knife" | "fork-knife-crossed" | "forklift" | "form-input" | "forward" | "frame" | "framer" | "frown" | "fuel" | "fullscreen" | "function-square" | "funnel" | "funnel-plus" | "funnel-x" | "gallery-horizontal" | "gallery-horizontal-end" | "gallery-thumbnails" | "gallery-vertical" | "gallery-vertical-end" | "gamepad" | "gamepad-2" | "gantt-chart" | "gantt-chart-square" | "gauge" | "gauge-circle" | "gavel" | "gem" | "ghost" | "gift" | "git-branch" | "git-branch-plus" | "git-commit" | "git-commit-horizontal" | "git-commit-vertical" | "git-compare" | "git-compare-arrows" | "git-fork" | "git-graph" | "git-merge" | "git-pull-request" | "git-pull-request-arrow" | "git-pull-request-closed" | "git-pull-request-create" | "git-pull-request-create-arrow" | "git-pull-request-draft" | "github" | "gitlab" | "glass-water" | "glasses" | "globe" | "globe-2" | "globe-lock" | "goal" | "grab" | "graduation-cap" | "grape" | "grid" | "grid-2-x-2" | "grid-2-x-2-check" | "grid-2-x-2-plus" | "grid-2-x-2-x" | "grid-2x2" | "grid-2x2-check" | "grid-2x2-plus" | "grid-2x2-x" | "grid-3-x-3" | "grid-3x3" | "grip" | "grip-horizontal" | "grip-vertical" | "group" | "guitar" | "ham" | "hammer" | "hand" | "hand-coins" | "hand-heart" | "hand-helping" | "hand-metal" | "hand-platter" | "handshake" | "hard-drive" | "hard-drive-download" | "hard-drive-upload" | "hard-hat" | "hash" | "haze" | "hdmi-port" | "heading" | "heading-1" | "heading-2" | "heading-3" | "heading-4" | "heading-5" | "heading-6" | "headphone-off" | "headphones" | "headset" | "heart" | "heart-crack" | "heart-handshake" | "heart-off" | "heart-pulse" | "heater" | "help-circle" | "helping-hand" | "hexagon" | "highlighter" | "history" | "home" | "hop" | "hop-off" | "hospital" | "hotel" | "hourglass" | "house" | "house-plug" | "house-plus" | "house-wifi" | "ice-cream" | "ice-cream-2" | "ice-cream-bowl" | "ice-cream-cone" | "id-card" | "image" | "image-down" | "image-minus" | "image-off" | "image-play" | "image-plus" | "image-up" | "image-upscale" | "images" | "import" | "inbox" | "indent" | "indent-decrease" | "indent-increase" | "indian-rupee" | "infinity" | "info" | "inspect" | "inspection-panel" | "instagram" | "italic" | "iteration-ccw" | "iteration-cw" | "japanese-yen" | "joystick" | "kanban" | "kanban-square" | "kanban-square-dashed" | "key" | "key-round" | "key-square" | "keyboard" | "keyboard-music" | "keyboard-off" | "lamp" | "lamp-ceiling" | "lamp-desk" | "lamp-floor" | "lamp-wall-down" | "lamp-wall-up" | "land-plot" | "landmark" | "languages" | "laptop" | "laptop-2" | "laptop-minimal" | "laptop-minimal-check" | "lasso" | "lasso-select" | "laugh" | "layers" | "layers-2" | "layers-3" | "layout" | "layout-dashboard" | "layout-grid" | "layout-list" | "layout-panel-left" | "layout-panel-top" | "layout-template" | "leaf" | "leafy-green" | "lectern" | "letter-text" | "library" | "library-big" | "library-square" | "life-buoy" | "ligature" | "lightbulb" | "lightbulb-off" | "line-chart" | "link" | "link-2" | "link-2-off" | "linkedin" | "list" | "list-check" | "list-checks" | "list-collapse" | "list-end" | "list-filter" | "list-filter-plus" | "list-minus" | "list-music" | "list-ordered" | "list-plus" | "list-restart" | "list-start" | "list-todo" | "list-tree" | "list-video" | "list-x" | "loader" | "loader-2" | "loader-circle" | "loader-pinwheel" | "locate" | "locate-fixed" | "locate-off" | "lock" | "lock-keyhole" | "lock-keyhole-open" | "lock-open" | "log-in" | "log-out" | "logs" | "lollipop" | "luggage" | "m-square" | "magnet" | "mail" | "mail-check" | "mail-minus" | "mail-open" | "mail-plus" | "mail-question" | "mail-search" | "mail-warning" | "mail-x" | "mailbox" | "mails" | "map" | "map-pin" | "map-pin-check" | "map-pin-check-inside" | "map-pin-house" | "map-pin-minus" | "map-pin-minus-inside" | "map-pin-off" | "map-pin-plus" | "map-pin-plus-inside" | "map-pin-x" | "map-pin-x-inside" | "map-pinned" | "map-plus" | "mars" | "mars-stroke" | "martini" | "maximize" | "maximize-2" | "medal" | "megaphone" | "megaphone-off" | "meh" | "memory-stick" | "menu" | "menu-square" | "merge" | "message-circle" | "message-circle-code" | "message-circle-dashed" | "message-circle-heart" | "message-circle-more" | "message-circle-off" | "message-circle-plus" | "message-circle-question" | "message-circle-reply" | "message-circle-warning" | "message-circle-x" | "message-square" | "message-square-code" | "message-square-dashed" | "message-square-diff" | "message-square-dot" | "message-square-heart" | "message-square-lock" | "message-square-more" | "message-square-off" | "message-square-plus" | "message-square-quote" | "message-square-reply" | "message-square-share" | "message-square-text" | "message-square-warning" | "message-square-x" | "messages-square" | "mic" | "mic-2" | "mic-off" | "mic-vocal" | "microchip" | "microscope" | "microwave" | "milestone" | "milk" | "milk-off" | "minimize" | "minimize-2" | "minus" | "minus-circle" | "minus-square" | "monitor" | "monitor-check" | "monitor-cog" | "monitor-dot" | "monitor-down" | "monitor-off" | "monitor-pause" | "monitor-play" | "monitor-smartphone" | "monitor-speaker" | "monitor-stop" | "monitor-up" | "monitor-x" | "moon" | "moon-star" | "more-horizontal" | "more-vertical" | "mountain" | "mountain-snow" | "mouse" | "mouse-off" | "mouse-pointer" | "mouse-pointer-2" | "mouse-pointer-ban" | "mouse-pointer-click" | "mouse-pointer-square-dashed" | "move" | "move-3-d" | "move-3d" | "move-diagonal" | "move-diagonal-2" | "move-down" | "move-down-left" | "move-down-right" | "move-horizontal" | "move-left" | "move-right" | "move-up" | "move-up-left" | "move-up-right" | "move-vertical" | "music" | "music-2" | "music-3" | "music-4" | "navigation" | "navigation-2" | "navigation-2-off" | "navigation-off" | "network" | "newspaper" | "nfc" | "non-binary" | "notebook" | "notebook-pen" | "notebook-tabs" | "notebook-text" | "notepad-text" | "notepad-text-dashed" | "nut" | "nut-off" | "octagon" | "octagon-alert" | "octagon-minus" | "octagon-pause" | "octagon-x" | "omega" | "option" | "orbit" | "origami" | "outdent" | "package" | "package-2" | "package-check" | "package-minus" | "package-open" | "package-plus" | "package-search" | "package-x" | "paint-bucket" | "paint-roller" | "paintbrush" | "paintbrush-2" | "paintbrush-vertical" | "palette" | "palmtree" | "panel-bottom" | "panel-bottom-close" | "panel-bottom-dashed" | "panel-bottom-inactive" | "panel-bottom-open" | "panel-left" | "panel-left-close" | "panel-left-dashed" | "panel-left-inactive" | "panel-left-open" | "panel-right" | "panel-right-close" | "panel-right-dashed" | "panel-right-inactive" | "panel-right-open" | "panel-top" | "panel-top-close" | "panel-top-dashed" | "panel-top-inactive" | "panel-top-open" | "panels-left-bottom" | "panels-left-right" | "panels-right-bottom" | "panels-top-bottom" | "panels-top-left" | "paperclip" | "parentheses" | "parking-circle" | "parking-circle-off" | "parking-meter" | "parking-square" | "parking-square-off" | "party-popper" | "pause" | "pause-circle" | "pause-octagon" | "paw-print" | "pc-case" | "pen" | "pen-box" | "pen-line" | "pen-off" | "pen-square" | "pen-tool" | "pencil" | "pencil-line" | "pencil-off" | "pencil-ruler" | "pentagon" | "percent" | "percent-circle" | "percent-diamond" | "percent-square" | "person-standing" | "philippine-peso" | "phone" | "phone-call" | "phone-forwarded" | "phone-incoming" | "phone-missed" | "phone-off" | "phone-outgoing" | "pi" | "pi-square" | "piano" | "pickaxe" | "picture-in-picture" | "picture-in-picture-2" | "pie-chart" | "piggy-bank" | "pilcrow" | "pilcrow-left" | "pilcrow-right" | "pilcrow-square" | "pill" | "pill-bottle" | "pin" | "pin-off" | "pipette" | "pizza" | "plane" | "plane-landing" | "plane-takeoff" | "play" | "play-circle" | "play-square" | "plug" | "plug-2" | "plug-zap" | "plug-zap-2" | "plus" | "plus-circle" | "plus-square" | "pocket" | "pocket-knife" | "podcast" | "pointer" | "pointer-off" | "popcorn" | "popsicle" | "pound-sterling" | "power" | "power-circle" | "power-off" | "power-square" | "presentation" | "printer" | "printer-check" | "projector" | "proportions" | "puzzle" | "pyramid" | "qr-code" | "quote" | "rabbit" | "radar" | "radiation" | "radical" | "radio" | "radio-receiver" | "radio-tower" | "radius" | "rail-symbol" | "rainbow" | "rat" | "ratio" | "receipt" | "receipt-cent" | "receipt-euro" | "receipt-indian-rupee" | "receipt-japanese-yen" | "receipt-pound-sterling" | "receipt-russian-ruble" | "receipt-swiss-franc" | "receipt-text" | "rectangle-ellipsis" | "rectangle-horizontal" | "rectangle-vertical" | "recycle" | "redo" | "redo-2" | "redo-dot" | "refresh-ccw" | "refresh-ccw-dot" | "refresh-cw" | "refresh-cw-off" | "refrigerator" | "regex" | "remove-formatting" | "repeat" | "repeat-1" | "repeat-2" | "replace" | "replace-all" | "reply" | "reply-all" | "rewind" | "ribbon" | "rocket" | "rocking-chair" | "roller-coaster" | "rotate-3-d" | "rotate-3d" | "rotate-ccw" | "rotate-ccw-square" | "rotate-cw" | "rotate-cw-square" | "route" | "route-off" | "router" | "rows" | "rows-2" | "rows-3" | "rows-4" | "rss" | "ruler" | "russian-ruble" | "sailboat" | "salad" | "sandwich" | "satellite" | "satellite-dish" | "saudi-riyal" | "save" | "save-all" | "save-off" | "scale" | "scale-3-d" | "scale-3d" | "scaling" | "scan" | "scan-barcode" | "scan-eye" | "scan-face" | "scan-heart" | "scan-line" | "scan-qr-code" | "scan-search" | "scan-text" | "scatter-chart" | "school" | "school-2" | "scissors" | "scissors-line-dashed" | "scissors-square" | "scissors-square-dashed-bottom" | "screen-share" | "screen-share-off" | "scroll" | "scroll-text" | "search" | "search-check" | "search-code" | "search-slash" | "search-x" | "section" | "send" | "send-horizonal" | "send-horizontal" | "send-to-back" | "separator-horizontal" | "separator-vertical" | "server" | "server-cog" | "server-crash" | "server-off" | "settings" | "settings-2" | "shapes" | "share" | "share-2" | "sheet" | "shell" | "shield" | "shield-alert" | "shield-ban" | "shield-check" | "shield-close" | "shield-ellipsis" | "shield-half" | "shield-minus" | "shield-off" | "shield-plus" | "shield-question" | "shield-user" | "shield-x" | "ship" | "ship-wheel" | "shirt" | "shopping-bag" | "shopping-basket" | "shopping-cart" | "shovel" | "shower-head" | "shrimp" | "shrink" | "shrub" | "shuffle" | "sidebar" | "sidebar-close" | "sidebar-open" | "sigma" | "sigma-square" | "signal" | "signal-high" | "signal-low" | "signal-medium" | "signal-zero" | "signature" | "signpost" | "signpost-big" | "siren" | "skip-back" | "skip-forward" | "skull" | "slack" | "slash" | "slash-square" | "slice" | "sliders" | "sliders-horizontal" | "sliders-vertical" | "smartphone" | "smartphone-charging" | "smartphone-nfc" | "smile" | "smile-plus" | "snail" | "snowflake" | "sofa" | "sort-asc" | "sort-desc" | "soup" | "space" | "spade" | "sparkle" | "sparkles" | "speaker" | "speech" | "spell-check" | "spell-check-2" | "spline" | "spline-pointer" | "split" | "split-square-horizontal" | "split-square-vertical" | "spray-can" | "sprout" | "square" | "square-activity" | "square-arrow-down" | "square-arrow-down-left" | "square-arrow-down-right" | "square-arrow-left" | "square-arrow-out-down-left" | "square-arrow-out-down-right" | "square-arrow-out-up-left" | "square-arrow-out-up-right" | "square-arrow-right" | "square-arrow-up" | "square-arrow-up-left" | "square-arrow-up-right" | "square-asterisk" | "square-bottom-dashed-scissors" | "square-chart-gantt" | "square-check" | "square-check-big" | "square-chevron-down" | "square-chevron-left" | "square-chevron-right" | "square-chevron-up" | "square-code" | "square-dashed" | "square-dashed-bottom" | "square-dashed-bottom-code" | "square-dashed-kanban" | "square-dashed-mouse-pointer" | "square-divide" | "square-dot" | "square-equal" | "square-function" | "square-gantt-chart" | "square-kanban" | "square-library" | "square-m" | "square-menu" | "square-minus" | "square-mouse-pointer" | "square-parking" | "square-parking-off" | "square-pen" | "square-percent" | "square-pi" | "square-pilcrow" | "square-play" | "square-plus" | "square-power" | "square-radical" | "square-round-corner" | "square-scissors" | "square-sigma" | "square-slash" | "square-split-horizontal" | "square-split-vertical" | "square-square" | "square-stack" | "square-terminal" | "square-user" | "square-user-round" | "square-x" | "squircle" | "squirrel" | "stamp" | "star" | "star-half" | "star-off" | "stars" | "step-back" | "step-forward" | "stethoscope" | "sticker" | "sticky-note" | "stop-circle" | "store" | "stretch-horizontal" | "stretch-vertical" | "strikethrough" | "subscript" | "subtitles" | "sun" | "sun-dim" | "sun-medium" | "sun-moon" | "sun-snow" | "sunrise" | "sunset" | "superscript" | "swatch-book" | "swiss-franc" | "switch-camera" | "sword" | "swords" | "syringe" | "table" | "table-2" | "table-cells-merge" | "table-cells-split" | "table-columns-split" | "table-of-contents" | "table-properties" | "table-rows-split" | "tablet" | "tablet-smartphone" | "tablets" | "tag" | "tags" | "tally-1" | "tally-2" | "tally-3" | "tally-4" | "tally-5" | "tangent" | "target" | "telescope" | "tent" | "tent-tree" | "terminal" | "terminal-square" | "test-tube" | "test-tube-2" | "test-tube-diagonal" | "test-tubes" | "text" | "text-cursor" | "text-cursor-input" | "text-quote" | "text-search" | "text-select" | "text-selection" | "theater" | "thermometer" | "thermometer-snowflake" | "thermometer-sun" | "thumbs-down" | "thumbs-up" | "ticket" | "ticket-check" | "ticket-minus" | "ticket-percent" | "ticket-plus" | "ticket-slash" | "ticket-x" | "tickets" | "tickets-plane" | "timer" | "timer-off" | "timer-reset" | "toggle-left" | "toggle-right" | "toilet" | "tornado" | "torus" | "touchpad" | "touchpad-off" | "tower-control" | "toy-brick" | "tractor" | "traffic-cone" | "train" | "train-front" | "train-front-tunnel" | "train-track" | "tram-front" | "transgender" | "trash" | "trash-2" | "tree-deciduous" | "tree-palm" | "tree-pine" | "trees" | "trello" | "trending-down" | "trending-up" | "trending-up-down" | "triangle" | "triangle-alert" | "triangle-dashed" | "triangle-right" | "trophy" | "truck" | "turtle" | "tv" | "tv-2" | "tv-minimal" | "tv-minimal-play" | "twitch" | "twitter" | "type" | "type-outline" | "umbrella" | "umbrella-off" | "underline" | "undo" | "undo-2" | "undo-dot" | "unfold-horizontal" | "unfold-vertical" | "ungroup" | "university" | "unlink" | "unlink-2" | "unlock" | "unlock-keyhole" | "unplug" | "upload" | "upload-cloud" | "usb" | "user" | "user-2" | "user-check" | "user-check-2" | "user-circle" | "user-circle-2" | "user-cog" | "user-cog-2" | "user-minus" | "user-minus-2" | "user-pen" | "user-plus" | "user-plus-2" | "user-round" | "user-round-check" | "user-round-cog" | "user-round-minus" | "user-round-pen" | "user-round-plus" | "user-round-search" | "user-round-x" | "user-search" | "user-square" | "user-square-2" | "user-x" | "user-x-2" | "users" | "users-2" | "users-round" | "utensils" | "utensils-crossed" | "utility-pole" | "variable" | "vault" | "vegan" | "venetian-mask" | "venus" | "venus-and-mars" | "verified" | "vibrate" | "vibrate-off" | "video" | "video-off" | "videotape" | "view" | "voicemail" | "volleyball" | "volume" | "volume-1" | "volume-2" | "volume-off" | "volume-x" | "vote" | "wallet" | "wallet-2" | "wallet-cards" | "wallet-minimal" | "wallpaper" | "wand" | "wand-2" | "wand-sparkles" | "warehouse" | "washing-machine" | "watch" | "waves" | "waves-ladder" | "waypoints" | "webcam" | "webhook" | "webhook-off" | "weight" | "wheat" | "wheat-off" | "whole-word" | "wifi" | "wifi-high" | "wifi-low" | "wifi-off" | "wifi-zero" | "wind" | "wind-arrow-down" | "wine" | "wine-off" | "workflow" | "worm" | "wrap-text" | "wrench" | "x" | "x-circle" | "x-octagon" | "x-square" | "youtube" | "zap" | "zap-off" | "zoom-in" | "zoom-out";
321
-
322
- declare type InputSidebarItem = z.infer<typeof InputSidebarItemDocSchema> | z.infer<typeof InputSidebarItemLinkSchema> | z.infer<typeof InputSidebarItemCategorySchema>;
323
-
324
- declare type InputSidebarItemCategory = z.infer<typeof BaseInputSidebarItemCategorySchema> & {
325
- items: InputSidebarItem[];
326
- };
327
-
328
- declare const InputSidebarItemCategorySchema: z.ZodType<InputSidebarItemCategory>;
329
-
330
- declare const InputSidebarItemDocSchema: z.ZodUnion<[z.ZodObject<{
331
- type: z.ZodLiteral<"doc">;
332
- id: z.ZodString;
333
- icon: z.ZodOptional<z.ZodType<IconNames, z.ZodTypeDef, IconNames>>;
334
- label: z.ZodOptional<z.ZodString>;
335
- badge: z.ZodOptional<z.ZodObject<{
336
- label: z.ZodString;
337
- color: z.ZodEnum<["green", "blue", "yellow", "red", "purple", "indigo", "gray", "outline"]>;
338
- placement: z.ZodOptional<z.ZodEnum<["start", "end"]>>;
339
- invert: z.ZodOptional<z.ZodBoolean>;
340
- }, "strip", z.ZodTypeAny, {
341
- label: string;
342
- color: "green" | "blue" | "yellow" | "red" | "purple" | "indigo" | "gray" | "outline";
343
- placement?: "start" | "end" | undefined;
344
- invert?: boolean | undefined;
345
- }, {
346
- label: string;
347
- color: "green" | "blue" | "yellow" | "red" | "purple" | "indigo" | "gray" | "outline";
348
- placement?: "start" | "end" | undefined;
349
- invert?: boolean | undefined;
350
- }>>;
351
- }, "strip", z.ZodTypeAny, {
352
- type: "doc";
353
- id: string;
354
- badge?: {
355
- label: string;
356
- color: "green" | "blue" | "yellow" | "red" | "purple" | "indigo" | "gray" | "outline";
357
- placement?: "start" | "end" | undefined;
358
- invert?: boolean | undefined;
359
- } | undefined;
360
- label?: string | undefined;
361
- icon?: IconNames | undefined;
362
- }, {
363
- type: "doc";
364
- id: string;
365
- badge?: {
366
- label: string;
367
- color: "green" | "blue" | "yellow" | "red" | "purple" | "indigo" | "gray" | "outline";
368
- placement?: "start" | "end" | undefined;
369
- invert?: boolean | undefined;
370
- } | undefined;
371
- label?: string | undefined;
372
- icon?: IconNames | undefined;
373
- }>, z.ZodString]>;
374
-
375
- declare type InputSidebarItemLink = z.infer<typeof InputSidebarItemLinkSchema>;
376
-
377
- declare const InputSidebarItemLinkSchema: z.ZodObject<{
378
- type: z.ZodLiteral<"link">;
379
- label: z.ZodString;
380
- href: z.ZodString;
381
- description: z.ZodOptional<z.ZodString>;
382
- badge: z.ZodOptional<z.ZodObject<{
383
- label: z.ZodString;
384
- color: z.ZodEnum<["green", "blue", "yellow", "red", "purple", "indigo", "gray", "outline"]>;
385
- placement: z.ZodOptional<z.ZodEnum<["start", "end"]>>;
386
- invert: z.ZodOptional<z.ZodBoolean>;
387
- }, "strip", z.ZodTypeAny, {
388
- label: string;
389
- color: "green" | "blue" | "yellow" | "red" | "purple" | "indigo" | "gray" | "outline";
390
- placement?: "start" | "end" | undefined;
391
- invert?: boolean | undefined;
392
- }, {
393
- label: string;
394
- color: "green" | "blue" | "yellow" | "red" | "purple" | "indigo" | "gray" | "outline";
395
- placement?: "start" | "end" | undefined;
396
- invert?: boolean | undefined;
397
- }>>;
398
- }, "strip", z.ZodTypeAny, {
399
- type: "link";
400
- label: string;
401
- href: string;
402
- description?: string | undefined;
403
- badge?: {
404
- label: string;
405
- color: "green" | "blue" | "yellow" | "red" | "purple" | "indigo" | "gray" | "outline";
406
- placement?: "start" | "end" | undefined;
407
- invert?: boolean | undefined;
408
- } | undefined;
409
- }, {
410
- type: "link";
411
- label: string;
412
- href: string;
413
- description?: string | undefined;
414
- badge?: {
415
- label: string;
416
- color: "green" | "blue" | "yellow" | "red" | "purple" | "indigo" | "gray" | "outline";
417
- placement?: "start" | "end" | undefined;
418
- invert?: boolean | undefined;
419
- } | undefined;
420
- }>;
421
-
422
- declare type MdxComponentsType = Readonly<MDXComponents> | null | undefined;
423
-
424
- declare type Metadata = Partial<{
425
- title: string;
426
- description: string;
427
- logo: string;
428
- favicon: string;
429
- generator: string;
430
- applicationName: string;
431
- referrer: string;
432
- keywords: string[];
433
- authors: string[];
434
- creator: string;
435
- publisher: string;
436
- }>;
437
-
438
- declare interface NavigationPlugin {
439
- getRoutes: () => RouteObject[];
440
- getSidebar?: (path: string, context: ZudokuContext) => Promise<Sidebar>;
441
- getProtectedRoutes?: () => string[];
442
- }
443
-
444
- declare type Page = Partial<{
445
- dir?: "ltr" | "rtl";
446
- showPoweredBy?: boolean;
447
- pageTitle?: string;
448
- logo?: {
449
- src: {
450
- light: string;
451
- dark: string;
452
- };
453
- width?: string | number;
454
- alt?: string;
455
- };
456
- banner?: {
457
- message: ReactNode;
458
- color?: "note" | "tip" | "info" | "caution" | "danger" | (string & {});
459
- dismissible?: boolean;
460
- };
461
- footer?: z.infer<typeof FooterSchema>;
462
- }>;
463
-
464
- declare interface ProfileMenuPlugin {
465
- getProfileMenuItems: (context: ZudokuContext) => ProfileNavigationItem[];
466
- }
467
-
468
- declare type ProfileNavigationItem = {
469
- label: string;
470
- path?: string;
471
- weight?: number;
472
- category?: "top" | "middle" | "bottom";
473
- children?: ProfileNavigationItem[];
474
- icon?: LucideIcon;
475
- };
476
-
477
- declare interface SearchProviderPlugin {
478
- renderSearch: (o: {
479
- isOpen: boolean;
480
- onClose: () => void;
481
- }) => React.JSX.Element | null;
482
- }
483
-
484
- declare type Sidebar = SidebarItem[];
485
-
486
- declare type SidebarConfig = Record<string, Sidebar>;
487
-
488
- declare type SidebarItem = SidebarItemDoc | SidebarItemLink | SidebarItemCategory;
489
-
490
- declare type SidebarItemCategory = Omit<InputSidebarItemCategory, "items" | "link" | "icon"> & {
491
- items: SidebarItem[];
492
- link?: SidebarItemCategoryLinkDoc;
493
- icon?: LucideIcon | string;
494
- };
495
-
496
- declare type SidebarItemCategoryLinkDoc = BaseInputSidebarItemCategoryLinkDoc & {
497
- label: string;
498
- icon?: LucideIcon | string;
499
- };
500
-
501
- declare type SidebarItemDoc = Omit<BaseInputSidebarItemDoc, "icon"> & {
502
- label: string;
503
- categoryLabel?: string;
504
- icon?: LucideIcon | string;
505
- };
506
-
507
- declare type SidebarItemLink = InputSidebarItemLink & {
508
- icon?: LucideIcon | string;
509
- };
510
-
511
- declare type SlotType = ReactNode | ComponentType<ExposedComponentProps>;
512
-
513
- declare type TopNavigationItem = z.infer<typeof TopNavigationItemSchema>;
514
-
515
- declare const TopNavigationItemSchema: z.ZodObject<{
516
- label: z.ZodString;
517
- id: z.ZodString;
518
- default: z.ZodOptional<z.ZodString>;
519
- display: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auth", "anon", "always", "hide"]>>>;
520
- }, "strip", z.ZodTypeAny, {
521
- id: string;
522
- label: string;
523
- default?: string | undefined;
524
- display?: "auth" | "anon" | "always" | "hide" | undefined;
525
- }, {
526
- id: string;
527
- label: string;
528
- default?: string | undefined;
529
- display?: "auth" | "anon" | "always" | "hide" | undefined;
530
- }>;
531
-
532
- export declare const useAuth: () => {
533
- login: () => Promise<void>;
534
- logout: () => Promise<void>;
535
- signup: () => Promise<void>;
536
- isAuthenticated: boolean;
537
- isPending: boolean;
538
- profile: UserProfile | null;
539
- providerData: unknown;
540
- isAuthEnabled: boolean;
541
- };
542
-
543
- export declare const useCache: () => {
544
- invalidateCache: (key: keyof typeof CACHE_KEYS) => Promise<void>;
545
- };
546
-
547
- export declare const useEvent: typeof useEvent_2;
548
-
549
- /**
550
- * Hook to subscribe to Zudoku events with automatic cleanup
551
- * @param event The event to subscribe to
552
- * @param callback Optional callback to be called when the event is emitted
553
- * @returns The latest event data if no callback is provided, or the callback's return value if it returns something
554
- */
555
- declare function useEvent_2<E extends keyof ZudokuEvents>(event: E): EventParameters<E>;
556
-
557
- declare function useEvent_2<E extends keyof ZudokuEvents, R>(event: E, callback: (...args: EventParameters<E>) => R): R;
558
-
559
- export declare const useExposedProps: () => ExposedComponentProps;
560
-
561
- export declare const useMDXComponents: typeof useMDXComponents_2;
562
-
563
- declare interface UserProfile {
564
- sub: string;
565
- email: string | undefined;
566
- emailVerified: boolean;
567
- name: string | undefined;
568
- pictureUrl: string | undefined;
569
- [key: string]: string | boolean | undefined;
570
- }
571
-
572
- export declare const useTheme: () => UseThemeProps;
573
-
574
- export declare const useZudoku: () => ZudokuContext;
575
-
576
- declare class ZudokuContext {
577
- plugins: NonNullable<ZudokuContextOptions["plugins"]>;
578
- sidebars: SidebarConfig;
579
- topNavigation: NonNullable<ZudokuContextOptions["topNavigation"]>;
580
- meta: ZudokuContextOptions["metadata"];
581
- page: ZudokuContextOptions["page"];
582
- readonly authentication?: ZudokuContextOptions["authentication"];
583
- readonly queryClient: QueryClient;
584
- readonly options: ZudokuContextOptions;
585
- private readonly navigationPlugins;
586
- private emitter;
587
- constructor(options: ZudokuContextOptions, queryClient: QueryClient);
588
- initialize: () => Promise<void>;
589
- getApiIdentities: () => Promise<ApiIdentity[]>;
590
- addEventListener<E extends keyof ZudokuEvents>(event: E, callback: ZudokuEvents[E]): Unsubscribe;
591
- emitEvent: <E extends keyof ZudokuEvents>(event: E, ...data: Parameters<ZudokuEvents[E]>) => void;
592
- getPluginSidebar: (path: string) => Promise<SidebarItem[]>;
593
- signRequest: (request: Request) => Promise<Request>;
594
- }
595
-
596
- declare type ZudokuContextOptions = {
597
- basePath?: string;
598
- canonicalUrlOrigin?: string;
599
- metadata?: Metadata;
600
- page?: Page;
601
- authentication?: AuthenticationPlugin;
602
- topNavigation?: TopNavigationItem[];
603
- sidebars?: SidebarConfig;
604
- plugins?: ZudokuPlugin[];
605
- slots?: Record<string, SlotType>;
606
- /**
607
- * @deprecated Use `slots` instead
608
- */
609
- UNSAFE_slotlets?: Record<string, SlotType>;
610
- mdx?: {
611
- components?: MdxComponentsType;
612
- };
613
- overrides?: ComponentsContextType;
614
- protectedRoutes?: string[];
615
- syntaxHighlighting?: {
616
- highlighter: HighlighterCore;
617
- themes?: {
618
- light: BundledTheme;
619
- dark: BundledTheme;
620
- };
621
- };
622
- };
623
-
624
- declare interface ZudokuEvents {
625
- location: (event: {
626
- from?: Location_2;
627
- to: Location_2;
628
- }) => void;
629
- auth: (auth: {
630
- prev: AuthState;
631
- next: AuthState;
632
- }) => void;
633
- }
634
-
635
- declare type ZudokuPlugin = CommonPlugin | ProfileMenuPlugin | NavigationPlugin | ApiIdentityPlugin | SearchProviderPlugin | EventConsumerPlugin | AuthenticationPlugin;
636
-
637
- export { }
1
+ import { useMDXComponents as useMDXComponentsImport } from "@mdx-js/react";
2
+ import { CACHE_KEYS } from "../components/cache.js";
3
+ import { useEvent as useEventImport } from "./useEvent.js";
4
+ export declare const useEvent: typeof useEventImport;
5
+ export declare const useTheme: () => import("next-themes").UseThemeProps;
6
+ export declare const useExposedProps: () => import("../util/useExposedProps.js").ExposedComponentProps;
7
+ export declare const useMDXComponents: typeof useMDXComponentsImport;
8
+ export declare const useAuth: () => {
9
+ login: () => Promise<void>;
10
+ logout: () => Promise<void>;
11
+ signup: () => Promise<void>;
12
+ isAuthenticated: boolean;
13
+ isPending: boolean;
14
+ profile: import("../authentication/state.js").UserProfile | null;
15
+ providerData: unknown;
16
+ isAuthEnabled: boolean;
17
+ };
18
+ export declare const useZudoku: () => import("../core/ZudokuContext.js").ZudokuContext;
19
+ export declare const useCache: () => {
20
+ invalidateCache: (key: keyof typeof CACHE_KEYS) => Promise<void>;
21
+ };
22
+ export { CACHE_KEYS };