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