@chaibuilder/sdk 2.0.0-beta.2 → 2.0.0-beta.21
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/ChaiThemeFn--DgGggh_.js +190 -0
- package/dist/ChaiThemeFn-bugxb1Cl.cjs +13 -0
- package/dist/{CodeEditor-xhb27i29.js → CodeEditor-7Cs6j_Wn.js} +14 -14
- package/dist/CodeEditor-Ifwz-vPV.cjs +1 -0
- package/dist/STRINGS-26RPxXyi.cjs +1 -0
- package/dist/STRINGS-BnWT5XcX.js +5 -0
- package/dist/Topbar-J_gRMjOQ.js +73 -0
- package/dist/Topbar-tTu3ihcy.cjs +1 -0
- package/dist/context-menu-4nQs6OxC.cjs +1 -0
- package/dist/{context-menu-I8woggB3.js → context-menu-oLipAPzI.js} +237 -254
- package/dist/core.cjs +61 -1
- package/dist/core.d.ts +56 -34
- package/dist/core.js +8598 -107
- package/dist/plugin-4xaTkTNB.cjs +1 -0
- package/dist/plugin-GuIj4Ul0.js +24 -0
- package/dist/render.cjs +2 -2
- package/dist/render.d.ts +34 -16
- package/dist/render.js +119 -121
- package/dist/runtime.cjs +1 -1
- package/dist/runtime.d.ts +0 -1
- package/dist/runtime.js +0 -20
- package/dist/style.css +1 -1
- package/dist/tailwind.cjs +1 -1
- package/dist/tailwind.d.ts +26 -25
- package/dist/tailwind.js +2 -2
- package/dist/ui.cjs +1 -1
- package/dist/ui.js +238 -223
- package/dist/web-blocks.cjs +2 -2
- package/dist/web-blocks.js +1079 -703
- package/package.json +6 -9
- package/dist/CodeEditor-e9zXhHFt.cjs +0 -1
- package/dist/STRINGS-Xxstm-7I.js +0 -7
- package/dist/STRINGS-Yl7cSWDc.cjs +0 -1
- package/dist/Topbar-CofpLWzO.cjs +0 -1
- package/dist/Topbar-xrdjosmc.js +0 -160
- package/dist/context-menu-0lRey9QY.cjs +0 -1
- package/dist/controls-lEwMTdPQ.js +0 -234
- package/dist/controls-p9IwFnPx.cjs +0 -1
- package/dist/index-CHYv1sC2.cjs +0 -63
- package/dist/index-s4RPN00p.js +0 -8540
- package/dist/plugin-UiUFs2fK.js +0 -44
- package/dist/plugin-f6SDZ_Or.js +0 -108
- package/dist/plugin-jum1MjXp.cjs +0 -1
- package/dist/plugin-xOpS-UNV.cjs +0 -1
package/dist/ui.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as a } from "./jsx-runtime-Sp0orL4X.js";
|
|
2
2
|
import * as r from "react";
|
|
3
3
|
import * as u from "@radix-ui/react-toggle";
|
|
4
4
|
import { cva as p } from "class-variance-authority";
|
|
5
|
-
import {
|
|
6
|
-
import { A as
|
|
7
|
-
import { ChevronRightIcon as
|
|
5
|
+
import { c as s, D as y, a as N } from "./context-menu-oLipAPzI.js";
|
|
6
|
+
import { A as qe, g as $e, e as Je, f as Ke, h as Qe, o as Ue, p as We, j as Xe, n as Ye, l as Ze, k as et, m as tt, i as at, B as ot, C as st, z as rt, y as nt, w as dt, v as it, x as lt, ah as mt, al as ct, aj as pt, aq as ut, ak as ft, an as gt, ar as xt, av as bt, am as ht, ao as yt, ap as Nt, as as vt, at as wt, au as Ct, ai as jt, u as St, s as Mt, r as Rt, t as Tt, q as Dt, Z as kt, a1 as It, $ as _t, a6 as At, a0 as Pt, a3 as Gt, a7 as zt, ab as Lt, a2 as Vt, a4 as Ht, a5 as Ft, a8 as Et, a9 as Bt, aa as Ot, _ as qt, W as $t, Y as Jt, X as Kt, I as Qt, L as Ut, R as Wt, V as Xt, U as Yt, E as Zt, F as ea, ac as ta, S as aa, b as oa, G as sa, K as ra, H as na, J as da, T as ia, ag as la, M as ma, O as ca, Q as pa, P as ua, N as fa, d as ga, ad as xa, af as ba, ae as ha } from "./context-menu-oLipAPzI.js";
|
|
7
|
+
import { ChevronRightIcon as v, CheckIcon as f, DotFilledIcon as w, CaretSortIcon as C, Cross2Icon as j, MagnifyingGlassIcon as S } from "@radix-ui/react-icons";
|
|
8
8
|
import * as n from "@radix-ui/react-menubar";
|
|
9
9
|
import * as i from "@radix-ui/react-select";
|
|
10
10
|
import * as l from "@radix-ui/react-dialog";
|
|
@@ -44,7 +44,7 @@ const M = p(
|
|
|
44
44
|
size: "default"
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
), R = r.forwardRef(({ className: e, variant:
|
|
47
|
+
), R = r.forwardRef(({ className: e, variant: t, size: o, ...d }, c) => /* @__PURE__ */ a.jsx(u.Root, { ref: c, className: s(M({ variant: t, size: o, className: e })), ...d }));
|
|
48
48
|
R.displayName = u.Root.displayName;
|
|
49
49
|
const T = p(
|
|
50
50
|
"relative w-full rounded-lg border px-4 py-3 text-sm [&:has(svg)]:pl-11 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",
|
|
@@ -59,26 +59,41 @@ const T = p(
|
|
|
59
59
|
variant: "default"
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
), D = r.forwardRef(({ className: e, variant:
|
|
62
|
+
), D = r.forwardRef(({ className: e, variant: t, ...o }, d) => /* @__PURE__ */ a.jsx("div", { ref: d, role: "alert", className: s(T({ variant: t }), e), ...o }));
|
|
63
63
|
D.displayName = "Alert";
|
|
64
64
|
const k = r.forwardRef(
|
|
65
|
-
({ className: e, ...
|
|
65
|
+
({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx("h5", { ref: o, className: s("mb-1 font-medium leading-none tracking-tight", e), ...t })
|
|
66
66
|
);
|
|
67
67
|
k.displayName = "AlertTitle";
|
|
68
68
|
const I = r.forwardRef(
|
|
69
|
-
({ className: e, ...
|
|
69
|
+
({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx("div", { ref: o, className: s("text-sm [&_p]:leading-relaxed", e), ...t })
|
|
70
70
|
);
|
|
71
71
|
I.displayName = "AlertDescription";
|
|
72
|
-
const
|
|
72
|
+
const _ = p(
|
|
73
|
+
"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",
|
|
74
|
+
{
|
|
75
|
+
variants: {
|
|
76
|
+
variant: {
|
|
77
|
+
default: "border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",
|
|
78
|
+
secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
79
|
+
destructive: "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",
|
|
80
|
+
outline: "text-foreground"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
defaultVariants: {
|
|
84
|
+
variant: "default"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
), De = ({ className: e, variant: t, ...o }) => /* @__PURE__ */ a.jsx("div", { className: s(_({ variant: t }), e), ...o }), ke = n.Menu, Ie = n.Group, _e = n.Portal, Ae = n.Sub, Pe = n.RadioGroup, A = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(
|
|
73
88
|
n.Root,
|
|
74
89
|
{
|
|
75
90
|
ref: o,
|
|
76
91
|
className: s("flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm", e),
|
|
77
|
-
...
|
|
92
|
+
...t
|
|
78
93
|
}
|
|
79
94
|
));
|
|
80
|
-
|
|
81
|
-
const
|
|
95
|
+
A.displayName = n.Root.displayName;
|
|
96
|
+
const P = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(
|
|
82
97
|
n.Trigger,
|
|
83
98
|
{
|
|
84
99
|
ref: o,
|
|
@@ -86,28 +101,28 @@ const A = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
|
86
101
|
"flex cursor-default select-none items-center rounded-sm px-3 py-1 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
|
|
87
102
|
e
|
|
88
103
|
),
|
|
89
|
-
...
|
|
104
|
+
...t
|
|
90
105
|
}
|
|
91
106
|
));
|
|
92
|
-
|
|
93
|
-
const
|
|
107
|
+
P.displayName = n.Trigger.displayName;
|
|
108
|
+
const G = r.forwardRef(({ className: e, inset: t, children: o, ...d }, c) => /* @__PURE__ */ a.jsxs(
|
|
94
109
|
n.SubTrigger,
|
|
95
110
|
{
|
|
96
111
|
ref: c,
|
|
97
112
|
className: s(
|
|
98
113
|
"flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
|
|
99
|
-
|
|
114
|
+
t && "pl-8",
|
|
100
115
|
e
|
|
101
116
|
),
|
|
102
117
|
...d,
|
|
103
118
|
children: [
|
|
104
119
|
o,
|
|
105
|
-
/* @__PURE__ */
|
|
120
|
+
/* @__PURE__ */ a.jsx(v, { className: "ml-auto h-4 w-4" })
|
|
106
121
|
]
|
|
107
122
|
}
|
|
108
123
|
));
|
|
109
|
-
|
|
110
|
-
const
|
|
124
|
+
G.displayName = n.SubTrigger.displayName;
|
|
125
|
+
const z = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(
|
|
111
126
|
n.SubContent,
|
|
112
127
|
{
|
|
113
128
|
ref: o,
|
|
@@ -115,15 +130,15 @@ const G = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
|
115
130
|
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
116
131
|
e
|
|
117
132
|
),
|
|
118
|
-
...
|
|
133
|
+
...t
|
|
119
134
|
}
|
|
120
135
|
));
|
|
121
|
-
|
|
122
|
-
const
|
|
136
|
+
z.displayName = n.SubContent.displayName;
|
|
137
|
+
const L = r.forwardRef(({ className: e, align: t = "start", alignOffset: o = -4, sideOffset: d = 8, ...c }, h) => /* @__PURE__ */ a.jsx(n.Portal, { children: /* @__PURE__ */ a.jsx(
|
|
123
138
|
n.Content,
|
|
124
139
|
{
|
|
125
140
|
ref: h,
|
|
126
|
-
align:
|
|
141
|
+
align: t,
|
|
127
142
|
alignOffset: o,
|
|
128
143
|
sideOffset: d,
|
|
129
144
|
className: s(
|
|
@@ -133,21 +148,21 @@ const z = r.forwardRef(({ className: e, align: a = "start", alignOffset: o = -4,
|
|
|
133
148
|
...c
|
|
134
149
|
}
|
|
135
150
|
) }));
|
|
136
|
-
|
|
137
|
-
const
|
|
151
|
+
L.displayName = n.Content.displayName;
|
|
152
|
+
const V = r.forwardRef(({ className: e, inset: t, ...o }, d) => /* @__PURE__ */ a.jsx(
|
|
138
153
|
n.Item,
|
|
139
154
|
{
|
|
140
155
|
ref: d,
|
|
141
156
|
className: s(
|
|
142
157
|
"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
143
|
-
|
|
158
|
+
t && "pl-8",
|
|
144
159
|
e
|
|
145
160
|
),
|
|
146
161
|
...o
|
|
147
162
|
}
|
|
148
163
|
));
|
|
149
|
-
|
|
150
|
-
const
|
|
164
|
+
V.displayName = n.Item.displayName;
|
|
165
|
+
const H = r.forwardRef(({ className: e, children: t, checked: o, ...d }, c) => /* @__PURE__ */ a.jsxs(
|
|
151
166
|
n.CheckboxItem,
|
|
152
167
|
{
|
|
153
168
|
ref: c,
|
|
@@ -158,13 +173,13 @@ const V = r.forwardRef(({ className: e, children: a, checked: o, ...d }, c) => /
|
|
|
158
173
|
checked: o,
|
|
159
174
|
...d,
|
|
160
175
|
children: [
|
|
161
|
-
/* @__PURE__ */
|
|
162
|
-
|
|
176
|
+
/* @__PURE__ */ a.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(n.ItemIndicator, { children: /* @__PURE__ */ a.jsx(f, { className: "h-4 w-4" }) }) }),
|
|
177
|
+
t
|
|
163
178
|
]
|
|
164
179
|
}
|
|
165
180
|
));
|
|
166
|
-
|
|
167
|
-
const
|
|
181
|
+
H.displayName = n.CheckboxItem.displayName;
|
|
182
|
+
const F = r.forwardRef(({ className: e, children: t, ...o }, d) => /* @__PURE__ */ a.jsxs(
|
|
168
183
|
n.RadioItem,
|
|
169
184
|
{
|
|
170
185
|
ref: d,
|
|
@@ -174,26 +189,26 @@ const H = r.forwardRef(({ className: e, children: a, ...o }, d) => /* @__PURE__
|
|
|
174
189
|
),
|
|
175
190
|
...o,
|
|
176
191
|
children: [
|
|
177
|
-
/* @__PURE__ */
|
|
178
|
-
|
|
192
|
+
/* @__PURE__ */ a.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(n.ItemIndicator, { children: /* @__PURE__ */ a.jsx(w, { className: "h-4 w-4 fill-current" }) }) }),
|
|
193
|
+
t
|
|
179
194
|
]
|
|
180
195
|
}
|
|
181
196
|
));
|
|
182
|
-
|
|
183
|
-
const
|
|
197
|
+
F.displayName = n.RadioItem.displayName;
|
|
198
|
+
const E = r.forwardRef(({ className: e, inset: t, ...o }, d) => /* @__PURE__ */ a.jsx(
|
|
184
199
|
n.Label,
|
|
185
200
|
{
|
|
186
201
|
ref: d,
|
|
187
|
-
className: s("px-2 py-1.5 text-sm font-semibold",
|
|
202
|
+
className: s("px-2 py-1.5 text-sm font-semibold", t && "pl-8", e),
|
|
188
203
|
...o
|
|
189
204
|
}
|
|
190
205
|
));
|
|
191
|
-
|
|
192
|
-
const
|
|
193
|
-
|
|
194
|
-
const
|
|
195
|
-
|
|
196
|
-
const
|
|
206
|
+
E.displayName = n.Label.displayName;
|
|
207
|
+
const B = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(n.Separator, { ref: o, className: s("-mx-1 my-1 h-px bg-muted", e), ...t }));
|
|
208
|
+
B.displayName = n.Separator.displayName;
|
|
209
|
+
const O = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
|
|
210
|
+
O.displayname = "MenubarShortcut";
|
|
211
|
+
const Ge = i.Root, ze = i.Group, Le = i.Value, q = r.forwardRef(({ className: e, children: t, ...o }, d) => /* @__PURE__ */ a.jsxs(
|
|
197
212
|
i.Trigger,
|
|
198
213
|
{
|
|
199
214
|
ref: d,
|
|
@@ -203,13 +218,13 @@ const Ae = i.Root, Pe = i.Group, Ge = i.Value, O = r.forwardRef(({ className: e,
|
|
|
203
218
|
),
|
|
204
219
|
...o,
|
|
205
220
|
children: [
|
|
206
|
-
|
|
207
|
-
/* @__PURE__ */
|
|
221
|
+
t,
|
|
222
|
+
/* @__PURE__ */ a.jsx(i.Icon, { asChild: !0, children: /* @__PURE__ */ a.jsx(C, { className: "h-4 w-4 opacity-50" }) })
|
|
208
223
|
]
|
|
209
224
|
}
|
|
210
225
|
));
|
|
211
|
-
|
|
212
|
-
const
|
|
226
|
+
q.displayName = i.Trigger.displayName;
|
|
227
|
+
const $ = r.forwardRef(({ className: e, children: t, position: o = "popper", ...d }, c) => /* @__PURE__ */ a.jsx(i.Portal, { children: /* @__PURE__ */ a.jsx(
|
|
213
228
|
i.Content,
|
|
214
229
|
{
|
|
215
230
|
ref: c,
|
|
@@ -220,22 +235,22 @@ const q = r.forwardRef(({ className: e, children: a, position: o = "popper", ...
|
|
|
220
235
|
),
|
|
221
236
|
position: o,
|
|
222
237
|
...d,
|
|
223
|
-
children: /* @__PURE__ */
|
|
238
|
+
children: /* @__PURE__ */ a.jsx(
|
|
224
239
|
i.Viewport,
|
|
225
240
|
{
|
|
226
241
|
className: s(
|
|
227
242
|
"p-1",
|
|
228
243
|
o === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
|
|
229
244
|
),
|
|
230
|
-
children:
|
|
245
|
+
children: t
|
|
231
246
|
}
|
|
232
247
|
)
|
|
233
248
|
}
|
|
234
249
|
) }));
|
|
235
|
-
|
|
236
|
-
const
|
|
237
|
-
|
|
238
|
-
const
|
|
250
|
+
$.displayName = i.Content.displayName;
|
|
251
|
+
const J = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(i.Label, { ref: o, className: s("px-2 py-1.5 text-sm font-semibold", e), ...t }));
|
|
252
|
+
J.displayName = i.Label.displayName;
|
|
253
|
+
const K = r.forwardRef(({ className: e, children: t, ...o }, d) => /* @__PURE__ */ a.jsxs(
|
|
239
254
|
i.Item,
|
|
240
255
|
{
|
|
241
256
|
ref: d,
|
|
@@ -245,29 +260,29 @@ const J = r.forwardRef(({ className: e, children: a, ...o }, d) => /* @__PURE__
|
|
|
245
260
|
),
|
|
246
261
|
...o,
|
|
247
262
|
children: [
|
|
248
|
-
/* @__PURE__ */
|
|
249
|
-
/* @__PURE__ */
|
|
263
|
+
/* @__PURE__ */ a.jsx("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(i.ItemIndicator, { children: /* @__PURE__ */ a.jsx(f, { className: "h-4 w-4" }) }) }),
|
|
264
|
+
/* @__PURE__ */ a.jsx(i.ItemText, { children: t })
|
|
250
265
|
]
|
|
251
266
|
}
|
|
252
267
|
));
|
|
253
|
-
|
|
254
|
-
const
|
|
255
|
-
|
|
256
|
-
const
|
|
268
|
+
K.displayName = i.Item.displayName;
|
|
269
|
+
const Q = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(i.Separator, { ref: o, className: s("-mx-1 my-1 h-px bg-muted", e), ...t }));
|
|
270
|
+
Q.displayName = i.Separator.displayName;
|
|
271
|
+
const Ve = l.Root, He = l.Trigger, Fe = l.Close, g = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx(l.Portal, { className: s(e), ...t });
|
|
257
272
|
g.displayName = l.Portal.displayName;
|
|
258
|
-
const x = r.forwardRef(({ className: e, ...
|
|
273
|
+
const x = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(
|
|
259
274
|
l.Overlay,
|
|
260
275
|
{
|
|
261
276
|
className: s(
|
|
262
277
|
"fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
263
278
|
e
|
|
264
279
|
),
|
|
265
|
-
...
|
|
280
|
+
...t,
|
|
266
281
|
ref: o
|
|
267
282
|
}
|
|
268
283
|
));
|
|
269
284
|
x.displayName = l.Overlay.displayName;
|
|
270
|
-
const
|
|
285
|
+
const U = p(
|
|
271
286
|
"fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
|
|
272
287
|
{
|
|
273
288
|
variants: {
|
|
@@ -282,28 +297,28 @@ const Q = p(
|
|
|
282
297
|
side: "right"
|
|
283
298
|
}
|
|
284
299
|
}
|
|
285
|
-
),
|
|
286
|
-
({ side: e = "right", className:
|
|
287
|
-
/* @__PURE__ */
|
|
288
|
-
/* @__PURE__ */
|
|
300
|
+
), W = r.forwardRef(
|
|
301
|
+
({ side: e = "right", className: t, children: o, ...d }, c) => /* @__PURE__ */ a.jsxs(g, { children: [
|
|
302
|
+
/* @__PURE__ */ a.jsx(x, {}),
|
|
303
|
+
/* @__PURE__ */ a.jsxs(l.Content, { ref: c, className: s(U({ side: e }), t), ...d, children: [
|
|
289
304
|
o,
|
|
290
|
-
/* @__PURE__ */
|
|
291
|
-
/* @__PURE__ */
|
|
292
|
-
/* @__PURE__ */
|
|
305
|
+
/* @__PURE__ */ a.jsxs(l.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
|
|
306
|
+
/* @__PURE__ */ a.jsx(j, { className: "h-4 w-4" }),
|
|
307
|
+
/* @__PURE__ */ a.jsx("span", { className: "sr-only", children: "Close" })
|
|
293
308
|
] })
|
|
294
309
|
] })
|
|
295
310
|
] })
|
|
296
311
|
);
|
|
297
|
-
|
|
298
|
-
const
|
|
299
|
-
|
|
300
|
-
const
|
|
301
|
-
|
|
302
|
-
const
|
|
303
|
-
|
|
304
|
-
const
|
|
305
|
-
|
|
306
|
-
const b = r.forwardRef(({ className: e, ...
|
|
312
|
+
W.displayName = l.Content.displayName;
|
|
313
|
+
const X = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
|
|
314
|
+
X.displayName = "SheetHeader";
|
|
315
|
+
const Y = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
|
|
316
|
+
Y.displayName = "SheetFooter";
|
|
317
|
+
const Z = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(l.Title, { ref: o, className: s("text-lg font-semibold text-foreground", e), ...t }));
|
|
318
|
+
Z.displayName = l.Title.displayName;
|
|
319
|
+
const ee = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(l.Description, { ref: o, className: s("text-sm text-muted-foreground", e), ...t }));
|
|
320
|
+
ee.displayName = l.Description.displayName;
|
|
321
|
+
const b = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(
|
|
307
322
|
m,
|
|
308
323
|
{
|
|
309
324
|
ref: o,
|
|
@@ -311,13 +326,13 @@ const b = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
|
311
326
|
"flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",
|
|
312
327
|
e
|
|
313
328
|
),
|
|
314
|
-
...
|
|
329
|
+
...t
|
|
315
330
|
}
|
|
316
331
|
));
|
|
317
332
|
b.displayName = m.displayName;
|
|
318
|
-
const
|
|
319
|
-
/* @__PURE__ */
|
|
320
|
-
/* @__PURE__ */
|
|
333
|
+
const Ee = ({ children: e, ...t }) => /* @__PURE__ */ a.jsx(y, { ...t, children: /* @__PURE__ */ a.jsx(N, { className: "overflow-hidden p-0", children: /* @__PURE__ */ a.jsx(b, { 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 }) }) }), te = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
334
|
+
/* @__PURE__ */ a.jsx(S, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
|
335
|
+
/* @__PURE__ */ a.jsx(
|
|
321
336
|
m.Input,
|
|
322
337
|
{
|
|
323
338
|
ref: o,
|
|
@@ -325,23 +340,23 @@ const He = ({ children: e, ...a }) => /* @__PURE__ */ t.jsx(y, { ...a, children:
|
|
|
325
340
|
"flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
|
|
326
341
|
e
|
|
327
342
|
),
|
|
328
|
-
...
|
|
343
|
+
...t
|
|
329
344
|
}
|
|
330
345
|
)
|
|
331
346
|
] }));
|
|
332
|
-
|
|
333
|
-
const ae = r.forwardRef(({ className: e, ...
|
|
347
|
+
te.displayName = m.Input.displayName;
|
|
348
|
+
const ae = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(
|
|
334
349
|
m.List,
|
|
335
350
|
{
|
|
336
351
|
ref: o,
|
|
337
352
|
className: s("max-h-[300px] overflow-y-auto overflow-x-hidden", e),
|
|
338
|
-
...
|
|
353
|
+
...t
|
|
339
354
|
}
|
|
340
355
|
));
|
|
341
356
|
ae.displayName = m.List.displayName;
|
|
342
|
-
const
|
|
343
|
-
|
|
344
|
-
const
|
|
357
|
+
const oe = r.forwardRef((e, t) => /* @__PURE__ */ a.jsx(m.Empty, { ref: t, className: "py-6 text-center text-sm", ...e }));
|
|
358
|
+
oe.displayName = m.Empty.displayName;
|
|
359
|
+
const se = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(
|
|
345
360
|
m.Group,
|
|
346
361
|
{
|
|
347
362
|
ref: o,
|
|
@@ -349,13 +364,13 @@ const oe = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
|
349
364
|
"overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",
|
|
350
365
|
e
|
|
351
366
|
),
|
|
352
|
-
...
|
|
367
|
+
...t
|
|
353
368
|
}
|
|
354
369
|
));
|
|
355
|
-
|
|
356
|
-
const
|
|
357
|
-
|
|
358
|
-
const
|
|
370
|
+
se.displayName = m.Group.displayName;
|
|
371
|
+
const re = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(m.Separator, { ref: o, className: s("-mx-1 h-px bg-border", e), ...t }));
|
|
372
|
+
re.displayName = m.Separator.displayName;
|
|
373
|
+
const ne = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(
|
|
359
374
|
m.Item,
|
|
360
375
|
{
|
|
361
376
|
ref: o,
|
|
@@ -363,144 +378,144 @@ const re = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
|
363
378
|
"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
364
379
|
e
|
|
365
380
|
),
|
|
366
|
-
...
|
|
381
|
+
...t
|
|
367
382
|
}
|
|
368
383
|
));
|
|
369
|
-
|
|
370
|
-
const
|
|
371
|
-
|
|
384
|
+
ne.displayName = m.Item.displayName;
|
|
385
|
+
const de = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
|
|
386
|
+
de.displayName = "CommandShortcut";
|
|
372
387
|
export {
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
388
|
+
qe as Accordion,
|
|
389
|
+
$e as AccordionContent,
|
|
390
|
+
Je as AccordionItem,
|
|
391
|
+
Ke as AccordionTrigger,
|
|
377
392
|
D as Alert,
|
|
378
393
|
I as AlertDescription,
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
394
|
+
Qe as AlertDialog,
|
|
395
|
+
Ue as AlertDialogAction,
|
|
396
|
+
We as AlertDialogCancel,
|
|
397
|
+
Xe as AlertDialogContent,
|
|
398
|
+
Ye as AlertDialogDescription,
|
|
399
|
+
Ze as AlertDialogFooter,
|
|
400
|
+
et as AlertDialogHeader,
|
|
401
|
+
tt as AlertDialogTitle,
|
|
402
|
+
at as AlertDialogTrigger,
|
|
388
403
|
k as AlertTitle,
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
404
|
+
De as Badge,
|
|
405
|
+
ot as Button,
|
|
406
|
+
st as Card,
|
|
407
|
+
rt as CardContent,
|
|
408
|
+
nt as CardDescription,
|
|
409
|
+
dt as CardFooter,
|
|
410
|
+
it as CardHeader,
|
|
411
|
+
lt as CardTitle,
|
|
397
412
|
b as Command,
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
413
|
+
Ee as CommandDialog,
|
|
414
|
+
oe as CommandEmpty,
|
|
415
|
+
se as CommandGroup,
|
|
416
|
+
te as CommandInput,
|
|
417
|
+
ne as CommandItem,
|
|
403
418
|
ae as CommandList,
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
419
|
+
re as CommandSeparator,
|
|
420
|
+
de as CommandShortcut,
|
|
421
|
+
mt as ContextMenu,
|
|
422
|
+
ct as ContextMenuCheckboxItem,
|
|
423
|
+
pt as ContextMenuContent,
|
|
424
|
+
ut as ContextMenuGroup,
|
|
425
|
+
ft as ContextMenuItem,
|
|
426
|
+
gt as ContextMenuLabel,
|
|
427
|
+
xt as ContextMenuPortal,
|
|
428
|
+
bt as ContextMenuRadioGroup,
|
|
429
|
+
ht as ContextMenuRadioItem,
|
|
430
|
+
yt as ContextMenuSeparator,
|
|
431
|
+
Nt as ContextMenuShortcut,
|
|
432
|
+
vt as ContextMenuSub,
|
|
433
|
+
wt as ContextMenuSubContent,
|
|
434
|
+
Ct as ContextMenuSubTrigger,
|
|
435
|
+
jt as ContextMenuTrigger,
|
|
421
436
|
y as Dialog,
|
|
422
437
|
N as DialogContent,
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
438
|
+
St as DialogDescription,
|
|
439
|
+
Mt as DialogFooter,
|
|
440
|
+
Rt as DialogHeader,
|
|
441
|
+
Tt as DialogTitle,
|
|
442
|
+
Dt as DialogTrigger,
|
|
443
|
+
kt as DropdownMenu,
|
|
444
|
+
It as DropdownMenuCheckboxItem,
|
|
445
|
+
_t as DropdownMenuContent,
|
|
446
|
+
At as DropdownMenuGroup,
|
|
447
|
+
Pt as DropdownMenuItem,
|
|
448
|
+
Gt as DropdownMenuLabel,
|
|
449
|
+
zt as DropdownMenuPortal,
|
|
450
|
+
Lt as DropdownMenuRadioGroup,
|
|
451
|
+
Vt as DropdownMenuRadioItem,
|
|
452
|
+
Ht as DropdownMenuSeparator,
|
|
453
|
+
Ft as DropdownMenuShortcut,
|
|
454
|
+
Et as DropdownMenuSub,
|
|
455
|
+
Bt as DropdownMenuSubContent,
|
|
456
|
+
Ot as DropdownMenuSubTrigger,
|
|
457
|
+
qt as DropdownMenuTrigger,
|
|
458
|
+
$t as HoverCard,
|
|
459
|
+
Jt as HoverCardContent,
|
|
460
|
+
Kt as HoverCardTrigger,
|
|
461
|
+
Qt as Input,
|
|
462
|
+
Ut as Label,
|
|
463
|
+
A as Menubar,
|
|
464
|
+
H as MenubarCheckboxItem,
|
|
465
|
+
L as MenubarContent,
|
|
466
|
+
Ie as MenubarGroup,
|
|
467
|
+
V as MenubarItem,
|
|
468
|
+
E as MenubarLabel,
|
|
469
|
+
ke as MenubarMenu,
|
|
470
|
+
_e as MenubarPortal,
|
|
471
|
+
Pe as MenubarRadioGroup,
|
|
472
|
+
F as MenubarRadioItem,
|
|
473
|
+
B as MenubarSeparator,
|
|
474
|
+
O as MenubarShortcut,
|
|
475
|
+
Ae as MenubarSub,
|
|
476
|
+
z as MenubarSubContent,
|
|
477
|
+
G as MenubarSubTrigger,
|
|
478
|
+
P as MenubarTrigger,
|
|
479
|
+
Wt as Popover,
|
|
480
|
+
Xt as PopoverContent,
|
|
481
|
+
Yt as PopoverTrigger,
|
|
482
|
+
Zt as ScrollArea,
|
|
483
|
+
ea as ScrollBar,
|
|
484
|
+
Ge as Select,
|
|
485
|
+
$ as SelectContent,
|
|
486
|
+
ze as SelectGroup,
|
|
487
|
+
K as SelectItem,
|
|
488
|
+
J as SelectLabel,
|
|
489
|
+
Q as SelectSeparator,
|
|
490
|
+
q as SelectTrigger,
|
|
491
|
+
Le as SelectValue,
|
|
492
|
+
ta as Separator,
|
|
493
|
+
Ve as Sheet,
|
|
494
|
+
Fe as SheetClose,
|
|
495
|
+
W as SheetContent,
|
|
496
|
+
ee as SheetDescription,
|
|
497
|
+
Y as SheetFooter,
|
|
498
|
+
X as SheetHeader,
|
|
499
|
+
Z as SheetTitle,
|
|
500
|
+
He as SheetTrigger,
|
|
501
|
+
aa as Skeleton,
|
|
502
|
+
oa as Switch,
|
|
503
|
+
sa as Tabs,
|
|
504
|
+
ra as TabsContent,
|
|
505
|
+
na as TabsList,
|
|
506
|
+
da as TabsTrigger,
|
|
507
|
+
ia as Textarea,
|
|
508
|
+
la as Toaster,
|
|
494
509
|
R as Toggle,
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
510
|
+
ma as Tooltip,
|
|
511
|
+
ca as TooltipContent,
|
|
512
|
+
pa as TooltipPortal,
|
|
513
|
+
ua as TooltipProvider,
|
|
514
|
+
fa as TooltipTrigger,
|
|
515
|
+
_ as badgeVariants,
|
|
516
|
+
ga as buttonVariants,
|
|
517
|
+
xa as reducer,
|
|
518
|
+
ba as toast,
|
|
504
519
|
M as toggleVariants,
|
|
505
|
-
|
|
520
|
+
ha as useToast
|
|
506
521
|
};
|