@caffeinebounce/ui 0.62.3 → 0.63.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 (96) hide show
  1. package/README.md +1 -1
  2. package/dist/blog.js +7 -6
  3. package/dist/blog.mjs +2 -1
  4. package/dist/charts.d.cts +1 -1
  5. package/dist/charts.d.ts +1 -1
  6. package/dist/{chunk-6DVWMJ3H.mjs → chunk-2EFVMX6V.mjs} +3 -3
  7. package/dist/{chunk-6ZJCK6KH.js → chunk-375DECW4.js} +31 -31
  8. package/dist/{chunk-PZRI43EZ.js → chunk-46JYKBRX.js} +0 -43
  9. package/dist/chunk-5D55OVD5.js +75 -0
  10. package/dist/{chunk-JORVSG52.js → chunk-663CFAHS.js} +211 -269
  11. package/dist/chunk-6HKJDV43.mjs +48 -0
  12. package/dist/chunk-6NCRGHV3.mjs +64 -0
  13. package/dist/{chunk-OLAAXLXY.mjs → chunk-6QAKQG57.mjs} +4 -4
  14. package/dist/{chunk-N6AFNFZR.mjs → chunk-7ERVZXIN.mjs} +214 -270
  15. package/dist/chunk-APFEP5B7.mjs +100 -0
  16. package/dist/chunk-C3OADNSG.js +348 -0
  17. package/dist/{chunk-GIJQE3JR.js → chunk-DH5Z3ETN.js} +66 -45
  18. package/dist/chunk-DYWZ23QT.mjs +90 -0
  19. package/dist/{chunk-DTVWRRFN.mjs → chunk-E67IR6HU.mjs} +30 -9
  20. package/dist/{chunk-OVNLC5RD.mjs → chunk-EXQSWHLD.mjs} +6 -6
  21. package/dist/{chunk-ZOA7B32D.js → chunk-F35KL6TX.js} +9 -9
  22. package/dist/{chunk-YSLD2HLP.mjs → chunk-FFJC66KO.mjs} +1 -1
  23. package/dist/{chunk-MPZFPU4X.js → chunk-GMBLPQ3I.js} +3 -3
  24. package/dist/chunk-IJFPPLQW.js +50 -0
  25. package/dist/{chunk-BMFQG6RA.mjs → chunk-KJIX6V32.mjs} +107 -1885
  26. package/dist/chunk-LABHD4PU.js +109 -0
  27. package/dist/{chunk-GAIQJCAZ.js → chunk-LT5VD4KR.js} +149 -1953
  28. package/dist/{chunk-7DHKQODW.mjs → chunk-LTLCIRZY.mjs} +256 -474
  29. package/dist/chunk-N5BHXWR3.mjs +34 -0
  30. package/dist/chunk-OCO3Z5YA.js +37 -0
  31. package/dist/chunk-OIJ7XMDV.mjs +71 -0
  32. package/dist/chunk-ORBH4IBC.mjs +316 -0
  33. package/dist/chunk-OWWOAYIY.js +2652 -0
  34. package/dist/chunk-PFHOXDSW.mjs +10 -0
  35. package/dist/chunk-QRS7DJGS.js +103 -0
  36. package/dist/{chunk-NXPEJ2UR.mjs → chunk-R3X4B4JJ.mjs} +53 -6
  37. package/dist/chunk-RM7ACPTM.mjs +2601 -0
  38. package/dist/chunk-RODSGPBB.mjs +75 -0
  39. package/dist/{chunk-T6ZBA6VJ.js → chunk-UHAV34YX.js} +8 -8
  40. package/dist/{chunk-GUSTCU2W.mjs → chunk-ULANYJ7Y.mjs} +1 -59
  41. package/dist/chunk-ULDE7QSN.js +70 -0
  42. package/dist/chunk-UT36VNVZ.mjs +47 -0
  43. package/dist/chunk-UY3H4PKB.js +71 -0
  44. package/dist/{chunk-KB7UXIQZ.mjs → chunk-VIVWFQG5.mjs} +2 -1
  45. package/dist/{chunk-ESZ7CBA2.js → chunk-VKBJ3SGT.js} +6 -5
  46. package/dist/{chunk-UM7WMXIU.js → chunk-W3YOQ5ZD.js} +264 -505
  47. package/dist/{chunk-GHOFYK2E.js → chunk-XGJL6DLV.js} +55 -5
  48. package/dist/chunk-YRIBFIQ5.js +116 -0
  49. package/dist/chunk-ZWWJ3RRA.js +15 -0
  50. package/dist/data-grid.d.cts +241 -0
  51. package/dist/data-grid.d.ts +241 -0
  52. package/dist/data-grid.js +6486 -0
  53. package/dist/data-grid.mjs +6459 -0
  54. package/dist/data-table-CDQBo-Ve.d.ts +818 -0
  55. package/dist/data-table-jLzt6plY.d.cts +818 -0
  56. package/dist/data-table.d.cts +8 -42
  57. package/dist/data-table.d.ts +8 -42
  58. package/dist/data-table.js +61 -187
  59. package/dist/data-table.mjs +11 -5
  60. package/dist/finance.d.cts +534 -0
  61. package/dist/finance.d.ts +534 -0
  62. package/dist/finance.js +188 -0
  63. package/dist/finance.mjs +15 -0
  64. package/dist/forms.js +9 -6
  65. package/dist/forms.mjs +7 -4
  66. package/dist/{hooks-B2jU1GVT.d.ts → hooks-A55E0fgf.d.ts} +3 -2
  67. package/dist/{hooks-8ORd7T1A.d.cts → hooks-Bys_AZPI.d.cts} +3 -2
  68. package/dist/hooks.d.cts +1 -1
  69. package/dist/hooks.d.ts +1 -1
  70. package/dist/hooks.js +26 -23
  71. package/dist/hooks.mjs +6 -3
  72. package/dist/index.d.cts +536 -665
  73. package/dist/index.d.ts +536 -665
  74. package/dist/index.js +3829 -3408
  75. package/dist/index.mjs +2067 -1767
  76. package/dist/layouts.js +25 -25
  77. package/dist/layouts.mjs +4 -4
  78. package/dist/marketing.js +74 -74
  79. package/dist/marketing.mjs +4 -4
  80. package/dist/navigation.js +28 -28
  81. package/dist/navigation.mjs +6 -6
  82. package/dist/primitives.d.cts +72 -109
  83. package/dist/primitives.d.ts +72 -109
  84. package/dist/primitives.js +78 -72
  85. package/dist/primitives.mjs +8 -6
  86. package/dist/settings.js +9 -9
  87. package/dist/settings.mjs +4 -4
  88. package/package.json +17 -1
  89. package/dist/UnifiedTableControls-CG299y9h.d.ts +0 -1233
  90. package/dist/UnifiedTableControls-CIjRpNhy.d.cts +0 -1233
  91. package/dist/chunk-GMBGWOCR.mjs +0 -49
  92. package/dist/chunk-HBLKVQIQ.mjs +0 -23
  93. package/dist/chunk-HMAMMC72.js +0 -26
  94. package/dist/chunk-MVYRNJA6.js +0 -75
  95. /package/dist/{chunk-RVEFPVZF.mjs → chunk-C57MX3BG.mjs} +0 -0
  96. /package/dist/{chunk-C4UT5V3P.js → chunk-OWHI5VGJ.js} +0 -0
@@ -0,0 +1,348 @@
1
+ "use client";
2
+ 'use strict';
3
+
4
+ var chunkKGGQ5NZV_js = require('./chunk-KGGQ5NZV.js');
5
+ var chunk6TGV2DNP_js = require('./chunk-6TGV2DNP.js');
6
+ var chunkADIDI7AJ_js = require('./chunk-ADIDI7AJ.js');
7
+ var lucideReact = require('lucide-react');
8
+ var React = require('react');
9
+ var reactDayPicker = require('react-day-picker');
10
+ var jsxRuntime = require('react/jsx-runtime');
11
+ var cmdk = require('cmdk');
12
+
13
+ function _interopNamespace(e) {
14
+ if (e && e.__esModule) return e;
15
+ var n = Object.create(null);
16
+ if (e) {
17
+ Object.keys(e).forEach(function (k) {
18
+ if (k !== 'default') {
19
+ var d = Object.getOwnPropertyDescriptor(e, k);
20
+ Object.defineProperty(n, k, d.get ? d : {
21
+ enumerable: true,
22
+ get: function () { return e[k]; }
23
+ });
24
+ }
25
+ });
26
+ }
27
+ n.default = e;
28
+ return Object.freeze(n);
29
+ }
30
+
31
+ var React__namespace = /*#__PURE__*/_interopNamespace(React);
32
+
33
+ function Calendar({
34
+ className,
35
+ classNames,
36
+ showOutsideDays = true,
37
+ captionLayout = "label",
38
+ buttonVariant = "ghost",
39
+ formatters,
40
+ components,
41
+ ...props
42
+ }) {
43
+ const defaultClassNames = reactDayPicker.getDefaultClassNames();
44
+ return /* @__PURE__ */ jsxRuntime.jsx(
45
+ reactDayPicker.DayPicker,
46
+ {
47
+ showOutsideDays,
48
+ className: chunkADIDI7AJ_js.cn(
49
+ "group/calendar bg-background p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",
50
+ String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,
51
+ String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,
52
+ className
53
+ ),
54
+ captionLayout,
55
+ formatters: {
56
+ formatMonthDropdown: (date) => date.toLocaleString("default", { month: "short" }),
57
+ ...formatters
58
+ },
59
+ classNames: {
60
+ root: chunkADIDI7AJ_js.cn("w-fit", defaultClassNames.root),
61
+ months: chunkADIDI7AJ_js.cn(
62
+ "relative flex flex-col gap-4 md:flex-row",
63
+ defaultClassNames.months
64
+ ),
65
+ month: chunkADIDI7AJ_js.cn("flex w-full flex-col gap-4", defaultClassNames.month),
66
+ nav: chunkADIDI7AJ_js.cn(
67
+ "absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1",
68
+ defaultClassNames.nav
69
+ ),
70
+ button_previous: chunkADIDI7AJ_js.cn(
71
+ chunk6TGV2DNP_js.buttonVariants({ variant: buttonVariant }),
72
+ "size-(--cell-size) p-0 select-none aria-disabled:opacity-50",
73
+ defaultClassNames.button_previous
74
+ ),
75
+ button_next: chunkADIDI7AJ_js.cn(
76
+ chunk6TGV2DNP_js.buttonVariants({ variant: buttonVariant }),
77
+ "size-(--cell-size) p-0 select-none aria-disabled:opacity-50",
78
+ defaultClassNames.button_next
79
+ ),
80
+ month_caption: chunkADIDI7AJ_js.cn(
81
+ "flex h-(--cell-size) w-full items-center justify-center px-(--cell-size)",
82
+ defaultClassNames.month_caption
83
+ ),
84
+ dropdowns: chunkADIDI7AJ_js.cn(
85
+ "flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-sm font-medium",
86
+ defaultClassNames.dropdowns
87
+ ),
88
+ dropdown_root: chunkADIDI7AJ_js.cn(
89
+ "relative rounded-md border border-input shadow-xs has-focus:border-ring has-focus:ring-[3px] has-focus:ring-ring/50",
90
+ defaultClassNames.dropdown_root
91
+ ),
92
+ dropdown: chunkADIDI7AJ_js.cn(
93
+ "absolute inset-0 bg-popover opacity-0",
94
+ defaultClassNames.dropdown
95
+ ),
96
+ caption_label: chunkADIDI7AJ_js.cn(
97
+ "font-medium select-none",
98
+ captionLayout === "label" ? "text-sm" : "flex h-8 items-center gap-1 rounded-md pr-1 pl-2 text-sm [&>svg]:size-3.5 [&>svg]:text-muted-foreground",
99
+ defaultClassNames.caption_label
100
+ ),
101
+ month_grid: chunkADIDI7AJ_js.cn("w-full border-collapse", defaultClassNames.month_grid),
102
+ weekdays: chunkADIDI7AJ_js.cn("flex", defaultClassNames.weekdays),
103
+ weekday: chunkADIDI7AJ_js.cn(
104
+ "flex-1 rounded-md text-[0.8rem] font-normal text-muted-foreground select-none",
105
+ defaultClassNames.weekday
106
+ ),
107
+ week: chunkADIDI7AJ_js.cn("mt-2 flex w-full", defaultClassNames.week),
108
+ week_number_header: chunkADIDI7AJ_js.cn(
109
+ "w-(--cell-size) select-none",
110
+ defaultClassNames.week_number_header
111
+ ),
112
+ week_number: chunkADIDI7AJ_js.cn(
113
+ "text-[0.8rem] text-muted-foreground select-none",
114
+ defaultClassNames.week_number
115
+ ),
116
+ day: chunkADIDI7AJ_js.cn(
117
+ "group/day relative aspect-square h-full w-full p-0 text-center select-none [&:last-child[data-selected=true]_button]:rounded-r-md",
118
+ props.showWeekNumber ? "[&:nth-child(2)[data-selected=true]_button]:rounded-l-md" : "[&:first-child[data-selected=true]_button]:rounded-l-md",
119
+ defaultClassNames.day
120
+ ),
121
+ range_start: chunkADIDI7AJ_js.cn(
122
+ "rounded-l-md bg-accent",
123
+ defaultClassNames.range_start
124
+ ),
125
+ range_middle: chunkADIDI7AJ_js.cn("rounded-none", defaultClassNames.range_middle),
126
+ range_end: chunkADIDI7AJ_js.cn("rounded-r-md bg-accent", defaultClassNames.range_end),
127
+ today: chunkADIDI7AJ_js.cn(
128
+ "rounded-md bg-accent text-accent-foreground data-[selected=true]:rounded-none",
129
+ defaultClassNames.today
130
+ ),
131
+ outside: chunkADIDI7AJ_js.cn(
132
+ "text-muted-foreground aria-selected:text-muted-foreground",
133
+ defaultClassNames.outside
134
+ ),
135
+ disabled: chunkADIDI7AJ_js.cn(
136
+ "text-muted-foreground opacity-50",
137
+ defaultClassNames.disabled
138
+ ),
139
+ hidden: chunkADIDI7AJ_js.cn("invisible", defaultClassNames.hidden),
140
+ ...classNames
141
+ },
142
+ components: {
143
+ Root: ({ className: className2, rootRef, ...props2 }) => {
144
+ return /* @__PURE__ */ jsxRuntime.jsx(
145
+ "div",
146
+ {
147
+ "data-slot": "calendar",
148
+ ref: rootRef,
149
+ className: chunkADIDI7AJ_js.cn(className2),
150
+ ...props2
151
+ }
152
+ );
153
+ },
154
+ Chevron: ({ className: className2, orientation, ...props2 }) => {
155
+ if (orientation === "left") {
156
+ return /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronLeftIcon, { className: chunkADIDI7AJ_js.cn("size-4", className2), ...props2 });
157
+ }
158
+ if (orientation === "right") {
159
+ return /* @__PURE__ */ jsxRuntime.jsx(
160
+ lucideReact.ChevronRightIcon,
161
+ {
162
+ className: chunkADIDI7AJ_js.cn("size-4", className2),
163
+ ...props2
164
+ }
165
+ );
166
+ }
167
+ return /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDownIcon, { className: chunkADIDI7AJ_js.cn("size-4", className2), ...props2 });
168
+ },
169
+ DayButton: CalendarDayButton,
170
+ WeekNumber: ({ children, ...props2 }) => {
171
+ return /* @__PURE__ */ jsxRuntime.jsx("td", { ...props2, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children }) });
172
+ },
173
+ ...components
174
+ },
175
+ ...props
176
+ }
177
+ );
178
+ }
179
+ function CalendarDayButton({
180
+ className,
181
+ day,
182
+ modifiers,
183
+ ...props
184
+ }) {
185
+ const defaultClassNames = reactDayPicker.getDefaultClassNames();
186
+ const ref = React__namespace.useRef(null);
187
+ React__namespace.useEffect(() => {
188
+ if (modifiers.focused) ref.current?.focus();
189
+ }, [modifiers.focused]);
190
+ return /* @__PURE__ */ jsxRuntime.jsx(
191
+ chunk6TGV2DNP_js.Button,
192
+ {
193
+ ref,
194
+ variant: "ghost",
195
+ size: "icon",
196
+ "data-day": day.date.toLocaleDateString(),
197
+ "data-selected-single": modifiers.selected && !modifiers.range_start && !modifiers.range_end && !modifiers.range_middle,
198
+ "data-range-start": modifiers.range_start,
199
+ "data-range-end": modifiers.range_end,
200
+ "data-range-middle": modifiers.range_middle,
201
+ className: chunkADIDI7AJ_js.cn(
202
+ "flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-[3px] group-data-[focused=true]/day:ring-ring/50 data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground dark:hover:text-accent-foreground [&>span]:text-xs [&>span]:opacity-70",
203
+ defaultClassNames.day,
204
+ className
205
+ ),
206
+ ...props
207
+ }
208
+ );
209
+ }
210
+ function Command({
211
+ className,
212
+ ...props
213
+ }) {
214
+ return /* @__PURE__ */ jsxRuntime.jsx(
215
+ cmdk.Command,
216
+ {
217
+ className: chunkADIDI7AJ_js.cn(
218
+ "bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-box",
219
+ className
220
+ ),
221
+ ...props
222
+ }
223
+ );
224
+ }
225
+ function CommandDialog({
226
+ children,
227
+ title = "Command palette",
228
+ ...props
229
+ }) {
230
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkKGGQ5NZV_js.Dialog, { ...props, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkKGGQ5NZV_js.DialogContent, { className: "overflow-hidden p-0", children: [
231
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKGGQ5NZV_js.DialogTitle, { className: "sr-only", children: title }),
232
+ /* @__PURE__ */ jsxRuntime.jsx(Command, { className: "[&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children })
233
+ ] }) });
234
+ }
235
+ function CommandInput({
236
+ className,
237
+ ...props
238
+ }) {
239
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
240
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
241
+ /* @__PURE__ */ jsxRuntime.jsx(
242
+ cmdk.Command.Input,
243
+ {
244
+ className: chunkADIDI7AJ_js.cn(
245
+ "placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground flex h-10 w-full rounded-box bg-transparent py-3 text-sm outline-none disabled:cursor-not-allowed disabled:opacity-50",
246
+ className
247
+ ),
248
+ ...props
249
+ }
250
+ )
251
+ ] });
252
+ }
253
+ function CommandList({
254
+ className,
255
+ ...props
256
+ }) {
257
+ return /* @__PURE__ */ jsxRuntime.jsx(
258
+ cmdk.Command.List,
259
+ {
260
+ className: chunkADIDI7AJ_js.cn(
261
+ "max-h-[300px] overflow-y-auto overflow-x-hidden scroll-py-1",
262
+ className
263
+ ),
264
+ ...props
265
+ }
266
+ );
267
+ }
268
+ function CommandEmpty({
269
+ className,
270
+ ...props
271
+ }) {
272
+ return /* @__PURE__ */ jsxRuntime.jsx(
273
+ cmdk.Command.Empty,
274
+ {
275
+ className: chunkADIDI7AJ_js.cn("py-6 text-center text-sm", className),
276
+ ...props
277
+ }
278
+ );
279
+ }
280
+ function CommandGroup({
281
+ className,
282
+ ...props
283
+ }) {
284
+ return /* @__PURE__ */ jsxRuntime.jsx(
285
+ cmdk.Command.Group,
286
+ {
287
+ className: chunkADIDI7AJ_js.cn(
288
+ "text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",
289
+ className
290
+ ),
291
+ ...props
292
+ }
293
+ );
294
+ }
295
+ function CommandSeparator({
296
+ className,
297
+ ...props
298
+ }) {
299
+ return /* @__PURE__ */ jsxRuntime.jsx(
300
+ cmdk.Command.Separator,
301
+ {
302
+ className: chunkADIDI7AJ_js.cn("bg-border -mx-1 h-px", className),
303
+ ...props
304
+ }
305
+ );
306
+ }
307
+ function CommandItem({
308
+ className,
309
+ ...props
310
+ }) {
311
+ return /* @__PURE__ */ jsxRuntime.jsx(
312
+ cmdk.Command.Item,
313
+ {
314
+ className: chunkADIDI7AJ_js.cn(
315
+ "data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
316
+ className
317
+ ),
318
+ ...props
319
+ }
320
+ );
321
+ }
322
+ function CommandShortcut({
323
+ className,
324
+ ...props
325
+ }) {
326
+ return /* @__PURE__ */ jsxRuntime.jsx(
327
+ "span",
328
+ {
329
+ className: chunkADIDI7AJ_js.cn(
330
+ "text-muted-foreground ml-auto text-xs tracking-widest",
331
+ className
332
+ ),
333
+ ...props
334
+ }
335
+ );
336
+ }
337
+
338
+ exports.Calendar = Calendar;
339
+ exports.CalendarDayButton = CalendarDayButton;
340
+ exports.Command = Command;
341
+ exports.CommandDialog = CommandDialog;
342
+ exports.CommandEmpty = CommandEmpty;
343
+ exports.CommandGroup = CommandGroup;
344
+ exports.CommandInput = CommandInput;
345
+ exports.CommandItem = CommandItem;
346
+ exports.CommandList = CommandList;
347
+ exports.CommandSeparator = CommandSeparator;
348
+ exports.CommandShortcut = CommandShortcut;
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkMVYRNJA6_js = require('./chunk-MVYRNJA6.js');
5
- var chunkGHOFYK2E_js = require('./chunk-GHOFYK2E.js');
6
- var chunkHMAMMC72_js = require('./chunk-HMAMMC72.js');
4
+ var chunkXGJL6DLV_js = require('./chunk-XGJL6DLV.js');
5
+ var chunkYRIBFIQ5_js = require('./chunk-YRIBFIQ5.js');
6
+ var chunkOCO3Z5YA_js = require('./chunk-OCO3Z5YA.js');
7
7
  var chunkJ6OLBSZR_js = require('./chunk-J6OLBSZR.js');
8
8
  var chunkSORWLKOK_js = require('./chunk-SORWLKOK.js');
9
9
  var chunkQ256HRYD_js = require('./chunk-Q256HRYD.js');
@@ -406,7 +406,7 @@ function ThemeToggle({
406
406
  }
407
407
  const tooltipContent = tooltip ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
408
408
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: ariaLabel }),
409
- shouldShowShortcut && shortcutDisplay && /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.KeyboardShortcut, { className: "ml-2 text-xs", children: shortcutDisplay })
409
+ shouldShowShortcut && shortcutDisplay && /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.KeyboardShortcut, { className: "ml-2 text-xs", children: shortcutDisplay })
410
410
  ] });
411
411
  return /* @__PURE__ */ jsxRuntime.jsxs(chunkSORWLKOK_js.Tooltip, { children: [
412
412
  /* @__PURE__ */ jsxRuntime.jsx(chunkSORWLKOK_js.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -470,7 +470,7 @@ function AppHeader({
470
470
  className
471
471
  ),
472
472
  children: [
473
- showSidebarTrigger && /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarTrigger, { className: "-ml-1" }),
473
+ showSidebarTrigger && /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarTrigger, { className: "-ml-1" }),
474
474
  leadingContent,
475
475
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1" }),
476
476
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
@@ -640,12 +640,12 @@ function AppSidebar({
640
640
  const renderNavItem = (item) => {
641
641
  const isActive = getIsActive(item);
642
642
  const Icon = item.icon;
643
- const Shortcut = ShortcutComponent || chunkGHOFYK2E_js.KeyboardShortcut;
643
+ const Shortcut = ShortcutComponent || chunkXGJL6DLV_js.KeyboardShortcut;
644
644
  const iconAnimationClass = item.disabled ? "" : getIconAnimationClass(item.iconAnimation);
645
645
  if (item.disabled) {
646
646
  return /* @__PURE__ */ jsxRuntime.jsxs(chunkSORWLKOK_js.Tooltip, { children: [
647
647
  /* @__PURE__ */ jsxRuntime.jsx(chunkSORWLKOK_js.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
648
- chunkGHOFYK2E_js.SidebarMenuButton,
648
+ chunkXGJL6DLV_js.SidebarMenuButton,
649
649
  {
650
650
  className: "cursor-not-allowed opacity-40",
651
651
  isActive: false,
@@ -661,7 +661,7 @@ function AppSidebar({
661
661
  ] });
662
662
  }
663
663
  return /* @__PURE__ */ jsxRuntime.jsx(
664
- chunkGHOFYK2E_js.SidebarMenuButton,
664
+ chunkXGJL6DLV_js.SidebarMenuButton,
665
665
  {
666
666
  asChild: true,
667
667
  isActive,
@@ -675,11 +675,11 @@ function AppSidebar({
675
675
  }
676
676
  );
677
677
  };
678
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkGHOFYK2E_js.Sidebar, { collapsible, children: [
679
- header && /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarHeader, { children: header }),
680
- /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarContent, { children: processedNavGroups.map((group) => {
678
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkXGJL6DLV_js.Sidebar, { collapsible, children: [
679
+ header && /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarHeader, { children: header }),
680
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarContent, { children: processedNavGroups.map((group) => {
681
681
  if (group.type === "divider") {
682
- return /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarSeparator, { className: "my-2" }, group.key);
682
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarSeparator, { className: "my-2" }, group.key);
683
683
  }
684
684
  if (group.type === "section") {
685
685
  const section = group.section;
@@ -696,8 +696,8 @@ function AppSidebar({
696
696
  [section.label]: open
697
697
  })),
698
698
  className: "group/collapsible",
699
- children: /* @__PURE__ */ jsxRuntime.jsxs(chunkGHOFYK2E_js.SidebarGroup, { children: [
700
- SectionIcon && sectionHref && /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarGroupContent, { className: "hidden group-data-[collapsible=icon]:block", children: /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarMenu, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarMenuItem, { children: /* @__PURE__ */ jsxRuntime.jsxs(
699
+ children: /* @__PURE__ */ jsxRuntime.jsxs(chunkXGJL6DLV_js.SidebarGroup, { children: [
700
+ SectionIcon && sectionHref && /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarGroupContent, { className: "hidden group-data-[collapsible=icon]:block", children: /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenu, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenuItem, { children: /* @__PURE__ */ jsxRuntime.jsxs(
701
701
  chunkJ6OLBSZR_js.DropdownMenu,
702
702
  {
703
703
  onOpenChange: (open) => {
@@ -708,7 +708,7 @@ function AppSidebar({
708
708
  },
709
709
  children: [
710
710
  /* @__PURE__ */ jsxRuntime.jsx(chunkJ6OLBSZR_js.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
711
- chunkGHOFYK2E_js.SidebarMenuButton,
711
+ chunkXGJL6DLV_js.SidebarMenuButton,
712
712
  {
713
713
  "aria-label": section.label,
714
714
  tooltip: suppressSectionTooltip === section.label ? void 0 : section.label,
@@ -751,7 +751,7 @@ function AppSidebar({
751
751
  ) }) }) }),
752
752
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "group-data-[collapsible=icon]:hidden", children: [
753
753
  /* @__PURE__ */ jsxRuntime.jsx(
754
- chunkGHOFYK2E_js.SidebarGroupLabel,
754
+ chunkXGJL6DLV_js.SidebarGroupLabel,
755
755
  {
756
756
  asChild: true,
757
757
  className: "text-xs font-medium uppercase tracking-wider text-sidebar-foreground",
@@ -764,28 +764,28 @@ function AppSidebar({
764
764
  ] })
765
765
  }
766
766
  ),
767
- /* @__PURE__ */ jsxRuntime.jsx(CollapsibleContent2, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarGroupContent, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarMenu, { children: section.items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarMenuItem, { children: renderNavItem(item) }, item.href)) }) }) })
767
+ /* @__PURE__ */ jsxRuntime.jsx(CollapsibleContent2, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarGroupContent, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenu, { children: section.items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenuItem, { children: renderNavItem(item) }, item.href)) }) }) })
768
768
  ] })
769
769
  ] })
770
770
  },
771
771
  `section-${section.label}`
772
772
  );
773
773
  }
774
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkGHOFYK2E_js.SidebarGroup, { children: [
775
- /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarGroupLabel, { className: "text-xs font-medium uppercase tracking-wider text-sidebar-foreground", children: section.label }),
776
- /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarGroupContent, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarMenu, { children: section.items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarMenuItem, { children: renderNavItem(item) }, item.href)) }) })
774
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkXGJL6DLV_js.SidebarGroup, { children: [
775
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarGroupLabel, { className: "text-xs font-medium uppercase tracking-wider text-sidebar-foreground", children: section.label }),
776
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarGroupContent, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenu, { children: section.items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenuItem, { children: renderNavItem(item) }, item.href)) }) })
777
777
  ] }, `section-${section.label}`);
778
778
  }
779
779
  if (group.type === "plain-group") {
780
- return /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarGroup, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarGroupContent, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarMenu, { children: group.items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarMenuItem, { children: renderNavItem(item) }, item.href)) }) }) }, group.key);
780
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarGroup, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarGroupContent, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenu, { children: group.items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenuItem, { children: renderNavItem(item) }, item.href)) }) }) }, group.key);
781
781
  }
782
782
  return null;
783
783
  }) }),
784
- /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarFooter, { children: userLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarMenu, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarMenuItem, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 px-2 py-1.5", children: [
785
- /* @__PURE__ */ jsxRuntime.jsx(chunkHMAMMC72_js.Spinner, { size: "sm" }),
784
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarFooter, { children: userLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenu, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenuItem, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 px-2 py-1.5", children: [
785
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOCO3Z5YA_js.SizedSpinner, { size: "sm" }),
786
786
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-muted-foreground", children: "Loading..." })
787
- ] }) }) }) : user ? /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarMenu, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarMenuItem, { children: /* @__PURE__ */ jsxRuntime.jsx(
788
- chunkGHOFYK2E_js.UserAvatarMenu,
787
+ ] }) }) }) : user ? /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenu, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenuItem, { children: /* @__PURE__ */ jsxRuntime.jsx(
788
+ chunkXGJL6DLV_js.UserAvatarMenu,
789
789
  {
790
790
  user: {
791
791
  id: user.id,
@@ -803,21 +803,21 @@ function AppSidebar({
803
803
  LinkComponent,
804
804
  ShortcutComponent,
805
805
  trigger: /* @__PURE__ */ jsxRuntime.jsxs(
806
- chunkGHOFYK2E_js.SidebarMenuButton,
806
+ chunkXGJL6DLV_js.SidebarMenuButton,
807
807
  {
808
808
  size: "lg",
809
809
  className: `rounded-xl focus-visible:ring-0 ${menuOpen || isOnProfilePage ? "bg-sidebar-accent text-sidebar-accent-foreground" : ""}`,
810
810
  children: [
811
- /* @__PURE__ */ jsxRuntime.jsxs(chunkGHOFYK2E_js.Avatar, { className: "h-8 w-8 rounded-full", children: [
811
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXGJL6DLV_js.Avatar, { className: "h-8 w-8 rounded-full", children: [
812
812
  user.avatarUrl && /* @__PURE__ */ jsxRuntime.jsx(
813
- chunkGHOFYK2E_js.AvatarImage,
813
+ chunkXGJL6DLV_js.AvatarImage,
814
814
  {
815
815
  src: user.avatarUrl,
816
816
  alt: user.name || ""
817
817
  }
818
818
  ),
819
819
  /* @__PURE__ */ jsxRuntime.jsx(
820
- chunkGHOFYK2E_js.AvatarFallback,
820
+ chunkXGJL6DLV_js.AvatarFallback,
821
821
  {
822
822
  className: "rounded-full text-xs font-medium text-white",
823
823
  style: chunkQ256HRYD_js.getAvatarGradient(user.id).style,
@@ -835,11 +835,11 @@ function AppSidebar({
835
835
  }
836
836
  )
837
837
  }
838
- ) }) }) : /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarMenu, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarMenuItem, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarMenuButton, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(Link3, { href: signInHref, children: [
838
+ ) }) }) : /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenu, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenuItem, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarMenuButton, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(Link3, { href: signInHref, children: [
839
839
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, {}),
840
840
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: "Sign In" })
841
841
  ] }) }) }) }) }),
842
- /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.SidebarRail, {})
842
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.SidebarRail, {})
843
843
  ] });
844
844
  }
845
845
  function FloatingUserMenu({
@@ -851,7 +851,7 @@ function FloatingUserMenu({
851
851
  profilePath = "/profile",
852
852
  LinkComponent = "a"
853
853
  }) {
854
- const { isMobile } = chunkGHOFYK2E_js.useSidebar();
854
+ const { isMobile } = chunkXGJL6DLV_js.useSidebar();
855
855
  const [open, setOpen] = React.useState(false);
856
856
  const isOnProfilePage = pathname === profilePath || pathname.startsWith(`${profilePath}/`);
857
857
  const allMenuItems = React.useMemo(() => {
@@ -869,13 +869,13 @@ function FloatingUserMenu({
869
869
  }, [menuItems, onSignOut]);
870
870
  if (!isMobile) return null;
871
871
  if (loading) {
872
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed bottom-2 left-2 z-50 flex h-8 w-8 items-center justify-center rounded-full bg-background shadow-md border", children: /* @__PURE__ */ jsxRuntime.jsx(chunkHMAMMC72_js.Spinner, { size: "sm" }) });
872
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed bottom-2 left-2 z-50 flex h-8 w-8 items-center justify-center rounded-full bg-background shadow-md border", children: /* @__PURE__ */ jsxRuntime.jsx(chunkOCO3Z5YA_js.SizedSpinner, { size: "sm" }) });
873
873
  }
874
874
  if (!user) return null;
875
875
  const displayName = user.name || user.email || "User";
876
876
  const initials = user.initials || user.name?.[0]?.toUpperCase() || "U";
877
877
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed bottom-2 left-2 z-50", children: /* @__PURE__ */ jsxRuntime.jsx(
878
- chunkGHOFYK2E_js.UserAvatarMenu,
878
+ chunkXGJL6DLV_js.UserAvatarMenu,
879
879
  {
880
880
  user: {
881
881
  id: user.id,
@@ -898,10 +898,10 @@ function FloatingUserMenu({
898
898
  type: "button",
899
899
  className: `flex h-8 w-8 items-center justify-center rounded-full shadow-md border bg-background transition-all hover:scale-105 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring ${open || isOnProfilePage ? "ring-2 ring-primary" : ""}`,
900
900
  children: [
901
- /* @__PURE__ */ jsxRuntime.jsxs(chunkGHOFYK2E_js.Avatar, { className: "h-8 w-8 rounded-full", children: [
902
- user.avatarUrl && /* @__PURE__ */ jsxRuntime.jsx(chunkGHOFYK2E_js.AvatarImage, { src: user.avatarUrl, alt: displayName }),
901
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXGJL6DLV_js.Avatar, { className: "h-8 w-8 rounded-full", children: [
902
+ user.avatarUrl && /* @__PURE__ */ jsxRuntime.jsx(chunkXGJL6DLV_js.AvatarImage, { src: user.avatarUrl, alt: displayName }),
903
903
  /* @__PURE__ */ jsxRuntime.jsx(
904
- chunkGHOFYK2E_js.AvatarFallback,
904
+ chunkXGJL6DLV_js.AvatarFallback,
905
905
  {
906
906
  className: "rounded-full text-xs font-medium text-white",
907
907
  style: chunkQ256HRYD_js.getAvatarGradient(user.id).style,
@@ -992,7 +992,7 @@ function AppLayout({
992
992
  }
993
993
  ) : null;
994
994
  return /* @__PURE__ */ jsxRuntime.jsxs(
995
- chunkGHOFYK2E_js.SidebarProvider,
995
+ chunkXGJL6DLV_js.SidebarProvider,
996
996
  {
997
997
  defaultOpen,
998
998
  open,
@@ -1000,7 +1000,7 @@ function AppLayout({
1000
1000
  className: chunkADIDI7AJ_js.cn("h-dvh", className),
1001
1001
  children: [
1002
1002
  sidebarElement,
1003
- /* @__PURE__ */ jsxRuntime.jsxs(chunkGHOFYK2E_js.SidebarInset, { children: [
1003
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkXGJL6DLV_js.SidebarInset, { children: [
1004
1004
  headerElement,
1005
1005
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 overflow-y-auto overflow-x-hidden min-w-0", children })
1006
1006
  ] }),
@@ -1492,9 +1492,30 @@ function MarketingLayout({
1492
1492
  footer
1493
1493
  ] });
1494
1494
  }
1495
- function Toaster({ ...props }) {
1496
- return /* @__PURE__ */ jsxRuntime.jsx(sonner.Toaster, { ...props });
1497
- }
1495
+ var Toaster = ({ ...props }) => {
1496
+ const { theme = "system" } = nextThemes.useTheme();
1497
+ return /* @__PURE__ */ jsxRuntime.jsx(
1498
+ sonner.Toaster,
1499
+ {
1500
+ theme,
1501
+ className: "toaster group",
1502
+ icons: {
1503
+ success: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CircleCheckIcon, { className: "size-4" }),
1504
+ info: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.InfoIcon, { className: "size-4" }),
1505
+ warning: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.TriangleAlertIcon, { className: "size-4" }),
1506
+ error: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.OctagonXIcon, { className: "size-4" }),
1507
+ loading: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2Icon, { className: "size-4 animate-spin" })
1508
+ },
1509
+ style: {
1510
+ "--normal-bg": "var(--popover)",
1511
+ "--normal-text": "var(--popover-foreground)",
1512
+ "--normal-border": "var(--border)",
1513
+ "--border-radius": "var(--radius)"
1514
+ },
1515
+ ...props
1516
+ }
1517
+ );
1518
+ };
1498
1519
  var themeScript = `
1499
1520
  (function() {
1500
1521
  try {
@@ -1581,17 +1602,17 @@ function UserPageLayout({
1581
1602
  showHeader,
1582
1603
  beforeHeader: backLink ? /* @__PURE__ */ jsxRuntime.jsx(BackLink, { href: backLink.href, children: backLink.label }) : null,
1583
1604
  children: loading && loadingSkeleton ? loadingSkeleton : tabs && tabs.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(
1584
- chunkMVYRNJA6_js.Tabs,
1605
+ chunkYRIBFIQ5_js.Tabs,
1585
1606
  {
1586
1607
  defaultValue: defaultTab || tabs[0].value,
1587
1608
  onValueChange: onTabChange,
1588
1609
  className: "space-y-4",
1589
1610
  children: [
1590
- /* @__PURE__ */ jsxRuntime.jsx(chunkMVYRNJA6_js.TabsList, { children: tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsxs(chunkMVYRNJA6_js.TabsTrigger, { value: tab.value, className: "gap-2", children: [
1611
+ /* @__PURE__ */ jsxRuntime.jsx(chunkYRIBFIQ5_js.TabsList, { children: tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsxs(chunkYRIBFIQ5_js.TabsTrigger, { value: tab.value, className: "gap-2", children: [
1591
1612
  tab.icon && /* @__PURE__ */ jsxRuntime.jsx(tab.icon, { className: "h-4 w-4" }),
1592
1613
  tab.label
1593
1614
  ] }, tab.value)) }),
1594
- tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsx(chunkMVYRNJA6_js.TabsContent, { value: tab.value, className: "mt-2", children: tab.content }, tab.value))
1615
+ tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsx(chunkYRIBFIQ5_js.TabsContent, { value: tab.value, className: "mt-2", children: tab.content }, tab.value))
1595
1616
  ]
1596
1617
  }
1597
1618
  ) : children