@chaibuilder/sdk 2.0.0-beta.63 → 2.0.0-beta.65
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-B2x4yruH.cjs +1 -0
- package/dist/CodeEditor-VcQsGvTM.js +65 -0
- package/dist/Topbar-BQsjWb-A.js +16 -0
- package/dist/Topbar-DEw_kBMz.cjs +1 -0
- package/dist/context-menu-C4lLV8gP.cjs +1 -0
- package/dist/{context-menu-FCyNTUkl.js → context-menu-D5ViOi6K.js} +236 -239
- package/dist/core.cjs +5 -5
- package/dist/core.js +1632 -1656
- package/dist/render.cjs +2 -2
- package/dist/render.js +83 -83
- package/dist/ui.cjs +1 -1
- package/dist/ui.js +198 -198
- package/dist/web-blocks.cjs +6 -6
- package/dist/web-blocks.js +350 -346
- package/package.json +1 -1
- package/dist/CodeEditor-BLTQpTTM.js +0 -67
- package/dist/CodeEditor-CJhjQonw.cjs +0 -1
- package/dist/Topbar-CEyGOl06.js +0 -16
- package/dist/Topbar-pFV2NO8v.cjs +0 -1
- package/dist/context-menu-C_ITMOD1.cjs +0 -1
- package/dist/jsx-runtime-Drh4NO5G.js +0 -633
- package/dist/jsx-runtime-qcKc-DpB.cjs +0 -30
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as
|
|
1
|
+
import { jsx as o, jsxs as m } from "react/jsx-runtime";
|
|
2
|
+
import * as S from "@radix-ui/react-switch";
|
|
3
3
|
import * as n from "react";
|
|
4
|
-
import * as
|
|
5
|
-
import { ChevronDownIcon as Q, Cross2Icon as
|
|
6
|
-
import { cva as
|
|
4
|
+
import * as g from "@radix-ui/react-accordion";
|
|
5
|
+
import { ChevronDownIcon as Q, Cross2Icon as k, ChevronRightIcon as M, CheckIcon as P, DotFilledIcon as z } from "@radix-ui/react-icons";
|
|
6
|
+
import { cva as w } from "class-variance-authority";
|
|
7
7
|
import * as c from "@radix-ui/react-alert-dialog";
|
|
8
8
|
import { Slot as X } from "@radix-ui/react-slot";
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
11
|
-
import * as
|
|
12
|
-
import * as
|
|
13
|
-
import * as
|
|
14
|
-
import * as
|
|
15
|
-
import * as
|
|
9
|
+
import * as f from "@radix-ui/react-dialog";
|
|
10
|
+
import * as O from "@radix-ui/react-label";
|
|
11
|
+
import * as u from "@radix-ui/react-scroll-area";
|
|
12
|
+
import * as b from "@radix-ui/react-tabs";
|
|
13
|
+
import * as x from "@radix-ui/react-tooltip";
|
|
14
|
+
import * as N from "@radix-ui/react-popover";
|
|
15
|
+
import * as C from "@radix-ui/react-hover-card";
|
|
16
16
|
import * as d from "@radix-ui/react-dropdown-menu";
|
|
17
|
-
import * as
|
|
18
|
-
import * as
|
|
17
|
+
import * as j from "@radix-ui/react-separator";
|
|
18
|
+
import * as p from "@radix-ui/react-toast";
|
|
19
19
|
import * as i from "@radix-ui/react-context-menu";
|
|
20
20
|
import { clsx as Y } from "clsx";
|
|
21
21
|
import { twMerge as J } from "tailwind-merge";
|
|
22
|
-
const s = (...e) => J(Y(e)), K = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o
|
|
23
|
-
|
|
22
|
+
const s = (...e) => J(Y(e)), K = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
23
|
+
S.Root,
|
|
24
24
|
{
|
|
25
25
|
className: s(
|
|
26
26
|
"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",
|
|
@@ -28,8 +28,8 @@ const s = (...e) => J(Y(e)), K = n.forwardRef(({ className: e, ...t }, a) => /*
|
|
|
28
28
|
),
|
|
29
29
|
...t,
|
|
30
30
|
ref: a,
|
|
31
|
-
children: /* @__PURE__ */ o
|
|
32
|
-
|
|
31
|
+
children: /* @__PURE__ */ o(
|
|
32
|
+
S.Thumb,
|
|
33
33
|
{
|
|
34
34
|
className: s(
|
|
35
35
|
"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"
|
|
@@ -38,8 +38,8 @@ const s = (...e) => J(Y(e)), K = n.forwardRef(({ className: e, ...t }, a) => /*
|
|
|
38
38
|
)
|
|
39
39
|
}
|
|
40
40
|
));
|
|
41
|
-
K.displayName =
|
|
42
|
-
const
|
|
41
|
+
K.displayName = S.Root.displayName;
|
|
42
|
+
const A = w(
|
|
43
43
|
"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",
|
|
44
44
|
{
|
|
45
45
|
variants: {
|
|
@@ -64,16 +64,13 @@ const D = h(
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
), W = n.forwardRef(
|
|
67
|
-
({ className: e, variant: t, size: a, asChild: r = !1, ...l },
|
|
68
|
-
const q = r ? X : "button";
|
|
69
|
-
return /* @__PURE__ */ o.jsx(q, { className: s(D({ variant: t, size: a, className: e })), ref: j, ...l });
|
|
70
|
-
}
|
|
67
|
+
({ className: e, variant: t, size: a, asChild: r = !1, ...l }, R) => /* @__PURE__ */ o(r ? X : "button", { className: s(A({ variant: t, size: a, className: e })), ref: R, ...l })
|
|
71
68
|
);
|
|
72
69
|
W.displayName = "Button";
|
|
73
|
-
const
|
|
70
|
+
const ft = g.Root, Z = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(g.Item, { ref: a, className: s("border-b", e), ...t }));
|
|
74
71
|
Z.displayName = "AccordionItem";
|
|
75
|
-
const $ = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ o
|
|
76
|
-
|
|
72
|
+
const $ = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ o(g.Header, { className: "flex", children: /* @__PURE__ */ m(
|
|
73
|
+
g.Trigger,
|
|
77
74
|
{
|
|
78
75
|
ref: r,
|
|
79
76
|
className: s(
|
|
@@ -83,13 +80,13 @@ const $ = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__
|
|
|
83
80
|
...a,
|
|
84
81
|
children: [
|
|
85
82
|
t,
|
|
86
|
-
a.hideArrow ? null : /* @__PURE__ */ o
|
|
83
|
+
a.hideArrow ? null : /* @__PURE__ */ o(Q, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
|
|
87
84
|
]
|
|
88
85
|
}
|
|
89
86
|
) }));
|
|
90
|
-
$.displayName =
|
|
91
|
-
const ee = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ o
|
|
92
|
-
|
|
87
|
+
$.displayName = g.Trigger.displayName;
|
|
88
|
+
const ee = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ o(
|
|
89
|
+
g.Content,
|
|
93
90
|
{
|
|
94
91
|
ref: r,
|
|
95
92
|
className: s(
|
|
@@ -97,11 +94,11 @@ const ee = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__
|
|
|
97
94
|
e
|
|
98
95
|
),
|
|
99
96
|
...a,
|
|
100
|
-
children: /* @__PURE__ */ o
|
|
97
|
+
children: /* @__PURE__ */ o("div", { className: "pb-4 pt-0", children: t })
|
|
101
98
|
}
|
|
102
99
|
));
|
|
103
|
-
ee.displayName =
|
|
104
|
-
const te =
|
|
100
|
+
ee.displayName = g.Content.displayName;
|
|
101
|
+
const te = w(
|
|
105
102
|
"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",
|
|
106
103
|
{
|
|
107
104
|
variants: {
|
|
@@ -116,9 +113,9 @@ const te = h(
|
|
|
116
113
|
variant: "default"
|
|
117
114
|
}
|
|
118
115
|
}
|
|
119
|
-
),
|
|
120
|
-
|
|
121
|
-
const
|
|
116
|
+
), pt = ({ className: e, variant: t, ...a }) => /* @__PURE__ */ o("div", { className: s(te({ variant: t }), e), ...a }), ut = c.Root, gt = c.Trigger, V = ({ className: e, ...t }) => /* @__PURE__ */ o(c.Portal, { className: s(e), ...t });
|
|
117
|
+
V.displayName = c.Portal.displayName;
|
|
118
|
+
const L = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
122
119
|
c.Overlay,
|
|
123
120
|
{
|
|
124
121
|
className: s(
|
|
@@ -129,10 +126,10 @@ const V = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
129
126
|
ref: a
|
|
130
127
|
}
|
|
131
128
|
));
|
|
132
|
-
|
|
133
|
-
const ae = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */
|
|
134
|
-
/* @__PURE__ */ o
|
|
135
|
-
/* @__PURE__ */ o
|
|
129
|
+
L.displayName = c.Overlay.displayName;
|
|
130
|
+
const ae = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ m(V, { children: [
|
|
131
|
+
/* @__PURE__ */ o(L, {}),
|
|
132
|
+
/* @__PURE__ */ o(
|
|
136
133
|
c.Content,
|
|
137
134
|
{
|
|
138
135
|
ref: a,
|
|
@@ -145,29 +142,29 @@ const ae = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsxs(O,
|
|
|
145
142
|
)
|
|
146
143
|
] }));
|
|
147
144
|
ae.displayName = c.Content.displayName;
|
|
148
|
-
const oe = ({ className: e, ...t }) => /* @__PURE__ */ o
|
|
145
|
+
const oe = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
|
|
149
146
|
oe.displayName = "AlertDialogHeader";
|
|
150
|
-
const se = ({ className: e, ...t }) => /* @__PURE__ */ o
|
|
147
|
+
const se = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
|
|
151
148
|
se.displayName = "AlertDialogFooter";
|
|
152
|
-
const re = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o
|
|
149
|
+
const re = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(c.Title, { ref: a, className: s("text-lg font-semibold", e), ...t }));
|
|
153
150
|
re.displayName = c.Title.displayName;
|
|
154
|
-
const ne = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o
|
|
151
|
+
const ne = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(c.Description, { ref: a, className: s("text-sm text-muted-foreground", e), ...t }));
|
|
155
152
|
ne.displayName = c.Description.displayName;
|
|
156
|
-
const de = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o
|
|
153
|
+
const de = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(c.Action, { ref: a, className: s(A(), e), ...t }));
|
|
157
154
|
de.displayName = c.Action.displayName;
|
|
158
|
-
const ie = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o
|
|
155
|
+
const ie = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
159
156
|
c.Cancel,
|
|
160
157
|
{
|
|
161
158
|
ref: a,
|
|
162
|
-
className: s(
|
|
159
|
+
className: s(A({ variant: "outline" }), "mt-2 sm:mt-0", e),
|
|
163
160
|
...t
|
|
164
161
|
}
|
|
165
162
|
));
|
|
166
163
|
ie.displayName = c.Cancel.displayName;
|
|
167
|
-
const
|
|
168
|
-
E.displayName =
|
|
169
|
-
const
|
|
170
|
-
|
|
164
|
+
const bt = f.Root, xt = f.Trigger, E = ({ className: e, ...t }) => /* @__PURE__ */ o(f.Portal, { className: s(e), ...t });
|
|
165
|
+
E.displayName = f.Portal.displayName;
|
|
166
|
+
const _ = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
167
|
+
f.Overlay,
|
|
171
168
|
{
|
|
172
169
|
ref: a,
|
|
173
170
|
className: s(
|
|
@@ -177,11 +174,11 @@ const L = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
177
174
|
...t
|
|
178
175
|
}
|
|
179
176
|
));
|
|
180
|
-
|
|
181
|
-
const le = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */
|
|
182
|
-
/* @__PURE__ */ o
|
|
183
|
-
/* @__PURE__ */
|
|
184
|
-
|
|
177
|
+
_.displayName = f.Overlay.displayName;
|
|
178
|
+
const le = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ m(E, { children: [
|
|
179
|
+
/* @__PURE__ */ o(_, {}),
|
|
180
|
+
/* @__PURE__ */ m(
|
|
181
|
+
f.Content,
|
|
185
182
|
{
|
|
186
183
|
ref: r,
|
|
187
184
|
className: s(
|
|
@@ -191,53 +188,53 @@ const le = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__
|
|
|
191
188
|
...a,
|
|
192
189
|
children: [
|
|
193
190
|
t,
|
|
194
|
-
/* @__PURE__ */
|
|
195
|
-
/* @__PURE__ */ o
|
|
196
|
-
/* @__PURE__ */ o
|
|
191
|
+
/* @__PURE__ */ m(f.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: [
|
|
192
|
+
/* @__PURE__ */ o(k, { className: "h-4 w-4" }),
|
|
193
|
+
/* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
|
|
197
194
|
] })
|
|
198
195
|
]
|
|
199
196
|
}
|
|
200
197
|
)
|
|
201
198
|
] }));
|
|
202
|
-
le.displayName =
|
|
203
|
-
const ce = ({ className: e, ...t }) => /* @__PURE__ */ o
|
|
199
|
+
le.displayName = f.Content.displayName;
|
|
200
|
+
const ce = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-1.5 text-center sm:text-left", e), ...t });
|
|
204
201
|
ce.displayName = "DialogHeader";
|
|
205
|
-
const me = ({ className: e, ...t }) => /* @__PURE__ */ o
|
|
202
|
+
const me = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
|
|
206
203
|
me.displayName = "DialogFooter";
|
|
207
|
-
const fe = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o
|
|
208
|
-
|
|
204
|
+
const fe = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
205
|
+
f.Title,
|
|
209
206
|
{
|
|
210
207
|
ref: a,
|
|
211
208
|
className: s("text-lg font-semibold leading-none tracking-tight", e),
|
|
212
209
|
...t
|
|
213
210
|
}
|
|
214
211
|
));
|
|
215
|
-
fe.displayName =
|
|
216
|
-
const pe = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o
|
|
217
|
-
pe.displayName =
|
|
218
|
-
const ue = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o
|
|
212
|
+
fe.displayName = f.Title.displayName;
|
|
213
|
+
const pe = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(f.Description, { ref: a, className: s("text-sm text-muted-foreground", e), ...t }));
|
|
214
|
+
pe.displayName = f.Description.displayName;
|
|
215
|
+
const ue = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { ref: a, className: s("rounded-xl border bg-card text-card-foreground shadow", e), ...t }));
|
|
219
216
|
ue.displayName = "Card";
|
|
220
|
-
const xe = n.forwardRef(
|
|
221
|
-
({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("div", { ref: a, className: s("flex flex-col space-y-1.5 p-6", e), ...t })
|
|
222
|
-
);
|
|
223
|
-
xe.displayName = "CardHeader";
|
|
224
217
|
const ge = n.forwardRef(
|
|
225
|
-
({ className: e, ...t }, a) => /* @__PURE__ */ o
|
|
218
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { ref: a, className: s("flex flex-col space-y-1.5 p-6", e), ...t })
|
|
226
219
|
);
|
|
227
|
-
ge.displayName = "
|
|
220
|
+
ge.displayName = "CardHeader";
|
|
228
221
|
const be = n.forwardRef(
|
|
229
|
-
({ className: e, ...t }, a) => /* @__PURE__ */ o
|
|
222
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("h3", { ref: a, className: s("font-semibold leading-none tracking-tight", e), ...t })
|
|
230
223
|
);
|
|
231
|
-
be.displayName = "
|
|
224
|
+
be.displayName = "CardTitle";
|
|
225
|
+
const xe = n.forwardRef(
|
|
226
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("p", { ref: a, className: s("text-sm text-muted-foreground", e), ...t })
|
|
227
|
+
);
|
|
228
|
+
xe.displayName = "CardDescription";
|
|
232
229
|
const ye = n.forwardRef(
|
|
233
|
-
({ className: e, ...t }, a) => /* @__PURE__ */ o
|
|
230
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { ref: a, className: s("p-6 pt-0", e), ...t })
|
|
234
231
|
);
|
|
235
232
|
ye.displayName = "CardContent";
|
|
236
233
|
const Ne = n.forwardRef(
|
|
237
|
-
({ className: e, ...t }, a) => /* @__PURE__ */ o
|
|
234
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { ref: a, className: s(" flex items-center p-6 pt-0", e), ...t })
|
|
238
235
|
);
|
|
239
236
|
Ne.displayName = "CardFooter";
|
|
240
|
-
const ve = n.forwardRef(({ className: e, type: t, ...a }, r) => /* @__PURE__ */ o
|
|
237
|
+
const ve = n.forwardRef(({ className: e, type: t, ...a }, r) => /* @__PURE__ */ o(
|
|
241
238
|
"input",
|
|
242
239
|
{
|
|
243
240
|
type: t,
|
|
@@ -253,9 +250,9 @@ const ve = n.forwardRef(({ className: e, type: t, ...a }, r) => /* @__PURE__ */
|
|
|
253
250
|
}
|
|
254
251
|
));
|
|
255
252
|
ve.displayName = "Input";
|
|
256
|
-
const he =
|
|
257
|
-
we.displayName =
|
|
258
|
-
const
|
|
253
|
+
const he = w("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), we = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(O.Root, { ref: a, className: s(he(), e), ...t }));
|
|
254
|
+
we.displayName = O.Root.displayName;
|
|
255
|
+
const Ce = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
259
256
|
"textarea",
|
|
260
257
|
{
|
|
261
258
|
className: s(
|
|
@@ -269,15 +266,15 @@ const je = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
269
266
|
spellCheck: "false"
|
|
270
267
|
}
|
|
271
268
|
));
|
|
272
|
-
|
|
273
|
-
const
|
|
274
|
-
/* @__PURE__ */ o
|
|
275
|
-
/* @__PURE__ */ o
|
|
276
|
-
/* @__PURE__ */ o
|
|
269
|
+
Ce.displayName = "Textarea";
|
|
270
|
+
const Re = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ m(u.Root, { ref: r, className: s("relative overflow-hidden", e), ...a, children: [
|
|
271
|
+
/* @__PURE__ */ o(u.Viewport, { className: "h-full w-full rounded-[inherit]", children: t }),
|
|
272
|
+
/* @__PURE__ */ o(H, {}),
|
|
273
|
+
/* @__PURE__ */ o(u.Corner, {})
|
|
277
274
|
] }));
|
|
278
|
-
|
|
279
|
-
const
|
|
280
|
-
|
|
275
|
+
Re.displayName = u.Root.displayName;
|
|
276
|
+
const H = n.forwardRef(({ className: e, orientation: t = "vertical", ...a }, r) => /* @__PURE__ */ o(
|
|
277
|
+
u.ScrollAreaScrollbar,
|
|
281
278
|
{
|
|
282
279
|
ref: r,
|
|
283
280
|
orientation: t,
|
|
@@ -288,12 +285,12 @@ const _ = n.forwardRef(({ className: e, orientation: t = "vertical", ...a }, r)
|
|
|
288
285
|
e
|
|
289
286
|
),
|
|
290
287
|
...a,
|
|
291
|
-
children: /* @__PURE__ */ o
|
|
288
|
+
children: /* @__PURE__ */ o(u.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
|
|
292
289
|
}
|
|
293
290
|
));
|
|
294
|
-
|
|
295
|
-
const
|
|
296
|
-
|
|
291
|
+
H.displayName = u.ScrollAreaScrollbar.displayName;
|
|
292
|
+
const yt = b.Root, Te = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
293
|
+
b.List,
|
|
297
294
|
{
|
|
298
295
|
ref: a,
|
|
299
296
|
className: s(
|
|
@@ -303,9 +300,9 @@ const bt = x.Root, Re = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__
|
|
|
303
300
|
...t
|
|
304
301
|
}
|
|
305
302
|
));
|
|
306
|
-
|
|
307
|
-
const
|
|
308
|
-
|
|
303
|
+
Te.displayName = b.List.displayName;
|
|
304
|
+
const De = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
305
|
+
b.Trigger,
|
|
309
306
|
{
|
|
310
307
|
ref: a,
|
|
311
308
|
className: s(
|
|
@@ -315,9 +312,9 @@ const Te = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
315
312
|
...t
|
|
316
313
|
}
|
|
317
314
|
));
|
|
318
|
-
|
|
319
|
-
const
|
|
320
|
-
|
|
315
|
+
De.displayName = b.Trigger.displayName;
|
|
316
|
+
const Se = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
317
|
+
b.Content,
|
|
321
318
|
{
|
|
322
319
|
ref: a,
|
|
323
320
|
className: s(
|
|
@@ -327,9 +324,9 @@ const De = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
327
324
|
...t
|
|
328
325
|
}
|
|
329
326
|
));
|
|
330
|
-
|
|
331
|
-
const
|
|
332
|
-
|
|
327
|
+
Se.displayName = b.Content.displayName;
|
|
328
|
+
const Nt = x.Portal, vt = x.Provider, ht = x.Root, wt = x.Trigger, Ae = n.forwardRef(({ className: e, sideOffset: t = 4, ...a }, r) => /* @__PURE__ */ o(
|
|
329
|
+
x.Content,
|
|
333
330
|
{
|
|
334
331
|
ref: r,
|
|
335
332
|
sideOffset: t,
|
|
@@ -340,9 +337,9 @@ const yt = g.Portal, Nt = g.Provider, vt = g.Root, ht = g.Trigger, Se = n.forwar
|
|
|
340
337
|
...a
|
|
341
338
|
}
|
|
342
339
|
));
|
|
343
|
-
|
|
344
|
-
const
|
|
345
|
-
|
|
340
|
+
Ae.displayName = x.Content.displayName;
|
|
341
|
+
const Ct = N.Root, Rt = N.Trigger, Ie = n.forwardRef(({ className: e, align: t = "center", sideOffset: a = 4, ...r }, l) => /* @__PURE__ */ o(N.Portal, { children: /* @__PURE__ */ o(
|
|
342
|
+
N.Content,
|
|
346
343
|
{
|
|
347
344
|
ref: l,
|
|
348
345
|
align: t,
|
|
@@ -354,9 +351,9 @@ const wt = y.Root, jt = y.Trigger, Ae = n.forwardRef(({ className: e, align: t =
|
|
|
354
351
|
...r
|
|
355
352
|
}
|
|
356
353
|
) }));
|
|
357
|
-
|
|
358
|
-
const
|
|
359
|
-
|
|
354
|
+
Ie.displayName = N.Content.displayName;
|
|
355
|
+
const Tt = C.Root, Dt = C.Trigger, ke = n.forwardRef(({ className: e, align: t = "center", sideOffset: a = 4, ...r }, l) => /* @__PURE__ */ o(
|
|
356
|
+
C.Content,
|
|
360
357
|
{
|
|
361
358
|
ref: l,
|
|
362
359
|
align: t,
|
|
@@ -368,8 +365,8 @@ const Ct = w.Root, Rt = w.Trigger, Ie = n.forwardRef(({ className: e, align: t =
|
|
|
368
365
|
...r
|
|
369
366
|
}
|
|
370
367
|
));
|
|
371
|
-
|
|
372
|
-
const
|
|
368
|
+
ke.displayName = C.Content.displayName;
|
|
369
|
+
const St = d.Root, At = d.Trigger, It = d.Group, kt = d.Portal, Mt = d.Sub, Pt = d.RadioGroup, Me = n.forwardRef(({ className: e, inset: t, children: a, ...r }, l) => /* @__PURE__ */ m(
|
|
373
370
|
d.SubTrigger,
|
|
374
371
|
{
|
|
375
372
|
ref: l,
|
|
@@ -381,12 +378,12 @@ const Tt = d.Root, Dt = d.Trigger, St = d.Group, At = d.Portal, It = d.Sub, kt =
|
|
|
381
378
|
...r,
|
|
382
379
|
children: [
|
|
383
380
|
a,
|
|
384
|
-
/* @__PURE__ */ o
|
|
381
|
+
/* @__PURE__ */ o(M, { className: "ml-auto h-4 w-4" })
|
|
385
382
|
]
|
|
386
383
|
}
|
|
387
384
|
));
|
|
388
|
-
|
|
389
|
-
const
|
|
385
|
+
Me.displayName = d.SubTrigger.displayName;
|
|
386
|
+
const Pe = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
390
387
|
d.SubContent,
|
|
391
388
|
{
|
|
392
389
|
ref: a,
|
|
@@ -397,8 +394,8 @@ const Me = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
397
394
|
...t
|
|
398
395
|
}
|
|
399
396
|
));
|
|
400
|
-
|
|
401
|
-
const
|
|
397
|
+
Pe.displayName = d.SubContent.displayName;
|
|
398
|
+
const ze = n.forwardRef(({ className: e, sideOffset: t = 4, ...a }, r) => /* @__PURE__ */ o(d.Portal, { children: /* @__PURE__ */ o(
|
|
402
399
|
d.Content,
|
|
403
400
|
{
|
|
404
401
|
ref: r,
|
|
@@ -411,8 +408,8 @@ const Pe = n.forwardRef(({ className: e, sideOffset: t = 4, ...a }, r) => /* @__
|
|
|
411
408
|
...a
|
|
412
409
|
}
|
|
413
410
|
) }));
|
|
414
|
-
|
|
415
|
-
const
|
|
411
|
+
ze.displayName = d.Content.displayName;
|
|
412
|
+
const Oe = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o(
|
|
416
413
|
d.Item,
|
|
417
414
|
{
|
|
418
415
|
ref: r,
|
|
@@ -424,8 +421,8 @@ const ze = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */
|
|
|
424
421
|
...a
|
|
425
422
|
}
|
|
426
423
|
));
|
|
427
|
-
|
|
428
|
-
const
|
|
424
|
+
Oe.displayName = d.Item.displayName;
|
|
425
|
+
const je = n.forwardRef(({ className: e, children: t, checked: a, ...r }, l) => /* @__PURE__ */ m(
|
|
429
426
|
d.CheckboxItem,
|
|
430
427
|
{
|
|
431
428
|
ref: l,
|
|
@@ -436,13 +433,13 @@ const Oe = n.forwardRef(({ className: e, children: t, checked: a, ...r }, l) =>
|
|
|
436
433
|
checked: a,
|
|
437
434
|
...r,
|
|
438
435
|
children: [
|
|
439
|
-
/* @__PURE__ */ o
|
|
436
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(d.ItemIndicator, { children: /* @__PURE__ */ o(P, { className: "h-4 w-4" }) }) }),
|
|
440
437
|
t
|
|
441
438
|
]
|
|
442
439
|
}
|
|
443
440
|
));
|
|
444
|
-
|
|
445
|
-
const Ve = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */
|
|
441
|
+
je.displayName = d.CheckboxItem.displayName;
|
|
442
|
+
const Ve = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ m(
|
|
446
443
|
d.RadioItem,
|
|
447
444
|
{
|
|
448
445
|
ref: r,
|
|
@@ -452,13 +449,13 @@ const Ve = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__
|
|
|
452
449
|
),
|
|
453
450
|
...a,
|
|
454
451
|
children: [
|
|
455
|
-
/* @__PURE__ */ o
|
|
452
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(d.ItemIndicator, { children: /* @__PURE__ */ o(z, { className: "h-4 w-4 fill-current" }) }) }),
|
|
456
453
|
t
|
|
457
454
|
]
|
|
458
455
|
}
|
|
459
456
|
));
|
|
460
457
|
Ve.displayName = d.RadioItem.displayName;
|
|
461
|
-
const
|
|
458
|
+
const Le = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o(
|
|
462
459
|
d.Label,
|
|
463
460
|
{
|
|
464
461
|
ref: r,
|
|
@@ -466,13 +463,13 @@ const Ee = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */
|
|
|
466
463
|
...a
|
|
467
464
|
}
|
|
468
465
|
));
|
|
469
|
-
|
|
470
|
-
const
|
|
471
|
-
|
|
472
|
-
const _e = ({ className: e, ...t }) => /* @__PURE__ */ o
|
|
466
|
+
Le.displayName = d.Label.displayName;
|
|
467
|
+
const Ee = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(d.Separator, { ref: a, className: s("-mx-1 my-1 h-px bg-muted", e), ...t }));
|
|
468
|
+
Ee.displayName = d.Separator.displayName;
|
|
469
|
+
const _e = ({ className: e, ...t }) => /* @__PURE__ */ o("span", { className: s("ml-auto text-xs tracking-widest opacity-60", e), ...t });
|
|
473
470
|
_e.displayName = "DropdownMenuShortcut";
|
|
474
|
-
const He = n.forwardRef(({ className: e, orientation: t = "horizontal", decorative: a = !0, ...r }, l) => /* @__PURE__ */ o
|
|
475
|
-
|
|
471
|
+
const He = n.forwardRef(({ className: e, orientation: t = "horizontal", decorative: a = !0, ...r }, l) => /* @__PURE__ */ o(
|
|
472
|
+
j.Root,
|
|
476
473
|
{
|
|
477
474
|
ref: l,
|
|
478
475
|
decorative: a,
|
|
@@ -481,22 +478,22 @@ const He = n.forwardRef(({ className: e, orientation: t = "horizontal", decorati
|
|
|
481
478
|
...r
|
|
482
479
|
}
|
|
483
480
|
));
|
|
484
|
-
He.displayName =
|
|
481
|
+
He.displayName = j.Root.displayName;
|
|
485
482
|
const Ge = 1, Fe = 1e6;
|
|
486
|
-
let
|
|
483
|
+
let T = 0;
|
|
487
484
|
function Be() {
|
|
488
|
-
return
|
|
485
|
+
return T = (T + 1) % Number.MAX_VALUE, T.toString();
|
|
489
486
|
}
|
|
490
|
-
const
|
|
491
|
-
if (
|
|
487
|
+
const D = /* @__PURE__ */ new Map(), I = (e) => {
|
|
488
|
+
if (D.has(e))
|
|
492
489
|
return;
|
|
493
490
|
const t = setTimeout(() => {
|
|
494
|
-
|
|
491
|
+
D.delete(e), y({
|
|
495
492
|
type: "REMOVE_TOAST",
|
|
496
493
|
toastId: e
|
|
497
494
|
});
|
|
498
495
|
}, Fe);
|
|
499
|
-
|
|
496
|
+
D.set(e, t);
|
|
500
497
|
}, Ue = (e, t) => {
|
|
501
498
|
switch (t.type) {
|
|
502
499
|
case "ADD_TOAST":
|
|
@@ -511,8 +508,8 @@ const R = /* @__PURE__ */ new Map(), S = (e) => {
|
|
|
511
508
|
};
|
|
512
509
|
case "DISMISS_TOAST": {
|
|
513
510
|
const { toastId: a } = t;
|
|
514
|
-
return a ?
|
|
515
|
-
|
|
511
|
+
return a ? I(a) : e.toasts.forEach((r) => {
|
|
512
|
+
I(r.id);
|
|
516
513
|
}), {
|
|
517
514
|
...e,
|
|
518
515
|
toasts: e.toasts.map(
|
|
@@ -532,19 +529,19 @@ const R = /* @__PURE__ */ new Map(), S = (e) => {
|
|
|
532
529
|
toasts: e.toasts.filter((a) => a.id !== t.toastId)
|
|
533
530
|
};
|
|
534
531
|
}
|
|
535
|
-
},
|
|
536
|
-
let
|
|
537
|
-
function
|
|
538
|
-
|
|
539
|
-
t(
|
|
532
|
+
}, v = [];
|
|
533
|
+
let h = { toasts: [] };
|
|
534
|
+
function y(e) {
|
|
535
|
+
h = Ue(h, e), v.forEach((t) => {
|
|
536
|
+
t(h);
|
|
540
537
|
});
|
|
541
538
|
}
|
|
542
539
|
function qe({ ...e }) {
|
|
543
|
-
const t = Be(), a = (l) =>
|
|
540
|
+
const t = Be(), a = (l) => y({
|
|
544
541
|
type: "UPDATE_TOAST",
|
|
545
542
|
toast: { ...l, id: t }
|
|
546
|
-
}), r = () =>
|
|
547
|
-
return
|
|
543
|
+
}), r = () => y({ type: "DISMISS_TOAST", toastId: t });
|
|
544
|
+
return y({
|
|
548
545
|
type: "ADD_TOAST",
|
|
549
546
|
toast: {
|
|
550
547
|
...e,
|
|
@@ -561,18 +558,18 @@ function qe({ ...e }) {
|
|
|
561
558
|
};
|
|
562
559
|
}
|
|
563
560
|
function Qe() {
|
|
564
|
-
const [e, t] = n.useState(
|
|
565
|
-
return n.useEffect(() => (
|
|
566
|
-
const a =
|
|
567
|
-
a > -1 &&
|
|
561
|
+
const [e, t] = n.useState(h);
|
|
562
|
+
return n.useEffect(() => (v.push(t), () => {
|
|
563
|
+
const a = v.indexOf(t);
|
|
564
|
+
a > -1 && v.splice(a, 1);
|
|
568
565
|
}), [e]), {
|
|
569
566
|
...e,
|
|
570
567
|
toast: qe,
|
|
571
|
-
dismiss: (a) =>
|
|
568
|
+
dismiss: (a) => y({ type: "DISMISS_TOAST", toastId: a })
|
|
572
569
|
};
|
|
573
570
|
}
|
|
574
|
-
const Xe =
|
|
575
|
-
|
|
571
|
+
const Xe = p.Provider, G = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
572
|
+
p.Viewport,
|
|
576
573
|
{
|
|
577
574
|
ref: a,
|
|
578
575
|
className: s(
|
|
@@ -582,8 +579,8 @@ const Xe = f.Provider, H = n.forwardRef(({ className: e, ...t }, a) => /* @__PUR
|
|
|
582
579
|
...t
|
|
583
580
|
}
|
|
584
581
|
));
|
|
585
|
-
|
|
586
|
-
const Ye =
|
|
582
|
+
G.displayName = p.Viewport.displayName;
|
|
583
|
+
const Ye = w(
|
|
587
584
|
"group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
|
|
588
585
|
{
|
|
589
586
|
variants: {
|
|
@@ -596,10 +593,10 @@ const Ye = h(
|
|
|
596
593
|
variant: "default"
|
|
597
594
|
}
|
|
598
595
|
}
|
|
599
|
-
),
|
|
600
|
-
|
|
601
|
-
const Je = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o
|
|
602
|
-
|
|
596
|
+
), F = n.forwardRef(({ className: e, variant: t, ...a }, r) => /* @__PURE__ */ o(p.Root, { ref: r, className: s(Ye({ variant: t }), e), ...a }));
|
|
597
|
+
F.displayName = p.Root.displayName;
|
|
598
|
+
const Je = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
599
|
+
p.Action,
|
|
603
600
|
{
|
|
604
601
|
ref: a,
|
|
605
602
|
className: s(
|
|
@@ -609,9 +606,9 @@ const Je = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
609
606
|
...t
|
|
610
607
|
}
|
|
611
608
|
));
|
|
612
|
-
Je.displayName =
|
|
613
|
-
const
|
|
614
|
-
|
|
609
|
+
Je.displayName = p.Action.displayName;
|
|
610
|
+
const B = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
611
|
+
p.Close,
|
|
615
612
|
{
|
|
616
613
|
ref: a,
|
|
617
614
|
className: s(
|
|
@@ -620,29 +617,29 @@ const F = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
620
617
|
),
|
|
621
618
|
"toast-close": "",
|
|
622
619
|
...t,
|
|
623
|
-
children: /* @__PURE__ */ o
|
|
620
|
+
children: /* @__PURE__ */ o(k, { className: "h-4 w-4" })
|
|
624
621
|
}
|
|
625
622
|
));
|
|
626
|
-
|
|
627
|
-
const
|
|
628
|
-
|
|
629
|
-
const
|
|
630
|
-
|
|
631
|
-
function
|
|
623
|
+
B.displayName = p.Close.displayName;
|
|
624
|
+
const U = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(p.Title, { ref: a, className: s("text-sm font-semibold [&+div]:text-xs", e), ...t }));
|
|
625
|
+
U.displayName = p.Title.displayName;
|
|
626
|
+
const q = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(p.Description, { ref: a, className: s("text-sm opacity-90", e), ...t }));
|
|
627
|
+
q.displayName = p.Description.displayName;
|
|
628
|
+
function zt() {
|
|
632
629
|
const { toasts: e } = Qe();
|
|
633
|
-
return /* @__PURE__ */
|
|
634
|
-
e.map(({ id: t, title: a, description: r, action: l, ...
|
|
635
|
-
/* @__PURE__ */
|
|
636
|
-
a && /* @__PURE__ */ o
|
|
637
|
-
r && /* @__PURE__ */ o
|
|
630
|
+
return /* @__PURE__ */ m(Xe, { children: [
|
|
631
|
+
e.map(({ id: t, title: a, description: r, action: l, ...R }) => /* @__PURE__ */ m(F, { ...R, children: [
|
|
632
|
+
/* @__PURE__ */ m("div", { className: "grid gap-1", children: [
|
|
633
|
+
a && /* @__PURE__ */ o(U, { children: a }),
|
|
634
|
+
r && /* @__PURE__ */ o(q, { children: r })
|
|
638
635
|
] }),
|
|
639
636
|
l,
|
|
640
|
-
/* @__PURE__ */ o
|
|
637
|
+
/* @__PURE__ */ o(B, {})
|
|
641
638
|
] }, t)),
|
|
642
|
-
/* @__PURE__ */ o
|
|
639
|
+
/* @__PURE__ */ o(G, {})
|
|
643
640
|
] });
|
|
644
641
|
}
|
|
645
|
-
const
|
|
642
|
+
const Ot = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: s("animate-pulse rounded-md bg-primary/10", e), ...t }), jt = i.Root, Vt = i.Trigger, Lt = i.Group, Et = i.Portal, _t = i.Sub, Ht = i.RadioGroup, Ke = n.forwardRef(({ className: e, inset: t, children: a, ...r }, l) => /* @__PURE__ */ m(
|
|
646
643
|
i.SubTrigger,
|
|
647
644
|
{
|
|
648
645
|
ref: l,
|
|
@@ -654,12 +651,12 @@ const Pt = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className:
|
|
|
654
651
|
...r,
|
|
655
652
|
children: [
|
|
656
653
|
a,
|
|
657
|
-
/* @__PURE__ */ o
|
|
654
|
+
/* @__PURE__ */ o(M, { className: "ml-auto h-4 w-4" })
|
|
658
655
|
]
|
|
659
656
|
}
|
|
660
657
|
));
|
|
661
658
|
Ke.displayName = i.SubTrigger.displayName;
|
|
662
|
-
const We = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o
|
|
659
|
+
const We = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
663
660
|
i.SubContent,
|
|
664
661
|
{
|
|
665
662
|
ref: a,
|
|
@@ -671,7 +668,7 @@ const We = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
671
668
|
}
|
|
672
669
|
));
|
|
673
670
|
We.displayName = i.SubContent.displayName;
|
|
674
|
-
const Ze = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o
|
|
671
|
+
const Ze = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(i.Portal, { children: /* @__PURE__ */ o(
|
|
675
672
|
i.Content,
|
|
676
673
|
{
|
|
677
674
|
ref: a,
|
|
@@ -683,7 +680,7 @@ const Ze = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(i.P
|
|
|
683
680
|
}
|
|
684
681
|
) }));
|
|
685
682
|
Ze.displayName = i.Content.displayName;
|
|
686
|
-
const $e = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o
|
|
683
|
+
const $e = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o(
|
|
687
684
|
i.Item,
|
|
688
685
|
{
|
|
689
686
|
ref: r,
|
|
@@ -696,7 +693,7 @@ const $e = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */
|
|
|
696
693
|
}
|
|
697
694
|
));
|
|
698
695
|
$e.displayName = i.Item.displayName;
|
|
699
|
-
const et = n.forwardRef(({ className: e, children: t, checked: a, ...r }, l) => /* @__PURE__ */
|
|
696
|
+
const et = n.forwardRef(({ className: e, children: t, checked: a, ...r }, l) => /* @__PURE__ */ m(
|
|
700
697
|
i.CheckboxItem,
|
|
701
698
|
{
|
|
702
699
|
ref: l,
|
|
@@ -707,13 +704,13 @@ const et = n.forwardRef(({ className: e, children: t, checked: a, ...r }, l) =>
|
|
|
707
704
|
checked: a,
|
|
708
705
|
...r,
|
|
709
706
|
children: [
|
|
710
|
-
/* @__PURE__ */ o
|
|
707
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(i.ItemIndicator, { children: /* @__PURE__ */ o(P, { className: "h-4 w-4" }) }) }),
|
|
711
708
|
t
|
|
712
709
|
]
|
|
713
710
|
}
|
|
714
711
|
));
|
|
715
712
|
et.displayName = i.CheckboxItem.displayName;
|
|
716
|
-
const tt = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */
|
|
713
|
+
const tt = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ m(
|
|
717
714
|
i.RadioItem,
|
|
718
715
|
{
|
|
719
716
|
ref: r,
|
|
@@ -723,13 +720,13 @@ const tt = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__
|
|
|
723
720
|
),
|
|
724
721
|
...a,
|
|
725
722
|
children: [
|
|
726
|
-
/* @__PURE__ */ o
|
|
723
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(i.ItemIndicator, { children: /* @__PURE__ */ o(z, { className: "h-4 w-4 fill-current" }) }) }),
|
|
727
724
|
t
|
|
728
725
|
]
|
|
729
726
|
}
|
|
730
727
|
));
|
|
731
728
|
tt.displayName = i.RadioItem.displayName;
|
|
732
|
-
const at = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o
|
|
729
|
+
const at = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o(
|
|
733
730
|
i.Label,
|
|
734
731
|
{
|
|
735
732
|
ref: r,
|
|
@@ -738,61 +735,61 @@ const at = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */
|
|
|
738
735
|
}
|
|
739
736
|
));
|
|
740
737
|
at.displayName = i.Label.displayName;
|
|
741
|
-
const ot = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o
|
|
738
|
+
const ot = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(i.Separator, { ref: a, className: s("-mx-1 my-1 h-px bg-border", e), ...t }));
|
|
742
739
|
ot.displayName = i.Separator.displayName;
|
|
743
|
-
const st = ({ className: e, ...t }) => /* @__PURE__ */ o
|
|
740
|
+
const st = ({ className: e, ...t }) => /* @__PURE__ */ o("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
|
|
744
741
|
st.displayName = "ContextMenuShortcut";
|
|
745
742
|
export {
|
|
746
|
-
|
|
747
|
-
|
|
743
|
+
St as $,
|
|
744
|
+
ft as A,
|
|
748
745
|
W as B,
|
|
749
746
|
ue as C,
|
|
750
|
-
|
|
751
|
-
|
|
747
|
+
bt as D,
|
|
748
|
+
xe as E,
|
|
752
749
|
ye as F,
|
|
753
|
-
|
|
754
|
-
|
|
750
|
+
Re as G,
|
|
751
|
+
H,
|
|
755
752
|
ve as I,
|
|
756
|
-
|
|
757
|
-
|
|
753
|
+
yt as J,
|
|
754
|
+
Te as K,
|
|
758
755
|
we as L,
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
756
|
+
De as M,
|
|
757
|
+
Se as N,
|
|
758
|
+
ht as O,
|
|
759
|
+
wt as P,
|
|
760
|
+
Ae as Q,
|
|
761
|
+
vt as R,
|
|
762
|
+
Ot as S,
|
|
763
|
+
Ce as T,
|
|
764
|
+
Nt as U,
|
|
765
|
+
Ct as V,
|
|
766
|
+
Rt as W,
|
|
767
|
+
Ie as X,
|
|
768
|
+
Tt as Y,
|
|
769
|
+
Dt as Z,
|
|
770
|
+
ke as _,
|
|
774
771
|
le as a,
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
772
|
+
At as a0,
|
|
773
|
+
ze as a1,
|
|
774
|
+
Oe as a2,
|
|
775
|
+
je as a3,
|
|
779
776
|
Ve as a4,
|
|
780
|
-
|
|
781
|
-
|
|
777
|
+
Le as a5,
|
|
778
|
+
Ee as a6,
|
|
782
779
|
_e as a7,
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
780
|
+
It as a8,
|
|
781
|
+
kt as a9,
|
|
782
|
+
Mt as aa,
|
|
783
|
+
Pe as ab,
|
|
784
|
+
Me as ac,
|
|
785
|
+
Pt as ad,
|
|
789
786
|
He as ae,
|
|
790
787
|
Ue as af,
|
|
791
788
|
Qe as ag,
|
|
792
789
|
qe as ah,
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
790
|
+
zt as ai,
|
|
791
|
+
jt as aj,
|
|
792
|
+
Vt as ak,
|
|
796
793
|
Ze as al,
|
|
797
794
|
$e as am,
|
|
798
795
|
et as an,
|
|
@@ -800,22 +797,22 @@ export {
|
|
|
800
797
|
at as ap,
|
|
801
798
|
ot as aq,
|
|
802
799
|
st as ar,
|
|
803
|
-
|
|
800
|
+
Lt as as,
|
|
804
801
|
Et as at,
|
|
805
|
-
|
|
802
|
+
_t as au,
|
|
806
803
|
We as av,
|
|
807
804
|
Ke as aw,
|
|
808
|
-
|
|
805
|
+
Ht as ax,
|
|
809
806
|
K as b,
|
|
810
807
|
s as c,
|
|
811
|
-
|
|
808
|
+
A as d,
|
|
812
809
|
Z as e,
|
|
813
810
|
$ as f,
|
|
814
811
|
ee as g,
|
|
815
|
-
|
|
812
|
+
pt as h,
|
|
816
813
|
te as i,
|
|
817
|
-
|
|
818
|
-
|
|
814
|
+
ut as j,
|
|
815
|
+
gt as k,
|
|
819
816
|
ae as l,
|
|
820
817
|
oe as m,
|
|
821
818
|
se as n,
|
|
@@ -823,12 +820,12 @@ export {
|
|
|
823
820
|
ne as p,
|
|
824
821
|
de as q,
|
|
825
822
|
ie as r,
|
|
826
|
-
|
|
823
|
+
xt as s,
|
|
827
824
|
ce as t,
|
|
828
825
|
me as u,
|
|
829
826
|
fe as v,
|
|
830
827
|
pe as w,
|
|
831
|
-
|
|
828
|
+
ge as x,
|
|
832
829
|
Ne as y,
|
|
833
|
-
|
|
830
|
+
be as z
|
|
834
831
|
};
|