@chaibuilder/sdk 2.0.12 → 2.1.0
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-BVHvdz8H.cjs → CodeEditor-BG4oToVY.cjs} +1 -1
- package/dist/{CodeEditor-ZtRSywKI.js → CodeEditor-CdNhJvdd.js} +1 -1
- package/dist/core.cjs +6 -6
- package/dist/core.d.ts +174 -168
- package/dist/core.js +7683 -4348
- package/dist/render.d.ts +1 -0
- package/dist/tooltip-CkYl0YhP.cjs +1 -0
- package/dist/tooltip-D9DF_nUo.js +1900 -0
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.ts +36 -3
- package/dist/ui.js +225 -291
- package/dist/web-blocks.cjs +2 -2
- package/dist/web-blocks.js +300 -309
- package/package.json +3 -1
- package/dist/Topbar-CX5hnmQJ.js +0 -16
- package/dist/Topbar-D7QTF9G-.cjs +0 -1
- package/dist/tooltip-BMhhYJb6.cjs +0 -1
- package/dist/tooltip-VMv3Eoxb.js +0 -671
package/dist/ui.js
CHANGED
|
@@ -1,261 +1,187 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { A as
|
|
3
|
-
import {
|
|
4
|
-
import * as
|
|
5
|
-
import { cva as u } from "class-variance-authority";
|
|
1
|
+
import { c as i } from "./tooltip-D9DF_nUo.js";
|
|
2
|
+
import { A as Y, d as Z, a as _, b as $, e as ee, g as ae, h as te, o as oe, p as re, j as se, n as ne, l as ie, k as de, m as le, i as ce, f as me, q as pe, r as ue, s as fe, t as ge, B as be, C as he, D as xe, z as Ce, x as we, w as ye, y as Ne, E as ve, F as Se, I as De, J as Te, G as Ie, K as Me, H as Re, M as Ae, L as Fe, N as ke, P as Pe, T as ze, R as Le, Q as Ge, S as je, O as He, U as Ve, Y as Be, W as Ee, a1 as qe, X as Je, _ as Ke, a2 as Oe, a6 as Qe, Z as Ue, $ as We, a0 as Xe, a3 as Ye, a4 as Ze, a5 as _e, V as $e, a7 as ea, a8 as aa, a9 as ta, aa as oa, ab as ra, ac as sa, ad as na, af as ia, ah as da, ag as la, ai as ca, aj as ma, ak as pa, am as ua, al as fa, an as ga, ao as ba, ap as ha, aq as xa, as as Ca, at as wa, ax as ya, av as Na, au as va, aw as Sa, ar as Da, ay as Ta, aA as Ia, aB as Ma, aE as Ra, aC as Aa, aD as Fa, aF as ka, az as Pa, aG as za, aI as La, aK as Ga, aJ as ja, aH as Ha, u as Va, v as Ba, ae as Ea } from "./tooltip-D9DF_nUo.js";
|
|
3
|
+
import { jsxs as c, jsx as o } from "react/jsx-runtime";
|
|
4
|
+
import * as d from "react";
|
|
6
5
|
import * as r from "@radix-ui/react-context-menu";
|
|
7
|
-
import { ChevronRightIcon as
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
11
|
-
import
|
|
12
|
-
const
|
|
13
|
-
"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",
|
|
14
|
-
{
|
|
15
|
-
variants: {
|
|
16
|
-
variant: {
|
|
17
|
-
default: "bg-background text-foreground",
|
|
18
|
-
destructive: "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
defaultVariants: {
|
|
22
|
-
variant: "default"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
), C = n.forwardRef(({ className: e, variant: t, ...a }, d) => /* @__PURE__ */ o("div", { ref: d, role: "alert", className: s(w({ variant: t }), e), ...a }));
|
|
26
|
-
C.displayName = "Alert";
|
|
27
|
-
const S = n.forwardRef(
|
|
28
|
-
({ className: e, ...t }, a) => /* @__PURE__ */ o("h5", { ref: a, className: s("mb-1 font-medium leading-none tracking-tight", e), ...t })
|
|
29
|
-
);
|
|
30
|
-
S.displayName = "AlertTitle";
|
|
31
|
-
const T = n.forwardRef(
|
|
32
|
-
({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { ref: a, className: s("text-sm [&_p]:leading-relaxed", e), ...t })
|
|
33
|
-
);
|
|
34
|
-
T.displayName = "AlertDescription";
|
|
35
|
-
const $ = r.Root, ee = r.Trigger, te = r.Group, ae = r.Portal, oe = r.Sub, se = r.RadioGroup, D = n.forwardRef(({ className: e, inset: t, children: a, ...d }, c) => /* @__PURE__ */ m(
|
|
6
|
+
import { ChevronRightIcon as f, CheckIcon as p, DotFilledIcon as g, CaretSortIcon as b } from "@radix-ui/react-icons";
|
|
7
|
+
import * as s from "@radix-ui/react-select";
|
|
8
|
+
import * as m from "@radix-ui/react-slider";
|
|
9
|
+
import * as u from "@radix-ui/react-toggle";
|
|
10
|
+
import { cva as h } from "class-variance-authority";
|
|
11
|
+
const V = r.Root, B = r.Trigger, E = r.Group, q = r.Portal, J = r.Sub, K = r.RadioGroup, x = d.forwardRef(({ className: e, inset: a, children: t, ...n }, l) => /* @__PURE__ */ c(
|
|
36
12
|
r.SubTrigger,
|
|
37
13
|
{
|
|
38
|
-
ref:
|
|
39
|
-
className:
|
|
14
|
+
ref: l,
|
|
15
|
+
className: i(
|
|
40
16
|
"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",
|
|
41
|
-
|
|
17
|
+
a && "pl-8",
|
|
42
18
|
e
|
|
43
19
|
),
|
|
44
|
-
...
|
|
20
|
+
...n,
|
|
45
21
|
children: [
|
|
46
|
-
|
|
47
|
-
/* @__PURE__ */ o(
|
|
22
|
+
t,
|
|
23
|
+
/* @__PURE__ */ o(f, { className: "ml-auto h-4 w-4" })
|
|
48
24
|
]
|
|
49
25
|
}
|
|
50
26
|
));
|
|
51
|
-
|
|
52
|
-
const
|
|
27
|
+
x.displayName = r.SubTrigger.displayName;
|
|
28
|
+
const C = d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
53
29
|
r.SubContent,
|
|
54
30
|
{
|
|
55
|
-
ref:
|
|
56
|
-
className:
|
|
31
|
+
ref: t,
|
|
32
|
+
className: i(
|
|
57
33
|
"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",
|
|
58
34
|
e
|
|
59
35
|
),
|
|
60
|
-
...
|
|
36
|
+
...a
|
|
61
37
|
}
|
|
62
38
|
));
|
|
63
|
-
|
|
64
|
-
const
|
|
39
|
+
C.displayName = r.SubContent.displayName;
|
|
40
|
+
const w = d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(r.Portal, { children: /* @__PURE__ */ o(
|
|
65
41
|
r.Content,
|
|
66
42
|
{
|
|
67
|
-
ref:
|
|
68
|
-
className:
|
|
43
|
+
ref: t,
|
|
44
|
+
className: i(
|
|
69
45
|
"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",
|
|
70
46
|
e
|
|
71
47
|
),
|
|
72
|
-
...
|
|
48
|
+
...a
|
|
73
49
|
}
|
|
74
50
|
) }));
|
|
75
|
-
|
|
76
|
-
const
|
|
51
|
+
w.displayName = r.Content.displayName;
|
|
52
|
+
const y = d.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(
|
|
77
53
|
r.Item,
|
|
78
54
|
{
|
|
79
|
-
ref:
|
|
80
|
-
className:
|
|
55
|
+
ref: n,
|
|
56
|
+
className: i(
|
|
81
57
|
"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",
|
|
82
|
-
|
|
58
|
+
a && "pl-8",
|
|
83
59
|
e
|
|
84
60
|
),
|
|
85
|
-
...
|
|
61
|
+
...t
|
|
86
62
|
}
|
|
87
63
|
));
|
|
88
|
-
|
|
89
|
-
const
|
|
64
|
+
y.displayName = r.Item.displayName;
|
|
65
|
+
const N = d.forwardRef(({ className: e, children: a, checked: t, ...n }, l) => /* @__PURE__ */ c(
|
|
90
66
|
r.CheckboxItem,
|
|
91
67
|
{
|
|
92
|
-
ref:
|
|
93
|
-
className:
|
|
68
|
+
ref: l,
|
|
69
|
+
className: i(
|
|
94
70
|
"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",
|
|
95
71
|
e
|
|
96
72
|
),
|
|
97
|
-
checked:
|
|
98
|
-
...
|
|
73
|
+
checked: t,
|
|
74
|
+
...n,
|
|
99
75
|
children: [
|
|
100
|
-
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(r.ItemIndicator, { children: /* @__PURE__ */ o(
|
|
101
|
-
|
|
76
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(r.ItemIndicator, { children: /* @__PURE__ */ o(p, { className: "h-4 w-4" }) }) }),
|
|
77
|
+
a
|
|
102
78
|
]
|
|
103
79
|
}
|
|
104
80
|
));
|
|
105
|
-
|
|
106
|
-
const
|
|
81
|
+
N.displayName = r.CheckboxItem.displayName;
|
|
82
|
+
const v = d.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ c(
|
|
107
83
|
r.RadioItem,
|
|
108
84
|
{
|
|
109
|
-
ref:
|
|
110
|
-
className:
|
|
85
|
+
ref: n,
|
|
86
|
+
className: i(
|
|
111
87
|
"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",
|
|
112
88
|
e
|
|
113
89
|
),
|
|
114
|
-
...
|
|
90
|
+
...t,
|
|
115
91
|
children: [
|
|
116
|
-
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(r.ItemIndicator, { children: /* @__PURE__ */ o(
|
|
117
|
-
|
|
92
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(r.ItemIndicator, { children: /* @__PURE__ */ o(g, { className: "h-4 w-4 fill-current" }) }) }),
|
|
93
|
+
a
|
|
118
94
|
]
|
|
119
95
|
}
|
|
120
96
|
));
|
|
121
|
-
|
|
122
|
-
const
|
|
97
|
+
v.displayName = r.RadioItem.displayName;
|
|
98
|
+
const S = d.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(
|
|
123
99
|
r.Label,
|
|
124
100
|
{
|
|
125
|
-
ref:
|
|
126
|
-
className:
|
|
127
|
-
...
|
|
101
|
+
ref: n,
|
|
102
|
+
className: i("px-2 py-1.5 text-sm font-semibold text-foreground", a && "pl-8", e),
|
|
103
|
+
...t
|
|
128
104
|
}
|
|
129
105
|
));
|
|
130
|
-
|
|
131
|
-
const
|
|
132
|
-
|
|
133
|
-
const
|
|
134
|
-
|
|
135
|
-
const
|
|
136
|
-
|
|
106
|
+
S.displayName = r.Label.displayName;
|
|
107
|
+
const D = d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(r.Separator, { ref: t, className: i("-mx-1 my-1 h-px bg-border", e), ...a }));
|
|
108
|
+
D.displayName = r.Separator.displayName;
|
|
109
|
+
const T = ({ className: e, ...a }) => /* @__PURE__ */ o("span", { className: i("ml-auto text-xs tracking-widest text-muted-foreground", e), ...a });
|
|
110
|
+
T.displayName = "ContextMenuShortcut";
|
|
111
|
+
const O = s.Root, Q = s.Group, U = s.Value, I = d.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ c(
|
|
112
|
+
s.Trigger,
|
|
137
113
|
{
|
|
138
|
-
ref:
|
|
139
|
-
className:
|
|
114
|
+
ref: n,
|
|
115
|
+
className: i(
|
|
140
116
|
"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",
|
|
141
117
|
e
|
|
142
118
|
),
|
|
143
|
-
...
|
|
119
|
+
...t,
|
|
144
120
|
children: [
|
|
145
|
-
|
|
146
|
-
/* @__PURE__ */ o(
|
|
121
|
+
a,
|
|
122
|
+
/* @__PURE__ */ o(s.Icon, { asChild: !0, children: /* @__PURE__ */ o(b, { className: "h-4 w-4 opacity-50" }) })
|
|
147
123
|
]
|
|
148
124
|
}
|
|
149
125
|
));
|
|
150
|
-
|
|
151
|
-
const
|
|
152
|
-
|
|
126
|
+
I.displayName = s.Trigger.displayName;
|
|
127
|
+
const M = d.forwardRef(({ className: e, children: a, position: t = "popper", ...n }, l) => /* @__PURE__ */ o(s.Portal, { children: /* @__PURE__ */ o(
|
|
128
|
+
s.Content,
|
|
153
129
|
{
|
|
154
|
-
ref:
|
|
155
|
-
className:
|
|
130
|
+
ref: l,
|
|
131
|
+
className: i(
|
|
156
132
|
"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",
|
|
157
|
-
|
|
133
|
+
t === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
158
134
|
e
|
|
159
135
|
),
|
|
160
|
-
position:
|
|
161
|
-
...
|
|
136
|
+
position: t,
|
|
137
|
+
...n,
|
|
162
138
|
children: /* @__PURE__ */ o(
|
|
163
|
-
|
|
139
|
+
s.Viewport,
|
|
164
140
|
{
|
|
165
|
-
className:
|
|
141
|
+
className: i(
|
|
166
142
|
"p-1",
|
|
167
|
-
|
|
143
|
+
t === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
|
|
168
144
|
),
|
|
169
|
-
children:
|
|
145
|
+
children: a
|
|
170
146
|
}
|
|
171
147
|
)
|
|
172
148
|
}
|
|
173
149
|
) }));
|
|
174
|
-
|
|
175
|
-
const
|
|
176
|
-
|
|
177
|
-
const
|
|
178
|
-
|
|
150
|
+
M.displayName = s.Content.displayName;
|
|
151
|
+
const R = d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(s.Label, { ref: t, className: i("px-2 py-1.5 text-sm font-semibold", e), ...a }));
|
|
152
|
+
R.displayName = s.Label.displayName;
|
|
153
|
+
const A = d.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ c(
|
|
154
|
+
s.Item,
|
|
179
155
|
{
|
|
180
|
-
ref:
|
|
181
|
-
className:
|
|
156
|
+
ref: n,
|
|
157
|
+
className: i(
|
|
182
158
|
"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",
|
|
183
159
|
e
|
|
184
160
|
),
|
|
185
|
-
...
|
|
161
|
+
...t,
|
|
186
162
|
children: [
|
|
187
|
-
/* @__PURE__ */ o("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(
|
|
188
|
-
/* @__PURE__ */ o(
|
|
163
|
+
/* @__PURE__ */ o("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(s.ItemIndicator, { children: /* @__PURE__ */ o(p, { className: "h-4 w-4" }) }) }),
|
|
164
|
+
/* @__PURE__ */ o(s.ItemText, { children: a })
|
|
189
165
|
]
|
|
190
166
|
}
|
|
191
167
|
));
|
|
192
|
-
|
|
193
|
-
const F =
|
|
194
|
-
F.displayName =
|
|
195
|
-
const
|
|
196
|
-
|
|
197
|
-
const h = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
|
|
198
|
-
l.Overlay,
|
|
199
|
-
{
|
|
200
|
-
className: s(
|
|
201
|
-
"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",
|
|
202
|
-
e
|
|
203
|
-
),
|
|
204
|
-
...t,
|
|
205
|
-
ref: a
|
|
206
|
-
}
|
|
207
|
-
));
|
|
208
|
-
h.displayName = l.Overlay.displayName;
|
|
209
|
-
const B = u(
|
|
210
|
-
"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",
|
|
168
|
+
A.displayName = s.Item.displayName;
|
|
169
|
+
const F = d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(s.Separator, { ref: t, className: i("-mx-1 my-1 h-px bg-muted", e), ...a }));
|
|
170
|
+
F.displayName = s.Separator.displayName;
|
|
171
|
+
const k = d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ c(
|
|
172
|
+
m.Root,
|
|
211
173
|
{
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
bottom: "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
|
|
216
|
-
left: "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
|
|
217
|
-
right: "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
defaultVariants: {
|
|
221
|
-
side: "right"
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
), O = n.forwardRef(
|
|
225
|
-
({ side: e = "right", className: t, children: a, ...d }, c) => /* @__PURE__ */ m(b, { children: [
|
|
226
|
-
/* @__PURE__ */ o(h, {}),
|
|
227
|
-
/* @__PURE__ */ m(l.Content, { ref: c, className: s(B({ side: e }), t), ...d, children: [
|
|
228
|
-
a,
|
|
229
|
-
/* @__PURE__ */ m(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: [
|
|
230
|
-
/* @__PURE__ */ o(v, { className: "h-4 w-4" }),
|
|
231
|
-
/* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
|
|
232
|
-
] })
|
|
233
|
-
] })
|
|
234
|
-
] })
|
|
235
|
-
);
|
|
236
|
-
O.displayName = l.Content.displayName;
|
|
237
|
-
const q = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
|
|
238
|
-
q.displayName = "SheetHeader";
|
|
239
|
-
const E = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
|
|
240
|
-
E.displayName = "SheetFooter";
|
|
241
|
-
const _ = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(l.Title, { ref: a, className: s("text-lg font-semibold text-foreground", e), ...t }));
|
|
242
|
-
_.displayName = l.Title.displayName;
|
|
243
|
-
const J = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(l.Description, { ref: a, className: s("text-sm text-muted-foreground", e), ...t }));
|
|
244
|
-
J.displayName = l.Description.displayName;
|
|
245
|
-
const K = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ m(
|
|
246
|
-
p.Root,
|
|
247
|
-
{
|
|
248
|
-
ref: a,
|
|
249
|
-
className: s("relative flex w-full touch-none select-none items-center", e),
|
|
250
|
-
...t,
|
|
174
|
+
ref: t,
|
|
175
|
+
className: i("relative flex w-full touch-none select-none items-center", e),
|
|
176
|
+
...a,
|
|
251
177
|
children: [
|
|
252
|
-
/* @__PURE__ */ o(
|
|
253
|
-
/* @__PURE__ */ o(
|
|
178
|
+
/* @__PURE__ */ o(m.Track, { className: "relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20", children: /* @__PURE__ */ o(m.Range, { className: "absolute h-full bg-primary" }) }),
|
|
179
|
+
/* @__PURE__ */ o(m.Thumb, { className: "block h-4 w-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50" })
|
|
254
180
|
]
|
|
255
181
|
}
|
|
256
182
|
));
|
|
257
|
-
|
|
258
|
-
const
|
|
183
|
+
k.displayName = m.Root.displayName;
|
|
184
|
+
const P = h(
|
|
259
185
|
"inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",
|
|
260
186
|
{
|
|
261
187
|
variants: {
|
|
@@ -274,125 +200,133 @@ const Q = u(
|
|
|
274
200
|
size: "default"
|
|
275
201
|
}
|
|
276
202
|
}
|
|
277
|
-
),
|
|
278
|
-
|
|
203
|
+
), z = d.forwardRef(({ className: e, variant: a, size: t, ...n }, l) => /* @__PURE__ */ o(u.Root, { ref: l, className: i(P({ variant: a, size: t, className: e })), ...n }));
|
|
204
|
+
z.displayName = u.Root.displayName;
|
|
279
205
|
export {
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
206
|
+
Y as Accordion,
|
|
207
|
+
Z as AccordionContent,
|
|
208
|
+
_ as AccordionItem,
|
|
209
|
+
$ as AccordionTrigger,
|
|
210
|
+
ee as Alert,
|
|
211
|
+
ae as AlertDescription,
|
|
212
|
+
te as AlertDialog,
|
|
213
|
+
oe as AlertDialogAction,
|
|
214
|
+
re as AlertDialogCancel,
|
|
215
|
+
se as AlertDialogContent,
|
|
216
|
+
ne as AlertDialogDescription,
|
|
217
|
+
ie as AlertDialogFooter,
|
|
218
|
+
de as AlertDialogHeader,
|
|
219
|
+
le as AlertDialogTitle,
|
|
220
|
+
ce as AlertDialogTrigger,
|
|
221
|
+
me as AlertTitle,
|
|
222
|
+
pe as Avatar,
|
|
223
|
+
ue as AvatarFallback,
|
|
224
|
+
fe as AvatarImage,
|
|
225
|
+
ge as Badge,
|
|
226
|
+
be as Button,
|
|
227
|
+
he as Card,
|
|
228
|
+
xe as CardContent,
|
|
229
|
+
Ce as CardDescription,
|
|
230
|
+
we as CardFooter,
|
|
231
|
+
ye as CardHeader,
|
|
232
|
+
Ne as CardTitle,
|
|
233
|
+
ve as Command,
|
|
234
|
+
Se as CommandDialog,
|
|
235
|
+
De as CommandEmpty,
|
|
236
|
+
Te as CommandGroup,
|
|
237
|
+
Ie as CommandInput,
|
|
238
|
+
Me as CommandItem,
|
|
239
|
+
Re as CommandList,
|
|
240
|
+
Ae as CommandSeparator,
|
|
241
|
+
Fe as CommandShortcut,
|
|
242
|
+
V as ContextMenu,
|
|
243
|
+
N as ContextMenuCheckboxItem,
|
|
244
|
+
w as ContextMenuContent,
|
|
245
|
+
E as ContextMenuGroup,
|
|
246
|
+
y as ContextMenuItem,
|
|
247
|
+
S as ContextMenuLabel,
|
|
248
|
+
q as ContextMenuPortal,
|
|
249
|
+
K as ContextMenuRadioGroup,
|
|
250
|
+
v as ContextMenuRadioItem,
|
|
251
|
+
D as ContextMenuSeparator,
|
|
252
|
+
T as ContextMenuShortcut,
|
|
253
|
+
J as ContextMenuSub,
|
|
254
|
+
C as ContextMenuSubContent,
|
|
255
|
+
x as ContextMenuSubTrigger,
|
|
256
|
+
B as ContextMenuTrigger,
|
|
257
|
+
ke as Dialog,
|
|
258
|
+
Pe as DialogContent,
|
|
259
|
+
ze as DialogDescription,
|
|
260
|
+
Le as DialogFooter,
|
|
261
|
+
Ge as DialogHeader,
|
|
262
|
+
je as DialogTitle,
|
|
263
|
+
He as DialogTrigger,
|
|
264
|
+
Ve as DropdownMenu,
|
|
265
|
+
Be as DropdownMenuCheckboxItem,
|
|
266
|
+
Ee as DropdownMenuContent,
|
|
267
|
+
qe as DropdownMenuGroup,
|
|
268
|
+
Je as DropdownMenuItem,
|
|
269
|
+
Ke as DropdownMenuLabel,
|
|
270
|
+
Oe as DropdownMenuPortal,
|
|
271
|
+
Qe as DropdownMenuRadioGroup,
|
|
272
|
+
Ue as DropdownMenuRadioItem,
|
|
273
|
+
We as DropdownMenuSeparator,
|
|
274
|
+
Xe as DropdownMenuShortcut,
|
|
275
|
+
Ye as DropdownMenuSub,
|
|
276
|
+
Ze as DropdownMenuSubContent,
|
|
277
|
+
_e as DropdownMenuSubTrigger,
|
|
278
|
+
$e as DropdownMenuTrigger,
|
|
279
|
+
ea as Form,
|
|
280
|
+
aa as FormControl,
|
|
281
|
+
ta as FormDescription,
|
|
282
|
+
oa as FormField,
|
|
283
|
+
ra as FormItem,
|
|
284
|
+
sa as FormLabel,
|
|
285
|
+
na as FormMessage,
|
|
286
|
+
ia as HoverCard,
|
|
287
|
+
da as HoverCardContent,
|
|
288
|
+
la as HoverCardTrigger,
|
|
289
|
+
ca as Input,
|
|
290
|
+
ma as Label,
|
|
291
|
+
pa as Popover,
|
|
292
|
+
ua as PopoverContent,
|
|
293
|
+
fa as PopoverTrigger,
|
|
294
|
+
ga as ScrollArea,
|
|
295
|
+
ba as ScrollBar,
|
|
296
|
+
O as Select,
|
|
297
|
+
M as SelectContent,
|
|
298
|
+
Q as SelectGroup,
|
|
299
|
+
A as SelectItem,
|
|
300
|
+
R as SelectLabel,
|
|
368
301
|
F as SelectSeparator,
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
302
|
+
I as SelectTrigger,
|
|
303
|
+
U as SelectValue,
|
|
304
|
+
ha as Separator,
|
|
305
|
+
xa as Sheet,
|
|
306
|
+
Ca as SheetClose,
|
|
307
|
+
wa as SheetContent,
|
|
308
|
+
ya as SheetDescription,
|
|
309
|
+
Na as SheetFooter,
|
|
310
|
+
va as SheetHeader,
|
|
311
|
+
Sa as SheetTitle,
|
|
312
|
+
Da as SheetTrigger,
|
|
313
|
+
Ta as Skeleton,
|
|
314
|
+
k as Slider,
|
|
315
|
+
Ia as Switch,
|
|
316
|
+
Ma as Tabs,
|
|
317
|
+
Ra as TabsContent,
|
|
318
|
+
Aa as TabsList,
|
|
319
|
+
Fa as TabsTrigger,
|
|
320
|
+
ka as Textarea,
|
|
321
|
+
Pa as Toaster,
|
|
322
|
+
z as Toggle,
|
|
323
|
+
za as Tooltip,
|
|
324
|
+
La as TooltipContent,
|
|
325
|
+
Ga as TooltipPortal,
|
|
326
|
+
ja as TooltipProvider,
|
|
327
|
+
Ha as TooltipTrigger,
|
|
328
|
+
Va as badgeVariants,
|
|
329
|
+
Ba as buttonVariants,
|
|
330
|
+
P as toggleVariants,
|
|
331
|
+
Ea as useFormField
|
|
398
332
|
};
|