@chaibuilder/sdk 2.0.0-beta.10 → 2.0.0-beta.100
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/README.md +1 -3
- package/dist/ChaiThemeFn-Cort9tch.js +201 -0
- package/dist/ChaiThemeFn-DQu-2Eh9.cjs +13 -0
- package/dist/CodeEditor-B2x4yruH.cjs +1 -0
- package/dist/CodeEditor-VcQsGvTM.js +65 -0
- package/dist/Topbar-BQsjWb-A.js +16 -0
- package/dist/Topbar-DEw_kBMz.cjs +1 -0
- package/dist/chaibuilder-logo.png +0 -0
- package/dist/context-menu-C4lLV8gP.cjs +1 -0
- package/dist/{context-menu-oLipAPzI.js → context-menu-D5ViOi6K.js} +304 -290
- package/dist/core.cjs +7 -18
- package/dist/core.d.ts +79 -46
- package/dist/core.js +5231 -5131
- package/dist/getSplitClasses-DodqA_KW.cjs +1 -0
- package/dist/getSplitClasses-DphwgQiE.js +48 -0
- package/dist/{iconBase-Ief2hJUZ.js → iconBase-DHfFLkem.js} +6 -12
- package/dist/mockServiceWorker.js +39 -24
- package/dist/plugin-2xcljWGM.cjs +1 -0
- package/dist/plugin-kUMxtQR5.js +24 -0
- package/dist/render.cjs +2 -2
- package/dist/render.d.ts +41 -16
- package/dist/render.js +166 -139
- package/dist/runtime.cjs +1 -1
- package/dist/runtime.d.ts +6 -1
- package/dist/runtime.js +0 -20
- package/dist/{style.css → sdk.css} +1 -1
- package/dist/tailwind.cjs +1 -1
- package/dist/tailwind.d.ts +37 -26
- package/dist/tailwind.js +8 -10
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.ts +12 -51
- package/dist/ui.js +218 -390
- package/dist/web-blocks.cjs +2 -2
- package/dist/web-blocks.d.ts +6 -0
- package/dist/web-blocks.js +1230 -813
- package/package.json +136 -132
- package/dist/CodeEditor-9qjIOTD0.js +0 -126
- package/dist/CodeEditor-pceepCns.cjs +0 -1
- package/dist/STRINGS-Xxstm-7I.js +0 -7
- package/dist/STRINGS-Yl7cSWDc.cjs +0 -1
- package/dist/Topbar-7bGqLcSJ.js +0 -73
- package/dist/Topbar-EXPx1Yg2.cjs +0 -1
- package/dist/context-menu-4nQs6OxC.cjs +0 -1
- package/dist/controls-lEwMTdPQ.js +0 -234
- package/dist/controls-p9IwFnPx.cjs +0 -1
- package/dist/jsx-runtime-JYMCiFoE.cjs +0 -27
- package/dist/jsx-runtime-Sp0orL4X.js +0 -631
- package/dist/plugin-Dm5EFGnP.cjs +0 -1
- package/dist/plugin-KIpT3NWi.cjs +0 -1
- package/dist/plugin-PFjzFeON.js +0 -97
- package/dist/plugin-ooqqxWRQ.js +0 -55
- /package/dist/{iconBase-aZzpqff_.cjs → iconBase-Cn2BsTrq.cjs} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as
|
|
1
|
+
import { jsx as o, jsxs as m } from "react/jsx-runtime";
|
|
2
|
+
import * as S from "@radix-ui/react-switch";
|
|
3
3
|
import * as n from "react";
|
|
4
|
-
import * as
|
|
5
|
-
import { ChevronDownIcon as Q, Cross2Icon as
|
|
4
|
+
import * as g from "@radix-ui/react-accordion";
|
|
5
|
+
import { ChevronDownIcon as Q, Cross2Icon as k, ChevronRightIcon as M, CheckIcon as P, DotFilledIcon as z } from "@radix-ui/react-icons";
|
|
6
|
+
import { cva as w } from "class-variance-authority";
|
|
6
7
|
import * as c from "@radix-ui/react-alert-dialog";
|
|
7
8
|
import { Slot as X } from "@radix-ui/react-slot";
|
|
8
|
-
import
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
11
|
-
import * as
|
|
12
|
-
import * as x from "@radix-ui/react-
|
|
13
|
-
import * as g from "@radix-ui/react-tooltip";
|
|
9
|
+
import * as f from "@radix-ui/react-dialog";
|
|
10
|
+
import * as O from "@radix-ui/react-label";
|
|
11
|
+
import * as u from "@radix-ui/react-scroll-area";
|
|
12
|
+
import * as b from "@radix-ui/react-tabs";
|
|
13
|
+
import * as x from "@radix-ui/react-tooltip";
|
|
14
14
|
import * as N from "@radix-ui/react-popover";
|
|
15
|
-
import * as
|
|
15
|
+
import * as C from "@radix-ui/react-hover-card";
|
|
16
16
|
import * as d from "@radix-ui/react-dropdown-menu";
|
|
17
|
-
import * as
|
|
17
|
+
import * as j from "@radix-ui/react-separator";
|
|
18
18
|
import * as p from "@radix-ui/react-toast";
|
|
19
19
|
import * as i from "@radix-ui/react-context-menu";
|
|
20
20
|
import { clsx as Y } from "clsx";
|
|
21
21
|
import { twMerge as J } from "tailwind-merge";
|
|
22
|
-
const s = (...e) => J(Y(e)), K = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o
|
|
23
|
-
|
|
22
|
+
const s = (...e) => J(Y(e)), K = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
23
|
+
S.Root,
|
|
24
24
|
{
|
|
25
25
|
className: s(
|
|
26
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",
|
|
@@ -28,8 +28,8 @@ const s = (...e) => J(Y(e)), K = n.forwardRef(({ className: e, ...t }, a) => /*
|
|
|
28
28
|
),
|
|
29
29
|
...t,
|
|
30
30
|
ref: a,
|
|
31
|
-
children: /* @__PURE__ */ o
|
|
32
|
-
|
|
31
|
+
children: /* @__PURE__ */ o(
|
|
32
|
+
S.Thumb,
|
|
33
33
|
{
|
|
34
34
|
className: s(
|
|
35
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"
|
|
@@ -38,8 +38,8 @@ const s = (...e) => J(Y(e)), K = n.forwardRef(({ className: e, ...t }, a) => /*
|
|
|
38
38
|
)
|
|
39
39
|
}
|
|
40
40
|
));
|
|
41
|
-
K.displayName =
|
|
42
|
-
const
|
|
41
|
+
K.displayName = S.Root.displayName;
|
|
42
|
+
const A = w(
|
|
43
43
|
"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",
|
|
44
44
|
{
|
|
45
45
|
variants: {
|
|
@@ -64,16 +64,13 @@ const D = T(
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
), W = n.forwardRef(
|
|
67
|
-
({ className: e, variant: t, size: a, asChild: r = !1, ...l },
|
|
68
|
-
const q = r ? X : "button";
|
|
69
|
-
return /* @__PURE__ */ o.jsx(q, { className: s(D({ variant: t, size: a, className: e })), ref: w, ...l });
|
|
70
|
-
}
|
|
67
|
+
({ className: e, variant: t, size: a, asChild: r = !1, ...l }, R) => /* @__PURE__ */ o(r ? X : "button", { className: s(A({ variant: t, size: a, className: e })), ref: R, ...l })
|
|
71
68
|
);
|
|
72
69
|
W.displayName = "Button";
|
|
73
|
-
const
|
|
70
|
+
const ft = g.Root, Z = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(g.Item, { ref: a, className: s("border-b", e), ...t }));
|
|
74
71
|
Z.displayName = "AccordionItem";
|
|
75
|
-
const $ = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ o
|
|
76
|
-
|
|
72
|
+
const $ = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ o(g.Header, { className: "flex", children: /* @__PURE__ */ m(
|
|
73
|
+
g.Trigger,
|
|
77
74
|
{
|
|
78
75
|
ref: r,
|
|
79
76
|
className: s(
|
|
@@ -83,13 +80,13 @@ const $ = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__
|
|
|
83
80
|
...a,
|
|
84
81
|
children: [
|
|
85
82
|
t,
|
|
86
|
-
a.hideArrow ? null : /* @__PURE__ */ o
|
|
83
|
+
a.hideArrow ? null : /* @__PURE__ */ o(Q, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
|
|
87
84
|
]
|
|
88
85
|
}
|
|
89
86
|
) }));
|
|
90
|
-
$.displayName =
|
|
91
|
-
const ee = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ o
|
|
92
|
-
|
|
87
|
+
$.displayName = g.Trigger.displayName;
|
|
88
|
+
const ee = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ o(
|
|
89
|
+
g.Content,
|
|
93
90
|
{
|
|
94
91
|
ref: r,
|
|
95
92
|
className: s(
|
|
@@ -97,13 +94,28 @@ const ee = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__
|
|
|
97
94
|
e
|
|
98
95
|
),
|
|
99
96
|
...a,
|
|
100
|
-
children: /* @__PURE__ */ o
|
|
97
|
+
children: /* @__PURE__ */ o("div", { className: "pb-4 pt-0", children: t })
|
|
101
98
|
}
|
|
102
99
|
));
|
|
103
|
-
ee.displayName =
|
|
104
|
-
const
|
|
105
|
-
|
|
106
|
-
|
|
100
|
+
ee.displayName = g.Content.displayName;
|
|
101
|
+
const te = w(
|
|
102
|
+
"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",
|
|
103
|
+
{
|
|
104
|
+
variants: {
|
|
105
|
+
variant: {
|
|
106
|
+
default: "border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",
|
|
107
|
+
secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
108
|
+
destructive: "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",
|
|
109
|
+
outline: "text-foreground"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
defaultVariants: {
|
|
113
|
+
variant: "default"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
), pt = ({ className: e, variant: t, ...a }) => /* @__PURE__ */ o("div", { className: s(te({ variant: t }), e), ...a }), ut = c.Root, gt = c.Trigger, V = ({ className: e, ...t }) => /* @__PURE__ */ o(c.Portal, { className: s(e), ...t });
|
|
117
|
+
V.displayName = c.Portal.displayName;
|
|
118
|
+
const L = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
107
119
|
c.Overlay,
|
|
108
120
|
{
|
|
109
121
|
className: s(
|
|
@@ -114,10 +126,10 @@ const E = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
114
126
|
ref: a
|
|
115
127
|
}
|
|
116
128
|
));
|
|
117
|
-
|
|
118
|
-
const
|
|
119
|
-
/* @__PURE__ */ o
|
|
120
|
-
/* @__PURE__ */ o
|
|
129
|
+
L.displayName = c.Overlay.displayName;
|
|
130
|
+
const ae = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ m(V, { children: [
|
|
131
|
+
/* @__PURE__ */ o(L, {}),
|
|
132
|
+
/* @__PURE__ */ o(
|
|
121
133
|
c.Content,
|
|
122
134
|
{
|
|
123
135
|
ref: a,
|
|
@@ -129,30 +141,30 @@ const te = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsxs(O,
|
|
|
129
141
|
}
|
|
130
142
|
)
|
|
131
143
|
] }));
|
|
132
|
-
|
|
133
|
-
const
|
|
134
|
-
|
|
135
|
-
const
|
|
136
|
-
|
|
137
|
-
const
|
|
138
|
-
|
|
139
|
-
const
|
|
140
|
-
|
|
141
|
-
const
|
|
142
|
-
|
|
143
|
-
const
|
|
144
|
+
ae.displayName = c.Content.displayName;
|
|
145
|
+
const oe = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
|
|
146
|
+
oe.displayName = "AlertDialogHeader";
|
|
147
|
+
const se = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
|
|
148
|
+
se.displayName = "AlertDialogFooter";
|
|
149
|
+
const re = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(c.Title, { ref: a, className: s("text-lg font-semibold", e), ...t }));
|
|
150
|
+
re.displayName = c.Title.displayName;
|
|
151
|
+
const ne = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(c.Description, { ref: a, className: s("text-sm text-muted-foreground", e), ...t }));
|
|
152
|
+
ne.displayName = c.Description.displayName;
|
|
153
|
+
const de = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(c.Action, { ref: a, className: s(A(), e), ...t }));
|
|
154
|
+
de.displayName = c.Action.displayName;
|
|
155
|
+
const ie = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
144
156
|
c.Cancel,
|
|
145
157
|
{
|
|
146
158
|
ref: a,
|
|
147
|
-
className: s(
|
|
159
|
+
className: s(A({ variant: "outline" }), "mt-2 sm:mt-0", e),
|
|
148
160
|
...t
|
|
149
161
|
}
|
|
150
162
|
));
|
|
151
|
-
|
|
152
|
-
const
|
|
153
|
-
|
|
154
|
-
const
|
|
155
|
-
|
|
163
|
+
ie.displayName = c.Cancel.displayName;
|
|
164
|
+
const bt = f.Root, xt = f.Trigger, E = ({ className: e, ...t }) => /* @__PURE__ */ o(f.Portal, { className: s(e), ...t });
|
|
165
|
+
E.displayName = f.Portal.displayName;
|
|
166
|
+
const _ = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
167
|
+
f.Overlay,
|
|
156
168
|
{
|
|
157
169
|
ref: a,
|
|
158
170
|
className: s(
|
|
@@ -162,11 +174,11 @@ const V = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
162
174
|
...t
|
|
163
175
|
}
|
|
164
176
|
));
|
|
165
|
-
|
|
166
|
-
const
|
|
167
|
-
/* @__PURE__ */ o
|
|
168
|
-
/* @__PURE__ */
|
|
169
|
-
|
|
177
|
+
_.displayName = f.Overlay.displayName;
|
|
178
|
+
const le = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ m(E, { children: [
|
|
179
|
+
/* @__PURE__ */ o(_, {}),
|
|
180
|
+
/* @__PURE__ */ m(
|
|
181
|
+
f.Content,
|
|
170
182
|
{
|
|
171
183
|
ref: r,
|
|
172
184
|
className: s(
|
|
@@ -176,53 +188,53 @@ const ie = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__
|
|
|
176
188
|
...a,
|
|
177
189
|
children: [
|
|
178
190
|
t,
|
|
179
|
-
/* @__PURE__ */
|
|
180
|
-
/* @__PURE__ */ o
|
|
181
|
-
/* @__PURE__ */ o
|
|
191
|
+
/* @__PURE__ */ m(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: [
|
|
192
|
+
/* @__PURE__ */ o(k, { className: "h-4 w-4" }),
|
|
193
|
+
/* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
|
|
182
194
|
] })
|
|
183
195
|
]
|
|
184
196
|
}
|
|
185
197
|
)
|
|
186
198
|
] }));
|
|
187
|
-
|
|
188
|
-
const
|
|
189
|
-
|
|
190
|
-
const
|
|
191
|
-
|
|
192
|
-
const
|
|
193
|
-
|
|
199
|
+
le.displayName = f.Content.displayName;
|
|
200
|
+
const ce = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-1.5 text-center sm:text-left", e), ...t });
|
|
201
|
+
ce.displayName = "DialogHeader";
|
|
202
|
+
const me = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
|
|
203
|
+
me.displayName = "DialogFooter";
|
|
204
|
+
const fe = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
205
|
+
f.Title,
|
|
194
206
|
{
|
|
195
207
|
ref: a,
|
|
196
208
|
className: s("text-lg font-semibold leading-none tracking-tight", e),
|
|
197
209
|
...t
|
|
198
210
|
}
|
|
199
211
|
));
|
|
200
|
-
|
|
201
|
-
const pe = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o
|
|
202
|
-
pe.displayName =
|
|
203
|
-
const
|
|
204
|
-
|
|
205
|
-
const ue = n.forwardRef(
|
|
206
|
-
({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("div", { ref: a, className: s("flex flex-col space-y-1.5 p-6", e), ...t })
|
|
207
|
-
);
|
|
208
|
-
ue.displayName = "CardHeader";
|
|
209
|
-
const xe = n.forwardRef(
|
|
210
|
-
({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("h3", { ref: a, className: s("font-semibold leading-none tracking-tight", e), ...t })
|
|
211
|
-
);
|
|
212
|
-
xe.displayName = "CardTitle";
|
|
212
|
+
fe.displayName = f.Title.displayName;
|
|
213
|
+
const pe = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(f.Description, { ref: a, className: s("text-sm text-muted-foreground", e), ...t }));
|
|
214
|
+
pe.displayName = f.Description.displayName;
|
|
215
|
+
const ue = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { ref: a, className: s("rounded-xl border bg-card text-card-foreground shadow", e), ...t }));
|
|
216
|
+
ue.displayName = "Card";
|
|
213
217
|
const ge = n.forwardRef(
|
|
214
|
-
({ className: e, ...t }, a) => /* @__PURE__ */ o
|
|
218
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { ref: a, className: s("flex flex-col space-y-1.5 p-6", e), ...t })
|
|
215
219
|
);
|
|
216
|
-
ge.displayName = "
|
|
220
|
+
ge.displayName = "CardHeader";
|
|
217
221
|
const be = n.forwardRef(
|
|
218
|
-
({ className: e, ...t }, a) => /* @__PURE__ */ o
|
|
222
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("h3", { ref: a, className: s("font-semibold leading-none tracking-tight", e), ...t })
|
|
223
|
+
);
|
|
224
|
+
be.displayName = "CardTitle";
|
|
225
|
+
const xe = n.forwardRef(
|
|
226
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("p", { ref: a, className: s("text-sm text-muted-foreground", e), ...t })
|
|
227
|
+
);
|
|
228
|
+
xe.displayName = "CardDescription";
|
|
229
|
+
const ye = n.forwardRef(
|
|
230
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { ref: a, className: s("p-6 pt-0", e), ...t })
|
|
219
231
|
);
|
|
220
|
-
|
|
232
|
+
ye.displayName = "CardContent";
|
|
221
233
|
const Ne = n.forwardRef(
|
|
222
|
-
({ className: e, ...t }, a) => /* @__PURE__ */ o
|
|
234
|
+
({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { ref: a, className: s(" flex items-center p-6 pt-0", e), ...t })
|
|
223
235
|
);
|
|
224
236
|
Ne.displayName = "CardFooter";
|
|
225
|
-
const
|
|
237
|
+
const ve = n.forwardRef(({ className: e, type: t, ...a }, r) => /* @__PURE__ */ o(
|
|
226
238
|
"input",
|
|
227
239
|
{
|
|
228
240
|
type: t,
|
|
@@ -237,10 +249,10 @@ const ye = n.forwardRef(({ className: e, type: t, ...a }, r) => /* @__PURE__ */
|
|
|
237
249
|
spellCheck: "false"
|
|
238
250
|
}
|
|
239
251
|
));
|
|
240
|
-
|
|
241
|
-
const he =
|
|
242
|
-
|
|
243
|
-
const
|
|
252
|
+
ve.displayName = "Input";
|
|
253
|
+
const he = w("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), we = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(O.Root, { ref: a, className: s(he(), e), ...t }));
|
|
254
|
+
we.displayName = O.Root.displayName;
|
|
255
|
+
const Ce = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
244
256
|
"textarea",
|
|
245
257
|
{
|
|
246
258
|
className: s(
|
|
@@ -254,15 +266,15 @@ const we = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
254
266
|
spellCheck: "false"
|
|
255
267
|
}
|
|
256
268
|
));
|
|
257
|
-
|
|
258
|
-
const
|
|
259
|
-
/* @__PURE__ */ o
|
|
260
|
-
/* @__PURE__ */ o
|
|
261
|
-
/* @__PURE__ */ o
|
|
269
|
+
Ce.displayName = "Textarea";
|
|
270
|
+
const Re = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ m(u.Root, { ref: r, className: s("relative overflow-hidden", e), ...a, children: [
|
|
271
|
+
/* @__PURE__ */ o(u.Viewport, { className: "h-full w-full rounded-[inherit]", children: t }),
|
|
272
|
+
/* @__PURE__ */ o(H, {}),
|
|
273
|
+
/* @__PURE__ */ o(u.Corner, {})
|
|
262
274
|
] }));
|
|
263
|
-
|
|
264
|
-
const
|
|
265
|
-
|
|
275
|
+
Re.displayName = u.Root.displayName;
|
|
276
|
+
const H = n.forwardRef(({ className: e, orientation: t = "vertical", ...a }, r) => /* @__PURE__ */ o(
|
|
277
|
+
u.ScrollAreaScrollbar,
|
|
266
278
|
{
|
|
267
279
|
ref: r,
|
|
268
280
|
orientation: t,
|
|
@@ -273,12 +285,12 @@ const _ = n.forwardRef(({ className: e, orientation: t = "vertical", ...a }, r)
|
|
|
273
285
|
e
|
|
274
286
|
),
|
|
275
287
|
...a,
|
|
276
|
-
children: /* @__PURE__ */ o
|
|
288
|
+
children: /* @__PURE__ */ o(u.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
|
|
277
289
|
}
|
|
278
290
|
));
|
|
279
|
-
|
|
280
|
-
const
|
|
281
|
-
|
|
291
|
+
H.displayName = u.ScrollAreaScrollbar.displayName;
|
|
292
|
+
const yt = b.Root, Te = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
293
|
+
b.List,
|
|
282
294
|
{
|
|
283
295
|
ref: a,
|
|
284
296
|
className: s(
|
|
@@ -288,9 +300,9 @@ const xt = x.Root, Ce = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__
|
|
|
288
300
|
...t
|
|
289
301
|
}
|
|
290
302
|
));
|
|
291
|
-
|
|
292
|
-
const
|
|
293
|
-
|
|
303
|
+
Te.displayName = b.List.displayName;
|
|
304
|
+
const De = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
305
|
+
b.Trigger,
|
|
294
306
|
{
|
|
295
307
|
ref: a,
|
|
296
308
|
className: s(
|
|
@@ -300,9 +312,9 @@ const Re = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
300
312
|
...t
|
|
301
313
|
}
|
|
302
314
|
));
|
|
303
|
-
|
|
304
|
-
const
|
|
305
|
-
|
|
315
|
+
De.displayName = b.Trigger.displayName;
|
|
316
|
+
const Se = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
317
|
+
b.Content,
|
|
306
318
|
{
|
|
307
319
|
ref: a,
|
|
308
320
|
className: s(
|
|
@@ -312,9 +324,9 @@ const Te = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
312
324
|
...t
|
|
313
325
|
}
|
|
314
326
|
));
|
|
315
|
-
|
|
316
|
-
const
|
|
317
|
-
|
|
327
|
+
Se.displayName = b.Content.displayName;
|
|
328
|
+
const Nt = x.Portal, vt = x.Provider, ht = x.Root, wt = x.Trigger, Ae = n.forwardRef(({ className: e, sideOffset: t = 4, ...a }, r) => /* @__PURE__ */ o(
|
|
329
|
+
x.Content,
|
|
318
330
|
{
|
|
319
331
|
ref: r,
|
|
320
332
|
sideOffset: t,
|
|
@@ -325,8 +337,8 @@ const gt = g.Portal, bt = g.Provider, Nt = g.Root, yt = g.Trigger, De = n.forwar
|
|
|
325
337
|
...a
|
|
326
338
|
}
|
|
327
339
|
));
|
|
328
|
-
|
|
329
|
-
const
|
|
340
|
+
Ae.displayName = x.Content.displayName;
|
|
341
|
+
const Ct = N.Root, Rt = N.Trigger, Ie = n.forwardRef(({ className: e, align: t = "center", sideOffset: a = 4, ...r }, l) => /* @__PURE__ */ o(N.Portal, { children: /* @__PURE__ */ o(
|
|
330
342
|
N.Content,
|
|
331
343
|
{
|
|
332
344
|
ref: l,
|
|
@@ -339,9 +351,9 @@ const ht = N.Root, vt = N.Trigger, Se = n.forwardRef(({ className: e, align: t =
|
|
|
339
351
|
...r
|
|
340
352
|
}
|
|
341
353
|
) }));
|
|
342
|
-
|
|
343
|
-
const
|
|
344
|
-
|
|
354
|
+
Ie.displayName = N.Content.displayName;
|
|
355
|
+
const Tt = C.Root, Dt = C.Trigger, ke = n.forwardRef(({ className: e, align: t = "center", sideOffset: a = 4, ...r }, l) => /* @__PURE__ */ o(
|
|
356
|
+
C.Content,
|
|
345
357
|
{
|
|
346
358
|
ref: l,
|
|
347
359
|
align: t,
|
|
@@ -353,8 +365,8 @@ const wt = v.Root, jt = v.Trigger, Ae = n.forwardRef(({ className: e, align: t =
|
|
|
353
365
|
...r
|
|
354
366
|
}
|
|
355
367
|
));
|
|
356
|
-
|
|
357
|
-
const
|
|
368
|
+
ke.displayName = C.Content.displayName;
|
|
369
|
+
const St = d.Root, At = d.Trigger, It = d.Group, kt = d.Portal, Mt = d.Sub, Pt = d.RadioGroup, Me = n.forwardRef(({ className: e, inset: t, children: a, ...r }, l) => /* @__PURE__ */ m(
|
|
358
370
|
d.SubTrigger,
|
|
359
371
|
{
|
|
360
372
|
ref: l,
|
|
@@ -366,12 +378,12 @@ const Ct = d.Root, Rt = d.Trigger, Tt = d.Group, Dt = d.Portal, St = d.Sub, At =
|
|
|
366
378
|
...r,
|
|
367
379
|
children: [
|
|
368
380
|
a,
|
|
369
|
-
/* @__PURE__ */ o
|
|
381
|
+
/* @__PURE__ */ o(M, { className: "ml-auto h-4 w-4" })
|
|
370
382
|
]
|
|
371
383
|
}
|
|
372
384
|
));
|
|
373
|
-
|
|
374
|
-
const
|
|
385
|
+
Me.displayName = d.SubTrigger.displayName;
|
|
386
|
+
const Pe = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
375
387
|
d.SubContent,
|
|
376
388
|
{
|
|
377
389
|
ref: a,
|
|
@@ -382,8 +394,8 @@ const ke = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
382
394
|
...t
|
|
383
395
|
}
|
|
384
396
|
));
|
|
385
|
-
|
|
386
|
-
const
|
|
397
|
+
Pe.displayName = d.SubContent.displayName;
|
|
398
|
+
const ze = n.forwardRef(({ className: e, sideOffset: t = 4, ...a }, r) => /* @__PURE__ */ o(d.Portal, { children: /* @__PURE__ */ o(
|
|
387
399
|
d.Content,
|
|
388
400
|
{
|
|
389
401
|
ref: r,
|
|
@@ -396,8 +408,8 @@ const Me = n.forwardRef(({ className: e, sideOffset: t = 4, ...a }, r) => /* @__
|
|
|
396
408
|
...a
|
|
397
409
|
}
|
|
398
410
|
) }));
|
|
399
|
-
|
|
400
|
-
const
|
|
411
|
+
ze.displayName = d.Content.displayName;
|
|
412
|
+
const Oe = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o(
|
|
401
413
|
d.Item,
|
|
402
414
|
{
|
|
403
415
|
ref: r,
|
|
@@ -409,8 +421,8 @@ const Pe = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */
|
|
|
409
421
|
...a
|
|
410
422
|
}
|
|
411
423
|
));
|
|
412
|
-
|
|
413
|
-
const
|
|
424
|
+
Oe.displayName = d.Item.displayName;
|
|
425
|
+
const je = n.forwardRef(({ className: e, children: t, checked: a, ...r }, l) => /* @__PURE__ */ m(
|
|
414
426
|
d.CheckboxItem,
|
|
415
427
|
{
|
|
416
428
|
ref: l,
|
|
@@ -421,13 +433,13 @@ const ze = n.forwardRef(({ className: e, children: t, checked: a, ...r }, l) =>
|
|
|
421
433
|
checked: a,
|
|
422
434
|
...r,
|
|
423
435
|
children: [
|
|
424
|
-
/* @__PURE__ */ o
|
|
436
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(d.ItemIndicator, { children: /* @__PURE__ */ o(P, { className: "h-4 w-4" }) }) }),
|
|
425
437
|
t
|
|
426
438
|
]
|
|
427
439
|
}
|
|
428
440
|
));
|
|
429
|
-
|
|
430
|
-
const
|
|
441
|
+
je.displayName = d.CheckboxItem.displayName;
|
|
442
|
+
const Ve = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ m(
|
|
431
443
|
d.RadioItem,
|
|
432
444
|
{
|
|
433
445
|
ref: r,
|
|
@@ -437,13 +449,13 @@ const Oe = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__
|
|
|
437
449
|
),
|
|
438
450
|
...a,
|
|
439
451
|
children: [
|
|
440
|
-
/* @__PURE__ */ o
|
|
452
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(d.ItemIndicator, { children: /* @__PURE__ */ o(z, { className: "h-4 w-4 fill-current" }) }) }),
|
|
441
453
|
t
|
|
442
454
|
]
|
|
443
455
|
}
|
|
444
456
|
));
|
|
445
|
-
|
|
446
|
-
const
|
|
457
|
+
Ve.displayName = d.RadioItem.displayName;
|
|
458
|
+
const Le = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o(
|
|
447
459
|
d.Label,
|
|
448
460
|
{
|
|
449
461
|
ref: r,
|
|
@@ -451,13 +463,13 @@ const Ee = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */
|
|
|
451
463
|
...a
|
|
452
464
|
}
|
|
453
465
|
));
|
|
454
|
-
|
|
455
|
-
const
|
|
456
|
-
|
|
457
|
-
const
|
|
458
|
-
|
|
459
|
-
const
|
|
460
|
-
|
|
466
|
+
Le.displayName = d.Label.displayName;
|
|
467
|
+
const Ee = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(d.Separator, { ref: a, className: s("-mx-1 my-1 h-px bg-muted", e), ...t }));
|
|
468
|
+
Ee.displayName = d.Separator.displayName;
|
|
469
|
+
const _e = ({ className: e, ...t }) => /* @__PURE__ */ o("span", { className: s("ml-auto text-xs tracking-widest opacity-60", e), ...t });
|
|
470
|
+
_e.displayName = "DropdownMenuShortcut";
|
|
471
|
+
const He = n.forwardRef(({ className: e, orientation: t = "horizontal", decorative: a = !0, ...r }, l) => /* @__PURE__ */ o(
|
|
472
|
+
j.Root,
|
|
461
473
|
{
|
|
462
474
|
ref: l,
|
|
463
475
|
decorative: a,
|
|
@@ -466,28 +478,28 @@ const _e = n.forwardRef(({ className: e, orientation: t = "horizontal", decorati
|
|
|
466
478
|
...r
|
|
467
479
|
}
|
|
468
480
|
));
|
|
469
|
-
|
|
470
|
-
const
|
|
471
|
-
let
|
|
472
|
-
function
|
|
473
|
-
return
|
|
481
|
+
He.displayName = j.Root.displayName;
|
|
482
|
+
const Ge = 1, Fe = 1e6;
|
|
483
|
+
let T = 0;
|
|
484
|
+
function Be() {
|
|
485
|
+
return T = (T + 1) % Number.MAX_VALUE, T.toString();
|
|
474
486
|
}
|
|
475
|
-
const
|
|
476
|
-
if (
|
|
487
|
+
const D = /* @__PURE__ */ new Map(), I = (e) => {
|
|
488
|
+
if (D.has(e))
|
|
477
489
|
return;
|
|
478
490
|
const t = setTimeout(() => {
|
|
479
|
-
|
|
491
|
+
D.delete(e), y({
|
|
480
492
|
type: "REMOVE_TOAST",
|
|
481
493
|
toastId: e
|
|
482
494
|
});
|
|
483
|
-
},
|
|
484
|
-
|
|
485
|
-
},
|
|
495
|
+
}, Fe);
|
|
496
|
+
D.set(e, t);
|
|
497
|
+
}, Ue = (e, t) => {
|
|
486
498
|
switch (t.type) {
|
|
487
499
|
case "ADD_TOAST":
|
|
488
500
|
return {
|
|
489
501
|
...e,
|
|
490
|
-
toasts: [t.toast, ...e.toasts].slice(0,
|
|
502
|
+
toasts: [t.toast, ...e.toasts].slice(0, Ge)
|
|
491
503
|
};
|
|
492
504
|
case "UPDATE_TOAST":
|
|
493
505
|
return {
|
|
@@ -496,8 +508,8 @@ const C = /* @__PURE__ */ new Map(), S = (e) => {
|
|
|
496
508
|
};
|
|
497
509
|
case "DISMISS_TOAST": {
|
|
498
510
|
const { toastId: a } = t;
|
|
499
|
-
return a ?
|
|
500
|
-
|
|
511
|
+
return a ? I(a) : e.toasts.forEach((r) => {
|
|
512
|
+
I(r.id);
|
|
501
513
|
}), {
|
|
502
514
|
...e,
|
|
503
515
|
toasts: e.toasts.map(
|
|
@@ -517,19 +529,19 @@ const C = /* @__PURE__ */ new Map(), S = (e) => {
|
|
|
517
529
|
toasts: e.toasts.filter((a) => a.id !== t.toastId)
|
|
518
530
|
};
|
|
519
531
|
}
|
|
520
|
-
},
|
|
532
|
+
}, v = [];
|
|
521
533
|
let h = { toasts: [] };
|
|
522
|
-
function
|
|
523
|
-
h =
|
|
534
|
+
function y(e) {
|
|
535
|
+
h = Ue(h, e), v.forEach((t) => {
|
|
524
536
|
t(h);
|
|
525
537
|
});
|
|
526
538
|
}
|
|
527
|
-
function
|
|
528
|
-
const t =
|
|
539
|
+
function qe({ ...e }) {
|
|
540
|
+
const t = Be(), a = (l) => y({
|
|
529
541
|
type: "UPDATE_TOAST",
|
|
530
542
|
toast: { ...l, id: t }
|
|
531
|
-
}), r = () =>
|
|
532
|
-
return
|
|
543
|
+
}), r = () => y({ type: "DISMISS_TOAST", toastId: t });
|
|
544
|
+
return y({
|
|
533
545
|
type: "ADD_TOAST",
|
|
534
546
|
toast: {
|
|
535
547
|
...e,
|
|
@@ -545,18 +557,18 @@ function Ue({ ...e }) {
|
|
|
545
557
|
update: a
|
|
546
558
|
};
|
|
547
559
|
}
|
|
548
|
-
function
|
|
560
|
+
function Qe() {
|
|
549
561
|
const [e, t] = n.useState(h);
|
|
550
|
-
return n.useEffect(() => (
|
|
551
|
-
const a =
|
|
552
|
-
a > -1 &&
|
|
562
|
+
return n.useEffect(() => (v.push(t), () => {
|
|
563
|
+
const a = v.indexOf(t);
|
|
564
|
+
a > -1 && v.splice(a, 1);
|
|
553
565
|
}), [e]), {
|
|
554
566
|
...e,
|
|
555
|
-
toast:
|
|
556
|
-
dismiss: (a) =>
|
|
567
|
+
toast: qe,
|
|
568
|
+
dismiss: (a) => y({ type: "DISMISS_TOAST", toastId: a })
|
|
557
569
|
};
|
|
558
570
|
}
|
|
559
|
-
const
|
|
571
|
+
const Xe = p.Provider, G = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
560
572
|
p.Viewport,
|
|
561
573
|
{
|
|
562
574
|
ref: a,
|
|
@@ -567,8 +579,8 @@ const Qe = p.Provider, H = n.forwardRef(({ className: e, ...t }, a) => /* @__PUR
|
|
|
567
579
|
...t
|
|
568
580
|
}
|
|
569
581
|
));
|
|
570
|
-
|
|
571
|
-
const
|
|
582
|
+
G.displayName = p.Viewport.displayName;
|
|
583
|
+
const Ye = w(
|
|
572
584
|
"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",
|
|
573
585
|
{
|
|
574
586
|
variants: {
|
|
@@ -581,9 +593,9 @@ const Xe = T(
|
|
|
581
593
|
variant: "default"
|
|
582
594
|
}
|
|
583
595
|
}
|
|
584
|
-
),
|
|
585
|
-
|
|
586
|
-
const
|
|
596
|
+
), F = n.forwardRef(({ className: e, variant: t, ...a }, r) => /* @__PURE__ */ o(p.Root, { ref: r, className: s(Ye({ variant: t }), e), ...a }));
|
|
597
|
+
F.displayName = p.Root.displayName;
|
|
598
|
+
const Je = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
587
599
|
p.Action,
|
|
588
600
|
{
|
|
589
601
|
ref: a,
|
|
@@ -594,8 +606,8 @@ const Ye = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
594
606
|
...t
|
|
595
607
|
}
|
|
596
608
|
));
|
|
597
|
-
|
|
598
|
-
const
|
|
609
|
+
Je.displayName = p.Action.displayName;
|
|
610
|
+
const B = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
599
611
|
p.Close,
|
|
600
612
|
{
|
|
601
613
|
ref: a,
|
|
@@ -605,29 +617,29 @@ const F = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
605
617
|
),
|
|
606
618
|
"toast-close": "",
|
|
607
619
|
...t,
|
|
608
|
-
children: /* @__PURE__ */ o
|
|
620
|
+
children: /* @__PURE__ */ o(k, { className: "h-4 w-4" })
|
|
609
621
|
}
|
|
610
622
|
));
|
|
611
|
-
|
|
612
|
-
const
|
|
613
|
-
|
|
614
|
-
const
|
|
615
|
-
|
|
616
|
-
function
|
|
617
|
-
const { toasts: e } =
|
|
618
|
-
return /* @__PURE__ */
|
|
619
|
-
e.map(({ id: t, title: a, description: r, action: l, ...
|
|
620
|
-
/* @__PURE__ */
|
|
621
|
-
a && /* @__PURE__ */ o
|
|
622
|
-
r && /* @__PURE__ */ o
|
|
623
|
+
B.displayName = p.Close.displayName;
|
|
624
|
+
const U = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(p.Title, { ref: a, className: s("text-sm font-semibold [&+div]:text-xs", e), ...t }));
|
|
625
|
+
U.displayName = p.Title.displayName;
|
|
626
|
+
const q = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(p.Description, { ref: a, className: s("text-sm opacity-90", e), ...t }));
|
|
627
|
+
q.displayName = p.Description.displayName;
|
|
628
|
+
function zt() {
|
|
629
|
+
const { toasts: e } = Qe();
|
|
630
|
+
return /* @__PURE__ */ m(Xe, { children: [
|
|
631
|
+
e.map(({ id: t, title: a, description: r, action: l, ...R }) => /* @__PURE__ */ m(F, { ...R, children: [
|
|
632
|
+
/* @__PURE__ */ m("div", { className: "grid gap-1", children: [
|
|
633
|
+
a && /* @__PURE__ */ o(U, { children: a }),
|
|
634
|
+
r && /* @__PURE__ */ o(q, { children: r })
|
|
623
635
|
] }),
|
|
624
636
|
l,
|
|
625
|
-
/* @__PURE__ */ o
|
|
637
|
+
/* @__PURE__ */ o(B, {})
|
|
626
638
|
] }, t)),
|
|
627
|
-
/* @__PURE__ */ o
|
|
639
|
+
/* @__PURE__ */ o(G, {})
|
|
628
640
|
] });
|
|
629
641
|
}
|
|
630
|
-
const
|
|
642
|
+
const Ot = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: s("animate-pulse rounded-md bg-primary/10", e), ...t }), jt = i.Root, Vt = i.Trigger, Lt = i.Group, Et = i.Portal, _t = i.Sub, Ht = i.RadioGroup, Ke = n.forwardRef(({ className: e, inset: t, children: a, ...r }, l) => /* @__PURE__ */ m(
|
|
631
643
|
i.SubTrigger,
|
|
632
644
|
{
|
|
633
645
|
ref: l,
|
|
@@ -639,12 +651,12 @@ const kt = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className:
|
|
|
639
651
|
...r,
|
|
640
652
|
children: [
|
|
641
653
|
a,
|
|
642
|
-
/* @__PURE__ */ o
|
|
654
|
+
/* @__PURE__ */ o(M, { className: "ml-auto h-4 w-4" })
|
|
643
655
|
]
|
|
644
656
|
}
|
|
645
657
|
));
|
|
646
|
-
|
|
647
|
-
const
|
|
658
|
+
Ke.displayName = i.SubTrigger.displayName;
|
|
659
|
+
const We = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
648
660
|
i.SubContent,
|
|
649
661
|
{
|
|
650
662
|
ref: a,
|
|
@@ -655,8 +667,8 @@ const Ke = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
|
|
|
655
667
|
...t
|
|
656
668
|
}
|
|
657
669
|
));
|
|
658
|
-
|
|
659
|
-
const
|
|
670
|
+
We.displayName = i.SubContent.displayName;
|
|
671
|
+
const Ze = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(i.Portal, { children: /* @__PURE__ */ o(
|
|
660
672
|
i.Content,
|
|
661
673
|
{
|
|
662
674
|
ref: a,
|
|
@@ -667,8 +679,8 @@ const We = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(i.P
|
|
|
667
679
|
...t
|
|
668
680
|
}
|
|
669
681
|
) }));
|
|
670
|
-
|
|
671
|
-
const
|
|
682
|
+
Ze.displayName = i.Content.displayName;
|
|
683
|
+
const $e = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o(
|
|
672
684
|
i.Item,
|
|
673
685
|
{
|
|
674
686
|
ref: r,
|
|
@@ -680,8 +692,8 @@ const Ze = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */
|
|
|
680
692
|
...a
|
|
681
693
|
}
|
|
682
694
|
));
|
|
683
|
-
|
|
684
|
-
const
|
|
695
|
+
$e.displayName = i.Item.displayName;
|
|
696
|
+
const et = n.forwardRef(({ className: e, children: t, checked: a, ...r }, l) => /* @__PURE__ */ m(
|
|
685
697
|
i.CheckboxItem,
|
|
686
698
|
{
|
|
687
699
|
ref: l,
|
|
@@ -692,13 +704,13 @@ const $e = n.forwardRef(({ className: e, children: t, checked: a, ...r }, l) =>
|
|
|
692
704
|
checked: a,
|
|
693
705
|
...r,
|
|
694
706
|
children: [
|
|
695
|
-
/* @__PURE__ */ o
|
|
707
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(i.ItemIndicator, { children: /* @__PURE__ */ o(P, { className: "h-4 w-4" }) }) }),
|
|
696
708
|
t
|
|
697
709
|
]
|
|
698
710
|
}
|
|
699
711
|
));
|
|
700
|
-
|
|
701
|
-
const
|
|
712
|
+
et.displayName = i.CheckboxItem.displayName;
|
|
713
|
+
const tt = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ m(
|
|
702
714
|
i.RadioItem,
|
|
703
715
|
{
|
|
704
716
|
ref: r,
|
|
@@ -708,13 +720,13 @@ const et = n.forwardRef(({ className: e, children: t, ...a }, r) => /* @__PURE__
|
|
|
708
720
|
),
|
|
709
721
|
...a,
|
|
710
722
|
children: [
|
|
711
|
-
/* @__PURE__ */ o
|
|
723
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(i.ItemIndicator, { children: /* @__PURE__ */ o(z, { className: "h-4 w-4 fill-current" }) }) }),
|
|
712
724
|
t
|
|
713
725
|
]
|
|
714
726
|
}
|
|
715
727
|
));
|
|
716
|
-
|
|
717
|
-
const
|
|
728
|
+
tt.displayName = i.RadioItem.displayName;
|
|
729
|
+
const at = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */ o(
|
|
718
730
|
i.Label,
|
|
719
731
|
{
|
|
720
732
|
ref: r,
|
|
@@ -722,96 +734,98 @@ const tt = n.forwardRef(({ className: e, inset: t, ...a }, r) => /* @__PURE__ */
|
|
|
722
734
|
...a
|
|
723
735
|
}
|
|
724
736
|
));
|
|
725
|
-
|
|
726
|
-
const
|
|
727
|
-
|
|
728
|
-
const
|
|
729
|
-
|
|
737
|
+
at.displayName = i.Label.displayName;
|
|
738
|
+
const ot = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(i.Separator, { ref: a, className: s("-mx-1 my-1 h-px bg-border", e), ...t }));
|
|
739
|
+
ot.displayName = i.Separator.displayName;
|
|
740
|
+
const st = ({ className: e, ...t }) => /* @__PURE__ */ o("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
|
|
741
|
+
st.displayName = "ContextMenuShortcut";
|
|
730
742
|
export {
|
|
731
|
-
|
|
732
|
-
|
|
743
|
+
St as $,
|
|
744
|
+
ft as A,
|
|
733
745
|
W as B,
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
746
|
+
ue as C,
|
|
747
|
+
bt as D,
|
|
748
|
+
xe as E,
|
|
749
|
+
ye as F,
|
|
750
|
+
Re as G,
|
|
751
|
+
H,
|
|
752
|
+
ve as I,
|
|
753
|
+
yt as J,
|
|
742
754
|
Te as K,
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
755
|
+
we as L,
|
|
756
|
+
De as M,
|
|
757
|
+
Se as N,
|
|
758
|
+
ht as O,
|
|
759
|
+
wt as P,
|
|
760
|
+
Ae as Q,
|
|
761
|
+
vt as R,
|
|
762
|
+
Ot as S,
|
|
763
|
+
Ce as T,
|
|
764
|
+
Nt as U,
|
|
765
|
+
Ct as V,
|
|
766
|
+
Rt as W,
|
|
767
|
+
Ie as X,
|
|
768
|
+
Tt as Y,
|
|
769
|
+
Dt as Z,
|
|
770
|
+
ke as _,
|
|
771
|
+
le as a,
|
|
772
|
+
At as a0,
|
|
761
773
|
ze as a1,
|
|
762
774
|
Oe as a2,
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
+
je as a3,
|
|
776
|
+
Ve as a4,
|
|
777
|
+
Le as a5,
|
|
778
|
+
Ee as a6,
|
|
779
|
+
_e as a7,
|
|
780
|
+
It as a8,
|
|
781
|
+
kt as a9,
|
|
782
|
+
Mt as aa,
|
|
783
|
+
Pe as ab,
|
|
784
|
+
Me as ac,
|
|
785
|
+
Pt as ad,
|
|
786
|
+
He as ae,
|
|
775
787
|
Ue as af,
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
788
|
+
Qe as ag,
|
|
789
|
+
qe as ah,
|
|
790
|
+
zt as ai,
|
|
791
|
+
jt as aj,
|
|
792
|
+
Vt as ak,
|
|
793
|
+
Ze as al,
|
|
794
|
+
$e as am,
|
|
795
|
+
et as an,
|
|
796
|
+
tt as ao,
|
|
797
|
+
at as ap,
|
|
798
|
+
ot as aq,
|
|
799
|
+
st as ar,
|
|
800
|
+
Lt as as,
|
|
801
|
+
Et as at,
|
|
802
|
+
_t as au,
|
|
803
|
+
We as av,
|
|
804
|
+
Ke as aw,
|
|
805
|
+
Ht as ax,
|
|
792
806
|
K as b,
|
|
793
807
|
s as c,
|
|
794
|
-
|
|
808
|
+
A as d,
|
|
795
809
|
Z as e,
|
|
796
810
|
$ as f,
|
|
797
811
|
ee as g,
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
812
|
+
pt as h,
|
|
813
|
+
te as i,
|
|
814
|
+
ut as j,
|
|
815
|
+
gt as k,
|
|
816
|
+
ae as l,
|
|
817
|
+
oe as m,
|
|
818
|
+
se as n,
|
|
819
|
+
re as o,
|
|
820
|
+
ne as p,
|
|
821
|
+
de as q,
|
|
822
|
+
ie as r,
|
|
823
|
+
xt as s,
|
|
824
|
+
ce as t,
|
|
825
|
+
me as u,
|
|
826
|
+
fe as v,
|
|
827
|
+
pe as w,
|
|
828
|
+
ge as x,
|
|
829
|
+
Ne as y,
|
|
816
830
|
be as z
|
|
817
831
|
};
|