@lglab/compose-ui 0.16.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/context-menu.d.ts +100 -0
- package/dist/components/context-menu.d.ts.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +696 -511
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
3
|
-
import { Button as
|
|
4
|
-
import { cva as
|
|
5
|
-
import { clsx as
|
|
6
|
-
import { twMerge as
|
|
7
|
-
import { Collapsible as
|
|
8
|
-
import { AlertDialog as
|
|
9
|
-
import { AlertDialog as
|
|
10
|
-
import { Avatar as
|
|
11
|
-
import * as
|
|
12
|
-
import { ScrollArea as
|
|
13
|
-
import { Separator as
|
|
14
|
-
import { Switch as
|
|
15
|
-
import { Toggle as
|
|
16
|
-
import { Tabs as
|
|
17
|
-
import { Dialog as
|
|
18
|
-
import { Accordion as
|
|
19
|
-
import { Meter as
|
|
20
|
-
import { Menu as
|
|
21
|
-
import { Popover as
|
|
22
|
-
import { Progress as
|
|
2
|
+
import { jsx as a, jsxs as N } from "react/jsx-runtime";
|
|
3
|
+
import { Button as L } from "@base-ui/react/button";
|
|
4
|
+
import { cva as m } from "class-variance-authority";
|
|
5
|
+
import { clsx as H } from "clsx";
|
|
6
|
+
import { twMerge as _ } from "tailwind-merge";
|
|
7
|
+
import { Collapsible as P } from "@base-ui/react/collapsible";
|
|
8
|
+
import { AlertDialog as p } from "@base-ui/react/alert-dialog";
|
|
9
|
+
import { AlertDialog as Ga } from "@base-ui/react/alert-dialog";
|
|
10
|
+
import { Avatar as T } from "@base-ui/react/avatar";
|
|
11
|
+
import * as x from "react";
|
|
12
|
+
import { ScrollArea as f } from "@base-ui/react/scroll-area";
|
|
13
|
+
import { Separator as G } from "@base-ui/react/separator";
|
|
14
|
+
import { Switch as R } from "@base-ui/react/switch";
|
|
15
|
+
import { Toggle as A } from "@base-ui/react/toggle";
|
|
16
|
+
import { Tabs as h } from "@base-ui/react/tabs";
|
|
17
|
+
import { Dialog as l } from "@base-ui/react/dialog";
|
|
18
|
+
import { Accordion as v } from "@base-ui/react/accordion";
|
|
19
|
+
import { Meter as w } from "@base-ui/react/meter";
|
|
20
|
+
import { Menu as n } from "@base-ui/react/menu";
|
|
21
|
+
import { Popover as c } from "@base-ui/react/popover";
|
|
22
|
+
import { Progress as C } from "@base-ui/react/progress";
|
|
23
23
|
import { ToggleGroup as B } from "@base-ui/react/toggle-group";
|
|
24
|
-
|
|
24
|
+
import { ContextMenu as i } from "@base-ui/react/context-menu";
|
|
25
|
+
const d = m(
|
|
25
26
|
[
|
|
26
27
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all select-none [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive"
|
|
27
28
|
],
|
|
@@ -51,37 +52,37 @@ const d = u(
|
|
|
51
52
|
}
|
|
52
53
|
);
|
|
53
54
|
function r(...e) {
|
|
54
|
-
return H(
|
|
55
|
+
return _(H(e));
|
|
55
56
|
}
|
|
56
|
-
const
|
|
57
|
+
const j = ({
|
|
57
58
|
className: e,
|
|
58
|
-
variant:
|
|
59
|
+
variant: t,
|
|
59
60
|
size: o,
|
|
60
61
|
disabled: s,
|
|
61
|
-
children:
|
|
62
|
-
...
|
|
63
|
-
}) => /* @__PURE__ */
|
|
64
|
-
|
|
62
|
+
children: u,
|
|
63
|
+
...g
|
|
64
|
+
}) => /* @__PURE__ */ a(
|
|
65
|
+
L,
|
|
65
66
|
{
|
|
66
|
-
className: r(d({ variant:
|
|
67
|
+
className: r(d({ variant: t, size: o }), e),
|
|
67
68
|
disabled: s,
|
|
68
|
-
...
|
|
69
|
-
children:
|
|
69
|
+
...g,
|
|
70
|
+
children: u
|
|
70
71
|
}
|
|
71
72
|
);
|
|
72
|
-
|
|
73
|
-
const
|
|
74
|
-
|
|
75
|
-
const
|
|
76
|
-
|
|
73
|
+
j.displayName = "Button";
|
|
74
|
+
const F = ({ className: e, ...t }) => /* @__PURE__ */ a(P.Root, { className: r("w-full", e), ...t });
|
|
75
|
+
F.displayName = "CollapsibleRoot";
|
|
76
|
+
const Z = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
77
|
+
P.Trigger,
|
|
77
78
|
{
|
|
78
79
|
className: r("flex items-center justify-between font-medium", e),
|
|
79
|
-
...
|
|
80
|
+
...t
|
|
80
81
|
}
|
|
81
82
|
);
|
|
82
|
-
|
|
83
|
-
const
|
|
84
|
-
|
|
83
|
+
Z.displayName = "CollapsibleTrigger";
|
|
84
|
+
const $ = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
85
|
+
P.Panel,
|
|
85
86
|
{
|
|
86
87
|
className: r(
|
|
87
88
|
'[&[hidden]:not([hidden="until-found"])]:hidden h-(--collapsible-panel-height)',
|
|
@@ -90,29 +91,29 @@ const q = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
90
91
|
"data-starting-style:h-0",
|
|
91
92
|
e
|
|
92
93
|
),
|
|
93
|
-
...
|
|
94
|
+
...t
|
|
94
95
|
}
|
|
95
96
|
);
|
|
96
|
-
|
|
97
|
-
const
|
|
98
|
-
|
|
99
|
-
const
|
|
97
|
+
$.displayName = "CollapsiblePanel";
|
|
98
|
+
const q = (e) => /* @__PURE__ */ a(p.Root, { ...e });
|
|
99
|
+
q.displayName = "AlertDialogRoot";
|
|
100
|
+
const O = ({
|
|
100
101
|
className: e,
|
|
101
|
-
variant:
|
|
102
|
+
variant: t,
|
|
102
103
|
size: o,
|
|
103
104
|
...s
|
|
104
|
-
}) => /* @__PURE__ */
|
|
105
|
-
|
|
105
|
+
}) => /* @__PURE__ */ a(
|
|
106
|
+
p.Trigger,
|
|
106
107
|
{
|
|
107
|
-
className: r(d({ variant:
|
|
108
|
+
className: r(d({ variant: t, size: o }), e),
|
|
108
109
|
...s
|
|
109
110
|
}
|
|
110
111
|
);
|
|
111
|
-
|
|
112
|
-
const E = (e) => /* @__PURE__ */
|
|
112
|
+
O.displayName = "AlertDialogTrigger";
|
|
113
|
+
const E = (e) => /* @__PURE__ */ a(p.Portal, { ...e });
|
|
113
114
|
E.displayName = "AlertDialogPortal";
|
|
114
|
-
const
|
|
115
|
-
|
|
115
|
+
const J = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
116
|
+
p.Backdrop,
|
|
116
117
|
{
|
|
117
118
|
className: r(
|
|
118
119
|
"fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
|
|
@@ -120,19 +121,19 @@ const O = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
120
121
|
"data-starting-style:opacity-0 data-ending-style:opacity-0",
|
|
121
122
|
e
|
|
122
123
|
),
|
|
123
|
-
...
|
|
124
|
+
...t
|
|
124
125
|
}
|
|
125
126
|
);
|
|
126
|
-
|
|
127
|
-
const
|
|
128
|
-
|
|
127
|
+
J.displayName = "AlertDialogBackdrop";
|
|
128
|
+
const K = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
129
|
+
p.Viewport,
|
|
129
130
|
{
|
|
130
131
|
className: r("fixed inset-0 z-50 flex items-center justify-center p-4", e),
|
|
131
|
-
...
|
|
132
|
+
...t
|
|
132
133
|
}
|
|
133
134
|
);
|
|
134
|
-
|
|
135
|
-
const
|
|
135
|
+
K.displayName = "AlertDialogViewport";
|
|
136
|
+
const Q = m(
|
|
136
137
|
[
|
|
137
138
|
"fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2",
|
|
138
139
|
"w-full max-w-[calc(100vw-2rem)] rounded-lg border border-border bg-background p-6 shadow-lg",
|
|
@@ -156,38 +157,38 @@ const K = u(
|
|
|
156
157
|
size: "default"
|
|
157
158
|
}
|
|
158
159
|
}
|
|
159
|
-
),
|
|
160
|
-
|
|
160
|
+
), U = ({ className: e, size: t, ...o }) => /* @__PURE__ */ a(
|
|
161
|
+
p.Popup,
|
|
161
162
|
{
|
|
162
|
-
className: r(
|
|
163
|
+
className: r(Q({ size: t }), e),
|
|
163
164
|
...o
|
|
164
165
|
}
|
|
165
166
|
);
|
|
166
|
-
|
|
167
|
-
const
|
|
168
|
-
|
|
167
|
+
U.displayName = "AlertDialogPopup";
|
|
168
|
+
const W = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
169
|
+
p.Title,
|
|
169
170
|
{
|
|
170
171
|
className: r("text-lg font-semibold leading-none tracking-tight", e),
|
|
171
|
-
...
|
|
172
|
+
...t
|
|
172
173
|
}
|
|
173
174
|
);
|
|
174
|
-
|
|
175
|
-
const
|
|
176
|
-
|
|
177
|
-
const
|
|
175
|
+
W.displayName = "AlertDialogTitle";
|
|
176
|
+
const X = ({ className: e, ...t }) => /* @__PURE__ */ a(p.Description, { className: r("mt-2", e), ...t });
|
|
177
|
+
X.displayName = "AlertDialogDescription";
|
|
178
|
+
const Y = ({
|
|
178
179
|
className: e,
|
|
179
|
-
variant:
|
|
180
|
+
variant: t,
|
|
180
181
|
size: o,
|
|
181
182
|
...s
|
|
182
|
-
}) => /* @__PURE__ */
|
|
183
|
-
|
|
183
|
+
}) => /* @__PURE__ */ a(
|
|
184
|
+
p.Close,
|
|
184
185
|
{
|
|
185
|
-
className: r(d({ variant:
|
|
186
|
+
className: r(d({ variant: t ?? "outline", size: o }), e),
|
|
186
187
|
...s
|
|
187
188
|
}
|
|
188
189
|
);
|
|
189
|
-
|
|
190
|
-
const
|
|
190
|
+
Y.displayName = "AlertDialogClose";
|
|
191
|
+
const I = m(
|
|
191
192
|
[
|
|
192
193
|
"relative flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
193
194
|
"bg-muted text-foreground",
|
|
@@ -205,121 +206,121 @@ const M = u(
|
|
|
205
206
|
size: "default"
|
|
206
207
|
}
|
|
207
208
|
}
|
|
208
|
-
), z = ({ className: e, size:
|
|
209
|
+
), z = ({ className: e, size: t, ...o }) => /* @__PURE__ */ a(T.Root, { className: r(I({ size: t }), e), ...o });
|
|
209
210
|
z.displayName = "AvatarRoot";
|
|
210
|
-
const
|
|
211
|
-
|
|
211
|
+
const ee = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
212
|
+
T.Image,
|
|
212
213
|
{
|
|
213
214
|
className: r("aspect-square h-full w-full object-cover", e),
|
|
214
|
-
...
|
|
215
|
+
...t
|
|
215
216
|
}
|
|
216
217
|
);
|
|
217
|
-
|
|
218
|
-
const
|
|
219
|
-
|
|
218
|
+
ee.displayName = "AvatarImage";
|
|
219
|
+
const te = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
220
|
+
T.Fallback,
|
|
220
221
|
{
|
|
221
222
|
className: r(
|
|
222
223
|
"flex h-full w-full items-center justify-center font-medium",
|
|
223
224
|
e
|
|
224
225
|
),
|
|
225
|
-
...
|
|
226
|
+
...t
|
|
226
227
|
}
|
|
227
228
|
);
|
|
228
|
-
|
|
229
|
+
te.displayName = "AvatarFallback";
|
|
229
230
|
const ae = ({
|
|
230
231
|
"aria-label": e,
|
|
231
|
-
maxVisible:
|
|
232
|
+
maxVisible: t,
|
|
232
233
|
className: o,
|
|
233
234
|
children: s
|
|
234
235
|
}) => {
|
|
235
|
-
const
|
|
236
|
-
const
|
|
237
|
-
return
|
|
236
|
+
const u = x.Children.toArray(s), g = u.length, b = t !== void 0 ? Math.min(t, g) : g, M = g - b, k = u.slice(0, b), V = (() => {
|
|
237
|
+
const y = u[0];
|
|
238
|
+
return x.isValidElement(y) && y.type === z ? y.props.size ?? "default" : "default";
|
|
238
239
|
})();
|
|
239
|
-
return /* @__PURE__ */
|
|
240
|
-
|
|
241
|
-
|
|
240
|
+
return /* @__PURE__ */ N("ul", { "aria-label": e, className: r("flex -space-x-2", o), children: [
|
|
241
|
+
k.map((y, D) => /* @__PURE__ */ a("li", { children: y }, D)),
|
|
242
|
+
M > 0 && /* @__PURE__ */ a("li", { children: /* @__PURE__ */ N(
|
|
242
243
|
"span",
|
|
243
244
|
{
|
|
244
245
|
className: r(
|
|
245
246
|
"relative flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
246
247
|
"bg-muted text-foreground border-2 border-background",
|
|
247
248
|
"font-medium",
|
|
248
|
-
|
|
249
|
+
I({ size: V })
|
|
249
250
|
),
|
|
250
251
|
children: [
|
|
251
252
|
"+",
|
|
252
|
-
|
|
253
|
+
M
|
|
253
254
|
]
|
|
254
255
|
}
|
|
255
256
|
) })
|
|
256
257
|
] });
|
|
257
258
|
};
|
|
258
259
|
ae.displayName = "AvatarStack";
|
|
259
|
-
const
|
|
260
|
-
|
|
261
|
-
const
|
|
262
|
-
|
|
260
|
+
const re = ({ className: e, ...t }) => /* @__PURE__ */ a(f.Root, { className: r("relative", e), ...t });
|
|
261
|
+
re.displayName = "ScrollAreaRoot";
|
|
262
|
+
const oe = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
263
|
+
f.Viewport,
|
|
263
264
|
{
|
|
264
265
|
className: r("h-full overscroll-contain pr-3", e),
|
|
265
|
-
...
|
|
266
|
+
...t
|
|
266
267
|
}
|
|
267
268
|
);
|
|
268
|
-
|
|
269
|
-
const
|
|
270
|
-
|
|
271
|
-
const
|
|
269
|
+
oe.displayName = "ScrollAreaViewport";
|
|
270
|
+
const se = ({ className: e, ...t }) => /* @__PURE__ */ a(f.Content, { className: r("min-w-full", e), ...t });
|
|
271
|
+
se.displayName = "ScrollAreaContent";
|
|
272
|
+
const ne = ({
|
|
272
273
|
className: e,
|
|
273
|
-
orientation:
|
|
274
|
+
orientation: t = "vertical",
|
|
274
275
|
...o
|
|
275
|
-
}) => /* @__PURE__ */
|
|
276
|
-
|
|
276
|
+
}) => /* @__PURE__ */ a(
|
|
277
|
+
f.Scrollbar,
|
|
277
278
|
{
|
|
278
279
|
className: r(
|
|
279
280
|
"flex touch-none select-none p-0.5 transition-colors duration-200 ease-out",
|
|
280
281
|
"data-hovering:bg-muted/50",
|
|
281
|
-
|
|
282
|
-
|
|
282
|
+
t === "vertical" && "h-full w-2.5",
|
|
283
|
+
t === "horizontal" && "h-2.5 w-full flex-col",
|
|
283
284
|
e
|
|
284
285
|
),
|
|
285
|
-
orientation:
|
|
286
|
+
orientation: t,
|
|
286
287
|
...o
|
|
287
288
|
}
|
|
288
289
|
);
|
|
289
|
-
|
|
290
|
-
const
|
|
291
|
-
|
|
290
|
+
ne.displayName = "ScrollAreaScrollbar";
|
|
291
|
+
const ie = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
292
|
+
f.Thumb,
|
|
292
293
|
{
|
|
293
294
|
className: r(
|
|
294
295
|
"relative flex-1 rounded-full bg-border transition-colors",
|
|
295
296
|
"hover:bg-muted-foreground/50",
|
|
296
297
|
e
|
|
297
298
|
),
|
|
298
|
-
...
|
|
299
|
+
...t
|
|
299
300
|
}
|
|
300
301
|
);
|
|
301
|
-
|
|
302
|
-
const
|
|
303
|
-
|
|
304
|
-
const
|
|
302
|
+
ie.displayName = "ScrollAreaThumb";
|
|
303
|
+
const le = ({ className: e, ...t }) => /* @__PURE__ */ a(f.Corner, { className: r("bg-muted/50", e), ...t });
|
|
304
|
+
le.displayName = "ScrollAreaCorner";
|
|
305
|
+
const de = ({
|
|
305
306
|
className: e,
|
|
306
|
-
orientation:
|
|
307
|
+
orientation: t = "horizontal",
|
|
307
308
|
...o
|
|
308
|
-
}) => /* @__PURE__ */
|
|
309
|
-
|
|
309
|
+
}) => /* @__PURE__ */ a(
|
|
310
|
+
G,
|
|
310
311
|
{
|
|
311
|
-
orientation:
|
|
312
|
+
orientation: t,
|
|
312
313
|
className: r(
|
|
313
314
|
"shrink-0 bg-border",
|
|
314
|
-
|
|
315
|
+
t === "horizontal" ? "h-px w-full" : "h-full w-px",
|
|
315
316
|
e
|
|
316
317
|
),
|
|
317
318
|
...o
|
|
318
319
|
}
|
|
319
320
|
);
|
|
320
|
-
|
|
321
|
-
const
|
|
322
|
-
|
|
321
|
+
de.displayName = "Separator";
|
|
322
|
+
const ce = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
323
|
+
R.Root,
|
|
323
324
|
{
|
|
324
325
|
className: r(
|
|
325
326
|
"relative flex h-6 w-10 rounded-full",
|
|
@@ -331,12 +332,12 @@ const de = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
331
332
|
"dark:from-primary/50 dark:shadow-none",
|
|
332
333
|
e
|
|
333
334
|
),
|
|
334
|
-
...
|
|
335
|
+
...t
|
|
335
336
|
}
|
|
336
337
|
);
|
|
337
|
-
|
|
338
|
-
const
|
|
339
|
-
|
|
338
|
+
ce.displayName = "SwitchRoot";
|
|
339
|
+
const ue = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
340
|
+
R.Thumb,
|
|
340
341
|
{
|
|
341
342
|
className: r(
|
|
342
343
|
"aspect-square h-full rounded-full bg-background",
|
|
@@ -347,11 +348,11 @@ const ce = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
347
348
|
"data-disabled:opacity-100",
|
|
348
349
|
e
|
|
349
350
|
),
|
|
350
|
-
...
|
|
351
|
+
...t
|
|
351
352
|
}
|
|
352
353
|
);
|
|
353
|
-
|
|
354
|
-
const
|
|
354
|
+
ue.displayName = "SwitchThumb";
|
|
355
|
+
const S = m(
|
|
355
356
|
[
|
|
356
357
|
"inline-flex items-center justify-center gap-2 rounded-md",
|
|
357
358
|
"text-sm font-medium",
|
|
@@ -382,11 +383,11 @@ const V = u(
|
|
|
382
383
|
size: "default"
|
|
383
384
|
}
|
|
384
385
|
}
|
|
385
|
-
),
|
|
386
|
-
|
|
387
|
-
const
|
|
388
|
-
|
|
389
|
-
const
|
|
386
|
+
), me = ({ className: e, variant: t, size: o, ...s }) => /* @__PURE__ */ a(A, { className: r(S({ variant: t, size: o }), e), ...s });
|
|
387
|
+
me.displayName = "Toggle";
|
|
388
|
+
const pe = ({ className: e, ...t }) => /* @__PURE__ */ a(h.Root, { className: r("flex flex-col", e), ...t });
|
|
389
|
+
pe.displayName = "TabsRoot";
|
|
390
|
+
const ge = m(
|
|
390
391
|
["relative inline-flex w-fit items-center gap-1", "rounded-lg bg-muted p-1"],
|
|
391
392
|
{
|
|
392
393
|
variants: {
|
|
@@ -399,15 +400,15 @@ const pe = u(
|
|
|
399
400
|
orientation: "horizontal"
|
|
400
401
|
}
|
|
401
402
|
}
|
|
402
|
-
),
|
|
403
|
-
|
|
403
|
+
), fe = ({ className: e, orientation: t = "horizontal", ...o }) => /* @__PURE__ */ a(
|
|
404
|
+
h.List,
|
|
404
405
|
{
|
|
405
|
-
className: r(
|
|
406
|
+
className: r(ge({ orientation: t }), e),
|
|
406
407
|
...o
|
|
407
408
|
}
|
|
408
409
|
);
|
|
409
|
-
|
|
410
|
-
const
|
|
410
|
+
fe.displayName = "TabsList";
|
|
411
|
+
const be = m(
|
|
411
412
|
[
|
|
412
413
|
"relative z-10 inline-flex items-center justify-center whitespace-nowrap",
|
|
413
414
|
"rounded-md px-3 py-1.5 text-sm font-medium",
|
|
@@ -428,9 +429,9 @@ const fe = u(
|
|
|
428
429
|
size: "default"
|
|
429
430
|
}
|
|
430
431
|
}
|
|
431
|
-
),
|
|
432
|
-
|
|
433
|
-
const
|
|
432
|
+
), ye = ({ className: e, size: t, ...o }) => /* @__PURE__ */ a(h.Tab, { className: r(be({ size: t }), e), ...o });
|
|
433
|
+
ye.displayName = "TabsTab";
|
|
434
|
+
const Ne = m(
|
|
434
435
|
["absolute rounded-md bg-background shadow-sm", "transition-all duration-200 ease-out"],
|
|
435
436
|
{
|
|
436
437
|
variants: {
|
|
@@ -443,34 +444,34 @@ const ye = u(
|
|
|
443
444
|
orientation: "horizontal"
|
|
444
445
|
}
|
|
445
446
|
}
|
|
446
|
-
),
|
|
447
|
+
), xe = ({
|
|
447
448
|
className: e,
|
|
448
|
-
orientation:
|
|
449
|
+
orientation: t = "horizontal",
|
|
449
450
|
...o
|
|
450
|
-
}) => /* @__PURE__ */
|
|
451
|
-
|
|
451
|
+
}) => /* @__PURE__ */ a(
|
|
452
|
+
h.Indicator,
|
|
452
453
|
{
|
|
453
|
-
className: r(
|
|
454
|
+
className: r(Ne({ orientation: t }), e),
|
|
454
455
|
...o
|
|
455
456
|
}
|
|
456
457
|
);
|
|
457
|
-
|
|
458
|
-
const he = ({ className: e, ...
|
|
458
|
+
xe.displayName = "TabsIndicator";
|
|
459
|
+
const he = ({ className: e, ...t }) => /* @__PURE__ */ a(h.Panel, { className: r("mt-2 ring-offset-background", e), ...t });
|
|
459
460
|
he.displayName = "TabsPanel";
|
|
460
|
-
const
|
|
461
|
-
|
|
462
|
-
const
|
|
463
|
-
|
|
461
|
+
const ve = (e) => /* @__PURE__ */ a(l.Root, { ...e });
|
|
462
|
+
ve.displayName = "DialogRoot";
|
|
463
|
+
const we = ({ className: e, variant: t, size: o, ...s }) => /* @__PURE__ */ a(
|
|
464
|
+
l.Trigger,
|
|
464
465
|
{
|
|
465
|
-
className: r(d({ variant:
|
|
466
|
+
className: r(d({ variant: t, size: o }), e),
|
|
466
467
|
...s
|
|
467
468
|
}
|
|
468
469
|
);
|
|
469
|
-
|
|
470
|
-
const
|
|
471
|
-
|
|
472
|
-
const
|
|
473
|
-
|
|
470
|
+
we.displayName = "DialogTrigger";
|
|
471
|
+
const Ce = (e) => /* @__PURE__ */ a(l.Portal, { ...e });
|
|
472
|
+
Ce.displayName = "DialogPortal";
|
|
473
|
+
const Me = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
474
|
+
l.Backdrop,
|
|
474
475
|
{
|
|
475
476
|
className: r(
|
|
476
477
|
"fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
|
|
@@ -478,11 +479,11 @@ const ke = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
478
479
|
"data-starting-style:opacity-0 data-ending-style:opacity-0",
|
|
479
480
|
e
|
|
480
481
|
),
|
|
481
|
-
...
|
|
482
|
+
...t
|
|
482
483
|
}
|
|
483
484
|
);
|
|
484
|
-
|
|
485
|
-
const
|
|
485
|
+
Me.displayName = "DialogBackdrop";
|
|
486
|
+
const ke = m(
|
|
486
487
|
[
|
|
487
488
|
"fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2",
|
|
488
489
|
"w-full max-w-[calc(100vw-2rem)] rounded-lg border border-border bg-background p-6 shadow-lg",
|
|
@@ -506,59 +507,59 @@ const Pe = u(
|
|
|
506
507
|
size: "default"
|
|
507
508
|
}
|
|
508
509
|
}
|
|
509
|
-
),
|
|
510
|
-
|
|
510
|
+
), Pe = ({ className: e, size: t, ...o }) => /* @__PURE__ */ a(
|
|
511
|
+
l.Popup,
|
|
511
512
|
{
|
|
512
|
-
className: r(
|
|
513
|
+
className: r(ke({ size: t }), e),
|
|
513
514
|
...o
|
|
514
515
|
}
|
|
515
516
|
);
|
|
516
|
-
|
|
517
|
-
const
|
|
518
|
-
|
|
517
|
+
Pe.displayName = "DialogPopup";
|
|
518
|
+
const Te = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
519
|
+
l.Title,
|
|
519
520
|
{
|
|
520
521
|
className: r("text-lg font-semibold leading-none tracking-tight", e),
|
|
521
|
-
...
|
|
522
|
+
...t
|
|
522
523
|
}
|
|
523
524
|
);
|
|
524
|
-
|
|
525
|
-
const
|
|
526
|
-
|
|
527
|
-
const
|
|
528
|
-
|
|
525
|
+
Te.displayName = "DialogTitle";
|
|
526
|
+
const De = ({ className: e, ...t }) => /* @__PURE__ */ a(l.Description, { className: r("mt-2", e), ...t });
|
|
527
|
+
De.displayName = "DialogDescription";
|
|
528
|
+
const Re = ({ className: e, variant: t, size: o, ...s }) => /* @__PURE__ */ a(
|
|
529
|
+
l.Close,
|
|
529
530
|
{
|
|
530
|
-
className: r(d({ variant:
|
|
531
|
+
className: r(d({ variant: t ?? "outline", size: o }), e),
|
|
531
532
|
...s
|
|
532
533
|
}
|
|
533
534
|
);
|
|
534
|
-
|
|
535
|
-
const
|
|
536
|
-
|
|
537
|
-
const
|
|
535
|
+
Re.displayName = "DialogClose";
|
|
536
|
+
const Ae = ({ className: e, ...t }) => /* @__PURE__ */ a("div", { className: r("flex flex-col space-y-1 mb-5", e), ...t });
|
|
537
|
+
Ae.displayName = "DialogHeader";
|
|
538
|
+
const Ie = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
538
539
|
"div",
|
|
539
540
|
{
|
|
540
541
|
className: r(
|
|
541
542
|
"mt-6 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
|
|
542
543
|
e
|
|
543
544
|
),
|
|
544
|
-
...
|
|
545
|
+
...t
|
|
545
546
|
}
|
|
546
547
|
);
|
|
547
|
-
|
|
548
|
-
const ze = (e) => /* @__PURE__ */
|
|
548
|
+
Ie.displayName = "DialogFooter";
|
|
549
|
+
const ze = (e) => /* @__PURE__ */ a(l.Root, { ...e });
|
|
549
550
|
ze.displayName = "DrawerRoot";
|
|
550
|
-
const
|
|
551
|
-
|
|
551
|
+
const Se = ({ className: e, variant: t, size: o, ...s }) => /* @__PURE__ */ a(
|
|
552
|
+
l.Trigger,
|
|
552
553
|
{
|
|
553
|
-
className: r(d({ variant:
|
|
554
|
+
className: r(d({ variant: t, size: o }), e),
|
|
554
555
|
...s
|
|
555
556
|
}
|
|
556
557
|
);
|
|
557
|
-
|
|
558
|
-
const
|
|
559
|
-
|
|
560
|
-
const
|
|
561
|
-
|
|
558
|
+
Se.displayName = "DrawerTrigger";
|
|
559
|
+
const Ve = (e) => /* @__PURE__ */ a(l.Portal, { ...e });
|
|
560
|
+
Ve.displayName = "DrawerPortal";
|
|
561
|
+
const Le = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
562
|
+
l.Backdrop,
|
|
562
563
|
{
|
|
563
564
|
className: r(
|
|
564
565
|
"fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
|
|
@@ -566,11 +567,11 @@ const Ie = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
566
567
|
"data-starting-style:opacity-0 data-ending-style:opacity-0",
|
|
567
568
|
e
|
|
568
569
|
),
|
|
569
|
-
...
|
|
570
|
+
...t
|
|
570
571
|
}
|
|
571
572
|
);
|
|
572
|
-
|
|
573
|
-
const
|
|
573
|
+
Le.displayName = "DrawerBackdrop";
|
|
574
|
+
const He = m(
|
|
574
575
|
[
|
|
575
576
|
"fixed z-50 flex flex-col bg-background p-6 shadow-lg",
|
|
576
577
|
"transition-transform duration-300 ease-out",
|
|
@@ -606,175 +607,175 @@ const Le = u(
|
|
|
606
607
|
side: "right"
|
|
607
608
|
}
|
|
608
609
|
}
|
|
609
|
-
),
|
|
610
|
-
|
|
610
|
+
), _e = ({ className: e, side: t, ...o }) => /* @__PURE__ */ a(
|
|
611
|
+
l.Popup,
|
|
611
612
|
{
|
|
612
|
-
className: r(
|
|
613
|
+
className: r(He({ side: t }), e),
|
|
613
614
|
...o
|
|
614
615
|
}
|
|
615
616
|
);
|
|
616
|
-
|
|
617
|
-
const
|
|
618
|
-
|
|
617
|
+
_e.displayName = "DrawerPopup";
|
|
618
|
+
const Ge = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
619
|
+
l.Title,
|
|
619
620
|
{
|
|
620
621
|
className: r("text-lg font-semibold leading-none tracking-tight", e),
|
|
621
|
-
...
|
|
622
|
+
...t
|
|
622
623
|
}
|
|
623
624
|
);
|
|
624
|
-
|
|
625
|
-
const Be = ({ className: e, ...
|
|
625
|
+
Ge.displayName = "DrawerTitle";
|
|
626
|
+
const Be = ({ className: e, ...t }) => /* @__PURE__ */ a(l.Description, { className: r("", e), ...t });
|
|
626
627
|
Be.displayName = "DrawerDescription";
|
|
627
|
-
const
|
|
628
|
-
|
|
628
|
+
const je = ({ className: e, variant: t, size: o, ...s }) => /* @__PURE__ */ a(
|
|
629
|
+
l.Close,
|
|
629
630
|
{
|
|
630
|
-
className: r(d({ variant:
|
|
631
|
+
className: r(d({ variant: t ?? "outline", size: o }), e),
|
|
631
632
|
...s
|
|
632
633
|
}
|
|
633
634
|
);
|
|
634
|
-
|
|
635
|
-
const
|
|
636
|
-
|
|
637
|
-
const
|
|
638
|
-
|
|
639
|
-
const
|
|
640
|
-
|
|
641
|
-
const
|
|
642
|
-
|
|
643
|
-
const
|
|
644
|
-
|
|
635
|
+
je.displayName = "DrawerClose";
|
|
636
|
+
const Fe = ({ className: e, ...t }) => /* @__PURE__ */ a("div", { className: r("flex flex-col space-y-1.5", e), ...t });
|
|
637
|
+
Fe.displayName = "DrawerHeader";
|
|
638
|
+
const Ze = ({ className: e, ...t }) => /* @__PURE__ */ a("div", { className: r("py-5", e), ...t });
|
|
639
|
+
Ze.displayName = "DrawerContent";
|
|
640
|
+
const $e = ({ className: e, ...t }) => /* @__PURE__ */ a("div", { className: r("", e), ...t });
|
|
641
|
+
$e.displayName = "DrawerFooter";
|
|
642
|
+
const qe = ({ className: e, ...t }) => /* @__PURE__ */ a(v.Root, { className: r("w-full", e), ...t });
|
|
643
|
+
qe.displayName = "AccordionRoot";
|
|
644
|
+
const Oe = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
645
|
+
v.Item,
|
|
645
646
|
{
|
|
646
647
|
className: r("border-b border-border last:border-b-0", e),
|
|
647
|
-
...
|
|
648
|
+
...t
|
|
648
649
|
}
|
|
649
650
|
);
|
|
650
|
-
|
|
651
|
-
const Ee = ({ className: e, ...
|
|
651
|
+
Oe.displayName = "AccordionItem";
|
|
652
|
+
const Ee = ({ className: e, ...t }) => /* @__PURE__ */ a(v.Header, { className: r("flex", e), ...t });
|
|
652
653
|
Ee.displayName = "AccordionHeader";
|
|
653
|
-
const
|
|
654
|
-
|
|
654
|
+
const Je = ({ className: e, children: t, ...o }) => /* @__PURE__ */ a(
|
|
655
|
+
v.Trigger,
|
|
655
656
|
{
|
|
656
657
|
className: r(
|
|
657
658
|
"flex flex-1 items-center justify-between py-3 font-medium",
|
|
658
659
|
e
|
|
659
660
|
),
|
|
660
661
|
...o,
|
|
661
|
-
children:
|
|
662
|
+
children: t
|
|
662
663
|
}
|
|
663
664
|
);
|
|
664
|
-
|
|
665
|
-
const
|
|
666
|
-
|
|
665
|
+
Je.displayName = "AccordionTrigger";
|
|
666
|
+
const Ke = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
667
|
+
v.Panel,
|
|
667
668
|
{
|
|
668
669
|
className: r(
|
|
669
670
|
"overflow-hidden duration-200 h-(--accordion-panel-height) transition-height ease-out data-ending-style:h-0 data-starting-style:h-0",
|
|
670
671
|
e
|
|
671
672
|
),
|
|
672
|
-
...
|
|
673
|
+
...t
|
|
673
674
|
}
|
|
674
675
|
);
|
|
675
|
-
|
|
676
|
-
const
|
|
677
|
-
const
|
|
678
|
-
return
|
|
679
|
-
if (
|
|
680
|
-
const
|
|
681
|
-
const
|
|
682
|
-
|
|
676
|
+
Ke.displayName = "AccordionPanel";
|
|
677
|
+
const Qe = ({ className: e, animated: t, value: o, ...s }) => {
|
|
678
|
+
const u = o ?? 0, [g, b] = x.useState(t ? 0 : u);
|
|
679
|
+
return x.useEffect(() => {
|
|
680
|
+
if (t) {
|
|
681
|
+
const M = requestAnimationFrame(() => {
|
|
682
|
+
const k = requestAnimationFrame(() => {
|
|
683
|
+
b(u ?? 0);
|
|
683
684
|
});
|
|
684
|
-
return () => cancelAnimationFrame(
|
|
685
|
+
return () => cancelAnimationFrame(k);
|
|
685
686
|
});
|
|
686
|
-
return () => cancelAnimationFrame(
|
|
687
|
+
return () => cancelAnimationFrame(M);
|
|
687
688
|
} else
|
|
688
|
-
|
|
689
|
-
}, [
|
|
689
|
+
b(u ?? 0);
|
|
690
|
+
}, [t, u]), /* @__PURE__ */ a(w.Root, { className: r("w-full", e), value: g, ...s });
|
|
690
691
|
};
|
|
691
|
-
|
|
692
|
-
const
|
|
693
|
-
|
|
692
|
+
Qe.displayName = "MeterRoot";
|
|
693
|
+
const Ue = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
694
|
+
w.Track,
|
|
694
695
|
{
|
|
695
696
|
className: r(
|
|
696
697
|
"relative h-2 w-full overflow-hidden rounded-full bg-primary/20",
|
|
697
698
|
e
|
|
698
699
|
),
|
|
699
|
-
...
|
|
700
|
+
...t
|
|
700
701
|
}
|
|
701
702
|
);
|
|
702
|
-
|
|
703
|
-
const
|
|
704
|
-
|
|
703
|
+
Ue.displayName = "MeterTrack";
|
|
704
|
+
const We = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
705
|
+
w.Indicator,
|
|
705
706
|
{
|
|
706
707
|
className: r(
|
|
707
708
|
"h-full rounded-full bg-primary transition-all duration-1000 ease-out-expo",
|
|
708
709
|
e
|
|
709
710
|
),
|
|
710
|
-
...
|
|
711
|
+
...t
|
|
711
712
|
}
|
|
712
713
|
);
|
|
713
|
-
|
|
714
|
-
const
|
|
715
|
-
|
|
714
|
+
We.displayName = "MeterIndicator";
|
|
715
|
+
const Xe = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
716
|
+
w.Value,
|
|
716
717
|
{
|
|
717
718
|
className: r("text-sm font-medium text-foreground", e),
|
|
718
|
-
...
|
|
719
|
+
...t
|
|
719
720
|
}
|
|
720
721
|
);
|
|
721
|
-
|
|
722
|
-
const
|
|
723
|
-
|
|
722
|
+
Xe.displayName = "MeterValue";
|
|
723
|
+
const Ye = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
724
|
+
w.Label,
|
|
724
725
|
{
|
|
725
726
|
className: r("text-sm font-medium text-foreground", e),
|
|
726
|
-
...
|
|
727
|
+
...t
|
|
727
728
|
}
|
|
728
729
|
);
|
|
729
|
-
|
|
730
|
-
const
|
|
731
|
-
|
|
732
|
-
const
|
|
733
|
-
|
|
734
|
-
const
|
|
735
|
-
|
|
736
|
-
const
|
|
737
|
-
|
|
730
|
+
Ye.displayName = "MeterLabel";
|
|
731
|
+
const et = (e) => /* @__PURE__ */ a(n.Root, { ...e });
|
|
732
|
+
et.displayName = "MenuRoot";
|
|
733
|
+
const tt = ({ className: e, ...t }) => /* @__PURE__ */ a(n.Trigger, { className: r(e), ...t });
|
|
734
|
+
tt.displayName = "MenuTrigger";
|
|
735
|
+
const at = (e) => /* @__PURE__ */ a(n.Portal, { ...e });
|
|
736
|
+
at.displayName = "MenuPortal";
|
|
737
|
+
const rt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
738
|
+
n.Positioner,
|
|
738
739
|
{
|
|
739
740
|
className: r("z-50 outline-none", e),
|
|
740
741
|
sideOffset: 8,
|
|
741
|
-
...
|
|
742
|
+
...t
|
|
742
743
|
}
|
|
743
744
|
);
|
|
744
|
-
|
|
745
|
-
const
|
|
746
|
-
|
|
745
|
+
rt.displayName = "MenuPositioner";
|
|
746
|
+
const ot = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
747
|
+
n.Popup,
|
|
747
748
|
{
|
|
748
749
|
className: r(
|
|
749
750
|
"rounded-md bg-background p-1 text-foreground shadow-sm border border-border transition-[transform,scale,opacity] data-ending-style:scale-90 data-ending-style:opacity-0 data-starting-style:scale-0 data-starting-style:opacity-0 dark:shadow-none",
|
|
750
751
|
"min-w-[8rem]",
|
|
751
752
|
e
|
|
752
753
|
),
|
|
753
|
-
...
|
|
754
|
+
...t
|
|
754
755
|
}
|
|
755
756
|
);
|
|
756
|
-
|
|
757
|
-
const
|
|
758
|
-
|
|
757
|
+
ot.displayName = "MenuPopup";
|
|
758
|
+
const st = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
759
|
+
n.Arrow,
|
|
759
760
|
{
|
|
760
761
|
className: r(
|
|
761
762
|
"flex data-[side=bottom]:top-[-8px] data-[side=left]:right-[-13px] data-[side=left]:rotate-90 data-[side=right]:left-[-13px] data-[side=right]:-rotate-90 data-[side=top]:bottom-[-8px] data-[side=top]:rotate-180",
|
|
762
763
|
e
|
|
763
764
|
),
|
|
764
|
-
...
|
|
765
|
-
children: /* @__PURE__ */
|
|
765
|
+
...t,
|
|
766
|
+
children: /* @__PURE__ */ a(nt, {})
|
|
766
767
|
}
|
|
767
768
|
);
|
|
768
|
-
function
|
|
769
|
-
return /* @__PURE__ */
|
|
770
|
-
/* @__PURE__ */
|
|
769
|
+
function nt(e) {
|
|
770
|
+
return /* @__PURE__ */ N("svg", { width: "20", height: "10", viewBox: "0 0 20 10", fill: "none", ...e, children: [
|
|
771
|
+
/* @__PURE__ */ a(
|
|
771
772
|
"path",
|
|
772
773
|
{
|
|
773
774
|
d: "M9.66437 2.60207L4.80758 6.97318C4.07308 7.63423 3.11989 8 2.13172 8H0V10H20V8H18.5349C17.5468 8 16.5936 7.63423 15.8591 6.97318L11.0023 2.60207C10.622 2.2598 10.0447 2.25979 9.66437 2.60207Z",
|
|
774
775
|
className: "fill-background"
|
|
775
776
|
}
|
|
776
777
|
),
|
|
777
|
-
/* @__PURE__ */
|
|
778
|
+
/* @__PURE__ */ a(
|
|
778
779
|
"path",
|
|
779
780
|
{
|
|
780
781
|
d: "M10.3333 3.34539L5.47654 7.71648C4.55842 8.54279 3.36693 9 2.13172 9H0V8H2.13172C3.11989 8 4.07308 7.63423 4.80758 6.97318L9.66437 2.60207C10.0447 2.25979 10.622 2.2598 11.0023 2.60207L15.8591 6.97318C16.5936 7.63423 17.5468 8 18.5349 8H20V9H18.5349C17.2998 9 16.1083 8.54278 15.1901 7.71648L10.3333 3.34539Z",
|
|
@@ -783,96 +784,96 @@ function sa(e) {
|
|
|
783
784
|
)
|
|
784
785
|
] });
|
|
785
786
|
}
|
|
786
|
-
|
|
787
|
-
const
|
|
788
|
-
|
|
787
|
+
st.displayName = "MenuArrow";
|
|
788
|
+
const it = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
789
|
+
n.Item,
|
|
789
790
|
{
|
|
790
791
|
className: r(
|
|
791
792
|
d({ variant: "ghost", size: "sm" }),
|
|
792
793
|
"flex justify-start",
|
|
793
794
|
e
|
|
794
795
|
),
|
|
795
|
-
...
|
|
796
|
+
...t
|
|
796
797
|
}
|
|
797
798
|
);
|
|
798
|
-
|
|
799
|
-
const
|
|
800
|
-
|
|
799
|
+
it.displayName = "MenuItem";
|
|
800
|
+
const lt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
801
|
+
n.Separator,
|
|
801
802
|
{
|
|
802
803
|
className: r("-mx-1 my-1 h-px bg-border", e),
|
|
803
|
-
...
|
|
804
|
+
...t
|
|
804
805
|
}
|
|
805
806
|
);
|
|
806
|
-
|
|
807
|
-
const
|
|
808
|
-
|
|
809
|
-
const
|
|
810
|
-
|
|
807
|
+
lt.displayName = "MenuSeparator";
|
|
808
|
+
const dt = ({ className: e, ...t }) => /* @__PURE__ */ a(n.Group, { className: r(e), ...t });
|
|
809
|
+
dt.displayName = "MenuGroup";
|
|
810
|
+
const ct = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
811
|
+
n.GroupLabel,
|
|
811
812
|
{
|
|
812
813
|
className: r("px-3 py-1.5 text-sm font-semibold", e),
|
|
813
|
-
...
|
|
814
|
+
...t
|
|
814
815
|
}
|
|
815
816
|
);
|
|
816
|
-
|
|
817
|
-
const
|
|
818
|
-
|
|
819
|
-
const
|
|
820
|
-
|
|
817
|
+
ct.displayName = "MenuGroupLabel";
|
|
818
|
+
const ut = ({ className: e, ...t }) => /* @__PURE__ */ a(n.RadioGroup, { className: r(e), ...t });
|
|
819
|
+
ut.displayName = "MenuRadioGroup";
|
|
820
|
+
const mt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
821
|
+
n.RadioItem,
|
|
821
822
|
{
|
|
822
823
|
className: r(
|
|
823
824
|
d({ variant: "ghost", size: "sm" }),
|
|
824
825
|
"grid grid-cols-[0.75rem_1fr] gap-2",
|
|
825
826
|
e
|
|
826
827
|
),
|
|
827
|
-
...
|
|
828
|
+
...t
|
|
828
829
|
}
|
|
829
830
|
);
|
|
830
|
-
|
|
831
|
-
const
|
|
832
|
-
|
|
831
|
+
mt.displayName = "MenuRadioItem";
|
|
832
|
+
const pt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
833
|
+
n.CheckboxItem,
|
|
833
834
|
{
|
|
834
835
|
className: r(
|
|
835
836
|
d({ variant: "ghost", size: "sm" }),
|
|
836
837
|
"grid grid-cols-[0.75rem_1fr] gap-2",
|
|
837
838
|
e
|
|
838
839
|
),
|
|
839
|
-
...
|
|
840
|
+
...t
|
|
840
841
|
}
|
|
841
842
|
);
|
|
842
|
-
|
|
843
|
-
const
|
|
844
|
-
|
|
845
|
-
const
|
|
843
|
+
pt.displayName = "MenuCheckboxItem";
|
|
844
|
+
const gt = ({ className: e, ...t }) => /* @__PURE__ */ a(n.RadioItemIndicator, { className: r("col-start-1", e), ...t });
|
|
845
|
+
gt.displayName = "MenuRadioItemIndicator";
|
|
846
|
+
const ft = ({
|
|
846
847
|
className: e,
|
|
847
|
-
...
|
|
848
|
-
}) => /* @__PURE__ */
|
|
849
|
-
|
|
850
|
-
const
|
|
851
|
-
|
|
852
|
-
const
|
|
853
|
-
|
|
854
|
-
const
|
|
855
|
-
|
|
848
|
+
...t
|
|
849
|
+
}) => /* @__PURE__ */ a(n.CheckboxItemIndicator, { className: r("col-start-1", e), ...t });
|
|
850
|
+
ft.displayName = "MenuCheckboxItemIndicator";
|
|
851
|
+
const bt = ({ className: e, ...t }) => /* @__PURE__ */ a("span", { className: r("col-start-2", e), ...t });
|
|
852
|
+
bt.displayName = "MenuCheckboxItemLabel";
|
|
853
|
+
const yt = ({ className: e, ...t }) => /* @__PURE__ */ a("span", { className: r("col-start-2", e), ...t });
|
|
854
|
+
yt.displayName = "MenuRadioItemLabel";
|
|
855
|
+
const Nt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
856
|
+
n.SubmenuTrigger,
|
|
856
857
|
{
|
|
857
858
|
className: r(
|
|
858
859
|
d({ variant: "ghost", size: "sm" }),
|
|
859
860
|
"flex justify-between",
|
|
860
861
|
e
|
|
861
862
|
),
|
|
862
|
-
...
|
|
863
|
+
...t
|
|
863
864
|
}
|
|
864
865
|
);
|
|
865
|
-
|
|
866
|
-
const
|
|
867
|
-
|
|
868
|
-
const
|
|
869
|
-
|
|
870
|
-
const
|
|
871
|
-
|
|
872
|
-
const
|
|
873
|
-
|
|
874
|
-
const
|
|
875
|
-
|
|
866
|
+
Nt.displayName = "MenuSubmenuTrigger";
|
|
867
|
+
const xt = (e) => /* @__PURE__ */ a(n.SubmenuRoot, { ...e });
|
|
868
|
+
xt.displayName = "MenuSubmenuRoot";
|
|
869
|
+
const ht = (e) => /* @__PURE__ */ a(c.Root, { ...e });
|
|
870
|
+
ht.displayName = "PopoverRoot";
|
|
871
|
+
const vt = ({ className: e, ...t }) => /* @__PURE__ */ a(c.Trigger, { className: r(e), ...t });
|
|
872
|
+
vt.displayName = "PopoverTrigger";
|
|
873
|
+
const wt = (e) => /* @__PURE__ */ a(c.Portal, { ...e });
|
|
874
|
+
wt.displayName = "PopoverPortal";
|
|
875
|
+
const Ct = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
876
|
+
c.Backdrop,
|
|
876
877
|
{
|
|
877
878
|
className: r(
|
|
878
879
|
"fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
|
|
@@ -880,12 +881,12 @@ const wa = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
880
881
|
"data-starting-style:opacity-0 data-ending-style:opacity-0",
|
|
881
882
|
e
|
|
882
883
|
),
|
|
883
|
-
...
|
|
884
|
+
...t
|
|
884
885
|
}
|
|
885
886
|
);
|
|
886
|
-
|
|
887
|
-
const
|
|
888
|
-
|
|
887
|
+
Ct.displayName = "PopoverBackdrop";
|
|
888
|
+
const Mt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
889
|
+
c.Positioner,
|
|
889
890
|
{
|
|
890
891
|
className: r(
|
|
891
892
|
"z-50 outline-none",
|
|
@@ -898,12 +899,12 @@ const ka = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
898
899
|
e
|
|
899
900
|
),
|
|
900
901
|
sideOffset: 8,
|
|
901
|
-
...
|
|
902
|
+
...t
|
|
902
903
|
}
|
|
903
904
|
);
|
|
904
|
-
|
|
905
|
-
const
|
|
906
|
-
|
|
905
|
+
Mt.displayName = "PopoverPositioner";
|
|
906
|
+
const kt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
907
|
+
c.Popup,
|
|
907
908
|
{
|
|
908
909
|
className: r(
|
|
909
910
|
"rounded-md bg-background px-4 py-3 text-foreground shadow-sm border relative",
|
|
@@ -918,31 +919,31 @@ const Pa = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
918
919
|
"origin-(--transform-origin)",
|
|
919
920
|
e
|
|
920
921
|
),
|
|
921
|
-
...
|
|
922
|
+
...t
|
|
922
923
|
}
|
|
923
924
|
);
|
|
924
|
-
|
|
925
|
-
const
|
|
926
|
-
|
|
925
|
+
kt.displayName = "PopoverPopup";
|
|
926
|
+
const Pt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
927
|
+
c.Arrow,
|
|
927
928
|
{
|
|
928
929
|
className: r(
|
|
929
930
|
"flex data-[side=bottom]:top-[-8px] data-[side=left]:right-[-13px] data-[side=left]:rotate-90 data-[side=right]:left-[-13px] data-[side=right]:-rotate-90 data-[side=top]:bottom-[-8px] data-[side=top]:rotate-180",
|
|
930
931
|
e
|
|
931
932
|
),
|
|
932
|
-
...
|
|
933
|
-
children: /* @__PURE__ */
|
|
933
|
+
...t,
|
|
934
|
+
children: /* @__PURE__ */ a(Tt, {})
|
|
934
935
|
}
|
|
935
936
|
);
|
|
936
|
-
function
|
|
937
|
-
return /* @__PURE__ */
|
|
938
|
-
/* @__PURE__ */
|
|
937
|
+
function Tt(e) {
|
|
938
|
+
return /* @__PURE__ */ N("svg", { width: "20", height: "10", viewBox: "0 0 20 10", fill: "none", ...e, children: [
|
|
939
|
+
/* @__PURE__ */ a(
|
|
939
940
|
"path",
|
|
940
941
|
{
|
|
941
942
|
d: "M9.66437 2.60207L4.80758 6.97318C4.07308 7.63423 3.11989 8 2.13172 8H0V10H20V8H18.5349C17.5468 8 16.5936 7.63423 15.8591 6.97318L11.0023 2.60207C10.622 2.2598 10.0447 2.25979 9.66437 2.60207Z",
|
|
942
943
|
className: "fill-background"
|
|
943
944
|
}
|
|
944
945
|
),
|
|
945
|
-
/* @__PURE__ */
|
|
946
|
+
/* @__PURE__ */ a(
|
|
946
947
|
"path",
|
|
947
948
|
{
|
|
948
949
|
d: "M10.3333 3.34539L5.47654 7.71648C4.55842 8.54279 3.36693 9 2.13172 9H0V8H2.13172C3.11989 8 4.07308 7.63423 4.80758 6.97318L9.66437 2.60207C10.0447 2.25979 10.622 2.2598 11.0023 2.60207L15.8591 6.97318C16.5936 7.63423 17.5468 8 18.5349 8H20V9H18.5349C17.2998 9 16.1083 8.54278 15.1901 7.71648L10.3333 3.34539Z",
|
|
@@ -951,92 +952,92 @@ function Ca(e) {
|
|
|
951
952
|
)
|
|
952
953
|
] });
|
|
953
954
|
}
|
|
954
|
-
|
|
955
|
-
const
|
|
956
|
-
|
|
957
|
-
const
|
|
958
|
-
|
|
959
|
-
const
|
|
960
|
-
|
|
961
|
-
const
|
|
962
|
-
|
|
963
|
-
const
|
|
964
|
-
|
|
965
|
-
const
|
|
966
|
-
|
|
955
|
+
Pt.displayName = "PopoverArrow";
|
|
956
|
+
const Dt = ({ className: e, ...t }) => /* @__PURE__ */ a(c.Title, { className: r("text-sm font-semibold", e), ...t });
|
|
957
|
+
Dt.displayName = "PopoverTitle";
|
|
958
|
+
const Rt = ({ className: e, ...t }) => /* @__PURE__ */ a(c.Description, { className: r("text-sm", e), ...t });
|
|
959
|
+
Rt.displayName = "PopoverDescription";
|
|
960
|
+
const At = ({ className: e, ...t }) => /* @__PURE__ */ a(c.Close, { className: r(e), ...t });
|
|
961
|
+
At.displayName = "PopoverClose";
|
|
962
|
+
const It = ({ className: e, ...t }) => /* @__PURE__ */ a(c.Viewport, { className: r(e), ...t });
|
|
963
|
+
It.displayName = "PopoverViewport";
|
|
964
|
+
const zt = ({ className: e, ...t }) => /* @__PURE__ */ a(C.Root, { className: r("w-full", e), ...t });
|
|
965
|
+
zt.displayName = "ProgressRoot";
|
|
966
|
+
const St = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
967
|
+
C.Track,
|
|
967
968
|
{
|
|
968
969
|
className: r(
|
|
969
970
|
"relative h-2 w-full overflow-hidden rounded-full bg-primary/20",
|
|
970
971
|
e
|
|
971
972
|
),
|
|
972
|
-
...
|
|
973
|
+
...t
|
|
973
974
|
}
|
|
974
975
|
);
|
|
975
|
-
|
|
976
|
-
const
|
|
977
|
-
|
|
976
|
+
St.displayName = "ProgressTrack";
|
|
977
|
+
const Vt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
978
|
+
C.Indicator,
|
|
978
979
|
{
|
|
979
980
|
className: r(
|
|
980
981
|
"h-full rounded-full bg-primary transition-all duration-1000 ease-out-expo",
|
|
981
982
|
e
|
|
982
983
|
),
|
|
983
|
-
...
|
|
984
|
+
...t
|
|
984
985
|
}
|
|
985
986
|
);
|
|
986
|
-
|
|
987
|
-
const
|
|
988
|
-
|
|
987
|
+
Vt.displayName = "ProgressIndicator";
|
|
988
|
+
const Lt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
989
|
+
C.Value,
|
|
989
990
|
{
|
|
990
991
|
className: r("text-sm font-medium text-foreground", e),
|
|
991
|
-
...
|
|
992
|
+
...t
|
|
992
993
|
}
|
|
993
994
|
);
|
|
994
|
-
|
|
995
|
-
const
|
|
996
|
-
|
|
995
|
+
Lt.displayName = "ProgressValue";
|
|
996
|
+
const Ht = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
997
|
+
C.Label,
|
|
997
998
|
{
|
|
998
999
|
className: r("text-sm font-medium text-foreground", e),
|
|
999
|
-
...
|
|
1000
|
+
...t
|
|
1000
1001
|
}
|
|
1001
1002
|
);
|
|
1002
|
-
|
|
1003
|
-
const
|
|
1003
|
+
Ht.displayName = "ProgressLabel";
|
|
1004
|
+
const _t = ({ className: e, orientation: t, ...o }) => /* @__PURE__ */ a(
|
|
1004
1005
|
B,
|
|
1005
1006
|
{
|
|
1006
|
-
orientation:
|
|
1007
|
+
orientation: t,
|
|
1007
1008
|
className: r(
|
|
1008
1009
|
"inline-flex",
|
|
1009
|
-
|
|
1010
|
+
t === "vertical" && "flex-col",
|
|
1010
1011
|
// Connected items: collapse borders, round only outer corners
|
|
1011
1012
|
"*:rounded-none [&>*:not(:first-child)]:-ml-px",
|
|
1012
1013
|
"[&>*:first-child]:rounded-l-md [&>*:last-child]:rounded-r-md",
|
|
1013
1014
|
// Vertical orientation adjustments
|
|
1014
|
-
|
|
1015
|
+
t === "vertical" && "[&>*:not(:first-child)]:ml-0 [&>*:not(:first-child)]:-mt-px [&>*:first-child]:rounded-bl-none [&>*:last-child]:rounded-r-none [&>*:first-child]:rounded-t-md [&>*:last-child]:rounded-b-md",
|
|
1015
1016
|
e
|
|
1016
1017
|
),
|
|
1017
1018
|
...o
|
|
1018
1019
|
}
|
|
1019
1020
|
);
|
|
1020
|
-
|
|
1021
|
-
const
|
|
1021
|
+
_t.displayName = "ToggleGroupRoot";
|
|
1022
|
+
const Gt = ({
|
|
1022
1023
|
className: e,
|
|
1023
|
-
variant:
|
|
1024
|
+
variant: t,
|
|
1024
1025
|
size: o,
|
|
1025
1026
|
...s
|
|
1026
|
-
}) => /* @__PURE__ */
|
|
1027
|
-
|
|
1027
|
+
}) => /* @__PURE__ */ a(
|
|
1028
|
+
A,
|
|
1028
1029
|
{
|
|
1029
1030
|
className: r(
|
|
1030
|
-
|
|
1031
|
+
S({ variant: t, size: o }),
|
|
1031
1032
|
// Ghost variant in toggle-group: add borders, no background when pressed
|
|
1032
|
-
|
|
1033
|
+
t === "ghost" && "border border-border",
|
|
1033
1034
|
e
|
|
1034
1035
|
),
|
|
1035
1036
|
...s
|
|
1036
1037
|
}
|
|
1037
1038
|
);
|
|
1038
|
-
|
|
1039
|
-
const
|
|
1039
|
+
Gt.displayName = "ToggleGroupItem";
|
|
1040
|
+
const Bt = m("rounded-lg bg-card text-card-foreground transition-colors", {
|
|
1040
1041
|
variants: {
|
|
1041
1042
|
variant: {
|
|
1042
1043
|
default: "border shadow-sm",
|
|
@@ -1047,18 +1048,18 @@ const Ba = u("rounded-lg bg-card text-card-foreground transition-colors", {
|
|
|
1047
1048
|
defaultVariants: {
|
|
1048
1049
|
variant: "default"
|
|
1049
1050
|
}
|
|
1050
|
-
}),
|
|
1051
|
-
({ className: e, variant:
|
|
1051
|
+
}), jt = x.forwardRef(
|
|
1052
|
+
({ className: e, variant: t, ...o }, s) => /* @__PURE__ */ a(
|
|
1052
1053
|
"article",
|
|
1053
1054
|
{
|
|
1054
1055
|
ref: s,
|
|
1055
|
-
className: r(
|
|
1056
|
+
className: r(Bt({ variant: t }), e),
|
|
1056
1057
|
...o
|
|
1057
1058
|
}
|
|
1058
1059
|
)
|
|
1059
1060
|
);
|
|
1060
|
-
|
|
1061
|
-
const
|
|
1061
|
+
jt.displayName = "CardRoot";
|
|
1062
|
+
const Ft = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1062
1063
|
"div",
|
|
1063
1064
|
{
|
|
1064
1065
|
className: r(
|
|
@@ -1066,136 +1067,320 @@ const ja = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
1066
1067
|
"[&>img]:h-full [&>img]:w-full [&>img]:object-cover",
|
|
1067
1068
|
e
|
|
1068
1069
|
),
|
|
1069
|
-
...
|
|
1070
|
+
...t
|
|
1070
1071
|
}
|
|
1071
1072
|
);
|
|
1072
|
-
|
|
1073
|
-
const
|
|
1074
|
-
|
|
1075
|
-
const
|
|
1073
|
+
Ft.displayName = "CardMedia";
|
|
1074
|
+
const Zt = ({ className: e, ...t }) => /* @__PURE__ */ a("header", { className: r("flex flex-col gap-1 p-4", e), ...t });
|
|
1075
|
+
Zt.displayName = "CardHeader";
|
|
1076
|
+
const $t = ({ as: e = "h3", className: t, ...o }) => /* @__PURE__ */ a(
|
|
1076
1077
|
e,
|
|
1077
1078
|
{
|
|
1078
|
-
className: r("text-base font-semibold leading-tight",
|
|
1079
|
+
className: r("text-base font-semibold leading-tight", t),
|
|
1079
1080
|
...o
|
|
1080
1081
|
}
|
|
1081
1082
|
);
|
|
1082
|
-
|
|
1083
|
-
const
|
|
1084
|
-
|
|
1085
|
-
const
|
|
1086
|
-
|
|
1087
|
-
const
|
|
1088
|
-
|
|
1089
|
-
const
|
|
1090
|
-
|
|
1083
|
+
$t.displayName = "CardTitle";
|
|
1084
|
+
const qt = ({ className: e, ...t }) => /* @__PURE__ */ a("p", { className: r("text-sm", e), ...t });
|
|
1085
|
+
qt.displayName = "CardDescription";
|
|
1086
|
+
const Ot = ({ className: e, ...t }) => /* @__PURE__ */ a("div", { className: r("p-4 pt-0", e), ...t });
|
|
1087
|
+
Ot.displayName = "CardContent";
|
|
1088
|
+
const Et = ({ className: e, ...t }) => /* @__PURE__ */ a("section", { className: r("p-4", e), ...t });
|
|
1089
|
+
Et.displayName = "CardSection";
|
|
1090
|
+
const Jt = ({ className: e, ...t }) => /* @__PURE__ */ a("footer", { className: r("flex items-center p-4", e), ...t });
|
|
1091
|
+
Jt.displayName = "CardFooter";
|
|
1092
|
+
const Kt = (e) => /* @__PURE__ */ a(i.Root, { ...e });
|
|
1093
|
+
Kt.displayName = "ContextMenuRoot";
|
|
1094
|
+
const Qt = ({ className: e, ...t }) => /* @__PURE__ */ a(i.Trigger, { className: r(e), ...t });
|
|
1095
|
+
Qt.displayName = "ContextMenuTrigger";
|
|
1096
|
+
const Ut = (e) => /* @__PURE__ */ a(i.Portal, { ...e });
|
|
1097
|
+
Ut.displayName = "ContextMenuPortal";
|
|
1098
|
+
const Wt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1099
|
+
i.Positioner,
|
|
1100
|
+
{
|
|
1101
|
+
className: r("z-50 outline-none", e),
|
|
1102
|
+
sideOffset: 3,
|
|
1103
|
+
...t
|
|
1104
|
+
}
|
|
1105
|
+
);
|
|
1106
|
+
Wt.displayName = "ContextMenuPositioner";
|
|
1107
|
+
const Xt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1108
|
+
i.Popup,
|
|
1109
|
+
{
|
|
1110
|
+
className: r(
|
|
1111
|
+
"rounded-md bg-background p-1 text-foreground shadow-sm border border-border transition-[transform,scale,opacity] data-ending-style:scale-90 data-ending-style:opacity-0 data-starting-style:scale-0 data-starting-style:opacity-0 dark:shadow-none",
|
|
1112
|
+
"min-w-[8rem]",
|
|
1113
|
+
e
|
|
1114
|
+
),
|
|
1115
|
+
...t
|
|
1116
|
+
}
|
|
1117
|
+
);
|
|
1118
|
+
Xt.displayName = "ContextMenuPopup";
|
|
1119
|
+
const Yt = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1120
|
+
i.Arrow,
|
|
1121
|
+
{
|
|
1122
|
+
className: r(
|
|
1123
|
+
"flex data-[side=bottom]:top-[-8px] data-[side=left]:right-[-13px] data-[side=left]:rotate-90 data-[side=right]:left-[-13px] data-[side=right]:-rotate-90 data-[side=top]:bottom-[-8px] data-[side=top]:rotate-180",
|
|
1124
|
+
e
|
|
1125
|
+
),
|
|
1126
|
+
...t,
|
|
1127
|
+
children: /* @__PURE__ */ a(ea, {})
|
|
1128
|
+
}
|
|
1129
|
+
);
|
|
1130
|
+
function ea(e) {
|
|
1131
|
+
return /* @__PURE__ */ N("svg", { width: "20", height: "10", viewBox: "0 0 20 10", fill: "none", ...e, children: [
|
|
1132
|
+
/* @__PURE__ */ a(
|
|
1133
|
+
"path",
|
|
1134
|
+
{
|
|
1135
|
+
d: "M9.66437 2.60207L4.80758 6.97318C4.07308 7.63423 3.11989 8 2.13172 8H0V10H20V8H18.5349C17.5468 8 16.5936 7.63423 15.8591 6.97318L11.0023 2.60207C10.622 2.2598 10.0447 2.25979 9.66437 2.60207Z",
|
|
1136
|
+
className: "fill-background"
|
|
1137
|
+
}
|
|
1138
|
+
),
|
|
1139
|
+
/* @__PURE__ */ a(
|
|
1140
|
+
"path",
|
|
1141
|
+
{
|
|
1142
|
+
d: "M10.3333 3.34539L5.47654 7.71648C4.55842 8.54279 3.36693 9 2.13172 9H0V8H2.13172C3.11989 8 4.07308 7.63423 4.80758 6.97318L9.66437 2.60207C10.0447 2.25979 10.622 2.2598 11.0023 2.60207L15.8591 6.97318C16.5936 7.63423 17.5468 8 18.5349 8H20V9H18.5349C17.2998 9 16.1083 8.54278 15.1901 7.71648L10.3333 3.34539Z",
|
|
1143
|
+
className: "fill-border"
|
|
1144
|
+
}
|
|
1145
|
+
)
|
|
1146
|
+
] });
|
|
1147
|
+
}
|
|
1148
|
+
Yt.displayName = "ContextMenuArrow";
|
|
1149
|
+
const ta = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1150
|
+
i.Item,
|
|
1151
|
+
{
|
|
1152
|
+
className: r(
|
|
1153
|
+
d({ variant: "ghost", size: "sm" }),
|
|
1154
|
+
"flex justify-start",
|
|
1155
|
+
e
|
|
1156
|
+
),
|
|
1157
|
+
...t
|
|
1158
|
+
}
|
|
1159
|
+
);
|
|
1160
|
+
ta.displayName = "ContextMenuItem";
|
|
1161
|
+
const aa = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1162
|
+
i.Separator,
|
|
1163
|
+
{
|
|
1164
|
+
className: r("-mx-1 my-1 h-px bg-border", e),
|
|
1165
|
+
...t
|
|
1166
|
+
}
|
|
1167
|
+
);
|
|
1168
|
+
aa.displayName = "ContextMenuSeparator";
|
|
1169
|
+
const ra = ({ className: e, ...t }) => /* @__PURE__ */ a(i.Group, { className: r(e), ...t });
|
|
1170
|
+
ra.displayName = "ContextMenuGroup";
|
|
1171
|
+
const oa = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1172
|
+
i.GroupLabel,
|
|
1173
|
+
{
|
|
1174
|
+
className: r("px-3 py-1.5 text-sm font-semibold", e),
|
|
1175
|
+
...t
|
|
1176
|
+
}
|
|
1177
|
+
);
|
|
1178
|
+
oa.displayName = "ContextMenuGroupLabel";
|
|
1179
|
+
const sa = ({ className: e, ...t }) => /* @__PURE__ */ a(i.RadioGroup, { className: r(e), ...t });
|
|
1180
|
+
sa.displayName = "ContextMenuRadioGroup";
|
|
1181
|
+
const na = ({ className: e, ...t }) => /* @__PURE__ */ a(
|
|
1182
|
+
i.RadioItem,
|
|
1183
|
+
{
|
|
1184
|
+
className: r(
|
|
1185
|
+
d({ variant: "ghost", size: "sm" }),
|
|
1186
|
+
"grid grid-cols-[0.75rem_1fr] gap-2",
|
|
1187
|
+
e
|
|
1188
|
+
),
|
|
1189
|
+
...t
|
|
1190
|
+
}
|
|
1191
|
+
);
|
|
1192
|
+
na.displayName = "ContextMenuRadioItem";
|
|
1193
|
+
const ia = ({
|
|
1194
|
+
className: e,
|
|
1195
|
+
...t
|
|
1196
|
+
}) => /* @__PURE__ */ a(
|
|
1197
|
+
i.CheckboxItem,
|
|
1198
|
+
{
|
|
1199
|
+
className: r(
|
|
1200
|
+
d({ variant: "ghost", size: "sm" }),
|
|
1201
|
+
"grid grid-cols-[0.75rem_1fr] gap-2",
|
|
1202
|
+
e
|
|
1203
|
+
),
|
|
1204
|
+
...t
|
|
1205
|
+
}
|
|
1206
|
+
);
|
|
1207
|
+
ia.displayName = "ContextMenuCheckboxItem";
|
|
1208
|
+
const la = ({
|
|
1209
|
+
className: e,
|
|
1210
|
+
...t
|
|
1211
|
+
}) => /* @__PURE__ */ a(
|
|
1212
|
+
i.RadioItemIndicator,
|
|
1213
|
+
{
|
|
1214
|
+
className: r("col-start-1", e),
|
|
1215
|
+
...t
|
|
1216
|
+
}
|
|
1217
|
+
);
|
|
1218
|
+
la.displayName = "ContextMenuRadioItemIndicator";
|
|
1219
|
+
const da = ({
|
|
1220
|
+
className: e,
|
|
1221
|
+
...t
|
|
1222
|
+
}) => /* @__PURE__ */ a(
|
|
1223
|
+
i.CheckboxItemIndicator,
|
|
1224
|
+
{
|
|
1225
|
+
className: r("col-start-1", e),
|
|
1226
|
+
...t
|
|
1227
|
+
}
|
|
1228
|
+
);
|
|
1229
|
+
da.displayName = "ContextMenuCheckboxItemIndicator";
|
|
1230
|
+
const ca = ({
|
|
1231
|
+
className: e,
|
|
1232
|
+
...t
|
|
1233
|
+
}) => /* @__PURE__ */ a("span", { className: r("col-start-2", e), ...t });
|
|
1234
|
+
ca.displayName = "ContextMenuCheckboxItemLabel";
|
|
1235
|
+
const ua = ({
|
|
1236
|
+
className: e,
|
|
1237
|
+
...t
|
|
1238
|
+
}) => /* @__PURE__ */ a("span", { className: r("col-start-2", e), ...t });
|
|
1239
|
+
ua.displayName = "ContextMenuRadioItemLabel";
|
|
1240
|
+
const ma = ({
|
|
1241
|
+
className: e,
|
|
1242
|
+
...t
|
|
1243
|
+
}) => /* @__PURE__ */ a(
|
|
1244
|
+
i.SubmenuTrigger,
|
|
1245
|
+
{
|
|
1246
|
+
className: r(
|
|
1247
|
+
d({ variant: "ghost", size: "sm" }),
|
|
1248
|
+
"flex justify-between",
|
|
1249
|
+
e
|
|
1250
|
+
),
|
|
1251
|
+
...t
|
|
1252
|
+
}
|
|
1253
|
+
);
|
|
1254
|
+
ma.displayName = "ContextMenuSubmenuTrigger";
|
|
1255
|
+
const pa = (e) => /* @__PURE__ */ a(i.SubmenuRoot, { ...e });
|
|
1256
|
+
pa.displayName = "ContextMenuSubmenuRoot";
|
|
1091
1257
|
export {
|
|
1092
1258
|
Ee as AccordionHeader,
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1259
|
+
Oe as AccordionItem,
|
|
1260
|
+
Ke as AccordionPanel,
|
|
1261
|
+
qe as AccordionRoot,
|
|
1262
|
+
Je as AccordionTrigger,
|
|
1263
|
+
Ga as AlertDialog,
|
|
1264
|
+
J as AlertDialogBackdrop,
|
|
1265
|
+
Y as AlertDialogClose,
|
|
1266
|
+
X as AlertDialogDescription,
|
|
1267
|
+
U as AlertDialogPopup,
|
|
1102
1268
|
E as AlertDialogPortal,
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1269
|
+
q as AlertDialogRoot,
|
|
1270
|
+
W as AlertDialogTitle,
|
|
1271
|
+
O as AlertDialogTrigger,
|
|
1272
|
+
K as AlertDialogViewport,
|
|
1273
|
+
te as AvatarFallback,
|
|
1274
|
+
ee as AvatarImage,
|
|
1109
1275
|
z as AvatarRoot,
|
|
1110
1276
|
ae as AvatarStack,
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1277
|
+
j as Button,
|
|
1278
|
+
Ot as CardContent,
|
|
1279
|
+
qt as CardDescription,
|
|
1280
|
+
Jt as CardFooter,
|
|
1281
|
+
Zt as CardHeader,
|
|
1282
|
+
Ft as CardMedia,
|
|
1283
|
+
jt as CardRoot,
|
|
1284
|
+
Et as CardSection,
|
|
1285
|
+
$t as CardTitle,
|
|
1286
|
+
$ as CollapsiblePanel,
|
|
1287
|
+
F as CollapsibleRoot,
|
|
1288
|
+
Z as CollapsibleTrigger,
|
|
1289
|
+
Yt as ContextMenuArrow,
|
|
1290
|
+
ia as ContextMenuCheckboxItem,
|
|
1291
|
+
da as ContextMenuCheckboxItemIndicator,
|
|
1292
|
+
ca as ContextMenuCheckboxItemLabel,
|
|
1293
|
+
ra as ContextMenuGroup,
|
|
1294
|
+
oa as ContextMenuGroupLabel,
|
|
1295
|
+
ta as ContextMenuItem,
|
|
1296
|
+
Xt as ContextMenuPopup,
|
|
1297
|
+
Ut as ContextMenuPortal,
|
|
1298
|
+
Wt as ContextMenuPositioner,
|
|
1299
|
+
sa as ContextMenuRadioGroup,
|
|
1300
|
+
na as ContextMenuRadioItem,
|
|
1301
|
+
la as ContextMenuRadioItemIndicator,
|
|
1302
|
+
ua as ContextMenuRadioItemLabel,
|
|
1303
|
+
Kt as ContextMenuRoot,
|
|
1304
|
+
aa as ContextMenuSeparator,
|
|
1305
|
+
pa as ContextMenuSubmenuRoot,
|
|
1306
|
+
ma as ContextMenuSubmenuTrigger,
|
|
1307
|
+
Qt as ContextMenuTrigger,
|
|
1308
|
+
Me as DialogBackdrop,
|
|
1309
|
+
Re as DialogClose,
|
|
1310
|
+
De as DialogDescription,
|
|
1311
|
+
Ie as DialogFooter,
|
|
1312
|
+
Ae as DialogHeader,
|
|
1313
|
+
Pe as DialogPopup,
|
|
1314
|
+
Ce as DialogPortal,
|
|
1315
|
+
ve as DialogRoot,
|
|
1316
|
+
Te as DialogTitle,
|
|
1317
|
+
we as DialogTrigger,
|
|
1318
|
+
Le as DrawerBackdrop,
|
|
1319
|
+
je as DrawerClose,
|
|
1320
|
+
Ze as DrawerContent,
|
|
1136
1321
|
Be as DrawerDescription,
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1322
|
+
$e as DrawerFooter,
|
|
1323
|
+
Fe as DrawerHeader,
|
|
1324
|
+
_e as DrawerPopup,
|
|
1325
|
+
Ve as DrawerPortal,
|
|
1141
1326
|
ze as DrawerRoot,
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1327
|
+
Ge as DrawerTitle,
|
|
1328
|
+
Se as DrawerTrigger,
|
|
1329
|
+
st as MenuArrow,
|
|
1330
|
+
pt as MenuCheckboxItem,
|
|
1331
|
+
ft as MenuCheckboxItemIndicator,
|
|
1332
|
+
bt as MenuCheckboxItemLabel,
|
|
1333
|
+
dt as MenuGroup,
|
|
1334
|
+
ct as MenuGroupLabel,
|
|
1335
|
+
it as MenuItem,
|
|
1336
|
+
ot as MenuPopup,
|
|
1337
|
+
at as MenuPortal,
|
|
1338
|
+
rt as MenuPositioner,
|
|
1339
|
+
ut as MenuRadioGroup,
|
|
1340
|
+
mt as MenuRadioItem,
|
|
1341
|
+
gt as MenuRadioItemIndicator,
|
|
1342
|
+
yt as MenuRadioItemLabel,
|
|
1343
|
+
et as MenuRoot,
|
|
1344
|
+
lt as MenuSeparator,
|
|
1345
|
+
xt as MenuSubmenuRoot,
|
|
1346
|
+
Nt as MenuSubmenuTrigger,
|
|
1347
|
+
tt as MenuTrigger,
|
|
1348
|
+
We as MeterIndicator,
|
|
1349
|
+
Ye as MeterLabel,
|
|
1350
|
+
Qe as MeterRoot,
|
|
1351
|
+
Ue as MeterTrack,
|
|
1352
|
+
Xe as MeterValue,
|
|
1353
|
+
Pt as PopoverArrow,
|
|
1354
|
+
Ct as PopoverBackdrop,
|
|
1355
|
+
At as PopoverClose,
|
|
1356
|
+
Rt as PopoverDescription,
|
|
1357
|
+
kt as PopoverPopup,
|
|
1358
|
+
wt as PopoverPortal,
|
|
1359
|
+
Mt as PopoverPositioner,
|
|
1360
|
+
ht as PopoverRoot,
|
|
1361
|
+
Dt as PopoverTitle,
|
|
1362
|
+
vt as PopoverTrigger,
|
|
1363
|
+
It as PopoverViewport,
|
|
1364
|
+
Vt as ProgressIndicator,
|
|
1365
|
+
Ht as ProgressLabel,
|
|
1366
|
+
zt as ProgressRoot,
|
|
1367
|
+
St as ProgressTrack,
|
|
1368
|
+
Lt as ProgressValue,
|
|
1369
|
+
se as ScrollAreaContent,
|
|
1370
|
+
le as ScrollAreaCorner,
|
|
1371
|
+
re as ScrollAreaRoot,
|
|
1372
|
+
ne as ScrollAreaScrollbar,
|
|
1373
|
+
ie as ScrollAreaThumb,
|
|
1374
|
+
oe as ScrollAreaViewport,
|
|
1375
|
+
de as Separator,
|
|
1376
|
+
ce as SwitchRoot,
|
|
1377
|
+
ue as SwitchThumb,
|
|
1378
|
+
xe as TabsIndicator,
|
|
1379
|
+
fe as TabsList,
|
|
1195
1380
|
he as TabsPanel,
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1381
|
+
pe as TabsRoot,
|
|
1382
|
+
ye as TabsTab,
|
|
1383
|
+
me as Toggle,
|
|
1384
|
+
Gt as ToggleGroupItem,
|
|
1385
|
+
_t as ToggleGroupRoot
|
|
1201
1386
|
};
|