@chaibuilder/sdk 1.2.68 → 1.2.69
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-hWn_HIZX.cjs +1 -0
- package/dist/{CodeEditor-Jw5dt0Xj.js → CodeEditor-j7qNDNkC.js} +20 -16
- package/dist/STRINGS-hZpwIZMT.cjs +1 -0
- package/dist/STRINGS-rPGH65PW.js +8 -0
- package/dist/Topbar-MIYSo6jN.cjs +1 -0
- package/dist/{Topbar-J3_SbpA_.js → Topbar-Mfc4KKxc.js} +28 -26
- package/dist/{UnsplashImages-7vkIHXUl.js → UnsplashImages-KIgzZx57.js} +30 -26
- package/dist/UnsplashImages-zco6ruqn.cjs +1 -0
- package/dist/{UploadImages-dHtEwNpW.js → UploadImages-sygXbTXU.js} +18 -14
- package/dist/UploadImages-znUxJ9OD.cjs +1 -0
- package/dist/context-menu-Lx_MAqsu.cjs +1 -0
- package/dist/{context-menu-sks9vdzC.js → context-menu-zu6r7B6f.js} +298 -311
- package/dist/core.cjs +1 -1
- package/dist/core.d.ts +6 -1
- package/dist/core.js +88 -83
- package/dist/{index-CatHvcI6.cjs → index-FpYnmYj7.cjs} +22 -22
- package/dist/{index-ElwrrnPk.js → index-T7WZImL0.js} +2500 -2011
- package/dist/render.cjs +1 -1
- package/dist/render.js +1 -1
- package/dist/{select-JW3OMYm-.js → select-1WwjQDp6.js} +1 -1
- package/dist/{select-fXj5tdMX.cjs → select-FnytvxNn.cjs} +1 -1
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.ts +5 -5
- package/dist/ui.js +251 -215
- package/dist/web-blocks.cjs +1 -1
- package/dist/web-blocks.js +385 -392
- package/package.json +1 -1
- package/dist/AddBlocks-ZpUetK5a.js +0 -123
- package/dist/AddBlocks-yiQ5OTLv.cjs +0 -1
- package/dist/CanvasArea-2cBQ9dE5.cjs +0 -1
- package/dist/CanvasArea-jo84KvNu.js +0 -136
- package/dist/CodeEditor-KGtD1Of3.cjs +0 -1
- package/dist/STRINGS--j49GZJP.js +0 -7
- package/dist/STRINGS-gPz7CUOk.cjs +0 -1
- package/dist/SettingsPanel-J5bAM-ug.cjs +0 -1
- package/dist/SettingsPanel-ukU3Ay9U.js +0 -81
- package/dist/SidePanels-VyoLHl0W.cjs +0 -1
- package/dist/SidePanels-miYmxJN0.js +0 -413
- package/dist/Topbar-gVd8cET_.cjs +0 -1
- package/dist/UnsplashImages-hYgO0rjn.cjs +0 -1
- package/dist/UploadImages-_t2yeuXp.cjs +0 -1
- package/dist/badge-7BVT3zxN.cjs +0 -1
- package/dist/badge-pJqQSA13.js +0 -23
- package/dist/context-menu-_8TFbFEJ.cjs +0 -1
- package/dist/separator-hT24N-xp.cjs +0 -1
- package/dist/separator-sgwOa1FE.js +0 -18
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
import { j as o } from "./jsx-runtime-Sp0orL4X.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as T from "@radix-ui/react-switch";
|
|
3
3
|
import * as r from "react";
|
|
4
4
|
import * as x from "@radix-ui/react-accordion";
|
|
5
|
-
import { ChevronDownIcon as
|
|
6
|
-
import { cva as w } from "class-variance-authority";
|
|
5
|
+
import { ChevronDownIcon as $, Cross2Icon as I, ChevronRightIcon as A, CheckIcon as M, DotFilledIcon as P, MagnifyingGlassIcon as J } from "@radix-ui/react-icons";
|
|
7
6
|
import * as c from "@radix-ui/react-alert-dialog";
|
|
8
|
-
import { Slot as
|
|
7
|
+
import { Slot as K } from "@radix-ui/react-slot";
|
|
8
|
+
import { cva as S } from "class-variance-authority";
|
|
9
9
|
import * as z from "@radix-ui/react-label";
|
|
10
10
|
import * as u from "@radix-ui/react-scroll-area";
|
|
11
11
|
import * as g from "@radix-ui/react-tabs";
|
|
12
12
|
import * as b from "@radix-ui/react-tooltip";
|
|
13
13
|
import * as y from "@radix-ui/react-popover";
|
|
14
|
-
import * as
|
|
14
|
+
import * as v from "@radix-ui/react-hover-card";
|
|
15
15
|
import * as n from "@radix-ui/react-dropdown-menu";
|
|
16
|
+
import * as _ from "@radix-ui/react-separator";
|
|
16
17
|
import * as f from "@radix-ui/react-toast";
|
|
17
18
|
import { Command as m } from "cmdk";
|
|
18
19
|
import * as p from "@radix-ui/react-dialog";
|
|
19
20
|
import * as i from "@radix-ui/react-context-menu";
|
|
20
|
-
import { clsx as
|
|
21
|
-
import { twMerge as
|
|
22
|
-
const s = (...e) => W(
|
|
23
|
-
|
|
21
|
+
import { clsx as W } from "clsx";
|
|
22
|
+
import { twMerge as Z } from "tailwind-merge";
|
|
23
|
+
const s = (...e) => Z(W(e)), ee = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
24
|
+
T.Root,
|
|
24
25
|
{
|
|
25
26
|
className: s(
|
|
26
27
|
"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",
|
|
@@ -29,7 +30,7 @@ const s = (...e) => W(K(e)), Z = r.forwardRef(({ className: e, ...t }, a) => /*
|
|
|
29
30
|
...t,
|
|
30
31
|
ref: a,
|
|
31
32
|
children: /* @__PURE__ */ o.jsx(
|
|
32
|
-
|
|
33
|
+
T.Thumb,
|
|
33
34
|
{
|
|
34
35
|
className: s(
|
|
35
36
|
"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 +39,8 @@ const s = (...e) => W(K(e)), Z = r.forwardRef(({ className: e, ...t }, a) => /*
|
|
|
38
39
|
)
|
|
39
40
|
}
|
|
40
41
|
));
|
|
41
|
-
|
|
42
|
-
const
|
|
42
|
+
ee.displayName = T.Root.displayName;
|
|
43
|
+
const D = S(
|
|
43
44
|
"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
45
|
{
|
|
45
46
|
variants: {
|
|
@@ -63,16 +64,16 @@ const k = w(
|
|
|
63
64
|
size: "default"
|
|
64
65
|
}
|
|
65
66
|
}
|
|
66
|
-
),
|
|
67
|
-
({ className: e, variant: t, size: a, asChild: d = !1, ...l },
|
|
68
|
-
const
|
|
69
|
-
return /* @__PURE__ */ o.jsx(
|
|
67
|
+
), te = r.forwardRef(
|
|
68
|
+
({ className: e, variant: t, size: a, asChild: d = !1, ...l }, j) => {
|
|
69
|
+
const Y = d ? K : "button";
|
|
70
|
+
return /* @__PURE__ */ o.jsx(Y, { className: s(D({ variant: t, size: a, className: e })), ref: j, ...l });
|
|
70
71
|
}
|
|
71
72
|
);
|
|
72
|
-
|
|
73
|
-
const
|
|
74
|
-
|
|
75
|
-
const
|
|
73
|
+
te.displayName = "Button";
|
|
74
|
+
const vt = x.Root, ae = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(x.Item, { ref: a, className: s("border-b", e), ...t }));
|
|
75
|
+
ae.displayName = "AccordionItem";
|
|
76
|
+
const oe = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__ */ o.jsx(x.Header, { className: "flex", children: /* @__PURE__ */ o.jsxs(
|
|
76
77
|
x.Trigger,
|
|
77
78
|
{
|
|
78
79
|
ref: d,
|
|
@@ -83,12 +84,12 @@ const ae = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__
|
|
|
83
84
|
...a,
|
|
84
85
|
children: [
|
|
85
86
|
t,
|
|
86
|
-
a.hideArrow ? null : /* @__PURE__ */ o.jsx(
|
|
87
|
+
a.hideArrow ? null : /* @__PURE__ */ o.jsx($, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
|
|
87
88
|
]
|
|
88
89
|
}
|
|
89
90
|
) }));
|
|
90
|
-
|
|
91
|
-
const
|
|
91
|
+
oe.displayName = x.Trigger.displayName;
|
|
92
|
+
const se = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__ */ o.jsx(
|
|
92
93
|
x.Content,
|
|
93
94
|
{
|
|
94
95
|
ref: d,
|
|
@@ -100,33 +101,10 @@ const oe = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__
|
|
|
100
101
|
children: /* @__PURE__ */ o.jsx("div", { className: "pb-4 pt-0", children: t })
|
|
101
102
|
}
|
|
102
103
|
));
|
|
103
|
-
|
|
104
|
-
const
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
variants: {
|
|
108
|
-
variant: {
|
|
109
|
-
default: "bg-background text-foreground",
|
|
110
|
-
destructive: "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
defaultVariants: {
|
|
114
|
-
variant: "default"
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
), re = r.forwardRef(({ className: e, variant: t, ...a }, d) => /* @__PURE__ */ o.jsx("div", { ref: d, role: "alert", className: s(se({ variant: t }), e), ...a }));
|
|
118
|
-
re.displayName = "Alert";
|
|
119
|
-
const de = r.forwardRef(
|
|
120
|
-
({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("h5", { ref: a, className: s("mb-1 font-medium leading-none tracking-tight", e), ...t })
|
|
121
|
-
);
|
|
122
|
-
de.displayName = "AlertTitle";
|
|
123
|
-
const ne = r.forwardRef(
|
|
124
|
-
({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("div", { ref: a, className: s("text-sm [&_p]:leading-relaxed", e), ...t })
|
|
125
|
-
);
|
|
126
|
-
ne.displayName = "AlertDescription";
|
|
127
|
-
const Rt = c.Root, Tt = c.Trigger, _ = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx(c.Portal, { className: s(e), ...t });
|
|
128
|
-
_.displayName = c.Portal.displayName;
|
|
129
|
-
const O = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
104
|
+
se.displayName = x.Content.displayName;
|
|
105
|
+
const jt = c.Root, Ct = c.Trigger, O = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx(c.Portal, { className: s(e), ...t });
|
|
106
|
+
O.displayName = c.Portal.displayName;
|
|
107
|
+
const E = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
130
108
|
c.Overlay,
|
|
131
109
|
{
|
|
132
110
|
className: s(
|
|
@@ -137,9 +115,9 @@ const O = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
137
115
|
ref: a
|
|
138
116
|
}
|
|
139
117
|
));
|
|
140
|
-
|
|
141
|
-
const
|
|
142
|
-
/* @__PURE__ */ o.jsx(
|
|
118
|
+
E.displayName = c.Overlay.displayName;
|
|
119
|
+
const re = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsxs(O, { children: [
|
|
120
|
+
/* @__PURE__ */ o.jsx(E, {}),
|
|
143
121
|
/* @__PURE__ */ o.jsx(
|
|
144
122
|
c.Content,
|
|
145
123
|
{
|
|
@@ -152,29 +130,29 @@ const ie = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsxs(_,
|
|
|
152
130
|
}
|
|
153
131
|
)
|
|
154
132
|
] }));
|
|
155
|
-
|
|
156
|
-
const
|
|
157
|
-
|
|
158
|
-
const
|
|
159
|
-
|
|
160
|
-
const
|
|
161
|
-
|
|
162
|
-
const
|
|
163
|
-
|
|
164
|
-
const
|
|
165
|
-
|
|
166
|
-
const
|
|
133
|
+
re.displayName = c.Content.displayName;
|
|
134
|
+
const de = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
|
|
135
|
+
de.displayName = "AlertDialogHeader";
|
|
136
|
+
const ne = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
|
|
137
|
+
ne.displayName = "AlertDialogFooter";
|
|
138
|
+
const ie = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(c.Title, { ref: a, className: s("text-lg font-semibold", e), ...t }));
|
|
139
|
+
ie.displayName = c.Title.displayName;
|
|
140
|
+
const le = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(c.Description, { ref: a, className: s("text-sm text-muted-foreground", e), ...t }));
|
|
141
|
+
le.displayName = c.Description.displayName;
|
|
142
|
+
const ce = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(c.Action, { ref: a, className: s(D(), e), ...t }));
|
|
143
|
+
ce.displayName = c.Action.displayName;
|
|
144
|
+
const me = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
167
145
|
c.Cancel,
|
|
168
146
|
{
|
|
169
147
|
ref: a,
|
|
170
|
-
className: s(
|
|
148
|
+
className: s(D({ variant: "outline" }), "mt-2 sm:mt-0", e),
|
|
171
149
|
...t
|
|
172
150
|
}
|
|
173
151
|
));
|
|
174
|
-
|
|
175
|
-
const
|
|
176
|
-
|
|
177
|
-
const
|
|
152
|
+
me.displayName = c.Cancel.displayName;
|
|
153
|
+
const pe = p.Root, Rt = p.Trigger, L = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx(p.Portal, { className: s(e), ...t });
|
|
154
|
+
L.displayName = p.Portal.displayName;
|
|
155
|
+
const V = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
178
156
|
p.Overlay,
|
|
179
157
|
{
|
|
180
158
|
ref: a,
|
|
@@ -185,9 +163,9 @@ const L = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
185
163
|
...t
|
|
186
164
|
}
|
|
187
165
|
));
|
|
188
|
-
|
|
189
|
-
const
|
|
190
|
-
/* @__PURE__ */ o.jsx(
|
|
166
|
+
V.displayName = p.Overlay.displayName;
|
|
167
|
+
const G = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__ */ o.jsxs(L, { children: [
|
|
168
|
+
/* @__PURE__ */ o.jsx(V, {}),
|
|
191
169
|
/* @__PURE__ */ o.jsxs(
|
|
192
170
|
p.Content,
|
|
193
171
|
{
|
|
@@ -200,19 +178,19 @@ const V = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__
|
|
|
200
178
|
children: [
|
|
201
179
|
t,
|
|
202
180
|
/* @__PURE__ */ o.jsxs(p.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: [
|
|
203
|
-
/* @__PURE__ */ o.jsx(
|
|
181
|
+
/* @__PURE__ */ o.jsx(I, { className: "h-4 w-4" }),
|
|
204
182
|
/* @__PURE__ */ o.jsx("span", { className: "sr-only", children: "Close" })
|
|
205
183
|
] })
|
|
206
184
|
]
|
|
207
185
|
}
|
|
208
186
|
)
|
|
209
187
|
] }));
|
|
210
|
-
|
|
211
|
-
const
|
|
212
|
-
|
|
213
|
-
const
|
|
214
|
-
|
|
215
|
-
const
|
|
188
|
+
G.displayName = p.Content.displayName;
|
|
189
|
+
const fe = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className: s("flex flex-col space-y-1.5 text-center sm:text-left", e), ...t });
|
|
190
|
+
fe.displayName = "DialogHeader";
|
|
191
|
+
const ue = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
|
|
192
|
+
ue.displayName = "DialogFooter";
|
|
193
|
+
const xe = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
216
194
|
p.Title,
|
|
217
195
|
{
|
|
218
196
|
ref: a,
|
|
@@ -220,32 +198,32 @@ const Ne = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
220
198
|
...t
|
|
221
199
|
}
|
|
222
200
|
));
|
|
223
|
-
|
|
224
|
-
const
|
|
225
|
-
|
|
226
|
-
const
|
|
227
|
-
|
|
228
|
-
const
|
|
201
|
+
xe.displayName = p.Title.displayName;
|
|
202
|
+
const ge = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(p.Description, { ref: a, className: s("text-sm text-muted-foreground", e), ...t }));
|
|
203
|
+
ge.displayName = p.Description.displayName;
|
|
204
|
+
const be = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("div", { ref: a, className: s("rounded-xl border bg-card text-card-foreground shadow", e), ...t }));
|
|
205
|
+
be.displayName = "Card";
|
|
206
|
+
const Ne = r.forwardRef(
|
|
229
207
|
({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("div", { ref: a, className: s("flex flex-col space-y-1.5 p-6", e), ...t })
|
|
230
208
|
);
|
|
231
|
-
|
|
232
|
-
const
|
|
209
|
+
Ne.displayName = "CardHeader";
|
|
210
|
+
const ye = r.forwardRef(
|
|
233
211
|
({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("h3", { ref: a, className: s("font-semibold leading-none tracking-tight", e), ...t })
|
|
234
212
|
);
|
|
235
|
-
|
|
236
|
-
const
|
|
213
|
+
ye.displayName = "CardTitle";
|
|
214
|
+
const he = r.forwardRef(
|
|
237
215
|
({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("p", { ref: a, className: s("text-sm text-muted-foreground", e), ...t })
|
|
238
216
|
);
|
|
239
|
-
|
|
240
|
-
const
|
|
217
|
+
he.displayName = "CardDescription";
|
|
218
|
+
const we = r.forwardRef(
|
|
241
219
|
({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("div", { ref: a, className: s("p-6 pt-0", e), ...t })
|
|
242
220
|
);
|
|
243
|
-
|
|
244
|
-
const
|
|
221
|
+
we.displayName = "CardContent";
|
|
222
|
+
const ve = r.forwardRef(
|
|
245
223
|
({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("div", { ref: a, className: s(" flex items-center p-6 pt-0", e), ...t })
|
|
246
224
|
);
|
|
247
|
-
|
|
248
|
-
const
|
|
225
|
+
ve.displayName = "CardFooter";
|
|
226
|
+
const je = r.forwardRef(({ className: e, type: t, ...a }, d) => /* @__PURE__ */ o.jsx(
|
|
249
227
|
"input",
|
|
250
228
|
{
|
|
251
229
|
type: t,
|
|
@@ -260,10 +238,10 @@ const Te = r.forwardRef(({ className: e, type: t, ...a }, d) => /* @__PURE__ */
|
|
|
260
238
|
spellCheck: "false"
|
|
261
239
|
}
|
|
262
240
|
));
|
|
263
|
-
|
|
264
|
-
const
|
|
265
|
-
|
|
266
|
-
const
|
|
241
|
+
je.displayName = "Input";
|
|
242
|
+
const Ce = S("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), Re = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(z.Root, { ref: a, className: s(Ce(), e), ...t }));
|
|
243
|
+
Re.displayName = z.Root.displayName;
|
|
244
|
+
const Te = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
267
245
|
"textarea",
|
|
268
246
|
{
|
|
269
247
|
className: s(
|
|
@@ -277,14 +255,14 @@ const Se = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
277
255
|
spellCheck: "false"
|
|
278
256
|
}
|
|
279
257
|
));
|
|
280
|
-
|
|
281
|
-
const
|
|
258
|
+
Te.displayName = "Textarea";
|
|
259
|
+
const Se = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__ */ o.jsxs(u.Root, { ref: d, className: s("relative overflow-hidden", e), ...a, children: [
|
|
282
260
|
/* @__PURE__ */ o.jsx(u.Viewport, { className: "h-full w-full rounded-[inherit]", children: t }),
|
|
283
|
-
/* @__PURE__ */ o.jsx(
|
|
261
|
+
/* @__PURE__ */ o.jsx(H, {}),
|
|
284
262
|
/* @__PURE__ */ o.jsx(u.Corner, {})
|
|
285
263
|
] }));
|
|
286
|
-
|
|
287
|
-
const
|
|
264
|
+
Se.displayName = u.Root.displayName;
|
|
265
|
+
const H = r.forwardRef(({ className: e, orientation: t = "vertical", ...a }, d) => /* @__PURE__ */ o.jsx(
|
|
288
266
|
u.ScrollAreaScrollbar,
|
|
289
267
|
{
|
|
290
268
|
ref: d,
|
|
@@ -299,8 +277,8 @@ const G = r.forwardRef(({ className: e, orientation: t = "vertical", ...a }, d)
|
|
|
299
277
|
children: /* @__PURE__ */ o.jsx(u.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
|
|
300
278
|
}
|
|
301
279
|
));
|
|
302
|
-
|
|
303
|
-
const
|
|
280
|
+
H.displayName = u.ScrollAreaScrollbar.displayName;
|
|
281
|
+
const Tt = g.Root, De = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
304
282
|
g.List,
|
|
305
283
|
{
|
|
306
284
|
ref: a,
|
|
@@ -311,8 +289,8 @@ const kt = g.Root, Ie = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__
|
|
|
311
289
|
...t
|
|
312
290
|
}
|
|
313
291
|
));
|
|
314
|
-
|
|
315
|
-
const
|
|
292
|
+
De.displayName = g.List.displayName;
|
|
293
|
+
const ke = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
316
294
|
g.Trigger,
|
|
317
295
|
{
|
|
318
296
|
ref: a,
|
|
@@ -323,8 +301,8 @@ const Me = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
323
301
|
...t
|
|
324
302
|
}
|
|
325
303
|
));
|
|
326
|
-
|
|
327
|
-
const
|
|
304
|
+
ke.displayName = g.Trigger.displayName;
|
|
305
|
+
const Ie = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
328
306
|
g.Content,
|
|
329
307
|
{
|
|
330
308
|
ref: a,
|
|
@@ -335,8 +313,8 @@ const Pe = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
335
313
|
...t
|
|
336
314
|
}
|
|
337
315
|
));
|
|
338
|
-
|
|
339
|
-
const St = b.Portal,
|
|
316
|
+
Ie.displayName = g.Content.displayName;
|
|
317
|
+
const St = b.Portal, Dt = b.Provider, kt = b.Root, It = b.Trigger, Ae = r.forwardRef(({ className: e, sideOffset: t = 4, ...a }, d) => /* @__PURE__ */ o.jsx(
|
|
340
318
|
b.Content,
|
|
341
319
|
{
|
|
342
320
|
ref: d,
|
|
@@ -348,8 +326,8 @@ const St = b.Portal, At = b.Provider, It = b.Root, Mt = b.Trigger, ze = r.forwar
|
|
|
348
326
|
...a
|
|
349
327
|
}
|
|
350
328
|
));
|
|
351
|
-
|
|
352
|
-
const
|
|
329
|
+
Ae.displayName = b.Content.displayName;
|
|
330
|
+
const At = y.Root, Mt = y.Trigger, Me = r.forwardRef(({ className: e, align: t = "center", sideOffset: a = 4, ...d }, l) => /* @__PURE__ */ o.jsx(y.Portal, { children: /* @__PURE__ */ o.jsx(
|
|
353
331
|
y.Content,
|
|
354
332
|
{
|
|
355
333
|
ref: l,
|
|
@@ -362,9 +340,9 @@ const Pt = y.Root, zt = y.Trigger, _e = r.forwardRef(({ className: e, align: t =
|
|
|
362
340
|
...d
|
|
363
341
|
}
|
|
364
342
|
) }));
|
|
365
|
-
|
|
366
|
-
const
|
|
367
|
-
|
|
343
|
+
Me.displayName = y.Content.displayName;
|
|
344
|
+
const Pt = v.Root, zt = v.Trigger, Pe = r.forwardRef(({ className: e, align: t = "center", sideOffset: a = 4, ...d }, l) => /* @__PURE__ */ o.jsx(
|
|
345
|
+
v.Content,
|
|
368
346
|
{
|
|
369
347
|
ref: l,
|
|
370
348
|
align: t,
|
|
@@ -376,8 +354,8 @@ const _t = j.Root, Ot = j.Trigger, Oe = r.forwardRef(({ className: e, align: t =
|
|
|
376
354
|
...d
|
|
377
355
|
}
|
|
378
356
|
));
|
|
379
|
-
|
|
380
|
-
const
|
|
357
|
+
Pe.displayName = v.Content.displayName;
|
|
358
|
+
const _t = n.Root, Ot = n.Trigger, Et = n.Group, Lt = n.Portal, Vt = n.Sub, Gt = n.RadioGroup, ze = r.forwardRef(({ className: e, inset: t, children: a, ...d }, l) => /* @__PURE__ */ o.jsxs(
|
|
381
359
|
n.SubTrigger,
|
|
382
360
|
{
|
|
383
361
|
ref: l,
|
|
@@ -389,12 +367,12 @@ const Et = n.Root, Lt = n.Trigger, Vt = n.Group, Gt = n.Portal, Ht = n.Sub, Ft =
|
|
|
389
367
|
...d,
|
|
390
368
|
children: [
|
|
391
369
|
a,
|
|
392
|
-
/* @__PURE__ */ o.jsx(
|
|
370
|
+
/* @__PURE__ */ o.jsx(A, { className: "ml-auto h-4 w-4" })
|
|
393
371
|
]
|
|
394
372
|
}
|
|
395
373
|
));
|
|
396
|
-
|
|
397
|
-
const
|
|
374
|
+
ze.displayName = n.SubTrigger.displayName;
|
|
375
|
+
const _e = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
398
376
|
n.SubContent,
|
|
399
377
|
{
|
|
400
378
|
ref: a,
|
|
@@ -405,8 +383,8 @@ const Le = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
405
383
|
...t
|
|
406
384
|
}
|
|
407
385
|
));
|
|
408
|
-
|
|
409
|
-
const
|
|
386
|
+
_e.displayName = n.SubContent.displayName;
|
|
387
|
+
const Oe = r.forwardRef(({ className: e, sideOffset: t = 4, ...a }, d) => /* @__PURE__ */ o.jsx(n.Portal, { children: /* @__PURE__ */ o.jsx(
|
|
410
388
|
n.Content,
|
|
411
389
|
{
|
|
412
390
|
ref: d,
|
|
@@ -419,8 +397,8 @@ const Ve = r.forwardRef(({ className: e, sideOffset: t = 4, ...a }, d) => /* @__
|
|
|
419
397
|
...a
|
|
420
398
|
}
|
|
421
399
|
) }));
|
|
422
|
-
|
|
423
|
-
const
|
|
400
|
+
Oe.displayName = n.Content.displayName;
|
|
401
|
+
const Ee = r.forwardRef(({ className: e, inset: t, ...a }, d) => /* @__PURE__ */ o.jsx(
|
|
424
402
|
n.Item,
|
|
425
403
|
{
|
|
426
404
|
ref: d,
|
|
@@ -432,8 +410,8 @@ const Ge = r.forwardRef(({ className: e, inset: t, ...a }, d) => /* @__PURE__ */
|
|
|
432
410
|
...a
|
|
433
411
|
}
|
|
434
412
|
));
|
|
435
|
-
|
|
436
|
-
const
|
|
413
|
+
Ee.displayName = n.Item.displayName;
|
|
414
|
+
const Le = r.forwardRef(({ className: e, children: t, checked: a, ...d }, l) => /* @__PURE__ */ o.jsxs(
|
|
437
415
|
n.CheckboxItem,
|
|
438
416
|
{
|
|
439
417
|
ref: l,
|
|
@@ -449,8 +427,8 @@ const He = r.forwardRef(({ className: e, children: t, checked: a, ...d }, l) =>
|
|
|
449
427
|
]
|
|
450
428
|
}
|
|
451
429
|
));
|
|
452
|
-
|
|
453
|
-
const
|
|
430
|
+
Le.displayName = n.CheckboxItem.displayName;
|
|
431
|
+
const Ve = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__ */ o.jsxs(
|
|
454
432
|
n.RadioItem,
|
|
455
433
|
{
|
|
456
434
|
ref: d,
|
|
@@ -465,8 +443,8 @@ const Fe = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__
|
|
|
465
443
|
]
|
|
466
444
|
}
|
|
467
445
|
));
|
|
468
|
-
|
|
469
|
-
const
|
|
446
|
+
Ve.displayName = n.RadioItem.displayName;
|
|
447
|
+
const Ge = r.forwardRef(({ className: e, inset: t, ...a }, d) => /* @__PURE__ */ o.jsx(
|
|
470
448
|
n.Label,
|
|
471
449
|
{
|
|
472
450
|
ref: d,
|
|
@@ -474,32 +452,43 @@ const Be = r.forwardRef(({ className: e, inset: t, ...a }, d) => /* @__PURE__ */
|
|
|
474
452
|
...a
|
|
475
453
|
}
|
|
476
454
|
));
|
|
477
|
-
|
|
478
|
-
const
|
|
479
|
-
|
|
480
|
-
const
|
|
481
|
-
|
|
482
|
-
const
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
455
|
+
Ge.displayName = n.Label.displayName;
|
|
456
|
+
const He = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(n.Separator, { ref: a, className: s("-mx-1 my-1 h-px bg-muted", e), ...t }));
|
|
457
|
+
He.displayName = n.Separator.displayName;
|
|
458
|
+
const Fe = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("span", { className: s("ml-auto text-xs tracking-widest opacity-60", e), ...t });
|
|
459
|
+
Fe.displayName = "DropdownMenuShortcut";
|
|
460
|
+
const Be = r.forwardRef(({ className: e, orientation: t = "horizontal", decorative: a = !0, ...d }, l) => /* @__PURE__ */ o.jsx(
|
|
461
|
+
_.Root,
|
|
462
|
+
{
|
|
463
|
+
ref: l,
|
|
464
|
+
decorative: a,
|
|
465
|
+
orientation: t,
|
|
466
|
+
className: s("shrink-0 bg-border", t === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", e),
|
|
467
|
+
...d
|
|
468
|
+
}
|
|
469
|
+
));
|
|
470
|
+
Be.displayName = _.Root.displayName;
|
|
471
|
+
const Ue = 1, qe = 1e6;
|
|
472
|
+
let C = 0;
|
|
473
|
+
function Qe() {
|
|
474
|
+
return C = (C + 1) % Number.MAX_VALUE, C.toString();
|
|
486
475
|
}
|
|
487
|
-
const
|
|
488
|
-
if (
|
|
476
|
+
const R = /* @__PURE__ */ new Map(), k = (e) => {
|
|
477
|
+
if (R.has(e))
|
|
489
478
|
return;
|
|
490
479
|
const t = setTimeout(() => {
|
|
491
|
-
|
|
480
|
+
R.delete(e), N({
|
|
492
481
|
type: "REMOVE_TOAST",
|
|
493
482
|
toastId: e
|
|
494
483
|
});
|
|
495
|
-
},
|
|
496
|
-
|
|
497
|
-
},
|
|
484
|
+
}, qe);
|
|
485
|
+
R.set(e, t);
|
|
486
|
+
}, Xe = (e, t) => {
|
|
498
487
|
switch (t.type) {
|
|
499
488
|
case "ADD_TOAST":
|
|
500
489
|
return {
|
|
501
490
|
...e,
|
|
502
|
-
toasts: [t.toast, ...e.toasts].slice(0,
|
|
491
|
+
toasts: [t.toast, ...e.toasts].slice(0, Ue)
|
|
503
492
|
};
|
|
504
493
|
case "UPDATE_TOAST":
|
|
505
494
|
return {
|
|
@@ -508,8 +497,8 @@ const T = /* @__PURE__ */ new Map(), S = (e) => {
|
|
|
508
497
|
};
|
|
509
498
|
case "DISMISS_TOAST": {
|
|
510
499
|
const { toastId: a } = t;
|
|
511
|
-
return a ?
|
|
512
|
-
|
|
500
|
+
return a ? k(a) : e.toasts.forEach((d) => {
|
|
501
|
+
k(d.id);
|
|
513
502
|
}), {
|
|
514
503
|
...e,
|
|
515
504
|
toasts: e.toasts.map(
|
|
@@ -529,15 +518,15 @@ const T = /* @__PURE__ */ new Map(), S = (e) => {
|
|
|
529
518
|
toasts: e.toasts.filter((a) => a.id !== t.toastId)
|
|
530
519
|
};
|
|
531
520
|
}
|
|
532
|
-
},
|
|
533
|
-
let
|
|
521
|
+
}, h = [];
|
|
522
|
+
let w = { toasts: [] };
|
|
534
523
|
function N(e) {
|
|
535
|
-
|
|
536
|
-
t(
|
|
524
|
+
w = Xe(w, e), h.forEach((t) => {
|
|
525
|
+
t(w);
|
|
537
526
|
});
|
|
538
527
|
}
|
|
539
|
-
function
|
|
540
|
-
const t =
|
|
528
|
+
function Ye({ ...e }) {
|
|
529
|
+
const t = Qe(), a = (l) => N({
|
|
541
530
|
type: "UPDATE_TOAST",
|
|
542
531
|
toast: { ...l, id: t }
|
|
543
532
|
}), d = () => N({ type: "DISMISS_TOAST", toastId: t });
|
|
@@ -557,18 +546,18 @@ function Je({ ...e }) {
|
|
|
557
546
|
update: a
|
|
558
547
|
};
|
|
559
548
|
}
|
|
560
|
-
function
|
|
561
|
-
const [e, t] = r.useState(
|
|
562
|
-
return r.useEffect(() => (
|
|
563
|
-
const a =
|
|
564
|
-
a > -1 &&
|
|
549
|
+
function $e() {
|
|
550
|
+
const [e, t] = r.useState(w);
|
|
551
|
+
return r.useEffect(() => (h.push(t), () => {
|
|
552
|
+
const a = h.indexOf(t);
|
|
553
|
+
a > -1 && h.splice(a, 1);
|
|
565
554
|
}), [e]), {
|
|
566
555
|
...e,
|
|
567
|
-
toast:
|
|
556
|
+
toast: Ye,
|
|
568
557
|
dismiss: (a) => N({ type: "DISMISS_TOAST", toastId: a })
|
|
569
558
|
};
|
|
570
559
|
}
|
|
571
|
-
const
|
|
560
|
+
const Je = f.Provider, F = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
572
561
|
f.Viewport,
|
|
573
562
|
{
|
|
574
563
|
ref: a,
|
|
@@ -579,8 +568,8 @@ const We = f.Provider, H = r.forwardRef(({ className: e, ...t }, a) => /* @__PUR
|
|
|
579
568
|
...t
|
|
580
569
|
}
|
|
581
570
|
));
|
|
582
|
-
|
|
583
|
-
const
|
|
571
|
+
F.displayName = f.Viewport.displayName;
|
|
572
|
+
const Ke = S(
|
|
584
573
|
"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",
|
|
585
574
|
{
|
|
586
575
|
variants: {
|
|
@@ -593,9 +582,9 @@ const Ze = w(
|
|
|
593
582
|
variant: "default"
|
|
594
583
|
}
|
|
595
584
|
}
|
|
596
|
-
),
|
|
597
|
-
|
|
598
|
-
const
|
|
585
|
+
), B = r.forwardRef(({ className: e, variant: t, ...a }, d) => /* @__PURE__ */ o.jsx(f.Root, { ref: d, className: s(Ke({ variant: t }), e), ...a }));
|
|
586
|
+
B.displayName = f.Root.displayName;
|
|
587
|
+
const We = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
599
588
|
f.Action,
|
|
600
589
|
{
|
|
601
590
|
ref: a,
|
|
@@ -606,8 +595,8 @@ const et = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
606
595
|
...t
|
|
607
596
|
}
|
|
608
597
|
));
|
|
609
|
-
|
|
610
|
-
const
|
|
598
|
+
We.displayName = f.Action.displayName;
|
|
599
|
+
const U = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
611
600
|
f.Close,
|
|
612
601
|
{
|
|
613
602
|
ref: a,
|
|
@@ -617,29 +606,29 @@ const B = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
617
606
|
),
|
|
618
607
|
"toast-close": "",
|
|
619
608
|
...t,
|
|
620
|
-
children: /* @__PURE__ */ o.jsx(
|
|
621
|
-
}
|
|
622
|
-
));
|
|
623
|
-
|
|
624
|
-
const
|
|
625
|
-
|
|
626
|
-
const
|
|
627
|
-
|
|
628
|
-
function
|
|
629
|
-
const { toasts: e } =
|
|
630
|
-
return /* @__PURE__ */ o.jsxs(
|
|
631
|
-
e.map(({ id: t, title: a, description: d, action: l, ...
|
|
609
|
+
children: /* @__PURE__ */ o.jsx(I, { className: "h-4 w-4" })
|
|
610
|
+
}
|
|
611
|
+
));
|
|
612
|
+
U.displayName = f.Close.displayName;
|
|
613
|
+
const q = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(f.Title, { ref: a, className: s("text-sm font-semibold [&+div]:text-xs", e), ...t }));
|
|
614
|
+
q.displayName = f.Title.displayName;
|
|
615
|
+
const Q = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(f.Description, { ref: a, className: s("text-sm opacity-90", e), ...t }));
|
|
616
|
+
Q.displayName = f.Description.displayName;
|
|
617
|
+
function Ht() {
|
|
618
|
+
const { toasts: e } = $e();
|
|
619
|
+
return /* @__PURE__ */ o.jsxs(Je, { children: [
|
|
620
|
+
e.map(({ id: t, title: a, description: d, action: l, ...j }) => /* @__PURE__ */ o.jsxs(B, { ...j, children: [
|
|
632
621
|
/* @__PURE__ */ o.jsxs("div", { className: "grid gap-1", children: [
|
|
633
|
-
a && /* @__PURE__ */ o.jsx(
|
|
634
|
-
d && /* @__PURE__ */ o.jsx(
|
|
622
|
+
a && /* @__PURE__ */ o.jsx(q, { children: a }),
|
|
623
|
+
d && /* @__PURE__ */ o.jsx(Q, { children: d })
|
|
635
624
|
] }),
|
|
636
625
|
l,
|
|
637
|
-
/* @__PURE__ */ o.jsx(
|
|
626
|
+
/* @__PURE__ */ o.jsx(U, {})
|
|
638
627
|
] }, t)),
|
|
639
|
-
/* @__PURE__ */ o.jsx(
|
|
628
|
+
/* @__PURE__ */ o.jsx(F, {})
|
|
640
629
|
] });
|
|
641
630
|
}
|
|
642
|
-
const
|
|
631
|
+
const Ft = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className: s("animate-pulse rounded-md bg-primary/10", e), ...t }), X = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
643
632
|
m,
|
|
644
633
|
{
|
|
645
634
|
ref: a,
|
|
@@ -650,9 +639,9 @@ const Ut = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className:
|
|
|
650
639
|
...t
|
|
651
640
|
}
|
|
652
641
|
));
|
|
653
|
-
|
|
654
|
-
const
|
|
655
|
-
/* @__PURE__ */ o.jsx(
|
|
642
|
+
X.displayName = m.displayName;
|
|
643
|
+
const Bt = ({ children: e, ...t }) => /* @__PURE__ */ o.jsx(pe, { ...t, children: /* @__PURE__ */ o.jsx(G, { className: "overflow-hidden p-0", children: /* @__PURE__ */ o.jsx(X, { 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: e }) }) }), Ze = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
644
|
+
/* @__PURE__ */ o.jsx(J, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
|
656
645
|
/* @__PURE__ */ o.jsx(
|
|
657
646
|
m.Input,
|
|
658
647
|
{
|
|
@@ -665,8 +654,8 @@ const qt = ({ children: e, ...t }) => /* @__PURE__ */ o.jsx(xe, { ...t, children
|
|
|
665
654
|
}
|
|
666
655
|
)
|
|
667
656
|
] }));
|
|
668
|
-
|
|
669
|
-
const
|
|
657
|
+
Ze.displayName = m.Input.displayName;
|
|
658
|
+
const et = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
670
659
|
m.List,
|
|
671
660
|
{
|
|
672
661
|
ref: a,
|
|
@@ -674,10 +663,10 @@ const at = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
674
663
|
...t
|
|
675
664
|
}
|
|
676
665
|
));
|
|
677
|
-
|
|
678
|
-
const
|
|
679
|
-
|
|
680
|
-
const
|
|
666
|
+
et.displayName = m.List.displayName;
|
|
667
|
+
const tt = r.forwardRef((e, t) => /* @__PURE__ */ o.jsx(m.Empty, { ref: t, className: "py-6 text-center text-sm", ...e }));
|
|
668
|
+
tt.displayName = m.Empty.displayName;
|
|
669
|
+
const at = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
681
670
|
m.Group,
|
|
682
671
|
{
|
|
683
672
|
ref: a,
|
|
@@ -688,10 +677,10 @@ const st = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
688
677
|
...t
|
|
689
678
|
}
|
|
690
679
|
));
|
|
691
|
-
|
|
692
|
-
const
|
|
693
|
-
|
|
694
|
-
const
|
|
680
|
+
at.displayName = m.Group.displayName;
|
|
681
|
+
const ot = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(m.Separator, { ref: a, className: s("-mx-1 h-px bg-border", e), ...t }));
|
|
682
|
+
ot.displayName = m.Separator.displayName;
|
|
683
|
+
const st = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
695
684
|
m.Item,
|
|
696
685
|
{
|
|
697
686
|
ref: a,
|
|
@@ -702,10 +691,10 @@ const dt = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
702
691
|
...t
|
|
703
692
|
}
|
|
704
693
|
));
|
|
705
|
-
|
|
706
|
-
const
|
|
707
|
-
|
|
708
|
-
const
|
|
694
|
+
st.displayName = m.Item.displayName;
|
|
695
|
+
const rt = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
|
|
696
|
+
rt.displayName = "CommandShortcut";
|
|
697
|
+
const Ut = i.Root, qt = i.Trigger, Qt = i.Group, Xt = i.Portal, Yt = i.Sub, $t = i.RadioGroup, dt = r.forwardRef(({ className: e, inset: t, children: a, ...d }, l) => /* @__PURE__ */ o.jsxs(
|
|
709
698
|
i.SubTrigger,
|
|
710
699
|
{
|
|
711
700
|
ref: l,
|
|
@@ -717,12 +706,12 @@ const Qt = i.Root, Xt = i.Trigger, Yt = i.Group, $t = i.Portal, Jt = i.Sub, Kt =
|
|
|
717
706
|
...d,
|
|
718
707
|
children: [
|
|
719
708
|
a,
|
|
720
|
-
/* @__PURE__ */ o.jsx(
|
|
709
|
+
/* @__PURE__ */ o.jsx(A, { className: "ml-auto h-4 w-4" })
|
|
721
710
|
]
|
|
722
711
|
}
|
|
723
712
|
));
|
|
724
|
-
|
|
725
|
-
const
|
|
713
|
+
dt.displayName = i.SubTrigger.displayName;
|
|
714
|
+
const nt = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
726
715
|
i.SubContent,
|
|
727
716
|
{
|
|
728
717
|
ref: a,
|
|
@@ -733,8 +722,8 @@ const lt = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
733
722
|
...t
|
|
734
723
|
}
|
|
735
724
|
));
|
|
736
|
-
|
|
737
|
-
const
|
|
725
|
+
nt.displayName = i.SubContent.displayName;
|
|
726
|
+
const it = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(i.Portal, { children: /* @__PURE__ */ o.jsx(
|
|
738
727
|
i.Content,
|
|
739
728
|
{
|
|
740
729
|
ref: a,
|
|
@@ -745,8 +734,8 @@ const ct = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(i.P
|
|
|
745
734
|
...t
|
|
746
735
|
}
|
|
747
736
|
) }));
|
|
748
|
-
|
|
749
|
-
const
|
|
737
|
+
it.displayName = i.Content.displayName;
|
|
738
|
+
const lt = r.forwardRef(({ className: e, inset: t, ...a }, d) => /* @__PURE__ */ o.jsx(
|
|
750
739
|
i.Item,
|
|
751
740
|
{
|
|
752
741
|
ref: d,
|
|
@@ -758,8 +747,8 @@ const mt = r.forwardRef(({ className: e, inset: t, ...a }, d) => /* @__PURE__ */
|
|
|
758
747
|
...a
|
|
759
748
|
}
|
|
760
749
|
));
|
|
761
|
-
|
|
762
|
-
const
|
|
750
|
+
lt.displayName = i.Item.displayName;
|
|
751
|
+
const ct = r.forwardRef(({ className: e, children: t, checked: a, ...d }, l) => /* @__PURE__ */ o.jsxs(
|
|
763
752
|
i.CheckboxItem,
|
|
764
753
|
{
|
|
765
754
|
ref: l,
|
|
@@ -775,8 +764,8 @@ const pt = r.forwardRef(({ className: e, children: t, checked: a, ...d }, l) =>
|
|
|
775
764
|
]
|
|
776
765
|
}
|
|
777
766
|
));
|
|
778
|
-
|
|
779
|
-
const
|
|
767
|
+
ct.displayName = i.CheckboxItem.displayName;
|
|
768
|
+
const mt = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__ */ o.jsxs(
|
|
780
769
|
i.RadioItem,
|
|
781
770
|
{
|
|
782
771
|
ref: d,
|
|
@@ -791,8 +780,8 @@ const ft = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__
|
|
|
791
780
|
]
|
|
792
781
|
}
|
|
793
782
|
));
|
|
794
|
-
|
|
795
|
-
const
|
|
783
|
+
mt.displayName = i.RadioItem.displayName;
|
|
784
|
+
const pt = r.forwardRef(({ className: e, inset: t, ...a }, d) => /* @__PURE__ */ o.jsx(
|
|
796
785
|
i.Label,
|
|
797
786
|
{
|
|
798
787
|
ref: d,
|
|
@@ -800,107 +789,105 @@ const ut = r.forwardRef(({ className: e, inset: t, ...a }, d) => /* @__PURE__ */
|
|
|
800
789
|
...a
|
|
801
790
|
}
|
|
802
791
|
));
|
|
803
|
-
|
|
804
|
-
const
|
|
805
|
-
|
|
806
|
-
const
|
|
807
|
-
|
|
792
|
+
pt.displayName = i.Label.displayName;
|
|
793
|
+
const ft = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(i.Separator, { ref: a, className: s("-mx-1 my-1 h-px bg-border", e), ...t }));
|
|
794
|
+
ft.displayName = i.Separator.displayName;
|
|
795
|
+
const ut = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
|
|
796
|
+
ut.displayName = "ContextMenuShortcut";
|
|
808
797
|
export {
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
798
|
+
jt as $,
|
|
799
|
+
De as A,
|
|
800
|
+
te as B,
|
|
801
|
+
Ut as C,
|
|
802
|
+
pe as D,
|
|
803
|
+
ke as E,
|
|
815
804
|
Ie as F,
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
805
|
+
ee as G,
|
|
806
|
+
vt as H,
|
|
807
|
+
ae as I,
|
|
808
|
+
oe as J,
|
|
809
|
+
se as K,
|
|
810
|
+
Re as L,
|
|
811
|
+
$e as M,
|
|
812
|
+
je as N,
|
|
813
|
+
St as O,
|
|
814
|
+
At as P,
|
|
815
|
+
_t as Q,
|
|
816
|
+
Ot as R,
|
|
817
|
+
Ft as S,
|
|
818
|
+
kt as T,
|
|
819
|
+
Oe as U,
|
|
820
|
+
Se as V,
|
|
821
|
+
Ge as W,
|
|
822
|
+
He as X,
|
|
823
|
+
Et as Y,
|
|
824
|
+
Ee as Z,
|
|
825
|
+
Fe as _,
|
|
826
|
+
qt as a,
|
|
827
|
+
Ct as a0,
|
|
828
|
+
re as a1,
|
|
829
|
+
de as a2,
|
|
841
830
|
ie as a3,
|
|
842
831
|
le as a4,
|
|
843
|
-
|
|
844
|
-
|
|
832
|
+
ne as a5,
|
|
833
|
+
me as a6,
|
|
845
834
|
ce as a7,
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
835
|
+
Le as a8,
|
|
836
|
+
Pt as a9,
|
|
837
|
+
Xt as aA,
|
|
849
838
|
Yt as aB,
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
Gt as
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
nt as au,
|
|
876
|
-
rt as av,
|
|
839
|
+
nt as aC,
|
|
840
|
+
dt as aD,
|
|
841
|
+
$t as aE,
|
|
842
|
+
zt as aa,
|
|
843
|
+
Pe as ab,
|
|
844
|
+
Be as ac,
|
|
845
|
+
Dt as ad,
|
|
846
|
+
Ht as ae,
|
|
847
|
+
s as af,
|
|
848
|
+
D as ag,
|
|
849
|
+
ye as ah,
|
|
850
|
+
H as ai,
|
|
851
|
+
Ve as aj,
|
|
852
|
+
Lt as ak,
|
|
853
|
+
Vt as al,
|
|
854
|
+
_e as am,
|
|
855
|
+
ze as an,
|
|
856
|
+
Gt as ao,
|
|
857
|
+
Xe as ap,
|
|
858
|
+
Ye as aq,
|
|
859
|
+
Bt as ar,
|
|
860
|
+
rt as as,
|
|
861
|
+
ot as at,
|
|
862
|
+
ct as au,
|
|
863
|
+
mt as av,
|
|
877
864
|
pt as aw,
|
|
878
865
|
ft as ax,
|
|
879
866
|
ut as ay,
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
867
|
+
Qt as az,
|
|
868
|
+
it as b,
|
|
869
|
+
lt as c,
|
|
870
|
+
It as d,
|
|
871
|
+
Ae as e,
|
|
872
|
+
be as f,
|
|
873
|
+
Ne as g,
|
|
874
|
+
he as h,
|
|
875
|
+
we as i,
|
|
876
|
+
Te as j,
|
|
877
|
+
ve as k,
|
|
878
|
+
Rt as l,
|
|
879
|
+
G as m,
|
|
880
|
+
fe as n,
|
|
881
|
+
xe as o,
|
|
882
|
+
ge as p,
|
|
883
|
+
ue as q,
|
|
884
|
+
Mt as r,
|
|
885
|
+
Me as s,
|
|
886
|
+
X as t,
|
|
887
|
+
Ze as u,
|
|
888
|
+
et as v,
|
|
889
|
+
tt as w,
|
|
890
|
+
at as x,
|
|
904
891
|
st as y,
|
|
905
|
-
|
|
892
|
+
Tt as z
|
|
906
893
|
};
|