@chaibuilder/sdk 1.2.91 → 1.2.93
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-_Pim7pDO.js → CodeEditor-7AhH7ll8.js} +30 -28
- package/dist/CodeEditor-Iy57NpaR.cjs +1 -0
- package/dist/{Topbar-4ejjKoRn.js → Topbar-X_79oQQf.js} +21 -19
- package/dist/Topbar-oXx57vCi.cjs +1 -0
- package/dist/{UnsplashImages-fpbR9Jbs.js → UnsplashImages-TlLU5BkT.js} +35 -33
- package/dist/UnsplashImages-smJeXVat.cjs +1 -0
- package/dist/{UploadImages-9hzL5Hu1.js → UploadImages-GiKofaXX.js} +37 -62
- 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-9cWJcKdh.js → context-menu-yLeOsx9j.js} +427 -463
- package/dist/core.cjs +1 -1
- package/dist/core.d.ts +34 -11
- package/dist/core.js +79 -75
- package/dist/iconBase-BnEC5_qG.js +1583 -0
- package/dist/iconBase-_bgMuxa5.cjs +1 -0
- package/dist/{index-ry3B_D93.js → index-GjgkZP8W.js} +9627 -10803
- package/dist/index-f5CPA351.cjs +223 -0
- 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 +113 -112
- package/dist/web-blocks.cjs +1 -1
- package/dist/web-blocks.js +344 -289
- package/package.json +2 -2
- package/dist/CodeEditor-Imjgt7mh.cjs +0 -1
- package/dist/Topbar-irIirqy7.cjs +0 -1
- package/dist/UnsplashImages-NfwOtGHo.cjs +0 -1
- package/dist/UploadImages-OVHnYeiL.cjs +0 -1
- package/dist/context-menu-sQn7ryJ6.cjs +0 -1
- package/dist/iconBase-vJD0OXxU.cjs +0 -1
- package/dist/iconBase-zweRWSz0.js +0 -323
- package/dist/index-VBJLJ6fO.cjs +0 -223
- package/dist/plugin-_F-KZp1i.cjs +0 -1
- package/dist/plugin-sJ3Hzvpv.js +0 -57
|
@@ -1,37 +1,35 @@
|
|
|
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
|
+
import { c as s, b as I } from "./button-9Duvj2dH.js";
|
|
4
5
|
import * as g from "@radix-ui/react-accordion";
|
|
5
|
-
import { ChevronDownIcon as
|
|
6
|
-
import { cva as
|
|
6
|
+
import { ChevronDownIcon as X, Cross2Icon as A, CaretSortIcon as Y, CheckIcon as S, ChevronRightIcon as M, DotFilledIcon as P, MagnifyingGlassIcon as $ } from "@radix-ui/react-icons";
|
|
7
|
+
import { cva as D } from "class-variance-authority";
|
|
7
8
|
import * as m from "@radix-ui/react-alert-dialog";
|
|
8
|
-
import
|
|
9
|
-
import * as _ from "@radix-ui/react-label";
|
|
9
|
+
import * as z from "@radix-ui/react-label";
|
|
10
10
|
import * as x from "@radix-ui/react-scroll-area";
|
|
11
11
|
import * as b from "@radix-ui/react-tabs";
|
|
12
|
-
import * as
|
|
12
|
+
import * as N from "@radix-ui/react-tooltip";
|
|
13
13
|
import * as h from "@radix-ui/react-popover";
|
|
14
|
-
import * as
|
|
14
|
+
import * as j from "@radix-ui/react-hover-card";
|
|
15
15
|
import * as c from "@radix-ui/react-select";
|
|
16
16
|
import * as n from "@radix-ui/react-dropdown-menu";
|
|
17
|
-
import * as
|
|
17
|
+
import * as _ from "@radix-ui/react-separator";
|
|
18
18
|
import * as u from "@radix-ui/react-toast";
|
|
19
19
|
import { Command as p } from "cmdk";
|
|
20
20
|
import * as f from "@radix-ui/react-dialog";
|
|
21
21
|
import * as i from "@radix-ui/react-context-menu";
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const s = (...e) => te(ee(e)), ae = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
25
|
-
k.Root,
|
|
22
|
+
const W = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
23
|
+
T.Root,
|
|
26
24
|
{
|
|
27
25
|
className: s(
|
|
28
26
|
"peer inline-flex h-[24px] w-[44px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-400 focus-visible:ring-offset-2 focus-visible:ring-offset-white disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-slate-900 data-[state=unchecked]:bg-slate-200 dark:focus-visible:ring-slate-800 dark:focus-visible:ring-offset-slate-950 dark:data-[state=checked]:bg-slate-50 dark:data-[state=unchecked]:bg-slate-800",
|
|
29
27
|
e
|
|
30
28
|
),
|
|
31
|
-
...
|
|
32
|
-
ref:
|
|
29
|
+
...a,
|
|
30
|
+
ref: t,
|
|
33
31
|
children: /* @__PURE__ */ o.jsx(
|
|
34
|
-
|
|
32
|
+
T.Thumb,
|
|
35
33
|
{
|
|
36
34
|
className: s(
|
|
37
35
|
"pointer-events-none block h-5 w-5 rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0 dark:bg-slate-950"
|
|
@@ -40,41 +38,10 @@ const s = (...e) => te(ee(e)), ae = r.forwardRef(({ className: e, ...t }, a) =>
|
|
|
40
38
|
)
|
|
41
39
|
}
|
|
42
40
|
));
|
|
43
|
-
|
|
44
|
-
const
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
variants: {
|
|
48
|
-
variant: {
|
|
49
|
-
default: "bg-primary text-primary-foreground shadow hover:bg-primary/90",
|
|
50
|
-
destructive: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
|
|
51
|
-
outline: "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",
|
|
52
|
-
secondary: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",
|
|
53
|
-
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
54
|
-
link: "text-primary underline-offset-4 hover:underline"
|
|
55
|
-
},
|
|
56
|
-
size: {
|
|
57
|
-
default: "h-9 px-4 py-2",
|
|
58
|
-
sm: "h-8 rounded-md px-3 text-xs",
|
|
59
|
-
lg: "h-10 rounded-md px-8",
|
|
60
|
-
icon: "h-9 w-9"
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
defaultVariants: {
|
|
64
|
-
variant: "default",
|
|
65
|
-
size: "default"
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
), oe = r.forwardRef(
|
|
69
|
-
({ className: e, variant: t, size: a, asChild: d = !1, ...l }, R) => {
|
|
70
|
-
const X = d ? Z : "button";
|
|
71
|
-
return /* @__PURE__ */ o.jsx(X, { className: s(I({ variant: t, size: a, className: e })), ref: R, ...l });
|
|
72
|
-
}
|
|
73
|
-
);
|
|
74
|
-
oe.displayName = "Button";
|
|
75
|
-
const It = g.Root, se = r.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(g.Item, { ref: a, className: s("border-b", e), ...t }));
|
|
76
|
-
se.displayName = "AccordionItem";
|
|
77
|
-
const re = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__ */ o.jsx(g.Header, { className: "flex", children: /* @__PURE__ */ o.jsxs(
|
|
41
|
+
W.displayName = T.Root.displayName;
|
|
42
|
+
const ja = g.Root, Z = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(g.Item, { ref: t, className: s("border-b", e), ...a }));
|
|
43
|
+
Z.displayName = "AccordionItem";
|
|
44
|
+
const ee = r.forwardRef(({ className: e, children: a, ...t }, d) => /* @__PURE__ */ o.jsx(g.Header, { className: "flex", children: /* @__PURE__ */ o.jsxs(
|
|
78
45
|
g.Trigger,
|
|
79
46
|
{
|
|
80
47
|
ref: d,
|
|
@@ -82,15 +49,15 @@ const re = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__
|
|
|
82
49
|
"flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",
|
|
83
50
|
e
|
|
84
51
|
),
|
|
85
|
-
...
|
|
52
|
+
...t,
|
|
86
53
|
children: [
|
|
87
|
-
|
|
88
|
-
|
|
54
|
+
a,
|
|
55
|
+
t.hideArrow ? null : /* @__PURE__ */ o.jsx(X, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
|
|
89
56
|
]
|
|
90
57
|
}
|
|
91
58
|
) }));
|
|
92
|
-
|
|
93
|
-
const
|
|
59
|
+
ee.displayName = g.Trigger.displayName;
|
|
60
|
+
const ae = r.forwardRef(({ className: e, children: a, ...t }, d) => /* @__PURE__ */ o.jsx(
|
|
94
61
|
g.Content,
|
|
95
62
|
{
|
|
96
63
|
ref: d,
|
|
@@ -98,12 +65,12 @@ const de = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__
|
|
|
98
65
|
"text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
|
|
99
66
|
e
|
|
100
67
|
),
|
|
101
|
-
...
|
|
102
|
-
children: /* @__PURE__ */ o.jsx("div", { className: "pb-4 pt-0", children:
|
|
68
|
+
...t,
|
|
69
|
+
children: /* @__PURE__ */ o.jsx("div", { className: "pb-4 pt-0", children: a })
|
|
103
70
|
}
|
|
104
71
|
));
|
|
105
|
-
|
|
106
|
-
const
|
|
72
|
+
ae.displayName = g.Content.displayName;
|
|
73
|
+
const te = D(
|
|
107
74
|
"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",
|
|
108
75
|
{
|
|
109
76
|
variants: {
|
|
@@ -118,70 +85,70 @@ const ne = j(
|
|
|
118
85
|
variant: "default"
|
|
119
86
|
}
|
|
120
87
|
}
|
|
121
|
-
),
|
|
122
|
-
|
|
123
|
-
const
|
|
88
|
+
), Ca = ({ className: e, variant: a, ...t }) => /* @__PURE__ */ o.jsx("div", { className: s(te({ variant: a }), e), ...t }), Ra = m.Root, Ta = m.Trigger, O = ({ className: e, ...a }) => /* @__PURE__ */ o.jsx(m.Portal, { className: s(e), ...a });
|
|
89
|
+
O.displayName = m.Portal.displayName;
|
|
90
|
+
const L = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
124
91
|
m.Overlay,
|
|
125
92
|
{
|
|
126
93
|
className: s(
|
|
127
94
|
"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",
|
|
128
95
|
e
|
|
129
96
|
),
|
|
130
|
-
...
|
|
131
|
-
ref:
|
|
97
|
+
...a,
|
|
98
|
+
ref: t
|
|
132
99
|
}
|
|
133
100
|
));
|
|
134
|
-
|
|
135
|
-
const
|
|
136
|
-
/* @__PURE__ */ o.jsx(
|
|
101
|
+
L.displayName = m.Overlay.displayName;
|
|
102
|
+
const oe = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsxs(O, { children: [
|
|
103
|
+
/* @__PURE__ */ o.jsx(L, {}),
|
|
137
104
|
/* @__PURE__ */ o.jsx(
|
|
138
105
|
m.Content,
|
|
139
106
|
{
|
|
140
|
-
ref:
|
|
107
|
+
ref: t,
|
|
141
108
|
className: s(
|
|
142
109
|
"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg md:w-full",
|
|
143
110
|
e
|
|
144
111
|
),
|
|
145
|
-
...
|
|
112
|
+
...a
|
|
146
113
|
}
|
|
147
114
|
)
|
|
148
115
|
] }));
|
|
149
|
-
|
|
150
|
-
const
|
|
151
|
-
|
|
152
|
-
const
|
|
153
|
-
|
|
154
|
-
const
|
|
155
|
-
|
|
156
|
-
const
|
|
157
|
-
|
|
158
|
-
const
|
|
159
|
-
|
|
160
|
-
const
|
|
116
|
+
oe.displayName = m.Content.displayName;
|
|
117
|
+
const se = ({ className: e, ...a }) => /* @__PURE__ */ o.jsx("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", e), ...a });
|
|
118
|
+
se.displayName = "AlertDialogHeader";
|
|
119
|
+
const re = ({ className: e, ...a }) => /* @__PURE__ */ o.jsx("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...a });
|
|
120
|
+
re.displayName = "AlertDialogFooter";
|
|
121
|
+
const de = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(m.Title, { ref: t, className: s("text-lg font-semibold", e), ...a }));
|
|
122
|
+
de.displayName = m.Title.displayName;
|
|
123
|
+
const ne = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(m.Description, { ref: t, className: s("text-sm text-muted-foreground", e), ...a }));
|
|
124
|
+
ne.displayName = m.Description.displayName;
|
|
125
|
+
const ie = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(m.Action, { ref: t, className: s(I(), e), ...a }));
|
|
126
|
+
ie.displayName = m.Action.displayName;
|
|
127
|
+
const le = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
161
128
|
m.Cancel,
|
|
162
129
|
{
|
|
163
|
-
ref:
|
|
130
|
+
ref: t,
|
|
164
131
|
className: s(I({ variant: "outline" }), "mt-2 sm:mt-0", e),
|
|
165
|
-
...
|
|
132
|
+
...a
|
|
166
133
|
}
|
|
167
134
|
));
|
|
168
|
-
|
|
169
|
-
const
|
|
170
|
-
|
|
171
|
-
const
|
|
135
|
+
le.displayName = m.Cancel.displayName;
|
|
136
|
+
const ce = f.Root, Sa = f.Trigger, E = ({ className: e, ...a }) => /* @__PURE__ */ o.jsx(f.Portal, { className: s(e), ...a });
|
|
137
|
+
E.displayName = f.Portal.displayName;
|
|
138
|
+
const V = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
172
139
|
f.Overlay,
|
|
173
140
|
{
|
|
174
|
-
ref:
|
|
141
|
+
ref: t,
|
|
175
142
|
className: s(
|
|
176
143
|
"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",
|
|
177
144
|
e
|
|
178
145
|
),
|
|
179
|
-
...
|
|
146
|
+
...a
|
|
180
147
|
}
|
|
181
148
|
));
|
|
182
|
-
|
|
183
|
-
const
|
|
184
|
-
/* @__PURE__ */ o.jsx(
|
|
149
|
+
V.displayName = f.Overlay.displayName;
|
|
150
|
+
const G = r.forwardRef(({ className: e, children: a, ...t }, d) => /* @__PURE__ */ o.jsxs(E, { children: [
|
|
151
|
+
/* @__PURE__ */ o.jsx(V, {}),
|
|
185
152
|
/* @__PURE__ */ o.jsxs(
|
|
186
153
|
f.Content,
|
|
187
154
|
{
|
|
@@ -190,165 +157,165 @@ const H = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__
|
|
|
190
157
|
"fixed left-[50%] top-[50%] z-[999] grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg md:w-full",
|
|
191
158
|
e
|
|
192
159
|
),
|
|
193
|
-
...
|
|
160
|
+
...t,
|
|
194
161
|
children: [
|
|
195
|
-
|
|
162
|
+
a,
|
|
196
163
|
/* @__PURE__ */ o.jsxs(f.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
|
|
197
|
-
/* @__PURE__ */ o.jsx(
|
|
164
|
+
/* @__PURE__ */ o.jsx(A, { className: "h-4 w-4" }),
|
|
198
165
|
/* @__PURE__ */ o.jsx("span", { className: "sr-only", children: "Close" })
|
|
199
166
|
] })
|
|
200
167
|
]
|
|
201
168
|
}
|
|
202
169
|
)
|
|
203
170
|
] }));
|
|
204
|
-
|
|
205
|
-
const
|
|
206
|
-
|
|
207
|
-
const
|
|
208
|
-
|
|
209
|
-
const
|
|
171
|
+
G.displayName = f.Content.displayName;
|
|
172
|
+
const me = ({ className: e, ...a }) => /* @__PURE__ */ o.jsx("div", { className: s("flex flex-col space-y-1.5 text-center sm:text-left", e), ...a });
|
|
173
|
+
me.displayName = "DialogHeader";
|
|
174
|
+
const pe = ({ className: e, ...a }) => /* @__PURE__ */ o.jsx("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...a });
|
|
175
|
+
pe.displayName = "DialogFooter";
|
|
176
|
+
const fe = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
210
177
|
f.Title,
|
|
211
178
|
{
|
|
212
|
-
ref:
|
|
179
|
+
ref: t,
|
|
213
180
|
className: s("text-lg font-semibold leading-none tracking-tight", e),
|
|
214
|
-
...
|
|
181
|
+
...a
|
|
215
182
|
}
|
|
216
183
|
));
|
|
217
|
-
|
|
218
|
-
const
|
|
219
|
-
|
|
220
|
-
const
|
|
221
|
-
|
|
222
|
-
const
|
|
223
|
-
({ className: e, ...
|
|
184
|
+
fe.displayName = f.Title.displayName;
|
|
185
|
+
const ue = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(f.Description, { ref: t, className: s("text-sm text-muted-foreground", e), ...a }));
|
|
186
|
+
ue.displayName = f.Description.displayName;
|
|
187
|
+
const xe = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx("div", { ref: t, className: s("rounded-xl border bg-card text-card-foreground shadow", e), ...a }));
|
|
188
|
+
xe.displayName = "Card";
|
|
189
|
+
const ge = r.forwardRef(
|
|
190
|
+
({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx("div", { ref: t, className: s("flex flex-col space-y-1.5 p-6", e), ...a })
|
|
224
191
|
);
|
|
225
|
-
|
|
226
|
-
const
|
|
227
|
-
({ className: e, ...
|
|
192
|
+
ge.displayName = "CardHeader";
|
|
193
|
+
const be = r.forwardRef(
|
|
194
|
+
({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx("h3", { ref: t, className: s("font-semibold leading-none tracking-tight", e), ...a })
|
|
228
195
|
);
|
|
229
|
-
|
|
230
|
-
const
|
|
231
|
-
({ className: e, ...
|
|
196
|
+
be.displayName = "CardTitle";
|
|
197
|
+
const Ne = r.forwardRef(
|
|
198
|
+
({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx("p", { ref: t, className: s("text-sm text-muted-foreground", e), ...a })
|
|
232
199
|
);
|
|
233
|
-
|
|
234
|
-
const
|
|
235
|
-
({ className: e, ...
|
|
200
|
+
Ne.displayName = "CardDescription";
|
|
201
|
+
const ye = r.forwardRef(
|
|
202
|
+
({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx("div", { ref: t, className: s("p-6 pt-0", e), ...a })
|
|
236
203
|
);
|
|
237
|
-
|
|
238
|
-
const
|
|
239
|
-
({ className: e, ...
|
|
204
|
+
ye.displayName = "CardContent";
|
|
205
|
+
const he = r.forwardRef(
|
|
206
|
+
({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx("div", { ref: t, className: s(" flex items-center p-6 pt-0", e), ...a })
|
|
240
207
|
);
|
|
241
|
-
|
|
242
|
-
const
|
|
208
|
+
he.displayName = "CardFooter";
|
|
209
|
+
const we = r.forwardRef(({ className: e, type: a, ...t }, d) => /* @__PURE__ */ o.jsx(
|
|
243
210
|
"input",
|
|
244
211
|
{
|
|
245
|
-
type:
|
|
212
|
+
type: a,
|
|
246
213
|
className: s(
|
|
247
214
|
"flex h-9 w-full rounded-md border border-border bg-background px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
|
|
248
215
|
e
|
|
249
216
|
),
|
|
250
217
|
ref: d,
|
|
251
|
-
...
|
|
218
|
+
...t,
|
|
252
219
|
autoCapitalize: "off",
|
|
253
220
|
autoCorrect: "off",
|
|
254
221
|
spellCheck: "false"
|
|
255
222
|
}
|
|
256
223
|
));
|
|
257
|
-
|
|
258
|
-
const
|
|
259
|
-
|
|
260
|
-
const
|
|
224
|
+
we.displayName = "Input";
|
|
225
|
+
const ve = D("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), je = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(z.Root, { ref: t, className: s(ve(), e), ...a }));
|
|
226
|
+
je.displayName = z.Root.displayName;
|
|
227
|
+
const Ce = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
261
228
|
"textarea",
|
|
262
229
|
{
|
|
263
230
|
className: s(
|
|
264
231
|
"flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
|
|
265
232
|
e
|
|
266
233
|
),
|
|
267
|
-
ref:
|
|
268
|
-
...
|
|
234
|
+
ref: t,
|
|
235
|
+
...a,
|
|
269
236
|
autoCapitalize: "off",
|
|
270
237
|
autoCorrect: "off",
|
|
271
238
|
spellCheck: "false"
|
|
272
239
|
}
|
|
273
240
|
));
|
|
274
|
-
|
|
275
|
-
const
|
|
276
|
-
/* @__PURE__ */ o.jsx(x.Viewport, { className: "h-full w-full rounded-[inherit]", children:
|
|
277
|
-
/* @__PURE__ */ o.jsx(
|
|
241
|
+
Ce.displayName = "Textarea";
|
|
242
|
+
const Re = r.forwardRef(({ className: e, children: a, ...t }, d) => /* @__PURE__ */ o.jsxs(x.Root, { ref: d, className: s("relative overflow-hidden", e), ...t, children: [
|
|
243
|
+
/* @__PURE__ */ o.jsx(x.Viewport, { className: "h-full w-full rounded-[inherit]", children: a }),
|
|
244
|
+
/* @__PURE__ */ o.jsx(H, {}),
|
|
278
245
|
/* @__PURE__ */ o.jsx(x.Corner, {})
|
|
279
246
|
] }));
|
|
280
|
-
|
|
281
|
-
const
|
|
247
|
+
Re.displayName = x.Root.displayName;
|
|
248
|
+
const H = r.forwardRef(({ className: e, orientation: a = "vertical", ...t }, d) => /* @__PURE__ */ o.jsx(
|
|
282
249
|
x.ScrollAreaScrollbar,
|
|
283
250
|
{
|
|
284
251
|
ref: d,
|
|
285
|
-
orientation:
|
|
252
|
+
orientation: a,
|
|
286
253
|
className: s(
|
|
287
254
|
"flex touch-none select-none transition-colors",
|
|
288
|
-
|
|
289
|
-
|
|
255
|
+
a === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]",
|
|
256
|
+
a === "horizontal" && "h-2.5 border-t border-t-transparent p-[1px]",
|
|
290
257
|
e
|
|
291
258
|
),
|
|
292
|
-
...
|
|
259
|
+
...t,
|
|
293
260
|
children: /* @__PURE__ */ o.jsx(x.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
|
|
294
261
|
}
|
|
295
262
|
));
|
|
296
|
-
|
|
297
|
-
const
|
|
263
|
+
H.displayName = x.ScrollAreaScrollbar.displayName;
|
|
264
|
+
const Da = b.Root, Te = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
298
265
|
b.List,
|
|
299
266
|
{
|
|
300
|
-
ref:
|
|
267
|
+
ref: t,
|
|
301
268
|
className: s(
|
|
302
269
|
"inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",
|
|
303
270
|
e
|
|
304
271
|
),
|
|
305
|
-
...
|
|
272
|
+
...a
|
|
306
273
|
}
|
|
307
274
|
));
|
|
308
|
-
|
|
309
|
-
const
|
|
275
|
+
Te.displayName = b.List.displayName;
|
|
276
|
+
const Se = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
310
277
|
b.Trigger,
|
|
311
278
|
{
|
|
312
|
-
ref:
|
|
279
|
+
ref: t,
|
|
313
280
|
className: s(
|
|
314
281
|
"inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all 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=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",
|
|
315
282
|
e
|
|
316
283
|
),
|
|
317
|
-
...
|
|
284
|
+
...a
|
|
318
285
|
}
|
|
319
286
|
));
|
|
320
|
-
|
|
321
|
-
const
|
|
287
|
+
Se.displayName = b.Trigger.displayName;
|
|
288
|
+
const De = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
322
289
|
b.Content,
|
|
323
290
|
{
|
|
324
|
-
ref:
|
|
291
|
+
ref: t,
|
|
325
292
|
className: s(
|
|
326
293
|
"mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
327
294
|
e
|
|
328
295
|
),
|
|
329
|
-
...
|
|
296
|
+
...a
|
|
330
297
|
}
|
|
331
298
|
));
|
|
332
|
-
|
|
333
|
-
const
|
|
334
|
-
|
|
299
|
+
De.displayName = b.Content.displayName;
|
|
300
|
+
const ka = N.Portal, Ia = N.Provider, Aa = N.Root, Ma = N.Trigger, ke = r.forwardRef(({ className: e, sideOffset: a = 4, ...t }, d) => /* @__PURE__ */ o.jsx(
|
|
301
|
+
N.Content,
|
|
335
302
|
{
|
|
336
303
|
ref: d,
|
|
337
|
-
sideOffset:
|
|
304
|
+
sideOffset: a,
|
|
338
305
|
className: s(
|
|
339
306
|
"z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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",
|
|
340
307
|
e
|
|
341
308
|
),
|
|
342
|
-
...
|
|
309
|
+
...t
|
|
343
310
|
}
|
|
344
311
|
));
|
|
345
|
-
|
|
346
|
-
const
|
|
312
|
+
ke.displayName = N.Content.displayName;
|
|
313
|
+
const Pa = h.Root, za = h.Trigger, Ie = r.forwardRef(({ className: e, align: a = "center", sideOffset: t = 4, ...d }, l) => /* @__PURE__ */ o.jsx(h.Portal, { children: /* @__PURE__ */ o.jsx(
|
|
347
314
|
h.Content,
|
|
348
315
|
{
|
|
349
316
|
ref: l,
|
|
350
|
-
align:
|
|
351
|
-
sideOffset:
|
|
317
|
+
align: a,
|
|
318
|
+
sideOffset: t,
|
|
352
319
|
className: s(
|
|
353
320
|
"z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",
|
|
354
321
|
e
|
|
@@ -356,13 +323,13 @@ const Gt = h.Root, Ht = h.Trigger, _e = r.forwardRef(({ className: e, align: t =
|
|
|
356
323
|
...d
|
|
357
324
|
}
|
|
358
325
|
) }));
|
|
359
|
-
|
|
360
|
-
const
|
|
361
|
-
|
|
326
|
+
Ie.displayName = h.Content.displayName;
|
|
327
|
+
const _a = j.Root, Oa = j.Trigger, Ae = r.forwardRef(({ className: e, align: a = "center", sideOffset: t = 4, ...d }, l) => /* @__PURE__ */ o.jsx(
|
|
328
|
+
j.Content,
|
|
362
329
|
{
|
|
363
330
|
ref: l,
|
|
364
|
-
align:
|
|
365
|
-
sideOffset:
|
|
331
|
+
align: a,
|
|
332
|
+
sideOffset: t,
|
|
366
333
|
className: s(
|
|
367
334
|
"z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",
|
|
368
335
|
e
|
|
@@ -370,8 +337,8 @@ const Ft = C.Root, Bt = C.Trigger, Oe = r.forwardRef(({ className: e, align: t =
|
|
|
370
337
|
...d
|
|
371
338
|
}
|
|
372
339
|
));
|
|
373
|
-
|
|
374
|
-
const
|
|
340
|
+
Ae.displayName = j.Content.displayName;
|
|
341
|
+
const La = c.Root, Ea = c.Group, Va = c.Value, Me = r.forwardRef(({ className: e, children: a, ...t }, d) => /* @__PURE__ */ o.jsxs(
|
|
375
342
|
c.Trigger,
|
|
376
343
|
{
|
|
377
344
|
ref: d,
|
|
@@ -379,41 +346,41 @@ const Ut = c.Root, qt = c.Group, Jt = c.Value, Le = r.forwardRef(({ className: e
|
|
|
379
346
|
"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",
|
|
380
347
|
e
|
|
381
348
|
),
|
|
382
|
-
...
|
|
349
|
+
...t,
|
|
383
350
|
children: [
|
|
384
|
-
|
|
385
|
-
/* @__PURE__ */ o.jsx(c.Icon, { asChild: !0, children: /* @__PURE__ */ o.jsx(
|
|
351
|
+
a,
|
|
352
|
+
/* @__PURE__ */ o.jsx(c.Icon, { asChild: !0, children: /* @__PURE__ */ o.jsx(Y, { className: "h-4 w-4 opacity-50" }) })
|
|
386
353
|
]
|
|
387
354
|
}
|
|
388
355
|
));
|
|
389
|
-
|
|
390
|
-
const
|
|
356
|
+
Me.displayName = c.Trigger.displayName;
|
|
357
|
+
const Pe = r.forwardRef(({ className: e, children: a, position: t = "popper", ...d }, l) => /* @__PURE__ */ o.jsx(c.Portal, { children: /* @__PURE__ */ o.jsx(
|
|
391
358
|
c.Content,
|
|
392
359
|
{
|
|
393
360
|
ref: l,
|
|
394
361
|
className: s(
|
|
395
362
|
"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",
|
|
396
|
-
|
|
363
|
+
t === "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",
|
|
397
364
|
e
|
|
398
365
|
),
|
|
399
|
-
position:
|
|
366
|
+
position: t,
|
|
400
367
|
...d,
|
|
401
368
|
children: /* @__PURE__ */ o.jsx(
|
|
402
369
|
c.Viewport,
|
|
403
370
|
{
|
|
404
371
|
className: s(
|
|
405
372
|
"p-1",
|
|
406
|
-
|
|
373
|
+
t === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
|
|
407
374
|
),
|
|
408
|
-
children:
|
|
375
|
+
children: a
|
|
409
376
|
}
|
|
410
377
|
)
|
|
411
378
|
}
|
|
412
379
|
) }));
|
|
413
|
-
|
|
414
|
-
const
|
|
415
|
-
|
|
416
|
-
const
|
|
380
|
+
Pe.displayName = c.Content.displayName;
|
|
381
|
+
const ze = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(c.Label, { ref: t, className: s("px-2 py-1.5 text-sm font-semibold", e), ...a }));
|
|
382
|
+
ze.displayName = c.Label.displayName;
|
|
383
|
+
const _e = r.forwardRef(({ className: e, children: a, ...t }, d) => /* @__PURE__ */ o.jsxs(
|
|
417
384
|
c.Item,
|
|
418
385
|
{
|
|
419
386
|
ref: d,
|
|
@@ -421,73 +388,73 @@ const Ge = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__
|
|
|
421
388
|
"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",
|
|
422
389
|
e
|
|
423
390
|
),
|
|
424
|
-
...
|
|
391
|
+
...t,
|
|
425
392
|
children: [
|
|
426
|
-
/* @__PURE__ */ o.jsx("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(c.ItemIndicator, { children: /* @__PURE__ */ o.jsx(
|
|
427
|
-
/* @__PURE__ */ o.jsx(c.ItemText, { children:
|
|
393
|
+
/* @__PURE__ */ o.jsx("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(c.ItemIndicator, { children: /* @__PURE__ */ o.jsx(S, { className: "h-4 w-4" }) }) }),
|
|
394
|
+
/* @__PURE__ */ o.jsx(c.ItemText, { children: a })
|
|
428
395
|
]
|
|
429
396
|
}
|
|
430
397
|
));
|
|
431
|
-
|
|
432
|
-
const
|
|
433
|
-
|
|
434
|
-
const
|
|
398
|
+
_e.displayName = c.Item.displayName;
|
|
399
|
+
const Oe = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(c.Separator, { ref: t, className: s("-mx-1 my-1 h-px bg-muted", e), ...a }));
|
|
400
|
+
Oe.displayName = c.Separator.displayName;
|
|
401
|
+
const Ga = n.Root, Ha = n.Trigger, Fa = n.Group, Ba = n.Portal, Ua = n.Sub, qa = n.RadioGroup, Le = r.forwardRef(({ className: e, inset: a, children: t, ...d }, l) => /* @__PURE__ */ o.jsxs(
|
|
435
402
|
n.SubTrigger,
|
|
436
403
|
{
|
|
437
404
|
ref: l,
|
|
438
405
|
className: s(
|
|
439
406
|
"flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",
|
|
440
|
-
|
|
407
|
+
a && "pl-8",
|
|
441
408
|
e
|
|
442
409
|
),
|
|
443
410
|
...d,
|
|
444
411
|
children: [
|
|
445
|
-
|
|
446
|
-
/* @__PURE__ */ o.jsx(
|
|
412
|
+
t,
|
|
413
|
+
/* @__PURE__ */ o.jsx(M, { className: "ml-auto h-4 w-4" })
|
|
447
414
|
]
|
|
448
415
|
}
|
|
449
416
|
));
|
|
450
|
-
|
|
451
|
-
const
|
|
417
|
+
Le.displayName = n.SubTrigger.displayName;
|
|
418
|
+
const Ee = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
452
419
|
n.SubContent,
|
|
453
420
|
{
|
|
454
|
-
ref:
|
|
421
|
+
ref: t,
|
|
455
422
|
className: s(
|
|
456
423
|
"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",
|
|
457
424
|
e
|
|
458
425
|
),
|
|
459
|
-
...
|
|
426
|
+
...a
|
|
460
427
|
}
|
|
461
428
|
));
|
|
462
|
-
|
|
463
|
-
const
|
|
429
|
+
Ee.displayName = n.SubContent.displayName;
|
|
430
|
+
const Ve = r.forwardRef(({ className: e, sideOffset: a = 4, ...t }, d) => /* @__PURE__ */ o.jsx(n.Portal, { children: /* @__PURE__ */ o.jsx(
|
|
464
431
|
n.Content,
|
|
465
432
|
{
|
|
466
433
|
ref: d,
|
|
467
|
-
sideOffset:
|
|
434
|
+
sideOffset: a,
|
|
468
435
|
className: s(
|
|
469
436
|
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md",
|
|
470
437
|
"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",
|
|
471
438
|
e
|
|
472
439
|
),
|
|
473
|
-
...
|
|
440
|
+
...t
|
|
474
441
|
}
|
|
475
442
|
) }));
|
|
476
|
-
|
|
477
|
-
const
|
|
443
|
+
Ve.displayName = n.Content.displayName;
|
|
444
|
+
const Ge = r.forwardRef(({ className: e, inset: a, ...t }, d) => /* @__PURE__ */ o.jsx(
|
|
478
445
|
n.Item,
|
|
479
446
|
{
|
|
480
447
|
ref: d,
|
|
481
448
|
className: s(
|
|
482
449
|
"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
483
|
-
|
|
450
|
+
a && "pl-8",
|
|
484
451
|
e
|
|
485
452
|
),
|
|
486
|
-
...
|
|
453
|
+
...t
|
|
487
454
|
}
|
|
488
455
|
));
|
|
489
|
-
|
|
490
|
-
const
|
|
456
|
+
Ge.displayName = n.Item.displayName;
|
|
457
|
+
const He = r.forwardRef(({ className: e, children: a, checked: t, ...d }, l) => /* @__PURE__ */ o.jsxs(
|
|
491
458
|
n.CheckboxItem,
|
|
492
459
|
{
|
|
493
460
|
ref: l,
|
|
@@ -495,16 +462,16 @@ const Je = r.forwardRef(({ className: e, children: t, checked: a, ...d }, l) =>
|
|
|
495
462
|
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
496
463
|
e
|
|
497
464
|
),
|
|
498
|
-
checked:
|
|
465
|
+
checked: t,
|
|
499
466
|
...d,
|
|
500
467
|
children: [
|
|
501
|
-
/* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(n.ItemIndicator, { children: /* @__PURE__ */ o.jsx(
|
|
502
|
-
|
|
468
|
+
/* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(n.ItemIndicator, { children: /* @__PURE__ */ o.jsx(S, { className: "h-4 w-4" }) }) }),
|
|
469
|
+
a
|
|
503
470
|
]
|
|
504
471
|
}
|
|
505
472
|
));
|
|
506
|
-
|
|
507
|
-
const
|
|
473
|
+
He.displayName = n.CheckboxItem.displayName;
|
|
474
|
+
const Fe = r.forwardRef(({ className: e, children: a, ...t }, d) => /* @__PURE__ */ o.jsxs(
|
|
508
475
|
n.RadioItem,
|
|
509
476
|
{
|
|
510
477
|
ref: d,
|
|
@@ -512,73 +479,73 @@ const Ke = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__
|
|
|
512
479
|
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
513
480
|
e
|
|
514
481
|
),
|
|
515
|
-
...
|
|
482
|
+
...t,
|
|
516
483
|
children: [
|
|
517
484
|
/* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(n.ItemIndicator, { children: /* @__PURE__ */ o.jsx(P, { className: "h-4 w-4 fill-current" }) }) }),
|
|
518
|
-
|
|
485
|
+
a
|
|
519
486
|
]
|
|
520
487
|
}
|
|
521
488
|
));
|
|
522
|
-
|
|
523
|
-
const
|
|
489
|
+
Fe.displayName = n.RadioItem.displayName;
|
|
490
|
+
const Be = r.forwardRef(({ className: e, inset: a, ...t }, d) => /* @__PURE__ */ o.jsx(
|
|
524
491
|
n.Label,
|
|
525
492
|
{
|
|
526
493
|
ref: d,
|
|
527
|
-
className: s("px-2 py-1.5 text-sm font-semibold",
|
|
528
|
-
...
|
|
494
|
+
className: s("px-2 py-1.5 text-sm font-semibold", a && "pl-8", e),
|
|
495
|
+
...t
|
|
529
496
|
}
|
|
530
497
|
));
|
|
531
|
-
|
|
532
|
-
const
|
|
533
|
-
|
|
534
|
-
const
|
|
535
|
-
|
|
536
|
-
const
|
|
537
|
-
|
|
498
|
+
Be.displayName = n.Label.displayName;
|
|
499
|
+
const Ue = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(n.Separator, { ref: t, className: s("-mx-1 my-1 h-px bg-muted", e), ...a }));
|
|
500
|
+
Ue.displayName = n.Separator.displayName;
|
|
501
|
+
const qe = ({ className: e, ...a }) => /* @__PURE__ */ o.jsx("span", { className: s("ml-auto text-xs tracking-widest opacity-60", e), ...a });
|
|
502
|
+
qe.displayName = "DropdownMenuShortcut";
|
|
503
|
+
const Je = r.forwardRef(({ className: e, orientation: a = "horizontal", decorative: t = !0, ...d }, l) => /* @__PURE__ */ o.jsx(
|
|
504
|
+
_.Root,
|
|
538
505
|
{
|
|
539
506
|
ref: l,
|
|
540
|
-
decorative:
|
|
541
|
-
orientation:
|
|
542
|
-
className: s("shrink-0 bg-border",
|
|
507
|
+
decorative: t,
|
|
508
|
+
orientation: a,
|
|
509
|
+
className: s("shrink-0 bg-border", a === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", e),
|
|
543
510
|
...d
|
|
544
511
|
}
|
|
545
512
|
));
|
|
546
|
-
|
|
547
|
-
const
|
|
548
|
-
let
|
|
549
|
-
function
|
|
550
|
-
return
|
|
513
|
+
Je.displayName = _.Root.displayName;
|
|
514
|
+
const Ke = 1, Qe = 1e6;
|
|
515
|
+
let C = 0;
|
|
516
|
+
function Xe() {
|
|
517
|
+
return C = (C + 1) % Number.MAX_VALUE, C.toString();
|
|
551
518
|
}
|
|
552
|
-
const
|
|
553
|
-
if (
|
|
519
|
+
const R = /* @__PURE__ */ new Map(), k = (e) => {
|
|
520
|
+
if (R.has(e))
|
|
554
521
|
return;
|
|
555
|
-
const
|
|
556
|
-
|
|
522
|
+
const a = setTimeout(() => {
|
|
523
|
+
R.delete(e), y({
|
|
557
524
|
type: "REMOVE_TOAST",
|
|
558
525
|
toastId: e
|
|
559
526
|
});
|
|
560
|
-
},
|
|
561
|
-
|
|
562
|
-
},
|
|
563
|
-
switch (
|
|
527
|
+
}, Qe);
|
|
528
|
+
R.set(e, a);
|
|
529
|
+
}, Ye = (e, a) => {
|
|
530
|
+
switch (a.type) {
|
|
564
531
|
case "ADD_TOAST":
|
|
565
532
|
return {
|
|
566
533
|
...e,
|
|
567
|
-
toasts: [
|
|
534
|
+
toasts: [a.toast, ...e.toasts].slice(0, Ke)
|
|
568
535
|
};
|
|
569
536
|
case "UPDATE_TOAST":
|
|
570
537
|
return {
|
|
571
538
|
...e,
|
|
572
|
-
toasts: e.toasts.map((
|
|
539
|
+
toasts: e.toasts.map((t) => t.id === a.toast.id ? { ...t, ...a.toast } : t)
|
|
573
540
|
};
|
|
574
541
|
case "DISMISS_TOAST": {
|
|
575
|
-
const { toastId:
|
|
576
|
-
return
|
|
577
|
-
|
|
542
|
+
const { toastId: t } = a;
|
|
543
|
+
return t ? k(t) : e.toasts.forEach((d) => {
|
|
544
|
+
k(d.id);
|
|
578
545
|
}), {
|
|
579
546
|
...e,
|
|
580
547
|
toasts: e.toasts.map(
|
|
581
|
-
(d) => d.id ===
|
|
548
|
+
(d) => d.id === t || t === void 0 ? {
|
|
582
549
|
...d,
|
|
583
550
|
open: !1
|
|
584
551
|
} : d
|
|
@@ -586,66 +553,66 @@ const S = /* @__PURE__ */ new Map(), A = (e) => {
|
|
|
586
553
|
};
|
|
587
554
|
}
|
|
588
555
|
case "REMOVE_TOAST":
|
|
589
|
-
return
|
|
556
|
+
return a.toastId === void 0 ? {
|
|
590
557
|
...e,
|
|
591
558
|
toasts: []
|
|
592
559
|
} : {
|
|
593
560
|
...e,
|
|
594
|
-
toasts: e.toasts.filter((
|
|
561
|
+
toasts: e.toasts.filter((t) => t.id !== a.toastId)
|
|
595
562
|
};
|
|
596
563
|
}
|
|
597
564
|
}, w = [];
|
|
598
565
|
let v = { toasts: [] };
|
|
599
|
-
function
|
|
600
|
-
v =
|
|
601
|
-
|
|
566
|
+
function y(e) {
|
|
567
|
+
v = Ye(v, e), w.forEach((a) => {
|
|
568
|
+
a(v);
|
|
602
569
|
});
|
|
603
570
|
}
|
|
604
|
-
function
|
|
605
|
-
const
|
|
571
|
+
function $e({ ...e }) {
|
|
572
|
+
const a = Xe(), t = (l) => y({
|
|
606
573
|
type: "UPDATE_TOAST",
|
|
607
|
-
toast: { ...l, id:
|
|
608
|
-
}), d = () =>
|
|
609
|
-
return
|
|
574
|
+
toast: { ...l, id: a }
|
|
575
|
+
}), d = () => y({ type: "DISMISS_TOAST", toastId: a });
|
|
576
|
+
return y({
|
|
610
577
|
type: "ADD_TOAST",
|
|
611
578
|
toast: {
|
|
612
579
|
...e,
|
|
613
|
-
id:
|
|
580
|
+
id: a,
|
|
614
581
|
open: !0,
|
|
615
582
|
onOpenChange: (l) => {
|
|
616
583
|
l || d();
|
|
617
584
|
}
|
|
618
585
|
}
|
|
619
586
|
}), {
|
|
620
|
-
id:
|
|
587
|
+
id: a,
|
|
621
588
|
dismiss: d,
|
|
622
|
-
update:
|
|
589
|
+
update: t
|
|
623
590
|
};
|
|
624
591
|
}
|
|
625
|
-
function
|
|
626
|
-
const [e,
|
|
627
|
-
return r.useEffect(() => (w.push(
|
|
628
|
-
const
|
|
629
|
-
|
|
592
|
+
function We() {
|
|
593
|
+
const [e, a] = r.useState(v);
|
|
594
|
+
return r.useEffect(() => (w.push(a), () => {
|
|
595
|
+
const t = w.indexOf(a);
|
|
596
|
+
t > -1 && w.splice(t, 1);
|
|
630
597
|
}), [e]), {
|
|
631
598
|
...e,
|
|
632
|
-
toast:
|
|
633
|
-
dismiss: (
|
|
599
|
+
toast: $e,
|
|
600
|
+
dismiss: (t) => y({ type: "DISMISS_TOAST", toastId: t })
|
|
634
601
|
};
|
|
635
602
|
}
|
|
636
|
-
const
|
|
603
|
+
const Ze = u.Provider, F = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
637
604
|
u.Viewport,
|
|
638
605
|
{
|
|
639
|
-
ref:
|
|
606
|
+
ref: t,
|
|
640
607
|
className: s(
|
|
641
608
|
"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",
|
|
642
609
|
e
|
|
643
610
|
),
|
|
644
|
-
...
|
|
611
|
+
...a
|
|
645
612
|
}
|
|
646
613
|
));
|
|
647
|
-
|
|
648
|
-
const
|
|
614
|
+
F.displayName = u.Viewport.displayName;
|
|
615
|
+
const ea = D(
|
|
649
616
|
"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",
|
|
650
617
|
{
|
|
651
618
|
variants: {
|
|
@@ -658,173 +625,173 @@ const rt = j(
|
|
|
658
625
|
variant: "default"
|
|
659
626
|
}
|
|
660
627
|
}
|
|
661
|
-
),
|
|
662
|
-
|
|
663
|
-
const
|
|
628
|
+
), B = r.forwardRef(({ className: e, variant: a, ...t }, d) => /* @__PURE__ */ o.jsx(u.Root, { ref: d, className: s(ea({ variant: a }), e), ...t }));
|
|
629
|
+
B.displayName = u.Root.displayName;
|
|
630
|
+
const aa = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
664
631
|
u.Action,
|
|
665
632
|
{
|
|
666
|
-
ref:
|
|
633
|
+
ref: t,
|
|
667
634
|
className: s(
|
|
668
635
|
"inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",
|
|
669
636
|
e
|
|
670
637
|
),
|
|
671
|
-
...
|
|
638
|
+
...a
|
|
672
639
|
}
|
|
673
640
|
));
|
|
674
|
-
|
|
675
|
-
const
|
|
641
|
+
aa.displayName = u.Action.displayName;
|
|
642
|
+
const U = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
676
643
|
u.Close,
|
|
677
644
|
{
|
|
678
|
-
ref:
|
|
645
|
+
ref: t,
|
|
679
646
|
className: s(
|
|
680
647
|
"absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",
|
|
681
648
|
e
|
|
682
649
|
),
|
|
683
650
|
"toast-close": "",
|
|
684
|
-
...
|
|
685
|
-
children: /* @__PURE__ */ o.jsx(
|
|
686
|
-
}
|
|
687
|
-
));
|
|
688
|
-
|
|
689
|
-
const
|
|
690
|
-
|
|
691
|
-
const
|
|
692
|
-
|
|
693
|
-
function
|
|
694
|
-
const { toasts: e } =
|
|
695
|
-
return /* @__PURE__ */ o.jsxs(
|
|
696
|
-
e.map(({ id:
|
|
651
|
+
...a,
|
|
652
|
+
children: /* @__PURE__ */ o.jsx(A, { className: "h-4 w-4" })
|
|
653
|
+
}
|
|
654
|
+
));
|
|
655
|
+
U.displayName = u.Close.displayName;
|
|
656
|
+
const q = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(u.Title, { ref: t, className: s("text-sm font-semibold [&+div]:text-xs", e), ...a }));
|
|
657
|
+
q.displayName = u.Title.displayName;
|
|
658
|
+
const J = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(u.Description, { ref: t, className: s("text-sm opacity-90", e), ...a }));
|
|
659
|
+
J.displayName = u.Description.displayName;
|
|
660
|
+
function Ja() {
|
|
661
|
+
const { toasts: e } = We();
|
|
662
|
+
return /* @__PURE__ */ o.jsxs(Ze, { children: [
|
|
663
|
+
e.map(({ id: a, title: t, description: d, action: l, ...Q }) => /* @__PURE__ */ o.jsxs(B, { ...Q, children: [
|
|
697
664
|
/* @__PURE__ */ o.jsxs("div", { className: "grid gap-1", children: [
|
|
698
|
-
|
|
699
|
-
d && /* @__PURE__ */ o.jsx(
|
|
665
|
+
t && /* @__PURE__ */ o.jsx(q, { children: t }),
|
|
666
|
+
d && /* @__PURE__ */ o.jsx(J, { children: d })
|
|
700
667
|
] }),
|
|
701
668
|
l,
|
|
702
|
-
/* @__PURE__ */ o.jsx(
|
|
703
|
-
] },
|
|
704
|
-
/* @__PURE__ */ o.jsx(
|
|
669
|
+
/* @__PURE__ */ o.jsx(U, {})
|
|
670
|
+
] }, a)),
|
|
671
|
+
/* @__PURE__ */ o.jsx(F, {})
|
|
705
672
|
] });
|
|
706
673
|
}
|
|
707
|
-
const
|
|
674
|
+
const Ka = ({ className: e, ...a }) => /* @__PURE__ */ o.jsx("div", { className: s("animate-pulse rounded-md bg-primary/10", e), ...a }), K = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
708
675
|
p,
|
|
709
676
|
{
|
|
710
|
-
ref:
|
|
677
|
+
ref: t,
|
|
711
678
|
className: s(
|
|
712
679
|
"flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",
|
|
713
680
|
e
|
|
714
681
|
),
|
|
715
|
-
...
|
|
682
|
+
...a
|
|
716
683
|
}
|
|
717
684
|
));
|
|
718
|
-
|
|
719
|
-
const
|
|
720
|
-
/* @__PURE__ */ o.jsx(
|
|
685
|
+
K.displayName = p.displayName;
|
|
686
|
+
const Qa = ({ children: e, ...a }) => /* @__PURE__ */ o.jsx(ce, { ...a, children: /* @__PURE__ */ o.jsx(G, { className: "overflow-hidden p-0", children: /* @__PURE__ */ o.jsx(K, { 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 }) }) }), ta = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
687
|
+
/* @__PURE__ */ o.jsx($, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
|
721
688
|
/* @__PURE__ */ o.jsx(
|
|
722
689
|
p.Input,
|
|
723
690
|
{
|
|
724
|
-
ref:
|
|
691
|
+
ref: t,
|
|
725
692
|
className: s(
|
|
726
693
|
"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",
|
|
727
694
|
e
|
|
728
695
|
),
|
|
729
|
-
...
|
|
696
|
+
...a
|
|
730
697
|
}
|
|
731
698
|
)
|
|
732
699
|
] }));
|
|
733
|
-
|
|
734
|
-
const
|
|
700
|
+
ta.displayName = p.Input.displayName;
|
|
701
|
+
const oa = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
735
702
|
p.List,
|
|
736
703
|
{
|
|
737
|
-
ref:
|
|
704
|
+
ref: t,
|
|
738
705
|
className: s("max-h-[300px] overflow-y-auto overflow-x-hidden", e),
|
|
739
|
-
...
|
|
706
|
+
...a
|
|
740
707
|
}
|
|
741
708
|
));
|
|
742
|
-
|
|
743
|
-
const
|
|
744
|
-
|
|
745
|
-
const
|
|
709
|
+
oa.displayName = p.List.displayName;
|
|
710
|
+
const sa = r.forwardRef((e, a) => /* @__PURE__ */ o.jsx(p.Empty, { ref: a, className: "py-6 text-center text-sm", ...e }));
|
|
711
|
+
sa.displayName = p.Empty.displayName;
|
|
712
|
+
const ra = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
746
713
|
p.Group,
|
|
747
714
|
{
|
|
748
|
-
ref:
|
|
715
|
+
ref: t,
|
|
749
716
|
className: s(
|
|
750
717
|
"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",
|
|
751
718
|
e
|
|
752
719
|
),
|
|
753
|
-
...
|
|
720
|
+
...a
|
|
754
721
|
}
|
|
755
722
|
));
|
|
756
|
-
|
|
757
|
-
const
|
|
758
|
-
|
|
759
|
-
const
|
|
723
|
+
ra.displayName = p.Group.displayName;
|
|
724
|
+
const da = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(p.Separator, { ref: t, className: s("-mx-1 h-px bg-border", e), ...a }));
|
|
725
|
+
da.displayName = p.Separator.displayName;
|
|
726
|
+
const na = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
760
727
|
p.Item,
|
|
761
728
|
{
|
|
762
|
-
ref:
|
|
729
|
+
ref: t,
|
|
763
730
|
className: s(
|
|
764
731
|
"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",
|
|
765
732
|
e
|
|
766
733
|
),
|
|
767
|
-
...
|
|
734
|
+
...a
|
|
768
735
|
}
|
|
769
736
|
));
|
|
770
|
-
|
|
771
|
-
const
|
|
772
|
-
|
|
773
|
-
const
|
|
737
|
+
na.displayName = p.Item.displayName;
|
|
738
|
+
const ia = ({ className: e, ...a }) => /* @__PURE__ */ o.jsx("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", e), ...a });
|
|
739
|
+
ia.displayName = "CommandShortcut";
|
|
740
|
+
const Xa = i.Root, Ya = i.Trigger, $a = i.Group, Wa = i.Portal, Za = i.Sub, et = i.RadioGroup, la = r.forwardRef(({ className: e, inset: a, children: t, ...d }, l) => /* @__PURE__ */ o.jsxs(
|
|
774
741
|
i.SubTrigger,
|
|
775
742
|
{
|
|
776
743
|
ref: l,
|
|
777
744
|
className: s(
|
|
778
745
|
"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",
|
|
779
|
-
|
|
746
|
+
a && "pl-8",
|
|
780
747
|
e
|
|
781
748
|
),
|
|
782
749
|
...d,
|
|
783
750
|
children: [
|
|
784
|
-
|
|
785
|
-
/* @__PURE__ */ o.jsx(
|
|
751
|
+
t,
|
|
752
|
+
/* @__PURE__ */ o.jsx(M, { className: "ml-auto h-4 w-4" })
|
|
786
753
|
]
|
|
787
754
|
}
|
|
788
755
|
));
|
|
789
|
-
|
|
790
|
-
const
|
|
756
|
+
la.displayName = i.SubTrigger.displayName;
|
|
757
|
+
const ca = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(
|
|
791
758
|
i.SubContent,
|
|
792
759
|
{
|
|
793
|
-
ref:
|
|
760
|
+
ref: t,
|
|
794
761
|
className: s(
|
|
795
762
|
"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",
|
|
796
763
|
e
|
|
797
764
|
),
|
|
798
|
-
...
|
|
765
|
+
...a
|
|
799
766
|
}
|
|
800
767
|
));
|
|
801
|
-
|
|
802
|
-
const
|
|
768
|
+
ca.displayName = i.SubContent.displayName;
|
|
769
|
+
const ma = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(i.Portal, { children: /* @__PURE__ */ o.jsx(
|
|
803
770
|
i.Content,
|
|
804
771
|
{
|
|
805
|
-
ref:
|
|
772
|
+
ref: t,
|
|
806
773
|
className: s(
|
|
807
774
|
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 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",
|
|
808
775
|
e
|
|
809
776
|
),
|
|
810
|
-
...
|
|
777
|
+
...a
|
|
811
778
|
}
|
|
812
779
|
) }));
|
|
813
|
-
|
|
814
|
-
const
|
|
780
|
+
ma.displayName = i.Content.displayName;
|
|
781
|
+
const pa = r.forwardRef(({ className: e, inset: a, ...t }, d) => /* @__PURE__ */ o.jsx(
|
|
815
782
|
i.Item,
|
|
816
783
|
{
|
|
817
784
|
ref: d,
|
|
818
785
|
className: s(
|
|
819
786
|
"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",
|
|
820
|
-
|
|
787
|
+
a && "pl-8",
|
|
821
788
|
e
|
|
822
789
|
),
|
|
823
|
-
...
|
|
790
|
+
...t
|
|
824
791
|
}
|
|
825
792
|
));
|
|
826
|
-
|
|
827
|
-
const
|
|
793
|
+
pa.displayName = i.Item.displayName;
|
|
794
|
+
const fa = r.forwardRef(({ className: e, children: a, checked: t, ...d }, l) => /* @__PURE__ */ o.jsxs(
|
|
828
795
|
i.CheckboxItem,
|
|
829
796
|
{
|
|
830
797
|
ref: l,
|
|
@@ -832,16 +799,16 @@ const yt = r.forwardRef(({ className: e, children: t, checked: a, ...d }, l) =>
|
|
|
832
799
|
"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",
|
|
833
800
|
e
|
|
834
801
|
),
|
|
835
|
-
checked:
|
|
802
|
+
checked: t,
|
|
836
803
|
...d,
|
|
837
804
|
children: [
|
|
838
|
-
/* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(i.ItemIndicator, { children: /* @__PURE__ */ o.jsx(
|
|
839
|
-
|
|
805
|
+
/* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(i.ItemIndicator, { children: /* @__PURE__ */ o.jsx(S, { className: "h-4 w-4" }) }) }),
|
|
806
|
+
a
|
|
840
807
|
]
|
|
841
808
|
}
|
|
842
809
|
));
|
|
843
|
-
|
|
844
|
-
const
|
|
810
|
+
fa.displayName = i.CheckboxItem.displayName;
|
|
811
|
+
const ua = r.forwardRef(({ className: e, children: a, ...t }, d) => /* @__PURE__ */ o.jsxs(
|
|
845
812
|
i.RadioItem,
|
|
846
813
|
{
|
|
847
814
|
ref: d,
|
|
@@ -849,131 +816,128 @@ const Nt = r.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__
|
|
|
849
816
|
"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",
|
|
850
817
|
e
|
|
851
818
|
),
|
|
852
|
-
...
|
|
819
|
+
...t,
|
|
853
820
|
children: [
|
|
854
821
|
/* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(i.ItemIndicator, { children: /* @__PURE__ */ o.jsx(P, { className: "h-4 w-4 fill-current" }) }) }),
|
|
855
|
-
|
|
822
|
+
a
|
|
856
823
|
]
|
|
857
824
|
}
|
|
858
825
|
));
|
|
859
|
-
|
|
860
|
-
const
|
|
826
|
+
ua.displayName = i.RadioItem.displayName;
|
|
827
|
+
const xa = r.forwardRef(({ className: e, inset: a, ...t }, d) => /* @__PURE__ */ o.jsx(
|
|
861
828
|
i.Label,
|
|
862
829
|
{
|
|
863
830
|
ref: d,
|
|
864
|
-
className: s("px-2 py-1.5 text-sm font-semibold text-foreground",
|
|
865
|
-
...
|
|
831
|
+
className: s("px-2 py-1.5 text-sm font-semibold text-foreground", a && "pl-8", e),
|
|
832
|
+
...t
|
|
866
833
|
}
|
|
867
834
|
));
|
|
868
|
-
|
|
869
|
-
const
|
|
870
|
-
|
|
871
|
-
const
|
|
872
|
-
|
|
835
|
+
xa.displayName = i.Label.displayName;
|
|
836
|
+
const ga = r.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o.jsx(i.Separator, { ref: t, className: s("-mx-1 my-1 h-px bg-border", e), ...a }));
|
|
837
|
+
ga.displayName = i.Separator.displayName;
|
|
838
|
+
const ba = ({ className: e, ...a }) => /* @__PURE__ */ o.jsx("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", e), ...a });
|
|
839
|
+
ba.displayName = "ContextMenuShortcut";
|
|
873
840
|
export {
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
841
|
+
oe as $,
|
|
842
|
+
Te as A,
|
|
843
|
+
Se as B,
|
|
844
|
+
Xa as C,
|
|
845
|
+
ce as D,
|
|
846
|
+
De as E,
|
|
847
|
+
W as F,
|
|
848
|
+
ja as G,
|
|
849
|
+
Z as H,
|
|
850
|
+
ee as I,
|
|
851
|
+
ae as J,
|
|
852
|
+
We as K,
|
|
853
|
+
je as L,
|
|
854
|
+
we as M,
|
|
855
|
+
ka as N,
|
|
856
|
+
Ga as O,
|
|
857
|
+
Pa as P,
|
|
858
|
+
Ha as Q,
|
|
859
|
+
Ve as R,
|
|
860
|
+
Ka as S,
|
|
861
|
+
Aa as T,
|
|
862
|
+
Re as U,
|
|
863
|
+
Be as V,
|
|
864
|
+
Ue as W,
|
|
865
|
+
Fa as X,
|
|
866
|
+
Ge as Y,
|
|
900
867
|
qe as Z,
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
ct as x,
|
|
977
|
-
pt as y,
|
|
978
|
-
_t as z
|
|
868
|
+
Ra as _,
|
|
869
|
+
Ya as a,
|
|
870
|
+
se as a0,
|
|
871
|
+
de as a1,
|
|
872
|
+
Ta as a2,
|
|
873
|
+
ne as a3,
|
|
874
|
+
re as a4,
|
|
875
|
+
le as a5,
|
|
876
|
+
ie as a6,
|
|
877
|
+
He as a7,
|
|
878
|
+
_a as a8,
|
|
879
|
+
Oa as a9,
|
|
880
|
+
da as aA,
|
|
881
|
+
fa as aB,
|
|
882
|
+
ua as aC,
|
|
883
|
+
xa as aD,
|
|
884
|
+
ga as aE,
|
|
885
|
+
ba as aF,
|
|
886
|
+
$a as aG,
|
|
887
|
+
Wa as aH,
|
|
888
|
+
Za as aI,
|
|
889
|
+
ca as aJ,
|
|
890
|
+
la as aK,
|
|
891
|
+
et as aL,
|
|
892
|
+
Ae as aa,
|
|
893
|
+
Je as ab,
|
|
894
|
+
Ca as ac,
|
|
895
|
+
La as ad,
|
|
896
|
+
Me as ae,
|
|
897
|
+
Va as af,
|
|
898
|
+
Pe as ag,
|
|
899
|
+
_e as ah,
|
|
900
|
+
Ia as ai,
|
|
901
|
+
Ja as aj,
|
|
902
|
+
te as ak,
|
|
903
|
+
be as al,
|
|
904
|
+
H as am,
|
|
905
|
+
Ea as an,
|
|
906
|
+
ze as ao,
|
|
907
|
+
Oe as ap,
|
|
908
|
+
Fe as aq,
|
|
909
|
+
Ba as ar,
|
|
910
|
+
Ua as as,
|
|
911
|
+
Ee as at,
|
|
912
|
+
Le as au,
|
|
913
|
+
qa as av,
|
|
914
|
+
Ye as aw,
|
|
915
|
+
$e as ax,
|
|
916
|
+
Qa as ay,
|
|
917
|
+
ia as az,
|
|
918
|
+
ma as b,
|
|
919
|
+
pa as c,
|
|
920
|
+
Ma as d,
|
|
921
|
+
ke as e,
|
|
922
|
+
xe as f,
|
|
923
|
+
ge as g,
|
|
924
|
+
Ne as h,
|
|
925
|
+
ye as i,
|
|
926
|
+
Ce as j,
|
|
927
|
+
he as k,
|
|
928
|
+
Sa as l,
|
|
929
|
+
G as m,
|
|
930
|
+
me as n,
|
|
931
|
+
fe as o,
|
|
932
|
+
ue as p,
|
|
933
|
+
pe as q,
|
|
934
|
+
za as r,
|
|
935
|
+
Ie as s,
|
|
936
|
+
K as t,
|
|
937
|
+
ta as u,
|
|
938
|
+
oa as v,
|
|
939
|
+
sa as w,
|
|
940
|
+
ra as x,
|
|
941
|
+
na as y,
|
|
942
|
+
Da as z
|
|
979
943
|
};
|