pxengine 0.1.1 → 0.1.3
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.mjs → index.cjs} +1249 -770
- package/dist/index.js +1001 -1018
- package/dist/registry.json +1 -1
- package/package.json +5 -4
- /package/dist/{index.d.mts → index.d.cts} +0 -0
|
@@ -1,18 +1,271 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// src/index.ts
|
|
31
|
+
var index_exports = {};
|
|
32
|
+
__export(index_exports, {
|
|
33
|
+
Accordion: () => Accordion,
|
|
34
|
+
AccordionAtom: () => AccordionAtom,
|
|
35
|
+
AccordionContent: () => AccordionContent,
|
|
36
|
+
AccordionItem: () => AccordionItem,
|
|
37
|
+
AccordionTrigger: () => AccordionTrigger,
|
|
38
|
+
ActionButton: () => ActionButton,
|
|
39
|
+
Alert: () => Alert,
|
|
40
|
+
AlertAtom: () => AlertAtom,
|
|
41
|
+
AlertDescription: () => AlertDescription,
|
|
42
|
+
AlertDialog: () => AlertDialog,
|
|
43
|
+
AlertDialogAction: () => AlertDialogAction,
|
|
44
|
+
AlertDialogAtom: () => AlertDialogAtom,
|
|
45
|
+
AlertDialogCancel: () => AlertDialogCancel,
|
|
46
|
+
AlertDialogContent: () => AlertDialogContent,
|
|
47
|
+
AlertDialogDescription: () => AlertDialogDescription,
|
|
48
|
+
AlertDialogFooter: () => AlertDialogFooter,
|
|
49
|
+
AlertDialogHeader: () => AlertDialogHeader,
|
|
50
|
+
AlertDialogTitle: () => AlertDialogTitle,
|
|
51
|
+
AlertDialogTrigger: () => AlertDialogTrigger,
|
|
52
|
+
AlertTitle: () => AlertTitle,
|
|
53
|
+
AspectRatio: () => AspectRatio,
|
|
54
|
+
AspectRatioAtom: () => AspectRatioAtom,
|
|
55
|
+
Avatar: () => Avatar,
|
|
56
|
+
AvatarAtom: () => AvatarAtom,
|
|
57
|
+
AvatarFallback: () => AvatarFallback,
|
|
58
|
+
AvatarImage: () => AvatarImage,
|
|
59
|
+
Badge: () => Badge,
|
|
60
|
+
BadgeAtom: () => BadgeAtom,
|
|
61
|
+
Breadcrumb: () => Breadcrumb,
|
|
62
|
+
BreadcrumbAtom: () => BreadcrumbAtom,
|
|
63
|
+
BreadcrumbItem: () => BreadcrumbItem,
|
|
64
|
+
BreadcrumbLink: () => BreadcrumbLink,
|
|
65
|
+
BreadcrumbList: () => BreadcrumbList,
|
|
66
|
+
BreadcrumbPage: () => BreadcrumbPage,
|
|
67
|
+
BreadcrumbSeparator: () => BreadcrumbSeparator,
|
|
68
|
+
Button: () => Button,
|
|
69
|
+
ButtonAtom: () => ButtonAtom,
|
|
70
|
+
CAMPAIGN_SEED_FIELDS: () => CAMPAIGN_SEED_FIELDS,
|
|
71
|
+
Calendar: () => Calendar,
|
|
72
|
+
CalendarAtom: () => CalendarAtom,
|
|
73
|
+
CampaignSeedCard: () => CampaignSeedCard,
|
|
74
|
+
Card: () => Card,
|
|
75
|
+
CardAtom: () => CardAtom,
|
|
76
|
+
CardContent: () => CardContent,
|
|
77
|
+
CardDescription: () => CardDescription,
|
|
78
|
+
CardFooter: () => CardFooter,
|
|
79
|
+
CardHeader: () => CardHeader,
|
|
80
|
+
CardTitle: () => CardTitle,
|
|
81
|
+
Carousel: () => Carousel,
|
|
82
|
+
CarouselAtom: () => CarouselAtom,
|
|
83
|
+
CarouselContent: () => CarouselContent,
|
|
84
|
+
CarouselItem: () => CarouselItem,
|
|
85
|
+
CarouselNext: () => CarouselNext,
|
|
86
|
+
CarouselPrevious: () => CarouselPrevious,
|
|
87
|
+
Checkbox: () => Checkbox,
|
|
88
|
+
Collapsible: () => Collapsible,
|
|
89
|
+
CollapsibleAtom: () => CollapsibleAtom,
|
|
90
|
+
CollapsibleContent: () => CollapsibleContent2,
|
|
91
|
+
CollapsibleTrigger: () => CollapsibleTrigger2,
|
|
92
|
+
Command: () => Command,
|
|
93
|
+
CommandAtom: () => CommandAtom,
|
|
94
|
+
CommandDialog: () => CommandDialog,
|
|
95
|
+
CommandEmpty: () => CommandEmpty,
|
|
96
|
+
CommandGroup: () => CommandGroup,
|
|
97
|
+
CommandInput: () => CommandInput,
|
|
98
|
+
CommandItem: () => CommandItem,
|
|
99
|
+
CommandList: () => CommandList,
|
|
100
|
+
CommandSeparator: () => CommandSeparator,
|
|
101
|
+
CommandShortcut: () => CommandShortcut,
|
|
102
|
+
ContextMenu: () => ContextMenu,
|
|
103
|
+
ContextMenuCheckboxItem: () => ContextMenuCheckboxItem,
|
|
104
|
+
ContextMenuContent: () => ContextMenuContent,
|
|
105
|
+
ContextMenuItem: () => ContextMenuItem,
|
|
106
|
+
ContextMenuLabel: () => ContextMenuLabel,
|
|
107
|
+
ContextMenuRadioItem: () => ContextMenuRadioItem,
|
|
108
|
+
ContextMenuSeparator: () => ContextMenuSeparator,
|
|
109
|
+
ContextMenuShortcut: () => ContextMenuShortcut,
|
|
110
|
+
ContextMenuTrigger: () => ContextMenuTrigger,
|
|
111
|
+
CountrySelectDisplay: () => CountrySelectDisplay,
|
|
112
|
+
CountrySelectEdit: () => CountrySelectEdit,
|
|
113
|
+
Dialog: () => Dialog,
|
|
114
|
+
DialogAtom: () => DialogAtom,
|
|
115
|
+
DialogClose: () => DialogClose,
|
|
116
|
+
DialogContent: () => DialogContent,
|
|
117
|
+
DialogDescription: () => DialogDescription,
|
|
118
|
+
DialogFooter: () => DialogFooter,
|
|
119
|
+
DialogHeader: () => DialogHeader,
|
|
120
|
+
DialogTitle: () => DialogTitle,
|
|
121
|
+
DialogTrigger: () => DialogTrigger,
|
|
122
|
+
Drawer: () => Drawer,
|
|
123
|
+
DrawerClose: () => DrawerClose,
|
|
124
|
+
DrawerContent: () => DrawerContent,
|
|
125
|
+
DrawerDescription: () => DrawerDescription,
|
|
126
|
+
DrawerFooter: () => DrawerFooter,
|
|
127
|
+
DrawerHeader: () => DrawerHeader,
|
|
128
|
+
DrawerTitle: () => DrawerTitle,
|
|
129
|
+
DrawerTrigger: () => DrawerTrigger,
|
|
130
|
+
DropdownMenu: () => DropdownMenu,
|
|
131
|
+
DropdownMenuCheckboxItem: () => DropdownMenuCheckboxItem,
|
|
132
|
+
DropdownMenuContent: () => DropdownMenuContent,
|
|
133
|
+
DropdownMenuItem: () => DropdownMenuItem,
|
|
134
|
+
DropdownMenuLabel: () => DropdownMenuLabel,
|
|
135
|
+
DropdownMenuPortal: () => DropdownMenuPortal,
|
|
136
|
+
DropdownMenuRadioGroup: () => DropdownMenuRadioGroup,
|
|
137
|
+
DropdownMenuRadioItem: () => DropdownMenuRadioItem,
|
|
138
|
+
DropdownMenuSeparator: () => DropdownMenuSeparator,
|
|
139
|
+
DropdownMenuShortcut: () => DropdownMenuShortcut,
|
|
140
|
+
DropdownMenuTrigger: () => DropdownMenuTrigger,
|
|
141
|
+
EditableField: () => EditableField,
|
|
142
|
+
Form: () => Form,
|
|
143
|
+
FormCard: () => FormCard,
|
|
144
|
+
FormControl: () => FormControl,
|
|
145
|
+
FormDescription: () => FormDescription,
|
|
146
|
+
FormField: () => FormField,
|
|
147
|
+
FormItem: () => FormItem,
|
|
148
|
+
FormLabel: () => FormLabel,
|
|
149
|
+
FormMessage: () => FormMessage,
|
|
150
|
+
HoverCard: () => HoverCard,
|
|
151
|
+
HoverCardContent: () => HoverCardContent,
|
|
152
|
+
HoverCardTrigger: () => HoverCardTrigger,
|
|
153
|
+
Input: () => Input,
|
|
154
|
+
InputAtom: () => InputAtom,
|
|
155
|
+
InputOTP: () => InputOTP,
|
|
156
|
+
InputOTPGroup: () => InputOTPGroup,
|
|
157
|
+
InputOTPSeparator: () => InputOTPSeparator,
|
|
158
|
+
InputOTPSlot: () => InputOTPSlot,
|
|
159
|
+
KeywordBundlesDisplay: () => KeywordBundlesDisplay,
|
|
160
|
+
KeywordBundlesEdit: () => KeywordBundlesEdit,
|
|
161
|
+
Label: () => Label,
|
|
162
|
+
LayoutAtom: () => LayoutAtom,
|
|
163
|
+
MCQCard: () => MCQCard,
|
|
164
|
+
Menubar: () => Menubar,
|
|
165
|
+
MenubarCheckboxItem: () => MenubarCheckboxItem,
|
|
166
|
+
MenubarContent: () => MenubarContent,
|
|
167
|
+
MenubarItem: () => MenubarItem,
|
|
168
|
+
MenubarLabel: () => MenubarLabel,
|
|
169
|
+
MenubarRadioItem: () => MenubarRadioItem,
|
|
170
|
+
MenubarSeparator: () => MenubarSeparator,
|
|
171
|
+
MenubarShortcut: () => MenubarShortcut,
|
|
172
|
+
MenubarTrigger: () => MenubarTrigger,
|
|
173
|
+
NavigationMenu: () => NavigationMenu,
|
|
174
|
+
NavigationMenuContent: () => NavigationMenuContent,
|
|
175
|
+
NavigationMenuItem: () => NavigationMenuItem,
|
|
176
|
+
NavigationMenuLink: () => NavigationMenuLink,
|
|
177
|
+
NavigationMenuList: () => NavigationMenuList,
|
|
178
|
+
NavigationMenuTrigger: () => NavigationMenuTrigger,
|
|
179
|
+
PXEngineRenderer: () => PXEngineRenderer,
|
|
180
|
+
Pagination: () => Pagination,
|
|
181
|
+
PaginationAtom: () => PaginationAtom,
|
|
182
|
+
PaginationContent: () => PaginationContent,
|
|
183
|
+
PaginationEllipsis: () => PaginationEllipsis,
|
|
184
|
+
PaginationItem: () => PaginationItem,
|
|
185
|
+
PaginationLink: () => PaginationLink,
|
|
186
|
+
PaginationNext: () => PaginationNext,
|
|
187
|
+
PaginationPrevious: () => PaginationPrevious,
|
|
188
|
+
Popover: () => Popover,
|
|
189
|
+
PopoverAtom: () => PopoverAtom,
|
|
190
|
+
PopoverContent: () => PopoverContent,
|
|
191
|
+
PopoverTrigger: () => PopoverTrigger,
|
|
192
|
+
Progress: () => Progress,
|
|
193
|
+
ProgressAtom: () => ProgressAtom,
|
|
194
|
+
RadioGroup: () => RadioGroup,
|
|
195
|
+
RadioGroupItem: () => RadioGroupItem,
|
|
196
|
+
ResizablePanel: () => ResizablePanel,
|
|
197
|
+
ResizablePanelGroup: () => ResizablePanelGroup,
|
|
198
|
+
SEARCH_SPEC_FIELDS: () => SEARCH_SPEC_FIELDS,
|
|
199
|
+
ScrollArea: () => ScrollArea,
|
|
200
|
+
ScrollAreaAtom: () => ScrollAreaAtom,
|
|
201
|
+
ScrollBar: () => ScrollBar,
|
|
202
|
+
SearchSpecCard: () => SearchSpecCard,
|
|
203
|
+
Select: () => Select,
|
|
204
|
+
SelectContent: () => SelectContent,
|
|
205
|
+
SelectGroup: () => SelectGroup,
|
|
206
|
+
SelectItem: () => SelectItem,
|
|
207
|
+
SelectLabel: () => SelectLabel,
|
|
208
|
+
SelectScrollDownButton: () => SelectScrollDownButton,
|
|
209
|
+
SelectScrollUpButton: () => SelectScrollUpButton,
|
|
210
|
+
SelectSeparator: () => SelectSeparator,
|
|
211
|
+
SelectTrigger: () => SelectTrigger,
|
|
212
|
+
SelectValue: () => SelectValue,
|
|
213
|
+
Separator: () => Separator2,
|
|
214
|
+
SeparatorAtom: () => SeparatorAtom,
|
|
215
|
+
Sheet: () => Sheet,
|
|
216
|
+
SheetAtom: () => SheetAtom,
|
|
217
|
+
SheetClose: () => SheetClose,
|
|
218
|
+
SheetContent: () => SheetContent,
|
|
219
|
+
SheetDescription: () => SheetDescription,
|
|
220
|
+
SheetFooter: () => SheetFooter,
|
|
221
|
+
SheetHeader: () => SheetHeader,
|
|
222
|
+
SheetTitle: () => SheetTitle,
|
|
223
|
+
SheetTrigger: () => SheetTrigger,
|
|
224
|
+
Skeleton: () => Skeleton,
|
|
225
|
+
SkeletonAtom: () => SkeletonAtom,
|
|
226
|
+
Slider: () => Slider,
|
|
227
|
+
Spinner: () => Spinner,
|
|
228
|
+
SpinnerAtom: () => SpinnerAtom,
|
|
229
|
+
Switch: () => Switch,
|
|
230
|
+
Table: () => Table,
|
|
231
|
+
TableAtom: () => TableAtom,
|
|
232
|
+
TableBody: () => TableBody,
|
|
233
|
+
TableCaption: () => TableCaption,
|
|
234
|
+
TableCell: () => TableCell,
|
|
235
|
+
TableHead: () => TableHead,
|
|
236
|
+
TableHeader: () => TableHeader,
|
|
237
|
+
TableRow: () => TableRow,
|
|
238
|
+
Tabs: () => Tabs,
|
|
239
|
+
TabsAtom: () => TabsAtom,
|
|
240
|
+
TabsContent: () => TabsContent,
|
|
241
|
+
TabsList: () => TabsList,
|
|
242
|
+
TabsTrigger: () => TabsTrigger,
|
|
243
|
+
TextAtom: () => TextAtom,
|
|
244
|
+
Textarea: () => Textarea,
|
|
245
|
+
Tooltip: () => Tooltip,
|
|
246
|
+
TooltipAtom: () => TooltipAtom,
|
|
247
|
+
TooltipContent: () => TooltipContent,
|
|
248
|
+
TooltipProvider: () => TooltipProvider,
|
|
249
|
+
TooltipTrigger: () => TooltipTrigger,
|
|
250
|
+
cn: () => cn
|
|
251
|
+
});
|
|
252
|
+
module.exports = __toCommonJS(index_exports);
|
|
253
|
+
|
|
1
254
|
// src/components/ui/button.tsx
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
255
|
+
var React = __toESM(require("react"), 1);
|
|
256
|
+
var import_react_slot = require("@radix-ui/react-slot");
|
|
257
|
+
var import_class_variance_authority = require("class-variance-authority");
|
|
5
258
|
|
|
6
259
|
// src/lib/utils.ts
|
|
7
|
-
|
|
8
|
-
|
|
260
|
+
var import_clsx = require("clsx");
|
|
261
|
+
var import_tailwind_merge = require("tailwind-merge");
|
|
9
262
|
function cn(...inputs) {
|
|
10
|
-
return twMerge(clsx(inputs));
|
|
263
|
+
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
11
264
|
}
|
|
12
265
|
|
|
13
266
|
// src/components/ui/button.tsx
|
|
14
|
-
|
|
15
|
-
var buttonVariants = cva(
|
|
267
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
268
|
+
var buttonVariants = (0, import_class_variance_authority.cva)(
|
|
16
269
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
17
270
|
{
|
|
18
271
|
variants: {
|
|
@@ -39,8 +292,8 @@ var buttonVariants = cva(
|
|
|
39
292
|
);
|
|
40
293
|
var Button = React.forwardRef(
|
|
41
294
|
({ className, variant, size, asChild = false, ...props }, ref) => {
|
|
42
|
-
const Comp = asChild ? Slot : "button";
|
|
43
|
-
return /* @__PURE__ */ jsx(
|
|
295
|
+
const Comp = asChild ? import_react_slot.Slot : "button";
|
|
296
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
44
297
|
Comp,
|
|
45
298
|
{
|
|
46
299
|
className: cn(buttonVariants({ variant, size, className })),
|
|
@@ -53,11 +306,11 @@ var Button = React.forwardRef(
|
|
|
53
306
|
Button.displayName = "Button";
|
|
54
307
|
|
|
55
308
|
// src/components/ui/input.tsx
|
|
56
|
-
|
|
57
|
-
|
|
309
|
+
var React2 = __toESM(require("react"), 1);
|
|
310
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
58
311
|
var Input = React2.forwardRef(
|
|
59
312
|
({ className, type, ...props }, ref) => {
|
|
60
|
-
return /* @__PURE__ */
|
|
313
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
61
314
|
"input",
|
|
62
315
|
{
|
|
63
316
|
type,
|
|
@@ -74,14 +327,14 @@ var Input = React2.forwardRef(
|
|
|
74
327
|
Input.displayName = "Input";
|
|
75
328
|
|
|
76
329
|
// src/components/ui/label.tsx
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
var labelVariants =
|
|
330
|
+
var React3 = __toESM(require("react"), 1);
|
|
331
|
+
var LabelPrimitive = __toESM(require("@radix-ui/react-label"), 1);
|
|
332
|
+
var import_class_variance_authority2 = require("class-variance-authority");
|
|
333
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
334
|
+
var labelVariants = (0, import_class_variance_authority2.cva)(
|
|
82
335
|
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
83
336
|
);
|
|
84
|
-
var Label = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
337
|
+
var Label = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
85
338
|
LabelPrimitive.Root,
|
|
86
339
|
{
|
|
87
340
|
ref,
|
|
@@ -92,11 +345,235 @@ var Label = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
92
345
|
Label.displayName = LabelPrimitive.Root.displayName;
|
|
93
346
|
|
|
94
347
|
// src/components/ui/checkbox.tsx
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
var
|
|
348
|
+
var React4 = __toESM(require("react"), 1);
|
|
349
|
+
var CheckboxPrimitive = __toESM(require("@radix-ui/react-checkbox"), 1);
|
|
350
|
+
|
|
351
|
+
// node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
352
|
+
var import_react2 = require("react");
|
|
353
|
+
|
|
354
|
+
// node_modules/lucide-react/dist/esm/shared/src/utils.js
|
|
355
|
+
var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
356
|
+
var mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
|
357
|
+
return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
|
|
358
|
+
}).join(" ").trim();
|
|
359
|
+
|
|
360
|
+
// node_modules/lucide-react/dist/esm/Icon.js
|
|
361
|
+
var import_react = require("react");
|
|
362
|
+
|
|
363
|
+
// node_modules/lucide-react/dist/esm/defaultAttributes.js
|
|
364
|
+
var defaultAttributes = {
|
|
365
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
366
|
+
width: 24,
|
|
367
|
+
height: 24,
|
|
368
|
+
viewBox: "0 0 24 24",
|
|
369
|
+
fill: "none",
|
|
370
|
+
stroke: "currentColor",
|
|
371
|
+
strokeWidth: 2,
|
|
372
|
+
strokeLinecap: "round",
|
|
373
|
+
strokeLinejoin: "round"
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
// node_modules/lucide-react/dist/esm/Icon.js
|
|
377
|
+
var Icon = (0, import_react.forwardRef)(
|
|
378
|
+
({
|
|
379
|
+
color = "currentColor",
|
|
380
|
+
size = 24,
|
|
381
|
+
strokeWidth = 2,
|
|
382
|
+
absoluteStrokeWidth,
|
|
383
|
+
className = "",
|
|
384
|
+
children,
|
|
385
|
+
iconNode,
|
|
386
|
+
...rest
|
|
387
|
+
}, ref) => {
|
|
388
|
+
return (0, import_react.createElement)(
|
|
389
|
+
"svg",
|
|
390
|
+
{
|
|
391
|
+
ref,
|
|
392
|
+
...defaultAttributes,
|
|
393
|
+
width: size,
|
|
394
|
+
height: size,
|
|
395
|
+
stroke: color,
|
|
396
|
+
strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
|
|
397
|
+
className: mergeClasses("lucide", className),
|
|
398
|
+
...rest
|
|
399
|
+
},
|
|
400
|
+
[
|
|
401
|
+
...iconNode.map(([tag, attrs]) => (0, import_react.createElement)(tag, attrs)),
|
|
402
|
+
...Array.isArray(children) ? children : [children]
|
|
403
|
+
]
|
|
404
|
+
);
|
|
405
|
+
}
|
|
406
|
+
);
|
|
407
|
+
|
|
408
|
+
// node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
409
|
+
var createLucideIcon = (iconName, iconNode) => {
|
|
410
|
+
const Component = (0, import_react2.forwardRef)(
|
|
411
|
+
({ className, ...props }, ref) => (0, import_react2.createElement)(Icon, {
|
|
412
|
+
ref,
|
|
413
|
+
iconNode,
|
|
414
|
+
className: mergeClasses(`lucide-${toKebabCase(iconName)}`, className),
|
|
415
|
+
...props
|
|
416
|
+
})
|
|
417
|
+
);
|
|
418
|
+
Component.displayName = `${iconName}`;
|
|
419
|
+
return Component;
|
|
420
|
+
};
|
|
421
|
+
|
|
422
|
+
// node_modules/lucide-react/dist/esm/icons/arrow-left.js
|
|
423
|
+
var __iconNode = [
|
|
424
|
+
["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
|
|
425
|
+
["path", { d: "M19 12H5", key: "x3x0zl" }]
|
|
426
|
+
];
|
|
427
|
+
var ArrowLeft = createLucideIcon("ArrowLeft", __iconNode);
|
|
428
|
+
|
|
429
|
+
// node_modules/lucide-react/dist/esm/icons/arrow-right.js
|
|
430
|
+
var __iconNode2 = [
|
|
431
|
+
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
432
|
+
["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
|
|
433
|
+
];
|
|
434
|
+
var ArrowRight = createLucideIcon("ArrowRight", __iconNode2);
|
|
435
|
+
|
|
436
|
+
// node_modules/lucide-react/dist/esm/icons/check.js
|
|
437
|
+
var __iconNode3 = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
438
|
+
var Check = createLucideIcon("Check", __iconNode3);
|
|
439
|
+
|
|
440
|
+
// node_modules/lucide-react/dist/esm/icons/chevron-down.js
|
|
441
|
+
var __iconNode4 = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
442
|
+
var ChevronDown = createLucideIcon("ChevronDown", __iconNode4);
|
|
443
|
+
|
|
444
|
+
// node_modules/lucide-react/dist/esm/icons/chevron-left.js
|
|
445
|
+
var __iconNode5 = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]];
|
|
446
|
+
var ChevronLeft = createLucideIcon("ChevronLeft", __iconNode5);
|
|
447
|
+
|
|
448
|
+
// node_modules/lucide-react/dist/esm/icons/chevron-right.js
|
|
449
|
+
var __iconNode6 = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
450
|
+
var ChevronRight = createLucideIcon("ChevronRight", __iconNode6);
|
|
451
|
+
|
|
452
|
+
// node_modules/lucide-react/dist/esm/icons/chevron-up.js
|
|
453
|
+
var __iconNode7 = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
|
|
454
|
+
var ChevronUp = createLucideIcon("ChevronUp", __iconNode7);
|
|
455
|
+
|
|
456
|
+
// node_modules/lucide-react/dist/esm/icons/circle-alert.js
|
|
457
|
+
var __iconNode8 = [
|
|
458
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
459
|
+
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
460
|
+
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
461
|
+
];
|
|
462
|
+
var CircleAlert = createLucideIcon("CircleAlert", __iconNode8);
|
|
463
|
+
|
|
464
|
+
// node_modules/lucide-react/dist/esm/icons/circle-check.js
|
|
465
|
+
var __iconNode9 = [
|
|
466
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
467
|
+
["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
|
|
468
|
+
];
|
|
469
|
+
var CircleCheck = createLucideIcon("CircleCheck", __iconNode9);
|
|
470
|
+
|
|
471
|
+
// node_modules/lucide-react/dist/esm/icons/circle.js
|
|
472
|
+
var __iconNode10 = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]];
|
|
473
|
+
var Circle = createLucideIcon("Circle", __iconNode10);
|
|
474
|
+
|
|
475
|
+
// node_modules/lucide-react/dist/esm/icons/copy.js
|
|
476
|
+
var __iconNode11 = [
|
|
477
|
+
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
478
|
+
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
|
479
|
+
];
|
|
480
|
+
var Copy = createLucideIcon("Copy", __iconNode11);
|
|
481
|
+
|
|
482
|
+
// node_modules/lucide-react/dist/esm/icons/dot.js
|
|
483
|
+
var __iconNode12 = [["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]];
|
|
484
|
+
var Dot = createLucideIcon("Dot", __iconNode12);
|
|
485
|
+
|
|
486
|
+
// node_modules/lucide-react/dist/esm/icons/ellipsis.js
|
|
487
|
+
var __iconNode13 = [
|
|
488
|
+
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
|
489
|
+
["circle", { cx: "19", cy: "12", r: "1", key: "1wjl8i" }],
|
|
490
|
+
["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
|
|
491
|
+
];
|
|
492
|
+
var Ellipsis = createLucideIcon("Ellipsis", __iconNode13);
|
|
493
|
+
|
|
494
|
+
// node_modules/lucide-react/dist/esm/icons/info.js
|
|
495
|
+
var __iconNode14 = [
|
|
496
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
497
|
+
["path", { d: "M12 16v-4", key: "1dtifu" }],
|
|
498
|
+
["path", { d: "M12 8h.01", key: "e9boi3" }]
|
|
499
|
+
];
|
|
500
|
+
var Info = createLucideIcon("Info", __iconNode14);
|
|
501
|
+
|
|
502
|
+
// node_modules/lucide-react/dist/esm/icons/loader-circle.js
|
|
503
|
+
var __iconNode15 = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
|
|
504
|
+
var LoaderCircle = createLucideIcon("LoaderCircle", __iconNode15);
|
|
505
|
+
|
|
506
|
+
// node_modules/lucide-react/dist/esm/icons/pause.js
|
|
507
|
+
var __iconNode16 = [
|
|
508
|
+
["rect", { x: "14", y: "4", width: "4", height: "16", rx: "1", key: "zuxfzm" }],
|
|
509
|
+
["rect", { x: "6", y: "4", width: "4", height: "16", rx: "1", key: "1okwgv" }]
|
|
510
|
+
];
|
|
511
|
+
var Pause = createLucideIcon("Pause", __iconNode16);
|
|
512
|
+
|
|
513
|
+
// node_modules/lucide-react/dist/esm/icons/pencil.js
|
|
514
|
+
var __iconNode17 = [
|
|
515
|
+
[
|
|
516
|
+
"path",
|
|
517
|
+
{
|
|
518
|
+
d: "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",
|
|
519
|
+
key: "1a8usu"
|
|
520
|
+
}
|
|
521
|
+
],
|
|
522
|
+
["path", { d: "m15 5 4 4", key: "1mk7zo" }]
|
|
523
|
+
];
|
|
524
|
+
var Pencil = createLucideIcon("Pencil", __iconNode17);
|
|
525
|
+
|
|
526
|
+
// node_modules/lucide-react/dist/esm/icons/play.js
|
|
527
|
+
var __iconNode18 = [["polygon", { points: "6 3 20 12 6 21 6 3", key: "1oa8hb" }]];
|
|
528
|
+
var Play = createLucideIcon("Play", __iconNode18);
|
|
529
|
+
|
|
530
|
+
// node_modules/lucide-react/dist/esm/icons/search.js
|
|
531
|
+
var __iconNode19 = [
|
|
532
|
+
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
533
|
+
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
|
534
|
+
];
|
|
535
|
+
var Search = createLucideIcon("Search", __iconNode19);
|
|
536
|
+
|
|
537
|
+
// node_modules/lucide-react/dist/esm/icons/sparkles.js
|
|
538
|
+
var __iconNode20 = [
|
|
539
|
+
[
|
|
540
|
+
"path",
|
|
541
|
+
{
|
|
542
|
+
d: "M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",
|
|
543
|
+
key: "4pj2yx"
|
|
544
|
+
}
|
|
545
|
+
],
|
|
546
|
+
["path", { d: "M20 3v4", key: "1olli1" }],
|
|
547
|
+
["path", { d: "M22 5h-4", key: "1gvqau" }],
|
|
548
|
+
["path", { d: "M4 17v2", key: "vumght" }],
|
|
549
|
+
["path", { d: "M5 18H3", key: "zchphs" }]
|
|
550
|
+
];
|
|
551
|
+
var Sparkles = createLucideIcon("Sparkles", __iconNode20);
|
|
552
|
+
|
|
553
|
+
// node_modules/lucide-react/dist/esm/icons/triangle-alert.js
|
|
554
|
+
var __iconNode21 = [
|
|
555
|
+
[
|
|
556
|
+
"path",
|
|
557
|
+
{
|
|
558
|
+
d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
|
|
559
|
+
key: "wmoenq"
|
|
560
|
+
}
|
|
561
|
+
],
|
|
562
|
+
["path", { d: "M12 9v4", key: "juzpu7" }],
|
|
563
|
+
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
564
|
+
];
|
|
565
|
+
var TriangleAlert = createLucideIcon("TriangleAlert", __iconNode21);
|
|
566
|
+
|
|
567
|
+
// node_modules/lucide-react/dist/esm/icons/x.js
|
|
568
|
+
var __iconNode22 = [
|
|
569
|
+
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
570
|
+
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
571
|
+
];
|
|
572
|
+
var X = createLucideIcon("X", __iconNode22);
|
|
573
|
+
|
|
574
|
+
// src/components/ui/checkbox.tsx
|
|
575
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
576
|
+
var Checkbox = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
100
577
|
CheckboxPrimitive.Root,
|
|
101
578
|
{
|
|
102
579
|
ref,
|
|
@@ -105,11 +582,11 @@ var Checkbox = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
105
582
|
className
|
|
106
583
|
),
|
|
107
584
|
...props,
|
|
108
|
-
children: /* @__PURE__ */
|
|
585
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
109
586
|
CheckboxPrimitive.Indicator,
|
|
110
587
|
{
|
|
111
588
|
className: cn("grid place-content-center text-current"),
|
|
112
|
-
children: /* @__PURE__ */
|
|
589
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Check, { className: "h-4 w-4" })
|
|
113
590
|
}
|
|
114
591
|
)
|
|
115
592
|
}
|
|
@@ -117,12 +594,11 @@ var Checkbox = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
117
594
|
Checkbox.displayName = CheckboxPrimitive.Root.displayName;
|
|
118
595
|
|
|
119
596
|
// src/components/ui/radio-group.tsx
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
597
|
+
var React5 = __toESM(require("react"), 1);
|
|
598
|
+
var RadioGroupPrimitive = __toESM(require("@radix-ui/react-radio-group"), 1);
|
|
599
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
124
600
|
var RadioGroup = React5.forwardRef(({ className, ...props }, ref) => {
|
|
125
|
-
return /* @__PURE__ */
|
|
601
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
126
602
|
RadioGroupPrimitive.Root,
|
|
127
603
|
{
|
|
128
604
|
className: cn("grid gap-2", className),
|
|
@@ -133,7 +609,7 @@ var RadioGroup = React5.forwardRef(({ className, ...props }, ref) => {
|
|
|
133
609
|
});
|
|
134
610
|
RadioGroup.displayName = RadioGroupPrimitive.Root.displayName;
|
|
135
611
|
var RadioGroupItem = React5.forwardRef(({ className, ...props }, ref) => {
|
|
136
|
-
return /* @__PURE__ */
|
|
612
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
137
613
|
RadioGroupPrimitive.Item,
|
|
138
614
|
{
|
|
139
615
|
ref,
|
|
@@ -142,17 +618,17 @@ var RadioGroupItem = React5.forwardRef(({ className, ...props }, ref) => {
|
|
|
142
618
|
className
|
|
143
619
|
),
|
|
144
620
|
...props,
|
|
145
|
-
children: /* @__PURE__ */
|
|
621
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Circle, { className: "h-2.5 w-2.5 fill-current text-current" }) })
|
|
146
622
|
}
|
|
147
623
|
);
|
|
148
624
|
});
|
|
149
625
|
RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
|
|
150
626
|
|
|
151
627
|
// src/components/ui/switch.tsx
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
var Switch = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
628
|
+
var React6 = __toESM(require("react"), 1);
|
|
629
|
+
var SwitchPrimitives = __toESM(require("@radix-ui/react-switch"), 1);
|
|
630
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
631
|
+
var Switch = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
156
632
|
SwitchPrimitives.Root,
|
|
157
633
|
{
|
|
158
634
|
className: cn(
|
|
@@ -161,7 +637,7 @@ var Switch = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
161
637
|
),
|
|
162
638
|
...props,
|
|
163
639
|
ref,
|
|
164
|
-
children: /* @__PURE__ */
|
|
640
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
165
641
|
SwitchPrimitives.Thumb,
|
|
166
642
|
{
|
|
167
643
|
className: cn(
|
|
@@ -174,10 +650,10 @@ var Switch = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
174
650
|
Switch.displayName = SwitchPrimitives.Root.displayName;
|
|
175
651
|
|
|
176
652
|
// src/components/ui/slider.tsx
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
var Slider = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
653
|
+
var React7 = __toESM(require("react"), 1);
|
|
654
|
+
var SliderPrimitive = __toESM(require("@radix-ui/react-slider"), 1);
|
|
655
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
656
|
+
var Slider = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
|
|
181
657
|
SliderPrimitive.Root,
|
|
182
658
|
{
|
|
183
659
|
ref,
|
|
@@ -187,18 +663,18 @@ var Slider = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
187
663
|
),
|
|
188
664
|
...props,
|
|
189
665
|
children: [
|
|
190
|
-
/* @__PURE__ */
|
|
191
|
-
/* @__PURE__ */
|
|
666
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SliderPrimitive.Track, { className: "relative h-2 w-full grow overflow-hidden rounded-full bg-secondary", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SliderPrimitive.Range, { className: "absolute h-full bg-primary" }) }),
|
|
667
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SliderPrimitive.Thumb, { className: "block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50" })
|
|
192
668
|
]
|
|
193
669
|
}
|
|
194
670
|
));
|
|
195
671
|
Slider.displayName = SliderPrimitive.Root.displayName;
|
|
196
672
|
|
|
197
673
|
// src/components/ui/textarea.tsx
|
|
198
|
-
|
|
199
|
-
|
|
674
|
+
var React8 = __toESM(require("react"), 1);
|
|
675
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
200
676
|
var Textarea = React8.forwardRef(({ className, ...props }, ref) => {
|
|
201
|
-
return /* @__PURE__ */
|
|
677
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
202
678
|
"textarea",
|
|
203
679
|
{
|
|
204
680
|
className: cn(
|
|
@@ -213,14 +689,13 @@ var Textarea = React8.forwardRef(({ className, ...props }, ref) => {
|
|
|
213
689
|
Textarea.displayName = "Textarea";
|
|
214
690
|
|
|
215
691
|
// src/components/ui/select.tsx
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
import { jsx as jsx9, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
692
|
+
var React9 = __toESM(require("react"), 1);
|
|
693
|
+
var SelectPrimitive = __toESM(require("@radix-ui/react-select"), 1);
|
|
694
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
220
695
|
var Select = SelectPrimitive.Root;
|
|
221
696
|
var SelectGroup = SelectPrimitive.Group;
|
|
222
697
|
var SelectValue = SelectPrimitive.Value;
|
|
223
|
-
var SelectTrigger = React9.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */
|
|
698
|
+
var SelectTrigger = React9.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
|
224
699
|
SelectPrimitive.Trigger,
|
|
225
700
|
{
|
|
226
701
|
ref,
|
|
@@ -231,12 +706,12 @@ var SelectTrigger = React9.forwardRef(({ className, children, ...props }, ref) =
|
|
|
231
706
|
...props,
|
|
232
707
|
children: [
|
|
233
708
|
children,
|
|
234
|
-
/* @__PURE__ */
|
|
709
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ChevronDown, { className: "h-4 w-4 opacity-50" }) })
|
|
235
710
|
]
|
|
236
711
|
}
|
|
237
712
|
));
|
|
238
713
|
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
239
|
-
var SelectScrollUpButton = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
714
|
+
var SelectScrollUpButton = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
240
715
|
SelectPrimitive.ScrollUpButton,
|
|
241
716
|
{
|
|
242
717
|
ref,
|
|
@@ -245,11 +720,11 @@ var SelectScrollUpButton = React9.forwardRef(({ className, ...props }, ref) => /
|
|
|
245
720
|
className
|
|
246
721
|
),
|
|
247
722
|
...props,
|
|
248
|
-
children: /* @__PURE__ */
|
|
723
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ChevronUp, { className: "h-4 w-4" })
|
|
249
724
|
}
|
|
250
725
|
));
|
|
251
726
|
SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
|
|
252
|
-
var SelectScrollDownButton = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
727
|
+
var SelectScrollDownButton = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
253
728
|
SelectPrimitive.ScrollDownButton,
|
|
254
729
|
{
|
|
255
730
|
ref,
|
|
@@ -258,11 +733,11 @@ var SelectScrollDownButton = React9.forwardRef(({ className, ...props }, ref) =>
|
|
|
258
733
|
className
|
|
259
734
|
),
|
|
260
735
|
...props,
|
|
261
|
-
children: /* @__PURE__ */
|
|
736
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ChevronDown, { className: "h-4 w-4" })
|
|
262
737
|
}
|
|
263
738
|
));
|
|
264
739
|
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
265
|
-
var SelectContent = React9.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */
|
|
740
|
+
var SelectContent = React9.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
|
266
741
|
SelectPrimitive.Content,
|
|
267
742
|
{
|
|
268
743
|
ref,
|
|
@@ -274,8 +749,8 @@ var SelectContent = React9.forwardRef(({ className, children, position = "popper
|
|
|
274
749
|
position,
|
|
275
750
|
...props,
|
|
276
751
|
children: [
|
|
277
|
-
/* @__PURE__ */
|
|
278
|
-
/* @__PURE__ */
|
|
752
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SelectScrollUpButton, {}),
|
|
753
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
279
754
|
SelectPrimitive.Viewport,
|
|
280
755
|
{
|
|
281
756
|
className: cn(
|
|
@@ -285,12 +760,12 @@ var SelectContent = React9.forwardRef(({ className, children, position = "popper
|
|
|
285
760
|
children
|
|
286
761
|
}
|
|
287
762
|
),
|
|
288
|
-
/* @__PURE__ */
|
|
763
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SelectScrollDownButton, {})
|
|
289
764
|
]
|
|
290
765
|
}
|
|
291
766
|
) }));
|
|
292
767
|
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
293
|
-
var SelectLabel = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
768
|
+
var SelectLabel = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
294
769
|
SelectPrimitive.Label,
|
|
295
770
|
{
|
|
296
771
|
ref,
|
|
@@ -299,7 +774,7 @@ var SelectLabel = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
299
774
|
}
|
|
300
775
|
));
|
|
301
776
|
SelectLabel.displayName = SelectPrimitive.Label.displayName;
|
|
302
|
-
var SelectItem = React9.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */
|
|
777
|
+
var SelectItem = React9.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
|
303
778
|
SelectPrimitive.Item,
|
|
304
779
|
{
|
|
305
780
|
ref,
|
|
@@ -309,13 +784,13 @@ var SelectItem = React9.forwardRef(({ className, children, ...props }, ref) => /
|
|
|
309
784
|
),
|
|
310
785
|
...props,
|
|
311
786
|
children: [
|
|
312
|
-
/* @__PURE__ */
|
|
313
|
-
/* @__PURE__ */
|
|
787
|
+
/* @__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)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Check, { className: "h-4 w-4" }) }) }),
|
|
788
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SelectPrimitive.ItemText, { children })
|
|
314
789
|
]
|
|
315
790
|
}
|
|
316
791
|
));
|
|
317
792
|
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
318
|
-
var SelectSeparator = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
793
|
+
var SelectSeparator = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
319
794
|
SelectPrimitive.Separator,
|
|
320
795
|
{
|
|
321
796
|
ref,
|
|
@@ -326,12 +801,11 @@ var SelectSeparator = React9.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
326
801
|
SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
327
802
|
|
|
328
803
|
// src/components/ui/input-otp.tsx
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
OTPInput,
|
|
804
|
+
var React10 = __toESM(require("react"), 1);
|
|
805
|
+
var import_input_otp = require("input-otp");
|
|
806
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
807
|
+
var InputOTP = React10.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
808
|
+
import_input_otp.OTPInput,
|
|
335
809
|
{
|
|
336
810
|
ref,
|
|
337
811
|
containerClassName: cn(
|
|
@@ -343,12 +817,12 @@ var InputOTP = React10.forwardRef(({ className, containerClassName, ...props },
|
|
|
343
817
|
}
|
|
344
818
|
));
|
|
345
819
|
InputOTP.displayName = "InputOTP";
|
|
346
|
-
var InputOTPGroup = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
820
|
+
var InputOTPGroup = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { ref, className: cn("flex items-center", className), ...props }));
|
|
347
821
|
InputOTPGroup.displayName = "InputOTPGroup";
|
|
348
822
|
var InputOTPSlot = React10.forwardRef(({ index, className, ...props }, ref) => {
|
|
349
|
-
const inputOTPContext = React10.useContext(OTPInputContext);
|
|
823
|
+
const inputOTPContext = React10.useContext(import_input_otp.OTPInputContext);
|
|
350
824
|
const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
|
|
351
|
-
return /* @__PURE__ */
|
|
825
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
352
826
|
"div",
|
|
353
827
|
{
|
|
354
828
|
ref,
|
|
@@ -360,35 +834,31 @@ var InputOTPSlot = React10.forwardRef(({ index, className, ...props }, ref) => {
|
|
|
360
834
|
...props,
|
|
361
835
|
children: [
|
|
362
836
|
char,
|
|
363
|
-
hasFakeCaret && /* @__PURE__ */
|
|
837
|
+
hasFakeCaret && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" }) })
|
|
364
838
|
]
|
|
365
839
|
}
|
|
366
840
|
);
|
|
367
841
|
});
|
|
368
842
|
InputOTPSlot.displayName = "InputOTPSlot";
|
|
369
|
-
var InputOTPSeparator = React10.forwardRef(({ ...props }, ref) => /* @__PURE__ */
|
|
843
|
+
var InputOTPSeparator = React10.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Dot, {}) }));
|
|
370
844
|
InputOTPSeparator.displayName = "InputOTPSeparator";
|
|
371
845
|
|
|
372
846
|
// src/components/ui/form.tsx
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
useFormContext
|
|
379
|
-
} from "react-hook-form";
|
|
380
|
-
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
381
|
-
var Form = FormProvider;
|
|
847
|
+
var React11 = __toESM(require("react"), 1);
|
|
848
|
+
var import_react_slot2 = require("@radix-ui/react-slot");
|
|
849
|
+
var import_react_hook_form = require("react-hook-form");
|
|
850
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
851
|
+
var Form = import_react_hook_form.FormProvider;
|
|
382
852
|
var FormFieldContext = React11.createContext(null);
|
|
383
853
|
var FormField = ({
|
|
384
854
|
...props
|
|
385
855
|
}) => {
|
|
386
|
-
return /* @__PURE__ */
|
|
856
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react_hook_form.Controller, { ...props }) });
|
|
387
857
|
};
|
|
388
858
|
var useFormField = () => {
|
|
389
859
|
const fieldContext = React11.useContext(FormFieldContext);
|
|
390
860
|
const itemContext = React11.useContext(FormItemContext);
|
|
391
|
-
const { getFieldState, formState } = useFormContext();
|
|
861
|
+
const { getFieldState, formState } = (0, import_react_hook_form.useFormContext)();
|
|
392
862
|
if (!fieldContext) {
|
|
393
863
|
throw new Error("useFormField should be used within <FormField>");
|
|
394
864
|
}
|
|
@@ -409,12 +879,12 @@ var useFormField = () => {
|
|
|
409
879
|
var FormItemContext = React11.createContext(null);
|
|
410
880
|
var FormItem = React11.forwardRef(({ className, ...props }, ref) => {
|
|
411
881
|
const id = React11.useId();
|
|
412
|
-
return /* @__PURE__ */
|
|
882
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { ref, className: cn("space-y-2", className), ...props }) });
|
|
413
883
|
});
|
|
414
884
|
FormItem.displayName = "FormItem";
|
|
415
885
|
var FormLabel = React11.forwardRef(({ className, ...props }, ref) => {
|
|
416
886
|
const { error, formItemId } = useFormField();
|
|
417
|
-
return /* @__PURE__ */
|
|
887
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
418
888
|
Label,
|
|
419
889
|
{
|
|
420
890
|
ref,
|
|
@@ -427,8 +897,8 @@ var FormLabel = React11.forwardRef(({ className, ...props }, ref) => {
|
|
|
427
897
|
FormLabel.displayName = "FormLabel";
|
|
428
898
|
var FormControl = React11.forwardRef(({ ...props }, ref) => {
|
|
429
899
|
const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
|
|
430
|
-
return /* @__PURE__ */
|
|
431
|
-
|
|
900
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
901
|
+
import_react_slot2.Slot,
|
|
432
902
|
{
|
|
433
903
|
ref,
|
|
434
904
|
id: formItemId,
|
|
@@ -441,7 +911,7 @@ var FormControl = React11.forwardRef(({ ...props }, ref) => {
|
|
|
441
911
|
FormControl.displayName = "FormControl";
|
|
442
912
|
var FormDescription = React11.forwardRef(({ className, ...props }, ref) => {
|
|
443
913
|
const { formDescriptionId } = useFormField();
|
|
444
|
-
return /* @__PURE__ */
|
|
914
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
445
915
|
"p",
|
|
446
916
|
{
|
|
447
917
|
ref,
|
|
@@ -458,7 +928,7 @@ var FormMessage = React11.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
458
928
|
if (!body) {
|
|
459
929
|
return null;
|
|
460
930
|
}
|
|
461
|
-
return /* @__PURE__ */
|
|
931
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
462
932
|
"p",
|
|
463
933
|
{
|
|
464
934
|
ref,
|
|
@@ -472,9 +942,9 @@ var FormMessage = React11.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
472
942
|
FormMessage.displayName = "FormMessage";
|
|
473
943
|
|
|
474
944
|
// src/components/ui/card.tsx
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
var Card = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
945
|
+
var React12 = __toESM(require("react"), 1);
|
|
946
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
947
|
+
var Card = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
478
948
|
"div",
|
|
479
949
|
{
|
|
480
950
|
ref,
|
|
@@ -486,7 +956,7 @@ var Card = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
486
956
|
}
|
|
487
957
|
));
|
|
488
958
|
Card.displayName = "Card";
|
|
489
|
-
var CardHeader = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
959
|
+
var CardHeader = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
490
960
|
"div",
|
|
491
961
|
{
|
|
492
962
|
ref,
|
|
@@ -495,7 +965,7 @@ var CardHeader = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
495
965
|
}
|
|
496
966
|
));
|
|
497
967
|
CardHeader.displayName = "CardHeader";
|
|
498
|
-
var CardTitle = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
968
|
+
var CardTitle = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
499
969
|
"div",
|
|
500
970
|
{
|
|
501
971
|
ref,
|
|
@@ -507,7 +977,7 @@ var CardTitle = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
507
977
|
}
|
|
508
978
|
));
|
|
509
979
|
CardTitle.displayName = "CardTitle";
|
|
510
|
-
var CardDescription = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
980
|
+
var CardDescription = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
511
981
|
"div",
|
|
512
982
|
{
|
|
513
983
|
ref,
|
|
@@ -516,9 +986,9 @@ var CardDescription = React12.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
516
986
|
}
|
|
517
987
|
));
|
|
518
988
|
CardDescription.displayName = "CardDescription";
|
|
519
|
-
var CardContent = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
989
|
+
var CardContent = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { ref, className: cn("p-6 pt-0", className), ...props }));
|
|
520
990
|
CardContent.displayName = "CardContent";
|
|
521
|
-
var CardFooter = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
991
|
+
var CardFooter = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
522
992
|
"div",
|
|
523
993
|
{
|
|
524
994
|
ref,
|
|
@@ -529,11 +999,11 @@ var CardFooter = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
529
999
|
CardFooter.displayName = "CardFooter";
|
|
530
1000
|
|
|
531
1001
|
// src/components/ui/separator.tsx
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
1002
|
+
var React13 = __toESM(require("react"), 1);
|
|
1003
|
+
var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"), 1);
|
|
1004
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
535
1005
|
var Separator2 = React13.forwardRef(
|
|
536
|
-
({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */
|
|
1006
|
+
({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
537
1007
|
SeparatorPrimitive.Root,
|
|
538
1008
|
{
|
|
539
1009
|
ref,
|
|
@@ -551,24 +1021,24 @@ var Separator2 = React13.forwardRef(
|
|
|
551
1021
|
Separator2.displayName = SeparatorPrimitive.Root.displayName;
|
|
552
1022
|
|
|
553
1023
|
// src/components/ui/scroll-area.tsx
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
var ScrollArea = React14.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */
|
|
1024
|
+
var React14 = __toESM(require("react"), 1);
|
|
1025
|
+
var ScrollAreaPrimitive = __toESM(require("@radix-ui/react-scroll-area"), 1);
|
|
1026
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
1027
|
+
var ScrollArea = React14.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
|
558
1028
|
ScrollAreaPrimitive.Root,
|
|
559
1029
|
{
|
|
560
1030
|
ref,
|
|
561
1031
|
className: cn("relative overflow-hidden", className),
|
|
562
1032
|
...props,
|
|
563
1033
|
children: [
|
|
564
|
-
/* @__PURE__ */
|
|
565
|
-
/* @__PURE__ */
|
|
566
|
-
/* @__PURE__ */
|
|
1034
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(ScrollAreaPrimitive.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
|
|
1035
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(ScrollBar, {}),
|
|
1036
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(ScrollAreaPrimitive.Corner, {})
|
|
567
1037
|
]
|
|
568
1038
|
}
|
|
569
1039
|
));
|
|
570
1040
|
ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
|
|
571
|
-
var ScrollBar = React14.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */
|
|
1041
|
+
var ScrollBar = React14.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
572
1042
|
ScrollAreaPrimitive.ScrollAreaScrollbar,
|
|
573
1043
|
{
|
|
574
1044
|
ref,
|
|
@@ -580,23 +1050,22 @@ var ScrollBar = React14.forwardRef(({ className, orientation = "vertical", ...pr
|
|
|
580
1050
|
className
|
|
581
1051
|
),
|
|
582
1052
|
...props,
|
|
583
|
-
children: /* @__PURE__ */
|
|
1053
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
|
|
584
1054
|
}
|
|
585
1055
|
));
|
|
586
1056
|
ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
|
587
1057
|
|
|
588
1058
|
// src/components/ui/aspect-ratio.tsx
|
|
589
|
-
|
|
1059
|
+
var AspectRatioPrimitive = __toESM(require("@radix-ui/react-aspect-ratio"), 1);
|
|
590
1060
|
var AspectRatio = AspectRatioPrimitive.Root;
|
|
591
1061
|
|
|
592
1062
|
// src/components/ui/resizable.tsx
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
1063
|
+
var ResizablePrimitive = __toESM(require("react-resizable-panels"), 1);
|
|
1064
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
596
1065
|
var ResizablePanelGroup = ({
|
|
597
1066
|
className,
|
|
598
1067
|
...props
|
|
599
|
-
}) => /* @__PURE__ */
|
|
1068
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
600
1069
|
ResizablePrimitive.Group,
|
|
601
1070
|
{
|
|
602
1071
|
className: cn(
|
|
@@ -609,11 +1078,11 @@ var ResizablePanelGroup = ({
|
|
|
609
1078
|
var ResizablePanel = ResizablePrimitive.Panel;
|
|
610
1079
|
|
|
611
1080
|
// src/components/ui/tabs.tsx
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
1081
|
+
var React15 = __toESM(require("react"), 1);
|
|
1082
|
+
var TabsPrimitive = __toESM(require("@radix-ui/react-tabs"), 1);
|
|
1083
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
615
1084
|
var Tabs = TabsPrimitive.Root;
|
|
616
|
-
var TabsList = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1085
|
+
var TabsList = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
617
1086
|
TabsPrimitive.List,
|
|
618
1087
|
{
|
|
619
1088
|
ref,
|
|
@@ -625,7 +1094,7 @@ var TabsList = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
625
1094
|
}
|
|
626
1095
|
));
|
|
627
1096
|
TabsList.displayName = TabsPrimitive.List.displayName;
|
|
628
|
-
var TabsTrigger = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1097
|
+
var TabsTrigger = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
629
1098
|
TabsPrimitive.Trigger,
|
|
630
1099
|
{
|
|
631
1100
|
ref,
|
|
@@ -637,7 +1106,7 @@ var TabsTrigger = React15.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
637
1106
|
}
|
|
638
1107
|
));
|
|
639
1108
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
640
|
-
var TabsContent = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1109
|
+
var TabsContent = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
641
1110
|
TabsPrimitive.Content,
|
|
642
1111
|
{
|
|
643
1112
|
ref,
|
|
@@ -651,12 +1120,11 @@ var TabsContent = React15.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
651
1120
|
TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
652
1121
|
|
|
653
1122
|
// src/components/ui/accordion.tsx
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
import { jsx as jsx17, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
1123
|
+
var React16 = __toESM(require("react"), 1);
|
|
1124
|
+
var AccordionPrimitive = __toESM(require("@radix-ui/react-accordion"), 1);
|
|
1125
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
658
1126
|
var Accordion = AccordionPrimitive.Root;
|
|
659
|
-
var AccordionItem = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1127
|
+
var AccordionItem = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
660
1128
|
AccordionPrimitive.Item,
|
|
661
1129
|
{
|
|
662
1130
|
ref,
|
|
@@ -665,7 +1133,7 @@ var AccordionItem = React16.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
665
1133
|
}
|
|
666
1134
|
));
|
|
667
1135
|
AccordionItem.displayName = "AccordionItem";
|
|
668
|
-
var AccordionTrigger = React16.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */
|
|
1136
|
+
var AccordionTrigger = React16.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(AccordionPrimitive.Header, { className: "flex", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
669
1137
|
AccordionPrimitive.Trigger,
|
|
670
1138
|
{
|
|
671
1139
|
ref,
|
|
@@ -676,38 +1144,37 @@ var AccordionTrigger = React16.forwardRef(({ className, children, ...props }, re
|
|
|
676
1144
|
...props,
|
|
677
1145
|
children: [
|
|
678
1146
|
children,
|
|
679
|
-
/* @__PURE__ */
|
|
1147
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ChevronDown, { className: "h-4 w-4 shrink-0 transition-transform duration-200" })
|
|
680
1148
|
]
|
|
681
1149
|
}
|
|
682
1150
|
) }));
|
|
683
1151
|
AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
|
|
684
|
-
var AccordionContent = React16.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */
|
|
1152
|
+
var AccordionContent = React16.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
685
1153
|
AccordionPrimitive.Content,
|
|
686
1154
|
{
|
|
687
1155
|
ref,
|
|
688
1156
|
className: "overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
|
|
689
1157
|
...props,
|
|
690
|
-
children: /* @__PURE__ */
|
|
1158
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: cn("pb-4 pt-0", className), children })
|
|
691
1159
|
}
|
|
692
1160
|
));
|
|
693
1161
|
AccordionContent.displayName = AccordionPrimitive.Content.displayName;
|
|
694
1162
|
|
|
695
1163
|
// src/components/ui/collapsible.tsx
|
|
696
|
-
|
|
1164
|
+
var CollapsiblePrimitive = __toESM(require("@radix-ui/react-collapsible"), 1);
|
|
697
1165
|
var Collapsible = CollapsiblePrimitive.Root;
|
|
698
1166
|
var CollapsibleTrigger2 = CollapsiblePrimitive.CollapsibleTrigger;
|
|
699
1167
|
var CollapsibleContent2 = CollapsiblePrimitive.CollapsibleContent;
|
|
700
1168
|
|
|
701
1169
|
// src/components/ui/dialog.tsx
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
import { jsx as jsx18, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
1170
|
+
var React17 = __toESM(require("react"), 1);
|
|
1171
|
+
var DialogPrimitive = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
1172
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
706
1173
|
var Dialog = DialogPrimitive.Root;
|
|
707
1174
|
var DialogTrigger = DialogPrimitive.Trigger;
|
|
708
1175
|
var DialogPortal = DialogPrimitive.Portal;
|
|
709
1176
|
var DialogClose = DialogPrimitive.Close;
|
|
710
|
-
var DialogOverlay = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1177
|
+
var DialogOverlay = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
711
1178
|
DialogPrimitive.Overlay,
|
|
712
1179
|
{
|
|
713
1180
|
ref,
|
|
@@ -719,9 +1186,9 @@ var DialogOverlay = React17.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
719
1186
|
}
|
|
720
1187
|
));
|
|
721
1188
|
DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
|
|
722
|
-
var DialogContent = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */
|
|
723
|
-
/* @__PURE__ */
|
|
724
|
-
/* @__PURE__ */
|
|
1189
|
+
var DialogContent = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(DialogPortal, { children: [
|
|
1190
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(DialogOverlay, {}),
|
|
1191
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
725
1192
|
DialogPrimitive.Content,
|
|
726
1193
|
{
|
|
727
1194
|
ref,
|
|
@@ -732,9 +1199,9 @@ var DialogContent = React17.forwardRef(({ className, children, ...props }, ref)
|
|
|
732
1199
|
...props,
|
|
733
1200
|
children: [
|
|
734
1201
|
children,
|
|
735
|
-
/* @__PURE__ */
|
|
736
|
-
/* @__PURE__ */
|
|
737
|
-
/* @__PURE__ */
|
|
1202
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
|
|
1203
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(X, { className: "h-4 w-4" }),
|
|
1204
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "sr-only", children: "Close" })
|
|
738
1205
|
] })
|
|
739
1206
|
]
|
|
740
1207
|
}
|
|
@@ -744,7 +1211,7 @@ DialogContent.displayName = DialogPrimitive.Content.displayName;
|
|
|
744
1211
|
var DialogHeader = ({
|
|
745
1212
|
className,
|
|
746
1213
|
...props
|
|
747
|
-
}) => /* @__PURE__ */
|
|
1214
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
748
1215
|
"div",
|
|
749
1216
|
{
|
|
750
1217
|
className: cn(
|
|
@@ -758,7 +1225,7 @@ DialogHeader.displayName = "DialogHeader";
|
|
|
758
1225
|
var DialogFooter = ({
|
|
759
1226
|
className,
|
|
760
1227
|
...props
|
|
761
|
-
}) => /* @__PURE__ */
|
|
1228
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
762
1229
|
"div",
|
|
763
1230
|
{
|
|
764
1231
|
className: cn(
|
|
@@ -769,7 +1236,7 @@ var DialogFooter = ({
|
|
|
769
1236
|
}
|
|
770
1237
|
);
|
|
771
1238
|
DialogFooter.displayName = "DialogFooter";
|
|
772
|
-
var DialogTitle = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1239
|
+
var DialogTitle = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
773
1240
|
DialogPrimitive.Title,
|
|
774
1241
|
{
|
|
775
1242
|
ref,
|
|
@@ -781,7 +1248,7 @@ var DialogTitle = React17.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
781
1248
|
}
|
|
782
1249
|
));
|
|
783
1250
|
DialogTitle.displayName = DialogPrimitive.Title.displayName;
|
|
784
|
-
var DialogDescription = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1251
|
+
var DialogDescription = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
785
1252
|
DialogPrimitive.Description,
|
|
786
1253
|
{
|
|
787
1254
|
ref,
|
|
@@ -792,16 +1259,15 @@ var DialogDescription = React17.forwardRef(({ className, ...props }, ref) => /*
|
|
|
792
1259
|
DialogDescription.displayName = DialogPrimitive.Description.displayName;
|
|
793
1260
|
|
|
794
1261
|
// src/components/ui/sheet.tsx
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
import { jsx as jsx19, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
1262
|
+
var React18 = __toESM(require("react"), 1);
|
|
1263
|
+
var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
1264
|
+
var import_class_variance_authority3 = require("class-variance-authority");
|
|
1265
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
800
1266
|
var Sheet = SheetPrimitive.Root;
|
|
801
1267
|
var SheetTrigger = SheetPrimitive.Trigger;
|
|
802
1268
|
var SheetClose = SheetPrimitive.Close;
|
|
803
1269
|
var SheetPortal = SheetPrimitive.Portal;
|
|
804
|
-
var SheetOverlay = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1270
|
+
var SheetOverlay = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
805
1271
|
SheetPrimitive.Overlay,
|
|
806
1272
|
{
|
|
807
1273
|
className: cn(
|
|
@@ -813,7 +1279,7 @@ var SheetOverlay = React18.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
813
1279
|
}
|
|
814
1280
|
));
|
|
815
1281
|
SheetOverlay.displayName = SheetPrimitive.Overlay.displayName;
|
|
816
|
-
var sheetVariants =
|
|
1282
|
+
var sheetVariants = (0, import_class_variance_authority3.cva)(
|
|
817
1283
|
"fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
|
|
818
1284
|
{
|
|
819
1285
|
variants: {
|
|
@@ -829,9 +1295,9 @@ var sheetVariants = cva3(
|
|
|
829
1295
|
}
|
|
830
1296
|
}
|
|
831
1297
|
);
|
|
832
|
-
var SheetContent = React18.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */
|
|
833
|
-
/* @__PURE__ */
|
|
834
|
-
/* @__PURE__ */
|
|
1298
|
+
var SheetContent = React18.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(SheetPortal, { children: [
|
|
1299
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(SheetOverlay, {}),
|
|
1300
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
835
1301
|
SheetPrimitive.Content,
|
|
836
1302
|
{
|
|
837
1303
|
ref,
|
|
@@ -839,9 +1305,9 @@ var SheetContent = React18.forwardRef(({ side = "right", className, children, ..
|
|
|
839
1305
|
...props,
|
|
840
1306
|
children: [
|
|
841
1307
|
children,
|
|
842
|
-
/* @__PURE__ */
|
|
843
|
-
/* @__PURE__ */
|
|
844
|
-
/* @__PURE__ */
|
|
1308
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
|
|
1309
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(X, { className: "h-4 w-4" }),
|
|
1310
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "sr-only", children: "Close" })
|
|
845
1311
|
] })
|
|
846
1312
|
]
|
|
847
1313
|
}
|
|
@@ -851,7 +1317,7 @@ SheetContent.displayName = SheetPrimitive.Content.displayName;
|
|
|
851
1317
|
var SheetHeader = ({
|
|
852
1318
|
className,
|
|
853
1319
|
...props
|
|
854
|
-
}) => /* @__PURE__ */
|
|
1320
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
855
1321
|
"div",
|
|
856
1322
|
{
|
|
857
1323
|
className: cn(
|
|
@@ -865,7 +1331,7 @@ SheetHeader.displayName = "SheetHeader";
|
|
|
865
1331
|
var SheetFooter = ({
|
|
866
1332
|
className,
|
|
867
1333
|
...props
|
|
868
|
-
}) => /* @__PURE__ */
|
|
1334
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
869
1335
|
"div",
|
|
870
1336
|
{
|
|
871
1337
|
className: cn(
|
|
@@ -876,7 +1342,7 @@ var SheetFooter = ({
|
|
|
876
1342
|
}
|
|
877
1343
|
);
|
|
878
1344
|
SheetFooter.displayName = "SheetFooter";
|
|
879
|
-
var SheetTitle = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1345
|
+
var SheetTitle = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
880
1346
|
SheetPrimitive.Title,
|
|
881
1347
|
{
|
|
882
1348
|
ref,
|
|
@@ -885,7 +1351,7 @@ var SheetTitle = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
885
1351
|
}
|
|
886
1352
|
));
|
|
887
1353
|
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
|
888
|
-
var SheetDescription = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1354
|
+
var SheetDescription = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
889
1355
|
SheetPrimitive.Description,
|
|
890
1356
|
{
|
|
891
1357
|
ref,
|
|
@@ -896,36 +1362,36 @@ var SheetDescription = React18.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
896
1362
|
SheetDescription.displayName = SheetPrimitive.Description.displayName;
|
|
897
1363
|
|
|
898
1364
|
// src/components/ui/drawer.tsx
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
1365
|
+
var React19 = __toESM(require("react"), 1);
|
|
1366
|
+
var import_vaul = require("vaul");
|
|
1367
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
902
1368
|
var Drawer = ({
|
|
903
1369
|
shouldScaleBackground = true,
|
|
904
1370
|
...props
|
|
905
|
-
}) => /* @__PURE__ */
|
|
906
|
-
|
|
1371
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1372
|
+
import_vaul.Drawer.Root,
|
|
907
1373
|
{
|
|
908
1374
|
shouldScaleBackground,
|
|
909
1375
|
...props
|
|
910
1376
|
}
|
|
911
1377
|
);
|
|
912
1378
|
Drawer.displayName = "Drawer";
|
|
913
|
-
var DrawerTrigger =
|
|
914
|
-
var DrawerPortal =
|
|
915
|
-
var DrawerClose =
|
|
916
|
-
var DrawerOverlay = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
917
|
-
|
|
1379
|
+
var DrawerTrigger = import_vaul.Drawer.Trigger;
|
|
1380
|
+
var DrawerPortal = import_vaul.Drawer.Portal;
|
|
1381
|
+
var DrawerClose = import_vaul.Drawer.Close;
|
|
1382
|
+
var DrawerOverlay = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1383
|
+
import_vaul.Drawer.Overlay,
|
|
918
1384
|
{
|
|
919
1385
|
ref,
|
|
920
1386
|
className: cn("fixed inset-0 z-50 bg-black/80", className),
|
|
921
1387
|
...props
|
|
922
1388
|
}
|
|
923
1389
|
));
|
|
924
|
-
DrawerOverlay.displayName =
|
|
925
|
-
var DrawerContent = React19.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */
|
|
926
|
-
/* @__PURE__ */
|
|
927
|
-
/* @__PURE__ */
|
|
928
|
-
|
|
1390
|
+
DrawerOverlay.displayName = import_vaul.Drawer.Overlay.displayName;
|
|
1391
|
+
var DrawerContent = React19.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(DrawerPortal, { children: [
|
|
1392
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(DrawerOverlay, {}),
|
|
1393
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
1394
|
+
import_vaul.Drawer.Content,
|
|
929
1395
|
{
|
|
930
1396
|
ref,
|
|
931
1397
|
className: cn(
|
|
@@ -934,7 +1400,7 @@ var DrawerContent = React19.forwardRef(({ className, children, ...props }, ref)
|
|
|
934
1400
|
),
|
|
935
1401
|
...props,
|
|
936
1402
|
children: [
|
|
937
|
-
/* @__PURE__ */
|
|
1403
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
|
|
938
1404
|
children
|
|
939
1405
|
]
|
|
940
1406
|
}
|
|
@@ -944,7 +1410,7 @@ DrawerContent.displayName = "DrawerContent";
|
|
|
944
1410
|
var DrawerHeader = ({
|
|
945
1411
|
className,
|
|
946
1412
|
...props
|
|
947
|
-
}) => /* @__PURE__ */
|
|
1413
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
948
1414
|
"div",
|
|
949
1415
|
{
|
|
950
1416
|
className: cn("grid gap-1.5 p-4 text-center sm:text-left", className),
|
|
@@ -955,7 +1421,7 @@ DrawerHeader.displayName = "DrawerHeader";
|
|
|
955
1421
|
var DrawerFooter = ({
|
|
956
1422
|
className,
|
|
957
1423
|
...props
|
|
958
|
-
}) => /* @__PURE__ */
|
|
1424
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
959
1425
|
"div",
|
|
960
1426
|
{
|
|
961
1427
|
className: cn("mt-auto flex flex-col gap-2 p-4", className),
|
|
@@ -963,8 +1429,8 @@ var DrawerFooter = ({
|
|
|
963
1429
|
}
|
|
964
1430
|
);
|
|
965
1431
|
DrawerFooter.displayName = "DrawerFooter";
|
|
966
|
-
var DrawerTitle = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
967
|
-
|
|
1432
|
+
var DrawerTitle = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1433
|
+
import_vaul.Drawer.Title,
|
|
968
1434
|
{
|
|
969
1435
|
ref,
|
|
970
1436
|
className: cn(
|
|
@@ -974,25 +1440,25 @@ var DrawerTitle = React19.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
974
1440
|
...props
|
|
975
1441
|
}
|
|
976
1442
|
));
|
|
977
|
-
DrawerTitle.displayName =
|
|
978
|
-
var DrawerDescription = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
979
|
-
|
|
1443
|
+
DrawerTitle.displayName = import_vaul.Drawer.Title.displayName;
|
|
1444
|
+
var DrawerDescription = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1445
|
+
import_vaul.Drawer.Description,
|
|
980
1446
|
{
|
|
981
1447
|
ref,
|
|
982
1448
|
className: cn("text-sm text-muted-foreground", className),
|
|
983
1449
|
...props
|
|
984
1450
|
}
|
|
985
1451
|
));
|
|
986
|
-
DrawerDescription.displayName =
|
|
1452
|
+
DrawerDescription.displayName = import_vaul.Drawer.Description.displayName;
|
|
987
1453
|
|
|
988
1454
|
// src/components/ui/alert-dialog.tsx
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
1455
|
+
var React20 = __toESM(require("react"), 1);
|
|
1456
|
+
var AlertDialogPrimitive = __toESM(require("@radix-ui/react-alert-dialog"), 1);
|
|
1457
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
992
1458
|
var AlertDialog = AlertDialogPrimitive.Root;
|
|
993
1459
|
var AlertDialogTrigger = AlertDialogPrimitive.Trigger;
|
|
994
1460
|
var AlertDialogPortal = AlertDialogPrimitive.Portal;
|
|
995
|
-
var AlertDialogOverlay = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1461
|
+
var AlertDialogOverlay = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
996
1462
|
AlertDialogPrimitive.Overlay,
|
|
997
1463
|
{
|
|
998
1464
|
className: cn(
|
|
@@ -1004,9 +1470,9 @@ var AlertDialogOverlay = React20.forwardRef(({ className, ...props }, ref) => /*
|
|
|
1004
1470
|
}
|
|
1005
1471
|
));
|
|
1006
1472
|
AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
|
|
1007
|
-
var AlertDialogContent = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1008
|
-
/* @__PURE__ */
|
|
1009
|
-
/* @__PURE__ */
|
|
1473
|
+
var AlertDialogContent = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(AlertDialogPortal, { children: [
|
|
1474
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(AlertDialogOverlay, {}),
|
|
1475
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1010
1476
|
AlertDialogPrimitive.Content,
|
|
1011
1477
|
{
|
|
1012
1478
|
ref,
|
|
@@ -1022,7 +1488,7 @@ AlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;
|
|
|
1022
1488
|
var AlertDialogHeader = ({
|
|
1023
1489
|
className,
|
|
1024
1490
|
...props
|
|
1025
|
-
}) => /* @__PURE__ */
|
|
1491
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1026
1492
|
"div",
|
|
1027
1493
|
{
|
|
1028
1494
|
className: cn(
|
|
@@ -1036,7 +1502,7 @@ AlertDialogHeader.displayName = "AlertDialogHeader";
|
|
|
1036
1502
|
var AlertDialogFooter = ({
|
|
1037
1503
|
className,
|
|
1038
1504
|
...props
|
|
1039
|
-
}) => /* @__PURE__ */
|
|
1505
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1040
1506
|
"div",
|
|
1041
1507
|
{
|
|
1042
1508
|
className: cn(
|
|
@@ -1047,7 +1513,7 @@ var AlertDialogFooter = ({
|
|
|
1047
1513
|
}
|
|
1048
1514
|
);
|
|
1049
1515
|
AlertDialogFooter.displayName = "AlertDialogFooter";
|
|
1050
|
-
var AlertDialogTitle = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1516
|
+
var AlertDialogTitle = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1051
1517
|
AlertDialogPrimitive.Title,
|
|
1052
1518
|
{
|
|
1053
1519
|
ref,
|
|
@@ -1056,7 +1522,7 @@ var AlertDialogTitle = React20.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
1056
1522
|
}
|
|
1057
1523
|
));
|
|
1058
1524
|
AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
|
|
1059
|
-
var AlertDialogDescription = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1525
|
+
var AlertDialogDescription = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1060
1526
|
AlertDialogPrimitive.Description,
|
|
1061
1527
|
{
|
|
1062
1528
|
ref,
|
|
@@ -1065,7 +1531,7 @@ var AlertDialogDescription = React20.forwardRef(({ className, ...props }, ref) =
|
|
|
1065
1531
|
}
|
|
1066
1532
|
));
|
|
1067
1533
|
AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
|
|
1068
|
-
var AlertDialogAction = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1534
|
+
var AlertDialogAction = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1069
1535
|
AlertDialogPrimitive.Action,
|
|
1070
1536
|
{
|
|
1071
1537
|
ref,
|
|
@@ -1074,7 +1540,7 @@ var AlertDialogAction = React20.forwardRef(({ className, ...props }, ref) => /*
|
|
|
1074
1540
|
}
|
|
1075
1541
|
));
|
|
1076
1542
|
AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
|
|
1077
|
-
var AlertDialogCancel = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1543
|
+
var AlertDialogCancel = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1078
1544
|
AlertDialogPrimitive.Cancel,
|
|
1079
1545
|
{
|
|
1080
1546
|
ref,
|
|
@@ -1089,12 +1555,12 @@ var AlertDialogCancel = React20.forwardRef(({ className, ...props }, ref) => /*
|
|
|
1089
1555
|
AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;
|
|
1090
1556
|
|
|
1091
1557
|
// src/components/ui/popover.tsx
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1558
|
+
var React21 = __toESM(require("react"), 1);
|
|
1559
|
+
var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"), 1);
|
|
1560
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
1095
1561
|
var Popover = PopoverPrimitive.Root;
|
|
1096
1562
|
var PopoverTrigger = PopoverPrimitive.Trigger;
|
|
1097
|
-
var PopoverContent = React21.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */
|
|
1563
|
+
var PopoverContent = React21.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(PopoverPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
1098
1564
|
PopoverPrimitive.Content,
|
|
1099
1565
|
{
|
|
1100
1566
|
ref,
|
|
@@ -1110,12 +1576,12 @@ var PopoverContent = React21.forwardRef(({ className, align = "center", sideOffs
|
|
|
1110
1576
|
PopoverContent.displayName = PopoverPrimitive.Content.displayName;
|
|
1111
1577
|
|
|
1112
1578
|
// src/components/ui/hover-card.tsx
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1579
|
+
var React22 = __toESM(require("react"), 1);
|
|
1580
|
+
var HoverCardPrimitive = __toESM(require("@radix-ui/react-hover-card"), 1);
|
|
1581
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
1116
1582
|
var HoverCard = HoverCardPrimitive.Root;
|
|
1117
1583
|
var HoverCardTrigger = HoverCardPrimitive.Trigger;
|
|
1118
|
-
var HoverCardContent = React22.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */
|
|
1584
|
+
var HoverCardContent = React22.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1119
1585
|
HoverCardPrimitive.Content,
|
|
1120
1586
|
{
|
|
1121
1587
|
ref,
|
|
@@ -1131,13 +1597,13 @@ var HoverCardContent = React22.forwardRef(({ className, align = "center", sideOf
|
|
|
1131
1597
|
HoverCardContent.displayName = HoverCardPrimitive.Content.displayName;
|
|
1132
1598
|
|
|
1133
1599
|
// src/components/ui/tooltip.tsx
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1600
|
+
var React23 = __toESM(require("react"), 1);
|
|
1601
|
+
var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"), 1);
|
|
1602
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
1137
1603
|
var TooltipProvider = TooltipPrimitive.Provider;
|
|
1138
1604
|
var Tooltip = TooltipPrimitive.Root;
|
|
1139
1605
|
var TooltipTrigger = TooltipPrimitive.Trigger;
|
|
1140
|
-
var TooltipContent = React23.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */
|
|
1606
|
+
var TooltipContent = React23.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1141
1607
|
TooltipPrimitive.Content,
|
|
1142
1608
|
{
|
|
1143
1609
|
ref,
|
|
@@ -1152,15 +1618,14 @@ var TooltipContent = React23.forwardRef(({ className, sideOffset = 4, ...props }
|
|
|
1152
1618
|
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
1153
1619
|
|
|
1154
1620
|
// src/components/ui/dropdown-menu.tsx
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
import { jsx as jsx25, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
1621
|
+
var React24 = __toESM(require("react"), 1);
|
|
1622
|
+
var DropdownMenuPrimitive = __toESM(require("@radix-ui/react-dropdown-menu"), 1);
|
|
1623
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
1159
1624
|
var DropdownMenu = DropdownMenuPrimitive.Root;
|
|
1160
1625
|
var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
|
|
1161
1626
|
var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
|
|
1162
1627
|
var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
|
|
1163
|
-
var DropdownMenuSubTrigger = React24.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */
|
|
1628
|
+
var DropdownMenuSubTrigger = React24.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
1164
1629
|
DropdownMenuPrimitive.SubTrigger,
|
|
1165
1630
|
{
|
|
1166
1631
|
ref,
|
|
@@ -1172,12 +1637,12 @@ var DropdownMenuSubTrigger = React24.forwardRef(({ className, inset, children, .
|
|
|
1172
1637
|
...props,
|
|
1173
1638
|
children: [
|
|
1174
1639
|
children,
|
|
1175
|
-
/* @__PURE__ */
|
|
1640
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(ChevronRight, { className: "ml-auto" })
|
|
1176
1641
|
]
|
|
1177
1642
|
}
|
|
1178
1643
|
));
|
|
1179
1644
|
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
|
|
1180
|
-
var DropdownMenuSubContent = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1645
|
+
var DropdownMenuSubContent = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1181
1646
|
DropdownMenuPrimitive.SubContent,
|
|
1182
1647
|
{
|
|
1183
1648
|
ref,
|
|
@@ -1189,7 +1654,7 @@ var DropdownMenuSubContent = React24.forwardRef(({ className, ...props }, ref) =
|
|
|
1189
1654
|
}
|
|
1190
1655
|
));
|
|
1191
1656
|
DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
|
|
1192
|
-
var DropdownMenuContent = React24.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */
|
|
1657
|
+
var DropdownMenuContent = React24.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1193
1658
|
DropdownMenuPrimitive.Content,
|
|
1194
1659
|
{
|
|
1195
1660
|
ref,
|
|
@@ -1202,7 +1667,7 @@ var DropdownMenuContent = React24.forwardRef(({ className, sideOffset = 4, ...pr
|
|
|
1202
1667
|
}
|
|
1203
1668
|
) }));
|
|
1204
1669
|
DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
|
|
1205
|
-
var DropdownMenuItem = React24.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */
|
|
1670
|
+
var DropdownMenuItem = React24.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1206
1671
|
DropdownMenuPrimitive.Item,
|
|
1207
1672
|
{
|
|
1208
1673
|
ref,
|
|
@@ -1215,7 +1680,7 @@ var DropdownMenuItem = React24.forwardRef(({ className, inset, ...props }, ref)
|
|
|
1215
1680
|
}
|
|
1216
1681
|
));
|
|
1217
1682
|
DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
|
|
1218
|
-
var DropdownMenuCheckboxItem = React24.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */
|
|
1683
|
+
var DropdownMenuCheckboxItem = React24.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
1219
1684
|
DropdownMenuPrimitive.CheckboxItem,
|
|
1220
1685
|
{
|
|
1221
1686
|
ref,
|
|
@@ -1226,13 +1691,13 @@ var DropdownMenuCheckboxItem = React24.forwardRef(({ className, children, checke
|
|
|
1226
1691
|
checked,
|
|
1227
1692
|
...props,
|
|
1228
1693
|
children: [
|
|
1229
|
-
/* @__PURE__ */
|
|
1694
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Check, { className: "h-4 w-4" }) }) }),
|
|
1230
1695
|
children
|
|
1231
1696
|
]
|
|
1232
1697
|
}
|
|
1233
1698
|
));
|
|
1234
1699
|
DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
|
|
1235
|
-
var DropdownMenuRadioItem = React24.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */
|
|
1700
|
+
var DropdownMenuRadioItem = React24.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
1236
1701
|
DropdownMenuPrimitive.RadioItem,
|
|
1237
1702
|
{
|
|
1238
1703
|
ref,
|
|
@@ -1242,13 +1707,13 @@ var DropdownMenuRadioItem = React24.forwardRef(({ className, children, ...props
|
|
|
1242
1707
|
),
|
|
1243
1708
|
...props,
|
|
1244
1709
|
children: [
|
|
1245
|
-
/* @__PURE__ */
|
|
1710
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Circle, { className: "h-2 w-2 fill-current" }) }) }),
|
|
1246
1711
|
children
|
|
1247
1712
|
]
|
|
1248
1713
|
}
|
|
1249
1714
|
));
|
|
1250
1715
|
DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
|
|
1251
|
-
var DropdownMenuLabel = React24.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */
|
|
1716
|
+
var DropdownMenuLabel = React24.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1252
1717
|
DropdownMenuPrimitive.Label,
|
|
1253
1718
|
{
|
|
1254
1719
|
ref,
|
|
@@ -1261,7 +1726,7 @@ var DropdownMenuLabel = React24.forwardRef(({ className, inset, ...props }, ref)
|
|
|
1261
1726
|
}
|
|
1262
1727
|
));
|
|
1263
1728
|
DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
|
|
1264
|
-
var DropdownMenuSeparator = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1729
|
+
var DropdownMenuSeparator = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1265
1730
|
DropdownMenuPrimitive.Separator,
|
|
1266
1731
|
{
|
|
1267
1732
|
ref,
|
|
@@ -1274,7 +1739,7 @@ var DropdownMenuShortcut = ({
|
|
|
1274
1739
|
className,
|
|
1275
1740
|
...props
|
|
1276
1741
|
}) => {
|
|
1277
|
-
return /* @__PURE__ */
|
|
1742
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1278
1743
|
"span",
|
|
1279
1744
|
{
|
|
1280
1745
|
className: cn("ml-auto text-xs tracking-widest opacity-60", className),
|
|
@@ -1285,13 +1750,12 @@ var DropdownMenuShortcut = ({
|
|
|
1285
1750
|
DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
|
|
1286
1751
|
|
|
1287
1752
|
// src/components/ui/context-menu.tsx
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
import { jsx as jsx26, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
1753
|
+
var React25 = __toESM(require("react"), 1);
|
|
1754
|
+
var ContextMenuPrimitive = __toESM(require("@radix-ui/react-context-menu"), 1);
|
|
1755
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
1292
1756
|
var ContextMenu = ContextMenuPrimitive.Root;
|
|
1293
1757
|
var ContextMenuTrigger = ContextMenuPrimitive.Trigger;
|
|
1294
|
-
var ContextMenuSubTrigger = React25.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */
|
|
1758
|
+
var ContextMenuSubTrigger = React25.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
1295
1759
|
ContextMenuPrimitive.SubTrigger,
|
|
1296
1760
|
{
|
|
1297
1761
|
ref,
|
|
@@ -1303,12 +1767,12 @@ var ContextMenuSubTrigger = React25.forwardRef(({ className, inset, children, ..
|
|
|
1303
1767
|
...props,
|
|
1304
1768
|
children: [
|
|
1305
1769
|
children,
|
|
1306
|
-
/* @__PURE__ */
|
|
1770
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ChevronRight, { className: "ml-auto h-4 w-4" })
|
|
1307
1771
|
]
|
|
1308
1772
|
}
|
|
1309
1773
|
));
|
|
1310
1774
|
ContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName;
|
|
1311
|
-
var ContextMenuSubContent = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1775
|
+
var ContextMenuSubContent = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1312
1776
|
ContextMenuPrimitive.SubContent,
|
|
1313
1777
|
{
|
|
1314
1778
|
ref,
|
|
@@ -1320,7 +1784,7 @@ var ContextMenuSubContent = React25.forwardRef(({ className, ...props }, ref) =>
|
|
|
1320
1784
|
}
|
|
1321
1785
|
));
|
|
1322
1786
|
ContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName;
|
|
1323
|
-
var ContextMenuContent = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1787
|
+
var ContextMenuContent = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1324
1788
|
ContextMenuPrimitive.Content,
|
|
1325
1789
|
{
|
|
1326
1790
|
ref,
|
|
@@ -1332,7 +1796,7 @@ var ContextMenuContent = React25.forwardRef(({ className, ...props }, ref) => /*
|
|
|
1332
1796
|
}
|
|
1333
1797
|
) }));
|
|
1334
1798
|
ContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName;
|
|
1335
|
-
var ContextMenuItem = React25.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */
|
|
1799
|
+
var ContextMenuItem = React25.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1336
1800
|
ContextMenuPrimitive.Item,
|
|
1337
1801
|
{
|
|
1338
1802
|
ref,
|
|
@@ -1345,7 +1809,7 @@ var ContextMenuItem = React25.forwardRef(({ className, inset, ...props }, ref) =
|
|
|
1345
1809
|
}
|
|
1346
1810
|
));
|
|
1347
1811
|
ContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName;
|
|
1348
|
-
var ContextMenuCheckboxItem = React25.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */
|
|
1812
|
+
var ContextMenuCheckboxItem = React25.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
1349
1813
|
ContextMenuPrimitive.CheckboxItem,
|
|
1350
1814
|
{
|
|
1351
1815
|
ref,
|
|
@@ -1356,13 +1820,13 @@ var ContextMenuCheckboxItem = React25.forwardRef(({ className, children, checked
|
|
|
1356
1820
|
checked,
|
|
1357
1821
|
...props,
|
|
1358
1822
|
children: [
|
|
1359
|
-
/* @__PURE__ */
|
|
1823
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Check, { className: "h-4 w-4" }) }) }),
|
|
1360
1824
|
children
|
|
1361
1825
|
]
|
|
1362
1826
|
}
|
|
1363
1827
|
));
|
|
1364
1828
|
ContextMenuCheckboxItem.displayName = ContextMenuPrimitive.CheckboxItem.displayName;
|
|
1365
|
-
var ContextMenuRadioItem = React25.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */
|
|
1829
|
+
var ContextMenuRadioItem = React25.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
1366
1830
|
ContextMenuPrimitive.RadioItem,
|
|
1367
1831
|
{
|
|
1368
1832
|
ref,
|
|
@@ -1372,13 +1836,13 @@ var ContextMenuRadioItem = React25.forwardRef(({ className, children, ...props }
|
|
|
1372
1836
|
),
|
|
1373
1837
|
...props,
|
|
1374
1838
|
children: [
|
|
1375
|
-
/* @__PURE__ */
|
|
1839
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Circle, { className: "h-2 w-2 fill-current" }) }) }),
|
|
1376
1840
|
children
|
|
1377
1841
|
]
|
|
1378
1842
|
}
|
|
1379
1843
|
));
|
|
1380
1844
|
ContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName;
|
|
1381
|
-
var ContextMenuLabel = React25.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */
|
|
1845
|
+
var ContextMenuLabel = React25.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1382
1846
|
ContextMenuPrimitive.Label,
|
|
1383
1847
|
{
|
|
1384
1848
|
ref,
|
|
@@ -1391,7 +1855,7 @@ var ContextMenuLabel = React25.forwardRef(({ className, inset, ...props }, ref)
|
|
|
1391
1855
|
}
|
|
1392
1856
|
));
|
|
1393
1857
|
ContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName;
|
|
1394
|
-
var ContextMenuSeparator = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1858
|
+
var ContextMenuSeparator = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1395
1859
|
ContextMenuPrimitive.Separator,
|
|
1396
1860
|
{
|
|
1397
1861
|
ref,
|
|
@@ -1404,7 +1868,7 @@ var ContextMenuShortcut = ({
|
|
|
1404
1868
|
className,
|
|
1405
1869
|
...props
|
|
1406
1870
|
}) => {
|
|
1407
|
-
return /* @__PURE__ */
|
|
1871
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1408
1872
|
"span",
|
|
1409
1873
|
{
|
|
1410
1874
|
className: cn(
|
|
@@ -1418,11 +1882,10 @@ var ContextMenuShortcut = ({
|
|
|
1418
1882
|
ContextMenuShortcut.displayName = "ContextMenuShortcut";
|
|
1419
1883
|
|
|
1420
1884
|
// src/components/ui/menubar.tsx
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
var Menubar = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx27(
|
|
1885
|
+
var React26 = __toESM(require("react"), 1);
|
|
1886
|
+
var MenubarPrimitive = __toESM(require("@radix-ui/react-menubar"), 1);
|
|
1887
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
1888
|
+
var Menubar = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1426
1889
|
MenubarPrimitive.Root,
|
|
1427
1890
|
{
|
|
1428
1891
|
ref,
|
|
@@ -1434,7 +1897,7 @@ var Menubar = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
1434
1897
|
}
|
|
1435
1898
|
));
|
|
1436
1899
|
Menubar.displayName = MenubarPrimitive.Root.displayName;
|
|
1437
|
-
var MenubarTrigger = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1900
|
+
var MenubarTrigger = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1438
1901
|
MenubarPrimitive.Trigger,
|
|
1439
1902
|
{
|
|
1440
1903
|
ref,
|
|
@@ -1446,7 +1909,7 @@ var MenubarTrigger = React26.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
1446
1909
|
}
|
|
1447
1910
|
));
|
|
1448
1911
|
MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
|
|
1449
|
-
var MenubarSubTrigger = React26.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */
|
|
1912
|
+
var MenubarSubTrigger = React26.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
1450
1913
|
MenubarPrimitive.SubTrigger,
|
|
1451
1914
|
{
|
|
1452
1915
|
ref,
|
|
@@ -1458,12 +1921,12 @@ var MenubarSubTrigger = React26.forwardRef(({ className, inset, children, ...pro
|
|
|
1458
1921
|
...props,
|
|
1459
1922
|
children: [
|
|
1460
1923
|
children,
|
|
1461
|
-
/* @__PURE__ */
|
|
1924
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ChevronRight, { className: "ml-auto h-4 w-4" })
|
|
1462
1925
|
]
|
|
1463
1926
|
}
|
|
1464
1927
|
));
|
|
1465
1928
|
MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
|
|
1466
|
-
var MenubarSubContent = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1929
|
+
var MenubarSubContent = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1467
1930
|
MenubarPrimitive.SubContent,
|
|
1468
1931
|
{
|
|
1469
1932
|
ref,
|
|
@@ -1476,7 +1939,7 @@ var MenubarSubContent = React26.forwardRef(({ className, ...props }, ref) => /*
|
|
|
1476
1939
|
));
|
|
1477
1940
|
MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
|
|
1478
1941
|
var MenubarContent = React26.forwardRef(
|
|
1479
|
-
({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */
|
|
1942
|
+
({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(MenubarPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1480
1943
|
MenubarPrimitive.Content,
|
|
1481
1944
|
{
|
|
1482
1945
|
ref,
|
|
@@ -1492,7 +1955,7 @@ var MenubarContent = React26.forwardRef(
|
|
|
1492
1955
|
) })
|
|
1493
1956
|
);
|
|
1494
1957
|
MenubarContent.displayName = MenubarPrimitive.Content.displayName;
|
|
1495
|
-
var MenubarItem = React26.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */
|
|
1958
|
+
var MenubarItem = React26.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1496
1959
|
MenubarPrimitive.Item,
|
|
1497
1960
|
{
|
|
1498
1961
|
ref,
|
|
@@ -1505,7 +1968,7 @@ var MenubarItem = React26.forwardRef(({ className, inset, ...props }, ref) => /*
|
|
|
1505
1968
|
}
|
|
1506
1969
|
));
|
|
1507
1970
|
MenubarItem.displayName = MenubarPrimitive.Item.displayName;
|
|
1508
|
-
var MenubarCheckboxItem = React26.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */
|
|
1971
|
+
var MenubarCheckboxItem = React26.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
1509
1972
|
MenubarPrimitive.CheckboxItem,
|
|
1510
1973
|
{
|
|
1511
1974
|
ref,
|
|
@@ -1516,13 +1979,13 @@ var MenubarCheckboxItem = React26.forwardRef(({ className, children, checked, ..
|
|
|
1516
1979
|
checked,
|
|
1517
1980
|
...props,
|
|
1518
1981
|
children: [
|
|
1519
|
-
/* @__PURE__ */
|
|
1982
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Check, { className: "h-4 w-4" }) }) }),
|
|
1520
1983
|
children
|
|
1521
1984
|
]
|
|
1522
1985
|
}
|
|
1523
1986
|
));
|
|
1524
1987
|
MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
|
|
1525
|
-
var MenubarRadioItem = React26.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */
|
|
1988
|
+
var MenubarRadioItem = React26.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
1526
1989
|
MenubarPrimitive.RadioItem,
|
|
1527
1990
|
{
|
|
1528
1991
|
ref,
|
|
@@ -1532,13 +1995,13 @@ var MenubarRadioItem = React26.forwardRef(({ className, children, ...props }, re
|
|
|
1532
1995
|
),
|
|
1533
1996
|
...props,
|
|
1534
1997
|
children: [
|
|
1535
|
-
/* @__PURE__ */
|
|
1998
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Circle, { className: "h-2 w-2 fill-current" }) }) }),
|
|
1536
1999
|
children
|
|
1537
2000
|
]
|
|
1538
2001
|
}
|
|
1539
2002
|
));
|
|
1540
2003
|
MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
|
|
1541
|
-
var MenubarLabel = React26.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */
|
|
2004
|
+
var MenubarLabel = React26.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1542
2005
|
MenubarPrimitive.Label,
|
|
1543
2006
|
{
|
|
1544
2007
|
ref,
|
|
@@ -1551,7 +2014,7 @@ var MenubarLabel = React26.forwardRef(({ className, inset, ...props }, ref) => /
|
|
|
1551
2014
|
}
|
|
1552
2015
|
));
|
|
1553
2016
|
MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
|
|
1554
|
-
var MenubarSeparator = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2017
|
+
var MenubarSeparator = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1555
2018
|
MenubarPrimitive.Separator,
|
|
1556
2019
|
{
|
|
1557
2020
|
ref,
|
|
@@ -1564,7 +2027,7 @@ var MenubarShortcut = ({
|
|
|
1564
2027
|
className,
|
|
1565
2028
|
...props
|
|
1566
2029
|
}) => {
|
|
1567
|
-
return /* @__PURE__ */
|
|
2030
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1568
2031
|
"span",
|
|
1569
2032
|
{
|
|
1570
2033
|
className: cn(
|
|
@@ -1578,12 +2041,11 @@ var MenubarShortcut = ({
|
|
|
1578
2041
|
MenubarShortcut.displayname = "MenubarShortcut";
|
|
1579
2042
|
|
|
1580
2043
|
// src/components/ui/navigation-menu.tsx
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
var NavigationMenu = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs13(
|
|
2044
|
+
var React27 = __toESM(require("react"), 1);
|
|
2045
|
+
var NavigationMenuPrimitive = __toESM(require("@radix-ui/react-navigation-menu"), 1);
|
|
2046
|
+
var import_class_variance_authority4 = require("class-variance-authority");
|
|
2047
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
2048
|
+
var NavigationMenu = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
1587
2049
|
NavigationMenuPrimitive.Root,
|
|
1588
2050
|
{
|
|
1589
2051
|
ref,
|
|
@@ -1594,12 +2056,12 @@ var NavigationMenu = React27.forwardRef(({ className, children, ...props }, ref)
|
|
|
1594
2056
|
...props,
|
|
1595
2057
|
children: [
|
|
1596
2058
|
children,
|
|
1597
|
-
/* @__PURE__ */
|
|
2059
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(NavigationMenuViewport, {})
|
|
1598
2060
|
]
|
|
1599
2061
|
}
|
|
1600
2062
|
));
|
|
1601
2063
|
NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
|
|
1602
|
-
var NavigationMenuList = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2064
|
+
var NavigationMenuList = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1603
2065
|
NavigationMenuPrimitive.List,
|
|
1604
2066
|
{
|
|
1605
2067
|
ref,
|
|
@@ -1612,10 +2074,10 @@ var NavigationMenuList = React27.forwardRef(({ className, ...props }, ref) => /*
|
|
|
1612
2074
|
));
|
|
1613
2075
|
NavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;
|
|
1614
2076
|
var NavigationMenuItem = NavigationMenuPrimitive.Item;
|
|
1615
|
-
var navigationMenuTriggerStyle =
|
|
2077
|
+
var navigationMenuTriggerStyle = (0, import_class_variance_authority4.cva)(
|
|
1616
2078
|
"group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[state=open]:text-accent-foreground data-[state=open]:bg-accent/50 data-[state=open]:hover:bg-accent data-[state=open]:focus:bg-accent"
|
|
1617
2079
|
);
|
|
1618
|
-
var NavigationMenuTrigger = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */
|
|
2080
|
+
var NavigationMenuTrigger = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
1619
2081
|
NavigationMenuPrimitive.Trigger,
|
|
1620
2082
|
{
|
|
1621
2083
|
ref,
|
|
@@ -1624,8 +2086,8 @@ var NavigationMenuTrigger = React27.forwardRef(({ className, children, ...props
|
|
|
1624
2086
|
children: [
|
|
1625
2087
|
children,
|
|
1626
2088
|
" ",
|
|
1627
|
-
/* @__PURE__ */
|
|
1628
|
-
|
|
2089
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
2090
|
+
ChevronDown,
|
|
1629
2091
|
{
|
|
1630
2092
|
className: "relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180",
|
|
1631
2093
|
"aria-hidden": "true"
|
|
@@ -1635,7 +2097,7 @@ var NavigationMenuTrigger = React27.forwardRef(({ className, children, ...props
|
|
|
1635
2097
|
}
|
|
1636
2098
|
));
|
|
1637
2099
|
NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
|
|
1638
|
-
var NavigationMenuContent = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2100
|
+
var NavigationMenuContent = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1639
2101
|
NavigationMenuPrimitive.Content,
|
|
1640
2102
|
{
|
|
1641
2103
|
ref,
|
|
@@ -1648,7 +2110,7 @@ var NavigationMenuContent = React27.forwardRef(({ className, ...props }, ref) =>
|
|
|
1648
2110
|
));
|
|
1649
2111
|
NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
|
|
1650
2112
|
var NavigationMenuLink = NavigationMenuPrimitive.Link;
|
|
1651
|
-
var NavigationMenuViewport = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2113
|
+
var NavigationMenuViewport = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1652
2114
|
NavigationMenuPrimitive.Viewport,
|
|
1653
2115
|
{
|
|
1654
2116
|
className: cn(
|
|
@@ -1660,7 +2122,7 @@ var NavigationMenuViewport = React27.forwardRef(({ className, ...props }, ref) =
|
|
|
1660
2122
|
}
|
|
1661
2123
|
) }));
|
|
1662
2124
|
NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
|
|
1663
|
-
var NavigationMenuIndicator = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2125
|
+
var NavigationMenuIndicator = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1664
2126
|
NavigationMenuPrimitive.Indicator,
|
|
1665
2127
|
{
|
|
1666
2128
|
ref,
|
|
@@ -1669,19 +2131,18 @@ var NavigationMenuIndicator = React27.forwardRef(({ className, ...props }, ref)
|
|
|
1669
2131
|
className
|
|
1670
2132
|
),
|
|
1671
2133
|
...props,
|
|
1672
|
-
children: /* @__PURE__ */
|
|
2134
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
|
|
1673
2135
|
}
|
|
1674
2136
|
));
|
|
1675
2137
|
NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
|
|
1676
2138
|
|
|
1677
2139
|
// src/components/ui/breadcrumb.tsx
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
var Breadcrumb = React28.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx29("nav", { ref, "aria-label": "breadcrumb", ...props }));
|
|
2140
|
+
var React28 = __toESM(require("react"), 1);
|
|
2141
|
+
var import_react_slot3 = require("@radix-ui/react-slot");
|
|
2142
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
2143
|
+
var Breadcrumb = React28.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("nav", { ref, "aria-label": "breadcrumb", ...props }));
|
|
1683
2144
|
Breadcrumb.displayName = "Breadcrumb";
|
|
1684
|
-
var BreadcrumbList = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2145
|
+
var BreadcrumbList = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1685
2146
|
"ol",
|
|
1686
2147
|
{
|
|
1687
2148
|
ref,
|
|
@@ -1693,7 +2154,7 @@ var BreadcrumbList = React28.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
1693
2154
|
}
|
|
1694
2155
|
));
|
|
1695
2156
|
BreadcrumbList.displayName = "BreadcrumbList";
|
|
1696
|
-
var BreadcrumbItem = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2157
|
+
var BreadcrumbItem = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1697
2158
|
"li",
|
|
1698
2159
|
{
|
|
1699
2160
|
ref,
|
|
@@ -1703,8 +2164,8 @@ var BreadcrumbItem = React28.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
1703
2164
|
));
|
|
1704
2165
|
BreadcrumbItem.displayName = "BreadcrumbItem";
|
|
1705
2166
|
var BreadcrumbLink = React28.forwardRef(({ asChild, className, ...props }, ref) => {
|
|
1706
|
-
const Comp = asChild ?
|
|
1707
|
-
return /* @__PURE__ */
|
|
2167
|
+
const Comp = asChild ? import_react_slot3.Slot : "a";
|
|
2168
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1708
2169
|
Comp,
|
|
1709
2170
|
{
|
|
1710
2171
|
ref,
|
|
@@ -1714,7 +2175,7 @@ var BreadcrumbLink = React28.forwardRef(({ asChild, className, ...props }, ref)
|
|
|
1714
2175
|
);
|
|
1715
2176
|
});
|
|
1716
2177
|
BreadcrumbLink.displayName = "BreadcrumbLink";
|
|
1717
|
-
var BreadcrumbPage = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2178
|
+
var BreadcrumbPage = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1718
2179
|
"span",
|
|
1719
2180
|
{
|
|
1720
2181
|
ref,
|
|
@@ -1730,21 +2191,21 @@ var BreadcrumbSeparator = ({
|
|
|
1730
2191
|
children,
|
|
1731
2192
|
className,
|
|
1732
2193
|
...props
|
|
1733
|
-
}) => /* @__PURE__ */
|
|
2194
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1734
2195
|
"li",
|
|
1735
2196
|
{
|
|
1736
2197
|
role: "presentation",
|
|
1737
2198
|
"aria-hidden": "true",
|
|
1738
2199
|
className: cn("[&>svg]:w-3.5 [&>svg]:h-3.5", className),
|
|
1739
2200
|
...props,
|
|
1740
|
-
children: children ?? /* @__PURE__ */
|
|
2201
|
+
children: children ?? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ChevronRight, {})
|
|
1741
2202
|
}
|
|
1742
2203
|
);
|
|
1743
2204
|
BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
|
|
1744
2205
|
var BreadcrumbEllipsis = ({
|
|
1745
2206
|
className,
|
|
1746
2207
|
...props
|
|
1747
|
-
}) => /* @__PURE__ */
|
|
2208
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
1748
2209
|
"span",
|
|
1749
2210
|
{
|
|
1750
2211
|
role: "presentation",
|
|
@@ -1752,18 +2213,17 @@ var BreadcrumbEllipsis = ({
|
|
|
1752
2213
|
className: cn("flex h-9 w-9 items-center justify-center", className),
|
|
1753
2214
|
...props,
|
|
1754
2215
|
children: [
|
|
1755
|
-
/* @__PURE__ */
|
|
1756
|
-
/* @__PURE__ */
|
|
2216
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Ellipsis, { className: "h-4 w-4" }),
|
|
2217
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "sr-only", children: "More" })
|
|
1757
2218
|
]
|
|
1758
2219
|
}
|
|
1759
2220
|
);
|
|
1760
2221
|
BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
|
|
1761
2222
|
|
|
1762
2223
|
// src/components/ui/pagination.tsx
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx30(
|
|
2224
|
+
var React29 = __toESM(require("react"), 1);
|
|
2225
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
2226
|
+
var Pagination = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1767
2227
|
"nav",
|
|
1768
2228
|
{
|
|
1769
2229
|
role: "navigation",
|
|
@@ -1773,7 +2233,7 @@ var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx30(
|
|
|
1773
2233
|
}
|
|
1774
2234
|
);
|
|
1775
2235
|
Pagination.displayName = "Pagination";
|
|
1776
|
-
var PaginationContent = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2236
|
+
var PaginationContent = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1777
2237
|
"ul",
|
|
1778
2238
|
{
|
|
1779
2239
|
ref,
|
|
@@ -1782,14 +2242,14 @@ var PaginationContent = React29.forwardRef(({ className, ...props }, ref) => /*
|
|
|
1782
2242
|
}
|
|
1783
2243
|
));
|
|
1784
2244
|
PaginationContent.displayName = "PaginationContent";
|
|
1785
|
-
var PaginationItem = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2245
|
+
var PaginationItem = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("li", { ref, className: cn("", className), ...props }));
|
|
1786
2246
|
PaginationItem.displayName = "PaginationItem";
|
|
1787
2247
|
var PaginationLink = ({
|
|
1788
2248
|
className,
|
|
1789
2249
|
isActive,
|
|
1790
2250
|
size = "icon",
|
|
1791
2251
|
...props
|
|
1792
|
-
}) => /* @__PURE__ */
|
|
2252
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1793
2253
|
"a",
|
|
1794
2254
|
{
|
|
1795
2255
|
"aria-current": isActive ? "page" : void 0,
|
|
@@ -1807,7 +2267,7 @@ PaginationLink.displayName = "PaginationLink";
|
|
|
1807
2267
|
var PaginationPrevious = ({
|
|
1808
2268
|
className,
|
|
1809
2269
|
...props
|
|
1810
|
-
}) => /* @__PURE__ */
|
|
2270
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
1811
2271
|
PaginationLink,
|
|
1812
2272
|
{
|
|
1813
2273
|
"aria-label": "Go to previous page",
|
|
@@ -1815,8 +2275,8 @@ var PaginationPrevious = ({
|
|
|
1815
2275
|
className: cn("gap-1 pl-2.5", className),
|
|
1816
2276
|
...props,
|
|
1817
2277
|
children: [
|
|
1818
|
-
/* @__PURE__ */
|
|
1819
|
-
/* @__PURE__ */
|
|
2278
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ChevronLeft, { className: "h-4 w-4" }),
|
|
2279
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { children: "Previous" })
|
|
1820
2280
|
]
|
|
1821
2281
|
}
|
|
1822
2282
|
);
|
|
@@ -1824,7 +2284,7 @@ PaginationPrevious.displayName = "PaginationPrevious";
|
|
|
1824
2284
|
var PaginationNext = ({
|
|
1825
2285
|
className,
|
|
1826
2286
|
...props
|
|
1827
|
-
}) => /* @__PURE__ */
|
|
2287
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
1828
2288
|
PaginationLink,
|
|
1829
2289
|
{
|
|
1830
2290
|
"aria-label": "Go to next page",
|
|
@@ -1832,8 +2292,8 @@ var PaginationNext = ({
|
|
|
1832
2292
|
className: cn("gap-1 pr-2.5", className),
|
|
1833
2293
|
...props,
|
|
1834
2294
|
children: [
|
|
1835
|
-
/* @__PURE__ */
|
|
1836
|
-
/* @__PURE__ */
|
|
2295
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { children: "Next" }),
|
|
2296
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ChevronRight, { className: "h-4 w-4" })
|
|
1837
2297
|
]
|
|
1838
2298
|
}
|
|
1839
2299
|
);
|
|
@@ -1841,27 +2301,26 @@ PaginationNext.displayName = "PaginationNext";
|
|
|
1841
2301
|
var PaginationEllipsis = ({
|
|
1842
2302
|
className,
|
|
1843
2303
|
...props
|
|
1844
|
-
}) => /* @__PURE__ */
|
|
2304
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
1845
2305
|
"span",
|
|
1846
2306
|
{
|
|
1847
2307
|
"aria-hidden": true,
|
|
1848
2308
|
className: cn("flex h-9 w-9 items-center justify-center", className),
|
|
1849
2309
|
...props,
|
|
1850
2310
|
children: [
|
|
1851
|
-
/* @__PURE__ */
|
|
1852
|
-
/* @__PURE__ */
|
|
2311
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Ellipsis, { className: "h-4 w-4" }),
|
|
2312
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "sr-only", children: "More pages" })
|
|
1853
2313
|
]
|
|
1854
2314
|
}
|
|
1855
2315
|
);
|
|
1856
2316
|
PaginationEllipsis.displayName = "PaginationEllipsis";
|
|
1857
2317
|
|
|
1858
2318
|
// src/components/ui/command.tsx
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
CommandPrimitive,
|
|
2319
|
+
var React30 = __toESM(require("react"), 1);
|
|
2320
|
+
var import_cmdk = require("cmdk");
|
|
2321
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
2322
|
+
var Command = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
2323
|
+
import_cmdk.Command,
|
|
1865
2324
|
{
|
|
1866
2325
|
ref,
|
|
1867
2326
|
className: cn(
|
|
@@ -1871,14 +2330,14 @@ var Command = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
1871
2330
|
...props
|
|
1872
2331
|
}
|
|
1873
2332
|
));
|
|
1874
|
-
Command.displayName =
|
|
2333
|
+
Command.displayName = import_cmdk.Command.displayName;
|
|
1875
2334
|
var CommandDialog = ({ children, ...props }) => {
|
|
1876
|
-
return /* @__PURE__ */
|
|
2335
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Dialog, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(DialogContent, { className: "overflow-hidden p-0 shadow-lg", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Command, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children }) }) });
|
|
1877
2336
|
};
|
|
1878
|
-
var CommandInput = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1879
|
-
/* @__PURE__ */
|
|
1880
|
-
/* @__PURE__ */
|
|
1881
|
-
|
|
2337
|
+
var CommandInput = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
2338
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
|
2339
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
2340
|
+
import_cmdk.Command.Input,
|
|
1882
2341
|
{
|
|
1883
2342
|
ref,
|
|
1884
2343
|
className: cn(
|
|
@@ -1889,27 +2348,27 @@ var CommandInput = React30.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
1889
2348
|
}
|
|
1890
2349
|
)
|
|
1891
2350
|
] }));
|
|
1892
|
-
CommandInput.displayName =
|
|
1893
|
-
var CommandList = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1894
|
-
|
|
2351
|
+
CommandInput.displayName = import_cmdk.Command.Input.displayName;
|
|
2352
|
+
var CommandList = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
2353
|
+
import_cmdk.Command.List,
|
|
1895
2354
|
{
|
|
1896
2355
|
ref,
|
|
1897
2356
|
className: cn("max-h-[300px] overflow-y-auto overflow-x-hidden", className),
|
|
1898
2357
|
...props
|
|
1899
2358
|
}
|
|
1900
2359
|
));
|
|
1901
|
-
CommandList.displayName =
|
|
1902
|
-
var CommandEmpty = React30.forwardRef((props, ref) => /* @__PURE__ */
|
|
1903
|
-
|
|
2360
|
+
CommandList.displayName = import_cmdk.Command.List.displayName;
|
|
2361
|
+
var CommandEmpty = React30.forwardRef((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
2362
|
+
import_cmdk.Command.Empty,
|
|
1904
2363
|
{
|
|
1905
2364
|
ref,
|
|
1906
2365
|
className: "py-6 text-center text-sm",
|
|
1907
2366
|
...props
|
|
1908
2367
|
}
|
|
1909
2368
|
));
|
|
1910
|
-
CommandEmpty.displayName =
|
|
1911
|
-
var CommandGroup = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1912
|
-
|
|
2369
|
+
CommandEmpty.displayName = import_cmdk.Command.Empty.displayName;
|
|
2370
|
+
var CommandGroup = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
2371
|
+
import_cmdk.Command.Group,
|
|
1913
2372
|
{
|
|
1914
2373
|
ref,
|
|
1915
2374
|
className: cn(
|
|
@@ -1919,18 +2378,18 @@ var CommandGroup = React30.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
1919
2378
|
...props
|
|
1920
2379
|
}
|
|
1921
2380
|
));
|
|
1922
|
-
CommandGroup.displayName =
|
|
1923
|
-
var CommandSeparator = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1924
|
-
|
|
2381
|
+
CommandGroup.displayName = import_cmdk.Command.Group.displayName;
|
|
2382
|
+
var CommandSeparator = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
2383
|
+
import_cmdk.Command.Separator,
|
|
1925
2384
|
{
|
|
1926
2385
|
ref,
|
|
1927
2386
|
className: cn("-mx-1 h-px bg-border", className),
|
|
1928
2387
|
...props
|
|
1929
2388
|
}
|
|
1930
2389
|
));
|
|
1931
|
-
CommandSeparator.displayName =
|
|
1932
|
-
var CommandItem = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
1933
|
-
|
|
2390
|
+
CommandSeparator.displayName = import_cmdk.Command.Separator.displayName;
|
|
2391
|
+
var CommandItem = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
2392
|
+
import_cmdk.Command.Item,
|
|
1934
2393
|
{
|
|
1935
2394
|
ref,
|
|
1936
2395
|
className: cn(
|
|
@@ -1940,12 +2399,12 @@ var CommandItem = React30.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
1940
2399
|
...props
|
|
1941
2400
|
}
|
|
1942
2401
|
));
|
|
1943
|
-
CommandItem.displayName =
|
|
2402
|
+
CommandItem.displayName = import_cmdk.Command.Item.displayName;
|
|
1944
2403
|
var CommandShortcut = ({
|
|
1945
2404
|
className,
|
|
1946
2405
|
...props
|
|
1947
2406
|
}) => {
|
|
1948
|
-
return /* @__PURE__ */
|
|
2407
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1949
2408
|
"span",
|
|
1950
2409
|
{
|
|
1951
2410
|
className: cn(
|
|
@@ -1959,9 +2418,9 @@ var CommandShortcut = ({
|
|
|
1959
2418
|
CommandShortcut.displayName = "CommandShortcut";
|
|
1960
2419
|
|
|
1961
2420
|
// src/components/ui/table.tsx
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
var Table = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2421
|
+
var React31 = __toESM(require("react"), 1);
|
|
2422
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
2423
|
+
var Table = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1965
2424
|
"table",
|
|
1966
2425
|
{
|
|
1967
2426
|
ref,
|
|
@@ -1970,9 +2429,9 @@ var Table = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
1970
2429
|
}
|
|
1971
2430
|
) }));
|
|
1972
2431
|
Table.displayName = "Table";
|
|
1973
|
-
var TableHeader = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2432
|
+
var TableHeader = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("thead", { ref, className: cn("[&_tr]:border-b", className), ...props }));
|
|
1974
2433
|
TableHeader.displayName = "TableHeader";
|
|
1975
|
-
var TableBody = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2434
|
+
var TableBody = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1976
2435
|
"tbody",
|
|
1977
2436
|
{
|
|
1978
2437
|
ref,
|
|
@@ -1981,7 +2440,7 @@ var TableBody = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
1981
2440
|
}
|
|
1982
2441
|
));
|
|
1983
2442
|
TableBody.displayName = "TableBody";
|
|
1984
|
-
var TableFooter = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2443
|
+
var TableFooter = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1985
2444
|
"tfoot",
|
|
1986
2445
|
{
|
|
1987
2446
|
ref,
|
|
@@ -1993,7 +2452,7 @@ var TableFooter = React31.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
1993
2452
|
}
|
|
1994
2453
|
));
|
|
1995
2454
|
TableFooter.displayName = "TableFooter";
|
|
1996
|
-
var TableRow = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2455
|
+
var TableRow = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1997
2456
|
"tr",
|
|
1998
2457
|
{
|
|
1999
2458
|
ref,
|
|
@@ -2005,7 +2464,7 @@ var TableRow = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
2005
2464
|
}
|
|
2006
2465
|
));
|
|
2007
2466
|
TableRow.displayName = "TableRow";
|
|
2008
|
-
var TableHead = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2467
|
+
var TableHead = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
2009
2468
|
"th",
|
|
2010
2469
|
{
|
|
2011
2470
|
ref,
|
|
@@ -2017,7 +2476,7 @@ var TableHead = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
2017
2476
|
}
|
|
2018
2477
|
));
|
|
2019
2478
|
TableHead.displayName = "TableHead";
|
|
2020
|
-
var TableCell = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2479
|
+
var TableCell = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
2021
2480
|
"td",
|
|
2022
2481
|
{
|
|
2023
2482
|
ref,
|
|
@@ -2026,7 +2485,7 @@ var TableCell = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
2026
2485
|
}
|
|
2027
2486
|
));
|
|
2028
2487
|
TableCell.displayName = "TableCell";
|
|
2029
|
-
var TableCaption = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2488
|
+
var TableCaption = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
2030
2489
|
"caption",
|
|
2031
2490
|
{
|
|
2032
2491
|
ref,
|
|
@@ -2037,10 +2496,10 @@ var TableCaption = React31.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
2037
2496
|
TableCaption.displayName = "TableCaption";
|
|
2038
2497
|
|
|
2039
2498
|
// src/components/ui/avatar.tsx
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
var Avatar = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2499
|
+
var React32 = __toESM(require("react"), 1);
|
|
2500
|
+
var AvatarPrimitive = __toESM(require("@radix-ui/react-avatar"), 1);
|
|
2501
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
2502
|
+
var Avatar = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
2044
2503
|
AvatarPrimitive.Root,
|
|
2045
2504
|
{
|
|
2046
2505
|
ref,
|
|
@@ -2052,7 +2511,7 @@ var Avatar = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
|
|
|
2052
2511
|
}
|
|
2053
2512
|
));
|
|
2054
2513
|
Avatar.displayName = AvatarPrimitive.Root.displayName;
|
|
2055
|
-
var AvatarImage = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2514
|
+
var AvatarImage = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
2056
2515
|
AvatarPrimitive.Image,
|
|
2057
2516
|
{
|
|
2058
2517
|
ref,
|
|
@@ -2061,7 +2520,7 @@ var AvatarImage = React32.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
2061
2520
|
}
|
|
2062
2521
|
));
|
|
2063
2522
|
AvatarImage.displayName = AvatarPrimitive.Image.displayName;
|
|
2064
|
-
var AvatarFallback = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2523
|
+
var AvatarFallback = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
2065
2524
|
AvatarPrimitive.Fallback,
|
|
2066
2525
|
{
|
|
2067
2526
|
ref,
|
|
@@ -2075,9 +2534,9 @@ var AvatarFallback = React32.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
2075
2534
|
AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
|
|
2076
2535
|
|
|
2077
2536
|
// src/components/ui/badge.tsx
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
var badgeVariants =
|
|
2537
|
+
var import_class_variance_authority5 = require("class-variance-authority");
|
|
2538
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
2539
|
+
var badgeVariants = (0, import_class_variance_authority5.cva)(
|
|
2081
2540
|
"inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
|
|
2082
2541
|
{
|
|
2083
2542
|
variants: {
|
|
@@ -2094,14 +2553,14 @@ var badgeVariants = cva5(
|
|
|
2094
2553
|
}
|
|
2095
2554
|
);
|
|
2096
2555
|
function Badge({ className, variant, ...props }) {
|
|
2097
|
-
return /* @__PURE__ */
|
|
2556
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: cn(badgeVariants({ variant }), className), ...props });
|
|
2098
2557
|
}
|
|
2099
2558
|
|
|
2100
2559
|
// src/components/ui/alert.tsx
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
var alertVariants =
|
|
2560
|
+
var React33 = __toESM(require("react"), 1);
|
|
2561
|
+
var import_class_variance_authority6 = require("class-variance-authority");
|
|
2562
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
2563
|
+
var alertVariants = (0, import_class_variance_authority6.cva)(
|
|
2105
2564
|
"relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",
|
|
2106
2565
|
{
|
|
2107
2566
|
variants: {
|
|
@@ -2115,7 +2574,7 @@ var alertVariants = cva6(
|
|
|
2115
2574
|
}
|
|
2116
2575
|
}
|
|
2117
2576
|
);
|
|
2118
|
-
var Alert = React33.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */
|
|
2577
|
+
var Alert = React33.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
2119
2578
|
"div",
|
|
2120
2579
|
{
|
|
2121
2580
|
ref,
|
|
@@ -2125,7 +2584,7 @@ var Alert = React33.forwardRef(({ className, variant, ...props }, ref) => /* @__
|
|
|
2125
2584
|
}
|
|
2126
2585
|
));
|
|
2127
2586
|
Alert.displayName = "Alert";
|
|
2128
|
-
var AlertTitle = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2587
|
+
var AlertTitle = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
2129
2588
|
"h5",
|
|
2130
2589
|
{
|
|
2131
2590
|
ref,
|
|
@@ -2134,7 +2593,7 @@ var AlertTitle = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
2134
2593
|
}
|
|
2135
2594
|
));
|
|
2136
2595
|
AlertTitle.displayName = "AlertTitle";
|
|
2137
|
-
var AlertDescription = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
2596
|
+
var AlertDescription = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
2138
2597
|
"div",
|
|
2139
2598
|
{
|
|
2140
2599
|
ref,
|
|
@@ -2145,10 +2604,10 @@ var AlertDescription = React33.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
2145
2604
|
AlertDescription.displayName = "AlertDescription";
|
|
2146
2605
|
|
|
2147
2606
|
// src/components/ui/progress.tsx
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
var Progress = React34.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */
|
|
2607
|
+
var React34 = __toESM(require("react"), 1);
|
|
2608
|
+
var ProgressPrimitive = __toESM(require("@radix-ui/react-progress"), 1);
|
|
2609
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
2610
|
+
var Progress = React34.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
2152
2611
|
ProgressPrimitive.Root,
|
|
2153
2612
|
{
|
|
2154
2613
|
ref,
|
|
@@ -2157,7 +2616,7 @@ var Progress = React34.forwardRef(({ className, value, ...props }, ref) => /* @_
|
|
|
2157
2616
|
className
|
|
2158
2617
|
),
|
|
2159
2618
|
...props,
|
|
2160
|
-
children: /* @__PURE__ */
|
|
2619
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
2161
2620
|
ProgressPrimitive.Indicator,
|
|
2162
2621
|
{
|
|
2163
2622
|
className: "h-full w-full flex-1 bg-primary transition-all",
|
|
@@ -2169,12 +2628,12 @@ var Progress = React34.forwardRef(({ className, value, ...props }, ref) => /* @_
|
|
|
2169
2628
|
Progress.displayName = ProgressPrimitive.Root.displayName;
|
|
2170
2629
|
|
|
2171
2630
|
// src/components/ui/skeleton.tsx
|
|
2172
|
-
|
|
2631
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
2173
2632
|
function Skeleton({
|
|
2174
2633
|
className,
|
|
2175
2634
|
...props
|
|
2176
2635
|
}) {
|
|
2177
|
-
return /* @__PURE__ */
|
|
2636
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
2178
2637
|
"div",
|
|
2179
2638
|
{
|
|
2180
2639
|
className: cn("animate-pulse rounded-md bg-muted", className),
|
|
@@ -2184,14 +2643,9 @@ function Skeleton({
|
|
|
2184
2643
|
}
|
|
2185
2644
|
|
|
2186
2645
|
// src/components/ui/calendar.tsx
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
ChevronLeftIcon,
|
|
2191
|
-
ChevronRightIcon
|
|
2192
|
-
} from "lucide-react";
|
|
2193
|
-
import { DayPicker, getDefaultClassNames } from "react-day-picker";
|
|
2194
|
-
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
2646
|
+
var React35 = __toESM(require("react"), 1);
|
|
2647
|
+
var import_react_day_picker = require("react-day-picker");
|
|
2648
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
2195
2649
|
function Calendar({
|
|
2196
2650
|
className,
|
|
2197
2651
|
classNames,
|
|
@@ -2202,9 +2656,9 @@ function Calendar({
|
|
|
2202
2656
|
components,
|
|
2203
2657
|
...props
|
|
2204
2658
|
}) {
|
|
2205
|
-
const defaultClassNames = getDefaultClassNames();
|
|
2206
|
-
return /* @__PURE__ */
|
|
2207
|
-
DayPicker,
|
|
2659
|
+
const defaultClassNames = (0, import_react_day_picker.getDefaultClassNames)();
|
|
2660
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
2661
|
+
import_react_day_picker.DayPicker,
|
|
2208
2662
|
{
|
|
2209
2663
|
showOutsideDays,
|
|
2210
2664
|
className: cn(
|
|
@@ -2302,7 +2756,7 @@ function Calendar({
|
|
|
2302
2756
|
},
|
|
2303
2757
|
components: {
|
|
2304
2758
|
Root: ({ className: className2, rootRef, ...props2 }) => {
|
|
2305
|
-
return /* @__PURE__ */
|
|
2759
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
2306
2760
|
"div",
|
|
2307
2761
|
{
|
|
2308
2762
|
"data-slot": "calendar",
|
|
@@ -2314,22 +2768,22 @@ function Calendar({
|
|
|
2314
2768
|
},
|
|
2315
2769
|
Chevron: ({ className: className2, orientation, ...props2 }) => {
|
|
2316
2770
|
if (orientation === "left") {
|
|
2317
|
-
return /* @__PURE__ */
|
|
2771
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ChevronLeft, { className: cn("size-4", className2), ...props2 });
|
|
2318
2772
|
}
|
|
2319
2773
|
if (orientation === "right") {
|
|
2320
|
-
return /* @__PURE__ */
|
|
2321
|
-
|
|
2774
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
2775
|
+
ChevronRight,
|
|
2322
2776
|
{
|
|
2323
2777
|
className: cn("size-4", className2),
|
|
2324
2778
|
...props2
|
|
2325
2779
|
}
|
|
2326
2780
|
);
|
|
2327
2781
|
}
|
|
2328
|
-
return /* @__PURE__ */
|
|
2782
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ChevronDown, { className: cn("size-4", className2), ...props2 });
|
|
2329
2783
|
},
|
|
2330
2784
|
DayButton: CalendarDayButton,
|
|
2331
2785
|
WeekNumber: ({ children, ...props2 }) => {
|
|
2332
|
-
return /* @__PURE__ */
|
|
2786
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("td", { ...props2, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "flex size-[--cell-size] items-center justify-center text-center", children }) });
|
|
2333
2787
|
},
|
|
2334
2788
|
...components
|
|
2335
2789
|
},
|
|
@@ -2343,12 +2797,12 @@ function CalendarDayButton({
|
|
|
2343
2797
|
modifiers,
|
|
2344
2798
|
...props
|
|
2345
2799
|
}) {
|
|
2346
|
-
const defaultClassNames = getDefaultClassNames();
|
|
2800
|
+
const defaultClassNames = (0, import_react_day_picker.getDefaultClassNames)();
|
|
2347
2801
|
const ref = React35.useRef(null);
|
|
2348
2802
|
React35.useEffect(() => {
|
|
2349
2803
|
if (modifiers.focused) ref.current?.focus();
|
|
2350
2804
|
}, [modifiers.focused]);
|
|
2351
|
-
return /* @__PURE__ */
|
|
2805
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
2352
2806
|
Button,
|
|
2353
2807
|
{
|
|
2354
2808
|
ref,
|
|
@@ -2370,10 +2824,9 @@ function CalendarDayButton({
|
|
|
2370
2824
|
}
|
|
2371
2825
|
|
|
2372
2826
|
// src/components/ui/carousel.tsx
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
import { jsx as jsx39, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
2827
|
+
var React36 = __toESM(require("react"), 1);
|
|
2828
|
+
var import_embla_carousel_react = __toESM(require("embla-carousel-react"), 1);
|
|
2829
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
2377
2830
|
var CarouselContext = React36.createContext(null);
|
|
2378
2831
|
function useCarousel() {
|
|
2379
2832
|
const context = React36.useContext(CarouselContext);
|
|
@@ -2392,7 +2845,7 @@ var Carousel = React36.forwardRef(
|
|
|
2392
2845
|
children,
|
|
2393
2846
|
...props
|
|
2394
2847
|
}, ref) => {
|
|
2395
|
-
const [carouselRef, api] =
|
|
2848
|
+
const [carouselRef, api] = (0, import_embla_carousel_react.default)(
|
|
2396
2849
|
{
|
|
2397
2850
|
...opts,
|
|
2398
2851
|
axis: orientation === "horizontal" ? "x" : "y"
|
|
@@ -2443,7 +2896,7 @@ var Carousel = React36.forwardRef(
|
|
|
2443
2896
|
api?.off("select", onSelect);
|
|
2444
2897
|
};
|
|
2445
2898
|
}, [api, onSelect]);
|
|
2446
|
-
return /* @__PURE__ */
|
|
2899
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
2447
2900
|
CarouselContext.Provider,
|
|
2448
2901
|
{
|
|
2449
2902
|
value: {
|
|
@@ -2456,7 +2909,7 @@ var Carousel = React36.forwardRef(
|
|
|
2456
2909
|
canScrollPrev,
|
|
2457
2910
|
canScrollNext
|
|
2458
2911
|
},
|
|
2459
|
-
children: /* @__PURE__ */
|
|
2912
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
2460
2913
|
"div",
|
|
2461
2914
|
{
|
|
2462
2915
|
ref,
|
|
@@ -2475,7 +2928,7 @@ var Carousel = React36.forwardRef(
|
|
|
2475
2928
|
Carousel.displayName = "Carousel";
|
|
2476
2929
|
var CarouselContent = React36.forwardRef(({ className, ...props }, ref) => {
|
|
2477
2930
|
const { carouselRef, orientation } = useCarousel();
|
|
2478
|
-
return /* @__PURE__ */
|
|
2931
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { ref: carouselRef, className: "overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
2479
2932
|
"div",
|
|
2480
2933
|
{
|
|
2481
2934
|
ref,
|
|
@@ -2491,7 +2944,7 @@ var CarouselContent = React36.forwardRef(({ className, ...props }, ref) => {
|
|
|
2491
2944
|
CarouselContent.displayName = "CarouselContent";
|
|
2492
2945
|
var CarouselItem = React36.forwardRef(({ className, ...props }, ref) => {
|
|
2493
2946
|
const { orientation } = useCarousel();
|
|
2494
|
-
return /* @__PURE__ */
|
|
2947
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
2495
2948
|
"div",
|
|
2496
2949
|
{
|
|
2497
2950
|
ref,
|
|
@@ -2509,7 +2962,7 @@ var CarouselItem = React36.forwardRef(({ className, ...props }, ref) => {
|
|
|
2509
2962
|
CarouselItem.displayName = "CarouselItem";
|
|
2510
2963
|
var CarouselPrevious = React36.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
|
|
2511
2964
|
const { orientation, scrollPrev, canScrollPrev } = useCarousel();
|
|
2512
|
-
return /* @__PURE__ */
|
|
2965
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
2513
2966
|
Button,
|
|
2514
2967
|
{
|
|
2515
2968
|
ref,
|
|
@@ -2524,8 +2977,8 @@ var CarouselPrevious = React36.forwardRef(({ className, variant = "outline", siz
|
|
|
2524
2977
|
onClick: scrollPrev,
|
|
2525
2978
|
...props,
|
|
2526
2979
|
children: [
|
|
2527
|
-
/* @__PURE__ */
|
|
2528
|
-
/* @__PURE__ */
|
|
2980
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(ArrowLeft, { className: "h-4 w-4" }),
|
|
2981
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "sr-only", children: "Previous slide" })
|
|
2529
2982
|
]
|
|
2530
2983
|
}
|
|
2531
2984
|
);
|
|
@@ -2533,7 +2986,7 @@ var CarouselPrevious = React36.forwardRef(({ className, variant = "outline", siz
|
|
|
2533
2986
|
CarouselPrevious.displayName = "CarouselPrevious";
|
|
2534
2987
|
var CarouselNext = React36.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
|
|
2535
2988
|
const { orientation, scrollNext, canScrollNext } = useCarousel();
|
|
2536
|
-
return /* @__PURE__ */
|
|
2989
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
2537
2990
|
Button,
|
|
2538
2991
|
{
|
|
2539
2992
|
ref,
|
|
@@ -2548,8 +3001,8 @@ var CarouselNext = React36.forwardRef(({ className, variant = "outline", size =
|
|
|
2548
3001
|
onClick: scrollNext,
|
|
2549
3002
|
...props,
|
|
2550
3003
|
children: [
|
|
2551
|
-
/* @__PURE__ */
|
|
2552
|
-
/* @__PURE__ */
|
|
3004
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(ArrowRight, { className: "h-4 w-4" }),
|
|
3005
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "sr-only", children: "Next slide" })
|
|
2553
3006
|
]
|
|
2554
3007
|
}
|
|
2555
3008
|
);
|
|
@@ -2557,11 +3010,10 @@ var CarouselNext = React36.forwardRef(({ className, variant = "outline", size =
|
|
|
2557
3010
|
CarouselNext.displayName = "CarouselNext";
|
|
2558
3011
|
|
|
2559
3012
|
// src/components/ui/spinner.tsx
|
|
2560
|
-
|
|
2561
|
-
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
3013
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
2562
3014
|
function Spinner({ className, ...props }) {
|
|
2563
|
-
return /* @__PURE__ */
|
|
2564
|
-
|
|
3015
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
3016
|
+
LoaderCircle,
|
|
2565
3017
|
{
|
|
2566
3018
|
role: "status",
|
|
2567
3019
|
"aria-label": "Loading",
|
|
@@ -2572,7 +3024,7 @@ function Spinner({ className, ...props }) {
|
|
|
2572
3024
|
}
|
|
2573
3025
|
|
|
2574
3026
|
// src/atoms/TextAtom.tsx
|
|
2575
|
-
|
|
3027
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
2576
3028
|
var TextAtom = ({
|
|
2577
3029
|
content,
|
|
2578
3030
|
variant = "p",
|
|
@@ -2589,12 +3041,11 @@ var TextAtom = ({
|
|
|
2589
3041
|
label: "text-[10px] font-bold text-gray-400 uppercase tracking-widest pl-1"
|
|
2590
3042
|
};
|
|
2591
3043
|
const Component = variant === "small" || variant === "muted" || variant === "label" ? "p" : variant;
|
|
2592
|
-
return /* @__PURE__ */
|
|
3044
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Component, { className: cn(baseStyles[variant], className), children: content });
|
|
2593
3045
|
};
|
|
2594
3046
|
|
|
2595
3047
|
// src/atoms/ButtonAtom.tsx
|
|
2596
|
-
|
|
2597
|
-
import { Fragment, jsx as jsx42, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
3048
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
2598
3049
|
var ButtonAtom = ({
|
|
2599
3050
|
label,
|
|
2600
3051
|
variant = "default",
|
|
@@ -2618,7 +3069,7 @@ var ButtonAtom = ({
|
|
|
2618
3069
|
};
|
|
2619
3070
|
const customClass = variantMap[variant] || "";
|
|
2620
3071
|
const shadcnVariant = ["purple", "gradient"].includes(variant) ? "default" : variant;
|
|
2621
|
-
return /* @__PURE__ */
|
|
3072
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
2622
3073
|
Button,
|
|
2623
3074
|
{
|
|
2624
3075
|
variant: shadcnVariant,
|
|
@@ -2626,8 +3077,8 @@ var ButtonAtom = ({
|
|
|
2626
3077
|
disabled: disabled || isLoading,
|
|
2627
3078
|
onClick: handleClick,
|
|
2628
3079
|
className: cn("rounded-full font-semibold", customClass, className),
|
|
2629
|
-
children: isLoading ? /* @__PURE__ */
|
|
2630
|
-
/* @__PURE__ */
|
|
3080
|
+
children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
|
|
3081
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(LoaderCircle, { className: "mr-2 h-4 w-4 animate-spin" }),
|
|
2631
3082
|
label
|
|
2632
3083
|
] }) : label
|
|
2633
3084
|
}
|
|
@@ -2635,8 +3086,8 @@ var ButtonAtom = ({
|
|
|
2635
3086
|
};
|
|
2636
3087
|
|
|
2637
3088
|
// src/atoms/LayoutAtom.tsx
|
|
2638
|
-
|
|
2639
|
-
|
|
3089
|
+
var import_react3 = __toESM(require("react"), 1);
|
|
3090
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
2640
3091
|
var LayoutAtom = ({
|
|
2641
3092
|
direction,
|
|
2642
3093
|
gap = "md",
|
|
@@ -2658,12 +3109,12 @@ var LayoutAtom = ({
|
|
|
2658
3109
|
gapMap[gap],
|
|
2659
3110
|
className
|
|
2660
3111
|
);
|
|
2661
|
-
return /* @__PURE__ */
|
|
3112
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: classes, children: children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_react3.default.Fragment, { children: renderComponent(child) }, child.id)) });
|
|
2662
3113
|
};
|
|
2663
3114
|
|
|
2664
3115
|
// src/atoms/CardAtom.tsx
|
|
2665
|
-
|
|
2666
|
-
|
|
3116
|
+
var import_react4 = __toESM(require("react"), 1);
|
|
3117
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
2667
3118
|
var CardAtom = ({
|
|
2668
3119
|
title,
|
|
2669
3120
|
description,
|
|
@@ -2672,7 +3123,7 @@ var CardAtom = ({
|
|
|
2672
3123
|
className,
|
|
2673
3124
|
renderComponent
|
|
2674
3125
|
}) => {
|
|
2675
|
-
return /* @__PURE__ */
|
|
3126
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
|
|
2676
3127
|
Card,
|
|
2677
3128
|
{
|
|
2678
3129
|
className: cn(
|
|
@@ -2680,19 +3131,19 @@ var CardAtom = ({
|
|
|
2680
3131
|
className
|
|
2681
3132
|
),
|
|
2682
3133
|
children: [
|
|
2683
|
-
(title || description) && /* @__PURE__ */
|
|
2684
|
-
title && /* @__PURE__ */
|
|
2685
|
-
description && /* @__PURE__ */
|
|
3134
|
+
(title || description) && /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(CardHeader, { children: [
|
|
3135
|
+
title && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(CardTitle, { className: "text-xl font-bold text-gray-900", children: title }),
|
|
3136
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(CardDescription, { children: description })
|
|
2686
3137
|
] }),
|
|
2687
|
-
/* @__PURE__ */
|
|
2688
|
-
footer && footer.length > 0 && /* @__PURE__ */
|
|
3138
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(CardContent, { className: "space-y-4", children: children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_react4.default.Fragment, { children: renderComponent(child) }, child.id)) }),
|
|
3139
|
+
footer && footer.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(CardFooter, { className: "bg-gray-50/50 border-t border-gray-100 flex flex-wrap gap-2 pt-6", children: footer.map((footerChild) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_react4.default.Fragment, { children: renderComponent(footerChild) }, footerChild.id)) })
|
|
2689
3140
|
]
|
|
2690
3141
|
}
|
|
2691
3142
|
);
|
|
2692
3143
|
};
|
|
2693
3144
|
|
|
2694
3145
|
// src/atoms/InputAtom.tsx
|
|
2695
|
-
|
|
3146
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
2696
3147
|
var InputAtom = ({
|
|
2697
3148
|
inputType,
|
|
2698
3149
|
label,
|
|
@@ -2707,16 +3158,16 @@ var InputAtom = ({
|
|
|
2707
3158
|
const containerClass = cn("flex flex-col gap-1.5 w-full", className);
|
|
2708
3159
|
const renderLabel = () => {
|
|
2709
3160
|
if (!label) return null;
|
|
2710
|
-
return /* @__PURE__ */
|
|
3161
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(Label, { className: "text-xs font-bold text-gray-400 uppercase tracking-widest pl-1", children: [
|
|
2711
3162
|
label,
|
|
2712
3163
|
" ",
|
|
2713
|
-
required && /* @__PURE__ */
|
|
3164
|
+
required && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { className: "text-destructive", children: "*" })
|
|
2714
3165
|
] });
|
|
2715
3166
|
};
|
|
2716
3167
|
const renderInput = () => {
|
|
2717
3168
|
switch (inputType) {
|
|
2718
3169
|
case "textarea":
|
|
2719
|
-
return /* @__PURE__ */
|
|
3170
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2720
3171
|
Textarea,
|
|
2721
3172
|
{
|
|
2722
3173
|
placeholder,
|
|
@@ -2726,12 +3177,12 @@ var InputAtom = ({
|
|
|
2726
3177
|
}
|
|
2727
3178
|
);
|
|
2728
3179
|
case "select":
|
|
2729
|
-
return /* @__PURE__ */
|
|
2730
|
-
/* @__PURE__ */
|
|
2731
|
-
/* @__PURE__ */
|
|
3180
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(Select, { defaultValue, disabled, children: [
|
|
3181
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SelectTrigger, { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SelectValue, { placeholder: placeholder || "Select option" }) }),
|
|
3182
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SelectContent, { children: options?.map((opt) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
2732
3183
|
] });
|
|
2733
3184
|
case "slider":
|
|
2734
|
-
return /* @__PURE__ */
|
|
3185
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "pt-4 pb-2", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2735
3186
|
Slider,
|
|
2736
3187
|
{
|
|
2737
3188
|
defaultValue: [defaultValue || config?.min || 0],
|
|
@@ -2742,8 +3193,8 @@ var InputAtom = ({
|
|
|
2742
3193
|
}
|
|
2743
3194
|
) });
|
|
2744
3195
|
case "checkbox":
|
|
2745
|
-
return /* @__PURE__ */
|
|
2746
|
-
/* @__PURE__ */
|
|
3196
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "flex items-center space-x-2 py-2", children: [
|
|
3197
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2747
3198
|
Checkbox,
|
|
2748
3199
|
{
|
|
2749
3200
|
id: label,
|
|
@@ -2751,7 +3202,7 @@ var InputAtom = ({
|
|
|
2751
3202
|
disabled
|
|
2752
3203
|
}
|
|
2753
3204
|
),
|
|
2754
|
-
/* @__PURE__ */
|
|
3205
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2755
3206
|
"label",
|
|
2756
3207
|
{
|
|
2757
3208
|
htmlFor: label,
|
|
@@ -2761,8 +3212,8 @@ var InputAtom = ({
|
|
|
2761
3212
|
)
|
|
2762
3213
|
] });
|
|
2763
3214
|
case "switch":
|
|
2764
|
-
return /* @__PURE__ */
|
|
2765
|
-
/* @__PURE__ */
|
|
3215
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "flex items-center space-x-2 py-2", children: [
|
|
3216
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2766
3217
|
Switch,
|
|
2767
3218
|
{
|
|
2768
3219
|
id: label,
|
|
@@ -2770,31 +3221,31 @@ var InputAtom = ({
|
|
|
2770
3221
|
disabled
|
|
2771
3222
|
}
|
|
2772
3223
|
),
|
|
2773
|
-
/* @__PURE__ */
|
|
3224
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Label, { htmlFor: label, children: label })
|
|
2774
3225
|
] });
|
|
2775
3226
|
case "radio":
|
|
2776
|
-
return /* @__PURE__ */
|
|
2777
|
-
/* @__PURE__ */
|
|
3227
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(RadioGroup, { defaultValue, disabled, children: options?.map((opt) => /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "flex items-center space-x-2", children: [
|
|
3228
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2778
3229
|
RadioGroupItem,
|
|
2779
3230
|
{
|
|
2780
3231
|
value: opt.value,
|
|
2781
3232
|
id: `${label}-${opt.value}`
|
|
2782
3233
|
}
|
|
2783
3234
|
),
|
|
2784
|
-
/* @__PURE__ */
|
|
3235
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Label, { htmlFor: `${label}-${opt.value}`, children: opt.label })
|
|
2785
3236
|
] }, opt.value)) });
|
|
2786
3237
|
case "otp":
|
|
2787
|
-
return /* @__PURE__ */
|
|
3238
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2788
3239
|
InputOTP,
|
|
2789
3240
|
{
|
|
2790
3241
|
maxLength: config?.maxLength || 6,
|
|
2791
3242
|
disabled,
|
|
2792
3243
|
defaultValue,
|
|
2793
|
-
children: /* @__PURE__ */
|
|
3244
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(InputOTPGroup, { children: Array.from({ length: config?.maxLength || 6 }).map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(InputOTPSlot, { index: i }, i)) })
|
|
2794
3245
|
}
|
|
2795
3246
|
);
|
|
2796
3247
|
default:
|
|
2797
|
-
return /* @__PURE__ */
|
|
3248
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
2798
3249
|
Input,
|
|
2799
3250
|
{
|
|
2800
3251
|
type: inputType,
|
|
@@ -2806,14 +3257,14 @@ var InputAtom = ({
|
|
|
2806
3257
|
);
|
|
2807
3258
|
}
|
|
2808
3259
|
};
|
|
2809
|
-
return /* @__PURE__ */
|
|
3260
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: containerClass, children: [
|
|
2810
3261
|
inputType !== "checkbox" && inputType !== "switch" && renderLabel(),
|
|
2811
3262
|
renderInput()
|
|
2812
3263
|
] });
|
|
2813
3264
|
};
|
|
2814
3265
|
|
|
2815
3266
|
// src/atoms/BadgeAtom.tsx
|
|
2816
|
-
|
|
3267
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
2817
3268
|
var BadgeAtom = ({
|
|
2818
3269
|
label,
|
|
2819
3270
|
variant = "default",
|
|
@@ -2826,34 +3277,34 @@ var BadgeAtom = ({
|
|
|
2826
3277
|
const isCustom = ["purple", "green"].includes(variant || "");
|
|
2827
3278
|
const shadcnVariant = isCustom ? "outline" : variant;
|
|
2828
3279
|
const customClass = isCustom ? customVariants[variant] : "";
|
|
2829
|
-
return /* @__PURE__ */
|
|
3280
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Badge, { variant: shadcnVariant, className: cn(customClass, className), children: label });
|
|
2830
3281
|
};
|
|
2831
3282
|
|
|
2832
3283
|
// src/atoms/AvatarAtom.tsx
|
|
2833
|
-
|
|
3284
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
2834
3285
|
var AvatarAtom = ({
|
|
2835
3286
|
src,
|
|
2836
3287
|
fallback,
|
|
2837
3288
|
alt,
|
|
2838
3289
|
className
|
|
2839
3290
|
}) => {
|
|
2840
|
-
return /* @__PURE__ */
|
|
2841
|
-
src && /* @__PURE__ */
|
|
2842
|
-
/* @__PURE__ */
|
|
3291
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(Avatar, { className: cn("h-10 w-10", className), children: [
|
|
3292
|
+
src && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(AvatarImage, { src, alt }),
|
|
3293
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(AvatarFallback, { className: "bg-purple50 text-purple600 font-bold uppercase", children: fallback })
|
|
2843
3294
|
] });
|
|
2844
3295
|
};
|
|
2845
3296
|
|
|
2846
3297
|
// src/atoms/TabsAtom.tsx
|
|
2847
|
-
|
|
2848
|
-
|
|
3298
|
+
var import_react5 = __toESM(require("react"), 1);
|
|
3299
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
2849
3300
|
var TabsAtom = ({
|
|
2850
3301
|
defaultValue,
|
|
2851
3302
|
tabs,
|
|
2852
3303
|
className,
|
|
2853
3304
|
renderComponent
|
|
2854
3305
|
}) => {
|
|
2855
|
-
return /* @__PURE__ */
|
|
2856
|
-
/* @__PURE__ */
|
|
3306
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Tabs, { defaultValue, className: cn("w-full", className), children: [
|
|
3307
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(TabsList, { className: "bg-gray-100/50 p-1 rounded-xl", children: tabs.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
2857
3308
|
TabsTrigger,
|
|
2858
3309
|
{
|
|
2859
3310
|
value: tab.value,
|
|
@@ -2862,26 +3313,26 @@ var TabsAtom = ({
|
|
|
2862
3313
|
},
|
|
2863
3314
|
tab.value
|
|
2864
3315
|
)) }),
|
|
2865
|
-
tabs.map((tab) => /* @__PURE__ */
|
|
3316
|
+
tabs.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(TabsContent, { value: tab.value, className: "mt-4", children: tab.content.map((child) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_react5.default.Fragment, { children: renderComponent(child) }, child.id)) }, tab.value))
|
|
2866
3317
|
] });
|
|
2867
3318
|
};
|
|
2868
3319
|
|
|
2869
3320
|
// src/atoms/AccordionAtom.tsx
|
|
2870
|
-
|
|
2871
|
-
|
|
3321
|
+
var import_react6 = __toESM(require("react"), 1);
|
|
3322
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
2872
3323
|
var AccordionAtom = ({
|
|
2873
3324
|
items,
|
|
2874
3325
|
className,
|
|
2875
3326
|
renderComponent
|
|
2876
3327
|
}) => {
|
|
2877
|
-
return /* @__PURE__ */
|
|
3328
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Accordion, { type: "single", collapsible: true, className: cn("w-full", className), children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
2878
3329
|
AccordionItem,
|
|
2879
3330
|
{
|
|
2880
3331
|
value: item.value,
|
|
2881
3332
|
className: "border-gray-100",
|
|
2882
3333
|
children: [
|
|
2883
|
-
/* @__PURE__ */
|
|
2884
|
-
/* @__PURE__ */
|
|
3334
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(AccordionTrigger, { className: "text-sm font-semibold hover:no-underline hover:text-purple600 py-4", children: item.trigger }),
|
|
3335
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(AccordionContent, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "pt-2 pb-4", children: item.content.map((child) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_react6.default.Fragment, { children: renderComponent(child) }, child.id)) }) })
|
|
2885
3336
|
]
|
|
2886
3337
|
},
|
|
2887
3338
|
item.value
|
|
@@ -2889,23 +3340,23 @@ var AccordionAtom = ({
|
|
|
2889
3340
|
};
|
|
2890
3341
|
|
|
2891
3342
|
// src/atoms/ProgressAtom.tsx
|
|
2892
|
-
|
|
3343
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
2893
3344
|
var ProgressAtom = ({
|
|
2894
3345
|
value,
|
|
2895
3346
|
className
|
|
2896
3347
|
}) => {
|
|
2897
|
-
return /* @__PURE__ */
|
|
3348
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: cn("w-full py-2", className), children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Progress, { value, className: "h-2 bg-gray-100" }) });
|
|
2898
3349
|
};
|
|
2899
3350
|
|
|
2900
3351
|
// src/atoms/SkeletonAtom.tsx
|
|
2901
|
-
|
|
3352
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
2902
3353
|
var SkeletonAtom = ({
|
|
2903
3354
|
shape = "rect",
|
|
2904
3355
|
width,
|
|
2905
3356
|
height,
|
|
2906
3357
|
className
|
|
2907
3358
|
}) => {
|
|
2908
|
-
return /* @__PURE__ */
|
|
3359
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
2909
3360
|
Skeleton,
|
|
2910
3361
|
{
|
|
2911
3362
|
className: cn(
|
|
@@ -2919,8 +3370,7 @@ var SkeletonAtom = ({
|
|
|
2919
3370
|
};
|
|
2920
3371
|
|
|
2921
3372
|
// src/atoms/AlertAtom.tsx
|
|
2922
|
-
|
|
2923
|
-
import { jsx as jsx52, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
3373
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
2924
3374
|
var AlertAtom = ({
|
|
2925
3375
|
title,
|
|
2926
3376
|
description,
|
|
@@ -2929,12 +3379,12 @@ var AlertAtom = ({
|
|
|
2929
3379
|
}) => {
|
|
2930
3380
|
const IconMap = {
|
|
2931
3381
|
default: Info,
|
|
2932
|
-
destructive:
|
|
2933
|
-
warning:
|
|
3382
|
+
destructive: CircleAlert,
|
|
3383
|
+
warning: TriangleAlert,
|
|
2934
3384
|
info: Info,
|
|
2935
|
-
success:
|
|
3385
|
+
success: CircleCheck
|
|
2936
3386
|
};
|
|
2937
|
-
const
|
|
3387
|
+
const Icon3 = IconMap[variant] || Info;
|
|
2938
3388
|
const variantMap = {
|
|
2939
3389
|
warning: "border-amber-200 bg-amber-50 text-amber-900 [&>svg]:text-amber-600",
|
|
2940
3390
|
info: "border-blue-200 bg-blue-50 text-blue-900 [&>svg]:text-blue-600",
|
|
@@ -2942,27 +3392,27 @@ var AlertAtom = ({
|
|
|
2942
3392
|
};
|
|
2943
3393
|
const customClass = variantMap[variant] || "";
|
|
2944
3394
|
const shadcnVariant = ["warning", "info", "success"].includes(variant) ? "default" : variant;
|
|
2945
|
-
return /* @__PURE__ */
|
|
3395
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
|
|
2946
3396
|
Alert,
|
|
2947
3397
|
{
|
|
2948
3398
|
variant: shadcnVariant,
|
|
2949
3399
|
className: cn("rounded-2xl", customClass, className),
|
|
2950
3400
|
children: [
|
|
2951
|
-
/* @__PURE__ */
|
|
2952
|
-
/* @__PURE__ */
|
|
2953
|
-
description && /* @__PURE__ */
|
|
3401
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon3, { className: "h-4 w-4" }),
|
|
3402
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(AlertTitle, { className: "font-bold", children: title }),
|
|
3403
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(AlertDescription, { children: description })
|
|
2954
3404
|
]
|
|
2955
3405
|
}
|
|
2956
3406
|
);
|
|
2957
3407
|
};
|
|
2958
3408
|
|
|
2959
3409
|
// src/atoms/SeparatorAtom.tsx
|
|
2960
|
-
|
|
3410
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
2961
3411
|
var SeparatorAtom = ({
|
|
2962
3412
|
orientation = "horizontal",
|
|
2963
3413
|
className
|
|
2964
3414
|
}) => {
|
|
2965
|
-
return /* @__PURE__ */
|
|
3415
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
2966
3416
|
Separator2,
|
|
2967
3417
|
{
|
|
2968
3418
|
orientation,
|
|
@@ -2972,21 +3422,21 @@ var SeparatorAtom = ({
|
|
|
2972
3422
|
};
|
|
2973
3423
|
|
|
2974
3424
|
// src/atoms/TableAtom.tsx
|
|
2975
|
-
|
|
3425
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
2976
3426
|
var TableAtom = ({
|
|
2977
3427
|
headers,
|
|
2978
3428
|
rows,
|
|
2979
3429
|
className
|
|
2980
3430
|
}) => {
|
|
2981
|
-
return /* @__PURE__ */
|
|
3431
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2982
3432
|
"div",
|
|
2983
3433
|
{
|
|
2984
3434
|
className: cn(
|
|
2985
3435
|
"rounded-2xl border border-gray-100 overflow-hidden bg-white",
|
|
2986
3436
|
className
|
|
2987
3437
|
),
|
|
2988
|
-
children: /* @__PURE__ */
|
|
2989
|
-
/* @__PURE__ */
|
|
3438
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(Table, { children: [
|
|
3439
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TableHeader, { className: "bg-gray-50/50", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TableRow, { children: headers.map((header, i) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2990
3440
|
TableHead,
|
|
2991
3441
|
{
|
|
2992
3442
|
className: "text-xs font-bold text-gray-400 uppercase tracking-widest px-6 py-4",
|
|
@@ -2994,11 +3444,11 @@ var TableAtom = ({
|
|
|
2994
3444
|
},
|
|
2995
3445
|
i
|
|
2996
3446
|
)) }) }),
|
|
2997
|
-
/* @__PURE__ */
|
|
3447
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TableBody, { children: rows.map((row, i) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2998
3448
|
TableRow,
|
|
2999
3449
|
{
|
|
3000
3450
|
className: "hover:bg-purple-50/30 transition-colors border-gray-50",
|
|
3001
|
-
children: row.map((cell, j) => /* @__PURE__ */
|
|
3451
|
+
children: row.map((cell, j) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
3002
3452
|
TableCell,
|
|
3003
3453
|
{
|
|
3004
3454
|
className: "text-sm text-gray-700 px-6 py-4 font-medium",
|
|
@@ -3015,57 +3465,57 @@ var TableAtom = ({
|
|
|
3015
3465
|
};
|
|
3016
3466
|
|
|
3017
3467
|
// src/atoms/ScrollAreaAtom.tsx
|
|
3018
|
-
|
|
3019
|
-
|
|
3468
|
+
var import_react7 = __toESM(require("react"), 1);
|
|
3469
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
3020
3470
|
var ScrollAreaAtom = ({
|
|
3021
3471
|
maxHeight = "300px",
|
|
3022
3472
|
children,
|
|
3023
3473
|
className,
|
|
3024
3474
|
renderComponent
|
|
3025
3475
|
}) => {
|
|
3026
|
-
return /* @__PURE__ */
|
|
3476
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
|
|
3027
3477
|
ScrollArea,
|
|
3028
3478
|
{
|
|
3029
3479
|
className: cn("rounded-xl border", className),
|
|
3030
3480
|
style: { height: maxHeight },
|
|
3031
3481
|
children: [
|
|
3032
|
-
/* @__PURE__ */
|
|
3033
|
-
/* @__PURE__ */
|
|
3482
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "p-4", children: children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react7.default.Fragment, { children: renderComponent(child) }, child.id)) }),
|
|
3483
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ScrollBar, { orientation: "vertical" })
|
|
3034
3484
|
]
|
|
3035
3485
|
}
|
|
3036
3486
|
);
|
|
3037
3487
|
};
|
|
3038
3488
|
|
|
3039
3489
|
// src/atoms/CarouselAtom.tsx
|
|
3040
|
-
|
|
3041
|
-
|
|
3490
|
+
var import_react8 = __toESM(require("react"), 1);
|
|
3491
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
3042
3492
|
var CarouselAtom = ({
|
|
3043
3493
|
items,
|
|
3044
3494
|
className,
|
|
3045
3495
|
renderComponent
|
|
3046
3496
|
}) => {
|
|
3047
|
-
return /* @__PURE__ */
|
|
3048
|
-
/* @__PURE__ */
|
|
3049
|
-
/* @__PURE__ */
|
|
3050
|
-
/* @__PURE__ */
|
|
3497
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Carousel, { className: cn("w-full max-w-xs mx-auto", className), children: [
|
|
3498
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(CarouselContent, { children: items.map((slide, index) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(CarouselItem, { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "p-1", children: slide.map((child) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_react8.default.Fragment, { children: renderComponent(child) }, child.id)) }) }, index)) }),
|
|
3499
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(CarouselPrevious, {}),
|
|
3500
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(CarouselNext, {})
|
|
3051
3501
|
] });
|
|
3052
3502
|
};
|
|
3053
3503
|
|
|
3054
3504
|
// src/atoms/AspectRatioAtom.tsx
|
|
3055
|
-
|
|
3056
|
-
|
|
3505
|
+
var import_react9 = __toESM(require("react"), 1);
|
|
3506
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
3057
3507
|
var AspectRatioAtom = ({
|
|
3058
3508
|
ratio = 16 / 9,
|
|
3059
3509
|
children,
|
|
3060
3510
|
className,
|
|
3061
3511
|
renderComponent
|
|
3062
3512
|
}) => {
|
|
3063
|
-
return /* @__PURE__ */
|
|
3513
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: cn("w-full", className), children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(AspectRatio, { ratio, children: children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react9.default.Fragment, { children: renderComponent(child) }, child.id)) }) });
|
|
3064
3514
|
};
|
|
3065
3515
|
|
|
3066
3516
|
// src/atoms/CollapsibleAtom.tsx
|
|
3067
|
-
|
|
3068
|
-
|
|
3517
|
+
var import_react10 = __toESM(require("react"), 1);
|
|
3518
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
3069
3519
|
var CollapsibleAtom = ({
|
|
3070
3520
|
trigger,
|
|
3071
3521
|
content,
|
|
@@ -3073,52 +3523,52 @@ var CollapsibleAtom = ({
|
|
|
3073
3523
|
className,
|
|
3074
3524
|
renderComponent
|
|
3075
3525
|
}) => {
|
|
3076
|
-
return /* @__PURE__ */
|
|
3526
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
3077
3527
|
Collapsible,
|
|
3078
3528
|
{
|
|
3079
3529
|
defaultOpen,
|
|
3080
3530
|
className: cn("w-full space-y-2", className),
|
|
3081
3531
|
children: [
|
|
3082
|
-
/* @__PURE__ */
|
|
3083
|
-
/* @__PURE__ */
|
|
3532
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(CollapsibleTrigger2, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "flex items-center justify-between space-x-4 px-4 py-2 bg-gray-50 rounded-lg cursor-pointer hover:bg-gray-100 transition-colors", children: trigger.map((child) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react10.default.Fragment, { children: renderComponent(child) }, child.id)) }) }),
|
|
3533
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(CollapsibleContent2, { className: "space-y-2", children: content.map((child) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react10.default.Fragment, { children: renderComponent(child) }, child.id)) })
|
|
3084
3534
|
]
|
|
3085
3535
|
}
|
|
3086
3536
|
);
|
|
3087
3537
|
};
|
|
3088
3538
|
|
|
3089
3539
|
// src/atoms/TooltipAtom.tsx
|
|
3090
|
-
|
|
3091
|
-
|
|
3540
|
+
var import_react11 = __toESM(require("react"), 1);
|
|
3541
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
3092
3542
|
var TooltipAtom = ({
|
|
3093
3543
|
content,
|
|
3094
3544
|
children,
|
|
3095
3545
|
className,
|
|
3096
3546
|
renderComponent
|
|
3097
3547
|
}) => {
|
|
3098
|
-
return /* @__PURE__ */
|
|
3099
|
-
/* @__PURE__ */
|
|
3100
|
-
/* @__PURE__ */
|
|
3548
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(TooltipProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(Tooltip, { children: [
|
|
3549
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: cn("inline-block", className), children: children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react11.default.Fragment, { children: renderComponent(child) }, child.id)) }) }),
|
|
3550
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(TooltipContent, { className: "bg-gray-900 text-white border-none rounded-lg shadow-xl px-3 py-1.5 text-xs", children: content })
|
|
3101
3551
|
] }) });
|
|
3102
3552
|
};
|
|
3103
3553
|
|
|
3104
3554
|
// src/atoms/PopoverAtom.tsx
|
|
3105
|
-
|
|
3106
|
-
|
|
3555
|
+
var import_react12 = __toESM(require("react"), 1);
|
|
3556
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
3107
3557
|
var PopoverAtom = ({
|
|
3108
3558
|
trigger,
|
|
3109
3559
|
content,
|
|
3110
3560
|
className,
|
|
3111
3561
|
renderComponent
|
|
3112
3562
|
}) => {
|
|
3113
|
-
return /* @__PURE__ */
|
|
3114
|
-
/* @__PURE__ */
|
|
3115
|
-
/* @__PURE__ */
|
|
3563
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(Popover, { children: [
|
|
3564
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: cn("inline-block cursor-pointer", className), children: trigger.map((child) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react12.default.Fragment, { children: renderComponent(child) }, child.id)) }) }),
|
|
3565
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(PopoverContent, { className: "w-80 rounded-2xl shadow-2xl border-gray-100 p-4 bg-white/95 backdrop-blur-sm", children: content.map((child) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react12.default.Fragment, { children: renderComponent(child) }, child.id)) })
|
|
3116
3566
|
] });
|
|
3117
3567
|
};
|
|
3118
3568
|
|
|
3119
3569
|
// src/atoms/DialogAtom.tsx
|
|
3120
|
-
|
|
3121
|
-
|
|
3570
|
+
var import_react13 = __toESM(require("react"), 1);
|
|
3571
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
3122
3572
|
var DialogAtom = ({
|
|
3123
3573
|
title,
|
|
3124
3574
|
description,
|
|
@@ -3128,22 +3578,22 @@ var DialogAtom = ({
|
|
|
3128
3578
|
className,
|
|
3129
3579
|
renderComponent
|
|
3130
3580
|
}) => {
|
|
3131
|
-
return /* @__PURE__ */
|
|
3132
|
-
/* @__PURE__ */
|
|
3133
|
-
/* @__PURE__ */
|
|
3134
|
-
/* @__PURE__ */
|
|
3135
|
-
/* @__PURE__ */
|
|
3136
|
-
description && /* @__PURE__ */
|
|
3581
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(Dialog, { children: [
|
|
3582
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(DialogTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: cn("inline-block cursor-pointer", className), children: trigger.map((child) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_react13.default.Fragment, { children: renderComponent(child) }, child.id)) }) }),
|
|
3583
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(DialogContent, { className: "sm:max-w-[425px] rounded-3xl p-6 bg-white/95 backdrop-blur-md shadow-3xl border-gray-100", children: [
|
|
3584
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(DialogHeader, { children: [
|
|
3585
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(DialogTitle, { className: "text-xl font-bold bg-gradient-to-r from-purple600 to-indigo-600 bg-clip-text text-transparent", children: title }),
|
|
3586
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(DialogDescription, { className: "text-gray-500 font-medium pt-1", children: description })
|
|
3137
3587
|
] }),
|
|
3138
|
-
/* @__PURE__ */
|
|
3139
|
-
footer && /* @__PURE__ */
|
|
3588
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "py-4", children: children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_react13.default.Fragment, { children: renderComponent(child) }, child.id)) }),
|
|
3589
|
+
footer && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(DialogFooter, { className: "pt-2", children: footer.map((child) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_react13.default.Fragment, { children: renderComponent(child) }, child.id)) })
|
|
3140
3590
|
] })
|
|
3141
3591
|
] });
|
|
3142
3592
|
};
|
|
3143
3593
|
|
|
3144
3594
|
// src/atoms/SheetAtom.tsx
|
|
3145
|
-
|
|
3146
|
-
|
|
3595
|
+
var import_react14 = __toESM(require("react"), 1);
|
|
3596
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
3147
3597
|
var SheetAtom = ({
|
|
3148
3598
|
side = "right",
|
|
3149
3599
|
title,
|
|
@@ -3154,20 +3604,20 @@ var SheetAtom = ({
|
|
|
3154
3604
|
className,
|
|
3155
3605
|
renderComponent
|
|
3156
3606
|
}) => {
|
|
3157
|
-
return /* @__PURE__ */
|
|
3158
|
-
/* @__PURE__ */
|
|
3159
|
-
/* @__PURE__ */
|
|
3607
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(Sheet, { children: [
|
|
3608
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SheetTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: cn("inline-block cursor-pointer", className), children: trigger.map((child) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react14.default.Fragment, { children: renderComponent(child) }, child.id)) }) }),
|
|
3609
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
|
|
3160
3610
|
SheetContent,
|
|
3161
3611
|
{
|
|
3162
3612
|
side,
|
|
3163
3613
|
className: "bg-white/95 backdrop-blur-md border-l-gray-100 shadow-2xl p-6",
|
|
3164
3614
|
children: [
|
|
3165
|
-
/* @__PURE__ */
|
|
3166
|
-
/* @__PURE__ */
|
|
3167
|
-
description && /* @__PURE__ */
|
|
3615
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(SheetHeader, { children: [
|
|
3616
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SheetTitle, { className: "text-xl font-bold text-gray-900", children: title }),
|
|
3617
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SheetDescription, { className: "text-gray-500 font-medium", children: description })
|
|
3168
3618
|
] }),
|
|
3169
|
-
/* @__PURE__ */
|
|
3170
|
-
footer && /* @__PURE__ */
|
|
3619
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "py-8", children: children.map((child) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react14.default.Fragment, { children: renderComponent(child) }, child.id)) }),
|
|
3620
|
+
footer && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SheetFooter, { className: "absolute bottom-6 left-6 right-6", children: footer.map((child) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react14.default.Fragment, { children: renderComponent(child) }, child.id)) })
|
|
3171
3621
|
]
|
|
3172
3622
|
}
|
|
3173
3623
|
)
|
|
@@ -3175,8 +3625,8 @@ var SheetAtom = ({
|
|
|
3175
3625
|
};
|
|
3176
3626
|
|
|
3177
3627
|
// src/atoms/AlertDialogAtom.tsx
|
|
3178
|
-
|
|
3179
|
-
|
|
3628
|
+
var import_react15 = __toESM(require("react"), 1);
|
|
3629
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
3180
3630
|
var AlertDialogAtom = ({
|
|
3181
3631
|
title,
|
|
3182
3632
|
description,
|
|
@@ -3188,16 +3638,16 @@ var AlertDialogAtom = ({
|
|
|
3188
3638
|
className,
|
|
3189
3639
|
renderComponent
|
|
3190
3640
|
}) => {
|
|
3191
|
-
return /* @__PURE__ */
|
|
3192
|
-
/* @__PURE__ */
|
|
3193
|
-
/* @__PURE__ */
|
|
3194
|
-
/* @__PURE__ */
|
|
3195
|
-
/* @__PURE__ */
|
|
3196
|
-
/* @__PURE__ */
|
|
3641
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(AlertDialog, { children: [
|
|
3642
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(AlertDialogTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: cn("inline-block cursor-pointer", className), children: trigger.map((child) => /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_react15.default.Fragment, { children: renderComponent(child) }, child.id)) }) }),
|
|
3643
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(AlertDialogContent, { className: "rounded-3xl p-6 bg-white shadow-3xl border-gray-100", children: [
|
|
3644
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(AlertDialogHeader, { children: [
|
|
3645
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(AlertDialogTitle, { className: "text-lg font-bold text-gray-900", children: title }),
|
|
3646
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(AlertDialogDescription, { className: "text-gray-500 font-medium", children: description })
|
|
3197
3647
|
] }),
|
|
3198
|
-
/* @__PURE__ */
|
|
3199
|
-
/* @__PURE__ */
|
|
3200
|
-
/* @__PURE__ */
|
|
3648
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(AlertDialogFooter, { className: "gap-2 sm:gap-0", children: [
|
|
3649
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(AlertDialogCancel, { className: "rounded-full border-gray-200 hover:bg-gray-50 font-semibold", children: cancelLabel }),
|
|
3650
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
3201
3651
|
AlertDialogAction,
|
|
3202
3652
|
{
|
|
3203
3653
|
onClick: () => action && onAction?.(action),
|
|
@@ -3211,21 +3661,20 @@ var AlertDialogAtom = ({
|
|
|
3211
3661
|
};
|
|
3212
3662
|
|
|
3213
3663
|
// src/atoms/BreadcrumbAtom.tsx
|
|
3214
|
-
|
|
3215
|
-
|
|
3664
|
+
var import_react16 = __toESM(require("react"), 1);
|
|
3665
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
3216
3666
|
var BreadcrumbAtom = ({
|
|
3217
3667
|
items,
|
|
3218
3668
|
className
|
|
3219
3669
|
}) => {
|
|
3220
|
-
return /* @__PURE__ */
|
|
3221
|
-
/* @__PURE__ */
|
|
3222
|
-
index < items.length - 1 && /* @__PURE__ */
|
|
3670
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Breadcrumb, { className, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(BreadcrumbList, { children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_react16.default.Fragment, { children: [
|
|
3671
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(BreadcrumbItem, { children: item.isCurrent ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(BreadcrumbPage, { children: item.label }) : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(BreadcrumbLink, { href: item.href || "#", children: item.label }) }),
|
|
3672
|
+
index < items.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(BreadcrumbSeparator, {})
|
|
3223
3673
|
] }, index)) }) });
|
|
3224
3674
|
};
|
|
3225
3675
|
|
|
3226
3676
|
// src/atoms/SpinnerAtom.tsx
|
|
3227
|
-
|
|
3228
|
-
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
3677
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
3229
3678
|
var SpinnerAtom = ({
|
|
3230
3679
|
size = "md",
|
|
3231
3680
|
className
|
|
@@ -3236,8 +3685,8 @@ var SpinnerAtom = ({
|
|
|
3236
3685
|
lg: "h-8 w-8",
|
|
3237
3686
|
xl: "h-12 w-12"
|
|
3238
3687
|
};
|
|
3239
|
-
return /* @__PURE__ */
|
|
3240
|
-
|
|
3688
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
3689
|
+
LoaderCircle,
|
|
3241
3690
|
{
|
|
3242
3691
|
className: cn(
|
|
3243
3692
|
"animate-spin text-purple500",
|
|
@@ -3249,27 +3698,27 @@ var SpinnerAtom = ({
|
|
|
3249
3698
|
};
|
|
3250
3699
|
|
|
3251
3700
|
// src/atoms/CalendarAtom.tsx
|
|
3252
|
-
|
|
3701
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
3253
3702
|
var CalendarAtom = ({
|
|
3254
3703
|
mode = "single",
|
|
3255
3704
|
selectedDate,
|
|
3256
3705
|
className
|
|
3257
3706
|
}) => {
|
|
3258
3707
|
const date = selectedDate ? new Date(selectedDate) : void 0;
|
|
3259
|
-
return /* @__PURE__ */
|
|
3708
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
3260
3709
|
"div",
|
|
3261
3710
|
{
|
|
3262
3711
|
className: cn(
|
|
3263
3712
|
"p-3 bg-white rounded-3xl border border-gray-100 shadow-sm inline-block",
|
|
3264
3713
|
className
|
|
3265
3714
|
),
|
|
3266
|
-
children: /* @__PURE__ */
|
|
3715
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Calendar, { mode, selected: date, className: "rounded-xl" })
|
|
3267
3716
|
}
|
|
3268
3717
|
);
|
|
3269
3718
|
};
|
|
3270
3719
|
|
|
3271
3720
|
// src/atoms/PaginationAtom.tsx
|
|
3272
|
-
|
|
3721
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
3273
3722
|
var PaginationAtom = ({
|
|
3274
3723
|
currentPage,
|
|
3275
3724
|
totalPages,
|
|
@@ -3277,36 +3726,36 @@ var PaginationAtom = ({
|
|
|
3277
3726
|
hasPrev = true,
|
|
3278
3727
|
className
|
|
3279
3728
|
}) => {
|
|
3280
|
-
return /* @__PURE__ */
|
|
3281
|
-
hasPrev && /* @__PURE__ */
|
|
3282
|
-
/* @__PURE__ */
|
|
3283
|
-
totalPages > currentPage && /* @__PURE__ */
|
|
3284
|
-
hasNext && /* @__PURE__ */
|
|
3729
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Pagination, { className, children: /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(PaginationContent, { children: [
|
|
3730
|
+
hasPrev && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(PaginationPrevious, { href: "#" }) }),
|
|
3731
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(PaginationLink, { href: "#", isActive: true, children: currentPage }) }),
|
|
3732
|
+
totalPages > currentPage && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(PaginationEllipsis, {}) }),
|
|
3733
|
+
hasNext && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(PaginationNext, { href: "#" }) })
|
|
3285
3734
|
] }) });
|
|
3286
3735
|
};
|
|
3287
3736
|
|
|
3288
3737
|
// src/atoms/CommandAtom.tsx
|
|
3289
|
-
|
|
3290
|
-
|
|
3738
|
+
var import_react17 = __toESM(require("react"), 1);
|
|
3739
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
3291
3740
|
var CommandAtom = ({
|
|
3292
3741
|
placeholder = "Search...",
|
|
3293
3742
|
groups,
|
|
3294
3743
|
className
|
|
3295
3744
|
}) => {
|
|
3296
|
-
return /* @__PURE__ */
|
|
3745
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
3297
3746
|
"div",
|
|
3298
3747
|
{
|
|
3299
3748
|
className: cn(
|
|
3300
3749
|
"rounded-2xl border border-gray-100 shadow-lg overflow-hidden bg-white max-w-[400px]",
|
|
3301
3750
|
className
|
|
3302
3751
|
),
|
|
3303
|
-
children: /* @__PURE__ */
|
|
3304
|
-
/* @__PURE__ */
|
|
3305
|
-
/* @__PURE__ */
|
|
3306
|
-
/* @__PURE__ */
|
|
3307
|
-
groups.map((group, i) => /* @__PURE__ */
|
|
3308
|
-
/* @__PURE__ */
|
|
3309
|
-
i < groups.length - 1 && /* @__PURE__ */
|
|
3752
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(Command, { children: [
|
|
3753
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(CommandInput, { placeholder }),
|
|
3754
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(CommandList, { children: [
|
|
3755
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(CommandEmpty, { children: "No results found." }),
|
|
3756
|
+
groups.map((group, i) => /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(import_react17.default.Fragment, { children: [
|
|
3757
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(CommandGroup, { heading: group.heading, children: group.items.map((item, j) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(CommandItem, { value: item.value, children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { children: item.label }) }, j)) }),
|
|
3758
|
+
i < groups.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(CommandSeparator, {})
|
|
3310
3759
|
] }, i))
|
|
3311
3760
|
] })
|
|
3312
3761
|
] })
|
|
@@ -3315,10 +3764,9 @@ var CommandAtom = ({
|
|
|
3315
3764
|
};
|
|
3316
3765
|
|
|
3317
3766
|
// src/molecules/generic/EditableField/EditableField.tsx
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
var EditableField = React52.memo(
|
|
3767
|
+
var import_react18 = __toESM(require("react"), 1);
|
|
3768
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
3769
|
+
var EditableField = import_react18.default.memo(
|
|
3322
3770
|
({
|
|
3323
3771
|
label,
|
|
3324
3772
|
value,
|
|
@@ -3334,12 +3782,12 @@ var EditableField = React52.memo(
|
|
|
3334
3782
|
renderDisplay,
|
|
3335
3783
|
renderEdit
|
|
3336
3784
|
}) => {
|
|
3337
|
-
const [localValue, setLocalValue] =
|
|
3338
|
-
const inputRef =
|
|
3339
|
-
|
|
3785
|
+
const [localValue, setLocalValue] = (0, import_react18.useState)(value);
|
|
3786
|
+
const inputRef = (0, import_react18.useRef)(null);
|
|
3787
|
+
(0, import_react18.useEffect)(() => {
|
|
3340
3788
|
setLocalValue(value);
|
|
3341
3789
|
}, [value, isEditingProp]);
|
|
3342
|
-
|
|
3790
|
+
(0, import_react18.useEffect)(() => {
|
|
3343
3791
|
if (isEditingProp) {
|
|
3344
3792
|
setTimeout(() => inputRef.current?.focus(), 0);
|
|
3345
3793
|
}
|
|
@@ -3361,7 +3809,7 @@ var EditableField = React52.memo(
|
|
|
3361
3809
|
}
|
|
3362
3810
|
switch (type) {
|
|
3363
3811
|
case "textarea":
|
|
3364
|
-
return /* @__PURE__ */
|
|
3812
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
3365
3813
|
Textarea,
|
|
3366
3814
|
{
|
|
3367
3815
|
ref: inputRef,
|
|
@@ -3374,29 +3822,29 @@ var EditableField = React52.memo(
|
|
|
3374
3822
|
}
|
|
3375
3823
|
);
|
|
3376
3824
|
case "select":
|
|
3377
|
-
return /* @__PURE__ */
|
|
3825
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
|
|
3378
3826
|
Select,
|
|
3379
3827
|
{
|
|
3380
3828
|
value: localValue?.toString(),
|
|
3381
3829
|
onValueChange: (val) => setLocalValue(val),
|
|
3382
3830
|
children: [
|
|
3383
|
-
/* @__PURE__ */
|
|
3831
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(SelectTrigger, { className: "w-full", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
3384
3832
|
SelectValue,
|
|
3385
3833
|
{
|
|
3386
3834
|
placeholder: config.placeholder || "Select an option"
|
|
3387
3835
|
}
|
|
3388
3836
|
) }),
|
|
3389
|
-
/* @__PURE__ */
|
|
3837
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(SelectContent, { children: config.options?.map((opt) => {
|
|
3390
3838
|
const label2 = typeof opt === "string" ? opt : opt.label;
|
|
3391
3839
|
const val = typeof opt === "string" ? opt : opt.value;
|
|
3392
|
-
return /* @__PURE__ */
|
|
3840
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(SelectItem, { value: val, children: label2 }, val);
|
|
3393
3841
|
}) })
|
|
3394
3842
|
]
|
|
3395
3843
|
}
|
|
3396
3844
|
);
|
|
3397
3845
|
case "slider":
|
|
3398
|
-
return /* @__PURE__ */
|
|
3399
|
-
/* @__PURE__ */
|
|
3846
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "pt-6 pb-2 px-2", children: [
|
|
3847
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
3400
3848
|
Slider,
|
|
3401
3849
|
{
|
|
3402
3850
|
defaultValue: [localValue?.min || 0, localValue?.max || 100],
|
|
@@ -3406,10 +3854,10 @@ var EditableField = React52.memo(
|
|
|
3406
3854
|
onValueChange: ([min, max]) => setLocalValue({ min, max })
|
|
3407
3855
|
}
|
|
3408
3856
|
),
|
|
3409
|
-
config.sliderConfig?.formatValue && /* @__PURE__ */
|
|
3857
|
+
config.sliderConfig?.formatValue && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "mt-2 text-xs text-muted-foreground text-center", children: config.sliderConfig.formatValue(localValue) })
|
|
3410
3858
|
] });
|
|
3411
3859
|
case "number":
|
|
3412
|
-
return /* @__PURE__ */
|
|
3860
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
3413
3861
|
Input,
|
|
3414
3862
|
{
|
|
3415
3863
|
ref: inputRef,
|
|
@@ -3423,7 +3871,7 @@ var EditableField = React52.memo(
|
|
|
3423
3871
|
}
|
|
3424
3872
|
);
|
|
3425
3873
|
default:
|
|
3426
|
-
return /* @__PURE__ */
|
|
3874
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
3427
3875
|
Input,
|
|
3428
3876
|
{
|
|
3429
3877
|
ref: inputRef,
|
|
@@ -3442,13 +3890,13 @@ var EditableField = React52.memo(
|
|
|
3442
3890
|
return config.sliderConfig?.formatValue ? config.sliderConfig.formatValue(value) : `${value?.min} - ${value?.max}`;
|
|
3443
3891
|
}
|
|
3444
3892
|
if (!value)
|
|
3445
|
-
return /* @__PURE__ */
|
|
3893
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: "text-muted-foreground italic", children: "Not set" });
|
|
3446
3894
|
return value.toString();
|
|
3447
3895
|
};
|
|
3448
|
-
return /* @__PURE__ */
|
|
3449
|
-
/* @__PURE__ */
|
|
3450
|
-
/* @__PURE__ */
|
|
3451
|
-
isChanged && !isEditingProp && /* @__PURE__ */
|
|
3896
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: cn("group flex flex-col gap-1.5 py-2", className), children: [
|
|
3897
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "flex items-center justify-between", children: [
|
|
3898
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Label, { className: "text-xs font-medium text-gray500 uppercase tracking-tight", children: label }),
|
|
3899
|
+
isChanged && !isEditingProp && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
3452
3900
|
"div",
|
|
3453
3901
|
{
|
|
3454
3902
|
className: "w-1.5 h-1.5 rounded-full bg-amber-500",
|
|
@@ -3456,10 +3904,10 @@ var EditableField = React52.memo(
|
|
|
3456
3904
|
}
|
|
3457
3905
|
)
|
|
3458
3906
|
] }),
|
|
3459
|
-
isEditingProp ? /* @__PURE__ */
|
|
3907
|
+
isEditingProp ? /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
3460
3908
|
renderInput(),
|
|
3461
|
-
/* @__PURE__ */
|
|
3462
|
-
/* @__PURE__ */
|
|
3909
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "flex items-center justify-end gap-2", children: [
|
|
3910
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
3463
3911
|
Button,
|
|
3464
3912
|
{
|
|
3465
3913
|
size: "icon",
|
|
@@ -3467,21 +3915,21 @@ var EditableField = React52.memo(
|
|
|
3467
3915
|
className: "h-8 w-8 text-destructive border-destructive/20 hover:bg-destructive/10",
|
|
3468
3916
|
onClick: onCancel,
|
|
3469
3917
|
disabled: isSaving,
|
|
3470
|
-
children: /* @__PURE__ */
|
|
3918
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(X, { className: "h-4 w-4" })
|
|
3471
3919
|
}
|
|
3472
3920
|
),
|
|
3473
|
-
/* @__PURE__ */
|
|
3921
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
3474
3922
|
Button,
|
|
3475
3923
|
{
|
|
3476
3924
|
size: "icon",
|
|
3477
3925
|
className: "h-8 w-8 bg-purple500 hover:bg-purple600 text-white",
|
|
3478
3926
|
onClick: handleSave,
|
|
3479
3927
|
disabled: isSaving,
|
|
3480
|
-
children: isSaving ? /* @__PURE__ */
|
|
3928
|
+
children: isSaving ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(LoaderCircle, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Check, { className: "h-4 w-4" })
|
|
3481
3929
|
}
|
|
3482
3930
|
)
|
|
3483
3931
|
] })
|
|
3484
|
-
] }) : /* @__PURE__ */
|
|
3932
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
|
|
3485
3933
|
"div",
|
|
3486
3934
|
{
|
|
3487
3935
|
className: cn(
|
|
@@ -3490,8 +3938,8 @@ var EditableField = React52.memo(
|
|
|
3490
3938
|
),
|
|
3491
3939
|
onClick: onEdit,
|
|
3492
3940
|
children: [
|
|
3493
|
-
/* @__PURE__ */
|
|
3494
|
-
/* @__PURE__ */
|
|
3941
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "text-sm text-gray-900 font-medium truncate flex-1 leading-relaxed", children: formattedValue() }),
|
|
3942
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Pencil, { className: "h-3.5 w-3.5 text-gray-400 opacity-0 group-hover:opacity-100 transition-opacity" })
|
|
3495
3943
|
]
|
|
3496
3944
|
}
|
|
3497
3945
|
)
|
|
@@ -3501,10 +3949,9 @@ var EditableField = React52.memo(
|
|
|
3501
3949
|
EditableField.displayName = "EditableField";
|
|
3502
3950
|
|
|
3503
3951
|
// src/molecules/generic/ActionButton/ActionButton.tsx
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
var ActionButton = React53.memo(
|
|
3952
|
+
var import_react19 = __toESM(require("react"), 1);
|
|
3953
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
3954
|
+
var ActionButton = import_react19.default.memo(
|
|
3508
3955
|
({
|
|
3509
3956
|
label,
|
|
3510
3957
|
secondaryLabel,
|
|
@@ -3519,13 +3966,13 @@ var ActionButton = React53.memo(
|
|
|
3519
3966
|
className,
|
|
3520
3967
|
showCountdown = true
|
|
3521
3968
|
}) => {
|
|
3522
|
-
const [timeLeft, setTimeLeft] =
|
|
3523
|
-
|
|
3969
|
+
const [timeLeft, setTimeLeft] = (0, import_react19.useState)(countdownProp || 0);
|
|
3970
|
+
(0, import_react19.useEffect)(() => {
|
|
3524
3971
|
if (countdownProp !== void 0) {
|
|
3525
3972
|
setTimeLeft(countdownProp);
|
|
3526
3973
|
}
|
|
3527
3974
|
}, [countdownProp]);
|
|
3528
|
-
|
|
3975
|
+
(0, import_react19.useEffect)(() => {
|
|
3529
3976
|
if (countdownProp === void 0 || countdownProp <= 0 || isPaused || isLoading || disabled) {
|
|
3530
3977
|
return;
|
|
3531
3978
|
}
|
|
@@ -3542,8 +3989,8 @@ var ActionButton = React53.memo(
|
|
|
3542
3989
|
return () => clearInterval(timer);
|
|
3543
3990
|
}, [countdownProp, isPaused, isLoading, disabled, onProceed]);
|
|
3544
3991
|
const progress = countdownProp ? timeLeft / countdownProp * 100 : 0;
|
|
3545
|
-
return /* @__PURE__ */
|
|
3546
|
-
/* @__PURE__ */
|
|
3992
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: cn("inline-flex items-center gap-2", className), children: [
|
|
3993
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
|
|
3547
3994
|
Button,
|
|
3548
3995
|
{
|
|
3549
3996
|
variant,
|
|
@@ -3557,15 +4004,15 @@ var ActionButton = React53.memo(
|
|
|
3557
4004
|
isLoading && "opacity-80"
|
|
3558
4005
|
),
|
|
3559
4006
|
children: [
|
|
3560
|
-
/* @__PURE__ */
|
|
3561
|
-
/* @__PURE__ */
|
|
3562
|
-
showCountdown && countdownProp && countdownProp > 0 && !isLoading && /* @__PURE__ */
|
|
4007
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: "relative z-10 flex items-center justify-center gap-2", children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(LoaderCircle, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(import_jsx_runtime70.Fragment, { children: [
|
|
4008
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { children: label }),
|
|
4009
|
+
showCountdown && countdownProp && countdownProp > 0 && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("span", { className: "opacity-70 text-xs bg-white/20 px-1.5 py-0.5 rounded-md tabular-nums min-w-[24px]", children: [
|
|
3563
4010
|
timeLeft,
|
|
3564
4011
|
"s"
|
|
3565
4012
|
] }),
|
|
3566
|
-
/* @__PURE__ */
|
|
4013
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(ArrowRight, { className: "h-4 w-4 group-hover:translate-x-1 transition-transform" })
|
|
3567
4014
|
] }) }),
|
|
3568
|
-
!isPaused && countdownProp && countdownProp > 0 && /* @__PURE__ */
|
|
4015
|
+
!isPaused && countdownProp && countdownProp > 0 && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3569
4016
|
"div",
|
|
3570
4017
|
{
|
|
3571
4018
|
className: "absolute bottom-0 left-0 h-0.5 bg-white/30 transition-all duration-1000 ease-linear",
|
|
@@ -3575,7 +4022,7 @@ var ActionButton = React53.memo(
|
|
|
3575
4022
|
]
|
|
3576
4023
|
}
|
|
3577
4024
|
),
|
|
3578
|
-
countdownProp !== void 0 && countdownProp > 0 && onPause && /* @__PURE__ */
|
|
4025
|
+
countdownProp !== void 0 && countdownProp > 0 && onPause && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3579
4026
|
Button,
|
|
3580
4027
|
{
|
|
3581
4028
|
variant: "ghost",
|
|
@@ -3583,20 +4030,19 @@ var ActionButton = React53.memo(
|
|
|
3583
4030
|
onClick: onPause,
|
|
3584
4031
|
className: "h-10 w-10 rounded-full hover:bg-gray-100 text-gray-500",
|
|
3585
4032
|
title: isPaused ? "Resume auto-proceed" : "Pause auto-proceed",
|
|
3586
|
-
children: isPaused ? /* @__PURE__ */
|
|
4033
|
+
children: isPaused ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Play, { className: "h-4 w-4 fill-current" }) : /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Pause, { className: "h-4 w-4 fill-current" })
|
|
3587
4034
|
}
|
|
3588
4035
|
),
|
|
3589
|
-
secondaryLabel && /* @__PURE__ */
|
|
4036
|
+
secondaryLabel && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { className: "text-sm text-gray-500 font-medium italic", children: secondaryLabel })
|
|
3590
4037
|
] });
|
|
3591
4038
|
}
|
|
3592
4039
|
);
|
|
3593
4040
|
ActionButton.displayName = "ActionButton";
|
|
3594
4041
|
|
|
3595
4042
|
// src/molecules/generic/FormCard/FormCard.tsx
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
var FormCard = React54.memo(
|
|
4043
|
+
var import_react20 = __toESM(require("react"), 1);
|
|
4044
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
4045
|
+
var FormCard = import_react20.default.memo(
|
|
3600
4046
|
({
|
|
3601
4047
|
title,
|
|
3602
4048
|
fields,
|
|
@@ -3622,7 +4068,7 @@ var FormCard = React54.memo(
|
|
|
3622
4068
|
).join("\n");
|
|
3623
4069
|
navigator.clipboard.writeText(text);
|
|
3624
4070
|
};
|
|
3625
|
-
return /* @__PURE__ */
|
|
4071
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
|
|
3626
4072
|
Card,
|
|
3627
4073
|
{
|
|
3628
4074
|
className: cn(
|
|
@@ -3630,22 +4076,22 @@ var FormCard = React54.memo(
|
|
|
3630
4076
|
className
|
|
3631
4077
|
),
|
|
3632
4078
|
children: [
|
|
3633
|
-
/* @__PURE__ */
|
|
3634
|
-
/* @__PURE__ */
|
|
3635
|
-
/* @__PURE__ */
|
|
4079
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(CardHeader, { className: "flex flex-row items-center justify-between pb-2 space-y-0", children: [
|
|
4080
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(CardTitle, { className: "text-lg font-bold text-gray-900 tracking-tight", children: title }),
|
|
4081
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
3636
4082
|
"button",
|
|
3637
4083
|
{
|
|
3638
4084
|
onClick: handleCopyAll,
|
|
3639
4085
|
className: "p-1.5 rounded-md hover:bg-gray-100 text-gray-400 hover:text-gray-600 transition-colors",
|
|
3640
4086
|
title: "Copy all details",
|
|
3641
|
-
children: /* @__PURE__ */
|
|
4087
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Copy, { className: "h-4 w-4" })
|
|
3642
4088
|
}
|
|
3643
4089
|
)
|
|
3644
4090
|
] }),
|
|
3645
|
-
/* @__PURE__ */
|
|
3646
|
-
showTimeline && /* @__PURE__ */
|
|
3647
|
-
/* @__PURE__ */
|
|
3648
|
-
showTimeline && /* @__PURE__ */
|
|
4091
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(CardContent, { className: "pt-2 pb-6", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "relative", children: [
|
|
4092
|
+
showTimeline && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "absolute left-[7px] top-2 bottom-6 w-0.5 border-l-2 border-dotted border-gray200 pointer-events-none" }),
|
|
4093
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "space-y-4", children: fields.map((field) => /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "relative pl-6", children: [
|
|
4094
|
+
showTimeline && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
3649
4095
|
"div",
|
|
3650
4096
|
{
|
|
3651
4097
|
className: cn(
|
|
@@ -3654,7 +4100,7 @@ var FormCard = React54.memo(
|
|
|
3654
4100
|
)
|
|
3655
4101
|
}
|
|
3656
4102
|
),
|
|
3657
|
-
/* @__PURE__ */
|
|
4103
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
3658
4104
|
EditableField,
|
|
3659
4105
|
{
|
|
3660
4106
|
label: field.label,
|
|
@@ -3671,8 +4117,8 @@ var FormCard = React54.memo(
|
|
|
3671
4117
|
)
|
|
3672
4118
|
] }, field.key)) })
|
|
3673
4119
|
] }) }),
|
|
3674
|
-
(onProceed || footer) && /* @__PURE__ */
|
|
3675
|
-
onProceed && proceedLabel && /* @__PURE__ */
|
|
4120
|
+
(onProceed || footer) && /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(CardFooter, { className: "flex flex-col gap-4 pt-0 border-t border-gray-100/50 bg-gray-50/30 p-6", children: [
|
|
4121
|
+
onProceed && proceedLabel && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "w-full flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
3676
4122
|
ActionButton,
|
|
3677
4123
|
{
|
|
3678
4124
|
label: proceedLabel,
|
|
@@ -3692,9 +4138,8 @@ var FormCard = React54.memo(
|
|
|
3692
4138
|
FormCard.displayName = "FormCard";
|
|
3693
4139
|
|
|
3694
4140
|
// src/molecules/creator-discovery/CampaignSeedCard/CampaignSeedCard.tsx
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
import { jsx as jsx72, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
4141
|
+
var import_react21 = __toESM(require("react"), 1);
|
|
4142
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
3698
4143
|
var CAMPAIGN_SEED_FIELDS = [
|
|
3699
4144
|
{
|
|
3700
4145
|
key: "brand",
|
|
@@ -3763,23 +4208,23 @@ var CAMPAIGN_SEED_FIELDS = [
|
|
|
3763
4208
|
rows: 4
|
|
3764
4209
|
}
|
|
3765
4210
|
];
|
|
3766
|
-
var CampaignSeedCard =
|
|
4211
|
+
var CampaignSeedCard = import_react21.default.memo(
|
|
3767
4212
|
({
|
|
3768
4213
|
selectionStatus,
|
|
3769
4214
|
isLatestMessage = true,
|
|
3770
4215
|
className,
|
|
3771
4216
|
...formCardProps
|
|
3772
4217
|
}) => {
|
|
3773
|
-
return /* @__PURE__ */
|
|
4218
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: "flex flex-col gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
3774
4219
|
FormCard,
|
|
3775
4220
|
{
|
|
3776
4221
|
...formCardProps,
|
|
3777
4222
|
title: formCardProps.title || "Brand Information",
|
|
3778
4223
|
fields: CAMPAIGN_SEED_FIELDS,
|
|
3779
4224
|
className,
|
|
3780
|
-
footer: !isLatestMessage && selectionStatus ? /* @__PURE__ */
|
|
3781
|
-
/* @__PURE__ */
|
|
3782
|
-
/* @__PURE__ */
|
|
4225
|
+
footer: !isLatestMessage && selectionStatus ? /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "flex justify-end items-center gap-1.5 text-green-600 text-xs font-semibold py-1", children: [
|
|
4226
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(CircleCheck, { className: "h-4 w-4" }),
|
|
4227
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { children: selectionStatus === "agent" ? "Selected by Agent" : "Selected by User" })
|
|
3783
4228
|
] }) : formCardProps.footer
|
|
3784
4229
|
}
|
|
3785
4230
|
) });
|
|
@@ -3788,11 +4233,10 @@ var CampaignSeedCard = React55.memo(
|
|
|
3788
4233
|
CampaignSeedCard.displayName = "CampaignSeedCard";
|
|
3789
4234
|
|
|
3790
4235
|
// src/molecules/creator-discovery/SearchSpecCard/SearchSpecCard.tsx
|
|
3791
|
-
|
|
4236
|
+
var import_react23 = __toESM(require("react"), 1);
|
|
3792
4237
|
|
|
3793
4238
|
// src/molecules/creator-discovery/SearchSpecCard/CustomFieldRenderers.tsx
|
|
3794
|
-
|
|
3795
|
-
import { ChevronDown as ChevronDown4, Check as Check7 } from "lucide-react";
|
|
4239
|
+
var import_react22 = require("react");
|
|
3796
4240
|
|
|
3797
4241
|
// src/lib/countries.ts
|
|
3798
4242
|
var countries = [
|
|
@@ -3999,15 +4443,15 @@ var countriesWithFlags = Object.fromEntries(
|
|
|
3999
4443
|
);
|
|
4000
4444
|
|
|
4001
4445
|
// src/molecules/creator-discovery/SearchSpecCard/CustomFieldRenderers.tsx
|
|
4002
|
-
|
|
4446
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
4003
4447
|
var CountrySelectEdit = ({
|
|
4004
4448
|
value,
|
|
4005
4449
|
onChange
|
|
4006
4450
|
}) => {
|
|
4007
|
-
const [isDropdownOpen, setIsDropdownOpen] =
|
|
4008
|
-
const [searchTerm, setSearchTerm] =
|
|
4009
|
-
const dropdownRef =
|
|
4010
|
-
|
|
4451
|
+
const [isDropdownOpen, setIsDropdownOpen] = (0, import_react22.useState)(false);
|
|
4452
|
+
const [searchTerm, setSearchTerm] = (0, import_react22.useState)("");
|
|
4453
|
+
const dropdownRef = (0, import_react22.useRef)(null);
|
|
4454
|
+
(0, import_react22.useEffect)(() => {
|
|
4011
4455
|
const handleClickOutside = (event) => {
|
|
4012
4456
|
if (dropdownRef.current && !dropdownRef.current.contains(event.target)) {
|
|
4013
4457
|
setIsDropdownOpen(false);
|
|
@@ -4017,17 +4461,17 @@ var CountrySelectEdit = ({
|
|
|
4017
4461
|
return () => document.removeEventListener("mousedown", handleClickOutside);
|
|
4018
4462
|
}, []);
|
|
4019
4463
|
const inputValue = Array.isArray(value) ? value : [];
|
|
4020
|
-
return /* @__PURE__ */
|
|
4021
|
-
/* @__PURE__ */
|
|
4022
|
-
/* @__PURE__ */
|
|
4464
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "space-y-3", children: [
|
|
4465
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "relative", ref: dropdownRef, children: [
|
|
4466
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
4023
4467
|
"div",
|
|
4024
4468
|
{
|
|
4025
4469
|
className: "flex-1 bg-white border border-gray200 rounded-md px-3 py-2 text-sm cursor-pointer flex items-center justify-between font-medium hover:border-purple500 transition-colors",
|
|
4026
4470
|
onClick: () => setIsDropdownOpen(!isDropdownOpen),
|
|
4027
4471
|
children: [
|
|
4028
|
-
/* @__PURE__ */
|
|
4029
|
-
/* @__PURE__ */
|
|
4030
|
-
|
|
4472
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "text-gray-700", children: inputValue.length > 0 ? `${inputValue.length} ${inputValue.length === 1 ? "country" : "countries"} selected` : "Select countries..." }),
|
|
4473
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
4474
|
+
ChevronDown,
|
|
4031
4475
|
{
|
|
4032
4476
|
className: cn(
|
|
4033
4477
|
"h-4 w-4 text-gray-400 transition-transform",
|
|
@@ -4038,8 +4482,8 @@ var CountrySelectEdit = ({
|
|
|
4038
4482
|
]
|
|
4039
4483
|
}
|
|
4040
4484
|
),
|
|
4041
|
-
isDropdownOpen && /* @__PURE__ */
|
|
4042
|
-
/* @__PURE__ */
|
|
4485
|
+
isDropdownOpen && /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "absolute top-full left-0 right-0 mt-1 bg-white border border-gray200 rounded-lg shadow-xl z-50 max-h-60 overflow-hidden animate-in fade-in slide-in-from-top-1", children: [
|
|
4486
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "p-2 border-b border-gray-100", children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
4043
4487
|
"input",
|
|
4044
4488
|
{
|
|
4045
4489
|
type: "text",
|
|
@@ -4050,9 +4494,9 @@ var CountrySelectEdit = ({
|
|
|
4050
4494
|
onClick: (e) => e.stopPropagation()
|
|
4051
4495
|
}
|
|
4052
4496
|
) }),
|
|
4053
|
-
/* @__PURE__ */
|
|
4497
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "max-h-40 overflow-y-auto p-1", children: countries.filter(
|
|
4054
4498
|
(country) => country.name.toLowerCase().includes(searchTerm.toLowerCase()) || country.code.toLowerCase().includes(searchTerm.toLowerCase())
|
|
4055
|
-
).map((country) => /* @__PURE__ */
|
|
4499
|
+
).map((country) => /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
4056
4500
|
"div",
|
|
4057
4501
|
{
|
|
4058
4502
|
className: cn(
|
|
@@ -4073,31 +4517,31 @@ var CountrySelectEdit = ({
|
|
|
4073
4517
|
}
|
|
4074
4518
|
},
|
|
4075
4519
|
children: [
|
|
4076
|
-
/* @__PURE__ */
|
|
4077
|
-
/* @__PURE__ */
|
|
4078
|
-
/* @__PURE__ */
|
|
4520
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
4521
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "text-sm text-gray-700", children: country.name }),
|
|
4522
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "text-xs text-gray-400 font-mono", children: country.code })
|
|
4079
4523
|
] }),
|
|
4080
|
-
inputValue.includes(country.code) && /* @__PURE__ */
|
|
4524
|
+
inputValue.includes(country.code) && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Check, { className: "h-4 w-4 text-purple500" })
|
|
4081
4525
|
]
|
|
4082
4526
|
},
|
|
4083
4527
|
country.code
|
|
4084
4528
|
)) })
|
|
4085
4529
|
] })
|
|
4086
4530
|
] }),
|
|
4087
|
-
inputValue.length > 0 && /* @__PURE__ */
|
|
4531
|
+
inputValue.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "flex flex-wrap gap-1.5", children: inputValue.map((countryCode) => /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
4088
4532
|
Badge,
|
|
4089
4533
|
{
|
|
4090
4534
|
variant: "secondary",
|
|
4091
4535
|
className: "bg-purple50 text-purple700 border-purple100 hover:bg-purple100 cursor-default flex items-center gap-1 pr-1",
|
|
4092
4536
|
children: [
|
|
4093
4537
|
countryCode,
|
|
4094
|
-
/* @__PURE__ */
|
|
4538
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
4095
4539
|
"button",
|
|
4096
4540
|
{
|
|
4097
4541
|
onClick: () => onChange(inputValue.filter((c) => c !== countryCode)),
|
|
4098
4542
|
className: "hover:bg-purple200 rounded-full p-0.5 transition-colors",
|
|
4099
4543
|
children: [
|
|
4100
|
-
/* @__PURE__ */
|
|
4544
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(ChevronDown, { className: "h-3 w-3 rotate-45" }),
|
|
4101
4545
|
" "
|
|
4102
4546
|
]
|
|
4103
4547
|
}
|
|
@@ -4110,9 +4554,9 @@ var CountrySelectEdit = ({
|
|
|
4110
4554
|
};
|
|
4111
4555
|
var CountrySelectDisplay = ({ value }) => {
|
|
4112
4556
|
if (!value || !Array.isArray(value) || value.length === 0) {
|
|
4113
|
-
return /* @__PURE__ */
|
|
4557
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "text-muted-foreground italic", children: "Not specified" });
|
|
4114
4558
|
}
|
|
4115
|
-
return /* @__PURE__ */
|
|
4559
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "flex flex-wrap gap-1.5", children: value.map((countryCode) => /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
4116
4560
|
Badge,
|
|
4117
4561
|
{
|
|
4118
4562
|
variant: "outline",
|
|
@@ -4134,22 +4578,22 @@ var KeywordBundlesEdit = ({
|
|
|
4134
4578
|
groups[p].push({ bundle: b, index: idx });
|
|
4135
4579
|
});
|
|
4136
4580
|
const sortedPriorities = Object.keys(groups).map((n) => parseInt(n)).sort((a, b) => a - b);
|
|
4137
|
-
return /* @__PURE__ */
|
|
4138
|
-
/* @__PURE__ */
|
|
4139
|
-
/* @__PURE__ */
|
|
4581
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "space-y-6 pt-2", children: sortedPriorities.map((priority) => /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "space-y-3", children: [
|
|
4582
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
4583
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(Badge, { className: "bg-purple500 hover:bg-purple500", children: [
|
|
4140
4584
|
"Priority ",
|
|
4141
4585
|
priority
|
|
4142
4586
|
] }),
|
|
4143
|
-
/* @__PURE__ */
|
|
4587
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "h-px flex-1 bg-gray-100" })
|
|
4144
4588
|
] }),
|
|
4145
|
-
groups[priority].map(({ bundle, index: bundleIndex }) => /* @__PURE__ */
|
|
4589
|
+
groups[priority].map(({ bundle, index: bundleIndex }) => /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
4146
4590
|
"div",
|
|
4147
4591
|
{
|
|
4148
4592
|
className: "bg-gray-50/50 border border-gray-100 rounded-xl p-4 transition-all hover:bg-gray-50 hover:border-gray-200 shadow-sm",
|
|
4149
|
-
children: /* @__PURE__ */
|
|
4150
|
-
/* @__PURE__ */
|
|
4151
|
-
/* @__PURE__ */
|
|
4152
|
-
/* @__PURE__ */
|
|
4593
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "flex flex-col gap-3", children: [
|
|
4594
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("label", { className: "text-[10px] font-bold text-gray-400 uppercase tracking-widest pl-1", children: "Keywords" }),
|
|
4595
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "space-y-3", children: [
|
|
4596
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "flex flex-wrap gap-1.5", children: Array.isArray(bundle.keywords) && bundle.keywords.map((keyword, kIndex) => /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
4153
4597
|
Badge,
|
|
4154
4598
|
{
|
|
4155
4599
|
className: "bg-white border-gray-200 text-gray-700 hover:bg-red-50 hover:text-red-600 hover:border-red-100 transition-all cursor-pointer group",
|
|
@@ -4165,12 +4609,12 @@ var KeywordBundlesEdit = ({
|
|
|
4165
4609
|
},
|
|
4166
4610
|
children: [
|
|
4167
4611
|
keyword,
|
|
4168
|
-
/* @__PURE__ */
|
|
4612
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "ml-1 opacity-0 group-hover:opacity-100 transition-opacity", children: "\xD7" })
|
|
4169
4613
|
]
|
|
4170
4614
|
},
|
|
4171
4615
|
kIndex
|
|
4172
4616
|
)) }),
|
|
4173
|
-
/* @__PURE__ */
|
|
4617
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "flex gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
4174
4618
|
"input",
|
|
4175
4619
|
{
|
|
4176
4620
|
type: "text",
|
|
@@ -4194,9 +4638,9 @@ var KeywordBundlesEdit = ({
|
|
|
4194
4638
|
}
|
|
4195
4639
|
) })
|
|
4196
4640
|
] }),
|
|
4197
|
-
/* @__PURE__ */
|
|
4198
|
-
/* @__PURE__ */
|
|
4199
|
-
/* @__PURE__ */
|
|
4641
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "flex flex-col gap-1.5 mt-1", children: [
|
|
4642
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("label", { className: "text-[10px] font-bold text-gray-400 uppercase tracking-widest pl-1", children: "Priority Level (1-5)" }),
|
|
4643
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
4200
4644
|
"input",
|
|
4201
4645
|
{
|
|
4202
4646
|
type: "number",
|
|
@@ -4224,7 +4668,7 @@ var KeywordBundlesEdit = ({
|
|
|
4224
4668
|
var KeywordBundlesDisplay = ({ value }) => {
|
|
4225
4669
|
const bundles = Array.isArray(value) ? value : [];
|
|
4226
4670
|
if (bundles.length === 0)
|
|
4227
|
-
return /* @__PURE__ */
|
|
4671
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "text-muted-foreground italic", children: "Not specified" });
|
|
4228
4672
|
const groups = {};
|
|
4229
4673
|
bundles.forEach((b) => {
|
|
4230
4674
|
const p = Number(b?.priority) || 1;
|
|
@@ -4233,11 +4677,11 @@ var KeywordBundlesDisplay = ({ value }) => {
|
|
|
4233
4677
|
groups[p].push(...keywords);
|
|
4234
4678
|
});
|
|
4235
4679
|
const sortedPriorities = Object.keys(groups).map((n) => parseInt(n)).sort((a, b) => a - b);
|
|
4236
|
-
return /* @__PURE__ */
|
|
4680
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "space-y-4 pt-1", children: sortedPriorities.map((priority) => {
|
|
4237
4681
|
const deduped = Array.from(new Set(groups[priority]));
|
|
4238
|
-
return /* @__PURE__ */
|
|
4239
|
-
/* @__PURE__ */
|
|
4240
|
-
/* @__PURE__ */
|
|
4682
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "space-y-2", children: [
|
|
4683
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
4684
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
4241
4685
|
Badge,
|
|
4242
4686
|
{
|
|
4243
4687
|
variant: "outline",
|
|
@@ -4248,9 +4692,9 @@ var KeywordBundlesDisplay = ({ value }) => {
|
|
|
4248
4692
|
]
|
|
4249
4693
|
}
|
|
4250
4694
|
),
|
|
4251
|
-
/* @__PURE__ */
|
|
4695
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "h-px flex-1 bg-gray-100/50" })
|
|
4252
4696
|
] }),
|
|
4253
|
-
/* @__PURE__ */
|
|
4697
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "flex flex-wrap gap-1.5", children: deduped.map((keyword) => /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
4254
4698
|
Badge,
|
|
4255
4699
|
{
|
|
4256
4700
|
variant: "secondary",
|
|
@@ -4264,8 +4708,7 @@ var KeywordBundlesDisplay = ({ value }) => {
|
|
|
4264
4708
|
};
|
|
4265
4709
|
|
|
4266
4710
|
// src/molecules/creator-discovery/SearchSpecCard/SearchSpecCard.tsx
|
|
4267
|
-
|
|
4268
|
-
import { jsx as jsx74, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
4711
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
4269
4712
|
var SEARCH_SPEC_FIELDS = [
|
|
4270
4713
|
{
|
|
4271
4714
|
key: "platforms",
|
|
@@ -4299,15 +4742,15 @@ var SEARCH_SPEC_FIELDS = [
|
|
|
4299
4742
|
key: "geography",
|
|
4300
4743
|
label: "Geography",
|
|
4301
4744
|
type: "custom",
|
|
4302
|
-
renderEdit: (value, onChange) => /* @__PURE__ */
|
|
4303
|
-
renderDisplay: (value) => /* @__PURE__ */
|
|
4745
|
+
renderEdit: (value, onChange) => /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(CountrySelectEdit, { value, onChange }),
|
|
4746
|
+
renderDisplay: (value) => /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(CountrySelectDisplay, { value })
|
|
4304
4747
|
},
|
|
4305
4748
|
{
|
|
4306
4749
|
key: "keyword_bundles",
|
|
4307
4750
|
label: "Keyword Bundles",
|
|
4308
4751
|
type: "custom",
|
|
4309
|
-
renderEdit: (value, onChange) => /* @__PURE__ */
|
|
4310
|
-
renderDisplay: (value) => /* @__PURE__ */
|
|
4752
|
+
renderEdit: (value, onChange) => /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(KeywordBundlesEdit, { value, onChange }),
|
|
4753
|
+
renderDisplay: (value) => /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(KeywordBundlesDisplay, { value })
|
|
4311
4754
|
},
|
|
4312
4755
|
{
|
|
4313
4756
|
key: "desired_candidate_count",
|
|
@@ -4319,23 +4762,23 @@ var SEARCH_SPEC_FIELDS = [
|
|
|
4319
4762
|
}
|
|
4320
4763
|
}
|
|
4321
4764
|
];
|
|
4322
|
-
var SearchSpecCard =
|
|
4765
|
+
var SearchSpecCard = import_react23.default.memo(
|
|
4323
4766
|
({
|
|
4324
4767
|
selectionStatus,
|
|
4325
4768
|
isLatestMessage = true,
|
|
4326
4769
|
className,
|
|
4327
4770
|
...formCardProps
|
|
4328
4771
|
}) => {
|
|
4329
|
-
return /* @__PURE__ */
|
|
4772
|
+
return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
4330
4773
|
FormCard,
|
|
4331
4774
|
{
|
|
4332
4775
|
...formCardProps,
|
|
4333
4776
|
title: formCardProps.title || "Creator Search Settings",
|
|
4334
4777
|
fields: SEARCH_SPEC_FIELDS,
|
|
4335
4778
|
className,
|
|
4336
|
-
footer: !isLatestMessage && selectionStatus ? /* @__PURE__ */
|
|
4337
|
-
/* @__PURE__ */
|
|
4338
|
-
/* @__PURE__ */
|
|
4779
|
+
footer: !isLatestMessage && selectionStatus ? /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "flex justify-end items-center gap-1.5 text-green-600 text-xs font-semibold py-1", children: [
|
|
4780
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(CircleCheck, { className: "h-4 w-4" }),
|
|
4781
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { children: selectionStatus === "agent" ? "Selected by Agent" : "Selected by User" })
|
|
4339
4782
|
] }) : formCardProps.footer
|
|
4340
4783
|
}
|
|
4341
4784
|
);
|
|
@@ -4344,10 +4787,9 @@ var SearchSpecCard = React56.memo(
|
|
|
4344
4787
|
SearchSpecCard.displayName = "SearchSpecCard";
|
|
4345
4788
|
|
|
4346
4789
|
// src/molecules/creator-discovery/MCQCard/MCQCard.tsx
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
var MCQCard = React57.memo(
|
|
4790
|
+
var import_react24 = __toESM(require("react"), 1);
|
|
4791
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
4792
|
+
var MCQCard = import_react24.default.memo(
|
|
4351
4793
|
({
|
|
4352
4794
|
question,
|
|
4353
4795
|
options,
|
|
@@ -4373,7 +4815,7 @@ var MCQCard = React57.memo(
|
|
|
4373
4815
|
onProceed?.(selectedOption || recommended || "");
|
|
4374
4816
|
}
|
|
4375
4817
|
};
|
|
4376
|
-
return /* @__PURE__ */
|
|
4818
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
|
|
4377
4819
|
Card,
|
|
4378
4820
|
{
|
|
4379
4821
|
className: cn(
|
|
@@ -4381,11 +4823,11 @@ var MCQCard = React57.memo(
|
|
|
4381
4823
|
className
|
|
4382
4824
|
),
|
|
4383
4825
|
children: [
|
|
4384
|
-
/* @__PURE__ */
|
|
4385
|
-
/* @__PURE__ */
|
|
4826
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(CardHeader, { className: "pb-2", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(CardTitle, { className: "text-lg font-bold text-gray-900 tracking-tight leading-snug", children: question }) }),
|
|
4827
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(CardContent, { className: "space-y-3 pb-6", children: Object.entries(options).map(([key, label]) => {
|
|
4386
4828
|
const isSelected = selectedOption === key;
|
|
4387
4829
|
const isRecommended = key === recommended;
|
|
4388
|
-
return /* @__PURE__ */
|
|
4830
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
|
|
4389
4831
|
"div",
|
|
4390
4832
|
{
|
|
4391
4833
|
onClick: () => handleOptionClick(key),
|
|
@@ -4395,18 +4837,18 @@ var MCQCard = React57.memo(
|
|
|
4395
4837
|
isLoading && "opacity-50 cursor-not-allowed"
|
|
4396
4838
|
),
|
|
4397
4839
|
children: [
|
|
4398
|
-
/* @__PURE__ */
|
|
4840
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4399
4841
|
"div",
|
|
4400
4842
|
{
|
|
4401
4843
|
className: cn(
|
|
4402
4844
|
"mt-1 w-5 h-5 rounded-full border-2 flex items-center justify-center transition-colors",
|
|
4403
4845
|
isSelected ? "border-purple500 bg-purple500" : "border-gray-300 bg-white group-hover:border-gray-400"
|
|
4404
4846
|
),
|
|
4405
|
-
children: isSelected && /* @__PURE__ */
|
|
4847
|
+
children: isSelected && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "w-1.5 h-1.5 rounded-full bg-white" })
|
|
4406
4848
|
}
|
|
4407
4849
|
),
|
|
4408
|
-
/* @__PURE__ */
|
|
4409
|
-
/* @__PURE__ */
|
|
4850
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "flex-1 space-y-1.5", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "flex items-center gap-2 flex-wrap", children: [
|
|
4851
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4410
4852
|
"span",
|
|
4411
4853
|
{
|
|
4412
4854
|
className: cn(
|
|
@@ -4416,18 +4858,18 @@ var MCQCard = React57.memo(
|
|
|
4416
4858
|
children: label
|
|
4417
4859
|
}
|
|
4418
4860
|
),
|
|
4419
|
-
isRecommended && /* @__PURE__ */
|
|
4861
|
+
isRecommended && /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
|
|
4420
4862
|
Badge,
|
|
4421
4863
|
{
|
|
4422
4864
|
variant: "outline",
|
|
4423
4865
|
className: "bg-green-50 text-green-700 border-green-100 flex items-center gap-1 text-[10px] py-0 h-5",
|
|
4424
4866
|
children: [
|
|
4425
|
-
/* @__PURE__ */
|
|
4867
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Sparkles, { className: "h-3 w-3" }),
|
|
4426
4868
|
"Recommended"
|
|
4427
4869
|
]
|
|
4428
4870
|
}
|
|
4429
4871
|
),
|
|
4430
|
-
isSelected && !isLatestMessage && /* @__PURE__ */
|
|
4872
|
+
isSelected && !isLatestMessage && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4431
4873
|
Badge,
|
|
4432
4874
|
{
|
|
4433
4875
|
variant: "outline",
|
|
@@ -4441,7 +4883,7 @@ var MCQCard = React57.memo(
|
|
|
4441
4883
|
key
|
|
4442
4884
|
);
|
|
4443
4885
|
}) }),
|
|
4444
|
-
/* @__PURE__ */
|
|
4886
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(CardFooter, { className: "flex flex-col gap-4 pt-0 border-t border-gray-100/50 bg-gray-50/30 p-6", children: isLatestMessage ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "w-full flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
4445
4887
|
ActionButton,
|
|
4446
4888
|
{
|
|
4447
4889
|
label: selectedOption ? "Continue" : "Proceed with Recommendation",
|
|
@@ -4452,9 +4894,9 @@ var MCQCard = React57.memo(
|
|
|
4452
4894
|
isLoading,
|
|
4453
4895
|
disabled: !selectedOption && !recommended
|
|
4454
4896
|
}
|
|
4455
|
-
) }) : /* @__PURE__ */
|
|
4456
|
-
/* @__PURE__ */
|
|
4457
|
-
/* @__PURE__ */
|
|
4897
|
+
) }) : /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "w-full flex justify-end items-center gap-1.5 text-green-600 text-xs font-semibold", children: [
|
|
4898
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(CircleCheck, { className: "h-4 w-4" }),
|
|
4899
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { children: selectionStatus === "agent" ? "Suggested by Agent, Approved by You" : "Selected by You" })
|
|
4458
4900
|
] }) })
|
|
4459
4901
|
]
|
|
4460
4902
|
}
|
|
@@ -4464,7 +4906,7 @@ var MCQCard = React57.memo(
|
|
|
4464
4906
|
MCQCard.displayName = "MCQCard";
|
|
4465
4907
|
|
|
4466
4908
|
// src/render/PXEngineRenderer.tsx
|
|
4467
|
-
|
|
4909
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
4468
4910
|
var PXEngineRenderer = ({
|
|
4469
4911
|
schema,
|
|
4470
4912
|
onAction
|
|
@@ -4474,7 +4916,7 @@ var PXEngineRenderer = ({
|
|
|
4474
4916
|
const { type, id } = atom;
|
|
4475
4917
|
switch (type) {
|
|
4476
4918
|
case "layout":
|
|
4477
|
-
return /* @__PURE__ */
|
|
4919
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
4478
4920
|
LayoutAtom,
|
|
4479
4921
|
{
|
|
4480
4922
|
...atom,
|
|
@@ -4483,7 +4925,7 @@ var PXEngineRenderer = ({
|
|
|
4483
4925
|
id
|
|
4484
4926
|
);
|
|
4485
4927
|
case "card":
|
|
4486
|
-
return /* @__PURE__ */
|
|
4928
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
4487
4929
|
CardAtom,
|
|
4488
4930
|
{
|
|
4489
4931
|
...atom,
|
|
@@ -4492,27 +4934,27 @@ var PXEngineRenderer = ({
|
|
|
4492
4934
|
id
|
|
4493
4935
|
);
|
|
4494
4936
|
case "text":
|
|
4495
|
-
return /* @__PURE__ */
|
|
4937
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(TextAtom, { ...atom }, id);
|
|
4496
4938
|
case "button":
|
|
4497
|
-
return /* @__PURE__ */
|
|
4939
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(ButtonAtom, { ...atom, onAction }, id);
|
|
4498
4940
|
case "input":
|
|
4499
|
-
return /* @__PURE__ */
|
|
4941
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(InputAtom, { ...atom }, id);
|
|
4500
4942
|
case "badge":
|
|
4501
|
-
return /* @__PURE__ */
|
|
4943
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(BadgeAtom, { ...atom }, id);
|
|
4502
4944
|
case "avatar":
|
|
4503
|
-
return /* @__PURE__ */
|
|
4945
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(AvatarAtom, { ...atom }, id);
|
|
4504
4946
|
case "progress":
|
|
4505
|
-
return /* @__PURE__ */
|
|
4947
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(ProgressAtom, { ...atom }, id);
|
|
4506
4948
|
case "skeleton":
|
|
4507
|
-
return /* @__PURE__ */
|
|
4949
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(SkeletonAtom, { ...atom }, id);
|
|
4508
4950
|
case "alert":
|
|
4509
|
-
return /* @__PURE__ */
|
|
4951
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(AlertAtom, { ...atom }, id);
|
|
4510
4952
|
case "separator":
|
|
4511
|
-
return /* @__PURE__ */
|
|
4953
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(SeparatorAtom, { ...atom }, id);
|
|
4512
4954
|
case "table":
|
|
4513
|
-
return /* @__PURE__ */
|
|
4955
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(TableAtom, { ...atom }, id);
|
|
4514
4956
|
case "tabs":
|
|
4515
|
-
return /* @__PURE__ */
|
|
4957
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
4516
4958
|
TabsAtom,
|
|
4517
4959
|
{
|
|
4518
4960
|
...atom,
|
|
@@ -4521,7 +4963,7 @@ var PXEngineRenderer = ({
|
|
|
4521
4963
|
id
|
|
4522
4964
|
);
|
|
4523
4965
|
case "accordion":
|
|
4524
|
-
return /* @__PURE__ */
|
|
4966
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
4525
4967
|
AccordionAtom,
|
|
4526
4968
|
{
|
|
4527
4969
|
...atom,
|
|
@@ -4530,7 +4972,7 @@ var PXEngineRenderer = ({
|
|
|
4530
4972
|
id
|
|
4531
4973
|
);
|
|
4532
4974
|
case "scroll-area":
|
|
4533
|
-
return /* @__PURE__ */
|
|
4975
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
4534
4976
|
ScrollAreaAtom,
|
|
4535
4977
|
{
|
|
4536
4978
|
...atom,
|
|
@@ -4539,7 +4981,7 @@ var PXEngineRenderer = ({
|
|
|
4539
4981
|
id
|
|
4540
4982
|
);
|
|
4541
4983
|
case "carousel":
|
|
4542
|
-
return /* @__PURE__ */
|
|
4984
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
4543
4985
|
CarouselAtom,
|
|
4544
4986
|
{
|
|
4545
4987
|
...atom,
|
|
@@ -4548,7 +4990,7 @@ var PXEngineRenderer = ({
|
|
|
4548
4990
|
id
|
|
4549
4991
|
);
|
|
4550
4992
|
case "aspect-ratio":
|
|
4551
|
-
return /* @__PURE__ */
|
|
4993
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
4552
4994
|
AspectRatioAtom,
|
|
4553
4995
|
{
|
|
4554
4996
|
...atom,
|
|
@@ -4557,7 +4999,7 @@ var PXEngineRenderer = ({
|
|
|
4557
4999
|
id
|
|
4558
5000
|
);
|
|
4559
5001
|
case "collapsible":
|
|
4560
|
-
return /* @__PURE__ */
|
|
5002
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
4561
5003
|
CollapsibleAtom,
|
|
4562
5004
|
{
|
|
4563
5005
|
...atom,
|
|
@@ -4566,7 +5008,7 @@ var PXEngineRenderer = ({
|
|
|
4566
5008
|
id
|
|
4567
5009
|
);
|
|
4568
5010
|
case "tooltip":
|
|
4569
|
-
return /* @__PURE__ */
|
|
5011
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
4570
5012
|
TooltipAtom,
|
|
4571
5013
|
{
|
|
4572
5014
|
...atom,
|
|
@@ -4575,7 +5017,7 @@ var PXEngineRenderer = ({
|
|
|
4575
5017
|
id
|
|
4576
5018
|
);
|
|
4577
5019
|
case "popover":
|
|
4578
|
-
return /* @__PURE__ */
|
|
5020
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
4579
5021
|
PopoverAtom,
|
|
4580
5022
|
{
|
|
4581
5023
|
...atom,
|
|
@@ -4584,7 +5026,7 @@ var PXEngineRenderer = ({
|
|
|
4584
5026
|
id
|
|
4585
5027
|
);
|
|
4586
5028
|
case "dialog":
|
|
4587
|
-
return /* @__PURE__ */
|
|
5029
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
4588
5030
|
DialogAtom,
|
|
4589
5031
|
{
|
|
4590
5032
|
...atom,
|
|
@@ -4593,7 +5035,7 @@ var PXEngineRenderer = ({
|
|
|
4593
5035
|
id
|
|
4594
5036
|
);
|
|
4595
5037
|
case "sheet":
|
|
4596
|
-
return /* @__PURE__ */
|
|
5038
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
4597
5039
|
SheetAtom,
|
|
4598
5040
|
{
|
|
4599
5041
|
...atom,
|
|
@@ -4602,7 +5044,7 @@ var PXEngineRenderer = ({
|
|
|
4602
5044
|
id
|
|
4603
5045
|
);
|
|
4604
5046
|
case "alert-dialog":
|
|
4605
|
-
return /* @__PURE__ */
|
|
5047
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
4606
5048
|
AlertDialogAtom,
|
|
4607
5049
|
{
|
|
4608
5050
|
...atom,
|
|
@@ -4612,15 +5054,15 @@ var PXEngineRenderer = ({
|
|
|
4612
5054
|
id
|
|
4613
5055
|
);
|
|
4614
5056
|
case "breadcrumb":
|
|
4615
|
-
return /* @__PURE__ */
|
|
5057
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(BreadcrumbAtom, { ...atom }, id);
|
|
4616
5058
|
case "spinner":
|
|
4617
|
-
return /* @__PURE__ */
|
|
5059
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(SpinnerAtom, { ...atom }, id);
|
|
4618
5060
|
case "calendar":
|
|
4619
|
-
return /* @__PURE__ */
|
|
5061
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(CalendarAtom, { ...atom }, id);
|
|
4620
5062
|
case "pagination":
|
|
4621
|
-
return /* @__PURE__ */
|
|
5063
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(PaginationAtom, { ...atom }, id);
|
|
4622
5064
|
case "command":
|
|
4623
|
-
return /* @__PURE__ */
|
|
5065
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(CommandAtom, { ...atom }, id);
|
|
4624
5066
|
default:
|
|
4625
5067
|
return null;
|
|
4626
5068
|
}
|
|
@@ -4629,7 +5071,7 @@ var PXEngineRenderer = ({
|
|
|
4629
5071
|
const { type, id } = molecule;
|
|
4630
5072
|
switch (type) {
|
|
4631
5073
|
case "campaign-seed":
|
|
4632
|
-
return /* @__PURE__ */
|
|
5074
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
4633
5075
|
CampaignSeedCard,
|
|
4634
5076
|
{
|
|
4635
5077
|
...molecule,
|
|
@@ -4638,7 +5080,7 @@ var PXEngineRenderer = ({
|
|
|
4638
5080
|
id
|
|
4639
5081
|
);
|
|
4640
5082
|
case "search-spec":
|
|
4641
|
-
return /* @__PURE__ */
|
|
5083
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
4642
5084
|
SearchSpecCard,
|
|
4643
5085
|
{
|
|
4644
5086
|
...molecule,
|
|
@@ -4647,7 +5089,7 @@ var PXEngineRenderer = ({
|
|
|
4647
5089
|
id
|
|
4648
5090
|
);
|
|
4649
5091
|
case "mcq":
|
|
4650
|
-
return /* @__PURE__ */
|
|
5092
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
4651
5093
|
MCQCard,
|
|
4652
5094
|
{
|
|
4653
5095
|
...molecule,
|
|
@@ -4656,7 +5098,7 @@ var PXEngineRenderer = ({
|
|
|
4656
5098
|
id
|
|
4657
5099
|
);
|
|
4658
5100
|
case "action-button":
|
|
4659
|
-
return /* @__PURE__ */
|
|
5101
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
4660
5102
|
ActionButton,
|
|
4661
5103
|
{
|
|
4662
5104
|
...molecule,
|
|
@@ -4705,9 +5147,10 @@ var PXEngineRenderer = ({
|
|
|
4705
5147
|
}
|
|
4706
5148
|
return renderMolecule(component);
|
|
4707
5149
|
};
|
|
4708
|
-
return /* @__PURE__ */
|
|
5150
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_jsx_runtime76.Fragment, { children: renderComponent(root) });
|
|
4709
5151
|
};
|
|
4710
|
-
export
|
|
5152
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
5153
|
+
0 && (module.exports = {
|
|
4711
5154
|
Accordion,
|
|
4712
5155
|
AccordionAtom,
|
|
4713
5156
|
AccordionContent,
|
|
@@ -4765,8 +5208,8 @@ export {
|
|
|
4765
5208
|
Checkbox,
|
|
4766
5209
|
Collapsible,
|
|
4767
5210
|
CollapsibleAtom,
|
|
4768
|
-
|
|
4769
|
-
|
|
5211
|
+
CollapsibleContent,
|
|
5212
|
+
CollapsibleTrigger,
|
|
4770
5213
|
Command,
|
|
4771
5214
|
CommandAtom,
|
|
4772
5215
|
CommandDialog,
|
|
@@ -4888,7 +5331,7 @@ export {
|
|
|
4888
5331
|
SelectSeparator,
|
|
4889
5332
|
SelectTrigger,
|
|
4890
5333
|
SelectValue,
|
|
4891
|
-
|
|
5334
|
+
Separator,
|
|
4892
5335
|
SeparatorAtom,
|
|
4893
5336
|
Sheet,
|
|
4894
5337
|
SheetAtom,
|
|
@@ -4926,4 +5369,40 @@ export {
|
|
|
4926
5369
|
TooltipProvider,
|
|
4927
5370
|
TooltipTrigger,
|
|
4928
5371
|
cn
|
|
4929
|
-
};
|
|
5372
|
+
});
|
|
5373
|
+
/*! Bundled license information:
|
|
5374
|
+
|
|
5375
|
+
lucide-react/dist/esm/shared/src/utils.js:
|
|
5376
|
+
lucide-react/dist/esm/defaultAttributes.js:
|
|
5377
|
+
lucide-react/dist/esm/Icon.js:
|
|
5378
|
+
lucide-react/dist/esm/createLucideIcon.js:
|
|
5379
|
+
lucide-react/dist/esm/icons/arrow-left.js:
|
|
5380
|
+
lucide-react/dist/esm/icons/arrow-right.js:
|
|
5381
|
+
lucide-react/dist/esm/icons/check.js:
|
|
5382
|
+
lucide-react/dist/esm/icons/chevron-down.js:
|
|
5383
|
+
lucide-react/dist/esm/icons/chevron-left.js:
|
|
5384
|
+
lucide-react/dist/esm/icons/chevron-right.js:
|
|
5385
|
+
lucide-react/dist/esm/icons/chevron-up.js:
|
|
5386
|
+
lucide-react/dist/esm/icons/circle-alert.js:
|
|
5387
|
+
lucide-react/dist/esm/icons/circle-check.js:
|
|
5388
|
+
lucide-react/dist/esm/icons/circle.js:
|
|
5389
|
+
lucide-react/dist/esm/icons/copy.js:
|
|
5390
|
+
lucide-react/dist/esm/icons/dot.js:
|
|
5391
|
+
lucide-react/dist/esm/icons/ellipsis.js:
|
|
5392
|
+
lucide-react/dist/esm/icons/info.js:
|
|
5393
|
+
lucide-react/dist/esm/icons/loader-circle.js:
|
|
5394
|
+
lucide-react/dist/esm/icons/pause.js:
|
|
5395
|
+
lucide-react/dist/esm/icons/pencil.js:
|
|
5396
|
+
lucide-react/dist/esm/icons/play.js:
|
|
5397
|
+
lucide-react/dist/esm/icons/search.js:
|
|
5398
|
+
lucide-react/dist/esm/icons/sparkles.js:
|
|
5399
|
+
lucide-react/dist/esm/icons/triangle-alert.js:
|
|
5400
|
+
lucide-react/dist/esm/icons/x.js:
|
|
5401
|
+
lucide-react/dist/esm/lucide-react.js:
|
|
5402
|
+
(**
|
|
5403
|
+
* @license lucide-react v0.475.0 - ISC
|
|
5404
|
+
*
|
|
5405
|
+
* This source code is licensed under the ISC license.
|
|
5406
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
5407
|
+
*)
|
|
5408
|
+
*/
|