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