@offlinemediainc/offline-ui 0.2.3 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-4XVGVUB3.js → chunk-2SC5RW3H.js} +9 -2
- package/dist/chunk-2SC5RW3H.js.map +1 -0
- package/dist/{chunk-TVAKDV26.cjs → chunk-GVOLIMR6.cjs} +9 -2
- package/dist/chunk-GVOLIMR6.cjs.map +1 -0
- package/dist/design-system/index.cjs +21 -21
- package/dist/design-system/index.js +1 -1
- package/dist/design-system.json +16 -1
- package/dist/index.cjs +323 -246
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -10
- package/dist/index.d.ts +21 -10
- package/dist/index.js +79 -3
- package/dist/index.js.map +1 -1
- package/package.json +13 -12
- package/dist/chunk-4XVGVUB3.js.map +0 -1
- package/dist/chunk-TVAKDV26.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkGVOLIMR6_cjs = require('./chunk-GVOLIMR6.cjs');
|
|
4
4
|
var React12 = require('react');
|
|
5
5
|
var AvatarPrimitive = require('@radix-ui/react-avatar');
|
|
6
6
|
var clsx = require('clsx');
|
|
@@ -70,10 +70,10 @@ function cn(...inputs) {
|
|
|
70
70
|
return tailwindMerge.twMerge(clsx.clsx(inputs));
|
|
71
71
|
}
|
|
72
72
|
var Avatar = React12__namespace.forwardRef((_a, ref) => {
|
|
73
|
-
var _b = _a, { className } = _b, props =
|
|
73
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
74
74
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
75
75
|
AvatarPrimitive__namespace.Root,
|
|
76
|
-
|
|
76
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
77
77
|
ref,
|
|
78
78
|
className: cn(
|
|
79
79
|
"relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",
|
|
@@ -84,10 +84,10 @@ var Avatar = React12__namespace.forwardRef((_a, ref) => {
|
|
|
84
84
|
});
|
|
85
85
|
Avatar.displayName = AvatarPrimitive__namespace.Root.displayName;
|
|
86
86
|
var AvatarImage = React12__namespace.forwardRef((_a, ref) => {
|
|
87
|
-
var _b = _a, { className } = _b, props =
|
|
87
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
88
88
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
89
89
|
AvatarPrimitive__namespace.Image,
|
|
90
|
-
|
|
90
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
91
91
|
ref,
|
|
92
92
|
className: cn("aspect-square h-full w-full", className)
|
|
93
93
|
}, props)
|
|
@@ -95,10 +95,10 @@ var AvatarImage = React12__namespace.forwardRef((_a, ref) => {
|
|
|
95
95
|
});
|
|
96
96
|
AvatarImage.displayName = AvatarPrimitive__namespace.Image.displayName;
|
|
97
97
|
var AvatarFallback = React12__namespace.forwardRef((_a, ref) => {
|
|
98
|
-
var _b = _a, { className } = _b, props =
|
|
98
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
99
99
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
100
100
|
AvatarPrimitive__namespace.Fallback,
|
|
101
|
-
|
|
101
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
102
102
|
ref,
|
|
103
103
|
className: cn(
|
|
104
104
|
"flex h-full w-full items-center justify-center rounded-full bg-muted",
|
|
@@ -128,9 +128,9 @@ var badgeVariants = classVarianceAuthority.cva(
|
|
|
128
128
|
}
|
|
129
129
|
);
|
|
130
130
|
function Badge(_a) {
|
|
131
|
-
var _b = _a, { className, variant, asChild = false } = _b, props =
|
|
131
|
+
var _b = _a, { className, variant, asChild = false } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className", "variant", "asChild"]);
|
|
132
132
|
const Comp = asChild ? reactSlot.Slot : "div";
|
|
133
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Comp,
|
|
133
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Comp, chunkGVOLIMR6_cjs.__spreadValues({ className: cn(badgeVariants({ variant }), className) }, props));
|
|
134
134
|
}
|
|
135
135
|
var buttonVariants = classVarianceAuthority.cva(
|
|
136
136
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
@@ -159,11 +159,11 @@ var buttonVariants = classVarianceAuthority.cva(
|
|
|
159
159
|
);
|
|
160
160
|
var Button = React12__namespace.forwardRef(
|
|
161
161
|
(_a, ref) => {
|
|
162
|
-
var _b = _a, { className, variant, size, asChild = false } = _b, props =
|
|
162
|
+
var _b = _a, { className, variant, size, asChild = false } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className", "variant", "size", "asChild"]);
|
|
163
163
|
const Comp = asChild ? reactSlot.Slot : "button";
|
|
164
164
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
165
165
|
Comp,
|
|
166
|
-
|
|
166
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
167
167
|
className: cn(buttonVariants({ variant, size, className })),
|
|
168
168
|
ref
|
|
169
169
|
}, props)
|
|
@@ -172,10 +172,10 @@ var Button = React12__namespace.forwardRef(
|
|
|
172
172
|
);
|
|
173
173
|
Button.displayName = "Button";
|
|
174
174
|
var Card = React12__namespace.forwardRef((_a, ref) => {
|
|
175
|
-
var _b = _a, { className } = _b, props =
|
|
175
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
176
176
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
177
177
|
"div",
|
|
178
|
-
|
|
178
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
179
179
|
ref,
|
|
180
180
|
className: cn(
|
|
181
181
|
"rounded-lg border bg-card text-card-foreground shadow-sm",
|
|
@@ -186,10 +186,10 @@ var Card = React12__namespace.forwardRef((_a, ref) => {
|
|
|
186
186
|
});
|
|
187
187
|
Card.displayName = "Card";
|
|
188
188
|
var CardHeader = React12__namespace.forwardRef((_a, ref) => {
|
|
189
|
-
var _b = _a, { className } = _b, props =
|
|
189
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
190
190
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
191
191
|
"div",
|
|
192
|
-
|
|
192
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
193
193
|
ref,
|
|
194
194
|
className: cn("flex flex-col space-y-1.5 p-6", className)
|
|
195
195
|
}, props)
|
|
@@ -197,10 +197,10 @@ var CardHeader = React12__namespace.forwardRef((_a, ref) => {
|
|
|
197
197
|
});
|
|
198
198
|
CardHeader.displayName = "CardHeader";
|
|
199
199
|
var CardTitle = React12__namespace.forwardRef((_a, ref) => {
|
|
200
|
-
var _b = _a, { className } = _b, props =
|
|
200
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
201
201
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
202
202
|
"div",
|
|
203
|
-
|
|
203
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
204
204
|
ref,
|
|
205
205
|
className: cn(
|
|
206
206
|
"text-2xl font-semibold leading-none",
|
|
@@ -211,10 +211,10 @@ var CardTitle = React12__namespace.forwardRef((_a, ref) => {
|
|
|
211
211
|
});
|
|
212
212
|
CardTitle.displayName = "CardTitle";
|
|
213
213
|
var CardDescription = React12__namespace.forwardRef((_a, ref) => {
|
|
214
|
-
var _b = _a, { className } = _b, props =
|
|
214
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
215
215
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
216
216
|
"div",
|
|
217
|
-
|
|
217
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
218
218
|
ref,
|
|
219
219
|
className: cn("text-[15px] text-muted-foreground tracking-wide", className)
|
|
220
220
|
}, props)
|
|
@@ -222,15 +222,15 @@ var CardDescription = React12__namespace.forwardRef((_a, ref) => {
|
|
|
222
222
|
});
|
|
223
223
|
CardDescription.displayName = "CardDescription";
|
|
224
224
|
var CardContent = React12__namespace.forwardRef((_a, ref) => {
|
|
225
|
-
var _b = _a, { className } = _b, props =
|
|
226
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div",
|
|
225
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
226
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", chunkGVOLIMR6_cjs.__spreadValues({ ref, className: cn("p-6 pt-0", className) }, props));
|
|
227
227
|
});
|
|
228
228
|
CardContent.displayName = "CardContent";
|
|
229
229
|
var CardFooter = React12__namespace.forwardRef((_a, ref) => {
|
|
230
|
-
var _b = _a, { className } = _b, props =
|
|
230
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
231
231
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
232
232
|
"div",
|
|
233
|
-
|
|
233
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
234
234
|
ref,
|
|
235
235
|
className: cn("flex items-center p-6 pt-0", className)
|
|
236
236
|
}, props)
|
|
@@ -240,16 +240,16 @@ CardFooter.displayName = "CardFooter";
|
|
|
240
240
|
var Collapsible = CollapsiblePrimitive__namespace.Root;
|
|
241
241
|
var CollapsibleTrigger2 = CollapsiblePrimitive__namespace.CollapsibleTrigger;
|
|
242
242
|
var CollapsibleContent2 = CollapsiblePrimitive__namespace.CollapsibleContent;
|
|
243
|
-
var Dialog = (props) => /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Root,
|
|
243
|
+
var Dialog = (props) => /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Root, chunkGVOLIMR6_cjs.__spreadValues({ modal: true }, props));
|
|
244
244
|
Dialog.displayName = "Dialog";
|
|
245
245
|
var DialogTrigger = DialogPrimitive__namespace.Trigger;
|
|
246
246
|
var DialogPortal = DialogPrimitive__namespace.Portal;
|
|
247
247
|
var DialogClose = DialogPrimitive__namespace.Close;
|
|
248
248
|
var DialogOverlay = React12__namespace.forwardRef((_a, ref) => {
|
|
249
|
-
var _b = _a, { className } = _b, props =
|
|
249
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
250
250
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
251
251
|
DialogPrimitive__namespace.Overlay,
|
|
252
|
-
|
|
252
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
253
253
|
ref,
|
|
254
254
|
className: cn(
|
|
255
255
|
"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
@@ -260,12 +260,12 @@ var DialogOverlay = React12__namespace.forwardRef((_a, ref) => {
|
|
|
260
260
|
});
|
|
261
261
|
DialogOverlay.displayName = DialogPrimitive__namespace.Overlay.displayName;
|
|
262
262
|
var DialogContent = React12__namespace.forwardRef((_a, ref) => {
|
|
263
|
-
var _b = _a, { className, children, hideCloseButton = false } = _b, props =
|
|
263
|
+
var _b = _a, { className, children, hideCloseButton = false } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className", "children", "hideCloseButton"]);
|
|
264
264
|
return /* @__PURE__ */ jsxRuntime.jsxs(DialogPortal, { children: [
|
|
265
265
|
/* @__PURE__ */ jsxRuntime.jsx(DialogOverlay, {}),
|
|
266
266
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
267
267
|
DialogPrimitive__namespace.Content,
|
|
268
|
-
|
|
268
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({
|
|
269
269
|
ref,
|
|
270
270
|
className: cn(
|
|
271
271
|
"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg sm:rounded-lg",
|
|
@@ -287,12 +287,12 @@ DialogContent.displayName = DialogPrimitive__namespace.Content.displayName;
|
|
|
287
287
|
var DialogHeader = (_a) => {
|
|
288
288
|
var _b = _a, {
|
|
289
289
|
className
|
|
290
|
-
} = _b, props =
|
|
290
|
+
} = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, [
|
|
291
291
|
"className"
|
|
292
292
|
]);
|
|
293
293
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
294
294
|
"div",
|
|
295
|
-
|
|
295
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
296
296
|
className: cn(
|
|
297
297
|
"flex flex-col space-y-1.5 text-center sm:text-left",
|
|
298
298
|
className
|
|
@@ -304,12 +304,12 @@ DialogHeader.displayName = "DialogHeader";
|
|
|
304
304
|
var DialogFooter = (_a) => {
|
|
305
305
|
var _b = _a, {
|
|
306
306
|
className
|
|
307
|
-
} = _b, props =
|
|
307
|
+
} = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, [
|
|
308
308
|
"className"
|
|
309
309
|
]);
|
|
310
310
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
311
311
|
"div",
|
|
312
|
-
|
|
312
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
313
313
|
className: cn(
|
|
314
314
|
"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
|
|
315
315
|
className
|
|
@@ -319,10 +319,10 @@ var DialogFooter = (_a) => {
|
|
|
319
319
|
};
|
|
320
320
|
DialogFooter.displayName = "DialogFooter";
|
|
321
321
|
var DialogTitle = React12__namespace.forwardRef((_a, ref) => {
|
|
322
|
-
var _b = _a, { className } = _b, props =
|
|
322
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
323
323
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
324
324
|
DialogPrimitive__namespace.Title,
|
|
325
|
-
|
|
325
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
326
326
|
ref,
|
|
327
327
|
className: cn(
|
|
328
328
|
"text-xl font-semibold leading-none",
|
|
@@ -333,10 +333,10 @@ var DialogTitle = React12__namespace.forwardRef((_a, ref) => {
|
|
|
333
333
|
});
|
|
334
334
|
DialogTitle.displayName = DialogPrimitive__namespace.Title.displayName;
|
|
335
335
|
var DialogDescription = React12__namespace.forwardRef((_a, ref) => {
|
|
336
|
-
var _b = _a, { className } = _b, props =
|
|
336
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
337
337
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
338
338
|
DialogPrimitive__namespace.Description,
|
|
339
|
-
|
|
339
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
340
340
|
ref,
|
|
341
341
|
className: cn("text-sm text-muted-foreground", className)
|
|
342
342
|
}, props)
|
|
@@ -350,10 +350,10 @@ var DropdownMenuPortal = DropdownMenuPrimitive__namespace.Portal;
|
|
|
350
350
|
var DropdownMenuSub = DropdownMenuPrimitive__namespace.Sub;
|
|
351
351
|
var DropdownMenuRadioGroup = DropdownMenuPrimitive__namespace.RadioGroup;
|
|
352
352
|
var DropdownMenuSubTrigger = React12__namespace.forwardRef((_a, ref) => {
|
|
353
|
-
var _b = _a, { className, inset, children } = _b, props =
|
|
353
|
+
var _b = _a, { className, inset, children } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className", "inset", "children"]);
|
|
354
354
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
355
355
|
DropdownMenuPrimitive__namespace.SubTrigger,
|
|
356
|
-
|
|
356
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({
|
|
357
357
|
ref,
|
|
358
358
|
className: cn(
|
|
359
359
|
"flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
@@ -370,10 +370,10 @@ var DropdownMenuSubTrigger = React12__namespace.forwardRef((_a, ref) => {
|
|
|
370
370
|
});
|
|
371
371
|
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive__namespace.SubTrigger.displayName;
|
|
372
372
|
var DropdownMenuSubContent = React12__namespace.forwardRef((_a, ref) => {
|
|
373
|
-
var _b = _a, { className } = _b, props =
|
|
373
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
374
374
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
375
375
|
DropdownMenuPrimitive__namespace.SubContent,
|
|
376
|
-
|
|
376
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
377
377
|
ref,
|
|
378
378
|
className: cn(
|
|
379
379
|
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
@@ -384,10 +384,10 @@ var DropdownMenuSubContent = React12__namespace.forwardRef((_a, ref) => {
|
|
|
384
384
|
});
|
|
385
385
|
DropdownMenuSubContent.displayName = DropdownMenuPrimitive__namespace.SubContent.displayName;
|
|
386
386
|
var DropdownMenuContent = React12__namespace.forwardRef((_a, ref) => {
|
|
387
|
-
var _b = _a, { className, sideOffset = 4 } = _b, props =
|
|
387
|
+
var _b = _a, { className, sideOffset = 4 } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className", "sideOffset"]);
|
|
388
388
|
return /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
389
389
|
DropdownMenuPrimitive__namespace.Content,
|
|
390
|
-
|
|
390
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
391
391
|
ref,
|
|
392
392
|
sideOffset,
|
|
393
393
|
className: cn(
|
|
@@ -399,10 +399,10 @@ var DropdownMenuContent = React12__namespace.forwardRef((_a, ref) => {
|
|
|
399
399
|
});
|
|
400
400
|
DropdownMenuContent.displayName = DropdownMenuPrimitive__namespace.Content.displayName;
|
|
401
401
|
var DropdownMenuItem = React12__namespace.forwardRef((_a, ref) => {
|
|
402
|
-
var _b = _a, { className, inset } = _b, props =
|
|
402
|
+
var _b = _a, { className, inset } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className", "inset"]);
|
|
403
403
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
404
404
|
DropdownMenuPrimitive__namespace.Item,
|
|
405
|
-
|
|
405
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
406
406
|
ref,
|
|
407
407
|
className: cn(
|
|
408
408
|
"relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
@@ -414,10 +414,10 @@ var DropdownMenuItem = React12__namespace.forwardRef((_a, ref) => {
|
|
|
414
414
|
});
|
|
415
415
|
DropdownMenuItem.displayName = DropdownMenuPrimitive__namespace.Item.displayName;
|
|
416
416
|
var DropdownMenuCheckboxItem = React12__namespace.forwardRef((_a, ref) => {
|
|
417
|
-
var _b = _a, { className, children, checked } = _b, props =
|
|
417
|
+
var _b = _a, { className, children, checked } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className", "children", "checked"]);
|
|
418
418
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
419
419
|
DropdownMenuPrimitive__namespace.CheckboxItem,
|
|
420
|
-
|
|
420
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({
|
|
421
421
|
ref,
|
|
422
422
|
className: cn(
|
|
423
423
|
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
@@ -434,10 +434,10 @@ var DropdownMenuCheckboxItem = React12__namespace.forwardRef((_a, ref) => {
|
|
|
434
434
|
});
|
|
435
435
|
DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive__namespace.CheckboxItem.displayName;
|
|
436
436
|
var DropdownMenuRadioItem = React12__namespace.forwardRef((_a, ref) => {
|
|
437
|
-
var _b = _a, { className, children } = _b, props =
|
|
437
|
+
var _b = _a, { className, children } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className", "children"]);
|
|
438
438
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
439
439
|
DropdownMenuPrimitive__namespace.RadioItem,
|
|
440
|
-
|
|
440
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({
|
|
441
441
|
ref,
|
|
442
442
|
className: cn(
|
|
443
443
|
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
@@ -453,10 +453,10 @@ var DropdownMenuRadioItem = React12__namespace.forwardRef((_a, ref) => {
|
|
|
453
453
|
});
|
|
454
454
|
DropdownMenuRadioItem.displayName = DropdownMenuPrimitive__namespace.RadioItem.displayName;
|
|
455
455
|
var DropdownMenuLabel = React12__namespace.forwardRef((_a, ref) => {
|
|
456
|
-
var _b = _a, { className, inset } = _b, props =
|
|
456
|
+
var _b = _a, { className, inset } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className", "inset"]);
|
|
457
457
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
458
458
|
DropdownMenuPrimitive__namespace.Label,
|
|
459
|
-
|
|
459
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
460
460
|
ref,
|
|
461
461
|
className: cn(
|
|
462
462
|
"px-2 py-1.5 text-sm font-semibold",
|
|
@@ -468,10 +468,10 @@ var DropdownMenuLabel = React12__namespace.forwardRef((_a, ref) => {
|
|
|
468
468
|
});
|
|
469
469
|
DropdownMenuLabel.displayName = DropdownMenuPrimitive__namespace.Label.displayName;
|
|
470
470
|
var DropdownMenuSeparator = React12__namespace.forwardRef((_a, ref) => {
|
|
471
|
-
var _b = _a, { className } = _b, props =
|
|
471
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
472
472
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
473
473
|
DropdownMenuPrimitive__namespace.Separator,
|
|
474
|
-
|
|
474
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
475
475
|
ref,
|
|
476
476
|
className: cn("-mx-1 my-1 h-px bg-muted", className)
|
|
477
477
|
}, props)
|
|
@@ -481,12 +481,12 @@ DropdownMenuSeparator.displayName = DropdownMenuPrimitive__namespace.Separator.d
|
|
|
481
481
|
var DropdownMenuShortcut = (_a) => {
|
|
482
482
|
var _b = _a, {
|
|
483
483
|
className
|
|
484
|
-
} = _b, props =
|
|
484
|
+
} = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, [
|
|
485
485
|
"className"
|
|
486
486
|
]);
|
|
487
487
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
488
488
|
"span",
|
|
489
|
-
|
|
489
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
490
490
|
className: cn("ml-auto text-xs tracking-widest opacity-60", className)
|
|
491
491
|
}, props)
|
|
492
492
|
);
|
|
@@ -494,10 +494,10 @@ var DropdownMenuShortcut = (_a) => {
|
|
|
494
494
|
DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
|
|
495
495
|
var Input = React12__namespace.forwardRef(
|
|
496
496
|
(_a, ref) => {
|
|
497
|
-
var _b = _a, { className, type } = _b, props =
|
|
497
|
+
var _b = _a, { className, type } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className", "type"]);
|
|
498
498
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
499
499
|
"input",
|
|
500
|
-
|
|
500
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
501
501
|
type,
|
|
502
502
|
className: cn(
|
|
503
503
|
"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
@@ -511,10 +511,10 @@ var Input = React12__namespace.forwardRef(
|
|
|
511
511
|
Input.displayName = "Input";
|
|
512
512
|
var Separator2 = React12__namespace.forwardRef(
|
|
513
513
|
(_a, ref) => {
|
|
514
|
-
var _b = _a, { className, orientation = "horizontal", decorative = true } = _b, props =
|
|
514
|
+
var _b = _a, { className, orientation = "horizontal", decorative = true } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className", "orientation", "decorative"]);
|
|
515
515
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
516
516
|
SeparatorPrimitive__namespace.Root,
|
|
517
|
-
|
|
517
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
518
518
|
ref,
|
|
519
519
|
decorative,
|
|
520
520
|
orientation,
|
|
@@ -529,10 +529,10 @@ var Separator2 = React12__namespace.forwardRef(
|
|
|
529
529
|
);
|
|
530
530
|
Separator2.displayName = SeparatorPrimitive__namespace.Root.displayName;
|
|
531
531
|
function ItemGroup(_a) {
|
|
532
|
-
var _b = _a, { className } = _b, props =
|
|
532
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
533
533
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
534
534
|
"div",
|
|
535
|
-
|
|
535
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
536
536
|
role: "list",
|
|
537
537
|
"data-slot": "item-group",
|
|
538
538
|
className: cn("group/item-group flex flex-col", className)
|
|
@@ -542,12 +542,12 @@ function ItemGroup(_a) {
|
|
|
542
542
|
function ItemSeparator(_a) {
|
|
543
543
|
var _b = _a, {
|
|
544
544
|
className
|
|
545
|
-
} = _b, props =
|
|
545
|
+
} = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, [
|
|
546
546
|
"className"
|
|
547
547
|
]);
|
|
548
548
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
549
549
|
Separator2,
|
|
550
|
-
|
|
550
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
551
551
|
"data-slot": "item-separator",
|
|
552
552
|
orientation: "horizontal",
|
|
553
553
|
className: cn("my-0", className)
|
|
@@ -580,7 +580,7 @@ function Item2(_a) {
|
|
|
580
580
|
variant = "default",
|
|
581
581
|
size = "default",
|
|
582
582
|
asChild = false
|
|
583
|
-
} = _b, props =
|
|
583
|
+
} = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, [
|
|
584
584
|
"className",
|
|
585
585
|
"variant",
|
|
586
586
|
"size",
|
|
@@ -589,7 +589,7 @@ function Item2(_a) {
|
|
|
589
589
|
const Comp = asChild ? reactSlot.Slot : "div";
|
|
590
590
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
591
591
|
Comp,
|
|
592
|
-
|
|
592
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
593
593
|
"data-slot": "item",
|
|
594
594
|
"data-variant": variant,
|
|
595
595
|
"data-size": size,
|
|
@@ -616,13 +616,13 @@ function ItemMedia(_a) {
|
|
|
616
616
|
var _b = _a, {
|
|
617
617
|
className,
|
|
618
618
|
variant = "default"
|
|
619
|
-
} = _b, props =
|
|
619
|
+
} = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, [
|
|
620
620
|
"className",
|
|
621
621
|
"variant"
|
|
622
622
|
]);
|
|
623
623
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
624
624
|
"div",
|
|
625
|
-
|
|
625
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
626
626
|
"data-slot": "item-media",
|
|
627
627
|
"data-variant": variant,
|
|
628
628
|
className: cn(itemMediaVariants({ variant, className }))
|
|
@@ -630,10 +630,10 @@ function ItemMedia(_a) {
|
|
|
630
630
|
);
|
|
631
631
|
}
|
|
632
632
|
function ItemContent(_a) {
|
|
633
|
-
var _b = _a, { className } = _b, props =
|
|
633
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
634
634
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
635
635
|
"div",
|
|
636
|
-
|
|
636
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
637
637
|
"data-slot": "item-content",
|
|
638
638
|
className: cn(
|
|
639
639
|
"flex flex-1 flex-col gap-1 [&+[data-slot=item-content]]:flex-none",
|
|
@@ -643,10 +643,10 @@ function ItemContent(_a) {
|
|
|
643
643
|
);
|
|
644
644
|
}
|
|
645
645
|
function ItemTitle(_a) {
|
|
646
|
-
var _b = _a, { className } = _b, props =
|
|
646
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
647
647
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
648
648
|
"div",
|
|
649
|
-
|
|
649
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
650
650
|
"data-slot": "item-title",
|
|
651
651
|
className: cn(
|
|
652
652
|
"flex w-fit items-center gap-2 text-sm font-medium leading-snug",
|
|
@@ -656,10 +656,10 @@ function ItemTitle(_a) {
|
|
|
656
656
|
);
|
|
657
657
|
}
|
|
658
658
|
function ItemDescription(_a) {
|
|
659
|
-
var _b = _a, { className } = _b, props =
|
|
659
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
660
660
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
661
661
|
"p",
|
|
662
|
-
|
|
662
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
663
663
|
"data-slot": "item-description",
|
|
664
664
|
className: cn(
|
|
665
665
|
"line-clamp-2 text-balance text-sm font-normal leading-normal",
|
|
@@ -670,20 +670,20 @@ function ItemDescription(_a) {
|
|
|
670
670
|
);
|
|
671
671
|
}
|
|
672
672
|
function ItemActions(_a) {
|
|
673
|
-
var _b = _a, { className } = _b, props =
|
|
673
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
674
674
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
675
675
|
"div",
|
|
676
|
-
|
|
676
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
677
677
|
"data-slot": "item-actions",
|
|
678
678
|
className: cn("flex items-center gap-2", className)
|
|
679
679
|
}, props)
|
|
680
680
|
);
|
|
681
681
|
}
|
|
682
682
|
function ItemHeader(_a) {
|
|
683
|
-
var _b = _a, { className } = _b, props =
|
|
683
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
684
684
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
685
685
|
"div",
|
|
686
|
-
|
|
686
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
687
687
|
"data-slot": "item-header",
|
|
688
688
|
className: cn(
|
|
689
689
|
"flex basis-full items-center justify-between gap-2",
|
|
@@ -693,10 +693,10 @@ function ItemHeader(_a) {
|
|
|
693
693
|
);
|
|
694
694
|
}
|
|
695
695
|
function ItemFooter(_a) {
|
|
696
|
-
var _b = _a, { className } = _b, props =
|
|
696
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
697
697
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
698
698
|
"div",
|
|
699
|
-
|
|
699
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
700
700
|
"data-slot": "item-footer",
|
|
701
701
|
className: cn(
|
|
702
702
|
"flex basis-full items-center justify-between gap-2",
|
|
@@ -709,10 +709,10 @@ var labelVariants = classVarianceAuthority.cva(
|
|
|
709
709
|
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
710
710
|
);
|
|
711
711
|
var Label2 = React12__namespace.forwardRef((_a, ref) => {
|
|
712
|
-
var _b = _a, { className } = _b, props =
|
|
712
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
713
713
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
714
714
|
LabelPrimitive__namespace.Root,
|
|
715
|
-
|
|
715
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
716
716
|
ref,
|
|
717
717
|
className: cn(labelVariants(), className)
|
|
718
718
|
}, props)
|
|
@@ -724,10 +724,10 @@ var SheetTrigger = DialogPrimitive__namespace.Trigger;
|
|
|
724
724
|
var SheetClose = DialogPrimitive__namespace.Close;
|
|
725
725
|
var SheetPortal = DialogPrimitive__namespace.Portal;
|
|
726
726
|
var SheetOverlay = React12__namespace.forwardRef((_a, ref) => {
|
|
727
|
-
var _b = _a, { className } = _b, props =
|
|
727
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
728
728
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
729
729
|
DialogPrimitive__namespace.Overlay,
|
|
730
|
-
|
|
730
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({
|
|
731
731
|
className: cn(
|
|
732
732
|
"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
733
733
|
className
|
|
@@ -755,12 +755,12 @@ var sheetVariants = classVarianceAuthority.cva(
|
|
|
755
755
|
}
|
|
756
756
|
);
|
|
757
757
|
var SheetContent = React12__namespace.forwardRef((_a, ref) => {
|
|
758
|
-
var _b = _a, { side = "right", className, children } = _b, props =
|
|
758
|
+
var _b = _a, { side = "right", className, children } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["side", "className", "children"]);
|
|
759
759
|
return /* @__PURE__ */ jsxRuntime.jsxs(SheetPortal, { children: [
|
|
760
760
|
/* @__PURE__ */ jsxRuntime.jsx(SheetOverlay, {}),
|
|
761
761
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
762
762
|
DialogPrimitive__namespace.Content,
|
|
763
|
-
|
|
763
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({
|
|
764
764
|
ref,
|
|
765
765
|
className: cn(sheetVariants({ side }), className)
|
|
766
766
|
}, props), {
|
|
@@ -779,12 +779,12 @@ SheetContent.displayName = DialogPrimitive__namespace.Content.displayName;
|
|
|
779
779
|
var SheetHeader = (_a) => {
|
|
780
780
|
var _b = _a, {
|
|
781
781
|
className
|
|
782
|
-
} = _b, props =
|
|
782
|
+
} = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, [
|
|
783
783
|
"className"
|
|
784
784
|
]);
|
|
785
785
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
786
786
|
"div",
|
|
787
|
-
|
|
787
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
788
788
|
className: cn(
|
|
789
789
|
"flex flex-col space-y-2 text-center sm:text-left",
|
|
790
790
|
className
|
|
@@ -796,12 +796,12 @@ SheetHeader.displayName = "SheetHeader";
|
|
|
796
796
|
var SheetFooter = (_a) => {
|
|
797
797
|
var _b = _a, {
|
|
798
798
|
className
|
|
799
|
-
} = _b, props =
|
|
799
|
+
} = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, [
|
|
800
800
|
"className"
|
|
801
801
|
]);
|
|
802
802
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
803
803
|
"div",
|
|
804
|
-
|
|
804
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
805
805
|
className: cn(
|
|
806
806
|
"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
|
|
807
807
|
className
|
|
@@ -811,10 +811,10 @@ var SheetFooter = (_a) => {
|
|
|
811
811
|
};
|
|
812
812
|
SheetFooter.displayName = "SheetFooter";
|
|
813
813
|
var SheetTitle = React12__namespace.forwardRef((_a, ref) => {
|
|
814
|
-
var _b = _a, { className } = _b, props =
|
|
814
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
815
815
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
816
816
|
DialogPrimitive__namespace.Title,
|
|
817
|
-
|
|
817
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
818
818
|
ref,
|
|
819
819
|
className: cn("text-xl font-semibold text-foreground", className)
|
|
820
820
|
}, props)
|
|
@@ -822,10 +822,10 @@ var SheetTitle = React12__namespace.forwardRef((_a, ref) => {
|
|
|
822
822
|
});
|
|
823
823
|
SheetTitle.displayName = DialogPrimitive__namespace.Title.displayName;
|
|
824
824
|
var SheetDescription = React12__namespace.forwardRef((_a, ref) => {
|
|
825
|
-
var _b = _a, { className } = _b, props =
|
|
825
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
826
826
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
827
827
|
DialogPrimitive__namespace.Description,
|
|
828
|
-
|
|
828
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
829
829
|
ref,
|
|
830
830
|
className: cn("text-sm text-muted-foreground", className)
|
|
831
831
|
}, props)
|
|
@@ -849,12 +849,12 @@ function useIsMobile() {
|
|
|
849
849
|
function Skeleton(_a) {
|
|
850
850
|
var _b = _a, {
|
|
851
851
|
className
|
|
852
|
-
} = _b, props =
|
|
852
|
+
} = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, [
|
|
853
853
|
"className"
|
|
854
854
|
]);
|
|
855
855
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
856
856
|
"div",
|
|
857
|
-
|
|
857
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
858
858
|
className: cn("animate-pulse rounded-md bg-muted", className)
|
|
859
859
|
}, props)
|
|
860
860
|
);
|
|
@@ -863,10 +863,10 @@ var TooltipProvider = TooltipPrimitive__namespace.Provider;
|
|
|
863
863
|
var Tooltip = TooltipPrimitive__namespace.Root;
|
|
864
864
|
var TooltipTrigger = TooltipPrimitive__namespace.Trigger;
|
|
865
865
|
var TooltipContent = React12__namespace.forwardRef((_a, ref) => {
|
|
866
|
-
var _b = _a, { className, sideOffset = 4 } = _b, props =
|
|
866
|
+
var _b = _a, { className, sideOffset = 4 } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className", "sideOffset"]);
|
|
867
867
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
868
868
|
TooltipPrimitive__namespace.Content,
|
|
869
|
-
|
|
869
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
870
870
|
ref,
|
|
871
871
|
sideOffset,
|
|
872
872
|
className: cn(
|
|
@@ -900,7 +900,7 @@ var SidebarProvider = React12__namespace.forwardRef(
|
|
|
900
900
|
className,
|
|
901
901
|
style,
|
|
902
902
|
children
|
|
903
|
-
} = _b, props =
|
|
903
|
+
} = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, [
|
|
904
904
|
"defaultOpen",
|
|
905
905
|
"open",
|
|
906
906
|
"onOpenChange",
|
|
@@ -952,8 +952,8 @@ var SidebarProvider = React12__namespace.forwardRef(
|
|
|
952
952
|
);
|
|
953
953
|
return /* @__PURE__ */ jsxRuntime.jsx(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxRuntime.jsx(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
954
954
|
"div",
|
|
955
|
-
|
|
956
|
-
style:
|
|
955
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({
|
|
956
|
+
style: chunkGVOLIMR6_cjs.__spreadValues({
|
|
957
957
|
"--sidebar-width": SIDEBAR_WIDTH,
|
|
958
958
|
"--sidebar-width-icon": SIDEBAR_WIDTH_ICON
|
|
959
959
|
}, style),
|
|
@@ -977,7 +977,7 @@ var Sidebar = React12__namespace.forwardRef(
|
|
|
977
977
|
collapsible = "offcanvas",
|
|
978
978
|
className,
|
|
979
979
|
children
|
|
980
|
-
} = _b, props =
|
|
980
|
+
} = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, [
|
|
981
981
|
"side",
|
|
982
982
|
"variant",
|
|
983
983
|
"collapsible",
|
|
@@ -988,7 +988,7 @@ var Sidebar = React12__namespace.forwardRef(
|
|
|
988
988
|
if (collapsible === "none") {
|
|
989
989
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
990
990
|
"div",
|
|
991
|
-
|
|
991
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({
|
|
992
992
|
className: cn(
|
|
993
993
|
"flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",
|
|
994
994
|
className
|
|
@@ -1000,7 +1000,7 @@ var Sidebar = React12__namespace.forwardRef(
|
|
|
1000
1000
|
);
|
|
1001
1001
|
}
|
|
1002
1002
|
if (isMobile) {
|
|
1003
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Sheet,
|
|
1003
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Sheet, chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({ open: openMobile, onOpenChange: setOpenMobile }, props), { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1004
1004
|
SheetContent,
|
|
1005
1005
|
{
|
|
1006
1006
|
"data-sidebar": "sidebar",
|
|
@@ -1043,7 +1043,7 @@ var Sidebar = React12__namespace.forwardRef(
|
|
|
1043
1043
|
),
|
|
1044
1044
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1045
1045
|
"div",
|
|
1046
|
-
|
|
1046
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({
|
|
1047
1047
|
className: cn(
|
|
1048
1048
|
"fixed inset-y-0 z-10 hidden h-svh w-[--sidebar-width] transition-[left,right,width] duration-200 ease-linear md:flex",
|
|
1049
1049
|
side === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
|
|
@@ -1069,11 +1069,11 @@ var Sidebar = React12__namespace.forwardRef(
|
|
|
1069
1069
|
);
|
|
1070
1070
|
Sidebar.displayName = "Sidebar";
|
|
1071
1071
|
var SidebarTrigger = React12__namespace.forwardRef((_a, ref) => {
|
|
1072
|
-
var _b = _a, { className, onClick } = _b, props =
|
|
1072
|
+
var _b = _a, { className, onClick } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className", "onClick"]);
|
|
1073
1073
|
const { toggleSidebar } = useSidebar();
|
|
1074
1074
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1075
1075
|
Button,
|
|
1076
|
-
|
|
1076
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({
|
|
1077
1077
|
ref,
|
|
1078
1078
|
"data-sidebar": "trigger",
|
|
1079
1079
|
variant: "ghost",
|
|
@@ -1093,11 +1093,11 @@ var SidebarTrigger = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1093
1093
|
});
|
|
1094
1094
|
SidebarTrigger.displayName = "SidebarTrigger";
|
|
1095
1095
|
var SidebarRail = React12__namespace.forwardRef((_a, ref) => {
|
|
1096
|
-
var _b = _a, { className } = _b, props =
|
|
1096
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1097
1097
|
const { toggleSidebar } = useSidebar();
|
|
1098
1098
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1099
1099
|
"button",
|
|
1100
|
-
|
|
1100
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1101
1101
|
ref,
|
|
1102
1102
|
"data-sidebar": "rail",
|
|
1103
1103
|
"aria-label": "Toggle Sidebar",
|
|
@@ -1118,10 +1118,10 @@ var SidebarRail = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1118
1118
|
});
|
|
1119
1119
|
SidebarRail.displayName = "SidebarRail";
|
|
1120
1120
|
var SidebarInset = React12__namespace.forwardRef((_a, ref) => {
|
|
1121
|
-
var _b = _a, { className } = _b, props =
|
|
1121
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1122
1122
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1123
1123
|
"main",
|
|
1124
|
-
|
|
1124
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1125
1125
|
ref,
|
|
1126
1126
|
className: cn(
|
|
1127
1127
|
"relative flex w-full flex-1 flex-col bg-background",
|
|
@@ -1133,10 +1133,10 @@ var SidebarInset = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1133
1133
|
});
|
|
1134
1134
|
SidebarInset.displayName = "SidebarInset";
|
|
1135
1135
|
var SidebarInput = React12__namespace.forwardRef((_a, ref) => {
|
|
1136
|
-
var _b = _a, { className } = _b, props =
|
|
1136
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1137
1137
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1138
1138
|
Input,
|
|
1139
|
-
|
|
1139
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1140
1140
|
ref,
|
|
1141
1141
|
"data-sidebar": "input",
|
|
1142
1142
|
className: cn(
|
|
@@ -1148,10 +1148,10 @@ var SidebarInput = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1148
1148
|
});
|
|
1149
1149
|
SidebarInput.displayName = "SidebarInput";
|
|
1150
1150
|
var SidebarHeader = React12__namespace.forwardRef((_a, ref) => {
|
|
1151
|
-
var _b = _a, { className } = _b, props =
|
|
1151
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1152
1152
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1153
1153
|
"div",
|
|
1154
|
-
|
|
1154
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1155
1155
|
ref,
|
|
1156
1156
|
"data-sidebar": "header",
|
|
1157
1157
|
className: cn("flex flex-col gap-2 p-2", className)
|
|
@@ -1160,10 +1160,10 @@ var SidebarHeader = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1160
1160
|
});
|
|
1161
1161
|
SidebarHeader.displayName = "SidebarHeader";
|
|
1162
1162
|
var SidebarFooter = React12__namespace.forwardRef((_a, ref) => {
|
|
1163
|
-
var _b = _a, { className } = _b, props =
|
|
1163
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1164
1164
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1165
1165
|
"div",
|
|
1166
|
-
|
|
1166
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1167
1167
|
ref,
|
|
1168
1168
|
"data-sidebar": "footer",
|
|
1169
1169
|
className: cn("flex flex-col gap-2 p-2", className)
|
|
@@ -1172,10 +1172,10 @@ var SidebarFooter = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1172
1172
|
});
|
|
1173
1173
|
SidebarFooter.displayName = "SidebarFooter";
|
|
1174
1174
|
var SidebarSeparator = React12__namespace.forwardRef((_a, ref) => {
|
|
1175
|
-
var _b = _a, { className } = _b, props =
|
|
1175
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1176
1176
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1177
1177
|
Separator2,
|
|
1178
|
-
|
|
1178
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1179
1179
|
ref,
|
|
1180
1180
|
"data-sidebar": "separator",
|
|
1181
1181
|
className: cn("mx-2 w-auto bg-sidebar-border", className)
|
|
@@ -1184,10 +1184,10 @@ var SidebarSeparator = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1184
1184
|
});
|
|
1185
1185
|
SidebarSeparator.displayName = "SidebarSeparator";
|
|
1186
1186
|
var SidebarContent = React12__namespace.forwardRef((_a, ref) => {
|
|
1187
|
-
var _b = _a, { className } = _b, props =
|
|
1187
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1188
1188
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1189
1189
|
"div",
|
|
1190
|
-
|
|
1190
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1191
1191
|
ref,
|
|
1192
1192
|
"data-sidebar": "content",
|
|
1193
1193
|
className: cn(
|
|
@@ -1199,10 +1199,10 @@ var SidebarContent = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1199
1199
|
});
|
|
1200
1200
|
SidebarContent.displayName = "SidebarContent";
|
|
1201
1201
|
var SidebarGroup = React12__namespace.forwardRef((_a, ref) => {
|
|
1202
|
-
var _b = _a, { className } = _b, props =
|
|
1202
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1203
1203
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1204
1204
|
"div",
|
|
1205
|
-
|
|
1205
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1206
1206
|
ref,
|
|
1207
1207
|
"data-sidebar": "group",
|
|
1208
1208
|
className: cn("relative flex w-full min-w-0 flex-col p-2", className)
|
|
@@ -1211,11 +1211,11 @@ var SidebarGroup = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1211
1211
|
});
|
|
1212
1212
|
SidebarGroup.displayName = "SidebarGroup";
|
|
1213
1213
|
var SidebarGroupLabel = React12__namespace.forwardRef((_a, ref) => {
|
|
1214
|
-
var _b = _a, { className, asChild = false } = _b, props =
|
|
1214
|
+
var _b = _a, { className, asChild = false } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className", "asChild"]);
|
|
1215
1215
|
const Comp = asChild ? reactSlot.Slot : "div";
|
|
1216
1216
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1217
1217
|
Comp,
|
|
1218
|
-
|
|
1218
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1219
1219
|
ref,
|
|
1220
1220
|
"data-sidebar": "group-label",
|
|
1221
1221
|
className: cn(
|
|
@@ -1228,11 +1228,11 @@ var SidebarGroupLabel = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1228
1228
|
});
|
|
1229
1229
|
SidebarGroupLabel.displayName = "SidebarGroupLabel";
|
|
1230
1230
|
var SidebarGroupAction = React12__namespace.forwardRef((_a, ref) => {
|
|
1231
|
-
var _b = _a, { className, asChild = false } = _b, props =
|
|
1231
|
+
var _b = _a, { className, asChild = false } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className", "asChild"]);
|
|
1232
1232
|
const Comp = asChild ? reactSlot.Slot : "button";
|
|
1233
1233
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1234
1234
|
Comp,
|
|
1235
|
-
|
|
1235
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1236
1236
|
ref,
|
|
1237
1237
|
"data-sidebar": "group-action",
|
|
1238
1238
|
className: cn(
|
|
@@ -1247,10 +1247,10 @@ var SidebarGroupAction = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1247
1247
|
});
|
|
1248
1248
|
SidebarGroupAction.displayName = "SidebarGroupAction";
|
|
1249
1249
|
var SidebarGroupContent = React12__namespace.forwardRef((_a, ref) => {
|
|
1250
|
-
var _b = _a, { className } = _b, props =
|
|
1250
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1251
1251
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1252
1252
|
"div",
|
|
1253
|
-
|
|
1253
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1254
1254
|
ref,
|
|
1255
1255
|
"data-sidebar": "group-content",
|
|
1256
1256
|
className: cn("w-full text-sm", className)
|
|
@@ -1259,10 +1259,10 @@ var SidebarGroupContent = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1259
1259
|
});
|
|
1260
1260
|
SidebarGroupContent.displayName = "SidebarGroupContent";
|
|
1261
1261
|
var SidebarMenu = React12__namespace.forwardRef((_a, ref) => {
|
|
1262
|
-
var _b = _a, { className } = _b, props =
|
|
1262
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1263
1263
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1264
1264
|
"ul",
|
|
1265
|
-
|
|
1265
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1266
1266
|
ref,
|
|
1267
1267
|
"data-sidebar": "menu",
|
|
1268
1268
|
className: cn("flex w-full min-w-0 flex-col gap-1", className)
|
|
@@ -1271,10 +1271,10 @@ var SidebarMenu = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1271
1271
|
});
|
|
1272
1272
|
SidebarMenu.displayName = "SidebarMenu";
|
|
1273
1273
|
var SidebarMenuItem = React12__namespace.forwardRef((_a, ref) => {
|
|
1274
|
-
var _b = _a, { className } = _b, props =
|
|
1274
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1275
1275
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1276
1276
|
"li",
|
|
1277
|
-
|
|
1277
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1278
1278
|
ref,
|
|
1279
1279
|
"data-sidebar": "menu-item",
|
|
1280
1280
|
className: cn("group/menu-item relative", className)
|
|
@@ -1311,7 +1311,7 @@ var SidebarMenuButton = React12__namespace.forwardRef(
|
|
|
1311
1311
|
size = "default",
|
|
1312
1312
|
tooltip,
|
|
1313
1313
|
className
|
|
1314
|
-
} = _b, props =
|
|
1314
|
+
} = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, [
|
|
1315
1315
|
"asChild",
|
|
1316
1316
|
"isActive",
|
|
1317
1317
|
"variant",
|
|
@@ -1323,7 +1323,7 @@ var SidebarMenuButton = React12__namespace.forwardRef(
|
|
|
1323
1323
|
const { isMobile, state } = useSidebar();
|
|
1324
1324
|
const button = /* @__PURE__ */ jsxRuntime.jsx(
|
|
1325
1325
|
Comp,
|
|
1326
|
-
|
|
1326
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1327
1327
|
ref,
|
|
1328
1328
|
"data-sidebar": "menu-button",
|
|
1329
1329
|
"data-size": size,
|
|
@@ -1343,7 +1343,7 @@ var SidebarMenuButton = React12__namespace.forwardRef(
|
|
|
1343
1343
|
/* @__PURE__ */ jsxRuntime.jsx(TooltipTrigger, { asChild: true, children: button }),
|
|
1344
1344
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1345
1345
|
TooltipContent,
|
|
1346
|
-
|
|
1346
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1347
1347
|
side: "right",
|
|
1348
1348
|
align: "center",
|
|
1349
1349
|
hidden: state !== "collapsed" || isMobile
|
|
@@ -1364,7 +1364,7 @@ var SidebarMenuButtonLink = React12__namespace.forwardRef(
|
|
|
1364
1364
|
tooltip,
|
|
1365
1365
|
className,
|
|
1366
1366
|
children
|
|
1367
|
-
} = _b, props =
|
|
1367
|
+
} = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, [
|
|
1368
1368
|
"isActive",
|
|
1369
1369
|
"isExternal",
|
|
1370
1370
|
"showExternalIcon",
|
|
@@ -1378,7 +1378,7 @@ var SidebarMenuButtonLink = React12__namespace.forwardRef(
|
|
|
1378
1378
|
const externalProps = isExternal ? { target: "_blank", rel: "noopener noreferrer" } : {};
|
|
1379
1379
|
const link = /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1380
1380
|
"a",
|
|
1381
|
-
|
|
1381
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues(chunkGVOLIMR6_cjs.__spreadValues({
|
|
1382
1382
|
ref,
|
|
1383
1383
|
"data-sidebar": "menu-button",
|
|
1384
1384
|
"data-size": size,
|
|
@@ -1403,7 +1403,7 @@ var SidebarMenuButtonLink = React12__namespace.forwardRef(
|
|
|
1403
1403
|
/* @__PURE__ */ jsxRuntime.jsx(TooltipTrigger, { asChild: true, children: link }),
|
|
1404
1404
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1405
1405
|
TooltipContent,
|
|
1406
|
-
|
|
1406
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1407
1407
|
side: "right",
|
|
1408
1408
|
align: "center",
|
|
1409
1409
|
hidden: state !== "collapsed" || isMobile
|
|
@@ -1414,11 +1414,11 @@ var SidebarMenuButtonLink = React12__namespace.forwardRef(
|
|
|
1414
1414
|
);
|
|
1415
1415
|
SidebarMenuButtonLink.displayName = "SidebarMenuButtonLink";
|
|
1416
1416
|
var SidebarMenuAction = React12__namespace.forwardRef((_a, ref) => {
|
|
1417
|
-
var _b = _a, { className, asChild = false, showOnHover = false } = _b, props =
|
|
1417
|
+
var _b = _a, { className, asChild = false, showOnHover = false } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className", "asChild", "showOnHover"]);
|
|
1418
1418
|
const Comp = asChild ? reactSlot.Slot : "button";
|
|
1419
1419
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1420
1420
|
Comp,
|
|
1421
|
-
|
|
1421
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1422
1422
|
ref,
|
|
1423
1423
|
"data-sidebar": "menu-action",
|
|
1424
1424
|
className: cn(
|
|
@@ -1437,10 +1437,10 @@ var SidebarMenuAction = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1437
1437
|
});
|
|
1438
1438
|
SidebarMenuAction.displayName = "SidebarMenuAction";
|
|
1439
1439
|
var SidebarMenuBadge = React12__namespace.forwardRef((_a, ref) => {
|
|
1440
|
-
var _b = _a, { className } = _b, props =
|
|
1440
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1441
1441
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1442
1442
|
"div",
|
|
1443
|
-
|
|
1443
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1444
1444
|
ref,
|
|
1445
1445
|
"data-sidebar": "menu-badge",
|
|
1446
1446
|
className: cn(
|
|
@@ -1457,11 +1457,11 @@ var SidebarMenuBadge = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1457
1457
|
});
|
|
1458
1458
|
SidebarMenuBadge.displayName = "SidebarMenuBadge";
|
|
1459
1459
|
var SidebarMenuSkeleton = React12__namespace.forwardRef((_a, ref) => {
|
|
1460
|
-
var _b = _a, { className, showIcon = false } = _b, props =
|
|
1460
|
+
var _b = _a, { className, showIcon = false } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className", "showIcon"]);
|
|
1461
1461
|
const width = "70%";
|
|
1462
1462
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1463
1463
|
"div",
|
|
1464
|
-
|
|
1464
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({
|
|
1465
1465
|
ref,
|
|
1466
1466
|
"data-sidebar": "menu-skeleton",
|
|
1467
1467
|
className: cn("flex h-8 items-center gap-2 rounded-md px-2", className)
|
|
@@ -1490,10 +1490,10 @@ var SidebarMenuSkeleton = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1490
1490
|
});
|
|
1491
1491
|
SidebarMenuSkeleton.displayName = "SidebarMenuSkeleton";
|
|
1492
1492
|
var SidebarMenuSub = React12__namespace.forwardRef((_a, ref) => {
|
|
1493
|
-
var _b = _a, { className } = _b, props =
|
|
1493
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1494
1494
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1495
1495
|
"ul",
|
|
1496
|
-
|
|
1496
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1497
1497
|
ref,
|
|
1498
1498
|
"data-sidebar": "menu-sub",
|
|
1499
1499
|
className: cn(
|
|
@@ -1506,16 +1506,16 @@ var SidebarMenuSub = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1506
1506
|
});
|
|
1507
1507
|
SidebarMenuSub.displayName = "SidebarMenuSub";
|
|
1508
1508
|
var SidebarMenuSubItem = React12__namespace.forwardRef((_a, ref) => {
|
|
1509
|
-
var props =
|
|
1510
|
-
return /* @__PURE__ */ jsxRuntime.jsx("li",
|
|
1509
|
+
var props = chunkGVOLIMR6_cjs.__objRest(_a, []);
|
|
1510
|
+
return /* @__PURE__ */ jsxRuntime.jsx("li", chunkGVOLIMR6_cjs.__spreadValues({ ref }, props));
|
|
1511
1511
|
});
|
|
1512
1512
|
SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
|
|
1513
1513
|
var SidebarMenuSubButton = React12__namespace.forwardRef((_a, ref) => {
|
|
1514
|
-
var _b = _a, { asChild = false, size = "md", isActive, className } = _b, props =
|
|
1514
|
+
var _b = _a, { asChild = false, size = "md", isActive, className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["asChild", "size", "isActive", "className"]);
|
|
1515
1515
|
const Comp = asChild ? reactSlot.Slot : "a";
|
|
1516
1516
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1517
1517
|
Comp,
|
|
1518
|
-
|
|
1518
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1519
1519
|
ref,
|
|
1520
1520
|
"data-sidebar": "menu-sub-button",
|
|
1521
1521
|
"data-size": size,
|
|
@@ -1534,10 +1534,10 @@ var SidebarMenuSubButton = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1534
1534
|
SidebarMenuSubButton.displayName = "SidebarMenuSubButton";
|
|
1535
1535
|
var Tabs = TabsPrimitive__namespace.Root;
|
|
1536
1536
|
var TabsList = React12__namespace.forwardRef((_a, ref) => {
|
|
1537
|
-
var _b = _a, { className } = _b, props =
|
|
1537
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1538
1538
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1539
1539
|
TabsPrimitive__namespace.List,
|
|
1540
|
-
|
|
1540
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1541
1541
|
ref,
|
|
1542
1542
|
className: cn(
|
|
1543
1543
|
"inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",
|
|
@@ -1548,10 +1548,10 @@ var TabsList = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1548
1548
|
});
|
|
1549
1549
|
TabsList.displayName = TabsPrimitive__namespace.List.displayName;
|
|
1550
1550
|
var TabsTrigger = React12__namespace.forwardRef((_a, ref) => {
|
|
1551
|
-
var _b = _a, { className } = _b, props =
|
|
1551
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1552
1552
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1553
1553
|
TabsPrimitive__namespace.Trigger,
|
|
1554
|
-
|
|
1554
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1555
1555
|
ref,
|
|
1556
1556
|
className: cn(
|
|
1557
1557
|
"inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",
|
|
@@ -1562,10 +1562,10 @@ var TabsTrigger = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1562
1562
|
});
|
|
1563
1563
|
TabsTrigger.displayName = TabsPrimitive__namespace.Trigger.displayName;
|
|
1564
1564
|
var TabsContent = React12__namespace.forwardRef((_a, ref) => {
|
|
1565
|
-
var _b = _a, { className } = _b, props =
|
|
1565
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1566
1566
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1567
1567
|
TabsPrimitive__namespace.Content,
|
|
1568
|
-
|
|
1568
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1569
1569
|
ref,
|
|
1570
1570
|
className: cn(
|
|
1571
1571
|
"mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
@@ -1577,10 +1577,10 @@ var TabsContent = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1577
1577
|
TabsContent.displayName = TabsPrimitive__namespace.Content.displayName;
|
|
1578
1578
|
var Accordion = AccordionPrimitive__namespace.Root;
|
|
1579
1579
|
var AccordionItem = React12__namespace.forwardRef((_a, ref) => {
|
|
1580
|
-
var _b = _a, { className } = _b, props =
|
|
1580
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1581
1581
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1582
1582
|
AccordionPrimitive__namespace.Item,
|
|
1583
|
-
|
|
1583
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1584
1584
|
ref,
|
|
1585
1585
|
className: cn("border-b", className)
|
|
1586
1586
|
}, props)
|
|
@@ -1588,10 +1588,10 @@ var AccordionItem = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1588
1588
|
});
|
|
1589
1589
|
AccordionItem.displayName = "AccordionItem";
|
|
1590
1590
|
var AccordionTrigger = React12__namespace.forwardRef((_a, ref) => {
|
|
1591
|
-
var _b = _a, { className, children } = _b, props =
|
|
1591
|
+
var _b = _a, { className, children } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className", "children"]);
|
|
1592
1592
|
return /* @__PURE__ */ jsxRuntime.jsx(AccordionPrimitive__namespace.Header, { className: "flex", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1593
1593
|
AccordionPrimitive__namespace.Trigger,
|
|
1594
|
-
|
|
1594
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({
|
|
1595
1595
|
ref,
|
|
1596
1596
|
className: cn(
|
|
1597
1597
|
"flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",
|
|
@@ -1607,10 +1607,10 @@ var AccordionTrigger = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1607
1607
|
});
|
|
1608
1608
|
AccordionTrigger.displayName = AccordionPrimitive__namespace.Trigger.displayName;
|
|
1609
1609
|
var AccordionContent = React12__namespace.forwardRef((_a, ref) => {
|
|
1610
|
-
var _b = _a, { className, children } = _b, props =
|
|
1610
|
+
var _b = _a, { className, children } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className", "children"]);
|
|
1611
1611
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1612
1612
|
AccordionPrimitive__namespace.Content,
|
|
1613
|
-
|
|
1613
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({
|
|
1614
1614
|
ref,
|
|
1615
1615
|
className: "overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down"
|
|
1616
1616
|
}, props), {
|
|
@@ -1636,10 +1636,10 @@ var alertVariants = classVarianceAuthority.cva(
|
|
|
1636
1636
|
}
|
|
1637
1637
|
);
|
|
1638
1638
|
var Alert = React12__namespace.forwardRef((_a, ref) => {
|
|
1639
|
-
var _b = _a, { className, variant } = _b, props =
|
|
1639
|
+
var _b = _a, { className, variant } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className", "variant"]);
|
|
1640
1640
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1641
1641
|
"div",
|
|
1642
|
-
|
|
1642
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1643
1643
|
ref,
|
|
1644
1644
|
role: "alert",
|
|
1645
1645
|
className: cn(alertVariants({ variant }), className)
|
|
@@ -1648,10 +1648,10 @@ var Alert = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1648
1648
|
});
|
|
1649
1649
|
Alert.displayName = "Alert";
|
|
1650
1650
|
var AlertTitle = React12__namespace.forwardRef((_a, ref) => {
|
|
1651
|
-
var _b = _a, { className } = _b, props =
|
|
1651
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1652
1652
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1653
1653
|
"h5",
|
|
1654
|
-
|
|
1654
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1655
1655
|
ref,
|
|
1656
1656
|
className: cn("mb-1 font-medium leading-none tracking-tight", className)
|
|
1657
1657
|
}, props)
|
|
@@ -1659,10 +1659,10 @@ var AlertTitle = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1659
1659
|
});
|
|
1660
1660
|
AlertTitle.displayName = "AlertTitle";
|
|
1661
1661
|
var AlertDescription = React12__namespace.forwardRef((_a, ref) => {
|
|
1662
|
-
var _b = _a, { className } = _b, props =
|
|
1662
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1663
1663
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1664
1664
|
"div",
|
|
1665
|
-
|
|
1665
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1666
1666
|
ref,
|
|
1667
1667
|
className: cn("text-sm [&_p]:leading-relaxed", className)
|
|
1668
1668
|
}, props)
|
|
@@ -1673,10 +1673,10 @@ var AlertDialog = AlertDialogPrimitive__namespace.Root;
|
|
|
1673
1673
|
var AlertDialogTrigger = AlertDialogPrimitive__namespace.Trigger;
|
|
1674
1674
|
var AlertDialogPortal = AlertDialogPrimitive__namespace.Portal;
|
|
1675
1675
|
var AlertDialogOverlay = React12__namespace.forwardRef((_a, ref) => {
|
|
1676
|
-
var _b = _a, { className } = _b, props =
|
|
1676
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1677
1677
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1678
1678
|
AlertDialogPrimitive__namespace.Overlay,
|
|
1679
|
-
|
|
1679
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({
|
|
1680
1680
|
className: cn(
|
|
1681
1681
|
"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
1682
1682
|
className
|
|
@@ -1688,12 +1688,12 @@ var AlertDialogOverlay = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1688
1688
|
});
|
|
1689
1689
|
AlertDialogOverlay.displayName = AlertDialogPrimitive__namespace.Overlay.displayName;
|
|
1690
1690
|
var AlertDialogContent = React12__namespace.forwardRef((_a, ref) => {
|
|
1691
|
-
var _b = _a, { className } = _b, props =
|
|
1691
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1692
1692
|
return /* @__PURE__ */ jsxRuntime.jsxs(AlertDialogPortal, { children: [
|
|
1693
1693
|
/* @__PURE__ */ jsxRuntime.jsx(AlertDialogOverlay, {}),
|
|
1694
1694
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1695
1695
|
AlertDialogPrimitive__namespace.Content,
|
|
1696
|
-
|
|
1696
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1697
1697
|
ref,
|
|
1698
1698
|
className: cn(
|
|
1699
1699
|
"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
|
|
@@ -1707,12 +1707,12 @@ AlertDialogContent.displayName = AlertDialogPrimitive__namespace.Content.display
|
|
|
1707
1707
|
var AlertDialogHeader = (_a) => {
|
|
1708
1708
|
var _b = _a, {
|
|
1709
1709
|
className
|
|
1710
|
-
} = _b, props =
|
|
1710
|
+
} = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, [
|
|
1711
1711
|
"className"
|
|
1712
1712
|
]);
|
|
1713
1713
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1714
1714
|
"div",
|
|
1715
|
-
|
|
1715
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1716
1716
|
className: cn(
|
|
1717
1717
|
"flex flex-col space-y-2 text-center sm:text-left",
|
|
1718
1718
|
className
|
|
@@ -1724,12 +1724,12 @@ AlertDialogHeader.displayName = "AlertDialogHeader";
|
|
|
1724
1724
|
var AlertDialogFooter = (_a) => {
|
|
1725
1725
|
var _b = _a, {
|
|
1726
1726
|
className
|
|
1727
|
-
} = _b, props =
|
|
1727
|
+
} = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, [
|
|
1728
1728
|
"className"
|
|
1729
1729
|
]);
|
|
1730
1730
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1731
1731
|
"div",
|
|
1732
|
-
|
|
1732
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1733
1733
|
className: cn(
|
|
1734
1734
|
"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
|
|
1735
1735
|
className
|
|
@@ -1739,10 +1739,10 @@ var AlertDialogFooter = (_a) => {
|
|
|
1739
1739
|
};
|
|
1740
1740
|
AlertDialogFooter.displayName = "AlertDialogFooter";
|
|
1741
1741
|
var AlertDialogTitle = React12__namespace.forwardRef((_a, ref) => {
|
|
1742
|
-
var _b = _a, { className } = _b, props =
|
|
1742
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1743
1743
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1744
1744
|
AlertDialogPrimitive__namespace.Title,
|
|
1745
|
-
|
|
1745
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1746
1746
|
ref,
|
|
1747
1747
|
className: cn("text-lg font-semibold", className)
|
|
1748
1748
|
}, props)
|
|
@@ -1750,10 +1750,10 @@ var AlertDialogTitle = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1750
1750
|
});
|
|
1751
1751
|
AlertDialogTitle.displayName = AlertDialogPrimitive__namespace.Title.displayName;
|
|
1752
1752
|
var AlertDialogDescription = React12__namespace.forwardRef((_a, ref) => {
|
|
1753
|
-
var _b = _a, { className } = _b, props =
|
|
1753
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1754
1754
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1755
1755
|
AlertDialogPrimitive__namespace.Description,
|
|
1756
|
-
|
|
1756
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1757
1757
|
ref,
|
|
1758
1758
|
className: cn("text-sm text-muted-foreground", className)
|
|
1759
1759
|
}, props)
|
|
@@ -1761,10 +1761,10 @@ var AlertDialogDescription = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1761
1761
|
});
|
|
1762
1762
|
AlertDialogDescription.displayName = AlertDialogPrimitive__namespace.Description.displayName;
|
|
1763
1763
|
var AlertDialogAction = React12__namespace.forwardRef((_a, ref) => {
|
|
1764
|
-
var _b = _a, { className } = _b, props =
|
|
1764
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1765
1765
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1766
1766
|
AlertDialogPrimitive__namespace.Action,
|
|
1767
|
-
|
|
1767
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1768
1768
|
ref,
|
|
1769
1769
|
className: cn(buttonVariants(), className)
|
|
1770
1770
|
}, props)
|
|
@@ -1772,10 +1772,10 @@ var AlertDialogAction = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1772
1772
|
});
|
|
1773
1773
|
AlertDialogAction.displayName = AlertDialogPrimitive__namespace.Action.displayName;
|
|
1774
1774
|
var AlertDialogCancel = React12__namespace.forwardRef((_a, ref) => {
|
|
1775
|
-
var _b = _a, { className } = _b, props =
|
|
1775
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1776
1776
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1777
1777
|
AlertDialogPrimitive__namespace.Cancel,
|
|
1778
|
-
|
|
1778
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1779
1779
|
ref,
|
|
1780
1780
|
className: cn(
|
|
1781
1781
|
buttonVariants({ variant: "outline" }),
|
|
@@ -1787,10 +1787,10 @@ var AlertDialogCancel = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1787
1787
|
});
|
|
1788
1788
|
AlertDialogCancel.displayName = AlertDialogPrimitive__namespace.Cancel.displayName;
|
|
1789
1789
|
var Checkbox = React12__namespace.forwardRef((_a, ref) => {
|
|
1790
|
-
var _b = _a, { className } = _b, props =
|
|
1790
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1791
1791
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1792
1792
|
CheckboxPrimitive__namespace.Root,
|
|
1793
|
-
|
|
1793
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({
|
|
1794
1794
|
ref,
|
|
1795
1795
|
className: cn(
|
|
1796
1796
|
"peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",
|
|
@@ -1809,10 +1809,10 @@ var Checkbox = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1809
1809
|
});
|
|
1810
1810
|
Checkbox.displayName = CheckboxPrimitive__namespace.Root.displayName;
|
|
1811
1811
|
var InputOTP = React12__namespace.forwardRef((_a, ref) => {
|
|
1812
|
-
var _b = _a, { className, containerClassName } = _b, props =
|
|
1812
|
+
var _b = _a, { className, containerClassName } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className", "containerClassName"]);
|
|
1813
1813
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1814
1814
|
inputOtp.OTPInput,
|
|
1815
|
-
|
|
1815
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1816
1816
|
ref,
|
|
1817
1817
|
containerClassName: cn(
|
|
1818
1818
|
"flex items-center gap-2 has-[:disabled]:opacity-50",
|
|
@@ -1824,17 +1824,17 @@ var InputOTP = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1824
1824
|
});
|
|
1825
1825
|
InputOTP.displayName = "InputOTP";
|
|
1826
1826
|
var InputOTPGroup = React12__namespace.forwardRef((_a, ref) => {
|
|
1827
|
-
var _b = _a, { className } = _b, props =
|
|
1828
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div",
|
|
1827
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1828
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", chunkGVOLIMR6_cjs.__spreadValues({ ref, className: cn("flex items-center", className) }, props));
|
|
1829
1829
|
});
|
|
1830
1830
|
InputOTPGroup.displayName = "InputOTPGroup";
|
|
1831
1831
|
var InputOTPSlot = React12__namespace.forwardRef((_a, ref) => {
|
|
1832
|
-
var _b = _a, { index, className } = _b, props =
|
|
1832
|
+
var _b = _a, { index, className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["index", "className"]);
|
|
1833
1833
|
const inputOTPContext = React12__namespace.useContext(inputOtp.OTPInputContext);
|
|
1834
1834
|
const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
|
|
1835
1835
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1836
1836
|
"div",
|
|
1837
|
-
|
|
1837
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({
|
|
1838
1838
|
ref,
|
|
1839
1839
|
className: cn(
|
|
1840
1840
|
"relative flex h-10 w-10 items-center justify-center border-y border-r border-input text-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md",
|
|
@@ -1851,15 +1851,15 @@ var InputOTPSlot = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1851
1851
|
});
|
|
1852
1852
|
InputOTPSlot.displayName = "InputOTPSlot";
|
|
1853
1853
|
var InputOTPSeparator = React12__namespace.forwardRef((_a, ref) => {
|
|
1854
|
-
var props =
|
|
1855
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div",
|
|
1854
|
+
var props = chunkGVOLIMR6_cjs.__objRest(_a, []);
|
|
1855
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({ ref, role: "separator" }, props), { children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Dot, {}) }));
|
|
1856
1856
|
});
|
|
1857
1857
|
InputOTPSeparator.displayName = "InputOTPSeparator";
|
|
1858
1858
|
var Progress = React12__namespace.forwardRef((_a, ref) => {
|
|
1859
|
-
var _b = _a, { className, value } = _b, props =
|
|
1859
|
+
var _b = _a, { className, value } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className", "value"]);
|
|
1860
1860
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1861
1861
|
ProgressPrimitive__namespace.Root,
|
|
1862
|
-
|
|
1862
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({
|
|
1863
1863
|
ref,
|
|
1864
1864
|
className: cn(
|
|
1865
1865
|
"relative h-4 w-full overflow-hidden rounded-full bg-secondary",
|
|
@@ -1881,10 +1881,10 @@ var Select = SelectPrimitive__namespace.Root;
|
|
|
1881
1881
|
var SelectGroup = SelectPrimitive__namespace.Group;
|
|
1882
1882
|
var SelectValue = SelectPrimitive__namespace.Value;
|
|
1883
1883
|
var SelectTrigger = React12__namespace.forwardRef((_a, ref) => {
|
|
1884
|
-
var _b = _a, { className, children } = _b, props =
|
|
1884
|
+
var _b = _a, { className, children } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className", "children"]);
|
|
1885
1885
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1886
1886
|
SelectPrimitive__namespace.Trigger,
|
|
1887
|
-
|
|
1887
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({
|
|
1888
1888
|
ref,
|
|
1889
1889
|
className: cn(
|
|
1890
1890
|
"flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",
|
|
@@ -1900,10 +1900,10 @@ var SelectTrigger = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1900
1900
|
});
|
|
1901
1901
|
SelectTrigger.displayName = SelectPrimitive__namespace.Trigger.displayName;
|
|
1902
1902
|
var SelectScrollUpButton = React12__namespace.forwardRef((_a, ref) => {
|
|
1903
|
-
var _b = _a, { className } = _b, props =
|
|
1903
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1904
1904
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1905
1905
|
SelectPrimitive__namespace.ScrollUpButton,
|
|
1906
|
-
|
|
1906
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({
|
|
1907
1907
|
ref,
|
|
1908
1908
|
className: cn(
|
|
1909
1909
|
"flex cursor-default items-center justify-center py-1",
|
|
@@ -1916,10 +1916,10 @@ var SelectScrollUpButton = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1916
1916
|
});
|
|
1917
1917
|
SelectScrollUpButton.displayName = SelectPrimitive__namespace.ScrollUpButton.displayName;
|
|
1918
1918
|
var SelectScrollDownButton = React12__namespace.forwardRef((_a, ref) => {
|
|
1919
|
-
var _b = _a, { className } = _b, props =
|
|
1919
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1920
1920
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1921
1921
|
SelectPrimitive__namespace.ScrollDownButton,
|
|
1922
|
-
|
|
1922
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({
|
|
1923
1923
|
ref,
|
|
1924
1924
|
className: cn(
|
|
1925
1925
|
"flex cursor-default items-center justify-center py-1",
|
|
@@ -1932,10 +1932,10 @@ var SelectScrollDownButton = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1932
1932
|
});
|
|
1933
1933
|
SelectScrollDownButton.displayName = SelectPrimitive__namespace.ScrollDownButton.displayName;
|
|
1934
1934
|
var SelectContent = React12__namespace.forwardRef((_a, ref) => {
|
|
1935
|
-
var _b = _a, { className, children, position = "popper" } = _b, props =
|
|
1935
|
+
var _b = _a, { className, children, position = "popper" } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className", "children", "position"]);
|
|
1936
1936
|
return /* @__PURE__ */ jsxRuntime.jsx(SelectPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1937
1937
|
SelectPrimitive__namespace.Content,
|
|
1938
|
-
|
|
1938
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({
|
|
1939
1939
|
ref,
|
|
1940
1940
|
className: cn(
|
|
1941
1941
|
"relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
@@ -1963,10 +1963,10 @@ var SelectContent = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1963
1963
|
});
|
|
1964
1964
|
SelectContent.displayName = SelectPrimitive__namespace.Content.displayName;
|
|
1965
1965
|
var SelectLabel = React12__namespace.forwardRef((_a, ref) => {
|
|
1966
|
-
var _b = _a, { className } = _b, props =
|
|
1966
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1967
1967
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1968
1968
|
SelectPrimitive__namespace.Label,
|
|
1969
|
-
|
|
1969
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
1970
1970
|
ref,
|
|
1971
1971
|
className: cn("py-1.5 pl-8 pr-2 text-sm font-semibold", className)
|
|
1972
1972
|
}, props)
|
|
@@ -1974,10 +1974,10 @@ var SelectLabel = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1974
1974
|
});
|
|
1975
1975
|
SelectLabel.displayName = SelectPrimitive__namespace.Label.displayName;
|
|
1976
1976
|
var SelectItem = React12__namespace.forwardRef((_a, ref) => {
|
|
1977
|
-
var _b = _a, { className, children } = _b, props =
|
|
1977
|
+
var _b = _a, { className, children } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className", "children"]);
|
|
1978
1978
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1979
1979
|
SelectPrimitive__namespace.Item,
|
|
1980
|
-
|
|
1980
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({
|
|
1981
1981
|
ref,
|
|
1982
1982
|
className: cn(
|
|
1983
1983
|
"relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
@@ -1993,10 +1993,10 @@ var SelectItem = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1993
1993
|
});
|
|
1994
1994
|
SelectItem.displayName = SelectPrimitive__namespace.Item.displayName;
|
|
1995
1995
|
var SelectSeparator = React12__namespace.forwardRef((_a, ref) => {
|
|
1996
|
-
var _b = _a, { className } = _b, props =
|
|
1996
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
1997
1997
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1998
1998
|
SelectPrimitive__namespace.Separator,
|
|
1999
|
-
|
|
1999
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
2000
2000
|
ref,
|
|
2001
2001
|
className: cn("-mx-1 my-1 h-px bg-muted", className)
|
|
2002
2002
|
}, props)
|
|
@@ -2004,10 +2004,10 @@ var SelectSeparator = React12__namespace.forwardRef((_a, ref) => {
|
|
|
2004
2004
|
});
|
|
2005
2005
|
SelectSeparator.displayName = SelectPrimitive__namespace.Separator.displayName;
|
|
2006
2006
|
var Toaster = (_a) => {
|
|
2007
|
-
var props =
|
|
2007
|
+
var props = chunkGVOLIMR6_cjs.__objRest(_a, []);
|
|
2008
2008
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2009
2009
|
sonner.Toaster,
|
|
2010
|
-
|
|
2010
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
2011
2011
|
className: "toaster group",
|
|
2012
2012
|
toastOptions: {
|
|
2013
2013
|
classNames: {
|
|
@@ -2021,10 +2021,10 @@ var Toaster = (_a) => {
|
|
|
2021
2021
|
);
|
|
2022
2022
|
};
|
|
2023
2023
|
var Table = React12__namespace.forwardRef((_a, ref) => {
|
|
2024
|
-
var _b = _a, { className } = _b, props =
|
|
2024
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
2025
2025
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2026
2026
|
"table",
|
|
2027
|
-
|
|
2027
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
2028
2028
|
ref,
|
|
2029
2029
|
className: cn("w-full caption-bottom text-sm", className)
|
|
2030
2030
|
}, props)
|
|
@@ -2032,15 +2032,15 @@ var Table = React12__namespace.forwardRef((_a, ref) => {
|
|
|
2032
2032
|
});
|
|
2033
2033
|
Table.displayName = "Table";
|
|
2034
2034
|
var TableHeader = React12__namespace.forwardRef((_a, ref) => {
|
|
2035
|
-
var _b = _a, { className } = _b, props =
|
|
2036
|
-
return /* @__PURE__ */ jsxRuntime.jsx("thead",
|
|
2035
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
2036
|
+
return /* @__PURE__ */ jsxRuntime.jsx("thead", chunkGVOLIMR6_cjs.__spreadValues({ ref, className: cn("[&_tr]:border-b", className) }, props));
|
|
2037
2037
|
});
|
|
2038
2038
|
TableHeader.displayName = "TableHeader";
|
|
2039
2039
|
var TableBody = React12__namespace.forwardRef((_a, ref) => {
|
|
2040
|
-
var _b = _a, { className } = _b, props =
|
|
2040
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
2041
2041
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2042
2042
|
"tbody",
|
|
2043
|
-
|
|
2043
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
2044
2044
|
ref,
|
|
2045
2045
|
className: cn("[&_tr:last-child]:border-0", className)
|
|
2046
2046
|
}, props)
|
|
@@ -2048,10 +2048,10 @@ var TableBody = React12__namespace.forwardRef((_a, ref) => {
|
|
|
2048
2048
|
});
|
|
2049
2049
|
TableBody.displayName = "TableBody";
|
|
2050
2050
|
var TableFooter = React12__namespace.forwardRef((_a, ref) => {
|
|
2051
|
-
var _b = _a, { className } = _b, props =
|
|
2051
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
2052
2052
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2053
2053
|
"tfoot",
|
|
2054
|
-
|
|
2054
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
2055
2055
|
ref,
|
|
2056
2056
|
className: cn(
|
|
2057
2057
|
"border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",
|
|
@@ -2062,10 +2062,10 @@ var TableFooter = React12__namespace.forwardRef((_a, ref) => {
|
|
|
2062
2062
|
});
|
|
2063
2063
|
TableFooter.displayName = "TableFooter";
|
|
2064
2064
|
var TableRow = React12__namespace.forwardRef((_a, ref) => {
|
|
2065
|
-
var _b = _a, { className } = _b, props =
|
|
2065
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
2066
2066
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2067
2067
|
"tr",
|
|
2068
|
-
|
|
2068
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
2069
2069
|
ref,
|
|
2070
2070
|
className: cn(
|
|
2071
2071
|
"border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
|
|
@@ -2076,10 +2076,10 @@ var TableRow = React12__namespace.forwardRef((_a, ref) => {
|
|
|
2076
2076
|
});
|
|
2077
2077
|
TableRow.displayName = "TableRow";
|
|
2078
2078
|
var TableHead = React12__namespace.forwardRef((_a, ref) => {
|
|
2079
|
-
var _b = _a, { className } = _b, props =
|
|
2079
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
2080
2080
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2081
2081
|
"th",
|
|
2082
|
-
|
|
2082
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
2083
2083
|
ref,
|
|
2084
2084
|
className: cn(
|
|
2085
2085
|
"h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",
|
|
@@ -2090,10 +2090,10 @@ var TableHead = React12__namespace.forwardRef((_a, ref) => {
|
|
|
2090
2090
|
});
|
|
2091
2091
|
TableHead.displayName = "TableHead";
|
|
2092
2092
|
var TableCell = React12__namespace.forwardRef((_a, ref) => {
|
|
2093
|
-
var _b = _a, { className } = _b, props =
|
|
2093
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
2094
2094
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2095
2095
|
"td",
|
|
2096
|
-
|
|
2096
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
2097
2097
|
ref,
|
|
2098
2098
|
className: cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className)
|
|
2099
2099
|
}, props)
|
|
@@ -2101,10 +2101,10 @@ var TableCell = React12__namespace.forwardRef((_a, ref) => {
|
|
|
2101
2101
|
});
|
|
2102
2102
|
TableCell.displayName = "TableCell";
|
|
2103
2103
|
var TableCaption = React12__namespace.forwardRef((_a, ref) => {
|
|
2104
|
-
var _b = _a, { className } = _b, props =
|
|
2104
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
2105
2105
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2106
2106
|
"caption",
|
|
2107
|
-
|
|
2107
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
2108
2108
|
ref,
|
|
2109
2109
|
className: cn("mt-4 text-sm text-muted-foreground", className)
|
|
2110
2110
|
}, props)
|
|
@@ -2112,10 +2112,10 @@ var TableCaption = React12__namespace.forwardRef((_a, ref) => {
|
|
|
2112
2112
|
});
|
|
2113
2113
|
TableCaption.displayName = "TableCaption";
|
|
2114
2114
|
var Textarea = React12__namespace.forwardRef((_a, ref) => {
|
|
2115
|
-
var _b = _a, { className } = _b, props =
|
|
2115
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
2116
2116
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2117
2117
|
"textarea",
|
|
2118
|
-
|
|
2118
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
2119
2119
|
className: cn(
|
|
2120
2120
|
"flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
2121
2121
|
className
|
|
@@ -2126,15 +2126,15 @@ var Textarea = React12__namespace.forwardRef((_a, ref) => {
|
|
|
2126
2126
|
});
|
|
2127
2127
|
Textarea.displayName = "Textarea";
|
|
2128
2128
|
var Breadcrumb = React12__namespace.forwardRef((_a, ref) => {
|
|
2129
|
-
var props =
|
|
2130
|
-
return /* @__PURE__ */ jsxRuntime.jsx("nav",
|
|
2129
|
+
var props = chunkGVOLIMR6_cjs.__objRest(_a, []);
|
|
2130
|
+
return /* @__PURE__ */ jsxRuntime.jsx("nav", chunkGVOLIMR6_cjs.__spreadValues({ ref, "aria-label": "breadcrumb" }, props));
|
|
2131
2131
|
});
|
|
2132
2132
|
Breadcrumb.displayName = "Breadcrumb";
|
|
2133
2133
|
var BreadcrumbList = React12__namespace.forwardRef((_a, ref) => {
|
|
2134
|
-
var _b = _a, { className } = _b, props =
|
|
2134
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
2135
2135
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2136
2136
|
"ol",
|
|
2137
|
-
|
|
2137
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
2138
2138
|
ref,
|
|
2139
2139
|
className: cn(
|
|
2140
2140
|
"flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",
|
|
@@ -2145,10 +2145,10 @@ var BreadcrumbList = React12__namespace.forwardRef((_a, ref) => {
|
|
|
2145
2145
|
});
|
|
2146
2146
|
BreadcrumbList.displayName = "BreadcrumbList";
|
|
2147
2147
|
var BreadcrumbItem = React12__namespace.forwardRef((_a, ref) => {
|
|
2148
|
-
var _b = _a, { className } = _b, props =
|
|
2148
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
2149
2149
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2150
2150
|
"li",
|
|
2151
|
-
|
|
2151
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
2152
2152
|
ref,
|
|
2153
2153
|
className: cn("inline-flex items-center gap-1.5", className)
|
|
2154
2154
|
}, props)
|
|
@@ -2156,11 +2156,11 @@ var BreadcrumbItem = React12__namespace.forwardRef((_a, ref) => {
|
|
|
2156
2156
|
});
|
|
2157
2157
|
BreadcrumbItem.displayName = "BreadcrumbItem";
|
|
2158
2158
|
var BreadcrumbLink = React12__namespace.forwardRef((_a, ref) => {
|
|
2159
|
-
var _b = _a, { asChild, className } = _b, props =
|
|
2159
|
+
var _b = _a, { asChild, className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["asChild", "className"]);
|
|
2160
2160
|
const Comp = asChild ? reactSlot.Slot : "a";
|
|
2161
2161
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2162
2162
|
Comp,
|
|
2163
|
-
|
|
2163
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
2164
2164
|
ref,
|
|
2165
2165
|
className: cn(
|
|
2166
2166
|
"transition-colors hover:text-foreground inline-flex items-center gap-1.5",
|
|
@@ -2171,10 +2171,10 @@ var BreadcrumbLink = React12__namespace.forwardRef((_a, ref) => {
|
|
|
2171
2171
|
});
|
|
2172
2172
|
BreadcrumbLink.displayName = "BreadcrumbLink";
|
|
2173
2173
|
var BreadcrumbPage = React12__namespace.forwardRef((_a, ref) => {
|
|
2174
|
-
var _b = _a, { className } = _b, props =
|
|
2174
|
+
var _b = _a, { className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["className"]);
|
|
2175
2175
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2176
2176
|
"span",
|
|
2177
|
-
|
|
2177
|
+
chunkGVOLIMR6_cjs.__spreadValues({
|
|
2178
2178
|
ref,
|
|
2179
2179
|
role: "link",
|
|
2180
2180
|
"aria-disabled": "true",
|
|
@@ -2188,13 +2188,13 @@ var BreadcrumbSeparator = (_a) => {
|
|
|
2188
2188
|
var _b = _a, {
|
|
2189
2189
|
children,
|
|
2190
2190
|
className
|
|
2191
|
-
} = _b, props =
|
|
2191
|
+
} = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, [
|
|
2192
2192
|
"children",
|
|
2193
2193
|
"className"
|
|
2194
2194
|
]);
|
|
2195
2195
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2196
2196
|
"li",
|
|
2197
|
-
|
|
2197
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({
|
|
2198
2198
|
role: "presentation",
|
|
2199
2199
|
"aria-hidden": "true",
|
|
2200
2200
|
className: cn("[&>svg]:w-3.5 [&>svg]:h-3.5", className)
|
|
@@ -2207,12 +2207,12 @@ BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
|
|
|
2207
2207
|
var BreadcrumbEllipsis = (_a) => {
|
|
2208
2208
|
var _b = _a, {
|
|
2209
2209
|
className
|
|
2210
|
-
} = _b, props =
|
|
2210
|
+
} = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, [
|
|
2211
2211
|
"className"
|
|
2212
2212
|
]);
|
|
2213
2213
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2214
2214
|
"span",
|
|
2215
|
-
|
|
2215
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({
|
|
2216
2216
|
role: "presentation",
|
|
2217
2217
|
"aria-hidden": "true",
|
|
2218
2218
|
className: cn("flex h-9 w-9 items-center justify-center", className)
|
|
@@ -2243,7 +2243,7 @@ function ChartContainer(_a) {
|
|
|
2243
2243
|
className,
|
|
2244
2244
|
children,
|
|
2245
2245
|
config
|
|
2246
|
-
} = _b, props =
|
|
2246
|
+
} = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, [
|
|
2247
2247
|
"id",
|
|
2248
2248
|
"className",
|
|
2249
2249
|
"children",
|
|
@@ -2253,7 +2253,7 @@ function ChartContainer(_a) {
|
|
|
2253
2253
|
const chartId = `chart-${id || uniqueId.replace(/:/g, "")}`;
|
|
2254
2254
|
return /* @__PURE__ */ jsxRuntime.jsx(ChartContext.Provider, { value: { config }, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2255
2255
|
"div",
|
|
2256
|
-
|
|
2256
|
+
chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({
|
|
2257
2257
|
"data-slot": "chart",
|
|
2258
2258
|
"data-chart": chartId,
|
|
2259
2259
|
className: cn2(
|
|
@@ -2465,6 +2465,82 @@ function getPayloadConfigFromPayload(config, payload, key) {
|
|
|
2465
2465
|
}
|
|
2466
2466
|
return configLabelKey in config ? config[configLabelKey] : config[key];
|
|
2467
2467
|
}
|
|
2468
|
+
var circleVariants = classVarianceAuthority.cva(
|
|
2469
|
+
"flex items-center justify-center rounded-full shrink-0",
|
|
2470
|
+
{
|
|
2471
|
+
variants: {
|
|
2472
|
+
status: {
|
|
2473
|
+
completed: "h-4 w-4 bg-[var(--semantic-success500)] text-white",
|
|
2474
|
+
current: "h-4 w-4 bg-[var(--colors-gray-900)]",
|
|
2475
|
+
upcoming: "h-4 w-4 border border-[var(--colors-gray-300)] bg-white"
|
|
2476
|
+
}
|
|
2477
|
+
},
|
|
2478
|
+
defaultVariants: {
|
|
2479
|
+
status: "upcoming"
|
|
2480
|
+
}
|
|
2481
|
+
}
|
|
2482
|
+
);
|
|
2483
|
+
var labelVariants2 = classVarianceAuthority.cva("body-x-small mt-1 max-w-16 text-center leading-tight", {
|
|
2484
|
+
variants: {
|
|
2485
|
+
status: {
|
|
2486
|
+
completed: "text-[var(--colors-gray-500)]",
|
|
2487
|
+
current: "font-semibold text-[var(--colors-gray-900)]",
|
|
2488
|
+
upcoming: "text-[var(--colors-gray-400)]"
|
|
2489
|
+
}
|
|
2490
|
+
},
|
|
2491
|
+
defaultVariants: {
|
|
2492
|
+
status: "upcoming"
|
|
2493
|
+
}
|
|
2494
|
+
});
|
|
2495
|
+
function ProgressStepper(_a) {
|
|
2496
|
+
var _b = _a, { steps, variant = "stepper", className } = _b, props = chunkGVOLIMR6_cjs.__objRest(_b, ["steps", "variant", "className"]);
|
|
2497
|
+
const completedCount = steps.filter((s) => s.status === "completed").length;
|
|
2498
|
+
const totalSteps = steps.length;
|
|
2499
|
+
if (variant === "compact") {
|
|
2500
|
+
const currentStep = steps.find((s) => s.status === "current");
|
|
2501
|
+
const pct = totalSteps > 0 ? Math.round(completedCount / totalSteps * 100) : 0;
|
|
2502
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({ className: cn("w-full", className) }, props), { children: [
|
|
2503
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-1 w-full rounded-full bg-[var(--colors-gray-100)]", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2504
|
+
"div",
|
|
2505
|
+
{
|
|
2506
|
+
className: "h-1 rounded-full bg-[var(--semantic-success500)] transition-all",
|
|
2507
|
+
style: { width: `${pct}%` }
|
|
2508
|
+
}
|
|
2509
|
+
) }),
|
|
2510
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-1 flex items-center justify-between", children: [
|
|
2511
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "body-x-small font-semibold text-[var(--colors-gray-900)]", children: currentStep ? currentStep.label : "Complete" }),
|
|
2512
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "body-x-small text-[var(--colors-gray-400)]", children: [
|
|
2513
|
+
completedCount,
|
|
2514
|
+
"/",
|
|
2515
|
+
totalSteps
|
|
2516
|
+
] })
|
|
2517
|
+
] })
|
|
2518
|
+
] }));
|
|
2519
|
+
}
|
|
2520
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", chunkGVOLIMR6_cjs.__spreadProps(chunkGVOLIMR6_cjs.__spreadValues({ className: cn("w-full", className) }, props), { children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex w-full items-start px-6", children: steps.map((step, index) => {
|
|
2521
|
+
const isLast = index === steps.length - 1;
|
|
2522
|
+
const isCompleted = step.status === "completed";
|
|
2523
|
+
const isCurrent = step.status === "current";
|
|
2524
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(React12__namespace.Fragment, { children: [
|
|
2525
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-4 flex-col items-center overflow-visible", children: [
|
|
2526
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(circleVariants({ status: step.status })), children: [
|
|
2527
|
+
isCompleted && /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "h-2.5 w-2.5", strokeWidth: 3 }),
|
|
2528
|
+
isCurrent && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-1.5 w-1.5 rounded-full bg-white" })
|
|
2529
|
+
] }),
|
|
2530
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: cn(labelVariants2({ status: step.status })), children: step.label })
|
|
2531
|
+
] }),
|
|
2532
|
+
!isLast && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2533
|
+
"div",
|
|
2534
|
+
{
|
|
2535
|
+
className: cn(
|
|
2536
|
+
"mt-[7px] h-[2px] flex-1 min-w-2",
|
|
2537
|
+
isCompleted ? "bg-[var(--semantic-success500)]" : isCurrent ? "border-t-[2px] border-dashed border-[var(--colors-gray-300)]" : "border-t-[2px] border-dashed border-[var(--colors-gray-200)]"
|
|
2538
|
+
)
|
|
2539
|
+
}
|
|
2540
|
+
)
|
|
2541
|
+
] }, index);
|
|
2542
|
+
}) }) }));
|
|
2543
|
+
}
|
|
2468
2544
|
var defaultNavGroups = [
|
|
2469
2545
|
{
|
|
2470
2546
|
label: "Main",
|
|
@@ -2724,7 +2800,7 @@ function OfflineSidebar({
|
|
|
2724
2800
|
|
|
2725
2801
|
Object.defineProperty(exports, "offlineDesignSystem", {
|
|
2726
2802
|
enumerable: true,
|
|
2727
|
-
get: function () { return
|
|
2803
|
+
get: function () { return chunkGVOLIMR6_cjs.offlineDesignSystem; }
|
|
2728
2804
|
});
|
|
2729
2805
|
Object.defineProperty(exports, "toast", {
|
|
2730
2806
|
enumerable: true,
|
|
@@ -2823,6 +2899,7 @@ exports.OfflineAppIcon = OfflineAppIcon;
|
|
|
2823
2899
|
exports.OfflineSidebar = OfflineSidebar;
|
|
2824
2900
|
exports.OfflineTopbar = OfflineTopbar;
|
|
2825
2901
|
exports.Progress = Progress;
|
|
2902
|
+
exports.ProgressStepper = ProgressStepper;
|
|
2826
2903
|
exports.Select = Select;
|
|
2827
2904
|
exports.SelectContent = SelectContent;
|
|
2828
2905
|
exports.SelectGroup = SelectGroup;
|