@chaibuilder/sdk 2.0.7 → 2.0.8
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/{CodeEditor-SZJ1H4vl.cjs → CodeEditor-BVHvdz8H.cjs} +1 -1
- package/dist/{CodeEditor-C-jeR5bt.js → CodeEditor-ZtRSywKI.js} +1 -1
- package/dist/{Topbar-DZ2jHLv7.js → Topbar-CX5hnmQJ.js} +1 -1
- package/dist/{Topbar-DSfx67NF.cjs → Topbar-D7QTF9G-.cjs} +1 -1
- package/dist/core.cjs +4 -4
- package/dist/core.js +696 -550
- package/dist/tooltip-BMhhYJb6.cjs +1 -0
- package/dist/{tooltip-PKiP886L.js → tooltip-VMv3Eoxb.js} +243 -219
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.ts +10 -0
- package/dist/ui.js +200 -182
- package/package.json +5 -1
- package/dist/tooltip-1Uu2avkZ.cjs +0 -1
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
import { jsx as o, jsxs as p } from "react/jsx-runtime";
|
|
2
2
|
import * as r from "react";
|
|
3
3
|
import * as u from "@radix-ui/react-accordion";
|
|
4
|
-
import { ChevronDownIcon as
|
|
4
|
+
import { ChevronDownIcon as _, Cross2Icon as M, MagnifyingGlassIcon as j, ChevronRightIcon as H, CheckIcon as L, DotFilledIcon as F } from "@radix-ui/react-icons";
|
|
5
5
|
import * as i from "@radix-ui/react-alert-dialog";
|
|
6
6
|
import { Slot as G } from "@radix-ui/react-slot";
|
|
7
|
-
import { cva as
|
|
7
|
+
import { cva as w } from "class-variance-authority";
|
|
8
|
+
import * as b from "@radix-ui/react-avatar";
|
|
8
9
|
import { Command as l } from "cmdk";
|
|
9
10
|
import * as m from "@radix-ui/react-dialog";
|
|
10
11
|
import * as n from "@radix-ui/react-dropdown-menu";
|
|
11
|
-
import * as
|
|
12
|
-
import * as
|
|
13
|
-
import * as
|
|
12
|
+
import * as x from "@radix-ui/react-hover-card";
|
|
13
|
+
import * as C from "@radix-ui/react-label";
|
|
14
|
+
import * as N from "@radix-ui/react-popover";
|
|
14
15
|
import * as f from "@radix-ui/react-scroll-area";
|
|
15
|
-
import * as
|
|
16
|
-
import { useTheme as
|
|
17
|
-
import { Toaster as
|
|
18
|
-
import * as
|
|
16
|
+
import * as R from "@radix-ui/react-separator";
|
|
17
|
+
import { useTheme as O } from "next-themes";
|
|
18
|
+
import { Toaster as B } from "sonner";
|
|
19
|
+
import * as h from "@radix-ui/react-switch";
|
|
19
20
|
import * as g from "@radix-ui/react-tabs";
|
|
20
|
-
import * as
|
|
21
|
-
import { clsx as
|
|
22
|
-
import { twMerge as
|
|
23
|
-
const s = (...a) => V(
|
|
24
|
-
|
|
21
|
+
import * as y from "@radix-ui/react-tooltip";
|
|
22
|
+
import { clsx as V } from "clsx";
|
|
23
|
+
import { twMerge as E } from "tailwind-merge";
|
|
24
|
+
const s = (...a) => E(V(a)), aa = u.Root, q = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(u.Item, { ref: t, className: s("border-b", a), ...e }));
|
|
25
|
+
q.displayName = "AccordionItem";
|
|
25
26
|
const $ = r.forwardRef(({ className: a, children: e, ...t }, d) => /* @__PURE__ */ o(u.Header, { className: "flex", children: /* @__PURE__ */ p(
|
|
26
27
|
u.Trigger,
|
|
27
28
|
{
|
|
@@ -33,12 +34,12 @@ const $ = r.forwardRef(({ className: a, children: e, ...t }, d) => /* @__PURE__
|
|
|
33
34
|
...t,
|
|
34
35
|
children: [
|
|
35
36
|
e,
|
|
36
|
-
t.hideArrow ? null : /* @__PURE__ */ o(
|
|
37
|
+
t.hideArrow ? null : /* @__PURE__ */ o(_, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
|
|
37
38
|
]
|
|
38
39
|
}
|
|
39
40
|
) }));
|
|
40
41
|
$.displayName = u.Trigger.displayName;
|
|
41
|
-
const
|
|
42
|
+
const J = r.forwardRef(({ className: a, children: e, ...t }, d) => /* @__PURE__ */ o(
|
|
42
43
|
u.Content,
|
|
43
44
|
{
|
|
44
45
|
ref: d,
|
|
@@ -50,8 +51,8 @@ const q = r.forwardRef(({ className: a, children: e, ...t }, d) => /* @__PURE__
|
|
|
50
51
|
children: /* @__PURE__ */ o("div", { className: "pb-4 pt-0", children: e })
|
|
51
52
|
}
|
|
52
53
|
));
|
|
53
|
-
|
|
54
|
-
const
|
|
54
|
+
J.displayName = u.Content.displayName;
|
|
55
|
+
const v = w(
|
|
55
56
|
"inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
|
|
56
57
|
{
|
|
57
58
|
variants: {
|
|
@@ -75,13 +76,13 @@ const w = h(
|
|
|
75
76
|
size: "default"
|
|
76
77
|
}
|
|
77
78
|
}
|
|
78
|
-
),
|
|
79
|
-
({ className: a, variant: e, size: t, asChild: d = !1, ...c },
|
|
79
|
+
), K = r.forwardRef(
|
|
80
|
+
({ className: a, variant: e, size: t, asChild: d = !1, ...c }, z) => /* @__PURE__ */ o(d ? G : "button", { className: s(v({ variant: e, size: t, className: a })), ref: z, ...c })
|
|
80
81
|
);
|
|
81
|
-
|
|
82
|
-
const
|
|
83
|
-
|
|
84
|
-
const
|
|
82
|
+
K.displayName = "Button";
|
|
83
|
+
const ta = i.Root, oa = i.Trigger, k = ({ className: a, ...e }) => /* @__PURE__ */ o(i.Portal, { className: s(a), ...e });
|
|
84
|
+
k.displayName = i.Portal.displayName;
|
|
85
|
+
const D = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
85
86
|
i.Overlay,
|
|
86
87
|
{
|
|
87
88
|
className: s(
|
|
@@ -92,9 +93,9 @@ const k = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
92
93
|
ref: t
|
|
93
94
|
}
|
|
94
95
|
));
|
|
95
|
-
|
|
96
|
-
const
|
|
97
|
-
/* @__PURE__ */ o(
|
|
96
|
+
D.displayName = i.Overlay.displayName;
|
|
97
|
+
const Q = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ p(k, { children: [
|
|
98
|
+
/* @__PURE__ */ o(D, {}),
|
|
98
99
|
/* @__PURE__ */ o(
|
|
99
100
|
i.Content,
|
|
100
101
|
{
|
|
@@ -107,27 +108,47 @@ const K = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ p(R, { chi
|
|
|
107
108
|
}
|
|
108
109
|
)
|
|
109
110
|
] }));
|
|
110
|
-
|
|
111
|
-
const
|
|
112
|
-
|
|
113
|
-
const
|
|
114
|
-
|
|
115
|
-
const
|
|
116
|
-
|
|
117
|
-
const
|
|
118
|
-
|
|
119
|
-
const
|
|
120
|
-
|
|
121
|
-
const
|
|
111
|
+
Q.displayName = i.Content.displayName;
|
|
112
|
+
const U = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", a), ...e });
|
|
113
|
+
U.displayName = "AlertDialogHeader";
|
|
114
|
+
const W = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", a), ...e });
|
|
115
|
+
W.displayName = "AlertDialogFooter";
|
|
116
|
+
const X = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(i.Title, { ref: t, className: s("text-lg font-semibold", a), ...e }));
|
|
117
|
+
X.displayName = i.Title.displayName;
|
|
118
|
+
const Y = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(i.Description, { ref: t, className: s("text-sm text-muted-foreground", a), ...e }));
|
|
119
|
+
Y.displayName = i.Description.displayName;
|
|
120
|
+
const Z = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(i.Action, { ref: t, className: s(v(), a), ...e }));
|
|
121
|
+
Z.displayName = i.Action.displayName;
|
|
122
|
+
const ee = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
122
123
|
i.Cancel,
|
|
123
124
|
{
|
|
124
125
|
ref: t,
|
|
125
|
-
className: s(
|
|
126
|
+
className: s(v({ variant: "outline" }), "mt-2 sm:mt-0", a),
|
|
126
127
|
...e
|
|
127
128
|
}
|
|
128
129
|
));
|
|
129
|
-
|
|
130
|
-
const
|
|
130
|
+
ee.displayName = i.Cancel.displayName;
|
|
131
|
+
const ae = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
132
|
+
b.Root,
|
|
133
|
+
{
|
|
134
|
+
ref: t,
|
|
135
|
+
className: s("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", a),
|
|
136
|
+
...e
|
|
137
|
+
}
|
|
138
|
+
));
|
|
139
|
+
ae.displayName = b.Root.displayName;
|
|
140
|
+
const te = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(b.Image, { ref: t, className: s("aspect-square h-full w-full", a), ...e }));
|
|
141
|
+
te.displayName = b.Image.displayName;
|
|
142
|
+
const oe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
143
|
+
b.Fallback,
|
|
144
|
+
{
|
|
145
|
+
ref: t,
|
|
146
|
+
className: s("flex h-full w-full items-center justify-center rounded-full bg-muted", a),
|
|
147
|
+
...e
|
|
148
|
+
}
|
|
149
|
+
));
|
|
150
|
+
oe.displayName = b.Fallback.displayName;
|
|
151
|
+
const se = w(
|
|
131
152
|
"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",
|
|
132
153
|
{
|
|
133
154
|
variants: {
|
|
@@ -142,31 +163,31 @@ const ee = h(
|
|
|
142
163
|
variant: "default"
|
|
143
164
|
}
|
|
144
165
|
}
|
|
145
|
-
),
|
|
146
|
-
|
|
147
|
-
const
|
|
166
|
+
), sa = ({ className: a, variant: e, ...t }) => /* @__PURE__ */ o("div", { className: s(se({ variant: e }), a), ...t }), re = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("rounded-xl border bg-card text-card-foreground shadow", a), ...e }));
|
|
167
|
+
re.displayName = "Card";
|
|
168
|
+
const de = r.forwardRef(
|
|
148
169
|
({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("flex flex-col space-y-1.5 p-6", a), ...e })
|
|
149
170
|
);
|
|
150
|
-
|
|
151
|
-
const
|
|
171
|
+
de.displayName = "CardHeader";
|
|
172
|
+
const ne = r.forwardRef(
|
|
152
173
|
({ className: a, ...e }, t) => /* @__PURE__ */ o("h3", { ref: t, className: s("font-semibold leading-none tracking-tight", a), ...e })
|
|
153
174
|
);
|
|
154
|
-
|
|
155
|
-
const
|
|
175
|
+
ne.displayName = "CardTitle";
|
|
176
|
+
const ie = r.forwardRef(
|
|
156
177
|
({ className: a, ...e }, t) => /* @__PURE__ */ o("p", { ref: t, className: s("text-sm text-muted-foreground", a), ...e })
|
|
157
178
|
);
|
|
158
|
-
|
|
159
|
-
const
|
|
179
|
+
ie.displayName = "CardDescription";
|
|
180
|
+
const le = r.forwardRef(
|
|
160
181
|
({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("p-6 pt-0", a), ...e })
|
|
161
182
|
);
|
|
162
|
-
|
|
163
|
-
const
|
|
183
|
+
le.displayName = "CardContent";
|
|
184
|
+
const me = r.forwardRef(
|
|
164
185
|
({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s(" flex items-center p-6 pt-0", a), ...e })
|
|
165
186
|
);
|
|
166
|
-
|
|
167
|
-
const
|
|
168
|
-
|
|
169
|
-
const
|
|
187
|
+
me.displayName = "CardFooter";
|
|
188
|
+
const ce = m.Root, ra = m.Trigger, T = ({ className: a, ...e }) => /* @__PURE__ */ o(m.Portal, { className: s(a), ...e });
|
|
189
|
+
T.displayName = m.Portal.displayName;
|
|
190
|
+
const A = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
170
191
|
m.Overlay,
|
|
171
192
|
{
|
|
172
193
|
ref: t,
|
|
@@ -177,9 +198,9 @@ const T = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
177
198
|
...e
|
|
178
199
|
}
|
|
179
200
|
));
|
|
180
|
-
|
|
181
|
-
const
|
|
182
|
-
/* @__PURE__ */ o(
|
|
201
|
+
A.displayName = m.Overlay.displayName;
|
|
202
|
+
const I = r.forwardRef(({ className: a, children: e, ...t }, d) => /* @__PURE__ */ p(T, { children: [
|
|
203
|
+
/* @__PURE__ */ o(A, {}),
|
|
183
204
|
/* @__PURE__ */ p(
|
|
184
205
|
m.Content,
|
|
185
206
|
{
|
|
@@ -192,19 +213,19 @@ const S = r.forwardRef(({ className: a, children: e, ...t }, d) => /* @__PURE__
|
|
|
192
213
|
children: [
|
|
193
214
|
e,
|
|
194
215
|
/* @__PURE__ */ p(m.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-accent data-[state=open]:text-muted-foreground", children: [
|
|
195
|
-
/* @__PURE__ */ o(
|
|
216
|
+
/* @__PURE__ */ o(M, { className: "h-4 w-4" }),
|
|
196
217
|
/* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
|
|
197
218
|
] })
|
|
198
219
|
]
|
|
199
220
|
}
|
|
200
221
|
)
|
|
201
222
|
] }));
|
|
202
|
-
|
|
203
|
-
const
|
|
204
|
-
|
|
205
|
-
const
|
|
206
|
-
|
|
207
|
-
const
|
|
223
|
+
I.displayName = m.Content.displayName;
|
|
224
|
+
const pe = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-1.5 text-center sm:text-left", a), ...e });
|
|
225
|
+
pe.displayName = "DialogHeader";
|
|
226
|
+
const fe = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", a), ...e });
|
|
227
|
+
fe.displayName = "DialogFooter";
|
|
228
|
+
const ue = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
208
229
|
m.Title,
|
|
209
230
|
{
|
|
210
231
|
ref: t,
|
|
@@ -212,10 +233,10 @@ const me = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
212
233
|
...e
|
|
213
234
|
}
|
|
214
235
|
));
|
|
215
|
-
|
|
216
|
-
const
|
|
217
|
-
|
|
218
|
-
const
|
|
236
|
+
ue.displayName = m.Title.displayName;
|
|
237
|
+
const ge = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(m.Description, { ref: t, className: s("text-sm text-muted-foreground", a), ...e }));
|
|
238
|
+
ge.displayName = m.Description.displayName;
|
|
239
|
+
const S = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
219
240
|
l,
|
|
220
241
|
{
|
|
221
242
|
ref: t,
|
|
@@ -226,9 +247,9 @@ const z = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
226
247
|
...e
|
|
227
248
|
}
|
|
228
249
|
));
|
|
229
|
-
|
|
230
|
-
const
|
|
231
|
-
/* @__PURE__ */ o(
|
|
250
|
+
S.displayName = l.displayName;
|
|
251
|
+
const da = ({ children: a, ...e }) => /* @__PURE__ */ o(ce, { ...e, children: /* @__PURE__ */ o(I, { className: "overflow-hidden p-0", children: /* @__PURE__ */ o(S, { 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 }) }) }), be = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ p("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
252
|
+
/* @__PURE__ */ o(j, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
|
232
253
|
/* @__PURE__ */ o(
|
|
233
254
|
l.Input,
|
|
234
255
|
{
|
|
@@ -241,8 +262,8 @@ const ta = ({ children: a, ...e }) => /* @__PURE__ */ o(ne, { ...e, children: /*
|
|
|
241
262
|
}
|
|
242
263
|
)
|
|
243
264
|
] }));
|
|
244
|
-
|
|
245
|
-
const
|
|
265
|
+
be.displayName = l.Input.displayName;
|
|
266
|
+
const ye = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
246
267
|
l.List,
|
|
247
268
|
{
|
|
248
269
|
ref: t,
|
|
@@ -250,10 +271,10 @@ const fe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
250
271
|
...e
|
|
251
272
|
}
|
|
252
273
|
));
|
|
253
|
-
|
|
254
|
-
const
|
|
255
|
-
|
|
256
|
-
const
|
|
274
|
+
ye.displayName = l.List.displayName;
|
|
275
|
+
const Ne = r.forwardRef((a, e) => /* @__PURE__ */ o(l.Empty, { ref: e, className: "py-6 text-center text-sm", ...a }));
|
|
276
|
+
Ne.displayName = l.Empty.displayName;
|
|
277
|
+
const xe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
257
278
|
l.Group,
|
|
258
279
|
{
|
|
259
280
|
ref: t,
|
|
@@ -264,10 +285,10 @@ const ge = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
264
285
|
...e
|
|
265
286
|
}
|
|
266
287
|
));
|
|
267
|
-
|
|
268
|
-
const
|
|
269
|
-
|
|
270
|
-
const
|
|
288
|
+
xe.displayName = l.Group.displayName;
|
|
289
|
+
const he = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(l.Separator, { ref: t, className: s("-mx-1 h-px bg-border", a), ...e }));
|
|
290
|
+
he.displayName = l.Separator.displayName;
|
|
291
|
+
const we = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
271
292
|
l.Item,
|
|
272
293
|
{
|
|
273
294
|
ref: t,
|
|
@@ -278,10 +299,10 @@ const ye = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
278
299
|
...e
|
|
279
300
|
}
|
|
280
301
|
));
|
|
281
|
-
|
|
282
|
-
const
|
|
283
|
-
|
|
284
|
-
const
|
|
302
|
+
we.displayName = l.Item.displayName;
|
|
303
|
+
const ve = ({ className: a, ...e }) => /* @__PURE__ */ o("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", a), ...e });
|
|
304
|
+
ve.displayName = "CommandShortcut";
|
|
305
|
+
const na = n.Root, ia = n.Trigger, la = n.Group, ma = n.Portal, ca = n.Sub, pa = n.RadioGroup, Ce = r.forwardRef(({ className: a, inset: e, children: t, ...d }, c) => /* @__PURE__ */ p(
|
|
285
306
|
n.SubTrigger,
|
|
286
307
|
{
|
|
287
308
|
ref: c,
|
|
@@ -293,12 +314,12 @@ const oa = n.Root, sa = n.Trigger, ra = n.Group, da = n.Portal, na = n.Sub, ia =
|
|
|
293
314
|
...d,
|
|
294
315
|
children: [
|
|
295
316
|
t,
|
|
296
|
-
/* @__PURE__ */ o(
|
|
317
|
+
/* @__PURE__ */ o(H, { className: "ml-auto h-4 w-4" })
|
|
297
318
|
]
|
|
298
319
|
}
|
|
299
320
|
));
|
|
300
|
-
|
|
301
|
-
const
|
|
321
|
+
Ce.displayName = n.SubTrigger.displayName;
|
|
322
|
+
const Re = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
302
323
|
n.SubContent,
|
|
303
324
|
{
|
|
304
325
|
ref: t,
|
|
@@ -309,8 +330,8 @@ const he = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
309
330
|
...e
|
|
310
331
|
}
|
|
311
332
|
));
|
|
312
|
-
|
|
313
|
-
const
|
|
333
|
+
Re.displayName = n.SubContent.displayName;
|
|
334
|
+
const ke = r.forwardRef(({ className: a, sideOffset: e = 4, ...t }, d) => /* @__PURE__ */ o(n.Portal, { children: /* @__PURE__ */ o(
|
|
314
335
|
n.Content,
|
|
315
336
|
{
|
|
316
337
|
ref: d,
|
|
@@ -323,8 +344,8 @@ const we = r.forwardRef(({ className: a, sideOffset: e = 4, ...t }, d) => /* @__
|
|
|
323
344
|
...t
|
|
324
345
|
}
|
|
325
346
|
) }));
|
|
326
|
-
|
|
327
|
-
const
|
|
347
|
+
ke.displayName = n.Content.displayName;
|
|
348
|
+
const De = r.forwardRef(({ className: a, inset: e, ...t }, d) => /* @__PURE__ */ o(
|
|
328
349
|
n.Item,
|
|
329
350
|
{
|
|
330
351
|
ref: d,
|
|
@@ -336,8 +357,8 @@ const ve = r.forwardRef(({ className: a, inset: e, ...t }, d) => /* @__PURE__ */
|
|
|
336
357
|
...t
|
|
337
358
|
}
|
|
338
359
|
));
|
|
339
|
-
|
|
340
|
-
const
|
|
360
|
+
De.displayName = n.Item.displayName;
|
|
361
|
+
const Te = r.forwardRef(({ className: a, children: e, checked: t, ...d }, c) => /* @__PURE__ */ p(
|
|
341
362
|
n.CheckboxItem,
|
|
342
363
|
{
|
|
343
364
|
ref: c,
|
|
@@ -348,13 +369,13 @@ const Ce = r.forwardRef(({ className: a, children: e, checked: t, ...d }, c) =>
|
|
|
348
369
|
checked: t,
|
|
349
370
|
...d,
|
|
350
371
|
children: [
|
|
351
|
-
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(n.ItemIndicator, { children: /* @__PURE__ */ o(
|
|
372
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(n.ItemIndicator, { children: /* @__PURE__ */ o(L, { className: "h-4 w-4" }) }) }),
|
|
352
373
|
e
|
|
353
374
|
]
|
|
354
375
|
}
|
|
355
376
|
));
|
|
356
|
-
|
|
357
|
-
const
|
|
377
|
+
Te.displayName = n.CheckboxItem.displayName;
|
|
378
|
+
const Ae = r.forwardRef(({ className: a, children: e, ...t }, d) => /* @__PURE__ */ p(
|
|
358
379
|
n.RadioItem,
|
|
359
380
|
{
|
|
360
381
|
ref: d,
|
|
@@ -364,13 +385,13 @@ const Re = r.forwardRef(({ className: a, children: e, ...t }, d) => /* @__PURE__
|
|
|
364
385
|
),
|
|
365
386
|
...t,
|
|
366
387
|
children: [
|
|
367
|
-
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(n.ItemIndicator, { children: /* @__PURE__ */ o(
|
|
388
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(n.ItemIndicator, { children: /* @__PURE__ */ o(F, { className: "h-4 w-4 fill-current" }) }) }),
|
|
368
389
|
e
|
|
369
390
|
]
|
|
370
391
|
}
|
|
371
392
|
));
|
|
372
|
-
|
|
373
|
-
const
|
|
393
|
+
Ae.displayName = n.RadioItem.displayName;
|
|
394
|
+
const Ie = r.forwardRef(({ className: a, inset: e, ...t }, d) => /* @__PURE__ */ o(
|
|
374
395
|
n.Label,
|
|
375
396
|
{
|
|
376
397
|
ref: d,
|
|
@@ -378,13 +399,13 @@ const ke = r.forwardRef(({ className: a, inset: e, ...t }, d) => /* @__PURE__ */
|
|
|
378
399
|
...t
|
|
379
400
|
}
|
|
380
401
|
));
|
|
381
|
-
|
|
382
|
-
const
|
|
383
|
-
|
|
384
|
-
const
|
|
385
|
-
|
|
386
|
-
const
|
|
387
|
-
|
|
402
|
+
Ie.displayName = n.Label.displayName;
|
|
403
|
+
const Se = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(n.Separator, { ref: t, className: s("-mx-1 my-1 h-px bg-muted", a), ...e }));
|
|
404
|
+
Se.displayName = n.Separator.displayName;
|
|
405
|
+
const Pe = ({ className: a, ...e }) => /* @__PURE__ */ o("span", { className: s("ml-auto text-xs tracking-widest opacity-60", a), ...e });
|
|
406
|
+
Pe.displayName = "DropdownMenuShortcut";
|
|
407
|
+
const fa = x.Root, ua = x.Trigger, ze = r.forwardRef(({ className: a, align: e = "center", sideOffset: t = 4, ...d }, c) => /* @__PURE__ */ o(
|
|
408
|
+
x.Content,
|
|
388
409
|
{
|
|
389
410
|
ref: c,
|
|
390
411
|
align: e,
|
|
@@ -396,8 +417,8 @@ const la = N.Root, ma = N.Trigger, Se = r.forwardRef(({ className: a, align: e =
|
|
|
396
417
|
...d
|
|
397
418
|
}
|
|
398
419
|
));
|
|
399
|
-
|
|
400
|
-
const
|
|
420
|
+
ze.displayName = x.Content.displayName;
|
|
421
|
+
const _e = r.forwardRef(({ className: a, type: e, ...t }, d) => /* @__PURE__ */ o(
|
|
401
422
|
"input",
|
|
402
423
|
{
|
|
403
424
|
type: e,
|
|
@@ -412,11 +433,11 @@ const ze = r.forwardRef(({ className: a, type: e, ...t }, d) => /* @__PURE__ */
|
|
|
412
433
|
spellCheck: "false"
|
|
413
434
|
}
|
|
414
435
|
));
|
|
415
|
-
|
|
416
|
-
const
|
|
417
|
-
|
|
418
|
-
const
|
|
419
|
-
|
|
436
|
+
_e.displayName = "Input";
|
|
437
|
+
const Me = w("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), je = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(C.Root, { ref: t, className: s(Me(), a), ...e }));
|
|
438
|
+
je.displayName = C.Root.displayName;
|
|
439
|
+
const ga = N.Root, ba = N.Trigger, He = r.forwardRef(({ className: a, align: e = "center", sideOffset: t = 4, ...d }, c) => /* @__PURE__ */ o(N.Portal, { children: /* @__PURE__ */ o(
|
|
440
|
+
N.Content,
|
|
420
441
|
{
|
|
421
442
|
ref: c,
|
|
422
443
|
align: e,
|
|
@@ -428,14 +449,14 @@ const ca = y.Root, pa = y.Trigger, Ae = r.forwardRef(({ className: a, align: e =
|
|
|
428
449
|
...d
|
|
429
450
|
}
|
|
430
451
|
) }));
|
|
431
|
-
|
|
432
|
-
const
|
|
452
|
+
He.displayName = N.Content.displayName;
|
|
453
|
+
const Le = r.forwardRef(({ className: a, children: e, ...t }, d) => /* @__PURE__ */ p(f.Root, { ref: d, className: s("relative overflow-hidden", a), ...t, children: [
|
|
433
454
|
/* @__PURE__ */ o(f.Viewport, { className: "h-full w-full rounded-[inherit]", children: e }),
|
|
434
|
-
/* @__PURE__ */ o(
|
|
455
|
+
/* @__PURE__ */ o(P, {}),
|
|
435
456
|
/* @__PURE__ */ o(f.Corner, {})
|
|
436
457
|
] }));
|
|
437
|
-
|
|
438
|
-
const
|
|
458
|
+
Le.displayName = f.Root.displayName;
|
|
459
|
+
const P = r.forwardRef(({ className: a, orientation: e = "vertical", ...t }, d) => /* @__PURE__ */ o(
|
|
439
460
|
f.ScrollAreaScrollbar,
|
|
440
461
|
{
|
|
441
462
|
ref: d,
|
|
@@ -450,9 +471,9 @@ const I = r.forwardRef(({ className: a, orientation: e = "vertical", ...t }, d)
|
|
|
450
471
|
children: /* @__PURE__ */ o(f.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
|
|
451
472
|
}
|
|
452
473
|
));
|
|
453
|
-
|
|
454
|
-
const
|
|
455
|
-
|
|
474
|
+
P.displayName = f.ScrollAreaScrollbar.displayName;
|
|
475
|
+
const Fe = r.forwardRef(({ className: a, orientation: e = "horizontal", decorative: t = !0, ...d }, c) => /* @__PURE__ */ o(
|
|
476
|
+
R.Root,
|
|
456
477
|
{
|
|
457
478
|
ref: c,
|
|
458
479
|
decorative: t,
|
|
@@ -461,11 +482,11 @@ const Me = r.forwardRef(({ className: a, orientation: e = "horizontal", decorati
|
|
|
461
482
|
...d
|
|
462
483
|
}
|
|
463
484
|
));
|
|
464
|
-
|
|
465
|
-
const
|
|
466
|
-
const { theme: e = "system" } =
|
|
485
|
+
Fe.displayName = R.Root.displayName;
|
|
486
|
+
const ya = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("animate-pulse rounded-md bg-primary/10", a), ...e }), Na = ({ ...a }) => {
|
|
487
|
+
const { theme: e = "system" } = O();
|
|
467
488
|
return /* @__PURE__ */ o(
|
|
468
|
-
|
|
489
|
+
B,
|
|
469
490
|
{
|
|
470
491
|
theme: e,
|
|
471
492
|
className: "toaster group",
|
|
@@ -480,8 +501,8 @@ const fa = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("
|
|
|
480
501
|
...a
|
|
481
502
|
}
|
|
482
503
|
);
|
|
483
|
-
},
|
|
484
|
-
|
|
504
|
+
}, Ge = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
505
|
+
h.Root,
|
|
485
506
|
{
|
|
486
507
|
className: s(
|
|
487
508
|
"peer inline-flex h-[24px] w-[44px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-400 focus-visible:ring-offset-2 focus-visible:ring-offset-white disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-slate-900 data-[state=unchecked]:bg-slate-200 dark:focus-visible:ring-slate-800 dark:focus-visible:ring-offset-slate-950 dark:data-[state=checked]:bg-slate-50 dark:data-[state=unchecked]:bg-slate-800",
|
|
@@ -490,7 +511,7 @@ const fa = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("
|
|
|
490
511
|
...e,
|
|
491
512
|
ref: t,
|
|
492
513
|
children: /* @__PURE__ */ o(
|
|
493
|
-
|
|
514
|
+
h.Thumb,
|
|
494
515
|
{
|
|
495
516
|
className: s(
|
|
496
517
|
"pointer-events-none block h-5 w-5 rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0 dark:bg-slate-950"
|
|
@@ -499,8 +520,8 @@ const fa = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("
|
|
|
499
520
|
)
|
|
500
521
|
}
|
|
501
522
|
));
|
|
502
|
-
|
|
503
|
-
const
|
|
523
|
+
Ge.displayName = h.Root.displayName;
|
|
524
|
+
const xa = g.Root, Oe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
504
525
|
g.List,
|
|
505
526
|
{
|
|
506
527
|
ref: t,
|
|
@@ -511,8 +532,8 @@ const ga = g.Root, He = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__
|
|
|
511
532
|
...e
|
|
512
533
|
}
|
|
513
534
|
));
|
|
514
|
-
|
|
515
|
-
const
|
|
535
|
+
Oe.displayName = g.List.displayName;
|
|
536
|
+
const Be = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
516
537
|
g.Trigger,
|
|
517
538
|
{
|
|
518
539
|
ref: t,
|
|
@@ -523,8 +544,8 @@ const Le = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
523
544
|
...e
|
|
524
545
|
}
|
|
525
546
|
));
|
|
526
|
-
|
|
527
|
-
const
|
|
547
|
+
Be.displayName = g.Trigger.displayName;
|
|
548
|
+
const Ve = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
528
549
|
g.Content,
|
|
529
550
|
{
|
|
530
551
|
ref: t,
|
|
@@ -535,8 +556,8 @@ const Ge = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
535
556
|
...e
|
|
536
557
|
}
|
|
537
558
|
));
|
|
538
|
-
|
|
539
|
-
const
|
|
559
|
+
Ve.displayName = g.Content.displayName;
|
|
560
|
+
const Ee = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
540
561
|
"textarea",
|
|
541
562
|
{
|
|
542
563
|
className: s(
|
|
@@ -550,9 +571,9 @@ const Fe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
550
571
|
spellCheck: "false"
|
|
551
572
|
}
|
|
552
573
|
));
|
|
553
|
-
|
|
554
|
-
const
|
|
555
|
-
|
|
574
|
+
Ee.displayName = "Textarea";
|
|
575
|
+
const ha = y.Portal, wa = y.Provider, va = y.Root, Ca = y.Trigger, qe = r.forwardRef(({ className: a, sideOffset: e = 4, ...t }, d) => /* @__PURE__ */ o(
|
|
576
|
+
y.Content,
|
|
556
577
|
{
|
|
557
578
|
ref: d,
|
|
558
579
|
sideOffset: e,
|
|
@@ -563,85 +584,88 @@ const ba = b.Portal, ya = b.Provider, Na = b.Root, xa = b.Trigger, Oe = r.forwar
|
|
|
563
584
|
...t
|
|
564
585
|
}
|
|
565
586
|
));
|
|
566
|
-
|
|
587
|
+
qe.displayName = y.Content.displayName;
|
|
567
588
|
export {
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
589
|
+
la as $,
|
|
590
|
+
aa as A,
|
|
591
|
+
K as B,
|
|
592
|
+
re as C,
|
|
593
|
+
be as D,
|
|
573
594
|
ye as E,
|
|
574
595
|
Ne as F,
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
596
|
+
xe as G,
|
|
597
|
+
we as H,
|
|
598
|
+
ve as I,
|
|
599
|
+
he as J,
|
|
600
|
+
ce as K,
|
|
601
|
+
ra as L,
|
|
602
|
+
I as M,
|
|
603
|
+
pe as N,
|
|
604
|
+
fe as O,
|
|
605
|
+
ue as P,
|
|
606
|
+
ge as Q,
|
|
607
|
+
na as R,
|
|
608
|
+
ya as S,
|
|
609
|
+
ia as T,
|
|
610
|
+
ke as U,
|
|
611
|
+
De as V,
|
|
612
|
+
Te as W,
|
|
613
|
+
Ae as X,
|
|
614
|
+
Ie as Y,
|
|
615
|
+
Se as Z,
|
|
616
|
+
Pe as _,
|
|
617
|
+
q as a,
|
|
618
|
+
ma as a0,
|
|
619
|
+
ca as a1,
|
|
620
|
+
Re as a2,
|
|
621
|
+
Ce as a3,
|
|
622
|
+
pa as a4,
|
|
623
|
+
fa as a5,
|
|
624
|
+
ua as a6,
|
|
625
|
+
ze as a7,
|
|
626
|
+
_e as a8,
|
|
627
|
+
je as a9,
|
|
628
|
+
ga as aa,
|
|
629
|
+
ba as ab,
|
|
630
|
+
He as ac,
|
|
631
|
+
Le as ad,
|
|
632
|
+
P as ae,
|
|
633
|
+
Fe as af,
|
|
634
|
+
Na as ag,
|
|
635
|
+
Ge as ah,
|
|
636
|
+
xa as ai,
|
|
637
|
+
Oe as aj,
|
|
638
|
+
Be as ak,
|
|
639
|
+
Ve as al,
|
|
640
|
+
Ee as am,
|
|
641
|
+
va as an,
|
|
642
|
+
Ca as ao,
|
|
643
|
+
qe as ap,
|
|
644
|
+
wa as aq,
|
|
645
|
+
ha as ar,
|
|
622
646
|
$ as b,
|
|
623
647
|
s as c,
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
648
|
+
J as d,
|
|
649
|
+
ta as e,
|
|
650
|
+
oa as f,
|
|
651
|
+
Q as g,
|
|
652
|
+
U as h,
|
|
653
|
+
W as i,
|
|
654
|
+
X as j,
|
|
655
|
+
Y as k,
|
|
656
|
+
Z as l,
|
|
657
|
+
ee as m,
|
|
658
|
+
ae as n,
|
|
659
|
+
oe as o,
|
|
660
|
+
te as p,
|
|
661
|
+
sa as q,
|
|
662
|
+
se as r,
|
|
663
|
+
v as s,
|
|
664
|
+
de as t,
|
|
665
|
+
me as u,
|
|
666
|
+
ne as v,
|
|
667
|
+
ie as w,
|
|
668
|
+
le as x,
|
|
669
|
+
S as y,
|
|
670
|
+
da as z
|
|
647
671
|
};
|