@epam/ai-dial-ui-kit 0.3.0-rc.33 → 0.3.0-rc.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dial-ui-kit.cjs.js +1 -1
- package/dist/dial-ui-kit.es.js +485 -486
- package/dist/index.css +1 -1
- package/dist/src/components/Tabs/Tabs.d.ts +0 -2
- package/package.json +1 -1
package/dist/dial-ui-kit.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
1
|
+
import { jsx as o, jsxs as v, Fragment as Ce } from "react/jsx-runtime";
|
|
2
2
|
import g from "classnames";
|
|
3
3
|
import { useFloating as s1, offset as O1, flip as V1, shift as P1, arrow as br, autoUpdate as E1, useHover as H1, useFocus as yr, useDismiss as a1, useRole as i1, useInteractions as l1, useMergeRefs as z1, FloatingPortal as c1, FloatingArrow as xr, autoPlacement as vr, size as wr, useClick as Lr, FloatingFocusManager as F1, FloatingOverlay as kr } from "@floating-ui/react";
|
|
4
4
|
import * as S from "react";
|
|
@@ -34,14 +34,14 @@ const Me = ({ errorText: e }) => e && /* @__PURE__ */ o("span", { className: "te
|
|
|
34
34
|
element: c
|
|
35
35
|
})
|
|
36
36
|
]
|
|
37
|
-
}),
|
|
37
|
+
}), p = H1(u.context, {
|
|
38
38
|
move: !1,
|
|
39
39
|
enabled: n == null,
|
|
40
40
|
mouseOnly: t,
|
|
41
41
|
delay: { open: 500, close: 0 }
|
|
42
42
|
}), x = yr(u.context, {
|
|
43
43
|
enabled: n == null
|
|
44
|
-
}), m = a1(u.context), L = i1(u.context, { role: "tooltip" }), y = l1([
|
|
44
|
+
}), m = a1(u.context), L = i1(u.context, { role: "tooltip" }), y = l1([p, x, m, L]);
|
|
45
45
|
return A(
|
|
46
46
|
() => ({
|
|
47
47
|
open: l,
|
|
@@ -60,7 +60,7 @@ const Me = ({ errorText: e }) => e && /* @__PURE__ */ o("span", { className: "te
|
|
|
60
60
|
return /* @__PURE__ */ o(q1.Provider, { value: t, children: e });
|
|
61
61
|
}, Y1 = B1(function({ style: r, ...t }, n) {
|
|
62
62
|
const s = K1(), a = z1([s.refs.setFloating, n]);
|
|
63
|
-
return s.open ? /* @__PURE__ */ o(c1, { id: "tooltip-portal", children: /* @__PURE__ */
|
|
63
|
+
return s.open ? /* @__PURE__ */ o(c1, { id: "tooltip-portal", children: /* @__PURE__ */ v(
|
|
64
64
|
"div",
|
|
65
65
|
{
|
|
66
66
|
ref: a,
|
|
@@ -113,7 +113,7 @@ const Me = ({ errorText: e }) => e && /* @__PURE__ */ o("span", { className: "te
|
|
|
113
113
|
triggerClassName: n,
|
|
114
114
|
contentClassName: s,
|
|
115
115
|
...a
|
|
116
|
-
}) => /* @__PURE__ */
|
|
116
|
+
}) => /* @__PURE__ */ v(X1, { ...a, children: [
|
|
117
117
|
/* @__PURE__ */ o(J1, { className: g(n, "truncate"), children: t }),
|
|
118
118
|
/* @__PURE__ */ o(
|
|
119
119
|
Y1,
|
|
@@ -134,7 +134,7 @@ const Me = ({ errorText: e }) => e && /* @__PURE__ */ o("span", { className: "te
|
|
|
134
134
|
optionalText: n,
|
|
135
135
|
cssClass: s,
|
|
136
136
|
description: a
|
|
137
|
-
}) => e ? /* @__PURE__ */
|
|
137
|
+
}) => e ? /* @__PURE__ */ v(
|
|
138
138
|
"label",
|
|
139
139
|
{
|
|
140
140
|
className: g(
|
|
@@ -174,7 +174,7 @@ const ft = {
|
|
|
174
174
|
hideTitleOnMobile: d,
|
|
175
175
|
ariaLabel: u
|
|
176
176
|
}) => {
|
|
177
|
-
const
|
|
177
|
+
const p = g(
|
|
178
178
|
"dial-small-semi",
|
|
179
179
|
c ? "mr-2" : "",
|
|
180
180
|
l ? "ml-2" : "",
|
|
@@ -185,7 +185,7 @@ const ft = {
|
|
|
185
185
|
t,
|
|
186
186
|
"focus-visible:outline outline-offset-0"
|
|
187
187
|
);
|
|
188
|
-
return /* @__PURE__ */
|
|
188
|
+
return /* @__PURE__ */ v(
|
|
189
189
|
"button",
|
|
190
190
|
{
|
|
191
191
|
ref: s,
|
|
@@ -196,7 +196,7 @@ const ft = {
|
|
|
196
196
|
"aria-label": e || u,
|
|
197
197
|
children: [
|
|
198
198
|
/* @__PURE__ */ o(Z, { icon: l }),
|
|
199
|
-
e && /* @__PURE__ */ o("span", { className:
|
|
199
|
+
e && /* @__PURE__ */ o("span", { className: p, children: e }),
|
|
200
200
|
/* @__PURE__ */ o(Z, { icon: c })
|
|
201
201
|
]
|
|
202
202
|
}
|
|
@@ -219,7 +219,7 @@ const mt = {
|
|
|
219
219
|
cssClass: t,
|
|
220
220
|
closable: n = !1,
|
|
221
221
|
onClose: s
|
|
222
|
-
}) => /* @__PURE__ */
|
|
222
|
+
}) => /* @__PURE__ */ v(
|
|
223
223
|
"div",
|
|
224
224
|
{
|
|
225
225
|
role: "alert",
|
|
@@ -229,7 +229,7 @@ const mt = {
|
|
|
229
229
|
t
|
|
230
230
|
),
|
|
231
231
|
children: [
|
|
232
|
-
/* @__PURE__ */
|
|
232
|
+
/* @__PURE__ */ v("div", { className: "flex items-center gap-2", children: [
|
|
233
233
|
/* @__PURE__ */ o(Z, { icon: mt[e] }),
|
|
234
234
|
/* @__PURE__ */ o("div", { className: "text-primary", children: r })
|
|
235
235
|
] }),
|
|
@@ -302,7 +302,7 @@ const mt = {
|
|
|
302
302
|
"mr-2 border rounded",
|
|
303
303
|
s ? "bg-layer-4 border-icon-secondary" : ""
|
|
304
304
|
);
|
|
305
|
-
return /* @__PURE__ */
|
|
305
|
+
return /* @__PURE__ */ v("label", { className: d, htmlFor: r, children: [
|
|
306
306
|
n ? /* @__PURE__ */ o(Mr, { className: u, ...Q }) : t ? /* @__PURE__ */ o(G1, { className: u, ...Q }) : null,
|
|
307
307
|
e && (typeof e == "string" ? /* @__PURE__ */ o(fe, { tooltip: e, triggerClassName: "flex-1 min-w-0", children: /* @__PURE__ */ o("span", { className: "text-primary w-full truncate", children: e }) }) : e),
|
|
308
308
|
/* @__PURE__ */ o(
|
|
@@ -366,7 +366,7 @@ const xt = (e, r) => {
|
|
|
366
366
|
onChangeStep: n
|
|
367
367
|
}) => {
|
|
368
368
|
const s = "h-[32px] flex flex-1 min-w-[180px] items-center dial-tiny border-t-2 cursor-pointer", a = "w-[22px] h-[22px] flex justify-center items-center mr-2 rounded-full text-white", i = () => t === e.id && e.status === ee.ERROR ? /* @__PURE__ */ o($1, { stroke: 2, size: 16 }) : t !== e.id && e.status === ee.VALID ? /* @__PURE__ */ o(G1, { stroke: 2, size: 16 }) : r + 1;
|
|
369
|
-
return /* @__PURE__ */
|
|
369
|
+
return /* @__PURE__ */ v(
|
|
370
370
|
"button",
|
|
371
371
|
{
|
|
372
372
|
className: g(s, xt(e, t)),
|
|
@@ -415,7 +415,7 @@ const xt = (e, r) => {
|
|
|
415
415
|
onChange: d,
|
|
416
416
|
descriptionCssClass: u
|
|
417
417
|
}) => {
|
|
418
|
-
const
|
|
418
|
+
const p = `${a}-desc`, x = g(
|
|
419
419
|
"dial-small cursor-pointer",
|
|
420
420
|
l ? "text-secondary" : "text-primary",
|
|
421
421
|
c
|
|
@@ -427,8 +427,8 @@ const xt = (e, r) => {
|
|
|
427
427
|
"dial-tiny mt-2 ml-[26px] text-secondary",
|
|
428
428
|
u
|
|
429
429
|
);
|
|
430
|
-
return /* @__PURE__ */
|
|
431
|
-
/* @__PURE__ */
|
|
430
|
+
return /* @__PURE__ */ v("div", { className: L, children: [
|
|
431
|
+
/* @__PURE__ */ v("div", { className: "flex flex-row items-center", children: [
|
|
432
432
|
/* @__PURE__ */ o(
|
|
433
433
|
"input",
|
|
434
434
|
{
|
|
@@ -438,7 +438,7 @@ const xt = (e, r) => {
|
|
|
438
438
|
value: r,
|
|
439
439
|
checked: s,
|
|
440
440
|
disabled: l,
|
|
441
|
-
"aria-describedby": s && n ?
|
|
441
|
+
"aria-describedby": s && n ? p : void 0,
|
|
442
442
|
className: m,
|
|
443
443
|
onChange: (R) => {
|
|
444
444
|
l || R.target.checked && d?.(r);
|
|
@@ -447,7 +447,7 @@ const xt = (e, r) => {
|
|
|
447
447
|
),
|
|
448
448
|
t ? /* @__PURE__ */ o("label", { className: x, htmlFor: a, children: t }) : null
|
|
449
449
|
] }),
|
|
450
|
-
s && n && /* @__PURE__ */ o("div", { id:
|
|
450
|
+
s && n && /* @__PURE__ */ o("div", { id: p, className: y, children: n })
|
|
451
451
|
] });
|
|
452
452
|
};
|
|
453
453
|
var Ae = /* @__PURE__ */ ((e) => (e.Row = "Row", e.Column = "Column", e))(Ae || {});
|
|
@@ -579,11 +579,11 @@ const St = "w-full flex", Nt = {
|
|
|
579
579
|
}
|
|
580
580
|
y === "[" ? i++ : y === "]" ? i-- : y === "(" ? c++ : y === ")" && c--;
|
|
581
581
|
}
|
|
582
|
-
const u = a.length === 0 ? s : s.substring(l),
|
|
582
|
+
const u = a.length === 0 ? s : s.substring(l), p = Ht(u), x = p !== u, m = d && d > l ? d - l : void 0;
|
|
583
583
|
return {
|
|
584
584
|
modifiers: a,
|
|
585
585
|
hasImportantModifier: x,
|
|
586
|
-
baseClassName:
|
|
586
|
+
baseClassName: p,
|
|
587
587
|
maybePostfixModifierPosition: m
|
|
588
588
|
};
|
|
589
589
|
};
|
|
@@ -631,19 +631,19 @@ const St = "w-full flex", Nt = {
|
|
|
631
631
|
let l = "";
|
|
632
632
|
for (let d = c.length - 1; d >= 0; d -= 1) {
|
|
633
633
|
const u = c[d], {
|
|
634
|
-
isExternal:
|
|
634
|
+
isExternal: p,
|
|
635
635
|
modifiers: x,
|
|
636
636
|
hasImportantModifier: m,
|
|
637
637
|
baseClassName: L,
|
|
638
638
|
maybePostfixModifierPosition: y
|
|
639
639
|
} = t(u);
|
|
640
|
-
if (
|
|
640
|
+
if (p) {
|
|
641
641
|
l = u + (l.length > 0 ? " " + l : l);
|
|
642
642
|
continue;
|
|
643
643
|
}
|
|
644
|
-
let
|
|
644
|
+
let N = !!y, R = n(N ? L.substring(0, y) : L);
|
|
645
645
|
if (!R) {
|
|
646
|
-
if (!
|
|
646
|
+
if (!N) {
|
|
647
647
|
l = u + (l.length > 0 ? " " + l : l);
|
|
648
648
|
continue;
|
|
649
649
|
}
|
|
@@ -651,16 +651,16 @@ const St = "w-full flex", Nt = {
|
|
|
651
651
|
l = u + (l.length > 0 ? " " + l : l);
|
|
652
652
|
continue;
|
|
653
653
|
}
|
|
654
|
-
|
|
654
|
+
N = !1;
|
|
655
655
|
}
|
|
656
|
-
const
|
|
657
|
-
if (i.includes(
|
|
656
|
+
const b = a(x).join(":"), k = m ? b + Qe : b, T = k + R;
|
|
657
|
+
if (i.includes(T))
|
|
658
658
|
continue;
|
|
659
|
-
i.push(
|
|
660
|
-
const V = s(R,
|
|
659
|
+
i.push(T);
|
|
660
|
+
const V = s(R, N);
|
|
661
661
|
for (let W = 0; W < V.length; ++W) {
|
|
662
|
-
const
|
|
663
|
-
i.push(
|
|
662
|
+
const $ = V[W];
|
|
663
|
+
i.push(k + $);
|
|
664
664
|
}
|
|
665
665
|
l = u + (l.length > 0 ? " " + l : l);
|
|
666
666
|
}
|
|
@@ -683,7 +683,7 @@ const rr = (e) => {
|
|
|
683
683
|
function Wt(e, ...r) {
|
|
684
684
|
let t, n, s, a = i;
|
|
685
685
|
function i(l) {
|
|
686
|
-
const d = r.reduce((u,
|
|
686
|
+
const d = r.reduce((u, p) => p(u), e());
|
|
687
687
|
return t = Ft(d), n = t.cache.get, s = t.cache.set, a = c, c(l);
|
|
688
688
|
}
|
|
689
689
|
function c(l) {
|
|
@@ -697,7 +697,7 @@ function Wt(e, ...r) {
|
|
|
697
697
|
return a(Bt.apply(null, arguments));
|
|
698
698
|
};
|
|
699
699
|
}
|
|
700
|
-
const
|
|
700
|
+
const G = (e) => {
|
|
701
701
|
const r = (t) => t[e] || [];
|
|
702
702
|
return r.isThemeGetter = !0, r;
|
|
703
703
|
}, tr = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, nr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Zt = /^\d+\/\d+$/, Gt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, $t = /\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$/, _t = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ut = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, qt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, xe = (e) => Zt.test(e), M = (e) => !!e && !Number.isNaN(Number(e)), de = (e) => !!e && Number.isInteger(Number(e)), $e = (e) => e.endsWith("%") && M(e.slice(0, -1)), ie = (e) => Gt.test(e), Kt = () => !0, Xt = (e) => (
|
|
@@ -705,14 +705,14 @@ const $ = (e) => {
|
|
|
705
705
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
706
706
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
707
707
|
$t.test(e) && !_t.test(e)
|
|
708
|
-
), or = () => !1, Yt = (e) => Ut.test(e), Jt = (e) => qt.test(e), Qt = (e) => !
|
|
708
|
+
), or = () => !1, Yt = (e) => Ut.test(e), Jt = (e) => qt.test(e), Qt = (e) => !h(e) && !C(e), en = (e) => Le(e, ir, or), h = (e) => tr.test(e), ge = (e) => Le(e, lr, Xt), _e = (e) => Le(e, sn, M), x1 = (e) => Le(e, sr, or), rn = (e) => Le(e, ar, Jt), Ee = (e) => Le(e, cr, Yt), C = (e) => nr.test(e), Ie = (e) => ke(e, lr), tn = (e) => ke(e, an), v1 = (e) => ke(e, sr), nn = (e) => ke(e, ir), on = (e) => ke(e, ar), He = (e) => ke(e, cr, !0), Le = (e, r, t) => {
|
|
709
709
|
const n = tr.exec(e);
|
|
710
710
|
return n ? n[1] ? r(n[1]) : t(n[2]) : !1;
|
|
711
711
|
}, ke = (e, r, t = !1) => {
|
|
712
712
|
const n = nr.exec(e);
|
|
713
713
|
return n ? n[1] ? r(n[1]) : t : !1;
|
|
714
714
|
}, sr = (e) => e === "position" || e === "percentage", ar = (e) => e === "image" || e === "url", ir = (e) => e === "length" || e === "size" || e === "bg-size", lr = (e) => e === "length", sn = (e) => e === "number", an = (e) => e === "family-name", cr = (e) => e === "shadow", ln = () => {
|
|
715
|
-
const e =
|
|
715
|
+
const e = G("color"), r = G("font"), t = G("text"), n = G("font-weight"), s = G("tracking"), a = G("leading"), i = G("breakpoint"), c = G("container"), l = G("spacing"), d = G("radius"), u = G("shadow"), p = G("inset-shadow"), x = G("text-shadow"), m = G("drop-shadow"), L = G("blur"), y = G("perspective"), N = G("aspect"), R = G("ease"), b = G("animate"), k = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], T = () => [
|
|
716
716
|
"center",
|
|
717
717
|
"top",
|
|
718
718
|
"bottom",
|
|
@@ -730,30 +730,30 @@ const $ = (e) => {
|
|
|
730
730
|
"bottom-left",
|
|
731
731
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
732
732
|
"left-bottom"
|
|
733
|
-
], V = () => [...
|
|
734
|
-
span: ["full", de,
|
|
735
|
-
}, de,
|
|
736
|
-
position: [
|
|
733
|
+
], V = () => [...T(), C, h], W = () => ["auto", "hidden", "clip", "visible", "scroll"], $ = () => ["auto", "contain", "none"], w = () => [C, h, l], O = () => [xe, "full", "auto", ...w()], F = () => [de, "none", "subgrid", C, h], _ = () => ["auto", {
|
|
734
|
+
span: ["full", de, C, h]
|
|
735
|
+
}, de, C, h], X = () => [de, "auto", C, h], me = () => ["auto", "min", "max", "fr", C, h], Y = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], te = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], K = () => ["auto", ...w()], ne = () => [xe, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...w()], D = () => [e, C, h], ce = () => [...T(), v1, x1, {
|
|
736
|
+
position: [C, h]
|
|
737
737
|
}], I = () => ["no-repeat", {
|
|
738
738
|
repeat: ["", "x", "y", "space", "round"]
|
|
739
739
|
}], U = () => ["auto", "cover", "contain", nn, en, {
|
|
740
|
-
size: [
|
|
740
|
+
size: [C, h]
|
|
741
741
|
}], ae = () => [$e, Ie, ge], z = () => [
|
|
742
742
|
// Deprecated since Tailwind CSS v4.0.0
|
|
743
743
|
"",
|
|
744
744
|
"none",
|
|
745
745
|
"full",
|
|
746
746
|
d,
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
],
|
|
747
|
+
C,
|
|
748
|
+
h
|
|
749
|
+
], f = () => ["", M, Ie, ge], E = () => ["solid", "dashed", "dotted", "double"], oe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], P = () => [M, $e, v1, x1], h1 = () => [
|
|
750
750
|
// Deprecated since Tailwind CSS v4.0.0
|
|
751
751
|
"",
|
|
752
752
|
"none",
|
|
753
753
|
L,
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
], Oe = () => ["none", M,
|
|
754
|
+
C,
|
|
755
|
+
h
|
|
756
|
+
], Oe = () => ["none", M, C, h], Ve = () => ["none", M, C, h], Ge = () => [M, C, h], Pe = () => [xe, "full", ...w()];
|
|
757
757
|
return {
|
|
758
758
|
cacheSize: 500,
|
|
759
759
|
theme: {
|
|
@@ -786,7 +786,7 @@ const $ = (e) => {
|
|
|
786
786
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
787
787
|
*/
|
|
788
788
|
aspect: [{
|
|
789
|
-
aspect: ["auto", "square", xe,
|
|
789
|
+
aspect: ["auto", "square", xe, h, C, N]
|
|
790
790
|
}],
|
|
791
791
|
/**
|
|
792
792
|
* Container
|
|
@@ -799,21 +799,21 @@ const $ = (e) => {
|
|
|
799
799
|
* @see https://tailwindcss.com/docs/columns
|
|
800
800
|
*/
|
|
801
801
|
columns: [{
|
|
802
|
-
columns: [M,
|
|
802
|
+
columns: [M, h, C, c]
|
|
803
803
|
}],
|
|
804
804
|
/**
|
|
805
805
|
* Break After
|
|
806
806
|
* @see https://tailwindcss.com/docs/break-after
|
|
807
807
|
*/
|
|
808
808
|
"break-after": [{
|
|
809
|
-
"break-after":
|
|
809
|
+
"break-after": k()
|
|
810
810
|
}],
|
|
811
811
|
/**
|
|
812
812
|
* Break Before
|
|
813
813
|
* @see https://tailwindcss.com/docs/break-before
|
|
814
814
|
*/
|
|
815
815
|
"break-before": [{
|
|
816
|
-
"break-before":
|
|
816
|
+
"break-before": k()
|
|
817
817
|
}],
|
|
818
818
|
/**
|
|
819
819
|
* Break Inside
|
|
@@ -905,21 +905,21 @@ const $ = (e) => {
|
|
|
905
905
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
906
906
|
*/
|
|
907
907
|
overscroll: [{
|
|
908
|
-
overscroll:
|
|
908
|
+
overscroll: $()
|
|
909
909
|
}],
|
|
910
910
|
/**
|
|
911
911
|
* Overscroll Behavior X
|
|
912
912
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
913
913
|
*/
|
|
914
914
|
"overscroll-x": [{
|
|
915
|
-
"overscroll-x":
|
|
915
|
+
"overscroll-x": $()
|
|
916
916
|
}],
|
|
917
917
|
/**
|
|
918
918
|
* Overscroll Behavior Y
|
|
919
919
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
920
920
|
*/
|
|
921
921
|
"overscroll-y": [{
|
|
922
|
-
"overscroll-y":
|
|
922
|
+
"overscroll-y": $()
|
|
923
923
|
}],
|
|
924
924
|
/**
|
|
925
925
|
* Position
|
|
@@ -999,7 +999,7 @@ const $ = (e) => {
|
|
|
999
999
|
* @see https://tailwindcss.com/docs/z-index
|
|
1000
1000
|
*/
|
|
1001
1001
|
z: [{
|
|
1002
|
-
z: [de, "auto",
|
|
1002
|
+
z: [de, "auto", C, h]
|
|
1003
1003
|
}],
|
|
1004
1004
|
// ------------------------
|
|
1005
1005
|
// --- Flexbox and Grid ---
|
|
@@ -1009,7 +1009,7 @@ const $ = (e) => {
|
|
|
1009
1009
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
1010
1010
|
*/
|
|
1011
1011
|
basis: [{
|
|
1012
|
-
basis: [xe, "full", "auto", c, ...
|
|
1012
|
+
basis: [xe, "full", "auto", c, ...w()]
|
|
1013
1013
|
}],
|
|
1014
1014
|
/**
|
|
1015
1015
|
* Flex Direction
|
|
@@ -1030,28 +1030,28 @@ const $ = (e) => {
|
|
|
1030
1030
|
* @see https://tailwindcss.com/docs/flex
|
|
1031
1031
|
*/
|
|
1032
1032
|
flex: [{
|
|
1033
|
-
flex: [M, xe, "auto", "initial", "none",
|
|
1033
|
+
flex: [M, xe, "auto", "initial", "none", h]
|
|
1034
1034
|
}],
|
|
1035
1035
|
/**
|
|
1036
1036
|
* Flex Grow
|
|
1037
1037
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
1038
1038
|
*/
|
|
1039
1039
|
grow: [{
|
|
1040
|
-
grow: ["", M,
|
|
1040
|
+
grow: ["", M, C, h]
|
|
1041
1041
|
}],
|
|
1042
1042
|
/**
|
|
1043
1043
|
* Flex Shrink
|
|
1044
1044
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1045
1045
|
*/
|
|
1046
1046
|
shrink: [{
|
|
1047
|
-
shrink: ["", M,
|
|
1047
|
+
shrink: ["", M, C, h]
|
|
1048
1048
|
}],
|
|
1049
1049
|
/**
|
|
1050
1050
|
* Order
|
|
1051
1051
|
* @see https://tailwindcss.com/docs/order
|
|
1052
1052
|
*/
|
|
1053
1053
|
order: [{
|
|
1054
|
-
order: [de, "first", "last", "none",
|
|
1054
|
+
order: [de, "first", "last", "none", C, h]
|
|
1055
1055
|
}],
|
|
1056
1056
|
/**
|
|
1057
1057
|
* Grid Template Columns
|
|
@@ -1135,21 +1135,21 @@ const $ = (e) => {
|
|
|
1135
1135
|
* @see https://tailwindcss.com/docs/gap
|
|
1136
1136
|
*/
|
|
1137
1137
|
gap: [{
|
|
1138
|
-
gap:
|
|
1138
|
+
gap: w()
|
|
1139
1139
|
}],
|
|
1140
1140
|
/**
|
|
1141
1141
|
* Gap X
|
|
1142
1142
|
* @see https://tailwindcss.com/docs/gap
|
|
1143
1143
|
*/
|
|
1144
1144
|
"gap-x": [{
|
|
1145
|
-
"gap-x":
|
|
1145
|
+
"gap-x": w()
|
|
1146
1146
|
}],
|
|
1147
1147
|
/**
|
|
1148
1148
|
* Gap Y
|
|
1149
1149
|
* @see https://tailwindcss.com/docs/gap
|
|
1150
1150
|
*/
|
|
1151
1151
|
"gap-y": [{
|
|
1152
|
-
"gap-y":
|
|
1152
|
+
"gap-y": w()
|
|
1153
1153
|
}],
|
|
1154
1154
|
/**
|
|
1155
1155
|
* Justify Content
|
|
@@ -1224,63 +1224,63 @@ const $ = (e) => {
|
|
|
1224
1224
|
* @see https://tailwindcss.com/docs/padding
|
|
1225
1225
|
*/
|
|
1226
1226
|
p: [{
|
|
1227
|
-
p:
|
|
1227
|
+
p: w()
|
|
1228
1228
|
}],
|
|
1229
1229
|
/**
|
|
1230
1230
|
* Padding X
|
|
1231
1231
|
* @see https://tailwindcss.com/docs/padding
|
|
1232
1232
|
*/
|
|
1233
1233
|
px: [{
|
|
1234
|
-
px:
|
|
1234
|
+
px: w()
|
|
1235
1235
|
}],
|
|
1236
1236
|
/**
|
|
1237
1237
|
* Padding Y
|
|
1238
1238
|
* @see https://tailwindcss.com/docs/padding
|
|
1239
1239
|
*/
|
|
1240
1240
|
py: [{
|
|
1241
|
-
py:
|
|
1241
|
+
py: w()
|
|
1242
1242
|
}],
|
|
1243
1243
|
/**
|
|
1244
1244
|
* Padding Start
|
|
1245
1245
|
* @see https://tailwindcss.com/docs/padding
|
|
1246
1246
|
*/
|
|
1247
1247
|
ps: [{
|
|
1248
|
-
ps:
|
|
1248
|
+
ps: w()
|
|
1249
1249
|
}],
|
|
1250
1250
|
/**
|
|
1251
1251
|
* Padding End
|
|
1252
1252
|
* @see https://tailwindcss.com/docs/padding
|
|
1253
1253
|
*/
|
|
1254
1254
|
pe: [{
|
|
1255
|
-
pe:
|
|
1255
|
+
pe: w()
|
|
1256
1256
|
}],
|
|
1257
1257
|
/**
|
|
1258
1258
|
* Padding Top
|
|
1259
1259
|
* @see https://tailwindcss.com/docs/padding
|
|
1260
1260
|
*/
|
|
1261
1261
|
pt: [{
|
|
1262
|
-
pt:
|
|
1262
|
+
pt: w()
|
|
1263
1263
|
}],
|
|
1264
1264
|
/**
|
|
1265
1265
|
* Padding Right
|
|
1266
1266
|
* @see https://tailwindcss.com/docs/padding
|
|
1267
1267
|
*/
|
|
1268
1268
|
pr: [{
|
|
1269
|
-
pr:
|
|
1269
|
+
pr: w()
|
|
1270
1270
|
}],
|
|
1271
1271
|
/**
|
|
1272
1272
|
* Padding Bottom
|
|
1273
1273
|
* @see https://tailwindcss.com/docs/padding
|
|
1274
1274
|
*/
|
|
1275
1275
|
pb: [{
|
|
1276
|
-
pb:
|
|
1276
|
+
pb: w()
|
|
1277
1277
|
}],
|
|
1278
1278
|
/**
|
|
1279
1279
|
* Padding Left
|
|
1280
1280
|
* @see https://tailwindcss.com/docs/padding
|
|
1281
1281
|
*/
|
|
1282
1282
|
pl: [{
|
|
1283
|
-
pl:
|
|
1283
|
+
pl: w()
|
|
1284
1284
|
}],
|
|
1285
1285
|
/**
|
|
1286
1286
|
* Margin
|
|
@@ -1350,7 +1350,7 @@ const $ = (e) => {
|
|
|
1350
1350
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1351
1351
|
*/
|
|
1352
1352
|
"space-x": [{
|
|
1353
|
-
"space-x":
|
|
1353
|
+
"space-x": w()
|
|
1354
1354
|
}],
|
|
1355
1355
|
/**
|
|
1356
1356
|
* Space Between X Reverse
|
|
@@ -1362,7 +1362,7 @@ const $ = (e) => {
|
|
|
1362
1362
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1363
1363
|
*/
|
|
1364
1364
|
"space-y": [{
|
|
1365
|
-
"space-y":
|
|
1365
|
+
"space-y": w()
|
|
1366
1366
|
}],
|
|
1367
1367
|
/**
|
|
1368
1368
|
* Space Between Y Reverse
|
|
@@ -1463,21 +1463,21 @@ const $ = (e) => {
|
|
|
1463
1463
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1464
1464
|
*/
|
|
1465
1465
|
"font-weight": [{
|
|
1466
|
-
font: [n,
|
|
1466
|
+
font: [n, C, _e]
|
|
1467
1467
|
}],
|
|
1468
1468
|
/**
|
|
1469
1469
|
* Font Stretch
|
|
1470
1470
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1471
1471
|
*/
|
|
1472
1472
|
"font-stretch": [{
|
|
1473
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", $e,
|
|
1473
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", $e, h]
|
|
1474
1474
|
}],
|
|
1475
1475
|
/**
|
|
1476
1476
|
* Font Family
|
|
1477
1477
|
* @see https://tailwindcss.com/docs/font-family
|
|
1478
1478
|
*/
|
|
1479
1479
|
"font-family": [{
|
|
1480
|
-
font: [tn,
|
|
1480
|
+
font: [tn, h, r]
|
|
1481
1481
|
}],
|
|
1482
1482
|
/**
|
|
1483
1483
|
* Font Variant Numeric
|
|
@@ -1514,14 +1514,14 @@ const $ = (e) => {
|
|
|
1514
1514
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1515
1515
|
*/
|
|
1516
1516
|
tracking: [{
|
|
1517
|
-
tracking: [s,
|
|
1517
|
+
tracking: [s, C, h]
|
|
1518
1518
|
}],
|
|
1519
1519
|
/**
|
|
1520
1520
|
* Line Clamp
|
|
1521
1521
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1522
1522
|
*/
|
|
1523
1523
|
"line-clamp": [{
|
|
1524
|
-
"line-clamp": [M, "none",
|
|
1524
|
+
"line-clamp": [M, "none", C, _e]
|
|
1525
1525
|
}],
|
|
1526
1526
|
/**
|
|
1527
1527
|
* Line Height
|
|
@@ -1531,7 +1531,7 @@ const $ = (e) => {
|
|
|
1531
1531
|
leading: [
|
|
1532
1532
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1533
1533
|
a,
|
|
1534
|
-
...
|
|
1534
|
+
...w()
|
|
1535
1535
|
]
|
|
1536
1536
|
}],
|
|
1537
1537
|
/**
|
|
@@ -1539,7 +1539,7 @@ const $ = (e) => {
|
|
|
1539
1539
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1540
1540
|
*/
|
|
1541
1541
|
"list-image": [{
|
|
1542
|
-
"list-image": ["none",
|
|
1542
|
+
"list-image": ["none", C, h]
|
|
1543
1543
|
}],
|
|
1544
1544
|
/**
|
|
1545
1545
|
* List Style Position
|
|
@@ -1553,7 +1553,7 @@ const $ = (e) => {
|
|
|
1553
1553
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1554
1554
|
*/
|
|
1555
1555
|
"list-style-type": [{
|
|
1556
|
-
list: ["disc", "decimal", "none",
|
|
1556
|
+
list: ["disc", "decimal", "none", C, h]
|
|
1557
1557
|
}],
|
|
1558
1558
|
/**
|
|
1559
1559
|
* Text Alignment
|
|
@@ -1568,14 +1568,14 @@ const $ = (e) => {
|
|
|
1568
1568
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1569
1569
|
*/
|
|
1570
1570
|
"placeholder-color": [{
|
|
1571
|
-
placeholder:
|
|
1571
|
+
placeholder: D()
|
|
1572
1572
|
}],
|
|
1573
1573
|
/**
|
|
1574
1574
|
* Text Color
|
|
1575
1575
|
* @see https://tailwindcss.com/docs/text-color
|
|
1576
1576
|
*/
|
|
1577
1577
|
"text-color": [{
|
|
1578
|
-
text:
|
|
1578
|
+
text: D()
|
|
1579
1579
|
}],
|
|
1580
1580
|
/**
|
|
1581
1581
|
* Text Decoration
|
|
@@ -1594,21 +1594,21 @@ const $ = (e) => {
|
|
|
1594
1594
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1595
1595
|
*/
|
|
1596
1596
|
"text-decoration-thickness": [{
|
|
1597
|
-
decoration: [M, "from-font", "auto",
|
|
1597
|
+
decoration: [M, "from-font", "auto", C, ge]
|
|
1598
1598
|
}],
|
|
1599
1599
|
/**
|
|
1600
1600
|
* Text Decoration Color
|
|
1601
1601
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1602
1602
|
*/
|
|
1603
1603
|
"text-decoration-color": [{
|
|
1604
|
-
decoration:
|
|
1604
|
+
decoration: D()
|
|
1605
1605
|
}],
|
|
1606
1606
|
/**
|
|
1607
1607
|
* Text Underline Offset
|
|
1608
1608
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1609
1609
|
*/
|
|
1610
1610
|
"underline-offset": [{
|
|
1611
|
-
"underline-offset": [M, "auto",
|
|
1611
|
+
"underline-offset": [M, "auto", C, h]
|
|
1612
1612
|
}],
|
|
1613
1613
|
/**
|
|
1614
1614
|
* Text Transform
|
|
@@ -1632,14 +1632,14 @@ const $ = (e) => {
|
|
|
1632
1632
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1633
1633
|
*/
|
|
1634
1634
|
indent: [{
|
|
1635
|
-
indent:
|
|
1635
|
+
indent: w()
|
|
1636
1636
|
}],
|
|
1637
1637
|
/**
|
|
1638
1638
|
* Vertical Alignment
|
|
1639
1639
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1640
1640
|
*/
|
|
1641
1641
|
"vertical-align": [{
|
|
1642
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1642
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", C, h]
|
|
1643
1643
|
}],
|
|
1644
1644
|
/**
|
|
1645
1645
|
* Whitespace
|
|
@@ -1674,7 +1674,7 @@ const $ = (e) => {
|
|
|
1674
1674
|
* @see https://tailwindcss.com/docs/content
|
|
1675
1675
|
*/
|
|
1676
1676
|
content: [{
|
|
1677
|
-
content: ["none",
|
|
1677
|
+
content: ["none", C, h]
|
|
1678
1678
|
}],
|
|
1679
1679
|
// -------------------
|
|
1680
1680
|
// --- Backgrounds ---
|
|
@@ -1729,9 +1729,9 @@ const $ = (e) => {
|
|
|
1729
1729
|
bg: ["none", {
|
|
1730
1730
|
linear: [{
|
|
1731
1731
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1732
|
-
}, de,
|
|
1733
|
-
radial: ["",
|
|
1734
|
-
conic: [de,
|
|
1732
|
+
}, de, C, h],
|
|
1733
|
+
radial: ["", C, h],
|
|
1734
|
+
conic: [de, C, h]
|
|
1735
1735
|
}, on, rn]
|
|
1736
1736
|
}],
|
|
1737
1737
|
/**
|
|
@@ -1739,7 +1739,7 @@ const $ = (e) => {
|
|
|
1739
1739
|
* @see https://tailwindcss.com/docs/background-color
|
|
1740
1740
|
*/
|
|
1741
1741
|
"bg-color": [{
|
|
1742
|
-
bg:
|
|
1742
|
+
bg: D()
|
|
1743
1743
|
}],
|
|
1744
1744
|
/**
|
|
1745
1745
|
* Gradient Color Stops From Position
|
|
@@ -1767,21 +1767,21 @@ const $ = (e) => {
|
|
|
1767
1767
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1768
1768
|
*/
|
|
1769
1769
|
"gradient-from": [{
|
|
1770
|
-
from:
|
|
1770
|
+
from: D()
|
|
1771
1771
|
}],
|
|
1772
1772
|
/**
|
|
1773
1773
|
* Gradient Color Stops Via
|
|
1774
1774
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1775
1775
|
*/
|
|
1776
1776
|
"gradient-via": [{
|
|
1777
|
-
via:
|
|
1777
|
+
via: D()
|
|
1778
1778
|
}],
|
|
1779
1779
|
/**
|
|
1780
1780
|
* Gradient Color Stops To
|
|
1781
1781
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1782
1782
|
*/
|
|
1783
1783
|
"gradient-to": [{
|
|
1784
|
-
to:
|
|
1784
|
+
to: D()
|
|
1785
1785
|
}],
|
|
1786
1786
|
// ---------------
|
|
1787
1787
|
// --- Borders ---
|
|
@@ -1896,70 +1896,70 @@ const $ = (e) => {
|
|
|
1896
1896
|
* @see https://tailwindcss.com/docs/border-width
|
|
1897
1897
|
*/
|
|
1898
1898
|
"border-w": [{
|
|
1899
|
-
border:
|
|
1899
|
+
border: f()
|
|
1900
1900
|
}],
|
|
1901
1901
|
/**
|
|
1902
1902
|
* Border Width X
|
|
1903
1903
|
* @see https://tailwindcss.com/docs/border-width
|
|
1904
1904
|
*/
|
|
1905
1905
|
"border-w-x": [{
|
|
1906
|
-
"border-x":
|
|
1906
|
+
"border-x": f()
|
|
1907
1907
|
}],
|
|
1908
1908
|
/**
|
|
1909
1909
|
* Border Width Y
|
|
1910
1910
|
* @see https://tailwindcss.com/docs/border-width
|
|
1911
1911
|
*/
|
|
1912
1912
|
"border-w-y": [{
|
|
1913
|
-
"border-y":
|
|
1913
|
+
"border-y": f()
|
|
1914
1914
|
}],
|
|
1915
1915
|
/**
|
|
1916
1916
|
* Border Width Start
|
|
1917
1917
|
* @see https://tailwindcss.com/docs/border-width
|
|
1918
1918
|
*/
|
|
1919
1919
|
"border-w-s": [{
|
|
1920
|
-
"border-s":
|
|
1920
|
+
"border-s": f()
|
|
1921
1921
|
}],
|
|
1922
1922
|
/**
|
|
1923
1923
|
* Border Width End
|
|
1924
1924
|
* @see https://tailwindcss.com/docs/border-width
|
|
1925
1925
|
*/
|
|
1926
1926
|
"border-w-e": [{
|
|
1927
|
-
"border-e":
|
|
1927
|
+
"border-e": f()
|
|
1928
1928
|
}],
|
|
1929
1929
|
/**
|
|
1930
1930
|
* Border Width Top
|
|
1931
1931
|
* @see https://tailwindcss.com/docs/border-width
|
|
1932
1932
|
*/
|
|
1933
1933
|
"border-w-t": [{
|
|
1934
|
-
"border-t":
|
|
1934
|
+
"border-t": f()
|
|
1935
1935
|
}],
|
|
1936
1936
|
/**
|
|
1937
1937
|
* Border Width Right
|
|
1938
1938
|
* @see https://tailwindcss.com/docs/border-width
|
|
1939
1939
|
*/
|
|
1940
1940
|
"border-w-r": [{
|
|
1941
|
-
"border-r":
|
|
1941
|
+
"border-r": f()
|
|
1942
1942
|
}],
|
|
1943
1943
|
/**
|
|
1944
1944
|
* Border Width Bottom
|
|
1945
1945
|
* @see https://tailwindcss.com/docs/border-width
|
|
1946
1946
|
*/
|
|
1947
1947
|
"border-w-b": [{
|
|
1948
|
-
"border-b":
|
|
1948
|
+
"border-b": f()
|
|
1949
1949
|
}],
|
|
1950
1950
|
/**
|
|
1951
1951
|
* Border Width Left
|
|
1952
1952
|
* @see https://tailwindcss.com/docs/border-width
|
|
1953
1953
|
*/
|
|
1954
1954
|
"border-w-l": [{
|
|
1955
|
-
"border-l":
|
|
1955
|
+
"border-l": f()
|
|
1956
1956
|
}],
|
|
1957
1957
|
/**
|
|
1958
1958
|
* Divide Width X
|
|
1959
1959
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1960
1960
|
*/
|
|
1961
1961
|
"divide-x": [{
|
|
1962
|
-
"divide-x":
|
|
1962
|
+
"divide-x": f()
|
|
1963
1963
|
}],
|
|
1964
1964
|
/**
|
|
1965
1965
|
* Divide Width X Reverse
|
|
@@ -1971,7 +1971,7 @@ const $ = (e) => {
|
|
|
1971
1971
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1972
1972
|
*/
|
|
1973
1973
|
"divide-y": [{
|
|
1974
|
-
"divide-y":
|
|
1974
|
+
"divide-y": f()
|
|
1975
1975
|
}],
|
|
1976
1976
|
/**
|
|
1977
1977
|
* Divide Width Y Reverse
|
|
@@ -1997,70 +1997,70 @@ const $ = (e) => {
|
|
|
1997
1997
|
* @see https://tailwindcss.com/docs/border-color
|
|
1998
1998
|
*/
|
|
1999
1999
|
"border-color": [{
|
|
2000
|
-
border:
|
|
2000
|
+
border: D()
|
|
2001
2001
|
}],
|
|
2002
2002
|
/**
|
|
2003
2003
|
* Border Color X
|
|
2004
2004
|
* @see https://tailwindcss.com/docs/border-color
|
|
2005
2005
|
*/
|
|
2006
2006
|
"border-color-x": [{
|
|
2007
|
-
"border-x":
|
|
2007
|
+
"border-x": D()
|
|
2008
2008
|
}],
|
|
2009
2009
|
/**
|
|
2010
2010
|
* Border Color Y
|
|
2011
2011
|
* @see https://tailwindcss.com/docs/border-color
|
|
2012
2012
|
*/
|
|
2013
2013
|
"border-color-y": [{
|
|
2014
|
-
"border-y":
|
|
2014
|
+
"border-y": D()
|
|
2015
2015
|
}],
|
|
2016
2016
|
/**
|
|
2017
2017
|
* Border Color S
|
|
2018
2018
|
* @see https://tailwindcss.com/docs/border-color
|
|
2019
2019
|
*/
|
|
2020
2020
|
"border-color-s": [{
|
|
2021
|
-
"border-s":
|
|
2021
|
+
"border-s": D()
|
|
2022
2022
|
}],
|
|
2023
2023
|
/**
|
|
2024
2024
|
* Border Color E
|
|
2025
2025
|
* @see https://tailwindcss.com/docs/border-color
|
|
2026
2026
|
*/
|
|
2027
2027
|
"border-color-e": [{
|
|
2028
|
-
"border-e":
|
|
2028
|
+
"border-e": D()
|
|
2029
2029
|
}],
|
|
2030
2030
|
/**
|
|
2031
2031
|
* Border Color Top
|
|
2032
2032
|
* @see https://tailwindcss.com/docs/border-color
|
|
2033
2033
|
*/
|
|
2034
2034
|
"border-color-t": [{
|
|
2035
|
-
"border-t":
|
|
2035
|
+
"border-t": D()
|
|
2036
2036
|
}],
|
|
2037
2037
|
/**
|
|
2038
2038
|
* Border Color Right
|
|
2039
2039
|
* @see https://tailwindcss.com/docs/border-color
|
|
2040
2040
|
*/
|
|
2041
2041
|
"border-color-r": [{
|
|
2042
|
-
"border-r":
|
|
2042
|
+
"border-r": D()
|
|
2043
2043
|
}],
|
|
2044
2044
|
/**
|
|
2045
2045
|
* Border Color Bottom
|
|
2046
2046
|
* @see https://tailwindcss.com/docs/border-color
|
|
2047
2047
|
*/
|
|
2048
2048
|
"border-color-b": [{
|
|
2049
|
-
"border-b":
|
|
2049
|
+
"border-b": D()
|
|
2050
2050
|
}],
|
|
2051
2051
|
/**
|
|
2052
2052
|
* Border Color Left
|
|
2053
2053
|
* @see https://tailwindcss.com/docs/border-color
|
|
2054
2054
|
*/
|
|
2055
2055
|
"border-color-l": [{
|
|
2056
|
-
"border-l":
|
|
2056
|
+
"border-l": D()
|
|
2057
2057
|
}],
|
|
2058
2058
|
/**
|
|
2059
2059
|
* Divide Color
|
|
2060
2060
|
* @see https://tailwindcss.com/docs/divide-color
|
|
2061
2061
|
*/
|
|
2062
2062
|
"divide-color": [{
|
|
2063
|
-
divide:
|
|
2063
|
+
divide: D()
|
|
2064
2064
|
}],
|
|
2065
2065
|
/**
|
|
2066
2066
|
* Outline Style
|
|
@@ -2074,7 +2074,7 @@ const $ = (e) => {
|
|
|
2074
2074
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
2075
2075
|
*/
|
|
2076
2076
|
"outline-offset": [{
|
|
2077
|
-
"outline-offset": [M,
|
|
2077
|
+
"outline-offset": [M, C, h]
|
|
2078
2078
|
}],
|
|
2079
2079
|
/**
|
|
2080
2080
|
* Outline Width
|
|
@@ -2088,7 +2088,7 @@ const $ = (e) => {
|
|
|
2088
2088
|
* @see https://tailwindcss.com/docs/outline-color
|
|
2089
2089
|
*/
|
|
2090
2090
|
"outline-color": [{
|
|
2091
|
-
outline:
|
|
2091
|
+
outline: D()
|
|
2092
2092
|
}],
|
|
2093
2093
|
// ---------------
|
|
2094
2094
|
// --- Effects ---
|
|
@@ -2112,28 +2112,28 @@ const $ = (e) => {
|
|
|
2112
2112
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
2113
2113
|
*/
|
|
2114
2114
|
"shadow-color": [{
|
|
2115
|
-
shadow:
|
|
2115
|
+
shadow: D()
|
|
2116
2116
|
}],
|
|
2117
2117
|
/**
|
|
2118
2118
|
* Inset Box Shadow
|
|
2119
2119
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
2120
2120
|
*/
|
|
2121
2121
|
"inset-shadow": [{
|
|
2122
|
-
"inset-shadow": ["none",
|
|
2122
|
+
"inset-shadow": ["none", p, He, Ee]
|
|
2123
2123
|
}],
|
|
2124
2124
|
/**
|
|
2125
2125
|
* Inset Box Shadow Color
|
|
2126
2126
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
2127
2127
|
*/
|
|
2128
2128
|
"inset-shadow-color": [{
|
|
2129
|
-
"inset-shadow":
|
|
2129
|
+
"inset-shadow": D()
|
|
2130
2130
|
}],
|
|
2131
2131
|
/**
|
|
2132
2132
|
* Ring Width
|
|
2133
2133
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
2134
2134
|
*/
|
|
2135
2135
|
"ring-w": [{
|
|
2136
|
-
ring:
|
|
2136
|
+
ring: f()
|
|
2137
2137
|
}],
|
|
2138
2138
|
/**
|
|
2139
2139
|
* Ring Width Inset
|
|
@@ -2147,7 +2147,7 @@ const $ = (e) => {
|
|
|
2147
2147
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
2148
2148
|
*/
|
|
2149
2149
|
"ring-color": [{
|
|
2150
|
-
ring:
|
|
2150
|
+
ring: D()
|
|
2151
2151
|
}],
|
|
2152
2152
|
/**
|
|
2153
2153
|
* Ring Offset Width
|
|
@@ -2165,21 +2165,21 @@ const $ = (e) => {
|
|
|
2165
2165
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2166
2166
|
*/
|
|
2167
2167
|
"ring-offset-color": [{
|
|
2168
|
-
"ring-offset":
|
|
2168
|
+
"ring-offset": D()
|
|
2169
2169
|
}],
|
|
2170
2170
|
/**
|
|
2171
2171
|
* Inset Ring Width
|
|
2172
2172
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
2173
2173
|
*/
|
|
2174
2174
|
"inset-ring-w": [{
|
|
2175
|
-
"inset-ring":
|
|
2175
|
+
"inset-ring": f()
|
|
2176
2176
|
}],
|
|
2177
2177
|
/**
|
|
2178
2178
|
* Inset Ring Color
|
|
2179
2179
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
2180
2180
|
*/
|
|
2181
2181
|
"inset-ring-color": [{
|
|
2182
|
-
"inset-ring":
|
|
2182
|
+
"inset-ring": D()
|
|
2183
2183
|
}],
|
|
2184
2184
|
/**
|
|
2185
2185
|
* Text Shadow
|
|
@@ -2193,14 +2193,14 @@ const $ = (e) => {
|
|
|
2193
2193
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
2194
2194
|
*/
|
|
2195
2195
|
"text-shadow-color": [{
|
|
2196
|
-
"text-shadow":
|
|
2196
|
+
"text-shadow": D()
|
|
2197
2197
|
}],
|
|
2198
2198
|
/**
|
|
2199
2199
|
* Opacity
|
|
2200
2200
|
* @see https://tailwindcss.com/docs/opacity
|
|
2201
2201
|
*/
|
|
2202
2202
|
opacity: [{
|
|
2203
|
-
opacity: [M,
|
|
2203
|
+
opacity: [M, C, h]
|
|
2204
2204
|
}],
|
|
2205
2205
|
/**
|
|
2206
2206
|
* Mix Blend Mode
|
|
@@ -2244,10 +2244,10 @@ const $ = (e) => {
|
|
|
2244
2244
|
"mask-linear-to": P()
|
|
2245
2245
|
}],
|
|
2246
2246
|
"mask-image-linear-from-color": [{
|
|
2247
|
-
"mask-linear-from":
|
|
2247
|
+
"mask-linear-from": D()
|
|
2248
2248
|
}],
|
|
2249
2249
|
"mask-image-linear-to-color": [{
|
|
2250
|
-
"mask-linear-to":
|
|
2250
|
+
"mask-linear-to": D()
|
|
2251
2251
|
}],
|
|
2252
2252
|
"mask-image-t-from-pos": [{
|
|
2253
2253
|
"mask-t-from": P()
|
|
@@ -2256,10 +2256,10 @@ const $ = (e) => {
|
|
|
2256
2256
|
"mask-t-to": P()
|
|
2257
2257
|
}],
|
|
2258
2258
|
"mask-image-t-from-color": [{
|
|
2259
|
-
"mask-t-from":
|
|
2259
|
+
"mask-t-from": D()
|
|
2260
2260
|
}],
|
|
2261
2261
|
"mask-image-t-to-color": [{
|
|
2262
|
-
"mask-t-to":
|
|
2262
|
+
"mask-t-to": D()
|
|
2263
2263
|
}],
|
|
2264
2264
|
"mask-image-r-from-pos": [{
|
|
2265
2265
|
"mask-r-from": P()
|
|
@@ -2268,10 +2268,10 @@ const $ = (e) => {
|
|
|
2268
2268
|
"mask-r-to": P()
|
|
2269
2269
|
}],
|
|
2270
2270
|
"mask-image-r-from-color": [{
|
|
2271
|
-
"mask-r-from":
|
|
2271
|
+
"mask-r-from": D()
|
|
2272
2272
|
}],
|
|
2273
2273
|
"mask-image-r-to-color": [{
|
|
2274
|
-
"mask-r-to":
|
|
2274
|
+
"mask-r-to": D()
|
|
2275
2275
|
}],
|
|
2276
2276
|
"mask-image-b-from-pos": [{
|
|
2277
2277
|
"mask-b-from": P()
|
|
@@ -2280,10 +2280,10 @@ const $ = (e) => {
|
|
|
2280
2280
|
"mask-b-to": P()
|
|
2281
2281
|
}],
|
|
2282
2282
|
"mask-image-b-from-color": [{
|
|
2283
|
-
"mask-b-from":
|
|
2283
|
+
"mask-b-from": D()
|
|
2284
2284
|
}],
|
|
2285
2285
|
"mask-image-b-to-color": [{
|
|
2286
|
-
"mask-b-to":
|
|
2286
|
+
"mask-b-to": D()
|
|
2287
2287
|
}],
|
|
2288
2288
|
"mask-image-l-from-pos": [{
|
|
2289
2289
|
"mask-l-from": P()
|
|
@@ -2292,10 +2292,10 @@ const $ = (e) => {
|
|
|
2292
2292
|
"mask-l-to": P()
|
|
2293
2293
|
}],
|
|
2294
2294
|
"mask-image-l-from-color": [{
|
|
2295
|
-
"mask-l-from":
|
|
2295
|
+
"mask-l-from": D()
|
|
2296
2296
|
}],
|
|
2297
2297
|
"mask-image-l-to-color": [{
|
|
2298
|
-
"mask-l-to":
|
|
2298
|
+
"mask-l-to": D()
|
|
2299
2299
|
}],
|
|
2300
2300
|
"mask-image-x-from-pos": [{
|
|
2301
2301
|
"mask-x-from": P()
|
|
@@ -2304,10 +2304,10 @@ const $ = (e) => {
|
|
|
2304
2304
|
"mask-x-to": P()
|
|
2305
2305
|
}],
|
|
2306
2306
|
"mask-image-x-from-color": [{
|
|
2307
|
-
"mask-x-from":
|
|
2307
|
+
"mask-x-from": D()
|
|
2308
2308
|
}],
|
|
2309
2309
|
"mask-image-x-to-color": [{
|
|
2310
|
-
"mask-x-to":
|
|
2310
|
+
"mask-x-to": D()
|
|
2311
2311
|
}],
|
|
2312
2312
|
"mask-image-y-from-pos": [{
|
|
2313
2313
|
"mask-y-from": P()
|
|
@@ -2316,13 +2316,13 @@ const $ = (e) => {
|
|
|
2316
2316
|
"mask-y-to": P()
|
|
2317
2317
|
}],
|
|
2318
2318
|
"mask-image-y-from-color": [{
|
|
2319
|
-
"mask-y-from":
|
|
2319
|
+
"mask-y-from": D()
|
|
2320
2320
|
}],
|
|
2321
2321
|
"mask-image-y-to-color": [{
|
|
2322
|
-
"mask-y-to":
|
|
2322
|
+
"mask-y-to": D()
|
|
2323
2323
|
}],
|
|
2324
2324
|
"mask-image-radial": [{
|
|
2325
|
-
"mask-radial": [
|
|
2325
|
+
"mask-radial": [C, h]
|
|
2326
2326
|
}],
|
|
2327
2327
|
"mask-image-radial-from-pos": [{
|
|
2328
2328
|
"mask-radial-from": P()
|
|
@@ -2331,10 +2331,10 @@ const $ = (e) => {
|
|
|
2331
2331
|
"mask-radial-to": P()
|
|
2332
2332
|
}],
|
|
2333
2333
|
"mask-image-radial-from-color": [{
|
|
2334
|
-
"mask-radial-from":
|
|
2334
|
+
"mask-radial-from": D()
|
|
2335
2335
|
}],
|
|
2336
2336
|
"mask-image-radial-to-color": [{
|
|
2337
|
-
"mask-radial-to":
|
|
2337
|
+
"mask-radial-to": D()
|
|
2338
2338
|
}],
|
|
2339
2339
|
"mask-image-radial-shape": [{
|
|
2340
2340
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -2346,7 +2346,7 @@ const $ = (e) => {
|
|
|
2346
2346
|
}]
|
|
2347
2347
|
}],
|
|
2348
2348
|
"mask-image-radial-pos": [{
|
|
2349
|
-
"mask-radial-at":
|
|
2349
|
+
"mask-radial-at": T()
|
|
2350
2350
|
}],
|
|
2351
2351
|
"mask-image-conic-pos": [{
|
|
2352
2352
|
"mask-conic": [M]
|
|
@@ -2358,10 +2358,10 @@ const $ = (e) => {
|
|
|
2358
2358
|
"mask-conic-to": P()
|
|
2359
2359
|
}],
|
|
2360
2360
|
"mask-image-conic-from-color": [{
|
|
2361
|
-
"mask-conic-from":
|
|
2361
|
+
"mask-conic-from": D()
|
|
2362
2362
|
}],
|
|
2363
2363
|
"mask-image-conic-to-color": [{
|
|
2364
|
-
"mask-conic-to":
|
|
2364
|
+
"mask-conic-to": D()
|
|
2365
2365
|
}],
|
|
2366
2366
|
/**
|
|
2367
2367
|
* Mask Mode
|
|
@@ -2410,7 +2410,7 @@ const $ = (e) => {
|
|
|
2410
2410
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2411
2411
|
*/
|
|
2412
2412
|
"mask-image": [{
|
|
2413
|
-
mask: ["none",
|
|
2413
|
+
mask: ["none", C, h]
|
|
2414
2414
|
}],
|
|
2415
2415
|
// ---------------
|
|
2416
2416
|
// --- Filters ---
|
|
@@ -2424,8 +2424,8 @@ const $ = (e) => {
|
|
|
2424
2424
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2425
2425
|
"",
|
|
2426
2426
|
"none",
|
|
2427
|
-
|
|
2428
|
-
|
|
2427
|
+
C,
|
|
2428
|
+
h
|
|
2429
2429
|
]
|
|
2430
2430
|
}],
|
|
2431
2431
|
/**
|
|
@@ -2440,14 +2440,14 @@ const $ = (e) => {
|
|
|
2440
2440
|
* @see https://tailwindcss.com/docs/brightness
|
|
2441
2441
|
*/
|
|
2442
2442
|
brightness: [{
|
|
2443
|
-
brightness: [M,
|
|
2443
|
+
brightness: [M, C, h]
|
|
2444
2444
|
}],
|
|
2445
2445
|
/**
|
|
2446
2446
|
* Contrast
|
|
2447
2447
|
* @see https://tailwindcss.com/docs/contrast
|
|
2448
2448
|
*/
|
|
2449
2449
|
contrast: [{
|
|
2450
|
-
contrast: [M,
|
|
2450
|
+
contrast: [M, C, h]
|
|
2451
2451
|
}],
|
|
2452
2452
|
/**
|
|
2453
2453
|
* Drop Shadow
|
|
@@ -2468,42 +2468,42 @@ const $ = (e) => {
|
|
|
2468
2468
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2469
2469
|
*/
|
|
2470
2470
|
"drop-shadow-color": [{
|
|
2471
|
-
"drop-shadow":
|
|
2471
|
+
"drop-shadow": D()
|
|
2472
2472
|
}],
|
|
2473
2473
|
/**
|
|
2474
2474
|
* Grayscale
|
|
2475
2475
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2476
2476
|
*/
|
|
2477
2477
|
grayscale: [{
|
|
2478
|
-
grayscale: ["", M,
|
|
2478
|
+
grayscale: ["", M, C, h]
|
|
2479
2479
|
}],
|
|
2480
2480
|
/**
|
|
2481
2481
|
* Hue Rotate
|
|
2482
2482
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2483
2483
|
*/
|
|
2484
2484
|
"hue-rotate": [{
|
|
2485
|
-
"hue-rotate": [M,
|
|
2485
|
+
"hue-rotate": [M, C, h]
|
|
2486
2486
|
}],
|
|
2487
2487
|
/**
|
|
2488
2488
|
* Invert
|
|
2489
2489
|
* @see https://tailwindcss.com/docs/invert
|
|
2490
2490
|
*/
|
|
2491
2491
|
invert: [{
|
|
2492
|
-
invert: ["", M,
|
|
2492
|
+
invert: ["", M, C, h]
|
|
2493
2493
|
}],
|
|
2494
2494
|
/**
|
|
2495
2495
|
* Saturate
|
|
2496
2496
|
* @see https://tailwindcss.com/docs/saturate
|
|
2497
2497
|
*/
|
|
2498
2498
|
saturate: [{
|
|
2499
|
-
saturate: [M,
|
|
2499
|
+
saturate: [M, C, h]
|
|
2500
2500
|
}],
|
|
2501
2501
|
/**
|
|
2502
2502
|
* Sepia
|
|
2503
2503
|
* @see https://tailwindcss.com/docs/sepia
|
|
2504
2504
|
*/
|
|
2505
2505
|
sepia: [{
|
|
2506
|
-
sepia: ["", M,
|
|
2506
|
+
sepia: ["", M, C, h]
|
|
2507
2507
|
}],
|
|
2508
2508
|
/**
|
|
2509
2509
|
* Backdrop Filter
|
|
@@ -2514,8 +2514,8 @@ const $ = (e) => {
|
|
|
2514
2514
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2515
2515
|
"",
|
|
2516
2516
|
"none",
|
|
2517
|
-
|
|
2518
|
-
|
|
2517
|
+
C,
|
|
2518
|
+
h
|
|
2519
2519
|
]
|
|
2520
2520
|
}],
|
|
2521
2521
|
/**
|
|
@@ -2530,56 +2530,56 @@ const $ = (e) => {
|
|
|
2530
2530
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2531
2531
|
*/
|
|
2532
2532
|
"backdrop-brightness": [{
|
|
2533
|
-
"backdrop-brightness": [M,
|
|
2533
|
+
"backdrop-brightness": [M, C, h]
|
|
2534
2534
|
}],
|
|
2535
2535
|
/**
|
|
2536
2536
|
* Backdrop Contrast
|
|
2537
2537
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2538
2538
|
*/
|
|
2539
2539
|
"backdrop-contrast": [{
|
|
2540
|
-
"backdrop-contrast": [M,
|
|
2540
|
+
"backdrop-contrast": [M, C, h]
|
|
2541
2541
|
}],
|
|
2542
2542
|
/**
|
|
2543
2543
|
* Backdrop Grayscale
|
|
2544
2544
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2545
2545
|
*/
|
|
2546
2546
|
"backdrop-grayscale": [{
|
|
2547
|
-
"backdrop-grayscale": ["", M,
|
|
2547
|
+
"backdrop-grayscale": ["", M, C, h]
|
|
2548
2548
|
}],
|
|
2549
2549
|
/**
|
|
2550
2550
|
* Backdrop Hue Rotate
|
|
2551
2551
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2552
2552
|
*/
|
|
2553
2553
|
"backdrop-hue-rotate": [{
|
|
2554
|
-
"backdrop-hue-rotate": [M,
|
|
2554
|
+
"backdrop-hue-rotate": [M, C, h]
|
|
2555
2555
|
}],
|
|
2556
2556
|
/**
|
|
2557
2557
|
* Backdrop Invert
|
|
2558
2558
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2559
2559
|
*/
|
|
2560
2560
|
"backdrop-invert": [{
|
|
2561
|
-
"backdrop-invert": ["", M,
|
|
2561
|
+
"backdrop-invert": ["", M, C, h]
|
|
2562
2562
|
}],
|
|
2563
2563
|
/**
|
|
2564
2564
|
* Backdrop Opacity
|
|
2565
2565
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2566
2566
|
*/
|
|
2567
2567
|
"backdrop-opacity": [{
|
|
2568
|
-
"backdrop-opacity": [M,
|
|
2568
|
+
"backdrop-opacity": [M, C, h]
|
|
2569
2569
|
}],
|
|
2570
2570
|
/**
|
|
2571
2571
|
* Backdrop Saturate
|
|
2572
2572
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2573
2573
|
*/
|
|
2574
2574
|
"backdrop-saturate": [{
|
|
2575
|
-
"backdrop-saturate": [M,
|
|
2575
|
+
"backdrop-saturate": [M, C, h]
|
|
2576
2576
|
}],
|
|
2577
2577
|
/**
|
|
2578
2578
|
* Backdrop Sepia
|
|
2579
2579
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2580
2580
|
*/
|
|
2581
2581
|
"backdrop-sepia": [{
|
|
2582
|
-
"backdrop-sepia": ["", M,
|
|
2582
|
+
"backdrop-sepia": ["", M, C, h]
|
|
2583
2583
|
}],
|
|
2584
2584
|
// --------------
|
|
2585
2585
|
// --- Tables ---
|
|
@@ -2596,21 +2596,21 @@ const $ = (e) => {
|
|
|
2596
2596
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2597
2597
|
*/
|
|
2598
2598
|
"border-spacing": [{
|
|
2599
|
-
"border-spacing":
|
|
2599
|
+
"border-spacing": w()
|
|
2600
2600
|
}],
|
|
2601
2601
|
/**
|
|
2602
2602
|
* Border Spacing X
|
|
2603
2603
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2604
2604
|
*/
|
|
2605
2605
|
"border-spacing-x": [{
|
|
2606
|
-
"border-spacing-x":
|
|
2606
|
+
"border-spacing-x": w()
|
|
2607
2607
|
}],
|
|
2608
2608
|
/**
|
|
2609
2609
|
* Border Spacing Y
|
|
2610
2610
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2611
2611
|
*/
|
|
2612
2612
|
"border-spacing-y": [{
|
|
2613
|
-
"border-spacing-y":
|
|
2613
|
+
"border-spacing-y": w()
|
|
2614
2614
|
}],
|
|
2615
2615
|
/**
|
|
2616
2616
|
* Table Layout
|
|
@@ -2634,7 +2634,7 @@ const $ = (e) => {
|
|
|
2634
2634
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2635
2635
|
*/
|
|
2636
2636
|
transition: [{
|
|
2637
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
2637
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", C, h]
|
|
2638
2638
|
}],
|
|
2639
2639
|
/**
|
|
2640
2640
|
* Transition Behavior
|
|
@@ -2648,28 +2648,28 @@ const $ = (e) => {
|
|
|
2648
2648
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2649
2649
|
*/
|
|
2650
2650
|
duration: [{
|
|
2651
|
-
duration: [M, "initial",
|
|
2651
|
+
duration: [M, "initial", C, h]
|
|
2652
2652
|
}],
|
|
2653
2653
|
/**
|
|
2654
2654
|
* Transition Timing Function
|
|
2655
2655
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2656
2656
|
*/
|
|
2657
2657
|
ease: [{
|
|
2658
|
-
ease: ["linear", "initial", R,
|
|
2658
|
+
ease: ["linear", "initial", R, C, h]
|
|
2659
2659
|
}],
|
|
2660
2660
|
/**
|
|
2661
2661
|
* Transition Delay
|
|
2662
2662
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2663
2663
|
*/
|
|
2664
2664
|
delay: [{
|
|
2665
|
-
delay: [M,
|
|
2665
|
+
delay: [M, C, h]
|
|
2666
2666
|
}],
|
|
2667
2667
|
/**
|
|
2668
2668
|
* Animation
|
|
2669
2669
|
* @see https://tailwindcss.com/docs/animation
|
|
2670
2670
|
*/
|
|
2671
2671
|
animate: [{
|
|
2672
|
-
animate: ["none",
|
|
2672
|
+
animate: ["none", b, C, h]
|
|
2673
2673
|
}],
|
|
2674
2674
|
// ------------------
|
|
2675
2675
|
// --- Transforms ---
|
|
@@ -2686,7 +2686,7 @@ const $ = (e) => {
|
|
|
2686
2686
|
* @see https://tailwindcss.com/docs/perspective
|
|
2687
2687
|
*/
|
|
2688
2688
|
perspective: [{
|
|
2689
|
-
perspective: [y,
|
|
2689
|
+
perspective: [y, C, h]
|
|
2690
2690
|
}],
|
|
2691
2691
|
/**
|
|
2692
2692
|
* Perspective Origin
|
|
@@ -2782,7 +2782,7 @@ const $ = (e) => {
|
|
|
2782
2782
|
* @see https://tailwindcss.com/docs/transform
|
|
2783
2783
|
*/
|
|
2784
2784
|
transform: [{
|
|
2785
|
-
transform: [
|
|
2785
|
+
transform: [C, h, "", "none", "gpu", "cpu"]
|
|
2786
2786
|
}],
|
|
2787
2787
|
/**
|
|
2788
2788
|
* Transform Origin
|
|
@@ -2839,7 +2839,7 @@ const $ = (e) => {
|
|
|
2839
2839
|
* @see https://tailwindcss.com/docs/accent-color
|
|
2840
2840
|
*/
|
|
2841
2841
|
accent: [{
|
|
2842
|
-
accent:
|
|
2842
|
+
accent: D()
|
|
2843
2843
|
}],
|
|
2844
2844
|
/**
|
|
2845
2845
|
* Appearance
|
|
@@ -2853,7 +2853,7 @@ const $ = (e) => {
|
|
|
2853
2853
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2854
2854
|
*/
|
|
2855
2855
|
"caret-color": [{
|
|
2856
|
-
caret:
|
|
2856
|
+
caret: D()
|
|
2857
2857
|
}],
|
|
2858
2858
|
/**
|
|
2859
2859
|
* Color Scheme
|
|
@@ -2867,7 +2867,7 @@ const $ = (e) => {
|
|
|
2867
2867
|
* @see https://tailwindcss.com/docs/cursor
|
|
2868
2868
|
*/
|
|
2869
2869
|
cursor: [{
|
|
2870
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
2870
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", C, h]
|
|
2871
2871
|
}],
|
|
2872
2872
|
/**
|
|
2873
2873
|
* Field Sizing
|
|
@@ -2902,126 +2902,126 @@ const $ = (e) => {
|
|
|
2902
2902
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2903
2903
|
*/
|
|
2904
2904
|
"scroll-m": [{
|
|
2905
|
-
"scroll-m":
|
|
2905
|
+
"scroll-m": w()
|
|
2906
2906
|
}],
|
|
2907
2907
|
/**
|
|
2908
2908
|
* Scroll Margin X
|
|
2909
2909
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2910
2910
|
*/
|
|
2911
2911
|
"scroll-mx": [{
|
|
2912
|
-
"scroll-mx":
|
|
2912
|
+
"scroll-mx": w()
|
|
2913
2913
|
}],
|
|
2914
2914
|
/**
|
|
2915
2915
|
* Scroll Margin Y
|
|
2916
2916
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2917
2917
|
*/
|
|
2918
2918
|
"scroll-my": [{
|
|
2919
|
-
"scroll-my":
|
|
2919
|
+
"scroll-my": w()
|
|
2920
2920
|
}],
|
|
2921
2921
|
/**
|
|
2922
2922
|
* Scroll Margin Start
|
|
2923
2923
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2924
2924
|
*/
|
|
2925
2925
|
"scroll-ms": [{
|
|
2926
|
-
"scroll-ms":
|
|
2926
|
+
"scroll-ms": w()
|
|
2927
2927
|
}],
|
|
2928
2928
|
/**
|
|
2929
2929
|
* Scroll Margin End
|
|
2930
2930
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2931
2931
|
*/
|
|
2932
2932
|
"scroll-me": [{
|
|
2933
|
-
"scroll-me":
|
|
2933
|
+
"scroll-me": w()
|
|
2934
2934
|
}],
|
|
2935
2935
|
/**
|
|
2936
2936
|
* Scroll Margin Top
|
|
2937
2937
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2938
2938
|
*/
|
|
2939
2939
|
"scroll-mt": [{
|
|
2940
|
-
"scroll-mt":
|
|
2940
|
+
"scroll-mt": w()
|
|
2941
2941
|
}],
|
|
2942
2942
|
/**
|
|
2943
2943
|
* Scroll Margin Right
|
|
2944
2944
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2945
2945
|
*/
|
|
2946
2946
|
"scroll-mr": [{
|
|
2947
|
-
"scroll-mr":
|
|
2947
|
+
"scroll-mr": w()
|
|
2948
2948
|
}],
|
|
2949
2949
|
/**
|
|
2950
2950
|
* Scroll Margin Bottom
|
|
2951
2951
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2952
2952
|
*/
|
|
2953
2953
|
"scroll-mb": [{
|
|
2954
|
-
"scroll-mb":
|
|
2954
|
+
"scroll-mb": w()
|
|
2955
2955
|
}],
|
|
2956
2956
|
/**
|
|
2957
2957
|
* Scroll Margin Left
|
|
2958
2958
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2959
2959
|
*/
|
|
2960
2960
|
"scroll-ml": [{
|
|
2961
|
-
"scroll-ml":
|
|
2961
|
+
"scroll-ml": w()
|
|
2962
2962
|
}],
|
|
2963
2963
|
/**
|
|
2964
2964
|
* Scroll Padding
|
|
2965
2965
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2966
2966
|
*/
|
|
2967
2967
|
"scroll-p": [{
|
|
2968
|
-
"scroll-p":
|
|
2968
|
+
"scroll-p": w()
|
|
2969
2969
|
}],
|
|
2970
2970
|
/**
|
|
2971
2971
|
* Scroll Padding X
|
|
2972
2972
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2973
2973
|
*/
|
|
2974
2974
|
"scroll-px": [{
|
|
2975
|
-
"scroll-px":
|
|
2975
|
+
"scroll-px": w()
|
|
2976
2976
|
}],
|
|
2977
2977
|
/**
|
|
2978
2978
|
* Scroll Padding Y
|
|
2979
2979
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2980
2980
|
*/
|
|
2981
2981
|
"scroll-py": [{
|
|
2982
|
-
"scroll-py":
|
|
2982
|
+
"scroll-py": w()
|
|
2983
2983
|
}],
|
|
2984
2984
|
/**
|
|
2985
2985
|
* Scroll Padding Start
|
|
2986
2986
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2987
2987
|
*/
|
|
2988
2988
|
"scroll-ps": [{
|
|
2989
|
-
"scroll-ps":
|
|
2989
|
+
"scroll-ps": w()
|
|
2990
2990
|
}],
|
|
2991
2991
|
/**
|
|
2992
2992
|
* Scroll Padding End
|
|
2993
2993
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2994
2994
|
*/
|
|
2995
2995
|
"scroll-pe": [{
|
|
2996
|
-
"scroll-pe":
|
|
2996
|
+
"scroll-pe": w()
|
|
2997
2997
|
}],
|
|
2998
2998
|
/**
|
|
2999
2999
|
* Scroll Padding Top
|
|
3000
3000
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3001
3001
|
*/
|
|
3002
3002
|
"scroll-pt": [{
|
|
3003
|
-
"scroll-pt":
|
|
3003
|
+
"scroll-pt": w()
|
|
3004
3004
|
}],
|
|
3005
3005
|
/**
|
|
3006
3006
|
* Scroll Padding Right
|
|
3007
3007
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3008
3008
|
*/
|
|
3009
3009
|
"scroll-pr": [{
|
|
3010
|
-
"scroll-pr":
|
|
3010
|
+
"scroll-pr": w()
|
|
3011
3011
|
}],
|
|
3012
3012
|
/**
|
|
3013
3013
|
* Scroll Padding Bottom
|
|
3014
3014
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3015
3015
|
*/
|
|
3016
3016
|
"scroll-pb": [{
|
|
3017
|
-
"scroll-pb":
|
|
3017
|
+
"scroll-pb": w()
|
|
3018
3018
|
}],
|
|
3019
3019
|
/**
|
|
3020
3020
|
* Scroll Padding Left
|
|
3021
3021
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3022
3022
|
*/
|
|
3023
3023
|
"scroll-pl": [{
|
|
3024
|
-
"scroll-pl":
|
|
3024
|
+
"scroll-pl": w()
|
|
3025
3025
|
}],
|
|
3026
3026
|
/**
|
|
3027
3027
|
* Scroll Snap Align
|
|
@@ -3089,7 +3089,7 @@ const $ = (e) => {
|
|
|
3089
3089
|
* @see https://tailwindcss.com/docs/will-change
|
|
3090
3090
|
*/
|
|
3091
3091
|
"will-change": [{
|
|
3092
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
3092
|
+
"will-change": ["auto", "scroll", "contents", "transform", C, h]
|
|
3093
3093
|
}],
|
|
3094
3094
|
// -----------
|
|
3095
3095
|
// --- SVG ---
|
|
@@ -3099,7 +3099,7 @@ const $ = (e) => {
|
|
|
3099
3099
|
* @see https://tailwindcss.com/docs/fill
|
|
3100
3100
|
*/
|
|
3101
3101
|
fill: [{
|
|
3102
|
-
fill: ["none", ...
|
|
3102
|
+
fill: ["none", ...D()]
|
|
3103
3103
|
}],
|
|
3104
3104
|
/**
|
|
3105
3105
|
* Stroke Width
|
|
@@ -3113,7 +3113,7 @@ const $ = (e) => {
|
|
|
3113
3113
|
* @see https://tailwindcss.com/docs/stroke
|
|
3114
3114
|
*/
|
|
3115
3115
|
stroke: [{
|
|
3116
|
-
stroke: ["none", ...
|
|
3116
|
+
stroke: ["none", ...D()]
|
|
3117
3117
|
}],
|
|
3118
3118
|
// ---------------------
|
|
3119
3119
|
// --- Accessibility ---
|
|
@@ -3197,10 +3197,10 @@ const p1 = ({
|
|
|
3197
3197
|
cssClass: l,
|
|
3198
3198
|
labelCssClass: d,
|
|
3199
3199
|
errorCssClass: u,
|
|
3200
|
-
captionDescription:
|
|
3200
|
+
captionDescription: p,
|
|
3201
3201
|
children: x
|
|
3202
3202
|
}) => {
|
|
3203
|
-
const m = `${e}-label`, L = s ? `${e}-desc` : void 0, y = a ? `${e}-err` : void 0,
|
|
3203
|
+
const m = `${e}-label`, L = s ? `${e}-desc` : void 0, y = a ? `${e}-err` : void 0, N = `${e}-caption-desc`, R = [L, y].filter(Boolean).join(" ") || void 0, b = j(() => typeof a == "boolean" ? null : typeof a == "string" || typeof a > "u" ? a ? /* @__PURE__ */ o(
|
|
3204
3204
|
"div",
|
|
3205
3205
|
{
|
|
3206
3206
|
id: y,
|
|
@@ -3219,7 +3219,7 @@ const p1 = ({
|
|
|
3219
3219
|
children: a
|
|
3220
3220
|
}
|
|
3221
3221
|
), [a, u, y]);
|
|
3222
|
-
return /* @__PURE__ */
|
|
3222
|
+
return /* @__PURE__ */ v(
|
|
3223
3223
|
"div",
|
|
3224
3224
|
{
|
|
3225
3225
|
role: "group",
|
|
@@ -3252,20 +3252,20 @@ const p1 = ({
|
|
|
3252
3252
|
)
|
|
3253
3253
|
}
|
|
3254
3254
|
),
|
|
3255
|
-
/* @__PURE__ */
|
|
3255
|
+
/* @__PURE__ */ v("div", { className: "min-w-0 w-full", children: [
|
|
3256
3256
|
x,
|
|
3257
|
-
|
|
3257
|
+
p && /* @__PURE__ */ o(
|
|
3258
3258
|
"div",
|
|
3259
3259
|
{
|
|
3260
|
-
id:
|
|
3260
|
+
id: N,
|
|
3261
3261
|
className: q({
|
|
3262
3262
|
"dial-tiny text-secondary mt-1": !0,
|
|
3263
3263
|
"text-error": !!a
|
|
3264
3264
|
}),
|
|
3265
|
-
children:
|
|
3265
|
+
children: p
|
|
3266
3266
|
}
|
|
3267
3267
|
),
|
|
3268
|
-
|
|
3268
|
+
b()
|
|
3269
3269
|
] })
|
|
3270
3270
|
]
|
|
3271
3271
|
}
|
|
@@ -3296,7 +3296,7 @@ const p1 = ({
|
|
|
3296
3296
|
kt,
|
|
3297
3297
|
It[c]
|
|
3298
3298
|
),
|
|
3299
|
-
children: a.map((d) => /* @__PURE__ */
|
|
3299
|
+
children: a.map((d) => /* @__PURE__ */ v("div", { className: "flex flex-col", children: [
|
|
3300
3300
|
/* @__PURE__ */ o(
|
|
3301
3301
|
Lt,
|
|
3302
3302
|
{
|
|
@@ -3320,7 +3320,7 @@ const p1 = ({
|
|
|
3320
3320
|
icon: e,
|
|
3321
3321
|
title: r,
|
|
3322
3322
|
description: t
|
|
3323
|
-
}) => /* @__PURE__ */
|
|
3323
|
+
}) => /* @__PURE__ */ v("div", { className: "h-full w-full flex flex-col items-center justify-center text-secondary", children: [
|
|
3324
3324
|
e || /* @__PURE__ */ o(_1, { width: 60, height: 60 }),
|
|
3325
3325
|
/* @__PURE__ */ o("span", { className: "dial-small mt-2 text-primary", children: r }),
|
|
3326
3326
|
t && /* @__PURE__ */ o("span", { className: "mt-1 text-primary", children: t })
|
|
@@ -3333,7 +3333,7 @@ const p1 = ({
|
|
|
3333
3333
|
titleCssClass: a,
|
|
3334
3334
|
additionalButtons: i
|
|
3335
3335
|
}) => {
|
|
3336
|
-
const [c, l] = B(t), [d, u] = B(!0),
|
|
3336
|
+
const [c, l] = B(t), [d, u] = B(!0), p = g([
|
|
3337
3337
|
"transform rotate-180 [writing-mode:tb-rl]",
|
|
3338
3338
|
d && "hidden",
|
|
3339
3339
|
a
|
|
@@ -3343,7 +3343,7 @@ const p1 = ({
|
|
|
3343
3343
|
]), m = () => {
|
|
3344
3344
|
l(d ? pn : t), u(!d);
|
|
3345
3345
|
};
|
|
3346
|
-
return /* @__PURE__ */
|
|
3346
|
+
return /* @__PURE__ */ v(
|
|
3347
3347
|
"div",
|
|
3348
3348
|
{
|
|
3349
3349
|
className: g([
|
|
@@ -3362,8 +3362,8 @@ const p1 = ({
|
|
|
3362
3362
|
children: r
|
|
3363
3363
|
}
|
|
3364
3364
|
),
|
|
3365
|
-
/* @__PURE__ */ o("div", { className:
|
|
3366
|
-
/* @__PURE__ */
|
|
3365
|
+
/* @__PURE__ */ o("div", { className: p, children: n }),
|
|
3366
|
+
/* @__PURE__ */ v("div", { className: x, children: [
|
|
3367
3367
|
d && i,
|
|
3368
3368
|
/* @__PURE__ */ o(
|
|
3369
3369
|
re,
|
|
@@ -3394,13 +3394,13 @@ const p1 = ({
|
|
|
3394
3394
|
text: r,
|
|
3395
3395
|
children: t,
|
|
3396
3396
|
postfix: n
|
|
3397
|
-
}) => /* @__PURE__ */
|
|
3397
|
+
}) => /* @__PURE__ */ v(
|
|
3398
3398
|
"div",
|
|
3399
3399
|
{
|
|
3400
3400
|
className: g("flex flex-col", t ? "" : "max-w-[200px]"),
|
|
3401
3401
|
children: [
|
|
3402
3402
|
/* @__PURE__ */ o("label", { className: "dial-tiny mb-2 text-secondary", children: e }),
|
|
3403
|
-
t || /* @__PURE__ */
|
|
3403
|
+
t || /* @__PURE__ */ v("div", { className: "flex flex-row items-center", children: [
|
|
3404
3404
|
/* @__PURE__ */ o(fe, { triggerClassName: "text-primary", tooltip: r, children: r }),
|
|
3405
3405
|
n || null
|
|
3406
3406
|
] })
|
|
@@ -3418,29 +3418,29 @@ const fn = {
|
|
|
3418
3418
|
hideTooltip: n,
|
|
3419
3419
|
...s
|
|
3420
3420
|
}) => {
|
|
3421
|
-
const a = le(null), [i, c] = B(!1), [l, d] = B(""), u = le(null),
|
|
3421
|
+
const a = le(null), [i, c] = B(!1), [l, d] = B(""), u = le(null), p = () => {
|
|
3422
3422
|
const y = a.current;
|
|
3423
3423
|
if (!y) return;
|
|
3424
3424
|
d(y.textContent ?? "");
|
|
3425
|
-
const
|
|
3426
|
-
c(R >
|
|
3425
|
+
const N = y.clientWidth, R = y.scrollWidth, b = Math.ceil(y.getBoundingClientRect().width);
|
|
3426
|
+
c(R > N || R > b);
|
|
3427
3427
|
}, x = j(() => {
|
|
3428
|
-
u.current && cancelAnimationFrame(u.current), u.current = requestAnimationFrame(
|
|
3428
|
+
u.current && cancelAnimationFrame(u.current), u.current = requestAnimationFrame(p);
|
|
3429
3429
|
}, []);
|
|
3430
3430
|
se(() => {
|
|
3431
3431
|
x();
|
|
3432
3432
|
const y = () => x();
|
|
3433
3433
|
window.addEventListener("resize", y);
|
|
3434
|
-
let
|
|
3435
|
-
return "ResizeObserver" in window && a.current && (
|
|
3436
|
-
window.removeEventListener("resize", y),
|
|
3434
|
+
let N = null;
|
|
3435
|
+
return "ResizeObserver" in window && a.current && (N = new ResizeObserver(() => x()), N.observe(a.current)), () => {
|
|
3436
|
+
window.removeEventListener("resize", y), N && N.disconnect(), u.current && cancelAnimationFrame(u.current);
|
|
3437
3437
|
};
|
|
3438
3438
|
}, [e, x]);
|
|
3439
3439
|
const m = A(
|
|
3440
3440
|
() => typeof e == "string" ? e : l,
|
|
3441
3441
|
[l, e]
|
|
3442
3442
|
), L = A(() => n ? "" : i ? m : "", [m, n, i]);
|
|
3443
|
-
return /* @__PURE__ */
|
|
3443
|
+
return /* @__PURE__ */ v(X1, { ...s, children: [
|
|
3444
3444
|
/* @__PURE__ */ o(
|
|
3445
3445
|
J1,
|
|
3446
3446
|
{
|
|
@@ -3489,7 +3489,7 @@ const fn = {
|
|
|
3489
3489
|
a ? "border" : "border-transparent",
|
|
3490
3490
|
r
|
|
3491
3491
|
);
|
|
3492
|
-
return /* @__PURE__ */
|
|
3492
|
+
return /* @__PURE__ */ v("div", { className: c, children: [
|
|
3493
3493
|
/* @__PURE__ */ o(Z, { icon: s }),
|
|
3494
3494
|
/* @__PURE__ */ o(Ne, { text: e }),
|
|
3495
3495
|
t && /* @__PURE__ */ o(
|
|
@@ -3784,8 +3784,8 @@ function r1(e, r, t, n) {
|
|
|
3784
3784
|
const d = a[l];
|
|
3785
3785
|
if (!c(d))
|
|
3786
3786
|
return !1;
|
|
3787
|
-
const u = e[d],
|
|
3788
|
-
if (s = void 0, s === !1 || s === void 0 && u !==
|
|
3787
|
+
const u = e[d], p = r[d];
|
|
3788
|
+
if (s = void 0, s === !1 || s === void 0 && u !== p)
|
|
3789
3789
|
return !1;
|
|
3790
3790
|
}
|
|
3791
3791
|
return !0;
|
|
@@ -4163,7 +4163,7 @@ const k1 = "column", Kn = "flex items-center", Xn = "mr-3 cursor-move text-secon
|
|
|
4163
4163
|
moveItem: s,
|
|
4164
4164
|
handleAriaLabel: a = "Drag item"
|
|
4165
4165
|
}) => {
|
|
4166
|
-
const i = le(null), c = le(null), l = typeof n == "function" ? n(e) : -1, [{ isDragging: d }, u,
|
|
4166
|
+
const i = le(null), c = le(null), l = typeof n == "function" ? n(e) : -1, [{ isDragging: d }, u, p] = jn(
|
|
4167
4167
|
() => ({
|
|
4168
4168
|
type: k1,
|
|
4169
4169
|
item: { id: e, originalIndex: l },
|
|
@@ -4191,7 +4191,7 @@ const k1 = "column", Kn = "flex items-center", Xn = "mr-3 cursor-move text-secon
|
|
|
4191
4191
|
}),
|
|
4192
4192
|
[n, s, e]
|
|
4193
4193
|
);
|
|
4194
|
-
return
|
|
4194
|
+
return p(x(c)), u(i), /* @__PURE__ */ v(
|
|
4195
4195
|
"div",
|
|
4196
4196
|
{
|
|
4197
4197
|
ref: c,
|
|
@@ -4327,25 +4327,25 @@ const ao = g(
|
|
|
4327
4327
|
onOpenChange: l,
|
|
4328
4328
|
closable: d = !1,
|
|
4329
4329
|
onClose: u,
|
|
4330
|
-
cssClass:
|
|
4330
|
+
cssClass: p,
|
|
4331
4331
|
listClassName: x,
|
|
4332
4332
|
outsidePressIgnoreRef: m,
|
|
4333
4333
|
outsideClosable: L = !0,
|
|
4334
4334
|
allowedPlacements: y
|
|
4335
4335
|
}) => {
|
|
4336
|
-
const [
|
|
4336
|
+
const [N, R] = B(c), b = i !== void 0, k = b ? !!i : N, T = j(
|
|
4337
4337
|
(I) => {
|
|
4338
|
-
|
|
4338
|
+
b || R(I), l?.(I);
|
|
4339
4339
|
},
|
|
4340
|
-
[
|
|
4341
|
-
), V = W1(), W = (I) => I ? "clientWidth" in I ? I.clientWidth : I.getBoundingClientRect?.()?.width ?? 0 : 0,
|
|
4340
|
+
[b, l]
|
|
4341
|
+
), V = W1(), W = (I) => I ? "clientWidth" in I ? I.clientWidth : I.getBoundingClientRect?.()?.width ?? 0 : 0, $ = s === void 0, { refs: w, floatingStyles: O, context: F } = s1({
|
|
4342
4342
|
placement: s,
|
|
4343
|
-
open:
|
|
4344
|
-
onOpenChange:
|
|
4343
|
+
open: k,
|
|
4344
|
+
onOpenChange: T,
|
|
4345
4345
|
whileElementsMounted: E1,
|
|
4346
4346
|
middleware: [
|
|
4347
4347
|
O1({ mainAxis: Se, crossAxis: 0 }),
|
|
4348
|
-
|
|
4348
|
+
$ ? vr({
|
|
4349
4349
|
alignment: "start",
|
|
4350
4350
|
crossAxis: !0,
|
|
4351
4351
|
padding: Se,
|
|
@@ -4355,14 +4355,14 @@ const ao = g(
|
|
|
4355
4355
|
wr({
|
|
4356
4356
|
padding: Se,
|
|
4357
4357
|
apply({ availableWidth: I, availableHeight: U, elements: ae }) {
|
|
4358
|
-
const z = ae.floating,
|
|
4358
|
+
const z = ae.floating, f = W(ae.reference);
|
|
4359
4359
|
z.style.setProperty(
|
|
4360
4360
|
"--reference-width",
|
|
4361
|
-
`${Math.round(
|
|
4361
|
+
`${Math.round(f)}px`
|
|
4362
4362
|
), z.style.setProperty(
|
|
4363
4363
|
"--fui-available-height",
|
|
4364
4364
|
`${Math.floor(U)}px`
|
|
4365
|
-
), z.style.minWidth = `${Math.round(
|
|
4365
|
+
), z.style.minWidth = `${Math.round(f)}px`, z.style.maxWidth = `${Math.floor(I)}px`, z.style.maxHeight = `${Math.floor(U)}px`;
|
|
4366
4366
|
}
|
|
4367
4367
|
})
|
|
4368
4368
|
]
|
|
@@ -4387,14 +4387,14 @@ const ao = g(
|
|
|
4387
4387
|
me,
|
|
4388
4388
|
Y
|
|
4389
4389
|
]), ne = (I) => {
|
|
4390
|
-
!n.includes(be.ContextMenu) || a || (I.preventDefault(),
|
|
4390
|
+
!n.includes(be.ContextMenu) || a || (I.preventDefault(), T(!0));
|
|
4391
4391
|
};
|
|
4392
4392
|
se(() => {
|
|
4393
|
-
a &&
|
|
4394
|
-
}, [a,
|
|
4395
|
-
const
|
|
4396
|
-
I.disabled || (I.onClick?.({ key: I.key, domEvent: U }), r?.onClick?.({ key: I.key, domEvent: U }),
|
|
4397
|
-
}, ce = t ? t() : r && /* @__PURE__ */
|
|
4393
|
+
a && k && T(!1);
|
|
4394
|
+
}, [a, k, T]);
|
|
4395
|
+
const D = (I) => (U) => {
|
|
4396
|
+
I.disabled || (I.onClick?.({ key: I.key, domEvent: U }), r?.onClick?.({ key: I.key, domEvent: U }), T(!1));
|
|
4397
|
+
}, ce = t ? t() : r && /* @__PURE__ */ v(Ce, { children: [
|
|
4398
4398
|
r.header && /* @__PURE__ */ o(Ce, { children: typeof r.header == "function" ? r.header() : r.header }),
|
|
4399
4399
|
/* @__PURE__ */ o("div", { role: "none", className: "py-1", children: r.items.map((I) => I.type === fr.Divider ? /* @__PURE__ */ o(
|
|
4400
4400
|
"div",
|
|
@@ -4403,7 +4403,7 @@ const ao = g(
|
|
|
4403
4403
|
className: po
|
|
4404
4404
|
},
|
|
4405
4405
|
I.key
|
|
4406
|
-
) : /* @__PURE__ */
|
|
4406
|
+
) : /* @__PURE__ */ v(
|
|
4407
4407
|
"button",
|
|
4408
4408
|
{
|
|
4409
4409
|
role: "menuitem",
|
|
@@ -4415,7 +4415,7 @@ const ao = g(
|
|
|
4415
4415
|
I.danger && uo
|
|
4416
4416
|
),
|
|
4417
4417
|
disabled: I.disabled,
|
|
4418
|
-
onClick:
|
|
4418
|
+
onClick: D(I),
|
|
4419
4419
|
children: [
|
|
4420
4420
|
I.icon && /* @__PURE__ */ o(
|
|
4421
4421
|
"span",
|
|
@@ -4444,36 +4444,36 @@ const ao = g(
|
|
|
4444
4444
|
)) }),
|
|
4445
4445
|
r.footer && /* @__PURE__ */ o(Ce, { children: typeof r.footer == "function" ? r.footer() : r.footer })
|
|
4446
4446
|
] });
|
|
4447
|
-
return /* @__PURE__ */
|
|
4447
|
+
return /* @__PURE__ */ v(Ce, { children: [
|
|
4448
4448
|
/* @__PURE__ */ o(
|
|
4449
4449
|
"span",
|
|
4450
4450
|
{
|
|
4451
|
-
ref:
|
|
4451
|
+
ref: w.setReference,
|
|
4452
4452
|
className: g(
|
|
4453
4453
|
ao,
|
|
4454
4454
|
a && "!cursor-not-allowed opacity-75",
|
|
4455
|
-
|
|
4455
|
+
p
|
|
4456
4456
|
),
|
|
4457
4457
|
"aria-haspopup": "menu",
|
|
4458
|
-
"aria-expanded":
|
|
4458
|
+
"aria-expanded": k,
|
|
4459
4459
|
"aria-controls": V,
|
|
4460
4460
|
onContextMenu: ne,
|
|
4461
4461
|
...te(),
|
|
4462
4462
|
children: e
|
|
4463
4463
|
}
|
|
4464
4464
|
),
|
|
4465
|
-
|
|
4465
|
+
k && /* @__PURE__ */ o(c1, { children: /* @__PURE__ */ o(
|
|
4466
4466
|
F1,
|
|
4467
4467
|
{
|
|
4468
4468
|
context: F,
|
|
4469
4469
|
modal: !1,
|
|
4470
4470
|
initialFocus: -1,
|
|
4471
4471
|
returnFocus: !0,
|
|
4472
|
-
children: /* @__PURE__ */
|
|
4472
|
+
children: /* @__PURE__ */ v(
|
|
4473
4473
|
"div",
|
|
4474
4474
|
{
|
|
4475
4475
|
id: V,
|
|
4476
|
-
ref:
|
|
4476
|
+
ref: w.setFloating,
|
|
4477
4477
|
style: O,
|
|
4478
4478
|
className: g(io, x),
|
|
4479
4479
|
...K(),
|
|
@@ -4483,7 +4483,7 @@ const ao = g(
|
|
|
4483
4483
|
{
|
|
4484
4484
|
ariaLabel: "Close dropdown",
|
|
4485
4485
|
onClose: (I) => {
|
|
4486
|
-
u?.(I),
|
|
4486
|
+
u?.(I), T(!1);
|
|
4487
4487
|
}
|
|
4488
4488
|
}
|
|
4489
4489
|
) }),
|
|
@@ -4515,7 +4515,7 @@ const ao = g(
|
|
|
4515
4515
|
},
|
|
4516
4516
|
s
|
|
4517
4517
|
);
|
|
4518
|
-
return /* @__PURE__ */
|
|
4518
|
+
return /* @__PURE__ */ v(
|
|
4519
4519
|
"button",
|
|
4520
4520
|
{
|
|
4521
4521
|
role: "tab",
|
|
@@ -4539,59 +4539,58 @@ const ao = g(
|
|
|
4539
4539
|
tabs: e,
|
|
4540
4540
|
activeTab: r,
|
|
4541
4541
|
onClick: t,
|
|
4542
|
-
|
|
4543
|
-
orientation: s = n1.Horizontal
|
|
4542
|
+
orientation: n = n1.Horizontal
|
|
4544
4543
|
}) => {
|
|
4545
|
-
const [
|
|
4544
|
+
const [s, a] = B(!1), [i, c] = B(!1), [l, d] = B(!1), u = oo(), p = n === n1.Horizontal, x = le(null), m = le(null), L = le(null), y = e.find((b) => b.id === r), N = A(
|
|
4546
4545
|
() => g(
|
|
4547
4546
|
"flex gap-3",
|
|
4548
|
-
|
|
4547
|
+
p ? "flex-row flex-nowrap overflow-x-auto" : "flex-col flex-wrap w-full"
|
|
4549
4548
|
),
|
|
4550
|
-
[
|
|
4551
|
-
),
|
|
4552
|
-
const
|
|
4553
|
-
|
|
4549
|
+
[p]
|
|
4550
|
+
), R = j(() => {
|
|
4551
|
+
const b = m.current;
|
|
4552
|
+
b && d(b.scrollWidth > b.clientWidth);
|
|
4554
4553
|
}, []);
|
|
4555
4554
|
return se(() => {
|
|
4556
|
-
|
|
4557
|
-
const
|
|
4558
|
-
return
|
|
4559
|
-
}, [e,
|
|
4560
|
-
const
|
|
4561
|
-
if (!
|
|
4562
|
-
const
|
|
4563
|
-
|
|
4564
|
-
left:
|
|
4555
|
+
R();
|
|
4556
|
+
const b = new ResizeObserver(R), k = m.current;
|
|
4557
|
+
return k && b.observe(k), () => b.disconnect();
|
|
4558
|
+
}, [e, R]), se(() => {
|
|
4559
|
+
const b = L.current, k = m.current;
|
|
4560
|
+
if (!b || !k) return;
|
|
4561
|
+
const T = b.offsetLeft, V = T + b.offsetWidth, W = k.scrollLeft, $ = W + k.clientWidth;
|
|
4562
|
+
T < W ? k.scrollTo({
|
|
4563
|
+
left: T - S1,
|
|
4565
4564
|
behavior: "smooth"
|
|
4566
|
-
}) :
|
|
4567
|
-
left:
|
|
4565
|
+
}) : V > $ && k.scrollTo({
|
|
4566
|
+
left: V - k.clientWidth + S1,
|
|
4568
4567
|
behavior: "smooth"
|
|
4569
4568
|
});
|
|
4570
|
-
}, [r]),
|
|
4569
|
+
}, [r]), u ? /* @__PURE__ */ o("div", { className: "h-11 flex items-center bg-layer-3 px-4", children: /* @__PURE__ */ o(
|
|
4571
4570
|
o1,
|
|
4572
4571
|
{
|
|
4573
4572
|
trigger: [be.Click],
|
|
4574
|
-
open:
|
|
4575
|
-
onOpenChange:
|
|
4573
|
+
open: s,
|
|
4574
|
+
onOpenChange: a,
|
|
4576
4575
|
placement: "bottom-start",
|
|
4577
4576
|
allowedPlacements: ["bottom-start", "top-start"],
|
|
4578
|
-
renderOverlay: () => e.map((
|
|
4577
|
+
renderOverlay: () => e.map((b) => /* @__PURE__ */ o(
|
|
4579
4578
|
ze,
|
|
4580
4579
|
{
|
|
4581
|
-
tab:
|
|
4582
|
-
active:
|
|
4583
|
-
onClick: (
|
|
4584
|
-
t(
|
|
4580
|
+
tab: b,
|
|
4581
|
+
active: b.id === r,
|
|
4582
|
+
onClick: (k) => {
|
|
4583
|
+
t(k), a(!1);
|
|
4585
4584
|
},
|
|
4586
4585
|
cssClass: "w-full rounded-none h-11 items-center px-6"
|
|
4587
4586
|
},
|
|
4588
|
-
|
|
4587
|
+
b.id
|
|
4589
4588
|
)),
|
|
4590
|
-
children: /* @__PURE__ */
|
|
4589
|
+
children: /* @__PURE__ */ v("div", { className: "flex gap-2 items-center h-11 cursor-pointer", children: [
|
|
4591
4590
|
/* @__PURE__ */ o(
|
|
4592
4591
|
ze,
|
|
4593
4592
|
{
|
|
4594
|
-
tab:
|
|
4593
|
+
tab: y,
|
|
4595
4594
|
active: !0,
|
|
4596
4595
|
onClick: t,
|
|
4597
4596
|
cssClass: "rounded-none bg-transparent border-l-0 border-b-[2px] border-accent-primary h-full items-center px-0"
|
|
@@ -4604,7 +4603,7 @@ const ao = g(
|
|
|
4604
4603
|
icon: /* @__PURE__ */ o(U1, { size: 16 }),
|
|
4605
4604
|
className: g(
|
|
4606
4605
|
"text-primary transition-transform",
|
|
4607
|
-
|
|
4606
|
+
s && "rotate-180"
|
|
4608
4607
|
)
|
|
4609
4608
|
}
|
|
4610
4609
|
)
|
|
@@ -4612,43 +4611,43 @@ const ao = g(
|
|
|
4612
4611
|
}
|
|
4613
4612
|
) }) : (
|
|
4614
4613
|
// Desktop
|
|
4615
|
-
/* @__PURE__ */
|
|
4616
|
-
/* @__PURE__ */ o("div", { ref:
|
|
4614
|
+
/* @__PURE__ */ v("div", { ref: x, className: "flex w-full items-start", children: [
|
|
4615
|
+
/* @__PURE__ */ o("div", { ref: m, className: N, children: e.map((b) => /* @__PURE__ */ o(
|
|
4617
4616
|
"div",
|
|
4618
4617
|
{
|
|
4619
|
-
ref: r ===
|
|
4618
|
+
ref: r === b.id ? L : void 0,
|
|
4620
4619
|
className: "w-full",
|
|
4621
4620
|
children: /* @__PURE__ */ o(
|
|
4622
4621
|
ze,
|
|
4623
4622
|
{
|
|
4624
|
-
tab:
|
|
4625
|
-
active: r ===
|
|
4623
|
+
tab: b,
|
|
4624
|
+
active: r === b.id,
|
|
4626
4625
|
onClick: t,
|
|
4627
|
-
horizontal:
|
|
4626
|
+
horizontal: p,
|
|
4628
4627
|
cssClass: "w-full"
|
|
4629
4628
|
}
|
|
4630
4629
|
)
|
|
4631
4630
|
},
|
|
4632
|
-
|
|
4631
|
+
b.id
|
|
4633
4632
|
)) }),
|
|
4634
|
-
|
|
4633
|
+
l && /* @__PURE__ */ o("div", { className: "flex items-center ml-2", children: /* @__PURE__ */ o(
|
|
4635
4634
|
o1,
|
|
4636
4635
|
{
|
|
4637
4636
|
trigger: [be.Click],
|
|
4638
|
-
open:
|
|
4639
|
-
onOpenChange:
|
|
4637
|
+
open: i,
|
|
4638
|
+
onOpenChange: c,
|
|
4640
4639
|
placement: "bottom-end",
|
|
4641
|
-
renderOverlay: () => e.map((
|
|
4640
|
+
renderOverlay: () => e.map((b) => /* @__PURE__ */ o(
|
|
4642
4641
|
ze,
|
|
4643
4642
|
{
|
|
4644
|
-
tab:
|
|
4645
|
-
active:
|
|
4646
|
-
onClick: (
|
|
4647
|
-
t(
|
|
4643
|
+
tab: b,
|
|
4644
|
+
active: b.id === r,
|
|
4645
|
+
onClick: (k) => {
|
|
4646
|
+
t(k), c(!1);
|
|
4648
4647
|
},
|
|
4649
4648
|
cssClass: "w-full rounded-none h-[32px] items-center px-3 py-2"
|
|
4650
4649
|
},
|
|
4651
|
-
|
|
4650
|
+
b.id
|
|
4652
4651
|
)),
|
|
4653
4652
|
children: /* @__PURE__ */ o(
|
|
4654
4653
|
re,
|
|
@@ -4656,7 +4655,7 @@ const ao = g(
|
|
|
4656
4655
|
iconBefore: /* @__PURE__ */ o(ot, { size: 18 }),
|
|
4657
4656
|
cssClass: g(
|
|
4658
4657
|
"w-8 h-8 flex items-center justify-center rounded border",
|
|
4659
|
-
|
|
4658
|
+
i ? "bg-layer-4 border-transparent" : "border-primary"
|
|
4660
4659
|
)
|
|
4661
4660
|
}
|
|
4662
4661
|
)
|
|
@@ -4675,9 +4674,9 @@ const ao = g(
|
|
|
4675
4674
|
iconBefore: c,
|
|
4676
4675
|
titleCssClass: l
|
|
4677
4676
|
}) => {
|
|
4678
|
-
const d = q(go, i), u = !!r && !s && !n,
|
|
4679
|
-
return /* @__PURE__ */
|
|
4680
|
-
u ? /* @__PURE__ */
|
|
4677
|
+
const d = q(go, i), u = !!r && !s && !n, p = typeof e == "string" ? /* @__PURE__ */ o(Ne, { text: e }) : e;
|
|
4678
|
+
return /* @__PURE__ */ v("li", { className: d, children: [
|
|
4679
|
+
u ? /* @__PURE__ */ v(
|
|
4681
4680
|
"a",
|
|
4682
4681
|
{
|
|
4683
4682
|
className: q(
|
|
@@ -4689,10 +4688,10 @@ const ao = g(
|
|
|
4689
4688
|
onClick: t,
|
|
4690
4689
|
children: [
|
|
4691
4690
|
c,
|
|
4692
|
-
|
|
4691
|
+
p
|
|
4693
4692
|
]
|
|
4694
4693
|
}
|
|
4695
|
-
) : /* @__PURE__ */
|
|
4694
|
+
) : /* @__PURE__ */ v(
|
|
4696
4695
|
"span",
|
|
4697
4696
|
{
|
|
4698
4697
|
className: q(
|
|
@@ -4705,7 +4704,7 @@ const ao = g(
|
|
|
4705
4704
|
"aria-disabled": n ? "true" : void 0,
|
|
4706
4705
|
children: [
|
|
4707
4706
|
c,
|
|
4708
|
-
|
|
4707
|
+
p
|
|
4709
4708
|
]
|
|
4710
4709
|
}
|
|
4711
4710
|
),
|
|
@@ -4822,30 +4821,30 @@ const ao = g(
|
|
|
4822
4821
|
tooltipTriggerClassName: l,
|
|
4823
4822
|
type: d = "text",
|
|
4824
4823
|
disabled: u,
|
|
4825
|
-
readonly:
|
|
4824
|
+
readonly: p,
|
|
4826
4825
|
invalid: x,
|
|
4827
4826
|
onChange: m,
|
|
4828
4827
|
min: L,
|
|
4829
4828
|
max: y,
|
|
4830
|
-
prefix:
|
|
4829
|
+
prefix: N,
|
|
4831
4830
|
suffix: R,
|
|
4832
|
-
textBeforeInput:
|
|
4833
|
-
textAfterInput:
|
|
4834
|
-
onBlur:
|
|
4831
|
+
textBeforeInput: b,
|
|
4832
|
+
textAfterInput: k,
|
|
4833
|
+
onBlur: T,
|
|
4835
4834
|
defaultValue: V
|
|
4836
4835
|
}) => {
|
|
4837
|
-
const W = (F) => F.target.blur(),
|
|
4836
|
+
const W = (F) => F.target.blur(), $ = d === "number" || L !== void 0 || y !== void 0, w = (F) => {
|
|
4838
4837
|
wo(F, d, L, y);
|
|
4839
4838
|
}, O = (F) => {
|
|
4840
4839
|
const _ = F.currentTarget.value;
|
|
4841
|
-
if (
|
|
4840
|
+
if ($ && _ !== "") {
|
|
4842
4841
|
const X = parseFloat(_);
|
|
4843
4842
|
if (isNaN(X) && _ !== "-" && _ !== "." || !isNaN(X) && (L !== void 0 && X < L || y !== void 0 && X > y))
|
|
4844
4843
|
return;
|
|
4845
4844
|
}
|
|
4846
4845
|
m?.(_);
|
|
4847
4846
|
};
|
|
4848
|
-
return /* @__PURE__ */
|
|
4847
|
+
return /* @__PURE__ */ v(
|
|
4849
4848
|
"div",
|
|
4850
4849
|
{
|
|
4851
4850
|
className: g(
|
|
@@ -4853,26 +4852,26 @@ const ao = g(
|
|
|
4853
4852
|
t ? "dial-input-no-border" : "dial-input",
|
|
4854
4853
|
x && "dial-input-error",
|
|
4855
4854
|
u && "dial-input-disable",
|
|
4856
|
-
|
|
4857
|
-
!
|
|
4858
|
-
!
|
|
4855
|
+
p && "dial-input-readonly",
|
|
4856
|
+
!b && "pl-3",
|
|
4857
|
+
!k && "pr-3",
|
|
4859
4858
|
c
|
|
4860
4859
|
),
|
|
4861
4860
|
children: [
|
|
4862
|
-
|
|
4861
|
+
b && /* @__PURE__ */ o("div", { className: "mr-2", children: /* @__PURE__ */ o(
|
|
4863
4862
|
Be,
|
|
4864
4863
|
{
|
|
4865
4864
|
hideBorder: !0,
|
|
4866
4865
|
containerCssClass: "rounded-r-none border-r-0",
|
|
4867
4866
|
cssClass: "overflow-hidden overflow-ellipsis dial-small",
|
|
4868
|
-
value:
|
|
4867
|
+
value: b,
|
|
4869
4868
|
disabled: !0,
|
|
4870
|
-
elementId:
|
|
4869
|
+
elementId: b + "textBefore"
|
|
4871
4870
|
}
|
|
4872
4871
|
) }),
|
|
4873
|
-
|
|
4872
|
+
N && /* @__PURE__ */ v("p", { className: "text-secondary dial-small mr-2", children: [
|
|
4874
4873
|
" ",
|
|
4875
|
-
|
|
4874
|
+
N
|
|
4876
4875
|
] }),
|
|
4877
4876
|
/* @__PURE__ */ o(Z, { icon: e }),
|
|
4878
4877
|
/* @__PURE__ */ o(
|
|
@@ -4890,10 +4889,10 @@ const ao = g(
|
|
|
4890
4889
|
value: V ? void 0 : n ?? "",
|
|
4891
4890
|
disabled: u,
|
|
4892
4891
|
className: g("border-0 bg-transparent w-full", i),
|
|
4893
|
-
onChange: (F) => !
|
|
4894
|
-
onKeyDown:
|
|
4892
|
+
onChange: (F) => !p && O?.(F),
|
|
4893
|
+
onKeyDown: w,
|
|
4895
4894
|
onWheel: W,
|
|
4896
|
-
onBlur:
|
|
4895
|
+
onBlur: T,
|
|
4897
4896
|
min: L,
|
|
4898
4897
|
max: y,
|
|
4899
4898
|
defaultValue: V
|
|
@@ -4902,18 +4901,18 @@ const ao = g(
|
|
|
4902
4901
|
}
|
|
4903
4902
|
),
|
|
4904
4903
|
/* @__PURE__ */ o(Z, { icon: r }),
|
|
4905
|
-
R && /* @__PURE__ */
|
|
4904
|
+
R && /* @__PURE__ */ v("p", { className: "text-secondary dial-small ml-2", children: [
|
|
4906
4905
|
" ",
|
|
4907
4906
|
R
|
|
4908
4907
|
] }),
|
|
4909
|
-
|
|
4908
|
+
k && /* @__PURE__ */ o("div", { className: "ml-2", children: /* @__PURE__ */ o(
|
|
4910
4909
|
Be,
|
|
4911
4910
|
{
|
|
4912
4911
|
hideBorder: !0,
|
|
4913
4912
|
containerCssClass: "rounded-l-none border-l-0",
|
|
4914
|
-
value:
|
|
4913
|
+
value: k,
|
|
4915
4914
|
disabled: !0,
|
|
4916
|
-
elementId:
|
|
4915
|
+
elementId: k + "textAfter"
|
|
4917
4916
|
}
|
|
4918
4917
|
) })
|
|
4919
4918
|
]
|
|
@@ -4931,7 +4930,7 @@ const ao = g(
|
|
|
4931
4930
|
defaultEmptyText: l,
|
|
4932
4931
|
min: d,
|
|
4933
4932
|
max: u,
|
|
4934
|
-
...
|
|
4933
|
+
...p
|
|
4935
4934
|
}) => /* @__PURE__ */ o(
|
|
4936
4935
|
p1,
|
|
4937
4936
|
{
|
|
@@ -4940,7 +4939,7 @@ const ao = g(
|
|
|
4940
4939
|
label: e,
|
|
4941
4940
|
optional: t,
|
|
4942
4941
|
cssClass: i,
|
|
4943
|
-
children: c ? /* @__PURE__ */ o("span", { children:
|
|
4942
|
+
children: c ? /* @__PURE__ */ o("span", { children: p.value || (l ?? "None") }) : /* @__PURE__ */ o(
|
|
4944
4943
|
Be,
|
|
4945
4944
|
{
|
|
4946
4945
|
elementId: a,
|
|
@@ -4949,7 +4948,7 @@ const ao = g(
|
|
|
4949
4948
|
invalid: r != null,
|
|
4950
4949
|
min: d,
|
|
4951
4950
|
max: u,
|
|
4952
|
-
...
|
|
4951
|
+
...p
|
|
4953
4952
|
}
|
|
4954
4953
|
)
|
|
4955
4954
|
}
|
|
@@ -4991,7 +4990,7 @@ const ao = g(
|
|
|
4991
4990
|
elementContainerCssClass: a,
|
|
4992
4991
|
errorText: i,
|
|
4993
4992
|
...c
|
|
4994
|
-
}) => /* @__PURE__ */
|
|
4993
|
+
}) => /* @__PURE__ */ v("div", { className: q("flex flex-col", s), children: [
|
|
4995
4994
|
/* @__PURE__ */ o(
|
|
4996
4995
|
Re,
|
|
4997
4996
|
{
|
|
@@ -5028,7 +5027,7 @@ const ao = g(
|
|
|
5028
5027
|
},
|
|
5029
5028
|
[s, t]
|
|
5030
5029
|
);
|
|
5031
|
-
return /* @__PURE__ */
|
|
5030
|
+
return /* @__PURE__ */ v("div", { className: "flex flex-row items-center", children: [
|
|
5032
5031
|
/* @__PURE__ */ o(
|
|
5033
5032
|
"input",
|
|
5034
5033
|
{
|
|
@@ -5070,32 +5069,32 @@ const Do = "z-[52] flex items-center justify-center bg-blackout md:p-4", Io = "d
|
|
|
5070
5069
|
onClose: d,
|
|
5071
5070
|
size: u = ue.Md
|
|
5072
5071
|
}) => {
|
|
5073
|
-
const { refs:
|
|
5072
|
+
const { refs: p, context: x } = s1({
|
|
5074
5073
|
open: e,
|
|
5075
|
-
onOpenChange: (
|
|
5076
|
-
|
|
5074
|
+
onOpenChange: (b) => {
|
|
5075
|
+
b || d?.(null);
|
|
5077
5076
|
}
|
|
5078
5077
|
}), m = i1(x, { role: "dialog" }), L = a1(x, { outsidePress: !0 }), { getFloatingProps: y } = l1([m, L]);
|
|
5079
5078
|
if (!e) return null;
|
|
5080
|
-
const
|
|
5079
|
+
const N = typeof r == "string" ? "dial-popup-heading" : void 0, R = (b) => b ? typeof b == "string" ? /* @__PURE__ */ o(
|
|
5081
5080
|
"h3",
|
|
5082
5081
|
{
|
|
5083
|
-
id:
|
|
5082
|
+
id: N,
|
|
5084
5083
|
className: g(
|
|
5085
5084
|
"flex-1 min-w-0 mr-3 truncate dial-h3 text-primary",
|
|
5086
5085
|
a
|
|
5087
5086
|
),
|
|
5088
|
-
children: /* @__PURE__ */ o(fe, { tooltip:
|
|
5087
|
+
children: /* @__PURE__ */ o(fe, { tooltip: b, children: b })
|
|
5089
5088
|
}
|
|
5090
|
-
) :
|
|
5091
|
-
return /* @__PURE__ */ o(c1, { id: t, children: /* @__PURE__ */ o(kr, { className: g(Do, s), children: /* @__PURE__ */ o(F1, { context: x, children: /* @__PURE__ */
|
|
5089
|
+
) : b : /* @__PURE__ */ o("span", {});
|
|
5090
|
+
return /* @__PURE__ */ o(c1, { id: t, children: /* @__PURE__ */ o(kr, { className: g(Do, s), children: /* @__PURE__ */ o(F1, { context: x, children: /* @__PURE__ */ v(
|
|
5092
5091
|
"div",
|
|
5093
5092
|
{
|
|
5094
|
-
ref:
|
|
5093
|
+
ref: p.setFloating,
|
|
5095
5094
|
...y(),
|
|
5096
5095
|
role: "dialog",
|
|
5097
5096
|
"aria-modal": "true",
|
|
5098
|
-
"aria-labelledby":
|
|
5097
|
+
"aria-labelledby": N,
|
|
5099
5098
|
className: g(
|
|
5100
5099
|
"dial-popup",
|
|
5101
5100
|
No[u],
|
|
@@ -5103,13 +5102,13 @@ const Do = "z-[52] flex items-center justify-center bg-blackout md:p-4", Io = "d
|
|
|
5103
5102
|
n
|
|
5104
5103
|
),
|
|
5105
5104
|
children: [
|
|
5106
|
-
/* @__PURE__ */
|
|
5105
|
+
/* @__PURE__ */ v("div", { className: So, children: [
|
|
5107
5106
|
R(r),
|
|
5108
5107
|
/* @__PURE__ */ o(
|
|
5109
5108
|
mr,
|
|
5110
5109
|
{
|
|
5111
5110
|
ariaLabel: "Close dialog",
|
|
5112
|
-
onClose: (
|
|
5111
|
+
onClose: (b) => d?.(b)
|
|
5113
5112
|
}
|
|
5114
5113
|
)
|
|
5115
5114
|
] }),
|
|
@@ -5142,15 +5141,15 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5142
5141
|
cssClass: l,
|
|
5143
5142
|
confirmClassName: d,
|
|
5144
5143
|
onClose: u,
|
|
5145
|
-
onConfirm:
|
|
5144
|
+
onConfirm: p,
|
|
5146
5145
|
onCancel: x,
|
|
5147
5146
|
children: m,
|
|
5148
5147
|
dividers: L = !1,
|
|
5149
5148
|
variant: y = We.Info,
|
|
5150
|
-
size:
|
|
5149
|
+
size: N = ue.Sm,
|
|
5151
5150
|
footer: R
|
|
5152
5151
|
}) => {
|
|
5153
|
-
const
|
|
5152
|
+
const b = i ? null : /* @__PURE__ */ v("div", { className: To, children: [
|
|
5154
5153
|
/* @__PURE__ */ o(
|
|
5155
5154
|
re,
|
|
5156
5155
|
{
|
|
@@ -5166,10 +5165,10 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5166
5165
|
cssClass: d,
|
|
5167
5166
|
title: s,
|
|
5168
5167
|
disable: c,
|
|
5169
|
-
onClick: () =>
|
|
5168
|
+
onClick: () => p()
|
|
5170
5169
|
}
|
|
5171
5170
|
)
|
|
5172
|
-
] }),
|
|
5171
|
+
] }), k = j(() => i ? /* @__PURE__ */ o("div", { className: "px-6 py-4 h-[120px]", children: /* @__PURE__ */ o(Q1, { size: 50 }) }) : m ?? (r ? /* @__PURE__ */ o(
|
|
5173
5172
|
"div",
|
|
5174
5173
|
{
|
|
5175
5174
|
className: g(Mo, t),
|
|
@@ -5184,9 +5183,9 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5184
5183
|
cssClass: g(T1[y].container, l),
|
|
5185
5184
|
dividers: L,
|
|
5186
5185
|
onClose: () => u?.(),
|
|
5187
|
-
footer: R ??
|
|
5188
|
-
size:
|
|
5189
|
-
children:
|
|
5186
|
+
footer: R ?? b,
|
|
5187
|
+
size: N,
|
|
5188
|
+
children: k()
|
|
5190
5189
|
}
|
|
5191
5190
|
);
|
|
5192
5191
|
}, Cr = ({ selectedItems: e, listCssClass: r, listElementCssClass: t }) => !!e?.length && /* @__PURE__ */ o(
|
|
@@ -5217,9 +5216,9 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5217
5216
|
errorText: l,
|
|
5218
5217
|
emptyValueText: d
|
|
5219
5218
|
}) => {
|
|
5220
|
-
const u = Array.isArray(n) && n.length > 0,
|
|
5221
|
-
return /* @__PURE__ */
|
|
5222
|
-
u ? /* @__PURE__ */ o("div", { className: "w-full", onClick: m, children: /* @__PURE__ */
|
|
5219
|
+
const u = Array.isArray(n) && n.length > 0, p = typeof n == "string" && !!n.trim(), x = u || p ? n : d, m = t ? void 0 : i;
|
|
5220
|
+
return /* @__PURE__ */ v(Ce, { children: [
|
|
5221
|
+
u ? /* @__PURE__ */ o("div", { className: "w-full", onClick: m, children: /* @__PURE__ */ v(
|
|
5223
5222
|
"div",
|
|
5224
5223
|
{
|
|
5225
5224
|
className: g(
|
|
@@ -5243,7 +5242,7 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5243
5242
|
) })
|
|
5244
5243
|
]
|
|
5245
5244
|
}
|
|
5246
|
-
) }) : /* @__PURE__ */
|
|
5245
|
+
) }) : /* @__PURE__ */ v(Ce, { children: [
|
|
5247
5246
|
/* @__PURE__ */ o(
|
|
5248
5247
|
"button",
|
|
5249
5248
|
{
|
|
@@ -5252,7 +5251,7 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5252
5251
|
onClick: m,
|
|
5253
5252
|
"aria-label": "open-popup",
|
|
5254
5253
|
id: c,
|
|
5255
|
-
children: /* @__PURE__ */
|
|
5254
|
+
children: /* @__PURE__ */ v(
|
|
5256
5255
|
"div",
|
|
5257
5256
|
{
|
|
5258
5257
|
className: g(
|
|
@@ -5297,30 +5296,30 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5297
5296
|
emptyValueText: l,
|
|
5298
5297
|
onClose: d,
|
|
5299
5298
|
title: u,
|
|
5300
|
-
portalId:
|
|
5299
|
+
portalId: p,
|
|
5301
5300
|
onApply: x,
|
|
5302
5301
|
cancelButtonTitle: m = "Cancel",
|
|
5303
5302
|
applyButtonTitle: L = "Apply",
|
|
5304
5303
|
isValid: y,
|
|
5305
|
-
selectedRadioValue:
|
|
5304
|
+
selectedRadioValue: N,
|
|
5306
5305
|
onChangeRadioField: R,
|
|
5307
|
-
id:
|
|
5308
|
-
size:
|
|
5306
|
+
id: b,
|
|
5307
|
+
size: k = ue.Md
|
|
5309
5308
|
}) => {
|
|
5310
|
-
const [
|
|
5309
|
+
const [T, V] = B(!1), W = j(() => {
|
|
5311
5310
|
t || V(!0);
|
|
5312
|
-
}, [t]),
|
|
5311
|
+
}, [t]), $ = j(() => {
|
|
5313
5312
|
V(!1), d?.();
|
|
5314
|
-
}, [d]),
|
|
5315
|
-
x(),
|
|
5316
|
-
}, [x,
|
|
5317
|
-
return /* @__PURE__ */
|
|
5313
|
+
}, [d]), w = j(() => {
|
|
5314
|
+
x(), $();
|
|
5315
|
+
}, [x, $]);
|
|
5316
|
+
return /* @__PURE__ */ v("div", { className: "flex flex-col", children: [
|
|
5318
5317
|
/* @__PURE__ */ o(Re, { fieldTitle: e, htmlFor: r }),
|
|
5319
5318
|
/* @__PURE__ */ o(
|
|
5320
5319
|
Vo,
|
|
5321
5320
|
{
|
|
5322
5321
|
disabled: t,
|
|
5323
|
-
open:
|
|
5322
|
+
open: T,
|
|
5324
5323
|
selectedValue: a ?? s.find((O) => O.id === n)?.name,
|
|
5325
5324
|
valueCssClasses: i,
|
|
5326
5325
|
inputCssClasses: g(c, "py-2", "px-3"),
|
|
@@ -5329,18 +5328,18 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5329
5328
|
children: /* @__PURE__ */ o(
|
|
5330
5329
|
g1,
|
|
5331
5330
|
{
|
|
5332
|
-
open:
|
|
5333
|
-
onClose:
|
|
5331
|
+
open: T,
|
|
5332
|
+
onClose: $,
|
|
5334
5333
|
title: u,
|
|
5335
|
-
portalId:
|
|
5336
|
-
size:
|
|
5337
|
-
footer: /* @__PURE__ */
|
|
5334
|
+
portalId: p,
|
|
5335
|
+
size: k,
|
|
5336
|
+
footer: /* @__PURE__ */ v("div", { className: "flex flex-row items-center justify-end gap-2 px-6 py-4", children: [
|
|
5338
5337
|
/* @__PURE__ */ o(
|
|
5339
5338
|
re,
|
|
5340
5339
|
{
|
|
5341
5340
|
variant: J.Secondary,
|
|
5342
5341
|
title: m,
|
|
5343
|
-
onClick:
|
|
5342
|
+
onClick: $
|
|
5344
5343
|
}
|
|
5345
5344
|
),
|
|
5346
5345
|
/* @__PURE__ */ o(
|
|
@@ -5348,7 +5347,7 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5348
5347
|
{
|
|
5349
5348
|
variant: J.Primary,
|
|
5350
5349
|
title: L,
|
|
5351
|
-
onClick:
|
|
5350
|
+
onClick: w,
|
|
5352
5351
|
disable: !y
|
|
5353
5352
|
}
|
|
5354
5353
|
)
|
|
@@ -5358,9 +5357,9 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5358
5357
|
{
|
|
5359
5358
|
radioButtons: s,
|
|
5360
5359
|
labelCssClass: "dial-small",
|
|
5361
|
-
activeRadioButton:
|
|
5360
|
+
activeRadioButton: N,
|
|
5362
5361
|
onChange: R,
|
|
5363
|
-
elementId:
|
|
5362
|
+
elementId: b,
|
|
5364
5363
|
orientation: Ae.Column
|
|
5365
5364
|
}
|
|
5366
5365
|
) })
|
|
@@ -5381,12 +5380,12 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5381
5380
|
onClose: l,
|
|
5382
5381
|
onSubmit: d,
|
|
5383
5382
|
onCancel: u,
|
|
5384
|
-
children:
|
|
5383
|
+
children: p,
|
|
5385
5384
|
dividers: x = !0,
|
|
5386
5385
|
size: m = ue.Md,
|
|
5387
5386
|
footer: L
|
|
5388
5387
|
}) => {
|
|
5389
|
-
const y = s ? null : /* @__PURE__ */
|
|
5388
|
+
const y = s ? null : /* @__PURE__ */ v("div", { className: Ho, children: [
|
|
5390
5389
|
/* @__PURE__ */ o(
|
|
5391
5390
|
re,
|
|
5392
5391
|
{
|
|
@@ -5405,7 +5404,7 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5405
5404
|
onClick: () => d()
|
|
5406
5405
|
}
|
|
5407
5406
|
)
|
|
5408
|
-
] }),
|
|
5407
|
+
] }), N = j(() => s ? /* @__PURE__ */ o("div", { className: "px-6 py-4 h-[120px]", children: /* @__PURE__ */ o(Q1, { size: 50 }) }) : p ?? null, [p, s]);
|
|
5409
5408
|
return /* @__PURE__ */ o(
|
|
5410
5409
|
g1,
|
|
5411
5410
|
{
|
|
@@ -5416,7 +5415,7 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5416
5415
|
onClose: () => l?.(),
|
|
5417
5416
|
footer: L ?? y,
|
|
5418
5417
|
size: m,
|
|
5419
|
-
children:
|
|
5418
|
+
children: N()
|
|
5420
5419
|
}
|
|
5421
5420
|
);
|
|
5422
5421
|
}, zo = ({ onClick: e }) => /* @__PURE__ */ o(
|
|
@@ -5456,7 +5455,7 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5456
5455
|
elementId: n,
|
|
5457
5456
|
errorText: s,
|
|
5458
5457
|
...a
|
|
5459
|
-
}) => /* @__PURE__ */
|
|
5458
|
+
}) => /* @__PURE__ */ v("div", { className: "flex flex-col", children: [
|
|
5460
5459
|
/* @__PURE__ */ o(
|
|
5461
5460
|
Re,
|
|
5462
5461
|
{
|
|
@@ -5502,19 +5501,19 @@ const jo = {
|
|
|
5502
5501
|
onChange: l,
|
|
5503
5502
|
size: d = Ze.Base
|
|
5504
5503
|
}) => {
|
|
5505
|
-
const [u,
|
|
5504
|
+
const [u, p] = B(r || "");
|
|
5506
5505
|
se(() => {
|
|
5507
|
-
|
|
5506
|
+
p(r || "");
|
|
5508
5507
|
}, [r]);
|
|
5509
5508
|
const x = j(
|
|
5510
5509
|
(y) => {
|
|
5511
|
-
|
|
5510
|
+
p(y), l?.(y);
|
|
5512
5511
|
},
|
|
5513
5512
|
[l]
|
|
5514
5513
|
), m = jo[d], L = j(() => {
|
|
5515
5514
|
x("");
|
|
5516
5515
|
}, [x]);
|
|
5517
|
-
return /* @__PURE__ */
|
|
5516
|
+
return /* @__PURE__ */ v(
|
|
5518
5517
|
"div",
|
|
5519
5518
|
{
|
|
5520
5519
|
className: g(
|
|
@@ -5586,17 +5585,17 @@ const jo = {
|
|
|
5586
5585
|
inputCssClass: i
|
|
5587
5586
|
}) => {
|
|
5588
5587
|
const [c, l] = B(""), d = j(
|
|
5589
|
-
(
|
|
5590
|
-
|
|
5588
|
+
(p) => {
|
|
5589
|
+
p.key === "Enter" && (t([...r, p.currentTarget.value]), l("")), (p.key === "Backspace" || p.key === "Delete") && r.length && !c && t(r.slice(0, -1));
|
|
5591
5590
|
},
|
|
5592
5591
|
[r, t, c]
|
|
5593
5592
|
), u = j(
|
|
5594
|
-
(
|
|
5595
|
-
l(
|
|
5593
|
+
(p) => {
|
|
5594
|
+
l(p.target.value);
|
|
5596
5595
|
},
|
|
5597
5596
|
[l]
|
|
5598
5597
|
);
|
|
5599
|
-
return /* @__PURE__ */
|
|
5598
|
+
return /* @__PURE__ */ v(
|
|
5600
5599
|
"div",
|
|
5601
5600
|
{
|
|
5602
5601
|
className: g([
|
|
@@ -5637,27 +5636,27 @@ const jo = {
|
|
|
5637
5636
|
disabled: c,
|
|
5638
5637
|
onChange: l
|
|
5639
5638
|
}) => {
|
|
5640
|
-
const d = le(null), [u,
|
|
5641
|
-
const
|
|
5642
|
-
if (
|
|
5643
|
-
const V = [
|
|
5644
|
-
|
|
5639
|
+
const d = le(null), [u, p] = B(e), [x, m] = B(""), [L, y] = B(!1), N = (k) => {
|
|
5640
|
+
const T = k.trim().replace(/,$/, "");
|
|
5641
|
+
if (T && !u.includes(T)) {
|
|
5642
|
+
const V = [T, ...u];
|
|
5643
|
+
p(V), l?.(V);
|
|
5645
5644
|
}
|
|
5646
|
-
}, R = (
|
|
5647
|
-
(
|
|
5648
|
-
},
|
|
5649
|
-
const
|
|
5650
|
-
|
|
5645
|
+
}, R = (k) => {
|
|
5646
|
+
(k.key === "," || k.key === "Enter") && (k.preventDefault(), N(x), m(""));
|
|
5647
|
+
}, b = (k) => {
|
|
5648
|
+
const T = u.filter((V, W) => W !== k);
|
|
5649
|
+
p(T), l?.(T);
|
|
5651
5650
|
};
|
|
5652
5651
|
return se(() => {
|
|
5653
|
-
const
|
|
5652
|
+
const k = new ResizeObserver(() => {
|
|
5654
5653
|
if (d.current) {
|
|
5655
|
-
const
|
|
5656
|
-
y(
|
|
5654
|
+
const T = d.current.scrollHeight > d.current.clientHeight + 10;
|
|
5655
|
+
y(T);
|
|
5657
5656
|
}
|
|
5658
5657
|
});
|
|
5659
|
-
return d.current &&
|
|
5660
|
-
}, [u]), /* @__PURE__ */
|
|
5658
|
+
return d.current && k.observe(d.current), () => k.disconnect();
|
|
5659
|
+
}, [u]), /* @__PURE__ */ v("div", { className: g("flex flex-col w-full"), children: [
|
|
5661
5660
|
/* @__PURE__ */ o(
|
|
5662
5661
|
Re,
|
|
5663
5662
|
{
|
|
@@ -5674,7 +5673,7 @@ const jo = {
|
|
|
5674
5673
|
i && "dial-input-error",
|
|
5675
5674
|
c && "dial-input-disable"
|
|
5676
5675
|
),
|
|
5677
|
-
children: /* @__PURE__ */
|
|
5676
|
+
children: /* @__PURE__ */ v(
|
|
5678
5677
|
"div",
|
|
5679
5678
|
{
|
|
5680
5679
|
ref: d,
|
|
@@ -5683,20 +5682,20 @@ const jo = {
|
|
|
5683
5682
|
L ? "flex-col-reverse" : "flex-row"
|
|
5684
5683
|
),
|
|
5685
5684
|
children: [
|
|
5686
|
-
u.map((
|
|
5685
|
+
u.map((k, T) => /* @__PURE__ */ o(
|
|
5687
5686
|
m1,
|
|
5688
5687
|
{
|
|
5689
|
-
tag:
|
|
5690
|
-
remove: c ? void 0 : () =>
|
|
5688
|
+
tag: k,
|
|
5689
|
+
remove: c ? void 0 : () => b(T)
|
|
5691
5690
|
},
|
|
5692
|
-
|
|
5691
|
+
k + T
|
|
5693
5692
|
)),
|
|
5694
5693
|
/* @__PURE__ */ o(
|
|
5695
5694
|
"input",
|
|
5696
5695
|
{
|
|
5697
5696
|
type: "text",
|
|
5698
5697
|
value: x,
|
|
5699
|
-
onChange: (
|
|
5698
|
+
onChange: (k) => m(k.target.value),
|
|
5700
5699
|
onKeyDown: R,
|
|
5701
5700
|
className: g(
|
|
5702
5701
|
"dial-input-no-border outline-none border-none w-full min-w-[100px] flex-1 p-1"
|
|
@@ -5724,33 +5723,33 @@ const jo = {
|
|
|
5724
5723
|
emptyStateTitle: l = "No options available",
|
|
5725
5724
|
emptyStateDescription: d,
|
|
5726
5725
|
emptyStateIcon: u,
|
|
5727
|
-
disabled:
|
|
5726
|
+
disabled: p = !1,
|
|
5728
5727
|
cssClass: x,
|
|
5729
5728
|
closable: m = !1,
|
|
5730
5729
|
onClose: L,
|
|
5731
5730
|
onChange: y
|
|
5732
5731
|
}) => {
|
|
5733
|
-
const [
|
|
5734
|
-
const
|
|
5735
|
-
return
|
|
5736
|
-
}, [e,
|
|
5732
|
+
const [N, R] = B(!1), [b, k] = B(""), T = W1(), V = t !== void 0, [W, $] = B(n), w = V ? t : W, O = A(() => r ? Array.isArray(w) ? w : [] : typeof w == "string" ? [w] : [], [w, r]), F = A(() => {
|
|
5733
|
+
const f = b.trim().toLowerCase();
|
|
5734
|
+
return f ? e.filter((E) => E.label.toLowerCase().includes(f)) : e;
|
|
5735
|
+
}, [e, b]);
|
|
5737
5736
|
se(() => {
|
|
5738
|
-
|
|
5739
|
-
}, [
|
|
5737
|
+
N || k("");
|
|
5738
|
+
}, [N]);
|
|
5740
5739
|
const _ = j(
|
|
5741
|
-
(
|
|
5742
|
-
V ||
|
|
5740
|
+
(f) => {
|
|
5741
|
+
V || $(f), y?.(f);
|
|
5743
5742
|
},
|
|
5744
5743
|
[V, y]
|
|
5745
|
-
), X = (
|
|
5744
|
+
), X = (f) => {
|
|
5746
5745
|
if (r) {
|
|
5747
5746
|
const E = new Set(O);
|
|
5748
|
-
E.has(
|
|
5747
|
+
E.has(f) ? E.delete(f) : E.add(f), _(Array.from(E));
|
|
5749
5748
|
} else
|
|
5750
|
-
_(
|
|
5749
|
+
_(f), R(!1);
|
|
5751
5750
|
}, me = j(
|
|
5752
|
-
(
|
|
5753
|
-
if (
|
|
5751
|
+
(f, E) => {
|
|
5752
|
+
if (f.stopPropagation(), !r) {
|
|
5754
5753
|
_("");
|
|
5755
5754
|
return;
|
|
5756
5755
|
}
|
|
@@ -5759,64 +5758,64 @@ const jo = {
|
|
|
5759
5758
|
},
|
|
5760
5759
|
[r, O, _]
|
|
5761
5760
|
), Y = A(
|
|
5762
|
-
() => F.filter((
|
|
5761
|
+
() => F.filter((f) => !f.disabled),
|
|
5763
5762
|
[F]
|
|
5764
5763
|
), te = A(
|
|
5765
|
-
() => Y.filter((
|
|
5764
|
+
() => Y.filter((f) => O.includes(f.value)).length,
|
|
5766
5765
|
[Y, O]
|
|
5767
|
-
), K = Y.length > 0 && te === Y.length, ne = te > 0 && !K,
|
|
5766
|
+
), K = Y.length > 0 && te === Y.length, ne = te > 0 && !K, D = () => {
|
|
5768
5767
|
if (!(!r || Y.length === 0))
|
|
5769
5768
|
if (K) {
|
|
5770
|
-
const
|
|
5769
|
+
const f = new Set(Y.map((oe) => oe.value)), E = O.filter((oe) => !f.has(oe));
|
|
5771
5770
|
_(E);
|
|
5772
5771
|
} else {
|
|
5773
|
-
const
|
|
5774
|
-
Y.forEach((E) =>
|
|
5772
|
+
const f = new Set(O);
|
|
5773
|
+
Y.forEach((E) => f.add(E.value)), _(Array.from(f));
|
|
5775
5774
|
}
|
|
5776
5775
|
}, ce = O.length > 0, I = !r && ce ? O[0] : void 0, U = A(
|
|
5777
|
-
() => I ? e.find((
|
|
5776
|
+
() => I ? e.find((f) => f.value === I) : void 0,
|
|
5778
5777
|
[e, I]
|
|
5779
|
-
), ae = j(() => !r || O.length === 0 ? null : /* @__PURE__ */ o("div", { className: "flex flex-wrap w-full items-center gap-1", children: O.map((
|
|
5780
|
-
const E = e.find((P) => P.value ===
|
|
5778
|
+
), ae = j(() => !r || O.length === 0 ? null : /* @__PURE__ */ o("div", { className: "flex flex-wrap w-full items-center gap-1", children: O.map((f) => {
|
|
5779
|
+
const E = e.find((P) => P.value === f)?.label ?? f, oe = e.find((P) => P.value === f)?.icon;
|
|
5781
5780
|
return /* @__PURE__ */ o(
|
|
5782
5781
|
m1,
|
|
5783
5782
|
{
|
|
5784
5783
|
tag: E,
|
|
5785
|
-
remove: (P) => me(P,
|
|
5784
|
+
remove: (P) => me(P, f),
|
|
5786
5785
|
iconBefore: oe ? /* @__PURE__ */ o(Z, { icon: oe }) : null,
|
|
5787
5786
|
cssClass: "max-w-full"
|
|
5788
5787
|
},
|
|
5789
|
-
|
|
5788
|
+
f
|
|
5790
5789
|
);
|
|
5791
|
-
}) }), [r, e, O, me]), z = j(() => r ? ce ? ae() : /* @__PURE__ */ o("span", { className: "text-secondary truncate", children: s }) : U ? /* @__PURE__ */
|
|
5790
|
+
}) }), [r, e, O, me]), z = j(() => r ? ce ? ae() : /* @__PURE__ */ o("span", { className: "text-secondary truncate", children: s }) : U ? /* @__PURE__ */ v(Ce, { children: [
|
|
5792
5791
|
U.icon && /* @__PURE__ */ o(Z, { icon: U.icon }),
|
|
5793
5792
|
/* @__PURE__ */ o(Ne, { text: U.label })
|
|
5794
5793
|
] }) : /* @__PURE__ */ o("span", { className: "text-secondary truncate", children: s }), [ce, r, s, ae, U]);
|
|
5795
5794
|
return /* @__PURE__ */ o(
|
|
5796
5795
|
o1,
|
|
5797
5796
|
{
|
|
5798
|
-
open:
|
|
5797
|
+
open: N,
|
|
5799
5798
|
onOpenChange: R,
|
|
5800
|
-
disabled:
|
|
5799
|
+
disabled: p,
|
|
5801
5800
|
closable: m,
|
|
5802
5801
|
onClose: L,
|
|
5803
5802
|
placement: "bottom-start",
|
|
5804
5803
|
allowedPlacements: ["bottom-start", "top-start"],
|
|
5805
|
-
renderOverlay: () => /* @__PURE__ */
|
|
5804
|
+
renderOverlay: () => /* @__PURE__ */ v(
|
|
5806
5805
|
"div",
|
|
5807
5806
|
{
|
|
5808
|
-
id:
|
|
5807
|
+
id: T,
|
|
5809
5808
|
role: "listbox",
|
|
5810
5809
|
"aria-multiselectable": r || void 0,
|
|
5811
5810
|
className: Zo,
|
|
5812
5811
|
children: [
|
|
5813
|
-
(a || m) && /* @__PURE__ */
|
|
5812
|
+
(a || m) && /* @__PURE__ */ v("div", { className: "flex items-center gap-2 px-2 pt-2", children: [
|
|
5814
5813
|
a && /* @__PURE__ */ o(
|
|
5815
5814
|
Bo,
|
|
5816
5815
|
{
|
|
5817
|
-
onChange:
|
|
5818
|
-
value:
|
|
5819
|
-
elementId: `search-${
|
|
5816
|
+
onChange: k,
|
|
5817
|
+
value: b,
|
|
5818
|
+
elementId: `search-${T}`
|
|
5820
5819
|
}
|
|
5821
5820
|
),
|
|
5822
5821
|
m && /* @__PURE__ */ o(
|
|
@@ -5825,8 +5824,8 @@ const jo = {
|
|
|
5825
5824
|
ariaLabel: "Close select",
|
|
5826
5825
|
cssClass: "shrink-0",
|
|
5827
5826
|
iconBefore: /* @__PURE__ */ o(Te, { size: 16 }),
|
|
5828
|
-
onClick: (
|
|
5829
|
-
L?.(
|
|
5827
|
+
onClick: (f) => {
|
|
5828
|
+
L?.(f), R(!1);
|
|
5830
5829
|
}
|
|
5831
5830
|
}
|
|
5832
5831
|
)
|
|
@@ -5834,11 +5833,11 @@ const jo = {
|
|
|
5834
5833
|
r && i && Y.length > 0 && /* @__PURE__ */ o("div", { className: g(Ye, "mt-2"), children: /* @__PURE__ */ o(
|
|
5835
5834
|
C1,
|
|
5836
5835
|
{
|
|
5837
|
-
id: `${
|
|
5836
|
+
id: `${T}-selectAll`,
|
|
5838
5837
|
label: c,
|
|
5839
5838
|
checked: K,
|
|
5840
5839
|
indeterminate: ne,
|
|
5841
|
-
onChange:
|
|
5840
|
+
onChange: D,
|
|
5842
5841
|
ariaLabel: c
|
|
5843
5842
|
}
|
|
5844
5843
|
) }),
|
|
@@ -5849,78 +5848,78 @@ const jo = {
|
|
|
5849
5848
|
title: l,
|
|
5850
5849
|
description: d
|
|
5851
5850
|
}
|
|
5852
|
-
) }) : F.map((
|
|
5853
|
-
const E = O.includes(
|
|
5851
|
+
) }) : F.map((f) => {
|
|
5852
|
+
const E = O.includes(f.value);
|
|
5854
5853
|
return r ? /* @__PURE__ */ o(
|
|
5855
5854
|
"div",
|
|
5856
5855
|
{
|
|
5857
5856
|
className: g(
|
|
5858
5857
|
Ye,
|
|
5859
5858
|
E && Go,
|
|
5860
|
-
|
|
5859
|
+
f.disabled && R1,
|
|
5861
5860
|
"w-full"
|
|
5862
5861
|
),
|
|
5863
5862
|
children: /* @__PURE__ */ o(
|
|
5864
5863
|
C1,
|
|
5865
5864
|
{
|
|
5866
|
-
id: `${
|
|
5867
|
-
label: /* @__PURE__ */
|
|
5868
|
-
|
|
5869
|
-
/* @__PURE__ */ o("span", { className: "truncate", children:
|
|
5865
|
+
id: `${T}-${f.value}`,
|
|
5866
|
+
label: /* @__PURE__ */ v("span", { className: "flex w-full flex-1 min-w-0 items-center gap-2 text-primary", children: [
|
|
5867
|
+
f.icon && /* @__PURE__ */ o(Z, { icon: f.icon }),
|
|
5868
|
+
/* @__PURE__ */ o("span", { className: "truncate", children: f.label })
|
|
5870
5869
|
] }),
|
|
5871
5870
|
checked: E,
|
|
5872
|
-
disabled:
|
|
5873
|
-
onChange: () => !
|
|
5874
|
-
ariaLabel:
|
|
5871
|
+
disabled: f.disabled,
|
|
5872
|
+
onChange: () => !f.disabled && X(f.value),
|
|
5873
|
+
ariaLabel: f.label
|
|
5875
5874
|
}
|
|
5876
5875
|
)
|
|
5877
5876
|
},
|
|
5878
|
-
|
|
5877
|
+
f.value
|
|
5879
5878
|
) : /* @__PURE__ */ o(
|
|
5880
5879
|
"button",
|
|
5881
5880
|
{
|
|
5882
5881
|
role: "option",
|
|
5883
5882
|
type: "button",
|
|
5884
5883
|
"aria-selected": E,
|
|
5885
|
-
"aria-disabled": !!
|
|
5886
|
-
disabled:
|
|
5884
|
+
"aria-disabled": !!f.disabled,
|
|
5885
|
+
disabled: f.disabled,
|
|
5887
5886
|
className: g(
|
|
5888
5887
|
Ye,
|
|
5889
5888
|
E && $o,
|
|
5890
|
-
|
|
5889
|
+
f.disabled && R1
|
|
5891
5890
|
),
|
|
5892
|
-
onClick: () => !
|
|
5893
|
-
children: /* @__PURE__ */
|
|
5894
|
-
|
|
5895
|
-
/* @__PURE__ */ o(Ne, { text:
|
|
5891
|
+
onClick: () => !f.disabled && X(f.value),
|
|
5892
|
+
children: /* @__PURE__ */ v("div", { className: "flex items-center gap-2 w-full", children: [
|
|
5893
|
+
f.icon && /* @__PURE__ */ o(Z, { icon: f.icon }),
|
|
5894
|
+
/* @__PURE__ */ o(Ne, { text: f.label })
|
|
5896
5895
|
] })
|
|
5897
5896
|
},
|
|
5898
|
-
|
|
5897
|
+
f.value
|
|
5899
5898
|
);
|
|
5900
5899
|
}) })
|
|
5901
5900
|
]
|
|
5902
5901
|
}
|
|
5903
5902
|
),
|
|
5904
|
-
children: /* @__PURE__ */
|
|
5903
|
+
children: /* @__PURE__ */ v(
|
|
5905
5904
|
"button",
|
|
5906
5905
|
{
|
|
5907
5906
|
type: "button",
|
|
5908
5907
|
"aria-haspopup": "listbox",
|
|
5909
|
-
"aria-expanded":
|
|
5910
|
-
"aria-controls":
|
|
5908
|
+
"aria-expanded": N,
|
|
5909
|
+
"aria-controls": T,
|
|
5911
5910
|
className: q(
|
|
5912
5911
|
Wo,
|
|
5913
|
-
|
|
5912
|
+
p && "opacity-75 !cursor-not-allowed",
|
|
5914
5913
|
x
|
|
5915
5914
|
),
|
|
5916
|
-
onClick: () => !
|
|
5915
|
+
onClick: () => !p && R((f) => !f),
|
|
5917
5916
|
children: [
|
|
5918
5917
|
/* @__PURE__ */ o("div", { className: "flex min-w-0 items-center gap-2 text-primary", children: z() }),
|
|
5919
5918
|
/* @__PURE__ */ o(
|
|
5920
5919
|
Z,
|
|
5921
5920
|
{
|
|
5922
5921
|
icon: _o,
|
|
5923
|
-
className: g("text-primary",
|
|
5922
|
+
className: g("text-primary", N && "rotate-180")
|
|
5924
5923
|
}
|
|
5925
5924
|
)
|
|
5926
5925
|
]
|