@chaibuilder/sdk 3.0.18 → 3.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/apply-binding-BIYK6lOq.cjs +1 -0
- package/dist/{apply-binding-B0CX8mDS.js → apply-binding-YbVf4970.js} +214 -170
- package/dist/{code-editor-e5WfREx8.js → code-editor-D2wFgjMt.js} +11 -11
- package/dist/code-editor-DJwScFxt.cjs +1 -0
- package/dist/core.cjs +1 -126
- package/dist/core.js +97 -10670
- package/dist/css-import-modal-BQLoUINw.cjs +13 -0
- package/dist/{css-import-modal-CSVrt6lz.js → css-import-modal-DaH4zyxk.js} +1 -1
- package/dist/index-DVZxqBpz.js +10686 -0
- package/dist/index-JBLy9hg-.cjs +128 -0
- package/dist/render.cjs +1 -1
- package/dist/render.js +2 -2
- package/dist/rte-widget-modal-CnY4bSfN.cjs +1 -0
- package/dist/rte-widget-modal-gfRmNGNM.js +41 -0
- package/dist/sdk.css +1 -1
- package/dist/{toggle-C5YXnEL9.js → tooltip-Bz2MxMHf.js} +405 -405
- package/dist/tooltip-CzZ7Fvt7.cjs +1 -0
- package/dist/ui.cjs +1 -1
- package/dist/ui.js +1 -1
- package/dist/web-blocks.cjs +1 -1
- package/dist/web-blocks.js +25 -27
- package/package.json +2 -1
- package/dist/apply-binding-DSgP62np.cjs +0 -1
- package/dist/code-editor-D5uDqrW1.cjs +0 -1
- package/dist/css-import-modal-Cm49bHmT.cjs +0 -13
- package/dist/toggle-Ca6BayTf.cjs +0 -1
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import { jsx as o, jsxs as p } from "react/jsx-runtime";
|
|
2
2
|
import * as i from "@radix-ui/react-dropdown-menu";
|
|
3
|
-
import { ChevronRightIcon as D, CheckIcon as S, CircleIcon as I,
|
|
3
|
+
import { ChevronRightIcon as D, CheckIcon as S, CircleIcon as I, ChevronDownIcon as k, Cross1Icon as z, MagnifyingGlassIcon as U, ChevronUpIcon as E } from "@radix-ui/react-icons";
|
|
4
4
|
import * as r from "react";
|
|
5
|
-
import { cva as N } from "class-variance-authority";
|
|
6
|
-
import { Command as u } from "cmdk";
|
|
7
|
-
import * as d from "@radix-ui/react-dialog";
|
|
8
|
-
import * as h from "@radix-ui/react-popover";
|
|
9
|
-
import * as y from "@radix-ui/react-tooltip";
|
|
10
5
|
import * as b from "@radix-ui/react-accordion";
|
|
6
|
+
import { cva as N } from "class-variance-authority";
|
|
11
7
|
import * as f from "@radix-ui/react-alert-dialog";
|
|
12
8
|
import { Slot as q } from "@radix-ui/react-slot";
|
|
13
9
|
import * as v from "@radix-ui/react-avatar";
|
|
10
|
+
import { Command as u } from "cmdk";
|
|
11
|
+
import * as d from "@radix-ui/react-dialog";
|
|
14
12
|
import * as l from "@radix-ui/react-context-menu";
|
|
15
13
|
import * as C from "@radix-ui/react-hover-card";
|
|
16
14
|
import * as A from "@radix-ui/react-label";
|
|
15
|
+
import * as h from "@radix-ui/react-popover";
|
|
17
16
|
import * as g from "@radix-ui/react-scroll-area";
|
|
18
17
|
import * as c from "@radix-ui/react-select";
|
|
19
18
|
import * as P from "@radix-ui/react-separator";
|
|
@@ -21,6 +20,7 @@ import * as w from "@radix-ui/react-slider";
|
|
|
21
20
|
import * as R from "@radix-ui/react-switch";
|
|
22
21
|
import * as x from "@radix-ui/react-tabs";
|
|
23
22
|
import * as M from "@radix-ui/react-toggle";
|
|
23
|
+
import * as y from "@radix-ui/react-tooltip";
|
|
24
24
|
import { clsx as $ } from "clsx";
|
|
25
25
|
import { twMerge as J } from "tailwind-merge";
|
|
26
26
|
function s(...a) {
|
|
@@ -163,7 +163,42 @@ const te = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(i.Separ
|
|
|
163
163
|
te.displayName = i.Separator.displayName;
|
|
164
164
|
const oe = ({ className: a, ...e }) => /* @__PURE__ */ o("span", { className: s("ml-auto text-xs tracking-widest opacity-60", a), ...e });
|
|
165
165
|
oe.displayName = "DropdownMenuShortcut";
|
|
166
|
-
const se =
|
|
166
|
+
const Ha = b.Root, se = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
167
|
+
b.Item,
|
|
168
|
+
{
|
|
169
|
+
ref: t,
|
|
170
|
+
className: s("border-b", a),
|
|
171
|
+
...e
|
|
172
|
+
}
|
|
173
|
+
));
|
|
174
|
+
se.displayName = "AccordionItem";
|
|
175
|
+
const re = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ o(b.Header, { className: "flex", children: /* @__PURE__ */ p(
|
|
176
|
+
b.Trigger,
|
|
177
|
+
{
|
|
178
|
+
ref: n,
|
|
179
|
+
className: s(
|
|
180
|
+
"flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180",
|
|
181
|
+
a
|
|
182
|
+
),
|
|
183
|
+
...t,
|
|
184
|
+
children: [
|
|
185
|
+
e,
|
|
186
|
+
/* @__PURE__ */ o(k, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
|
|
187
|
+
]
|
|
188
|
+
}
|
|
189
|
+
) }));
|
|
190
|
+
re.displayName = b.Trigger.displayName;
|
|
191
|
+
const ne = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ o(
|
|
192
|
+
b.Content,
|
|
193
|
+
{
|
|
194
|
+
ref: n,
|
|
195
|
+
className: "overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
|
|
196
|
+
...t,
|
|
197
|
+
children: /* @__PURE__ */ o("div", { className: s("pb-4 pt-0", a), children: e })
|
|
198
|
+
}
|
|
199
|
+
));
|
|
200
|
+
ne.displayName = b.Content.displayName;
|
|
201
|
+
const de = N(
|
|
167
202
|
"relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",
|
|
168
203
|
{
|
|
169
204
|
variants: {
|
|
@@ -176,32 +211,137 @@ const se = N(
|
|
|
176
211
|
variant: "default"
|
|
177
212
|
}
|
|
178
213
|
}
|
|
179
|
-
),
|
|
180
|
-
|
|
181
|
-
const
|
|
214
|
+
), ie = r.forwardRef(({ className: a, variant: e, ...t }, n) => /* @__PURE__ */ o("div", { ref: n, role: "alert", className: s(de({ variant: e }), a), ...t }));
|
|
215
|
+
ie.displayName = "Alert";
|
|
216
|
+
const le = r.forwardRef(
|
|
182
217
|
({ className: a, ...e }, t) => /* @__PURE__ */ o("h5", { ref: t, className: s("mb-1 font-medium leading-none tracking-tight", a), ...e })
|
|
183
218
|
);
|
|
184
|
-
|
|
185
|
-
const
|
|
219
|
+
le.displayName = "AlertTitle";
|
|
220
|
+
const ce = r.forwardRef(
|
|
186
221
|
({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("text-sm [&_p]:leading-relaxed", a), ...e })
|
|
187
222
|
);
|
|
188
|
-
|
|
189
|
-
const
|
|
190
|
-
|
|
191
|
-
|
|
223
|
+
ce.displayName = "AlertDescription";
|
|
224
|
+
const Fa = f.Root, Ba = f.Trigger, me = f.Portal, _ = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
225
|
+
f.Overlay,
|
|
226
|
+
{
|
|
227
|
+
className: s(
|
|
228
|
+
"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",
|
|
229
|
+
a
|
|
230
|
+
),
|
|
231
|
+
...e,
|
|
232
|
+
ref: t
|
|
233
|
+
}
|
|
234
|
+
));
|
|
235
|
+
_.displayName = f.Overlay.displayName;
|
|
236
|
+
const pe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ p(me, { children: [
|
|
237
|
+
/* @__PURE__ */ o(_, {}),
|
|
238
|
+
/* @__PURE__ */ o(
|
|
239
|
+
f.Content,
|
|
192
240
|
{
|
|
193
|
-
|
|
241
|
+
ref: t,
|
|
194
242
|
className: s(
|
|
195
|
-
"
|
|
243
|
+
"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",
|
|
196
244
|
a
|
|
197
245
|
),
|
|
198
|
-
|
|
199
|
-
...t
|
|
246
|
+
...e
|
|
200
247
|
}
|
|
201
248
|
)
|
|
249
|
+
] }));
|
|
250
|
+
pe.displayName = f.Content.displayName;
|
|
251
|
+
const fe = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", a), ...e });
|
|
252
|
+
fe.displayName = "AlertDialogHeader";
|
|
253
|
+
const ue = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", a), ...e });
|
|
254
|
+
ue.displayName = "AlertDialogFooter";
|
|
255
|
+
const ge = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(f.Title, { ref: t, className: s("text-lg font-semibold", a), ...e }));
|
|
256
|
+
ge.displayName = f.Title.displayName;
|
|
257
|
+
const be = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(f.Description, { ref: t, className: s("text-sm text-muted-foreground", a), ...e }));
|
|
258
|
+
be.displayName = f.Description.displayName;
|
|
259
|
+
const xe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(f.Action, { ref: t, className: s(T(), a), ...e }));
|
|
260
|
+
xe.displayName = f.Action.displayName;
|
|
261
|
+
const he = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
262
|
+
f.Cancel,
|
|
263
|
+
{
|
|
264
|
+
ref: t,
|
|
265
|
+
className: s(T({ variant: "outline" }), "mt-2 sm:mt-0", a),
|
|
266
|
+
...e
|
|
267
|
+
}
|
|
268
|
+
));
|
|
269
|
+
he.displayName = f.Cancel.displayName;
|
|
270
|
+
const ye = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
271
|
+
v.Root,
|
|
272
|
+
{
|
|
273
|
+
ref: t,
|
|
274
|
+
className: s(
|
|
275
|
+
"relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",
|
|
276
|
+
a
|
|
277
|
+
),
|
|
278
|
+
...e
|
|
279
|
+
}
|
|
280
|
+
));
|
|
281
|
+
ye.displayName = v.Root.displayName;
|
|
282
|
+
const Ne = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
283
|
+
v.Image,
|
|
284
|
+
{
|
|
285
|
+
ref: t,
|
|
286
|
+
className: s("aspect-square h-full w-full", a),
|
|
287
|
+
...e
|
|
288
|
+
}
|
|
289
|
+
));
|
|
290
|
+
Ne.displayName = v.Image.displayName;
|
|
291
|
+
const ve = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
292
|
+
v.Fallback,
|
|
293
|
+
{
|
|
294
|
+
ref: t,
|
|
295
|
+
className: s(
|
|
296
|
+
"flex h-full w-full items-center justify-center rounded-full bg-muted",
|
|
297
|
+
a
|
|
298
|
+
),
|
|
299
|
+
...e
|
|
300
|
+
}
|
|
301
|
+
));
|
|
302
|
+
ve.displayName = v.Fallback.displayName;
|
|
303
|
+
const we = N(
|
|
304
|
+
"inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
|
|
305
|
+
{
|
|
306
|
+
variants: {
|
|
307
|
+
variant: {
|
|
308
|
+
default: "border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",
|
|
309
|
+
secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
310
|
+
destructive: "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",
|
|
311
|
+
outline: "text-foreground"
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
defaultVariants: {
|
|
315
|
+
variant: "default"
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
);
|
|
319
|
+
function Oa({ className: a, variant: e, ...t }) {
|
|
320
|
+
return /* @__PURE__ */ o("div", { className: s(we({ variant: e }), a), ...t });
|
|
321
|
+
}
|
|
322
|
+
const Ce = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("rounded-xl border bg-card text-card-foreground shadow", a), ...e }));
|
|
323
|
+
Ce.displayName = "Card";
|
|
324
|
+
const Re = r.forwardRef(
|
|
325
|
+
({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("flex flex-col space-y-1.5 p-6", a), ...e })
|
|
326
|
+
);
|
|
327
|
+
Re.displayName = "CardHeader";
|
|
328
|
+
const Se = r.forwardRef(
|
|
329
|
+
({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("font-semibold leading-none tracking-tight", a), ...e })
|
|
330
|
+
);
|
|
331
|
+
Se.displayName = "CardTitle";
|
|
332
|
+
const ke = r.forwardRef(
|
|
333
|
+
({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("text-sm text-muted-foreground", a), ...e })
|
|
202
334
|
);
|
|
203
|
-
|
|
204
|
-
const
|
|
335
|
+
ke.displayName = "CardDescription";
|
|
336
|
+
const Te = r.forwardRef(
|
|
337
|
+
({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("p-6 pt-0", a), ...e })
|
|
338
|
+
);
|
|
339
|
+
Te.displayName = "CardContent";
|
|
340
|
+
const De = r.forwardRef(
|
|
341
|
+
({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("flex items-center p-6 pt-0", a), ...e })
|
|
342
|
+
);
|
|
343
|
+
De.displayName = "CardFooter";
|
|
344
|
+
const Ie = d.Root, Ua = d.Trigger, ze = d.Portal, Ea = d.Close, j = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
205
345
|
d.Overlay,
|
|
206
346
|
{
|
|
207
347
|
ref: t,
|
|
@@ -212,9 +352,9 @@ const le = d.Root, Ha = d.Trigger, ce = d.Portal, Fa = d.Close, _ = r.forwardRef
|
|
|
212
352
|
...e
|
|
213
353
|
}
|
|
214
354
|
));
|
|
215
|
-
|
|
216
|
-
const
|
|
217
|
-
/* @__PURE__ */ o(
|
|
355
|
+
j.displayName = d.Overlay.displayName;
|
|
356
|
+
const L = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ p(ze, { children: [
|
|
357
|
+
/* @__PURE__ */ o(j, {}),
|
|
218
358
|
/* @__PURE__ */ p(
|
|
219
359
|
d.Content,
|
|
220
360
|
{
|
|
@@ -234,12 +374,12 @@ const j = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__
|
|
|
234
374
|
}
|
|
235
375
|
)
|
|
236
376
|
] }));
|
|
237
|
-
|
|
238
|
-
const
|
|
239
|
-
|
|
240
|
-
const
|
|
241
|
-
|
|
242
|
-
const
|
|
377
|
+
L.displayName = d.Content.displayName;
|
|
378
|
+
const Ae = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-1.5 text-center sm:text-left", a), ...e });
|
|
379
|
+
Ae.displayName = "DialogHeader";
|
|
380
|
+
const Pe = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", a), ...e });
|
|
381
|
+
Pe.displayName = "DialogFooter";
|
|
382
|
+
const Me = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
243
383
|
d.Title,
|
|
244
384
|
{
|
|
245
385
|
ref: t,
|
|
@@ -247,10 +387,10 @@ const fe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
247
387
|
...e
|
|
248
388
|
}
|
|
249
389
|
));
|
|
250
|
-
|
|
251
|
-
const
|
|
252
|
-
|
|
253
|
-
const
|
|
390
|
+
Me.displayName = d.Title.displayName;
|
|
391
|
+
const _e = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(d.Description, { ref: t, className: s("text-sm text-muted-foreground", a), ...e }));
|
|
392
|
+
_e.displayName = d.Description.displayName;
|
|
393
|
+
const V = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
254
394
|
u,
|
|
255
395
|
{
|
|
256
396
|
ref: t,
|
|
@@ -261,8 +401,8 @@ const L = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
261
401
|
...e
|
|
262
402
|
}
|
|
263
403
|
));
|
|
264
|
-
|
|
265
|
-
const
|
|
404
|
+
V.displayName = u.displayName;
|
|
405
|
+
const qa = ({ children: a, ...e }) => /* @__PURE__ */ o(Ie, { ...e, children: /* @__PURE__ */ o(L, { className: "overflow-hidden p-0", children: /* @__PURE__ */ o(V, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: a }) }) }), je = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ p("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
266
406
|
/* @__PURE__ */ o(U, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
|
267
407
|
/* @__PURE__ */ o(
|
|
268
408
|
u.Input,
|
|
@@ -276,8 +416,8 @@ const Ba = ({ children: a, ...e }) => /* @__PURE__ */ o(le, { ...e, children: /*
|
|
|
276
416
|
}
|
|
277
417
|
)
|
|
278
418
|
] }));
|
|
279
|
-
|
|
280
|
-
const
|
|
419
|
+
je.displayName = u.Input.displayName;
|
|
420
|
+
const Le = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
281
421
|
u.List,
|
|
282
422
|
{
|
|
283
423
|
ref: t,
|
|
@@ -285,8 +425,8 @@ const be = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
285
425
|
...e
|
|
286
426
|
}
|
|
287
427
|
));
|
|
288
|
-
|
|
289
|
-
const
|
|
428
|
+
Le.displayName = u.List.displayName;
|
|
429
|
+
const Ve = r.forwardRef((a, e) => /* @__PURE__ */ o(
|
|
290
430
|
u.Empty,
|
|
291
431
|
{
|
|
292
432
|
ref: e,
|
|
@@ -294,8 +434,8 @@ const xe = r.forwardRef((a, e) => /* @__PURE__ */ o(
|
|
|
294
434
|
...a
|
|
295
435
|
}
|
|
296
436
|
));
|
|
297
|
-
|
|
298
|
-
const
|
|
437
|
+
Ve.displayName = u.Empty.displayName;
|
|
438
|
+
const Ge = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
299
439
|
u.Group,
|
|
300
440
|
{
|
|
301
441
|
ref: t,
|
|
@@ -306,8 +446,8 @@ const he = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
306
446
|
...e
|
|
307
447
|
}
|
|
308
448
|
));
|
|
309
|
-
|
|
310
|
-
const
|
|
449
|
+
Ge.displayName = u.Group.displayName;
|
|
450
|
+
const He = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
311
451
|
u.Separator,
|
|
312
452
|
{
|
|
313
453
|
ref: t,
|
|
@@ -315,8 +455,8 @@ const ye = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
315
455
|
...e
|
|
316
456
|
}
|
|
317
457
|
));
|
|
318
|
-
|
|
319
|
-
const
|
|
458
|
+
He.displayName = u.Separator.displayName;
|
|
459
|
+
const Fe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
320
460
|
u.Item,
|
|
321
461
|
{
|
|
322
462
|
ref: t,
|
|
@@ -327,8 +467,8 @@ const Ne = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
327
467
|
...e
|
|
328
468
|
}
|
|
329
469
|
));
|
|
330
|
-
|
|
331
|
-
const
|
|
470
|
+
Fe.displayName = u.Item.displayName;
|
|
471
|
+
const Be = ({
|
|
332
472
|
className: a,
|
|
333
473
|
...e
|
|
334
474
|
}) => /* @__PURE__ */ o(
|
|
@@ -341,190 +481,8 @@ const ve = ({
|
|
|
341
481
|
...e
|
|
342
482
|
}
|
|
343
483
|
);
|
|
344
|
-
|
|
345
|
-
const
|
|
346
|
-
h.Content,
|
|
347
|
-
{
|
|
348
|
-
ref: m,
|
|
349
|
-
align: e,
|
|
350
|
-
sideOffset: t,
|
|
351
|
-
className: s(
|
|
352
|
-
"z-50 w-72 origin-[--radix-popover-content-transform-origin] rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",
|
|
353
|
-
a
|
|
354
|
-
),
|
|
355
|
-
...n
|
|
356
|
-
}
|
|
357
|
-
) }));
|
|
358
|
-
we.displayName = h.Content.displayName;
|
|
359
|
-
const qa = y.Provider, $a = y.Root, Ja = y.Trigger, Ce = r.forwardRef(({ className: a, sideOffset: e = 4, ...t }, n) => /* @__PURE__ */ o(y.Portal, { children: /* @__PURE__ */ o(
|
|
360
|
-
y.Content,
|
|
361
|
-
{
|
|
362
|
-
ref: n,
|
|
363
|
-
sideOffset: e,
|
|
364
|
-
className: s(
|
|
365
|
-
"z-50 origin-[--radix-tooltip-content-transform-origin] overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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",
|
|
366
|
-
a
|
|
367
|
-
),
|
|
368
|
-
...t
|
|
369
|
-
}
|
|
370
|
-
) }));
|
|
371
|
-
Ce.displayName = y.Content.displayName;
|
|
372
|
-
const Ka = b.Root, Re = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
373
|
-
b.Item,
|
|
374
|
-
{
|
|
375
|
-
ref: t,
|
|
376
|
-
className: s("border-b", a),
|
|
377
|
-
...e
|
|
378
|
-
}
|
|
379
|
-
));
|
|
380
|
-
Re.displayName = "AccordionItem";
|
|
381
|
-
const Se = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ o(b.Header, { className: "flex", children: /* @__PURE__ */ p(
|
|
382
|
-
b.Trigger,
|
|
383
|
-
{
|
|
384
|
-
ref: n,
|
|
385
|
-
className: s(
|
|
386
|
-
"flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180",
|
|
387
|
-
a
|
|
388
|
-
),
|
|
389
|
-
...t,
|
|
390
|
-
children: [
|
|
391
|
-
e,
|
|
392
|
-
/* @__PURE__ */ o(k, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
|
|
393
|
-
]
|
|
394
|
-
}
|
|
395
|
-
) }));
|
|
396
|
-
Se.displayName = b.Trigger.displayName;
|
|
397
|
-
const ke = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ o(
|
|
398
|
-
b.Content,
|
|
399
|
-
{
|
|
400
|
-
ref: n,
|
|
401
|
-
className: "overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
|
|
402
|
-
...t,
|
|
403
|
-
children: /* @__PURE__ */ o("div", { className: s("pb-4 pt-0", a), children: e })
|
|
404
|
-
}
|
|
405
|
-
));
|
|
406
|
-
ke.displayName = b.Content.displayName;
|
|
407
|
-
const Qa = f.Root, Wa = f.Trigger, Te = f.Portal, V = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
408
|
-
f.Overlay,
|
|
409
|
-
{
|
|
410
|
-
className: s(
|
|
411
|
-
"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",
|
|
412
|
-
a
|
|
413
|
-
),
|
|
414
|
-
...e,
|
|
415
|
-
ref: t
|
|
416
|
-
}
|
|
417
|
-
));
|
|
418
|
-
V.displayName = f.Overlay.displayName;
|
|
419
|
-
const De = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ p(Te, { children: [
|
|
420
|
-
/* @__PURE__ */ o(V, {}),
|
|
421
|
-
/* @__PURE__ */ o(
|
|
422
|
-
f.Content,
|
|
423
|
-
{
|
|
424
|
-
ref: t,
|
|
425
|
-
className: s(
|
|
426
|
-
"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",
|
|
427
|
-
a
|
|
428
|
-
),
|
|
429
|
-
...e
|
|
430
|
-
}
|
|
431
|
-
)
|
|
432
|
-
] }));
|
|
433
|
-
De.displayName = f.Content.displayName;
|
|
434
|
-
const Ie = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", a), ...e });
|
|
435
|
-
Ie.displayName = "AlertDialogHeader";
|
|
436
|
-
const ze = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", a), ...e });
|
|
437
|
-
ze.displayName = "AlertDialogFooter";
|
|
438
|
-
const Ae = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(f.Title, { ref: t, className: s("text-lg font-semibold", a), ...e }));
|
|
439
|
-
Ae.displayName = f.Title.displayName;
|
|
440
|
-
const Pe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(f.Description, { ref: t, className: s("text-sm text-muted-foreground", a), ...e }));
|
|
441
|
-
Pe.displayName = f.Description.displayName;
|
|
442
|
-
const Me = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(f.Action, { ref: t, className: s(T(), a), ...e }));
|
|
443
|
-
Me.displayName = f.Action.displayName;
|
|
444
|
-
const _e = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
445
|
-
f.Cancel,
|
|
446
|
-
{
|
|
447
|
-
ref: t,
|
|
448
|
-
className: s(T({ variant: "outline" }), "mt-2 sm:mt-0", a),
|
|
449
|
-
...e
|
|
450
|
-
}
|
|
451
|
-
));
|
|
452
|
-
_e.displayName = f.Cancel.displayName;
|
|
453
|
-
const je = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
454
|
-
v.Root,
|
|
455
|
-
{
|
|
456
|
-
ref: t,
|
|
457
|
-
className: s(
|
|
458
|
-
"relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",
|
|
459
|
-
a
|
|
460
|
-
),
|
|
461
|
-
...e
|
|
462
|
-
}
|
|
463
|
-
));
|
|
464
|
-
je.displayName = v.Root.displayName;
|
|
465
|
-
const Le = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
466
|
-
v.Image,
|
|
467
|
-
{
|
|
468
|
-
ref: t,
|
|
469
|
-
className: s("aspect-square h-full w-full", a),
|
|
470
|
-
...e
|
|
471
|
-
}
|
|
472
|
-
));
|
|
473
|
-
Le.displayName = v.Image.displayName;
|
|
474
|
-
const Ve = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
475
|
-
v.Fallback,
|
|
476
|
-
{
|
|
477
|
-
ref: t,
|
|
478
|
-
className: s(
|
|
479
|
-
"flex h-full w-full items-center justify-center rounded-full bg-muted",
|
|
480
|
-
a
|
|
481
|
-
),
|
|
482
|
-
...e
|
|
483
|
-
}
|
|
484
|
-
));
|
|
485
|
-
Ve.displayName = v.Fallback.displayName;
|
|
486
|
-
const Ge = N(
|
|
487
|
-
"inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
|
|
488
|
-
{
|
|
489
|
-
variants: {
|
|
490
|
-
variant: {
|
|
491
|
-
default: "border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",
|
|
492
|
-
secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
493
|
-
destructive: "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",
|
|
494
|
-
outline: "text-foreground"
|
|
495
|
-
}
|
|
496
|
-
},
|
|
497
|
-
defaultVariants: {
|
|
498
|
-
variant: "default"
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
);
|
|
502
|
-
function Xa({ className: a, variant: e, ...t }) {
|
|
503
|
-
return /* @__PURE__ */ o("div", { className: s(Ge({ variant: e }), a), ...t });
|
|
504
|
-
}
|
|
505
|
-
const He = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("rounded-xl border bg-card text-card-foreground shadow", a), ...e }));
|
|
506
|
-
He.displayName = "Card";
|
|
507
|
-
const Fe = r.forwardRef(
|
|
508
|
-
({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("flex flex-col space-y-1.5 p-6", a), ...e })
|
|
509
|
-
);
|
|
510
|
-
Fe.displayName = "CardHeader";
|
|
511
|
-
const Be = r.forwardRef(
|
|
512
|
-
({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("font-semibold leading-none tracking-tight", a), ...e })
|
|
513
|
-
);
|
|
514
|
-
Be.displayName = "CardTitle";
|
|
515
|
-
const Oe = r.forwardRef(
|
|
516
|
-
({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("text-sm text-muted-foreground", a), ...e })
|
|
517
|
-
);
|
|
518
|
-
Oe.displayName = "CardDescription";
|
|
519
|
-
const Ue = r.forwardRef(
|
|
520
|
-
({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("p-6 pt-0", a), ...e })
|
|
521
|
-
);
|
|
522
|
-
Ue.displayName = "CardContent";
|
|
523
|
-
const Ee = r.forwardRef(
|
|
524
|
-
({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("flex items-center p-6 pt-0", a), ...e })
|
|
525
|
-
);
|
|
526
|
-
Ee.displayName = "CardFooter";
|
|
527
|
-
const Ya = l.Root, Za = l.Trigger, et = l.Group, at = l.Portal, tt = l.Sub, ot = l.RadioGroup, qe = r.forwardRef(({ className: a, inset: e, children: t, ...n }, m) => /* @__PURE__ */ p(
|
|
484
|
+
Be.displayName = "CommandShortcut";
|
|
485
|
+
const $a = l.Root, Ja = l.Trigger, Ka = l.Group, Qa = l.Portal, Wa = l.Sub, Xa = l.RadioGroup, Oe = r.forwardRef(({ className: a, inset: e, children: t, ...n }, m) => /* @__PURE__ */ p(
|
|
528
486
|
l.SubTrigger,
|
|
529
487
|
{
|
|
530
488
|
ref: m,
|
|
@@ -540,8 +498,8 @@ const Ya = l.Root, Za = l.Trigger, et = l.Group, at = l.Portal, tt = l.Sub, ot =
|
|
|
540
498
|
]
|
|
541
499
|
}
|
|
542
500
|
));
|
|
543
|
-
|
|
544
|
-
const
|
|
501
|
+
Oe.displayName = l.SubTrigger.displayName;
|
|
502
|
+
const Ue = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
545
503
|
l.SubContent,
|
|
546
504
|
{
|
|
547
505
|
ref: t,
|
|
@@ -552,8 +510,8 @@ const $e = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
552
510
|
...e
|
|
553
511
|
}
|
|
554
512
|
));
|
|
555
|
-
|
|
556
|
-
const
|
|
513
|
+
Ue.displayName = l.SubContent.displayName;
|
|
514
|
+
const Ee = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(l.Portal, { children: /* @__PURE__ */ o(
|
|
557
515
|
l.Content,
|
|
558
516
|
{
|
|
559
517
|
ref: t,
|
|
@@ -564,8 +522,8 @@ const Je = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(l.Porta
|
|
|
564
522
|
...e
|
|
565
523
|
}
|
|
566
524
|
) }));
|
|
567
|
-
|
|
568
|
-
const
|
|
525
|
+
Ee.displayName = l.Content.displayName;
|
|
526
|
+
const qe = r.forwardRef(({ className: a, inset: e, ...t }, n) => /* @__PURE__ */ o(
|
|
569
527
|
l.Item,
|
|
570
528
|
{
|
|
571
529
|
ref: n,
|
|
@@ -577,8 +535,8 @@ const Ke = r.forwardRef(({ className: a, inset: e, ...t }, n) => /* @__PURE__ */
|
|
|
577
535
|
...t
|
|
578
536
|
}
|
|
579
537
|
));
|
|
580
|
-
|
|
581
|
-
const
|
|
538
|
+
qe.displayName = l.Item.displayName;
|
|
539
|
+
const $e = r.forwardRef(({ className: a, children: e, checked: t, ...n }, m) => /* @__PURE__ */ p(
|
|
582
540
|
l.CheckboxItem,
|
|
583
541
|
{
|
|
584
542
|
ref: m,
|
|
@@ -594,8 +552,8 @@ const Qe = r.forwardRef(({ className: a, children: e, checked: t, ...n }, m) =>
|
|
|
594
552
|
]
|
|
595
553
|
}
|
|
596
554
|
));
|
|
597
|
-
|
|
598
|
-
const
|
|
555
|
+
$e.displayName = l.CheckboxItem.displayName;
|
|
556
|
+
const Je = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ p(
|
|
599
557
|
l.RadioItem,
|
|
600
558
|
{
|
|
601
559
|
ref: n,
|
|
@@ -610,8 +568,8 @@ const We = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__
|
|
|
610
568
|
]
|
|
611
569
|
}
|
|
612
570
|
));
|
|
613
|
-
|
|
614
|
-
const
|
|
571
|
+
Je.displayName = l.RadioItem.displayName;
|
|
572
|
+
const Ke = r.forwardRef(({ className: a, inset: e, ...t }, n) => /* @__PURE__ */ o(
|
|
615
573
|
l.Label,
|
|
616
574
|
{
|
|
617
575
|
ref: n,
|
|
@@ -619,12 +577,12 @@ const Xe = r.forwardRef(({ className: a, inset: e, ...t }, n) => /* @__PURE__ */
|
|
|
619
577
|
...t
|
|
620
578
|
}
|
|
621
579
|
));
|
|
622
|
-
|
|
623
|
-
const
|
|
624
|
-
|
|
625
|
-
const
|
|
626
|
-
|
|
627
|
-
const
|
|
580
|
+
Ke.displayName = l.Label.displayName;
|
|
581
|
+
const Qe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(l.Separator, { ref: t, className: s("-mx-1 my-1 h-px bg-border", a), ...e }));
|
|
582
|
+
Qe.displayName = l.Separator.displayName;
|
|
583
|
+
const We = ({ className: a, ...e }) => /* @__PURE__ */ o("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", a), ...e });
|
|
584
|
+
We.displayName = "ContextMenuShortcut";
|
|
585
|
+
const Ya = C.Root, Za = C.Trigger, Xe = r.forwardRef(({ className: a, align: e = "center", sideOffset: t = 4, ...n }, m) => /* @__PURE__ */ o(
|
|
628
586
|
C.Content,
|
|
629
587
|
{
|
|
630
588
|
ref: m,
|
|
@@ -637,24 +595,53 @@ const st = C.Root, rt = C.Trigger, ea = r.forwardRef(({ className: a, align: e =
|
|
|
637
595
|
...n
|
|
638
596
|
}
|
|
639
597
|
));
|
|
640
|
-
|
|
641
|
-
const
|
|
598
|
+
Xe.displayName = C.Content.displayName;
|
|
599
|
+
const Ye = r.forwardRef(
|
|
600
|
+
({ className: a, type: e, ...t }, n) => /* @__PURE__ */ o(
|
|
601
|
+
"input",
|
|
602
|
+
{
|
|
603
|
+
type: e,
|
|
604
|
+
className: s(
|
|
605
|
+
"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors 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-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
606
|
+
a
|
|
607
|
+
),
|
|
608
|
+
ref: n,
|
|
609
|
+
...t
|
|
610
|
+
}
|
|
611
|
+
)
|
|
612
|
+
);
|
|
613
|
+
Ye.displayName = "Input";
|
|
614
|
+
const Ze = N(
|
|
642
615
|
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
643
|
-
),
|
|
616
|
+
), ea = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
644
617
|
A.Root,
|
|
645
618
|
{
|
|
646
619
|
ref: t,
|
|
647
|
-
className: s(
|
|
620
|
+
className: s(Ze(), a),
|
|
648
621
|
...e
|
|
649
622
|
}
|
|
650
623
|
));
|
|
651
|
-
|
|
652
|
-
const
|
|
624
|
+
ea.displayName = A.Root.displayName;
|
|
625
|
+
const et = h.Root, at = h.Trigger, tt = h.Anchor, aa = r.forwardRef(({ className: a, align: e = "center", sideOffset: t = 4, ...n }, m) => /* @__PURE__ */ o(h.Portal, { children: /* @__PURE__ */ o(
|
|
626
|
+
h.Content,
|
|
627
|
+
{
|
|
628
|
+
ref: m,
|
|
629
|
+
align: e,
|
|
630
|
+
sideOffset: t,
|
|
631
|
+
className: s(
|
|
632
|
+
"z-50 w-72 origin-[--radix-popover-content-transform-origin] rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",
|
|
633
|
+
a
|
|
634
|
+
),
|
|
635
|
+
...n
|
|
636
|
+
}
|
|
637
|
+
) }));
|
|
638
|
+
aa.displayName = h.Content.displayName;
|
|
639
|
+
const ta = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ p(g.Root, { ref: n, className: s("relative overflow-hidden", a), ...t, children: [
|
|
653
640
|
/* @__PURE__ */ o(g.Viewport, { className: "h-full w-full rounded-[inherit]", children: e }),
|
|
654
641
|
/* @__PURE__ */ o(G, {}),
|
|
655
642
|
/* @__PURE__ */ o(g.Corner, {})
|
|
656
643
|
] }));
|
|
657
|
-
|
|
644
|
+
ta.displayName = g.Root.displayName;
|
|
658
645
|
const G = r.forwardRef(({ className: a, orientation: e = "vertical", ...t }, n) => /* @__PURE__ */ o(
|
|
659
646
|
g.ScrollAreaScrollbar,
|
|
660
647
|
{
|
|
@@ -671,7 +658,7 @@ const G = r.forwardRef(({ className: a, orientation: e = "vertical", ...t }, n)
|
|
|
671
658
|
}
|
|
672
659
|
));
|
|
673
660
|
G.displayName = g.ScrollAreaScrollbar.displayName;
|
|
674
|
-
const
|
|
661
|
+
const ot = c.Root, st = c.Group, rt = c.Value, oa = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ p(
|
|
675
662
|
c.Trigger,
|
|
676
663
|
{
|
|
677
664
|
ref: n,
|
|
@@ -686,7 +673,7 @@ const nt = c.Root, dt = c.Group, it = c.Value, sa = r.forwardRef(({ className: a
|
|
|
686
673
|
]
|
|
687
674
|
}
|
|
688
675
|
));
|
|
689
|
-
|
|
676
|
+
oa.displayName = c.Trigger.displayName;
|
|
690
677
|
const H = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
691
678
|
c.ScrollUpButton,
|
|
692
679
|
{
|
|
@@ -707,7 +694,7 @@ const F = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
707
694
|
}
|
|
708
695
|
));
|
|
709
696
|
F.displayName = c.ScrollDownButton.displayName;
|
|
710
|
-
const
|
|
697
|
+
const sa = r.forwardRef(({ className: a, children: e, position: t = "popper", ...n }, m) => /* @__PURE__ */ o(c.Portal, { children: /* @__PURE__ */ p(
|
|
711
698
|
c.Content,
|
|
712
699
|
{
|
|
713
700
|
ref: m,
|
|
@@ -734,10 +721,10 @@ const ra = r.forwardRef(({ className: a, children: e, position: t = "popper", ..
|
|
|
734
721
|
]
|
|
735
722
|
}
|
|
736
723
|
) }));
|
|
737
|
-
|
|
738
|
-
const
|
|
739
|
-
|
|
740
|
-
const
|
|
724
|
+
sa.displayName = c.Content.displayName;
|
|
725
|
+
const ra = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(c.Label, { ref: t, className: s("px-2 py-1.5 text-sm font-semibold", a), ...e }));
|
|
726
|
+
ra.displayName = c.Label.displayName;
|
|
727
|
+
const na = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ p(
|
|
741
728
|
c.Item,
|
|
742
729
|
{
|
|
743
730
|
ref: n,
|
|
@@ -752,10 +739,10 @@ const da = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__
|
|
|
752
739
|
]
|
|
753
740
|
}
|
|
754
741
|
));
|
|
755
|
-
|
|
756
|
-
const
|
|
757
|
-
|
|
758
|
-
const
|
|
742
|
+
na.displayName = c.Item.displayName;
|
|
743
|
+
const da = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(c.Separator, { ref: t, className: s("-mx-1 my-1 h-px bg-muted", a), ...e }));
|
|
744
|
+
da.displayName = c.Separator.displayName;
|
|
745
|
+
const ia = r.forwardRef(({ className: a, orientation: e = "horizontal", decorative: t = !0, ...n }, m) => /* @__PURE__ */ o(
|
|
759
746
|
P.Root,
|
|
760
747
|
{
|
|
761
748
|
ref: m,
|
|
@@ -765,8 +752,8 @@ const la = r.forwardRef(({ className: a, orientation: e = "horizontal", decorati
|
|
|
765
752
|
...n
|
|
766
753
|
}
|
|
767
754
|
));
|
|
768
|
-
|
|
769
|
-
const
|
|
755
|
+
ia.displayName = P.Root.displayName;
|
|
756
|
+
const nt = d.Root, dt = d.Trigger, it = d.Close, la = d.Portal, B = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
770
757
|
d.Overlay,
|
|
771
758
|
{
|
|
772
759
|
className: s(
|
|
@@ -778,7 +765,7 @@ const lt = d.Root, ct = d.Trigger, mt = d.Close, ca = d.Portal, B = r.forwardRef
|
|
|
778
765
|
}
|
|
779
766
|
));
|
|
780
767
|
B.displayName = d.Overlay.displayName;
|
|
781
|
-
const
|
|
768
|
+
const ca = N(
|
|
782
769
|
"fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",
|
|
783
770
|
{
|
|
784
771
|
variants: {
|
|
@@ -793,10 +780,10 @@ const ma = N(
|
|
|
793
780
|
side: "right"
|
|
794
781
|
}
|
|
795
782
|
}
|
|
796
|
-
),
|
|
797
|
-
({ side: a = "right", className: e, children: t, ...n }, m) => /* @__PURE__ */ p(
|
|
783
|
+
), ma = r.forwardRef(
|
|
784
|
+
({ side: a = "right", className: e, children: t, ...n }, m) => /* @__PURE__ */ p(la, { children: [
|
|
798
785
|
/* @__PURE__ */ o(B, {}),
|
|
799
|
-
/* @__PURE__ */ p(d.Content, { ref: m, className: s(
|
|
786
|
+
/* @__PURE__ */ p(d.Content, { ref: m, className: s(ca({ side: a }), e), ...n, children: [
|
|
800
787
|
/* @__PURE__ */ p(d.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
|
|
801
788
|
/* @__PURE__ */ o(z, { className: "h-4 w-4" }),
|
|
802
789
|
/* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
|
|
@@ -805,16 +792,16 @@ const ma = N(
|
|
|
805
792
|
] })
|
|
806
793
|
] })
|
|
807
794
|
);
|
|
808
|
-
|
|
809
|
-
const
|
|
810
|
-
|
|
811
|
-
const
|
|
812
|
-
|
|
813
|
-
const
|
|
814
|
-
|
|
815
|
-
const
|
|
816
|
-
|
|
817
|
-
function
|
|
795
|
+
ma.displayName = d.Content.displayName;
|
|
796
|
+
const pa = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", a), ...e });
|
|
797
|
+
pa.displayName = "SheetHeader";
|
|
798
|
+
const fa = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", a), ...e });
|
|
799
|
+
fa.displayName = "SheetFooter";
|
|
800
|
+
const ua = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(d.Title, { ref: t, className: s("text-lg font-semibold text-foreground", a), ...e }));
|
|
801
|
+
ua.displayName = d.Title.displayName;
|
|
802
|
+
const ga = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(d.Description, { ref: t, className: s("text-sm text-muted-foreground", a), ...e }));
|
|
803
|
+
ga.displayName = d.Description.displayName;
|
|
804
|
+
function lt({
|
|
818
805
|
className: a,
|
|
819
806
|
...e
|
|
820
807
|
}) {
|
|
@@ -826,7 +813,7 @@ function pt({
|
|
|
826
813
|
}
|
|
827
814
|
);
|
|
828
815
|
}
|
|
829
|
-
const
|
|
816
|
+
const ba = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ p(
|
|
830
817
|
w.Root,
|
|
831
818
|
{
|
|
832
819
|
ref: t,
|
|
@@ -838,8 +825,8 @@ const xa = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ p(
|
|
|
838
825
|
]
|
|
839
826
|
}
|
|
840
827
|
));
|
|
841
|
-
|
|
842
|
-
const
|
|
828
|
+
ba.displayName = w.Root.displayName;
|
|
829
|
+
const xa = r.forwardRef(
|
|
843
830
|
({
|
|
844
831
|
className: a,
|
|
845
832
|
thumbClassName: e,
|
|
@@ -866,8 +853,8 @@ const ha = r.forwardRef(
|
|
|
866
853
|
}
|
|
867
854
|
)
|
|
868
855
|
);
|
|
869
|
-
|
|
870
|
-
const
|
|
856
|
+
xa.displayName = R.Root.displayName;
|
|
857
|
+
const ct = x.Root, ha = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
871
858
|
x.List,
|
|
872
859
|
{
|
|
873
860
|
ref: t,
|
|
@@ -878,8 +865,8 @@ const ft = x.Root, ya = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__
|
|
|
878
865
|
...e
|
|
879
866
|
}
|
|
880
867
|
));
|
|
881
|
-
|
|
882
|
-
const
|
|
868
|
+
ha.displayName = x.List.displayName;
|
|
869
|
+
const ya = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
883
870
|
x.Trigger,
|
|
884
871
|
{
|
|
885
872
|
ref: t,
|
|
@@ -890,8 +877,8 @@ const Na = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
890
877
|
...e
|
|
891
878
|
}
|
|
892
879
|
));
|
|
893
|
-
|
|
894
|
-
const
|
|
880
|
+
ya.displayName = x.Trigger.displayName;
|
|
881
|
+
const Na = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
895
882
|
x.Content,
|
|
896
883
|
{
|
|
897
884
|
ref: t,
|
|
@@ -902,8 +889,8 @@ const va = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
902
889
|
...e
|
|
903
890
|
}
|
|
904
891
|
));
|
|
905
|
-
|
|
906
|
-
const
|
|
892
|
+
Na.displayName = x.Content.displayName;
|
|
893
|
+
const va = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
907
894
|
"textarea",
|
|
908
895
|
{
|
|
909
896
|
className: s(
|
|
@@ -914,8 +901,8 @@ const wa = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
914
901
|
...e
|
|
915
902
|
}
|
|
916
903
|
));
|
|
917
|
-
|
|
918
|
-
const
|
|
904
|
+
va.displayName = "Textarea";
|
|
905
|
+
const wa = N(
|
|
919
906
|
"inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
920
907
|
{
|
|
921
908
|
variants: {
|
|
@@ -934,77 +921,90 @@ const Ca = N(
|
|
|
934
921
|
size: "default"
|
|
935
922
|
}
|
|
936
923
|
}
|
|
937
|
-
),
|
|
938
|
-
|
|
924
|
+
), Ca = r.forwardRef(({ className: a, variant: e, size: t, ...n }, m) => /* @__PURE__ */ o(M.Root, { ref: m, className: s(wa({ variant: e, size: t, className: a })), ...n }));
|
|
925
|
+
Ca.displayName = M.Root.displayName;
|
|
926
|
+
const mt = y.Provider, pt = y.Root, ft = y.Trigger, Ra = r.forwardRef(({ className: a, sideOffset: e = 4, ...t }, n) => /* @__PURE__ */ o(y.Portal, { children: /* @__PURE__ */ o(
|
|
927
|
+
y.Content,
|
|
928
|
+
{
|
|
929
|
+
ref: n,
|
|
930
|
+
sideOffset: e,
|
|
931
|
+
className: s(
|
|
932
|
+
"z-50 origin-[--radix-tooltip-content-transform-origin] overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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",
|
|
933
|
+
a
|
|
934
|
+
),
|
|
935
|
+
...t
|
|
936
|
+
}
|
|
937
|
+
) }));
|
|
938
|
+
Ra.displayName = y.Content.displayName;
|
|
939
939
|
export {
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
940
|
+
Oe as $,
|
|
941
|
+
Ha as A,
|
|
942
|
+
Oa as B,
|
|
943
|
+
Ce as C,
|
|
944
|
+
Re as D,
|
|
945
|
+
Se as E,
|
|
946
|
+
V as F,
|
|
947
|
+
qa as G,
|
|
948
|
+
je as H,
|
|
949
|
+
Le as I,
|
|
950
|
+
Ve as J,
|
|
951
|
+
Ge as K,
|
|
952
|
+
Fe as L,
|
|
953
|
+
Be as M,
|
|
954
|
+
He as N,
|
|
955
|
+
$a as O,
|
|
956
|
+
$e as P,
|
|
957
|
+
Ee as Q,
|
|
958
|
+
Ka as R,
|
|
959
|
+
qe as S,
|
|
960
|
+
Ke as T,
|
|
961
|
+
Qa as U,
|
|
962
|
+
Xa as V,
|
|
963
|
+
Je as W,
|
|
964
|
+
Qe as X,
|
|
965
|
+
We as Y,
|
|
966
|
+
Wa as Z,
|
|
967
|
+
Ue as _,
|
|
968
|
+
se as a,
|
|
969
|
+
ha as a$,
|
|
970
|
+
Ja as a0,
|
|
971
|
+
Ie as a1,
|
|
972
|
+
Ea as a2,
|
|
973
|
+
L as a3,
|
|
974
|
+
_e as a4,
|
|
975
|
+
Pe as a5,
|
|
976
|
+
Ae as a6,
|
|
977
|
+
j as a7,
|
|
978
|
+
ze as a8,
|
|
979
|
+
Me as a9,
|
|
980
980
|
G as aA,
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
981
|
+
ot as aB,
|
|
982
|
+
sa as aC,
|
|
983
|
+
st as aD,
|
|
984
|
+
na as aE,
|
|
985
|
+
ra as aF,
|
|
986
986
|
F as aG,
|
|
987
987
|
H as aH,
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
988
|
+
da as aI,
|
|
989
|
+
oa as aJ,
|
|
990
|
+
rt as aK,
|
|
991
|
+
ia as aL,
|
|
992
|
+
nt as aM,
|
|
993
|
+
it as aN,
|
|
994
|
+
ma as aO,
|
|
995
|
+
ga as aP,
|
|
996
|
+
fa as aQ,
|
|
997
|
+
pa as aR,
|
|
998
998
|
B as aS,
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
999
|
+
la as aT,
|
|
1000
|
+
ua as aU,
|
|
1001
|
+
dt as aV,
|
|
1002
|
+
lt as aW,
|
|
1003
|
+
ba as aX,
|
|
1004
|
+
xa as aY,
|
|
1005
|
+
ct as aZ,
|
|
1006
|
+
Na as a_,
|
|
1007
|
+
Ua as aa,
|
|
1008
1008
|
Ma as ab,
|
|
1009
1009
|
Z as ac,
|
|
1010
1010
|
X as ad,
|
|
@@ -1020,48 +1020,48 @@ export {
|
|
|
1020
1020
|
W as an,
|
|
1021
1021
|
Q as ao,
|
|
1022
1022
|
_a as ap,
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1023
|
+
Ya as aq,
|
|
1024
|
+
Xe as ar,
|
|
1025
|
+
Za as as,
|
|
1026
|
+
Ye as at,
|
|
1027
|
+
ea as au,
|
|
1028
|
+
et as av,
|
|
1029
|
+
tt as aw,
|
|
1030
|
+
aa as ax,
|
|
1031
|
+
at as ay,
|
|
1032
|
+
ta as az,
|
|
1033
|
+
re as b,
|
|
1034
|
+
ya as b0,
|
|
1035
|
+
va as b1,
|
|
1036
|
+
Ca as b2,
|
|
1037
|
+
wa as b3,
|
|
1038
|
+
pt as b4,
|
|
1039
|
+
Ra as b5,
|
|
1040
|
+
mt as b6,
|
|
1041
|
+
ft as b7,
|
|
1042
1042
|
s as b8,
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1043
|
+
ne as c,
|
|
1044
|
+
ie as d,
|
|
1045
|
+
ce as e,
|
|
1046
|
+
le as f,
|
|
1047
|
+
Fa as g,
|
|
1048
|
+
xe as h,
|
|
1049
|
+
he as i,
|
|
1050
|
+
pe as j,
|
|
1051
|
+
be as k,
|
|
1052
|
+
ue as l,
|
|
1053
|
+
fe as m,
|
|
1054
|
+
_ as n,
|
|
1055
|
+
me as o,
|
|
1056
|
+
ge as p,
|
|
1057
|
+
Ba as q,
|
|
1058
|
+
ye as r,
|
|
1059
|
+
Ne as s,
|
|
1060
|
+
ve as t,
|
|
1061
|
+
we as u,
|
|
1062
1062
|
K as v,
|
|
1063
1063
|
T as w,
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1064
|
+
Te as x,
|
|
1065
|
+
ke as y,
|
|
1066
|
+
De as z
|
|
1067
1067
|
};
|