@chaibuilder/sdk 1.2.90 → 1.2.91
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-Imjgt7mh.cjs +1 -0
- package/dist/{CodeEditor-t2oVfSyK.js → CodeEditor-_Pim7pDO.js} +5 -4
- package/dist/{Topbar-x0tjZaWC.js → Topbar-4ejjKoRn.js} +5 -4
- package/dist/Topbar-irIirqy7.cjs +1 -0
- package/dist/UnsplashImages-NfwOtGHo.cjs +1 -0
- package/dist/{UnsplashImages-965l8pGL.js → UnsplashImages-fpbR9Jbs.js} +5 -4
- package/dist/{UploadImages-glp4ZyQm.js → UploadImages-9hzL5Hu1.js} +11 -10
- package/dist/UploadImages-OVHnYeiL.cjs +1 -0
- package/dist/{context-menu-DeUUflYX.js → context-menu-9cWJcKdh.js} +442 -373
- package/dist/context-menu-sQn7ryJ6.cjs +1 -0
- package/dist/core.cjs +1 -1
- package/dist/core.js +69 -68
- package/dist/{index-BuZrwlQG.cjs → index-VBJLJ6fO.cjs} +27 -27
- package/dist/{index-qptv-vi2.js → index-ry3B_D93.js} +189 -25
- package/dist/ui.cjs +1 -1
- package/dist/ui.js +241 -301
- package/package.json +1 -1
- package/dist/CodeEditor-gqhS0hpB.cjs +0 -1
- package/dist/Topbar-s9YVXp9Z.cjs +0 -1
- package/dist/UnsplashImages-DRQaQoM-.cjs +0 -1
- package/dist/UploadImages-CumBJ3oE.cjs +0 -1
- package/dist/context-menu--DZnHfxj.cjs +0 -1
package/dist/ui.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
4
|
-
import { cva as
|
|
5
|
-
import {
|
|
6
|
-
import { H as
|
|
7
|
-
import { ChevronRightIcon as
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
10
|
-
import * as l from "@radix-ui/react-dialog";
|
|
1
|
+
import { j as o } from "./jsx-runtime-Sp0orL4X.js";
|
|
2
|
+
import * as n from "react";
|
|
3
|
+
import * as m from "@radix-ui/react-toggle";
|
|
4
|
+
import { cva as c } from "class-variance-authority";
|
|
5
|
+
import { al as r } from "./context-menu-9cWJcKdh.js";
|
|
6
|
+
import { H as ye, K as Ne, I as ve, J as we, $ as Se, a7 as Me, a6 as je, a0 as De, a4 as Te, a5 as Re, a1 as Ie, a2 as Ae, a3 as ke, ad as Pe, B as ze, f as Ge, i as Le, h as He, k as Ve, g as Fe, ao as Be, t as Oe, aB as Ee, w as qe, x as Je, u as Ke, y as _e, v as Qe, aD as Ue, aC as We, C as Xe, aE as Ye, b as Ze, aJ as $e, c as ea, aG as aa, aK as ta, aO as oa, aF as sa, aH as ra, aI as na, aL as ia, aM as da, aN as la, a as ca, D as ma, m as pa, p as ua, q as fa, n as ga, o as xa, l as ba, Q as ha, a8 as Ca, U as ya, Y as Na, Z as va, W as wa, au as Sa, ay as Ma, at as ja, X as Da, _ as Ta, av as Ra, aw as Ia, ax as Aa, R as ka, a9 as Pa, ab as za, aa as Ga, N as La, L as Ha, P as Va, s as Fa, r as Ba, V as Oa, ap as Ea, ae as qa, ah as Ja, aq as Ka, ai as _a, ar as Qa, as as Ua, af as Wa, ag as Xa, ac as Ya, S as Za, G as $a, z as et, F as at, A as tt, E as ot, j as st, ak as rt, T as nt, e as it, O as dt, aj as lt, d as ct, an as mt, am as pt, az as ut, aA as ft, M as gt } from "./context-menu-9cWJcKdh.js";
|
|
7
|
+
import { ChevronRightIcon as g, CheckIcon as x, DotFilledIcon as b, Cross2Icon as h } from "@radix-ui/react-icons";
|
|
8
|
+
import * as s from "@radix-ui/react-menubar";
|
|
9
|
+
import * as d from "@radix-ui/react-dialog";
|
|
11
10
|
import "@radix-ui/react-switch";
|
|
12
11
|
import "@radix-ui/react-accordion";
|
|
13
12
|
import "@radix-ui/react-alert-dialog";
|
|
@@ -18,6 +17,7 @@ import "@radix-ui/react-tabs";
|
|
|
18
17
|
import "@radix-ui/react-tooltip";
|
|
19
18
|
import "@radix-ui/react-popover";
|
|
20
19
|
import "@radix-ui/react-hover-card";
|
|
20
|
+
import "@radix-ui/react-select";
|
|
21
21
|
import "@radix-ui/react-dropdown-menu";
|
|
22
22
|
import "@radix-ui/react-separator";
|
|
23
23
|
import "@radix-ui/react-toast";
|
|
@@ -25,7 +25,7 @@ import "cmdk";
|
|
|
25
25
|
import "@radix-ui/react-context-menu";
|
|
26
26
|
import "clsx";
|
|
27
27
|
import "tailwind-merge";
|
|
28
|
-
const
|
|
28
|
+
const C = c(
|
|
29
29
|
"inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",
|
|
30
30
|
{
|
|
31
31
|
variants: {
|
|
@@ -44,9 +44,9 @@ const w = m(
|
|
|
44
44
|
size: "default"
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
),
|
|
48
|
-
|
|
49
|
-
const
|
|
47
|
+
), y = n.forwardRef(({ className: e, variant: a, size: t, ...i }, l) => /* @__PURE__ */ o.jsx(m.Root, { ref: l, className: r(C({ variant: a, size: t, className: e })), ...i }));
|
|
48
|
+
y.displayName = m.Root.displayName;
|
|
49
|
+
const N = c(
|
|
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",
|
|
51
51
|
{
|
|
52
52
|
variants: {
|
|
@@ -59,215 +59,155 @@ const C = m(
|
|
|
59
59
|
variant: "default"
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
),
|
|
63
|
-
|
|
64
|
-
const
|
|
65
|
-
({ className: e, ...a },
|
|
62
|
+
), v = n.forwardRef(({ className: e, variant: a, ...t }, i) => /* @__PURE__ */ o.jsx("div", { ref: i, role: "alert", className: r(N({ variant: a }), e), ...t }));
|
|
63
|
+
v.displayName = "Alert";
|
|
64
|
+
const w = n.forwardRef(
|
|
65
|
+
({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx("h5", { ref: t, className: r("mb-1 font-medium leading-none tracking-tight", e), ...a })
|
|
66
66
|
);
|
|
67
|
-
|
|
68
|
-
const
|
|
69
|
-
({ className: e, ...a },
|
|
67
|
+
w.displayName = "AlertTitle";
|
|
68
|
+
const S = n.forwardRef(
|
|
69
|
+
({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx("div", { ref: t, className: r("text-sm [&_p]:leading-relaxed", e), ...a })
|
|
70
70
|
);
|
|
71
|
-
|
|
72
|
-
const
|
|
73
|
-
|
|
71
|
+
S.displayName = "AlertDescription";
|
|
72
|
+
const ce = s.Menu, me = s.Group, pe = s.Portal, ue = s.Sub, fe = s.RadioGroup, M = n.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
73
|
+
s.Root,
|
|
74
74
|
{
|
|
75
|
-
ref:
|
|
76
|
-
className:
|
|
75
|
+
ref: t,
|
|
76
|
+
className: r("flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm", e),
|
|
77
77
|
...a
|
|
78
78
|
}
|
|
79
79
|
));
|
|
80
|
-
|
|
81
|
-
const
|
|
82
|
-
|
|
80
|
+
M.displayName = s.Root.displayName;
|
|
81
|
+
const j = n.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
82
|
+
s.Trigger,
|
|
83
83
|
{
|
|
84
|
-
ref:
|
|
85
|
-
className:
|
|
84
|
+
ref: t,
|
|
85
|
+
className: r(
|
|
86
86
|
"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
87
|
e
|
|
88
88
|
),
|
|
89
89
|
...a
|
|
90
90
|
}
|
|
91
91
|
));
|
|
92
|
-
|
|
93
|
-
const
|
|
94
|
-
|
|
92
|
+
j.displayName = s.Trigger.displayName;
|
|
93
|
+
const D = n.forwardRef(({ className: e, inset: a, children: t, ...i }, l) => /* @__PURE__ */ o.jsxs(
|
|
94
|
+
s.SubTrigger,
|
|
95
95
|
{
|
|
96
|
-
ref:
|
|
97
|
-
className:
|
|
96
|
+
ref: l,
|
|
97
|
+
className: r(
|
|
98
98
|
"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
99
|
a && "pl-8",
|
|
100
100
|
e
|
|
101
101
|
),
|
|
102
|
-
...
|
|
102
|
+
...i,
|
|
103
103
|
children: [
|
|
104
|
-
|
|
105
|
-
/* @__PURE__ */
|
|
104
|
+
t,
|
|
105
|
+
/* @__PURE__ */ o.jsx(g, { className: "ml-auto h-4 w-4" })
|
|
106
106
|
]
|
|
107
107
|
}
|
|
108
108
|
));
|
|
109
|
-
|
|
110
|
-
const
|
|
111
|
-
|
|
109
|
+
D.displayName = s.SubTrigger.displayName;
|
|
110
|
+
const T = n.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
111
|
+
s.SubContent,
|
|
112
112
|
{
|
|
113
|
-
ref:
|
|
114
|
-
className:
|
|
113
|
+
ref: t,
|
|
114
|
+
className: r(
|
|
115
115
|
"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
116
|
e
|
|
117
117
|
),
|
|
118
118
|
...a
|
|
119
119
|
}
|
|
120
120
|
));
|
|
121
|
-
|
|
122
|
-
const
|
|
123
|
-
|
|
121
|
+
T.displayName = s.SubContent.displayName;
|
|
122
|
+
const R = n.forwardRef(({ className: e, align: a = "start", alignOffset: t = -4, sideOffset: i = 8, ...l }, f) => /* @__PURE__ */ o.jsx(s.Portal, { children: /* @__PURE__ */ o.jsx(
|
|
123
|
+
s.Content,
|
|
124
124
|
{
|
|
125
|
-
ref:
|
|
125
|
+
ref: f,
|
|
126
126
|
align: a,
|
|
127
|
-
alignOffset:
|
|
128
|
-
sideOffset:
|
|
129
|
-
className:
|
|
127
|
+
alignOffset: t,
|
|
128
|
+
sideOffset: i,
|
|
129
|
+
className: r(
|
|
130
130
|
"z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in 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",
|
|
131
131
|
e
|
|
132
132
|
),
|
|
133
|
-
...
|
|
133
|
+
...l
|
|
134
134
|
}
|
|
135
135
|
) }));
|
|
136
|
-
|
|
137
|
-
const
|
|
138
|
-
|
|
136
|
+
R.displayName = s.Content.displayName;
|
|
137
|
+
const I = n.forwardRef(({ className: e, inset: a, ...t }, i) => /* @__PURE__ */ o.jsx(
|
|
138
|
+
s.Item,
|
|
139
139
|
{
|
|
140
|
-
ref:
|
|
141
|
-
className:
|
|
140
|
+
ref: i,
|
|
141
|
+
className: r(
|
|
142
142
|
"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
143
|
a && "pl-8",
|
|
144
144
|
e
|
|
145
145
|
),
|
|
146
|
-
...
|
|
146
|
+
...t
|
|
147
147
|
}
|
|
148
148
|
));
|
|
149
|
-
|
|
150
|
-
const
|
|
151
|
-
|
|
149
|
+
I.displayName = s.Item.displayName;
|
|
150
|
+
const A = n.forwardRef(({ className: e, children: a, checked: t, ...i }, l) => /* @__PURE__ */ o.jsxs(
|
|
151
|
+
s.CheckboxItem,
|
|
152
152
|
{
|
|
153
|
-
ref:
|
|
154
|
-
className:
|
|
153
|
+
ref: l,
|
|
154
|
+
className: r(
|
|
155
155
|
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
156
156
|
e
|
|
157
157
|
),
|
|
158
|
-
checked:
|
|
159
|
-
...
|
|
158
|
+
checked: t,
|
|
159
|
+
...i,
|
|
160
160
|
children: [
|
|
161
|
-
/* @__PURE__ */
|
|
161
|
+
/* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(s.ItemIndicator, { children: /* @__PURE__ */ o.jsx(x, { className: "h-4 w-4" }) }) }),
|
|
162
162
|
a
|
|
163
163
|
]
|
|
164
164
|
}
|
|
165
165
|
));
|
|
166
|
-
|
|
167
|
-
const
|
|
168
|
-
|
|
166
|
+
A.displayName = s.CheckboxItem.displayName;
|
|
167
|
+
const k = n.forwardRef(({ className: e, children: a, ...t }, i) => /* @__PURE__ */ o.jsxs(
|
|
168
|
+
s.RadioItem,
|
|
169
169
|
{
|
|
170
|
-
ref:
|
|
171
|
-
className:
|
|
170
|
+
ref: i,
|
|
171
|
+
className: r(
|
|
172
172
|
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
173
173
|
e
|
|
174
174
|
),
|
|
175
|
-
...
|
|
175
|
+
...t,
|
|
176
176
|
children: [
|
|
177
|
-
/* @__PURE__ */
|
|
177
|
+
/* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(s.ItemIndicator, { children: /* @__PURE__ */ o.jsx(b, { className: "h-4 w-4 fill-current" }) }) }),
|
|
178
178
|
a
|
|
179
179
|
]
|
|
180
180
|
}
|
|
181
181
|
));
|
|
182
|
-
|
|
183
|
-
const
|
|
184
|
-
|
|
182
|
+
k.displayName = s.RadioItem.displayName;
|
|
183
|
+
const P = n.forwardRef(({ className: e, inset: a, ...t }, i) => /* @__PURE__ */ o.jsx(
|
|
184
|
+
s.Label,
|
|
185
185
|
{
|
|
186
|
-
ref:
|
|
187
|
-
className:
|
|
188
|
-
...
|
|
186
|
+
ref: i,
|
|
187
|
+
className: r("px-2 py-1.5 text-sm font-semibold", a && "pl-8", e),
|
|
188
|
+
...t
|
|
189
189
|
}
|
|
190
190
|
));
|
|
191
|
-
|
|
192
|
-
const
|
|
193
|
-
|
|
194
|
-
const
|
|
195
|
-
|
|
196
|
-
const
|
|
197
|
-
|
|
191
|
+
P.displayName = s.Label.displayName;
|
|
192
|
+
const z = n.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(s.Separator, { ref: t, className: r("-mx-1 my-1 h-px bg-muted", e), ...a }));
|
|
193
|
+
z.displayName = s.Separator.displayName;
|
|
194
|
+
const G = ({ className: e, ...a }) => /* @__PURE__ */ o.jsx("span", { className: r("ml-auto text-xs tracking-widest text-muted-foreground", e), ...a });
|
|
195
|
+
G.displayname = "MenubarShortcut";
|
|
196
|
+
const ge = d.Root, xe = d.Trigger, be = d.Close, p = ({ className: e, ...a }) => /* @__PURE__ */ o.jsx(d.Portal, { className: r(e), ...a });
|
|
197
|
+
p.displayName = d.Portal.displayName;
|
|
198
|
+
const u = n.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
199
|
+
d.Overlay,
|
|
198
200
|
{
|
|
199
|
-
|
|
200
|
-
className: s(
|
|
201
|
-
"flex h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
|
|
202
|
-
e
|
|
203
|
-
),
|
|
204
|
-
...o,
|
|
205
|
-
children: [
|
|
206
|
-
a,
|
|
207
|
-
/* @__PURE__ */ t.jsx(i.Icon, { asChild: !0, children: /* @__PURE__ */ t.jsx(y, { className: "h-4 w-4 opacity-50" }) })
|
|
208
|
-
]
|
|
209
|
-
}
|
|
210
|
-
));
|
|
211
|
-
H.displayName = i.Trigger.displayName;
|
|
212
|
-
const F = d.forwardRef(({ className: e, children: a, position: o = "popper", ...n }, c) => /* @__PURE__ */ t.jsx(i.Portal, { children: /* @__PURE__ */ t.jsx(
|
|
213
|
-
i.Content,
|
|
214
|
-
{
|
|
215
|
-
ref: c,
|
|
216
|
-
className: s(
|
|
217
|
-
"relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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",
|
|
218
|
-
o === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
219
|
-
e
|
|
220
|
-
),
|
|
221
|
-
position: o,
|
|
222
|
-
...n,
|
|
223
|
-
children: /* @__PURE__ */ t.jsx(
|
|
224
|
-
i.Viewport,
|
|
225
|
-
{
|
|
226
|
-
className: s(
|
|
227
|
-
"p-1",
|
|
228
|
-
o === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
|
|
229
|
-
),
|
|
230
|
-
children: a
|
|
231
|
-
}
|
|
232
|
-
)
|
|
233
|
-
}
|
|
234
|
-
) }));
|
|
235
|
-
F.displayName = i.Content.displayName;
|
|
236
|
-
const B = d.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(i.Label, { ref: o, className: s("px-2 py-1.5 text-sm font-semibold", e), ...a }));
|
|
237
|
-
B.displayName = i.Label.displayName;
|
|
238
|
-
const E = d.forwardRef(({ className: e, children: a, ...o }, n) => /* @__PURE__ */ t.jsxs(
|
|
239
|
-
i.Item,
|
|
240
|
-
{
|
|
241
|
-
ref: n,
|
|
242
|
-
className: s(
|
|
243
|
-
"relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
244
|
-
e
|
|
245
|
-
),
|
|
246
|
-
...o,
|
|
247
|
-
children: [
|
|
248
|
-
/* @__PURE__ */ t.jsx("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ t.jsx(i.ItemIndicator, { children: /* @__PURE__ */ t.jsx(u, { className: "h-4 w-4" }) }) }),
|
|
249
|
-
/* @__PURE__ */ t.jsx(i.ItemText, { children: a })
|
|
250
|
-
]
|
|
251
|
-
}
|
|
252
|
-
));
|
|
253
|
-
E.displayName = i.Item.displayName;
|
|
254
|
-
const O = d.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(i.Separator, { ref: o, className: s("-mx-1 my-1 h-px bg-muted", e), ...a }));
|
|
255
|
-
O.displayName = i.Separator.displayName;
|
|
256
|
-
const je = l.Root, Se = l.Trigger, Me = l.Close, f = ({ className: e, ...a }) => /* @__PURE__ */ t.jsx(l.Portal, { className: s(e), ...a });
|
|
257
|
-
f.displayName = l.Portal.displayName;
|
|
258
|
-
const g = d.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
259
|
-
l.Overlay,
|
|
260
|
-
{
|
|
261
|
-
className: s(
|
|
201
|
+
className: r(
|
|
262
202
|
"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
203
|
e
|
|
264
204
|
),
|
|
265
205
|
...a,
|
|
266
|
-
ref:
|
|
206
|
+
ref: t
|
|
267
207
|
}
|
|
268
208
|
));
|
|
269
|
-
|
|
270
|
-
const
|
|
209
|
+
u.displayName = d.Overlay.displayName;
|
|
210
|
+
const L = c(
|
|
271
211
|
"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
212
|
{
|
|
273
213
|
variants: {
|
|
@@ -282,159 +222,159 @@ const q = m(
|
|
|
282
222
|
side: "right"
|
|
283
223
|
}
|
|
284
224
|
}
|
|
285
|
-
),
|
|
286
|
-
({ side: e = "right", className: a, children:
|
|
287
|
-
/* @__PURE__ */
|
|
288
|
-
/* @__PURE__ */
|
|
289
|
-
|
|
290
|
-
/* @__PURE__ */
|
|
291
|
-
/* @__PURE__ */
|
|
292
|
-
/* @__PURE__ */
|
|
225
|
+
), H = n.forwardRef(
|
|
226
|
+
({ side: e = "right", className: a, children: t, ...i }, l) => /* @__PURE__ */ o.jsxs(p, { children: [
|
|
227
|
+
/* @__PURE__ */ o.jsx(u, {}),
|
|
228
|
+
/* @__PURE__ */ o.jsxs(d.Content, { ref: l, className: r(L({ side: e }), a), ...i, children: [
|
|
229
|
+
t,
|
|
230
|
+
/* @__PURE__ */ o.jsxs(d.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
|
|
231
|
+
/* @__PURE__ */ o.jsx(h, { className: "h-4 w-4" }),
|
|
232
|
+
/* @__PURE__ */ o.jsx("span", { className: "sr-only", children: "Close" })
|
|
293
233
|
] })
|
|
294
234
|
] })
|
|
295
235
|
] })
|
|
296
236
|
);
|
|
297
|
-
|
|
298
|
-
const
|
|
299
|
-
|
|
300
|
-
const
|
|
301
|
-
|
|
302
|
-
const
|
|
303
|
-
|
|
304
|
-
const
|
|
305
|
-
|
|
237
|
+
H.displayName = d.Content.displayName;
|
|
238
|
+
const V = ({ className: e, ...a }) => /* @__PURE__ */ o.jsx("div", { className: r("flex flex-col space-y-2 text-center sm:text-left", e), ...a });
|
|
239
|
+
V.displayName = "SheetHeader";
|
|
240
|
+
const F = ({ className: e, ...a }) => /* @__PURE__ */ o.jsx("div", { className: r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...a });
|
|
241
|
+
F.displayName = "SheetFooter";
|
|
242
|
+
const B = n.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(d.Title, { ref: t, className: r("text-lg font-semibold text-foreground", e), ...a }));
|
|
243
|
+
B.displayName = d.Title.displayName;
|
|
244
|
+
const O = n.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(d.Description, { ref: t, className: r("text-sm text-muted-foreground", e), ...a }));
|
|
245
|
+
O.displayName = d.Description.displayName;
|
|
306
246
|
export {
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
247
|
+
ye as Accordion,
|
|
248
|
+
Ne as AccordionContent,
|
|
249
|
+
ve as AccordionItem,
|
|
250
|
+
we as AccordionTrigger,
|
|
251
|
+
v as Alert,
|
|
252
|
+
S as AlertDescription,
|
|
253
|
+
Se as AlertDialog,
|
|
254
|
+
Me as AlertDialogAction,
|
|
255
|
+
je as AlertDialogCancel,
|
|
256
|
+
De as AlertDialogContent,
|
|
257
|
+
Te as AlertDialogDescription,
|
|
258
|
+
Re as AlertDialogFooter,
|
|
259
|
+
Ie as AlertDialogHeader,
|
|
260
|
+
Ae as AlertDialogTitle,
|
|
261
|
+
ke as AlertDialogTrigger,
|
|
262
|
+
w as AlertTitle,
|
|
263
|
+
Pe as Badge,
|
|
264
|
+
ze as Button,
|
|
265
|
+
Ge as Card,
|
|
266
|
+
Le as CardContent,
|
|
267
|
+
He as CardDescription,
|
|
268
|
+
Ve as CardFooter,
|
|
269
|
+
Fe as CardHeader,
|
|
270
|
+
Be as CardTitle,
|
|
271
|
+
Oe as Command,
|
|
272
|
+
Ee as CommandDialog,
|
|
273
|
+
qe as CommandEmpty,
|
|
274
|
+
Je as CommandGroup,
|
|
275
|
+
Ke as CommandInput,
|
|
276
|
+
_e as CommandItem,
|
|
277
|
+
Qe as CommandList,
|
|
278
|
+
Ue as CommandSeparator,
|
|
279
|
+
We as CommandShortcut,
|
|
280
|
+
Xe as ContextMenu,
|
|
281
|
+
Ye as ContextMenuCheckboxItem,
|
|
282
|
+
Ze as ContextMenuContent,
|
|
283
|
+
$e as ContextMenuGroup,
|
|
284
|
+
ea as ContextMenuItem,
|
|
285
|
+
aa as ContextMenuLabel,
|
|
286
|
+
ta as ContextMenuPortal,
|
|
287
|
+
oa as ContextMenuRadioGroup,
|
|
288
|
+
sa as ContextMenuRadioItem,
|
|
289
|
+
ra as ContextMenuSeparator,
|
|
290
|
+
na as ContextMenuShortcut,
|
|
291
|
+
ia as ContextMenuSub,
|
|
292
|
+
da as ContextMenuSubContent,
|
|
293
|
+
la as ContextMenuSubTrigger,
|
|
294
|
+
ca as ContextMenuTrigger,
|
|
295
|
+
ma as Dialog,
|
|
296
|
+
pa as DialogContent,
|
|
297
|
+
ua as DialogDescription,
|
|
298
|
+
fa as DialogFooter,
|
|
299
|
+
ga as DialogHeader,
|
|
300
|
+
xa as DialogTitle,
|
|
301
|
+
ba as DialogTrigger,
|
|
302
|
+
ha as DropdownMenu,
|
|
303
|
+
Ca as DropdownMenuCheckboxItem,
|
|
304
|
+
ya as DropdownMenuContent,
|
|
305
|
+
Na as DropdownMenuGroup,
|
|
306
|
+
va as DropdownMenuItem,
|
|
307
|
+
wa as DropdownMenuLabel,
|
|
308
|
+
Sa as DropdownMenuPortal,
|
|
309
|
+
Ma as DropdownMenuRadioGroup,
|
|
310
|
+
ja as DropdownMenuRadioItem,
|
|
311
|
+
Da as DropdownMenuSeparator,
|
|
312
|
+
Ta as DropdownMenuShortcut,
|
|
313
|
+
Ra as DropdownMenuSub,
|
|
314
|
+
Ia as DropdownMenuSubContent,
|
|
315
|
+
Aa as DropdownMenuSubTrigger,
|
|
316
|
+
ka as DropdownMenuTrigger,
|
|
317
|
+
Pa as HoverCard,
|
|
318
|
+
za as HoverCardContent,
|
|
319
|
+
Ga as HoverCardTrigger,
|
|
320
|
+
La as Input,
|
|
321
|
+
Ha as Label,
|
|
322
|
+
M as Menubar,
|
|
323
|
+
A as MenubarCheckboxItem,
|
|
324
|
+
R as MenubarContent,
|
|
325
|
+
me as MenubarGroup,
|
|
326
|
+
I as MenubarItem,
|
|
327
|
+
P as MenubarLabel,
|
|
328
|
+
ce as MenubarMenu,
|
|
329
|
+
pe as MenubarPortal,
|
|
330
|
+
fe as MenubarRadioGroup,
|
|
331
|
+
k as MenubarRadioItem,
|
|
332
|
+
z as MenubarSeparator,
|
|
333
|
+
G as MenubarShortcut,
|
|
334
|
+
ue as MenubarSub,
|
|
335
|
+
T as MenubarSubContent,
|
|
336
|
+
D as MenubarSubTrigger,
|
|
337
|
+
j as MenubarTrigger,
|
|
338
|
+
Va as Popover,
|
|
339
|
+
Fa as PopoverContent,
|
|
340
|
+
Ba as PopoverTrigger,
|
|
341
|
+
Oa as ScrollArea,
|
|
342
|
+
Ea as ScrollBar,
|
|
343
|
+
qa as Select,
|
|
344
|
+
Ja as SelectContent,
|
|
345
|
+
Ka as SelectGroup,
|
|
346
|
+
_a as SelectItem,
|
|
347
|
+
Qa as SelectLabel,
|
|
348
|
+
Ua as SelectSeparator,
|
|
349
|
+
Wa as SelectTrigger,
|
|
350
|
+
Xa as SelectValue,
|
|
351
|
+
Ya as Separator,
|
|
352
|
+
ge as Sheet,
|
|
353
|
+
be as SheetClose,
|
|
354
|
+
H as SheetContent,
|
|
355
|
+
O as SheetDescription,
|
|
356
|
+
F as SheetFooter,
|
|
357
|
+
V as SheetHeader,
|
|
358
|
+
B as SheetTitle,
|
|
359
|
+
xe as SheetTrigger,
|
|
360
|
+
Za as Skeleton,
|
|
361
|
+
$a as Switch,
|
|
362
|
+
et as Tabs,
|
|
363
|
+
at as TabsContent,
|
|
364
|
+
tt as TabsList,
|
|
365
|
+
ot as TabsTrigger,
|
|
366
|
+
st as Textarea,
|
|
367
|
+
rt as Toaster,
|
|
368
|
+
y as Toggle,
|
|
369
|
+
nt as Tooltip,
|
|
430
370
|
it as TooltipContent,
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
371
|
+
dt as TooltipPortal,
|
|
372
|
+
lt as TooltipProvider,
|
|
373
|
+
ct as TooltipTrigger,
|
|
374
|
+
mt as badgeVariants,
|
|
375
|
+
pt as buttonVariants,
|
|
376
|
+
ut as reducer,
|
|
377
|
+
ft as toast,
|
|
378
|
+
C as toggleVariants,
|
|
379
|
+
gt as useToast
|
|
440
380
|
};
|