auxalia-ui-kit 1.4.9 → 1.5.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.
package/dist/index.cjs CHANGED
@@ -29,13 +29,30 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
29
29
  // src/index.ts
30
30
  var index_exports = {};
31
31
  __export(index_exports, {
32
+ Alert: () => Alert,
33
+ AlertDescription: () => AlertDescription,
34
+ AlertTitle: () => AlertTitle,
32
35
  AuxaliaTokens: () => AuxaliaTokens,
36
+ Avatar: () => Avatar,
37
+ AvatarFallback: () => AvatarFallback,
38
+ AvatarImage: () => AvatarImage,
39
+ Badge: () => Badge,
33
40
  Button: () => Button,
34
41
  Card: () => Card,
35
42
  CollapsibleContent: () => CollapsibleContent,
36
43
  CollapsibleRoot: () => CollapsibleRoot,
37
44
  CollapsibleTrigger: () => CollapsibleTrigger,
38
45
  ControlledTable: () => ControlledTable_default,
46
+ Dialog: () => Dialog,
47
+ DialogClose: () => DialogClose,
48
+ DialogContent: () => DialogContent,
49
+ DialogDescription: () => DialogDescription,
50
+ DialogFooter: () => DialogFooter,
51
+ DialogHeader: () => DialogHeader,
52
+ DialogOverlay: () => DialogOverlay,
53
+ DialogPortal: () => DialogPortal,
54
+ DialogTitle: () => DialogTitle,
55
+ DialogTrigger: () => DialogTrigger,
39
56
  DropdownMenu: () => DropdownMenu,
40
57
  DropdownMenuCheckboxItem: () => DropdownMenuCheckboxItem,
41
58
  DropdownMenuContent: () => DropdownMenuContent,
@@ -84,6 +101,11 @@ __export(index_exports, {
84
101
  SelectSeparator: () => SelectSeparator2,
85
102
  SelectTrigger: () => SelectTrigger2,
86
103
  SelectValue: () => SelectValue2,
104
+ Skeleton: () => Skeleton,
105
+ SkeletonAvatar: () => SkeletonAvatar,
106
+ SkeletonCard: () => SkeletonCard,
107
+ SkeletonText: () => SkeletonText,
108
+ Switch: () => Switch,
87
109
  Tabs: () => Tabs,
88
110
  TabsContent: () => TabsContent,
89
111
  TabsList: () => TabsList,
@@ -93,15 +115,15 @@ __export(index_exports, {
93
115
  TooltipContent: () => TooltipContent,
94
116
  TooltipProvider: () => TooltipProvider,
95
117
  TooltipTrigger: () => TooltipTrigger,
118
+ badgeVariants: () => badgeVariants,
96
119
  buttonVariants: () => buttonVariants,
97
120
  cn: () => cn,
98
121
  tailwindPreset: () => tailwind_preset_default
99
122
  });
100
123
  module.exports = __toCommonJS(index_exports);
101
124
 
102
- // src/components/Button.tsx
125
+ // src/components/Alert.tsx
103
126
  var React = __toESM(require("react"), 1);
104
- var import_react_slot = require("@radix-ui/react-slot");
105
127
  var import_class_variance_authority = require("class-variance-authority");
106
128
 
107
129
  // src/lib/utils.ts
@@ -111,8 +133,139 @@ function cn(...inputs) {
111
133
  return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
112
134
  }
113
135
 
114
- // src/components/Button.tsx
136
+ // src/components/Alert.tsx
115
137
  var import_jsx_runtime = require("react/jsx-runtime");
138
+ var alertVariants = (0, import_class_variance_authority.cva)(
139
+ "relative w-full rounded-lg border p-4 [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg+div]:pl-7",
140
+ {
141
+ variants: {
142
+ variant: {
143
+ default: "bg-surface text-content border-border dark:bg-surface/50",
144
+ primary: "bg-primary/5 text-content border-primary/20 dark:bg-primary/10 dark:border-primary/25 [&>svg]:text-primary",
145
+ destructive: "bg-destructive/5 text-content border-destructive/20 dark:bg-destructive/10 dark:border-destructive/25 [&>svg]:text-destructive",
146
+ success: "bg-auxalia-green-50 text-content border-auxalia-green-200 dark:bg-auxalia-green-500/10 dark:border-auxalia-green-500/25 [&>svg]:text-auxalia-green-600 dark:[&>svg]:text-auxalia-green-400",
147
+ warning: "bg-yellow-50 text-content border-yellow-200 dark:bg-yellow-500/10 dark:border-yellow-500/25 [&>svg]:text-yellow-600 dark:[&>svg]:text-yellow-400",
148
+ info: "bg-accent/5 text-content border-accent/20 dark:bg-accent/10 dark:border-accent/25 [&>svg]:text-accent"
149
+ }
150
+ },
151
+ defaultVariants: {
152
+ variant: "default"
153
+ }
154
+ }
155
+ );
156
+ var Alert = React.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
157
+ "div",
158
+ {
159
+ ref,
160
+ role: "alert",
161
+ className: cn(alertVariants({ variant }), className),
162
+ ...props
163
+ }
164
+ ));
165
+ Alert.displayName = "Alert";
166
+ var AlertTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
167
+ "h5",
168
+ {
169
+ ref,
170
+ className: cn("mb-1 font-medium leading-none tracking-tight", className),
171
+ ...props
172
+ }
173
+ ));
174
+ AlertTitle.displayName = "AlertTitle";
175
+ var AlertDescription = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
176
+ "div",
177
+ {
178
+ ref,
179
+ className: cn("text-sm leading-relaxed text-dim", className),
180
+ ...props
181
+ }
182
+ ));
183
+ AlertDescription.displayName = "AlertDescription";
184
+
185
+ // src/components/Avatar.tsx
186
+ var React2 = __toESM(require("react"), 1);
187
+ var import_radix_ui = require("radix-ui");
188
+ var import_class_variance_authority2 = require("class-variance-authority");
189
+ var import_jsx_runtime2 = require("react/jsx-runtime");
190
+ var avatarVariants = (0, import_class_variance_authority2.cva)(
191
+ "relative flex shrink-0 overflow-hidden rounded-full",
192
+ {
193
+ variants: {
194
+ size: {
195
+ sm: "size-8 text-xs",
196
+ md: "size-10 text-sm",
197
+ lg: "size-12 text-base",
198
+ xl: "size-16 text-lg"
199
+ }
200
+ },
201
+ defaultVariants: {
202
+ size: "md"
203
+ }
204
+ }
205
+ );
206
+ var Avatar = React2.forwardRef(({ className, size: size4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
207
+ import_radix_ui.Avatar.Root,
208
+ {
209
+ ref,
210
+ className: cn(avatarVariants({ size: size4 }), className),
211
+ ...props
212
+ }
213
+ ));
214
+ Avatar.displayName = import_radix_ui.Avatar.Root.displayName;
215
+ var AvatarImage = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
216
+ import_radix_ui.Avatar.Image,
217
+ {
218
+ ref,
219
+ className: cn("aspect-square h-full w-full object-cover", className),
220
+ ...props
221
+ }
222
+ ));
223
+ AvatarImage.displayName = import_radix_ui.Avatar.Image.displayName;
224
+ var AvatarFallback = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
225
+ import_radix_ui.Avatar.Fallback,
226
+ {
227
+ ref,
228
+ className: cn(
229
+ "flex h-full w-full items-center justify-center rounded-full font-medium",
230
+ "bg-primary/15 text-primary dark:bg-primary/20",
231
+ className
232
+ ),
233
+ ...props
234
+ }
235
+ ));
236
+ AvatarFallback.displayName = import_radix_ui.Avatar.Fallback.displayName;
237
+
238
+ // src/components/Badge.tsx
239
+ var import_class_variance_authority3 = require("class-variance-authority");
240
+ var import_jsx_runtime3 = require("react/jsx-runtime");
241
+ var badgeVariants = (0, import_class_variance_authority3.cva)(
242
+ "inline-flex items-center gap-1 rounded-full border px-2.5 py-0.5 text-xs font-medium transition-colors",
243
+ {
244
+ variants: {
245
+ variant: {
246
+ default: "bg-primary/10 text-primary border-primary/20 dark:bg-primary/15 dark:border-primary/25",
247
+ secondary: "bg-secondary/10 text-secondary border-secondary/20 dark:bg-secondary/15 dark:border-secondary/25",
248
+ accent: "bg-accent/10 text-accent border-accent/20 dark:bg-accent/15 dark:border-accent/25",
249
+ destructive: "bg-destructive/10 text-destructive border-destructive/20 dark:bg-destructive/15 dark:border-destructive/25",
250
+ success: "bg-auxalia-green-50 text-auxalia-green-700 border-auxalia-green-200 dark:bg-auxalia-green-500/15 dark:text-auxalia-green-400 dark:border-auxalia-green-500/25",
251
+ outline: "bg-transparent text-content border-border dark:border-white/15",
252
+ solid: "bg-primary text-primary-foreground border-transparent"
253
+ }
254
+ },
255
+ defaultVariants: {
256
+ variant: "default"
257
+ }
258
+ }
259
+ );
260
+ function Badge({ className, variant, ...props }) {
261
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: cn(badgeVariants({ variant }), className), ...props });
262
+ }
263
+
264
+ // src/components/Button.tsx
265
+ var React3 = __toESM(require("react"), 1);
266
+ var import_react_slot = require("@radix-ui/react-slot");
267
+ var import_class_variance_authority4 = require("class-variance-authority");
268
+ var import_jsx_runtime4 = require("react/jsx-runtime");
116
269
  var compoundVariants = [
117
270
  // FILLED - Using Auxalia Brand Colors
118
271
  {
@@ -194,7 +347,7 @@ var compoundVariants = [
194
347
  class: "text-accent underline hover:text-opacity-80"
195
348
  }
196
349
  ];
197
- var buttonVariants = (0, import_class_variance_authority.cva)(
350
+ var buttonVariants = (0, import_class_variance_authority4.cva)(
198
351
  "inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all disabled:opacity-50 disabled:cursor-not-allowed",
199
352
  {
200
353
  variants: {
@@ -226,10 +379,10 @@ var buttonVariants = (0, import_class_variance_authority.cva)(
226
379
  }
227
380
  }
228
381
  );
229
- var Button = React.forwardRef(
382
+ var Button = React3.forwardRef(
230
383
  ({ className, variant, size: size4, color, asChild = false, ...props }, ref) => {
231
384
  const Comp = asChild ? import_react_slot.Slot : "button";
232
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
385
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
233
386
  Comp,
234
387
  {
235
388
  ref,
@@ -242,32 +395,209 @@ var Button = React.forwardRef(
242
395
  Button.displayName = "Button";
243
396
 
244
397
  // src/components/Collapsible.tsx
245
- var import_radix_ui = require("radix-ui");
246
- var import_jsx_runtime2 = require("react/jsx-runtime");
398
+ var import_radix_ui2 = require("radix-ui");
399
+ var import_jsx_runtime5 = require("react/jsx-runtime");
247
400
  function CollapsibleRoot({
248
401
  ...props
249
402
  }) {
250
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_radix_ui.Collapsible.Root, { "data-slot": "collapsible", ...props });
403
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_radix_ui2.Collapsible.Root, { "data-slot": "collapsible", ...props });
251
404
  }
252
405
  function CollapsibleTrigger({
253
406
  ...props
254
407
  }) {
255
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_radix_ui.Collapsible.Trigger, { "data-slot": "collapsible-trigger", ...props });
408
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_radix_ui2.Collapsible.Trigger, { "data-slot": "collapsible-trigger", ...props });
256
409
  }
257
410
  function CollapsibleContent({
258
411
  ...props
259
412
  }) {
260
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_radix_ui.Collapsible.Content, { className: "bg-red dark:bg-amber-50", "data-slot": "collapsible-content", ...props });
413
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_radix_ui2.Collapsible.Content, { "data-slot": "collapsible-content", ...props });
414
+ }
415
+
416
+ // src/components/Dialog.tsx
417
+ var React4 = __toESM(require("react"), 1);
418
+ var import_radix_ui3 = require("radix-ui");
419
+ var import_lucide_react = require("lucide-react");
420
+ var import_jsx_runtime6 = require("react/jsx-runtime");
421
+ var Dialog = import_radix_ui3.Dialog.Root;
422
+ var DialogTrigger = import_radix_ui3.Dialog.Trigger;
423
+ var DialogPortal = import_radix_ui3.Dialog.Portal;
424
+ var DialogClose = import_radix_ui3.Dialog.Close;
425
+ var DialogOverlay = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
426
+ import_radix_ui3.Dialog.Overlay,
427
+ {
428
+ ref,
429
+ className: cn(
430
+ "fixed inset-0 z-50 bg-black/50 dark:bg-black/70",
431
+ "data-[state=open]:animate-in data-[state=closed]:animate-out",
432
+ "data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0",
433
+ className
434
+ ),
435
+ ...props
436
+ }
437
+ ));
438
+ DialogOverlay.displayName = import_radix_ui3.Dialog.Overlay.displayName;
439
+ var DialogContent = React4.forwardRef(({ className, children, showClose = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(DialogPortal, { children: [
440
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(DialogOverlay, {}),
441
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
442
+ import_radix_ui3.Dialog.Content,
443
+ {
444
+ ref,
445
+ className: cn(
446
+ "fixed left-1/2 top-1/2 z-50 w-full max-w-lg -translate-x-1/2 -translate-y-1/2",
447
+ "bg-card text-content rounded-xl border border-border shadow-xl",
448
+ "p-6 outline-none",
449
+ "data-[state=open]:animate-in data-[state=closed]:animate-out",
450
+ "data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0",
451
+ "data-[state=open]:zoom-in-95 data-[state=closed]:zoom-out-95",
452
+ className
453
+ ),
454
+ ...props,
455
+ children: [
456
+ children,
457
+ showClose && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(DialogClose, { className: "absolute right-4 top-4 rounded-md p-1 text-dim opacity-70 hover:opacity-100 hover:bg-surface transition-all focus:outline-none focus:ring-2 focus:ring-primary/30", children: [
458
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_lucide_react.X, { className: "size-4" }),
459
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "sr-only", children: "Close" })
460
+ ] })
461
+ ]
462
+ }
463
+ )
464
+ ] }));
465
+ DialogContent.displayName = import_radix_ui3.Dialog.Content.displayName;
466
+ function DialogHeader({ className, ...props }) {
467
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: cn("flex flex-col gap-1.5 mb-4", className), ...props });
468
+ }
469
+ function DialogFooter({ className, ...props }) {
470
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
471
+ "div",
472
+ {
473
+ className: cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end mt-6", className),
474
+ ...props
475
+ }
476
+ );
477
+ }
478
+ var DialogTitle = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
479
+ import_radix_ui3.Dialog.Title,
480
+ {
481
+ ref,
482
+ className: cn("text-lg font-semibold leading-tight text-content", className),
483
+ ...props
484
+ }
485
+ ));
486
+ DialogTitle.displayName = import_radix_ui3.Dialog.Title.displayName;
487
+ var DialogDescription = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
488
+ import_radix_ui3.Dialog.Description,
489
+ {
490
+ ref,
491
+ className: cn("text-sm text-dim", className),
492
+ ...props
493
+ }
494
+ ));
495
+ DialogDescription.displayName = import_radix_ui3.Dialog.Description.displayName;
496
+
497
+ // src/components/Skeleton.tsx
498
+ var import_jsx_runtime7 = require("react/jsx-runtime");
499
+ function Skeleton({ className, ...props }) {
500
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
501
+ "div",
502
+ {
503
+ className: cn(
504
+ "animate-pulse rounded-md bg-surface dark:bg-white/8",
505
+ className
506
+ ),
507
+ ...props
508
+ }
509
+ );
261
510
  }
511
+ function SkeletonText({ className, ...props }) {
512
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: cn("space-y-2", className), ...props, children: [
513
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Skeleton, { className: "h-4 w-full" }),
514
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Skeleton, { className: "h-4 w-4/5" }),
515
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Skeleton, { className: "h-4 w-3/5" })
516
+ ] });
517
+ }
518
+ function SkeletonAvatar({ className, ...props }) {
519
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Skeleton, { className: cn("size-10 rounded-full", className), ...props });
520
+ }
521
+ function SkeletonCard({ className, ...props }) {
522
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: cn("rounded-lg border border-border p-4 space-y-3", className), ...props, children: [
523
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex items-center gap-3", children: [
524
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SkeletonAvatar, {}),
525
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex-1 space-y-2", children: [
526
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Skeleton, { className: "h-4 w-1/3" }),
527
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Skeleton, { className: "h-3 w-1/2" })
528
+ ] })
529
+ ] }),
530
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Skeleton, { className: "h-4 w-full" }),
531
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Skeleton, { className: "h-4 w-4/5" })
532
+ ] });
533
+ }
534
+
535
+ // src/components/Switch.tsx
536
+ var React5 = __toESM(require("react"), 1);
537
+ var import_radix_ui4 = require("radix-ui");
538
+ var import_class_variance_authority5 = require("class-variance-authority");
539
+ var import_jsx_runtime8 = require("react/jsx-runtime");
540
+ var switchVariants = (0, import_class_variance_authority5.cva)(
541
+ [
542
+ "peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent",
543
+ "transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",
544
+ "disabled:cursor-not-allowed disabled:opacity-50",
545
+ "data-[state=unchecked]:bg-border dark:data-[state=unchecked]:bg-white/15"
546
+ ],
547
+ {
548
+ variants: {
549
+ color: {
550
+ primary: "data-[state=checked]:bg-primary focus-visible:ring-primary/30",
551
+ secondary: "data-[state=checked]:bg-secondary focus-visible:ring-secondary/30",
552
+ accent: "data-[state=checked]:bg-accent focus-visible:ring-accent/30",
553
+ destructive: "data-[state=checked]:bg-destructive focus-visible:ring-destructive/30"
554
+ },
555
+ size: {
556
+ sm: "h-5 w-9",
557
+ md: "h-6 w-11",
558
+ lg: "h-7 w-[52px]"
559
+ }
560
+ },
561
+ defaultVariants: {
562
+ color: "primary",
563
+ size: "md"
564
+ }
565
+ }
566
+ );
567
+ var thumbVariants = (0, import_class_variance_authority5.cva)(
568
+ "pointer-events-none block rounded-full bg-white shadow-sm transition-transform",
569
+ {
570
+ variants: {
571
+ size: {
572
+ sm: "size-4 data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0",
573
+ md: "size-5 data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0",
574
+ lg: "size-6 data-[state=checked]:translate-x-[26px] data-[state=unchecked]:translate-x-0"
575
+ }
576
+ },
577
+ defaultVariants: {
578
+ size: "md"
579
+ }
580
+ }
581
+ );
582
+ var Switch = React5.forwardRef(({ className, color, size: size4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
583
+ import_radix_ui4.Switch.Root,
584
+ {
585
+ ref,
586
+ className: cn(switchVariants({ color, size: size4 }), className),
587
+ ...props,
588
+ children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_radix_ui4.Switch.Thumb, { className: cn(thumbVariants({ size: size4 })) })
589
+ }
590
+ ));
591
+ Switch.displayName = import_radix_ui4.Switch.Root.displayName;
262
592
 
263
593
  // src/components/DropdownMenu/index.tsx
264
- var React2 = __toESM(require("react"), 1);
594
+ var React6 = __toESM(require("react"), 1);
265
595
  var DropdownMenuPrimitive = __toESM(require("@radix-ui/react-dropdown-menu"), 1);
266
- var import_lucide_react = require("lucide-react");
596
+ var import_lucide_react2 = require("lucide-react");
267
597
 
268
598
  // src/components/DropdownMenu/dropdown.styles.ts
269
- var import_class_variance_authority2 = require("class-variance-authority");
270
- var dropdownMenuItemVariants = (0, import_class_variance_authority2.cva)(
599
+ var import_class_variance_authority6 = require("class-variance-authority");
600
+ var dropdownMenuItemVariants = (0, import_class_variance_authority6.cva)(
271
601
  "relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",
272
602
  {
273
603
  variants: {
@@ -286,14 +616,14 @@ var dropdownMenuItemVariants = (0, import_class_variance_authority2.cva)(
286
616
  );
287
617
 
288
618
  // src/components/DropdownMenu/index.tsx
289
- var import_jsx_runtime3 = require("react/jsx-runtime");
619
+ var import_jsx_runtime9 = require("react/jsx-runtime");
290
620
  var DropdownMenu = DropdownMenuPrimitive.Root;
291
621
  var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
292
622
  var DropdownMenuGroup = DropdownMenuPrimitive.Group;
293
623
  var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
294
624
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
295
625
  var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
296
- var DropdownMenuSubTrigger = React2.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
626
+ var DropdownMenuSubTrigger = React6.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
297
627
  DropdownMenuPrimitive.SubTrigger,
298
628
  {
299
629
  ref,
@@ -305,12 +635,12 @@ var DropdownMenuSubTrigger = React2.forwardRef(({ className, inset, children, ..
305
635
  ...props,
306
636
  children: [
307
637
  children,
308
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_lucide_react.ChevronRight, { className: "ml-auto" })
638
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_lucide_react2.ChevronRight, { className: "ml-auto" })
309
639
  ]
310
640
  }
311
641
  ));
312
642
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
313
- var DropdownMenuSubContent = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
643
+ var DropdownMenuSubContent = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
314
644
  DropdownMenuPrimitive.SubContent,
315
645
  {
316
646
  ref,
@@ -322,7 +652,7 @@ var DropdownMenuSubContent = React2.forwardRef(({ className, ...props }, ref) =>
322
652
  }
323
653
  ));
324
654
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
325
- var DropdownMenuContent = React2.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
655
+ var DropdownMenuContent = React6.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
326
656
  DropdownMenuPrimitive.Content,
327
657
  {
328
658
  ref,
@@ -336,7 +666,7 @@ var DropdownMenuContent = React2.forwardRef(({ className, sideOffset = 4, ...pro
336
666
  }
337
667
  ) }));
338
668
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
339
- var DropdownMenuItem = React2.forwardRef(({ className, inset, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
669
+ var DropdownMenuItem = React6.forwardRef(({ className, inset, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
340
670
  DropdownMenuPrimitive.Item,
341
671
  {
342
672
  ref,
@@ -345,7 +675,7 @@ var DropdownMenuItem = React2.forwardRef(({ className, inset, variant, ...props
345
675
  }
346
676
  ));
347
677
  DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
348
- var DropdownMenuCheckboxItem = React2.forwardRef(({ className, children, checked, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
678
+ var DropdownMenuCheckboxItem = React6.forwardRef(({ className, children, checked, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
349
679
  DropdownMenuPrimitive.CheckboxItem,
350
680
  {
351
681
  ref,
@@ -357,13 +687,13 @@ var DropdownMenuCheckboxItem = React2.forwardRef(({ className, children, checked
357
687
  checked,
358
688
  ...props,
359
689
  children: [
360
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_lucide_react.Check, { className: "h-4 w-4" }) }) }),
690
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_lucide_react2.Check, { className: "h-4 w-4" }) }) }),
361
691
  children
362
692
  ]
363
693
  }
364
694
  ));
365
695
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
366
- var DropdownMenuRadioItem = React2.forwardRef(({ className, children, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
696
+ var DropdownMenuRadioItem = React6.forwardRef(({ className, children, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
367
697
  DropdownMenuPrimitive.RadioItem,
368
698
  {
369
699
  ref,
@@ -374,13 +704,13 @@ var DropdownMenuRadioItem = React2.forwardRef(({ className, children, variant, .
374
704
  ),
375
705
  ...props,
376
706
  children: [
377
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_lucide_react.Circle, { className: "h-2 w-2 fill-current" }) }) }),
707
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_lucide_react2.Circle, { className: "h-2 w-2 fill-current" }) }) }),
378
708
  children
379
709
  ]
380
710
  }
381
711
  ));
382
712
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
383
- var DropdownMenuLabel = React2.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
713
+ var DropdownMenuLabel = React6.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
384
714
  DropdownMenuPrimitive.Label,
385
715
  {
386
716
  ref,
@@ -393,7 +723,7 @@ var DropdownMenuLabel = React2.forwardRef(({ className, inset, ...props }, ref)
393
723
  }
394
724
  ));
395
725
  DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
396
- var DropdownMenuSeparator = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
726
+ var DropdownMenuSeparator = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
397
727
  DropdownMenuPrimitive.Separator,
398
728
  {
399
729
  ref,
@@ -406,7 +736,7 @@ var DropdownMenuShortcut = ({
406
736
  className,
407
737
  ...props
408
738
  }) => {
409
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
739
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
410
740
  "span",
411
741
  {
412
742
  className: cn("ml-auto text-xs tracking-widest opacity-60", className),
@@ -418,12 +748,12 @@ DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
418
748
 
419
749
  // src/components/Field.tsx
420
750
  var import_react = require("react");
421
- var import_class_variance_authority3 = require("class-variance-authority");
751
+ var import_class_variance_authority7 = require("class-variance-authority");
422
752
  var import_react_separator = require("@radix-ui/react-separator");
423
- var import_radix_ui2 = require("radix-ui");
424
- var import_jsx_runtime4 = require("react/jsx-runtime");
753
+ var import_radix_ui5 = require("radix-ui");
754
+ var import_jsx_runtime10 = require("react/jsx-runtime");
425
755
  function FieldSet({ className, ...props }) {
426
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
756
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
427
757
  "fieldset",
428
758
  {
429
759
  "data-slot": "field-set",
@@ -441,7 +771,7 @@ function FieldLegend({
441
771
  variant = "legend",
442
772
  ...props
443
773
  }) {
444
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
774
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
445
775
  "legend",
446
776
  {
447
777
  "data-slot": "field-legend",
@@ -457,7 +787,7 @@ function FieldLegend({
457
787
  );
458
788
  }
459
789
  function FieldGroup({ className, ...props }) {
460
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
790
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
461
791
  "div",
462
792
  {
463
793
  "data-slot": "field-group",
@@ -469,7 +799,7 @@ function FieldGroup({ className, ...props }) {
469
799
  }
470
800
  );
471
801
  }
472
- var fieldVariants = (0, import_class_variance_authority3.cva)(
802
+ var fieldVariants = (0, import_class_variance_authority7.cva)(
473
803
  "group/field flex w-full gap-2 data-[invalid=true]:text-destructive",
474
804
  {
475
805
  variants: {
@@ -497,7 +827,7 @@ function Field({
497
827
  orientation = "vertical",
498
828
  ...props
499
829
  }) {
500
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
830
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
501
831
  "div",
502
832
  {
503
833
  role: "group",
@@ -509,7 +839,7 @@ function Field({
509
839
  );
510
840
  }
511
841
  function FieldContent({ className, ...props }) {
512
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
842
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
513
843
  "div",
514
844
  {
515
845
  "data-slot": "field-content",
@@ -525,8 +855,8 @@ function FieldLabel({
525
855
  className,
526
856
  ...props
527
857
  }) {
528
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
529
- import_radix_ui2.Label.Root,
858
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
859
+ import_radix_ui5.Label.Root,
530
860
  {
531
861
  "data-slot": "field-label",
532
862
  className: cn(
@@ -540,7 +870,7 @@ function FieldLabel({
540
870
  );
541
871
  }
542
872
  function FieldTitle({ className, ...props }) {
543
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
873
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
544
874
  "div",
545
875
  {
546
876
  "data-slot": "field-label",
@@ -553,7 +883,7 @@ function FieldTitle({ className, ...props }) {
553
883
  );
554
884
  }
555
885
  function FieldDescription({ className, ...props }) {
556
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
886
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
557
887
  "p",
558
888
  {
559
889
  "data-slot": "field-description",
@@ -572,7 +902,7 @@ function FieldSeparator({
572
902
  className,
573
903
  ...props
574
904
  }) {
575
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
905
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
576
906
  "div",
577
907
  {
578
908
  "data-slot": "field-separator",
@@ -583,8 +913,8 @@ function FieldSeparator({
583
913
  ),
584
914
  ...props,
585
915
  children: [
586
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_react_separator.Separator, { className: "absolute inset-0 top-1/2" }),
587
- children && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
916
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_separator.Separator, { className: "absolute inset-0 top-1/2" }),
917
+ children && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
588
918
  "span",
589
919
  {
590
920
  className: "bg-background text-muted-foreground relative mx-auto block w-fit px-2",
@@ -612,14 +942,14 @@ function FieldError({
612
942
  if (errors.length === 1 && errors[0]?.message) {
613
943
  return errors[0].message;
614
944
  }
615
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: errors.map(
616
- (error, index2) => error?.message && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("li", { children: error.message }, index2)
945
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: errors.map(
946
+ (error, index2) => error?.message && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("li", { children: error.message }, index2)
617
947
  ) });
618
948
  }, [children, errors]);
619
949
  if (!content) {
620
950
  return null;
621
951
  }
622
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
952
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
623
953
  "div",
624
954
  {
625
955
  role: "alert",
@@ -633,12 +963,12 @@ function FieldError({
633
963
 
634
964
  // src/components/Labels.tsx
635
965
  var LabelPrimitive = __toESM(require("@radix-ui/react-label"), 1);
636
- var import_jsx_runtime5 = require("react/jsx-runtime");
966
+ var import_jsx_runtime11 = require("react/jsx-runtime");
637
967
  function Label3({
638
968
  className,
639
969
  ...props
640
970
  }) {
641
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
971
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
642
972
  LabelPrimitive.Root,
643
973
  {
644
974
  "data-slot": "label",
@@ -652,10 +982,10 @@ function Label3({
652
982
  }
653
983
 
654
984
  // src/components/Pagination.tsx
655
- var import_lucide_react2 = require("lucide-react");
656
- var import_jsx_runtime6 = require("react/jsx-runtime");
985
+ var import_lucide_react3 = require("lucide-react");
986
+ var import_jsx_runtime12 = require("react/jsx-runtime");
657
987
  function Pagination({ className, ...props }) {
658
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
988
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
659
989
  "nav",
660
990
  {
661
991
  role: "navigation",
@@ -670,7 +1000,7 @@ function PaginationContent({
670
1000
  className,
671
1001
  ...props
672
1002
  }) {
673
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1003
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
674
1004
  "ul",
675
1005
  {
676
1006
  "data-slot": "pagination-content",
@@ -680,7 +1010,7 @@ function PaginationContent({
680
1010
  );
681
1011
  }
682
1012
  function PaginationItem({ ...props }) {
683
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("li", { "data-slot": "pagination-item", ...props });
1013
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("li", { "data-slot": "pagination-item", ...props });
684
1014
  }
685
1015
  function PaginationLink({
686
1016
  className,
@@ -688,7 +1018,7 @@ function PaginationLink({
688
1018
  size: size4,
689
1019
  ...props
690
1020
  }) {
691
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1021
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
692
1022
  "a",
693
1023
  {
694
1024
  "aria-current": isActive ? "page" : void 0,
@@ -703,7 +1033,7 @@ function PaginationPrevious({
703
1033
  className,
704
1034
  ...props
705
1035
  }) {
706
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1036
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
707
1037
  PaginationLink,
708
1038
  {
709
1039
  "aria-label": "Go to previous page",
@@ -711,8 +1041,8 @@ function PaginationPrevious({
711
1041
  className: cn("flex flex-row items-center gap-1 px-2.5 sm:pl-2.5", className),
712
1042
  ...props,
713
1043
  children: [
714
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_lucide_react2.ChevronLeftIcon, {}),
715
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "hidden sm:block", children: "Previous" })
1044
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react3.ChevronLeftIcon, {}),
1045
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "hidden sm:block", children: "Previous" })
716
1046
  ]
717
1047
  }
718
1048
  );
@@ -721,7 +1051,7 @@ function PaginationNext({
721
1051
  className,
722
1052
  ...props
723
1053
  }) {
724
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1054
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
725
1055
  PaginationLink,
726
1056
  {
727
1057
  "aria-label": "Go to next page",
@@ -729,8 +1059,8 @@ function PaginationNext({
729
1059
  className: cn("flex flex-row items-center gap-1 px-2.5 sm:pr-2.5", className),
730
1060
  ...props,
731
1061
  children: [
732
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "hidden sm:block", children: "Next" }),
733
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_lucide_react2.ChevronRightIcon, {})
1062
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "hidden sm:block", children: "Next" }),
1063
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react3.ChevronRightIcon, {})
734
1064
  ]
735
1065
  }
736
1066
  );
@@ -739,7 +1069,7 @@ function PaginationEllipsis({
739
1069
  className,
740
1070
  ...props
741
1071
  }) {
742
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1072
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
743
1073
  "span",
744
1074
  {
745
1075
  "aria-hidden": true,
@@ -747,28 +1077,28 @@ function PaginationEllipsis({
747
1077
  className: cn("flex size-9 items-center justify-center", className),
748
1078
  ...props,
749
1079
  children: [
750
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_lucide_react2.MoreHorizontalIcon, { className: "size-4" }),
751
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "sr-only", children: "More pages" })
1080
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react3.MoreHorizontalIcon, { className: "size-4" }),
1081
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "sr-only", children: "More pages" })
752
1082
  ]
753
1083
  }
754
1084
  );
755
1085
  }
756
1086
 
757
1087
  // src/components/Popover.tsx
758
- var React3 = __toESM(require("react"), 1);
1088
+ var React7 = __toESM(require("react"), 1);
759
1089
  var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"), 1);
760
- var import_jsx_runtime7 = require("react/jsx-runtime");
1090
+ var import_jsx_runtime13 = require("react/jsx-runtime");
761
1091
  var Popover = PopoverPrimitive.Root;
762
1092
  var PopoverTrigger = PopoverPrimitive.Trigger;
763
1093
  var PopoverAnchor = PopoverPrimitive.Anchor;
764
- var PopoverContent = React3.forwardRef(
1094
+ var PopoverContent = React7.forwardRef(
765
1095
  ({
766
1096
  className,
767
1097
  align = "center",
768
1098
  sideOffset = 6,
769
1099
  collisionPadding = 8,
770
1100
  ...props
771
- }, ref) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(PopoverPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
1101
+ }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(PopoverPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
772
1102
  PopoverPrimitive.Content,
773
1103
  {
774
1104
  ref,
@@ -797,12 +1127,12 @@ PopoverContent.displayName = "PopoverContent";
797
1127
 
798
1128
  // src/components/Tooltip.tsx
799
1129
  var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"), 1);
800
- var import_jsx_runtime8 = require("react/jsx-runtime");
1130
+ var import_jsx_runtime14 = require("react/jsx-runtime");
801
1131
  function TooltipProvider({
802
1132
  delayDuration = 0,
803
1133
  ...props
804
1134
  }) {
805
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1135
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
806
1136
  TooltipPrimitive.Provider,
807
1137
  {
808
1138
  "data-slot": "tooltip-provider",
@@ -814,12 +1144,12 @@ function TooltipProvider({
814
1144
  function Tooltip({
815
1145
  ...props
816
1146
  }) {
817
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(TooltipProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(TooltipPrimitive.Root, { "data-slot": "tooltip", ...props }) });
1147
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(TooltipProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(TooltipPrimitive.Root, { "data-slot": "tooltip", ...props }) });
818
1148
  }
819
1149
  function TooltipTrigger({
820
1150
  ...props
821
1151
  }) {
822
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(TooltipPrimitive.Trigger, { "data-slot": "tooltip-trigger", ...props });
1152
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(TooltipPrimitive.Trigger, { "data-slot": "tooltip-trigger", ...props });
823
1153
  }
824
1154
  function TooltipContent({
825
1155
  className,
@@ -827,27 +1157,27 @@ function TooltipContent({
827
1157
  children,
828
1158
  ...props
829
1159
  }) {
830
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(TooltipPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
1160
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(TooltipPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
831
1161
  TooltipPrimitive.Content,
832
1162
  {
833
1163
  "data-slot": "tooltip-content",
834
1164
  sideOffset,
835
1165
  className: cn(
836
- "bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",
1166
+ "bg-slate-900 text-white dark:bg-slate-100 dark:text-slate-900 animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",
837
1167
  className
838
1168
  ),
839
1169
  ...props,
840
1170
  children: [
841
1171
  children,
842
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(TooltipPrimitive.Arrow, { className: "bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })
1172
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(TooltipPrimitive.Arrow, { className: "fill-slate-900 dark:fill-slate-100 z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })
843
1173
  ]
844
1174
  }
845
1175
  ) });
846
1176
  }
847
1177
 
848
1178
  // src/components/Card/card.styles.ts
849
- var import_class_variance_authority4 = require("class-variance-authority");
850
- var cardVariants = (0, import_class_variance_authority4.cva)(
1179
+ var import_class_variance_authority8 = require("class-variance-authority");
1180
+ var cardVariants = (0, import_class_variance_authority8.cva)(
851
1181
  `
852
1182
  rounded-lg border p-4 transition-all duration-300
853
1183
  `,
@@ -869,14 +1199,14 @@ var cardVariants = (0, import_class_variance_authority4.cva)(
869
1199
  );
870
1200
 
871
1201
  // src/components/Card/index.tsx
872
- var import_jsx_runtime9 = require("react/jsx-runtime");
1202
+ var import_jsx_runtime15 = require("react/jsx-runtime");
873
1203
  function Card({ variant, className, ...props }) {
874
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: cn(cardVariants({ variant }), className), ...props });
1204
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: cn(cardVariants({ variant }), className), ...props });
875
1205
  }
876
1206
 
877
1207
  // src/components/Input/input.styles.ts
878
- var import_class_variance_authority5 = require("class-variance-authority");
879
- var inputVariants = (0, import_class_variance_authority5.cva)(
1208
+ var import_class_variance_authority9 = require("class-variance-authority");
1209
+ var inputVariants = (0, import_class_variance_authority9.cva)(
880
1210
  `
881
1211
  w-full rounded-md border transition-colors
882
1212
  bg-white dark:bg-white/5
@@ -913,9 +1243,9 @@ var inputVariants = (0, import_class_variance_authority5.cva)(
913
1243
  );
914
1244
 
915
1245
  // src/components/Input/index.tsx
916
- var import_jsx_runtime10 = require("react/jsx-runtime");
1246
+ var import_jsx_runtime16 = require("react/jsx-runtime");
917
1247
  function Input({ size: size4, variant, className, ...props }) {
918
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1248
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
919
1249
  "input",
920
1250
  {
921
1251
  className: cn(inputVariants({ variant, size: size4 }), className),
@@ -925,10 +1255,10 @@ function Input({ size: size4, variant, className, ...props }) {
925
1255
  }
926
1256
 
927
1257
  // src/components/Select/index.tsx
928
- var React34 = __toESM(require("react"), 1);
1258
+ var React38 = __toESM(require("react"), 1);
929
1259
 
930
1260
  // node_modules/@radix-ui/react-select/dist/index.mjs
931
- var React33 = __toESM(require("react"), 1);
1261
+ var React37 = __toESM(require("react"), 1);
932
1262
  var ReactDOM4 = __toESM(require("react-dom"), 1);
933
1263
 
934
1264
  // node_modules/@radix-ui/number/dist/index.mjs
@@ -951,24 +1281,24 @@ function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForD
951
1281
  var import_react2 = __toESM(require("react"), 1);
952
1282
 
953
1283
  // node_modules/@radix-ui/react-context/dist/index.mjs
954
- var React4 = __toESM(require("react"), 1);
955
- var import_jsx_runtime11 = require("react/jsx-runtime");
1284
+ var React8 = __toESM(require("react"), 1);
1285
+ var import_jsx_runtime17 = require("react/jsx-runtime");
956
1286
  function createContextScope(scopeName, createContextScopeDeps = []) {
957
1287
  let defaultContexts = [];
958
1288
  function createContext32(rootComponentName, defaultContext) {
959
- const BaseContext = React4.createContext(defaultContext);
1289
+ const BaseContext = React8.createContext(defaultContext);
960
1290
  const index2 = defaultContexts.length;
961
1291
  defaultContexts = [...defaultContexts, defaultContext];
962
1292
  const Provider2 = (props) => {
963
1293
  const { scope, children, ...context } = props;
964
1294
  const Context = scope?.[scopeName]?.[index2] || BaseContext;
965
- const value = React4.useMemo(() => context, Object.values(context));
966
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Context.Provider, { value, children });
1295
+ const value = React8.useMemo(() => context, Object.values(context));
1296
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Context.Provider, { value, children });
967
1297
  };
968
1298
  Provider2.displayName = rootComponentName + "Provider";
969
1299
  function useContext22(consumerName, scope) {
970
1300
  const Context = scope?.[scopeName]?.[index2] || BaseContext;
971
- const context = React4.useContext(Context);
1301
+ const context = React8.useContext(Context);
972
1302
  if (context) return context;
973
1303
  if (defaultContext !== void 0) return defaultContext;
974
1304
  throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
@@ -977,11 +1307,11 @@ function createContextScope(scopeName, createContextScopeDeps = []) {
977
1307
  }
978
1308
  const createScope = () => {
979
1309
  const scopeContexts = defaultContexts.map((defaultContext) => {
980
- return React4.createContext(defaultContext);
1310
+ return React8.createContext(defaultContext);
981
1311
  });
982
1312
  return function useScope(scope) {
983
1313
  const contexts = scope?.[scopeName] || scopeContexts;
984
- return React4.useMemo(
1314
+ return React8.useMemo(
985
1315
  () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),
986
1316
  [scope, contexts]
987
1317
  );
@@ -1004,7 +1334,7 @@ function composeContextScopes(...scopes) {
1004
1334
  const currentScope = scopeProps[`__scope${scopeName}`];
1005
1335
  return { ...nextScopes2, ...currentScope };
1006
1336
  }, {});
1007
- return React4.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);
1337
+ return React8.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);
1008
1338
  };
1009
1339
  };
1010
1340
  createScope.scopeName = baseScope.scopeName;
@@ -1012,7 +1342,7 @@ function composeContextScopes(...scopes) {
1012
1342
  }
1013
1343
 
1014
1344
  // node_modules/@radix-ui/react-compose-refs/dist/index.mjs
1015
- var React5 = __toESM(require("react"), 1);
1345
+ var React9 = __toESM(require("react"), 1);
1016
1346
  function setRef(ref, value) {
1017
1347
  if (typeof ref === "function") {
1018
1348
  return ref(value);
@@ -1045,15 +1375,15 @@ function composeRefs(...refs) {
1045
1375
  };
1046
1376
  }
1047
1377
  function useComposedRefs(...refs) {
1048
- return React5.useCallback(composeRefs(...refs), refs);
1378
+ return React9.useCallback(composeRefs(...refs), refs);
1049
1379
  }
1050
1380
 
1051
1381
  // node_modules/@radix-ui/react-collection/dist/index.mjs
1052
1382
  var import_react_slot2 = require("@radix-ui/react-slot");
1053
- var import_jsx_runtime12 = require("react/jsx-runtime");
1383
+ var import_jsx_runtime18 = require("react/jsx-runtime");
1054
1384
  var import_react3 = __toESM(require("react"), 1);
1055
1385
  var import_react_slot3 = require("@radix-ui/react-slot");
1056
- var import_jsx_runtime13 = require("react/jsx-runtime");
1386
+ var import_jsx_runtime19 = require("react/jsx-runtime");
1057
1387
  function createCollection(name) {
1058
1388
  const PROVIDER_NAME = name + "CollectionProvider";
1059
1389
  const [createCollectionContext, createCollectionScope2] = createContextScope(PROVIDER_NAME);
@@ -1065,7 +1395,7 @@ function createCollection(name) {
1065
1395
  const { scope, children } = props;
1066
1396
  const ref = import_react2.default.useRef(null);
1067
1397
  const itemMap = import_react2.default.useRef(/* @__PURE__ */ new Map()).current;
1068
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });
1398
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });
1069
1399
  };
1070
1400
  CollectionProvider.displayName = PROVIDER_NAME;
1071
1401
  const COLLECTION_SLOT_NAME = name + "CollectionSlot";
@@ -1075,7 +1405,7 @@ function createCollection(name) {
1075
1405
  const { scope, children } = props;
1076
1406
  const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);
1077
1407
  const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);
1078
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(CollectionSlotImpl, { ref: composedRefs, children });
1408
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(CollectionSlotImpl, { ref: composedRefs, children });
1079
1409
  }
1080
1410
  );
1081
1411
  CollectionSlot.displayName = COLLECTION_SLOT_NAME;
@@ -1092,7 +1422,7 @@ function createCollection(name) {
1092
1422
  context.itemMap.set(ref, { ref, ...itemData });
1093
1423
  return () => void context.itemMap.delete(ref);
1094
1424
  });
1095
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: "" }, ref: composedRefs, children });
1425
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: "" }, ref: composedRefs, children });
1096
1426
  }
1097
1427
  );
1098
1428
  CollectionItemSlot.displayName = ITEM_SLOT_NAME;
@@ -1118,22 +1448,22 @@ function createCollection(name) {
1118
1448
  }
1119
1449
 
1120
1450
  // node_modules/@radix-ui/react-direction/dist/index.mjs
1121
- var React7 = __toESM(require("react"), 1);
1122
- var import_jsx_runtime14 = require("react/jsx-runtime");
1123
- var DirectionContext = React7.createContext(void 0);
1451
+ var React11 = __toESM(require("react"), 1);
1452
+ var import_jsx_runtime20 = require("react/jsx-runtime");
1453
+ var DirectionContext = React11.createContext(void 0);
1124
1454
  function useDirection(localDir) {
1125
- const globalDir = React7.useContext(DirectionContext);
1455
+ const globalDir = React11.useContext(DirectionContext);
1126
1456
  return localDir || globalDir || "ltr";
1127
1457
  }
1128
1458
 
1129
1459
  // node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
1130
- var React11 = __toESM(require("react"), 1);
1460
+ var React15 = __toESM(require("react"), 1);
1131
1461
 
1132
1462
  // node_modules/@radix-ui/react-primitive/dist/index.mjs
1133
- var React8 = __toESM(require("react"), 1);
1463
+ var React12 = __toESM(require("react"), 1);
1134
1464
  var ReactDOM = __toESM(require("react-dom"), 1);
1135
1465
  var import_react_slot4 = require("@radix-ui/react-slot");
1136
- var import_jsx_runtime15 = require("react/jsx-runtime");
1466
+ var import_jsx_runtime21 = require("react/jsx-runtime");
1137
1467
  var NODES = [
1138
1468
  "a",
1139
1469
  "button",
@@ -1155,13 +1485,13 @@ var NODES = [
1155
1485
  ];
1156
1486
  var Primitive = NODES.reduce((primitive, node) => {
1157
1487
  const Slot3 = (0, import_react_slot4.createSlot)(`Primitive.${node}`);
1158
- const Node2 = React8.forwardRef((props, forwardedRef) => {
1488
+ const Node2 = React12.forwardRef((props, forwardedRef) => {
1159
1489
  const { asChild, ...primitiveProps } = props;
1160
1490
  const Comp = asChild ? Slot3 : node;
1161
1491
  if (typeof window !== "undefined") {
1162
1492
  window[/* @__PURE__ */ Symbol.for("radix-ui")] = true;
1163
1493
  }
1164
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Comp, { ...primitiveProps, ref: forwardedRef });
1494
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Comp, { ...primitiveProps, ref: forwardedRef });
1165
1495
  });
1166
1496
  Node2.displayName = `Primitive.${node}`;
1167
1497
  return { ...primitive, [node]: Node2 };
@@ -1171,20 +1501,20 @@ function dispatchDiscreteCustomEvent(target, event) {
1171
1501
  }
1172
1502
 
1173
1503
  // node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
1174
- var React9 = __toESM(require("react"), 1);
1504
+ var React13 = __toESM(require("react"), 1);
1175
1505
  function useCallbackRef(callback) {
1176
- const callbackRef = React9.useRef(callback);
1177
- React9.useEffect(() => {
1506
+ const callbackRef = React13.useRef(callback);
1507
+ React13.useEffect(() => {
1178
1508
  callbackRef.current = callback;
1179
1509
  });
1180
- return React9.useMemo(() => (...args) => callbackRef.current?.(...args), []);
1510
+ return React13.useMemo(() => (...args) => callbackRef.current?.(...args), []);
1181
1511
  }
1182
1512
 
1183
1513
  // node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
1184
- var React10 = __toESM(require("react"), 1);
1514
+ var React14 = __toESM(require("react"), 1);
1185
1515
  function useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {
1186
1516
  const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);
1187
- React10.useEffect(() => {
1517
+ React14.useEffect(() => {
1188
1518
  const handleKeyDown = (event) => {
1189
1519
  if (event.key === "Escape") {
1190
1520
  onEscapeKeyDown(event);
@@ -1196,18 +1526,18 @@ function useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.docum
1196
1526
  }
1197
1527
 
1198
1528
  // node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
1199
- var import_jsx_runtime16 = require("react/jsx-runtime");
1529
+ var import_jsx_runtime22 = require("react/jsx-runtime");
1200
1530
  var DISMISSABLE_LAYER_NAME = "DismissableLayer";
1201
1531
  var CONTEXT_UPDATE = "dismissableLayer.update";
1202
1532
  var POINTER_DOWN_OUTSIDE = "dismissableLayer.pointerDownOutside";
1203
1533
  var FOCUS_OUTSIDE = "dismissableLayer.focusOutside";
1204
1534
  var originalBodyPointerEvents;
1205
- var DismissableLayerContext = React11.createContext({
1535
+ var DismissableLayerContext = React15.createContext({
1206
1536
  layers: /* @__PURE__ */ new Set(),
1207
1537
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
1208
1538
  branches: /* @__PURE__ */ new Set()
1209
1539
  });
1210
- var DismissableLayer = React11.forwardRef(
1540
+ var DismissableLayer = React15.forwardRef(
1211
1541
  (props, forwardedRef) => {
1212
1542
  const {
1213
1543
  disableOutsidePointerEvents = false,
@@ -1218,10 +1548,10 @@ var DismissableLayer = React11.forwardRef(
1218
1548
  onDismiss,
1219
1549
  ...layerProps
1220
1550
  } = props;
1221
- const context = React11.useContext(DismissableLayerContext);
1222
- const [node, setNode] = React11.useState(null);
1551
+ const context = React15.useContext(DismissableLayerContext);
1552
+ const [node, setNode] = React15.useState(null);
1223
1553
  const ownerDocument = node?.ownerDocument ?? globalThis?.document;
1224
- const [, force] = React11.useState({});
1554
+ const [, force] = React15.useState({});
1225
1555
  const composedRefs = useComposedRefs(forwardedRef, (node2) => setNode(node2));
1226
1556
  const layers = Array.from(context.layers);
1227
1557
  const [highestLayerWithOutsidePointerEventsDisabled] = [...context.layersWithOutsidePointerEventsDisabled].slice(-1);
@@ -1254,7 +1584,7 @@ var DismissableLayer = React11.forwardRef(
1254
1584
  onDismiss();
1255
1585
  }
1256
1586
  }, ownerDocument);
1257
- React11.useEffect(() => {
1587
+ React15.useEffect(() => {
1258
1588
  if (!node) return;
1259
1589
  if (disableOutsidePointerEvents) {
1260
1590
  if (context.layersWithOutsidePointerEventsDisabled.size === 0) {
@@ -1271,7 +1601,7 @@ var DismissableLayer = React11.forwardRef(
1271
1601
  }
1272
1602
  };
1273
1603
  }, [node, ownerDocument, disableOutsidePointerEvents, context]);
1274
- React11.useEffect(() => {
1604
+ React15.useEffect(() => {
1275
1605
  return () => {
1276
1606
  if (!node) return;
1277
1607
  context.layers.delete(node);
@@ -1279,12 +1609,12 @@ var DismissableLayer = React11.forwardRef(
1279
1609
  dispatchUpdate();
1280
1610
  };
1281
1611
  }, [node, context]);
1282
- React11.useEffect(() => {
1612
+ React15.useEffect(() => {
1283
1613
  const handleUpdate = () => force({});
1284
1614
  document.addEventListener(CONTEXT_UPDATE, handleUpdate);
1285
1615
  return () => document.removeEventListener(CONTEXT_UPDATE, handleUpdate);
1286
1616
  }, []);
1287
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1617
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1288
1618
  Primitive.div,
1289
1619
  {
1290
1620
  ...layerProps,
@@ -1305,11 +1635,11 @@ var DismissableLayer = React11.forwardRef(
1305
1635
  );
1306
1636
  DismissableLayer.displayName = DISMISSABLE_LAYER_NAME;
1307
1637
  var BRANCH_NAME = "DismissableLayerBranch";
1308
- var DismissableLayerBranch = React11.forwardRef((props, forwardedRef) => {
1309
- const context = React11.useContext(DismissableLayerContext);
1310
- const ref = React11.useRef(null);
1638
+ var DismissableLayerBranch = React15.forwardRef((props, forwardedRef) => {
1639
+ const context = React15.useContext(DismissableLayerContext);
1640
+ const ref = React15.useRef(null);
1311
1641
  const composedRefs = useComposedRefs(forwardedRef, ref);
1312
- React11.useEffect(() => {
1642
+ React15.useEffect(() => {
1313
1643
  const node = ref.current;
1314
1644
  if (node) {
1315
1645
  context.branches.add(node);
@@ -1318,15 +1648,15 @@ var DismissableLayerBranch = React11.forwardRef((props, forwardedRef) => {
1318
1648
  };
1319
1649
  }
1320
1650
  }, [context.branches]);
1321
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Primitive.div, { ...props, ref: composedRefs });
1651
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Primitive.div, { ...props, ref: composedRefs });
1322
1652
  });
1323
1653
  DismissableLayerBranch.displayName = BRANCH_NAME;
1324
1654
  function usePointerDownOutside(onPointerDownOutside, ownerDocument = globalThis?.document) {
1325
1655
  const handlePointerDownOutside = useCallbackRef(onPointerDownOutside);
1326
- const isPointerInsideReactTreeRef = React11.useRef(false);
1327
- const handleClickRef = React11.useRef(() => {
1656
+ const isPointerInsideReactTreeRef = React15.useRef(false);
1657
+ const handleClickRef = React15.useRef(() => {
1328
1658
  });
1329
- React11.useEffect(() => {
1659
+ React15.useEffect(() => {
1330
1660
  const handlePointerDown = (event) => {
1331
1661
  if (event.target && !isPointerInsideReactTreeRef.current) {
1332
1662
  let handleAndDispatchPointerDownOutsideEvent2 = function() {
@@ -1367,8 +1697,8 @@ function usePointerDownOutside(onPointerDownOutside, ownerDocument = globalThis?
1367
1697
  }
1368
1698
  function useFocusOutside(onFocusOutside, ownerDocument = globalThis?.document) {
1369
1699
  const handleFocusOutside = useCallbackRef(onFocusOutside);
1370
- const isFocusInsideReactTreeRef = React11.useRef(false);
1371
- React11.useEffect(() => {
1700
+ const isFocusInsideReactTreeRef = React15.useRef(false);
1701
+ React15.useEffect(() => {
1372
1702
  const handleFocus = (event) => {
1373
1703
  if (event.target && !isFocusInsideReactTreeRef.current) {
1374
1704
  const eventDetail = { originalEvent: event };
@@ -1401,10 +1731,10 @@ function handleAndDispatchCustomEvent(name, handler, detail, { discrete }) {
1401
1731
  }
1402
1732
 
1403
1733
  // node_modules/@radix-ui/react-focus-guards/dist/index.mjs
1404
- var React12 = __toESM(require("react"), 1);
1734
+ var React16 = __toESM(require("react"), 1);
1405
1735
  var count = 0;
1406
1736
  function useFocusGuards() {
1407
- React12.useEffect(() => {
1737
+ React16.useEffect(() => {
1408
1738
  const edgeGuards = document.querySelectorAll("[data-radix-focus-guard]");
1409
1739
  document.body.insertAdjacentElement("afterbegin", edgeGuards[0] ?? createFocusGuard());
1410
1740
  document.body.insertAdjacentElement("beforeend", edgeGuards[1] ?? createFocusGuard());
@@ -1429,13 +1759,13 @@ function createFocusGuard() {
1429
1759
  }
1430
1760
 
1431
1761
  // node_modules/@radix-ui/react-focus-scope/dist/index.mjs
1432
- var React13 = __toESM(require("react"), 1);
1433
- var import_jsx_runtime17 = require("react/jsx-runtime");
1762
+ var React17 = __toESM(require("react"), 1);
1763
+ var import_jsx_runtime23 = require("react/jsx-runtime");
1434
1764
  var AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount";
1435
1765
  var AUTOFOCUS_ON_UNMOUNT = "focusScope.autoFocusOnUnmount";
1436
1766
  var EVENT_OPTIONS = { bubbles: false, cancelable: true };
1437
1767
  var FOCUS_SCOPE_NAME = "FocusScope";
1438
- var FocusScope = React13.forwardRef((props, forwardedRef) => {
1768
+ var FocusScope = React17.forwardRef((props, forwardedRef) => {
1439
1769
  const {
1440
1770
  loop = false,
1441
1771
  trapped = false,
@@ -1443,12 +1773,12 @@ var FocusScope = React13.forwardRef((props, forwardedRef) => {
1443
1773
  onUnmountAutoFocus: onUnmountAutoFocusProp,
1444
1774
  ...scopeProps
1445
1775
  } = props;
1446
- const [container, setContainer] = React13.useState(null);
1776
+ const [container, setContainer] = React17.useState(null);
1447
1777
  const onMountAutoFocus = useCallbackRef(onMountAutoFocusProp);
1448
1778
  const onUnmountAutoFocus = useCallbackRef(onUnmountAutoFocusProp);
1449
- const lastFocusedElementRef = React13.useRef(null);
1779
+ const lastFocusedElementRef = React17.useRef(null);
1450
1780
  const composedRefs = useComposedRefs(forwardedRef, (node) => setContainer(node));
1451
- const focusScope = React13.useRef({
1781
+ const focusScope = React17.useRef({
1452
1782
  paused: false,
1453
1783
  pause() {
1454
1784
  this.paused = true;
@@ -1457,7 +1787,7 @@ var FocusScope = React13.forwardRef((props, forwardedRef) => {
1457
1787
  this.paused = false;
1458
1788
  }
1459
1789
  }).current;
1460
- React13.useEffect(() => {
1790
+ React17.useEffect(() => {
1461
1791
  if (trapped) {
1462
1792
  let handleFocusIn2 = function(event) {
1463
1793
  if (focusScope.paused || !container) return;
@@ -1493,7 +1823,7 @@ var FocusScope = React13.forwardRef((props, forwardedRef) => {
1493
1823
  };
1494
1824
  }
1495
1825
  }, [trapped, container, focusScope.paused]);
1496
- React13.useEffect(() => {
1826
+ React17.useEffect(() => {
1497
1827
  if (container) {
1498
1828
  focusScopesStack.add(focusScope);
1499
1829
  const previouslyFocusedElement = document.activeElement;
@@ -1524,7 +1854,7 @@ var FocusScope = React13.forwardRef((props, forwardedRef) => {
1524
1854
  };
1525
1855
  }
1526
1856
  }, [container, onMountAutoFocus, onUnmountAutoFocus, focusScope]);
1527
- const handleKeyDown = React13.useCallback(
1857
+ const handleKeyDown = React17.useCallback(
1528
1858
  (event) => {
1529
1859
  if (!loop && !trapped) return;
1530
1860
  if (focusScope.paused) return;
@@ -1549,7 +1879,7 @@ var FocusScope = React13.forwardRef((props, forwardedRef) => {
1549
1879
  },
1550
1880
  [loop, trapped, focusScope.paused]
1551
1881
  );
1552
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Primitive.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });
1882
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Primitive.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });
1553
1883
  });
1554
1884
  FocusScope.displayName = FOCUS_SCOPE_NAME;
1555
1885
  function focusFirst(candidates, { select = false } = {}) {
@@ -1633,18 +1963,18 @@ function removeLinks(items) {
1633
1963
  }
1634
1964
 
1635
1965
  // node_modules/@radix-ui/react-id/dist/index.mjs
1636
- var React15 = __toESM(require("react"), 1);
1966
+ var React19 = __toESM(require("react"), 1);
1637
1967
 
1638
1968
  // node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
1639
- var React14 = __toESM(require("react"), 1);
1640
- var useLayoutEffect2 = globalThis?.document ? React14.useLayoutEffect : () => {
1969
+ var React18 = __toESM(require("react"), 1);
1970
+ var useLayoutEffect2 = globalThis?.document ? React18.useLayoutEffect : () => {
1641
1971
  };
1642
1972
 
1643
1973
  // node_modules/@radix-ui/react-id/dist/index.mjs
1644
- var useReactId = React15[" useId ".trim().toString()] || (() => void 0);
1974
+ var useReactId = React19[" useId ".trim().toString()] || (() => void 0);
1645
1975
  var count2 = 0;
1646
1976
  function useId(deterministicId) {
1647
- const [id, setId] = React15.useState(useReactId());
1977
+ const [id, setId] = React19.useState(useReactId());
1648
1978
  useLayoutEffect2(() => {
1649
1979
  if (!deterministicId) setId((reactId) => reactId ?? String(count2++));
1650
1980
  }, [deterministicId]);
@@ -1652,7 +1982,7 @@ function useId(deterministicId) {
1652
1982
  }
1653
1983
 
1654
1984
  // node_modules/@radix-ui/react-popper/dist/index.mjs
1655
- var React19 = __toESM(require("react"), 1);
1985
+ var React24 = __toESM(require("react"), 1);
1656
1986
 
1657
1987
  // node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
1658
1988
  var sides = ["top", "right", "bottom", "left"];
@@ -3272,7 +3602,7 @@ var computePosition2 = (reference, floating, options) => {
3272
3602
  };
3273
3603
 
3274
3604
  // node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs
3275
- var React16 = __toESM(require("react"), 1);
3605
+ var React20 = __toESM(require("react"), 1);
3276
3606
  var import_react4 = require("react");
3277
3607
  var ReactDOM2 = __toESM(require("react-dom"), 1);
3278
3608
  var isClient = typeof document !== "undefined";
@@ -3338,7 +3668,7 @@ function roundByDPR(element, value) {
3338
3668
  return Math.round(value * dpr) / dpr;
3339
3669
  }
3340
3670
  function useLatestRef(value) {
3341
- const ref = React16.useRef(value);
3671
+ const ref = React20.useRef(value);
3342
3672
  index(() => {
3343
3673
  ref.current = value;
3344
3674
  });
@@ -3361,7 +3691,7 @@ function useFloating(options) {
3361
3691
  whileElementsMounted,
3362
3692
  open
3363
3693
  } = options;
3364
- const [data, setData] = React16.useState({
3694
+ const [data, setData] = React20.useState({
3365
3695
  x: 0,
3366
3696
  y: 0,
3367
3697
  strategy,
@@ -3369,19 +3699,19 @@ function useFloating(options) {
3369
3699
  middlewareData: {},
3370
3700
  isPositioned: false
3371
3701
  });
3372
- const [latestMiddleware, setLatestMiddleware] = React16.useState(middleware);
3702
+ const [latestMiddleware, setLatestMiddleware] = React20.useState(middleware);
3373
3703
  if (!deepEqual(latestMiddleware, middleware)) {
3374
3704
  setLatestMiddleware(middleware);
3375
3705
  }
3376
- const [_reference, _setReference] = React16.useState(null);
3377
- const [_floating, _setFloating] = React16.useState(null);
3378
- const setReference = React16.useCallback((node) => {
3706
+ const [_reference, _setReference] = React20.useState(null);
3707
+ const [_floating, _setFloating] = React20.useState(null);
3708
+ const setReference = React20.useCallback((node) => {
3379
3709
  if (node !== referenceRef.current) {
3380
3710
  referenceRef.current = node;
3381
3711
  _setReference(node);
3382
3712
  }
3383
3713
  }, []);
3384
- const setFloating = React16.useCallback((node) => {
3714
+ const setFloating = React20.useCallback((node) => {
3385
3715
  if (node !== floatingRef.current) {
3386
3716
  floatingRef.current = node;
3387
3717
  _setFloating(node);
@@ -3389,14 +3719,14 @@ function useFloating(options) {
3389
3719
  }, []);
3390
3720
  const referenceEl = externalReference || _reference;
3391
3721
  const floatingEl = externalFloating || _floating;
3392
- const referenceRef = React16.useRef(null);
3393
- const floatingRef = React16.useRef(null);
3394
- const dataRef = React16.useRef(data);
3722
+ const referenceRef = React20.useRef(null);
3723
+ const floatingRef = React20.useRef(null);
3724
+ const dataRef = React20.useRef(data);
3395
3725
  const hasWhileElementsMounted = whileElementsMounted != null;
3396
3726
  const whileElementsMountedRef = useLatestRef(whileElementsMounted);
3397
3727
  const platformRef = useLatestRef(platform2);
3398
3728
  const openRef = useLatestRef(open);
3399
- const update = React16.useCallback(() => {
3729
+ const update = React20.useCallback(() => {
3400
3730
  if (!referenceRef.current || !floatingRef.current) {
3401
3731
  return;
3402
3732
  }
@@ -3434,7 +3764,7 @@ function useFloating(options) {
3434
3764
  }));
3435
3765
  }
3436
3766
  }, [open]);
3437
- const isMountedRef = React16.useRef(false);
3767
+ const isMountedRef = React20.useRef(false);
3438
3768
  index(() => {
3439
3769
  isMountedRef.current = true;
3440
3770
  return () => {
@@ -3451,17 +3781,17 @@ function useFloating(options) {
3451
3781
  update();
3452
3782
  }
3453
3783
  }, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);
3454
- const refs = React16.useMemo(() => ({
3784
+ const refs = React20.useMemo(() => ({
3455
3785
  reference: referenceRef,
3456
3786
  floating: floatingRef,
3457
3787
  setReference,
3458
3788
  setFloating
3459
3789
  }), [setReference, setFloating]);
3460
- const elements = React16.useMemo(() => ({
3790
+ const elements = React20.useMemo(() => ({
3461
3791
  reference: referenceEl,
3462
3792
  floating: floatingEl
3463
3793
  }), [referenceEl, floatingEl]);
3464
- const floatingStyles = React16.useMemo(() => {
3794
+ const floatingStyles = React20.useMemo(() => {
3465
3795
  const initialStyles = {
3466
3796
  position: strategy,
3467
3797
  left: 0,
@@ -3487,7 +3817,7 @@ function useFloating(options) {
3487
3817
  top: y
3488
3818
  };
3489
3819
  }, [strategy, transform, elements.floating, data.x, data.y]);
3490
- return React16.useMemo(() => ({
3820
+ return React20.useMemo(() => ({
3491
3821
  ...data,
3492
3822
  update,
3493
3823
  refs,
@@ -3583,12 +3913,12 @@ var arrow3 = (options, deps) => {
3583
3913
  };
3584
3914
 
3585
3915
  // node_modules/@radix-ui/react-arrow/dist/index.mjs
3586
- var React17 = __toESM(require("react"), 1);
3587
- var import_jsx_runtime18 = require("react/jsx-runtime");
3916
+ var React21 = __toESM(require("react"), 1);
3917
+ var import_jsx_runtime24 = require("react/jsx-runtime");
3588
3918
  var NAME = "Arrow";
3589
- var Arrow2 = React17.forwardRef((props, forwardedRef) => {
3919
+ var Arrow2 = React21.forwardRef((props, forwardedRef) => {
3590
3920
  const { children, width = 10, height = 5, ...arrowProps } = props;
3591
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3921
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
3592
3922
  Primitive.svg,
3593
3923
  {
3594
3924
  ...arrowProps,
@@ -3597,7 +3927,7 @@ var Arrow2 = React17.forwardRef((props, forwardedRef) => {
3597
3927
  height,
3598
3928
  viewBox: "0 0 30 10",
3599
3929
  preserveAspectRatio: "none",
3600
- children: props.asChild ? children : /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("polygon", { points: "0,0 30,0 15,10" })
3930
+ children: props.asChild ? children : /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("polygon", { points: "0,0 30,0 15,10" })
3601
3931
  }
3602
3932
  );
3603
3933
  });
@@ -3605,9 +3935,9 @@ Arrow2.displayName = NAME;
3605
3935
  var Root5 = Arrow2;
3606
3936
 
3607
3937
  // node_modules/@radix-ui/react-use-size/dist/index.mjs
3608
- var React18 = __toESM(require("react"), 1);
3938
+ var React23 = __toESM(require("react"), 1);
3609
3939
  function useSize(element) {
3610
- const [size4, setSize] = React18.useState(void 0);
3940
+ const [size4, setSize] = React23.useState(void 0);
3611
3941
  useLayoutEffect2(() => {
3612
3942
  if (element) {
3613
3943
  setSize({ width: element.offsetWidth, height: element.offsetHeight });
@@ -3642,38 +3972,38 @@ function useSize(element) {
3642
3972
  }
3643
3973
 
3644
3974
  // node_modules/@radix-ui/react-popper/dist/index.mjs
3645
- var import_jsx_runtime19 = require("react/jsx-runtime");
3975
+ var import_jsx_runtime25 = require("react/jsx-runtime");
3646
3976
  var POPPER_NAME = "Popper";
3647
3977
  var [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);
3648
3978
  var [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);
3649
3979
  var Popper = (props) => {
3650
3980
  const { __scopePopper, children } = props;
3651
- const [anchor, setAnchor] = React19.useState(null);
3652
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });
3981
+ const [anchor, setAnchor] = React24.useState(null);
3982
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });
3653
3983
  };
3654
3984
  Popper.displayName = POPPER_NAME;
3655
3985
  var ANCHOR_NAME = "PopperAnchor";
3656
- var PopperAnchor = React19.forwardRef(
3986
+ var PopperAnchor = React24.forwardRef(
3657
3987
  (props, forwardedRef) => {
3658
3988
  const { __scopePopper, virtualRef, ...anchorProps } = props;
3659
3989
  const context = usePopperContext(ANCHOR_NAME, __scopePopper);
3660
- const ref = React19.useRef(null);
3990
+ const ref = React24.useRef(null);
3661
3991
  const composedRefs = useComposedRefs(forwardedRef, ref);
3662
- const anchorRef = React19.useRef(null);
3663
- React19.useEffect(() => {
3992
+ const anchorRef = React24.useRef(null);
3993
+ React24.useEffect(() => {
3664
3994
  const previousAnchor = anchorRef.current;
3665
3995
  anchorRef.current = virtualRef?.current || ref.current;
3666
3996
  if (previousAnchor !== anchorRef.current) {
3667
3997
  context.onAnchorChange(anchorRef.current);
3668
3998
  }
3669
3999
  });
3670
- return virtualRef ? null : /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Primitive.div, { ...anchorProps, ref: composedRefs });
4000
+ return virtualRef ? null : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Primitive.div, { ...anchorProps, ref: composedRefs });
3671
4001
  }
3672
4002
  );
3673
4003
  PopperAnchor.displayName = ANCHOR_NAME;
3674
4004
  var CONTENT_NAME = "PopperContent";
3675
4005
  var [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME);
3676
- var PopperContent = React19.forwardRef(
4006
+ var PopperContent = React24.forwardRef(
3677
4007
  (props, forwardedRef) => {
3678
4008
  const {
3679
4009
  __scopePopper,
@@ -3692,9 +4022,9 @@ var PopperContent = React19.forwardRef(
3692
4022
  ...contentProps
3693
4023
  } = props;
3694
4024
  const context = usePopperContext(CONTENT_NAME, __scopePopper);
3695
- const [content, setContent] = React19.useState(null);
4025
+ const [content, setContent] = React24.useState(null);
3696
4026
  const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));
3697
- const [arrow4, setArrow] = React19.useState(null);
4027
+ const [arrow4, setArrow] = React24.useState(null);
3698
4028
  const arrowSize = useSize(arrow4);
3699
4029
  const arrowWidth = arrowSize?.width ?? 0;
3700
4030
  const arrowHeight = arrowSize?.height ?? 0;
@@ -3756,11 +4086,11 @@ var PopperContent = React19.forwardRef(
3756
4086
  const arrowX = middlewareData.arrow?.x;
3757
4087
  const arrowY = middlewareData.arrow?.y;
3758
4088
  const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;
3759
- const [contentZIndex, setContentZIndex] = React19.useState();
4089
+ const [contentZIndex, setContentZIndex] = React24.useState();
3760
4090
  useLayoutEffect2(() => {
3761
4091
  if (content) setContentZIndex(window.getComputedStyle(content).zIndex);
3762
4092
  }, [content]);
3763
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
4093
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
3764
4094
  "div",
3765
4095
  {
3766
4096
  ref: refs.setFloating,
@@ -3784,7 +4114,7 @@ var PopperContent = React19.forwardRef(
3784
4114
  }
3785
4115
  },
3786
4116
  dir: props.dir,
3787
- children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
4117
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
3788
4118
  PopperContentProvider,
3789
4119
  {
3790
4120
  scope: __scopePopper,
@@ -3793,7 +4123,7 @@ var PopperContent = React19.forwardRef(
3793
4123
  arrowX,
3794
4124
  arrowY,
3795
4125
  shouldHideArrow: cannotCenterArrow,
3796
- children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
4126
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
3797
4127
  Primitive.div,
3798
4128
  {
3799
4129
  "data-side": placedSide,
@@ -3822,7 +4152,7 @@ var OPPOSITE_SIDE = {
3822
4152
  bottom: "top",
3823
4153
  left: "right"
3824
4154
  };
3825
- var PopperArrow = React19.forwardRef(function PopperArrow2(props, forwardedRef) {
4155
+ var PopperArrow = React24.forwardRef(function PopperArrow2(props, forwardedRef) {
3826
4156
  const { __scopePopper, ...arrowProps } = props;
3827
4157
  const contentContext = useContentContext(ARROW_NAME, __scopePopper);
3828
4158
  const baseSide = OPPOSITE_SIDE[contentContext.placedSide];
@@ -3830,7 +4160,7 @@ var PopperArrow = React19.forwardRef(function PopperArrow2(props, forwardedRef)
3830
4160
  // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
3831
4161
  // doesn't report size as we'd expect on SVG elements.
3832
4162
  // it reports their bounding box which is effectively the largest path inside the SVG.
3833
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
4163
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
3834
4164
  "span",
3835
4165
  {
3836
4166
  ref: contentContext.onArrowChange,
@@ -3853,7 +4183,7 @@ var PopperArrow = React19.forwardRef(function PopperArrow2(props, forwardedRef)
3853
4183
  }[contentContext.placedSide],
3854
4184
  visibility: contentContext.shouldHideArrow ? "hidden" : void 0
3855
4185
  },
3856
- children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
4186
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
3857
4187
  Root5,
3858
4188
  {
3859
4189
  ...arrowProps,
@@ -3914,16 +4244,16 @@ var Content4 = PopperContent;
3914
4244
  var Arrow3 = PopperArrow;
3915
4245
 
3916
4246
  // node_modules/@radix-ui/react-portal/dist/index.mjs
3917
- var React20 = __toESM(require("react"), 1);
4247
+ var React25 = __toESM(require("react"), 1);
3918
4248
  var import_react_dom2 = __toESM(require("react-dom"), 1);
3919
- var import_jsx_runtime20 = require("react/jsx-runtime");
4249
+ var import_jsx_runtime26 = require("react/jsx-runtime");
3920
4250
  var PORTAL_NAME = "Portal";
3921
- var Portal4 = React20.forwardRef((props, forwardedRef) => {
4251
+ var Portal4 = React25.forwardRef((props, forwardedRef) => {
3922
4252
  const { container: containerProp, ...portalProps } = props;
3923
- const [mounted, setMounted] = React20.useState(false);
4253
+ const [mounted, setMounted] = React25.useState(false);
3924
4254
  useLayoutEffect2(() => setMounted(true), []);
3925
4255
  const container = containerProp || mounted && globalThis?.document?.body;
3926
- return container ? import_react_dom2.default.createPortal(/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;
4256
+ return container ? import_react_dom2.default.createPortal(/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;
3927
4257
  });
3928
4258
  Portal4.displayName = PORTAL_NAME;
3929
4259
 
@@ -3931,9 +4261,9 @@ Portal4.displayName = PORTAL_NAME;
3931
4261
  var import_react_slot5 = require("@radix-ui/react-slot");
3932
4262
 
3933
4263
  // node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
3934
- var React21 = __toESM(require("react"), 1);
3935
- var React23 = __toESM(require("react"), 1);
3936
- var useInsertionEffect = React21[" useInsertionEffect ".trim().toString()] || useLayoutEffect2;
4264
+ var React26 = __toESM(require("react"), 1);
4265
+ var React27 = __toESM(require("react"), 1);
4266
+ var useInsertionEffect = React26[" useInsertionEffect ".trim().toString()] || useLayoutEffect2;
3937
4267
  function useControllableState({
3938
4268
  prop,
3939
4269
  defaultProp,
@@ -3948,8 +4278,8 @@ function useControllableState({
3948
4278
  const isControlled = prop !== void 0;
3949
4279
  const value = isControlled ? prop : uncontrolledProp;
3950
4280
  if (true) {
3951
- const isControlledRef = React21.useRef(prop !== void 0);
3952
- React21.useEffect(() => {
4281
+ const isControlledRef = React26.useRef(prop !== void 0);
4282
+ React26.useEffect(() => {
3953
4283
  const wasControlled = isControlledRef.current;
3954
4284
  if (wasControlled !== isControlled) {
3955
4285
  const from = wasControlled ? "controlled" : "uncontrolled";
@@ -3961,7 +4291,7 @@ function useControllableState({
3961
4291
  isControlledRef.current = isControlled;
3962
4292
  }, [isControlled, caller]);
3963
4293
  }
3964
- const setValue = React21.useCallback(
4294
+ const setValue = React26.useCallback(
3965
4295
  (nextValue) => {
3966
4296
  if (isControlled) {
3967
4297
  const value2 = isFunction(nextValue) ? nextValue(prop) : nextValue;
@@ -3980,13 +4310,13 @@ function useUncontrolledState({
3980
4310
  defaultProp,
3981
4311
  onChange
3982
4312
  }) {
3983
- const [value, setValue] = React21.useState(defaultProp);
3984
- const prevValueRef = React21.useRef(value);
3985
- const onChangeRef = React21.useRef(onChange);
4313
+ const [value, setValue] = React26.useState(defaultProp);
4314
+ const prevValueRef = React26.useRef(value);
4315
+ const onChangeRef = React26.useRef(onChange);
3986
4316
  useInsertionEffect(() => {
3987
4317
  onChangeRef.current = onChange;
3988
4318
  }, [onChange]);
3989
- React21.useEffect(() => {
4319
+ React26.useEffect(() => {
3990
4320
  if (prevValueRef.current !== value) {
3991
4321
  onChangeRef.current?.(value);
3992
4322
  prevValueRef.current = value;
@@ -3999,10 +4329,10 @@ function isFunction(value) {
3999
4329
  }
4000
4330
 
4001
4331
  // node_modules/@radix-ui/react-use-previous/dist/index.mjs
4002
- var React24 = __toESM(require("react"), 1);
4332
+ var React28 = __toESM(require("react"), 1);
4003
4333
  function usePrevious(value) {
4004
- const ref = React24.useRef({ value, previous: value });
4005
- return React24.useMemo(() => {
4334
+ const ref = React28.useRef({ value, previous: value });
4335
+ return React28.useMemo(() => {
4006
4336
  if (ref.current.value !== value) {
4007
4337
  ref.current.previous = ref.current.value;
4008
4338
  ref.current.value = value;
@@ -4012,8 +4342,8 @@ function usePrevious(value) {
4012
4342
  }
4013
4343
 
4014
4344
  // node_modules/@radix-ui/react-visually-hidden/dist/index.mjs
4015
- var React25 = __toESM(require("react"), 1);
4016
- var import_jsx_runtime21 = require("react/jsx-runtime");
4345
+ var React29 = __toESM(require("react"), 1);
4346
+ var import_jsx_runtime27 = require("react/jsx-runtime");
4017
4347
  var VISUALLY_HIDDEN_STYLES = Object.freeze({
4018
4348
  // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
4019
4349
  position: "absolute",
@@ -4028,9 +4358,9 @@ var VISUALLY_HIDDEN_STYLES = Object.freeze({
4028
4358
  wordWrap: "normal"
4029
4359
  });
4030
4360
  var NAME2 = "VisuallyHidden";
4031
- var VisuallyHidden = React25.forwardRef(
4361
+ var VisuallyHidden = React29.forwardRef(
4032
4362
  (props, forwardedRef) => {
4033
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4363
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4034
4364
  Primitive.span,
4035
4365
  {
4036
4366
  ...props,
@@ -4196,10 +4526,10 @@ function __spreadArray(to, from, pack) {
4196
4526
  }
4197
4527
 
4198
4528
  // node_modules/react-remove-scroll/dist/es2015/Combination.js
4199
- var React32 = __toESM(require("react"));
4529
+ var React36 = __toESM(require("react"));
4200
4530
 
4201
4531
  // node_modules/react-remove-scroll/dist/es2015/UI.js
4202
- var React28 = __toESM(require("react"));
4532
+ var React32 = __toESM(require("react"));
4203
4533
 
4204
4534
  // node_modules/react-remove-scroll-bar/dist/es2015/constants.js
4205
4535
  var zeroRightClassName = "right-scroll-bar-position";
@@ -4246,8 +4576,8 @@ function useCallbackRef2(initialValue, callback) {
4246
4576
  }
4247
4577
 
4248
4578
  // node_modules/use-callback-ref/dist/es2015/useMergeRef.js
4249
- var React26 = __toESM(require("react"));
4250
- var useIsomorphicLayoutEffect = typeof window !== "undefined" ? React26.useLayoutEffect : React26.useEffect;
4579
+ var React30 = __toESM(require("react"));
4580
+ var useIsomorphicLayoutEffect = typeof window !== "undefined" ? React30.useLayoutEffect : React30.useEffect;
4251
4581
  var currentValues = /* @__PURE__ */ new WeakMap();
4252
4582
  function useMergeRefs(refs, defaultValue) {
4253
4583
  var callbackRef = useCallbackRef2(defaultValue || null, function(newValue) {
@@ -4364,7 +4694,7 @@ function createSidecarMedium(options) {
4364
4694
  }
4365
4695
 
4366
4696
  // node_modules/use-sidecar/dist/es2015/exports.js
4367
- var React27 = __toESM(require("react"));
4697
+ var React31 = __toESM(require("react"));
4368
4698
  var SideCar = function(_a) {
4369
4699
  var sideCar = _a.sideCar, rest = __rest(_a, ["sideCar"]);
4370
4700
  if (!sideCar) {
@@ -4374,7 +4704,7 @@ var SideCar = function(_a) {
4374
4704
  if (!Target) {
4375
4705
  throw new Error("Sidecar medium not found");
4376
4706
  }
4377
- return React27.createElement(Target, __assign({}, rest));
4707
+ return React31.createElement(Target, __assign({}, rest));
4378
4708
  };
4379
4709
  SideCar.isSideCarExport = true;
4380
4710
  function exportSidecar(medium, exported) {
@@ -4389,9 +4719,9 @@ var effectCar = createSidecarMedium();
4389
4719
  var nothing = function() {
4390
4720
  return;
4391
4721
  };
4392
- var RemoveScroll = React28.forwardRef(function(props, parentRef) {
4393
- var ref = React28.useRef(null);
4394
- var _a = React28.useState({
4722
+ var RemoveScroll = React32.forwardRef(function(props, parentRef) {
4723
+ var ref = React32.useRef(null);
4724
+ var _a = React32.useState({
4395
4725
  onScrollCapture: nothing,
4396
4726
  onWheelCapture: nothing,
4397
4727
  onTouchMoveCapture: nothing
@@ -4400,11 +4730,11 @@ var RemoveScroll = React28.forwardRef(function(props, parentRef) {
4400
4730
  var SideCar2 = sideCar;
4401
4731
  var containerRef = useMergeRefs([ref, parentRef]);
4402
4732
  var containerProps = __assign(__assign({}, rest), callbacks);
4403
- return React28.createElement(
4404
- React28.Fragment,
4733
+ return React32.createElement(
4734
+ React32.Fragment,
4405
4735
  null,
4406
- enabled && React28.createElement(SideCar2, { sideCar: effectCar, removeScrollBar, shards, noRelative, noIsolation, inert, setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode }),
4407
- forwardProps ? React28.cloneElement(React28.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef })) : React28.createElement(Container, __assign({}, containerProps, { className, ref: containerRef }), children)
4736
+ enabled && React32.createElement(SideCar2, { sideCar: effectCar, removeScrollBar, shards, noRelative, noIsolation, inert, setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode }),
4737
+ forwardProps ? React32.cloneElement(React32.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef })) : React32.createElement(Container, __assign({}, containerProps, { className, ref: containerRef }), children)
4408
4738
  );
4409
4739
  });
4410
4740
  RemoveScroll.defaultProps = {
@@ -4418,13 +4748,13 @@ RemoveScroll.classNames = {
4418
4748
  };
4419
4749
 
4420
4750
  // node_modules/react-remove-scroll/dist/es2015/SideEffect.js
4421
- var React31 = __toESM(require("react"));
4751
+ var React35 = __toESM(require("react"));
4422
4752
 
4423
4753
  // node_modules/react-remove-scroll-bar/dist/es2015/component.js
4424
- var React30 = __toESM(require("react"));
4754
+ var React34 = __toESM(require("react"));
4425
4755
 
4426
4756
  // node_modules/react-style-singleton/dist/es2015/hook.js
4427
- var React29 = __toESM(require("react"));
4757
+ var React33 = __toESM(require("react"));
4428
4758
 
4429
4759
  // node_modules/get-nonce/dist/es2015/index.js
4430
4760
  var currentNonce;
@@ -4488,7 +4818,7 @@ var stylesheetSingleton = function() {
4488
4818
  var styleHookSingleton = function() {
4489
4819
  var sheet = stylesheetSingleton();
4490
4820
  return function(styles, isDynamic) {
4491
- React29.useEffect(function() {
4821
+ React33.useEffect(function() {
4492
4822
  sheet.add(styles);
4493
4823
  return function() {
4494
4824
  sheet.remove();
@@ -4562,7 +4892,7 @@ var getCurrentUseCounter = function() {
4562
4892
  return isFinite(counter) ? counter : 0;
4563
4893
  };
4564
4894
  var useLockAttribute = function() {
4565
- React30.useEffect(function() {
4895
+ React34.useEffect(function() {
4566
4896
  document.body.setAttribute(lockAttribute, (getCurrentUseCounter() + 1).toString());
4567
4897
  return function() {
4568
4898
  var newCounter = getCurrentUseCounter() - 1;
@@ -4577,10 +4907,10 @@ var useLockAttribute = function() {
4577
4907
  var RemoveScrollBar = function(_a) {
4578
4908
  var noRelative = _a.noRelative, noImportant = _a.noImportant, _b = _a.gapMode, gapMode = _b === void 0 ? "margin" : _b;
4579
4909
  useLockAttribute();
4580
- var gap = React30.useMemo(function() {
4910
+ var gap = React34.useMemo(function() {
4581
4911
  return getGapWidth(gapMode);
4582
4912
  }, [gapMode]);
4583
- return React30.createElement(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? "!important" : "") });
4913
+ return React34.createElement(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? "!important" : "") });
4584
4914
  };
4585
4915
 
4586
4916
  // node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js
@@ -4721,16 +5051,16 @@ var generateStyle = function(id) {
4721
5051
  var idCounter = 0;
4722
5052
  var lockStack = [];
4723
5053
  function RemoveScrollSideCar(props) {
4724
- var shouldPreventQueue = React31.useRef([]);
4725
- var touchStartRef = React31.useRef([0, 0]);
4726
- var activeAxis = React31.useRef();
4727
- var id = React31.useState(idCounter++)[0];
4728
- var Style2 = React31.useState(styleSingleton)[0];
4729
- var lastProps = React31.useRef(props);
4730
- React31.useEffect(function() {
5054
+ var shouldPreventQueue = React35.useRef([]);
5055
+ var touchStartRef = React35.useRef([0, 0]);
5056
+ var activeAxis = React35.useRef();
5057
+ var id = React35.useState(idCounter++)[0];
5058
+ var Style2 = React35.useState(styleSingleton)[0];
5059
+ var lastProps = React35.useRef(props);
5060
+ React35.useEffect(function() {
4731
5061
  lastProps.current = props;
4732
5062
  }, [props]);
4733
- React31.useEffect(function() {
5063
+ React35.useEffect(function() {
4734
5064
  if (props.inert) {
4735
5065
  document.body.classList.add("block-interactivity-".concat(id));
4736
5066
  var allow_1 = __spreadArray([props.lockRef.current], (props.shards || []).map(extractRef), true).filter(Boolean);
@@ -4746,7 +5076,7 @@ function RemoveScrollSideCar(props) {
4746
5076
  }
4747
5077
  return;
4748
5078
  }, [props.inert, props.lockRef.current, props.shards]);
4749
- var shouldCancelEvent = React31.useCallback(function(event, parent) {
5079
+ var shouldCancelEvent = React35.useCallback(function(event, parent) {
4750
5080
  if ("touches" in event && event.touches.length === 2 || event.type === "wheel" && event.ctrlKey) {
4751
5081
  return !lastProps.current.allowPinchZoom;
4752
5082
  }
@@ -4788,7 +5118,7 @@ function RemoveScrollSideCar(props) {
4788
5118
  var cancelingAxis = activeAxis.current || currentAxis;
4789
5119
  return handleScroll(cancelingAxis, parent, event, cancelingAxis === "h" ? deltaX : deltaY, true);
4790
5120
  }, []);
4791
- var shouldPrevent = React31.useCallback(function(_event) {
5121
+ var shouldPrevent = React35.useCallback(function(_event) {
4792
5122
  var event = _event;
4793
5123
  if (!lockStack.length || lockStack[lockStack.length - 1] !== Style2) {
4794
5124
  return;
@@ -4815,7 +5145,7 @@ function RemoveScrollSideCar(props) {
4815
5145
  }
4816
5146
  }
4817
5147
  }, []);
4818
- var shouldCancel = React31.useCallback(function(name, delta, target, should) {
5148
+ var shouldCancel = React35.useCallback(function(name, delta, target, should) {
4819
5149
  var event = { name, delta, target, should, shadowParent: getOutermostShadowParent(target) };
4820
5150
  shouldPreventQueue.current.push(event);
4821
5151
  setTimeout(function() {
@@ -4824,17 +5154,17 @@ function RemoveScrollSideCar(props) {
4824
5154
  });
4825
5155
  }, 1);
4826
5156
  }, []);
4827
- var scrollTouchStart = React31.useCallback(function(event) {
5157
+ var scrollTouchStart = React35.useCallback(function(event) {
4828
5158
  touchStartRef.current = getTouchXY(event);
4829
5159
  activeAxis.current = void 0;
4830
5160
  }, []);
4831
- var scrollWheel = React31.useCallback(function(event) {
5161
+ var scrollWheel = React35.useCallback(function(event) {
4832
5162
  shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));
4833
5163
  }, []);
4834
- var scrollTouchMove = React31.useCallback(function(event) {
5164
+ var scrollTouchMove = React35.useCallback(function(event) {
4835
5165
  shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));
4836
5166
  }, []);
4837
- React31.useEffect(function() {
5167
+ React35.useEffect(function() {
4838
5168
  lockStack.push(Style2);
4839
5169
  props.setCallbacks({
4840
5170
  onScrollCapture: scrollWheel,
@@ -4854,11 +5184,11 @@ function RemoveScrollSideCar(props) {
4854
5184
  };
4855
5185
  }, []);
4856
5186
  var removeScrollBar = props.removeScrollBar, inert = props.inert;
4857
- return React31.createElement(
4858
- React31.Fragment,
5187
+ return React35.createElement(
5188
+ React35.Fragment,
4859
5189
  null,
4860
- inert ? React31.createElement(Style2, { styles: generateStyle(id) }) : null,
4861
- removeScrollBar ? React31.createElement(RemoveScrollBar, { noRelative: props.noRelative, gapMode: props.gapMode }) : null
5190
+ inert ? React35.createElement(Style2, { styles: generateStyle(id) }) : null,
5191
+ removeScrollBar ? React35.createElement(RemoveScrollBar, { noRelative: props.noRelative, gapMode: props.gapMode }) : null
4862
5192
  );
4863
5193
  }
4864
5194
  function getOutermostShadowParent(node) {
@@ -4877,14 +5207,14 @@ function getOutermostShadowParent(node) {
4877
5207
  var sidecar_default = exportSidecar(effectCar, RemoveScrollSideCar);
4878
5208
 
4879
5209
  // node_modules/react-remove-scroll/dist/es2015/Combination.js
4880
- var ReactRemoveScroll = React32.forwardRef(function(props, ref) {
4881
- return React32.createElement(RemoveScroll, __assign({}, props, { ref, sideCar: sidecar_default }));
5210
+ var ReactRemoveScroll = React36.forwardRef(function(props, ref) {
5211
+ return React36.createElement(RemoveScroll, __assign({}, props, { ref, sideCar: sidecar_default }));
4882
5212
  });
4883
5213
  ReactRemoveScroll.classNames = RemoveScroll.classNames;
4884
5214
  var Combination_default = ReactRemoveScroll;
4885
5215
 
4886
5216
  // node_modules/@radix-ui/react-select/dist/index.mjs
4887
- var import_jsx_runtime22 = require("react/jsx-runtime");
5217
+ var import_jsx_runtime28 = require("react/jsx-runtime");
4888
5218
  var OPEN_KEYS = [" ", "Enter", "ArrowUp", "ArrowDown"];
4889
5219
  var SELECTION_KEYS = [" ", "Enter"];
4890
5220
  var SELECT_NAME = "Select";
@@ -4914,9 +5244,9 @@ var Select = (props) => {
4914
5244
  form
4915
5245
  } = props;
4916
5246
  const popperScope = usePopperScope(__scopeSelect);
4917
- const [trigger, setTrigger] = React33.useState(null);
4918
- const [valueNode, setValueNode] = React33.useState(null);
4919
- const [valueNodeHasChildren, setValueNodeHasChildren] = React33.useState(false);
5247
+ const [trigger, setTrigger] = React37.useState(null);
5248
+ const [valueNode, setValueNode] = React37.useState(null);
5249
+ const [valueNodeHasChildren, setValueNodeHasChildren] = React37.useState(false);
4920
5250
  const direction = useDirection(dir);
4921
5251
  const [open, setOpen] = useControllableState({
4922
5252
  prop: openProp,
@@ -4930,11 +5260,11 @@ var Select = (props) => {
4930
5260
  onChange: onValueChange,
4931
5261
  caller: SELECT_NAME
4932
5262
  });
4933
- const triggerPointerDownPosRef = React33.useRef(null);
5263
+ const triggerPointerDownPosRef = React37.useRef(null);
4934
5264
  const isFormControl = trigger ? form || !!trigger.closest("form") : true;
4935
- const [nativeOptionsSet, setNativeOptionsSet] = React33.useState(/* @__PURE__ */ new Set());
5265
+ const [nativeOptionsSet, setNativeOptionsSet] = React37.useState(/* @__PURE__ */ new Set());
4936
5266
  const nativeSelectKey = Array.from(nativeOptionsSet).map((option) => option.props.value).join(";");
4937
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Root22, { ...popperScope, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
5267
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Root22, { ...popperScope, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
4938
5268
  SelectProvider,
4939
5269
  {
4940
5270
  required,
@@ -4954,14 +5284,14 @@ var Select = (props) => {
4954
5284
  triggerPointerDownPosRef,
4955
5285
  disabled,
4956
5286
  children: [
4957
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Collection.Provider, { scope: __scopeSelect, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
5287
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Collection.Provider, { scope: __scopeSelect, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
4958
5288
  SelectNativeOptionsProvider,
4959
5289
  {
4960
5290
  scope: props.__scopeSelect,
4961
- onNativeOptionAdd: React33.useCallback((option) => {
5291
+ onNativeOptionAdd: React37.useCallback((option) => {
4962
5292
  setNativeOptionsSet((prev) => new Set(prev).add(option));
4963
5293
  }, []),
4964
- onNativeOptionRemove: React33.useCallback((option) => {
5294
+ onNativeOptionRemove: React37.useCallback((option) => {
4965
5295
  setNativeOptionsSet((prev) => {
4966
5296
  const optionsSet = new Set(prev);
4967
5297
  optionsSet.delete(option);
@@ -4971,7 +5301,7 @@ var Select = (props) => {
4971
5301
  children
4972
5302
  }
4973
5303
  ) }),
4974
- isFormControl ? /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
5304
+ isFormControl ? /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
4975
5305
  SelectBubbleInput,
4976
5306
  {
4977
5307
  "aria-hidden": true,
@@ -4984,7 +5314,7 @@ var Select = (props) => {
4984
5314
  disabled,
4985
5315
  form,
4986
5316
  children: [
4987
- value === void 0 ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("option", { value: "" }) : null,
5317
+ value === void 0 ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("option", { value: "" }) : null,
4988
5318
  Array.from(nativeOptionsSet)
4989
5319
  ]
4990
5320
  },
@@ -4996,7 +5326,7 @@ var Select = (props) => {
4996
5326
  };
4997
5327
  Select.displayName = SELECT_NAME;
4998
5328
  var TRIGGER_NAME = "SelectTrigger";
4999
- var SelectTrigger = React33.forwardRef(
5329
+ var SelectTrigger = React37.forwardRef(
5000
5330
  (props, forwardedRef) => {
5001
5331
  const { __scopeSelect, disabled = false, ...triggerProps } = props;
5002
5332
  const popperScope = usePopperScope(__scopeSelect);
@@ -5004,7 +5334,7 @@ var SelectTrigger = React33.forwardRef(
5004
5334
  const isDisabled = context.disabled || disabled;
5005
5335
  const composedRefs = useComposedRefs(forwardedRef, context.onTriggerChange);
5006
5336
  const getItems = useCollection(__scopeSelect);
5007
- const pointerTypeRef = React33.useRef("touch");
5337
+ const pointerTypeRef = React37.useRef("touch");
5008
5338
  const [searchRef, handleTypeaheadSearch, resetTypeahead] = useTypeaheadSearch((search) => {
5009
5339
  const enabledItems = getItems().filter((item) => !item.disabled);
5010
5340
  const currentItem = enabledItems.find((item) => item.value === context.value);
@@ -5025,7 +5355,7 @@ var SelectTrigger = React33.forwardRef(
5025
5355
  };
5026
5356
  }
5027
5357
  };
5028
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Anchor2, { asChild: true, ...popperScope, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
5358
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Anchor2, { asChild: true, ...popperScope, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5029
5359
  Primitive.button,
5030
5360
  {
5031
5361
  type: "button",
@@ -5074,7 +5404,7 @@ var SelectTrigger = React33.forwardRef(
5074
5404
  );
5075
5405
  SelectTrigger.displayName = TRIGGER_NAME;
5076
5406
  var VALUE_NAME = "SelectValue";
5077
- var SelectValue = React33.forwardRef(
5407
+ var SelectValue = React37.forwardRef(
5078
5408
  (props, forwardedRef) => {
5079
5409
  const { __scopeSelect, className, style, children, placeholder = "", ...valueProps } = props;
5080
5410
  const context = useSelectContext(VALUE_NAME, __scopeSelect);
@@ -5084,47 +5414,47 @@ var SelectValue = React33.forwardRef(
5084
5414
  useLayoutEffect2(() => {
5085
5415
  onValueNodeHasChildrenChange(hasChildren);
5086
5416
  }, [onValueNodeHasChildrenChange, hasChildren]);
5087
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
5417
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5088
5418
  Primitive.span,
5089
5419
  {
5090
5420
  ...valueProps,
5091
5421
  ref: composedRefs,
5092
5422
  style: { pointerEvents: "none" },
5093
- children: shouldShowPlaceholder(context.value) ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_jsx_runtime22.Fragment, { children: placeholder }) : children
5423
+ children: shouldShowPlaceholder(context.value) ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_jsx_runtime28.Fragment, { children: placeholder }) : children
5094
5424
  }
5095
5425
  );
5096
5426
  }
5097
5427
  );
5098
5428
  SelectValue.displayName = VALUE_NAME;
5099
5429
  var ICON_NAME = "SelectIcon";
5100
- var SelectIcon = React33.forwardRef(
5430
+ var SelectIcon = React37.forwardRef(
5101
5431
  (props, forwardedRef) => {
5102
5432
  const { __scopeSelect, children, ...iconProps } = props;
5103
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Primitive.span, { "aria-hidden": true, ...iconProps, ref: forwardedRef, children: children || "\u25BC" });
5433
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Primitive.span, { "aria-hidden": true, ...iconProps, ref: forwardedRef, children: children || "\u25BC" });
5104
5434
  }
5105
5435
  );
5106
5436
  SelectIcon.displayName = ICON_NAME;
5107
5437
  var PORTAL_NAME2 = "SelectPortal";
5108
5438
  var SelectPortal = (props) => {
5109
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Portal4, { asChild: true, ...props });
5439
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Portal4, { asChild: true, ...props });
5110
5440
  };
5111
5441
  SelectPortal.displayName = PORTAL_NAME2;
5112
5442
  var CONTENT_NAME2 = "SelectContent";
5113
- var SelectContent = React33.forwardRef(
5443
+ var SelectContent = React37.forwardRef(
5114
5444
  (props, forwardedRef) => {
5115
5445
  const context = useSelectContext(CONTENT_NAME2, props.__scopeSelect);
5116
- const [fragment, setFragment] = React33.useState();
5446
+ const [fragment, setFragment] = React37.useState();
5117
5447
  useLayoutEffect2(() => {
5118
5448
  setFragment(new DocumentFragment());
5119
5449
  }, []);
5120
5450
  if (!context.open) {
5121
5451
  const frag = fragment;
5122
5452
  return frag ? ReactDOM4.createPortal(
5123
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(SelectContentProvider, { scope: props.__scopeSelect, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Collection.Slot, { scope: props.__scopeSelect, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { children: props.children }) }) }),
5453
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SelectContentProvider, { scope: props.__scopeSelect, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Collection.Slot, { scope: props.__scopeSelect, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { children: props.children }) }) }),
5124
5454
  frag
5125
5455
  ) : null;
5126
5456
  }
5127
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(SelectContentImpl, { ...props, ref: forwardedRef });
5457
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SelectContentImpl, { ...props, ref: forwardedRef });
5128
5458
  }
5129
5459
  );
5130
5460
  SelectContent.displayName = CONTENT_NAME2;
@@ -5132,7 +5462,7 @@ var CONTENT_MARGIN = 10;
5132
5462
  var [SelectContentProvider, useSelectContentContext] = createSelectContext(CONTENT_NAME2);
5133
5463
  var CONTENT_IMPL_NAME = "SelectContentImpl";
5134
5464
  var Slot2 = (0, import_react_slot5.createSlot)("SelectContent.RemoveScroll");
5135
- var SelectContentImpl = React33.forwardRef(
5465
+ var SelectContentImpl = React37.forwardRef(
5136
5466
  (props, forwardedRef) => {
5137
5467
  const {
5138
5468
  __scopeSelect,
@@ -5156,21 +5486,21 @@ var SelectContentImpl = React33.forwardRef(
5156
5486
  ...contentProps
5157
5487
  } = props;
5158
5488
  const context = useSelectContext(CONTENT_NAME2, __scopeSelect);
5159
- const [content, setContent] = React33.useState(null);
5160
- const [viewport, setViewport] = React33.useState(null);
5489
+ const [content, setContent] = React37.useState(null);
5490
+ const [viewport, setViewport] = React37.useState(null);
5161
5491
  const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));
5162
- const [selectedItem, setSelectedItem] = React33.useState(null);
5163
- const [selectedItemText, setSelectedItemText] = React33.useState(
5492
+ const [selectedItem, setSelectedItem] = React37.useState(null);
5493
+ const [selectedItemText, setSelectedItemText] = React37.useState(
5164
5494
  null
5165
5495
  );
5166
5496
  const getItems = useCollection(__scopeSelect);
5167
- const [isPositioned, setIsPositioned] = React33.useState(false);
5168
- const firstValidItemFoundRef = React33.useRef(false);
5169
- React33.useEffect(() => {
5497
+ const [isPositioned, setIsPositioned] = React37.useState(false);
5498
+ const firstValidItemFoundRef = React37.useRef(false);
5499
+ React37.useEffect(() => {
5170
5500
  if (content) return hideOthers(content);
5171
5501
  }, [content]);
5172
5502
  useFocusGuards();
5173
- const focusFirst2 = React33.useCallback(
5503
+ const focusFirst2 = React37.useCallback(
5174
5504
  (candidates) => {
5175
5505
  const [firstItem, ...restItems] = getItems().map((item) => item.ref.current);
5176
5506
  const [lastItem] = restItems.slice(-1);
@@ -5186,17 +5516,17 @@ var SelectContentImpl = React33.forwardRef(
5186
5516
  },
5187
5517
  [getItems, viewport]
5188
5518
  );
5189
- const focusSelectedItem = React33.useCallback(
5519
+ const focusSelectedItem = React37.useCallback(
5190
5520
  () => focusFirst2([selectedItem, content]),
5191
5521
  [focusFirst2, selectedItem, content]
5192
5522
  );
5193
- React33.useEffect(() => {
5523
+ React37.useEffect(() => {
5194
5524
  if (isPositioned) {
5195
5525
  focusSelectedItem();
5196
5526
  }
5197
5527
  }, [isPositioned, focusSelectedItem]);
5198
5528
  const { onOpenChange, triggerPointerDownPosRef } = context;
5199
- React33.useEffect(() => {
5529
+ React37.useEffect(() => {
5200
5530
  if (content) {
5201
5531
  let pointerMoveDelta = { x: 0, y: 0 };
5202
5532
  const handlePointerMove = (event) => {
@@ -5226,7 +5556,7 @@ var SelectContentImpl = React33.forwardRef(
5226
5556
  };
5227
5557
  }
5228
5558
  }, [content, onOpenChange, triggerPointerDownPosRef]);
5229
- React33.useEffect(() => {
5559
+ React37.useEffect(() => {
5230
5560
  const close = () => onOpenChange(false);
5231
5561
  window.addEventListener("blur", close);
5232
5562
  window.addEventListener("resize", close);
@@ -5243,7 +5573,7 @@ var SelectContentImpl = React33.forwardRef(
5243
5573
  setTimeout(() => nextItem.ref.current.focus());
5244
5574
  }
5245
5575
  });
5246
- const itemRefCallback = React33.useCallback(
5576
+ const itemRefCallback = React37.useCallback(
5247
5577
  (node, value, disabled) => {
5248
5578
  const isFirstValidItem = !firstValidItemFoundRef.current && !disabled;
5249
5579
  const isSelectedItem = context.value !== void 0 && context.value === value;
@@ -5254,8 +5584,8 @@ var SelectContentImpl = React33.forwardRef(
5254
5584
  },
5255
5585
  [context.value]
5256
5586
  );
5257
- const handleItemLeave = React33.useCallback(() => content?.focus(), [content]);
5258
- const itemTextRefCallback = React33.useCallback(
5587
+ const handleItemLeave = React37.useCallback(() => content?.focus(), [content]);
5588
+ const itemTextRefCallback = React37.useCallback(
5259
5589
  (node, value, disabled) => {
5260
5590
  const isFirstValidItem = !firstValidItemFoundRef.current && !disabled;
5261
5591
  const isSelectedItem = context.value !== void 0 && context.value === value;
@@ -5278,7 +5608,7 @@ var SelectContentImpl = React33.forwardRef(
5278
5608
  hideWhenDetached,
5279
5609
  avoidCollisions
5280
5610
  } : {};
5281
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
5611
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5282
5612
  SelectContentProvider,
5283
5613
  {
5284
5614
  scope: __scopeSelect,
@@ -5294,7 +5624,7 @@ var SelectContentImpl = React33.forwardRef(
5294
5624
  position,
5295
5625
  isPositioned,
5296
5626
  searchRef,
5297
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Combination_default, { as: Slot2, allowPinchZoom: true, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
5627
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Combination_default, { as: Slot2, allowPinchZoom: true, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5298
5628
  FocusScope,
5299
5629
  {
5300
5630
  asChild: true,
@@ -5306,7 +5636,7 @@ var SelectContentImpl = React33.forwardRef(
5306
5636
  context.trigger?.focus({ preventScroll: true });
5307
5637
  event.preventDefault();
5308
5638
  }),
5309
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
5639
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5310
5640
  DismissableLayer,
5311
5641
  {
5312
5642
  asChild: true,
@@ -5315,7 +5645,7 @@ var SelectContentImpl = React33.forwardRef(
5315
5645
  onPointerDownOutside,
5316
5646
  onFocusOutside: (event) => event.preventDefault(),
5317
5647
  onDismiss: () => context.onOpenChange(false),
5318
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
5648
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5319
5649
  SelectPosition,
5320
5650
  {
5321
5651
  role: "listbox",
@@ -5366,18 +5696,18 @@ var SelectContentImpl = React33.forwardRef(
5366
5696
  );
5367
5697
  SelectContentImpl.displayName = CONTENT_IMPL_NAME;
5368
5698
  var ITEM_ALIGNED_POSITION_NAME = "SelectItemAlignedPosition";
5369
- var SelectItemAlignedPosition = React33.forwardRef((props, forwardedRef) => {
5699
+ var SelectItemAlignedPosition = React37.forwardRef((props, forwardedRef) => {
5370
5700
  const { __scopeSelect, onPlaced, ...popperProps } = props;
5371
5701
  const context = useSelectContext(CONTENT_NAME2, __scopeSelect);
5372
5702
  const contentContext = useSelectContentContext(CONTENT_NAME2, __scopeSelect);
5373
- const [contentWrapper, setContentWrapper] = React33.useState(null);
5374
- const [content, setContent] = React33.useState(null);
5703
+ const [contentWrapper, setContentWrapper] = React37.useState(null);
5704
+ const [content, setContent] = React37.useState(null);
5375
5705
  const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));
5376
5706
  const getItems = useCollection(__scopeSelect);
5377
- const shouldExpandOnScrollRef = React33.useRef(false);
5378
- const shouldRepositionRef = React33.useRef(true);
5707
+ const shouldExpandOnScrollRef = React37.useRef(false);
5708
+ const shouldRepositionRef = React37.useRef(true);
5379
5709
  const { viewport, selectedItem, selectedItemText, focusSelectedItem } = contentContext;
5380
- const position = React33.useCallback(() => {
5710
+ const position = React37.useCallback(() => {
5381
5711
  if (context.trigger && context.valueNode && contentWrapper && content && viewport && selectedItem && selectedItemText) {
5382
5712
  const triggerRect = context.trigger.getBoundingClientRect();
5383
5713
  const contentRect = content.getBoundingClientRect();
@@ -5477,11 +5807,11 @@ var SelectItemAlignedPosition = React33.forwardRef((props, forwardedRef) => {
5477
5807
  onPlaced
5478
5808
  ]);
5479
5809
  useLayoutEffect2(() => position(), [position]);
5480
- const [contentZIndex, setContentZIndex] = React33.useState();
5810
+ const [contentZIndex, setContentZIndex] = React37.useState();
5481
5811
  useLayoutEffect2(() => {
5482
5812
  if (content) setContentZIndex(window.getComputedStyle(content).zIndex);
5483
5813
  }, [content]);
5484
- const handleScrollButtonChange = React33.useCallback(
5814
+ const handleScrollButtonChange = React37.useCallback(
5485
5815
  (node) => {
5486
5816
  if (node && shouldRepositionRef.current === true) {
5487
5817
  position();
@@ -5491,14 +5821,14 @@ var SelectItemAlignedPosition = React33.forwardRef((props, forwardedRef) => {
5491
5821
  },
5492
5822
  [position, focusSelectedItem]
5493
5823
  );
5494
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
5824
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5495
5825
  SelectViewportProvider,
5496
5826
  {
5497
5827
  scope: __scopeSelect,
5498
5828
  contentWrapper,
5499
5829
  shouldExpandOnScrollRef,
5500
5830
  onScrollButtonChange: handleScrollButtonChange,
5501
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
5831
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5502
5832
  "div",
5503
5833
  {
5504
5834
  ref: setContentWrapper,
@@ -5508,7 +5838,7 @@ var SelectItemAlignedPosition = React33.forwardRef((props, forwardedRef) => {
5508
5838
  position: "fixed",
5509
5839
  zIndex: contentZIndex
5510
5840
  },
5511
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
5841
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5512
5842
  Primitive.div,
5513
5843
  {
5514
5844
  ...popperProps,
@@ -5530,7 +5860,7 @@ var SelectItemAlignedPosition = React33.forwardRef((props, forwardedRef) => {
5530
5860
  });
5531
5861
  SelectItemAlignedPosition.displayName = ITEM_ALIGNED_POSITION_NAME;
5532
5862
  var POPPER_POSITION_NAME = "SelectPopperPosition";
5533
- var SelectPopperPosition = React33.forwardRef((props, forwardedRef) => {
5863
+ var SelectPopperPosition = React37.forwardRef((props, forwardedRef) => {
5534
5864
  const {
5535
5865
  __scopeSelect,
5536
5866
  align = "start",
@@ -5538,7 +5868,7 @@ var SelectPopperPosition = React33.forwardRef((props, forwardedRef) => {
5538
5868
  ...popperProps
5539
5869
  } = props;
5540
5870
  const popperScope = usePopperScope(__scopeSelect);
5541
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
5871
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5542
5872
  Content4,
5543
5873
  {
5544
5874
  ...popperScope,
@@ -5565,15 +5895,15 @@ var SelectPopperPosition = React33.forwardRef((props, forwardedRef) => {
5565
5895
  SelectPopperPosition.displayName = POPPER_POSITION_NAME;
5566
5896
  var [SelectViewportProvider, useSelectViewportContext] = createSelectContext(CONTENT_NAME2, {});
5567
5897
  var VIEWPORT_NAME = "SelectViewport";
5568
- var SelectViewport = React33.forwardRef(
5898
+ var SelectViewport = React37.forwardRef(
5569
5899
  (props, forwardedRef) => {
5570
5900
  const { __scopeSelect, nonce, ...viewportProps } = props;
5571
5901
  const contentContext = useSelectContentContext(VIEWPORT_NAME, __scopeSelect);
5572
5902
  const viewportContext = useSelectViewportContext(VIEWPORT_NAME, __scopeSelect);
5573
5903
  const composedRefs = useComposedRefs(forwardedRef, contentContext.onViewportChange);
5574
- const prevScrollTopRef = React33.useRef(0);
5575
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_jsx_runtime22.Fragment, { children: [
5576
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
5904
+ const prevScrollTopRef = React37.useRef(0);
5905
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_jsx_runtime28.Fragment, { children: [
5906
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5577
5907
  "style",
5578
5908
  {
5579
5909
  dangerouslySetInnerHTML: {
@@ -5582,7 +5912,7 @@ var SelectViewport = React33.forwardRef(
5582
5912
  nonce
5583
5913
  }
5584
5914
  ),
5585
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Collection.Slot, { scope: __scopeSelect, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
5915
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Collection.Slot, { scope: __scopeSelect, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5586
5916
  Primitive.div,
5587
5917
  {
5588
5918
  "data-radix-select-viewport": "",
@@ -5634,26 +5964,26 @@ var SelectViewport = React33.forwardRef(
5634
5964
  SelectViewport.displayName = VIEWPORT_NAME;
5635
5965
  var GROUP_NAME = "SelectGroup";
5636
5966
  var [SelectGroupContextProvider, useSelectGroupContext] = createSelectContext(GROUP_NAME);
5637
- var SelectGroup = React33.forwardRef(
5967
+ var SelectGroup = React37.forwardRef(
5638
5968
  (props, forwardedRef) => {
5639
5969
  const { __scopeSelect, ...groupProps } = props;
5640
5970
  const groupId = useId();
5641
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(SelectGroupContextProvider, { scope: __scopeSelect, id: groupId, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Primitive.div, { role: "group", "aria-labelledby": groupId, ...groupProps, ref: forwardedRef }) });
5971
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SelectGroupContextProvider, { scope: __scopeSelect, id: groupId, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Primitive.div, { role: "group", "aria-labelledby": groupId, ...groupProps, ref: forwardedRef }) });
5642
5972
  }
5643
5973
  );
5644
5974
  SelectGroup.displayName = GROUP_NAME;
5645
5975
  var LABEL_NAME = "SelectLabel";
5646
- var SelectLabel = React33.forwardRef(
5976
+ var SelectLabel = React37.forwardRef(
5647
5977
  (props, forwardedRef) => {
5648
5978
  const { __scopeSelect, ...labelProps } = props;
5649
5979
  const groupContext = useSelectGroupContext(LABEL_NAME, __scopeSelect);
5650
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Primitive.div, { id: groupContext.id, ...labelProps, ref: forwardedRef });
5980
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Primitive.div, { id: groupContext.id, ...labelProps, ref: forwardedRef });
5651
5981
  }
5652
5982
  );
5653
5983
  SelectLabel.displayName = LABEL_NAME;
5654
5984
  var ITEM_NAME = "SelectItem";
5655
5985
  var [SelectItemContextProvider, useSelectItemContext] = createSelectContext(ITEM_NAME);
5656
- var SelectItem = React33.forwardRef(
5986
+ var SelectItem = React37.forwardRef(
5657
5987
  (props, forwardedRef) => {
5658
5988
  const {
5659
5989
  __scopeSelect,
@@ -5665,14 +5995,14 @@ var SelectItem = React33.forwardRef(
5665
5995
  const context = useSelectContext(ITEM_NAME, __scopeSelect);
5666
5996
  const contentContext = useSelectContentContext(ITEM_NAME, __scopeSelect);
5667
5997
  const isSelected = context.value === value;
5668
- const [textValue, setTextValue] = React33.useState(textValueProp ?? "");
5669
- const [isFocused, setIsFocused] = React33.useState(false);
5998
+ const [textValue, setTextValue] = React37.useState(textValueProp ?? "");
5999
+ const [isFocused, setIsFocused] = React37.useState(false);
5670
6000
  const composedRefs = useComposedRefs(
5671
6001
  forwardedRef,
5672
6002
  (node) => contentContext.itemRefCallback?.(node, value, disabled)
5673
6003
  );
5674
6004
  const textId = useId();
5675
- const pointerTypeRef = React33.useRef("touch");
6005
+ const pointerTypeRef = React37.useRef("touch");
5676
6006
  const handleSelect = () => {
5677
6007
  if (!disabled) {
5678
6008
  context.onValueChange(value);
@@ -5684,7 +6014,7 @@ var SelectItem = React33.forwardRef(
5684
6014
  "A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder."
5685
6015
  );
5686
6016
  }
5687
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6017
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5688
6018
  SelectItemContextProvider,
5689
6019
  {
5690
6020
  scope: __scopeSelect,
@@ -5692,17 +6022,17 @@ var SelectItem = React33.forwardRef(
5692
6022
  disabled,
5693
6023
  textId,
5694
6024
  isSelected,
5695
- onItemTextChange: React33.useCallback((node) => {
6025
+ onItemTextChange: React37.useCallback((node) => {
5696
6026
  setTextValue((prevTextValue) => prevTextValue || (node?.textContent ?? "").trim());
5697
6027
  }, []),
5698
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6028
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5699
6029
  Collection.ItemSlot,
5700
6030
  {
5701
6031
  scope: __scopeSelect,
5702
6032
  value,
5703
6033
  disabled,
5704
6034
  textValue,
5705
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6035
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5706
6036
  Primitive.div,
5707
6037
  {
5708
6038
  role: "option",
@@ -5755,14 +6085,14 @@ var SelectItem = React33.forwardRef(
5755
6085
  );
5756
6086
  SelectItem.displayName = ITEM_NAME;
5757
6087
  var ITEM_TEXT_NAME = "SelectItemText";
5758
- var SelectItemText = React33.forwardRef(
6088
+ var SelectItemText = React37.forwardRef(
5759
6089
  (props, forwardedRef) => {
5760
6090
  const { __scopeSelect, className, style, ...itemTextProps } = props;
5761
6091
  const context = useSelectContext(ITEM_TEXT_NAME, __scopeSelect);
5762
6092
  const contentContext = useSelectContentContext(ITEM_TEXT_NAME, __scopeSelect);
5763
6093
  const itemContext = useSelectItemContext(ITEM_TEXT_NAME, __scopeSelect);
5764
6094
  const nativeOptionsContext = useSelectNativeOptionsContext(ITEM_TEXT_NAME, __scopeSelect);
5765
- const [itemTextNode, setItemTextNode] = React33.useState(null);
6095
+ const [itemTextNode, setItemTextNode] = React37.useState(null);
5766
6096
  const composedRefs = useComposedRefs(
5767
6097
  forwardedRef,
5768
6098
  (node) => setItemTextNode(node),
@@ -5770,8 +6100,8 @@ var SelectItemText = React33.forwardRef(
5770
6100
  (node) => contentContext.itemTextRefCallback?.(node, itemContext.value, itemContext.disabled)
5771
6101
  );
5772
6102
  const textContent = itemTextNode?.textContent;
5773
- const nativeOption = React33.useMemo(
5774
- () => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("option", { value: itemContext.value, disabled: itemContext.disabled, children: textContent }, itemContext.value),
6103
+ const nativeOption = React37.useMemo(
6104
+ () => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("option", { value: itemContext.value, disabled: itemContext.disabled, children: textContent }, itemContext.value),
5775
6105
  [itemContext.disabled, itemContext.value, textContent]
5776
6106
  );
5777
6107
  const { onNativeOptionAdd, onNativeOptionRemove } = nativeOptionsContext;
@@ -5779,27 +6109,27 @@ var SelectItemText = React33.forwardRef(
5779
6109
  onNativeOptionAdd(nativeOption);
5780
6110
  return () => onNativeOptionRemove(nativeOption);
5781
6111
  }, [onNativeOptionAdd, onNativeOptionRemove, nativeOption]);
5782
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_jsx_runtime22.Fragment, { children: [
5783
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Primitive.span, { id: itemContext.textId, ...itemTextProps, ref: composedRefs }),
6112
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_jsx_runtime28.Fragment, { children: [
6113
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Primitive.span, { id: itemContext.textId, ...itemTextProps, ref: composedRefs }),
5784
6114
  itemContext.isSelected && context.valueNode && !context.valueNodeHasChildren ? ReactDOM4.createPortal(itemTextProps.children, context.valueNode) : null
5785
6115
  ] });
5786
6116
  }
5787
6117
  );
5788
6118
  SelectItemText.displayName = ITEM_TEXT_NAME;
5789
6119
  var ITEM_INDICATOR_NAME = "SelectItemIndicator";
5790
- var SelectItemIndicator = React33.forwardRef(
6120
+ var SelectItemIndicator = React37.forwardRef(
5791
6121
  (props, forwardedRef) => {
5792
6122
  const { __scopeSelect, ...itemIndicatorProps } = props;
5793
6123
  const itemContext = useSelectItemContext(ITEM_INDICATOR_NAME, __scopeSelect);
5794
- return itemContext.isSelected ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Primitive.span, { "aria-hidden": true, ...itemIndicatorProps, ref: forwardedRef }) : null;
6124
+ return itemContext.isSelected ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Primitive.span, { "aria-hidden": true, ...itemIndicatorProps, ref: forwardedRef }) : null;
5795
6125
  }
5796
6126
  );
5797
6127
  SelectItemIndicator.displayName = ITEM_INDICATOR_NAME;
5798
6128
  var SCROLL_UP_BUTTON_NAME = "SelectScrollUpButton";
5799
- var SelectScrollUpButton = React33.forwardRef((props, forwardedRef) => {
6129
+ var SelectScrollUpButton = React37.forwardRef((props, forwardedRef) => {
5800
6130
  const contentContext = useSelectContentContext(SCROLL_UP_BUTTON_NAME, props.__scopeSelect);
5801
6131
  const viewportContext = useSelectViewportContext(SCROLL_UP_BUTTON_NAME, props.__scopeSelect);
5802
- const [canScrollUp, setCanScrollUp] = React33.useState(false);
6132
+ const [canScrollUp, setCanScrollUp] = React37.useState(false);
5803
6133
  const composedRefs = useComposedRefs(forwardedRef, viewportContext.onScrollButtonChange);
5804
6134
  useLayoutEffect2(() => {
5805
6135
  if (contentContext.viewport && contentContext.isPositioned) {
@@ -5814,7 +6144,7 @@ var SelectScrollUpButton = React33.forwardRef((props, forwardedRef) => {
5814
6144
  return () => viewport.removeEventListener("scroll", handleScroll22);
5815
6145
  }
5816
6146
  }, [contentContext.viewport, contentContext.isPositioned]);
5817
- return canScrollUp ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6147
+ return canScrollUp ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5818
6148
  SelectScrollButtonImpl,
5819
6149
  {
5820
6150
  ...props,
@@ -5830,10 +6160,10 @@ var SelectScrollUpButton = React33.forwardRef((props, forwardedRef) => {
5830
6160
  });
5831
6161
  SelectScrollUpButton.displayName = SCROLL_UP_BUTTON_NAME;
5832
6162
  var SCROLL_DOWN_BUTTON_NAME = "SelectScrollDownButton";
5833
- var SelectScrollDownButton = React33.forwardRef((props, forwardedRef) => {
6163
+ var SelectScrollDownButton = React37.forwardRef((props, forwardedRef) => {
5834
6164
  const contentContext = useSelectContentContext(SCROLL_DOWN_BUTTON_NAME, props.__scopeSelect);
5835
6165
  const viewportContext = useSelectViewportContext(SCROLL_DOWN_BUTTON_NAME, props.__scopeSelect);
5836
- const [canScrollDown, setCanScrollDown] = React33.useState(false);
6166
+ const [canScrollDown, setCanScrollDown] = React37.useState(false);
5837
6167
  const composedRefs = useComposedRefs(forwardedRef, viewportContext.onScrollButtonChange);
5838
6168
  useLayoutEffect2(() => {
5839
6169
  if (contentContext.viewport && contentContext.isPositioned) {
@@ -5849,7 +6179,7 @@ var SelectScrollDownButton = React33.forwardRef((props, forwardedRef) => {
5849
6179
  return () => viewport.removeEventListener("scroll", handleScroll22);
5850
6180
  }
5851
6181
  }, [contentContext.viewport, contentContext.isPositioned]);
5852
- return canScrollDown ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6182
+ return canScrollDown ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5853
6183
  SelectScrollButtonImpl,
5854
6184
  {
5855
6185
  ...props,
@@ -5864,25 +6194,25 @@ var SelectScrollDownButton = React33.forwardRef((props, forwardedRef) => {
5864
6194
  ) : null;
5865
6195
  });
5866
6196
  SelectScrollDownButton.displayName = SCROLL_DOWN_BUTTON_NAME;
5867
- var SelectScrollButtonImpl = React33.forwardRef((props, forwardedRef) => {
6197
+ var SelectScrollButtonImpl = React37.forwardRef((props, forwardedRef) => {
5868
6198
  const { __scopeSelect, onAutoScroll, ...scrollIndicatorProps } = props;
5869
6199
  const contentContext = useSelectContentContext("SelectScrollButton", __scopeSelect);
5870
- const autoScrollTimerRef = React33.useRef(null);
6200
+ const autoScrollTimerRef = React37.useRef(null);
5871
6201
  const getItems = useCollection(__scopeSelect);
5872
- const clearAutoScrollTimer = React33.useCallback(() => {
6202
+ const clearAutoScrollTimer = React37.useCallback(() => {
5873
6203
  if (autoScrollTimerRef.current !== null) {
5874
6204
  window.clearInterval(autoScrollTimerRef.current);
5875
6205
  autoScrollTimerRef.current = null;
5876
6206
  }
5877
6207
  }, []);
5878
- React33.useEffect(() => {
6208
+ React37.useEffect(() => {
5879
6209
  return () => clearAutoScrollTimer();
5880
6210
  }, [clearAutoScrollTimer]);
5881
6211
  useLayoutEffect2(() => {
5882
6212
  const activeItem = getItems().find((item) => item.ref.current === document.activeElement);
5883
6213
  activeItem?.ref.current?.scrollIntoView({ block: "nearest" });
5884
6214
  }, [getItems]);
5885
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6215
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5886
6216
  Primitive.div,
5887
6217
  {
5888
6218
  "aria-hidden": true,
@@ -5907,31 +6237,31 @@ var SelectScrollButtonImpl = React33.forwardRef((props, forwardedRef) => {
5907
6237
  );
5908
6238
  });
5909
6239
  var SEPARATOR_NAME = "SelectSeparator";
5910
- var SelectSeparator = React33.forwardRef(
6240
+ var SelectSeparator = React37.forwardRef(
5911
6241
  (props, forwardedRef) => {
5912
6242
  const { __scopeSelect, ...separatorProps } = props;
5913
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Primitive.div, { "aria-hidden": true, ...separatorProps, ref: forwardedRef });
6243
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Primitive.div, { "aria-hidden": true, ...separatorProps, ref: forwardedRef });
5914
6244
  }
5915
6245
  );
5916
6246
  SelectSeparator.displayName = SEPARATOR_NAME;
5917
6247
  var ARROW_NAME2 = "SelectArrow";
5918
- var SelectArrow = React33.forwardRef(
6248
+ var SelectArrow = React37.forwardRef(
5919
6249
  (props, forwardedRef) => {
5920
6250
  const { __scopeSelect, ...arrowProps } = props;
5921
6251
  const popperScope = usePopperScope(__scopeSelect);
5922
6252
  const context = useSelectContext(ARROW_NAME2, __scopeSelect);
5923
6253
  const contentContext = useSelectContentContext(ARROW_NAME2, __scopeSelect);
5924
- return context.open && contentContext.position === "popper" ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Arrow3, { ...popperScope, ...arrowProps, ref: forwardedRef }) : null;
6254
+ return context.open && contentContext.position === "popper" ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Arrow3, { ...popperScope, ...arrowProps, ref: forwardedRef }) : null;
5925
6255
  }
5926
6256
  );
5927
6257
  SelectArrow.displayName = ARROW_NAME2;
5928
6258
  var BUBBLE_INPUT_NAME = "SelectBubbleInput";
5929
- var SelectBubbleInput = React33.forwardRef(
6259
+ var SelectBubbleInput = React37.forwardRef(
5930
6260
  ({ __scopeSelect, value, ...props }, forwardedRef) => {
5931
- const ref = React33.useRef(null);
6261
+ const ref = React37.useRef(null);
5932
6262
  const composedRefs = useComposedRefs(forwardedRef, ref);
5933
6263
  const prevValue = usePrevious(value);
5934
- React33.useEffect(() => {
6264
+ React37.useEffect(() => {
5935
6265
  const select = ref.current;
5936
6266
  if (!select) return;
5937
6267
  const selectProto = window.HTMLSelectElement.prototype;
@@ -5946,7 +6276,7 @@ var SelectBubbleInput = React33.forwardRef(
5946
6276
  select.dispatchEvent(event);
5947
6277
  }
5948
6278
  }, [prevValue, value]);
5949
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6279
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5950
6280
  Primitive.select,
5951
6281
  {
5952
6282
  ...props,
@@ -5963,9 +6293,9 @@ function shouldShowPlaceholder(value) {
5963
6293
  }
5964
6294
  function useTypeaheadSearch(onSearchChange) {
5965
6295
  const handleSearchChange = useCallbackRef(onSearchChange);
5966
- const searchRef = React33.useRef("");
5967
- const timerRef = React33.useRef(0);
5968
- const handleTypeaheadSearch = React33.useCallback(
6296
+ const searchRef = React37.useRef("");
6297
+ const timerRef = React37.useRef(0);
6298
+ const handleTypeaheadSearch = React37.useCallback(
5969
6299
  (key) => {
5970
6300
  const search = searchRef.current + key;
5971
6301
  handleSearchChange(search);
@@ -5977,11 +6307,11 @@ function useTypeaheadSearch(onSearchChange) {
5977
6307
  },
5978
6308
  [handleSearchChange]
5979
6309
  );
5980
- const resetTypeahead = React33.useCallback(() => {
6310
+ const resetTypeahead = React37.useCallback(() => {
5981
6311
  searchRef.current = "";
5982
6312
  window.clearTimeout(timerRef.current);
5983
6313
  }, []);
5984
- React33.useEffect(() => {
6314
+ React37.useEffect(() => {
5985
6315
  return () => window.clearTimeout(timerRef.current);
5986
6316
  }, []);
5987
6317
  return [searchRef, handleTypeaheadSearch, resetTypeahead];
@@ -6018,11 +6348,11 @@ var ScrollDownButton = SelectScrollDownButton;
6018
6348
  var Separator3 = SelectSeparator;
6019
6349
 
6020
6350
  // src/components/Select/index.tsx
6021
- var import_lucide_react3 = require("lucide-react");
6351
+ var import_lucide_react4 = require("lucide-react");
6022
6352
 
6023
6353
  // src/components/Select/select.styles.ts
6024
- var import_class_variance_authority6 = require("class-variance-authority");
6025
- var selectTriggerVariants = (0, import_class_variance_authority6.cva)(
6354
+ var import_class_variance_authority10 = require("class-variance-authority");
6355
+ var selectTriggerVariants = (0, import_class_variance_authority10.cva)(
6026
6356
  `
6027
6357
  flex w-full items-center justify-between gap-2 rounded-md border transition-colors
6028
6358
  bg-white dark:bg-white/5
@@ -6083,7 +6413,7 @@ var selectTriggerVariants = (0, import_class_variance_authority6.cva)(
6083
6413
  }
6084
6414
  }
6085
6415
  );
6086
- var selectItemVariants = (0, import_class_variance_authority6.cva)(
6416
+ var selectItemVariants = (0, import_class_variance_authority10.cva)(
6087
6417
  "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
6088
6418
  {
6089
6419
  variants: {
@@ -6102,11 +6432,11 @@ var selectItemVariants = (0, import_class_variance_authority6.cva)(
6102
6432
  );
6103
6433
 
6104
6434
  // src/components/Select/index.tsx
6105
- var import_jsx_runtime23 = require("react/jsx-runtime");
6435
+ var import_jsx_runtime29 = require("react/jsx-runtime");
6106
6436
  var Select2 = Root23;
6107
6437
  var SelectGroup2 = Group2;
6108
6438
  var SelectValue2 = Value;
6109
- var SelectTrigger2 = React34.forwardRef(({ className, variant, size: size4, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
6439
+ var SelectTrigger2 = React38.forwardRef(({ className, variant, size: size4, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
6110
6440
  Trigger4,
6111
6441
  {
6112
6442
  ref,
@@ -6114,32 +6444,32 @@ var SelectTrigger2 = React34.forwardRef(({ className, variant, size: size4, chil
6114
6444
  ...props,
6115
6445
  children: [
6116
6446
  children,
6117
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_lucide_react3.ChevronDown, { className: "size-4 shrink-0 opacity-50" }) })
6447
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react4.ChevronDown, { className: "size-4 shrink-0 opacity-50" }) })
6118
6448
  ]
6119
6449
  }
6120
6450
  ));
6121
6451
  SelectTrigger2.displayName = Trigger4.displayName;
6122
- var SelectScrollUpButton2 = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6452
+ var SelectScrollUpButton2 = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
6123
6453
  ScrollUpButton,
6124
6454
  {
6125
6455
  ref,
6126
6456
  className: cn("flex cursor-default items-center justify-center py-1", className),
6127
6457
  ...props,
6128
- children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_lucide_react3.ChevronUp, { className: "size-4" })
6458
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react4.ChevronUp, { className: "size-4" })
6129
6459
  }
6130
6460
  ));
6131
6461
  SelectScrollUpButton2.displayName = ScrollUpButton.displayName;
6132
- var SelectScrollDownButton2 = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6462
+ var SelectScrollDownButton2 = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
6133
6463
  ScrollDownButton,
6134
6464
  {
6135
6465
  ref,
6136
6466
  className: cn("flex cursor-default items-center justify-center py-1", className),
6137
6467
  ...props,
6138
- children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_lucide_react3.ChevronDown, { className: "size-4" })
6468
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react4.ChevronDown, { className: "size-4" })
6139
6469
  }
6140
6470
  ));
6141
6471
  SelectScrollDownButton2.displayName = ScrollDownButton.displayName;
6142
- var SelectContent2 = React34.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Portal5, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
6472
+ var SelectContent2 = React38.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Portal5, { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
6143
6473
  Content22,
6144
6474
  {
6145
6475
  ref,
@@ -6152,8 +6482,8 @@ var SelectContent2 = React34.forwardRef(({ className, children, position = "popp
6152
6482
  position,
6153
6483
  ...props,
6154
6484
  children: [
6155
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(SelectScrollUpButton2, {}),
6156
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6485
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(SelectScrollUpButton2, {}),
6486
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
6157
6487
  Viewport,
6158
6488
  {
6159
6489
  className: cn(
@@ -6162,12 +6492,12 @@ var SelectContent2 = React34.forwardRef(({ className, children, position = "popp
6162
6492
  children
6163
6493
  }
6164
6494
  ),
6165
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(SelectScrollDownButton2, {})
6495
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(SelectScrollDownButton2, {})
6166
6496
  ]
6167
6497
  }
6168
6498
  ) }));
6169
6499
  SelectContent2.displayName = Content22.displayName;
6170
- var SelectLabel2 = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6500
+ var SelectLabel2 = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
6171
6501
  Label4,
6172
6502
  {
6173
6503
  ref,
@@ -6176,20 +6506,20 @@ var SelectLabel2 = React34.forwardRef(({ className, ...props }, ref) => /* @__PU
6176
6506
  }
6177
6507
  ));
6178
6508
  SelectLabel2.displayName = Label4.displayName;
6179
- var SelectItem2 = React34.forwardRef(({ className, children, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
6509
+ var SelectItem2 = React38.forwardRef(({ className, children, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
6180
6510
  Item2,
6181
6511
  {
6182
6512
  ref,
6183
6513
  className: cn(selectItemVariants({ variant }), className),
6184
6514
  ...props,
6185
6515
  children: [
6186
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ItemIndicator2, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_lucide_react3.Check, { className: "size-4" }) }) }),
6187
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ItemText, { children })
6516
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ItemIndicator2, { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react4.Check, { className: "size-4" }) }) }),
6517
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ItemText, { children })
6188
6518
  ]
6189
6519
  }
6190
6520
  ));
6191
6521
  SelectItem2.displayName = Item2.displayName;
6192
- var SelectSeparator2 = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6522
+ var SelectSeparator2 = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
6193
6523
  Separator3,
6194
6524
  {
6195
6525
  ref,
@@ -6203,14 +6533,14 @@ SelectSeparator2.displayName = Separator3.displayName;
6203
6533
  var import_react6 = require("react");
6204
6534
 
6205
6535
  // src/components/Tabs/tabs.styles.ts
6206
- var import_class_variance_authority7 = require("class-variance-authority");
6207
- var tabsVariants = (0, import_class_variance_authority7.cva)(
6536
+ var import_class_variance_authority11 = require("class-variance-authority");
6537
+ var tabsVariants = (0, import_class_variance_authority11.cva)(
6208
6538
  `
6209
6539
  inline-flex items-center gap-1 rounded-lg p-1
6210
6540
  border border-black/8 bg-white/50 dark:border-white/10 dark:bg-white/5
6211
6541
  `
6212
6542
  );
6213
- var tabVariants = (0, import_class_variance_authority7.cva)(
6543
+ var tabVariants = (0, import_class_variance_authority11.cva)(
6214
6544
  `
6215
6545
  inline-flex items-center justify-center px-4 py-2 text-sm font-medium
6216
6546
  rounded-md transition-colors duration-200
@@ -6230,19 +6560,19 @@ var tabVariants = (0, import_class_variance_authority7.cva)(
6230
6560
  );
6231
6561
 
6232
6562
  // src/components/Tabs/index.tsx
6233
- var import_jsx_runtime24 = require("react/jsx-runtime");
6563
+ var import_jsx_runtime30 = require("react/jsx-runtime");
6234
6564
  var TabsContext = (0, import_react6.createContext)(void 0);
6235
6565
  function Tabs({ value, onValueChange, children, className }) {
6236
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(TabsContext.Provider, { value: { value, onValueChange }, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: cn("w-full", className), children }) });
6566
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(TabsContext.Provider, { value: { value, onValueChange }, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: cn("w-full", className), children }) });
6237
6567
  }
6238
6568
  function TabsList({ children, className }) {
6239
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: cn(tabsVariants(), className), role: "tablist", children });
6569
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: cn(tabsVariants(), className), role: "tablist", children });
6240
6570
  }
6241
6571
  function TabsTrigger({ value, children, className }) {
6242
6572
  const context = (0, import_react6.useContext)(TabsContext);
6243
6573
  if (!context) throw new Error("TabsTrigger must be used within Tabs");
6244
6574
  const isActive = context.value === value;
6245
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
6575
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
6246
6576
  "button",
6247
6577
  {
6248
6578
  role: "tab",
@@ -6259,12 +6589,12 @@ function TabsContent({ value, children, className }) {
6259
6589
  if (!context) throw new Error("TabsContent must be used within Tabs");
6260
6590
  const isActive = context.value === value;
6261
6591
  if (!isActive) return null;
6262
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { role: "tabpanel", className, children });
6592
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { role: "tabpanel", className, children });
6263
6593
  }
6264
6594
 
6265
6595
  // src/components/Text/text.styles.ts
6266
- var import_class_variance_authority8 = require("class-variance-authority");
6267
- var textVariants = (0, import_class_variance_authority8.cva)(`text-content`, {
6596
+ var import_class_variance_authority12 = require("class-variance-authority");
6597
+ var textVariants = (0, import_class_variance_authority12.cva)(`text-content`, {
6268
6598
  variants: {
6269
6599
  size: {
6270
6600
  sm: "text-sm",
@@ -6287,23 +6617,23 @@ var textVariants = (0, import_class_variance_authority8.cva)(`text-content`, {
6287
6617
  });
6288
6618
 
6289
6619
  // src/components/Text/index.tsx
6290
- var import_jsx_runtime25 = require("react/jsx-runtime");
6620
+ var import_jsx_runtime31 = require("react/jsx-runtime");
6291
6621
  function Text({ size: size4 = "md", className, ...props }) {
6292
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("p", { className: cn(textVariants({ size: size4 }), className), ...props });
6622
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("p", { className: cn(textVariants({ size: size4 }), className), ...props });
6293
6623
  }
6294
6624
 
6295
6625
  // src/components/ControlledTable/index.tsx
6296
6626
  var import_react10 = require("react");
6297
- var import_radix_ui3 = require("radix-ui");
6298
- var import_lucide_react6 = require("lucide-react");
6627
+ var import_radix_ui6 = require("radix-ui");
6628
+ var import_lucide_react7 = require("lucide-react");
6299
6629
 
6300
6630
  // src/components/ControlledTable/toolbar/index.tsx
6301
6631
  var import_react9 = require("react");
6302
- var import_lucide_react5 = require("lucide-react");
6632
+ var import_lucide_react6 = require("lucide-react");
6303
6633
 
6304
6634
  // src/components/ControlledTable/SimpleSearch.tsx
6305
- var import_lucide_react4 = require("lucide-react");
6306
- var import_jsx_runtime26 = require("react/jsx-runtime");
6635
+ var import_lucide_react5 = require("lucide-react");
6636
+ var import_jsx_runtime32 = require("react/jsx-runtime");
6307
6637
  var SimpleSearch = ({
6308
6638
  searchValue,
6309
6639
  onSearchCallback,
@@ -6312,15 +6642,15 @@ var SimpleSearch = ({
6312
6642
  const handleChange = (e) => {
6313
6643
  onSearchCallback?.(e.target.value);
6314
6644
  };
6315
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "relative", children: [
6316
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
6317
- import_lucide_react4.SearchIcon,
6645
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "relative", children: [
6646
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
6647
+ import_lucide_react5.SearchIcon,
6318
6648
  {
6319
6649
  size: 16,
6320
6650
  className: "absolute left-3 top-1/2 -translate-y-1/2 text-muted"
6321
6651
  }
6322
6652
  ),
6323
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
6653
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
6324
6654
  Input,
6325
6655
  {
6326
6656
  value: searchValue,
@@ -6351,7 +6681,7 @@ function useDebounce(value, delay) {
6351
6681
  var useDebounce_default = useDebounce;
6352
6682
 
6353
6683
  // src/components/ControlledTable/tableFilter/filterItem/filterSelect/index.tsx
6354
- var import_jsx_runtime27 = require("react/jsx-runtime");
6684
+ var import_jsx_runtime33 = require("react/jsx-runtime");
6355
6685
  var CustomFilterSelect = ({
6356
6686
  field,
6357
6687
  onFilterCallback,
@@ -6386,18 +6716,18 @@ var CustomFilterSelect = ({
6386
6716
  const actualValue = value === "__none__" ? "" : value;
6387
6717
  setSearchTerm({ [field.id]: actualValue });
6388
6718
  };
6389
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: `min-w-[200px] ${className ?? ""}`, children: [
6390
- field.label && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "mb-1.5 text-sm text-neutral-600", children: field.label }),
6391
- /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
6719
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: `min-w-[200px] ${className ?? ""}`, children: [
6720
+ field.label && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("p", { className: "mb-1.5 text-sm text-neutral-600", children: field.label }),
6721
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
6392
6722
  Select2,
6393
6723
  {
6394
6724
  value: searchTerm?.[field.id] ? String(searchTerm[field.id]) : "__none__",
6395
6725
  onValueChange: handleValueChange,
6396
6726
  children: [
6397
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(SelectTrigger2, { className: "w-full", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(SelectValue2, {}) }),
6398
- /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(SelectContent2, { children: [
6399
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(SelectItem2, { value: "__none__", children: field.insteadNone ?? "None" }),
6400
- modifiedOptions.map((opt) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
6727
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectTrigger2, { className: "w-full", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectValue2, {}) }),
6728
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(SelectContent2, { children: [
6729
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectItem2, { value: "__none__", children: field.insteadNone ?? "None" }),
6730
+ modifiedOptions.map((opt) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
6401
6731
  SelectItem2,
6402
6732
  {
6403
6733
  value: String(opt.id ?? opt.value),
@@ -6414,7 +6744,7 @@ var CustomFilterSelect = ({
6414
6744
  var filterSelect_default = CustomFilterSelect;
6415
6745
 
6416
6746
  // src/components/ControlledTable/tableFilter/filterItem/index.tsx
6417
- var import_jsx_runtime28 = require("react/jsx-runtime");
6747
+ var import_jsx_runtime34 = require("react/jsx-runtime");
6418
6748
  var FIELD_TYPE_COMPONENT_MAP = [
6419
6749
  {
6420
6750
  types: ["select"],
@@ -6434,7 +6764,7 @@ var FilterItem = ({
6434
6764
  if (!config) return null;
6435
6765
  const { component: Component, extraProps } = config;
6436
6766
  const additionalProps = typeof extraProps === "function" ? extraProps(field) : extraProps;
6437
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
6767
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
6438
6768
  Component,
6439
6769
  {
6440
6770
  field,
@@ -6449,7 +6779,7 @@ var FilterItem = ({
6449
6779
  var filterItem_default = FilterItem;
6450
6780
 
6451
6781
  // src/components/ControlledTable/tableFilter/index.tsx
6452
- var import_jsx_runtime29 = require("react/jsx-runtime");
6782
+ var import_jsx_runtime35 = require("react/jsx-runtime");
6453
6783
  var TableFilter = ({
6454
6784
  filterFields,
6455
6785
  filteredParams,
@@ -6458,8 +6788,8 @@ var TableFilter = ({
6458
6788
  if (!filterFields || filterFields.length === 0) {
6459
6789
  return null;
6460
6790
  }
6461
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "flex flex-wrap items-end gap-4", children: filterFields.map((field) => {
6462
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
6791
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "flex flex-wrap items-end gap-4", children: filterFields.map((field) => {
6792
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
6463
6793
  filterItem_default,
6464
6794
  {
6465
6795
  field,
@@ -6474,7 +6804,7 @@ var TableFilter = ({
6474
6804
  var tableFilter_default = TableFilter;
6475
6805
 
6476
6806
  // src/components/ControlledTable/toolbar/index.tsx
6477
- var import_jsx_runtime30 = require("react/jsx-runtime");
6807
+ var import_jsx_runtime36 = require("react/jsx-runtime");
6478
6808
  var CommonToolbar = ({
6479
6809
  searchValue,
6480
6810
  filterFields,
@@ -6485,25 +6815,25 @@ var CommonToolbar = ({
6485
6815
  onFilterCallback
6486
6816
  }) => {
6487
6817
  const [isFilterOpen, setIsFilterOpen] = (0, import_react9.useState)(false);
6488
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "mb-4", children: [
6489
- /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "mb-3 flex items-center justify-between gap-4", children: [
6490
- /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex items-center gap-3", children: [
6491
- filterFields && filterFields.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex items-center gap-2", children: [
6492
- /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
6818
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "mb-4", children: [
6819
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "mb-3 flex items-center justify-between gap-4", children: [
6820
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "flex items-center gap-3", children: [
6821
+ filterFields && filterFields.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "flex items-center gap-2", children: [
6822
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
6493
6823
  Button,
6494
6824
  {
6495
6825
  variant: "outline",
6496
6826
  size: "sm",
6497
6827
  onClick: () => setIsFilterOpen((prev) => !prev),
6498
6828
  children: [
6499
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react5.Filter, { size: 14, className: "mr-1" }),
6829
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react6.Filter, { size: 14, className: "mr-1" }),
6500
6830
  "Filters"
6501
6831
  ]
6502
6832
  }
6503
6833
  ),
6504
- numSelected > 0 && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "inline-flex h-5 min-w-5 items-center justify-center rounded-full bg-primary px-1.5 text-xs font-medium text-white", children: numSelected })
6834
+ numSelected > 0 && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { className: "inline-flex h-5 min-w-5 items-center justify-center rounded-full bg-primary px-1.5 text-xs font-medium text-white", children: numSelected })
6505
6835
  ] }),
6506
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "max-w-90 flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
6836
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "max-w-90 flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
6507
6837
  SimpleSearch_default,
6508
6838
  {
6509
6839
  searchValue,
@@ -6512,9 +6842,9 @@ var CommonToolbar = ({
6512
6842
  }
6513
6843
  ) })
6514
6844
  ] }),
6515
- toolbarActions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "flex items-center gap-2", children: renderToolbarActions(toolbarActions, numSelected) })
6845
+ toolbarActions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "flex items-center gap-2", children: renderToolbarActions(toolbarActions, numSelected) })
6516
6846
  ] }),
6517
- filterFields && filterFields.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CollapsibleRoot, { open: isFilterOpen, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CollapsibleContent, { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "rounded-lg border border-neutral-200 p-4", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
6847
+ filterFields && filterFields.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CollapsibleRoot, { open: isFilterOpen, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CollapsibleContent, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "rounded-lg border border-border p-4", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
6518
6848
  tableFilter_default,
6519
6849
  {
6520
6850
  filterFields,
@@ -6528,15 +6858,15 @@ function renderToolbarActions(actions, numSelected) {
6528
6858
  if (!actions || actions.length === 0) return null;
6529
6859
  return actions.map((item) => {
6530
6860
  const isTitleView = Object.keys(item).includes("titleView") ? item.titleView : true;
6531
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
6861
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
6532
6862
  Button,
6533
6863
  {
6534
6864
  variant: "outline",
6535
6865
  onClick: () => item.callback(),
6536
6866
  disabled: item.visibleWithoutSelection ? false : numSelected === 0,
6537
6867
  children: [
6538
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "mr-1", children: getIconForAction(item.action) }),
6539
- isTitleView && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { children: item.label ?? item.action })
6868
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { className: "mr-1", children: getIconForAction(item.action) }),
6869
+ isTitleView && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { children: item.label ?? item.action })
6540
6870
  ]
6541
6871
  },
6542
6872
  item.action
@@ -6547,29 +6877,29 @@ function getIconForAction(action) {
6547
6877
  const cls = "h-4 w-4";
6548
6878
  switch (action) {
6549
6879
  case "delete":
6550
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react5.Trash2, { className: cls });
6880
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react6.Trash2, { className: cls });
6551
6881
  case "edit":
6552
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react5.Edit, { className: cls });
6882
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react6.Edit, { className: cls });
6553
6883
  case "download":
6554
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react5.Download, { className: cls });
6884
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react6.Download, { className: cls });
6555
6885
  case "open":
6556
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react5.Eye, { className: cls });
6886
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react6.Eye, { className: cls });
6557
6887
  case "clone":
6558
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react5.Copy, { className: cls });
6888
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react6.Copy, { className: cls });
6559
6889
  case "create":
6560
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react5.Plus, { className: cls });
6890
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react6.Plus, { className: cls });
6561
6891
  case "upload":
6562
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react5.Upload, { className: cls });
6892
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react6.Upload, { className: cls });
6563
6893
  case "view":
6564
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react5.Eye, { className: cls });
6894
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react6.Eye, { className: cls });
6565
6895
  case "check":
6566
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react5.ListCheckIcon, { className: cls });
6896
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react6.ListCheckIcon, { className: cls });
6567
6897
  case "print":
6568
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react5.FileTextIcon, { className: cls });
6898
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react6.FileTextIcon, { className: cls });
6569
6899
  case "compare":
6570
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react5.Copy, { className: cls });
6900
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react6.Copy, { className: cls });
6571
6901
  case "convert":
6572
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react5.Upload, { className: cls });
6902
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react6.Upload, { className: cls });
6573
6903
  default:
6574
6904
  return null;
6575
6905
  }
@@ -6577,7 +6907,7 @@ function getIconForAction(action) {
6577
6907
  var toolbar_default = CommonToolbar;
6578
6908
 
6579
6909
  // src/components/ControlledTable/ControlledPagination.tsx
6580
- var import_jsx_runtime31 = require("react/jsx-runtime");
6910
+ var import_jsx_runtime37 = require("react/jsx-runtime");
6581
6911
  var ControlledPagination = ({
6582
6912
  currentPage,
6583
6913
  rowsPerPage,
@@ -6606,28 +6936,28 @@ var ControlledPagination = ({
6606
6936
  }
6607
6937
  return pages;
6608
6938
  };
6609
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "flex w-full items-center justify-between", children: [
6610
- /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "flex items-center gap-2 text-sm", children: [
6611
- /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("span", { children: [
6939
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex w-full items-center justify-between", children: [
6940
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex items-center gap-2 text-sm", children: [
6941
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("span", { children: [
6612
6942
  rowsPerPageLabel,
6613
6943
  ":"
6614
6944
  ] }),
6615
- /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
6945
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
6616
6946
  Select2,
6617
6947
  {
6618
6948
  value: rowsPerPage.toString(),
6619
6949
  onValueChange: (value) => onRowsPerPageChange(parseInt(value, 10)),
6620
6950
  children: [
6621
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(SelectTrigger2, { className: "w-20", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(SelectValue2, {}) }),
6622
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(SelectContent2, { children: rowsPerPageOptions.map((option) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(SelectItem2, { value: option.toString(), children: option }, option)) })
6951
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(SelectTrigger2, { className: "w-20", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(SelectValue2, {}) }),
6952
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(SelectContent2, { children: rowsPerPageOptions.map((option) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(SelectItem2, { value: option.toString(), children: option }, option)) })
6623
6953
  ]
6624
6954
  }
6625
6955
  )
6626
6956
  ] }),
6627
- /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "flex items-center gap-4 text-sm", children: [
6628
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("p", { className: "w-full", children: countLabel(startItem, endItem, totalCount) }),
6629
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Pagination, { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(PaginationContent, { children: [
6630
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
6957
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex items-center gap-4 text-sm", children: [
6958
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("p", { className: "w-full", children: countLabel(startItem, endItem, totalCount) }),
6959
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Pagination, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(PaginationContent, { children: [
6960
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
6631
6961
  PaginationPrevious,
6632
6962
  {
6633
6963
  onClick: () => currentPage > 1 && onPageChange(currentPage - 1),
@@ -6635,7 +6965,7 @@ var ControlledPagination = ({
6635
6965
  }
6636
6966
  ) }),
6637
6967
  getPageNumbers().map(
6638
- (page, idx) => page === "ellipsis" ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(PaginationEllipsis, {}) }, `ellipsis-${idx}`) : /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
6968
+ (page, idx) => page === "ellipsis" ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(PaginationEllipsis, {}) }, `ellipsis-${idx}`) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
6639
6969
  PaginationLink,
6640
6970
  {
6641
6971
  onClick: () => onPageChange(page),
@@ -6645,7 +6975,7 @@ var ControlledPagination = ({
6645
6975
  }
6646
6976
  ) }, page)
6647
6977
  ),
6648
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
6978
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
6649
6979
  PaginationNext,
6650
6980
  {
6651
6981
  onClick: () => currentPage < totalPages && onPageChange(currentPage + 1),
@@ -6659,7 +6989,7 @@ var ControlledPagination = ({
6659
6989
  var ControlledPagination_default = ControlledPagination;
6660
6990
 
6661
6991
  // src/components/ControlledTable/index.tsx
6662
- var import_jsx_runtime32 = require("react/jsx-runtime");
6992
+ var import_jsx_runtime38 = require("react/jsx-runtime");
6663
6993
  var ControlledTable = ({
6664
6994
  tableSource,
6665
6995
  tableConfig,
@@ -6753,7 +7083,7 @@ var ControlledTable = ({
6753
7083
  if (field.renderLink) {
6754
7084
  return field.renderLink(to, rawValue);
6755
7085
  }
6756
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
7086
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
6757
7087
  "a",
6758
7088
  {
6759
7089
  href: to,
@@ -6765,22 +7095,22 @@ var ControlledTable = ({
6765
7095
  );
6766
7096
  }
6767
7097
  if (field.type === "img") {
6768
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("img", { src: rawValue, alt: "", className: "h-auto max-w-full" });
7098
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("img", { src: rawValue, alt: "", className: "h-auto max-w-full" });
6769
7099
  }
6770
7100
  if (field.type === "bool") {
6771
- return rawValue ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react6.Check, { size: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react6.X, { size: 16 });
7101
+ return rawValue ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react7.Check, { size: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react7.X, { size: 16 });
6772
7102
  }
6773
7103
  const content = rawValue ?? "";
6774
7104
  if (field.withTooltip) {
6775
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(TooltipProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Tooltip, { children: [
6776
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "block max-w-50 truncate", children: content }) }),
6777
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(TooltipContent, { children: content })
7105
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(TooltipProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(Tooltip, { children: [
7106
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "block max-w-50 truncate", children: content }) }),
7107
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(TooltipContent, { children: content })
6778
7108
  ] }) });
6779
7109
  }
6780
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { children: content });
7110
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { children: content });
6781
7111
  };
6782
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { children: [
6783
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
7112
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { children: [
7113
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
6784
7114
  toolbar_default,
6785
7115
  {
6786
7116
  searchValue: filteredParams?.search?.value || "",
@@ -6792,18 +7122,18 @@ var ControlledTable = ({
6792
7122
  onFilterCallback
6793
7123
  }
6794
7124
  ),
6795
- /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "relative overflow-hidden rounded-lg border border-border", children: [
6796
- loading && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "absolute inset-0 z-10 flex items-center justify-center bg-card/60", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "h-8 w-8 animate-spin rounded-full border-4 border-primary border-t-transparent" }) }),
6797
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "overflow-x-auto", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("table", { className: "w-full text-sm", children: [
6798
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("thead", { className: "border-b bg-surface text-dim", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("tr", { children: [
6799
- isSelectable && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("th", { className: "w-10 px-3 py-3", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
6800
- import_radix_ui3.Checkbox.Root,
7125
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "relative overflow-hidden rounded-lg border border-border", children: [
7126
+ loading && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "absolute inset-0 z-10 flex items-center justify-center bg-card/60", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "h-8 w-8 animate-spin rounded-full border-4 border-primary border-t-transparent" }) }),
7127
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "overflow-x-auto", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("table", { className: "w-full text-sm", children: [
7128
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("thead", { className: "border-b bg-surface text-dim", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("tr", { children: [
7129
+ isSelectable && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("th", { className: "w-10 px-3 py-3", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
7130
+ import_radix_ui6.Checkbox.Root,
6801
7131
  {
6802
7132
  checked: allSelected,
6803
7133
  onCheckedChange: handleSelectAll,
6804
- className: "flex h-4 w-4 items-center justify-center rounded border border-border-input bg-white data-[state=checked]:border-primary data-[state=checked]:bg-primary",
6805
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_radix_ui3.Checkbox.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
6806
- import_lucide_react6.CheckIcon,
7134
+ className: "flex h-4 w-4 items-center justify-center rounded border border-border-input bg-white dark:bg-white/5 data-[state=checked]:border-primary data-[state=checked]:bg-primary",
7135
+ children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_radix_ui6.Checkbox.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
7136
+ import_lucide_react7.CheckIcon,
6807
7137
  {
6808
7138
  size: 10,
6809
7139
  className: "text-primary-foreground"
@@ -6814,19 +7144,19 @@ var ControlledTable = ({
6814
7144
  fields.map((field) => {
6815
7145
  const id = field.orderField || field.id;
6816
7146
  const isSorted = sortObj?.field === id;
6817
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
7147
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
6818
7148
  "th",
6819
7149
  {
6820
7150
  className: `px-3 py-3 font-medium ${field.headAlign === "center" ? "text-center" : field.headAlign === "right" ? "text-right" : "text-left"} ${field.sortable ? "cursor-pointer select-none hover:text-primary" : ""}`,
6821
7151
  style: { width: field.width },
6822
7152
  onClick: () => field.sortable && handleSort(field),
6823
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
7153
+ children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
6824
7154
  "div",
6825
7155
  {
6826
7156
  className: `inline-flex items-center gap-1 ${field.headAlign === "center" ? "justify-center" : ""}`,
6827
7157
  children: [
6828
7158
  field.label ?? "",
6829
- field.sortable && (isSorted ? sortObj?.order === "asc" ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react6.ArrowUp, { size: 14 }) : /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react6.ArrowDown, { size: 14 }) : /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react6.ArrowUpDown, { size: 14, className: "opacity-40" }))
7159
+ field.sortable && (isSorted ? sortObj?.order === "asc" ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react7.ArrowUp, { size: 14 }) : /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react7.ArrowDown, { size: 14 }) : /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react7.ArrowUpDown, { size: 14, className: "opacity-40" }))
6830
7160
  ]
6831
7161
  }
6832
7162
  )
@@ -6834,9 +7164,9 @@ var ControlledTable = ({
6834
7164
  field.id
6835
7165
  );
6836
7166
  }),
6837
- hasActions && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("th", { className: "w-10 px-3 py-3" })
7167
+ hasActions && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("th", { className: "w-10 px-3 py-3" })
6838
7168
  ] }) }),
6839
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("tbody", { children: tableData.length === 0 && !loading ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("tr", { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
7169
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("tbody", { children: tableData.length === 0 && !loading ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("tr", { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
6840
7170
  "td",
6841
7171
  {
6842
7172
  colSpan: fields.length + (isSelectable ? 1 : 0) + (hasActions ? 1 : 0),
@@ -6846,13 +7176,13 @@ var ControlledTable = ({
6846
7176
  ) }) : tableData.map((record) => {
6847
7177
  const key = record[rowUniqueKey];
6848
7178
  const isSelected = selectedRows.includes(key);
6849
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
7179
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
6850
7180
  "tr",
6851
7181
  {
6852
7182
  onClick: () => onRowClick?.(record),
6853
7183
  className: `border-b last:border-b-0 transition-colors ${onRowClick ? "cursor-pointer" : ""} ${isSelected ? "bg-primary/5" : "hover:bg-surface-hover"}`,
6854
7184
  children: [
6855
- isSelectable && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
7185
+ isSelectable && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
6856
7186
  "td",
6857
7187
  {
6858
7188
  className: "w-10 px-3 py-3",
@@ -6860,14 +7190,14 @@ var ControlledTable = ({
6860
7190
  e.stopPropagation();
6861
7191
  handleSelectRow(key);
6862
7192
  },
6863
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
6864
- import_radix_ui3.Checkbox.Root,
7193
+ children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
7194
+ import_radix_ui6.Checkbox.Root,
6865
7195
  {
6866
7196
  checked: isSelected,
6867
7197
  onCheckedChange: () => handleSelectRow(key),
6868
- className: "flex h-4 w-4 items-center justify-center rounded border border-border-input bg-white data-[state=checked]:border-primary data-[state=checked]:bg-primary",
6869
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_radix_ui3.Checkbox.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
6870
- import_lucide_react6.CheckIcon,
7198
+ className: "flex h-4 w-4 items-center justify-center rounded border border-border-input bg-white dark:bg-white/5 data-[state=checked]:border-primary data-[state=checked]:bg-primary",
7199
+ children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_radix_ui6.Checkbox.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
7200
+ import_lucide_react7.CheckIcon,
6871
7201
  {
6872
7202
  size: 10,
6873
7203
  className: "text-primary-foreground"
@@ -6877,7 +7207,7 @@ var ControlledTable = ({
6877
7207
  )
6878
7208
  }
6879
7209
  ),
6880
- fields.map((field) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
7210
+ fields.map((field) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
6881
7211
  "td",
6882
7212
  {
6883
7213
  className: `px-3 py-3 ${field.textAlign === "center" ? "text-center" : field.textAlign === "right" ? "text-right" : "text-left"}`,
@@ -6886,29 +7216,29 @@ var ControlledTable = ({
6886
7216
  },
6887
7217
  field.id
6888
7218
  )),
6889
- hasActions && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
7219
+ hasActions && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
6890
7220
  "td",
6891
7221
  {
6892
7222
  className: "px-3 py-3",
6893
7223
  onClick: (e) => e.stopPropagation(),
6894
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex items-center gap-1", children: [
6895
- withEditAction && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
7224
+ children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex items-center gap-1", children: [
7225
+ withEditAction && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
6896
7226
  "button",
6897
7227
  {
6898
7228
  className: "inline-flex h-7 w-7 items-center justify-center rounded hover:bg-surface-hover",
6899
7229
  onClick: () => handleEditAction?.(record.id),
6900
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react6.Edit, { size: 15 })
7230
+ children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react7.Edit, { size: 15 })
6901
7231
  }
6902
7232
  ),
6903
- withDownloadAction && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
7233
+ withDownloadAction && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
6904
7234
  "button",
6905
7235
  {
6906
7236
  className: "inline-flex h-7 w-7 items-center justify-center rounded hover:bg-surface-hover",
6907
7237
  onClick: () => handleDownloadAction?.(record.id),
6908
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react6.Download, { size: 15 })
7238
+ children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react7.Download, { size: 15 })
6909
7239
  }
6910
7240
  ),
6911
- withOpenAction && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
7241
+ withOpenAction && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
6912
7242
  "button",
6913
7243
  {
6914
7244
  className: "inline-flex h-7 w-7 items-center justify-center rounded hover:bg-surface-hover",
@@ -6920,23 +7250,23 @@ var ControlledTable = ({
6920
7250
  else if (handleClickIcon)
6921
7251
  handleClickIcon(record);
6922
7252
  },
6923
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react6.Eye, { size: 15 })
7253
+ children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react7.Eye, { size: 15 })
6924
7254
  }
6925
7255
  ),
6926
- withCloneAction && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
7256
+ withCloneAction && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
6927
7257
  "button",
6928
7258
  {
6929
7259
  className: "inline-flex h-7 w-7 items-center justify-center rounded hover:bg-surface-hover",
6930
7260
  onClick: () => handleClickIcon?.(record),
6931
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react6.Copy, { size: 15 })
7261
+ children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react7.Copy, { size: 15 })
6932
7262
  }
6933
7263
  ),
6934
- withRemoveAction && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
7264
+ withRemoveAction && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
6935
7265
  "button",
6936
7266
  {
6937
7267
  className: "inline-flex h-7 w-7 items-center justify-center rounded text-destructive hover:bg-destructive/10",
6938
7268
  onClick: () => handleRemoveAction?.(record.id),
6939
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react6.Trash2, { size: 15 })
7269
+ children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react7.Trash2, { size: 15 })
6940
7270
  }
6941
7271
  )
6942
7272
  ] })
@@ -6949,7 +7279,7 @@ var ControlledTable = ({
6949
7279
  }) })
6950
7280
  ] }) })
6951
7281
  ] }),
6952
- withPagination && count3 > 0 && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "mt-3", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
7282
+ withPagination && count3 > 0 && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "mt-3", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
6953
7283
  ControlledPagination_default,
6954
7284
  {
6955
7285
  currentPage,
@@ -7156,13 +7486,30 @@ var AuxaliaTokens = {
7156
7486
  };
7157
7487
  // Annotate the CommonJS export names for ESM import in node:
7158
7488
  0 && (module.exports = {
7489
+ Alert,
7490
+ AlertDescription,
7491
+ AlertTitle,
7159
7492
  AuxaliaTokens,
7493
+ Avatar,
7494
+ AvatarFallback,
7495
+ AvatarImage,
7496
+ Badge,
7160
7497
  Button,
7161
7498
  Card,
7162
7499
  CollapsibleContent,
7163
7500
  CollapsibleRoot,
7164
7501
  CollapsibleTrigger,
7165
7502
  ControlledTable,
7503
+ Dialog,
7504
+ DialogClose,
7505
+ DialogContent,
7506
+ DialogDescription,
7507
+ DialogFooter,
7508
+ DialogHeader,
7509
+ DialogOverlay,
7510
+ DialogPortal,
7511
+ DialogTitle,
7512
+ DialogTrigger,
7166
7513
  DropdownMenu,
7167
7514
  DropdownMenuCheckboxItem,
7168
7515
  DropdownMenuContent,
@@ -7211,6 +7558,11 @@ var AuxaliaTokens = {
7211
7558
  SelectSeparator,
7212
7559
  SelectTrigger,
7213
7560
  SelectValue,
7561
+ Skeleton,
7562
+ SkeletonAvatar,
7563
+ SkeletonCard,
7564
+ SkeletonText,
7565
+ Switch,
7214
7566
  Tabs,
7215
7567
  TabsContent,
7216
7568
  TabsList,
@@ -7220,6 +7572,7 @@ var AuxaliaTokens = {
7220
7572
  TooltipContent,
7221
7573
  TooltipProvider,
7222
7574
  TooltipTrigger,
7575
+ badgeVariants,
7223
7576
  buttonVariants,
7224
7577
  cn,
7225
7578
  tailwindPreset