@moises.ai/design-system 2.0.4 → 2.0.6
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/colors/custom-styles.css +30 -0
- package/dist/icons.js +1 -1
- package/dist/{index-Cz-U2WeV.js → index-CsjBionl.js} +3370 -3205
- package/dist/index.js +1007 -795
- package/dist/primitives.js +1433 -1593
- package/dist/{react-icons.esm-oPXFAjzR.js → react-icons.esm-CDVTF3xl.js} +133 -133
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,153 +1,153 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import x, { useState as
|
|
4
|
-
import { S as $, P as
|
|
5
|
-
import { C as
|
|
6
|
-
function
|
|
7
|
-
return
|
|
1
|
+
import { jsx as m, jsxs as E, Fragment as La } from "react/jsx-runtime";
|
|
2
|
+
import * as t from "react";
|
|
3
|
+
import x, { useState as Oa, useRef as Ha, useCallback as F, useMemo as ge, memo as Ga } from "react";
|
|
4
|
+
import { S as $, P as je, a as Fa, A as Wa, C as qa, b as Ka, O as Za, c as Qa, D as Ya, R as Ua, T as Xa, d as Ja, e as er, f as tr, F as ar, I as rr, g as sr, u as Le, h as nr, i as lr, j as Oe, V as He, k as ye, l as Ce, m as or, n as cr, o as be, p as Ge, q as Fe, r as ir, G as ur, s as dr, L as mr, t as pr, v as fr, w as gr, x as hr, y as vr, z as Nr, B as yr, E as Cr, H as $r, J as br, K as wr, M as Er, N as Rr, Q as Sr, U as xr, W as Tr, X as Mr, Y as zr, Z as Pr, _ as Ir, $ as kr, a0 as _r, a1 as Br, a2 as Ar, a3 as Vr, a4 as Dr, a5 as jr, a6 as Lr, a7 as We, a8 as qe, a9 as Or, aa as Ke, ab as Ze, ac as Hr, ad as Gr, ae as Fr, af as Wr, ag as qr, ah as Kr, ai as Zr, aj as Qr, ak as Yr, al as Ur, am as Xr, an as Jr, ao as es, ap as ts, aq as as, ar as rs, as as Qe, at as Ye, au as Ue, av as Xe, aw as ss, ax as ns, ay as ls, az as os, aA as cs, aB as is, aC as Je, aD as et, aE as us, aF as tt, aG as at, aH as ds, aI as ms, aJ as ps, aK as fs, aL as gs, aM as hs, aN as vs, aO as Ns, aP as ys } from "./index-CsjBionl.js";
|
|
5
|
+
import { C as Cs, I as rt } from "./react-icons.esm-CDVTF3xl.js";
|
|
6
|
+
function $s(e) {
|
|
7
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
8
8
|
}
|
|
9
|
-
var
|
|
9
|
+
var st = { exports: {} };
|
|
10
10
|
/*!
|
|
11
11
|
Copyright (c) 2018 Jed Watson.
|
|
12
12
|
Licensed under the MIT License (MIT), see
|
|
13
13
|
http://jedwatson.github.io/classnames
|
|
14
14
|
*/
|
|
15
|
-
(function(
|
|
15
|
+
(function(e) {
|
|
16
16
|
(function() {
|
|
17
17
|
var a = {}.hasOwnProperty;
|
|
18
18
|
function r() {
|
|
19
|
-
for (var
|
|
20
|
-
var c = arguments[
|
|
21
|
-
c && (
|
|
19
|
+
for (var l = "", o = 0; o < arguments.length; o++) {
|
|
20
|
+
var c = arguments[o];
|
|
21
|
+
c && (l = n(l, s(c)));
|
|
22
22
|
}
|
|
23
|
-
return
|
|
23
|
+
return l;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
26
|
-
if (typeof
|
|
27
|
-
return
|
|
28
|
-
if (typeof
|
|
25
|
+
function s(l) {
|
|
26
|
+
if (typeof l == "string" || typeof l == "number")
|
|
27
|
+
return l;
|
|
28
|
+
if (typeof l != "object")
|
|
29
29
|
return "";
|
|
30
|
-
if (Array.isArray(
|
|
31
|
-
return r.apply(null,
|
|
32
|
-
if (
|
|
33
|
-
return
|
|
34
|
-
var
|
|
35
|
-
for (var c in
|
|
36
|
-
a.call(
|
|
37
|
-
return
|
|
30
|
+
if (Array.isArray(l))
|
|
31
|
+
return r.apply(null, l);
|
|
32
|
+
if (l.toString !== Object.prototype.toString && !l.toString.toString().includes("[native code]"))
|
|
33
|
+
return l.toString();
|
|
34
|
+
var o = "";
|
|
35
|
+
for (var c in l)
|
|
36
|
+
a.call(l, c) && l[c] && (o = n(o, c));
|
|
37
|
+
return o;
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
return
|
|
39
|
+
function n(l, o) {
|
|
40
|
+
return o ? l ? l + " " + o : l + o : l;
|
|
41
41
|
}
|
|
42
|
-
|
|
42
|
+
e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
|
|
43
43
|
})();
|
|
44
|
-
})(
|
|
45
|
-
var
|
|
46
|
-
const
|
|
47
|
-
function
|
|
48
|
-
return Object.prototype.hasOwnProperty.call(
|
|
44
|
+
})(st);
|
|
45
|
+
var bs = st.exports;
|
|
46
|
+
const i = /* @__PURE__ */ $s(bs), N = { asChild: { type: "boolean" } }, R = { width: { type: "string", className: "rt-r-w", customProperties: ["--width"], responsive: !0 }, minWidth: { type: "string", className: "rt-r-min-w", customProperties: ["--min-width"], responsive: !0 }, maxWidth: { type: "string", className: "rt-r-max-w", customProperties: ["--max-width"], responsive: !0 } }, Z = { height: { type: "string", className: "rt-r-h", customProperties: ["--height"], responsive: !0 }, minHeight: { type: "string", className: "rt-r-min-h", customProperties: ["--min-height"], responsive: !0 }, maxHeight: { type: "string", className: "rt-r-max-h", customProperties: ["--max-height"], responsive: !0 } }, ws = ["1", "2", "3", "4"], nt = { ...N, align: { type: "enum", className: "rt-r-align", values: ["start", "center"], default: "center" }, size: { type: "enum", className: "rt-r-size", values: ws, default: "3", responsive: !0 }, width: R.width, minWidth: R.minWidth, maxWidth: { ...R.maxWidth, default: "600px" }, ...Z }, lt = ["gray", "gold", "bronze", "brown", "yellow", "amber", "orange", "tomato", "red", "ruby", "crimson", "pink", "plum", "purple", "violet", "iris", "indigo", "blue", "cyan", "teal", "jade", "green", "grass", "lime", "mint", "sky"], C = { color: { type: "enum", values: lt, default: void 0 } }, Q = { color: { type: "enum", values: lt, default: "" } }, b = { highContrast: { type: "boolean", className: "rt-high-contrast", default: void 0 } }, Es = ["normal", "start", "end", "both"], we = { trim: { type: "enum", className: "rt-r-lt", values: Es, responsive: !0 } }, Rs = ["left", "center", "right"], ot = { align: { type: "enum", className: "rt-r-ta", values: Rs, responsive: !0 } }, Ss = ["wrap", "nowrap", "pretty", "balance"], W = { wrap: { type: "enum", className: "rt-r-tw", values: Ss, responsive: !0 } }, q = { truncate: { type: "boolean", className: "rt-truncate" } }, xs = ["light", "regular", "medium", "bold"], pe = { weight: { type: "enum", className: "rt-r-weight", values: xs, responsive: !0 } }, Ts = ["h1", "h2", "h3", "h4", "h5", "h6"], Ms = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], zs = { as: { type: "enum", values: Ts, default: "h1" }, ...N, size: { type: "enum", className: "rt-r-size", values: Ms, default: "6", responsive: !0 }, ...pe, ...ot, ...we, ...q, ...W, ...C, ...b }, Ee = ["initial", "xs", "sm", "md", "lg", "xl"];
|
|
47
|
+
function ct(e, a) {
|
|
48
|
+
return Object.prototype.hasOwnProperty.call(e, a);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
51
|
-
return typeof
|
|
50
|
+
function ae(e) {
|
|
51
|
+
return typeof e == "object" && Object.keys(e).some((a) => Ee.includes(a));
|
|
52
52
|
}
|
|
53
|
-
function
|
|
54
|
-
const
|
|
55
|
-
return [
|
|
53
|
+
function A({ className: e, customProperties: a, ...r }) {
|
|
54
|
+
const s = se({ allowArbitraryValues: !0, className: e, ...r }), n = Ps({ customProperties: a, ...r });
|
|
55
|
+
return [s, n];
|
|
56
56
|
}
|
|
57
|
-
function
|
|
58
|
-
const
|
|
57
|
+
function se({ allowArbitraryValues: e, value: a, className: r, propValues: s, parseValue: n = (l) => l }) {
|
|
58
|
+
const l = [];
|
|
59
59
|
if (a) {
|
|
60
|
-
if (typeof a == "string" &&
|
|
61
|
-
if (
|
|
62
|
-
const
|
|
63
|
-
for (const c in
|
|
64
|
-
if (!
|
|
65
|
-
const
|
|
66
|
-
if (
|
|
67
|
-
if (
|
|
68
|
-
const
|
|
69
|
-
|
|
70
|
-
} else if (
|
|
71
|
-
const
|
|
72
|
-
|
|
60
|
+
if (typeof a == "string" && s.includes(a)) return Be(r, a, n);
|
|
61
|
+
if (ae(a)) {
|
|
62
|
+
const o = a;
|
|
63
|
+
for (const c in o) {
|
|
64
|
+
if (!ct(o, c) || !Ee.includes(c)) continue;
|
|
65
|
+
const u = o[c];
|
|
66
|
+
if (u !== void 0) {
|
|
67
|
+
if (s.includes(u)) {
|
|
68
|
+
const p = Be(r, u, n), f = c === "initial" ? p : `${c}:${p}`;
|
|
69
|
+
l.push(f);
|
|
70
|
+
} else if (e) {
|
|
71
|
+
const p = c === "initial" ? r : `${c}:${r}`;
|
|
72
|
+
l.push(p);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
return
|
|
76
|
+
return l.join(" ");
|
|
77
77
|
}
|
|
78
|
-
if (
|
|
78
|
+
if (e) return r;
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
function
|
|
82
|
-
const
|
|
83
|
-
return `${
|
|
81
|
+
function Be(e, a, r) {
|
|
82
|
+
const s = e ? "-" : "", n = r(a), l = n == null ? void 0 : n.startsWith("-"), o = l ? "-" : "", c = l ? n == null ? void 0 : n.substring(1) : n;
|
|
83
|
+
return `${o}${e}${s}${c}`;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
86
|
-
let
|
|
85
|
+
function Ps({ customProperties: e, value: a, propValues: r, parseValue: s = (n) => n }) {
|
|
86
|
+
let n = {};
|
|
87
87
|
if (!(!a || typeof a == "string" && r.includes(a))) {
|
|
88
|
-
if (typeof a == "string" && (
|
|
89
|
-
const
|
|
90
|
-
for (const
|
|
91
|
-
if (!
|
|
92
|
-
const c = o
|
|
93
|
-
if (!r.includes(c)) for (const
|
|
88
|
+
if (typeof a == "string" && (n = Object.fromEntries(e.map((l) => [l, a]))), ae(a)) {
|
|
89
|
+
const l = a;
|
|
90
|
+
for (const o in l) {
|
|
91
|
+
if (!ct(l, o) || !Ee.includes(o)) continue;
|
|
92
|
+
const c = l[o];
|
|
93
|
+
if (!r.includes(c)) for (const u of e) n = { [o === "initial" ? u : `${u}-${o}`]: c, ...n };
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
for (const
|
|
97
|
-
const
|
|
98
|
-
|
|
96
|
+
for (const l in n) {
|
|
97
|
+
const o = n[l];
|
|
98
|
+
o !== void 0 && (n[l] = s(o));
|
|
99
99
|
}
|
|
100
|
-
return
|
|
100
|
+
return n;
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function ne(...e) {
|
|
104
104
|
let a = {};
|
|
105
|
-
for (const r of
|
|
105
|
+
for (const r of e) r && (a = { ...a, ...r });
|
|
106
106
|
return Object.keys(a).length ? a : void 0;
|
|
107
107
|
}
|
|
108
|
-
function
|
|
109
|
-
return Object.assign({}, ...
|
|
108
|
+
function Is(...e) {
|
|
109
|
+
return Object.assign({}, ...e);
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
let r,
|
|
113
|
-
const
|
|
114
|
-
for (const
|
|
115
|
-
let c =
|
|
116
|
-
const
|
|
117
|
-
if (
|
|
118
|
-
delete
|
|
119
|
-
const
|
|
120
|
-
if (!c ||
|
|
121
|
-
if (
|
|
122
|
-
const
|
|
123
|
-
r =
|
|
111
|
+
function d(e, ...a) {
|
|
112
|
+
let r, s;
|
|
113
|
+
const n = { ...e }, l = Is(...a);
|
|
114
|
+
for (const o in l) {
|
|
115
|
+
let c = n[o];
|
|
116
|
+
const u = l[o];
|
|
117
|
+
if (u.default !== void 0 && c === void 0 && (c = u.default), u.type === "enum" && ![u.default, ...u.values].includes(c) && !ae(c) && (c = u.default), n[o] = c, "className" in u && u.className) {
|
|
118
|
+
delete n[o];
|
|
119
|
+
const p = "responsive" in u;
|
|
120
|
+
if (!c || ae(c) && !p) continue;
|
|
121
|
+
if (ae(c) && (u.default !== void 0 && c.initial === void 0 && (c.initial = u.default), u.type === "enum" && ([u.default, ...u.values].includes(c.initial) || (c.initial = u.default))), u.type === "enum") {
|
|
122
|
+
const f = se({ allowArbitraryValues: !1, value: c, className: u.className, propValues: u.values, parseValue: u.parseValue });
|
|
123
|
+
r = i(r, f);
|
|
124
124
|
continue;
|
|
125
125
|
}
|
|
126
|
-
if (
|
|
127
|
-
const
|
|
128
|
-
|
|
126
|
+
if (u.type === "string" || u.type === "enum | string") {
|
|
127
|
+
const f = u.type === "string" ? [] : u.values, [h, y] = A({ className: u.className, customProperties: u.customProperties, propValues: f, parseValue: u.parseValue, value: c });
|
|
128
|
+
s = ne(s, y), r = i(r, h);
|
|
129
129
|
continue;
|
|
130
130
|
}
|
|
131
|
-
if (
|
|
132
|
-
r =
|
|
131
|
+
if (u.type === "boolean" && c) {
|
|
132
|
+
r = i(r, u.className);
|
|
133
133
|
continue;
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
return
|
|
137
|
+
return n.className = i(r, e.className), n.style = ne(s, e.style), n;
|
|
138
138
|
}
|
|
139
|
-
const
|
|
140
|
-
const { children: r, className:
|
|
141
|
-
return
|
|
142
|
-
});
|
|
143
|
-
|
|
144
|
-
const
|
|
145
|
-
const { children: r, className:
|
|
146
|
-
return
|
|
147
|
-
});
|
|
148
|
-
|
|
149
|
-
function
|
|
150
|
-
switch (
|
|
139
|
+
const D = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "-1", "-2", "-3", "-4", "-5", "-6", "-7", "-8", "-9"], g = { m: { type: "enum | string", values: D, responsive: !0, className: "rt-r-m", customProperties: ["--m"] }, mx: { type: "enum | string", values: D, responsive: !0, className: "rt-r-mx", customProperties: ["--ml", "--mr"] }, my: { type: "enum | string", values: D, responsive: !0, className: "rt-r-my", customProperties: ["--mt", "--mb"] }, mt: { type: "enum | string", values: D, responsive: !0, className: "rt-r-mt", customProperties: ["--mt"] }, mr: { type: "enum | string", values: D, responsive: !0, className: "rt-r-mr", customProperties: ["--mr"] }, mb: { type: "enum | string", values: D, responsive: !0, className: "rt-r-mb", customProperties: ["--mb"] }, ml: { type: "enum | string", values: D, responsive: !0, className: "rt-r-ml", customProperties: ["--ml"] } }, Re = t.forwardRef((e, a) => {
|
|
140
|
+
const { children: r, className: s, asChild: n, as: l = "h1", color: o, ...c } = d(e, zs, g);
|
|
141
|
+
return t.createElement($, { "data-accent-color": o, ...c, ref: a, className: i("rt-Heading", s) }, n ? r : t.createElement(l, null, r));
|
|
142
|
+
});
|
|
143
|
+
Re.displayName = "Heading";
|
|
144
|
+
const ks = ["span", "div", "label", "p"], _s = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], Bs = { as: { type: "enum", values: ks, default: "span" }, ...N, size: { type: "enum", className: "rt-r-size", values: _s, responsive: !0 }, ...pe, ...ot, ...we, ...q, ...W, ...C, ...b }, z = t.forwardRef((e, a) => {
|
|
145
|
+
const { children: r, className: s, asChild: n, as: l = "span", color: o, ...c } = d(e, Bs, g);
|
|
146
|
+
return t.createElement($, { "data-accent-color": o, ...c, ref: a, className: i("rt-Text", s) }, n ? r : t.createElement(l, null, r));
|
|
147
|
+
});
|
|
148
|
+
z.displayName = "Text";
|
|
149
|
+
function As(e) {
|
|
150
|
+
switch (e) {
|
|
151
151
|
case "tomato":
|
|
152
152
|
case "red":
|
|
153
153
|
case "ruby":
|
|
@@ -182,121 +182,124 @@ function Ns(t) {
|
|
|
182
182
|
return "gray";
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
-
const
|
|
186
|
-
},
|
|
187
|
-
function
|
|
188
|
-
const
|
|
189
|
-
if (
|
|
190
|
-
return
|
|
185
|
+
const Vs = ["none", "small", "medium", "large", "full"], P = { radius: { type: "enum", values: Vs, default: void 0 } }, M = { hasBackground: { default: !0 }, appearance: { default: "inherit" }, accentColor: { default: "indigo" }, grayColor: { default: "auto" }, panelBackground: { default: "translucent" }, radius: { default: "medium" }, scaling: { default: "100%" } }, K = () => {
|
|
186
|
+
}, de = t.createContext(void 0);
|
|
187
|
+
function it() {
|
|
188
|
+
const e = t.useContext(de);
|
|
189
|
+
if (e === void 0) throw new Error("`useThemeContext` must be used within a `Theme`");
|
|
190
|
+
return e;
|
|
191
191
|
}
|
|
192
|
-
const
|
|
193
|
-
|
|
194
|
-
const
|
|
195
|
-
const { appearance: r =
|
|
196
|
-
|
|
197
|
-
const [
|
|
198
|
-
|
|
199
|
-
const [
|
|
200
|
-
|
|
201
|
-
const [
|
|
202
|
-
|
|
203
|
-
const [
|
|
204
|
-
|
|
205
|
-
const [
|
|
206
|
-
return
|
|
207
|
-
});
|
|
208
|
-
|
|
209
|
-
const
|
|
210
|
-
const r =
|
|
211
|
-
return
|
|
212
|
-
});
|
|
213
|
-
|
|
214
|
-
const
|
|
215
|
-
if (!
|
|
216
|
-
return
|
|
217
|
-
},
|
|
218
|
-
|
|
219
|
-
const
|
|
220
|
-
|
|
221
|
-
const
|
|
222
|
-
const { align:
|
|
223
|
-
return
|
|
224
|
-
});
|
|
225
|
-
|
|
226
|
-
const
|
|
227
|
-
|
|
228
|
-
const
|
|
229
|
-
|
|
230
|
-
const
|
|
231
|
-
|
|
232
|
-
const
|
|
233
|
-
|
|
234
|
-
const
|
|
192
|
+
const k = t.forwardRef((e, a) => t.useContext(de) === void 0 ? t.createElement(je, { delayDuration: 200 }, t.createElement(Fa, { dir: "ltr" }, t.createElement(ut, { ...e, ref: a }))) : t.createElement(Se, { ...e, ref: a }));
|
|
193
|
+
k.displayName = "Theme";
|
|
194
|
+
const ut = t.forwardRef((e, a) => {
|
|
195
|
+
const { appearance: r = M.appearance.default, accentColor: s = M.accentColor.default, grayColor: n = M.grayColor.default, panelBackground: l = M.panelBackground.default, radius: o = M.radius.default, scaling: c = M.scaling.default, hasBackground: u = M.hasBackground.default, ...p } = e, [f, h] = t.useState(r);
|
|
196
|
+
t.useEffect(() => h(r), [r]);
|
|
197
|
+
const [y, w] = t.useState(s);
|
|
198
|
+
t.useEffect(() => w(s), [s]);
|
|
199
|
+
const [T, v] = t.useState(n);
|
|
200
|
+
t.useEffect(() => v(n), [n]);
|
|
201
|
+
const [_, V] = t.useState(l);
|
|
202
|
+
t.useEffect(() => V(l), [l]);
|
|
203
|
+
const [ce, ie] = t.useState(o);
|
|
204
|
+
t.useEffect(() => ie(o), [o]);
|
|
205
|
+
const [U, ue] = t.useState(c);
|
|
206
|
+
return t.useEffect(() => ue(c), [c]), t.createElement(Se, { ...p, ref: a, isRoot: !0, hasBackground: u, appearance: f, accentColor: y, grayColor: T, panelBackground: _, radius: ce, scaling: U, onAppearanceChange: h, onAccentColorChange: w, onGrayColorChange: v, onPanelBackgroundChange: V, onRadiusChange: ie, onScalingChange: ue });
|
|
207
|
+
});
|
|
208
|
+
ut.displayName = "ThemeRoot";
|
|
209
|
+
const Se = t.forwardRef((e, a) => {
|
|
210
|
+
const r = t.useContext(de), { asChild: s, isRoot: n, hasBackground: l, appearance: o = (r == null ? void 0 : r.appearance) ?? M.appearance.default, accentColor: c = (r == null ? void 0 : r.accentColor) ?? M.accentColor.default, grayColor: u = (r == null ? void 0 : r.resolvedGrayColor) ?? M.grayColor.default, panelBackground: p = (r == null ? void 0 : r.panelBackground) ?? M.panelBackground.default, radius: f = (r == null ? void 0 : r.radius) ?? M.radius.default, scaling: h = (r == null ? void 0 : r.scaling) ?? M.scaling.default, onAppearanceChange: y = K, onAccentColorChange: w = K, onGrayColorChange: T = K, onPanelBackgroundChange: v = K, onRadiusChange: _ = K, onScalingChange: V = K, ...ce } = e, ie = s ? $ : "div", U = u === "auto" ? As(c) : u, ue = e.appearance === "light" || e.appearance === "dark", ja = l === void 0 ? n || ue : l;
|
|
211
|
+
return t.createElement(de.Provider, { value: t.useMemo(() => ({ appearance: o, accentColor: c, grayColor: u, resolvedGrayColor: U, panelBackground: p, radius: f, scaling: h, onAppearanceChange: y, onAccentColorChange: w, onGrayColorChange: T, onPanelBackgroundChange: v, onRadiusChange: _, onScalingChange: V }), [o, c, u, U, p, f, h, y, w, T, v, _, V]) }, t.createElement(ie, { "data-is-root-theme": n ? "true" : "false", "data-accent-color": c, "data-gray-color": U, "data-has-background": ja ? "true" : "false", "data-panel-background": p, "data-radius": f, "data-scaling": h, ref: a, ...ce, className: i("radix-themes", { light: o === "light", dark: o === "dark" }, ce.className) }));
|
|
212
|
+
});
|
|
213
|
+
Se.displayName = "ThemeImpl";
|
|
214
|
+
const B = (e) => {
|
|
215
|
+
if (!t.isValidElement(e)) throw Error(`Expected a single React Element child, but got: ${t.Children.toArray(e).map((a) => typeof a == "object" && "type" in a && typeof a.type == "string" ? a.type : typeof a).join(", ")}`);
|
|
216
|
+
return e;
|
|
217
|
+
}, dt = (e) => t.createElement(Ua, { ...e });
|
|
218
|
+
dt.displayName = "AlertDialog.Root";
|
|
219
|
+
const mt = t.forwardRef(({ children: e, ...a }, r) => t.createElement(Ja, { ...a, ref: r, asChild: !0 }, B(e)));
|
|
220
|
+
mt.displayName = "AlertDialog.Trigger";
|
|
221
|
+
const pt = t.forwardRef(({ align: e, ...a }, r) => {
|
|
222
|
+
const { align: s, ...n } = nt, { className: l } = d({ align: e }, { align: s }), { className: o, forceMount: c, container: u, ...p } = d(a, n);
|
|
223
|
+
return t.createElement(Ka, { container: u, forceMount: c }, t.createElement(k, { asChild: !0 }, t.createElement(Za, { className: "rt-BaseDialogOverlay rt-AlertDialogOverlay" }, t.createElement("div", { className: "rt-BaseDialogScroll rt-AlertDialogScroll" }, t.createElement("div", { className: `rt-BaseDialogScrollPadding rt-AlertDialogScrollPadding ${l}` }, t.createElement(Qa, { ...p, ref: r, className: i("rt-BaseDialogContent", "rt-AlertDialogContent", o) }))))));
|
|
224
|
+
});
|
|
225
|
+
pt.displayName = "AlertDialog.Content";
|
|
226
|
+
const ft = t.forwardRef((e, a) => t.createElement(Xa, { asChild: !0 }, t.createElement(Re, { size: "5", mb: "3", trim: "start", ...e, asChild: !1, ref: a })));
|
|
227
|
+
ft.displayName = "AlertDialog.Title";
|
|
228
|
+
const gt = t.forwardRef((e, a) => t.createElement(Ya, { asChild: !0 }, t.createElement(z, { as: "p", size: "3", ...e, asChild: !1, ref: a })));
|
|
229
|
+
gt.displayName = "AlertDialog.Description";
|
|
230
|
+
const ht = t.forwardRef(({ children: e, ...a }, r) => t.createElement(Wa, { ...a, ref: r, asChild: !0 }, B(e)));
|
|
231
|
+
ht.displayName = "AlertDialog.Action";
|
|
232
|
+
const vt = t.forwardRef(({ children: e, ...a }, r) => t.createElement(qa, { ...a, ref: r, asChild: !0 }, B(e)));
|
|
233
|
+
vt.displayName = "AlertDialog.Cancel";
|
|
234
|
+
const sc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
235
235
|
__proto__: null,
|
|
236
|
-
Action:
|
|
237
|
-
Cancel:
|
|
238
|
-
Content:
|
|
239
|
-
Description:
|
|
240
|
-
Root:
|
|
241
|
-
Title:
|
|
242
|
-
Trigger:
|
|
243
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
244
|
-
function
|
|
245
|
-
const { asChild: r, children:
|
|
246
|
-
if (!r) return typeof a == "function" ? a(
|
|
247
|
-
const
|
|
248
|
-
return
|
|
236
|
+
Action: ht,
|
|
237
|
+
Cancel: vt,
|
|
238
|
+
Content: pt,
|
|
239
|
+
Description: gt,
|
|
240
|
+
Root: dt,
|
|
241
|
+
Title: ft,
|
|
242
|
+
Trigger: mt
|
|
243
|
+
}, Symbol.toStringTag, { value: "Module" })), nc = er, Ds = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], js = ["solid", "soft"], Ls = { ...N, size: { type: "enum", className: "rt-r-size", values: Ds, default: "3", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: js, default: "soft" }, ...Q, ...b, ...P, fallback: { type: "ReactNode", required: !0 } };
|
|
244
|
+
function xe(e, a) {
|
|
245
|
+
const { asChild: r, children: s } = e;
|
|
246
|
+
if (!r) return typeof a == "function" ? a(s) : a;
|
|
247
|
+
const n = t.Children.only(s);
|
|
248
|
+
return t.cloneElement(n, { children: typeof a == "function" ? a(n.props.children) : a });
|
|
249
249
|
}
|
|
250
|
-
const
|
|
251
|
-
const { asChild: r, children:
|
|
252
|
-
return
|
|
253
|
-
});
|
|
254
|
-
|
|
255
|
-
const
|
|
256
|
-
const [
|
|
257
|
-
return
|
|
258
|
-
var
|
|
259
|
-
(
|
|
250
|
+
const Nt = t.forwardRef((e, a) => {
|
|
251
|
+
const { asChild: r, children: s, className: n, style: l, color: o, radius: c, ...u } = d(e, Ls, g);
|
|
252
|
+
return t.createElement(tr, { "data-accent-color": o, "data-radius": c, className: i("rt-reset", "rt-AvatarRoot", n), style: l, asChild: r }, xe({ asChild: r, children: s }, t.createElement(yt, { ref: a, ...u })));
|
|
253
|
+
});
|
|
254
|
+
Nt.displayName = "Avatar";
|
|
255
|
+
const yt = t.forwardRef(({ fallback: e, ...a }, r) => {
|
|
256
|
+
const [s, n] = t.useState("idle");
|
|
257
|
+
return t.createElement(t.Fragment, null, s === "idle" || s === "loading" ? t.createElement("span", { className: "rt-AvatarFallback" }) : null, s === "error" ? t.createElement(ar, { className: i("rt-AvatarFallback", { "rt-one-letter": typeof e == "string" && e.length === 1, "rt-two-letters": typeof e == "string" && e.length === 2 }), delayMs: 0 }, e) : null, t.createElement(rr, { ref: r, className: "rt-AvatarImage", ...a, onLoadingStatusChange: (l) => {
|
|
258
|
+
var o;
|
|
259
|
+
(o = a.onLoadingStatusChange) == null || o.call(a, l), n(l);
|
|
260
260
|
} }));
|
|
261
261
|
});
|
|
262
|
-
|
|
263
|
-
const
|
|
264
|
-
const { asChild: r, className:
|
|
265
|
-
return
|
|
266
|
-
});
|
|
267
|
-
|
|
268
|
-
const
|
|
269
|
-
const { asChild: r, children:
|
|
270
|
-
return
|
|
271
|
-
});
|
|
272
|
-
|
|
273
|
-
const
|
|
274
|
-
const { className: r, asChild:
|
|
275
|
-
return
|
|
276
|
-
});
|
|
277
|
-
|
|
278
|
-
const
|
|
279
|
-
function
|
|
280
|
-
return
|
|
262
|
+
yt.displayName = "AvatarImpl";
|
|
263
|
+
const Os = ["1", "2", "3"], Hs = ["solid", "soft", "surface", "outline"], Gs = { ...N, size: { type: "enum", className: "rt-r-size", values: Os, default: "1", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: Hs, default: "soft" }, ...Q, ...b, ...P }, Fs = t.forwardRef((e, a) => {
|
|
264
|
+
const { asChild: r, className: s, color: n, radius: l, ...o } = d(e, Gs, g), c = r ? $ : "span";
|
|
265
|
+
return t.createElement(c, { "data-accent-color": n, "data-radius": l, ...o, ref: a, className: i("rt-reset", "rt-Badge", s) });
|
|
266
|
+
});
|
|
267
|
+
Fs.displayName = "Badge";
|
|
268
|
+
const Ws = t.forwardRef((e, a) => {
|
|
269
|
+
const { asChild: r, children: s, className: n, ...l } = e, o = r ? $ : "blockquote";
|
|
270
|
+
return t.createElement(z, { asChild: !0, ...l, ref: a, className: i("rt-Blockquote", n) }, t.createElement(o, null, s));
|
|
271
|
+
});
|
|
272
|
+
Ws.displayName = "Blockquote";
|
|
273
|
+
const Te = $, qs = ["div", "span"], Ks = ["none", "inline", "inline-block", "block", "contents"], Zs = { as: { type: "enum", values: qs, default: "div" }, ...N, display: { type: "enum", className: "rt-r-display", values: Ks, responsive: !0 } }, j = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], re = { p: { type: "enum | string", className: "rt-r-p", customProperties: ["--p"], values: j, responsive: !0 }, px: { type: "enum | string", className: "rt-r-px", customProperties: ["--pl", "--pr"], values: j, responsive: !0 }, py: { type: "enum | string", className: "rt-r-py", customProperties: ["--pt", "--pb"], values: j, responsive: !0 }, pt: { type: "enum | string", className: "rt-r-pt", customProperties: ["--pt"], values: j, responsive: !0 }, pr: { type: "enum | string", className: "rt-r-pr", customProperties: ["--pr"], values: j, responsive: !0 }, pb: { type: "enum | string", className: "rt-r-pb", customProperties: ["--pb"], values: j, responsive: !0 }, pl: { type: "enum | string", className: "rt-r-pl", customProperties: ["--pl"], values: j, responsive: !0 } }, he = ["visible", "hidden", "clip", "scroll", "auto"], Qs = ["static", "relative", "absolute", "fixed", "sticky"], X = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "-1", "-2", "-3", "-4", "-5", "-6", "-7", "-8", "-9"], Ys = ["0", "1"], Us = ["0", "1"], le = { ...re, ...R, ...Z, position: { type: "enum", className: "rt-r-position", values: Qs, responsive: !0 }, inset: { type: "enum | string", className: "rt-r-inset", customProperties: ["--inset"], values: X, responsive: !0 }, top: { type: "enum | string", className: "rt-r-top", customProperties: ["--top"], values: X, responsive: !0 }, right: { type: "enum | string", className: "rt-r-right", customProperties: ["--right"], values: X, responsive: !0 }, bottom: { type: "enum | string", className: "rt-r-bottom", customProperties: ["--bottom"], values: X, responsive: !0 }, left: { type: "enum | string", className: "rt-r-left", customProperties: ["--left"], values: X, responsive: !0 }, overflow: { type: "enum", className: "rt-r-overflow", values: he, responsive: !0 }, overflowX: { type: "enum", className: "rt-r-ox", values: he, responsive: !0 }, overflowY: { type: "enum", className: "rt-r-oy", values: he, responsive: !0 }, flexBasis: { type: "string", className: "rt-r-fb", customProperties: ["--flex-basis"], responsive: !0 }, flexShrink: { type: "enum | string", className: "rt-r-fs", customProperties: ["--flex-shrink"], values: Ys, responsive: !0 }, flexGrow: { type: "enum | string", className: "rt-r-fg", customProperties: ["--flex-grow"], values: Us, responsive: !0 }, gridArea: { type: "string", className: "rt-r-ga", customProperties: ["--grid-area"], responsive: !0 }, gridColumn: { type: "string", className: "rt-r-gc", customProperties: ["--grid-column"], responsive: !0 }, gridColumnStart: { type: "string", className: "rt-r-gcs", customProperties: ["--grid-column-start"], responsive: !0 }, gridColumnEnd: { type: "string", className: "rt-r-gce", customProperties: ["--grid-column-end"], responsive: !0 }, gridRow: { type: "string", className: "rt-r-gr", customProperties: ["--grid-row"], responsive: !0 }, gridRowStart: { type: "string", className: "rt-r-grs", customProperties: ["--grid-row-start"], responsive: !0 }, gridRowEnd: { type: "string", className: "rt-r-gre", customProperties: ["--grid-row-end"], responsive: !0 } }, Y = t.forwardRef((e, a) => {
|
|
274
|
+
const { className: r, asChild: s, as: n = "div", ...l } = d(e, Zs, le, g);
|
|
275
|
+
return t.createElement(s ? Te : n, { ...l, ref: a, className: i("rt-Box", r) });
|
|
276
|
+
});
|
|
277
|
+
Y.displayName = "Box";
|
|
278
|
+
const Xs = ["1", "2", "3", "4"], Js = ["classic", "solid", "soft", "surface", "outline", "ghost"], Ae = { ...N, size: { type: "enum", className: "rt-r-size", values: Xs, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: Js, default: "solid" }, ...Q, ...b, ...P, loading: { type: "boolean", className: "rt-loading", default: !1 } }, ve = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], Ct = { gap: { type: "enum | string", className: "rt-r-gap", customProperties: ["--gap"], values: ve, responsive: !0 }, gapX: { type: "enum | string", className: "rt-r-cg", customProperties: ["--column-gap"], values: ve, responsive: !0 }, gapY: { type: "enum | string", className: "rt-r-rg", customProperties: ["--row-gap"], values: ve, responsive: !0 } }, en = ["div", "span"], tn = ["none", "inline-flex", "flex"], an = ["row", "column", "row-reverse", "column-reverse"], rn = ["start", "center", "end", "baseline", "stretch"], sn = ["start", "center", "end", "between"], nn = ["nowrap", "wrap", "wrap-reverse"], $t = { as: { type: "enum", values: en, default: "div" }, ...N, display: { type: "enum", className: "rt-r-display", values: tn, responsive: !0 }, direction: { type: "enum", className: "rt-r-fd", values: an, responsive: !0 }, align: { type: "enum", className: "rt-r-ai", values: rn, responsive: !0 }, justify: { type: "enum", className: "rt-r-jc", values: sn, parseValue: ln, responsive: !0 }, wrap: { type: "enum", className: "rt-r-fw", values: nn, responsive: !0 }, ...Ct };
|
|
279
|
+
function ln(e) {
|
|
280
|
+
return e === "between" ? "space-between" : e;
|
|
281
|
+
}
|
|
282
|
+
const S = t.forwardRef((e, a) => {
|
|
283
|
+
const { className: r, asChild: s, as: n = "div", ...l } = d(e, $t, le, g);
|
|
284
|
+
return t.createElement(s ? Te : n, { ...l, ref: a, className: i("rt-Flex", r) });
|
|
285
|
+
});
|
|
286
|
+
S.displayName = "Flex";
|
|
287
|
+
const on = ["1", "2", "3"], cn = { size: { type: "enum", className: "rt-r-size", values: on, default: "2", responsive: !0 }, loading: { type: "boolean", default: !0 } }, bt = t.forwardRef((e, a) => {
|
|
288
|
+
const { className: r, children: s, loading: n, ...l } = d(e, cn, g);
|
|
289
|
+
if (!n) return s;
|
|
290
|
+
const o = t.createElement("span", { ...l, ref: a, className: i("rt-Spinner", r) }, t.createElement("span", { className: "rt-SpinnerLeaf" }), t.createElement("span", { className: "rt-SpinnerLeaf" }), t.createElement("span", { className: "rt-SpinnerLeaf" }), t.createElement("span", { className: "rt-SpinnerLeaf" }), t.createElement("span", { className: "rt-SpinnerLeaf" }), t.createElement("span", { className: "rt-SpinnerLeaf" }), t.createElement("span", { className: "rt-SpinnerLeaf" }), t.createElement("span", { className: "rt-SpinnerLeaf" }));
|
|
291
|
+
return s === void 0 ? o : t.createElement(S, { asChild: !0, position: "relative", align: "center", justify: "center" }, t.createElement("span", null, t.createElement("span", { "aria-hidden": !0, style: { display: "contents", visibility: "hidden" }, inert: void 0 }, s), t.createElement(S, { asChild: !0, align: "center", justify: "center", position: "absolute", inset: "0" }, t.createElement("span", null, o))));
|
|
292
|
+
});
|
|
293
|
+
bt.displayName = "Spinner";
|
|
294
|
+
const un = sr;
|
|
295
|
+
function wt(e, a) {
|
|
296
|
+
if (e !== void 0) return typeof e == "string" ? a(e) : Object.fromEntries(Object.entries(e).map(([r, s]) => [r, a(s)]));
|
|
281
297
|
}
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
return e.createElement(n ? Se : s, { ...o, ref: a, className: u("rt-Flex", r) });
|
|
285
|
-
});
|
|
286
|
-
ue.displayName = "Flex";
|
|
287
|
-
const Hs = ["1", "2", "3"], Fs = { size: { type: "enum", className: "rt-r-size", values: Hs, default: "2", responsive: !0 }, loading: { type: "boolean", default: !0 } }, pt = e.forwardRef((t, a) => {
|
|
288
|
-
const { className: r, children: n, loading: s, ...o } = m(t, Fs, f);
|
|
289
|
-
if (!s) return n;
|
|
290
|
-
const l = e.createElement("span", { ...o, ref: a, className: u("rt-Spinner", r) }, e.createElement("span", { className: "rt-SpinnerLeaf" }), e.createElement("span", { className: "rt-SpinnerLeaf" }), e.createElement("span", { className: "rt-SpinnerLeaf" }), e.createElement("span", { className: "rt-SpinnerLeaf" }), e.createElement("span", { className: "rt-SpinnerLeaf" }), e.createElement("span", { className: "rt-SpinnerLeaf" }), e.createElement("span", { className: "rt-SpinnerLeaf" }), e.createElement("span", { className: "rt-SpinnerLeaf" }));
|
|
291
|
-
return n === void 0 ? l : e.createElement(ue, { asChild: !0, position: "relative", align: "center", justify: "center" }, e.createElement("span", null, e.createElement("span", { "aria-hidden": !0, style: { display: "contents", visibility: "hidden" }, inert: void 0 }, n), e.createElement(ue, { asChild: !0, align: "center", justify: "center", position: "absolute", inset: "0" }, e.createElement("span", null, l))));
|
|
292
|
-
});
|
|
293
|
-
pt.displayName = "Spinner";
|
|
294
|
-
const Ws = Va;
|
|
295
|
-
function qs(t, a) {
|
|
296
|
-
if (t !== void 0) return typeof t == "string" ? a(t) : Object.fromEntries(Object.entries(t).map(([r, n]) => [r, a(n)]));
|
|
298
|
+
function dn(e) {
|
|
299
|
+
return e === "3" ? "3" : "2";
|
|
297
300
|
}
|
|
298
|
-
function
|
|
299
|
-
switch (
|
|
301
|
+
function mn(e) {
|
|
302
|
+
switch (e) {
|
|
300
303
|
case "1":
|
|
301
304
|
return "1";
|
|
302
305
|
case "2":
|
|
@@ -306,550 +309,571 @@ function Ks(t) {
|
|
|
306
309
|
return "3";
|
|
307
310
|
}
|
|
308
311
|
}
|
|
309
|
-
const
|
|
310
|
-
const { size: r =
|
|
311
|
-
return
|
|
312
|
-
});
|
|
313
|
-
|
|
314
|
-
const
|
|
315
|
-
|
|
316
|
-
const
|
|
317
|
-
const {
|
|
318
|
-
return
|
|
319
|
-
});
|
|
320
|
-
|
|
321
|
-
const
|
|
322
|
-
|
|
323
|
-
|
|
312
|
+
const Me = t.forwardRef((e, a) => {
|
|
313
|
+
const { size: r = Ae.size.default } = e, { className: s, children: n, asChild: l, color: o, radius: c, disabled: u = e.loading, ...p } = d(e, Ae, g), f = l ? $ : "button";
|
|
314
|
+
return t.createElement(f, { "data-disabled": u || void 0, "data-accent-color": o, "data-radius": c, ...p, ref: a, className: i("rt-reset", "rt-BaseButton", s), disabled: u }, e.loading ? t.createElement(t.Fragment, null, t.createElement("span", { style: { display: "contents", visibility: "hidden" }, "aria-hidden": !0 }, n), t.createElement(un, null, n), t.createElement(S, { asChild: !0, align: "center", justify: "center", position: "absolute", inset: "0" }, t.createElement("span", null, t.createElement(bt, { size: wt(r, mn) })))) : n);
|
|
315
|
+
});
|
|
316
|
+
Me.displayName = "BaseButton";
|
|
317
|
+
const Et = t.forwardRef(({ className: e, ...a }, r) => t.createElement(Me, { ...a, ref: r, className: i("rt-Button", e) }));
|
|
318
|
+
Et.displayName = "Button";
|
|
319
|
+
const pn = ["1", "2", "3"], fn = ["soft", "surface", "outline"], Ve = { ...N, size: { type: "enum", className: "rt-r-size", values: pn, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: fn, default: "soft" }, ...Q, ...b }, Rt = t.createContext({}), St = t.forwardRef((e, a) => {
|
|
320
|
+
const { size: r = Ve.size.default } = e, { asChild: s, children: n, className: l, color: o, ...c } = d(e, Ve, g), u = s ? $ : "div";
|
|
321
|
+
return t.createElement(u, { "data-accent-color": o, ...c, className: i("rt-CalloutRoot", l), ref: a }, t.createElement(Rt.Provider, { value: t.useMemo(() => ({ size: r }), [r]) }, n));
|
|
322
|
+
});
|
|
323
|
+
St.displayName = "Callout.Root";
|
|
324
|
+
const xt = t.forwardRef(({ className: e, ...a }, r) => t.createElement("div", { ...a, className: i("rt-CalloutIcon", e), ref: r }));
|
|
325
|
+
xt.displayName = "Callout.Icon";
|
|
326
|
+
const Tt = t.forwardRef(({ className: e, ...a }, r) => {
|
|
327
|
+
const { size: s } = t.useContext(Rt);
|
|
328
|
+
return t.createElement(z, { as: "p", size: wt(s, dn), ...a, asChild: !1, ref: r, className: i("rt-CalloutText", e) });
|
|
329
|
+
});
|
|
330
|
+
Tt.displayName = "Callout.Text";
|
|
331
|
+
const gn = ["1", "2", "3", "4", "5"], hn = ["surface", "classic", "ghost"], vn = { ...N, size: { type: "enum", className: "rt-r-size", values: gn, default: "1", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: hn, default: "surface" } }, Mt = t.forwardRef((e, a) => {
|
|
332
|
+
const { asChild: r, className: s, ...n } = d(e, vn, g), l = r ? $ : "div";
|
|
333
|
+
return t.createElement(l, { ref: a, ...n, className: i("rt-reset", "rt-BaseCard", "rt-Card", s) });
|
|
334
|
+
});
|
|
335
|
+
Mt.displayName = "Card";
|
|
336
|
+
const Nn = ["div", "span"], yn = ["none", "inline-grid", "grid"], Cn = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], $n = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], bn = ["row", "column", "dense", "row-dense", "column-dense"], wn = ["start", "center", "end", "baseline", "stretch"], En = ["start", "center", "end", "between"], me = { as: { type: "enum", values: Nn, default: "div" }, ...N, display: { type: "enum", className: "rt-r-display", values: yn, responsive: !0 }, areas: { type: "string", className: "rt-r-gta", customProperties: ["--grid-template-areas"], responsive: !0 }, columns: { type: "enum | string", className: "rt-r-gtc", customProperties: ["--grid-template-columns"], values: Cn, parseValue: De, responsive: !0 }, rows: { type: "enum | string", className: "rt-r-gtr", customProperties: ["--grid-template-rows"], values: $n, parseValue: De, responsive: !0 }, flow: { type: "enum", className: "rt-r-gaf", values: bn, responsive: !0 }, align: { type: "enum", className: "rt-r-ai", values: wn, responsive: !0 }, justify: { type: "enum", className: "rt-r-jc", values: En, parseValue: Rn, responsive: !0 }, ...Ct };
|
|
337
|
+
function De(e) {
|
|
338
|
+
return me.columns.values.includes(e) ? e : e != null && e.match(/^\d+$/) ? `repeat(${e}, minmax(0, 1fr))` : e;
|
|
324
339
|
}
|
|
325
|
-
function
|
|
326
|
-
return
|
|
340
|
+
function Rn(e) {
|
|
341
|
+
return e === "between" ? "space-between" : e;
|
|
327
342
|
}
|
|
328
|
-
const
|
|
329
|
-
const { className: r, asChild:
|
|
330
|
-
return
|
|
331
|
-
});
|
|
332
|
-
|
|
333
|
-
const
|
|
334
|
-
|
|
335
|
-
const
|
|
336
|
-
|
|
337
|
-
const
|
|
338
|
-
|
|
339
|
-
const
|
|
340
|
-
|
|
341
|
-
const
|
|
342
|
-
const { className: r, color:
|
|
343
|
-
return
|
|
344
|
-
});
|
|
345
|
-
|
|
346
|
-
const
|
|
347
|
-
const { asChild: r, className:
|
|
348
|
-
return
|
|
349
|
-
});
|
|
350
|
-
|
|
351
|
-
const
|
|
352
|
-
function
|
|
353
|
-
return
|
|
343
|
+
const Sn = ["1", "2", "3"], xn = ["classic", "surface", "soft"], Tn = { size: { type: "enum", className: "rt-r-size", values: Sn, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: xn, default: "surface" }, ...C, ...b }, zt = t.forwardRef((e, a) => {
|
|
344
|
+
const { className: r, asChild: s, as: n = "div", ...l } = d(e, me, le, g);
|
|
345
|
+
return t.createElement(s ? Te : n, { ...l, ref: a, className: i("rt-Grid", r) });
|
|
346
|
+
});
|
|
347
|
+
zt.displayName = "Grid";
|
|
348
|
+
const Pt = x.forwardRef((e, a) => x.createElement("svg", { width: "9", height: "9", viewBox: "0 0 9 9", fill: "currentcolor", xmlns: "http://www.w3.org/2000/svg", ...e, ref: a }, x.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0.75 4.5C0.75 4.08579 1.08579 3.75 1.5 3.75H7.5C7.91421 3.75 8.25 4.08579 8.25 4.5C8.25 4.91421 7.91421 5.25 7.5 5.25H1.5C1.08579 5.25 0.75 4.91421 0.75 4.5Z" })));
|
|
349
|
+
Pt.displayName = "ThickDividerHorizontalIcon";
|
|
350
|
+
const oe = x.forwardRef((e, a) => x.createElement("svg", { width: "9", height: "9", viewBox: "0 0 9 9", fill: "currentcolor", xmlns: "http://www.w3.org/2000/svg", ...e, ref: a }, x.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.53547 0.62293C8.88226 0.849446 8.97976 1.3142 8.75325 1.66099L4.5083 8.1599C4.38833 8.34356 4.19397 8.4655 3.9764 8.49358C3.75883 8.52167 3.53987 8.45309 3.3772 8.30591L0.616113 5.80777C0.308959 5.52987 0.285246 5.05559 0.563148 4.74844C0.84105 4.44128 1.31533 4.41757 1.62249 4.69547L3.73256 6.60459L7.49741 0.840706C7.72393 0.493916 8.18868 0.396414 8.53547 0.62293Z" })));
|
|
351
|
+
oe.displayName = "ThickCheckIcon";
|
|
352
|
+
const It = x.forwardRef((e, a) => x.createElement("svg", { width: "9", height: "9", viewBox: "0 0 9 9", fill: "currentcolor", xmlns: "http://www.w3.org/2000/svg", ...e, ref: a }, x.createElement("path", { d: "M0.135232 3.15803C0.324102 2.95657 0.640521 2.94637 0.841971 3.13523L4.5 6.56464L8.158 3.13523C8.3595 2.94637 8.6759 2.95657 8.8648 3.15803C9.0536 3.35949 9.0434 3.67591 8.842 3.86477L4.84197 7.6148C4.64964 7.7951 4.35036 7.7951 4.15803 7.6148L0.158031 3.86477C-0.0434285 3.67591 -0.0536285 3.35949 0.135232 3.15803Z" })));
|
|
353
|
+
It.displayName = "ChevronDownIcon";
|
|
354
|
+
const kt = x.forwardRef((e, a) => x.createElement("svg", { width: "9", height: "9", viewBox: "0 0 9 9", fill: "currentcolor", xmlns: "http://www.w3.org/2000/svg", ...e, ref: a }, x.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.23826 0.201711C3.54108 -0.0809141 4.01567 -0.0645489 4.29829 0.238264L7.79829 3.98826C8.06724 4.27642 8.06724 4.72359 7.79829 5.01174L4.29829 8.76174C4.01567 9.06455 3.54108 9.08092 3.23826 8.79829C2.93545 8.51567 2.91909 8.04108 3.20171 7.73826L6.22409 4.5L3.20171 1.26174C2.91909 0.958928 2.93545 0.484337 3.23826 0.201711Z" })));
|
|
355
|
+
kt.displayName = "ThickChevronRightIcon";
|
|
356
|
+
const Mn = t.forwardRef((e, a) => {
|
|
357
|
+
const { className: r, color: s, checked: n, defaultChecked: l, onCheckedChange: o, ...c } = d(e, Tn, g), [u, p] = Le({ prop: n, defaultProp: l, onChange: o });
|
|
358
|
+
return t.createElement(nr, { "data-accent-color": s, ...c, defaultChecked: l, checked: u, onCheckedChange: p, asChild: !1, ref: a, className: i("rt-reset", "rt-BaseCheckboxRoot", "rt-CheckboxRoot", r) }, t.createElement(lr, { asChild: !0, className: "rt-BaseCheckboxIndicator rt-CheckboxIndicator" }, t.createElement(u === "indeterminate" ? Pt : oe, null)));
|
|
359
|
+
});
|
|
360
|
+
Mn.displayName = "Checkbox";
|
|
361
|
+
const zn = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], Pn = ["solid", "soft", "outline", "ghost"], In = { ...N, size: { type: "enum", className: "rt-r-size", values: zn, responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: Pn, default: "soft" }, ...pe, ...Q, ...b, ...q, ...W }, kn = t.forwardRef((e, a) => {
|
|
362
|
+
const { asChild: r, className: s, color: n, ...l } = d(e, In, g), o = e.variant === "ghost" ? n || void 0 : n, c = r ? $ : "code";
|
|
363
|
+
return t.createElement(c, { "data-accent-color": o, ...l, ref: a, className: i("rt-reset", "rt-Code", s) });
|
|
364
|
+
});
|
|
365
|
+
kn.displayName = "Code";
|
|
366
|
+
const _n = ["1", "2", "3", "4"], Bn = ["none", "initial"], An = ["left", "center", "right"], Vn = { ...N, size: { type: "enum", className: "rt-r-size", values: _n, default: "4", responsive: !0 }, display: { type: "enum", className: "rt-r-display", values: Bn, parseValue: Dn, responsive: !0 }, align: { type: "enum", className: "rt-r-ai", values: An, parseValue: jn, responsive: !0 } };
|
|
367
|
+
function Dn(e) {
|
|
368
|
+
return e === "initial" ? "flex" : e;
|
|
354
369
|
}
|
|
355
|
-
function
|
|
356
|
-
return
|
|
370
|
+
function jn(e) {
|
|
371
|
+
return e === "left" ? "start" : e === "right" ? "end" : e;
|
|
357
372
|
}
|
|
358
|
-
const
|
|
359
|
-
const { asChild:
|
|
360
|
-
return
|
|
361
|
-
});
|
|
362
|
-
|
|
363
|
-
const
|
|
364
|
-
function
|
|
365
|
-
const { m: a, mx: r, my:
|
|
366
|
-
return { m: a, mx: r, my:
|
|
373
|
+
const Ln = t.forwardRef(({ width: e, minWidth: a, maxWidth: r, height: s, minHeight: n, maxHeight: l, ...o }, c) => {
|
|
374
|
+
const { asChild: u, children: p, className: f, ...h } = d(o, Vn, le, g), { className: y, style: w } = d({ width: e, minWidth: a, maxWidth: r, height: s, minHeight: n, maxHeight: l }, R, Z), T = u ? $ : "div";
|
|
375
|
+
return t.createElement(T, { ...h, ref: c, className: i("rt-Container", f) }, xe({ asChild: u, children: p }, (v) => t.createElement("div", { className: i("rt-ContainerInner", y), style: w }, v)));
|
|
376
|
+
});
|
|
377
|
+
Ln.displayName = "Container";
|
|
378
|
+
const On = ["1", "2", "3"], J = { ...N, size: { values: On, default: "1" }, ...P, scrollbars: { default: "both" } };
|
|
379
|
+
function Hn(e) {
|
|
380
|
+
const { m: a, mx: r, my: s, mt: n, mr: l, mb: o, ml: c, ...u } = e;
|
|
381
|
+
return { m: a, mx: r, my: s, mt: n, mr: l, mb: o, ml: c, rest: u };
|
|
367
382
|
}
|
|
368
|
-
const
|
|
369
|
-
function
|
|
370
|
-
const [a, r] =
|
|
371
|
-
return [
|
|
383
|
+
const L = g.m.values;
|
|
384
|
+
function Gn(e) {
|
|
385
|
+
const [a, r] = A({ className: "rt-r-m", customProperties: ["--margin"], propValues: L, value: e.m }), [s, n] = A({ className: "rt-r-mx", customProperties: ["--margin-left", "--margin-right"], propValues: L, value: e.mx }), [l, o] = A({ className: "rt-r-my", customProperties: ["--margin-top", "--margin-bottom"], propValues: L, value: e.my }), [c, u] = A({ className: "rt-r-mt", customProperties: ["--margin-top"], propValues: L, value: e.mt }), [p, f] = A({ className: "rt-r-mr", customProperties: ["--margin-right"], propValues: L, value: e.mr }), [h, y] = A({ className: "rt-r-mb", customProperties: ["--margin-bottom"], propValues: L, value: e.mb }), [w, T] = A({ className: "rt-r-ml", customProperties: ["--margin-left"], propValues: L, value: e.ml });
|
|
386
|
+
return [i(a, s, l, c, p, h, w), ne(r, n, o, u, f, y, T)];
|
|
372
387
|
}
|
|
373
|
-
const
|
|
374
|
-
const { rest: r, ...
|
|
375
|
-
return
|
|
376
|
-
});
|
|
377
|
-
|
|
378
|
-
const
|
|
379
|
-
|
|
380
|
-
const
|
|
381
|
-
|
|
382
|
-
const
|
|
383
|
-
const r =
|
|
384
|
-
return
|
|
385
|
-
});
|
|
386
|
-
|
|
387
|
-
const
|
|
388
|
-
|
|
389
|
-
const
|
|
390
|
-
const { className: r, children:
|
|
391
|
-
return
|
|
392
|
-
});
|
|
393
|
-
|
|
394
|
-
const
|
|
395
|
-
|
|
396
|
-
const
|
|
397
|
-
|
|
398
|
-
const
|
|
399
|
-
const { children: r, className:
|
|
400
|
-
return
|
|
401
|
-
});
|
|
402
|
-
|
|
403
|
-
const
|
|
404
|
-
const { children: r, className:
|
|
405
|
-
return
|
|
406
|
-
});
|
|
407
|
-
|
|
408
|
-
const
|
|
409
|
-
|
|
410
|
-
const
|
|
411
|
-
const { className: r, children:
|
|
412
|
-
return
|
|
413
|
-
});
|
|
414
|
-
|
|
415
|
-
const
|
|
416
|
-
const { size: r, variant:
|
|
417
|
-
return
|
|
418
|
-
});
|
|
419
|
-
|
|
420
|
-
const
|
|
421
|
-
|
|
422
|
-
const
|
|
388
|
+
const fe = t.forwardRef((e, a) => {
|
|
389
|
+
const { rest: r, ...s } = Hn(e), [n, l] = Gn(s), { asChild: o, children: c, className: u, style: p, type: f, scrollHideDelay: h = f !== "scroll" ? 0 : void 0, dir: y, size: w = J.size.default, radius: T = J.radius.default, scrollbars: v = J.scrollbars.default, ..._ } = r;
|
|
390
|
+
return t.createElement(Oe, { type: f, scrollHideDelay: h, className: i("rt-ScrollAreaRoot", n, u), style: ne(l, p), asChild: o }, xe({ asChild: o, children: c }, (V) => t.createElement(t.Fragment, null, t.createElement(He, { ..._, ref: a, className: "rt-ScrollAreaViewport" }, V), t.createElement("div", { className: "rt-ScrollAreaViewportFocusRing" }), v !== "vertical" ? t.createElement(ye, { "data-radius": T, orientation: "horizontal", className: i("rt-ScrollAreaScrollbar", se({ className: "rt-r-size", value: w, propValues: J.size.values })) }, t.createElement(Ce, { className: "rt-ScrollAreaThumb" })) : null, v !== "horizontal" ? t.createElement(ye, { "data-radius": T, orientation: "vertical", className: i("rt-ScrollAreaScrollbar", se({ className: "rt-r-size", value: w, propValues: J.size.values })) }, t.createElement(Ce, { className: "rt-ScrollAreaThumb" })) : null, v === "both" ? t.createElement(or, { className: "rt-ScrollAreaCorner" }) : null)));
|
|
391
|
+
});
|
|
392
|
+
fe.displayName = "ScrollArea";
|
|
393
|
+
const Fn = ["1", "2"], Wn = ["solid", "soft"], ee = { size: { type: "enum", className: "rt-r-size", values: Fn, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: Wn, default: "solid" }, ...C, ...b }, qn = { ...N, ...C }, Kn = { ...C }, Zn = { ...C }, _t = (e) => t.createElement(gr, { ...e });
|
|
394
|
+
_t.displayName = "ContextMenu.Root";
|
|
395
|
+
const Bt = t.forwardRef(({ children: e, ...a }, r) => t.createElement(Cr, { ...a, ref: r, asChild: !0 }, B(e)));
|
|
396
|
+
Bt.displayName = "ContextMenu.Trigger";
|
|
397
|
+
const At = t.createContext({}), Vt = t.forwardRef((e, a) => {
|
|
398
|
+
const r = it(), { size: s = ee.size.default, variant: n = ee.variant.default, highContrast: l = ee.highContrast.default } = e, { className: o, children: c, color: u, container: p, forceMount: f, ...h } = d(e, ee), y = u || r.accentColor;
|
|
399
|
+
return t.createElement(Fe, { container: p, forceMount: f }, t.createElement(k, { asChild: !0 }, t.createElement(ir, { "data-accent-color": y, alignOffset: -Number(s) * 4, collisionPadding: 10, ...h, asChild: !1, ref: a, className: i("rt-PopperContent", "rt-BaseMenuContent", "rt-ContextMenuContent", o) }, t.createElement(fe, { type: "auto" }, t.createElement("div", { className: i("rt-BaseMenuViewport", "rt-ContextMenuViewport") }, t.createElement(At.Provider, { value: t.useMemo(() => ({ size: s, variant: n, color: y, highContrast: l }), [s, n, y, l]) }, c))))));
|
|
400
|
+
});
|
|
401
|
+
Vt.displayName = "ContextMenu.Content";
|
|
402
|
+
const Dt = t.forwardRef(({ className: e, ...a }, r) => t.createElement(mr, { ...a, asChild: !1, ref: r, className: i("rt-BaseMenuLabel", "rt-ContextMenuLabel", e) }));
|
|
403
|
+
Dt.displayName = "ContextMenu.Label";
|
|
404
|
+
const jt = t.forwardRef((e, a) => {
|
|
405
|
+
const { className: r, children: s, color: n = qn.color.default, shortcut: l, ...o } = e;
|
|
406
|
+
return t.createElement(dr, { "data-accent-color": n, ...o, ref: a, className: i("rt-reset", "rt-BaseMenuItem", "rt-ContextMenuItem", r) }, t.createElement(be, null, s), l && t.createElement("div", { className: "rt-BaseMenuShortcut rt-ContextMenuShortcut" }, l));
|
|
407
|
+
});
|
|
408
|
+
jt.displayName = "ContextMenu.Item";
|
|
409
|
+
const Lt = t.forwardRef(({ className: e, ...a }, r) => t.createElement(ur, { ...a, asChild: !1, ref: r, className: i("rt-BaseMenuGroup", "rt-ContextMenuGroup", e) }));
|
|
410
|
+
Lt.displayName = "ContextMenu.Group";
|
|
411
|
+
const Ot = t.forwardRef(({ className: e, ...a }, r) => t.createElement(pr, { ...a, asChild: !1, ref: r, className: i("rt-BaseMenuRadioGroup", "rt-ContextMenuRadioGroup", e) }));
|
|
412
|
+
Ot.displayName = "ContextMenu.RadioGroup";
|
|
413
|
+
const Ht = t.forwardRef((e, a) => {
|
|
414
|
+
const { children: r, className: s, color: n = Zn.color.default, ...l } = e;
|
|
415
|
+
return t.createElement(fr, { ...l, asChild: !1, ref: a, "data-accent-color": n, className: i("rt-BaseMenuItem", "rt-BaseMenuRadioItem", "rt-ContextMenuItem", "rt-ContextMenuRadioItem", s) }, t.createElement(be, null, r), t.createElement(Ge, { className: "rt-BaseMenuItemIndicator rt-ContextMenuItemIndicator" }, t.createElement(oe, { className: "rt-BaseMenuItemIndicatorIcon rt-ContextMenuItemIndicatorIcon" })));
|
|
416
|
+
});
|
|
417
|
+
Ht.displayName = "ContextMenu.RadioItem";
|
|
418
|
+
const Gt = t.forwardRef((e, a) => {
|
|
419
|
+
const { children: r, className: s, shortcut: n, color: l = Kn.color.default, ...o } = e;
|
|
420
|
+
return t.createElement(cr, { ...o, asChild: !1, ref: a, "data-accent-color": l, className: i("rt-BaseMenuItem", "rt-BaseMenuCheckboxItem", "rt-ContextMenuItem", "rt-ContextMenuCheckboxItem", s) }, t.createElement(be, null, r), t.createElement(Ge, { className: "rt-BaseMenuItemIndicator rt-ContextMenuItemIndicator" }, t.createElement(oe, { className: "rt-BaseMenuItemIndicatorIcon rt-ContextMenuItemIndicatorIcon" })), n && t.createElement("div", { className: "rt-BaseMenuShortcut rt-ContextMenuShortcut" }, n));
|
|
421
|
+
});
|
|
422
|
+
Gt.displayName = "ContextMenu.CheckboxItem";
|
|
423
|
+
const Ft = (e) => t.createElement(vr, { ...e });
|
|
424
|
+
Ft.displayName = "ContextMenu.Sub";
|
|
425
|
+
const Wt = t.forwardRef((e, a) => {
|
|
426
|
+
const { className: r, children: s, ...n } = e;
|
|
427
|
+
return t.createElement(yr, { ...n, asChild: !1, ref: a, className: i("rt-BaseMenuItem", "rt-BaseMenuSubTrigger", "rt-ContextMenuItem", "rt-ContextMenuSubTrigger", r) }, s, t.createElement("div", { className: "rt-BaseMenuShortcut rt-ContextMenuShortcut" }, t.createElement(kt, { className: "rt-BaseMenuSubTriggerIcon rt-ContextMenuSubTriggerIcon" })));
|
|
428
|
+
});
|
|
429
|
+
Wt.displayName = "ContextMenu.SubTrigger";
|
|
430
|
+
const qt = t.forwardRef((e, a) => {
|
|
431
|
+
const { size: r, variant: s, color: n, highContrast: l } = t.useContext(At), { className: o, children: c, container: u, forceMount: p, ...f } = d({ size: r, variant: s, color: n, highContrast: l, ...e }, ee);
|
|
432
|
+
return t.createElement(Fe, { container: u, forceMount: p }, t.createElement(k, { asChild: !0 }, t.createElement(Nr, { "data-accent-color": n, alignOffset: -Number(r) * 4, sideOffset: 1, collisionPadding: 10, ...f, asChild: !1, ref: a, className: i("rt-PopperContent", "rt-BaseMenuContent", "rt-BaseMenuSubContent", "rt-ContextMenuContent", "rt-ContextMenuSubContent", o) }, t.createElement(fe, { type: "auto" }, t.createElement("div", { className: i("rt-BaseMenuViewport", "rt-ContextMenuViewport") }, c)))));
|
|
433
|
+
});
|
|
434
|
+
qt.displayName = "ContextMenu.SubContent";
|
|
435
|
+
const Kt = t.forwardRef(({ className: e, ...a }, r) => t.createElement(hr, { ...a, asChild: !1, ref: r, className: i("rt-BaseMenuSeparator", "rt-ContextMenuSeparator", e) }));
|
|
436
|
+
Kt.displayName = "ContextMenu.Separator";
|
|
437
|
+
const lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
423
438
|
__proto__: null,
|
|
424
|
-
CheckboxItem:
|
|
425
|
-
Content:
|
|
426
|
-
Group:
|
|
427
|
-
Item:
|
|
428
|
-
Label:
|
|
429
|
-
RadioGroup:
|
|
430
|
-
RadioItem:
|
|
431
|
-
Root:
|
|
432
|
-
Separator:
|
|
433
|
-
Sub:
|
|
434
|
-
SubContent:
|
|
435
|
-
SubTrigger:
|
|
436
|
-
Trigger:
|
|
437
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
438
|
-
|
|
439
|
-
const
|
|
440
|
-
|
|
441
|
-
const
|
|
442
|
-
const { align:
|
|
443
|
-
return
|
|
444
|
-
});
|
|
445
|
-
|
|
446
|
-
const
|
|
447
|
-
|
|
448
|
-
const
|
|
449
|
-
|
|
450
|
-
const
|
|
451
|
-
|
|
452
|
-
const
|
|
439
|
+
CheckboxItem: Gt,
|
|
440
|
+
Content: Vt,
|
|
441
|
+
Group: Lt,
|
|
442
|
+
Item: jt,
|
|
443
|
+
Label: Dt,
|
|
444
|
+
RadioGroup: Ot,
|
|
445
|
+
RadioItem: Ht,
|
|
446
|
+
Root: _t,
|
|
447
|
+
Separator: Kt,
|
|
448
|
+
Sub: Ft,
|
|
449
|
+
SubContent: qt,
|
|
450
|
+
SubTrigger: Wt,
|
|
451
|
+
Trigger: Bt
|
|
452
|
+
}, Symbol.toStringTag, { value: "Module" })), Zt = (e) => t.createElement(Sr, { ...e, modal: !0 });
|
|
453
|
+
Zt.displayName = "Dialog.Root";
|
|
454
|
+
const Qt = t.forwardRef(({ children: e, ...a }, r) => t.createElement(Tr, { ...a, ref: r, asChild: !0 }, B(e)));
|
|
455
|
+
Qt.displayName = "Dialog.Trigger";
|
|
456
|
+
const Yt = t.forwardRef(({ align: e, ...a }, r) => {
|
|
457
|
+
const { align: s, ...n } = nt, { className: l } = d({ align: e }, { align: s }), { className: o, forceMount: c, container: u, ...p } = d(a, n);
|
|
458
|
+
return t.createElement(br, { container: u, forceMount: c }, t.createElement(k, { asChild: !0 }, t.createElement(wr, { className: "rt-BaseDialogOverlay rt-DialogOverlay" }, t.createElement("div", { className: "rt-BaseDialogScroll rt-DialogScroll" }, t.createElement("div", { className: `rt-BaseDialogScrollPadding rt-DialogScrollPadding ${l}` }, t.createElement(Er, { ...p, ref: r, className: i("rt-BaseDialogContent", "rt-DialogContent", o) }))))));
|
|
459
|
+
});
|
|
460
|
+
Yt.displayName = "Dialog.Content";
|
|
461
|
+
const Ut = t.forwardRef((e, a) => t.createElement(xr, { asChild: !0 }, t.createElement(Re, { size: "5", mb: "3", trim: "start", ...e, asChild: !1, ref: a })));
|
|
462
|
+
Ut.displayName = "Dialog.Title";
|
|
463
|
+
const Xt = t.forwardRef((e, a) => t.createElement(Rr, { asChild: !0 }, t.createElement(z, { as: "p", size: "3", ...e, asChild: !1, ref: a })));
|
|
464
|
+
Xt.displayName = "Dialog.Description";
|
|
465
|
+
const Jt = t.forwardRef(({ children: e, ...a }, r) => t.createElement($r, { ...a, ref: r, asChild: !0 }, B(e)));
|
|
466
|
+
Jt.displayName = "Dialog.Close";
|
|
467
|
+
const oc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
453
468
|
__proto__: null,
|
|
454
|
-
Close:
|
|
455
|
-
Content:
|
|
456
|
-
Description:
|
|
457
|
-
Root:
|
|
458
|
-
Title:
|
|
459
|
-
Trigger:
|
|
460
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
461
|
-
const { asChild: r, className:
|
|
462
|
-
return
|
|
463
|
-
});
|
|
464
|
-
|
|
465
|
-
const
|
|
466
|
-
|
|
467
|
-
const
|
|
468
|
-
|
|
469
|
-
const
|
|
470
|
-
const { className: r, forceMount:
|
|
471
|
-
return
|
|
472
|
-
});
|
|
473
|
-
|
|
474
|
-
const
|
|
469
|
+
Close: Jt,
|
|
470
|
+
Content: Yt,
|
|
471
|
+
Description: Xt,
|
|
472
|
+
Root: Zt,
|
|
473
|
+
Title: Ut,
|
|
474
|
+
Trigger: Qt
|
|
475
|
+
}, Symbol.toStringTag, { value: "Module" })), Qn = { ...N, ...q, ...W }, Yn = t.forwardRef((e, a) => {
|
|
476
|
+
const { asChild: r, className: s, ...n } = d(e, Qn), l = r ? $ : "em";
|
|
477
|
+
return t.createElement(l, { ...n, ref: a, className: i("rt-Em", s) });
|
|
478
|
+
});
|
|
479
|
+
Yn.displayName = "Em";
|
|
480
|
+
const Un = ["1", "2", "3"], Xn = { ...N, size: { type: "enum", className: "rt-r-size", values: Un, default: "2", responsive: !0 }, width: R.width, minWidth: R.minWidth, maxWidth: { ...R.maxWidth, default: "480px" }, ...Z }, ea = (e) => t.createElement(Pr, { closeDelay: 150, openDelay: 200, ...e });
|
|
481
|
+
ea.displayName = "HoverCard.Root";
|
|
482
|
+
const ta = t.forwardRef(({ children: e, className: a, ...r }, s) => t.createElement(Ir, { ref: s, className: i("rt-HoverCardTrigger", a), ...r, asChild: !0 }, B(e)));
|
|
483
|
+
ta.displayName = "HoverCard.Trigger";
|
|
484
|
+
const aa = t.forwardRef((e, a) => {
|
|
485
|
+
const { className: r, forceMount: s, container: n, ...l } = d(e, Xn);
|
|
486
|
+
return t.createElement(Mr, { container: n, forceMount: s }, t.createElement(k, { asChild: !0 }, t.createElement(zr, { align: "start", sideOffset: 8, collisionPadding: 10, ...l, ref: a, className: i("rt-PopperContent", "rt-HoverCardContent", r) })));
|
|
487
|
+
});
|
|
488
|
+
aa.displayName = "HoverCard.Content";
|
|
489
|
+
const cc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
475
490
|
__proto__: null,
|
|
476
|
-
Content:
|
|
477
|
-
Root:
|
|
478
|
-
Trigger:
|
|
479
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
480
|
-
|
|
481
|
-
const
|
|
482
|
-
function
|
|
483
|
-
return
|
|
491
|
+
Content: aa,
|
|
492
|
+
Root: ea,
|
|
493
|
+
Trigger: ta
|
|
494
|
+
}, Symbol.toStringTag, { value: "Module" })), ra = t.forwardRef(({ className: e, ...a }, r) => t.createElement(Me, { ...a, ref: r, className: i("rt-IconButton", e) }));
|
|
495
|
+
ra.displayName = "IconButton";
|
|
496
|
+
const Jn = ["all", "x", "y", "top", "bottom", "left", "right"], el = ["border-box", "padding-box"], O = ["current", "0"], tl = { ...N, side: { type: "enum", className: "rt-r-side", values: Jn, default: "all", responsive: !0 }, clip: { type: "enum", className: "rt-r-clip", values: el, default: "border-box", responsive: !0 }, p: { type: "enum", className: "rt-r-p", values: O, parseValue: H, responsive: !0 }, px: { type: "enum", className: "rt-r-px", values: O, parseValue: H, responsive: !0 }, py: { type: "enum", className: "rt-r-py", values: O, parseValue: H, responsive: !0 }, pt: { type: "enum", className: "rt-r-pt", values: O, parseValue: H, responsive: !0 }, pr: { type: "enum", className: "rt-r-pr", values: O, parseValue: H, responsive: !0 }, pb: { type: "enum", className: "rt-r-pb", values: O, parseValue: H, responsive: !0 }, pl: { type: "enum", className: "rt-r-pl", values: O, parseValue: H, responsive: !0 } };
|
|
497
|
+
function H(e) {
|
|
498
|
+
return e === "current" ? "inset" : e;
|
|
484
499
|
}
|
|
485
|
-
const
|
|
486
|
-
const { asChild: r, className:
|
|
487
|
-
return
|
|
488
|
-
});
|
|
489
|
-
|
|
490
|
-
const
|
|
491
|
-
const { asChild: r, className:
|
|
492
|
-
return
|
|
493
|
-
});
|
|
494
|
-
|
|
495
|
-
const
|
|
496
|
-
const { children: r, className:
|
|
497
|
-
return
|
|
498
|
-
});
|
|
499
|
-
|
|
500
|
-
const
|
|
501
|
-
|
|
502
|
-
const
|
|
503
|
-
|
|
504
|
-
const
|
|
505
|
-
const { className: r, forceMount:
|
|
506
|
-
return
|
|
507
|
-
});
|
|
508
|
-
|
|
509
|
-
const
|
|
510
|
-
|
|
511
|
-
const
|
|
512
|
-
|
|
513
|
-
const
|
|
500
|
+
const al = t.forwardRef((e, a) => {
|
|
501
|
+
const { asChild: r, className: s, ...n } = d(e, tl, g), l = r ? $ : "div";
|
|
502
|
+
return t.createElement(l, { ...n, ref: a, className: i("rt-Inset", s) });
|
|
503
|
+
});
|
|
504
|
+
al.displayName = "Inset";
|
|
505
|
+
const rl = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], sl = { ...N, size: { type: "enum", className: "rt-r-size", values: rl, responsive: !0 } }, nl = t.forwardRef((e, a) => {
|
|
506
|
+
const { asChild: r, className: s, ...n } = d(e, sl, g), l = r ? $ : "kbd";
|
|
507
|
+
return t.createElement(l, { ...n, ref: a, className: i("rt-reset", "rt-Kbd", s) });
|
|
508
|
+
});
|
|
509
|
+
nl.displayName = "Kbd";
|
|
510
|
+
const ll = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], ol = ["auto", "always", "hover", "none"], cl = { ...N, size: { type: "enum", className: "rt-r-size", values: ll, responsive: !0 }, ...pe, ...we, ...q, ...W, underline: { type: "enum", className: "rt-underline", values: ol, default: "auto" }, ...Q, ...b }, il = t.forwardRef((e, a) => {
|
|
511
|
+
const { children: r, className: s, color: n, asChild: l, ...o } = d(e, cl);
|
|
512
|
+
return t.createElement(z, { ...o, "data-accent-color": n, ref: a, asChild: !0, className: i("rt-reset", "rt-Link", s) }, l ? r : t.createElement("a", null, r));
|
|
513
|
+
});
|
|
514
|
+
il.displayName = "Link";
|
|
515
|
+
const ul = ["1", "2", "3", "4"], dl = { ...N, size: { type: "enum", className: "rt-r-size", values: ul, default: "2", responsive: !0 }, width: R.width, minWidth: R.minWidth, maxWidth: { ...R.maxWidth, default: "480px" }, ...Z }, sa = (e) => t.createElement(Vr, { ...e });
|
|
516
|
+
sa.displayName = "Popover.Root";
|
|
517
|
+
const na = t.forwardRef(({ children: e, ...a }, r) => t.createElement(Dr, { ...a, ref: r, asChild: !0 }, B(e)));
|
|
518
|
+
na.displayName = "Popover.Trigger";
|
|
519
|
+
const la = t.forwardRef((e, a) => {
|
|
520
|
+
const { className: r, forceMount: s, container: n, ...l } = d(e, dl);
|
|
521
|
+
return t.createElement(Br, { container: n, forceMount: s }, t.createElement(k, { asChild: !0 }, t.createElement(Ar, { align: "start", sideOffset: 8, collisionPadding: 10, ...l, ref: a, className: i("rt-PopperContent", "rt-PopoverContent", r) })));
|
|
522
|
+
});
|
|
523
|
+
la.displayName = "Popover.Content";
|
|
524
|
+
const oa = t.forwardRef(({ children: e, ...a }, r) => t.createElement(_r, { ...a, ref: r, asChild: !0 }, B(e)));
|
|
525
|
+
oa.displayName = "Popover.Close";
|
|
526
|
+
const ca = t.forwardRef(({ children: e, ...a }, r) => t.createElement(kr, { ...a, ref: r }));
|
|
527
|
+
ca.displayName = "Popover.Anchor";
|
|
528
|
+
const ic = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
514
529
|
__proto__: null,
|
|
515
|
-
Anchor:
|
|
516
|
-
Close:
|
|
517
|
-
Content:
|
|
518
|
-
Root:
|
|
519
|
-
Trigger:
|
|
520
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
521
|
-
const { className: r, style:
|
|
522
|
-
return
|
|
523
|
-
});
|
|
524
|
-
|
|
525
|
-
const
|
|
526
|
-
const { asChild: r, className:
|
|
527
|
-
return
|
|
528
|
-
});
|
|
529
|
-
|
|
530
|
-
const
|
|
531
|
-
const {
|
|
532
|
-
return
|
|
533
|
-
});
|
|
534
|
-
|
|
535
|
-
const
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
});
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
});
|
|
544
|
-
|
|
545
|
-
|
|
530
|
+
Anchor: ca,
|
|
531
|
+
Close: oa,
|
|
532
|
+
Content: la,
|
|
533
|
+
Root: sa,
|
|
534
|
+
Trigger: na
|
|
535
|
+
}, Symbol.toStringTag, { value: "Module" })), ml = ["1", "2", "3"], pl = ["classic", "surface", "soft"], fl = { size: { type: "enum", className: "rt-r-size", values: ml, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: pl, default: "surface" }, ...C, ...b, ...P, duration: { type: "string" } }, gl = t.forwardRef((e, a) => {
|
|
536
|
+
const { className: r, style: s, color: n, radius: l, duration: o, ...c } = d(e, fl, g);
|
|
537
|
+
return t.createElement(jr, { "data-accent-color": n, "data-radius": l, ref: a, className: i("rt-ProgressRoot", r), style: ne({ "--progress-duration": "value" in c ? void 0 : o, "--progress-value": "value" in c ? c.value : void 0, "--progress-max": "max" in c ? c.max : void 0 }, s), ...c, asChild: !1 }, t.createElement(Lr, { className: "rt-ProgressIndicator" }));
|
|
538
|
+
});
|
|
539
|
+
gl.displayName = "Progress";
|
|
540
|
+
const hl = { ...N, ...q, ...W }, vl = t.forwardRef((e, a) => {
|
|
541
|
+
const { asChild: r, className: s, ...n } = d(e, hl), l = r ? $ : "q";
|
|
542
|
+
return t.createElement(l, { ...n, ref: a, className: i("rt-Quote", s) });
|
|
543
|
+
});
|
|
544
|
+
vl.displayName = "Quote";
|
|
545
|
+
const Nl = ["1", "2", "3"], yl = ["surface", "classic"], Cl = { ...N, size: { type: "enum", className: "rt-r-size", values: Nl, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: yl, default: "surface" }, ...C, ...b, columns: { ...me.columns, default: "repeat(auto-fit, minmax(160px, 1fr))" }, gap: { ...me.gap, default: "4" } }, ia = t.forwardRef((e, a) => {
|
|
546
|
+
const { className: r, color: s, ...n } = d(e, Cl, g);
|
|
547
|
+
return t.createElement(zt, { asChild: !0 }, t.createElement(We, { "data-accent-color": s, ...n, ref: a, className: i("rt-RadioCardsRoot", r) }));
|
|
548
|
+
});
|
|
549
|
+
ia.displayName = "RadioCards.Root";
|
|
550
|
+
const ua = t.forwardRef(({ className: e, ...a }, r) => t.createElement(qe, { ...a, asChild: !1, ref: r, className: i("rt-reset", "rt-BaseCard", "rt-RadioCardsItem", e) }));
|
|
551
|
+
ua.displayName = "RadioCards.Item";
|
|
552
|
+
const $l = ["1", "2", "3"], bl = ["classic", "surface", "soft"], te = { ...N, size: { type: "enum", className: "rt-r-size", values: $l, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: bl, default: "surface" }, ...C, ...b }, da = "RadioGroup", [wl] = Or(da, [Ke]), ma = Ke(), [El, pa] = wl(da), fa = t.forwardRef(({ color: e = te.color.default, highContrast: a = te.highContrast.default, size: r = te.size.default, variant: s = te.variant.default, ...n }, l) => {
|
|
553
|
+
const { __scopeRadioGroup: o, className: c, ...u } = d(n, g), p = ma(o);
|
|
554
|
+
return t.createElement(El, { scope: o, color: e, highContrast: a, size: r, variant: s }, t.createElement(We, { ...p, ...u, ref: l, className: i("rt-RadioGroupRoot", c) }));
|
|
555
|
+
});
|
|
556
|
+
fa.displayName = "RadioGroup.Root";
|
|
557
|
+
const ga = t.forwardRef((e, a) => {
|
|
558
|
+
const { __scopeRadioGroup: r, children: s, className: n, style: l, ...o } = e, { size: c } = pa("RadioGroupItem", r);
|
|
559
|
+
return s ? t.createElement(z, { as: "label", size: c, className: i("rt-RadioGroupItem", n), style: l }, t.createElement($e, { __scopeRadioGroup: r, ...o, ref: a }), s && t.createElement("span", { className: "rt-RadioGroupItemInner" }, s)) : t.createElement($e, { __scopeRadioGroup: r, ...o, ref: a, className: n, style: l });
|
|
560
|
+
});
|
|
561
|
+
ga.displayName = "RadioGroup.Item";
|
|
562
|
+
const $e = t.forwardRef(({ __scopeRadioGroup: e, ...a }, r) => {
|
|
563
|
+
const s = pa("RadioGroupItemRadio", e), n = ma(e), { color: l, className: o } = d({ ...a, ...s }, te, g);
|
|
564
|
+
return t.createElement(qe, { ...n, "data-accent-color": l, ...a, asChild: !1, ref: r, className: i("rt-reset", "rt-BaseRadioRoot", o) });
|
|
565
|
+
});
|
|
566
|
+
$e.displayName = "RadioGroup.ItemRadio";
|
|
567
|
+
const uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
546
568
|
__proto__: null,
|
|
547
|
-
Item:
|
|
548
|
-
Root:
|
|
549
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
550
|
-
const r =
|
|
551
|
-
return
|
|
552
|
-
});
|
|
553
|
-
|
|
554
|
-
const
|
|
555
|
-
|
|
556
|
-
return t
|
|
569
|
+
Item: ga,
|
|
570
|
+
Root: fa
|
|
571
|
+
}, Symbol.toStringTag, { value: "Module" })), Rl = ["1", "2", "3"], Sl = ["classic", "surface", "soft"], xl = { size: { type: "enum", className: "rt-r-size", values: Rl, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: Sl, default: "surface" }, ...C, ...b }, Tl = t.forwardRef((e, a) => {
|
|
572
|
+
const r = t.useRef(null), { className: s, color: n, onChange: l, onValueChange: o, ...c } = d(e, xl, g);
|
|
573
|
+
return t.createElement("input", { type: "radio", "data-accent-color": n, ...c, onChange: Hr(l, (u) => o == null ? void 0 : o(u.currentTarget.value)), ref: Ze(r, a), className: i("rt-reset", "rt-BaseRadioRoot", "rt-RadioRoot", s) });
|
|
574
|
+
});
|
|
575
|
+
Tl.displayName = "Radio";
|
|
576
|
+
const Ml = ["1", "2", "3"], zl = ["surface", "classic"], Pl = { disabled: { type: "boolean", className: "disabled", default: !1 }, size: { type: "enum", className: "rt-r-size", values: Ml, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: zl, default: "surface" }, ...P }, ha = t.forwardRef((e, a) => {
|
|
577
|
+
const { className: r, children: s, radius: n, value: l, defaultValue: o, onValueChange: c, ...u } = d(e, Pl, g), [p, f] = Le({ prop: l, onChange: c, defaultProp: o });
|
|
578
|
+
return t.createElement(Gr, { "data-disabled": e.disabled || void 0, "data-radius": n, ref: a, className: i("rt-SegmentedControlRoot", r), onValueChange: (h) => {
|
|
579
|
+
h && f(h);
|
|
580
|
+
}, ...u, type: "single", value: p, asChild: !1, disabled: !!e.disabled }, s, t.createElement("div", { className: "rt-SegmentedControlIndicator" }));
|
|
581
|
+
});
|
|
582
|
+
ha.displayName = "SegmentedControl.Root";
|
|
583
|
+
const va = t.forwardRef(({ children: e, className: a, ...r }, s) => t.createElement(Fr, { ref: s, className: i("rt-reset", "rt-SegmentedControlItem", a), ...r, disabled: !1, asChild: !1 }, t.createElement("span", { className: "rt-SegmentedControlItemSeparator" }), t.createElement("span", { className: "rt-SegmentedControlItemLabel" }, t.createElement("span", { className: "rt-SegmentedControlItemLabelActive" }, e), t.createElement("span", { className: "rt-SegmentedControlItemLabelInactive", "aria-hidden": !0 }, e))));
|
|
584
|
+
va.displayName = "SegmentedControl.Item";
|
|
585
|
+
const Il = ["1", "2", "3", "4"], kl = ["none", "initial"], _l = { ...N, size: { type: "enum", className: "rt-r-size", values: Il, default: "3", responsive: !0 }, display: { type: "enum", className: "rt-r-display", values: kl, parseValue: Bl, responsive: !0 } };
|
|
586
|
+
function Bl(e) {
|
|
587
|
+
return e === "initial" ? "block" : e;
|
|
557
588
|
}
|
|
558
|
-
const
|
|
559
|
-
const { asChild: r, className:
|
|
560
|
-
return
|
|
561
|
-
});
|
|
562
|
-
|
|
563
|
-
const
|
|
564
|
-
const { children: a, size: r =
|
|
565
|
-
return
|
|
589
|
+
const Al = t.forwardRef((e, a) => {
|
|
590
|
+
const { asChild: r, className: s, ...n } = d(e, _l, le, g), l = r ? $ : "section";
|
|
591
|
+
return t.createElement(l, { ...n, ref: a, className: i("rt-Section", s) });
|
|
592
|
+
});
|
|
593
|
+
Al.displayName = "Section";
|
|
594
|
+
const Vl = ["1", "2", "3"], ze = { size: { type: "enum", className: "rt-r-size", values: Vl, default: "2", responsive: !0 } }, Dl = ["classic", "surface", "soft", "ghost"], jl = { variant: { type: "enum", className: "rt-variant", values: Dl, default: "surface" }, ...C, ...P, placeholder: { type: "string" } }, Ll = ["solid", "soft"], Ol = { variant: { type: "enum", className: "rt-variant", values: Ll, default: "solid" }, ...C, ...b }, Pe = t.createContext({}), Na = (e) => {
|
|
595
|
+
const { children: a, size: r = ze.size.default, ...s } = e;
|
|
596
|
+
return t.createElement(Wr, { ...s }, t.createElement(Pe.Provider, { value: t.useMemo(() => ({ size: r }), [r]) }, a));
|
|
566
597
|
};
|
|
567
|
-
|
|
568
|
-
const
|
|
569
|
-
const r =
|
|
570
|
-
return
|
|
571
|
-
});
|
|
572
|
-
|
|
573
|
-
const
|
|
574
|
-
const r =
|
|
575
|
-
return
|
|
576
|
-
});
|
|
577
|
-
|
|
578
|
-
const
|
|
579
|
-
const { className: r, children:
|
|
580
|
-
return
|
|
581
|
-
});
|
|
582
|
-
|
|
583
|
-
const
|
|
584
|
-
|
|
585
|
-
const
|
|
586
|
-
|
|
587
|
-
const
|
|
588
|
-
|
|
589
|
-
const
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
})
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
});
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
});
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
}
|
|
619
|
-
Io.displayName = "Strong";
|
|
620
|
-
const ko = ["1", "2", "3"], _o = ["classic", "surface", "soft"], Bo = { size: { type: "enum", className: "rt-r-size", values: ko, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: _o, default: "surface" }, ...C, ...E, ...M }, Ao = e.forwardRef((t, a) => {
|
|
621
|
-
const { className: r, color: n, radius: s, ...o } = m(t, Bo, f);
|
|
622
|
-
return e.createElement(jr, { "data-accent-color": n, "data-radius": s, ...o, asChild: !1, ref: a, className: u("rt-reset", "rt-SwitchRoot", r) }, e.createElement(Or, { className: u("rt-SwitchThumb", { "rt-high-contrast": t.highContrast }) }));
|
|
623
|
-
});
|
|
624
|
-
Ao.displayName = "Switch";
|
|
625
|
-
const Do = ["1", "2"], Vo = ["nowrap", "wrap", "wrap-reverse"], jo = ["start", "center", "end"], Oo = { size: { type: "enum", className: "rt-r-size", values: Do, default: "2", responsive: !0 }, wrap: { type: "enum", className: "rt-r-fw", values: Vo, responsive: !0 }, justify: { type: "enum", className: "rt-r-jc", values: jo, responsive: !0 }, ...C, ...E }, Lo = ["1", "2", "3"], Go = ["surface", "ghost"], Ho = ["auto", "fixed"], ve = { size: { type: "enum", className: "rt-r-size", values: Lo, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: Go, default: "ghost" }, layout: { type: "enum", className: "rt-r-tl", values: Ho, responsive: !0 } }, Fo = ["start", "center", "end", "baseline"], Wo = { align: { type: "enum", className: "rt-r-va", values: Fo, parseValue: qo, responsive: !0 } };
|
|
626
|
-
function qo(t) {
|
|
627
|
-
return { baseline: "baseline", start: "top", center: "middle", end: "bottom" }[t];
|
|
598
|
+
Na.displayName = "Select.Root";
|
|
599
|
+
const ya = t.forwardRef((e, a) => {
|
|
600
|
+
const r = t.useContext(Pe), { children: s, className: n, color: l, radius: o, placeholder: c, ...u } = d({ size: r == null ? void 0 : r.size, ...e }, { size: ze.size }, jl, g);
|
|
601
|
+
return t.createElement(qr, { asChild: !0 }, t.createElement("button", { "data-accent-color": l, "data-radius": o, ...u, ref: a, className: i("rt-reset", "rt-SelectTrigger", n) }, t.createElement("span", { className: "rt-SelectTriggerInner" }, t.createElement(Kr, { placeholder: c }, s)), t.createElement(Zr, { asChild: !0 }, t.createElement(It, { className: "rt-SelectIcon" }))));
|
|
602
|
+
});
|
|
603
|
+
ya.displayName = "Select.Trigger";
|
|
604
|
+
const Ca = t.forwardRef((e, a) => {
|
|
605
|
+
const r = t.useContext(Pe), { className: s, children: n, color: l, container: o, ...c } = d({ size: r == null ? void 0 : r.size, ...e }, { size: ze.size }, Ol), u = it(), p = l || u.accentColor;
|
|
606
|
+
return t.createElement(Qr, { container: o }, t.createElement(k, { asChild: !0 }, t.createElement(Yr, { "data-accent-color": p, sideOffset: 4, ...c, asChild: !1, ref: a, className: i({ "rt-PopperContent": c.position === "popper" }, "rt-SelectContent", s) }, t.createElement(Oe, { type: "auto", className: "rt-ScrollAreaRoot" }, t.createElement(Ur, { asChild: !0, className: "rt-SelectViewport" }, t.createElement(He, { className: "rt-ScrollAreaViewport", style: { overflowY: void 0 } }, n)), t.createElement(ye, { className: "rt-ScrollAreaScrollbar rt-r-size-1", orientation: "vertical" }, t.createElement(Ce, { className: "rt-ScrollAreaThumb" }))))));
|
|
607
|
+
});
|
|
608
|
+
Ca.displayName = "Select.Content";
|
|
609
|
+
const $a = t.forwardRef((e, a) => {
|
|
610
|
+
const { className: r, children: s, ...n } = e;
|
|
611
|
+
return t.createElement(Jr, { ...n, asChild: !1, ref: a, className: i("rt-SelectItem", r) }, t.createElement(es, { className: "rt-SelectItemIndicator" }, t.createElement(oe, { className: "rt-SelectItemIndicatorIcon" })), t.createElement(ts, null, s));
|
|
612
|
+
});
|
|
613
|
+
$a.displayName = "Select.Item";
|
|
614
|
+
const ba = t.forwardRef(({ className: e, ...a }, r) => t.createElement(Xr, { ...a, asChild: !1, ref: r, className: i("rt-SelectGroup", e) }));
|
|
615
|
+
ba.displayName = "Select.Group";
|
|
616
|
+
const Hl = t.forwardRef(({ className: e, ...a }, r) => t.createElement(as, { ...a, asChild: !1, ref: r, className: i("rt-SelectLabel", e) }));
|
|
617
|
+
Hl.displayName = "Select.Label";
|
|
618
|
+
const Gl = t.forwardRef(({ className: e, ...a }, r) => t.createElement(rs, { ...a, asChild: !1, ref: r, className: i("rt-SelectSeparator", e) }));
|
|
619
|
+
Gl.displayName = "Select.Separator";
|
|
620
|
+
const Fl = ["horizontal", "vertical"], Wl = ["1", "2", "3", "4"], ql = { orientation: { type: "enum", className: "rt-r-orientation", values: Fl, default: "horizontal", responsive: !0 }, size: { type: "enum", className: "rt-r-size", values: Wl, default: "1", responsive: !0 }, color: { ...C.color, default: "gray" }, decorative: { type: "boolean", default: !0 } }, Kl = t.forwardRef((e, a) => {
|
|
621
|
+
const { className: r, color: s, decorative: n, ...l } = d(e, ql, g);
|
|
622
|
+
return t.createElement("span", { "data-accent-color": s, role: n ? void 0 : "separator", ...l, ref: a, className: i("rt-Separator", r) });
|
|
623
|
+
});
|
|
624
|
+
Kl.displayName = "Separator";
|
|
625
|
+
const Zl = parseFloat(t.version) >= 19 || "", Ql = { loading: { type: "boolean", default: !0 }, ...R, ...Z }, Yl = t.forwardRef((e, a) => {
|
|
626
|
+
const { children: r, className: s, loading: n, ...l } = d(e, Ql, g);
|
|
627
|
+
if (!n) return r;
|
|
628
|
+
const o = t.isValidElement(r) ? $ : "span";
|
|
629
|
+
return t.createElement(o, { ref: a, "aria-hidden": !0, className: i("rt-Skeleton", s), "data-inline-skeleton": t.isValidElement(r) ? void 0 : !0, tabIndex: -1, inert: Zl, ...l }, r);
|
|
630
|
+
});
|
|
631
|
+
Yl.displayName = "Skeleton";
|
|
632
|
+
const Ul = ["1", "2", "3"], Xl = ["classic", "surface", "soft"], Jl = { size: { type: "enum", className: "rt-r-size", values: Ul, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: Xl, default: "surface" }, ...C, ...b, ...P }, eo = t.forwardRef((e, a) => {
|
|
633
|
+
const { className: r, color: s, radius: n, tabIndex: l, ...o } = d(e, Jl, g);
|
|
634
|
+
return t.createElement(Qe, { "data-accent-color": s, "data-radius": n, ref: a, ...o, asChild: !1, className: i("rt-SliderRoot", r) }, t.createElement(Ye, { className: "rt-SliderTrack" }, t.createElement(Ue, { className: i("rt-SliderRange", { "rt-high-contrast": e.highContrast }), "data-inverted": o.inverted ? "" : void 0 })), (o.value ?? o.defaultValue ?? []).map((c, u) => t.createElement(Xe, { key: u, className: "rt-SliderThumb", ...l !== void 0 ? { tabIndex: l } : void 0 })));
|
|
635
|
+
});
|
|
636
|
+
eo.displayName = "Slider";
|
|
637
|
+
const to = { ...N, ...q, ...W }, ao = t.forwardRef((e, a) => {
|
|
638
|
+
const { asChild: r, className: s, ...n } = d(e, to), l = r ? $ : "strong";
|
|
639
|
+
return t.createElement(l, { ...n, ref: a, className: i("rt-Strong", s) });
|
|
640
|
+
});
|
|
641
|
+
ao.displayName = "Strong";
|
|
642
|
+
const ro = ["1", "2", "3"], so = ["classic", "surface", "soft"], no = { size: { type: "enum", className: "rt-r-size", values: ro, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: so, default: "surface" }, ...C, ...b, ...P }, lo = t.forwardRef((e, a) => {
|
|
643
|
+
const { className: r, color: s, radius: n, ...l } = d(e, no, g);
|
|
644
|
+
return t.createElement(ss, { "data-accent-color": s, "data-radius": n, ...l, asChild: !1, ref: a, className: i("rt-reset", "rt-SwitchRoot", r) }, t.createElement(ns, { className: i("rt-SwitchThumb", { "rt-high-contrast": e.highContrast }) }));
|
|
645
|
+
});
|
|
646
|
+
lo.displayName = "Switch";
|
|
647
|
+
const oo = ["1", "2"], co = ["nowrap", "wrap", "wrap-reverse"], io = ["start", "center", "end"], uo = { size: { type: "enum", className: "rt-r-size", values: oo, default: "2", responsive: !0 }, wrap: { type: "enum", className: "rt-r-fw", values: co, responsive: !0 }, justify: { type: "enum", className: "rt-r-jc", values: io, responsive: !0 }, ...C, ...b }, mo = ["1", "2", "3"], po = ["surface", "ghost"], fo = ["auto", "fixed"], Ne = { size: { type: "enum", className: "rt-r-size", values: mo, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: po, default: "ghost" }, layout: { type: "enum", className: "rt-r-tl", values: fo, responsive: !0 } }, go = ["start", "center", "end", "baseline"], ho = { align: { type: "enum", className: "rt-r-va", values: go, parseValue: vo, responsive: !0 } };
|
|
648
|
+
function vo(e) {
|
|
649
|
+
return { baseline: "baseline", start: "top", center: "middle", end: "bottom" }[e];
|
|
628
650
|
}
|
|
629
|
-
const
|
|
630
|
-
function
|
|
631
|
-
return { start: "left", center: "center", end: "right" }[
|
|
651
|
+
const No = ["start", "center", "end"], Ie = { justify: { type: "enum", className: "rt-r-ta", values: No, parseValue: yo, responsive: !0 }, ...R, ...re };
|
|
652
|
+
function yo(e) {
|
|
653
|
+
return { start: "left", center: "center", end: "right" }[e];
|
|
632
654
|
}
|
|
633
|
-
const
|
|
634
|
-
const { layout: r, ...
|
|
635
|
-
return
|
|
636
|
-
});
|
|
637
|
-
|
|
638
|
-
const
|
|
639
|
-
|
|
640
|
-
const
|
|
641
|
-
|
|
642
|
-
const
|
|
643
|
-
const { className: r, ...
|
|
644
|
-
return
|
|
645
|
-
});
|
|
646
|
-
|
|
647
|
-
const
|
|
648
|
-
const { className: r, ...
|
|
649
|
-
return
|
|
650
|
-
});
|
|
651
|
-
|
|
652
|
-
const
|
|
653
|
-
const { className: r, ...
|
|
654
|
-
return
|
|
655
|
-
});
|
|
656
|
-
|
|
657
|
-
const
|
|
658
|
-
const { className: r, ...
|
|
659
|
-
return
|
|
660
|
-
});
|
|
661
|
-
|
|
662
|
-
const
|
|
655
|
+
const wa = t.forwardRef((e, a) => {
|
|
656
|
+
const { layout: r, ...s } = Ne, { className: n, children: l, layout: o, ...c } = d(e, s, g), u = se({ value: o, className: Ne.layout.className, propValues: Ne.layout.values });
|
|
657
|
+
return t.createElement("div", { ref: a, className: i("rt-TableRoot", n), ...c }, t.createElement(fe, null, t.createElement("table", { className: i("rt-TableRootTable", u) }, l)));
|
|
658
|
+
});
|
|
659
|
+
wa.displayName = "Table.Root";
|
|
660
|
+
const Ea = t.forwardRef(({ className: e, ...a }, r) => t.createElement("thead", { ...a, ref: r, className: i("rt-TableHeader", e) }));
|
|
661
|
+
Ea.displayName = "Table.Header";
|
|
662
|
+
const Ra = t.forwardRef(({ className: e, ...a }, r) => t.createElement("tbody", { ...a, ref: r, className: i("rt-TableBody", e) }));
|
|
663
|
+
Ra.displayName = "Table.Body";
|
|
664
|
+
const Sa = t.forwardRef((e, a) => {
|
|
665
|
+
const { className: r, ...s } = d(e, ho);
|
|
666
|
+
return t.createElement("tr", { ...s, ref: a, className: i("rt-TableRow", r) });
|
|
667
|
+
});
|
|
668
|
+
Sa.displayName = "Table.Row";
|
|
669
|
+
const xa = t.forwardRef((e, a) => {
|
|
670
|
+
const { className: r, ...s } = d(e, Ie);
|
|
671
|
+
return t.createElement("td", { className: i("rt-TableCell", r), ref: a, ...s });
|
|
672
|
+
});
|
|
673
|
+
xa.displayName = "Table.Cell";
|
|
674
|
+
const Ta = t.forwardRef((e, a) => {
|
|
675
|
+
const { className: r, ...s } = d(e, Ie);
|
|
676
|
+
return t.createElement("th", { className: i("rt-TableCell", "rt-TableColumnHeaderCell", r), scope: "col", ref: a, ...s });
|
|
677
|
+
});
|
|
678
|
+
Ta.displayName = "Table.ColumnHeaderCell";
|
|
679
|
+
const Ma = t.forwardRef((e, a) => {
|
|
680
|
+
const { className: r, ...s } = d(e, Ie);
|
|
681
|
+
return t.createElement("th", { className: i("rt-TableCell", "rt-TableRowHeaderCell", r), scope: "row", ref: a, ...s });
|
|
682
|
+
});
|
|
683
|
+
Ma.displayName = "Table.RowHeaderCell";
|
|
684
|
+
const dc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
663
685
|
__proto__: null,
|
|
664
|
-
Body:
|
|
665
|
-
Cell:
|
|
666
|
-
ColumnHeaderCell:
|
|
667
|
-
Header:
|
|
668
|
-
Root:
|
|
669
|
-
Row:
|
|
670
|
-
RowHeaderCell:
|
|
671
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
672
|
-
const { className: r, ...
|
|
673
|
-
return
|
|
674
|
-
});
|
|
675
|
-
|
|
676
|
-
const
|
|
677
|
-
const { className: r, color:
|
|
678
|
-
return
|
|
679
|
-
});
|
|
680
|
-
|
|
681
|
-
const
|
|
682
|
-
const { className: r, children:
|
|
683
|
-
return
|
|
684
|
-
});
|
|
685
|
-
|
|
686
|
-
const
|
|
687
|
-
const { className: r, ...
|
|
688
|
-
return
|
|
689
|
-
});
|
|
690
|
-
|
|
691
|
-
const
|
|
686
|
+
Body: Ra,
|
|
687
|
+
Cell: xa,
|
|
688
|
+
ColumnHeaderCell: Ta,
|
|
689
|
+
Header: Ea,
|
|
690
|
+
Root: wa,
|
|
691
|
+
Row: Sa,
|
|
692
|
+
RowHeaderCell: Ma
|
|
693
|
+
}, Symbol.toStringTag, { value: "Module" })), za = t.forwardRef((e, a) => {
|
|
694
|
+
const { className: r, ...s } = d(e, g);
|
|
695
|
+
return t.createElement(cs, { ...s, ref: a, className: i("rt-TabsRoot", r) });
|
|
696
|
+
});
|
|
697
|
+
za.displayName = "Tabs.Root";
|
|
698
|
+
const Pa = t.forwardRef((e, a) => {
|
|
699
|
+
const { className: r, color: s, ...n } = d(e, uo, g);
|
|
700
|
+
return t.createElement(os, { "data-accent-color": s, ...n, asChild: !1, ref: a, className: i("rt-BaseTabList", "rt-TabsList", r) });
|
|
701
|
+
});
|
|
702
|
+
Pa.displayName = "Tabs.List";
|
|
703
|
+
const Ia = t.forwardRef((e, a) => {
|
|
704
|
+
const { className: r, children: s, ...n } = e;
|
|
705
|
+
return t.createElement(is, { ...n, asChild: !1, ref: a, className: i("rt-reset", "rt-BaseTabListTrigger", "rt-TabsTrigger", r) }, t.createElement("span", { className: "rt-BaseTabListTriggerInner rt-TabsTriggerInner" }, s), t.createElement("span", { className: "rt-BaseTabListTriggerInnerHidden rt-TabsTriggerInnerHidden" }, s));
|
|
706
|
+
});
|
|
707
|
+
Ia.displayName = "Tabs.Trigger";
|
|
708
|
+
const ka = t.forwardRef((e, a) => {
|
|
709
|
+
const { className: r, ...s } = d(e, g);
|
|
710
|
+
return t.createElement(ls, { ...s, ref: a, className: i("rt-TabsContent", r) });
|
|
711
|
+
});
|
|
712
|
+
ka.displayName = "Tabs.Content";
|
|
713
|
+
const mc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
692
714
|
__proto__: null,
|
|
693
|
-
Content:
|
|
694
|
-
List:
|
|
695
|
-
Root:
|
|
696
|
-
Trigger:
|
|
697
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
698
|
-
const { className: r, color:
|
|
699
|
-
return
|
|
700
|
-
});
|
|
701
|
-
|
|
702
|
-
const
|
|
703
|
-
const r =
|
|
704
|
-
return
|
|
705
|
-
const
|
|
706
|
-
if (
|
|
707
|
-
const
|
|
708
|
-
if (!
|
|
709
|
-
const
|
|
715
|
+
Content: ka,
|
|
716
|
+
List: Pa,
|
|
717
|
+
Root: za,
|
|
718
|
+
Trigger: Ia
|
|
719
|
+
}, Symbol.toStringTag, { value: "Module" })), Co = ["1", "2", "3"], $o = ["classic", "surface", "soft"], bo = ["none", "vertical", "horizontal", "both"], wo = { size: { type: "enum", className: "rt-r-size", values: Co, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: $o, default: "surface" }, resize: { type: "enum", className: "rt-r-resize", values: bo, responsive: !0 }, ...C, ...P }, Eo = t.forwardRef((e, a) => {
|
|
720
|
+
const { className: r, color: s, radius: n, style: l, ...o } = d(e, wo, g);
|
|
721
|
+
return t.createElement("div", { "data-accent-color": s, "data-radius": n, className: i("rt-TextAreaRoot", r), style: l }, t.createElement("textarea", { className: "rt-reset rt-TextAreaInput", ref: a, ...o }));
|
|
722
|
+
});
|
|
723
|
+
Eo.displayName = "TextArea";
|
|
724
|
+
const Ro = ["1", "2", "3"], So = ["classic", "surface", "soft"], xo = { size: { type: "enum", className: "rt-r-size", values: Ro, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: So, default: "surface" }, ...C, ...P }, To = ["left", "right"], Mo = { side: { type: "enum", values: To }, ...C, gap: $t.gap, px: re.px, pl: re.pl, pr: re.pr }, _a = t.forwardRef((e, a) => {
|
|
725
|
+
const r = t.useRef(null), { children: s, className: n, color: l, radius: o, style: c, ...u } = d(e, xo, g);
|
|
726
|
+
return t.createElement("div", { "data-accent-color": l, "data-radius": o, style: c, className: i("rt-TextFieldRoot", n), onPointerDown: (p) => {
|
|
727
|
+
const f = p.target;
|
|
728
|
+
if (f.closest("input, button, a")) return;
|
|
729
|
+
const h = r.current;
|
|
730
|
+
if (!h) return;
|
|
731
|
+
const y = f.closest(`
|
|
710
732
|
.rt-TextFieldSlot[data-side='right'],
|
|
711
733
|
.rt-TextFieldSlot:not([data-side='right']) ~ .rt-TextFieldSlot:not([data-side='left'])
|
|
712
|
-
`) ?
|
|
734
|
+
`) ? h.value.length : 0;
|
|
713
735
|
requestAnimationFrame(() => {
|
|
714
736
|
try {
|
|
715
|
-
|
|
737
|
+
h.setSelectionRange(y, y);
|
|
716
738
|
} catch {
|
|
717
739
|
}
|
|
718
|
-
|
|
740
|
+
h.focus();
|
|
719
741
|
});
|
|
720
|
-
} },
|
|
742
|
+
} }, t.createElement("input", { spellCheck: "false", ...u, ref: Ze(r, a), className: "rt-reset rt-TextFieldInput" }), s);
|
|
721
743
|
});
|
|
722
|
-
|
|
723
|
-
const
|
|
724
|
-
const { className: r, color:
|
|
725
|
-
return
|
|
744
|
+
_a.displayName = "TextField.Root";
|
|
745
|
+
const Ba = t.forwardRef((e, a) => {
|
|
746
|
+
const { className: r, color: s, side: n, ...l } = d(e, Mo);
|
|
747
|
+
return t.createElement("div", { "data-accent-color": s, "data-side": n, ...l, ref: a, className: i("rt-TextFieldSlot", r) });
|
|
726
748
|
});
|
|
727
|
-
|
|
728
|
-
const
|
|
749
|
+
Ba.displayName = "TextField.Slot";
|
|
750
|
+
const pc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
729
751
|
__proto__: null,
|
|
730
|
-
Root:
|
|
731
|
-
Slot:
|
|
732
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
733
|
-
const { children: r, className:
|
|
734
|
-
return
|
|
735
|
-
});
|
|
736
|
-
|
|
737
|
-
const
|
|
738
|
-
onClick:
|
|
752
|
+
Root: _a,
|
|
753
|
+
Slot: Ba
|
|
754
|
+
}, Symbol.toStringTag, { value: "Module" })), zo = { content: { type: "ReactNode", required: !0 }, width: R.width, minWidth: R.minWidth, maxWidth: { ...R.maxWidth, default: "360px" } }, ke = t.forwardRef((e, a) => {
|
|
755
|
+
const { children: r, className: s, open: n, defaultOpen: l, onOpenChange: o, delayDuration: c, disableHoverableContent: u, content: p, container: f, forceMount: h, ...y } = d(e, zo), w = { open: n, defaultOpen: l, onOpenChange: o, delayDuration: c, disableHoverableContent: u };
|
|
756
|
+
return t.createElement(Je, { ...w }, t.createElement(et, { asChild: !0 }, r), t.createElement(us, { container: f, forceMount: h }, t.createElement(k, { asChild: !0 }, t.createElement(tt, { sideOffset: 4, collisionPadding: 10, ...y, asChild: !1, ref: a, className: i("rt-TooltipContent", s) }, t.createElement(z, { as: "p", className: "rt-TooltipText", size: "1" }, p), t.createElement(at, { className: "rt-TooltipArrow" })))));
|
|
757
|
+
});
|
|
758
|
+
ke.displayName = "Tooltip";
|
|
759
|
+
const Aa = ({
|
|
760
|
+
onClick: e,
|
|
739
761
|
className: a,
|
|
740
762
|
children: r,
|
|
741
|
-
variant:
|
|
742
|
-
color:
|
|
743
|
-
disabled:
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
763
|
+
variant: s = "ghost",
|
|
764
|
+
color: n = "gray",
|
|
765
|
+
disabled: l,
|
|
766
|
+
size: o = "1",
|
|
767
|
+
...c
|
|
768
|
+
}) => /* @__PURE__ */ m(
|
|
769
|
+
ra,
|
|
747
770
|
{
|
|
748
|
-
onClick:
|
|
749
|
-
className:
|
|
750
|
-
variant:
|
|
751
|
-
disabled:
|
|
752
|
-
color:
|
|
753
|
-
|
|
771
|
+
onClick: e,
|
|
772
|
+
className: i(a),
|
|
773
|
+
variant: s,
|
|
774
|
+
disabled: l,
|
|
775
|
+
color: n,
|
|
776
|
+
size: o,
|
|
777
|
+
...c,
|
|
754
778
|
children: r
|
|
755
779
|
}
|
|
756
780
|
);
|
|
757
|
-
|
|
758
|
-
const
|
|
759
|
-
|
|
781
|
+
Aa.displayName = "IconButton";
|
|
782
|
+
const fc = ({ children: e, ...a }) => /* @__PURE__ */ m(
|
|
783
|
+
k,
|
|
760
784
|
{
|
|
761
|
-
accentColor: "
|
|
785
|
+
accentColor: "cyan",
|
|
762
786
|
appearance: "dark",
|
|
763
787
|
panelBackground: "solid",
|
|
764
788
|
...a,
|
|
765
|
-
children:
|
|
789
|
+
children: e
|
|
766
790
|
}
|
|
767
|
-
),
|
|
768
|
-
sliderRoot:
|
|
769
|
-
sliderTrack:
|
|
770
|
-
sliderRange:
|
|
771
|
-
sliderThumb:
|
|
772
|
-
tooltipContent:
|
|
773
|
-
tooltipArrow:
|
|
774
|
-
sliderContainer:
|
|
775
|
-
},
|
|
776
|
-
const [
|
|
777
|
-
if (
|
|
778
|
-
const
|
|
779
|
-
return
|
|
780
|
-
}, []), c =
|
|
781
|
-
const
|
|
782
|
-
return
|
|
783
|
-
}, [a,
|
|
784
|
-
clearTimeout(
|
|
785
|
-
}, []),
|
|
786
|
-
|
|
787
|
-
|
|
791
|
+
), Po = "_sliderRoot_1fv47_23", Io = "_sliderTrack_1fv47_31", ko = "_sliderRange_1fv47_46", _o = "_sliderThumb_1fv47_65", Bo = "_tooltipContent_1fv47_85", Ao = "_tooltipArrow_1fv47_99", Vo = "_sliderContainer_1fv47_114", G = {
|
|
792
|
+
sliderRoot: Po,
|
|
793
|
+
sliderTrack: Io,
|
|
794
|
+
sliderRange: ko,
|
|
795
|
+
sliderThumb: _o,
|
|
796
|
+
tooltipContent: Bo,
|
|
797
|
+
tooltipArrow: Ao,
|
|
798
|
+
sliderContainer: Vo
|
|
799
|
+
}, gc = ({ onChangeValue: e, volume: a, disabled: r }) => {
|
|
800
|
+
const [s, n] = Oa(!1), l = Ha(), o = F((v) => {
|
|
801
|
+
if (v < 1e-3) return -1 / 0;
|
|
802
|
+
const _ = 20 * Math.log10(v);
|
|
803
|
+
return _ < -60 ? -60 : _;
|
|
804
|
+
}, []), c = F((v) => v === -1 / 0 || v <= -60 ? 0 : Math.pow(10, v / 20), []), u = ge(() => {
|
|
805
|
+
const v = o(a);
|
|
806
|
+
return v === -1 / 0 ? -60 : Math.max(-60, Math.min(6, v));
|
|
807
|
+
}, [a, o]), p = ge(() => a < 1e-3, [a]), f = F(() => {
|
|
808
|
+
clearTimeout(l.current), n(!0);
|
|
809
|
+
}, []), h = F(() => {
|
|
810
|
+
l.current = setTimeout(() => {
|
|
811
|
+
n(!1);
|
|
788
812
|
}, 300);
|
|
789
|
-
}, []),
|
|
790
|
-
(
|
|
791
|
-
(
|
|
813
|
+
}, []), y = F(
|
|
814
|
+
(v) => {
|
|
815
|
+
(v.key === "ArrowUp" || v.key === "ArrowDown") && f(), (v.key === "ArrowLeft" || v.key === "ArrowRight") && (v.preventDefault(), v.stopPropagation());
|
|
792
816
|
},
|
|
793
|
-
[
|
|
794
|
-
),
|
|
795
|
-
(
|
|
796
|
-
|
|
817
|
+
[f]
|
|
818
|
+
), w = F(
|
|
819
|
+
(v) => {
|
|
820
|
+
e(v.map(c));
|
|
797
821
|
},
|
|
798
|
-
[
|
|
799
|
-
),
|
|
800
|
-
() => /* @__PURE__ */
|
|
801
|
-
|
|
802
|
-
/* @__PURE__ */
|
|
822
|
+
[e, c]
|
|
823
|
+
), T = ge(
|
|
824
|
+
() => /* @__PURE__ */ E(La, { children: [
|
|
825
|
+
p ? "-∞ dB" : `${u.toFixed(1)} dB`,
|
|
826
|
+
/* @__PURE__ */ m(at, { className: G.tooltipArrow })
|
|
803
827
|
] }),
|
|
804
|
-
[
|
|
828
|
+
[u, p]
|
|
805
829
|
);
|
|
806
|
-
return /* @__PURE__ */
|
|
807
|
-
|
|
830
|
+
return /* @__PURE__ */ m(
|
|
831
|
+
Qe,
|
|
808
832
|
{
|
|
809
|
-
className:
|
|
833
|
+
className: G.sliderRoot,
|
|
810
834
|
min: -60,
|
|
811
835
|
max: 6,
|
|
812
836
|
step: 0.1,
|
|
813
|
-
value: [
|
|
814
|
-
onValueChange:
|
|
815
|
-
onMouseEnter:
|
|
816
|
-
onMouseLeave:
|
|
837
|
+
value: [p ? -60 : u],
|
|
838
|
+
onValueChange: w,
|
|
839
|
+
onMouseEnter: f,
|
|
840
|
+
onMouseLeave: h,
|
|
817
841
|
disabled: r,
|
|
818
|
-
children: /* @__PURE__ */
|
|
842
|
+
children: /* @__PURE__ */ E(
|
|
819
843
|
"div",
|
|
820
844
|
{
|
|
821
|
-
className:
|
|
822
|
-
onMouseEnter:
|
|
823
|
-
onMouseLeave:
|
|
845
|
+
className: G.sliderContainer,
|
|
846
|
+
onMouseEnter: f,
|
|
847
|
+
onMouseLeave: h,
|
|
824
848
|
children: [
|
|
825
|
-
/* @__PURE__ */
|
|
826
|
-
|
|
849
|
+
/* @__PURE__ */ m(
|
|
850
|
+
Ye,
|
|
827
851
|
{
|
|
828
|
-
className:
|
|
829
|
-
onMouseEnter:
|
|
830
|
-
onMouseLeave:
|
|
831
|
-
children: /* @__PURE__ */
|
|
852
|
+
className: G.sliderTrack,
|
|
853
|
+
onMouseEnter: f,
|
|
854
|
+
onMouseLeave: h,
|
|
855
|
+
children: /* @__PURE__ */ m(Ue, { className: G.sliderRange })
|
|
832
856
|
}
|
|
833
857
|
),
|
|
834
|
-
/* @__PURE__ */
|
|
835
|
-
/* @__PURE__ */
|
|
836
|
-
|
|
858
|
+
/* @__PURE__ */ m(je, { delayDuration: 200, children: /* @__PURE__ */ E(Je, { open: s, children: [
|
|
859
|
+
/* @__PURE__ */ m(et, { asChild: !0, children: /* @__PURE__ */ m(
|
|
860
|
+
Xe,
|
|
837
861
|
{
|
|
838
|
-
className:
|
|
839
|
-
onPointerDown:
|
|
840
|
-
onMouseEnter:
|
|
841
|
-
onMouseLeave:
|
|
842
|
-
onKeyDown:
|
|
862
|
+
className: G.sliderThumb,
|
|
863
|
+
onPointerDown: f,
|
|
864
|
+
onMouseEnter: f,
|
|
865
|
+
onMouseLeave: h,
|
|
866
|
+
onKeyDown: y
|
|
843
867
|
}
|
|
844
868
|
) }),
|
|
845
|
-
/* @__PURE__ */
|
|
846
|
-
|
|
869
|
+
/* @__PURE__ */ m(
|
|
870
|
+
tt,
|
|
847
871
|
{
|
|
848
|
-
className:
|
|
872
|
+
className: G.tooltipContent,
|
|
849
873
|
side: "bottom",
|
|
850
874
|
align: "center",
|
|
851
875
|
sideOffset: 10,
|
|
852
|
-
children:
|
|
876
|
+
children: T
|
|
853
877
|
}
|
|
854
878
|
)
|
|
855
879
|
] }) })
|
|
@@ -858,143 +882,331 @@ const jl = ({ children: t, ...a }) => /* @__PURE__ */ y(
|
|
|
858
882
|
)
|
|
859
883
|
}
|
|
860
884
|
);
|
|
861
|
-
},
|
|
862
|
-
dropdownMenuContent:
|
|
863
|
-
dropdownMenuSubContent:
|
|
864
|
-
dropdownMenuItem:
|
|
865
|
-
dropdownMenuSeparator:
|
|
866
|
-
rightSlot:
|
|
867
|
-
dropdownMenuSub:
|
|
868
|
-
dropdownMenuSubTrigger:
|
|
869
|
-
dropdownMenuLabel:
|
|
870
|
-
dropdownMenuTrigger:
|
|
871
|
-
},
|
|
885
|
+
}, Do = "_dropdownMenuContent_fegrn_1", jo = "_dropdownMenuSubContent_fegrn_1", Lo = "_dropdownMenuItem_fegrn_15", Oo = "_dropdownMenuSeparator_fegrn_33", Ho = "_rightSlot_fegrn_39", Go = "_dropdownMenuSub_fegrn_1", Fo = "_dropdownMenuSubTrigger_fegrn_55", Wo = "_dropdownMenuLabel_fegrn_82", qo = "_dropdownMenuTrigger_fegrn_90", I = {
|
|
886
|
+
dropdownMenuContent: Do,
|
|
887
|
+
dropdownMenuSubContent: jo,
|
|
888
|
+
dropdownMenuItem: Lo,
|
|
889
|
+
dropdownMenuSeparator: Oo,
|
|
890
|
+
rightSlot: Ho,
|
|
891
|
+
dropdownMenuSub: Go,
|
|
892
|
+
dropdownMenuSubTrigger: Fo,
|
|
893
|
+
dropdownMenuLabel: Wo,
|
|
894
|
+
dropdownMenuTrigger: qo
|
|
895
|
+
}, Va = (e) => {
|
|
872
896
|
var a;
|
|
873
|
-
switch (
|
|
897
|
+
switch (e.type) {
|
|
874
898
|
case "separator":
|
|
875
|
-
return /* @__PURE__ */
|
|
876
|
-
|
|
899
|
+
return /* @__PURE__ */ m(
|
|
900
|
+
ys,
|
|
877
901
|
{
|
|
878
|
-
className:
|
|
902
|
+
className: I.dropdownMenuSeparator
|
|
879
903
|
},
|
|
880
|
-
|
|
904
|
+
e.key
|
|
881
905
|
);
|
|
882
906
|
case "label":
|
|
883
|
-
return /* @__PURE__ */
|
|
884
|
-
|
|
907
|
+
return /* @__PURE__ */ m(
|
|
908
|
+
Ns,
|
|
885
909
|
{
|
|
886
|
-
className:
|
|
887
|
-
children:
|
|
910
|
+
className: I.dropdownMenuLabel,
|
|
911
|
+
children: e.label
|
|
888
912
|
},
|
|
889
|
-
|
|
913
|
+
e.key
|
|
890
914
|
);
|
|
891
915
|
case "sub":
|
|
892
|
-
return /* @__PURE__ */
|
|
893
|
-
/* @__PURE__ */
|
|
894
|
-
|
|
916
|
+
return /* @__PURE__ */ E(gs, { className: I.dropdownMenuSub, children: [
|
|
917
|
+
/* @__PURE__ */ E(
|
|
918
|
+
hs,
|
|
895
919
|
{
|
|
896
|
-
className:
|
|
920
|
+
className: I.dropdownMenuSubTrigger,
|
|
897
921
|
children: [
|
|
898
|
-
|
|
899
|
-
/* @__PURE__ */
|
|
922
|
+
e.label,
|
|
923
|
+
/* @__PURE__ */ m("div", { className: I.rightSlot, children: /* @__PURE__ */ m(Cs, {}) })
|
|
900
924
|
]
|
|
901
925
|
}
|
|
902
926
|
),
|
|
903
|
-
/* @__PURE__ */
|
|
904
|
-
|
|
927
|
+
/* @__PURE__ */ m(
|
|
928
|
+
vs,
|
|
905
929
|
{
|
|
906
|
-
className:
|
|
907
|
-
children: (a =
|
|
930
|
+
className: I.dropdownMenuSubContent,
|
|
931
|
+
children: (a = e == null ? void 0 : e.children) == null ? void 0 : a.map((r) => Va(r))
|
|
908
932
|
}
|
|
909
933
|
)
|
|
910
|
-
] },
|
|
934
|
+
] }, e.key);
|
|
911
935
|
case "item":
|
|
912
|
-
return /* @__PURE__ */
|
|
913
|
-
|
|
936
|
+
return /* @__PURE__ */ E(
|
|
937
|
+
fs,
|
|
914
938
|
{
|
|
915
|
-
className:
|
|
916
|
-
onSelect:
|
|
917
|
-
disabled:
|
|
939
|
+
className: I.dropdownMenuItem,
|
|
940
|
+
onSelect: e.onClick,
|
|
941
|
+
disabled: e.disabled,
|
|
918
942
|
children: [
|
|
919
|
-
|
|
920
|
-
|
|
943
|
+
e.label,
|
|
944
|
+
e.keybinding && /* @__PURE__ */ m("div", { className: I.rightSlot, children: e.keybinding })
|
|
921
945
|
]
|
|
922
946
|
},
|
|
923
|
-
|
|
947
|
+
e.key
|
|
924
948
|
);
|
|
925
949
|
default:
|
|
926
950
|
return null;
|
|
927
951
|
}
|
|
928
|
-
},
|
|
929
|
-
({ trigger:
|
|
930
|
-
/* @__PURE__ */
|
|
931
|
-
|
|
952
|
+
}, hc = Ga(
|
|
953
|
+
({ trigger: e, options: a, className: r, ...s }) => /* @__PURE__ */ E(ds, { children: [
|
|
954
|
+
/* @__PURE__ */ m(
|
|
955
|
+
ms,
|
|
932
956
|
{
|
|
933
957
|
asChild: !0,
|
|
934
|
-
className:
|
|
935
|
-
children:
|
|
958
|
+
className: I.dropdownMenuTrigger,
|
|
959
|
+
children: e
|
|
936
960
|
}
|
|
937
961
|
),
|
|
938
|
-
/* @__PURE__ */
|
|
939
|
-
|
|
962
|
+
/* @__PURE__ */ m(
|
|
963
|
+
ps,
|
|
940
964
|
{
|
|
941
|
-
className:
|
|
942
|
-
side:
|
|
943
|
-
align:
|
|
965
|
+
className: i(I.dropdownMenuContent, r),
|
|
966
|
+
side: s.side,
|
|
967
|
+
align: s.align,
|
|
944
968
|
sideOffset: 5,
|
|
945
969
|
alignOffset: 0,
|
|
946
|
-
onCloseAutoFocus: (
|
|
947
|
-
|
|
970
|
+
onCloseAutoFocus: (n) => {
|
|
971
|
+
n.preventDefault();
|
|
948
972
|
},
|
|
949
|
-
children: a == null ? void 0 : a.map((
|
|
973
|
+
children: a == null ? void 0 : a.map((n) => Va(n))
|
|
974
|
+
}
|
|
975
|
+
)
|
|
976
|
+
] })
|
|
977
|
+
), Da = x.forwardRef(
|
|
978
|
+
({ children: e, onClick: a, title: r, className: s, ...n }, l) => /* @__PURE__ */ m(
|
|
979
|
+
Aa,
|
|
980
|
+
{
|
|
981
|
+
ref: l,
|
|
982
|
+
variant: "ghost",
|
|
983
|
+
className: s,
|
|
984
|
+
...n,
|
|
985
|
+
onClick: a,
|
|
986
|
+
children: r ? /* @__PURE__ */ m(ke, { content: r, children: e }) : e
|
|
987
|
+
}
|
|
988
|
+
)
|
|
989
|
+
);
|
|
990
|
+
Da.displayName = "HeaderPanel.Button";
|
|
991
|
+
const _e = x.forwardRef(
|
|
992
|
+
({ title: e, children: a, className: r, ...s }, n) => /* @__PURE__ */ E(
|
|
993
|
+
S,
|
|
994
|
+
{
|
|
995
|
+
ref: n,
|
|
996
|
+
gap: "4",
|
|
997
|
+
align: "center",
|
|
998
|
+
justify: "between",
|
|
999
|
+
className: r,
|
|
1000
|
+
...s,
|
|
1001
|
+
children: [
|
|
1002
|
+
/* @__PURE__ */ m(z, { size: "4", weight: "bold", children: e }),
|
|
1003
|
+
/* @__PURE__ */ m(S, { gap: "3", children: a })
|
|
1004
|
+
]
|
|
1005
|
+
}
|
|
1006
|
+
)
|
|
1007
|
+
);
|
|
1008
|
+
_e.displayName = "HeaderPanel";
|
|
1009
|
+
_e.Button = Da;
|
|
1010
|
+
const vc = _e, Ko = ({ className: e, image: a, name: r, description: s, id: n, ...l }) => {
|
|
1011
|
+
const o = a && (a != null && a.startsWith("url(")) ? a == null ? void 0 : a.substring(4, (a == null ? void 0 : a.length) - 1).replace(/"/g, "") : a;
|
|
1012
|
+
return /* @__PURE__ */ m(
|
|
1013
|
+
ua,
|
|
1014
|
+
{
|
|
1015
|
+
value: n,
|
|
1016
|
+
style: { justifyContent: "flex-start" },
|
|
1017
|
+
className: e,
|
|
1018
|
+
...l,
|
|
1019
|
+
children: /* @__PURE__ */ E(S, { gap: "4", align: "center", children: [
|
|
1020
|
+
/* @__PURE__ */ m(Nt, { size: "6", src: o, radius: 10 }),
|
|
1021
|
+
/* @__PURE__ */ E(Y, { children: [
|
|
1022
|
+
/* @__PURE__ */ m(z, { as: "div", size: "2", weight: "bold", children: r }),
|
|
1023
|
+
/* @__PURE__ */ m(z, { as: "div", size: "2", color: "gray", children: s })
|
|
1024
|
+
] })
|
|
1025
|
+
] })
|
|
1026
|
+
}
|
|
1027
|
+
);
|
|
1028
|
+
}, Zo = ({ items: e, value: a, onSelect: r, className: s, ...n }) => /* @__PURE__ */ m(Y, { height: "100%", width: "100%", overflow: "auto", children: /* @__PURE__ */ m(
|
|
1029
|
+
ia,
|
|
1030
|
+
{
|
|
1031
|
+
defaultValue: a,
|
|
1032
|
+
onValueChange: r,
|
|
1033
|
+
columns: { initial: "1", sm: "1" },
|
|
1034
|
+
className: s,
|
|
1035
|
+
...n,
|
|
1036
|
+
children: e.map((l) => /* @__PURE__ */ m(
|
|
1037
|
+
Ko,
|
|
1038
|
+
{
|
|
1039
|
+
id: l.id,
|
|
1040
|
+
name: l.name,
|
|
1041
|
+
description: l.description,
|
|
1042
|
+
image: l.image
|
|
1043
|
+
},
|
|
1044
|
+
l.id
|
|
1045
|
+
))
|
|
1046
|
+
}
|
|
1047
|
+
) });
|
|
1048
|
+
Zo.displayName = "ListCards";
|
|
1049
|
+
const Qo = ({ item: e, value: a, onSelect: r }) => {
|
|
1050
|
+
const s = F(() => {
|
|
1051
|
+
r && r(e.id);
|
|
1052
|
+
}, [r, e.id]), n = a == null ? void 0 : a.includes(e.id);
|
|
1053
|
+
return /* @__PURE__ */ m(Y, { width: "calc(50% - 6px)", children: /* @__PURE__ */ m(
|
|
1054
|
+
Mt,
|
|
1055
|
+
{
|
|
1056
|
+
onClick: s,
|
|
1057
|
+
cursor: "pointer",
|
|
1058
|
+
style: {
|
|
1059
|
+
cursor: "pointer",
|
|
1060
|
+
boxSizing: "border-box",
|
|
1061
|
+
border: n ? "2px solid var(--accent-9)" : "2px solid transparent",
|
|
1062
|
+
background: n ? "var(--accent-3)" : "var(--color-surface)"
|
|
1063
|
+
},
|
|
1064
|
+
children: /* @__PURE__ */ E(S, { gap: "3", align: "start", direction: "column", height: "87px", children: [
|
|
1065
|
+
e == null ? void 0 : e.icon,
|
|
1066
|
+
/* @__PURE__ */ m(z, { as: "div", size: "2", color: "gray", weight: "bold", children: e == null ? void 0 : e.name })
|
|
1067
|
+
] })
|
|
1068
|
+
}
|
|
1069
|
+
) });
|
|
1070
|
+
}, Yo = ({
|
|
1071
|
+
items: e,
|
|
1072
|
+
value: a = [],
|
|
1073
|
+
onSelect: r,
|
|
1074
|
+
className: s,
|
|
1075
|
+
...n
|
|
1076
|
+
}) => /* @__PURE__ */ m(Y, { height: "100%", width: "100%", overflow: "auto", children: /* @__PURE__ */ m(S, { className: s, ...n, gap: "3", wrap: "wrap", children: e.map((l) => /* @__PURE__ */ m(Qo, { item: l, value: a, onSelect: r }, l.id)) }) });
|
|
1077
|
+
Yo.displayName = "MultiSelectCards";
|
|
1078
|
+
const Uo = ({
|
|
1079
|
+
className: e,
|
|
1080
|
+
selectedType: a,
|
|
1081
|
+
size: r = "1",
|
|
1082
|
+
handleTypeChange: s,
|
|
1083
|
+
items: n,
|
|
1084
|
+
...l
|
|
1085
|
+
}) => /* @__PURE__ */ m(
|
|
1086
|
+
S,
|
|
1087
|
+
{
|
|
1088
|
+
padding: "1",
|
|
1089
|
+
width: "100%",
|
|
1090
|
+
className: "custom-segmented-control-container",
|
|
1091
|
+
children: /* @__PURE__ */ m(
|
|
1092
|
+
ha,
|
|
1093
|
+
{
|
|
1094
|
+
size: r,
|
|
1095
|
+
value: a,
|
|
1096
|
+
onValueChange: s,
|
|
1097
|
+
variant: "surface",
|
|
1098
|
+
className: `custom-segmented-control ${e || ""}`,
|
|
1099
|
+
...l,
|
|
1100
|
+
children: n.map((o) => /* @__PURE__ */ m(va, { value: o.value, children: o.label }, o.value))
|
|
950
1101
|
}
|
|
951
1102
|
)
|
|
952
|
-
|
|
1103
|
+
}
|
|
1104
|
+
);
|
|
1105
|
+
Uo.displayName = "SegmentedControl";
|
|
1106
|
+
const Xo = ({
|
|
1107
|
+
type: e,
|
|
1108
|
+
message: a,
|
|
1109
|
+
ctaLabel: r,
|
|
1110
|
+
onClick: s,
|
|
1111
|
+
className: n,
|
|
1112
|
+
...l
|
|
1113
|
+
}) => /* @__PURE__ */ m(
|
|
1114
|
+
St,
|
|
1115
|
+
{
|
|
1116
|
+
size: "1",
|
|
1117
|
+
color: e === "error" ? "red" : e === "warn" ? "yellow" : "gray",
|
|
1118
|
+
style: {
|
|
1119
|
+
padding: "5px 10px",
|
|
1120
|
+
borderRadius: "2px",
|
|
1121
|
+
display: "flex"
|
|
1122
|
+
},
|
|
1123
|
+
className: n,
|
|
1124
|
+
...l,
|
|
1125
|
+
children: /* @__PURE__ */ E(S, { align: "center", width: "100%", gap: "2", justify: "between", children: [
|
|
1126
|
+
/* @__PURE__ */ E(S, { align: "center", gap: "2", children: [
|
|
1127
|
+
/* @__PURE__ */ m(xt, { children: /* @__PURE__ */ m(rt, {}) }),
|
|
1128
|
+
/* @__PURE__ */ m(Tt, { children: a })
|
|
1129
|
+
] }),
|
|
1130
|
+
/* @__PURE__ */ m(S, { children: r && /* @__PURE__ */ m(Et, { size: "1", variant: "solid", color: "gray", onClick: s, children: r }) })
|
|
1131
|
+
] })
|
|
1132
|
+
}
|
|
953
1133
|
);
|
|
1134
|
+
Xo.displayName = "MessageWithAction";
|
|
1135
|
+
const Jo = ({
|
|
1136
|
+
className: e,
|
|
1137
|
+
title: a,
|
|
1138
|
+
handleModelChange: r,
|
|
1139
|
+
defaultValue: s,
|
|
1140
|
+
items: n,
|
|
1141
|
+
info: l,
|
|
1142
|
+
...o
|
|
1143
|
+
}) => /* @__PURE__ */ E(Y, { width: "100%", className: e, ...o, children: [
|
|
1144
|
+
a && /* @__PURE__ */ E(S, { mb: "2", alignItems: "center", gap: "2", children: [
|
|
1145
|
+
/* @__PURE__ */ m(z, { size: "1", weight: "bold", children: a }),
|
|
1146
|
+
l && /* @__PURE__ */ m(ke, { content: l, children: /* @__PURE__ */ m(rt, {}) })
|
|
1147
|
+
] }),
|
|
1148
|
+
/* @__PURE__ */ m(S, { direction: "column", children: /* @__PURE__ */ E(
|
|
1149
|
+
Na,
|
|
1150
|
+
{
|
|
1151
|
+
onValueChange: r,
|
|
1152
|
+
defaultValue: s,
|
|
1153
|
+
children: [
|
|
1154
|
+
/* @__PURE__ */ m(ya, { variant: "soft", color: "gray" }),
|
|
1155
|
+
/* @__PURE__ */ m(Ca, { children: /* @__PURE__ */ m(ba, { children: n.map((c) => /* @__PURE__ */ m($a, { value: c.value, children: c.label }, c.value)) }) })
|
|
1156
|
+
]
|
|
1157
|
+
}
|
|
1158
|
+
) })
|
|
1159
|
+
] });
|
|
1160
|
+
Jo.displayName = "Select";
|
|
954
1161
|
export {
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1162
|
+
sc as AlertDialog,
|
|
1163
|
+
nc as AspectRatio,
|
|
1164
|
+
Nt as Avatar,
|
|
1165
|
+
Fs as Badge,
|
|
1166
|
+
Ws as Blockquote,
|
|
1167
|
+
Y as Box,
|
|
1168
|
+
Et as Button,
|
|
1169
|
+
Mt as Card,
|
|
1170
|
+
Mn as Checkbox,
|
|
1171
|
+
kn as Code,
|
|
1172
|
+
Ln as Container,
|
|
1173
|
+
lc as ContextMenu,
|
|
1174
|
+
oc as Dialog,
|
|
1175
|
+
hc as DropdownMenu,
|
|
1176
|
+
Yn as Em,
|
|
1177
|
+
S as Flex,
|
|
1178
|
+
zt as Grid,
|
|
1179
|
+
vc as HeaderPanel,
|
|
1180
|
+
Re as Heading,
|
|
1181
|
+
gc as HorizontalVolume,
|
|
1182
|
+
cc as HoverCard,
|
|
1183
|
+
Aa as IconButton,
|
|
1184
|
+
al as Inset,
|
|
1185
|
+
nl as Kbd,
|
|
1186
|
+
il as Link,
|
|
1187
|
+
Zo as ListCards,
|
|
1188
|
+
Xo as MessageWithAction,
|
|
1189
|
+
Yo as MultiSelectCards,
|
|
1190
|
+
ic as Popover,
|
|
1191
|
+
gl as Progress,
|
|
1192
|
+
vl as Quote,
|
|
1193
|
+
Tl as Radio,
|
|
1194
|
+
uc as RadioGroup,
|
|
1195
|
+
fe as ScrollArea,
|
|
1196
|
+
Al as Section,
|
|
1197
|
+
Uo as SegmentedControl,
|
|
1198
|
+
Jo as Select,
|
|
1199
|
+
Kl as Separator,
|
|
1200
|
+
Yl as Skeleton,
|
|
1201
|
+
eo as Slider,
|
|
1202
|
+
bt as Spinner,
|
|
1203
|
+
ao as Strong,
|
|
1204
|
+
lo as Switch,
|
|
1205
|
+
dc as Table,
|
|
1206
|
+
mc as Tabs,
|
|
1207
|
+
z as Text,
|
|
1208
|
+
Eo as TextArea,
|
|
1209
|
+
pc as TextField,
|
|
1210
|
+
fc as Theme,
|
|
1211
|
+
ke as Tooltip
|
|
1000
1212
|
};
|