@chaibuilder/sdk 2.0.0-beta.21 → 2.0.0-beta.23

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/ui.js CHANGED
@@ -1,10 +1,10 @@
1
- import { j as a } from "./jsx-runtime-Sp0orL4X.js";
1
+ import { j as t } from "./jsx-runtime-Sp0orL4X.js";
2
2
  import * as r from "react";
3
3
  import * as u from "@radix-ui/react-toggle";
4
4
  import { cva as p } from "class-variance-authority";
5
- import { c as s, D as y, a as N } from "./context-menu-oLipAPzI.js";
6
- import { A as qe, g as $e, e as Je, f as Ke, h as Qe, o as Ue, p as We, j as Xe, n as Ye, l as Ze, k as et, m as tt, i as at, B as ot, C as st, z as rt, y as nt, w as dt, v as it, x as lt, ah as mt, al as ct, aj as pt, aq as ut, ak as ft, an as gt, ar as xt, av as bt, am as ht, ao as yt, ap as Nt, as as vt, at as wt, au as Ct, ai as jt, u as St, s as Mt, r as Rt, t as Tt, q as Dt, Z as kt, a1 as It, $ as _t, a6 as At, a0 as Pt, a3 as Gt, a7 as zt, ab as Lt, a2 as Vt, a4 as Ht, a5 as Ft, a8 as Et, a9 as Bt, aa as Ot, _ as qt, W as $t, Y as Jt, X as Kt, I as Qt, L as Ut, R as Wt, V as Xt, U as Yt, E as Zt, F as ea, ac as ta, S as aa, b as oa, G as sa, K as ra, H as na, J as da, T as ia, ag as la, M as ma, O as ca, Q as pa, P as ua, N as fa, d as ga, ad as xa, af as ba, ae as ha } from "./context-menu-oLipAPzI.js";
7
- import { ChevronRightIcon as v, CheckIcon as f, DotFilledIcon as w, CaretSortIcon as C, Cross2Icon as j, MagnifyingGlassIcon as S } from "@radix-ui/react-icons";
5
+ import { c as s, D as y, a as N } from "./context-menu-EDKTnqIV.js";
6
+ import { A as Be, g as Oe, e as qe, f as $e, j as Je, q as Ke, r as Qe, l as Ue, p as We, n as Xe, m as Ye, o as Ze, k as ea, h as aa, B as ta, C as oa, F as sa, E as ra, y as na, x as da, z as ia, aj as la, an as ma, al as ca, as as pa, am as ua, ap as fa, at as ga, ax as xa, ao as ba, aq as ha, ar as ya, au as Na, av as wa, aw as va, ak as Ca, w as ja, u as Sa, t as Ma, v as Ra, s as Ta, $ as Da, a3 as ka, a1 as Ia, a8 as _a, a2 as Aa, a5 as Pa, a9 as Ga, ad as za, a4 as La, a6 as Va, a7 as Ha, aa as Fa, ab as Ea, ac as Ba, a0 as Oa, Y as qa, _ as $a, Z as Ja, I as Ka, L as Qa, V as Ua, X as Wa, W as Xa, G as Ya, H as Za, ae as et, S as at, b as tt, J as ot, N as st, K as rt, M as nt, T as dt, ai as it, O as lt, Q as mt, U as ct, R as pt, P as ut, i as ft, d as gt, af as xt, ah as bt, ag as ht } from "./context-menu-EDKTnqIV.js";
7
+ import { ChevronRightIcon as w, CheckIcon as f, DotFilledIcon as v, CaretSortIcon as C, Cross2Icon as j, MagnifyingGlassIcon as S } from "@radix-ui/react-icons";
8
8
  import * as n from "@radix-ui/react-menubar";
9
9
  import * as i from "@radix-ui/react-select";
10
10
  import * as l from "@radix-ui/react-dialog";
@@ -44,7 +44,7 @@ const M = p(
44
44
  size: "default"
45
45
  }
46
46
  }
47
- ), R = r.forwardRef(({ className: e, variant: t, size: o, ...d }, c) => /* @__PURE__ */ a.jsx(u.Root, { ref: c, className: s(M({ variant: t, size: o, className: e })), ...d }));
47
+ ), R = r.forwardRef(({ className: e, variant: a, size: o, ...d }, c) => /* @__PURE__ */ t.jsx(u.Root, { ref: c, className: s(M({ variant: a, size: o, className: e })), ...d }));
48
48
  R.displayName = u.Root.displayName;
49
49
  const T = p(
50
50
  "relative w-full rounded-lg border px-4 py-3 text-sm [&:has(svg)]:pl-11 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",
@@ -59,41 +59,26 @@ const T = p(
59
59
  variant: "default"
60
60
  }
61
61
  }
62
- ), D = r.forwardRef(({ className: e, variant: t, ...o }, d) => /* @__PURE__ */ a.jsx("div", { ref: d, role: "alert", className: s(T({ variant: t }), e), ...o }));
62
+ ), D = r.forwardRef(({ className: e, variant: a, ...o }, d) => /* @__PURE__ */ t.jsx("div", { ref: d, role: "alert", className: s(T({ variant: a }), e), ...o }));
63
63
  D.displayName = "Alert";
64
64
  const k = r.forwardRef(
65
- ({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx("h5", { ref: o, className: s("mb-1 font-medium leading-none tracking-tight", e), ...t })
65
+ ({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx("h5", { ref: o, className: s("mb-1 font-medium leading-none tracking-tight", e), ...a })
66
66
  );
67
67
  k.displayName = "AlertTitle";
68
68
  const I = r.forwardRef(
69
- ({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx("div", { ref: o, className: s("text-sm [&_p]:leading-relaxed", e), ...t })
69
+ ({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx("div", { ref: o, className: s("text-sm [&_p]:leading-relaxed", e), ...a })
70
70
  );
71
71
  I.displayName = "AlertDescription";
72
- const _ = p(
73
- "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",
74
- {
75
- variants: {
76
- variant: {
77
- default: "border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",
78
- secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
79
- destructive: "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",
80
- outline: "text-foreground"
81
- }
82
- },
83
- defaultVariants: {
84
- variant: "default"
85
- }
86
- }
87
- ), De = ({ className: e, variant: t, ...o }) => /* @__PURE__ */ a.jsx("div", { className: s(_({ variant: t }), e), ...o }), ke = n.Menu, Ie = n.Group, _e = n.Portal, Ae = n.Sub, Pe = n.RadioGroup, A = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(
72
+ const Te = n.Menu, De = n.Group, ke = n.Portal, Ie = n.Sub, _e = n.RadioGroup, _ = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
88
73
  n.Root,
89
74
  {
90
75
  ref: o,
91
76
  className: s("flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm", e),
92
- ...t
77
+ ...a
93
78
  }
94
79
  ));
95
- A.displayName = n.Root.displayName;
96
- const P = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(
80
+ _.displayName = n.Root.displayName;
81
+ const A = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
97
82
  n.Trigger,
98
83
  {
99
84
  ref: o,
@@ -101,28 +86,28 @@ const P = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(
101
86
  "flex cursor-default select-none items-center rounded-sm px-3 py-1 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
102
87
  e
103
88
  ),
104
- ...t
89
+ ...a
105
90
  }
106
91
  ));
107
- P.displayName = n.Trigger.displayName;
108
- const G = r.forwardRef(({ className: e, inset: t, children: o, ...d }, c) => /* @__PURE__ */ a.jsxs(
92
+ A.displayName = n.Trigger.displayName;
93
+ const P = r.forwardRef(({ className: e, inset: a, children: o, ...d }, c) => /* @__PURE__ */ t.jsxs(
109
94
  n.SubTrigger,
110
95
  {
111
96
  ref: c,
112
97
  className: s(
113
98
  "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
114
- t && "pl-8",
99
+ a && "pl-8",
115
100
  e
116
101
  ),
117
102
  ...d,
118
103
  children: [
119
104
  o,
120
- /* @__PURE__ */ a.jsx(v, { className: "ml-auto h-4 w-4" })
105
+ /* @__PURE__ */ t.jsx(w, { className: "ml-auto h-4 w-4" })
121
106
  ]
122
107
  }
123
108
  ));
124
- G.displayName = n.SubTrigger.displayName;
125
- const z = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(
109
+ P.displayName = n.SubTrigger.displayName;
110
+ const G = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
126
111
  n.SubContent,
127
112
  {
128
113
  ref: o,
@@ -130,15 +115,15 @@ const z = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(
130
115
  "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
131
116
  e
132
117
  ),
133
- ...t
118
+ ...a
134
119
  }
135
120
  ));
136
- z.displayName = n.SubContent.displayName;
137
- const L = r.forwardRef(({ className: e, align: t = "start", alignOffset: o = -4, sideOffset: d = 8, ...c }, h) => /* @__PURE__ */ a.jsx(n.Portal, { children: /* @__PURE__ */ a.jsx(
121
+ G.displayName = n.SubContent.displayName;
122
+ const z = r.forwardRef(({ className: e, align: a = "start", alignOffset: o = -4, sideOffset: d = 8, ...c }, h) => /* @__PURE__ */ t.jsx(n.Portal, { children: /* @__PURE__ */ t.jsx(
138
123
  n.Content,
139
124
  {
140
125
  ref: h,
141
- align: t,
126
+ align: a,
142
127
  alignOffset: o,
143
128
  sideOffset: d,
144
129
  className: s(
@@ -148,21 +133,21 @@ const L = r.forwardRef(({ className: e, align: t = "start", alignOffset: o = -4,
148
133
  ...c
149
134
  }
150
135
  ) }));
151
- L.displayName = n.Content.displayName;
152
- const V = r.forwardRef(({ className: e, inset: t, ...o }, d) => /* @__PURE__ */ a.jsx(
136
+ z.displayName = n.Content.displayName;
137
+ const L = r.forwardRef(({ className: e, inset: a, ...o }, d) => /* @__PURE__ */ t.jsx(
153
138
  n.Item,
154
139
  {
155
140
  ref: d,
156
141
  className: s(
157
142
  "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
158
- t && "pl-8",
143
+ a && "pl-8",
159
144
  e
160
145
  ),
161
146
  ...o
162
147
  }
163
148
  ));
164
- V.displayName = n.Item.displayName;
165
- const H = r.forwardRef(({ className: e, children: t, checked: o, ...d }, c) => /* @__PURE__ */ a.jsxs(
149
+ L.displayName = n.Item.displayName;
150
+ const V = r.forwardRef(({ className: e, children: a, checked: o, ...d }, c) => /* @__PURE__ */ t.jsxs(
166
151
  n.CheckboxItem,
167
152
  {
168
153
  ref: c,
@@ -173,13 +158,13 @@ const H = r.forwardRef(({ className: e, children: t, checked: o, ...d }, c) => /
173
158
  checked: o,
174
159
  ...d,
175
160
  children: [
176
- /* @__PURE__ */ a.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(n.ItemIndicator, { children: /* @__PURE__ */ a.jsx(f, { className: "h-4 w-4" }) }) }),
177
- t
161
+ /* @__PURE__ */ t.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ t.jsx(n.ItemIndicator, { children: /* @__PURE__ */ t.jsx(f, { className: "h-4 w-4" }) }) }),
162
+ a
178
163
  ]
179
164
  }
180
165
  ));
181
- H.displayName = n.CheckboxItem.displayName;
182
- const F = r.forwardRef(({ className: e, children: t, ...o }, d) => /* @__PURE__ */ a.jsxs(
166
+ V.displayName = n.CheckboxItem.displayName;
167
+ const H = r.forwardRef(({ className: e, children: a, ...o }, d) => /* @__PURE__ */ t.jsxs(
183
168
  n.RadioItem,
184
169
  {
185
170
  ref: d,
@@ -189,26 +174,26 @@ const F = r.forwardRef(({ className: e, children: t, ...o }, d) => /* @__PURE__
189
174
  ),
190
175
  ...o,
191
176
  children: [
192
- /* @__PURE__ */ a.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(n.ItemIndicator, { children: /* @__PURE__ */ a.jsx(w, { className: "h-4 w-4 fill-current" }) }) }),
193
- t
177
+ /* @__PURE__ */ t.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ t.jsx(n.ItemIndicator, { children: /* @__PURE__ */ t.jsx(v, { className: "h-4 w-4 fill-current" }) }) }),
178
+ a
194
179
  ]
195
180
  }
196
181
  ));
197
- F.displayName = n.RadioItem.displayName;
198
- const E = r.forwardRef(({ className: e, inset: t, ...o }, d) => /* @__PURE__ */ a.jsx(
182
+ H.displayName = n.RadioItem.displayName;
183
+ const F = r.forwardRef(({ className: e, inset: a, ...o }, d) => /* @__PURE__ */ t.jsx(
199
184
  n.Label,
200
185
  {
201
186
  ref: d,
202
- className: s("px-2 py-1.5 text-sm font-semibold", t && "pl-8", e),
187
+ className: s("px-2 py-1.5 text-sm font-semibold", a && "pl-8", e),
203
188
  ...o
204
189
  }
205
190
  ));
206
- E.displayName = n.Label.displayName;
207
- const B = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(n.Separator, { ref: o, className: s("-mx-1 my-1 h-px bg-muted", e), ...t }));
208
- B.displayName = n.Separator.displayName;
209
- const O = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
210
- O.displayname = "MenubarShortcut";
211
- const Ge = i.Root, ze = i.Group, Le = i.Value, q = r.forwardRef(({ className: e, children: t, ...o }, d) => /* @__PURE__ */ a.jsxs(
191
+ F.displayName = n.Label.displayName;
192
+ const E = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(n.Separator, { ref: o, className: s("-mx-1 my-1 h-px bg-muted", e), ...a }));
193
+ E.displayName = n.Separator.displayName;
194
+ const B = ({ className: e, ...a }) => /* @__PURE__ */ t.jsx("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", e), ...a });
195
+ B.displayname = "MenubarShortcut";
196
+ const Ae = i.Root, Pe = i.Group, Ge = i.Value, O = r.forwardRef(({ className: e, children: a, ...o }, d) => /* @__PURE__ */ t.jsxs(
212
197
  i.Trigger,
213
198
  {
214
199
  ref: d,
@@ -218,13 +203,13 @@ const Ge = i.Root, ze = i.Group, Le = i.Value, q = r.forwardRef(({ className: e,
218
203
  ),
219
204
  ...o,
220
205
  children: [
221
- t,
222
- /* @__PURE__ */ a.jsx(i.Icon, { asChild: !0, children: /* @__PURE__ */ a.jsx(C, { className: "h-4 w-4 opacity-50" }) })
206
+ a,
207
+ /* @__PURE__ */ t.jsx(i.Icon, { asChild: !0, children: /* @__PURE__ */ t.jsx(C, { className: "h-4 w-4 opacity-50" }) })
223
208
  ]
224
209
  }
225
210
  ));
226
- q.displayName = i.Trigger.displayName;
227
- const $ = r.forwardRef(({ className: e, children: t, position: o = "popper", ...d }, c) => /* @__PURE__ */ a.jsx(i.Portal, { children: /* @__PURE__ */ a.jsx(
211
+ O.displayName = i.Trigger.displayName;
212
+ const q = r.forwardRef(({ className: e, children: a, position: o = "popper", ...d }, c) => /* @__PURE__ */ t.jsx(i.Portal, { children: /* @__PURE__ */ t.jsx(
228
213
  i.Content,
229
214
  {
230
215
  ref: c,
@@ -235,22 +220,22 @@ const $ = r.forwardRef(({ className: e, children: t, position: o = "popper", ...
235
220
  ),
236
221
  position: o,
237
222
  ...d,
238
- children: /* @__PURE__ */ a.jsx(
223
+ children: /* @__PURE__ */ t.jsx(
239
224
  i.Viewport,
240
225
  {
241
226
  className: s(
242
227
  "p-1",
243
228
  o === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
244
229
  ),
245
- children: t
230
+ children: a
246
231
  }
247
232
  )
248
233
  }
249
234
  ) }));
250
- $.displayName = i.Content.displayName;
251
- const J = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(i.Label, { ref: o, className: s("px-2 py-1.5 text-sm font-semibold", e), ...t }));
252
- J.displayName = i.Label.displayName;
253
- const K = r.forwardRef(({ className: e, children: t, ...o }, d) => /* @__PURE__ */ a.jsxs(
235
+ q.displayName = i.Content.displayName;
236
+ const $ = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(i.Label, { ref: o, className: s("px-2 py-1.5 text-sm font-semibold", e), ...a }));
237
+ $.displayName = i.Label.displayName;
238
+ const J = r.forwardRef(({ className: e, children: a, ...o }, d) => /* @__PURE__ */ t.jsxs(
254
239
  i.Item,
255
240
  {
256
241
  ref: d,
@@ -260,29 +245,29 @@ const K = r.forwardRef(({ className: e, children: t, ...o }, d) => /* @__PURE__
260
245
  ),
261
246
  ...o,
262
247
  children: [
263
- /* @__PURE__ */ a.jsx("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(i.ItemIndicator, { children: /* @__PURE__ */ a.jsx(f, { className: "h-4 w-4" }) }) }),
264
- /* @__PURE__ */ a.jsx(i.ItemText, { children: t })
248
+ /* @__PURE__ */ t.jsx("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ t.jsx(i.ItemIndicator, { children: /* @__PURE__ */ t.jsx(f, { className: "h-4 w-4" }) }) }),
249
+ /* @__PURE__ */ t.jsx(i.ItemText, { children: a })
265
250
  ]
266
251
  }
267
252
  ));
268
- K.displayName = i.Item.displayName;
269
- const Q = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(i.Separator, { ref: o, className: s("-mx-1 my-1 h-px bg-muted", e), ...t }));
270
- Q.displayName = i.Separator.displayName;
271
- const Ve = l.Root, He = l.Trigger, Fe = l.Close, g = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx(l.Portal, { className: s(e), ...t });
253
+ J.displayName = i.Item.displayName;
254
+ const K = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(i.Separator, { ref: o, className: s("-mx-1 my-1 h-px bg-muted", e), ...a }));
255
+ K.displayName = i.Separator.displayName;
256
+ const ze = l.Root, Le = l.Trigger, Ve = l.Close, g = ({ className: e, ...a }) => /* @__PURE__ */ t.jsx(l.Portal, { className: s(e), ...a });
272
257
  g.displayName = l.Portal.displayName;
273
- const x = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(
258
+ const x = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
274
259
  l.Overlay,
275
260
  {
276
261
  className: s(
277
262
  "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",
278
263
  e
279
264
  ),
280
- ...t,
265
+ ...a,
281
266
  ref: o
282
267
  }
283
268
  ));
284
269
  x.displayName = l.Overlay.displayName;
285
- const U = p(
270
+ const Q = p(
286
271
  "fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
287
272
  {
288
273
  variants: {
@@ -297,28 +282,28 @@ const U = p(
297
282
  side: "right"
298
283
  }
299
284
  }
300
- ), W = r.forwardRef(
301
- ({ side: e = "right", className: t, children: o, ...d }, c) => /* @__PURE__ */ a.jsxs(g, { children: [
302
- /* @__PURE__ */ a.jsx(x, {}),
303
- /* @__PURE__ */ a.jsxs(l.Content, { ref: c, className: s(U({ side: e }), t), ...d, children: [
285
+ ), U = r.forwardRef(
286
+ ({ side: e = "right", className: a, children: o, ...d }, c) => /* @__PURE__ */ t.jsxs(g, { children: [
287
+ /* @__PURE__ */ t.jsx(x, {}),
288
+ /* @__PURE__ */ t.jsxs(l.Content, { ref: c, className: s(Q({ side: e }), a), ...d, children: [
304
289
  o,
305
- /* @__PURE__ */ a.jsxs(l.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
306
- /* @__PURE__ */ a.jsx(j, { className: "h-4 w-4" }),
307
- /* @__PURE__ */ a.jsx("span", { className: "sr-only", children: "Close" })
290
+ /* @__PURE__ */ t.jsxs(l.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
291
+ /* @__PURE__ */ t.jsx(j, { className: "h-4 w-4" }),
292
+ /* @__PURE__ */ t.jsx("span", { className: "sr-only", children: "Close" })
308
293
  ] })
309
294
  ] })
310
295
  ] })
311
296
  );
312
- W.displayName = l.Content.displayName;
313
- const X = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
314
- X.displayName = "SheetHeader";
315
- const Y = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
316
- Y.displayName = "SheetFooter";
317
- const Z = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(l.Title, { ref: o, className: s("text-lg font-semibold text-foreground", e), ...t }));
318
- Z.displayName = l.Title.displayName;
319
- const ee = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(l.Description, { ref: o, className: s("text-sm text-muted-foreground", e), ...t }));
320
- ee.displayName = l.Description.displayName;
321
- const b = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(
297
+ U.displayName = l.Content.displayName;
298
+ const W = ({ className: e, ...a }) => /* @__PURE__ */ t.jsx("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", e), ...a });
299
+ W.displayName = "SheetHeader";
300
+ const X = ({ className: e, ...a }) => /* @__PURE__ */ t.jsx("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...a });
301
+ X.displayName = "SheetFooter";
302
+ const Y = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(l.Title, { ref: o, className: s("text-lg font-semibold text-foreground", e), ...a }));
303
+ Y.displayName = l.Title.displayName;
304
+ const Z = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(l.Description, { ref: o, className: s("text-sm text-muted-foreground", e), ...a }));
305
+ Z.displayName = l.Description.displayName;
306
+ const b = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
322
307
  m,
323
308
  {
324
309
  ref: o,
@@ -326,13 +311,13 @@ const b = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(
326
311
  "flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",
327
312
  e
328
313
  ),
329
- ...t
314
+ ...a
330
315
  }
331
316
  ));
332
317
  b.displayName = m.displayName;
333
- const Ee = ({ children: e, ...t }) => /* @__PURE__ */ a.jsx(y, { ...t, children: /* @__PURE__ */ a.jsx(N, { className: "overflow-hidden p-0", children: /* @__PURE__ */ a.jsx(b, { 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 }) }) }), te = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
334
- /* @__PURE__ */ a.jsx(S, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
335
- /* @__PURE__ */ a.jsx(
318
+ const He = ({ children: e, ...a }) => /* @__PURE__ */ t.jsx(y, { ...a, children: /* @__PURE__ */ t.jsx(N, { className: "overflow-hidden p-0", children: /* @__PURE__ */ t.jsx(b, { 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 }) }) }), ee = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
319
+ /* @__PURE__ */ t.jsx(S, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
320
+ /* @__PURE__ */ t.jsx(
336
321
  m.Input,
337
322
  {
338
323
  ref: o,
@@ -340,23 +325,23 @@ const Ee = ({ children: e, ...t }) => /* @__PURE__ */ a.jsx(y, { ...t, children:
340
325
  "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",
341
326
  e
342
327
  ),
343
- ...t
328
+ ...a
344
329
  }
345
330
  )
346
331
  ] }));
347
- te.displayName = m.Input.displayName;
348
- const ae = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(
332
+ ee.displayName = m.Input.displayName;
333
+ const ae = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
349
334
  m.List,
350
335
  {
351
336
  ref: o,
352
337
  className: s("max-h-[300px] overflow-y-auto overflow-x-hidden", e),
353
- ...t
338
+ ...a
354
339
  }
355
340
  ));
356
341
  ae.displayName = m.List.displayName;
357
- const oe = r.forwardRef((e, t) => /* @__PURE__ */ a.jsx(m.Empty, { ref: t, className: "py-6 text-center text-sm", ...e }));
358
- oe.displayName = m.Empty.displayName;
359
- const se = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(
342
+ const te = r.forwardRef((e, a) => /* @__PURE__ */ t.jsx(m.Empty, { ref: a, className: "py-6 text-center text-sm", ...e }));
343
+ te.displayName = m.Empty.displayName;
344
+ const oe = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
360
345
  m.Group,
361
346
  {
362
347
  ref: o,
@@ -364,13 +349,13 @@ const se = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(
364
349
  "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",
365
350
  e
366
351
  ),
367
- ...t
352
+ ...a
368
353
  }
369
354
  ));
370
- se.displayName = m.Group.displayName;
371
- const re = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(m.Separator, { ref: o, className: s("-mx-1 h-px bg-border", e), ...t }));
372
- re.displayName = m.Separator.displayName;
373
- const ne = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(
355
+ oe.displayName = m.Group.displayName;
356
+ const se = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(m.Separator, { ref: o, className: s("-mx-1 h-px bg-border", e), ...a }));
357
+ se.displayName = m.Separator.displayName;
358
+ const re = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
374
359
  m.Item,
375
360
  {
376
361
  ref: o,
@@ -378,144 +363,144 @@ const ne = r.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a.jsx(
378
363
  "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",
379
364
  e
380
365
  ),
381
- ...t
366
+ ...a
382
367
  }
383
368
  ));
384
- ne.displayName = m.Item.displayName;
385
- const de = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
386
- de.displayName = "CommandShortcut";
369
+ re.displayName = m.Item.displayName;
370
+ const ne = ({ className: e, ...a }) => /* @__PURE__ */ t.jsx("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", e), ...a });
371
+ ne.displayName = "CommandShortcut";
387
372
  export {
388
- qe as Accordion,
389
- $e as AccordionContent,
390
- Je as AccordionItem,
391
- Ke as AccordionTrigger,
373
+ Be as Accordion,
374
+ Oe as AccordionContent,
375
+ qe as AccordionItem,
376
+ $e as AccordionTrigger,
392
377
  D as Alert,
393
378
  I as AlertDescription,
394
- Qe as AlertDialog,
395
- Ue as AlertDialogAction,
396
- We as AlertDialogCancel,
397
- Xe as AlertDialogContent,
398
- Ye as AlertDialogDescription,
399
- Ze as AlertDialogFooter,
400
- et as AlertDialogHeader,
401
- tt as AlertDialogTitle,
402
- at as AlertDialogTrigger,
379
+ Je as AlertDialog,
380
+ Ke as AlertDialogAction,
381
+ Qe as AlertDialogCancel,
382
+ Ue as AlertDialogContent,
383
+ We as AlertDialogDescription,
384
+ Xe as AlertDialogFooter,
385
+ Ye as AlertDialogHeader,
386
+ Ze as AlertDialogTitle,
387
+ ea as AlertDialogTrigger,
403
388
  k as AlertTitle,
404
- De as Badge,
405
- ot as Button,
406
- st as Card,
407
- rt as CardContent,
408
- nt as CardDescription,
409
- dt as CardFooter,
410
- it as CardHeader,
411
- lt as CardTitle,
389
+ aa as Badge,
390
+ ta as Button,
391
+ oa as Card,
392
+ sa as CardContent,
393
+ ra as CardDescription,
394
+ na as CardFooter,
395
+ da as CardHeader,
396
+ ia as CardTitle,
412
397
  b as Command,
413
- Ee as CommandDialog,
414
- oe as CommandEmpty,
415
- se as CommandGroup,
416
- te as CommandInput,
417
- ne as CommandItem,
398
+ He as CommandDialog,
399
+ te as CommandEmpty,
400
+ oe as CommandGroup,
401
+ ee as CommandInput,
402
+ re as CommandItem,
418
403
  ae as CommandList,
419
- re as CommandSeparator,
420
- de as CommandShortcut,
421
- mt as ContextMenu,
422
- ct as ContextMenuCheckboxItem,
423
- pt as ContextMenuContent,
424
- ut as ContextMenuGroup,
425
- ft as ContextMenuItem,
426
- gt as ContextMenuLabel,
427
- xt as ContextMenuPortal,
428
- bt as ContextMenuRadioGroup,
429
- ht as ContextMenuRadioItem,
430
- yt as ContextMenuSeparator,
431
- Nt as ContextMenuShortcut,
432
- vt as ContextMenuSub,
433
- wt as ContextMenuSubContent,
434
- Ct as ContextMenuSubTrigger,
435
- jt as ContextMenuTrigger,
404
+ se as CommandSeparator,
405
+ ne as CommandShortcut,
406
+ la as ContextMenu,
407
+ ma as ContextMenuCheckboxItem,
408
+ ca as ContextMenuContent,
409
+ pa as ContextMenuGroup,
410
+ ua as ContextMenuItem,
411
+ fa as ContextMenuLabel,
412
+ ga as ContextMenuPortal,
413
+ xa as ContextMenuRadioGroup,
414
+ ba as ContextMenuRadioItem,
415
+ ha as ContextMenuSeparator,
416
+ ya as ContextMenuShortcut,
417
+ Na as ContextMenuSub,
418
+ wa as ContextMenuSubContent,
419
+ va as ContextMenuSubTrigger,
420
+ Ca as ContextMenuTrigger,
436
421
  y as Dialog,
437
422
  N as DialogContent,
438
- St as DialogDescription,
439
- Mt as DialogFooter,
440
- Rt as DialogHeader,
441
- Tt as DialogTitle,
442
- Dt as DialogTrigger,
443
- kt as DropdownMenu,
444
- It as DropdownMenuCheckboxItem,
445
- _t as DropdownMenuContent,
446
- At as DropdownMenuGroup,
447
- Pt as DropdownMenuItem,
448
- Gt as DropdownMenuLabel,
449
- zt as DropdownMenuPortal,
450
- Lt as DropdownMenuRadioGroup,
451
- Vt as DropdownMenuRadioItem,
452
- Ht as DropdownMenuSeparator,
453
- Ft as DropdownMenuShortcut,
454
- Et as DropdownMenuSub,
455
- Bt as DropdownMenuSubContent,
456
- Ot as DropdownMenuSubTrigger,
457
- qt as DropdownMenuTrigger,
458
- $t as HoverCard,
459
- Jt as HoverCardContent,
460
- Kt as HoverCardTrigger,
461
- Qt as Input,
462
- Ut as Label,
463
- A as Menubar,
464
- H as MenubarCheckboxItem,
465
- L as MenubarContent,
466
- Ie as MenubarGroup,
467
- V as MenubarItem,
468
- E as MenubarLabel,
469
- ke as MenubarMenu,
470
- _e as MenubarPortal,
471
- Pe as MenubarRadioGroup,
472
- F as MenubarRadioItem,
473
- B as MenubarSeparator,
474
- O as MenubarShortcut,
475
- Ae as MenubarSub,
476
- z as MenubarSubContent,
477
- G as MenubarSubTrigger,
478
- P as MenubarTrigger,
479
- Wt as Popover,
480
- Xt as PopoverContent,
481
- Yt as PopoverTrigger,
482
- Zt as ScrollArea,
483
- ea as ScrollBar,
484
- Ge as Select,
485
- $ as SelectContent,
486
- ze as SelectGroup,
487
- K as SelectItem,
488
- J as SelectLabel,
489
- Q as SelectSeparator,
490
- q as SelectTrigger,
491
- Le as SelectValue,
492
- ta as Separator,
493
- Ve as Sheet,
494
- Fe as SheetClose,
495
- W as SheetContent,
496
- ee as SheetDescription,
497
- Y as SheetFooter,
498
- X as SheetHeader,
499
- Z as SheetTitle,
500
- He as SheetTrigger,
501
- aa as Skeleton,
502
- oa as Switch,
503
- sa as Tabs,
504
- ra as TabsContent,
505
- na as TabsList,
506
- da as TabsTrigger,
507
- ia as Textarea,
508
- la as Toaster,
423
+ ja as DialogDescription,
424
+ Sa as DialogFooter,
425
+ Ma as DialogHeader,
426
+ Ra as DialogTitle,
427
+ Ta as DialogTrigger,
428
+ Da as DropdownMenu,
429
+ ka as DropdownMenuCheckboxItem,
430
+ Ia as DropdownMenuContent,
431
+ _a as DropdownMenuGroup,
432
+ Aa as DropdownMenuItem,
433
+ Pa as DropdownMenuLabel,
434
+ Ga as DropdownMenuPortal,
435
+ za as DropdownMenuRadioGroup,
436
+ La as DropdownMenuRadioItem,
437
+ Va as DropdownMenuSeparator,
438
+ Ha as DropdownMenuShortcut,
439
+ Fa as DropdownMenuSub,
440
+ Ea as DropdownMenuSubContent,
441
+ Ba as DropdownMenuSubTrigger,
442
+ Oa as DropdownMenuTrigger,
443
+ qa as HoverCard,
444
+ $a as HoverCardContent,
445
+ Ja as HoverCardTrigger,
446
+ Ka as Input,
447
+ Qa as Label,
448
+ _ as Menubar,
449
+ V as MenubarCheckboxItem,
450
+ z as MenubarContent,
451
+ De as MenubarGroup,
452
+ L as MenubarItem,
453
+ F as MenubarLabel,
454
+ Te as MenubarMenu,
455
+ ke as MenubarPortal,
456
+ _e as MenubarRadioGroup,
457
+ H as MenubarRadioItem,
458
+ E as MenubarSeparator,
459
+ B as MenubarShortcut,
460
+ Ie as MenubarSub,
461
+ G as MenubarSubContent,
462
+ P as MenubarSubTrigger,
463
+ A as MenubarTrigger,
464
+ Ua as Popover,
465
+ Wa as PopoverContent,
466
+ Xa as PopoverTrigger,
467
+ Ya as ScrollArea,
468
+ Za as ScrollBar,
469
+ Ae as Select,
470
+ q as SelectContent,
471
+ Pe as SelectGroup,
472
+ J as SelectItem,
473
+ $ as SelectLabel,
474
+ K as SelectSeparator,
475
+ O as SelectTrigger,
476
+ Ge as SelectValue,
477
+ et as Separator,
478
+ ze as Sheet,
479
+ Ve as SheetClose,
480
+ U as SheetContent,
481
+ Z as SheetDescription,
482
+ X as SheetFooter,
483
+ W as SheetHeader,
484
+ Y as SheetTitle,
485
+ Le as SheetTrigger,
486
+ at as Skeleton,
487
+ tt as Switch,
488
+ ot as Tabs,
489
+ st as TabsContent,
490
+ rt as TabsList,
491
+ nt as TabsTrigger,
492
+ dt as Textarea,
493
+ it as Toaster,
509
494
  R as Toggle,
510
- ma as Tooltip,
511
- ca as TooltipContent,
512
- pa as TooltipPortal,
513
- ua as TooltipProvider,
514
- fa as TooltipTrigger,
515
- _ as badgeVariants,
516
- ga as buttonVariants,
517
- xa as reducer,
518
- ba as toast,
495
+ lt as Tooltip,
496
+ mt as TooltipContent,
497
+ ct as TooltipPortal,
498
+ pt as TooltipProvider,
499
+ ut as TooltipTrigger,
500
+ ft as badgeVariants,
501
+ gt as buttonVariants,
502
+ xt as reducer,
503
+ bt as toast,
519
504
  M as toggleVariants,
520
- ha as useToast
505
+ ht as useToast
521
506
  };