@offlinemediainc/offline-ui 0.2.0 → 0.2.2
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-BF4GSI6Q.js → chunk-4XVGVUB3.js} +12 -3
- package/dist/chunk-4XVGVUB3.js.map +1 -0
- package/dist/{chunk-XOGYSEME.cjs → chunk-TVAKDV26.cjs} +12 -3
- package/dist/chunk-TVAKDV26.cjs.map +1 -0
- package/dist/design-system/index.cjs +21 -21
- package/dist/design-system/index.d.cts +1 -1
- package/dist/design-system/index.d.ts +1 -1
- package/dist/design-system/index.js +1 -1
- package/dist/design-system.json +27 -2
- package/dist/index.cjs +355 -240
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -7
- package/dist/index.d.ts +25 -7
- package/dist/index.js +117 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-BF4GSI6Q.js.map +0 -1
- package/dist/chunk-XOGYSEME.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkTVAKDV26_cjs = require('./chunk-TVAKDV26.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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
74
74
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
75
75
|
AvatarPrimitive__namespace.Root,
|
|
76
|
-
|
|
76
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
88
88
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
89
89
|
AvatarPrimitive__namespace.Image,
|
|
90
|
-
|
|
90
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
99
99
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
100
100
|
AvatarPrimitive__namespace.Fallback,
|
|
101
|
-
|
|
101
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_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, chunkTVAKDV26_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 = chunkTVAKDV26_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
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
176
176
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
177
177
|
"div",
|
|
178
|
-
|
|
178
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
190
190
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
191
191
|
"div",
|
|
192
|
-
|
|
192
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
201
201
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
202
202
|
"div",
|
|
203
|
-
|
|
203
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
215
215
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
216
216
|
"div",
|
|
217
|
-
|
|
217
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
226
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
231
231
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
232
232
|
"div",
|
|
233
|
-
|
|
233
|
+
chunkTVAKDV26_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, chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
250
250
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
251
251
|
DialogPrimitive__namespace.Overlay,
|
|
252
|
-
|
|
252
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_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
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, [
|
|
291
291
|
"className"
|
|
292
292
|
]);
|
|
293
293
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
294
294
|
"div",
|
|
295
|
-
|
|
295
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, [
|
|
308
308
|
"className"
|
|
309
309
|
]);
|
|
310
310
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
311
311
|
"div",
|
|
312
|
-
|
|
312
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
323
323
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
324
324
|
DialogPrimitive__namespace.Title,
|
|
325
|
-
|
|
325
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
337
337
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
338
338
|
DialogPrimitive__namespace.Description,
|
|
339
|
-
|
|
339
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className", "inset", "children"]);
|
|
354
354
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
355
355
|
DropdownMenuPrimitive__namespace.SubTrigger,
|
|
356
|
-
|
|
356
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_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",
|
|
@@ -363,17 +363,17 @@ var DropdownMenuSubTrigger = React12__namespace.forwardRef((_a, ref) => {
|
|
|
363
363
|
}, props), {
|
|
364
364
|
children: [
|
|
365
365
|
children,
|
|
366
|
-
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { className: "ml-auto" })
|
|
366
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { className: "ml-auto", "aria-hidden": "true" })
|
|
367
367
|
]
|
|
368
368
|
})
|
|
369
369
|
);
|
|
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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
374
374
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
375
375
|
DropdownMenuPrimitive__namespace.SubContent,
|
|
376
|
-
|
|
376
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_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
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className", "inset"]);
|
|
403
403
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
404
404
|
DropdownMenuPrimitive__namespace.Item,
|
|
405
|
-
|
|
405
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className", "children", "checked"]);
|
|
418
418
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
419
419
|
DropdownMenuPrimitive__namespace.CheckboxItem,
|
|
420
|
-
|
|
420
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className", "children"]);
|
|
438
438
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
439
439
|
DropdownMenuPrimitive__namespace.RadioItem,
|
|
440
|
-
|
|
440
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className", "inset"]);
|
|
457
457
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
458
458
|
DropdownMenuPrimitive__namespace.Label,
|
|
459
|
-
|
|
459
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
472
472
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
473
473
|
DropdownMenuPrimitive__namespace.Separator,
|
|
474
|
-
|
|
474
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, [
|
|
485
485
|
"className"
|
|
486
486
|
]);
|
|
487
487
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
488
488
|
"span",
|
|
489
|
-
|
|
489
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className", "type"]);
|
|
498
498
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
499
499
|
"input",
|
|
500
|
-
|
|
500
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className", "orientation", "decorative"]);
|
|
515
515
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
516
516
|
SeparatorPrimitive__namespace.Root,
|
|
517
|
-
|
|
517
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
533
533
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
534
534
|
"div",
|
|
535
|
-
|
|
535
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, [
|
|
546
546
|
"className"
|
|
547
547
|
]);
|
|
548
548
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
549
549
|
Separator2,
|
|
550
|
-
|
|
550
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_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
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, [
|
|
620
620
|
"className",
|
|
621
621
|
"variant"
|
|
622
622
|
]);
|
|
623
623
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
624
624
|
"div",
|
|
625
|
-
|
|
625
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
634
634
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
635
635
|
"div",
|
|
636
|
-
|
|
636
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
647
647
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
648
648
|
"div",
|
|
649
|
-
|
|
649
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
660
660
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
661
661
|
"p",
|
|
662
|
-
|
|
662
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
674
674
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
675
675
|
"div",
|
|
676
|
-
|
|
676
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
684
684
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
685
685
|
"div",
|
|
686
|
-
|
|
686
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
697
697
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
698
698
|
"div",
|
|
699
|
-
|
|
699
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
713
713
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
714
714
|
LabelPrimitive__namespace.Root,
|
|
715
|
-
|
|
715
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
728
728
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
729
729
|
DialogPrimitive__namespace.Overlay,
|
|
730
|
-
|
|
730
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_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 = chunkTVAKDV26_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
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, [
|
|
783
783
|
"className"
|
|
784
784
|
]);
|
|
785
785
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
786
786
|
"div",
|
|
787
|
-
|
|
787
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, [
|
|
800
800
|
"className"
|
|
801
801
|
]);
|
|
802
802
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
803
803
|
"div",
|
|
804
|
-
|
|
804
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
815
815
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
816
816
|
DialogPrimitive__namespace.Title,
|
|
817
|
-
|
|
817
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
826
826
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
827
827
|
DialogPrimitive__namespace.Description,
|
|
828
|
-
|
|
828
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, [
|
|
853
853
|
"className"
|
|
854
854
|
]);
|
|
855
855
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
856
856
|
"div",
|
|
857
|
-
|
|
857
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className", "sideOffset"]);
|
|
867
867
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
868
868
|
TooltipPrimitive__namespace.Content,
|
|
869
|
-
|
|
869
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_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
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_cjs.__spreadValues({
|
|
956
|
+
style: chunkTVAKDV26_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 = chunkTVAKDV26_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
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_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, chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_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
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className", "onClick"]);
|
|
1073
1073
|
const { toggleSidebar } = useSidebar();
|
|
1074
1074
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1075
1075
|
Button,
|
|
1076
|
-
|
|
1076
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1097
1097
|
const { toggleSidebar } = useSidebar();
|
|
1098
1098
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1099
1099
|
"button",
|
|
1100
|
-
|
|
1100
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1122
1122
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1123
1123
|
"main",
|
|
1124
|
-
|
|
1124
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1137
1137
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1138
1138
|
Input,
|
|
1139
|
-
|
|
1139
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1152
1152
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1153
1153
|
"div",
|
|
1154
|
-
|
|
1154
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1164
1164
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1165
1165
|
"div",
|
|
1166
|
-
|
|
1166
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1176
1176
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1177
1177
|
Separator2,
|
|
1178
|
-
|
|
1178
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1188
1188
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1189
1189
|
"div",
|
|
1190
|
-
|
|
1190
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1203
1203
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1204
1204
|
"div",
|
|
1205
|
-
|
|
1205
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className", "asChild"]);
|
|
1215
1215
|
const Comp = asChild ? reactSlot.Slot : "div";
|
|
1216
1216
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1217
1217
|
Comp,
|
|
1218
|
-
|
|
1218
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className", "asChild"]);
|
|
1232
1232
|
const Comp = asChild ? reactSlot.Slot : "button";
|
|
1233
1233
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1234
1234
|
Comp,
|
|
1235
|
-
|
|
1235
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1251
1251
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1252
1252
|
"div",
|
|
1253
|
-
|
|
1253
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1263
1263
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1264
1264
|
"ul",
|
|
1265
|
-
|
|
1265
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1275
1275
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1276
1276
|
"li",
|
|
1277
|
-
|
|
1277
|
+
chunkTVAKDV26_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 = chunkTVAKDV26_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
|
+
chunkTVAKDV26_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
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1347
1347
|
side: "right",
|
|
1348
1348
|
align: "center",
|
|
1349
1349
|
hidden: state !== "collapsed" || isMobile
|
|
@@ -1353,12 +1353,72 @@ var SidebarMenuButton = React12__namespace.forwardRef(
|
|
|
1353
1353
|
}
|
|
1354
1354
|
);
|
|
1355
1355
|
SidebarMenuButton.displayName = "SidebarMenuButton";
|
|
1356
|
+
var SidebarMenuButtonLink = React12__namespace.forwardRef(
|
|
1357
|
+
(_a, ref) => {
|
|
1358
|
+
var _b = _a, {
|
|
1359
|
+
isActive = false,
|
|
1360
|
+
isExternal = false,
|
|
1361
|
+
showExternalIcon = true,
|
|
1362
|
+
variant = "default",
|
|
1363
|
+
size = "default",
|
|
1364
|
+
tooltip,
|
|
1365
|
+
className,
|
|
1366
|
+
children
|
|
1367
|
+
} = _b, props = chunkTVAKDV26_cjs.__objRest(_b, [
|
|
1368
|
+
"isActive",
|
|
1369
|
+
"isExternal",
|
|
1370
|
+
"showExternalIcon",
|
|
1371
|
+
"variant",
|
|
1372
|
+
"size",
|
|
1373
|
+
"tooltip",
|
|
1374
|
+
"className",
|
|
1375
|
+
"children"
|
|
1376
|
+
]);
|
|
1377
|
+
const { isMobile, state } = useSidebar();
|
|
1378
|
+
const externalProps = isExternal ? { target: "_blank", rel: "noopener noreferrer" } : {};
|
|
1379
|
+
const link = /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1380
|
+
"a",
|
|
1381
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_cjs.__spreadValues(chunkTVAKDV26_cjs.__spreadValues({
|
|
1382
|
+
ref,
|
|
1383
|
+
"data-sidebar": "menu-button",
|
|
1384
|
+
"data-size": size,
|
|
1385
|
+
"data-active": isActive,
|
|
1386
|
+
className: cn(sidebarMenuButtonVariants({ variant, size }), className)
|
|
1387
|
+
}, externalProps), props), {
|
|
1388
|
+
children: [
|
|
1389
|
+
children,
|
|
1390
|
+
isExternal && showExternalIcon && /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ExternalLink, { className: "ml-auto h-3 w-3 opacity-60", "aria-hidden": "true" })
|
|
1391
|
+
]
|
|
1392
|
+
})
|
|
1393
|
+
);
|
|
1394
|
+
if (!tooltip) {
|
|
1395
|
+
return link;
|
|
1396
|
+
}
|
|
1397
|
+
if (typeof tooltip === "string") {
|
|
1398
|
+
tooltip = {
|
|
1399
|
+
children: tooltip
|
|
1400
|
+
};
|
|
1401
|
+
}
|
|
1402
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Tooltip, { children: [
|
|
1403
|
+
/* @__PURE__ */ jsxRuntime.jsx(TooltipTrigger, { asChild: true, children: link }),
|
|
1404
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1405
|
+
TooltipContent,
|
|
1406
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1407
|
+
side: "right",
|
|
1408
|
+
align: "center",
|
|
1409
|
+
hidden: state !== "collapsed" || isMobile
|
|
1410
|
+
}, tooltip)
|
|
1411
|
+
)
|
|
1412
|
+
] });
|
|
1413
|
+
}
|
|
1414
|
+
);
|
|
1415
|
+
SidebarMenuButtonLink.displayName = "SidebarMenuButtonLink";
|
|
1356
1416
|
var SidebarMenuAction = React12__namespace.forwardRef((_a, ref) => {
|
|
1357
|
-
var _b = _a, { className, asChild = false, showOnHover = false } = _b, props =
|
|
1417
|
+
var _b = _a, { className, asChild = false, showOnHover = false } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className", "asChild", "showOnHover"]);
|
|
1358
1418
|
const Comp = asChild ? reactSlot.Slot : "button";
|
|
1359
1419
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1360
1420
|
Comp,
|
|
1361
|
-
|
|
1421
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1362
1422
|
ref,
|
|
1363
1423
|
"data-sidebar": "menu-action",
|
|
1364
1424
|
className: cn(
|
|
@@ -1377,10 +1437,10 @@ var SidebarMenuAction = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1377
1437
|
});
|
|
1378
1438
|
SidebarMenuAction.displayName = "SidebarMenuAction";
|
|
1379
1439
|
var SidebarMenuBadge = React12__namespace.forwardRef((_a, ref) => {
|
|
1380
|
-
var _b = _a, { className } = _b, props =
|
|
1440
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1381
1441
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1382
1442
|
"div",
|
|
1383
|
-
|
|
1443
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1384
1444
|
ref,
|
|
1385
1445
|
"data-sidebar": "menu-badge",
|
|
1386
1446
|
className: cn(
|
|
@@ -1397,11 +1457,11 @@ var SidebarMenuBadge = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1397
1457
|
});
|
|
1398
1458
|
SidebarMenuBadge.displayName = "SidebarMenuBadge";
|
|
1399
1459
|
var SidebarMenuSkeleton = React12__namespace.forwardRef((_a, ref) => {
|
|
1400
|
-
var _b = _a, { className, showIcon = false } = _b, props =
|
|
1460
|
+
var _b = _a, { className, showIcon = false } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className", "showIcon"]);
|
|
1401
1461
|
const width = "70%";
|
|
1402
1462
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1403
1463
|
"div",
|
|
1404
|
-
|
|
1464
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_cjs.__spreadValues({
|
|
1405
1465
|
ref,
|
|
1406
1466
|
"data-sidebar": "menu-skeleton",
|
|
1407
1467
|
className: cn("flex h-8 items-center gap-2 rounded-md px-2", className)
|
|
@@ -1430,10 +1490,10 @@ var SidebarMenuSkeleton = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1430
1490
|
});
|
|
1431
1491
|
SidebarMenuSkeleton.displayName = "SidebarMenuSkeleton";
|
|
1432
1492
|
var SidebarMenuSub = React12__namespace.forwardRef((_a, ref) => {
|
|
1433
|
-
var _b = _a, { className } = _b, props =
|
|
1493
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1434
1494
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1435
1495
|
"ul",
|
|
1436
|
-
|
|
1496
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1437
1497
|
ref,
|
|
1438
1498
|
"data-sidebar": "menu-sub",
|
|
1439
1499
|
className: cn(
|
|
@@ -1446,16 +1506,16 @@ var SidebarMenuSub = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1446
1506
|
});
|
|
1447
1507
|
SidebarMenuSub.displayName = "SidebarMenuSub";
|
|
1448
1508
|
var SidebarMenuSubItem = React12__namespace.forwardRef((_a, ref) => {
|
|
1449
|
-
var props =
|
|
1450
|
-
return /* @__PURE__ */ jsxRuntime.jsx("li",
|
|
1509
|
+
var props = chunkTVAKDV26_cjs.__objRest(_a, []);
|
|
1510
|
+
return /* @__PURE__ */ jsxRuntime.jsx("li", chunkTVAKDV26_cjs.__spreadValues({ ref }, props));
|
|
1451
1511
|
});
|
|
1452
1512
|
SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
|
|
1453
1513
|
var SidebarMenuSubButton = React12__namespace.forwardRef((_a, ref) => {
|
|
1454
|
-
var _b = _a, { asChild = false, size = "md", isActive, className } = _b, props =
|
|
1514
|
+
var _b = _a, { asChild = false, size = "md", isActive, className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["asChild", "size", "isActive", "className"]);
|
|
1455
1515
|
const Comp = asChild ? reactSlot.Slot : "a";
|
|
1456
1516
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1457
1517
|
Comp,
|
|
1458
|
-
|
|
1518
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1459
1519
|
ref,
|
|
1460
1520
|
"data-sidebar": "menu-sub-button",
|
|
1461
1521
|
"data-size": size,
|
|
@@ -1474,10 +1534,10 @@ var SidebarMenuSubButton = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1474
1534
|
SidebarMenuSubButton.displayName = "SidebarMenuSubButton";
|
|
1475
1535
|
var Tabs = TabsPrimitive__namespace.Root;
|
|
1476
1536
|
var TabsList = React12__namespace.forwardRef((_a, ref) => {
|
|
1477
|
-
var _b = _a, { className } = _b, props =
|
|
1537
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1478
1538
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1479
1539
|
TabsPrimitive__namespace.List,
|
|
1480
|
-
|
|
1540
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1481
1541
|
ref,
|
|
1482
1542
|
className: cn(
|
|
1483
1543
|
"inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",
|
|
@@ -1488,10 +1548,10 @@ var TabsList = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1488
1548
|
});
|
|
1489
1549
|
TabsList.displayName = TabsPrimitive__namespace.List.displayName;
|
|
1490
1550
|
var TabsTrigger = React12__namespace.forwardRef((_a, ref) => {
|
|
1491
|
-
var _b = _a, { className } = _b, props =
|
|
1551
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1492
1552
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1493
1553
|
TabsPrimitive__namespace.Trigger,
|
|
1494
|
-
|
|
1554
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1495
1555
|
ref,
|
|
1496
1556
|
className: cn(
|
|
1497
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",
|
|
@@ -1502,10 +1562,10 @@ var TabsTrigger = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1502
1562
|
});
|
|
1503
1563
|
TabsTrigger.displayName = TabsPrimitive__namespace.Trigger.displayName;
|
|
1504
1564
|
var TabsContent = React12__namespace.forwardRef((_a, ref) => {
|
|
1505
|
-
var _b = _a, { className } = _b, props =
|
|
1565
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1506
1566
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1507
1567
|
TabsPrimitive__namespace.Content,
|
|
1508
|
-
|
|
1568
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1509
1569
|
ref,
|
|
1510
1570
|
className: cn(
|
|
1511
1571
|
"mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
@@ -1517,10 +1577,10 @@ var TabsContent = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1517
1577
|
TabsContent.displayName = TabsPrimitive__namespace.Content.displayName;
|
|
1518
1578
|
var Accordion = AccordionPrimitive__namespace.Root;
|
|
1519
1579
|
var AccordionItem = React12__namespace.forwardRef((_a, ref) => {
|
|
1520
|
-
var _b = _a, { className } = _b, props =
|
|
1580
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1521
1581
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1522
1582
|
AccordionPrimitive__namespace.Item,
|
|
1523
|
-
|
|
1583
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1524
1584
|
ref,
|
|
1525
1585
|
className: cn("border-b", className)
|
|
1526
1586
|
}, props)
|
|
@@ -1528,10 +1588,10 @@ var AccordionItem = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1528
1588
|
});
|
|
1529
1589
|
AccordionItem.displayName = "AccordionItem";
|
|
1530
1590
|
var AccordionTrigger = React12__namespace.forwardRef((_a, ref) => {
|
|
1531
|
-
var _b = _a, { className, children } = _b, props =
|
|
1591
|
+
var _b = _a, { className, children } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className", "children"]);
|
|
1532
1592
|
return /* @__PURE__ */ jsxRuntime.jsx(AccordionPrimitive__namespace.Header, { className: "flex", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1533
1593
|
AccordionPrimitive__namespace.Trigger,
|
|
1534
|
-
|
|
1594
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_cjs.__spreadValues({
|
|
1535
1595
|
ref,
|
|
1536
1596
|
className: cn(
|
|
1537
1597
|
"flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",
|
|
@@ -1547,10 +1607,10 @@ var AccordionTrigger = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1547
1607
|
});
|
|
1548
1608
|
AccordionTrigger.displayName = AccordionPrimitive__namespace.Trigger.displayName;
|
|
1549
1609
|
var AccordionContent = React12__namespace.forwardRef((_a, ref) => {
|
|
1550
|
-
var _b = _a, { className, children } = _b, props =
|
|
1610
|
+
var _b = _a, { className, children } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className", "children"]);
|
|
1551
1611
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1552
1612
|
AccordionPrimitive__namespace.Content,
|
|
1553
|
-
|
|
1613
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_cjs.__spreadValues({
|
|
1554
1614
|
ref,
|
|
1555
1615
|
className: "overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down"
|
|
1556
1616
|
}, props), {
|
|
@@ -1559,14 +1619,64 @@ var AccordionContent = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1559
1619
|
);
|
|
1560
1620
|
});
|
|
1561
1621
|
AccordionContent.displayName = AccordionPrimitive__namespace.Content.displayName;
|
|
1622
|
+
var alertVariants = classVarianceAuthority.cva(
|
|
1623
|
+
"relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",
|
|
1624
|
+
{
|
|
1625
|
+
variants: {
|
|
1626
|
+
variant: {
|
|
1627
|
+
default: "bg-background text-foreground",
|
|
1628
|
+
destructive: "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive",
|
|
1629
|
+
warning: "border-[var(--colors-yellow-400)]/50 bg-[var(--colors-yellow-50)] text-[var(--colors-yellow-800)] [&>svg]:text-[var(--colors-yellow-600)]",
|
|
1630
|
+
success: "border-[var(--semantic-success500)]/50 bg-green-50 text-green-800 [&>svg]:text-[var(--semantic-success500)]"
|
|
1631
|
+
}
|
|
1632
|
+
},
|
|
1633
|
+
defaultVariants: {
|
|
1634
|
+
variant: "default"
|
|
1635
|
+
}
|
|
1636
|
+
}
|
|
1637
|
+
);
|
|
1638
|
+
var Alert = React12__namespace.forwardRef((_a, ref) => {
|
|
1639
|
+
var _b = _a, { className, variant } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className", "variant"]);
|
|
1640
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1641
|
+
"div",
|
|
1642
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1643
|
+
ref,
|
|
1644
|
+
role: "alert",
|
|
1645
|
+
className: cn(alertVariants({ variant }), className)
|
|
1646
|
+
}, props)
|
|
1647
|
+
);
|
|
1648
|
+
});
|
|
1649
|
+
Alert.displayName = "Alert";
|
|
1650
|
+
var AlertTitle = React12__namespace.forwardRef((_a, ref) => {
|
|
1651
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1652
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1653
|
+
"h5",
|
|
1654
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1655
|
+
ref,
|
|
1656
|
+
className: cn("mb-1 font-medium leading-none tracking-tight", className)
|
|
1657
|
+
}, props)
|
|
1658
|
+
);
|
|
1659
|
+
});
|
|
1660
|
+
AlertTitle.displayName = "AlertTitle";
|
|
1661
|
+
var AlertDescription = React12__namespace.forwardRef((_a, ref) => {
|
|
1662
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1663
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1664
|
+
"div",
|
|
1665
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1666
|
+
ref,
|
|
1667
|
+
className: cn("text-sm [&_p]:leading-relaxed", className)
|
|
1668
|
+
}, props)
|
|
1669
|
+
);
|
|
1670
|
+
});
|
|
1671
|
+
AlertDescription.displayName = "AlertDescription";
|
|
1562
1672
|
var AlertDialog = AlertDialogPrimitive__namespace.Root;
|
|
1563
1673
|
var AlertDialogTrigger = AlertDialogPrimitive__namespace.Trigger;
|
|
1564
1674
|
var AlertDialogPortal = AlertDialogPrimitive__namespace.Portal;
|
|
1565
1675
|
var AlertDialogOverlay = React12__namespace.forwardRef((_a, ref) => {
|
|
1566
|
-
var _b = _a, { className } = _b, props =
|
|
1676
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1567
1677
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1568
1678
|
AlertDialogPrimitive__namespace.Overlay,
|
|
1569
|
-
|
|
1679
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_cjs.__spreadValues({
|
|
1570
1680
|
className: cn(
|
|
1571
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",
|
|
1572
1682
|
className
|
|
@@ -1578,12 +1688,12 @@ var AlertDialogOverlay = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1578
1688
|
});
|
|
1579
1689
|
AlertDialogOverlay.displayName = AlertDialogPrimitive__namespace.Overlay.displayName;
|
|
1580
1690
|
var AlertDialogContent = React12__namespace.forwardRef((_a, ref) => {
|
|
1581
|
-
var _b = _a, { className } = _b, props =
|
|
1691
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1582
1692
|
return /* @__PURE__ */ jsxRuntime.jsxs(AlertDialogPortal, { children: [
|
|
1583
1693
|
/* @__PURE__ */ jsxRuntime.jsx(AlertDialogOverlay, {}),
|
|
1584
1694
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1585
1695
|
AlertDialogPrimitive__namespace.Content,
|
|
1586
|
-
|
|
1696
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1587
1697
|
ref,
|
|
1588
1698
|
className: cn(
|
|
1589
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",
|
|
@@ -1597,12 +1707,12 @@ AlertDialogContent.displayName = AlertDialogPrimitive__namespace.Content.display
|
|
|
1597
1707
|
var AlertDialogHeader = (_a) => {
|
|
1598
1708
|
var _b = _a, {
|
|
1599
1709
|
className
|
|
1600
|
-
} = _b, props =
|
|
1710
|
+
} = _b, props = chunkTVAKDV26_cjs.__objRest(_b, [
|
|
1601
1711
|
"className"
|
|
1602
1712
|
]);
|
|
1603
1713
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1604
1714
|
"div",
|
|
1605
|
-
|
|
1715
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1606
1716
|
className: cn(
|
|
1607
1717
|
"flex flex-col space-y-2 text-center sm:text-left",
|
|
1608
1718
|
className
|
|
@@ -1614,12 +1724,12 @@ AlertDialogHeader.displayName = "AlertDialogHeader";
|
|
|
1614
1724
|
var AlertDialogFooter = (_a) => {
|
|
1615
1725
|
var _b = _a, {
|
|
1616
1726
|
className
|
|
1617
|
-
} = _b, props =
|
|
1727
|
+
} = _b, props = chunkTVAKDV26_cjs.__objRest(_b, [
|
|
1618
1728
|
"className"
|
|
1619
1729
|
]);
|
|
1620
1730
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1621
1731
|
"div",
|
|
1622
|
-
|
|
1732
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1623
1733
|
className: cn(
|
|
1624
1734
|
"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
|
|
1625
1735
|
className
|
|
@@ -1629,10 +1739,10 @@ var AlertDialogFooter = (_a) => {
|
|
|
1629
1739
|
};
|
|
1630
1740
|
AlertDialogFooter.displayName = "AlertDialogFooter";
|
|
1631
1741
|
var AlertDialogTitle = React12__namespace.forwardRef((_a, ref) => {
|
|
1632
|
-
var _b = _a, { className } = _b, props =
|
|
1742
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1633
1743
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1634
1744
|
AlertDialogPrimitive__namespace.Title,
|
|
1635
|
-
|
|
1745
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1636
1746
|
ref,
|
|
1637
1747
|
className: cn("text-lg font-semibold", className)
|
|
1638
1748
|
}, props)
|
|
@@ -1640,10 +1750,10 @@ var AlertDialogTitle = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1640
1750
|
});
|
|
1641
1751
|
AlertDialogTitle.displayName = AlertDialogPrimitive__namespace.Title.displayName;
|
|
1642
1752
|
var AlertDialogDescription = React12__namespace.forwardRef((_a, ref) => {
|
|
1643
|
-
var _b = _a, { className } = _b, props =
|
|
1753
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1644
1754
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1645
1755
|
AlertDialogPrimitive__namespace.Description,
|
|
1646
|
-
|
|
1756
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1647
1757
|
ref,
|
|
1648
1758
|
className: cn("text-sm text-muted-foreground", className)
|
|
1649
1759
|
}, props)
|
|
@@ -1651,10 +1761,10 @@ var AlertDialogDescription = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1651
1761
|
});
|
|
1652
1762
|
AlertDialogDescription.displayName = AlertDialogPrimitive__namespace.Description.displayName;
|
|
1653
1763
|
var AlertDialogAction = React12__namespace.forwardRef((_a, ref) => {
|
|
1654
|
-
var _b = _a, { className } = _b, props =
|
|
1764
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1655
1765
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1656
1766
|
AlertDialogPrimitive__namespace.Action,
|
|
1657
|
-
|
|
1767
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1658
1768
|
ref,
|
|
1659
1769
|
className: cn(buttonVariants(), className)
|
|
1660
1770
|
}, props)
|
|
@@ -1662,10 +1772,10 @@ var AlertDialogAction = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1662
1772
|
});
|
|
1663
1773
|
AlertDialogAction.displayName = AlertDialogPrimitive__namespace.Action.displayName;
|
|
1664
1774
|
var AlertDialogCancel = React12__namespace.forwardRef((_a, ref) => {
|
|
1665
|
-
var _b = _a, { className } = _b, props =
|
|
1775
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1666
1776
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1667
1777
|
AlertDialogPrimitive__namespace.Cancel,
|
|
1668
|
-
|
|
1778
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1669
1779
|
ref,
|
|
1670
1780
|
className: cn(
|
|
1671
1781
|
buttonVariants({ variant: "outline" }),
|
|
@@ -1677,10 +1787,10 @@ var AlertDialogCancel = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1677
1787
|
});
|
|
1678
1788
|
AlertDialogCancel.displayName = AlertDialogPrimitive__namespace.Cancel.displayName;
|
|
1679
1789
|
var Checkbox = React12__namespace.forwardRef((_a, ref) => {
|
|
1680
|
-
var _b = _a, { className } = _b, props =
|
|
1790
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1681
1791
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1682
1792
|
CheckboxPrimitive__namespace.Root,
|
|
1683
|
-
|
|
1793
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_cjs.__spreadValues({
|
|
1684
1794
|
ref,
|
|
1685
1795
|
className: cn(
|
|
1686
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",
|
|
@@ -1699,10 +1809,10 @@ var Checkbox = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1699
1809
|
});
|
|
1700
1810
|
Checkbox.displayName = CheckboxPrimitive__namespace.Root.displayName;
|
|
1701
1811
|
var InputOTP = React12__namespace.forwardRef((_a, ref) => {
|
|
1702
|
-
var _b = _a, { className, containerClassName } = _b, props =
|
|
1812
|
+
var _b = _a, { className, containerClassName } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className", "containerClassName"]);
|
|
1703
1813
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1704
1814
|
inputOtp.OTPInput,
|
|
1705
|
-
|
|
1815
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1706
1816
|
ref,
|
|
1707
1817
|
containerClassName: cn(
|
|
1708
1818
|
"flex items-center gap-2 has-[:disabled]:opacity-50",
|
|
@@ -1714,17 +1824,17 @@ var InputOTP = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1714
1824
|
});
|
|
1715
1825
|
InputOTP.displayName = "InputOTP";
|
|
1716
1826
|
var InputOTPGroup = React12__namespace.forwardRef((_a, ref) => {
|
|
1717
|
-
var _b = _a, { className } = _b, props =
|
|
1718
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div",
|
|
1827
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1828
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", chunkTVAKDV26_cjs.__spreadValues({ ref, className: cn("flex items-center", className) }, props));
|
|
1719
1829
|
});
|
|
1720
1830
|
InputOTPGroup.displayName = "InputOTPGroup";
|
|
1721
1831
|
var InputOTPSlot = React12__namespace.forwardRef((_a, ref) => {
|
|
1722
|
-
var _b = _a, { index, className } = _b, props =
|
|
1832
|
+
var _b = _a, { index, className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["index", "className"]);
|
|
1723
1833
|
const inputOTPContext = React12__namespace.useContext(inputOtp.OTPInputContext);
|
|
1724
1834
|
const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
|
|
1725
1835
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1726
1836
|
"div",
|
|
1727
|
-
|
|
1837
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_cjs.__spreadValues({
|
|
1728
1838
|
ref,
|
|
1729
1839
|
className: cn(
|
|
1730
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",
|
|
@@ -1741,15 +1851,15 @@ var InputOTPSlot = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1741
1851
|
});
|
|
1742
1852
|
InputOTPSlot.displayName = "InputOTPSlot";
|
|
1743
1853
|
var InputOTPSeparator = React12__namespace.forwardRef((_a, ref) => {
|
|
1744
|
-
var props =
|
|
1745
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div",
|
|
1854
|
+
var props = chunkTVAKDV26_cjs.__objRest(_a, []);
|
|
1855
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_cjs.__spreadValues({ ref, role: "separator" }, props), { children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Dot, {}) }));
|
|
1746
1856
|
});
|
|
1747
1857
|
InputOTPSeparator.displayName = "InputOTPSeparator";
|
|
1748
1858
|
var Progress = React12__namespace.forwardRef((_a, ref) => {
|
|
1749
|
-
var _b = _a, { className, value } = _b, props =
|
|
1859
|
+
var _b = _a, { className, value } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className", "value"]);
|
|
1750
1860
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1751
1861
|
ProgressPrimitive__namespace.Root,
|
|
1752
|
-
|
|
1862
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_cjs.__spreadValues({
|
|
1753
1863
|
ref,
|
|
1754
1864
|
className: cn(
|
|
1755
1865
|
"relative h-4 w-full overflow-hidden rounded-full bg-secondary",
|
|
@@ -1771,10 +1881,10 @@ var Select = SelectPrimitive__namespace.Root;
|
|
|
1771
1881
|
var SelectGroup = SelectPrimitive__namespace.Group;
|
|
1772
1882
|
var SelectValue = SelectPrimitive__namespace.Value;
|
|
1773
1883
|
var SelectTrigger = React12__namespace.forwardRef((_a, ref) => {
|
|
1774
|
-
var _b = _a, { className, children } = _b, props =
|
|
1884
|
+
var _b = _a, { className, children } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className", "children"]);
|
|
1775
1885
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1776
1886
|
SelectPrimitive__namespace.Trigger,
|
|
1777
|
-
|
|
1887
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_cjs.__spreadValues({
|
|
1778
1888
|
ref,
|
|
1779
1889
|
className: cn(
|
|
1780
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",
|
|
@@ -1790,10 +1900,10 @@ var SelectTrigger = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1790
1900
|
});
|
|
1791
1901
|
SelectTrigger.displayName = SelectPrimitive__namespace.Trigger.displayName;
|
|
1792
1902
|
var SelectScrollUpButton = React12__namespace.forwardRef((_a, ref) => {
|
|
1793
|
-
var _b = _a, { className } = _b, props =
|
|
1903
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1794
1904
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1795
1905
|
SelectPrimitive__namespace.ScrollUpButton,
|
|
1796
|
-
|
|
1906
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_cjs.__spreadValues({
|
|
1797
1907
|
ref,
|
|
1798
1908
|
className: cn(
|
|
1799
1909
|
"flex cursor-default items-center justify-center py-1",
|
|
@@ -1806,10 +1916,10 @@ var SelectScrollUpButton = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1806
1916
|
});
|
|
1807
1917
|
SelectScrollUpButton.displayName = SelectPrimitive__namespace.ScrollUpButton.displayName;
|
|
1808
1918
|
var SelectScrollDownButton = React12__namespace.forwardRef((_a, ref) => {
|
|
1809
|
-
var _b = _a, { className } = _b, props =
|
|
1919
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1810
1920
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1811
1921
|
SelectPrimitive__namespace.ScrollDownButton,
|
|
1812
|
-
|
|
1922
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_cjs.__spreadValues({
|
|
1813
1923
|
ref,
|
|
1814
1924
|
className: cn(
|
|
1815
1925
|
"flex cursor-default items-center justify-center py-1",
|
|
@@ -1822,10 +1932,10 @@ var SelectScrollDownButton = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1822
1932
|
});
|
|
1823
1933
|
SelectScrollDownButton.displayName = SelectPrimitive__namespace.ScrollDownButton.displayName;
|
|
1824
1934
|
var SelectContent = React12__namespace.forwardRef((_a, ref) => {
|
|
1825
|
-
var _b = _a, { className, children, position = "popper" } = _b, props =
|
|
1935
|
+
var _b = _a, { className, children, position = "popper" } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className", "children", "position"]);
|
|
1826
1936
|
return /* @__PURE__ */ jsxRuntime.jsx(SelectPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1827
1937
|
SelectPrimitive__namespace.Content,
|
|
1828
|
-
|
|
1938
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_cjs.__spreadValues({
|
|
1829
1939
|
ref,
|
|
1830
1940
|
className: cn(
|
|
1831
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",
|
|
@@ -1853,10 +1963,10 @@ var SelectContent = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1853
1963
|
});
|
|
1854
1964
|
SelectContent.displayName = SelectPrimitive__namespace.Content.displayName;
|
|
1855
1965
|
var SelectLabel = React12__namespace.forwardRef((_a, ref) => {
|
|
1856
|
-
var _b = _a, { className } = _b, props =
|
|
1966
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1857
1967
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1858
1968
|
SelectPrimitive__namespace.Label,
|
|
1859
|
-
|
|
1969
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1860
1970
|
ref,
|
|
1861
1971
|
className: cn("py-1.5 pl-8 pr-2 text-sm font-semibold", className)
|
|
1862
1972
|
}, props)
|
|
@@ -1864,10 +1974,10 @@ var SelectLabel = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1864
1974
|
});
|
|
1865
1975
|
SelectLabel.displayName = SelectPrimitive__namespace.Label.displayName;
|
|
1866
1976
|
var SelectItem = React12__namespace.forwardRef((_a, ref) => {
|
|
1867
|
-
var _b = _a, { className, children } = _b, props =
|
|
1977
|
+
var _b = _a, { className, children } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className", "children"]);
|
|
1868
1978
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1869
1979
|
SelectPrimitive__namespace.Item,
|
|
1870
|
-
|
|
1980
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_cjs.__spreadValues({
|
|
1871
1981
|
ref,
|
|
1872
1982
|
className: cn(
|
|
1873
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",
|
|
@@ -1883,10 +1993,10 @@ var SelectItem = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1883
1993
|
});
|
|
1884
1994
|
SelectItem.displayName = SelectPrimitive__namespace.Item.displayName;
|
|
1885
1995
|
var SelectSeparator = React12__namespace.forwardRef((_a, ref) => {
|
|
1886
|
-
var _b = _a, { className } = _b, props =
|
|
1996
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1887
1997
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1888
1998
|
SelectPrimitive__namespace.Separator,
|
|
1889
|
-
|
|
1999
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1890
2000
|
ref,
|
|
1891
2001
|
className: cn("-mx-1 my-1 h-px bg-muted", className)
|
|
1892
2002
|
}, props)
|
|
@@ -1894,10 +2004,10 @@ var SelectSeparator = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1894
2004
|
});
|
|
1895
2005
|
SelectSeparator.displayName = SelectPrimitive__namespace.Separator.displayName;
|
|
1896
2006
|
var Toaster = (_a) => {
|
|
1897
|
-
var props =
|
|
2007
|
+
var props = chunkTVAKDV26_cjs.__objRest(_a, []);
|
|
1898
2008
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1899
2009
|
sonner.Toaster,
|
|
1900
|
-
|
|
2010
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1901
2011
|
className: "toaster group",
|
|
1902
2012
|
toastOptions: {
|
|
1903
2013
|
classNames: {
|
|
@@ -1911,10 +2021,10 @@ var Toaster = (_a) => {
|
|
|
1911
2021
|
);
|
|
1912
2022
|
};
|
|
1913
2023
|
var Table = React12__namespace.forwardRef((_a, ref) => {
|
|
1914
|
-
var _b = _a, { className } = _b, props =
|
|
2024
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1915
2025
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1916
2026
|
"table",
|
|
1917
|
-
|
|
2027
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1918
2028
|
ref,
|
|
1919
2029
|
className: cn("w-full caption-bottom text-sm", className)
|
|
1920
2030
|
}, props)
|
|
@@ -1922,15 +2032,15 @@ var Table = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1922
2032
|
});
|
|
1923
2033
|
Table.displayName = "Table";
|
|
1924
2034
|
var TableHeader = React12__namespace.forwardRef((_a, ref) => {
|
|
1925
|
-
var _b = _a, { className } = _b, props =
|
|
1926
|
-
return /* @__PURE__ */ jsxRuntime.jsx("thead",
|
|
2035
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
2036
|
+
return /* @__PURE__ */ jsxRuntime.jsx("thead", chunkTVAKDV26_cjs.__spreadValues({ ref, className: cn("[&_tr]:border-b", className) }, props));
|
|
1927
2037
|
});
|
|
1928
2038
|
TableHeader.displayName = "TableHeader";
|
|
1929
2039
|
var TableBody = React12__namespace.forwardRef((_a, ref) => {
|
|
1930
|
-
var _b = _a, { className } = _b, props =
|
|
2040
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1931
2041
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1932
2042
|
"tbody",
|
|
1933
|
-
|
|
2043
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1934
2044
|
ref,
|
|
1935
2045
|
className: cn("[&_tr:last-child]:border-0", className)
|
|
1936
2046
|
}, props)
|
|
@@ -1938,10 +2048,10 @@ var TableBody = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1938
2048
|
});
|
|
1939
2049
|
TableBody.displayName = "TableBody";
|
|
1940
2050
|
var TableFooter = React12__namespace.forwardRef((_a, ref) => {
|
|
1941
|
-
var _b = _a, { className } = _b, props =
|
|
2051
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1942
2052
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1943
2053
|
"tfoot",
|
|
1944
|
-
|
|
2054
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1945
2055
|
ref,
|
|
1946
2056
|
className: cn(
|
|
1947
2057
|
"border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",
|
|
@@ -1952,10 +2062,10 @@ var TableFooter = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1952
2062
|
});
|
|
1953
2063
|
TableFooter.displayName = "TableFooter";
|
|
1954
2064
|
var TableRow = React12__namespace.forwardRef((_a, ref) => {
|
|
1955
|
-
var _b = _a, { className } = _b, props =
|
|
2065
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1956
2066
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1957
2067
|
"tr",
|
|
1958
|
-
|
|
2068
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1959
2069
|
ref,
|
|
1960
2070
|
className: cn(
|
|
1961
2071
|
"border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
|
|
@@ -1966,10 +2076,10 @@ var TableRow = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1966
2076
|
});
|
|
1967
2077
|
TableRow.displayName = "TableRow";
|
|
1968
2078
|
var TableHead = React12__namespace.forwardRef((_a, ref) => {
|
|
1969
|
-
var _b = _a, { className } = _b, props =
|
|
2079
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1970
2080
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1971
2081
|
"th",
|
|
1972
|
-
|
|
2082
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1973
2083
|
ref,
|
|
1974
2084
|
className: cn(
|
|
1975
2085
|
"h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",
|
|
@@ -1980,10 +2090,10 @@ var TableHead = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1980
2090
|
});
|
|
1981
2091
|
TableHead.displayName = "TableHead";
|
|
1982
2092
|
var TableCell = React12__namespace.forwardRef((_a, ref) => {
|
|
1983
|
-
var _b = _a, { className } = _b, props =
|
|
2093
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1984
2094
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1985
2095
|
"td",
|
|
1986
|
-
|
|
2096
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1987
2097
|
ref,
|
|
1988
2098
|
className: cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className)
|
|
1989
2099
|
}, props)
|
|
@@ -1991,10 +2101,10 @@ var TableCell = React12__namespace.forwardRef((_a, ref) => {
|
|
|
1991
2101
|
});
|
|
1992
2102
|
TableCell.displayName = "TableCell";
|
|
1993
2103
|
var TableCaption = React12__namespace.forwardRef((_a, ref) => {
|
|
1994
|
-
var _b = _a, { className } = _b, props =
|
|
2104
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
1995
2105
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1996
2106
|
"caption",
|
|
1997
|
-
|
|
2107
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
1998
2108
|
ref,
|
|
1999
2109
|
className: cn("mt-4 text-sm text-muted-foreground", className)
|
|
2000
2110
|
}, props)
|
|
@@ -2002,10 +2112,10 @@ var TableCaption = React12__namespace.forwardRef((_a, ref) => {
|
|
|
2002
2112
|
});
|
|
2003
2113
|
TableCaption.displayName = "TableCaption";
|
|
2004
2114
|
var Textarea = React12__namespace.forwardRef((_a, ref) => {
|
|
2005
|
-
var _b = _a, { className } = _b, props =
|
|
2115
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
2006
2116
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2007
2117
|
"textarea",
|
|
2008
|
-
|
|
2118
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
2009
2119
|
className: cn(
|
|
2010
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",
|
|
2011
2121
|
className
|
|
@@ -2016,15 +2126,15 @@ var Textarea = React12__namespace.forwardRef((_a, ref) => {
|
|
|
2016
2126
|
});
|
|
2017
2127
|
Textarea.displayName = "Textarea";
|
|
2018
2128
|
var Breadcrumb = React12__namespace.forwardRef((_a, ref) => {
|
|
2019
|
-
var props =
|
|
2020
|
-
return /* @__PURE__ */ jsxRuntime.jsx("nav",
|
|
2129
|
+
var props = chunkTVAKDV26_cjs.__objRest(_a, []);
|
|
2130
|
+
return /* @__PURE__ */ jsxRuntime.jsx("nav", chunkTVAKDV26_cjs.__spreadValues({ ref, "aria-label": "breadcrumb" }, props));
|
|
2021
2131
|
});
|
|
2022
2132
|
Breadcrumb.displayName = "Breadcrumb";
|
|
2023
2133
|
var BreadcrumbList = React12__namespace.forwardRef((_a, ref) => {
|
|
2024
|
-
var _b = _a, { className } = _b, props =
|
|
2134
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
2025
2135
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2026
2136
|
"ol",
|
|
2027
|
-
|
|
2137
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
2028
2138
|
ref,
|
|
2029
2139
|
className: cn(
|
|
2030
2140
|
"flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",
|
|
@@ -2035,10 +2145,10 @@ var BreadcrumbList = React12__namespace.forwardRef((_a, ref) => {
|
|
|
2035
2145
|
});
|
|
2036
2146
|
BreadcrumbList.displayName = "BreadcrumbList";
|
|
2037
2147
|
var BreadcrumbItem = React12__namespace.forwardRef((_a, ref) => {
|
|
2038
|
-
var _b = _a, { className } = _b, props =
|
|
2148
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
2039
2149
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2040
2150
|
"li",
|
|
2041
|
-
|
|
2151
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
2042
2152
|
ref,
|
|
2043
2153
|
className: cn("inline-flex items-center gap-1.5", className)
|
|
2044
2154
|
}, props)
|
|
@@ -2046,11 +2156,11 @@ var BreadcrumbItem = React12__namespace.forwardRef((_a, ref) => {
|
|
|
2046
2156
|
});
|
|
2047
2157
|
BreadcrumbItem.displayName = "BreadcrumbItem";
|
|
2048
2158
|
var BreadcrumbLink = React12__namespace.forwardRef((_a, ref) => {
|
|
2049
|
-
var _b = _a, { asChild, className } = _b, props =
|
|
2159
|
+
var _b = _a, { asChild, className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["asChild", "className"]);
|
|
2050
2160
|
const Comp = asChild ? reactSlot.Slot : "a";
|
|
2051
2161
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2052
2162
|
Comp,
|
|
2053
|
-
|
|
2163
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
2054
2164
|
ref,
|
|
2055
2165
|
className: cn(
|
|
2056
2166
|
"transition-colors hover:text-foreground inline-flex items-center gap-1.5",
|
|
@@ -2061,10 +2171,10 @@ var BreadcrumbLink = React12__namespace.forwardRef((_a, ref) => {
|
|
|
2061
2171
|
});
|
|
2062
2172
|
BreadcrumbLink.displayName = "BreadcrumbLink";
|
|
2063
2173
|
var BreadcrumbPage = React12__namespace.forwardRef((_a, ref) => {
|
|
2064
|
-
var _b = _a, { className } = _b, props =
|
|
2174
|
+
var _b = _a, { className } = _b, props = chunkTVAKDV26_cjs.__objRest(_b, ["className"]);
|
|
2065
2175
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2066
2176
|
"span",
|
|
2067
|
-
|
|
2177
|
+
chunkTVAKDV26_cjs.__spreadValues({
|
|
2068
2178
|
ref,
|
|
2069
2179
|
role: "link",
|
|
2070
2180
|
"aria-disabled": "true",
|
|
@@ -2078,18 +2188,18 @@ var BreadcrumbSeparator = (_a) => {
|
|
|
2078
2188
|
var _b = _a, {
|
|
2079
2189
|
children,
|
|
2080
2190
|
className
|
|
2081
|
-
} = _b, props =
|
|
2191
|
+
} = _b, props = chunkTVAKDV26_cjs.__objRest(_b, [
|
|
2082
2192
|
"children",
|
|
2083
2193
|
"className"
|
|
2084
2194
|
]);
|
|
2085
2195
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2086
2196
|
"li",
|
|
2087
|
-
|
|
2197
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_cjs.__spreadValues({
|
|
2088
2198
|
role: "presentation",
|
|
2089
2199
|
"aria-hidden": "true",
|
|
2090
2200
|
className: cn("[&>svg]:w-3.5 [&>svg]:h-3.5", className)
|
|
2091
2201
|
}, props), {
|
|
2092
|
-
children: children != null ? children : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, {})
|
|
2202
|
+
children: children != null ? children : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { "aria-hidden": "true" })
|
|
2093
2203
|
})
|
|
2094
2204
|
);
|
|
2095
2205
|
};
|
|
@@ -2097,18 +2207,18 @@ BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
|
|
|
2097
2207
|
var BreadcrumbEllipsis = (_a) => {
|
|
2098
2208
|
var _b = _a, {
|
|
2099
2209
|
className
|
|
2100
|
-
} = _b, props =
|
|
2210
|
+
} = _b, props = chunkTVAKDV26_cjs.__objRest(_b, [
|
|
2101
2211
|
"className"
|
|
2102
2212
|
]);
|
|
2103
2213
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2104
2214
|
"span",
|
|
2105
|
-
|
|
2215
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_cjs.__spreadValues({
|
|
2106
2216
|
role: "presentation",
|
|
2107
2217
|
"aria-hidden": "true",
|
|
2108
2218
|
className: cn("flex h-9 w-9 items-center justify-center", className)
|
|
2109
2219
|
}, props), {
|
|
2110
2220
|
children: [
|
|
2111
|
-
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.MoreHorizontal, { className: "h-4 w-4" }),
|
|
2221
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.MoreHorizontal, { className: "h-4 w-4", "aria-hidden": "true" }),
|
|
2112
2222
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "More" })
|
|
2113
2223
|
]
|
|
2114
2224
|
})
|
|
@@ -2133,7 +2243,7 @@ function ChartContainer(_a) {
|
|
|
2133
2243
|
className,
|
|
2134
2244
|
children,
|
|
2135
2245
|
config
|
|
2136
|
-
} = _b, props =
|
|
2246
|
+
} = _b, props = chunkTVAKDV26_cjs.__objRest(_b, [
|
|
2137
2247
|
"id",
|
|
2138
2248
|
"className",
|
|
2139
2249
|
"children",
|
|
@@ -2143,7 +2253,7 @@ function ChartContainer(_a) {
|
|
|
2143
2253
|
const chartId = `chart-${id || uniqueId.replace(/:/g, "")}`;
|
|
2144
2254
|
return /* @__PURE__ */ jsxRuntime.jsx(ChartContext.Provider, { value: { config }, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2145
2255
|
"div",
|
|
2146
|
-
|
|
2256
|
+
chunkTVAKDV26_cjs.__spreadProps(chunkTVAKDV26_cjs.__spreadValues({
|
|
2147
2257
|
"data-slot": "chart",
|
|
2148
2258
|
"data-chart": chartId,
|
|
2149
2259
|
className: cn2(
|
|
@@ -2614,7 +2724,7 @@ function OfflineSidebar({
|
|
|
2614
2724
|
|
|
2615
2725
|
Object.defineProperty(exports, "offlineDesignSystem", {
|
|
2616
2726
|
enumerable: true,
|
|
2617
|
-
get: function () { return
|
|
2727
|
+
get: function () { return chunkTVAKDV26_cjs.offlineDesignSystem; }
|
|
2618
2728
|
});
|
|
2619
2729
|
Object.defineProperty(exports, "toast", {
|
|
2620
2730
|
enumerable: true,
|
|
@@ -2624,6 +2734,8 @@ exports.Accordion = Accordion;
|
|
|
2624
2734
|
exports.AccordionContent = AccordionContent;
|
|
2625
2735
|
exports.AccordionItem = AccordionItem;
|
|
2626
2736
|
exports.AccordionTrigger = AccordionTrigger;
|
|
2737
|
+
exports.Alert = Alert;
|
|
2738
|
+
exports.AlertDescription = AlertDescription;
|
|
2627
2739
|
exports.AlertDialog = AlertDialog;
|
|
2628
2740
|
exports.AlertDialogAction = AlertDialogAction;
|
|
2629
2741
|
exports.AlertDialogCancel = AlertDialogCancel;
|
|
@@ -2635,6 +2747,7 @@ exports.AlertDialogOverlay = AlertDialogOverlay;
|
|
|
2635
2747
|
exports.AlertDialogPortal = AlertDialogPortal;
|
|
2636
2748
|
exports.AlertDialogTitle = AlertDialogTitle;
|
|
2637
2749
|
exports.AlertDialogTrigger = AlertDialogTrigger;
|
|
2750
|
+
exports.AlertTitle = AlertTitle;
|
|
2638
2751
|
exports.Avatar = Avatar;
|
|
2639
2752
|
exports.AvatarFallback = AvatarFallback;
|
|
2640
2753
|
exports.AvatarImage = AvatarImage;
|
|
@@ -2745,6 +2858,7 @@ exports.SidebarMenu = SidebarMenu;
|
|
|
2745
2858
|
exports.SidebarMenuAction = SidebarMenuAction;
|
|
2746
2859
|
exports.SidebarMenuBadge = SidebarMenuBadge;
|
|
2747
2860
|
exports.SidebarMenuButton = SidebarMenuButton;
|
|
2861
|
+
exports.SidebarMenuButtonLink = SidebarMenuButtonLink;
|
|
2748
2862
|
exports.SidebarMenuItem = SidebarMenuItem;
|
|
2749
2863
|
exports.SidebarMenuSkeleton = SidebarMenuSkeleton;
|
|
2750
2864
|
exports.SidebarMenuSub = SidebarMenuSub;
|
|
@@ -2776,6 +2890,7 @@ exports.TooltipProvider = TooltipProvider;
|
|
|
2776
2890
|
exports.TooltipTrigger = TooltipTrigger;
|
|
2777
2891
|
exports.UserFooter = UserFooter;
|
|
2778
2892
|
exports.WorkspaceHeader = WorkspaceHeader;
|
|
2893
|
+
exports.alertVariants = alertVariants;
|
|
2779
2894
|
exports.badgeVariants = badgeVariants;
|
|
2780
2895
|
exports.buttonVariants = buttonVariants;
|
|
2781
2896
|
exports.cn = cn;
|