@nextlyhq/ui 0.0.2-alpha.37 → 0.0.2-alpha.39
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/README.md +77 -11
- package/dist/index.cjs +860 -656
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -95
- package/dist/index.d.ts +1 -95
- package/dist/index.mjs +609 -385
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.scoped.css +2 -0
- package/dist/tailwind-preset.cjs +98 -0
- package/dist/tailwind-preset.cjs.map +1 -0
- package/dist/tailwind-preset.d.cts +80 -0
- package/dist/tailwind-preset.d.ts +80 -0
- package/dist/tailwind-preset.mjs +93 -0
- package/dist/tailwind-preset.mjs.map +1 -0
- package/dist/utils.cjs +13 -0
- package/dist/utils.cjs.map +1 -0
- package/dist/utils.d.cts +17 -0
- package/dist/utils.d.ts +17 -0
- package/dist/utils.mjs +11 -0
- package/dist/utils.mjs.map +1 -0
- package/docs/plugin-ui-authoring.md +26 -26
- package/package.json +41 -10
package/dist/index.cjs
CHANGED
|
@@ -1,65 +1,197 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
var
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
var reactAvatar = require('@radix-ui/react-avatar');
|
|
19
|
-
var reactTabs = require('@radix-ui/react-tabs');
|
|
20
|
-
var PopoverPrimitive = require('@radix-ui/react-popover');
|
|
21
|
-
var DialogPrimitive = require('@radix-ui/react-dialog');
|
|
22
|
-
var AlertDialogPrimitive = require('@radix-ui/react-alert-dialog');
|
|
23
|
-
var DropdownMenuPrimitive = require('@radix-ui/react-dropdown-menu');
|
|
24
|
-
var SelectPrimitive = require('@radix-ui/react-select');
|
|
25
|
-
var cmdk = require('cmdk');
|
|
26
|
-
var sonner = require('sonner');
|
|
27
|
-
|
|
28
|
-
function _interopNamespace(e) {
|
|
29
|
-
if (e && e.__esModule) return e;
|
|
30
|
-
var n = Object.create(null);
|
|
31
|
-
if (e) {
|
|
32
|
-
Object.keys(e).forEach(function (k) {
|
|
33
|
-
if (k !== 'default') {
|
|
34
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
35
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
36
|
-
enumerable: true,
|
|
37
|
-
get: function () { return e[k]; }
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
});
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __export = (target, all) => {
|
|
10
|
+
for (var name in all)
|
|
11
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from))
|
|
16
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
17
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
41
18
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
19
|
+
return to;
|
|
20
|
+
};
|
|
21
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
22
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
23
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
24
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
25
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
26
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
27
|
+
mod
|
|
28
|
+
));
|
|
29
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
45
30
|
|
|
46
|
-
|
|
47
|
-
var
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
31
|
+
// src/index.ts
|
|
32
|
+
var index_exports = {};
|
|
33
|
+
__export(index_exports, {
|
|
34
|
+
Accordion: () => Accordion,
|
|
35
|
+
AccordionContent: () => AccordionContent,
|
|
36
|
+
AccordionItem: () => AccordionItem,
|
|
37
|
+
AccordionTrigger: () => AccordionTrigger,
|
|
38
|
+
Alert: () => Alert,
|
|
39
|
+
AlertDescription: () => AlertDescription,
|
|
40
|
+
AlertDialog: () => AlertDialog,
|
|
41
|
+
AlertDialogAction: () => AlertDialogAction,
|
|
42
|
+
AlertDialogCancel: () => AlertDialogCancel,
|
|
43
|
+
AlertDialogContent: () => AlertDialogContent,
|
|
44
|
+
AlertDialogDescription: () => AlertDialogDescription,
|
|
45
|
+
AlertDialogFooter: () => AlertDialogFooter,
|
|
46
|
+
AlertDialogHeader: () => AlertDialogHeader,
|
|
47
|
+
AlertDialogOverlay: () => AlertDialogOverlay,
|
|
48
|
+
AlertDialogPortal: () => AlertDialogPortal,
|
|
49
|
+
AlertDialogTitle: () => AlertDialogTitle,
|
|
50
|
+
AlertDialogTrigger: () => AlertDialogTrigger,
|
|
51
|
+
AlertTitle: () => AlertTitle,
|
|
52
|
+
Avatar: () => Avatar,
|
|
53
|
+
AvatarFallback: () => AvatarFallback,
|
|
54
|
+
AvatarImage: () => AvatarImage,
|
|
55
|
+
Badge: () => Badge,
|
|
56
|
+
Button: () => Button,
|
|
57
|
+
Card: () => Card,
|
|
58
|
+
CardAction: () => CardAction,
|
|
59
|
+
CardContent: () => CardContent,
|
|
60
|
+
CardDescription: () => CardDescription,
|
|
61
|
+
CardFooter: () => CardFooter,
|
|
62
|
+
CardHeader: () => CardHeader,
|
|
63
|
+
CardTitle: () => CardTitle,
|
|
64
|
+
Checkbox: () => Checkbox,
|
|
65
|
+
Collapsible: () => Collapsible,
|
|
66
|
+
CollapsibleContent: () => CollapsibleContent2,
|
|
67
|
+
CollapsibleTrigger: () => CollapsibleTrigger2,
|
|
68
|
+
Command: () => Command,
|
|
69
|
+
CommandDialog: () => CommandDialog,
|
|
70
|
+
CommandEmpty: () => CommandEmpty,
|
|
71
|
+
CommandGroup: () => CommandGroup,
|
|
72
|
+
CommandInput: () => CommandInput,
|
|
73
|
+
CommandItem: () => CommandItem,
|
|
74
|
+
CommandList: () => CommandList,
|
|
75
|
+
CommandSeparator: () => CommandSeparator,
|
|
76
|
+
CommandShortcut: () => CommandShortcut,
|
|
77
|
+
Dialog: () => Dialog,
|
|
78
|
+
DialogClose: () => DialogClose,
|
|
79
|
+
DialogContent: () => DialogContent,
|
|
80
|
+
DialogDescription: () => DialogDescription,
|
|
81
|
+
DialogFooter: () => DialogFooter,
|
|
82
|
+
DialogHeader: () => DialogHeader,
|
|
83
|
+
DialogOverlay: () => DialogOverlay,
|
|
84
|
+
DialogPortal: () => DialogPortal,
|
|
85
|
+
DialogTitle: () => DialogTitle,
|
|
86
|
+
DialogTrigger: () => DialogTrigger,
|
|
87
|
+
DropdownMenu: () => DropdownMenu,
|
|
88
|
+
DropdownMenuCheckboxItem: () => DropdownMenuCheckboxItem,
|
|
89
|
+
DropdownMenuContent: () => DropdownMenuContent,
|
|
90
|
+
DropdownMenuGroup: () => DropdownMenuGroup,
|
|
91
|
+
DropdownMenuItem: () => DropdownMenuItem,
|
|
92
|
+
DropdownMenuLabel: () => DropdownMenuLabel,
|
|
93
|
+
DropdownMenuPortal: () => DropdownMenuPortal,
|
|
94
|
+
DropdownMenuRadioGroup: () => DropdownMenuRadioGroup,
|
|
95
|
+
DropdownMenuRadioItem: () => DropdownMenuRadioItem,
|
|
96
|
+
DropdownMenuSeparator: () => DropdownMenuSeparator,
|
|
97
|
+
DropdownMenuShortcut: () => DropdownMenuShortcut,
|
|
98
|
+
DropdownMenuSub: () => DropdownMenuSub,
|
|
99
|
+
DropdownMenuSubContent: () => DropdownMenuSubContent,
|
|
100
|
+
DropdownMenuSubTrigger: () => DropdownMenuSubTrigger,
|
|
101
|
+
DropdownMenuTrigger: () => DropdownMenuTrigger,
|
|
102
|
+
FormLabelWithTooltip: () => FormLabelWithTooltip,
|
|
103
|
+
Grid: () => Grid,
|
|
104
|
+
Input: () => Input,
|
|
105
|
+
Label: () => Label,
|
|
106
|
+
Popover: () => Popover,
|
|
107
|
+
PopoverAnchor: () => PopoverAnchor,
|
|
108
|
+
PopoverContent: () => PopoverContent,
|
|
109
|
+
PopoverTrigger: () => PopoverTrigger,
|
|
110
|
+
PortalProvider: () => PortalProvider,
|
|
111
|
+
Progress: () => Progress,
|
|
112
|
+
RadioGroup: () => RadioGroup,
|
|
113
|
+
RadioGroupItem: () => RadioGroupItem,
|
|
114
|
+
Select: () => Select,
|
|
115
|
+
SelectContent: () => SelectContent,
|
|
116
|
+
SelectGroup: () => SelectGroup,
|
|
117
|
+
SelectItem: () => SelectItem,
|
|
118
|
+
SelectLabel: () => SelectLabel,
|
|
119
|
+
SelectScrollDownButton: () => SelectScrollDownButton,
|
|
120
|
+
SelectScrollUpButton: () => SelectScrollUpButton,
|
|
121
|
+
SelectSeparator: () => SelectSeparator,
|
|
122
|
+
SelectTrigger: () => SelectTrigger,
|
|
123
|
+
SelectValue: () => SelectValue,
|
|
124
|
+
Separator: () => Separator,
|
|
125
|
+
Sheet: () => Sheet,
|
|
126
|
+
SheetClose: () => SheetClose,
|
|
127
|
+
SheetContent: () => SheetContent,
|
|
128
|
+
SheetDescription: () => SheetDescription,
|
|
129
|
+
SheetFooter: () => SheetFooter,
|
|
130
|
+
SheetHeader: () => SheetHeader,
|
|
131
|
+
SheetOverlay: () => SheetOverlay,
|
|
132
|
+
SheetPortal: () => SheetPortal,
|
|
133
|
+
SheetTitle: () => SheetTitle,
|
|
134
|
+
SheetTrigger: () => SheetTrigger,
|
|
135
|
+
Skeleton: () => Skeleton,
|
|
136
|
+
Spinner: () => Spinner,
|
|
137
|
+
Stack: () => Stack,
|
|
138
|
+
Stat: () => Stat,
|
|
139
|
+
Switch: () => Switch,
|
|
140
|
+
Table: () => Table,
|
|
141
|
+
TableBody: () => TableBody,
|
|
142
|
+
TableCaption: () => TableCaption,
|
|
143
|
+
TableCell: () => TableCell,
|
|
144
|
+
TableEmpty: () => TableEmpty,
|
|
145
|
+
TableError: () => TableError,
|
|
146
|
+
TableFooter: () => TableFooter,
|
|
147
|
+
TableHead: () => TableHead,
|
|
148
|
+
TableHeader: () => TableHeader,
|
|
149
|
+
TableLoading: () => TableLoading,
|
|
150
|
+
TableRow: () => TableRow,
|
|
151
|
+
TableSearch: () => TableSearch,
|
|
152
|
+
TableSkeleton: () => TableSkeleton,
|
|
153
|
+
Tabs: () => Tabs,
|
|
154
|
+
TabsContent: () => TabsContent,
|
|
155
|
+
TabsList: () => TabsList,
|
|
156
|
+
TabsTrigger: () => TabsTrigger,
|
|
157
|
+
Textarea: () => Textarea,
|
|
158
|
+
Toaster: () => Toaster,
|
|
159
|
+
Tooltip: () => Tooltip,
|
|
160
|
+
TooltipContent: () => TooltipContent,
|
|
161
|
+
TooltipProvider: () => TooltipProvider,
|
|
162
|
+
TooltipTrigger: () => TooltipTrigger,
|
|
163
|
+
alertVariants: () => alertVariants,
|
|
164
|
+
avatarVariants: () => avatarVariants,
|
|
165
|
+
badgeVariants: () => badgeVariants,
|
|
166
|
+
buttonVariants: () => buttonVariants,
|
|
167
|
+
cardVariants: () => cardVariants,
|
|
168
|
+
dialogContentVariants: () => dialogContentVariants,
|
|
169
|
+
inputVariants: () => inputVariants,
|
|
170
|
+
progressVariants: () => progressVariants,
|
|
171
|
+
selectTriggerVariants: () => selectTriggerVariants,
|
|
172
|
+
sheetVariants: () => sheetVariants,
|
|
173
|
+
spinnerVariants: () => spinnerVariants,
|
|
174
|
+
toast: () => import_sonner.toast,
|
|
175
|
+
usePortalContainer: () => usePortalContainer
|
|
176
|
+
});
|
|
177
|
+
module.exports = __toCommonJS(index_exports);
|
|
57
178
|
|
|
58
179
|
// src/components/button.tsx
|
|
180
|
+
var import_react_slot = require("@radix-ui/react-slot");
|
|
181
|
+
var import_class_variance_authority = require("class-variance-authority");
|
|
182
|
+
var React = __toESM(require("react"), 1);
|
|
183
|
+
var import_react = require("react");
|
|
184
|
+
|
|
185
|
+
// src/lib/utils.ts
|
|
186
|
+
var import_clsx = require("clsx");
|
|
187
|
+
var import_tailwind_merge = require("tailwind-merge");
|
|
59
188
|
function cn(...inputs) {
|
|
60
|
-
return
|
|
189
|
+
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
61
190
|
}
|
|
62
|
-
|
|
191
|
+
|
|
192
|
+
// src/components/button.tsx
|
|
193
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
194
|
+
var buttonVariants = (0, import_class_variance_authority.cva)(
|
|
63
195
|
"inline-flex items-center justify-center whitespace-nowrap rounded-none text-sm font-medium cursor-pointer transition-all duration-150 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-0 disabled:pointer-events-none disabled:opacity-50 disabled:cursor-not-allowed active:scale-[0.98] [&_svg]:text-current",
|
|
64
196
|
{
|
|
65
197
|
variants: {
|
|
@@ -94,7 +226,7 @@ var buttonVariants = classVarianceAuthority.cva(
|
|
|
94
226
|
}
|
|
95
227
|
}
|
|
96
228
|
);
|
|
97
|
-
var Button =
|
|
229
|
+
var Button = (0, import_react.forwardRef)(
|
|
98
230
|
({
|
|
99
231
|
className,
|
|
100
232
|
variant = "default",
|
|
@@ -103,9 +235,9 @@ var Button = React6.forwardRef(
|
|
|
103
235
|
children,
|
|
104
236
|
...props
|
|
105
237
|
}, ref) => {
|
|
106
|
-
const Comp = asChild ?
|
|
107
|
-
const hasMultipleChildren =
|
|
108
|
-
return /* @__PURE__ */
|
|
238
|
+
const Comp = asChild ? import_react_slot.Slot : "button";
|
|
239
|
+
const hasMultipleChildren = React.Children.count(children) > 1;
|
|
240
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
109
241
|
Comp,
|
|
110
242
|
{
|
|
111
243
|
"data-slot": `button.${variant}`,
|
|
@@ -121,7 +253,12 @@ var Button = React6.forwardRef(
|
|
|
121
253
|
}
|
|
122
254
|
);
|
|
123
255
|
Button.displayName = "Button";
|
|
124
|
-
|
|
256
|
+
|
|
257
|
+
// src/components/input.tsx
|
|
258
|
+
var import_class_variance_authority2 = require("class-variance-authority");
|
|
259
|
+
var import_react2 = require("react");
|
|
260
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
261
|
+
var inputVariants = (0, import_class_variance_authority2.cva)(
|
|
125
262
|
"file:text-foreground placeholder:text-muted-foreground placeholder:opacity-50 selection:bg-primary selection:text-primary-foreground w-full min-w-0 rounded-none border border-input bg-background text-sm transition-all duration-150 outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 focus:ring-0 focus:ring-offset-0 focus:outline-none focus:border-primary! focus-visible:border-primary! aria-invalid:border-destructive aria-invalid:focus:border-destructive! data-[invalid=true]:border-destructive data-[invalid=true]:focus:border-destructive!",
|
|
126
263
|
{
|
|
127
264
|
variants: {
|
|
@@ -136,9 +273,9 @@ var inputVariants = classVarianceAuthority.cva(
|
|
|
136
273
|
}
|
|
137
274
|
}
|
|
138
275
|
);
|
|
139
|
-
var Input =
|
|
276
|
+
var Input = (0, import_react2.forwardRef)(
|
|
140
277
|
({ className, type, size, ...props }, ref) => {
|
|
141
|
-
return /* @__PURE__ */
|
|
278
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
142
279
|
"input",
|
|
143
280
|
{
|
|
144
281
|
type,
|
|
@@ -151,8 +288,12 @@ var Input = React6.forwardRef(
|
|
|
151
288
|
}
|
|
152
289
|
);
|
|
153
290
|
Input.displayName = "Input";
|
|
154
|
-
|
|
155
|
-
|
|
291
|
+
|
|
292
|
+
// src/components/textarea.tsx
|
|
293
|
+
var import_react3 = require("react");
|
|
294
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
295
|
+
var Textarea = (0, import_react3.forwardRef)(({ className, ...props }, ref) => {
|
|
296
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
156
297
|
"textarea",
|
|
157
298
|
{
|
|
158
299
|
"data-slot": "textarea",
|
|
@@ -169,9 +310,13 @@ var Textarea = React6.forwardRef(({ className, ...props }, ref) => {
|
|
|
169
310
|
);
|
|
170
311
|
});
|
|
171
312
|
Textarea.displayName = "Textarea";
|
|
313
|
+
|
|
314
|
+
// src/components/label.tsx
|
|
315
|
+
var import_react_label = require("@radix-ui/react-label");
|
|
316
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
172
317
|
function Label({ className, ...props }) {
|
|
173
|
-
return /* @__PURE__ */
|
|
174
|
-
|
|
318
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
319
|
+
import_react_label.Root,
|
|
175
320
|
{
|
|
176
321
|
"data-slot": "label",
|
|
177
322
|
className: cn(
|
|
@@ -182,18 +327,33 @@ function Label({ className, ...props }) {
|
|
|
182
327
|
}
|
|
183
328
|
);
|
|
184
329
|
}
|
|
185
|
-
|
|
330
|
+
|
|
331
|
+
// src/components/form-label-with-tooltip.tsx
|
|
332
|
+
var import_lucide_react = require("lucide-react");
|
|
333
|
+
var React2 = __toESM(require("react"), 1);
|
|
334
|
+
|
|
335
|
+
// src/components/tooltip.tsx
|
|
336
|
+
var import_react_tooltip = require("@radix-ui/react-tooltip");
|
|
337
|
+
var import_react5 = require("react");
|
|
338
|
+
|
|
339
|
+
// src/providers/portal-provider.tsx
|
|
340
|
+
var import_react4 = require("react");
|
|
341
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
342
|
+
var PortalContext = (0, import_react4.createContext)({ container: null });
|
|
186
343
|
function PortalProvider({ container, children }) {
|
|
187
|
-
return /* @__PURE__ */
|
|
344
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(PortalContext.Provider, { value: { container }, children });
|
|
188
345
|
}
|
|
189
346
|
function usePortalContainer() {
|
|
190
|
-
const { container } =
|
|
347
|
+
const { container } = (0, import_react4.useContext)(PortalContext);
|
|
191
348
|
return container ?? void 0;
|
|
192
349
|
}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
var
|
|
196
|
-
var
|
|
350
|
+
|
|
351
|
+
// src/components/tooltip.tsx
|
|
352
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
353
|
+
var TooltipProvider = import_react_tooltip.Provider;
|
|
354
|
+
var Tooltip = import_react_tooltip.Root;
|
|
355
|
+
var TooltipTrigger = import_react_tooltip.Trigger;
|
|
356
|
+
var TooltipContent = (0, import_react5.forwardRef)(({ className, sideOffset = 4, ...props }, ref) => {
|
|
197
357
|
const portalContainer = usePortalContainer();
|
|
198
358
|
return (
|
|
199
359
|
// Portalled for the same reason as every other overlay here, plus one
|
|
@@ -202,8 +362,8 @@ var TooltipContent = React6.forwardRef(({ className, sideOffset = 4, ...props },
|
|
|
202
362
|
// browser does not. Left inline under a `@container` element, the content
|
|
203
363
|
// is offset by that element's own position. Portalling lifts it out of any
|
|
204
364
|
// such ancestor, so the two agree again.
|
|
205
|
-
/* @__PURE__ */
|
|
206
|
-
|
|
365
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_react_tooltip.Portal, { container: portalContainer, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
366
|
+
import_react_tooltip.Content,
|
|
207
367
|
{
|
|
208
368
|
ref,
|
|
209
369
|
sideOffset,
|
|
@@ -217,8 +377,11 @@ var TooltipContent = React6.forwardRef(({ className, sideOffset = 4, ...props },
|
|
|
217
377
|
) })
|
|
218
378
|
);
|
|
219
379
|
});
|
|
220
|
-
TooltipContent.displayName =
|
|
221
|
-
|
|
380
|
+
TooltipContent.displayName = import_react_tooltip.Content.displayName;
|
|
381
|
+
|
|
382
|
+
// src/components/form-label-with-tooltip.tsx
|
|
383
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
384
|
+
var FormLabelWithTooltip = React2.forwardRef(
|
|
222
385
|
({
|
|
223
386
|
className,
|
|
224
387
|
labelClassName,
|
|
@@ -228,25 +391,25 @@ var FormLabelWithTooltip = React6__namespace.forwardRef(
|
|
|
228
391
|
required,
|
|
229
392
|
...props
|
|
230
393
|
}, ref) => {
|
|
231
|
-
return /* @__PURE__ */
|
|
232
|
-
/* @__PURE__ */
|
|
394
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: cn("flex items-center gap-2", className), children: [
|
|
395
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(Label, { ref, className: labelClassName, ...props, children: [
|
|
233
396
|
label,
|
|
234
|
-
required && /* @__PURE__ */
|
|
397
|
+
required && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "text-destructive ml-1", children: "*" })
|
|
235
398
|
] }),
|
|
236
|
-
description && /* @__PURE__ */
|
|
237
|
-
/* @__PURE__ */
|
|
399
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(TooltipProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(Tooltip, { delayDuration: 200, children: [
|
|
400
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
|
|
238
401
|
TooltipTrigger,
|
|
239
402
|
{
|
|
240
403
|
type: "button",
|
|
241
404
|
tabIndex: -1,
|
|
242
405
|
className: "shrink-0 text-muted-foreground hover:text-foreground focus:outline-none focus:text-foreground transition-colors cursor-help",
|
|
243
406
|
children: [
|
|
244
|
-
/* @__PURE__ */
|
|
245
|
-
/* @__PURE__ */
|
|
407
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react.Info, { className: "h-3.5 w-3.5" }),
|
|
408
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "sr-only", children: "Toggle description" })
|
|
246
409
|
]
|
|
247
410
|
}
|
|
248
411
|
),
|
|
249
|
-
/* @__PURE__ */
|
|
412
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
250
413
|
TooltipContent,
|
|
251
414
|
{
|
|
252
415
|
side: "right",
|
|
@@ -262,7 +425,11 @@ var FormLabelWithTooltip = React6__namespace.forwardRef(
|
|
|
262
425
|
}
|
|
263
426
|
);
|
|
264
427
|
FormLabelWithTooltip.displayName = "FormLabelWithTooltip";
|
|
265
|
-
|
|
428
|
+
|
|
429
|
+
// src/components/badge.tsx
|
|
430
|
+
var import_class_variance_authority3 = require("class-variance-authority");
|
|
431
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
432
|
+
var badgeVariants = (0, import_class_variance_authority3.cva)(
|
|
266
433
|
"inline-flex items-center rounded-none px-2.5 py-0.5 h-[22px] text-xs font-medium transition-colors",
|
|
267
434
|
{
|
|
268
435
|
variants: {
|
|
@@ -283,7 +450,7 @@ var badgeVariants = classVarianceAuthority.cva(
|
|
|
283
450
|
}
|
|
284
451
|
);
|
|
285
452
|
function Badge({ className, variant = "default", ...props }) {
|
|
286
|
-
return /* @__PURE__ */
|
|
453
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
287
454
|
"div",
|
|
288
455
|
{
|
|
289
456
|
"data-slot": `badge.${variant}`,
|
|
@@ -292,7 +459,12 @@ function Badge({ className, variant = "default", ...props }) {
|
|
|
292
459
|
}
|
|
293
460
|
);
|
|
294
461
|
}
|
|
295
|
-
|
|
462
|
+
|
|
463
|
+
// src/components/card.tsx
|
|
464
|
+
var import_class_variance_authority4 = require("class-variance-authority");
|
|
465
|
+
var import_react6 = require("react");
|
|
466
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
467
|
+
var cardVariants = (0, import_class_variance_authority4.cva)(
|
|
296
468
|
"bg-card text-foreground rounded-none border border-border transition-all duration-200",
|
|
297
469
|
{
|
|
298
470
|
variants: {
|
|
@@ -307,9 +479,9 @@ var cardVariants = classVarianceAuthority.cva(
|
|
|
307
479
|
}
|
|
308
480
|
}
|
|
309
481
|
);
|
|
310
|
-
var Card =
|
|
482
|
+
var Card = (0, import_react6.forwardRef)(
|
|
311
483
|
({ className, variant, ...props }, ref) => {
|
|
312
|
-
return /* @__PURE__ */
|
|
484
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
313
485
|
"div",
|
|
314
486
|
{
|
|
315
487
|
ref,
|
|
@@ -321,9 +493,9 @@ var Card = React6.forwardRef(
|
|
|
321
493
|
}
|
|
322
494
|
);
|
|
323
495
|
Card.displayName = "Card";
|
|
324
|
-
var CardHeader =
|
|
496
|
+
var CardHeader = (0, import_react6.forwardRef)(
|
|
325
497
|
({ className, noBorder = false, ...props }, ref) => {
|
|
326
|
-
return /* @__PURE__ */
|
|
498
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
327
499
|
"div",
|
|
328
500
|
{
|
|
329
501
|
ref,
|
|
@@ -339,9 +511,9 @@ var CardHeader = React6.forwardRef(
|
|
|
339
511
|
}
|
|
340
512
|
);
|
|
341
513
|
CardHeader.displayName = "CardHeader";
|
|
342
|
-
var CardTitle =
|
|
514
|
+
var CardTitle = (0, import_react6.forwardRef)(
|
|
343
515
|
({ className, ...props }, ref) => {
|
|
344
|
-
return /* @__PURE__ */
|
|
516
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
345
517
|
"h3",
|
|
346
518
|
{
|
|
347
519
|
ref,
|
|
@@ -353,9 +525,9 @@ var CardTitle = React6.forwardRef(
|
|
|
353
525
|
}
|
|
354
526
|
);
|
|
355
527
|
CardTitle.displayName = "CardTitle";
|
|
356
|
-
var CardDescription =
|
|
528
|
+
var CardDescription = (0, import_react6.forwardRef)(
|
|
357
529
|
({ className, ...props }, ref) => {
|
|
358
|
-
return /* @__PURE__ */
|
|
530
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
359
531
|
"p",
|
|
360
532
|
{
|
|
361
533
|
ref,
|
|
@@ -367,9 +539,9 @@ var CardDescription = React6.forwardRef(
|
|
|
367
539
|
}
|
|
368
540
|
);
|
|
369
541
|
CardDescription.displayName = "CardDescription";
|
|
370
|
-
var CardAction =
|
|
542
|
+
var CardAction = (0, import_react6.forwardRef)(
|
|
371
543
|
({ className, ...props }, ref) => {
|
|
372
|
-
return /* @__PURE__ */
|
|
544
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
373
545
|
"div",
|
|
374
546
|
{
|
|
375
547
|
ref,
|
|
@@ -381,9 +553,9 @@ var CardAction = React6.forwardRef(
|
|
|
381
553
|
}
|
|
382
554
|
);
|
|
383
555
|
CardAction.displayName = "CardAction";
|
|
384
|
-
var CardContent =
|
|
556
|
+
var CardContent = (0, import_react6.forwardRef)(
|
|
385
557
|
({ className, ...props }, ref) => {
|
|
386
|
-
return /* @__PURE__ */
|
|
558
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
387
559
|
"div",
|
|
388
560
|
{
|
|
389
561
|
ref,
|
|
@@ -395,9 +567,9 @@ var CardContent = React6.forwardRef(
|
|
|
395
567
|
}
|
|
396
568
|
);
|
|
397
569
|
CardContent.displayName = "CardContent";
|
|
398
|
-
var CardFooter =
|
|
570
|
+
var CardFooter = (0, import_react6.forwardRef)(
|
|
399
571
|
({ className, ...props }, ref) => {
|
|
400
|
-
return /* @__PURE__ */
|
|
572
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
401
573
|
"div",
|
|
402
574
|
{
|
|
403
575
|
ref,
|
|
@@ -412,6 +584,10 @@ var CardFooter = React6.forwardRef(
|
|
|
412
584
|
}
|
|
413
585
|
);
|
|
414
586
|
CardFooter.displayName = "CardFooter";
|
|
587
|
+
|
|
588
|
+
// src/components/layout.tsx
|
|
589
|
+
var import_react7 = require("react");
|
|
590
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
415
591
|
var GAP = {
|
|
416
592
|
0: "gap-0",
|
|
417
593
|
1: "gap-1",
|
|
@@ -428,8 +604,8 @@ var COLS = {
|
|
|
428
604
|
4: "grid-cols-4",
|
|
429
605
|
6: "grid-cols-6"
|
|
430
606
|
};
|
|
431
|
-
var Stack =
|
|
432
|
-
({ direction = "col", gap = 4, className, ...props }, ref) => /* @__PURE__ */
|
|
607
|
+
var Stack = (0, import_react7.forwardRef)(
|
|
608
|
+
({ direction = "col", gap = 4, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
433
609
|
"div",
|
|
434
610
|
{
|
|
435
611
|
ref,
|
|
@@ -444,8 +620,8 @@ var Stack = React6.forwardRef(
|
|
|
444
620
|
)
|
|
445
621
|
);
|
|
446
622
|
Stack.displayName = "Stack";
|
|
447
|
-
var Grid =
|
|
448
|
-
({ cols = 2, gap = 4, className, ...props }, ref) => /* @__PURE__ */
|
|
623
|
+
var Grid = (0, import_react7.forwardRef)(
|
|
624
|
+
({ cols = 2, gap = 4, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
449
625
|
"div",
|
|
450
626
|
{
|
|
451
627
|
ref,
|
|
@@ -455,14 +631,19 @@ var Grid = React6.forwardRef(
|
|
|
455
631
|
)
|
|
456
632
|
);
|
|
457
633
|
Grid.displayName = "Grid";
|
|
458
|
-
var Stat =
|
|
459
|
-
({ label, value, className, ...props }, ref) => /* @__PURE__ */
|
|
460
|
-
/* @__PURE__ */
|
|
461
|
-
/* @__PURE__ */
|
|
634
|
+
var Stat = (0, import_react7.forwardRef)(
|
|
635
|
+
({ label, value, className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { ref, className: cn("flex flex-col gap-1", className), ...props, children: [
|
|
636
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "text-sm text-muted-foreground", children: label }),
|
|
637
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "text-2xl font-semibold text-foreground", children: value })
|
|
462
638
|
] })
|
|
463
639
|
);
|
|
464
640
|
Stat.displayName = "Stat";
|
|
465
|
-
|
|
641
|
+
|
|
642
|
+
// src/components/alert.tsx
|
|
643
|
+
var import_class_variance_authority5 = require("class-variance-authority");
|
|
644
|
+
var import_react8 = require("react");
|
|
645
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
646
|
+
var alertVariants = (0, import_class_variance_authority5.cva)(
|
|
466
647
|
"relative flex items-start gap-3 rounded-none border border-border p-4 text-sm transition-colors duration-150",
|
|
467
648
|
{
|
|
468
649
|
variants: {
|
|
@@ -484,9 +665,9 @@ var alertVariants = classVarianceAuthority.cva(
|
|
|
484
665
|
}
|
|
485
666
|
}
|
|
486
667
|
);
|
|
487
|
-
var Alert =
|
|
668
|
+
var Alert = (0, import_react8.forwardRef)(
|
|
488
669
|
({ className, variant = "info", role = "alert", ...props }, ref) => {
|
|
489
|
-
return /* @__PURE__ */
|
|
670
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
490
671
|
"div",
|
|
491
672
|
{
|
|
492
673
|
ref,
|
|
@@ -499,9 +680,9 @@ var Alert = React6.forwardRef(
|
|
|
499
680
|
}
|
|
500
681
|
);
|
|
501
682
|
Alert.displayName = "Alert";
|
|
502
|
-
var AlertTitle =
|
|
683
|
+
var AlertTitle = (0, import_react8.forwardRef)(
|
|
503
684
|
({ className, ...props }, ref) => {
|
|
504
|
-
return /* @__PURE__ */
|
|
685
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
505
686
|
"h5",
|
|
506
687
|
{
|
|
507
688
|
ref,
|
|
@@ -516,9 +697,9 @@ var AlertTitle = React6.forwardRef(
|
|
|
516
697
|
}
|
|
517
698
|
);
|
|
518
699
|
AlertTitle.displayName = "AlertTitle";
|
|
519
|
-
var AlertDescription =
|
|
700
|
+
var AlertDescription = (0, import_react8.forwardRef)(
|
|
520
701
|
({ className, ...props }, ref) => {
|
|
521
|
-
return /* @__PURE__ */
|
|
702
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
522
703
|
"div",
|
|
523
704
|
{
|
|
524
705
|
ref,
|
|
@@ -530,14 +711,18 @@ var AlertDescription = React6.forwardRef(
|
|
|
530
711
|
}
|
|
531
712
|
);
|
|
532
713
|
AlertDescription.displayName = "AlertDescription";
|
|
714
|
+
|
|
715
|
+
// src/components/separator.tsx
|
|
716
|
+
var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"), 1);
|
|
717
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
533
718
|
function Separator({
|
|
534
719
|
className,
|
|
535
720
|
orientation = "horizontal",
|
|
536
721
|
decorative = true,
|
|
537
722
|
...props
|
|
538
723
|
}) {
|
|
539
|
-
return /* @__PURE__ */
|
|
540
|
-
|
|
724
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
725
|
+
SeparatorPrimitive.Root,
|
|
541
726
|
{
|
|
542
727
|
"data-slot": "separator",
|
|
543
728
|
decorative,
|
|
@@ -550,9 +735,13 @@ function Separator({
|
|
|
550
735
|
}
|
|
551
736
|
);
|
|
552
737
|
}
|
|
553
|
-
|
|
738
|
+
|
|
739
|
+
// src/components/skeleton.tsx
|
|
740
|
+
var React3 = __toESM(require("react"), 1);
|
|
741
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
742
|
+
var Skeleton = React3.forwardRef(
|
|
554
743
|
({ className, ...props }, ref) => {
|
|
555
|
-
return /* @__PURE__ */
|
|
744
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
556
745
|
"div",
|
|
557
746
|
{
|
|
558
747
|
ref,
|
|
@@ -568,7 +757,12 @@ var Skeleton = React6__namespace.forwardRef(
|
|
|
568
757
|
}
|
|
569
758
|
);
|
|
570
759
|
Skeleton.displayName = "Skeleton";
|
|
571
|
-
|
|
760
|
+
|
|
761
|
+
// src/components/progress.tsx
|
|
762
|
+
var import_class_variance_authority6 = require("class-variance-authority");
|
|
763
|
+
var React4 = __toESM(require("react"), 1);
|
|
764
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
765
|
+
var progressVariants = (0, import_class_variance_authority6.cva)("h-full rounded-none transition-all", {
|
|
572
766
|
variants: {
|
|
573
767
|
variant: {
|
|
574
768
|
default: "bg-primary-500",
|
|
@@ -580,7 +774,7 @@ var progressVariants = classVarianceAuthority.cva("h-full rounded-none transitio
|
|
|
580
774
|
variant: "default"
|
|
581
775
|
}
|
|
582
776
|
});
|
|
583
|
-
var Progress =
|
|
777
|
+
var Progress = React4.forwardRef(
|
|
584
778
|
({
|
|
585
779
|
value,
|
|
586
780
|
max = 100,
|
|
@@ -591,7 +785,7 @@ var Progress = React6__namespace.forwardRef(
|
|
|
591
785
|
}, ref) => {
|
|
592
786
|
const clampedValue = Math.min(Math.max(0, value), max);
|
|
593
787
|
const percentage = clampedValue / max * 100;
|
|
594
|
-
return /* @__PURE__ */
|
|
788
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
595
789
|
"div",
|
|
596
790
|
{
|
|
597
791
|
ref,
|
|
@@ -605,7 +799,7 @@ var Progress = React6__namespace.forwardRef(
|
|
|
605
799
|
className
|
|
606
800
|
),
|
|
607
801
|
...props,
|
|
608
|
-
children: /* @__PURE__ */
|
|
802
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
609
803
|
"div",
|
|
610
804
|
{
|
|
611
805
|
className: cn(progressVariants({ variant })),
|
|
@@ -620,8 +814,14 @@ var Progress = React6__namespace.forwardRef(
|
|
|
620
814
|
}
|
|
621
815
|
);
|
|
622
816
|
Progress.displayName = "Progress";
|
|
623
|
-
|
|
624
|
-
|
|
817
|
+
|
|
818
|
+
// src/components/checkbox.tsx
|
|
819
|
+
var CheckboxPrimitive = __toESM(require("@radix-ui/react-checkbox"), 1);
|
|
820
|
+
var import_lucide_react2 = require("lucide-react");
|
|
821
|
+
var import_react9 = require("react");
|
|
822
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
823
|
+
var Checkbox = (0, import_react9.forwardRef)(({ className, indeterminate, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
824
|
+
CheckboxPrimitive.Root,
|
|
625
825
|
{
|
|
626
826
|
ref,
|
|
627
827
|
"data-slot": "checkbox",
|
|
@@ -632,19 +832,24 @@ var Checkbox = React6.forwardRef(({ className, indeterminate, ...props }, ref) =
|
|
|
632
832
|
className
|
|
633
833
|
),
|
|
634
834
|
...props,
|
|
635
|
-
children: /* @__PURE__ */
|
|
636
|
-
|
|
835
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
836
|
+
CheckboxPrimitive.Indicator,
|
|
637
837
|
{
|
|
638
838
|
className: cn("flex items-center justify-center text-current"),
|
|
639
|
-
children: indeterminate ? /* @__PURE__ */
|
|
839
|
+
children: indeterminate ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react2.Minus, { className: "h-3 w-3" }) : /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react2.Check, { className: "h-3 w-3" })
|
|
640
840
|
}
|
|
641
841
|
)
|
|
642
842
|
}
|
|
643
843
|
));
|
|
644
844
|
Checkbox.displayName = "Checkbox";
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
845
|
+
|
|
846
|
+
// src/components/radio-group.tsx
|
|
847
|
+
var RadioGroupPrimitive = __toESM(require("@radix-ui/react-radio-group"), 1);
|
|
848
|
+
var import_react10 = require("react");
|
|
849
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
850
|
+
var RadioGroup = (0, import_react10.forwardRef)(({ className, ...props }, ref) => {
|
|
851
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
852
|
+
RadioGroupPrimitive.Root,
|
|
648
853
|
{
|
|
649
854
|
className: cn("grid gap-2", className),
|
|
650
855
|
...props,
|
|
@@ -654,9 +859,9 @@ var RadioGroup = React6.forwardRef(({ className, ...props }, ref) => {
|
|
|
654
859
|
);
|
|
655
860
|
});
|
|
656
861
|
RadioGroup.displayName = "RadioGroup";
|
|
657
|
-
var RadioGroupItem =
|
|
658
|
-
return /* @__PURE__ */
|
|
659
|
-
|
|
862
|
+
var RadioGroupItem = (0, import_react10.forwardRef)(({ className, ...props }, ref) => {
|
|
863
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
864
|
+
RadioGroupPrimitive.Item,
|
|
660
865
|
{
|
|
661
866
|
ref,
|
|
662
867
|
"data-slot": "radio-group-item",
|
|
@@ -669,14 +874,18 @@ var RadioGroupItem = React6.forwardRef(({ className, ...props }, ref) => {
|
|
|
669
874
|
className
|
|
670
875
|
),
|
|
671
876
|
...props,
|
|
672
|
-
children: /* @__PURE__ */
|
|
877
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(RadioGroupPrimitive.Indicator, {})
|
|
673
878
|
}
|
|
674
879
|
);
|
|
675
880
|
});
|
|
676
881
|
RadioGroupItem.displayName = "RadioGroupItem";
|
|
882
|
+
|
|
883
|
+
// src/components/switch.tsx
|
|
884
|
+
var import_react_switch = require("@radix-ui/react-switch");
|
|
885
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
677
886
|
function Switch({ className, ...props }) {
|
|
678
|
-
return /* @__PURE__ */
|
|
679
|
-
|
|
887
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
888
|
+
import_react_switch.Root,
|
|
680
889
|
{
|
|
681
890
|
"data-slot": "switch",
|
|
682
891
|
className: cn(
|
|
@@ -686,8 +895,8 @@ function Switch({ className, ...props }) {
|
|
|
686
895
|
className
|
|
687
896
|
),
|
|
688
897
|
...props,
|
|
689
|
-
children: /* @__PURE__ */
|
|
690
|
-
|
|
898
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
899
|
+
import_react_switch.Thumb,
|
|
691
900
|
{
|
|
692
901
|
"data-slot": "switch-thumb",
|
|
693
902
|
className: cn(
|
|
@@ -698,13 +907,22 @@ function Switch({ className, ...props }) {
|
|
|
698
907
|
}
|
|
699
908
|
);
|
|
700
909
|
}
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
var
|
|
704
|
-
var
|
|
705
|
-
var
|
|
706
|
-
|
|
707
|
-
|
|
910
|
+
|
|
911
|
+
// src/components/collapsible.tsx
|
|
912
|
+
var CollapsiblePrimitive = __toESM(require("@radix-ui/react-collapsible"), 1);
|
|
913
|
+
var Collapsible = CollapsiblePrimitive.Root;
|
|
914
|
+
var CollapsibleTrigger2 = CollapsiblePrimitive.CollapsibleTrigger;
|
|
915
|
+
var CollapsibleContent2 = CollapsiblePrimitive.CollapsibleContent;
|
|
916
|
+
|
|
917
|
+
// src/components/accordion.tsx
|
|
918
|
+
var AccordionPrimitive = __toESM(require("@radix-ui/react-accordion"), 1);
|
|
919
|
+
var import_lucide_react3 = require("lucide-react");
|
|
920
|
+
var import_react11 = require("react");
|
|
921
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
922
|
+
var Accordion = AccordionPrimitive.Root;
|
|
923
|
+
var AccordionItem = (0, import_react11.forwardRef)(
|
|
924
|
+
({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
925
|
+
AccordionPrimitive.Item,
|
|
708
926
|
{
|
|
709
927
|
ref,
|
|
710
928
|
"data-slot": "accordion-item",
|
|
@@ -714,9 +932,9 @@ var AccordionItem = React6.forwardRef(
|
|
|
714
932
|
)
|
|
715
933
|
);
|
|
716
934
|
AccordionItem.displayName = "AccordionItem";
|
|
717
|
-
var AccordionTrigger =
|
|
718
|
-
({ className, children, ...props }, ref) => /* @__PURE__ */
|
|
719
|
-
|
|
935
|
+
var AccordionTrigger = (0, import_react11.forwardRef)(
|
|
936
|
+
({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(AccordionPrimitive.Header, { className: "flex", "data-slot": "accordion-header", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
937
|
+
AccordionPrimitive.Trigger,
|
|
720
938
|
{
|
|
721
939
|
ref,
|
|
722
940
|
"data-slot": "accordion-trigger",
|
|
@@ -727,26 +945,32 @@ var AccordionTrigger = React6.forwardRef(
|
|
|
727
945
|
...props,
|
|
728
946
|
children: [
|
|
729
947
|
children,
|
|
730
|
-
/* @__PURE__ */
|
|
948
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_lucide_react3.ChevronDown, { className: "h-4 w-4 shrink-0 transition-transform duration-150 will-change-transform" })
|
|
731
949
|
]
|
|
732
950
|
}
|
|
733
951
|
) })
|
|
734
952
|
);
|
|
735
|
-
AccordionTrigger.displayName =
|
|
736
|
-
var AccordionContent =
|
|
737
|
-
({ className, children, ...props }, ref) => /* @__PURE__ */
|
|
738
|
-
|
|
953
|
+
AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
|
|
954
|
+
var AccordionContent = (0, import_react11.forwardRef)(
|
|
955
|
+
({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
956
|
+
AccordionPrimitive.Content,
|
|
739
957
|
{
|
|
740
958
|
ref,
|
|
741
959
|
"data-slot": "accordion-content",
|
|
742
960
|
className: "overflow-hidden text-sm transition-all will-change-[height] transform-[translateZ(0)] data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
|
|
743
961
|
...props,
|
|
744
|
-
children: /* @__PURE__ */
|
|
962
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: cn("pb-4 pt-0", className), children })
|
|
745
963
|
}
|
|
746
964
|
)
|
|
747
965
|
);
|
|
748
|
-
AccordionContent.displayName =
|
|
749
|
-
|
|
966
|
+
AccordionContent.displayName = AccordionPrimitive.Content.displayName;
|
|
967
|
+
|
|
968
|
+
// src/components/avatar.tsx
|
|
969
|
+
var import_react_avatar = require("@radix-ui/react-avatar");
|
|
970
|
+
var import_class_variance_authority7 = require("class-variance-authority");
|
|
971
|
+
var import_react12 = require("react");
|
|
972
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
973
|
+
var avatarVariants = (0, import_class_variance_authority7.cva)(
|
|
750
974
|
"relative inline-flex shrink-0 overflow-hidden rounded-none items-center justify-center bg-primary/5 text-muted-foreground",
|
|
751
975
|
{
|
|
752
976
|
variants: {
|
|
@@ -775,11 +999,11 @@ var fallbackTextSizeMap = {
|
|
|
775
999
|
"2xl": "text-2xl"
|
|
776
1000
|
// 24px for 80px avatar
|
|
777
1001
|
};
|
|
778
|
-
var AvatarSizeContext =
|
|
779
|
-
var Avatar =
|
|
1002
|
+
var AvatarSizeContext = (0, import_react12.createContext)("md");
|
|
1003
|
+
var Avatar = (0, import_react12.forwardRef)(
|
|
780
1004
|
({ className, size = "md", ...props }, ref) => {
|
|
781
|
-
return /* @__PURE__ */
|
|
782
|
-
|
|
1005
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(AvatarSizeContext.Provider, { value: size, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
1006
|
+
import_react_avatar.Root,
|
|
783
1007
|
{
|
|
784
1008
|
ref,
|
|
785
1009
|
"data-slot": "avatar",
|
|
@@ -790,10 +1014,10 @@ var Avatar = React6.forwardRef(
|
|
|
790
1014
|
}
|
|
791
1015
|
);
|
|
792
1016
|
Avatar.displayName = "Avatar";
|
|
793
|
-
var AvatarImage =
|
|
1017
|
+
var AvatarImage = (0, import_react12.forwardRef)(
|
|
794
1018
|
({ className, ...props }, ref) => {
|
|
795
|
-
return /* @__PURE__ */
|
|
796
|
-
|
|
1019
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
1020
|
+
import_react_avatar.Image,
|
|
797
1021
|
{
|
|
798
1022
|
ref,
|
|
799
1023
|
"data-slot": "avatar-image",
|
|
@@ -804,12 +1028,12 @@ var AvatarImage = React6.forwardRef(
|
|
|
804
1028
|
}
|
|
805
1029
|
);
|
|
806
1030
|
AvatarImage.displayName = "AvatarImage";
|
|
807
|
-
var AvatarFallback =
|
|
1031
|
+
var AvatarFallback = (0, import_react12.forwardRef)(
|
|
808
1032
|
({ className, children, ...props }, ref) => {
|
|
809
|
-
const size =
|
|
1033
|
+
const size = (0, import_react12.useContext)(AvatarSizeContext) || "md";
|
|
810
1034
|
const textSize = fallbackTextSizeMap[size];
|
|
811
|
-
return /* @__PURE__ */
|
|
812
|
-
|
|
1035
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
1036
|
+
import_react_avatar.Fallback,
|
|
813
1037
|
{
|
|
814
1038
|
ref,
|
|
815
1039
|
"data-slot": "avatar-fallback",
|
|
@@ -825,10 +1049,15 @@ var AvatarFallback = React6.forwardRef(
|
|
|
825
1049
|
}
|
|
826
1050
|
);
|
|
827
1051
|
AvatarFallback.displayName = "AvatarFallback";
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
1052
|
+
|
|
1053
|
+
// src/components/tabs.tsx
|
|
1054
|
+
var import_react_tabs = require("@radix-ui/react-tabs");
|
|
1055
|
+
var import_react13 = require("react");
|
|
1056
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
1057
|
+
var Tabs = import_react_tabs.Root;
|
|
1058
|
+
var TabsList = (0, import_react13.forwardRef)(
|
|
1059
|
+
({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1060
|
+
import_react_tabs.List,
|
|
832
1061
|
{
|
|
833
1062
|
ref,
|
|
834
1063
|
"data-slot": "tabs-list",
|
|
@@ -840,10 +1069,10 @@ var TabsList = React6.forwardRef(
|
|
|
840
1069
|
}
|
|
841
1070
|
)
|
|
842
1071
|
);
|
|
843
|
-
TabsList.displayName =
|
|
844
|
-
var TabsTrigger =
|
|
845
|
-
({ className, ...props }, ref) => /* @__PURE__ */
|
|
846
|
-
|
|
1072
|
+
TabsList.displayName = import_react_tabs.List.displayName;
|
|
1073
|
+
var TabsTrigger = (0, import_react13.forwardRef)(
|
|
1074
|
+
({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1075
|
+
import_react_tabs.Trigger,
|
|
847
1076
|
{
|
|
848
1077
|
ref,
|
|
849
1078
|
"data-slot": "tabs-trigger",
|
|
@@ -855,10 +1084,10 @@ var TabsTrigger = React6.forwardRef(
|
|
|
855
1084
|
}
|
|
856
1085
|
)
|
|
857
1086
|
);
|
|
858
|
-
TabsTrigger.displayName =
|
|
859
|
-
var TabsContent =
|
|
860
|
-
({ className, ...props }, ref) => /* @__PURE__ */
|
|
861
|
-
|
|
1087
|
+
TabsTrigger.displayName = import_react_tabs.Trigger.displayName;
|
|
1088
|
+
var TabsContent = (0, import_react13.forwardRef)(
|
|
1089
|
+
({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1090
|
+
import_react_tabs.Content,
|
|
862
1091
|
{
|
|
863
1092
|
ref,
|
|
864
1093
|
"data-slot": "tabs-content",
|
|
@@ -870,14 +1099,19 @@ var TabsContent = React6.forwardRef(
|
|
|
870
1099
|
}
|
|
871
1100
|
)
|
|
872
1101
|
);
|
|
873
|
-
TabsContent.displayName =
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
var
|
|
877
|
-
var
|
|
1102
|
+
TabsContent.displayName = import_react_tabs.Content.displayName;
|
|
1103
|
+
|
|
1104
|
+
// src/components/popover.tsx
|
|
1105
|
+
var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"), 1);
|
|
1106
|
+
var React5 = __toESM(require("react"), 1);
|
|
1107
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
1108
|
+
var Popover = PopoverPrimitive.Root;
|
|
1109
|
+
var PopoverTrigger = PopoverPrimitive.Trigger;
|
|
1110
|
+
var PopoverAnchor = PopoverPrimitive.Anchor;
|
|
1111
|
+
var PopoverContent = React5.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => {
|
|
878
1112
|
const portalContainer = usePortalContainer();
|
|
879
|
-
return /* @__PURE__ */
|
|
880
|
-
|
|
1113
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(PopoverPrimitive.Portal, { container: portalContainer, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1114
|
+
PopoverPrimitive.Content,
|
|
881
1115
|
{
|
|
882
1116
|
ref,
|
|
883
1117
|
align,
|
|
@@ -891,13 +1125,20 @@ var PopoverContent = React6__namespace.forwardRef(({ className, align = "center"
|
|
|
891
1125
|
}
|
|
892
1126
|
) });
|
|
893
1127
|
});
|
|
894
|
-
PopoverContent.displayName =
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
var
|
|
898
|
-
var
|
|
899
|
-
var
|
|
900
|
-
|
|
1128
|
+
PopoverContent.displayName = PopoverPrimitive.Content.displayName;
|
|
1129
|
+
|
|
1130
|
+
// src/components/dialog.tsx
|
|
1131
|
+
var DialogPrimitive = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
1132
|
+
var import_class_variance_authority8 = require("class-variance-authority");
|
|
1133
|
+
var import_lucide_react4 = require("lucide-react");
|
|
1134
|
+
var import_react14 = require("react");
|
|
1135
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
1136
|
+
var Dialog = DialogPrimitive.Root;
|
|
1137
|
+
var DialogTrigger = DialogPrimitive.Trigger;
|
|
1138
|
+
var DialogPortal = DialogPrimitive.Portal;
|
|
1139
|
+
var DialogClose = DialogPrimitive.Close;
|
|
1140
|
+
var DialogOverlay = (0, import_react14.forwardRef)(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
1141
|
+
DialogPrimitive.Overlay,
|
|
901
1142
|
{
|
|
902
1143
|
ref,
|
|
903
1144
|
"data-slot": "dialog-overlay",
|
|
@@ -908,8 +1149,8 @@ var DialogOverlay = React6.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
908
1149
|
...props
|
|
909
1150
|
}
|
|
910
1151
|
));
|
|
911
|
-
DialogOverlay.displayName =
|
|
912
|
-
var dialogContentVariants =
|
|
1152
|
+
DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
|
|
1153
|
+
var dialogContentVariants = (0, import_class_variance_authority8.cva)("", {
|
|
913
1154
|
variants: {
|
|
914
1155
|
size: {
|
|
915
1156
|
sm: "max-w-sm",
|
|
@@ -923,12 +1164,12 @@ var dialogContentVariants = classVarianceAuthority.cva("", {
|
|
|
923
1164
|
size: "md"
|
|
924
1165
|
}
|
|
925
1166
|
});
|
|
926
|
-
var DialogContent =
|
|
1167
|
+
var DialogContent = (0, import_react14.forwardRef)(({ className, children, size, ...props }, ref) => {
|
|
927
1168
|
const portalContainer = usePortalContainer();
|
|
928
|
-
return /* @__PURE__ */
|
|
929
|
-
/* @__PURE__ */
|
|
930
|
-
/* @__PURE__ */
|
|
931
|
-
|
|
1169
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(DialogPortal, { container: portalContainer, children: [
|
|
1170
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(DialogOverlay, {}),
|
|
1171
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
|
|
1172
|
+
DialogPrimitive.Content,
|
|
932
1173
|
{
|
|
933
1174
|
ref,
|
|
934
1175
|
"data-slot": "dialog-content",
|
|
@@ -940,14 +1181,14 @@ var DialogContent = React6.forwardRef(({ className, children, size, ...props },
|
|
|
940
1181
|
...props,
|
|
941
1182
|
children: [
|
|
942
1183
|
children,
|
|
943
|
-
/* @__PURE__ */
|
|
944
|
-
|
|
1184
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
|
|
1185
|
+
DialogPrimitive.Close,
|
|
945
1186
|
{
|
|
946
1187
|
"data-slot": "dialog-close",
|
|
947
1188
|
className: "absolute right-4 top-4 rounded-none p-1 text-muted-foreground cursor-pointer transition-colors duration-150 hover-unified focus:outline-none focus:ring-2 focus:ring-ring disabled:pointer-events-none disabled:cursor-not-allowed",
|
|
948
1189
|
children: [
|
|
949
|
-
/* @__PURE__ */
|
|
950
|
-
/* @__PURE__ */
|
|
1190
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_lucide_react4.X, { className: "h-4 w-4" }),
|
|
1191
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: "sr-only", children: "Close" })
|
|
951
1192
|
]
|
|
952
1193
|
}
|
|
953
1194
|
)
|
|
@@ -956,9 +1197,9 @@ var DialogContent = React6.forwardRef(({ className, children, size, ...props },
|
|
|
956
1197
|
)
|
|
957
1198
|
] });
|
|
958
1199
|
});
|
|
959
|
-
DialogContent.displayName =
|
|
960
|
-
var DialogHeader =
|
|
961
|
-
({ className, ...props }, ref) => /* @__PURE__ */
|
|
1200
|
+
DialogContent.displayName = DialogPrimitive.Content.displayName;
|
|
1201
|
+
var DialogHeader = (0, import_react14.forwardRef)(
|
|
1202
|
+
({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
962
1203
|
"div",
|
|
963
1204
|
{
|
|
964
1205
|
ref,
|
|
@@ -971,8 +1212,8 @@ var DialogHeader = React6.forwardRef(
|
|
|
971
1212
|
)
|
|
972
1213
|
);
|
|
973
1214
|
DialogHeader.displayName = "DialogHeader";
|
|
974
|
-
var DialogFooter =
|
|
975
|
-
({ className, ...props }, ref) => /* @__PURE__ */
|
|
1215
|
+
var DialogFooter = (0, import_react14.forwardRef)(
|
|
1216
|
+
({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
976
1217
|
"div",
|
|
977
1218
|
{
|
|
978
1219
|
ref,
|
|
@@ -985,8 +1226,8 @@ var DialogFooter = React6.forwardRef(
|
|
|
985
1226
|
)
|
|
986
1227
|
);
|
|
987
1228
|
DialogFooter.displayName = "DialogFooter";
|
|
988
|
-
var DialogTitle =
|
|
989
|
-
|
|
1229
|
+
var DialogTitle = (0, import_react14.forwardRef)(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
1230
|
+
DialogPrimitive.Title,
|
|
990
1231
|
{
|
|
991
1232
|
ref,
|
|
992
1233
|
className: cn(
|
|
@@ -996,21 +1237,26 @@ var DialogTitle = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
996
1237
|
...props
|
|
997
1238
|
}
|
|
998
1239
|
));
|
|
999
|
-
DialogTitle.displayName =
|
|
1000
|
-
var DialogDescription =
|
|
1001
|
-
|
|
1240
|
+
DialogTitle.displayName = DialogPrimitive.Title.displayName;
|
|
1241
|
+
var DialogDescription = (0, import_react14.forwardRef)(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
1242
|
+
DialogPrimitive.Description,
|
|
1002
1243
|
{
|
|
1003
1244
|
ref,
|
|
1004
1245
|
className: cn("text-sm text-muted-foreground", className),
|
|
1005
1246
|
...props
|
|
1006
1247
|
}
|
|
1007
1248
|
));
|
|
1008
|
-
DialogDescription.displayName =
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
var
|
|
1012
|
-
var
|
|
1013
|
-
|
|
1249
|
+
DialogDescription.displayName = DialogPrimitive.Description.displayName;
|
|
1250
|
+
|
|
1251
|
+
// src/components/alert-dialog.tsx
|
|
1252
|
+
var AlertDialogPrimitive = __toESM(require("@radix-ui/react-alert-dialog"), 1);
|
|
1253
|
+
var import_react15 = require("react");
|
|
1254
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
1255
|
+
var AlertDialog = AlertDialogPrimitive.Root;
|
|
1256
|
+
var AlertDialogTrigger = AlertDialogPrimitive.Trigger;
|
|
1257
|
+
var AlertDialogPortal = AlertDialogPrimitive.Portal;
|
|
1258
|
+
var AlertDialogOverlay = (0, import_react15.forwardRef)(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1259
|
+
AlertDialogPrimitive.Overlay,
|
|
1014
1260
|
{
|
|
1015
1261
|
ref,
|
|
1016
1262
|
className: cn(
|
|
@@ -1020,13 +1266,13 @@ var AlertDialogOverlay = React6.forwardRef(({ className, ...props }, ref) => /*
|
|
|
1020
1266
|
...props
|
|
1021
1267
|
}
|
|
1022
1268
|
));
|
|
1023
|
-
AlertDialogOverlay.displayName =
|
|
1024
|
-
var AlertDialogContent =
|
|
1269
|
+
AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
|
|
1270
|
+
var AlertDialogContent = (0, import_react15.forwardRef)(({ className, ...props }, ref) => {
|
|
1025
1271
|
const portalContainer = usePortalContainer();
|
|
1026
|
-
return /* @__PURE__ */
|
|
1027
|
-
/* @__PURE__ */
|
|
1028
|
-
/* @__PURE__ */
|
|
1029
|
-
|
|
1272
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(AlertDialogPortal, { container: portalContainer, children: [
|
|
1273
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(AlertDialogOverlay, {}),
|
|
1274
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1275
|
+
AlertDialogPrimitive.Content,
|
|
1030
1276
|
{
|
|
1031
1277
|
ref,
|
|
1032
1278
|
className: cn(
|
|
@@ -1038,9 +1284,9 @@ var AlertDialogContent = React6.forwardRef(({ className, ...props }, ref) => {
|
|
|
1038
1284
|
)
|
|
1039
1285
|
] });
|
|
1040
1286
|
});
|
|
1041
|
-
AlertDialogContent.displayName =
|
|
1042
|
-
var AlertDialogHeader =
|
|
1043
|
-
({ className, ...props }, ref) => /* @__PURE__ */
|
|
1287
|
+
AlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;
|
|
1288
|
+
var AlertDialogHeader = (0, import_react15.forwardRef)(
|
|
1289
|
+
({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1044
1290
|
"div",
|
|
1045
1291
|
{
|
|
1046
1292
|
ref,
|
|
@@ -1053,8 +1299,8 @@ var AlertDialogHeader = React6.forwardRef(
|
|
|
1053
1299
|
)
|
|
1054
1300
|
);
|
|
1055
1301
|
AlertDialogHeader.displayName = "AlertDialogHeader";
|
|
1056
|
-
var AlertDialogFooter =
|
|
1057
|
-
({ className, ...props }, ref) => /* @__PURE__ */
|
|
1302
|
+
var AlertDialogFooter = (0, import_react15.forwardRef)(
|
|
1303
|
+
({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1058
1304
|
"div",
|
|
1059
1305
|
{
|
|
1060
1306
|
ref,
|
|
@@ -1067,8 +1313,8 @@ var AlertDialogFooter = React6.forwardRef(
|
|
|
1067
1313
|
)
|
|
1068
1314
|
);
|
|
1069
1315
|
AlertDialogFooter.displayName = "AlertDialogFooter";
|
|
1070
|
-
var AlertDialogTitle =
|
|
1071
|
-
|
|
1316
|
+
var AlertDialogTitle = (0, import_react15.forwardRef)(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1317
|
+
AlertDialogPrimitive.Title,
|
|
1072
1318
|
{
|
|
1073
1319
|
ref,
|
|
1074
1320
|
className: cn(
|
|
@@ -1078,18 +1324,18 @@ var AlertDialogTitle = React6.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
1078
1324
|
...props
|
|
1079
1325
|
}
|
|
1080
1326
|
));
|
|
1081
|
-
AlertDialogTitle.displayName =
|
|
1082
|
-
var AlertDialogDescription =
|
|
1083
|
-
|
|
1327
|
+
AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
|
|
1328
|
+
var AlertDialogDescription = (0, import_react15.forwardRef)(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1329
|
+
AlertDialogPrimitive.Description,
|
|
1084
1330
|
{
|
|
1085
1331
|
ref,
|
|
1086
1332
|
className: cn("text-sm text-muted-foreground", className),
|
|
1087
1333
|
...props
|
|
1088
1334
|
}
|
|
1089
1335
|
));
|
|
1090
|
-
AlertDialogDescription.displayName =
|
|
1091
|
-
var AlertDialogAction =
|
|
1092
|
-
|
|
1336
|
+
AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
|
|
1337
|
+
var AlertDialogAction = (0, import_react15.forwardRef)(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1338
|
+
AlertDialogPrimitive.Action,
|
|
1093
1339
|
{
|
|
1094
1340
|
ref,
|
|
1095
1341
|
className: cn(buttonVariants({ variant: "destructive" }), className),
|
|
@@ -1097,9 +1343,9 @@ var AlertDialogAction = React6.forwardRef(({ className, children, ...props }, re
|
|
|
1097
1343
|
children
|
|
1098
1344
|
}
|
|
1099
1345
|
));
|
|
1100
|
-
AlertDialogAction.displayName =
|
|
1101
|
-
var AlertDialogCancel =
|
|
1102
|
-
|
|
1346
|
+
AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
|
|
1347
|
+
var AlertDialogCancel = (0, import_react15.forwardRef)(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1348
|
+
AlertDialogPrimitive.Cancel,
|
|
1103
1349
|
{
|
|
1104
1350
|
ref,
|
|
1105
1351
|
className: cn(
|
|
@@ -1111,16 +1357,22 @@ var AlertDialogCancel = React6.forwardRef(({ className, children, ...props }, re
|
|
|
1111
1357
|
children
|
|
1112
1358
|
}
|
|
1113
1359
|
));
|
|
1114
|
-
AlertDialogCancel.displayName =
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
var
|
|
1118
|
-
var
|
|
1119
|
-
var
|
|
1120
|
-
var
|
|
1360
|
+
AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;
|
|
1361
|
+
|
|
1362
|
+
// src/components/dropdown-menu.tsx
|
|
1363
|
+
var DropdownMenuPrimitive = __toESM(require("@radix-ui/react-dropdown-menu"), 1);
|
|
1364
|
+
var import_lucide_react5 = require("lucide-react");
|
|
1365
|
+
var React6 = __toESM(require("react"), 1);
|
|
1366
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
1367
|
+
var DropdownMenu = DropdownMenuPrimitive.Root;
|
|
1368
|
+
var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
|
|
1369
|
+
var DropdownMenuGroup = DropdownMenuPrimitive.Group;
|
|
1370
|
+
var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
|
|
1371
|
+
var DropdownMenuSub = DropdownMenuPrimitive.Sub;
|
|
1372
|
+
var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
|
|
1121
1373
|
var menuItemBase = "cursor-pointer transition-colors data-[highlighted]:bg-muted data-[highlighted]:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50";
|
|
1122
|
-
var DropdownMenuSubTrigger =
|
|
1123
|
-
|
|
1374
|
+
var DropdownMenuSubTrigger = React6.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
1375
|
+
DropdownMenuPrimitive.SubTrigger,
|
|
1124
1376
|
{
|
|
1125
1377
|
ref,
|
|
1126
1378
|
className: cn(
|
|
@@ -1132,13 +1384,13 @@ var DropdownMenuSubTrigger = React6__namespace.forwardRef(({ className, inset, c
|
|
|
1132
1384
|
...props,
|
|
1133
1385
|
children: [
|
|
1134
1386
|
children,
|
|
1135
|
-
/* @__PURE__ */
|
|
1387
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_lucide_react5.ChevronRight, { className: "ml-auto" })
|
|
1136
1388
|
]
|
|
1137
1389
|
}
|
|
1138
1390
|
));
|
|
1139
|
-
DropdownMenuSubTrigger.displayName =
|
|
1140
|
-
var DropdownMenuSubContent =
|
|
1141
|
-
|
|
1391
|
+
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
|
|
1392
|
+
var DropdownMenuSubContent = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1393
|
+
DropdownMenuPrimitive.SubContent,
|
|
1142
1394
|
{
|
|
1143
1395
|
ref,
|
|
1144
1396
|
className: cn(
|
|
@@ -1148,11 +1400,11 @@ var DropdownMenuSubContent = React6__namespace.forwardRef(({ className, ...props
|
|
|
1148
1400
|
...props
|
|
1149
1401
|
}
|
|
1150
1402
|
));
|
|
1151
|
-
DropdownMenuSubContent.displayName =
|
|
1152
|
-
var DropdownMenuContent =
|
|
1403
|
+
DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
|
|
1404
|
+
var DropdownMenuContent = React6.forwardRef(({ className, sideOffset = 4, ...props }, ref) => {
|
|
1153
1405
|
const portalContainer = usePortalContainer();
|
|
1154
|
-
return /* @__PURE__ */
|
|
1155
|
-
|
|
1406
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(DropdownMenuPrimitive.Portal, { container: portalContainer, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1407
|
+
DropdownMenuPrimitive.Content,
|
|
1156
1408
|
{
|
|
1157
1409
|
ref,
|
|
1158
1410
|
sideOffset,
|
|
@@ -1164,9 +1416,9 @@ var DropdownMenuContent = React6__namespace.forwardRef(({ className, sideOffset
|
|
|
1164
1416
|
}
|
|
1165
1417
|
) });
|
|
1166
1418
|
});
|
|
1167
|
-
DropdownMenuContent.displayName =
|
|
1168
|
-
var DropdownMenuItem =
|
|
1169
|
-
|
|
1419
|
+
DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
|
|
1420
|
+
var DropdownMenuItem = React6.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1421
|
+
DropdownMenuPrimitive.Item,
|
|
1170
1422
|
{
|
|
1171
1423
|
ref,
|
|
1172
1424
|
className: cn(
|
|
@@ -1178,9 +1430,9 @@ var DropdownMenuItem = React6__namespace.forwardRef(({ className, inset, ...prop
|
|
|
1178
1430
|
...props
|
|
1179
1431
|
}
|
|
1180
1432
|
));
|
|
1181
|
-
DropdownMenuItem.displayName =
|
|
1182
|
-
var DropdownMenuCheckboxItem =
|
|
1183
|
-
|
|
1433
|
+
DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
|
|
1434
|
+
var DropdownMenuCheckboxItem = React6.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
1435
|
+
DropdownMenuPrimitive.CheckboxItem,
|
|
1184
1436
|
{
|
|
1185
1437
|
ref,
|
|
1186
1438
|
className: cn(
|
|
@@ -1191,14 +1443,14 @@ var DropdownMenuCheckboxItem = React6__namespace.forwardRef(({ className, childr
|
|
|
1191
1443
|
checked,
|
|
1192
1444
|
...props,
|
|
1193
1445
|
children: [
|
|
1194
|
-
/* @__PURE__ */
|
|
1446
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_lucide_react5.Check, { className: "h-4 w-4" }) }) }),
|
|
1195
1447
|
children
|
|
1196
1448
|
]
|
|
1197
1449
|
}
|
|
1198
1450
|
));
|
|
1199
|
-
DropdownMenuCheckboxItem.displayName =
|
|
1200
|
-
var DropdownMenuRadioItem =
|
|
1201
|
-
|
|
1451
|
+
DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
|
|
1452
|
+
var DropdownMenuRadioItem = React6.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
1453
|
+
DropdownMenuPrimitive.RadioItem,
|
|
1202
1454
|
{
|
|
1203
1455
|
ref,
|
|
1204
1456
|
className: cn(
|
|
@@ -1208,14 +1460,14 @@ var DropdownMenuRadioItem = React6__namespace.forwardRef(({ className, children,
|
|
|
1208
1460
|
),
|
|
1209
1461
|
...props,
|
|
1210
1462
|
children: [
|
|
1211
|
-
/* @__PURE__ */
|
|
1463
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_lucide_react5.Circle, { className: "h-2 w-2 fill-current" }) }) }),
|
|
1212
1464
|
children
|
|
1213
1465
|
]
|
|
1214
1466
|
}
|
|
1215
1467
|
));
|
|
1216
|
-
DropdownMenuRadioItem.displayName =
|
|
1217
|
-
var DropdownMenuLabel =
|
|
1218
|
-
|
|
1468
|
+
DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
|
|
1469
|
+
var DropdownMenuLabel = React6.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1470
|
+
DropdownMenuPrimitive.Label,
|
|
1219
1471
|
{
|
|
1220
1472
|
ref,
|
|
1221
1473
|
className: cn(
|
|
@@ -1226,18 +1478,18 @@ var DropdownMenuLabel = React6__namespace.forwardRef(({ className, inset, ...pro
|
|
|
1226
1478
|
...props
|
|
1227
1479
|
}
|
|
1228
1480
|
));
|
|
1229
|
-
DropdownMenuLabel.displayName =
|
|
1230
|
-
var DropdownMenuSeparator =
|
|
1231
|
-
|
|
1481
|
+
DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
|
|
1482
|
+
var DropdownMenuSeparator = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1483
|
+
DropdownMenuPrimitive.Separator,
|
|
1232
1484
|
{
|
|
1233
1485
|
ref,
|
|
1234
1486
|
className: cn("-mx-1 my-1 h-px bg-primary/5", className),
|
|
1235
1487
|
...props
|
|
1236
1488
|
}
|
|
1237
1489
|
));
|
|
1238
|
-
DropdownMenuSeparator.displayName =
|
|
1239
|
-
var DropdownMenuShortcut =
|
|
1240
|
-
return /* @__PURE__ */
|
|
1490
|
+
DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
|
|
1491
|
+
var DropdownMenuShortcut = React6.forwardRef(({ className, ...props }, ref) => {
|
|
1492
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1241
1493
|
"span",
|
|
1242
1494
|
{
|
|
1243
1495
|
ref,
|
|
@@ -1247,20 +1499,27 @@ var DropdownMenuShortcut = React6__namespace.forwardRef(({ className, ...props }
|
|
|
1247
1499
|
);
|
|
1248
1500
|
});
|
|
1249
1501
|
DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
|
|
1502
|
+
|
|
1503
|
+
// src/components/select.tsx
|
|
1504
|
+
var SelectPrimitive = __toESM(require("@radix-ui/react-select"), 1);
|
|
1505
|
+
var import_class_variance_authority9 = require("class-variance-authority");
|
|
1506
|
+
var import_lucide_react6 = require("lucide-react");
|
|
1507
|
+
var import_react16 = require("react");
|
|
1508
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
1250
1509
|
function Select({ ...props }) {
|
|
1251
|
-
return /* @__PURE__ */
|
|
1510
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(SelectPrimitive.Root, { "data-slot": "select", ...props });
|
|
1252
1511
|
}
|
|
1253
1512
|
function SelectGroup({
|
|
1254
1513
|
...props
|
|
1255
1514
|
}) {
|
|
1256
|
-
return /* @__PURE__ */
|
|
1515
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(SelectPrimitive.Group, { "data-slot": "select-group", ...props });
|
|
1257
1516
|
}
|
|
1258
1517
|
function SelectValue({
|
|
1259
1518
|
...props
|
|
1260
1519
|
}) {
|
|
1261
|
-
return /* @__PURE__ */
|
|
1520
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
|
|
1262
1521
|
}
|
|
1263
|
-
var selectTriggerVariants =
|
|
1522
|
+
var selectTriggerVariants = (0, import_class_variance_authority9.cva)(
|
|
1264
1523
|
// hover:border-primary (full strength) keeps the hover boundary more visible
|
|
1265
1524
|
// than the resting border-input, not a fainter alpha of it.
|
|
1266
1525
|
"flex w-full items-center justify-between gap-2 rounded-none border border-input bg-background px-3 text-sm text-foreground cursor-pointer transition-all duration-150 focus:border-primary! focus-visible:border-primary! focus:outline-none hover:border-primary disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-primary/5 data-[placeholder]:text-muted-foreground aria-[invalid=true]:border-destructive aria-[invalid=true]:focus:border-destructive! [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:size-4",
|
|
@@ -1277,9 +1536,9 @@ var selectTriggerVariants = classVarianceAuthority.cva(
|
|
|
1277
1536
|
}
|
|
1278
1537
|
}
|
|
1279
1538
|
);
|
|
1280
|
-
var SelectTrigger =
|
|
1281
|
-
return /* @__PURE__ */
|
|
1282
|
-
|
|
1539
|
+
var SelectTrigger = (0, import_react16.forwardRef)(({ className, size, children, ...props }, ref) => {
|
|
1540
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
1541
|
+
SelectPrimitive.Trigger,
|
|
1283
1542
|
{
|
|
1284
1543
|
ref,
|
|
1285
1544
|
"data-slot": "select-trigger",
|
|
@@ -1287,7 +1546,7 @@ var SelectTrigger = React6.forwardRef(({ className, size, children, ...props },
|
|
|
1287
1546
|
...props,
|
|
1288
1547
|
children: [
|
|
1289
1548
|
children,
|
|
1290
|
-
/* @__PURE__ */
|
|
1549
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react6.ChevronDown, { className: "size-4 opacity-50" }) })
|
|
1291
1550
|
]
|
|
1292
1551
|
}
|
|
1293
1552
|
);
|
|
@@ -1300,8 +1559,8 @@ function SelectContent({
|
|
|
1300
1559
|
...props
|
|
1301
1560
|
}) {
|
|
1302
1561
|
const portalContainer = usePortalContainer();
|
|
1303
|
-
return /* @__PURE__ */
|
|
1304
|
-
|
|
1562
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(SelectPrimitive.Portal, { container: portalContainer, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
1563
|
+
SelectPrimitive.Content,
|
|
1305
1564
|
{
|
|
1306
1565
|
"data-slot": "select-content",
|
|
1307
1566
|
className: cn(
|
|
@@ -1312,9 +1571,9 @@ function SelectContent({
|
|
|
1312
1571
|
position,
|
|
1313
1572
|
...props,
|
|
1314
1573
|
children: [
|
|
1315
|
-
/* @__PURE__ */
|
|
1316
|
-
/* @__PURE__ */
|
|
1317
|
-
|
|
1574
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(SelectScrollUpButton, {}),
|
|
1575
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1576
|
+
SelectPrimitive.Viewport,
|
|
1318
1577
|
{
|
|
1319
1578
|
className: cn(
|
|
1320
1579
|
"p-1",
|
|
@@ -1323,7 +1582,7 @@ function SelectContent({
|
|
|
1323
1582
|
children
|
|
1324
1583
|
}
|
|
1325
1584
|
),
|
|
1326
|
-
/* @__PURE__ */
|
|
1585
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(SelectScrollDownButton, {})
|
|
1327
1586
|
]
|
|
1328
1587
|
}
|
|
1329
1588
|
) });
|
|
@@ -1332,8 +1591,8 @@ function SelectLabel({
|
|
|
1332
1591
|
className,
|
|
1333
1592
|
...props
|
|
1334
1593
|
}) {
|
|
1335
|
-
return /* @__PURE__ */
|
|
1336
|
-
|
|
1594
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1595
|
+
SelectPrimitive.Label,
|
|
1337
1596
|
{
|
|
1338
1597
|
"data-slot": "select-label",
|
|
1339
1598
|
className: cn("text-muted-foreground px-2 py-1.5 text-xs", className),
|
|
@@ -1346,8 +1605,8 @@ function SelectItem({
|
|
|
1346
1605
|
children,
|
|
1347
1606
|
...props
|
|
1348
1607
|
}) {
|
|
1349
|
-
return /* @__PURE__ */
|
|
1350
|
-
|
|
1608
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
1609
|
+
SelectPrimitive.Item,
|
|
1351
1610
|
{
|
|
1352
1611
|
"data-slot": "select-item",
|
|
1353
1612
|
className: cn(
|
|
@@ -1356,8 +1615,8 @@ function SelectItem({
|
|
|
1356
1615
|
),
|
|
1357
1616
|
...props,
|
|
1358
1617
|
children: [
|
|
1359
|
-
/* @__PURE__ */
|
|
1360
|
-
/* @__PURE__ */
|
|
1618
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react6.Check, { className: "size-4" }) }) }),
|
|
1619
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(SelectPrimitive.ItemText, { children })
|
|
1361
1620
|
]
|
|
1362
1621
|
}
|
|
1363
1622
|
);
|
|
@@ -1366,8 +1625,8 @@ function SelectSeparator({
|
|
|
1366
1625
|
className,
|
|
1367
1626
|
...props
|
|
1368
1627
|
}) {
|
|
1369
|
-
return /* @__PURE__ */
|
|
1370
|
-
|
|
1628
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1629
|
+
SelectPrimitive.Separator,
|
|
1371
1630
|
{
|
|
1372
1631
|
"data-slot": "select-separator",
|
|
1373
1632
|
className: cn("bg-border pointer-events-none -mx-1 my-1 h-px", className),
|
|
@@ -1379,8 +1638,8 @@ function SelectScrollUpButton({
|
|
|
1379
1638
|
className,
|
|
1380
1639
|
...props
|
|
1381
1640
|
}) {
|
|
1382
|
-
return /* @__PURE__ */
|
|
1383
|
-
|
|
1641
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1642
|
+
SelectPrimitive.ScrollUpButton,
|
|
1384
1643
|
{
|
|
1385
1644
|
"data-slot": "select-scroll-up-button",
|
|
1386
1645
|
className: cn(
|
|
@@ -1388,7 +1647,7 @@ function SelectScrollUpButton({
|
|
|
1388
1647
|
className
|
|
1389
1648
|
),
|
|
1390
1649
|
...props,
|
|
1391
|
-
children: /* @__PURE__ */
|
|
1650
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react6.ChevronUp, { className: "size-4" })
|
|
1392
1651
|
}
|
|
1393
1652
|
);
|
|
1394
1653
|
}
|
|
@@ -1396,8 +1655,8 @@ function SelectScrollDownButton({
|
|
|
1396
1655
|
className,
|
|
1397
1656
|
...props
|
|
1398
1657
|
}) {
|
|
1399
|
-
return /* @__PURE__ */
|
|
1400
|
-
|
|
1658
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1659
|
+
SelectPrimitive.ScrollDownButton,
|
|
1401
1660
|
{
|
|
1402
1661
|
"data-slot": "select-scroll-down-button",
|
|
1403
1662
|
className: cn(
|
|
@@ -1405,16 +1664,22 @@ function SelectScrollDownButton({
|
|
|
1405
1664
|
className
|
|
1406
1665
|
),
|
|
1407
1666
|
...props,
|
|
1408
|
-
children: /* @__PURE__ */
|
|
1667
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react6.ChevronDown, { className: "size-4" })
|
|
1409
1668
|
}
|
|
1410
1669
|
);
|
|
1411
1670
|
}
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
var
|
|
1415
|
-
var
|
|
1416
|
-
var
|
|
1417
|
-
|
|
1671
|
+
|
|
1672
|
+
// src/components/sheet.tsx
|
|
1673
|
+
var DialogPrimitive2 = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
1674
|
+
var import_class_variance_authority10 = require("class-variance-authority");
|
|
1675
|
+
var React7 = __toESM(require("react"), 1);
|
|
1676
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
1677
|
+
var Sheet = DialogPrimitive2.Root;
|
|
1678
|
+
var SheetTrigger = DialogPrimitive2.Trigger;
|
|
1679
|
+
var SheetClose = DialogPrimitive2.Close;
|
|
1680
|
+
var SheetPortal = DialogPrimitive2.Portal;
|
|
1681
|
+
var SheetOverlay = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1682
|
+
DialogPrimitive2.Overlay,
|
|
1418
1683
|
{
|
|
1419
1684
|
className: cn(
|
|
1420
1685
|
"fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
|
|
@@ -1426,8 +1691,8 @@ var SheetOverlay = React6__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
1426
1691
|
ref
|
|
1427
1692
|
}
|
|
1428
1693
|
));
|
|
1429
|
-
SheetOverlay.displayName =
|
|
1430
|
-
var sheetVariants =
|
|
1694
|
+
SheetOverlay.displayName = DialogPrimitive2.Overlay.displayName;
|
|
1695
|
+
var sheetVariants = (0, import_class_variance_authority10.cva)(
|
|
1431
1696
|
"fixed z-50 gap-4 bg-background p-6 shadow-lg will-change-transform transition ease-in-out data-[state=closed]:duration-150 data-[state=open]:duration-150 data-[state=open]:animate-in data-[state=closed]:animate-out",
|
|
1432
1697
|
{
|
|
1433
1698
|
variants: {
|
|
@@ -1443,12 +1708,12 @@ var sheetVariants = classVarianceAuthority.cva(
|
|
|
1443
1708
|
}
|
|
1444
1709
|
}
|
|
1445
1710
|
);
|
|
1446
|
-
var SheetContent =
|
|
1711
|
+
var SheetContent = React7.forwardRef(({ side = "right", className, children, ...props }, ref) => {
|
|
1447
1712
|
const portalContainer = usePortalContainer();
|
|
1448
|
-
return /* @__PURE__ */
|
|
1449
|
-
/* @__PURE__ */
|
|
1450
|
-
/* @__PURE__ */
|
|
1451
|
-
|
|
1713
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(SheetPortal, { container: portalContainer, children: [
|
|
1714
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(SheetOverlay, {}),
|
|
1715
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1716
|
+
DialogPrimitive2.Content,
|
|
1452
1717
|
{
|
|
1453
1718
|
ref,
|
|
1454
1719
|
"data-slot": "sheet-content",
|
|
@@ -1459,11 +1724,11 @@ var SheetContent = React6__namespace.forwardRef(({ side = "right", className, ch
|
|
|
1459
1724
|
)
|
|
1460
1725
|
] });
|
|
1461
1726
|
});
|
|
1462
|
-
SheetContent.displayName =
|
|
1727
|
+
SheetContent.displayName = DialogPrimitive2.Content.displayName;
|
|
1463
1728
|
var SheetHeader = ({
|
|
1464
1729
|
className,
|
|
1465
1730
|
...props
|
|
1466
|
-
}) => /* @__PURE__ */
|
|
1731
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1467
1732
|
"div",
|
|
1468
1733
|
{
|
|
1469
1734
|
className: cn(
|
|
@@ -1477,7 +1742,7 @@ SheetHeader.displayName = "SheetHeader";
|
|
|
1477
1742
|
var SheetFooter = ({
|
|
1478
1743
|
className,
|
|
1479
1744
|
...props
|
|
1480
|
-
}) => /* @__PURE__ */
|
|
1745
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1481
1746
|
"div",
|
|
1482
1747
|
{
|
|
1483
1748
|
className: cn(
|
|
@@ -1488,27 +1753,34 @@ var SheetFooter = ({
|
|
|
1488
1753
|
}
|
|
1489
1754
|
);
|
|
1490
1755
|
SheetFooter.displayName = "SheetFooter";
|
|
1491
|
-
var SheetTitle =
|
|
1492
|
-
|
|
1756
|
+
var SheetTitle = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1757
|
+
DialogPrimitive2.Title,
|
|
1493
1758
|
{
|
|
1494
1759
|
ref,
|
|
1495
1760
|
className: cn("text-lg font-semibold text-foreground", className),
|
|
1496
1761
|
...props
|
|
1497
1762
|
}
|
|
1498
1763
|
));
|
|
1499
|
-
SheetTitle.displayName =
|
|
1500
|
-
var SheetDescription =
|
|
1501
|
-
|
|
1764
|
+
SheetTitle.displayName = DialogPrimitive2.Title.displayName;
|
|
1765
|
+
var SheetDescription = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1766
|
+
DialogPrimitive2.Description,
|
|
1502
1767
|
{
|
|
1503
1768
|
ref,
|
|
1504
1769
|
className: cn("text-sm text-muted-foreground", className),
|
|
1505
1770
|
...props
|
|
1506
1771
|
}
|
|
1507
1772
|
));
|
|
1508
|
-
SheetDescription.displayName =
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1773
|
+
SheetDescription.displayName = DialogPrimitive2.Description.displayName;
|
|
1774
|
+
|
|
1775
|
+
// src/components/command.tsx
|
|
1776
|
+
var DialogPrimitive3 = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
1777
|
+
var import_cmdk = require("cmdk");
|
|
1778
|
+
var import_lucide_react7 = require("lucide-react");
|
|
1779
|
+
var import_react17 = require("react");
|
|
1780
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
1781
|
+
var Command = (0, import_react17.forwardRef)(
|
|
1782
|
+
({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1783
|
+
import_cmdk.Command,
|
|
1512
1784
|
{
|
|
1513
1785
|
ref,
|
|
1514
1786
|
className: cn(
|
|
@@ -1520,8 +1792,8 @@ var Command = React6.forwardRef(
|
|
|
1520
1792
|
)
|
|
1521
1793
|
);
|
|
1522
1794
|
Command.displayName = "Command";
|
|
1523
|
-
var CommandDialogOverlay =
|
|
1524
|
-
|
|
1795
|
+
var CommandDialogOverlay = (0, import_react17.forwardRef)(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1796
|
+
DialogPrimitive3.Overlay,
|
|
1525
1797
|
{
|
|
1526
1798
|
ref,
|
|
1527
1799
|
className: cn(
|
|
@@ -1537,10 +1809,10 @@ var CommandDialogOverlay = React6.forwardRef(({ className, ...props }, ref) => /
|
|
|
1537
1809
|
CommandDialogOverlay.displayName = "CommandDialogOverlay";
|
|
1538
1810
|
var CommandDialog = ({ children, ...props }) => {
|
|
1539
1811
|
const portalContainer = usePortalContainer();
|
|
1540
|
-
return /* @__PURE__ */
|
|
1541
|
-
/* @__PURE__ */
|
|
1542
|
-
/* @__PURE__ */
|
|
1543
|
-
|
|
1812
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(DialogPrimitive3.Root, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(DialogPrimitive3.Portal, { container: portalContainer, children: [
|
|
1813
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(CommandDialogOverlay, {}),
|
|
1814
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1815
|
+
DialogPrimitive3.Content,
|
|
1544
1816
|
{
|
|
1545
1817
|
"data-slot": "command-content",
|
|
1546
1818
|
className: cn(
|
|
@@ -1567,20 +1839,20 @@ var CommandDialog = ({ children, ...props }) => {
|
|
|
1567
1839
|
"data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",
|
|
1568
1840
|
"data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-top-[48%]"
|
|
1569
1841
|
),
|
|
1570
|
-
children: /* @__PURE__ */
|
|
1842
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Command, { className: "[&_[cmdk-group-heading]]:px-3 [&_[cmdk-group-heading]]:py-2 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-semibold [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:uppercase [&_[cmdk-group-heading]]:tracking-wide [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:mb-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-3 [&_[cmdk-item]]:py-2 [&_[cmdk-item]_svg]:h-4 [&_[cmdk-item]_svg]:w-4", children })
|
|
1571
1843
|
}
|
|
1572
1844
|
)
|
|
1573
1845
|
] }) });
|
|
1574
1846
|
};
|
|
1575
|
-
var CommandInput =
|
|
1847
|
+
var CommandInput = (0, import_react17.forwardRef)(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
1576
1848
|
"div",
|
|
1577
1849
|
{
|
|
1578
1850
|
className: "flex items-center border-b border-border px-4",
|
|
1579
1851
|
"cmdk-input-wrapper": "",
|
|
1580
1852
|
children: [
|
|
1581
|
-
/* @__PURE__ */
|
|
1582
|
-
/* @__PURE__ */
|
|
1583
|
-
|
|
1853
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_lucide_react7.Search, { className: "mr-3 h-5 w-5 shrink-0 text-muted-foreground" }),
|
|
1854
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1855
|
+
import_cmdk.Command.Input,
|
|
1584
1856
|
{
|
|
1585
1857
|
ref,
|
|
1586
1858
|
className: cn(
|
|
@@ -1604,8 +1876,8 @@ var CommandInput = React6.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
1604
1876
|
}
|
|
1605
1877
|
));
|
|
1606
1878
|
CommandInput.displayName = "CommandInput";
|
|
1607
|
-
var CommandList =
|
|
1608
|
-
|
|
1879
|
+
var CommandList = (0, import_react17.forwardRef)(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1880
|
+
import_cmdk.Command.List,
|
|
1609
1881
|
{
|
|
1610
1882
|
ref,
|
|
1611
1883
|
className: cn(
|
|
@@ -1619,8 +1891,8 @@ var CommandList = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
1619
1891
|
}
|
|
1620
1892
|
));
|
|
1621
1893
|
CommandList.displayName = "CommandList";
|
|
1622
|
-
var CommandEmpty =
|
|
1623
|
-
|
|
1894
|
+
var CommandEmpty = (0, import_react17.forwardRef)((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1895
|
+
import_cmdk.Command.Empty,
|
|
1624
1896
|
{
|
|
1625
1897
|
ref,
|
|
1626
1898
|
className: "py-8 px-4 text-center text-sm text-muted-foreground",
|
|
@@ -1628,8 +1900,8 @@ var CommandEmpty = React6.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.
|
|
|
1628
1900
|
}
|
|
1629
1901
|
));
|
|
1630
1902
|
CommandEmpty.displayName = "CommandEmpty";
|
|
1631
|
-
var CommandGroup =
|
|
1632
|
-
|
|
1903
|
+
var CommandGroup = (0, import_react17.forwardRef)(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1904
|
+
import_cmdk.Command.Group,
|
|
1633
1905
|
{
|
|
1634
1906
|
ref,
|
|
1635
1907
|
className: cn(
|
|
@@ -1643,8 +1915,8 @@ var CommandGroup = React6.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
1643
1915
|
}
|
|
1644
1916
|
));
|
|
1645
1917
|
CommandGroup.displayName = "CommandGroup";
|
|
1646
|
-
var CommandSeparator =
|
|
1647
|
-
|
|
1918
|
+
var CommandSeparator = (0, import_react17.forwardRef)(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1919
|
+
import_cmdk.Command.Separator,
|
|
1648
1920
|
{
|
|
1649
1921
|
ref,
|
|
1650
1922
|
className: cn("h-px bg-border my-2", className),
|
|
@@ -1652,8 +1924,8 @@ var CommandSeparator = React6.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
1652
1924
|
}
|
|
1653
1925
|
));
|
|
1654
1926
|
CommandSeparator.displayName = "CommandSeparator";
|
|
1655
|
-
var CommandItem =
|
|
1656
|
-
|
|
1927
|
+
var CommandItem = (0, import_react17.forwardRef)(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1928
|
+
import_cmdk.Command.Item,
|
|
1657
1929
|
{
|
|
1658
1930
|
ref,
|
|
1659
1931
|
className: cn(
|
|
@@ -1681,9 +1953,9 @@ var CommandItem = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
1681
1953
|
}
|
|
1682
1954
|
));
|
|
1683
1955
|
CommandItem.displayName = "CommandItem";
|
|
1684
|
-
var CommandShortcut =
|
|
1956
|
+
var CommandShortcut = (0, import_react17.forwardRef)(
|
|
1685
1957
|
({ className, ...props }, ref) => {
|
|
1686
|
-
return /* @__PURE__ */
|
|
1958
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1687
1959
|
"span",
|
|
1688
1960
|
{
|
|
1689
1961
|
ref,
|
|
@@ -1705,7 +1977,13 @@ var CommandShortcut = React6.forwardRef(
|
|
|
1705
1977
|
}
|
|
1706
1978
|
);
|
|
1707
1979
|
CommandShortcut.displayName = "CommandShortcut";
|
|
1708
|
-
|
|
1980
|
+
|
|
1981
|
+
// src/components/spinner.tsx
|
|
1982
|
+
var import_class_variance_authority11 = require("class-variance-authority");
|
|
1983
|
+
var import_lucide_react8 = require("lucide-react");
|
|
1984
|
+
var import_react18 = require("react");
|
|
1985
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
1986
|
+
var spinnerVariants = (0, import_class_variance_authority11.cva)("animate-spin motion-reduce:animate-none", {
|
|
1709
1987
|
variants: {
|
|
1710
1988
|
size: {
|
|
1711
1989
|
sm: "h-4 w-4",
|
|
@@ -1717,10 +1995,10 @@ var spinnerVariants = classVarianceAuthority.cva("animate-spin motion-reduce:ani
|
|
|
1717
1995
|
size: "md"
|
|
1718
1996
|
}
|
|
1719
1997
|
});
|
|
1720
|
-
var Spinner =
|
|
1998
|
+
var Spinner = (0, import_react18.forwardRef)(
|
|
1721
1999
|
({ size = "md", className, "aria-label": ariaLabel = "Loading", ...props }, ref) => {
|
|
1722
|
-
return /* @__PURE__ */
|
|
1723
|
-
|
|
2000
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
2001
|
+
import_lucide_react8.Loader2,
|
|
1724
2002
|
{
|
|
1725
2003
|
ref,
|
|
1726
2004
|
role: "status",
|
|
@@ -1732,9 +2010,14 @@ var Spinner = React6.forwardRef(
|
|
|
1732
2010
|
}
|
|
1733
2011
|
);
|
|
1734
2012
|
Spinner.displayName = "Spinner";
|
|
2013
|
+
|
|
2014
|
+
// src/components/toaster.tsx
|
|
2015
|
+
var import_lucide_react9 = require("lucide-react");
|
|
2016
|
+
var import_sonner = require("sonner");
|
|
2017
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
1735
2018
|
function Toaster({ theme = "system", ...props }) {
|
|
1736
|
-
return /* @__PURE__ */
|
|
1737
|
-
|
|
2019
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2020
|
+
import_sonner.Toaster,
|
|
1738
2021
|
{
|
|
1739
2022
|
theme,
|
|
1740
2023
|
className: "toaster group bg-transparent! overflow-visible! z-[9999]!",
|
|
@@ -1745,11 +2028,11 @@ function Toaster({ theme = "system", ...props }) {
|
|
|
1745
2028
|
}
|
|
1746
2029
|
},
|
|
1747
2030
|
icons: {
|
|
1748
|
-
success: /* @__PURE__ */
|
|
1749
|
-
info: /* @__PURE__ */
|
|
1750
|
-
warning: /* @__PURE__ */
|
|
1751
|
-
error: /* @__PURE__ */
|
|
1752
|
-
loading: /* @__PURE__ */
|
|
2031
|
+
success: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react9.CheckCircle2, { className: "h-4 w-4" }),
|
|
2032
|
+
info: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react9.AlertCircle, { className: "h-4 w-4" }),
|
|
2033
|
+
warning: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react9.AlertTriangle, { className: "h-4 w-4" }),
|
|
2034
|
+
error: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react9.XCircle, { className: "h-4 w-4" }),
|
|
2035
|
+
loading: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react9.Loader2, { className: "h-4 w-4 animate-spin" })
|
|
1753
2036
|
},
|
|
1754
2037
|
style: {
|
|
1755
2038
|
"--normal-bg": "var(--nx-popover)",
|
|
@@ -1761,7 +2044,11 @@ function Toaster({ theme = "system", ...props }) {
|
|
|
1761
2044
|
}
|
|
1762
2045
|
);
|
|
1763
2046
|
}
|
|
1764
|
-
|
|
2047
|
+
|
|
2048
|
+
// src/components/table.tsx
|
|
2049
|
+
var React8 = __toESM(require("react"), 1);
|
|
2050
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
2051
|
+
var Table = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1765
2052
|
"table",
|
|
1766
2053
|
{
|
|
1767
2054
|
ref,
|
|
@@ -1770,7 +2057,7 @@ var Table = React6__namespace.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
1770
2057
|
}
|
|
1771
2058
|
) }));
|
|
1772
2059
|
Table.displayName = "Table";
|
|
1773
|
-
var TableHeader =
|
|
2060
|
+
var TableHeader = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1774
2061
|
"thead",
|
|
1775
2062
|
{
|
|
1776
2063
|
ref,
|
|
@@ -1779,7 +2066,7 @@ var TableHeader = React6__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
1779
2066
|
}
|
|
1780
2067
|
));
|
|
1781
2068
|
TableHeader.displayName = "TableHeader";
|
|
1782
|
-
var TableBody =
|
|
2069
|
+
var TableBody = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1783
2070
|
"tbody",
|
|
1784
2071
|
{
|
|
1785
2072
|
ref,
|
|
@@ -1788,7 +2075,7 @@ var TableBody = React6__namespace.forwardRef(({ className, ...props }, ref) => /
|
|
|
1788
2075
|
}
|
|
1789
2076
|
));
|
|
1790
2077
|
TableBody.displayName = "TableBody";
|
|
1791
|
-
var TableFooter =
|
|
2078
|
+
var TableFooter = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1792
2079
|
"tfoot",
|
|
1793
2080
|
{
|
|
1794
2081
|
ref,
|
|
@@ -1800,7 +2087,7 @@ var TableFooter = React6__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
1800
2087
|
}
|
|
1801
2088
|
));
|
|
1802
2089
|
TableFooter.displayName = "TableFooter";
|
|
1803
|
-
var TableRow =
|
|
2090
|
+
var TableRow = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1804
2091
|
"tr",
|
|
1805
2092
|
{
|
|
1806
2093
|
ref,
|
|
@@ -1812,7 +2099,7 @@ var TableRow = React6__namespace.forwardRef(({ className, ...props }, ref) => /*
|
|
|
1812
2099
|
}
|
|
1813
2100
|
));
|
|
1814
2101
|
TableRow.displayName = "TableRow";
|
|
1815
|
-
var TableHead =
|
|
2102
|
+
var TableHead = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1816
2103
|
"th",
|
|
1817
2104
|
{
|
|
1818
2105
|
ref,
|
|
@@ -1824,7 +2111,7 @@ var TableHead = React6__namespace.forwardRef(({ className, ...props }, ref) => /
|
|
|
1824
2111
|
}
|
|
1825
2112
|
));
|
|
1826
2113
|
TableHead.displayName = "TableHead";
|
|
1827
|
-
var TableCell =
|
|
2114
|
+
var TableCell = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1828
2115
|
"td",
|
|
1829
2116
|
{
|
|
1830
2117
|
ref,
|
|
@@ -1836,7 +2123,7 @@ var TableCell = React6__namespace.forwardRef(({ className, ...props }, ref) => /
|
|
|
1836
2123
|
}
|
|
1837
2124
|
));
|
|
1838
2125
|
TableCell.displayName = "TableCell";
|
|
1839
|
-
var TableCaption =
|
|
2126
|
+
var TableCaption = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1840
2127
|
"caption",
|
|
1841
2128
|
{
|
|
1842
2129
|
ref,
|
|
@@ -1845,6 +2132,10 @@ var TableCaption = React6__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
1845
2132
|
}
|
|
1846
2133
|
));
|
|
1847
2134
|
TableCaption.displayName = "TableCaption";
|
|
2135
|
+
|
|
2136
|
+
// src/components/table-search.tsx
|
|
2137
|
+
var import_lucide_react10 = require("lucide-react");
|
|
2138
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
1848
2139
|
function TableSearch({
|
|
1849
2140
|
value,
|
|
1850
2141
|
onChange,
|
|
@@ -1853,9 +2144,9 @@ function TableSearch({
|
|
|
1853
2144
|
isLoading = false,
|
|
1854
2145
|
inputRef
|
|
1855
2146
|
}) {
|
|
1856
|
-
return /* @__PURE__ */
|
|
1857
|
-
/* @__PURE__ */
|
|
1858
|
-
/* @__PURE__ */
|
|
2147
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "relative w-full max-w-lg", children: [
|
|
2148
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_lucide_react10.Search, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground" }),
|
|
2149
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1859
2150
|
"input",
|
|
1860
2151
|
{
|
|
1861
2152
|
ref: inputRef,
|
|
@@ -1867,320 +2158,233 @@ function TableSearch({
|
|
|
1867
2158
|
className: "h-10 w-full rounded-none border border-border bg-background pl-10 pr-10 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 transition-all"
|
|
1868
2159
|
}
|
|
1869
2160
|
),
|
|
1870
|
-
(value || isLoading) && /* @__PURE__ */
|
|
1871
|
-
isLoading && /* @__PURE__ */
|
|
1872
|
-
value && /* @__PURE__ */
|
|
2161
|
+
(value || isLoading) && /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "absolute right-3 top-1/2 -translate-y-1/2 flex items-center gap-2", children: [
|
|
2162
|
+
isLoading && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_lucide_react10.Loader2, { className: "w-3.5 h-3.5 text-primary animate-spin" }),
|
|
2163
|
+
value && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1873
2164
|
"button",
|
|
1874
2165
|
{
|
|
1875
2166
|
type: "button",
|
|
1876
2167
|
onClick: onClear,
|
|
1877
2168
|
className: "text-muted-foreground hover:text-foreground transition-colors p-0.5 rounded-none hover:bg-primary/5",
|
|
1878
2169
|
"aria-label": "Clear search",
|
|
1879
|
-
children: /* @__PURE__ */
|
|
2170
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_lucide_react10.X, { className: "w-3.5 h-3.5" })
|
|
1880
2171
|
}
|
|
1881
2172
|
)
|
|
1882
2173
|
] })
|
|
1883
2174
|
] });
|
|
1884
2175
|
}
|
|
2176
|
+
|
|
2177
|
+
// src/components/table-states.tsx
|
|
2178
|
+
var import_lucide_react11 = require("lucide-react");
|
|
2179
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
1885
2180
|
function TableError({
|
|
1886
2181
|
message = "An error occurred. Please try again."
|
|
1887
2182
|
}) {
|
|
1888
|
-
return /* @__PURE__ */
|
|
1889
|
-
/* @__PURE__ */
|
|
1890
|
-
/* @__PURE__ */
|
|
2183
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
2184
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react11.AlertCircle, { className: "w-4 h-4 shrink-0" }),
|
|
2185
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { children: message })
|
|
1891
2186
|
] });
|
|
1892
2187
|
}
|
|
1893
2188
|
function TableLoading() {
|
|
1894
|
-
return /* @__PURE__ */
|
|
1895
|
-
/* @__PURE__ */
|
|
1896
|
-
/* @__PURE__ */
|
|
2189
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex flex-col items-center justify-center gap-4 p-12 text-muted-foreground", children: [
|
|
2190
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react11.Loader2, { className: "w-8 h-8 animate-spin text-primary/80" }),
|
|
2191
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "text-sm font-medium", children: "Loading data..." })
|
|
1897
2192
|
] });
|
|
1898
2193
|
}
|
|
1899
2194
|
function TableEmpty({ message = "No records found" }) {
|
|
1900
|
-
return /* @__PURE__ */
|
|
1901
|
-
/* @__PURE__ */
|
|
1902
|
-
/* @__PURE__ */
|
|
2195
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex flex-col items-center justify-center gap-4 p-16 text-center text-muted-foreground", children: [
|
|
2196
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "flex h-12 w-12 items-center justify-center rounded-none bg-primary/5", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react11.FileQuestion, { className: "h-6 w-6" }) }),
|
|
2197
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "text-sm font-medium", children: message })
|
|
1903
2198
|
] });
|
|
1904
2199
|
}
|
|
1905
|
-
|
|
2200
|
+
|
|
2201
|
+
// src/components/table-skeleton.tsx
|
|
2202
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
2203
|
+
var GrayBar = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Skeleton, { className });
|
|
1906
2204
|
var TableSkeleton = ({
|
|
1907
2205
|
columns = 5,
|
|
1908
2206
|
rowCount = 8,
|
|
1909
2207
|
hideWrapper = false,
|
|
1910
2208
|
hideFooter = false
|
|
1911
2209
|
}) => {
|
|
1912
|
-
const content = /* @__PURE__ */
|
|
1913
|
-
/* @__PURE__ */
|
|
1914
|
-
/* @__PURE__ */
|
|
1915
|
-
/* @__PURE__ */
|
|
1916
|
-
/* @__PURE__ */
|
|
1917
|
-
/* @__PURE__ */
|
|
1918
|
-
/* @__PURE__ */
|
|
1919
|
-
/* @__PURE__ */
|
|
2210
|
+
const content = /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_jsx_runtime33.Fragment, { children: [
|
|
2211
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "border-0 rounded-none shadow-none", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(Table, { children: [
|
|
2212
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(TableHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(TableRow, { children: Array.from({ length: columns }).map((_, colIdx) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(TableHead, { className: "py-3", children: colIdx === 0 ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(GrayBar, { className: "h-4 w-4" }) : colIdx === columns - 1 ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Skeleton, { className: "h-4 w-4 rounded-none" }) }) : colIdx === 1 ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(GrayBar, { className: "h-4 w-[70%] max-w-[180px]" }) : /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(GrayBar, { className: "h-4 w-[60%] max-w-[120px]" }) }, `skeleton-header-${colIdx}`)) }) }),
|
|
2213
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(TableBody, { children: Array.from({ length: rowCount }).map((_, rowIdx) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(TableRow, { className: "border-b border-border", children: Array.from({ length: columns }).map((_2, colIdx) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(TableCell, { className: "py-3", children: colIdx === 0 ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(GrayBar, { className: "h-4 w-4" }) : colIdx === columns - 1 ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Skeleton, { className: "h-8 w-8 rounded-none" }) }) : colIdx === 1 ? /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex items-center gap-3", children: [
|
|
2214
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Skeleton, { className: "w-9 rounded-none shrink-0" }),
|
|
2215
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "space-y-1.5 flex-1", children: [
|
|
2216
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Skeleton, { className: "h-4 w-[120px]" }),
|
|
2217
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Skeleton, { className: "h-3 w-[80px]" })
|
|
1920
2218
|
] })
|
|
1921
|
-
] }) : /* @__PURE__ */
|
|
2219
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(GrayBar, { className: "h-4 w-[60%] max-w-[120px]" }) }, colIdx)) }, rowIdx)) })
|
|
1922
2220
|
] }) }),
|
|
1923
|
-
!hideFooter && /* @__PURE__ */
|
|
1924
|
-
/* @__PURE__ */
|
|
1925
|
-
/* @__PURE__ */
|
|
1926
|
-
/* @__PURE__ */
|
|
1927
|
-
/* @__PURE__ */
|
|
1928
|
-
/* @__PURE__ */
|
|
2221
|
+
!hideFooter && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "table-footer border-t border-border", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex items-center justify-between px-2 py-4 p-4", children: [
|
|
2222
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "flex items-center gap-2 text-sm", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(GrayBar, { className: "h-4 w-[120px]" }) }),
|
|
2223
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex items-center gap-6", children: [
|
|
2224
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
2225
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(GrayBar, { className: "h-4 w-20" }),
|
|
2226
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(GrayBar, { className: "h-8 w-[70px]" })
|
|
1929
2227
|
] }),
|
|
1930
|
-
/* @__PURE__ */
|
|
1931
|
-
/* @__PURE__ */
|
|
1932
|
-
/* @__PURE__ */
|
|
1933
|
-
/* @__PURE__ */
|
|
1934
|
-
/* @__PURE__ */
|
|
1935
|
-
/* @__PURE__ */
|
|
2228
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex items-center gap-1", children: [
|
|
2229
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(GrayBar, { className: "h-8 w-8" }),
|
|
2230
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(GrayBar, { className: "h-8 w-8" }),
|
|
2231
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(GrayBar, { className: "h-8 w-8" }),
|
|
2232
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(GrayBar, { className: "h-8 w-8" }),
|
|
2233
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(GrayBar, { className: "h-8 w-8" })
|
|
1936
2234
|
] }),
|
|
1937
|
-
/* @__PURE__ */
|
|
2235
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(GrayBar, { className: "h-4 w-[120px]" })
|
|
1938
2236
|
] })
|
|
1939
2237
|
] }) })
|
|
1940
2238
|
] });
|
|
1941
2239
|
if (hideWrapper) {
|
|
1942
2240
|
return content;
|
|
1943
2241
|
}
|
|
1944
|
-
return /* @__PURE__ */
|
|
2242
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "table-wrapper rounded-none border border-border bg-card overflow-hidden", children: content });
|
|
1945
2243
|
};
|
|
1946
2244
|
TableSkeleton.displayName = "TableSkeleton";
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2245
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
2246
|
+
0 && (module.exports = {
|
|
2247
|
+
Accordion,
|
|
2248
|
+
AccordionContent,
|
|
2249
|
+
AccordionItem,
|
|
2250
|
+
AccordionTrigger,
|
|
2251
|
+
Alert,
|
|
2252
|
+
AlertDescription,
|
|
2253
|
+
AlertDialog,
|
|
2254
|
+
AlertDialogAction,
|
|
2255
|
+
AlertDialogCancel,
|
|
2256
|
+
AlertDialogContent,
|
|
2257
|
+
AlertDialogDescription,
|
|
2258
|
+
AlertDialogFooter,
|
|
2259
|
+
AlertDialogHeader,
|
|
2260
|
+
AlertDialogOverlay,
|
|
2261
|
+
AlertDialogPortal,
|
|
2262
|
+
AlertDialogTitle,
|
|
2263
|
+
AlertDialogTrigger,
|
|
2264
|
+
AlertTitle,
|
|
2265
|
+
Avatar,
|
|
2266
|
+
AvatarFallback,
|
|
2267
|
+
AvatarImage,
|
|
2268
|
+
Badge,
|
|
2269
|
+
Button,
|
|
2270
|
+
Card,
|
|
2271
|
+
CardAction,
|
|
2272
|
+
CardContent,
|
|
2273
|
+
CardDescription,
|
|
2274
|
+
CardFooter,
|
|
2275
|
+
CardHeader,
|
|
2276
|
+
CardTitle,
|
|
2277
|
+
Checkbox,
|
|
2278
|
+
Collapsible,
|
|
2279
|
+
CollapsibleContent,
|
|
2280
|
+
CollapsibleTrigger,
|
|
2281
|
+
Command,
|
|
2282
|
+
CommandDialog,
|
|
2283
|
+
CommandEmpty,
|
|
2284
|
+
CommandGroup,
|
|
2285
|
+
CommandInput,
|
|
2286
|
+
CommandItem,
|
|
2287
|
+
CommandList,
|
|
2288
|
+
CommandSeparator,
|
|
2289
|
+
CommandShortcut,
|
|
2290
|
+
Dialog,
|
|
2291
|
+
DialogClose,
|
|
2292
|
+
DialogContent,
|
|
2293
|
+
DialogDescription,
|
|
2294
|
+
DialogFooter,
|
|
2295
|
+
DialogHeader,
|
|
2296
|
+
DialogOverlay,
|
|
2297
|
+
DialogPortal,
|
|
2298
|
+
DialogTitle,
|
|
2299
|
+
DialogTrigger,
|
|
2300
|
+
DropdownMenu,
|
|
2301
|
+
DropdownMenuCheckboxItem,
|
|
2302
|
+
DropdownMenuContent,
|
|
2303
|
+
DropdownMenuGroup,
|
|
2304
|
+
DropdownMenuItem,
|
|
2305
|
+
DropdownMenuLabel,
|
|
2306
|
+
DropdownMenuPortal,
|
|
2307
|
+
DropdownMenuRadioGroup,
|
|
2308
|
+
DropdownMenuRadioItem,
|
|
2309
|
+
DropdownMenuSeparator,
|
|
2310
|
+
DropdownMenuShortcut,
|
|
2311
|
+
DropdownMenuSub,
|
|
2312
|
+
DropdownMenuSubContent,
|
|
2313
|
+
DropdownMenuSubTrigger,
|
|
2314
|
+
DropdownMenuTrigger,
|
|
2315
|
+
FormLabelWithTooltip,
|
|
2316
|
+
Grid,
|
|
2317
|
+
Input,
|
|
2318
|
+
Label,
|
|
2319
|
+
Popover,
|
|
2320
|
+
PopoverAnchor,
|
|
2321
|
+
PopoverContent,
|
|
2322
|
+
PopoverTrigger,
|
|
2323
|
+
PortalProvider,
|
|
2324
|
+
Progress,
|
|
2325
|
+
RadioGroup,
|
|
2326
|
+
RadioGroupItem,
|
|
2327
|
+
Select,
|
|
2328
|
+
SelectContent,
|
|
2329
|
+
SelectGroup,
|
|
2330
|
+
SelectItem,
|
|
2331
|
+
SelectLabel,
|
|
2332
|
+
SelectScrollDownButton,
|
|
2333
|
+
SelectScrollUpButton,
|
|
2334
|
+
SelectSeparator,
|
|
2335
|
+
SelectTrigger,
|
|
2336
|
+
SelectValue,
|
|
2337
|
+
Separator,
|
|
2338
|
+
Sheet,
|
|
2339
|
+
SheetClose,
|
|
2340
|
+
SheetContent,
|
|
2341
|
+
SheetDescription,
|
|
2342
|
+
SheetFooter,
|
|
2343
|
+
SheetHeader,
|
|
2344
|
+
SheetOverlay,
|
|
2345
|
+
SheetPortal,
|
|
2346
|
+
SheetTitle,
|
|
2347
|
+
SheetTrigger,
|
|
2348
|
+
Skeleton,
|
|
2349
|
+
Spinner,
|
|
2350
|
+
Stack,
|
|
2351
|
+
Stat,
|
|
2352
|
+
Switch,
|
|
2353
|
+
Table,
|
|
2354
|
+
TableBody,
|
|
2355
|
+
TableCaption,
|
|
2356
|
+
TableCell,
|
|
2357
|
+
TableEmpty,
|
|
2358
|
+
TableError,
|
|
2359
|
+
TableFooter,
|
|
2360
|
+
TableHead,
|
|
2361
|
+
TableHeader,
|
|
2362
|
+
TableLoading,
|
|
2363
|
+
TableRow,
|
|
2364
|
+
TableSearch,
|
|
2365
|
+
TableSkeleton,
|
|
2366
|
+
Tabs,
|
|
2367
|
+
TabsContent,
|
|
2368
|
+
TabsList,
|
|
2369
|
+
TabsTrigger,
|
|
2370
|
+
Textarea,
|
|
2371
|
+
Toaster,
|
|
2372
|
+
Tooltip,
|
|
2373
|
+
TooltipContent,
|
|
2374
|
+
TooltipProvider,
|
|
2375
|
+
TooltipTrigger,
|
|
2376
|
+
alertVariants,
|
|
2377
|
+
avatarVariants,
|
|
2378
|
+
badgeVariants,
|
|
2379
|
+
buttonVariants,
|
|
2380
|
+
cardVariants,
|
|
2381
|
+
dialogContentVariants,
|
|
2382
|
+
inputVariants,
|
|
2383
|
+
progressVariants,
|
|
2384
|
+
selectTriggerVariants,
|
|
2385
|
+
sheetVariants,
|
|
2386
|
+
spinnerVariants,
|
|
2387
|
+
toast,
|
|
2388
|
+
usePortalContainer
|
|
2041
2389
|
});
|
|
2042
|
-
exports.Accordion = Accordion;
|
|
2043
|
-
exports.AccordionContent = AccordionContent;
|
|
2044
|
-
exports.AccordionItem = AccordionItem;
|
|
2045
|
-
exports.AccordionTrigger = AccordionTrigger;
|
|
2046
|
-
exports.Alert = Alert;
|
|
2047
|
-
exports.AlertDescription = AlertDescription;
|
|
2048
|
-
exports.AlertDialog = AlertDialog;
|
|
2049
|
-
exports.AlertDialogAction = AlertDialogAction;
|
|
2050
|
-
exports.AlertDialogCancel = AlertDialogCancel;
|
|
2051
|
-
exports.AlertDialogContent = AlertDialogContent;
|
|
2052
|
-
exports.AlertDialogDescription = AlertDialogDescription;
|
|
2053
|
-
exports.AlertDialogFooter = AlertDialogFooter;
|
|
2054
|
-
exports.AlertDialogHeader = AlertDialogHeader;
|
|
2055
|
-
exports.AlertDialogOverlay = AlertDialogOverlay;
|
|
2056
|
-
exports.AlertDialogPortal = AlertDialogPortal;
|
|
2057
|
-
exports.AlertDialogTitle = AlertDialogTitle;
|
|
2058
|
-
exports.AlertDialogTrigger = AlertDialogTrigger;
|
|
2059
|
-
exports.AlertTitle = AlertTitle;
|
|
2060
|
-
exports.Avatar = Avatar;
|
|
2061
|
-
exports.AvatarFallback = AvatarFallback;
|
|
2062
|
-
exports.AvatarImage = AvatarImage;
|
|
2063
|
-
exports.Badge = Badge;
|
|
2064
|
-
exports.Button = Button;
|
|
2065
|
-
exports.Card = Card;
|
|
2066
|
-
exports.CardAction = CardAction;
|
|
2067
|
-
exports.CardContent = CardContent;
|
|
2068
|
-
exports.CardDescription = CardDescription;
|
|
2069
|
-
exports.CardFooter = CardFooter;
|
|
2070
|
-
exports.CardHeader = CardHeader;
|
|
2071
|
-
exports.CardTitle = CardTitle;
|
|
2072
|
-
exports.Checkbox = Checkbox;
|
|
2073
|
-
exports.Collapsible = Collapsible;
|
|
2074
|
-
exports.CollapsibleContent = CollapsibleContent2;
|
|
2075
|
-
exports.CollapsibleTrigger = CollapsibleTrigger2;
|
|
2076
|
-
exports.Command = Command;
|
|
2077
|
-
exports.CommandDialog = CommandDialog;
|
|
2078
|
-
exports.CommandEmpty = CommandEmpty;
|
|
2079
|
-
exports.CommandGroup = CommandGroup;
|
|
2080
|
-
exports.CommandInput = CommandInput;
|
|
2081
|
-
exports.CommandItem = CommandItem;
|
|
2082
|
-
exports.CommandList = CommandList;
|
|
2083
|
-
exports.CommandSeparator = CommandSeparator;
|
|
2084
|
-
exports.CommandShortcut = CommandShortcut;
|
|
2085
|
-
exports.Dialog = Dialog;
|
|
2086
|
-
exports.DialogClose = DialogClose;
|
|
2087
|
-
exports.DialogContent = DialogContent;
|
|
2088
|
-
exports.DialogDescription = DialogDescription;
|
|
2089
|
-
exports.DialogFooter = DialogFooter;
|
|
2090
|
-
exports.DialogHeader = DialogHeader;
|
|
2091
|
-
exports.DialogOverlay = DialogOverlay;
|
|
2092
|
-
exports.DialogPortal = DialogPortal;
|
|
2093
|
-
exports.DialogTitle = DialogTitle;
|
|
2094
|
-
exports.DialogTrigger = DialogTrigger;
|
|
2095
|
-
exports.DropdownMenu = DropdownMenu;
|
|
2096
|
-
exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem;
|
|
2097
|
-
exports.DropdownMenuContent = DropdownMenuContent;
|
|
2098
|
-
exports.DropdownMenuGroup = DropdownMenuGroup;
|
|
2099
|
-
exports.DropdownMenuItem = DropdownMenuItem;
|
|
2100
|
-
exports.DropdownMenuLabel = DropdownMenuLabel;
|
|
2101
|
-
exports.DropdownMenuPortal = DropdownMenuPortal;
|
|
2102
|
-
exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup;
|
|
2103
|
-
exports.DropdownMenuRadioItem = DropdownMenuRadioItem;
|
|
2104
|
-
exports.DropdownMenuSeparator = DropdownMenuSeparator;
|
|
2105
|
-
exports.DropdownMenuShortcut = DropdownMenuShortcut;
|
|
2106
|
-
exports.DropdownMenuSub = DropdownMenuSub;
|
|
2107
|
-
exports.DropdownMenuSubContent = DropdownMenuSubContent;
|
|
2108
|
-
exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger;
|
|
2109
|
-
exports.DropdownMenuTrigger = DropdownMenuTrigger;
|
|
2110
|
-
exports.FormLabelWithTooltip = FormLabelWithTooltip;
|
|
2111
|
-
exports.Grid = Grid;
|
|
2112
|
-
exports.Input = Input;
|
|
2113
|
-
exports.Label = Label;
|
|
2114
|
-
exports.Popover = Popover;
|
|
2115
|
-
exports.PopoverAnchor = PopoverAnchor;
|
|
2116
|
-
exports.PopoverContent = PopoverContent;
|
|
2117
|
-
exports.PopoverTrigger = PopoverTrigger;
|
|
2118
|
-
exports.PortalProvider = PortalProvider;
|
|
2119
|
-
exports.Progress = Progress;
|
|
2120
|
-
exports.RadioGroup = RadioGroup;
|
|
2121
|
-
exports.RadioGroupItem = RadioGroupItem;
|
|
2122
|
-
exports.Select = Select;
|
|
2123
|
-
exports.SelectContent = SelectContent;
|
|
2124
|
-
exports.SelectGroup = SelectGroup;
|
|
2125
|
-
exports.SelectItem = SelectItem;
|
|
2126
|
-
exports.SelectLabel = SelectLabel;
|
|
2127
|
-
exports.SelectScrollDownButton = SelectScrollDownButton;
|
|
2128
|
-
exports.SelectScrollUpButton = SelectScrollUpButton;
|
|
2129
|
-
exports.SelectSeparator = SelectSeparator;
|
|
2130
|
-
exports.SelectTrigger = SelectTrigger;
|
|
2131
|
-
exports.SelectValue = SelectValue;
|
|
2132
|
-
exports.Separator = Separator;
|
|
2133
|
-
exports.Sheet = Sheet;
|
|
2134
|
-
exports.SheetClose = SheetClose;
|
|
2135
|
-
exports.SheetContent = SheetContent;
|
|
2136
|
-
exports.SheetDescription = SheetDescription;
|
|
2137
|
-
exports.SheetFooter = SheetFooter;
|
|
2138
|
-
exports.SheetHeader = SheetHeader;
|
|
2139
|
-
exports.SheetOverlay = SheetOverlay;
|
|
2140
|
-
exports.SheetPortal = SheetPortal;
|
|
2141
|
-
exports.SheetTitle = SheetTitle;
|
|
2142
|
-
exports.SheetTrigger = SheetTrigger;
|
|
2143
|
-
exports.Skeleton = Skeleton;
|
|
2144
|
-
exports.Spinner = Spinner;
|
|
2145
|
-
exports.Stack = Stack;
|
|
2146
|
-
exports.Stat = Stat;
|
|
2147
|
-
exports.Switch = Switch;
|
|
2148
|
-
exports.Table = Table;
|
|
2149
|
-
exports.TableBody = TableBody;
|
|
2150
|
-
exports.TableCaption = TableCaption;
|
|
2151
|
-
exports.TableCell = TableCell;
|
|
2152
|
-
exports.TableEmpty = TableEmpty;
|
|
2153
|
-
exports.TableError = TableError;
|
|
2154
|
-
exports.TableFooter = TableFooter;
|
|
2155
|
-
exports.TableHead = TableHead;
|
|
2156
|
-
exports.TableHeader = TableHeader;
|
|
2157
|
-
exports.TableLoading = TableLoading;
|
|
2158
|
-
exports.TableRow = TableRow;
|
|
2159
|
-
exports.TableSearch = TableSearch;
|
|
2160
|
-
exports.TableSkeleton = TableSkeleton;
|
|
2161
|
-
exports.Tabs = Tabs;
|
|
2162
|
-
exports.TabsContent = TabsContent;
|
|
2163
|
-
exports.TabsList = TabsList;
|
|
2164
|
-
exports.TabsTrigger = TabsTrigger;
|
|
2165
|
-
exports.Textarea = Textarea;
|
|
2166
|
-
exports.Toaster = Toaster;
|
|
2167
|
-
exports.Tooltip = Tooltip;
|
|
2168
|
-
exports.TooltipContent = TooltipContent;
|
|
2169
|
-
exports.TooltipProvider = TooltipProvider;
|
|
2170
|
-
exports.TooltipTrigger = TooltipTrigger;
|
|
2171
|
-
exports.alertVariants = alertVariants;
|
|
2172
|
-
exports.avatarVariants = avatarVariants;
|
|
2173
|
-
exports.badgeVariants = badgeVariants;
|
|
2174
|
-
exports.buttonVariants = buttonVariants;
|
|
2175
|
-
exports.cardVariants = cardVariants;
|
|
2176
|
-
exports.cn = cn;
|
|
2177
|
-
exports.dialogContentVariants = dialogContentVariants;
|
|
2178
|
-
exports.inputVariants = inputVariants;
|
|
2179
|
-
exports.progressVariants = progressVariants;
|
|
2180
|
-
exports.selectTriggerVariants = selectTriggerVariants;
|
|
2181
|
-
exports.sheetVariants = sheetVariants;
|
|
2182
|
-
exports.spinnerVariants = spinnerVariants;
|
|
2183
|
-
exports.uiPreset = tailwind_preset_default;
|
|
2184
|
-
exports.usePortalContainer = usePortalContainer;
|
|
2185
|
-
//# sourceMappingURL=index.cjs.map
|
|
2186
2390
|
//# sourceMappingURL=index.cjs.map
|