@redbamboo/ui 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +78 -0
- package/dist/components/app-header.d.ts +14 -0
- package/dist/components/app-header.d.ts.map +1 -0
- package/dist/components/badge.d.ts +8 -0
- package/dist/components/badge.d.ts.map +1 -0
- package/dist/components/button.d.ts +9 -0
- package/dist/components/button.d.ts.map +1 -0
- package/dist/components/card.d.ts +12 -0
- package/dist/components/card.d.ts.map +1 -0
- package/dist/components/collapsible.d.ts +6 -0
- package/dist/components/collapsible.d.ts.map +1 -0
- package/dist/components/dialog.d.ts +18 -0
- package/dist/components/dialog.d.ts.map +1 -0
- package/dist/components/dropdown-menu.d.ts +25 -0
- package/dist/components/dropdown-menu.d.ts.map +1 -0
- package/dist/components/input.d.ts +4 -0
- package/dist/components/input.d.ts.map +1 -0
- package/dist/components/json-highlight.d.ts +4 -0
- package/dist/components/json-highlight.d.ts.map +1 -0
- package/dist/components/label.d.ts +4 -0
- package/dist/components/label.d.ts.map +1 -0
- package/dist/components/modal.d.ts +33 -0
- package/dist/components/modal.d.ts.map +1 -0
- package/dist/components/popover.d.ts +10 -0
- package/dist/components/popover.d.ts.map +1 -0
- package/dist/components/scroll-area.d.ts +5 -0
- package/dist/components/scroll-area.d.ts.map +1 -0
- package/dist/components/select.d.ts +13 -0
- package/dist/components/select.d.ts.map +1 -0
- package/dist/components/separator.d.ts +4 -0
- package/dist/components/separator.d.ts.map +1 -0
- package/dist/components/slider.d.ts +4 -0
- package/dist/components/slider.d.ts.map +1 -0
- package/dist/components/switch.d.ts +6 -0
- package/dist/components/switch.d.ts.map +1 -0
- package/dist/components/table.d.ts +11 -0
- package/dist/components/table.d.ts.map +1 -0
- package/dist/components/tabs.d.ts +11 -0
- package/dist/components/tabs.d.ts.map +1 -0
- package/dist/components/tooltip.d.ts +7 -0
- package/dist/components/tooltip.d.ts.map +1 -0
- package/dist/index.css +2 -0
- package/dist/index.d.ts +24 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2648 -0
- package/dist/utils.d.ts +3 -0
- package/dist/utils.d.ts.map +1 -0
- package/package.json +49 -0
- package/src/components/app-header.css +40 -0
- package/src/components/app-header.tsx +57 -0
- package/src/components/badge.tsx +52 -0
- package/src/components/button.tsx +58 -0
- package/src/components/card.tsx +103 -0
- package/src/components/collapsible.tsx +21 -0
- package/src/components/dialog.tsx +155 -0
- package/src/components/dropdown-menu.tsx +240 -0
- package/src/components/input.tsx +20 -0
- package/src/components/json-highlight.tsx +84 -0
- package/src/components/label.tsx +21 -0
- package/src/components/modal.tsx +114 -0
- package/src/components/popover.tsx +90 -0
- package/src/components/scroll-area.tsx +52 -0
- package/src/components/select.tsx +145 -0
- package/src/components/separator.tsx +23 -0
- package/src/components/slider.tsx +41 -0
- package/src/components/switch.tsx +30 -0
- package/src/components/table.tsx +114 -0
- package/src/components/tabs.tsx +80 -0
- package/src/components/tooltip.tsx +64 -0
- package/src/index.ts +141 -0
- package/src/tokens.css +397 -0
- package/src/utils.ts +6 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,2648 @@
|
|
|
1
|
+
import { Button as e } from "@base-ui/react/button";
|
|
2
|
+
import { Fragment as t, jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
3
|
+
import { mergeProps as i } from "@base-ui/react/merge-props";
|
|
4
|
+
import { useRender as a } from "@base-ui/react/use-render";
|
|
5
|
+
import { useEffect as o } from "react";
|
|
6
|
+
import { Input as s } from "@base-ui/react/input";
|
|
7
|
+
import { Tabs as c } from "@base-ui/react/tabs";
|
|
8
|
+
import { Select as l } from "@base-ui/react/select";
|
|
9
|
+
import { Separator as u } from "@base-ui/react/separator";
|
|
10
|
+
import { Switch as d } from "@base-ui/react/switch";
|
|
11
|
+
import { Slider as f } from "@base-ui/react/slider";
|
|
12
|
+
import { Popover as p } from "@base-ui/react/popover";
|
|
13
|
+
import { Menu as m } from "@base-ui/react/menu";
|
|
14
|
+
import { Collapsible as h } from "@base-ui/react/collapsible";
|
|
15
|
+
import { Tooltip as g } from "@base-ui/react/tooltip";
|
|
16
|
+
import { ScrollArea as _ } from "@base-ui/react/scroll-area";
|
|
17
|
+
import { Dialog as v } from "@base-ui/react/dialog";
|
|
18
|
+
//#region ../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
19
|
+
function y(e) {
|
|
20
|
+
var t, n, r = "";
|
|
21
|
+
if (typeof e == "string" || typeof e == "number") r += e;
|
|
22
|
+
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
23
|
+
var i = e.length;
|
|
24
|
+
for (t = 0; t < i; t++) e[t] && (n = y(e[t])) && (r && (r += " "), r += n);
|
|
25
|
+
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
26
|
+
return r;
|
|
27
|
+
}
|
|
28
|
+
function b() {
|
|
29
|
+
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = y(e)) && (r && (r += " "), r += t);
|
|
30
|
+
return r;
|
|
31
|
+
}
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region ../../node_modules/.pnpm/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs
|
|
34
|
+
var x = (e, t) => {
|
|
35
|
+
let n = Array(e.length + t.length);
|
|
36
|
+
for (let t = 0; t < e.length; t++) n[t] = e[t];
|
|
37
|
+
for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
|
|
38
|
+
return n;
|
|
39
|
+
}, ee = (e, t) => ({
|
|
40
|
+
classGroupId: e,
|
|
41
|
+
validator: t
|
|
42
|
+
}), S = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
|
|
43
|
+
nextPart: e,
|
|
44
|
+
validators: t,
|
|
45
|
+
classGroupId: n
|
|
46
|
+
}), C = "-", w = [], te = "arbitrary..", ne = (e) => {
|
|
47
|
+
let t = E(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
|
|
48
|
+
return {
|
|
49
|
+
getClassGroupId: (e) => {
|
|
50
|
+
if (e.startsWith("[") && e.endsWith("]")) return re(e);
|
|
51
|
+
let n = e.split(C);
|
|
52
|
+
return T(n, +(n[0] === "" && n.length > 1), t);
|
|
53
|
+
},
|
|
54
|
+
getConflictingClassGroupIds: (e, t) => {
|
|
55
|
+
if (t) {
|
|
56
|
+
let t = r[e], i = n[e];
|
|
57
|
+
return t ? i ? x(i, t) : t : i || w;
|
|
58
|
+
}
|
|
59
|
+
return n[e] || w;
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
}, T = (e, t, n) => {
|
|
63
|
+
if (e.length - t === 0) return n.classGroupId;
|
|
64
|
+
let r = e[t], i = n.nextPart.get(r);
|
|
65
|
+
if (i) {
|
|
66
|
+
let n = T(e, t + 1, i);
|
|
67
|
+
if (n) return n;
|
|
68
|
+
}
|
|
69
|
+
let a = n.validators;
|
|
70
|
+
if (a === null) return;
|
|
71
|
+
let o = t === 0 ? e.join(C) : e.slice(t).join(C), s = a.length;
|
|
72
|
+
for (let e = 0; e < s; e++) {
|
|
73
|
+
let t = a[e];
|
|
74
|
+
if (t.validator(o)) return t.classGroupId;
|
|
75
|
+
}
|
|
76
|
+
}, re = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
77
|
+
let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
|
|
78
|
+
return r ? te + r : void 0;
|
|
79
|
+
})(), E = (e) => {
|
|
80
|
+
let { theme: t, classGroups: n } = e;
|
|
81
|
+
return D(n, t);
|
|
82
|
+
}, D = (e, t) => {
|
|
83
|
+
let n = S();
|
|
84
|
+
for (let r in e) {
|
|
85
|
+
let i = e[r];
|
|
86
|
+
O(i, n, r, t);
|
|
87
|
+
}
|
|
88
|
+
return n;
|
|
89
|
+
}, O = (e, t, n, r) => {
|
|
90
|
+
let i = e.length;
|
|
91
|
+
for (let a = 0; a < i; a++) {
|
|
92
|
+
let i = e[a];
|
|
93
|
+
k(i, t, n, r);
|
|
94
|
+
}
|
|
95
|
+
}, k = (e, t, n, r) => {
|
|
96
|
+
if (typeof e == "string") {
|
|
97
|
+
ie(e, t, n);
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
if (typeof e == "function") {
|
|
101
|
+
A(e, t, n, r);
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
j(e, t, n, r);
|
|
105
|
+
}, ie = (e, t, n) => {
|
|
106
|
+
let r = e === "" ? t : ae(t, e);
|
|
107
|
+
r.classGroupId = n;
|
|
108
|
+
}, A = (e, t, n, r) => {
|
|
109
|
+
if (oe(e)) {
|
|
110
|
+
O(e(r), t, n, r);
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
113
|
+
t.validators === null && (t.validators = []), t.validators.push(ee(n, e));
|
|
114
|
+
}, j = (e, t, n, r) => {
|
|
115
|
+
let i = Object.entries(e), a = i.length;
|
|
116
|
+
for (let e = 0; e < a; e++) {
|
|
117
|
+
let [a, o] = i[e];
|
|
118
|
+
O(o, ae(t, a), n, r);
|
|
119
|
+
}
|
|
120
|
+
}, ae = (e, t) => {
|
|
121
|
+
let n = e, r = t.split(C), i = r.length;
|
|
122
|
+
for (let e = 0; e < i; e++) {
|
|
123
|
+
let t = r[e], i = n.nextPart.get(t);
|
|
124
|
+
i || (i = S(), n.nextPart.set(t, i)), n = i;
|
|
125
|
+
}
|
|
126
|
+
return n;
|
|
127
|
+
}, oe = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, se = (e) => {
|
|
128
|
+
if (e < 1) return {
|
|
129
|
+
get: () => void 0,
|
|
130
|
+
set: () => {}
|
|
131
|
+
};
|
|
132
|
+
let t = 0, n = Object.create(null), r = Object.create(null), i = (i, a) => {
|
|
133
|
+
n[i] = a, t++, t > e && (t = 0, r = n, n = Object.create(null));
|
|
134
|
+
};
|
|
135
|
+
return {
|
|
136
|
+
get(e) {
|
|
137
|
+
let t = n[e];
|
|
138
|
+
if (t !== void 0) return t;
|
|
139
|
+
if ((t = r[e]) !== void 0) return i(e, t), t;
|
|
140
|
+
},
|
|
141
|
+
set(e, t) {
|
|
142
|
+
e in n ? n[e] = t : i(e, t);
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
}, M = "!", N = ":", P = [], F = (e, t, n, r, i) => ({
|
|
146
|
+
modifiers: e,
|
|
147
|
+
hasImportantModifier: t,
|
|
148
|
+
baseClassName: n,
|
|
149
|
+
maybePostfixModifierPosition: r,
|
|
150
|
+
isExternal: i
|
|
151
|
+
}), ce = (e) => {
|
|
152
|
+
let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
|
|
153
|
+
let t = [], n = 0, r = 0, i = 0, a, o = e.length;
|
|
154
|
+
for (let s = 0; s < o; s++) {
|
|
155
|
+
let o = e[s];
|
|
156
|
+
if (n === 0 && r === 0) {
|
|
157
|
+
if (o === N) {
|
|
158
|
+
t.push(e.slice(i, s)), i = s + 1;
|
|
159
|
+
continue;
|
|
160
|
+
}
|
|
161
|
+
if (o === "/") {
|
|
162
|
+
a = s;
|
|
163
|
+
continue;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
|
|
167
|
+
}
|
|
168
|
+
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
|
|
169
|
+
s.endsWith(M) ? (c = s.slice(0, -1), l = !0) : s.startsWith(M) && (c = s.slice(1), l = !0);
|
|
170
|
+
let u = a && a > i ? a - i : void 0;
|
|
171
|
+
return F(t, l, c, u);
|
|
172
|
+
};
|
|
173
|
+
if (t) {
|
|
174
|
+
let e = t + N, n = r;
|
|
175
|
+
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : F(P, !1, t, void 0, !0);
|
|
176
|
+
}
|
|
177
|
+
if (n) {
|
|
178
|
+
let e = r;
|
|
179
|
+
r = (t) => n({
|
|
180
|
+
className: t,
|
|
181
|
+
parseClassName: e
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
return r;
|
|
185
|
+
}, I = (e) => {
|
|
186
|
+
let t = /* @__PURE__ */ new Map();
|
|
187
|
+
return e.orderSensitiveModifiers.forEach((e, n) => {
|
|
188
|
+
t.set(e, 1e6 + n);
|
|
189
|
+
}), (e) => {
|
|
190
|
+
let n = [], r = [];
|
|
191
|
+
for (let i = 0; i < e.length; i++) {
|
|
192
|
+
let a = e[i], o = a[0] === "[", s = t.has(a);
|
|
193
|
+
o || s ? (r.length > 0 && (r.sort(), n.push(...r), r = []), n.push(a)) : r.push(a);
|
|
194
|
+
}
|
|
195
|
+
return r.length > 0 && (r.sort(), n.push(...r)), n;
|
|
196
|
+
};
|
|
197
|
+
}, le = (e) => ({
|
|
198
|
+
cache: se(e.cacheSize),
|
|
199
|
+
parseClassName: ce(e),
|
|
200
|
+
sortModifiers: I(e),
|
|
201
|
+
...ne(e)
|
|
202
|
+
}), L = /\s+/, R = (e, t) => {
|
|
203
|
+
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a } = t, o = [], s = e.trim().split(L), c = "";
|
|
204
|
+
for (let e = s.length - 1; e >= 0; --e) {
|
|
205
|
+
let t = s[e], { isExternal: l, modifiers: u, hasImportantModifier: d, baseClassName: f, maybePostfixModifierPosition: p } = n(t);
|
|
206
|
+
if (l) {
|
|
207
|
+
c = t + (c.length > 0 ? " " + c : c);
|
|
208
|
+
continue;
|
|
209
|
+
}
|
|
210
|
+
let m = !!p, h = r(m ? f.substring(0, p) : f);
|
|
211
|
+
if (!h) {
|
|
212
|
+
if (!m) {
|
|
213
|
+
c = t + (c.length > 0 ? " " + c : c);
|
|
214
|
+
continue;
|
|
215
|
+
}
|
|
216
|
+
if (h = r(f), !h) {
|
|
217
|
+
c = t + (c.length > 0 ? " " + c : c);
|
|
218
|
+
continue;
|
|
219
|
+
}
|
|
220
|
+
m = !1;
|
|
221
|
+
}
|
|
222
|
+
let g = u.length === 0 ? "" : u.length === 1 ? u[0] : a(u).join(":"), _ = d ? g + M : g, v = _ + h;
|
|
223
|
+
if (o.indexOf(v) > -1) continue;
|
|
224
|
+
o.push(v);
|
|
225
|
+
let y = i(h, m);
|
|
226
|
+
for (let e = 0; e < y.length; ++e) {
|
|
227
|
+
let t = y[e];
|
|
228
|
+
o.push(_ + t);
|
|
229
|
+
}
|
|
230
|
+
c = t + (c.length > 0 ? " " + c : c);
|
|
231
|
+
}
|
|
232
|
+
return c;
|
|
233
|
+
}, z = (...e) => {
|
|
234
|
+
let t = 0, n, r, i = "";
|
|
235
|
+
for (; t < e.length;) (n = e[t++]) && (r = B(n)) && (i && (i += " "), i += r);
|
|
236
|
+
return i;
|
|
237
|
+
}, B = (e) => {
|
|
238
|
+
if (typeof e == "string") return e;
|
|
239
|
+
let t, n = "";
|
|
240
|
+
for (let r = 0; r < e.length; r++) e[r] && (t = B(e[r])) && (n && (n += " "), n += t);
|
|
241
|
+
return n;
|
|
242
|
+
}, ue = (e, ...t) => {
|
|
243
|
+
let n, r, i, a, o = (o) => (n = le(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
|
|
244
|
+
let t = r(e);
|
|
245
|
+
if (t) return t;
|
|
246
|
+
let a = R(e, n);
|
|
247
|
+
return i(e, a), a;
|
|
248
|
+
};
|
|
249
|
+
return a = o, (...e) => a(z(...e));
|
|
250
|
+
}, de = [], V = (e) => {
|
|
251
|
+
let t = (t) => t[e] || de;
|
|
252
|
+
return t.isThemeGetter = !0, t;
|
|
253
|
+
}, fe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, pe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, me = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, he = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ge = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, _e = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, ve = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ye = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, H = (e) => me.test(e), U = (e) => !!e && !Number.isNaN(Number(e)), W = (e) => !!e && Number.isInteger(Number(e)), be = (e) => e.endsWith("%") && U(e.slice(0, -1)), G = (e) => he.test(e), xe = () => !0, Se = (e) => ge.test(e) && !_e.test(e), Ce = () => !1, we = (e) => ve.test(e), Te = (e) => ye.test(e), Ee = (e) => !K(e) && !J(e), De = (e) => X(e, He, Ce), K = (e) => fe.test(e), q = (e) => X(e, Ue, Se), Oe = (e) => X(e, We, U), ke = (e) => X(e, Ke, xe), Ae = (e) => X(e, Ge, Ce), je = (e) => X(e, Be, Ce), Me = (e) => X(e, Ve, Te), Ne = (e) => X(e, qe, we), J = (e) => pe.test(e), Y = (e) => Z(e, Ue), Pe = (e) => Z(e, Ge), Fe = (e) => Z(e, Be), Ie = (e) => Z(e, He), Le = (e) => Z(e, Ve), Re = (e) => Z(e, qe, !0), ze = (e) => Z(e, Ke, !0), X = (e, t, n) => {
|
|
254
|
+
let r = fe.exec(e);
|
|
255
|
+
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
256
|
+
}, Z = (e, t, n = !1) => {
|
|
257
|
+
let r = pe.exec(e);
|
|
258
|
+
return r ? r[1] ? t(r[1]) : n : !1;
|
|
259
|
+
}, Be = (e) => e === "position" || e === "percentage", Ve = (e) => e === "image" || e === "url", He = (e) => e === "length" || e === "size" || e === "bg-size", Ue = (e) => e === "length", We = (e) => e === "number", Ge = (e) => e === "family-name", Ke = (e) => e === "number" || e === "weight", qe = (e) => e === "shadow", Je = /* @__PURE__ */ ue(() => {
|
|
260
|
+
let e = V("color"), t = V("font"), n = V("text"), r = V("font-weight"), i = V("tracking"), a = V("leading"), o = V("breakpoint"), s = V("container"), c = V("spacing"), l = V("radius"), u = V("shadow"), d = V("inset-shadow"), f = V("text-shadow"), p = V("drop-shadow"), m = V("blur"), h = V("perspective"), g = V("aspect"), _ = V("ease"), v = V("animate"), y = () => [
|
|
261
|
+
"auto",
|
|
262
|
+
"avoid",
|
|
263
|
+
"all",
|
|
264
|
+
"avoid-page",
|
|
265
|
+
"page",
|
|
266
|
+
"left",
|
|
267
|
+
"right",
|
|
268
|
+
"column"
|
|
269
|
+
], b = () => [
|
|
270
|
+
"center",
|
|
271
|
+
"top",
|
|
272
|
+
"bottom",
|
|
273
|
+
"left",
|
|
274
|
+
"right",
|
|
275
|
+
"top-left",
|
|
276
|
+
"left-top",
|
|
277
|
+
"top-right",
|
|
278
|
+
"right-top",
|
|
279
|
+
"bottom-right",
|
|
280
|
+
"right-bottom",
|
|
281
|
+
"bottom-left",
|
|
282
|
+
"left-bottom"
|
|
283
|
+
], x = () => [
|
|
284
|
+
...b(),
|
|
285
|
+
J,
|
|
286
|
+
K
|
|
287
|
+
], ee = () => [
|
|
288
|
+
"auto",
|
|
289
|
+
"hidden",
|
|
290
|
+
"clip",
|
|
291
|
+
"visible",
|
|
292
|
+
"scroll"
|
|
293
|
+
], S = () => [
|
|
294
|
+
"auto",
|
|
295
|
+
"contain",
|
|
296
|
+
"none"
|
|
297
|
+
], C = () => [
|
|
298
|
+
J,
|
|
299
|
+
K,
|
|
300
|
+
c
|
|
301
|
+
], w = () => [
|
|
302
|
+
H,
|
|
303
|
+
"full",
|
|
304
|
+
"auto",
|
|
305
|
+
...C()
|
|
306
|
+
], te = () => [
|
|
307
|
+
W,
|
|
308
|
+
"none",
|
|
309
|
+
"subgrid",
|
|
310
|
+
J,
|
|
311
|
+
K
|
|
312
|
+
], ne = () => [
|
|
313
|
+
"auto",
|
|
314
|
+
{ span: [
|
|
315
|
+
"full",
|
|
316
|
+
W,
|
|
317
|
+
J,
|
|
318
|
+
K
|
|
319
|
+
] },
|
|
320
|
+
W,
|
|
321
|
+
J,
|
|
322
|
+
K
|
|
323
|
+
], T = () => [
|
|
324
|
+
W,
|
|
325
|
+
"auto",
|
|
326
|
+
J,
|
|
327
|
+
K
|
|
328
|
+
], re = () => [
|
|
329
|
+
"auto",
|
|
330
|
+
"min",
|
|
331
|
+
"max",
|
|
332
|
+
"fr",
|
|
333
|
+
J,
|
|
334
|
+
K
|
|
335
|
+
], E = () => [
|
|
336
|
+
"start",
|
|
337
|
+
"end",
|
|
338
|
+
"center",
|
|
339
|
+
"between",
|
|
340
|
+
"around",
|
|
341
|
+
"evenly",
|
|
342
|
+
"stretch",
|
|
343
|
+
"baseline",
|
|
344
|
+
"center-safe",
|
|
345
|
+
"end-safe"
|
|
346
|
+
], D = () => [
|
|
347
|
+
"start",
|
|
348
|
+
"end",
|
|
349
|
+
"center",
|
|
350
|
+
"stretch",
|
|
351
|
+
"center-safe",
|
|
352
|
+
"end-safe"
|
|
353
|
+
], O = () => ["auto", ...C()], k = () => [
|
|
354
|
+
H,
|
|
355
|
+
"auto",
|
|
356
|
+
"full",
|
|
357
|
+
"dvw",
|
|
358
|
+
"dvh",
|
|
359
|
+
"lvw",
|
|
360
|
+
"lvh",
|
|
361
|
+
"svw",
|
|
362
|
+
"svh",
|
|
363
|
+
"min",
|
|
364
|
+
"max",
|
|
365
|
+
"fit",
|
|
366
|
+
...C()
|
|
367
|
+
], ie = () => [
|
|
368
|
+
H,
|
|
369
|
+
"screen",
|
|
370
|
+
"full",
|
|
371
|
+
"dvw",
|
|
372
|
+
"lvw",
|
|
373
|
+
"svw",
|
|
374
|
+
"min",
|
|
375
|
+
"max",
|
|
376
|
+
"fit",
|
|
377
|
+
...C()
|
|
378
|
+
], A = () => [
|
|
379
|
+
H,
|
|
380
|
+
"screen",
|
|
381
|
+
"full",
|
|
382
|
+
"lh",
|
|
383
|
+
"dvh",
|
|
384
|
+
"lvh",
|
|
385
|
+
"svh",
|
|
386
|
+
"min",
|
|
387
|
+
"max",
|
|
388
|
+
"fit",
|
|
389
|
+
...C()
|
|
390
|
+
], j = () => [
|
|
391
|
+
e,
|
|
392
|
+
J,
|
|
393
|
+
K
|
|
394
|
+
], ae = () => [
|
|
395
|
+
...b(),
|
|
396
|
+
Fe,
|
|
397
|
+
je,
|
|
398
|
+
{ position: [J, K] }
|
|
399
|
+
], oe = () => ["no-repeat", { repeat: [
|
|
400
|
+
"",
|
|
401
|
+
"x",
|
|
402
|
+
"y",
|
|
403
|
+
"space",
|
|
404
|
+
"round"
|
|
405
|
+
] }], se = () => [
|
|
406
|
+
"auto",
|
|
407
|
+
"cover",
|
|
408
|
+
"contain",
|
|
409
|
+
Ie,
|
|
410
|
+
De,
|
|
411
|
+
{ size: [J, K] }
|
|
412
|
+
], M = () => [
|
|
413
|
+
be,
|
|
414
|
+
Y,
|
|
415
|
+
q
|
|
416
|
+
], N = () => [
|
|
417
|
+
"",
|
|
418
|
+
"none",
|
|
419
|
+
"full",
|
|
420
|
+
l,
|
|
421
|
+
J,
|
|
422
|
+
K
|
|
423
|
+
], P = () => [
|
|
424
|
+
"",
|
|
425
|
+
U,
|
|
426
|
+
Y,
|
|
427
|
+
q
|
|
428
|
+
], F = () => [
|
|
429
|
+
"solid",
|
|
430
|
+
"dashed",
|
|
431
|
+
"dotted",
|
|
432
|
+
"double"
|
|
433
|
+
], ce = () => [
|
|
434
|
+
"normal",
|
|
435
|
+
"multiply",
|
|
436
|
+
"screen",
|
|
437
|
+
"overlay",
|
|
438
|
+
"darken",
|
|
439
|
+
"lighten",
|
|
440
|
+
"color-dodge",
|
|
441
|
+
"color-burn",
|
|
442
|
+
"hard-light",
|
|
443
|
+
"soft-light",
|
|
444
|
+
"difference",
|
|
445
|
+
"exclusion",
|
|
446
|
+
"hue",
|
|
447
|
+
"saturation",
|
|
448
|
+
"color",
|
|
449
|
+
"luminosity"
|
|
450
|
+
], I = () => [
|
|
451
|
+
U,
|
|
452
|
+
be,
|
|
453
|
+
Fe,
|
|
454
|
+
je
|
|
455
|
+
], le = () => [
|
|
456
|
+
"",
|
|
457
|
+
"none",
|
|
458
|
+
m,
|
|
459
|
+
J,
|
|
460
|
+
K
|
|
461
|
+
], L = () => [
|
|
462
|
+
"none",
|
|
463
|
+
U,
|
|
464
|
+
J,
|
|
465
|
+
K
|
|
466
|
+
], R = () => [
|
|
467
|
+
"none",
|
|
468
|
+
U,
|
|
469
|
+
J,
|
|
470
|
+
K
|
|
471
|
+
], z = () => [
|
|
472
|
+
U,
|
|
473
|
+
J,
|
|
474
|
+
K
|
|
475
|
+
], B = () => [
|
|
476
|
+
H,
|
|
477
|
+
"full",
|
|
478
|
+
...C()
|
|
479
|
+
];
|
|
480
|
+
return {
|
|
481
|
+
cacheSize: 500,
|
|
482
|
+
theme: {
|
|
483
|
+
animate: [
|
|
484
|
+
"spin",
|
|
485
|
+
"ping",
|
|
486
|
+
"pulse",
|
|
487
|
+
"bounce"
|
|
488
|
+
],
|
|
489
|
+
aspect: ["video"],
|
|
490
|
+
blur: [G],
|
|
491
|
+
breakpoint: [G],
|
|
492
|
+
color: [xe],
|
|
493
|
+
container: [G],
|
|
494
|
+
"drop-shadow": [G],
|
|
495
|
+
ease: [
|
|
496
|
+
"in",
|
|
497
|
+
"out",
|
|
498
|
+
"in-out"
|
|
499
|
+
],
|
|
500
|
+
font: [Ee],
|
|
501
|
+
"font-weight": [
|
|
502
|
+
"thin",
|
|
503
|
+
"extralight",
|
|
504
|
+
"light",
|
|
505
|
+
"normal",
|
|
506
|
+
"medium",
|
|
507
|
+
"semibold",
|
|
508
|
+
"bold",
|
|
509
|
+
"extrabold",
|
|
510
|
+
"black"
|
|
511
|
+
],
|
|
512
|
+
"inset-shadow": [G],
|
|
513
|
+
leading: [
|
|
514
|
+
"none",
|
|
515
|
+
"tight",
|
|
516
|
+
"snug",
|
|
517
|
+
"normal",
|
|
518
|
+
"relaxed",
|
|
519
|
+
"loose"
|
|
520
|
+
],
|
|
521
|
+
perspective: [
|
|
522
|
+
"dramatic",
|
|
523
|
+
"near",
|
|
524
|
+
"normal",
|
|
525
|
+
"midrange",
|
|
526
|
+
"distant",
|
|
527
|
+
"none"
|
|
528
|
+
],
|
|
529
|
+
radius: [G],
|
|
530
|
+
shadow: [G],
|
|
531
|
+
spacing: ["px", U],
|
|
532
|
+
text: [G],
|
|
533
|
+
"text-shadow": [G],
|
|
534
|
+
tracking: [
|
|
535
|
+
"tighter",
|
|
536
|
+
"tight",
|
|
537
|
+
"normal",
|
|
538
|
+
"wide",
|
|
539
|
+
"wider",
|
|
540
|
+
"widest"
|
|
541
|
+
]
|
|
542
|
+
},
|
|
543
|
+
classGroups: {
|
|
544
|
+
aspect: [{ aspect: [
|
|
545
|
+
"auto",
|
|
546
|
+
"square",
|
|
547
|
+
H,
|
|
548
|
+
K,
|
|
549
|
+
J,
|
|
550
|
+
g
|
|
551
|
+
] }],
|
|
552
|
+
container: ["container"],
|
|
553
|
+
columns: [{ columns: [
|
|
554
|
+
U,
|
|
555
|
+
K,
|
|
556
|
+
J,
|
|
557
|
+
s
|
|
558
|
+
] }],
|
|
559
|
+
"break-after": [{ "break-after": y() }],
|
|
560
|
+
"break-before": [{ "break-before": y() }],
|
|
561
|
+
"break-inside": [{ "break-inside": [
|
|
562
|
+
"auto",
|
|
563
|
+
"avoid",
|
|
564
|
+
"avoid-page",
|
|
565
|
+
"avoid-column"
|
|
566
|
+
] }],
|
|
567
|
+
"box-decoration": [{ "box-decoration": ["slice", "clone"] }],
|
|
568
|
+
box: [{ box: ["border", "content"] }],
|
|
569
|
+
display: [
|
|
570
|
+
"block",
|
|
571
|
+
"inline-block",
|
|
572
|
+
"inline",
|
|
573
|
+
"flex",
|
|
574
|
+
"inline-flex",
|
|
575
|
+
"table",
|
|
576
|
+
"inline-table",
|
|
577
|
+
"table-caption",
|
|
578
|
+
"table-cell",
|
|
579
|
+
"table-column",
|
|
580
|
+
"table-column-group",
|
|
581
|
+
"table-footer-group",
|
|
582
|
+
"table-header-group",
|
|
583
|
+
"table-row-group",
|
|
584
|
+
"table-row",
|
|
585
|
+
"flow-root",
|
|
586
|
+
"grid",
|
|
587
|
+
"inline-grid",
|
|
588
|
+
"contents",
|
|
589
|
+
"list-item",
|
|
590
|
+
"hidden"
|
|
591
|
+
],
|
|
592
|
+
sr: ["sr-only", "not-sr-only"],
|
|
593
|
+
float: [{ float: [
|
|
594
|
+
"right",
|
|
595
|
+
"left",
|
|
596
|
+
"none",
|
|
597
|
+
"start",
|
|
598
|
+
"end"
|
|
599
|
+
] }],
|
|
600
|
+
clear: [{ clear: [
|
|
601
|
+
"left",
|
|
602
|
+
"right",
|
|
603
|
+
"both",
|
|
604
|
+
"none",
|
|
605
|
+
"start",
|
|
606
|
+
"end"
|
|
607
|
+
] }],
|
|
608
|
+
isolation: ["isolate", "isolation-auto"],
|
|
609
|
+
"object-fit": [{ object: [
|
|
610
|
+
"contain",
|
|
611
|
+
"cover",
|
|
612
|
+
"fill",
|
|
613
|
+
"none",
|
|
614
|
+
"scale-down"
|
|
615
|
+
] }],
|
|
616
|
+
"object-position": [{ object: x() }],
|
|
617
|
+
overflow: [{ overflow: ee() }],
|
|
618
|
+
"overflow-x": [{ "overflow-x": ee() }],
|
|
619
|
+
"overflow-y": [{ "overflow-y": ee() }],
|
|
620
|
+
overscroll: [{ overscroll: S() }],
|
|
621
|
+
"overscroll-x": [{ "overscroll-x": S() }],
|
|
622
|
+
"overscroll-y": [{ "overscroll-y": S() }],
|
|
623
|
+
position: [
|
|
624
|
+
"static",
|
|
625
|
+
"fixed",
|
|
626
|
+
"absolute",
|
|
627
|
+
"relative",
|
|
628
|
+
"sticky"
|
|
629
|
+
],
|
|
630
|
+
inset: [{ inset: w() }],
|
|
631
|
+
"inset-x": [{ "inset-x": w() }],
|
|
632
|
+
"inset-y": [{ "inset-y": w() }],
|
|
633
|
+
start: [{
|
|
634
|
+
"inset-s": w(),
|
|
635
|
+
start: w()
|
|
636
|
+
}],
|
|
637
|
+
end: [{
|
|
638
|
+
"inset-e": w(),
|
|
639
|
+
end: w()
|
|
640
|
+
}],
|
|
641
|
+
"inset-bs": [{ "inset-bs": w() }],
|
|
642
|
+
"inset-be": [{ "inset-be": w() }],
|
|
643
|
+
top: [{ top: w() }],
|
|
644
|
+
right: [{ right: w() }],
|
|
645
|
+
bottom: [{ bottom: w() }],
|
|
646
|
+
left: [{ left: w() }],
|
|
647
|
+
visibility: [
|
|
648
|
+
"visible",
|
|
649
|
+
"invisible",
|
|
650
|
+
"collapse"
|
|
651
|
+
],
|
|
652
|
+
z: [{ z: [
|
|
653
|
+
W,
|
|
654
|
+
"auto",
|
|
655
|
+
J,
|
|
656
|
+
K
|
|
657
|
+
] }],
|
|
658
|
+
basis: [{ basis: [
|
|
659
|
+
H,
|
|
660
|
+
"full",
|
|
661
|
+
"auto",
|
|
662
|
+
s,
|
|
663
|
+
...C()
|
|
664
|
+
] }],
|
|
665
|
+
"flex-direction": [{ flex: [
|
|
666
|
+
"row",
|
|
667
|
+
"row-reverse",
|
|
668
|
+
"col",
|
|
669
|
+
"col-reverse"
|
|
670
|
+
] }],
|
|
671
|
+
"flex-wrap": [{ flex: [
|
|
672
|
+
"nowrap",
|
|
673
|
+
"wrap",
|
|
674
|
+
"wrap-reverse"
|
|
675
|
+
] }],
|
|
676
|
+
flex: [{ flex: [
|
|
677
|
+
U,
|
|
678
|
+
H,
|
|
679
|
+
"auto",
|
|
680
|
+
"initial",
|
|
681
|
+
"none",
|
|
682
|
+
K
|
|
683
|
+
] }],
|
|
684
|
+
grow: [{ grow: [
|
|
685
|
+
"",
|
|
686
|
+
U,
|
|
687
|
+
J,
|
|
688
|
+
K
|
|
689
|
+
] }],
|
|
690
|
+
shrink: [{ shrink: [
|
|
691
|
+
"",
|
|
692
|
+
U,
|
|
693
|
+
J,
|
|
694
|
+
K
|
|
695
|
+
] }],
|
|
696
|
+
order: [{ order: [
|
|
697
|
+
W,
|
|
698
|
+
"first",
|
|
699
|
+
"last",
|
|
700
|
+
"none",
|
|
701
|
+
J,
|
|
702
|
+
K
|
|
703
|
+
] }],
|
|
704
|
+
"grid-cols": [{ "grid-cols": te() }],
|
|
705
|
+
"col-start-end": [{ col: ne() }],
|
|
706
|
+
"col-start": [{ "col-start": T() }],
|
|
707
|
+
"col-end": [{ "col-end": T() }],
|
|
708
|
+
"grid-rows": [{ "grid-rows": te() }],
|
|
709
|
+
"row-start-end": [{ row: ne() }],
|
|
710
|
+
"row-start": [{ "row-start": T() }],
|
|
711
|
+
"row-end": [{ "row-end": T() }],
|
|
712
|
+
"grid-flow": [{ "grid-flow": [
|
|
713
|
+
"row",
|
|
714
|
+
"col",
|
|
715
|
+
"dense",
|
|
716
|
+
"row-dense",
|
|
717
|
+
"col-dense"
|
|
718
|
+
] }],
|
|
719
|
+
"auto-cols": [{ "auto-cols": re() }],
|
|
720
|
+
"auto-rows": [{ "auto-rows": re() }],
|
|
721
|
+
gap: [{ gap: C() }],
|
|
722
|
+
"gap-x": [{ "gap-x": C() }],
|
|
723
|
+
"gap-y": [{ "gap-y": C() }],
|
|
724
|
+
"justify-content": [{ justify: [...E(), "normal"] }],
|
|
725
|
+
"justify-items": [{ "justify-items": [...D(), "normal"] }],
|
|
726
|
+
"justify-self": [{ "justify-self": ["auto", ...D()] }],
|
|
727
|
+
"align-content": [{ content: ["normal", ...E()] }],
|
|
728
|
+
"align-items": [{ items: [...D(), { baseline: ["", "last"] }] }],
|
|
729
|
+
"align-self": [{ self: [
|
|
730
|
+
"auto",
|
|
731
|
+
...D(),
|
|
732
|
+
{ baseline: ["", "last"] }
|
|
733
|
+
] }],
|
|
734
|
+
"place-content": [{ "place-content": E() }],
|
|
735
|
+
"place-items": [{ "place-items": [...D(), "baseline"] }],
|
|
736
|
+
"place-self": [{ "place-self": ["auto", ...D()] }],
|
|
737
|
+
p: [{ p: C() }],
|
|
738
|
+
px: [{ px: C() }],
|
|
739
|
+
py: [{ py: C() }],
|
|
740
|
+
ps: [{ ps: C() }],
|
|
741
|
+
pe: [{ pe: C() }],
|
|
742
|
+
pbs: [{ pbs: C() }],
|
|
743
|
+
pbe: [{ pbe: C() }],
|
|
744
|
+
pt: [{ pt: C() }],
|
|
745
|
+
pr: [{ pr: C() }],
|
|
746
|
+
pb: [{ pb: C() }],
|
|
747
|
+
pl: [{ pl: C() }],
|
|
748
|
+
m: [{ m: O() }],
|
|
749
|
+
mx: [{ mx: O() }],
|
|
750
|
+
my: [{ my: O() }],
|
|
751
|
+
ms: [{ ms: O() }],
|
|
752
|
+
me: [{ me: O() }],
|
|
753
|
+
mbs: [{ mbs: O() }],
|
|
754
|
+
mbe: [{ mbe: O() }],
|
|
755
|
+
mt: [{ mt: O() }],
|
|
756
|
+
mr: [{ mr: O() }],
|
|
757
|
+
mb: [{ mb: O() }],
|
|
758
|
+
ml: [{ ml: O() }],
|
|
759
|
+
"space-x": [{ "space-x": C() }],
|
|
760
|
+
"space-x-reverse": ["space-x-reverse"],
|
|
761
|
+
"space-y": [{ "space-y": C() }],
|
|
762
|
+
"space-y-reverse": ["space-y-reverse"],
|
|
763
|
+
size: [{ size: k() }],
|
|
764
|
+
"inline-size": [{ inline: ["auto", ...ie()] }],
|
|
765
|
+
"min-inline-size": [{ "min-inline": ["auto", ...ie()] }],
|
|
766
|
+
"max-inline-size": [{ "max-inline": ["none", ...ie()] }],
|
|
767
|
+
"block-size": [{ block: ["auto", ...A()] }],
|
|
768
|
+
"min-block-size": [{ "min-block": ["auto", ...A()] }],
|
|
769
|
+
"max-block-size": [{ "max-block": ["none", ...A()] }],
|
|
770
|
+
w: [{ w: [
|
|
771
|
+
s,
|
|
772
|
+
"screen",
|
|
773
|
+
...k()
|
|
774
|
+
] }],
|
|
775
|
+
"min-w": [{ "min-w": [
|
|
776
|
+
s,
|
|
777
|
+
"screen",
|
|
778
|
+
"none",
|
|
779
|
+
...k()
|
|
780
|
+
] }],
|
|
781
|
+
"max-w": [{ "max-w": [
|
|
782
|
+
s,
|
|
783
|
+
"screen",
|
|
784
|
+
"none",
|
|
785
|
+
"prose",
|
|
786
|
+
{ screen: [o] },
|
|
787
|
+
...k()
|
|
788
|
+
] }],
|
|
789
|
+
h: [{ h: [
|
|
790
|
+
"screen",
|
|
791
|
+
"lh",
|
|
792
|
+
...k()
|
|
793
|
+
] }],
|
|
794
|
+
"min-h": [{ "min-h": [
|
|
795
|
+
"screen",
|
|
796
|
+
"lh",
|
|
797
|
+
"none",
|
|
798
|
+
...k()
|
|
799
|
+
] }],
|
|
800
|
+
"max-h": [{ "max-h": [
|
|
801
|
+
"screen",
|
|
802
|
+
"lh",
|
|
803
|
+
...k()
|
|
804
|
+
] }],
|
|
805
|
+
"font-size": [{ text: [
|
|
806
|
+
"base",
|
|
807
|
+
n,
|
|
808
|
+
Y,
|
|
809
|
+
q
|
|
810
|
+
] }],
|
|
811
|
+
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
812
|
+
"font-style": ["italic", "not-italic"],
|
|
813
|
+
"font-weight": [{ font: [
|
|
814
|
+
r,
|
|
815
|
+
ze,
|
|
816
|
+
ke
|
|
817
|
+
] }],
|
|
818
|
+
"font-stretch": [{ "font-stretch": [
|
|
819
|
+
"ultra-condensed",
|
|
820
|
+
"extra-condensed",
|
|
821
|
+
"condensed",
|
|
822
|
+
"semi-condensed",
|
|
823
|
+
"normal",
|
|
824
|
+
"semi-expanded",
|
|
825
|
+
"expanded",
|
|
826
|
+
"extra-expanded",
|
|
827
|
+
"ultra-expanded",
|
|
828
|
+
be,
|
|
829
|
+
K
|
|
830
|
+
] }],
|
|
831
|
+
"font-family": [{ font: [
|
|
832
|
+
Pe,
|
|
833
|
+
Ae,
|
|
834
|
+
t
|
|
835
|
+
] }],
|
|
836
|
+
"font-features": [{ "font-features": [K] }],
|
|
837
|
+
"fvn-normal": ["normal-nums"],
|
|
838
|
+
"fvn-ordinal": ["ordinal"],
|
|
839
|
+
"fvn-slashed-zero": ["slashed-zero"],
|
|
840
|
+
"fvn-figure": ["lining-nums", "oldstyle-nums"],
|
|
841
|
+
"fvn-spacing": ["proportional-nums", "tabular-nums"],
|
|
842
|
+
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
|
|
843
|
+
tracking: [{ tracking: [
|
|
844
|
+
i,
|
|
845
|
+
J,
|
|
846
|
+
K
|
|
847
|
+
] }],
|
|
848
|
+
"line-clamp": [{ "line-clamp": [
|
|
849
|
+
U,
|
|
850
|
+
"none",
|
|
851
|
+
J,
|
|
852
|
+
Oe
|
|
853
|
+
] }],
|
|
854
|
+
leading: [{ leading: [a, ...C()] }],
|
|
855
|
+
"list-image": [{ "list-image": [
|
|
856
|
+
"none",
|
|
857
|
+
J,
|
|
858
|
+
K
|
|
859
|
+
] }],
|
|
860
|
+
"list-style-position": [{ list: ["inside", "outside"] }],
|
|
861
|
+
"list-style-type": [{ list: [
|
|
862
|
+
"disc",
|
|
863
|
+
"decimal",
|
|
864
|
+
"none",
|
|
865
|
+
J,
|
|
866
|
+
K
|
|
867
|
+
] }],
|
|
868
|
+
"text-alignment": [{ text: [
|
|
869
|
+
"left",
|
|
870
|
+
"center",
|
|
871
|
+
"right",
|
|
872
|
+
"justify",
|
|
873
|
+
"start",
|
|
874
|
+
"end"
|
|
875
|
+
] }],
|
|
876
|
+
"placeholder-color": [{ placeholder: j() }],
|
|
877
|
+
"text-color": [{ text: j() }],
|
|
878
|
+
"text-decoration": [
|
|
879
|
+
"underline",
|
|
880
|
+
"overline",
|
|
881
|
+
"line-through",
|
|
882
|
+
"no-underline"
|
|
883
|
+
],
|
|
884
|
+
"text-decoration-style": [{ decoration: [...F(), "wavy"] }],
|
|
885
|
+
"text-decoration-thickness": [{ decoration: [
|
|
886
|
+
U,
|
|
887
|
+
"from-font",
|
|
888
|
+
"auto",
|
|
889
|
+
J,
|
|
890
|
+
q
|
|
891
|
+
] }],
|
|
892
|
+
"text-decoration-color": [{ decoration: j() }],
|
|
893
|
+
"underline-offset": [{ "underline-offset": [
|
|
894
|
+
U,
|
|
895
|
+
"auto",
|
|
896
|
+
J,
|
|
897
|
+
K
|
|
898
|
+
] }],
|
|
899
|
+
"text-transform": [
|
|
900
|
+
"uppercase",
|
|
901
|
+
"lowercase",
|
|
902
|
+
"capitalize",
|
|
903
|
+
"normal-case"
|
|
904
|
+
],
|
|
905
|
+
"text-overflow": [
|
|
906
|
+
"truncate",
|
|
907
|
+
"text-ellipsis",
|
|
908
|
+
"text-clip"
|
|
909
|
+
],
|
|
910
|
+
"text-wrap": [{ text: [
|
|
911
|
+
"wrap",
|
|
912
|
+
"nowrap",
|
|
913
|
+
"balance",
|
|
914
|
+
"pretty"
|
|
915
|
+
] }],
|
|
916
|
+
indent: [{ indent: C() }],
|
|
917
|
+
"vertical-align": [{ align: [
|
|
918
|
+
"baseline",
|
|
919
|
+
"top",
|
|
920
|
+
"middle",
|
|
921
|
+
"bottom",
|
|
922
|
+
"text-top",
|
|
923
|
+
"text-bottom",
|
|
924
|
+
"sub",
|
|
925
|
+
"super",
|
|
926
|
+
J,
|
|
927
|
+
K
|
|
928
|
+
] }],
|
|
929
|
+
whitespace: [{ whitespace: [
|
|
930
|
+
"normal",
|
|
931
|
+
"nowrap",
|
|
932
|
+
"pre",
|
|
933
|
+
"pre-line",
|
|
934
|
+
"pre-wrap",
|
|
935
|
+
"break-spaces"
|
|
936
|
+
] }],
|
|
937
|
+
break: [{ break: [
|
|
938
|
+
"normal",
|
|
939
|
+
"words",
|
|
940
|
+
"all",
|
|
941
|
+
"keep"
|
|
942
|
+
] }],
|
|
943
|
+
wrap: [{ wrap: [
|
|
944
|
+
"break-word",
|
|
945
|
+
"anywhere",
|
|
946
|
+
"normal"
|
|
947
|
+
] }],
|
|
948
|
+
hyphens: [{ hyphens: [
|
|
949
|
+
"none",
|
|
950
|
+
"manual",
|
|
951
|
+
"auto"
|
|
952
|
+
] }],
|
|
953
|
+
content: [{ content: [
|
|
954
|
+
"none",
|
|
955
|
+
J,
|
|
956
|
+
K
|
|
957
|
+
] }],
|
|
958
|
+
"bg-attachment": [{ bg: [
|
|
959
|
+
"fixed",
|
|
960
|
+
"local",
|
|
961
|
+
"scroll"
|
|
962
|
+
] }],
|
|
963
|
+
"bg-clip": [{ "bg-clip": [
|
|
964
|
+
"border",
|
|
965
|
+
"padding",
|
|
966
|
+
"content",
|
|
967
|
+
"text"
|
|
968
|
+
] }],
|
|
969
|
+
"bg-origin": [{ "bg-origin": [
|
|
970
|
+
"border",
|
|
971
|
+
"padding",
|
|
972
|
+
"content"
|
|
973
|
+
] }],
|
|
974
|
+
"bg-position": [{ bg: ae() }],
|
|
975
|
+
"bg-repeat": [{ bg: oe() }],
|
|
976
|
+
"bg-size": [{ bg: se() }],
|
|
977
|
+
"bg-image": [{ bg: [
|
|
978
|
+
"none",
|
|
979
|
+
{
|
|
980
|
+
linear: [
|
|
981
|
+
{ to: [
|
|
982
|
+
"t",
|
|
983
|
+
"tr",
|
|
984
|
+
"r",
|
|
985
|
+
"br",
|
|
986
|
+
"b",
|
|
987
|
+
"bl",
|
|
988
|
+
"l",
|
|
989
|
+
"tl"
|
|
990
|
+
] },
|
|
991
|
+
W,
|
|
992
|
+
J,
|
|
993
|
+
K
|
|
994
|
+
],
|
|
995
|
+
radial: [
|
|
996
|
+
"",
|
|
997
|
+
J,
|
|
998
|
+
K
|
|
999
|
+
],
|
|
1000
|
+
conic: [
|
|
1001
|
+
W,
|
|
1002
|
+
J,
|
|
1003
|
+
K
|
|
1004
|
+
]
|
|
1005
|
+
},
|
|
1006
|
+
Le,
|
|
1007
|
+
Me
|
|
1008
|
+
] }],
|
|
1009
|
+
"bg-color": [{ bg: j() }],
|
|
1010
|
+
"gradient-from-pos": [{ from: M() }],
|
|
1011
|
+
"gradient-via-pos": [{ via: M() }],
|
|
1012
|
+
"gradient-to-pos": [{ to: M() }],
|
|
1013
|
+
"gradient-from": [{ from: j() }],
|
|
1014
|
+
"gradient-via": [{ via: j() }],
|
|
1015
|
+
"gradient-to": [{ to: j() }],
|
|
1016
|
+
rounded: [{ rounded: N() }],
|
|
1017
|
+
"rounded-s": [{ "rounded-s": N() }],
|
|
1018
|
+
"rounded-e": [{ "rounded-e": N() }],
|
|
1019
|
+
"rounded-t": [{ "rounded-t": N() }],
|
|
1020
|
+
"rounded-r": [{ "rounded-r": N() }],
|
|
1021
|
+
"rounded-b": [{ "rounded-b": N() }],
|
|
1022
|
+
"rounded-l": [{ "rounded-l": N() }],
|
|
1023
|
+
"rounded-ss": [{ "rounded-ss": N() }],
|
|
1024
|
+
"rounded-se": [{ "rounded-se": N() }],
|
|
1025
|
+
"rounded-ee": [{ "rounded-ee": N() }],
|
|
1026
|
+
"rounded-es": [{ "rounded-es": N() }],
|
|
1027
|
+
"rounded-tl": [{ "rounded-tl": N() }],
|
|
1028
|
+
"rounded-tr": [{ "rounded-tr": N() }],
|
|
1029
|
+
"rounded-br": [{ "rounded-br": N() }],
|
|
1030
|
+
"rounded-bl": [{ "rounded-bl": N() }],
|
|
1031
|
+
"border-w": [{ border: P() }],
|
|
1032
|
+
"border-w-x": [{ "border-x": P() }],
|
|
1033
|
+
"border-w-y": [{ "border-y": P() }],
|
|
1034
|
+
"border-w-s": [{ "border-s": P() }],
|
|
1035
|
+
"border-w-e": [{ "border-e": P() }],
|
|
1036
|
+
"border-w-bs": [{ "border-bs": P() }],
|
|
1037
|
+
"border-w-be": [{ "border-be": P() }],
|
|
1038
|
+
"border-w-t": [{ "border-t": P() }],
|
|
1039
|
+
"border-w-r": [{ "border-r": P() }],
|
|
1040
|
+
"border-w-b": [{ "border-b": P() }],
|
|
1041
|
+
"border-w-l": [{ "border-l": P() }],
|
|
1042
|
+
"divide-x": [{ "divide-x": P() }],
|
|
1043
|
+
"divide-x-reverse": ["divide-x-reverse"],
|
|
1044
|
+
"divide-y": [{ "divide-y": P() }],
|
|
1045
|
+
"divide-y-reverse": ["divide-y-reverse"],
|
|
1046
|
+
"border-style": [{ border: [
|
|
1047
|
+
...F(),
|
|
1048
|
+
"hidden",
|
|
1049
|
+
"none"
|
|
1050
|
+
] }],
|
|
1051
|
+
"divide-style": [{ divide: [
|
|
1052
|
+
...F(),
|
|
1053
|
+
"hidden",
|
|
1054
|
+
"none"
|
|
1055
|
+
] }],
|
|
1056
|
+
"border-color": [{ border: j() }],
|
|
1057
|
+
"border-color-x": [{ "border-x": j() }],
|
|
1058
|
+
"border-color-y": [{ "border-y": j() }],
|
|
1059
|
+
"border-color-s": [{ "border-s": j() }],
|
|
1060
|
+
"border-color-e": [{ "border-e": j() }],
|
|
1061
|
+
"border-color-bs": [{ "border-bs": j() }],
|
|
1062
|
+
"border-color-be": [{ "border-be": j() }],
|
|
1063
|
+
"border-color-t": [{ "border-t": j() }],
|
|
1064
|
+
"border-color-r": [{ "border-r": j() }],
|
|
1065
|
+
"border-color-b": [{ "border-b": j() }],
|
|
1066
|
+
"border-color-l": [{ "border-l": j() }],
|
|
1067
|
+
"divide-color": [{ divide: j() }],
|
|
1068
|
+
"outline-style": [{ outline: [
|
|
1069
|
+
...F(),
|
|
1070
|
+
"none",
|
|
1071
|
+
"hidden"
|
|
1072
|
+
] }],
|
|
1073
|
+
"outline-offset": [{ "outline-offset": [
|
|
1074
|
+
U,
|
|
1075
|
+
J,
|
|
1076
|
+
K
|
|
1077
|
+
] }],
|
|
1078
|
+
"outline-w": [{ outline: [
|
|
1079
|
+
"",
|
|
1080
|
+
U,
|
|
1081
|
+
Y,
|
|
1082
|
+
q
|
|
1083
|
+
] }],
|
|
1084
|
+
"outline-color": [{ outline: j() }],
|
|
1085
|
+
shadow: [{ shadow: [
|
|
1086
|
+
"",
|
|
1087
|
+
"none",
|
|
1088
|
+
u,
|
|
1089
|
+
Re,
|
|
1090
|
+
Ne
|
|
1091
|
+
] }],
|
|
1092
|
+
"shadow-color": [{ shadow: j() }],
|
|
1093
|
+
"inset-shadow": [{ "inset-shadow": [
|
|
1094
|
+
"none",
|
|
1095
|
+
d,
|
|
1096
|
+
Re,
|
|
1097
|
+
Ne
|
|
1098
|
+
] }],
|
|
1099
|
+
"inset-shadow-color": [{ "inset-shadow": j() }],
|
|
1100
|
+
"ring-w": [{ ring: P() }],
|
|
1101
|
+
"ring-w-inset": ["ring-inset"],
|
|
1102
|
+
"ring-color": [{ ring: j() }],
|
|
1103
|
+
"ring-offset-w": [{ "ring-offset": [U, q] }],
|
|
1104
|
+
"ring-offset-color": [{ "ring-offset": j() }],
|
|
1105
|
+
"inset-ring-w": [{ "inset-ring": P() }],
|
|
1106
|
+
"inset-ring-color": [{ "inset-ring": j() }],
|
|
1107
|
+
"text-shadow": [{ "text-shadow": [
|
|
1108
|
+
"none",
|
|
1109
|
+
f,
|
|
1110
|
+
Re,
|
|
1111
|
+
Ne
|
|
1112
|
+
] }],
|
|
1113
|
+
"text-shadow-color": [{ "text-shadow": j() }],
|
|
1114
|
+
opacity: [{ opacity: [
|
|
1115
|
+
U,
|
|
1116
|
+
J,
|
|
1117
|
+
K
|
|
1118
|
+
] }],
|
|
1119
|
+
"mix-blend": [{ "mix-blend": [
|
|
1120
|
+
...ce(),
|
|
1121
|
+
"plus-darker",
|
|
1122
|
+
"plus-lighter"
|
|
1123
|
+
] }],
|
|
1124
|
+
"bg-blend": [{ "bg-blend": ce() }],
|
|
1125
|
+
"mask-clip": [{ "mask-clip": [
|
|
1126
|
+
"border",
|
|
1127
|
+
"padding",
|
|
1128
|
+
"content",
|
|
1129
|
+
"fill",
|
|
1130
|
+
"stroke",
|
|
1131
|
+
"view"
|
|
1132
|
+
] }, "mask-no-clip"],
|
|
1133
|
+
"mask-composite": [{ mask: [
|
|
1134
|
+
"add",
|
|
1135
|
+
"subtract",
|
|
1136
|
+
"intersect",
|
|
1137
|
+
"exclude"
|
|
1138
|
+
] }],
|
|
1139
|
+
"mask-image-linear-pos": [{ "mask-linear": [U] }],
|
|
1140
|
+
"mask-image-linear-from-pos": [{ "mask-linear-from": I() }],
|
|
1141
|
+
"mask-image-linear-to-pos": [{ "mask-linear-to": I() }],
|
|
1142
|
+
"mask-image-linear-from-color": [{ "mask-linear-from": j() }],
|
|
1143
|
+
"mask-image-linear-to-color": [{ "mask-linear-to": j() }],
|
|
1144
|
+
"mask-image-t-from-pos": [{ "mask-t-from": I() }],
|
|
1145
|
+
"mask-image-t-to-pos": [{ "mask-t-to": I() }],
|
|
1146
|
+
"mask-image-t-from-color": [{ "mask-t-from": j() }],
|
|
1147
|
+
"mask-image-t-to-color": [{ "mask-t-to": j() }],
|
|
1148
|
+
"mask-image-r-from-pos": [{ "mask-r-from": I() }],
|
|
1149
|
+
"mask-image-r-to-pos": [{ "mask-r-to": I() }],
|
|
1150
|
+
"mask-image-r-from-color": [{ "mask-r-from": j() }],
|
|
1151
|
+
"mask-image-r-to-color": [{ "mask-r-to": j() }],
|
|
1152
|
+
"mask-image-b-from-pos": [{ "mask-b-from": I() }],
|
|
1153
|
+
"mask-image-b-to-pos": [{ "mask-b-to": I() }],
|
|
1154
|
+
"mask-image-b-from-color": [{ "mask-b-from": j() }],
|
|
1155
|
+
"mask-image-b-to-color": [{ "mask-b-to": j() }],
|
|
1156
|
+
"mask-image-l-from-pos": [{ "mask-l-from": I() }],
|
|
1157
|
+
"mask-image-l-to-pos": [{ "mask-l-to": I() }],
|
|
1158
|
+
"mask-image-l-from-color": [{ "mask-l-from": j() }],
|
|
1159
|
+
"mask-image-l-to-color": [{ "mask-l-to": j() }],
|
|
1160
|
+
"mask-image-x-from-pos": [{ "mask-x-from": I() }],
|
|
1161
|
+
"mask-image-x-to-pos": [{ "mask-x-to": I() }],
|
|
1162
|
+
"mask-image-x-from-color": [{ "mask-x-from": j() }],
|
|
1163
|
+
"mask-image-x-to-color": [{ "mask-x-to": j() }],
|
|
1164
|
+
"mask-image-y-from-pos": [{ "mask-y-from": I() }],
|
|
1165
|
+
"mask-image-y-to-pos": [{ "mask-y-to": I() }],
|
|
1166
|
+
"mask-image-y-from-color": [{ "mask-y-from": j() }],
|
|
1167
|
+
"mask-image-y-to-color": [{ "mask-y-to": j() }],
|
|
1168
|
+
"mask-image-radial": [{ "mask-radial": [J, K] }],
|
|
1169
|
+
"mask-image-radial-from-pos": [{ "mask-radial-from": I() }],
|
|
1170
|
+
"mask-image-radial-to-pos": [{ "mask-radial-to": I() }],
|
|
1171
|
+
"mask-image-radial-from-color": [{ "mask-radial-from": j() }],
|
|
1172
|
+
"mask-image-radial-to-color": [{ "mask-radial-to": j() }],
|
|
1173
|
+
"mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
|
|
1174
|
+
"mask-image-radial-size": [{ "mask-radial": [{
|
|
1175
|
+
closest: ["side", "corner"],
|
|
1176
|
+
farthest: ["side", "corner"]
|
|
1177
|
+
}] }],
|
|
1178
|
+
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
|
|
1179
|
+
"mask-image-conic-pos": [{ "mask-conic": [U] }],
|
|
1180
|
+
"mask-image-conic-from-pos": [{ "mask-conic-from": I() }],
|
|
1181
|
+
"mask-image-conic-to-pos": [{ "mask-conic-to": I() }],
|
|
1182
|
+
"mask-image-conic-from-color": [{ "mask-conic-from": j() }],
|
|
1183
|
+
"mask-image-conic-to-color": [{ "mask-conic-to": j() }],
|
|
1184
|
+
"mask-mode": [{ mask: [
|
|
1185
|
+
"alpha",
|
|
1186
|
+
"luminance",
|
|
1187
|
+
"match"
|
|
1188
|
+
] }],
|
|
1189
|
+
"mask-origin": [{ "mask-origin": [
|
|
1190
|
+
"border",
|
|
1191
|
+
"padding",
|
|
1192
|
+
"content",
|
|
1193
|
+
"fill",
|
|
1194
|
+
"stroke",
|
|
1195
|
+
"view"
|
|
1196
|
+
] }],
|
|
1197
|
+
"mask-position": [{ mask: ae() }],
|
|
1198
|
+
"mask-repeat": [{ mask: oe() }],
|
|
1199
|
+
"mask-size": [{ mask: se() }],
|
|
1200
|
+
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
|
|
1201
|
+
"mask-image": [{ mask: [
|
|
1202
|
+
"none",
|
|
1203
|
+
J,
|
|
1204
|
+
K
|
|
1205
|
+
] }],
|
|
1206
|
+
filter: [{ filter: [
|
|
1207
|
+
"",
|
|
1208
|
+
"none",
|
|
1209
|
+
J,
|
|
1210
|
+
K
|
|
1211
|
+
] }],
|
|
1212
|
+
blur: [{ blur: le() }],
|
|
1213
|
+
brightness: [{ brightness: [
|
|
1214
|
+
U,
|
|
1215
|
+
J,
|
|
1216
|
+
K
|
|
1217
|
+
] }],
|
|
1218
|
+
contrast: [{ contrast: [
|
|
1219
|
+
U,
|
|
1220
|
+
J,
|
|
1221
|
+
K
|
|
1222
|
+
] }],
|
|
1223
|
+
"drop-shadow": [{ "drop-shadow": [
|
|
1224
|
+
"",
|
|
1225
|
+
"none",
|
|
1226
|
+
p,
|
|
1227
|
+
Re,
|
|
1228
|
+
Ne
|
|
1229
|
+
] }],
|
|
1230
|
+
"drop-shadow-color": [{ "drop-shadow": j() }],
|
|
1231
|
+
grayscale: [{ grayscale: [
|
|
1232
|
+
"",
|
|
1233
|
+
U,
|
|
1234
|
+
J,
|
|
1235
|
+
K
|
|
1236
|
+
] }],
|
|
1237
|
+
"hue-rotate": [{ "hue-rotate": [
|
|
1238
|
+
U,
|
|
1239
|
+
J,
|
|
1240
|
+
K
|
|
1241
|
+
] }],
|
|
1242
|
+
invert: [{ invert: [
|
|
1243
|
+
"",
|
|
1244
|
+
U,
|
|
1245
|
+
J,
|
|
1246
|
+
K
|
|
1247
|
+
] }],
|
|
1248
|
+
saturate: [{ saturate: [
|
|
1249
|
+
U,
|
|
1250
|
+
J,
|
|
1251
|
+
K
|
|
1252
|
+
] }],
|
|
1253
|
+
sepia: [{ sepia: [
|
|
1254
|
+
"",
|
|
1255
|
+
U,
|
|
1256
|
+
J,
|
|
1257
|
+
K
|
|
1258
|
+
] }],
|
|
1259
|
+
"backdrop-filter": [{ "backdrop-filter": [
|
|
1260
|
+
"",
|
|
1261
|
+
"none",
|
|
1262
|
+
J,
|
|
1263
|
+
K
|
|
1264
|
+
] }],
|
|
1265
|
+
"backdrop-blur": [{ "backdrop-blur": le() }],
|
|
1266
|
+
"backdrop-brightness": [{ "backdrop-brightness": [
|
|
1267
|
+
U,
|
|
1268
|
+
J,
|
|
1269
|
+
K
|
|
1270
|
+
] }],
|
|
1271
|
+
"backdrop-contrast": [{ "backdrop-contrast": [
|
|
1272
|
+
U,
|
|
1273
|
+
J,
|
|
1274
|
+
K
|
|
1275
|
+
] }],
|
|
1276
|
+
"backdrop-grayscale": [{ "backdrop-grayscale": [
|
|
1277
|
+
"",
|
|
1278
|
+
U,
|
|
1279
|
+
J,
|
|
1280
|
+
K
|
|
1281
|
+
] }],
|
|
1282
|
+
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
|
|
1283
|
+
U,
|
|
1284
|
+
J,
|
|
1285
|
+
K
|
|
1286
|
+
] }],
|
|
1287
|
+
"backdrop-invert": [{ "backdrop-invert": [
|
|
1288
|
+
"",
|
|
1289
|
+
U,
|
|
1290
|
+
J,
|
|
1291
|
+
K
|
|
1292
|
+
] }],
|
|
1293
|
+
"backdrop-opacity": [{ "backdrop-opacity": [
|
|
1294
|
+
U,
|
|
1295
|
+
J,
|
|
1296
|
+
K
|
|
1297
|
+
] }],
|
|
1298
|
+
"backdrop-saturate": [{ "backdrop-saturate": [
|
|
1299
|
+
U,
|
|
1300
|
+
J,
|
|
1301
|
+
K
|
|
1302
|
+
] }],
|
|
1303
|
+
"backdrop-sepia": [{ "backdrop-sepia": [
|
|
1304
|
+
"",
|
|
1305
|
+
U,
|
|
1306
|
+
J,
|
|
1307
|
+
K
|
|
1308
|
+
] }],
|
|
1309
|
+
"border-collapse": [{ border: ["collapse", "separate"] }],
|
|
1310
|
+
"border-spacing": [{ "border-spacing": C() }],
|
|
1311
|
+
"border-spacing-x": [{ "border-spacing-x": C() }],
|
|
1312
|
+
"border-spacing-y": [{ "border-spacing-y": C() }],
|
|
1313
|
+
"table-layout": [{ table: ["auto", "fixed"] }],
|
|
1314
|
+
caption: [{ caption: ["top", "bottom"] }],
|
|
1315
|
+
transition: [{ transition: [
|
|
1316
|
+
"",
|
|
1317
|
+
"all",
|
|
1318
|
+
"colors",
|
|
1319
|
+
"opacity",
|
|
1320
|
+
"shadow",
|
|
1321
|
+
"transform",
|
|
1322
|
+
"none",
|
|
1323
|
+
J,
|
|
1324
|
+
K
|
|
1325
|
+
] }],
|
|
1326
|
+
"transition-behavior": [{ transition: ["normal", "discrete"] }],
|
|
1327
|
+
duration: [{ duration: [
|
|
1328
|
+
U,
|
|
1329
|
+
"initial",
|
|
1330
|
+
J,
|
|
1331
|
+
K
|
|
1332
|
+
] }],
|
|
1333
|
+
ease: [{ ease: [
|
|
1334
|
+
"linear",
|
|
1335
|
+
"initial",
|
|
1336
|
+
_,
|
|
1337
|
+
J,
|
|
1338
|
+
K
|
|
1339
|
+
] }],
|
|
1340
|
+
delay: [{ delay: [
|
|
1341
|
+
U,
|
|
1342
|
+
J,
|
|
1343
|
+
K
|
|
1344
|
+
] }],
|
|
1345
|
+
animate: [{ animate: [
|
|
1346
|
+
"none",
|
|
1347
|
+
v,
|
|
1348
|
+
J,
|
|
1349
|
+
K
|
|
1350
|
+
] }],
|
|
1351
|
+
backface: [{ backface: ["hidden", "visible"] }],
|
|
1352
|
+
perspective: [{ perspective: [
|
|
1353
|
+
h,
|
|
1354
|
+
J,
|
|
1355
|
+
K
|
|
1356
|
+
] }],
|
|
1357
|
+
"perspective-origin": [{ "perspective-origin": x() }],
|
|
1358
|
+
rotate: [{ rotate: L() }],
|
|
1359
|
+
"rotate-x": [{ "rotate-x": L() }],
|
|
1360
|
+
"rotate-y": [{ "rotate-y": L() }],
|
|
1361
|
+
"rotate-z": [{ "rotate-z": L() }],
|
|
1362
|
+
scale: [{ scale: R() }],
|
|
1363
|
+
"scale-x": [{ "scale-x": R() }],
|
|
1364
|
+
"scale-y": [{ "scale-y": R() }],
|
|
1365
|
+
"scale-z": [{ "scale-z": R() }],
|
|
1366
|
+
"scale-3d": ["scale-3d"],
|
|
1367
|
+
skew: [{ skew: z() }],
|
|
1368
|
+
"skew-x": [{ "skew-x": z() }],
|
|
1369
|
+
"skew-y": [{ "skew-y": z() }],
|
|
1370
|
+
transform: [{ transform: [
|
|
1371
|
+
J,
|
|
1372
|
+
K,
|
|
1373
|
+
"",
|
|
1374
|
+
"none",
|
|
1375
|
+
"gpu",
|
|
1376
|
+
"cpu"
|
|
1377
|
+
] }],
|
|
1378
|
+
"transform-origin": [{ origin: x() }],
|
|
1379
|
+
"transform-style": [{ transform: ["3d", "flat"] }],
|
|
1380
|
+
translate: [{ translate: B() }],
|
|
1381
|
+
"translate-x": [{ "translate-x": B() }],
|
|
1382
|
+
"translate-y": [{ "translate-y": B() }],
|
|
1383
|
+
"translate-z": [{ "translate-z": B() }],
|
|
1384
|
+
"translate-none": ["translate-none"],
|
|
1385
|
+
accent: [{ accent: j() }],
|
|
1386
|
+
appearance: [{ appearance: ["none", "auto"] }],
|
|
1387
|
+
"caret-color": [{ caret: j() }],
|
|
1388
|
+
"color-scheme": [{ scheme: [
|
|
1389
|
+
"normal",
|
|
1390
|
+
"dark",
|
|
1391
|
+
"light",
|
|
1392
|
+
"light-dark",
|
|
1393
|
+
"only-dark",
|
|
1394
|
+
"only-light"
|
|
1395
|
+
] }],
|
|
1396
|
+
cursor: [{ cursor: [
|
|
1397
|
+
"auto",
|
|
1398
|
+
"default",
|
|
1399
|
+
"pointer",
|
|
1400
|
+
"wait",
|
|
1401
|
+
"text",
|
|
1402
|
+
"move",
|
|
1403
|
+
"help",
|
|
1404
|
+
"not-allowed",
|
|
1405
|
+
"none",
|
|
1406
|
+
"context-menu",
|
|
1407
|
+
"progress",
|
|
1408
|
+
"cell",
|
|
1409
|
+
"crosshair",
|
|
1410
|
+
"vertical-text",
|
|
1411
|
+
"alias",
|
|
1412
|
+
"copy",
|
|
1413
|
+
"no-drop",
|
|
1414
|
+
"grab",
|
|
1415
|
+
"grabbing",
|
|
1416
|
+
"all-scroll",
|
|
1417
|
+
"col-resize",
|
|
1418
|
+
"row-resize",
|
|
1419
|
+
"n-resize",
|
|
1420
|
+
"e-resize",
|
|
1421
|
+
"s-resize",
|
|
1422
|
+
"w-resize",
|
|
1423
|
+
"ne-resize",
|
|
1424
|
+
"nw-resize",
|
|
1425
|
+
"se-resize",
|
|
1426
|
+
"sw-resize",
|
|
1427
|
+
"ew-resize",
|
|
1428
|
+
"ns-resize",
|
|
1429
|
+
"nesw-resize",
|
|
1430
|
+
"nwse-resize",
|
|
1431
|
+
"zoom-in",
|
|
1432
|
+
"zoom-out",
|
|
1433
|
+
J,
|
|
1434
|
+
K
|
|
1435
|
+
] }],
|
|
1436
|
+
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
|
|
1437
|
+
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
|
|
1438
|
+
resize: [{ resize: [
|
|
1439
|
+
"none",
|
|
1440
|
+
"",
|
|
1441
|
+
"y",
|
|
1442
|
+
"x"
|
|
1443
|
+
] }],
|
|
1444
|
+
"scroll-behavior": [{ scroll: ["auto", "smooth"] }],
|
|
1445
|
+
"scroll-m": [{ "scroll-m": C() }],
|
|
1446
|
+
"scroll-mx": [{ "scroll-mx": C() }],
|
|
1447
|
+
"scroll-my": [{ "scroll-my": C() }],
|
|
1448
|
+
"scroll-ms": [{ "scroll-ms": C() }],
|
|
1449
|
+
"scroll-me": [{ "scroll-me": C() }],
|
|
1450
|
+
"scroll-mbs": [{ "scroll-mbs": C() }],
|
|
1451
|
+
"scroll-mbe": [{ "scroll-mbe": C() }],
|
|
1452
|
+
"scroll-mt": [{ "scroll-mt": C() }],
|
|
1453
|
+
"scroll-mr": [{ "scroll-mr": C() }],
|
|
1454
|
+
"scroll-mb": [{ "scroll-mb": C() }],
|
|
1455
|
+
"scroll-ml": [{ "scroll-ml": C() }],
|
|
1456
|
+
"scroll-p": [{ "scroll-p": C() }],
|
|
1457
|
+
"scroll-px": [{ "scroll-px": C() }],
|
|
1458
|
+
"scroll-py": [{ "scroll-py": C() }],
|
|
1459
|
+
"scroll-ps": [{ "scroll-ps": C() }],
|
|
1460
|
+
"scroll-pe": [{ "scroll-pe": C() }],
|
|
1461
|
+
"scroll-pbs": [{ "scroll-pbs": C() }],
|
|
1462
|
+
"scroll-pbe": [{ "scroll-pbe": C() }],
|
|
1463
|
+
"scroll-pt": [{ "scroll-pt": C() }],
|
|
1464
|
+
"scroll-pr": [{ "scroll-pr": C() }],
|
|
1465
|
+
"scroll-pb": [{ "scroll-pb": C() }],
|
|
1466
|
+
"scroll-pl": [{ "scroll-pl": C() }],
|
|
1467
|
+
"snap-align": [{ snap: [
|
|
1468
|
+
"start",
|
|
1469
|
+
"end",
|
|
1470
|
+
"center",
|
|
1471
|
+
"align-none"
|
|
1472
|
+
] }],
|
|
1473
|
+
"snap-stop": [{ snap: ["normal", "always"] }],
|
|
1474
|
+
"snap-type": [{ snap: [
|
|
1475
|
+
"none",
|
|
1476
|
+
"x",
|
|
1477
|
+
"y",
|
|
1478
|
+
"both"
|
|
1479
|
+
] }],
|
|
1480
|
+
"snap-strictness": [{ snap: ["mandatory", "proximity"] }],
|
|
1481
|
+
touch: [{ touch: [
|
|
1482
|
+
"auto",
|
|
1483
|
+
"none",
|
|
1484
|
+
"manipulation"
|
|
1485
|
+
] }],
|
|
1486
|
+
"touch-x": [{ "touch-pan": [
|
|
1487
|
+
"x",
|
|
1488
|
+
"left",
|
|
1489
|
+
"right"
|
|
1490
|
+
] }],
|
|
1491
|
+
"touch-y": [{ "touch-pan": [
|
|
1492
|
+
"y",
|
|
1493
|
+
"up",
|
|
1494
|
+
"down"
|
|
1495
|
+
] }],
|
|
1496
|
+
"touch-pz": ["touch-pinch-zoom"],
|
|
1497
|
+
select: [{ select: [
|
|
1498
|
+
"none",
|
|
1499
|
+
"text",
|
|
1500
|
+
"all",
|
|
1501
|
+
"auto"
|
|
1502
|
+
] }],
|
|
1503
|
+
"will-change": [{ "will-change": [
|
|
1504
|
+
"auto",
|
|
1505
|
+
"scroll",
|
|
1506
|
+
"contents",
|
|
1507
|
+
"transform",
|
|
1508
|
+
J,
|
|
1509
|
+
K
|
|
1510
|
+
] }],
|
|
1511
|
+
fill: [{ fill: ["none", ...j()] }],
|
|
1512
|
+
"stroke-w": [{ stroke: [
|
|
1513
|
+
U,
|
|
1514
|
+
Y,
|
|
1515
|
+
q,
|
|
1516
|
+
Oe
|
|
1517
|
+
] }],
|
|
1518
|
+
stroke: [{ stroke: ["none", ...j()] }],
|
|
1519
|
+
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
|
|
1520
|
+
},
|
|
1521
|
+
conflictingClassGroups: {
|
|
1522
|
+
overflow: ["overflow-x", "overflow-y"],
|
|
1523
|
+
overscroll: ["overscroll-x", "overscroll-y"],
|
|
1524
|
+
inset: [
|
|
1525
|
+
"inset-x",
|
|
1526
|
+
"inset-y",
|
|
1527
|
+
"inset-bs",
|
|
1528
|
+
"inset-be",
|
|
1529
|
+
"start",
|
|
1530
|
+
"end",
|
|
1531
|
+
"top",
|
|
1532
|
+
"right",
|
|
1533
|
+
"bottom",
|
|
1534
|
+
"left"
|
|
1535
|
+
],
|
|
1536
|
+
"inset-x": ["right", "left"],
|
|
1537
|
+
"inset-y": ["top", "bottom"],
|
|
1538
|
+
flex: [
|
|
1539
|
+
"basis",
|
|
1540
|
+
"grow",
|
|
1541
|
+
"shrink"
|
|
1542
|
+
],
|
|
1543
|
+
gap: ["gap-x", "gap-y"],
|
|
1544
|
+
p: [
|
|
1545
|
+
"px",
|
|
1546
|
+
"py",
|
|
1547
|
+
"ps",
|
|
1548
|
+
"pe",
|
|
1549
|
+
"pbs",
|
|
1550
|
+
"pbe",
|
|
1551
|
+
"pt",
|
|
1552
|
+
"pr",
|
|
1553
|
+
"pb",
|
|
1554
|
+
"pl"
|
|
1555
|
+
],
|
|
1556
|
+
px: ["pr", "pl"],
|
|
1557
|
+
py: ["pt", "pb"],
|
|
1558
|
+
m: [
|
|
1559
|
+
"mx",
|
|
1560
|
+
"my",
|
|
1561
|
+
"ms",
|
|
1562
|
+
"me",
|
|
1563
|
+
"mbs",
|
|
1564
|
+
"mbe",
|
|
1565
|
+
"mt",
|
|
1566
|
+
"mr",
|
|
1567
|
+
"mb",
|
|
1568
|
+
"ml"
|
|
1569
|
+
],
|
|
1570
|
+
mx: ["mr", "ml"],
|
|
1571
|
+
my: ["mt", "mb"],
|
|
1572
|
+
size: ["w", "h"],
|
|
1573
|
+
"font-size": ["leading"],
|
|
1574
|
+
"fvn-normal": [
|
|
1575
|
+
"fvn-ordinal",
|
|
1576
|
+
"fvn-slashed-zero",
|
|
1577
|
+
"fvn-figure",
|
|
1578
|
+
"fvn-spacing",
|
|
1579
|
+
"fvn-fraction"
|
|
1580
|
+
],
|
|
1581
|
+
"fvn-ordinal": ["fvn-normal"],
|
|
1582
|
+
"fvn-slashed-zero": ["fvn-normal"],
|
|
1583
|
+
"fvn-figure": ["fvn-normal"],
|
|
1584
|
+
"fvn-spacing": ["fvn-normal"],
|
|
1585
|
+
"fvn-fraction": ["fvn-normal"],
|
|
1586
|
+
"line-clamp": ["display", "overflow"],
|
|
1587
|
+
rounded: [
|
|
1588
|
+
"rounded-s",
|
|
1589
|
+
"rounded-e",
|
|
1590
|
+
"rounded-t",
|
|
1591
|
+
"rounded-r",
|
|
1592
|
+
"rounded-b",
|
|
1593
|
+
"rounded-l",
|
|
1594
|
+
"rounded-ss",
|
|
1595
|
+
"rounded-se",
|
|
1596
|
+
"rounded-ee",
|
|
1597
|
+
"rounded-es",
|
|
1598
|
+
"rounded-tl",
|
|
1599
|
+
"rounded-tr",
|
|
1600
|
+
"rounded-br",
|
|
1601
|
+
"rounded-bl"
|
|
1602
|
+
],
|
|
1603
|
+
"rounded-s": ["rounded-ss", "rounded-es"],
|
|
1604
|
+
"rounded-e": ["rounded-se", "rounded-ee"],
|
|
1605
|
+
"rounded-t": ["rounded-tl", "rounded-tr"],
|
|
1606
|
+
"rounded-r": ["rounded-tr", "rounded-br"],
|
|
1607
|
+
"rounded-b": ["rounded-br", "rounded-bl"],
|
|
1608
|
+
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
1609
|
+
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
1610
|
+
"border-w": [
|
|
1611
|
+
"border-w-x",
|
|
1612
|
+
"border-w-y",
|
|
1613
|
+
"border-w-s",
|
|
1614
|
+
"border-w-e",
|
|
1615
|
+
"border-w-bs",
|
|
1616
|
+
"border-w-be",
|
|
1617
|
+
"border-w-t",
|
|
1618
|
+
"border-w-r",
|
|
1619
|
+
"border-w-b",
|
|
1620
|
+
"border-w-l"
|
|
1621
|
+
],
|
|
1622
|
+
"border-w-x": ["border-w-r", "border-w-l"],
|
|
1623
|
+
"border-w-y": ["border-w-t", "border-w-b"],
|
|
1624
|
+
"border-color": [
|
|
1625
|
+
"border-color-x",
|
|
1626
|
+
"border-color-y",
|
|
1627
|
+
"border-color-s",
|
|
1628
|
+
"border-color-e",
|
|
1629
|
+
"border-color-bs",
|
|
1630
|
+
"border-color-be",
|
|
1631
|
+
"border-color-t",
|
|
1632
|
+
"border-color-r",
|
|
1633
|
+
"border-color-b",
|
|
1634
|
+
"border-color-l"
|
|
1635
|
+
],
|
|
1636
|
+
"border-color-x": ["border-color-r", "border-color-l"],
|
|
1637
|
+
"border-color-y": ["border-color-t", "border-color-b"],
|
|
1638
|
+
translate: [
|
|
1639
|
+
"translate-x",
|
|
1640
|
+
"translate-y",
|
|
1641
|
+
"translate-none"
|
|
1642
|
+
],
|
|
1643
|
+
"translate-none": [
|
|
1644
|
+
"translate",
|
|
1645
|
+
"translate-x",
|
|
1646
|
+
"translate-y",
|
|
1647
|
+
"translate-z"
|
|
1648
|
+
],
|
|
1649
|
+
"scroll-m": [
|
|
1650
|
+
"scroll-mx",
|
|
1651
|
+
"scroll-my",
|
|
1652
|
+
"scroll-ms",
|
|
1653
|
+
"scroll-me",
|
|
1654
|
+
"scroll-mbs",
|
|
1655
|
+
"scroll-mbe",
|
|
1656
|
+
"scroll-mt",
|
|
1657
|
+
"scroll-mr",
|
|
1658
|
+
"scroll-mb",
|
|
1659
|
+
"scroll-ml"
|
|
1660
|
+
],
|
|
1661
|
+
"scroll-mx": ["scroll-mr", "scroll-ml"],
|
|
1662
|
+
"scroll-my": ["scroll-mt", "scroll-mb"],
|
|
1663
|
+
"scroll-p": [
|
|
1664
|
+
"scroll-px",
|
|
1665
|
+
"scroll-py",
|
|
1666
|
+
"scroll-ps",
|
|
1667
|
+
"scroll-pe",
|
|
1668
|
+
"scroll-pbs",
|
|
1669
|
+
"scroll-pbe",
|
|
1670
|
+
"scroll-pt",
|
|
1671
|
+
"scroll-pr",
|
|
1672
|
+
"scroll-pb",
|
|
1673
|
+
"scroll-pl"
|
|
1674
|
+
],
|
|
1675
|
+
"scroll-px": ["scroll-pr", "scroll-pl"],
|
|
1676
|
+
"scroll-py": ["scroll-pt", "scroll-pb"],
|
|
1677
|
+
touch: [
|
|
1678
|
+
"touch-x",
|
|
1679
|
+
"touch-y",
|
|
1680
|
+
"touch-pz"
|
|
1681
|
+
],
|
|
1682
|
+
"touch-x": ["touch"],
|
|
1683
|
+
"touch-y": ["touch"],
|
|
1684
|
+
"touch-pz": ["touch"]
|
|
1685
|
+
},
|
|
1686
|
+
conflictingClassGroupModifiers: { "font-size": ["leading"] },
|
|
1687
|
+
orderSensitiveModifiers: [
|
|
1688
|
+
"*",
|
|
1689
|
+
"**",
|
|
1690
|
+
"after",
|
|
1691
|
+
"backdrop",
|
|
1692
|
+
"before",
|
|
1693
|
+
"details-content",
|
|
1694
|
+
"file",
|
|
1695
|
+
"first-letter",
|
|
1696
|
+
"first-line",
|
|
1697
|
+
"marker",
|
|
1698
|
+
"placeholder",
|
|
1699
|
+
"selection"
|
|
1700
|
+
]
|
|
1701
|
+
};
|
|
1702
|
+
});
|
|
1703
|
+
//#endregion
|
|
1704
|
+
//#region src/utils.ts
|
|
1705
|
+
function Q(...e) {
|
|
1706
|
+
return Je(b(e));
|
|
1707
|
+
}
|
|
1708
|
+
//#endregion
|
|
1709
|
+
//#region ../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.mjs
|
|
1710
|
+
var Ye = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Xe = b, Ze = (e, t) => (n) => {
|
|
1711
|
+
if (t?.variants == null) return Xe(e, n?.class, n?.className);
|
|
1712
|
+
let { variants: r, defaultVariants: i } = t, a = Object.keys(r).map((e) => {
|
|
1713
|
+
let t = n?.[e], a = i?.[e];
|
|
1714
|
+
if (t === null) return null;
|
|
1715
|
+
let o = Ye(t) || Ye(a);
|
|
1716
|
+
return r[e][o];
|
|
1717
|
+
}), o = n && Object.entries(n).reduce((e, t) => {
|
|
1718
|
+
let [n, r] = t;
|
|
1719
|
+
return r === void 0 || (e[n] = r), e;
|
|
1720
|
+
}, {});
|
|
1721
|
+
return Xe(e, a, t?.compoundVariants?.reduce((e, t) => {
|
|
1722
|
+
let { class: n, className: r, ...a } = t;
|
|
1723
|
+
return Object.entries(a).every((e) => {
|
|
1724
|
+
let [t, n] = e;
|
|
1725
|
+
return Array.isArray(n) ? n.includes({
|
|
1726
|
+
...i,
|
|
1727
|
+
...o
|
|
1728
|
+
}[t]) : {
|
|
1729
|
+
...i,
|
|
1730
|
+
...o
|
|
1731
|
+
}[t] === n;
|
|
1732
|
+
}) ? [
|
|
1733
|
+
...e,
|
|
1734
|
+
n,
|
|
1735
|
+
r
|
|
1736
|
+
] : e;
|
|
1737
|
+
}, []), n?.class, n?.className);
|
|
1738
|
+
}, Qe = Ze("group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
|
|
1739
|
+
variants: {
|
|
1740
|
+
variant: {
|
|
1741
|
+
default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",
|
|
1742
|
+
outline: "border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
|
|
1743
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",
|
|
1744
|
+
ghost: "hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",
|
|
1745
|
+
destructive: "bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",
|
|
1746
|
+
link: "text-primary underline-offset-4 hover:underline"
|
|
1747
|
+
},
|
|
1748
|
+
size: {
|
|
1749
|
+
default: "h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
|
|
1750
|
+
xs: "h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",
|
|
1751
|
+
sm: "h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",
|
|
1752
|
+
lg: "h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
|
|
1753
|
+
icon: "size-8",
|
|
1754
|
+
"icon-xs": "size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3",
|
|
1755
|
+
"icon-sm": "size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg",
|
|
1756
|
+
"icon-lg": "size-9"
|
|
1757
|
+
}
|
|
1758
|
+
},
|
|
1759
|
+
defaultVariants: {
|
|
1760
|
+
variant: "default",
|
|
1761
|
+
size: "default"
|
|
1762
|
+
}
|
|
1763
|
+
});
|
|
1764
|
+
function $e({ className: t, variant: r = "default", size: i = "default", ...a }) {
|
|
1765
|
+
return /* @__PURE__ */ n(e, {
|
|
1766
|
+
"data-slot": "button",
|
|
1767
|
+
className: Q(Qe({
|
|
1768
|
+
variant: r,
|
|
1769
|
+
size: i,
|
|
1770
|
+
className: t
|
|
1771
|
+
})),
|
|
1772
|
+
...a
|
|
1773
|
+
});
|
|
1774
|
+
}
|
|
1775
|
+
//#endregion
|
|
1776
|
+
//#region src/components/badge.tsx
|
|
1777
|
+
var et = Ze("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!", {
|
|
1778
|
+
variants: { variant: {
|
|
1779
|
+
default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",
|
|
1780
|
+
secondary: "bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",
|
|
1781
|
+
destructive: "bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",
|
|
1782
|
+
outline: "border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",
|
|
1783
|
+
ghost: "hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",
|
|
1784
|
+
link: "text-primary underline-offset-4 hover:underline"
|
|
1785
|
+
} },
|
|
1786
|
+
defaultVariants: { variant: "default" }
|
|
1787
|
+
});
|
|
1788
|
+
function tt({ className: e, variant: t = "default", render: n, ...r }) {
|
|
1789
|
+
return a({
|
|
1790
|
+
defaultTagName: "span",
|
|
1791
|
+
props: i({ className: Q(et({ variant: t }), e) }, r),
|
|
1792
|
+
render: n,
|
|
1793
|
+
state: {
|
|
1794
|
+
slot: "badge",
|
|
1795
|
+
variant: t
|
|
1796
|
+
}
|
|
1797
|
+
});
|
|
1798
|
+
}
|
|
1799
|
+
//#endregion
|
|
1800
|
+
//#region src/components/card.tsx
|
|
1801
|
+
function nt({ className: e, size: t = "default", ...r }) {
|
|
1802
|
+
return /* @__PURE__ */ n("div", {
|
|
1803
|
+
"data-slot": "card",
|
|
1804
|
+
"data-size": t,
|
|
1805
|
+
className: Q("group/card flex flex-col gap-4 overflow-hidden rounded-xl bg-card py-4 text-sm text-card-foreground ring-1 ring-foreground/10 has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:gap-3 data-[size=sm]:py-3 data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl", e),
|
|
1806
|
+
...r
|
|
1807
|
+
});
|
|
1808
|
+
}
|
|
1809
|
+
function rt({ className: e, ...t }) {
|
|
1810
|
+
return /* @__PURE__ */ n("div", {
|
|
1811
|
+
"data-slot": "card-header",
|
|
1812
|
+
className: Q("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-4 group-data-[size=sm]/card:px-3 has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-4 group-data-[size=sm]/card:[.border-b]:pb-3", e),
|
|
1813
|
+
...t
|
|
1814
|
+
});
|
|
1815
|
+
}
|
|
1816
|
+
function it({ className: e, ...t }) {
|
|
1817
|
+
return /* @__PURE__ */ n("div", {
|
|
1818
|
+
"data-slot": "card-title",
|
|
1819
|
+
className: Q("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm", e),
|
|
1820
|
+
...t
|
|
1821
|
+
});
|
|
1822
|
+
}
|
|
1823
|
+
function at({ className: e, ...t }) {
|
|
1824
|
+
return /* @__PURE__ */ n("div", {
|
|
1825
|
+
"data-slot": "card-description",
|
|
1826
|
+
className: Q("text-sm text-muted-foreground", e),
|
|
1827
|
+
...t
|
|
1828
|
+
});
|
|
1829
|
+
}
|
|
1830
|
+
function ot({ className: e, ...t }) {
|
|
1831
|
+
return /* @__PURE__ */ n("div", {
|
|
1832
|
+
"data-slot": "card-action",
|
|
1833
|
+
className: Q("col-start-2 row-span-2 row-start-1 self-start justify-self-end", e),
|
|
1834
|
+
...t
|
|
1835
|
+
});
|
|
1836
|
+
}
|
|
1837
|
+
function st({ className: e, ...t }) {
|
|
1838
|
+
return /* @__PURE__ */ n("div", {
|
|
1839
|
+
"data-slot": "card-content",
|
|
1840
|
+
className: Q("px-4 group-data-[size=sm]/card:px-3", e),
|
|
1841
|
+
...t
|
|
1842
|
+
});
|
|
1843
|
+
}
|
|
1844
|
+
function ct({ className: e, ...t }) {
|
|
1845
|
+
return /* @__PURE__ */ n("div", {
|
|
1846
|
+
"data-slot": "card-footer",
|
|
1847
|
+
className: Q("flex items-center rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/card:p-3", e),
|
|
1848
|
+
...t
|
|
1849
|
+
});
|
|
1850
|
+
}
|
|
1851
|
+
//#endregion
|
|
1852
|
+
//#region src/components/input.tsx
|
|
1853
|
+
function lt({ className: e, type: t, ...r }) {
|
|
1854
|
+
return /* @__PURE__ */ n(s, {
|
|
1855
|
+
type: t,
|
|
1856
|
+
"data-slot": "input",
|
|
1857
|
+
className: Q("h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40", e),
|
|
1858
|
+
...r
|
|
1859
|
+
});
|
|
1860
|
+
}
|
|
1861
|
+
//#endregion
|
|
1862
|
+
//#region src/components/label.tsx
|
|
1863
|
+
function ut({ className: e, ...t }) {
|
|
1864
|
+
return /* @__PURE__ */ n("label", {
|
|
1865
|
+
"data-slot": "label",
|
|
1866
|
+
className: Q("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e),
|
|
1867
|
+
...t
|
|
1868
|
+
});
|
|
1869
|
+
}
|
|
1870
|
+
//#endregion
|
|
1871
|
+
//#region src/components/tabs.tsx
|
|
1872
|
+
function dt({ className: e, orientation: t = "horizontal", ...r }) {
|
|
1873
|
+
return /* @__PURE__ */ n(c.Root, {
|
|
1874
|
+
"data-slot": "tabs",
|
|
1875
|
+
"data-orientation": t,
|
|
1876
|
+
className: Q("group/tabs flex gap-2 data-horizontal:flex-col", e),
|
|
1877
|
+
...r
|
|
1878
|
+
});
|
|
1879
|
+
}
|
|
1880
|
+
var ft = Ze("group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-horizontal/tabs:h-8 group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col data-[variant=line]:rounded-none", {
|
|
1881
|
+
variants: { variant: {
|
|
1882
|
+
default: "bg-muted",
|
|
1883
|
+
line: "gap-1 bg-transparent"
|
|
1884
|
+
} },
|
|
1885
|
+
defaultVariants: { variant: "default" }
|
|
1886
|
+
});
|
|
1887
|
+
function pt({ className: e, variant: t = "default", ...r }) {
|
|
1888
|
+
return /* @__PURE__ */ n(c.List, {
|
|
1889
|
+
"data-slot": "tabs-list",
|
|
1890
|
+
"data-variant": t,
|
|
1891
|
+
className: Q(ft({ variant: t }), e),
|
|
1892
|
+
...r
|
|
1893
|
+
});
|
|
1894
|
+
}
|
|
1895
|
+
function mt({ className: e, ...t }) {
|
|
1896
|
+
return /* @__PURE__ */ n(c.Tab, {
|
|
1897
|
+
"data-slot": "tabs-trigger",
|
|
1898
|
+
className: Q("relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 aria-disabled:pointer-events-none aria-disabled:opacity-50 dark:text-muted-foreground dark:hover:text-foreground group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", "group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent", "data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground", "after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-right-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100", e),
|
|
1899
|
+
...t
|
|
1900
|
+
});
|
|
1901
|
+
}
|
|
1902
|
+
function ht({ className: e, ...t }) {
|
|
1903
|
+
return /* @__PURE__ */ n(c.Panel, {
|
|
1904
|
+
"data-slot": "tabs-content",
|
|
1905
|
+
className: Q("flex-1 text-sm outline-none", e),
|
|
1906
|
+
...t
|
|
1907
|
+
});
|
|
1908
|
+
}
|
|
1909
|
+
//#endregion
|
|
1910
|
+
//#region src/components/select.tsx
|
|
1911
|
+
function gt({ ...e }) {
|
|
1912
|
+
return /* @__PURE__ */ n(l.Root, {
|
|
1913
|
+
"data-slot": "select",
|
|
1914
|
+
...e
|
|
1915
|
+
});
|
|
1916
|
+
}
|
|
1917
|
+
function _t({ ...e }) {
|
|
1918
|
+
return /* @__PURE__ */ n(l.Value, {
|
|
1919
|
+
"data-slot": "select-value",
|
|
1920
|
+
...e
|
|
1921
|
+
});
|
|
1922
|
+
}
|
|
1923
|
+
function vt({ className: e, size: t = "default", children: i, ...a }) {
|
|
1924
|
+
return /* @__PURE__ */ r(l.Trigger, {
|
|
1925
|
+
"data-slot": "select-trigger",
|
|
1926
|
+
"data-size": t,
|
|
1927
|
+
className: Q("flex w-fit items-center justify-between gap-1.5 rounded-lg border border-input bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
|
|
1928
|
+
...a,
|
|
1929
|
+
children: [i, /* @__PURE__ */ n(l.Icon, {
|
|
1930
|
+
"data-slot": "select-icon",
|
|
1931
|
+
children: /* @__PURE__ */ n("i", { className: "fa-solid fa-chevron-down pointer-events-none size-4 text-muted-foreground" })
|
|
1932
|
+
})]
|
|
1933
|
+
});
|
|
1934
|
+
}
|
|
1935
|
+
function yt({ className: e, children: t, side: r = "bottom", align: i = "start", ...a }) {
|
|
1936
|
+
return /* @__PURE__ */ n(l.Portal, { children: /* @__PURE__ */ n(l.Positioner, {
|
|
1937
|
+
align: i,
|
|
1938
|
+
side: r,
|
|
1939
|
+
sideOffset: 4,
|
|
1940
|
+
className: "z-50",
|
|
1941
|
+
children: /* @__PURE__ */ n(l.Popup, {
|
|
1942
|
+
"data-slot": "select-content",
|
|
1943
|
+
className: Q("min-w-36 origin-(--transform-origin) overflow-y-auto rounded-lg bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
|
|
1944
|
+
...a,
|
|
1945
|
+
children: t
|
|
1946
|
+
})
|
|
1947
|
+
}) });
|
|
1948
|
+
}
|
|
1949
|
+
function bt({ className: e, children: t, ...i }) {
|
|
1950
|
+
return /* @__PURE__ */ r(l.Item, {
|
|
1951
|
+
"data-slot": "select-item",
|
|
1952
|
+
className: Q("relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
|
|
1953
|
+
...i,
|
|
1954
|
+
children: [/* @__PURE__ */ n("span", {
|
|
1955
|
+
className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center",
|
|
1956
|
+
children: /* @__PURE__ */ n(l.ItemIndicator, { children: /* @__PURE__ */ n("i", { className: "fa-solid fa-check pointer-events-none" }) })
|
|
1957
|
+
}), /* @__PURE__ */ n(l.ItemText, { children: t })]
|
|
1958
|
+
});
|
|
1959
|
+
}
|
|
1960
|
+
function xt({ className: e, ...t }) {
|
|
1961
|
+
return /* @__PURE__ */ n("div", {
|
|
1962
|
+
"data-slot": "select-separator",
|
|
1963
|
+
className: Q("pointer-events-none -mx-1 my-1 h-px bg-border", e),
|
|
1964
|
+
...t
|
|
1965
|
+
});
|
|
1966
|
+
}
|
|
1967
|
+
function St({ className: e, ...t }) {
|
|
1968
|
+
return /* @__PURE__ */ n("div", {
|
|
1969
|
+
"data-slot": "select-label",
|
|
1970
|
+
className: Q("px-1.5 py-1 text-xs text-muted-foreground", e),
|
|
1971
|
+
...t
|
|
1972
|
+
});
|
|
1973
|
+
}
|
|
1974
|
+
function Ct({ className: e, ...t }) {
|
|
1975
|
+
return /* @__PURE__ */ n(l.Group, {
|
|
1976
|
+
"data-slot": "select-group",
|
|
1977
|
+
className: Q("scroll-my-1 p-1", e),
|
|
1978
|
+
...t
|
|
1979
|
+
});
|
|
1980
|
+
}
|
|
1981
|
+
//#endregion
|
|
1982
|
+
//#region src/components/separator.tsx
|
|
1983
|
+
function wt({ className: e, orientation: t = "horizontal", ...r }) {
|
|
1984
|
+
return /* @__PURE__ */ n(u, {
|
|
1985
|
+
"data-slot": "separator",
|
|
1986
|
+
orientation: t,
|
|
1987
|
+
className: Q("shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch", e),
|
|
1988
|
+
...r
|
|
1989
|
+
});
|
|
1990
|
+
}
|
|
1991
|
+
//#endregion
|
|
1992
|
+
//#region src/components/switch.tsx
|
|
1993
|
+
function Tt({ className: e, size: t = "default", ...r }) {
|
|
1994
|
+
return /* @__PURE__ */ n(d.Root, {
|
|
1995
|
+
"data-slot": "switch",
|
|
1996
|
+
"data-size": t,
|
|
1997
|
+
className: Q("peer group/switch relative inline-flex shrink-0 items-center rounded-full border border-transparent transition-all outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-[size=default]:h-[18.4px] data-[size=default]:w-[32px] data-[size=sm]:h-[14px] data-[size=sm]:w-[24px] dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:bg-primary data-unchecked:bg-input dark:data-unchecked:bg-input/80 data-disabled:cursor-not-allowed data-disabled:opacity-50", e),
|
|
1998
|
+
...r,
|
|
1999
|
+
children: /* @__PURE__ */ n(d.Thumb, {
|
|
2000
|
+
"data-slot": "switch-thumb",
|
|
2001
|
+
className: "pointer-events-none block rounded-full bg-background ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 group-data-[size=default]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=sm]/switch:data-checked:translate-x-[calc(100%-2px)] dark:data-checked:bg-primary-foreground group-data-[size=default]/switch:data-unchecked:translate-x-0 group-data-[size=sm]/switch:data-unchecked:translate-x-0 dark:data-unchecked:bg-foreground"
|
|
2002
|
+
})
|
|
2003
|
+
});
|
|
2004
|
+
}
|
|
2005
|
+
//#endregion
|
|
2006
|
+
//#region src/components/slider.tsx
|
|
2007
|
+
function Et({ className: e, defaultValue: t, value: i, ...a }) {
|
|
2008
|
+
return /* @__PURE__ */ n(f.Root, {
|
|
2009
|
+
"data-slot": "slider",
|
|
2010
|
+
defaultValue: t,
|
|
2011
|
+
value: i,
|
|
2012
|
+
className: Q("relative flex w-full touch-none items-center select-none data-disabled:opacity-50", e),
|
|
2013
|
+
...a,
|
|
2014
|
+
children: /* @__PURE__ */ n(f.Control, {
|
|
2015
|
+
"data-slot": "slider-control",
|
|
2016
|
+
className: "flex w-full items-center",
|
|
2017
|
+
children: /* @__PURE__ */ r(f.Track, {
|
|
2018
|
+
"data-slot": "slider-track",
|
|
2019
|
+
className: "relative h-1 w-full grow overflow-hidden rounded-full bg-muted",
|
|
2020
|
+
children: [/* @__PURE__ */ n(f.Indicator, {
|
|
2021
|
+
"data-slot": "slider-indicator",
|
|
2022
|
+
className: "absolute h-full bg-primary"
|
|
2023
|
+
}), /* @__PURE__ */ n(f.Thumb, {
|
|
2024
|
+
"data-slot": "slider-thumb",
|
|
2025
|
+
className: "relative block size-3 shrink-0 rounded-full border border-ring bg-white ring-ring/50 transition-[color,box-shadow] select-none after:absolute after:-inset-2 hover:ring-3 focus-visible:ring-3 focus-visible:outline-hidden active:ring-3 disabled:pointer-events-none disabled:opacity-50"
|
|
2026
|
+
})]
|
|
2027
|
+
})
|
|
2028
|
+
})
|
|
2029
|
+
});
|
|
2030
|
+
}
|
|
2031
|
+
//#endregion
|
|
2032
|
+
//#region src/components/popover.tsx
|
|
2033
|
+
function Dt({ ...e }) {
|
|
2034
|
+
return /* @__PURE__ */ n(p.Root, {
|
|
2035
|
+
"data-slot": "popover",
|
|
2036
|
+
...e
|
|
2037
|
+
});
|
|
2038
|
+
}
|
|
2039
|
+
function Ot({ ...e }) {
|
|
2040
|
+
return /* @__PURE__ */ n(p.Trigger, {
|
|
2041
|
+
"data-slot": "popover-trigger",
|
|
2042
|
+
...e
|
|
2043
|
+
});
|
|
2044
|
+
}
|
|
2045
|
+
function kt({ className: e, side: t = "bottom", sideOffset: r = 4, align: i = "center", children: a, ...o }) {
|
|
2046
|
+
return /* @__PURE__ */ n(p.Portal, { children: /* @__PURE__ */ n(p.Positioner, {
|
|
2047
|
+
align: i,
|
|
2048
|
+
side: t,
|
|
2049
|
+
sideOffset: r,
|
|
2050
|
+
className: "z-50",
|
|
2051
|
+
children: /* @__PURE__ */ n(p.Popup, {
|
|
2052
|
+
"data-slot": "popover-content",
|
|
2053
|
+
className: Q("flex w-72 origin-(--transform-origin) flex-col gap-2.5 rounded-lg bg-popover p-2.5 text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-hidden duration-100 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
|
|
2054
|
+
...o,
|
|
2055
|
+
children: a
|
|
2056
|
+
})
|
|
2057
|
+
}) });
|
|
2058
|
+
}
|
|
2059
|
+
function At({ className: e, ...t }) {
|
|
2060
|
+
return /* @__PURE__ */ n("div", {
|
|
2061
|
+
"data-slot": "popover-header",
|
|
2062
|
+
className: Q("flex flex-col gap-0.5 text-sm", e),
|
|
2063
|
+
...t
|
|
2064
|
+
});
|
|
2065
|
+
}
|
|
2066
|
+
function jt({ className: e, ...t }) {
|
|
2067
|
+
return /* @__PURE__ */ n("div", {
|
|
2068
|
+
"data-slot": "popover-title",
|
|
2069
|
+
className: Q("font-heading font-medium", e),
|
|
2070
|
+
...t
|
|
2071
|
+
});
|
|
2072
|
+
}
|
|
2073
|
+
function Mt({ className: e, ...t }) {
|
|
2074
|
+
return /* @__PURE__ */ n("p", {
|
|
2075
|
+
"data-slot": "popover-description",
|
|
2076
|
+
className: Q("text-muted-foreground", e),
|
|
2077
|
+
...t
|
|
2078
|
+
});
|
|
2079
|
+
}
|
|
2080
|
+
//#endregion
|
|
2081
|
+
//#region src/components/dropdown-menu.tsx
|
|
2082
|
+
function Nt({ ...e }) {
|
|
2083
|
+
return /* @__PURE__ */ n(m.Root, {
|
|
2084
|
+
"data-slot": "dropdown-menu",
|
|
2085
|
+
...e
|
|
2086
|
+
});
|
|
2087
|
+
}
|
|
2088
|
+
function Pt({ ...e }) {
|
|
2089
|
+
return /* @__PURE__ */ n(m.Trigger, {
|
|
2090
|
+
"data-slot": "dropdown-menu-trigger",
|
|
2091
|
+
...e
|
|
2092
|
+
});
|
|
2093
|
+
}
|
|
2094
|
+
function Ft({ className: e, sideOffset: t = 4, side: r, align: i, ...a }) {
|
|
2095
|
+
return /* @__PURE__ */ n(m.Portal, { children: /* @__PURE__ */ n(m.Positioner, {
|
|
2096
|
+
sideOffset: t,
|
|
2097
|
+
side: r,
|
|
2098
|
+
align: i,
|
|
2099
|
+
className: "z-50",
|
|
2100
|
+
children: /* @__PURE__ */ n(m.Popup, {
|
|
2101
|
+
"data-slot": "dropdown-menu-content",
|
|
2102
|
+
className: Q("min-w-[8rem] overflow-hidden rounded-lg border border-border bg-popover p-1 text-popover-foreground shadow-md duration-100 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
|
|
2103
|
+
...a
|
|
2104
|
+
})
|
|
2105
|
+
}) });
|
|
2106
|
+
}
|
|
2107
|
+
function It({ ...e }) {
|
|
2108
|
+
return /* @__PURE__ */ n(m.Group, {
|
|
2109
|
+
"data-slot": "dropdown-menu-group",
|
|
2110
|
+
...e
|
|
2111
|
+
});
|
|
2112
|
+
}
|
|
2113
|
+
function Lt({ className: e, inset: t, variant: r = "default", ...i }) {
|
|
2114
|
+
return /* @__PURE__ */ n(m.Item, {
|
|
2115
|
+
"data-slot": "dropdown-menu-item",
|
|
2116
|
+
"data-inset": t,
|
|
2117
|
+
"data-variant": r,
|
|
2118
|
+
className: Q("relative flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", t && "pl-8", r === "destructive" && "text-destructive focus:bg-destructive/10 focus:text-destructive", e),
|
|
2119
|
+
...i
|
|
2120
|
+
});
|
|
2121
|
+
}
|
|
2122
|
+
function Rt({ className: e, children: t, checked: i, ...a }) {
|
|
2123
|
+
return /* @__PURE__ */ r(m.CheckboxItem, {
|
|
2124
|
+
"data-slot": "dropdown-menu-checkbox-item",
|
|
2125
|
+
className: Q("relative flex cursor-pointer select-none items-center gap-2 rounded-md py-1.5 pr-2 pl-8 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", e),
|
|
2126
|
+
checked: i,
|
|
2127
|
+
...a,
|
|
2128
|
+
children: [/* @__PURE__ */ n("span", {
|
|
2129
|
+
className: "pointer-events-none absolute left-2 flex size-4 items-center justify-center",
|
|
2130
|
+
children: /* @__PURE__ */ n(m.CheckboxItemIndicator, { children: /* @__PURE__ */ n("i", { className: "fa-solid fa-check size-4" }) })
|
|
2131
|
+
}), t]
|
|
2132
|
+
});
|
|
2133
|
+
}
|
|
2134
|
+
function zt({ ...e }) {
|
|
2135
|
+
return /* @__PURE__ */ n(m.RadioGroup, {
|
|
2136
|
+
"data-slot": "dropdown-menu-radio-group",
|
|
2137
|
+
...e
|
|
2138
|
+
});
|
|
2139
|
+
}
|
|
2140
|
+
function Bt({ className: e, children: t, ...i }) {
|
|
2141
|
+
return /* @__PURE__ */ r(m.RadioItem, {
|
|
2142
|
+
"data-slot": "dropdown-menu-radio-item",
|
|
2143
|
+
className: Q("relative flex cursor-pointer select-none items-center gap-2 rounded-md py-1.5 pr-2 pl-8 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", e),
|
|
2144
|
+
...i,
|
|
2145
|
+
children: [/* @__PURE__ */ n("span", {
|
|
2146
|
+
className: "pointer-events-none absolute left-2 flex size-4 items-center justify-center",
|
|
2147
|
+
children: /* @__PURE__ */ n(m.RadioItemIndicator, { children: /* @__PURE__ */ n("i", { className: "fa-solid fa-circle size-2" }) })
|
|
2148
|
+
}), t]
|
|
2149
|
+
});
|
|
2150
|
+
}
|
|
2151
|
+
function Vt({ className: e, inset: t, ...r }) {
|
|
2152
|
+
return /* @__PURE__ */ n(m.GroupLabel, {
|
|
2153
|
+
"data-slot": "dropdown-menu-label",
|
|
2154
|
+
"data-inset": t,
|
|
2155
|
+
className: Q("px-2 py-1.5 text-xs font-medium text-muted-foreground", t && "pl-8", e),
|
|
2156
|
+
...r
|
|
2157
|
+
});
|
|
2158
|
+
}
|
|
2159
|
+
function Ht({ className: e, ...t }) {
|
|
2160
|
+
return /* @__PURE__ */ n(m.Separator, {
|
|
2161
|
+
"data-slot": "dropdown-menu-separator",
|
|
2162
|
+
className: Q("-mx-1 my-1 h-px bg-border", e),
|
|
2163
|
+
...t
|
|
2164
|
+
});
|
|
2165
|
+
}
|
|
2166
|
+
function Ut({ className: e, ...t }) {
|
|
2167
|
+
return /* @__PURE__ */ n("span", {
|
|
2168
|
+
"data-slot": "dropdown-menu-shortcut",
|
|
2169
|
+
className: Q("ml-auto text-xs tracking-widest text-muted-foreground", e),
|
|
2170
|
+
...t
|
|
2171
|
+
});
|
|
2172
|
+
}
|
|
2173
|
+
function Wt({ ...e }) {
|
|
2174
|
+
return /* @__PURE__ */ n(m.Root, {
|
|
2175
|
+
"data-slot": "dropdown-menu-sub",
|
|
2176
|
+
...e
|
|
2177
|
+
});
|
|
2178
|
+
}
|
|
2179
|
+
function Gt({ className: e, inset: t, children: i, ...a }) {
|
|
2180
|
+
return /* @__PURE__ */ r(m.SubmenuTrigger, {
|
|
2181
|
+
"data-slot": "dropdown-menu-sub-trigger",
|
|
2182
|
+
"data-inset": t,
|
|
2183
|
+
className: Q("flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-1.5 text-sm outline-none focus:bg-accent data-[popup-open]:bg-accent [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", t && "pl-8", e),
|
|
2184
|
+
...a,
|
|
2185
|
+
children: [i, /* @__PURE__ */ n("i", { className: "fa-solid fa-chevron-right ml-auto size-4" })]
|
|
2186
|
+
});
|
|
2187
|
+
}
|
|
2188
|
+
function Kt({ className: e, ...t }) {
|
|
2189
|
+
return /* @__PURE__ */ n(m.Portal, { children: /* @__PURE__ */ n(m.Positioner, {
|
|
2190
|
+
className: "z-50",
|
|
2191
|
+
children: /* @__PURE__ */ n(m.Popup, {
|
|
2192
|
+
"data-slot": "dropdown-menu-sub-content",
|
|
2193
|
+
className: Q("min-w-[8rem] overflow-hidden rounded-lg border border-border bg-popover p-1 text-popover-foreground shadow-lg duration-100 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
|
|
2194
|
+
...t
|
|
2195
|
+
})
|
|
2196
|
+
}) });
|
|
2197
|
+
}
|
|
2198
|
+
//#endregion
|
|
2199
|
+
//#region src/components/collapsible.tsx
|
|
2200
|
+
function qt({ ...e }) {
|
|
2201
|
+
return /* @__PURE__ */ n(h.Root, {
|
|
2202
|
+
"data-slot": "collapsible",
|
|
2203
|
+
...e
|
|
2204
|
+
});
|
|
2205
|
+
}
|
|
2206
|
+
function Jt({ ...e }) {
|
|
2207
|
+
return /* @__PURE__ */ n(h.Trigger, {
|
|
2208
|
+
"data-slot": "collapsible-trigger",
|
|
2209
|
+
...e
|
|
2210
|
+
});
|
|
2211
|
+
}
|
|
2212
|
+
function Yt({ ...e }) {
|
|
2213
|
+
return /* @__PURE__ */ n(h.Panel, {
|
|
2214
|
+
"data-slot": "collapsible-content",
|
|
2215
|
+
...e
|
|
2216
|
+
});
|
|
2217
|
+
}
|
|
2218
|
+
//#endregion
|
|
2219
|
+
//#region src/components/table.tsx
|
|
2220
|
+
function Xt({ className: e, ...t }) {
|
|
2221
|
+
return /* @__PURE__ */ n("div", {
|
|
2222
|
+
"data-slot": "table-container",
|
|
2223
|
+
className: "relative w-full overflow-x-auto",
|
|
2224
|
+
children: /* @__PURE__ */ n("table", {
|
|
2225
|
+
"data-slot": "table",
|
|
2226
|
+
className: Q("w-full caption-bottom text-sm", e),
|
|
2227
|
+
...t
|
|
2228
|
+
})
|
|
2229
|
+
});
|
|
2230
|
+
}
|
|
2231
|
+
function Zt({ className: e, ...t }) {
|
|
2232
|
+
return /* @__PURE__ */ n("thead", {
|
|
2233
|
+
"data-slot": "table-header",
|
|
2234
|
+
className: Q("[&_tr]:border-b", e),
|
|
2235
|
+
...t
|
|
2236
|
+
});
|
|
2237
|
+
}
|
|
2238
|
+
function Qt({ className: e, ...t }) {
|
|
2239
|
+
return /* @__PURE__ */ n("tbody", {
|
|
2240
|
+
"data-slot": "table-body",
|
|
2241
|
+
className: Q("[&_tr:last-child]:border-0", e),
|
|
2242
|
+
...t
|
|
2243
|
+
});
|
|
2244
|
+
}
|
|
2245
|
+
function $t({ className: e, ...t }) {
|
|
2246
|
+
return /* @__PURE__ */ n("tfoot", {
|
|
2247
|
+
"data-slot": "table-footer",
|
|
2248
|
+
className: Q("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", e),
|
|
2249
|
+
...t
|
|
2250
|
+
});
|
|
2251
|
+
}
|
|
2252
|
+
function en({ className: e, ...t }) {
|
|
2253
|
+
return /* @__PURE__ */ n("tr", {
|
|
2254
|
+
"data-slot": "table-row",
|
|
2255
|
+
className: Q("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted", e),
|
|
2256
|
+
...t
|
|
2257
|
+
});
|
|
2258
|
+
}
|
|
2259
|
+
function tn({ className: e, ...t }) {
|
|
2260
|
+
return /* @__PURE__ */ n("th", {
|
|
2261
|
+
"data-slot": "table-head",
|
|
2262
|
+
className: Q("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0", e),
|
|
2263
|
+
...t
|
|
2264
|
+
});
|
|
2265
|
+
}
|
|
2266
|
+
function nn({ className: e, ...t }) {
|
|
2267
|
+
return /* @__PURE__ */ n("td", {
|
|
2268
|
+
"data-slot": "table-cell",
|
|
2269
|
+
className: Q("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0", e),
|
|
2270
|
+
...t
|
|
2271
|
+
});
|
|
2272
|
+
}
|
|
2273
|
+
function rn({ className: e, ...t }) {
|
|
2274
|
+
return /* @__PURE__ */ n("caption", {
|
|
2275
|
+
"data-slot": "table-caption",
|
|
2276
|
+
className: Q("mt-4 text-sm text-muted-foreground", e),
|
|
2277
|
+
...t
|
|
2278
|
+
});
|
|
2279
|
+
}
|
|
2280
|
+
//#endregion
|
|
2281
|
+
//#region src/components/modal.tsx
|
|
2282
|
+
var an = {
|
|
2283
|
+
sm: "max-w-lg",
|
|
2284
|
+
md: "max-w-xl",
|
|
2285
|
+
lg: "max-w-2xl",
|
|
2286
|
+
xl: "max-w-3xl"
|
|
2287
|
+
};
|
|
2288
|
+
function on({ dataModal: e, ariaLabel: t, onClose: r, size: i = "xl", dataAttrs: a, children: s }) {
|
|
2289
|
+
return o(() => {
|
|
2290
|
+
let e = (e) => {
|
|
2291
|
+
e.key === "Escape" && r();
|
|
2292
|
+
};
|
|
2293
|
+
return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
|
|
2294
|
+
}, [r]), /* @__PURE__ */ n("div", {
|
|
2295
|
+
className: "fixed inset-0 z-50 flex items-center justify-center bg-black/60 backdrop-blur-sm animate-in fade-in duration-300",
|
|
2296
|
+
onClick: (e) => {
|
|
2297
|
+
e.target === e.currentTarget && r();
|
|
2298
|
+
},
|
|
2299
|
+
role: "dialog",
|
|
2300
|
+
"aria-modal": "true",
|
|
2301
|
+
"data-modal": e,
|
|
2302
|
+
"aria-label": t,
|
|
2303
|
+
...a,
|
|
2304
|
+
children: /* @__PURE__ */ n(nt, {
|
|
2305
|
+
className: Q("w-full mx-4 max-h-[90vh] overflow-y-auto animate-in fade-in zoom-in-98 slide-in-from-bottom-8 duration-200", an[i]),
|
|
2306
|
+
children: s
|
|
2307
|
+
})
|
|
2308
|
+
});
|
|
2309
|
+
}
|
|
2310
|
+
function sn({ icon: e, title: t, badges: i, subtitle: a, onClose: o, closeLabel: s }) {
|
|
2311
|
+
return /* @__PURE__ */ n(rt, {
|
|
2312
|
+
className: "pb-3",
|
|
2313
|
+
children: /* @__PURE__ */ r("div", {
|
|
2314
|
+
className: "flex items-center justify-between",
|
|
2315
|
+
children: [/* @__PURE__ */ r("div", {
|
|
2316
|
+
className: "flex items-center gap-3",
|
|
2317
|
+
children: [e, /* @__PURE__ */ r("div", { children: [/* @__PURE__ */ r("div", {
|
|
2318
|
+
className: "flex items-center gap-2",
|
|
2319
|
+
children: [t, i]
|
|
2320
|
+
}), a && /* @__PURE__ */ n("p", {
|
|
2321
|
+
className: "text-xs text-muted-foreground mt-0.5",
|
|
2322
|
+
children: a
|
|
2323
|
+
})] })]
|
|
2324
|
+
}), /* @__PURE__ */ n($e, {
|
|
2325
|
+
variant: "ghost",
|
|
2326
|
+
size: "icon-xs",
|
|
2327
|
+
onClick: o,
|
|
2328
|
+
"aria-label": s ?? "Close",
|
|
2329
|
+
children: /* @__PURE__ */ n("i", { className: "fa-solid fa-xmark w-4 h-4" })
|
|
2330
|
+
})]
|
|
2331
|
+
})
|
|
2332
|
+
});
|
|
2333
|
+
}
|
|
2334
|
+
function cn({ section: e, heading: t, ariaLabel: i, dataAttrs: a, children: o }) {
|
|
2335
|
+
return /* @__PURE__ */ r("div", {
|
|
2336
|
+
"data-section": e,
|
|
2337
|
+
"aria-label": i,
|
|
2338
|
+
...a,
|
|
2339
|
+
children: [t && /* @__PURE__ */ n("h3", {
|
|
2340
|
+
className: "text-sm font-semibold text-foreground mb-2",
|
|
2341
|
+
children: t
|
|
2342
|
+
}), o]
|
|
2343
|
+
});
|
|
2344
|
+
}
|
|
2345
|
+
function ln({ children: e, align: t }) {
|
|
2346
|
+
return /* @__PURE__ */ n("div", {
|
|
2347
|
+
className: Q("flex items-center gap-2 pt-4 mt-2 border-t border-border/50", t === "end" && "justify-end", t === "between" && "justify-between"),
|
|
2348
|
+
"data-section": "actions",
|
|
2349
|
+
children: e
|
|
2350
|
+
});
|
|
2351
|
+
}
|
|
2352
|
+
//#endregion
|
|
2353
|
+
//#region src/components/tooltip.tsx
|
|
2354
|
+
function un({ delay: e = 0, ...t }) {
|
|
2355
|
+
return /* @__PURE__ */ n(g.Provider, {
|
|
2356
|
+
"data-slot": "tooltip-provider",
|
|
2357
|
+
delay: e,
|
|
2358
|
+
...t
|
|
2359
|
+
});
|
|
2360
|
+
}
|
|
2361
|
+
function dn({ ...e }) {
|
|
2362
|
+
return /* @__PURE__ */ n(g.Root, {
|
|
2363
|
+
"data-slot": "tooltip",
|
|
2364
|
+
...e
|
|
2365
|
+
});
|
|
2366
|
+
}
|
|
2367
|
+
function fn({ ...e }) {
|
|
2368
|
+
return /* @__PURE__ */ n(g.Trigger, {
|
|
2369
|
+
"data-slot": "tooltip-trigger",
|
|
2370
|
+
...e
|
|
2371
|
+
});
|
|
2372
|
+
}
|
|
2373
|
+
function pn({ className: e, side: t = "top", sideOffset: i = 4, align: a = "center", alignOffset: o = 0, children: s, ...c }) {
|
|
2374
|
+
return /* @__PURE__ */ n(g.Portal, { children: /* @__PURE__ */ n(g.Positioner, {
|
|
2375
|
+
align: a,
|
|
2376
|
+
alignOffset: o,
|
|
2377
|
+
side: t,
|
|
2378
|
+
sideOffset: i,
|
|
2379
|
+
className: "isolate z-50",
|
|
2380
|
+
children: /* @__PURE__ */ r(g.Popup, {
|
|
2381
|
+
"data-slot": "tooltip-content",
|
|
2382
|
+
className: Q("z-50 inline-flex w-fit max-w-xs origin-(--transform-origin) items-center gap-1.5 rounded-md bg-foreground px-3 py-1.5 text-xs text-background has-data-[slot=kbd]:pr-1.5 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
|
|
2383
|
+
...c,
|
|
2384
|
+
children: [s, /* @__PURE__ */ n(g.Arrow, { className: "z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground data-[side=bottom]:top-1 data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5" })]
|
|
2385
|
+
})
|
|
2386
|
+
}) });
|
|
2387
|
+
}
|
|
2388
|
+
//#endregion
|
|
2389
|
+
//#region src/components/scroll-area.tsx
|
|
2390
|
+
function mn({ className: e, children: t, ...i }) {
|
|
2391
|
+
return /* @__PURE__ */ r(_.Root, {
|
|
2392
|
+
"data-slot": "scroll-area",
|
|
2393
|
+
className: Q("relative", e),
|
|
2394
|
+
...i,
|
|
2395
|
+
children: [
|
|
2396
|
+
/* @__PURE__ */ n(_.Viewport, {
|
|
2397
|
+
"data-slot": "scroll-area-viewport",
|
|
2398
|
+
className: "size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1",
|
|
2399
|
+
children: t
|
|
2400
|
+
}),
|
|
2401
|
+
/* @__PURE__ */ n(hn, {}),
|
|
2402
|
+
/* @__PURE__ */ n(_.Corner, {})
|
|
2403
|
+
]
|
|
2404
|
+
});
|
|
2405
|
+
}
|
|
2406
|
+
function hn({ className: e, orientation: t = "vertical", ...r }) {
|
|
2407
|
+
return /* @__PURE__ */ n(_.Scrollbar, {
|
|
2408
|
+
"data-slot": "scroll-area-scrollbar",
|
|
2409
|
+
"data-orientation": t,
|
|
2410
|
+
orientation: t,
|
|
2411
|
+
className: Q("flex touch-none p-px transition-colors select-none data-horizontal:h-2.5 data-horizontal:flex-col data-horizontal:border-t data-horizontal:border-t-transparent data-vertical:h-full data-vertical:w-2.5 data-vertical:border-l data-vertical:border-l-transparent", e),
|
|
2412
|
+
...r,
|
|
2413
|
+
children: /* @__PURE__ */ n(_.Thumb, {
|
|
2414
|
+
"data-slot": "scroll-area-thumb",
|
|
2415
|
+
className: "relative flex-1 rounded-full bg-border"
|
|
2416
|
+
})
|
|
2417
|
+
});
|
|
2418
|
+
}
|
|
2419
|
+
//#endregion
|
|
2420
|
+
//#region src/components/dialog.tsx
|
|
2421
|
+
function gn({ ...e }) {
|
|
2422
|
+
return /* @__PURE__ */ n(v.Root, {
|
|
2423
|
+
"data-slot": "dialog",
|
|
2424
|
+
...e
|
|
2425
|
+
});
|
|
2426
|
+
}
|
|
2427
|
+
function _n({ ...e }) {
|
|
2428
|
+
return /* @__PURE__ */ n(v.Trigger, {
|
|
2429
|
+
"data-slot": "dialog-trigger",
|
|
2430
|
+
...e
|
|
2431
|
+
});
|
|
2432
|
+
}
|
|
2433
|
+
function vn({ ...e }) {
|
|
2434
|
+
return /* @__PURE__ */ n(v.Portal, {
|
|
2435
|
+
"data-slot": "dialog-portal",
|
|
2436
|
+
...e
|
|
2437
|
+
});
|
|
2438
|
+
}
|
|
2439
|
+
function yn({ ...e }) {
|
|
2440
|
+
return /* @__PURE__ */ n(v.Close, {
|
|
2441
|
+
"data-slot": "dialog-close",
|
|
2442
|
+
...e
|
|
2443
|
+
});
|
|
2444
|
+
}
|
|
2445
|
+
function bn({ className: e, ...t }) {
|
|
2446
|
+
return /* @__PURE__ */ n(v.Backdrop, {
|
|
2447
|
+
"data-slot": "dialog-overlay",
|
|
2448
|
+
className: Q("fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0", e),
|
|
2449
|
+
...t
|
|
2450
|
+
});
|
|
2451
|
+
}
|
|
2452
|
+
function xn({ className: e, children: t, showCloseButton: i = !0, ...a }) {
|
|
2453
|
+
return /* @__PURE__ */ r(vn, { children: [/* @__PURE__ */ n(bn, {}), /* @__PURE__ */ r(v.Popup, {
|
|
2454
|
+
"data-slot": "dialog-content",
|
|
2455
|
+
className: Q("fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-5 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-md data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
|
|
2456
|
+
...a,
|
|
2457
|
+
children: [t, i && /* @__PURE__ */ r(v.Close, {
|
|
2458
|
+
"data-slot": "dialog-close",
|
|
2459
|
+
render: /* @__PURE__ */ n($e, {
|
|
2460
|
+
variant: "ghost",
|
|
2461
|
+
className: "absolute top-2 right-2",
|
|
2462
|
+
size: "icon-sm"
|
|
2463
|
+
}),
|
|
2464
|
+
children: [/* @__PURE__ */ n("i", { className: "fa-solid fa-xmark" }), /* @__PURE__ */ n("span", {
|
|
2465
|
+
className: "sr-only",
|
|
2466
|
+
children: "Close"
|
|
2467
|
+
})]
|
|
2468
|
+
})]
|
|
2469
|
+
})] });
|
|
2470
|
+
}
|
|
2471
|
+
function Sn({ className: e, ...t }) {
|
|
2472
|
+
return /* @__PURE__ */ n("div", {
|
|
2473
|
+
"data-slot": "dialog-header",
|
|
2474
|
+
className: Q("flex flex-col gap-2", e),
|
|
2475
|
+
...t
|
|
2476
|
+
});
|
|
2477
|
+
}
|
|
2478
|
+
function Cn({ className: e, showCloseButton: t = !1, children: i, ...a }) {
|
|
2479
|
+
return /* @__PURE__ */ r("div", {
|
|
2480
|
+
"data-slot": "dialog-footer",
|
|
2481
|
+
className: Q("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end", e),
|
|
2482
|
+
...a,
|
|
2483
|
+
children: [i, t && /* @__PURE__ */ n(v.Close, {
|
|
2484
|
+
render: /* @__PURE__ */ n($e, { variant: "outline" }),
|
|
2485
|
+
children: "Close"
|
|
2486
|
+
})]
|
|
2487
|
+
});
|
|
2488
|
+
}
|
|
2489
|
+
function wn({ className: e, ...t }) {
|
|
2490
|
+
return /* @__PURE__ */ n(v.Title, {
|
|
2491
|
+
"data-slot": "dialog-title",
|
|
2492
|
+
className: Q("font-heading text-base leading-none font-medium", e),
|
|
2493
|
+
...t
|
|
2494
|
+
});
|
|
2495
|
+
}
|
|
2496
|
+
function Tn({ className: e, ...t }) {
|
|
2497
|
+
return /* @__PURE__ */ n(v.Description, {
|
|
2498
|
+
"data-slot": "dialog-description",
|
|
2499
|
+
className: Q("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground", e),
|
|
2500
|
+
...t
|
|
2501
|
+
});
|
|
2502
|
+
}
|
|
2503
|
+
//#endregion
|
|
2504
|
+
//#region src/components/json-highlight.tsx
|
|
2505
|
+
var $ = {
|
|
2506
|
+
key: "#26A69A",
|
|
2507
|
+
string: "#CE9178",
|
|
2508
|
+
number: "#B5CEA8",
|
|
2509
|
+
bool: "#569CD6",
|
|
2510
|
+
null: "#569CD6",
|
|
2511
|
+
punct: "#6B6F77"
|
|
2512
|
+
};
|
|
2513
|
+
function En({ json: e }) {
|
|
2514
|
+
let t;
|
|
2515
|
+
try {
|
|
2516
|
+
t = JSON.parse(e);
|
|
2517
|
+
} catch {
|
|
2518
|
+
return /* @__PURE__ */ n("pre", {
|
|
2519
|
+
className: "text-xs font-mono whitespace-pre-wrap break-all text-text-muted",
|
|
2520
|
+
children: e
|
|
2521
|
+
});
|
|
2522
|
+
}
|
|
2523
|
+
return /* @__PURE__ */ n("pre", {
|
|
2524
|
+
className: "text-xs font-mono whitespace-pre-wrap break-all",
|
|
2525
|
+
children: Dn(t, 0)
|
|
2526
|
+
});
|
|
2527
|
+
}
|
|
2528
|
+
function Dn(e, i) {
|
|
2529
|
+
if (e === null) return /* @__PURE__ */ n("span", {
|
|
2530
|
+
style: { color: $.null },
|
|
2531
|
+
children: "null"
|
|
2532
|
+
});
|
|
2533
|
+
if (typeof e == "boolean") return /* @__PURE__ */ n("span", {
|
|
2534
|
+
style: { color: $.bool },
|
|
2535
|
+
children: String(e)
|
|
2536
|
+
});
|
|
2537
|
+
if (typeof e == "number") return /* @__PURE__ */ n("span", {
|
|
2538
|
+
style: { color: $.number },
|
|
2539
|
+
children: String(e)
|
|
2540
|
+
});
|
|
2541
|
+
if (typeof e == "string") return /* @__PURE__ */ r("span", {
|
|
2542
|
+
style: { color: $.string },
|
|
2543
|
+
children: [
|
|
2544
|
+
"\"",
|
|
2545
|
+
On(e),
|
|
2546
|
+
"\""
|
|
2547
|
+
]
|
|
2548
|
+
});
|
|
2549
|
+
let a = " ".repeat(i), o = " ".repeat(i + 1);
|
|
2550
|
+
if (Array.isArray(e)) return e.length === 0 ? /* @__PURE__ */ n("span", {
|
|
2551
|
+
style: { color: $.punct },
|
|
2552
|
+
children: "[]"
|
|
2553
|
+
}) : /* @__PURE__ */ r(t, { children: [
|
|
2554
|
+
/* @__PURE__ */ n("span", {
|
|
2555
|
+
style: { color: $.punct },
|
|
2556
|
+
children: "["
|
|
2557
|
+
}),
|
|
2558
|
+
"\n",
|
|
2559
|
+
e.map((t, a) => /* @__PURE__ */ r("span", { children: [
|
|
2560
|
+
o,
|
|
2561
|
+
Dn(t, i + 1),
|
|
2562
|
+
a < e.length - 1 && /* @__PURE__ */ n("span", {
|
|
2563
|
+
style: { color: $.punct },
|
|
2564
|
+
children: ","
|
|
2565
|
+
}),
|
|
2566
|
+
"\n"
|
|
2567
|
+
] }, a)),
|
|
2568
|
+
a,
|
|
2569
|
+
/* @__PURE__ */ n("span", {
|
|
2570
|
+
style: { color: $.punct },
|
|
2571
|
+
children: "]"
|
|
2572
|
+
})
|
|
2573
|
+
] });
|
|
2574
|
+
if (typeof e == "object") {
|
|
2575
|
+
let s = Object.entries(e);
|
|
2576
|
+
return s.length === 0 ? /* @__PURE__ */ n("span", {
|
|
2577
|
+
style: { color: $.punct },
|
|
2578
|
+
children: "{}"
|
|
2579
|
+
}) : /* @__PURE__ */ r(t, { children: [
|
|
2580
|
+
/* @__PURE__ */ n("span", {
|
|
2581
|
+
style: { color: $.punct },
|
|
2582
|
+
children: "{"
|
|
2583
|
+
}),
|
|
2584
|
+
"\n",
|
|
2585
|
+
s.map(([e, t], a) => /* @__PURE__ */ r("span", { children: [
|
|
2586
|
+
o,
|
|
2587
|
+
/* @__PURE__ */ r("span", {
|
|
2588
|
+
style: { color: $.key },
|
|
2589
|
+
children: [
|
|
2590
|
+
"\"",
|
|
2591
|
+
e,
|
|
2592
|
+
"\""
|
|
2593
|
+
]
|
|
2594
|
+
}),
|
|
2595
|
+
/* @__PURE__ */ n("span", {
|
|
2596
|
+
style: { color: $.punct },
|
|
2597
|
+
children: ": "
|
|
2598
|
+
}),
|
|
2599
|
+
Dn(t, i + 1),
|
|
2600
|
+
a < s.length - 1 && /* @__PURE__ */ n("span", {
|
|
2601
|
+
style: { color: $.punct },
|
|
2602
|
+
children: ","
|
|
2603
|
+
}),
|
|
2604
|
+
"\n"
|
|
2605
|
+
] }, e)),
|
|
2606
|
+
a,
|
|
2607
|
+
/* @__PURE__ */ n("span", {
|
|
2608
|
+
style: { color: $.punct },
|
|
2609
|
+
children: "}"
|
|
2610
|
+
})
|
|
2611
|
+
] });
|
|
2612
|
+
}
|
|
2613
|
+
return String(e);
|
|
2614
|
+
}
|
|
2615
|
+
function On(e) {
|
|
2616
|
+
return e.replace(/\\/g, "\\\\").replace(/"/g, "\\\"").replace(/\n/g, "\\n").replace(/\t/g, "\\t");
|
|
2617
|
+
}
|
|
2618
|
+
//#endregion
|
|
2619
|
+
//#region src/components/app-header.tsx
|
|
2620
|
+
function kn({ icon: e, nameParts: t, accentClass: i = "text-primary" }) {
|
|
2621
|
+
let a = (t[0] + t[1]).split(""), o = t[0].length;
|
|
2622
|
+
return /* @__PURE__ */ r("div", {
|
|
2623
|
+
className: Q("app-header-brand flex items-center gap-2 cursor-default select-none", i),
|
|
2624
|
+
children: [/* @__PURE__ */ r("div", {
|
|
2625
|
+
className: "app-header-brand__icon relative w-6 h-6 rounded flex items-center justify-center",
|
|
2626
|
+
children: [/* @__PURE__ */ n("div", { className: "app-header-brand__bg absolute inset-0 rounded" }), /* @__PURE__ */ n("i", { className: Q(e, "app-header-brand__i relative z-10 text-xs") })]
|
|
2627
|
+
}), /* @__PURE__ */ n("span", {
|
|
2628
|
+
className: "app-header-brand__text text-sm font-semibold",
|
|
2629
|
+
children: a.map((e, t) => /* @__PURE__ */ n("span", {
|
|
2630
|
+
className: Q("app-header-brand__letter inline-block", t < o ? "text-muted-foreground" : "text-current"),
|
|
2631
|
+
style: { "--letter-i": t },
|
|
2632
|
+
children: e
|
|
2633
|
+
}, t))
|
|
2634
|
+
})]
|
|
2635
|
+
});
|
|
2636
|
+
}
|
|
2637
|
+
function An({ brand: e, children: t, className: i }) {
|
|
2638
|
+
return /* @__PURE__ */ r("header", {
|
|
2639
|
+
className: Q("shrink-0 flex items-center gap-3 px-4 py-2 border-b border-border/60", i),
|
|
2640
|
+
children: [
|
|
2641
|
+
/* @__PURE__ */ n(kn, { ...e }),
|
|
2642
|
+
/* @__PURE__ */ n("span", { className: "flex-1" }),
|
|
2643
|
+
t
|
|
2644
|
+
]
|
|
2645
|
+
});
|
|
2646
|
+
}
|
|
2647
|
+
//#endregion
|
|
2648
|
+
export { An as AppHeader, kn as AppHeaderBrand, tt as Badge, $e as Button, nt as Card, ot as CardAction, st as CardContent, at as CardDescription, ct as CardFooter, rt as CardHeader, it as CardTitle, qt as Collapsible, Yt as CollapsibleContent, Jt as CollapsibleTrigger, gn as Dialog, yn as DialogClose, xn as DialogContent, Tn as DialogDescription, Cn as DialogFooter, Sn as DialogHeader, bn as DialogOverlay, vn as DialogPortal, wn as DialogTitle, _n as DialogTrigger, Nt as DropdownMenu, Rt as DropdownMenuCheckboxItem, Ft as DropdownMenuContent, It as DropdownMenuGroup, Lt as DropdownMenuItem, Vt as DropdownMenuLabel, zt as DropdownMenuRadioGroup, Bt as DropdownMenuRadioItem, Ht as DropdownMenuSeparator, Ut as DropdownMenuShortcut, Wt as DropdownMenuSub, Kt as DropdownMenuSubContent, Gt as DropdownMenuSubTrigger, Pt as DropdownMenuTrigger, lt as Input, En as JsonHighlight, ut as Label, on as ModalBase, ln as ModalFooter, sn as ModalHeader, cn as ModalSection, Dt as Popover, kt as PopoverContent, Mt as PopoverDescription, At as PopoverHeader, jt as PopoverTitle, Ot as PopoverTrigger, mn as ScrollArea, hn as ScrollBar, gt as Select, yt as SelectContent, Ct as SelectGroup, bt as SelectItem, St as SelectLabel, xt as SelectSeparator, vt as SelectTrigger, _t as SelectValue, wt as Separator, Et as Slider, Tt as Switch, Xt as Table, Qt as TableBody, rn as TableCaption, nn as TableCell, $t as TableFooter, tn as TableHead, Zt as TableHeader, en as TableRow, dt as Tabs, ht as TabsContent, pt as TabsList, mt as TabsTrigger, dn as Tooltip, pn as TooltipContent, un as TooltipProvider, fn as TooltipTrigger, et as badgeVariants, Qe as buttonVariants, Q as cn, ft as tabsListVariants };
|