@epam/ai-dial-ui-kit 0.3.0-rc.33 → 0.3.0-rc.35
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.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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";
|
|
5
|
-
import { createContext as A1, useState as
|
|
5
|
+
import { createContext as A1, useState as j, useRef as ce, useMemo as F, useContext as j1, forwardRef as B1, isValidElement as d1, cloneElement as Fe, useCallback as A, useEffect as ae, useLayoutEffect as Dr, useId as W1, Children as Ir } from "react";
|
|
6
6
|
import { IconInfoCircle as Z1, IconCircleCheck as Sr, IconAlertTriangle as Nr, IconAlertCircle as Tr, IconX as Te, IconMinus as Mr, IconCheck as G1, IconExclamationCircle as $1, IconClipboardX as _1, IconChevronsLeft as Rr, IconChevronsRight as Or, IconGripVertical as Vr, IconFile as Pr, IconFileTypeZip as Er, IconFileTypeXml as Hr, IconFileTypeXls as zr, IconFileTypeVue as Fr, IconFileTypeTxt as Ar, IconFileTypeTsx as jr, IconFileTypeTs as Br, IconFileTypeSvg as Wr, IconFileTypeSql as Zr, IconFileTypeRs as Gr, IconFileTypePpt as $r, IconFileTypePng as _r, IconFileTypePhp as Ur, IconFileTypePdf as qr, IconFileTypeJsx as Kr, IconFileTypeJs as Xr, IconFileTypeJpg as Yr, IconFileTypeHtml as Jr, IconFileTypeDocx as Qr, IconFileTypeDoc as et, IconFileTypeCsv as rt, IconFileTypeCss as tt, IconFileTypeBmp as nt, IconChevronDown as U1, IconDotsVertical as ot, IconChevronRight as st, IconEyeOff as at, IconEye as it, IconSearch as lt } from "@tabler/icons-react";
|
|
7
7
|
import { createPortal as ct } from "react-dom";
|
|
8
8
|
const Me = ({ errorText: e }) => e && /* @__PURE__ */ o("span", { className: "text-error dial-tiny mt-1", children: e }), dt = 7, ut = 2, q1 = A1(null), K1 = () => {
|
|
@@ -17,7 +17,7 @@ const Me = ({ errorText: e }) => e && /* @__PURE__ */ o("span", { className: "te
|
|
|
17
17
|
open: n,
|
|
18
18
|
onOpenChange: s
|
|
19
19
|
} = {}) => {
|
|
20
|
-
const [a, i] =
|
|
20
|
+
const [a, i] = j(e), c = ce(null), l = n ?? a, d = s ?? i, u = s1({
|
|
21
21
|
placement: r,
|
|
22
22
|
open: l,
|
|
23
23
|
onOpenChange: d,
|
|
@@ -34,15 +34,15 @@ 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([
|
|
45
|
-
return
|
|
44
|
+
}), m = a1(u.context), L = i1(u.context, { role: "tooltip" }), y = l1([p, x, m, L]);
|
|
45
|
+
return F(
|
|
46
46
|
() => ({
|
|
47
47
|
open: l,
|
|
48
48
|
setOpen: d,
|
|
@@ -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,
|
|
@@ -106,14 +106,14 @@ const Me = ({ errorText: e }) => e && /* @__PURE__ */ o("span", { className: "te
|
|
|
106
106
|
children: r
|
|
107
107
|
}
|
|
108
108
|
);
|
|
109
|
-
}),
|
|
109
|
+
}), me = ({
|
|
110
110
|
hideTooltip: e,
|
|
111
111
|
tooltip: r,
|
|
112
112
|
children: t,
|
|
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(
|
|
@@ -146,7 +146,7 @@ const Me = ({ errorText: e }) => e && /* @__PURE__ */ o("span", { className: "te
|
|
|
146
146
|
children: [
|
|
147
147
|
typeof e == "string" ? /* @__PURE__ */ o("span", { className: "min-h-4", children: e }) : e,
|
|
148
148
|
t && /* @__PURE__ */ o("span", { children: n ?? "(Optional)" }),
|
|
149
|
-
a && /* @__PURE__ */ o(
|
|
149
|
+
a && /* @__PURE__ */ o(me, { tooltip: a, children: /* @__PURE__ */ o(
|
|
150
150
|
Z,
|
|
151
151
|
{
|
|
152
152
|
icon: /* @__PURE__ */ o(Z1, { size: 14, className: "text-secondary" })
|
|
@@ -161,7 +161,7 @@ const ft = {
|
|
|
161
161
|
[J.Secondary]: "dial-secondary-button",
|
|
162
162
|
[J.Tertiary]: "dial-tertiary-button",
|
|
163
163
|
[J.Danger]: "dial-danger-button"
|
|
164
|
-
},
|
|
164
|
+
}, te = ({
|
|
165
165
|
title: e,
|
|
166
166
|
variant: r,
|
|
167
167
|
cssClass: t,
|
|
@@ -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,12 +229,12 @@ 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
|
] }),
|
|
236
236
|
n && /* @__PURE__ */ o(
|
|
237
|
-
|
|
237
|
+
te,
|
|
238
238
|
{
|
|
239
239
|
cssClass: "ml-2 text-secondary hover:text-primary",
|
|
240
240
|
ariaLabel: "Close alert",
|
|
@@ -288,7 +288,7 @@ const mt = {
|
|
|
288
288
|
onChange: i,
|
|
289
289
|
cssClass: c
|
|
290
290
|
}) => {
|
|
291
|
-
const l =
|
|
291
|
+
const l = A(
|
|
292
292
|
(x) => {
|
|
293
293
|
i?.(x.target.checked, r);
|
|
294
294
|
},
|
|
@@ -302,9 +302,9 @@ 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
|
-
e && (typeof e == "string" ? /* @__PURE__ */ o(
|
|
307
|
+
e && (typeof e == "string" ? /* @__PURE__ */ o(me, { 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(
|
|
309
309
|
"input",
|
|
310
310
|
{
|
|
@@ -322,21 +322,21 @@ const mt = {
|
|
|
322
322
|
)
|
|
323
323
|
] });
|
|
324
324
|
};
|
|
325
|
-
var
|
|
325
|
+
var re = /* @__PURE__ */ ((e) => (e.VALID = "valid", e.ERROR = "error", e))(re || {});
|
|
326
326
|
const xt = (e, r) => {
|
|
327
327
|
if (r === e.id)
|
|
328
328
|
switch (e.status) {
|
|
329
|
-
case
|
|
329
|
+
case re.VALID:
|
|
330
330
|
return "border-accent-secondary text-primary";
|
|
331
|
-
case
|
|
331
|
+
case re.ERROR:
|
|
332
332
|
return "border-red-900 text-primary";
|
|
333
333
|
default:
|
|
334
334
|
return "border-accent-primary text-primary";
|
|
335
335
|
}
|
|
336
336
|
switch (e.status) {
|
|
337
|
-
case
|
|
337
|
+
case re.VALID:
|
|
338
338
|
return "border-primary text-white";
|
|
339
|
-
case
|
|
339
|
+
case re.ERROR:
|
|
340
340
|
return "border-red-900 text-error";
|
|
341
341
|
default:
|
|
342
342
|
return "border-primary text-secondary";
|
|
@@ -344,17 +344,17 @@ const xt = (e, r) => {
|
|
|
344
344
|
}, vt = (e, r) => {
|
|
345
345
|
if (r === e.id)
|
|
346
346
|
switch (e.status) {
|
|
347
|
-
case
|
|
347
|
+
case re.VALID:
|
|
348
348
|
return "bg-accent-secondary";
|
|
349
|
-
case
|
|
349
|
+
case re.ERROR:
|
|
350
350
|
return "bg-red-400";
|
|
351
351
|
default:
|
|
352
352
|
return "bg-accent-primary";
|
|
353
353
|
}
|
|
354
354
|
switch (e.status) {
|
|
355
|
-
case
|
|
355
|
+
case re.VALID:
|
|
356
356
|
return "bg-accent-secondary";
|
|
357
|
-
case
|
|
357
|
+
case re.ERROR:
|
|
358
358
|
return "bg-red-400";
|
|
359
359
|
default:
|
|
360
360
|
return "bg-layer-4";
|
|
@@ -365,8 +365,8 @@ const xt = (e, r) => {
|
|
|
365
365
|
currentStep: t,
|
|
366
366
|
onChangeStep: n
|
|
367
367
|
}) => {
|
|
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 ===
|
|
369
|
-
return /* @__PURE__ */
|
|
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 === re.ERROR ? /* @__PURE__ */ o($1, { stroke: 2, size: 16 }) : t !== e.id && e.status === re.VALID ? /* @__PURE__ */ o(G1, { stroke: 2, size: 16 }) : r + 1;
|
|
369
|
+
return /* @__PURE__ */ v(
|
|
370
370
|
"button",
|
|
371
371
|
{
|
|
372
372
|
className: g(s, xt(e, t)),
|
|
@@ -390,7 +390,7 @@ const xt = (e, r) => {
|
|
|
390
390
|
}) => {
|
|
391
391
|
const n = (s) => {
|
|
392
392
|
const a = e.findIndex((c) => c.id === r), i = e.findIndex((c) => c.id === s);
|
|
393
|
-
(s !== r && e[a].status ===
|
|
393
|
+
(s !== r && e[a].status === re.VALID || i < a) && t(s);
|
|
394
394
|
};
|
|
395
395
|
return /* @__PURE__ */ o("div", { id: "steps", className: "flex gap-x-3", children: e.map((s, a) => /* @__PURE__ */ o(
|
|
396
396
|
wt,
|
|
@@ -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,
|
|
661
|
-
for (let
|
|
662
|
-
const
|
|
663
|
-
i.push(
|
|
659
|
+
i.push(T);
|
|
660
|
+
const V = s(R, N);
|
|
661
|
+
for (let B = 0; B < V.length; ++B) {
|
|
662
|
+
const $ = V[B];
|
|
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,22 +697,22 @@ 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
|
-
}, 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)),
|
|
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)), ue = (e) => !!e && Number.isInteger(Number(e)), $e = (e) => e.endsWith("%") && M(e.slice(0, -1)), le = (e) => Gt.test(e), Kt = () => !0, Xt = (e) => (
|
|
704
704
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
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,51 +730,51 @@ 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",
|
|
735
|
-
},
|
|
736
|
-
position: [
|
|
733
|
+
], V = () => [...T(), C, h], B = () => ["auto", "hidden", "clip", "visible", "scroll"], $ = () => ["auto", "contain", "none"], w = () => [C, h, l], O = () => [xe, "full", "auto", ...w()], q = () => [ue, "none", "subgrid", C, h], W = () => ["auto", {
|
|
734
|
+
span: ["full", ue, C, h]
|
|
735
|
+
}, ue, C, h], K = () => [ue, "auto", C, h], ee = () => ["auto", "min", "max", "fr", C, h], Y = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], ne = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], X = () => ["auto", ...w()], oe = () => [xe, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...w()], D = () => [e, C, h], de = () => [...T(), v1, x1, {
|
|
736
|
+
position: [C, h]
|
|
737
737
|
}], I = () => ["no-repeat", {
|
|
738
738
|
repeat: ["", "x", "y", "space", "round"]
|
|
739
|
-
}],
|
|
740
|
-
size: [
|
|
741
|
-
}],
|
|
739
|
+
}], _ = () => ["auto", "cover", "contain", nn, en, {
|
|
740
|
+
size: [C, h]
|
|
741
|
+
}], ie = () => [$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"], se = () => ["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: {
|
|
760
760
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
761
761
|
aspect: ["video"],
|
|
762
|
-
blur: [
|
|
763
|
-
breakpoint: [
|
|
762
|
+
blur: [le],
|
|
763
|
+
breakpoint: [le],
|
|
764
764
|
color: [Kt],
|
|
765
|
-
container: [
|
|
766
|
-
"drop-shadow": [
|
|
765
|
+
container: [le],
|
|
766
|
+
"drop-shadow": [le],
|
|
767
767
|
ease: ["in", "out", "in-out"],
|
|
768
768
|
font: [Qt],
|
|
769
769
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
770
|
-
"inset-shadow": [
|
|
770
|
+
"inset-shadow": [le],
|
|
771
771
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
772
772
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
773
|
-
radius: [
|
|
774
|
-
shadow: [
|
|
773
|
+
radius: [le],
|
|
774
|
+
shadow: [le],
|
|
775
775
|
spacing: ["px", M],
|
|
776
|
-
text: [
|
|
777
|
-
"text-shadow": [
|
|
776
|
+
text: [le],
|
|
777
|
+
"text-shadow": [le],
|
|
778
778
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
779
779
|
},
|
|
780
780
|
classGroups: {
|
|
@@ -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
|
|
@@ -884,42 +884,42 @@ const $ = (e) => {
|
|
|
884
884
|
* @see https://tailwindcss.com/docs/overflow
|
|
885
885
|
*/
|
|
886
886
|
overflow: [{
|
|
887
|
-
overflow:
|
|
887
|
+
overflow: B()
|
|
888
888
|
}],
|
|
889
889
|
/**
|
|
890
890
|
* Overflow X
|
|
891
891
|
* @see https://tailwindcss.com/docs/overflow
|
|
892
892
|
*/
|
|
893
893
|
"overflow-x": [{
|
|
894
|
-
"overflow-x":
|
|
894
|
+
"overflow-x": B()
|
|
895
895
|
}],
|
|
896
896
|
/**
|
|
897
897
|
* Overflow Y
|
|
898
898
|
* @see https://tailwindcss.com/docs/overflow
|
|
899
899
|
*/
|
|
900
900
|
"overflow-y": [{
|
|
901
|
-
"overflow-y":
|
|
901
|
+
"overflow-y": B()
|
|
902
902
|
}],
|
|
903
903
|
/**
|
|
904
904
|
* Overscroll Behavior
|
|
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: [
|
|
1002
|
+
z: [ue, "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,84 +1030,84 @@ 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: [
|
|
1054
|
+
order: [ue, "first", "last", "none", C, h]
|
|
1055
1055
|
}],
|
|
1056
1056
|
/**
|
|
1057
1057
|
* Grid Template Columns
|
|
1058
1058
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
1059
1059
|
*/
|
|
1060
1060
|
"grid-cols": [{
|
|
1061
|
-
"grid-cols":
|
|
1061
|
+
"grid-cols": q()
|
|
1062
1062
|
}],
|
|
1063
1063
|
/**
|
|
1064
1064
|
* Grid Column Start / End
|
|
1065
1065
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1066
1066
|
*/
|
|
1067
1067
|
"col-start-end": [{
|
|
1068
|
-
col:
|
|
1068
|
+
col: W()
|
|
1069
1069
|
}],
|
|
1070
1070
|
/**
|
|
1071
1071
|
* Grid Column Start
|
|
1072
1072
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1073
1073
|
*/
|
|
1074
1074
|
"col-start": [{
|
|
1075
|
-
"col-start":
|
|
1075
|
+
"col-start": K()
|
|
1076
1076
|
}],
|
|
1077
1077
|
/**
|
|
1078
1078
|
* Grid Column End
|
|
1079
1079
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1080
1080
|
*/
|
|
1081
1081
|
"col-end": [{
|
|
1082
|
-
"col-end":
|
|
1082
|
+
"col-end": K()
|
|
1083
1083
|
}],
|
|
1084
1084
|
/**
|
|
1085
1085
|
* Grid Template Rows
|
|
1086
1086
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
1087
1087
|
*/
|
|
1088
1088
|
"grid-rows": [{
|
|
1089
|
-
"grid-rows":
|
|
1089
|
+
"grid-rows": q()
|
|
1090
1090
|
}],
|
|
1091
1091
|
/**
|
|
1092
1092
|
* Grid Row Start / End
|
|
1093
1093
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1094
1094
|
*/
|
|
1095
1095
|
"row-start-end": [{
|
|
1096
|
-
row:
|
|
1096
|
+
row: W()
|
|
1097
1097
|
}],
|
|
1098
1098
|
/**
|
|
1099
1099
|
* Grid Row Start
|
|
1100
1100
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1101
1101
|
*/
|
|
1102
1102
|
"row-start": [{
|
|
1103
|
-
"row-start":
|
|
1103
|
+
"row-start": K()
|
|
1104
1104
|
}],
|
|
1105
1105
|
/**
|
|
1106
1106
|
* Grid Row End
|
|
1107
1107
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1108
1108
|
*/
|
|
1109
1109
|
"row-end": [{
|
|
1110
|
-
"row-end":
|
|
1110
|
+
"row-end": K()
|
|
1111
1111
|
}],
|
|
1112
1112
|
/**
|
|
1113
1113
|
* Grid Auto Flow
|
|
@@ -1121,35 +1121,35 @@ const $ = (e) => {
|
|
|
1121
1121
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
1122
1122
|
*/
|
|
1123
1123
|
"auto-cols": [{
|
|
1124
|
-
"auto-cols":
|
|
1124
|
+
"auto-cols": ee()
|
|
1125
1125
|
}],
|
|
1126
1126
|
/**
|
|
1127
1127
|
* Grid Auto Rows
|
|
1128
1128
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
1129
1129
|
*/
|
|
1130
1130
|
"auto-rows": [{
|
|
1131
|
-
"auto-rows":
|
|
1131
|
+
"auto-rows": ee()
|
|
1132
1132
|
}],
|
|
1133
1133
|
/**
|
|
1134
1134
|
* Gap
|
|
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
|
|
@@ -1163,14 +1163,14 @@ const $ = (e) => {
|
|
|
1163
1163
|
* @see https://tailwindcss.com/docs/justify-items
|
|
1164
1164
|
*/
|
|
1165
1165
|
"justify-items": [{
|
|
1166
|
-
"justify-items": [...
|
|
1166
|
+
"justify-items": [...ne(), "normal"]
|
|
1167
1167
|
}],
|
|
1168
1168
|
/**
|
|
1169
1169
|
* Justify Self
|
|
1170
1170
|
* @see https://tailwindcss.com/docs/justify-self
|
|
1171
1171
|
*/
|
|
1172
1172
|
"justify-self": [{
|
|
1173
|
-
"justify-self": ["auto", ...
|
|
1173
|
+
"justify-self": ["auto", ...ne()]
|
|
1174
1174
|
}],
|
|
1175
1175
|
/**
|
|
1176
1176
|
* Align Content
|
|
@@ -1184,7 +1184,7 @@ const $ = (e) => {
|
|
|
1184
1184
|
* @see https://tailwindcss.com/docs/align-items
|
|
1185
1185
|
*/
|
|
1186
1186
|
"align-items": [{
|
|
1187
|
-
items: [...
|
|
1187
|
+
items: [...ne(), {
|
|
1188
1188
|
baseline: ["", "last"]
|
|
1189
1189
|
}]
|
|
1190
1190
|
}],
|
|
@@ -1193,7 +1193,7 @@ const $ = (e) => {
|
|
|
1193
1193
|
* @see https://tailwindcss.com/docs/align-self
|
|
1194
1194
|
*/
|
|
1195
1195
|
"align-self": [{
|
|
1196
|
-
self: ["auto", ...
|
|
1196
|
+
self: ["auto", ...ne(), {
|
|
1197
1197
|
baseline: ["", "last"]
|
|
1198
1198
|
}]
|
|
1199
1199
|
}],
|
|
@@ -1209,14 +1209,14 @@ const $ = (e) => {
|
|
|
1209
1209
|
* @see https://tailwindcss.com/docs/place-items
|
|
1210
1210
|
*/
|
|
1211
1211
|
"place-items": [{
|
|
1212
|
-
"place-items": [...
|
|
1212
|
+
"place-items": [...ne(), "baseline"]
|
|
1213
1213
|
}],
|
|
1214
1214
|
/**
|
|
1215
1215
|
* Place Self
|
|
1216
1216
|
* @see https://tailwindcss.com/docs/place-self
|
|
1217
1217
|
*/
|
|
1218
1218
|
"place-self": [{
|
|
1219
|
-
"place-self": ["auto", ...
|
|
1219
|
+
"place-self": ["auto", ...ne()]
|
|
1220
1220
|
}],
|
|
1221
1221
|
// Spacing
|
|
1222
1222
|
/**
|
|
@@ -1224,133 +1224,133 @@ 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
|
|
1287
1287
|
* @see https://tailwindcss.com/docs/margin
|
|
1288
1288
|
*/
|
|
1289
1289
|
m: [{
|
|
1290
|
-
m:
|
|
1290
|
+
m: X()
|
|
1291
1291
|
}],
|
|
1292
1292
|
/**
|
|
1293
1293
|
* Margin X
|
|
1294
1294
|
* @see https://tailwindcss.com/docs/margin
|
|
1295
1295
|
*/
|
|
1296
1296
|
mx: [{
|
|
1297
|
-
mx:
|
|
1297
|
+
mx: X()
|
|
1298
1298
|
}],
|
|
1299
1299
|
/**
|
|
1300
1300
|
* Margin Y
|
|
1301
1301
|
* @see https://tailwindcss.com/docs/margin
|
|
1302
1302
|
*/
|
|
1303
1303
|
my: [{
|
|
1304
|
-
my:
|
|
1304
|
+
my: X()
|
|
1305
1305
|
}],
|
|
1306
1306
|
/**
|
|
1307
1307
|
* Margin Start
|
|
1308
1308
|
* @see https://tailwindcss.com/docs/margin
|
|
1309
1309
|
*/
|
|
1310
1310
|
ms: [{
|
|
1311
|
-
ms:
|
|
1311
|
+
ms: X()
|
|
1312
1312
|
}],
|
|
1313
1313
|
/**
|
|
1314
1314
|
* Margin End
|
|
1315
1315
|
* @see https://tailwindcss.com/docs/margin
|
|
1316
1316
|
*/
|
|
1317
1317
|
me: [{
|
|
1318
|
-
me:
|
|
1318
|
+
me: X()
|
|
1319
1319
|
}],
|
|
1320
1320
|
/**
|
|
1321
1321
|
* Margin Top
|
|
1322
1322
|
* @see https://tailwindcss.com/docs/margin
|
|
1323
1323
|
*/
|
|
1324
1324
|
mt: [{
|
|
1325
|
-
mt:
|
|
1325
|
+
mt: X()
|
|
1326
1326
|
}],
|
|
1327
1327
|
/**
|
|
1328
1328
|
* Margin Right
|
|
1329
1329
|
* @see https://tailwindcss.com/docs/margin
|
|
1330
1330
|
*/
|
|
1331
1331
|
mr: [{
|
|
1332
|
-
mr:
|
|
1332
|
+
mr: X()
|
|
1333
1333
|
}],
|
|
1334
1334
|
/**
|
|
1335
1335
|
* Margin Bottom
|
|
1336
1336
|
* @see https://tailwindcss.com/docs/margin
|
|
1337
1337
|
*/
|
|
1338
1338
|
mb: [{
|
|
1339
|
-
mb:
|
|
1339
|
+
mb: X()
|
|
1340
1340
|
}],
|
|
1341
1341
|
/**
|
|
1342
1342
|
* Margin Left
|
|
1343
1343
|
* @see https://tailwindcss.com/docs/margin
|
|
1344
1344
|
*/
|
|
1345
1345
|
ml: [{
|
|
1346
|
-
ml:
|
|
1346
|
+
ml: X()
|
|
1347
1347
|
}],
|
|
1348
1348
|
/**
|
|
1349
1349
|
* Space Between X
|
|
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
|
|
@@ -1377,14 +1377,14 @@ const $ = (e) => {
|
|
|
1377
1377
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1378
1378
|
*/
|
|
1379
1379
|
size: [{
|
|
1380
|
-
size:
|
|
1380
|
+
size: oe()
|
|
1381
1381
|
}],
|
|
1382
1382
|
/**
|
|
1383
1383
|
* Width
|
|
1384
1384
|
* @see https://tailwindcss.com/docs/width
|
|
1385
1385
|
*/
|
|
1386
1386
|
w: [{
|
|
1387
|
-
w: [c, "screen", ...
|
|
1387
|
+
w: [c, "screen", ...oe()]
|
|
1388
1388
|
}],
|
|
1389
1389
|
/**
|
|
1390
1390
|
* Min-Width
|
|
@@ -1396,7 +1396,7 @@ const $ = (e) => {
|
|
|
1396
1396
|
"screen",
|
|
1397
1397
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1398
1398
|
"none",
|
|
1399
|
-
...
|
|
1399
|
+
...oe()
|
|
1400
1400
|
]
|
|
1401
1401
|
}],
|
|
1402
1402
|
/**
|
|
@@ -1414,7 +1414,7 @@ const $ = (e) => {
|
|
|
1414
1414
|
{
|
|
1415
1415
|
screen: [i]
|
|
1416
1416
|
},
|
|
1417
|
-
...
|
|
1417
|
+
...oe()
|
|
1418
1418
|
]
|
|
1419
1419
|
}],
|
|
1420
1420
|
/**
|
|
@@ -1422,21 +1422,21 @@ const $ = (e) => {
|
|
|
1422
1422
|
* @see https://tailwindcss.com/docs/height
|
|
1423
1423
|
*/
|
|
1424
1424
|
h: [{
|
|
1425
|
-
h: ["screen", "lh", ...
|
|
1425
|
+
h: ["screen", "lh", ...oe()]
|
|
1426
1426
|
}],
|
|
1427
1427
|
/**
|
|
1428
1428
|
* Min-Height
|
|
1429
1429
|
* @see https://tailwindcss.com/docs/min-height
|
|
1430
1430
|
*/
|
|
1431
1431
|
"min-h": [{
|
|
1432
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1432
|
+
"min-h": ["screen", "lh", "none", ...oe()]
|
|
1433
1433
|
}],
|
|
1434
1434
|
/**
|
|
1435
1435
|
* Max-Height
|
|
1436
1436
|
* @see https://tailwindcss.com/docs/max-height
|
|
1437
1437
|
*/
|
|
1438
1438
|
"max-h": [{
|
|
1439
|
-
"max-h": ["screen", "lh", ...
|
|
1439
|
+
"max-h": ["screen", "lh", ...oe()]
|
|
1440
1440
|
}],
|
|
1441
1441
|
// ------------------
|
|
1442
1442
|
// --- Typography ---
|
|
@@ -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 ---
|
|
@@ -1705,7 +1705,7 @@ const $ = (e) => {
|
|
|
1705
1705
|
* @see https://tailwindcss.com/docs/background-position
|
|
1706
1706
|
*/
|
|
1707
1707
|
"bg-position": [{
|
|
1708
|
-
bg:
|
|
1708
|
+
bg: de()
|
|
1709
1709
|
}],
|
|
1710
1710
|
/**
|
|
1711
1711
|
* Background Repeat
|
|
@@ -1719,7 +1719,7 @@ const $ = (e) => {
|
|
|
1719
1719
|
* @see https://tailwindcss.com/docs/background-size
|
|
1720
1720
|
*/
|
|
1721
1721
|
"bg-size": [{
|
|
1722
|
-
bg:
|
|
1722
|
+
bg: _()
|
|
1723
1723
|
}],
|
|
1724
1724
|
/**
|
|
1725
1725
|
* Background Image
|
|
@@ -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
|
-
},
|
|
1733
|
-
radial: ["",
|
|
1734
|
-
conic: [
|
|
1732
|
+
}, ue, C, h],
|
|
1733
|
+
radial: ["", C, h],
|
|
1734
|
+
conic: [ue, C, h]
|
|
1735
1735
|
}, on, rn]
|
|
1736
1736
|
}],
|
|
1737
1737
|
/**
|
|
@@ -1739,49 +1739,49 @@ 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
|
|
1746
1746
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1747
1747
|
*/
|
|
1748
1748
|
"gradient-from-pos": [{
|
|
1749
|
-
from:
|
|
1749
|
+
from: ie()
|
|
1750
1750
|
}],
|
|
1751
1751
|
/**
|
|
1752
1752
|
* Gradient Color Stops Via Position
|
|
1753
1753
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1754
1754
|
*/
|
|
1755
1755
|
"gradient-via-pos": [{
|
|
1756
|
-
via:
|
|
1756
|
+
via: ie()
|
|
1757
1757
|
}],
|
|
1758
1758
|
/**
|
|
1759
1759
|
* Gradient Color Stops To Position
|
|
1760
1760
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1761
1761
|
*/
|
|
1762
1762
|
"gradient-to-pos": [{
|
|
1763
|
-
to:
|
|
1763
|
+
to: ie()
|
|
1764
1764
|
}],
|
|
1765
1765
|
/**
|
|
1766
1766
|
* Gradient Color Stops From
|
|
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,28 +2193,28 @@ 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
|
|
2207
2207
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2208
2208
|
*/
|
|
2209
2209
|
"mix-blend": [{
|
|
2210
|
-
"mix-blend": [...
|
|
2210
|
+
"mix-blend": [...se(), "plus-darker", "plus-lighter"]
|
|
2211
2211
|
}],
|
|
2212
2212
|
/**
|
|
2213
2213
|
* Background Blend Mode
|
|
2214
2214
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2215
2215
|
*/
|
|
2216
2216
|
"bg-blend": [{
|
|
2217
|
-
"bg-blend":
|
|
2217
|
+
"bg-blend": se()
|
|
2218
2218
|
}],
|
|
2219
2219
|
/**
|
|
2220
2220
|
* Mask Clip
|
|
@@ -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
|
|
@@ -2382,7 +2382,7 @@ const $ = (e) => {
|
|
|
2382
2382
|
* @see https://tailwindcss.com/docs/mask-position
|
|
2383
2383
|
*/
|
|
2384
2384
|
"mask-position": [{
|
|
2385
|
-
mask:
|
|
2385
|
+
mask: de()
|
|
2386
2386
|
}],
|
|
2387
2387
|
/**
|
|
2388
2388
|
* Mask Repeat
|
|
@@ -2396,7 +2396,7 @@ const $ = (e) => {
|
|
|
2396
2396
|
* @see https://tailwindcss.com/docs/mask-size
|
|
2397
2397
|
*/
|
|
2398
2398
|
"mask-size": [{
|
|
2399
|
-
mask:
|
|
2399
|
+
mask: _()
|
|
2400
2400
|
}],
|
|
2401
2401
|
/**
|
|
2402
2402
|
* Mask Type
|
|
@@ -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 ---
|
|
@@ -3182,7 +3182,7 @@ const $ = (e) => {
|
|
|
3182
3182
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3183
3183
|
};
|
|
3184
3184
|
}, cn = /* @__PURE__ */ Wt(ln);
|
|
3185
|
-
function
|
|
3185
|
+
function U(...e) {
|
|
3186
3186
|
return cn(g(e));
|
|
3187
3187
|
}
|
|
3188
3188
|
const p1 = ({
|
|
@@ -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 = A(() => typeof a == "boolean" ? null : typeof a == "string" || typeof a > "u" ? a ? /* @__PURE__ */ o(
|
|
3204
3204
|
"div",
|
|
3205
3205
|
{
|
|
3206
3206
|
id: y,
|
|
@@ -3219,13 +3219,13 @@ 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",
|
|
3226
3226
|
"aria-labelledby": r ? m : void 0,
|
|
3227
3227
|
"aria-describedby": R,
|
|
3228
|
-
className:
|
|
3228
|
+
className: U(
|
|
3229
3229
|
St,
|
|
3230
3230
|
Nt[i],
|
|
3231
3231
|
l
|
|
@@ -3235,7 +3235,7 @@ const p1 = ({
|
|
|
3235
3235
|
"div",
|
|
3236
3236
|
{
|
|
3237
3237
|
id: m,
|
|
3238
|
-
className:
|
|
3238
|
+
className: U(i === "horizontal" && "shrink-0"),
|
|
3239
3239
|
children: /* @__PURE__ */ o(
|
|
3240
3240
|
Re,
|
|
3241
3241
|
{
|
|
@@ -3243,7 +3243,7 @@ const p1 = ({
|
|
|
3243
3243
|
fieldTitle: r,
|
|
3244
3244
|
optional: t,
|
|
3245
3245
|
optionalText: n,
|
|
3246
|
-
cssClass:
|
|
3246
|
+
cssClass: U(
|
|
3247
3247
|
c && "sr-only",
|
|
3248
3248
|
d
|
|
3249
3249
|
),
|
|
@@ -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:
|
|
3261
|
-
className:
|
|
3260
|
+
id: N,
|
|
3261
|
+
className: U({
|
|
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] =
|
|
3336
|
+
const [c, l] = j(t), [d, u] = j(!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,11 +3362,11 @@ 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
|
+
te,
|
|
3370
3370
|
{
|
|
3371
3371
|
cssClass: "hover:text-icon-accent-primary",
|
|
3372
3372
|
onClick: m,
|
|
@@ -3394,14 +3394,14 @@ 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__ */
|
|
3404
|
-
/* @__PURE__ */ o(
|
|
3403
|
+
t || /* @__PURE__ */ v("div", { className: "flex flex-row items-center", children: [
|
|
3404
|
+
/* @__PURE__ */ o(me, { triggerClassName: "text-primary", tooltip: r, children: r }),
|
|
3405
3405
|
n || null
|
|
3406
3406
|
] })
|
|
3407
3407
|
]
|
|
@@ -3418,29 +3418,29 @@ const fn = {
|
|
|
3418
3418
|
hideTooltip: n,
|
|
3419
3419
|
...s
|
|
3420
3420
|
}) => {
|
|
3421
|
-
const a =
|
|
3421
|
+
const a = ce(null), [i, c] = j(!1), [l, d] = j(""), u = ce(null), p = () => {
|
|
3422
3422
|
const y = a.current;
|
|
3423
3423
|
if (!y) return;
|
|
3424
3424
|
d(y.textContent ?? "");
|
|
3425
|
-
const
|
|
3426
|
-
c(R >
|
|
3427
|
-
}, x =
|
|
3428
|
-
u.current && cancelAnimationFrame(u.current), u.current = requestAnimationFrame(
|
|
3425
|
+
const N = y.clientWidth, R = y.scrollWidth, b = Math.ceil(y.getBoundingClientRect().width);
|
|
3426
|
+
c(R > N || R > b);
|
|
3427
|
+
}, x = A(() => {
|
|
3428
|
+
u.current && cancelAnimationFrame(u.current), u.current = requestAnimationFrame(p);
|
|
3429
3429
|
}, []);
|
|
3430
|
-
|
|
3430
|
+
ae(() => {
|
|
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
|
-
const m =
|
|
3439
|
+
const m = F(
|
|
3440
3440
|
() => typeof e == "string" ? e : l,
|
|
3441
3441
|
[l, e]
|
|
3442
|
-
), L =
|
|
3443
|
-
return /* @__PURE__ */
|
|
3442
|
+
), L = F(() => n ? "" : i ? m : "", [m, n, i]);
|
|
3443
|
+
return /* @__PURE__ */ v(X1, { ...s, children: [
|
|
3444
3444
|
/* @__PURE__ */ o(
|
|
3445
3445
|
J1,
|
|
3446
3446
|
{
|
|
@@ -3451,7 +3451,7 @@ const fn = {
|
|
|
3451
3451
|
children: /* @__PURE__ */ o(
|
|
3452
3452
|
"span",
|
|
3453
3453
|
{
|
|
3454
|
-
className:
|
|
3454
|
+
className: U(
|
|
3455
3455
|
"block truncate min-w-0 max-w-full",
|
|
3456
3456
|
r
|
|
3457
3457
|
),
|
|
@@ -3466,7 +3466,7 @@ const fn = {
|
|
|
3466
3466
|
/* @__PURE__ */ o(
|
|
3467
3467
|
Y1,
|
|
3468
3468
|
{
|
|
3469
|
-
className:
|
|
3469
|
+
className: U(
|
|
3470
3470
|
mn,
|
|
3471
3471
|
t,
|
|
3472
3472
|
!L && "hidden"
|
|
@@ -3483,17 +3483,17 @@ const fn = {
|
|
|
3483
3483
|
iconBefore: s,
|
|
3484
3484
|
bordered: a = !0
|
|
3485
3485
|
}) => {
|
|
3486
|
-
const i = fn[n], c =
|
|
3486
|
+
const i = fn[n], c = U(
|
|
3487
3487
|
"flex items-center gap-1 dial-tiny rounded p-1 h-[22px] text-primary",
|
|
3488
3488
|
i,
|
|
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(
|
|
3496
|
-
|
|
3496
|
+
te,
|
|
3497
3497
|
{
|
|
3498
3498
|
iconAfter: /* @__PURE__ */ o(Te, { size: 16 }),
|
|
3499
3499
|
onClick: (l) => t(l)
|
|
@@ -3503,7 +3503,7 @@ const fn = {
|
|
|
3503
3503
|
}, gn = A1({
|
|
3504
3504
|
dragDropManager: void 0
|
|
3505
3505
|
});
|
|
3506
|
-
function
|
|
3506
|
+
function fe(e, r, ...t) {
|
|
3507
3507
|
if (hn() && r === void 0)
|
|
3508
3508
|
throw new Error("invariant requires an error message argument");
|
|
3509
3509
|
if (!e) {
|
|
@@ -3554,11 +3554,11 @@ function bn() {
|
|
|
3554
3554
|
}), Ue;
|
|
3555
3555
|
}
|
|
3556
3556
|
var yn = bn();
|
|
3557
|
-
const xn = /* @__PURE__ */ Cn(yn), ye = typeof window < "u" ? Dr :
|
|
3557
|
+
const xn = /* @__PURE__ */ Cn(yn), ye = typeof window < "u" ? Dr : ae;
|
|
3558
3558
|
function vn(e, r, t) {
|
|
3559
|
-
const [n, s] =
|
|
3559
|
+
const [n, s] = j(
|
|
3560
3560
|
() => r(e)
|
|
3561
|
-
), a =
|
|
3561
|
+
), a = A(() => {
|
|
3562
3562
|
const i = r(e);
|
|
3563
3563
|
xn(n, i) || (s(i), t && t());
|
|
3564
3564
|
}, [
|
|
@@ -3597,10 +3597,10 @@ function ur(e, r) {
|
|
|
3597
3597
|
const t = [
|
|
3598
3598
|
...r || []
|
|
3599
3599
|
];
|
|
3600
|
-
return r == null && typeof e != "function" && t.push(e),
|
|
3600
|
+
return r == null && typeof e != "function" && t.push(e), F(() => typeof e == "function" ? e() : e, t);
|
|
3601
3601
|
}
|
|
3602
3602
|
function Ln(e) {
|
|
3603
|
-
return
|
|
3603
|
+
return F(
|
|
3604
3604
|
() => e.hooks.dragSource(),
|
|
3605
3605
|
[
|
|
3606
3606
|
e
|
|
@@ -3608,7 +3608,7 @@ function Ln(e) {
|
|
|
3608
3608
|
);
|
|
3609
3609
|
}
|
|
3610
3610
|
function kn(e) {
|
|
3611
|
-
return
|
|
3611
|
+
return F(
|
|
3612
3612
|
() => e.hooks.dragPreview(),
|
|
3613
3613
|
[
|
|
3614
3614
|
e
|
|
@@ -3624,7 +3624,7 @@ class Dn {
|
|
|
3624
3624
|
return this.sourceId;
|
|
3625
3625
|
}
|
|
3626
3626
|
canDrag() {
|
|
3627
|
-
|
|
3627
|
+
fe(!qe, "You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");
|
|
3628
3628
|
try {
|
|
3629
3629
|
return qe = !0, this.internalMonitor.canDragSource(this.sourceId);
|
|
3630
3630
|
} finally {
|
|
@@ -3634,7 +3634,7 @@ class Dn {
|
|
|
3634
3634
|
isDragging() {
|
|
3635
3635
|
if (!this.sourceId)
|
|
3636
3636
|
return !1;
|
|
3637
|
-
|
|
3637
|
+
fe(!Ke, "You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");
|
|
3638
3638
|
try {
|
|
3639
3639
|
return Ke = !0, this.internalMonitor.isDraggingSource(this.sourceId);
|
|
3640
3640
|
} finally {
|
|
@@ -3713,7 +3713,7 @@ class In {
|
|
|
3713
3713
|
canDrop() {
|
|
3714
3714
|
if (!this.targetId)
|
|
3715
3715
|
return !1;
|
|
3716
|
-
|
|
3716
|
+
fe(!Xe, "You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");
|
|
3717
3717
|
try {
|
|
3718
3718
|
return Xe = !0, this.internalMonitor.canDropOnTarget(this.targetId);
|
|
3719
3719
|
} finally {
|
|
@@ -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;
|
|
@@ -3829,7 +3829,7 @@ function L1(e, r) {
|
|
|
3829
3829
|
}
|
|
3830
3830
|
function Rn(e, r) {
|
|
3831
3831
|
const t = e.ref;
|
|
3832
|
-
return
|
|
3832
|
+
return fe(typeof t != "string", "Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"), t ? Fe(e, {
|
|
3833
3833
|
ref: (n) => {
|
|
3834
3834
|
L1(t, n), L1(r, n);
|
|
3835
3835
|
}
|
|
@@ -3971,10 +3971,10 @@ class Vn {
|
|
|
3971
3971
|
}
|
|
3972
3972
|
function De() {
|
|
3973
3973
|
const { dragDropManager: e } = j1(gn);
|
|
3974
|
-
return
|
|
3974
|
+
return fe(e != null, "Expected drag drop context"), e;
|
|
3975
3975
|
}
|
|
3976
3976
|
function Pn(e, r) {
|
|
3977
|
-
const t = De(), n =
|
|
3977
|
+
const t = De(), n = F(
|
|
3978
3978
|
() => new On(t.getBackend()),
|
|
3979
3979
|
[
|
|
3980
3980
|
t
|
|
@@ -3990,7 +3990,7 @@ function Pn(e, r) {
|
|
|
3990
3990
|
}
|
|
3991
3991
|
function En() {
|
|
3992
3992
|
const e = De();
|
|
3993
|
-
return
|
|
3993
|
+
return F(
|
|
3994
3994
|
() => new Dn(e),
|
|
3995
3995
|
[
|
|
3996
3996
|
e
|
|
@@ -4020,23 +4020,23 @@ class Hn {
|
|
|
4020
4020
|
}
|
|
4021
4021
|
}
|
|
4022
4022
|
function zn(e, r, t) {
|
|
4023
|
-
const n =
|
|
4023
|
+
const n = F(
|
|
4024
4024
|
() => new Hn(e, r, t),
|
|
4025
4025
|
[
|
|
4026
4026
|
r,
|
|
4027
4027
|
t
|
|
4028
4028
|
]
|
|
4029
4029
|
);
|
|
4030
|
-
return
|
|
4030
|
+
return ae(() => {
|
|
4031
4031
|
n.spec = e;
|
|
4032
4032
|
}, [
|
|
4033
4033
|
e
|
|
4034
4034
|
]), n;
|
|
4035
4035
|
}
|
|
4036
4036
|
function Fn(e) {
|
|
4037
|
-
return
|
|
4037
|
+
return F(() => {
|
|
4038
4038
|
const r = e.type;
|
|
4039
|
-
return
|
|
4039
|
+
return fe(r != null, "spec.type must be defined"), r;
|
|
4040
4040
|
}, [
|
|
4041
4041
|
e
|
|
4042
4042
|
]);
|
|
@@ -4058,7 +4058,7 @@ function An(e, r, t) {
|
|
|
4058
4058
|
}
|
|
4059
4059
|
function jn(e, r) {
|
|
4060
4060
|
const t = ur(e, r);
|
|
4061
|
-
|
|
4061
|
+
fe(!t.begin, "useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");
|
|
4062
4062
|
const n = En(), s = Pn(t.options, t.previewOptions);
|
|
4063
4063
|
return An(t, n, s), [
|
|
4064
4064
|
dr(t.collect, n, s),
|
|
@@ -4067,7 +4067,7 @@ function jn(e, r) {
|
|
|
4067
4067
|
];
|
|
4068
4068
|
}
|
|
4069
4069
|
function Bn(e) {
|
|
4070
|
-
return
|
|
4070
|
+
return F(
|
|
4071
4071
|
() => e.hooks.dropTarget(),
|
|
4072
4072
|
[
|
|
4073
4073
|
e
|
|
@@ -4075,7 +4075,7 @@ function Bn(e) {
|
|
|
4075
4075
|
);
|
|
4076
4076
|
}
|
|
4077
4077
|
function Wn(e) {
|
|
4078
|
-
const r = De(), t =
|
|
4078
|
+
const r = De(), t = F(
|
|
4079
4079
|
() => new Vn(r.getBackend()),
|
|
4080
4080
|
[
|
|
4081
4081
|
r
|
|
@@ -4087,7 +4087,7 @@ function Wn(e) {
|
|
|
4087
4087
|
}
|
|
4088
4088
|
function Zn() {
|
|
4089
4089
|
const e = De();
|
|
4090
|
-
return
|
|
4090
|
+
return F(
|
|
4091
4091
|
() => new In(e),
|
|
4092
4092
|
[
|
|
4093
4093
|
e
|
|
@@ -4096,7 +4096,7 @@ function Zn() {
|
|
|
4096
4096
|
}
|
|
4097
4097
|
function Gn(e) {
|
|
4098
4098
|
const { accept: r } = e;
|
|
4099
|
-
return
|
|
4099
|
+
return F(() => (fe(e.accept != null, "accept must be defined"), Array.isArray(r) ? r : [
|
|
4100
4100
|
r
|
|
4101
4101
|
]), [
|
|
4102
4102
|
r
|
|
@@ -4121,13 +4121,13 @@ class $n {
|
|
|
4121
4121
|
}
|
|
4122
4122
|
}
|
|
4123
4123
|
function _n(e, r) {
|
|
4124
|
-
const t =
|
|
4124
|
+
const t = F(
|
|
4125
4125
|
() => new $n(e, r),
|
|
4126
4126
|
[
|
|
4127
4127
|
r
|
|
4128
4128
|
]
|
|
4129
4129
|
);
|
|
4130
|
-
return
|
|
4130
|
+
return ae(() => {
|
|
4131
4131
|
t.spec = e;
|
|
4132
4132
|
}, [
|
|
4133
4133
|
e
|
|
@@ -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 =
|
|
4166
|
+
const i = ce(null), c = ce(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,11 +4191,11 @@ 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,
|
|
4198
|
-
className:
|
|
4198
|
+
className: U(Kn, t),
|
|
4199
4199
|
style: { opacity: d ? 0 : 1 },
|
|
4200
4200
|
"aria-roledescription": "Draggable item",
|
|
4201
4201
|
children: [
|
|
@@ -4284,8 +4284,8 @@ const k1 = "column", Kn = "flex items-center", Xn = "mr-3 cursor-move text-secon
|
|
|
4284
4284
|
};
|
|
4285
4285
|
var n1 = /* @__PURE__ */ ((e) => (e.Horizontal = "horizontal", e.Vertical = "vertical", e))(n1 || {});
|
|
4286
4286
|
const I1 = () => typeof window < "u" && window.innerWidth < 1024, oo = () => {
|
|
4287
|
-
const [e, r] =
|
|
4288
|
-
return
|
|
4287
|
+
const [e, r] = j(I1());
|
|
4288
|
+
return ae(() => {
|
|
4289
4289
|
const t = () => r(I1());
|
|
4290
4290
|
return window.addEventListener("resize", t), () => window.removeEventListener("resize", t);
|
|
4291
4291
|
}, []), e;
|
|
@@ -4308,10 +4308,10 @@ const ao = g(
|
|
|
4308
4308
|
size: t = 24,
|
|
4309
4309
|
onClose: n
|
|
4310
4310
|
}) => /* @__PURE__ */ o(
|
|
4311
|
-
|
|
4311
|
+
te,
|
|
4312
4312
|
{
|
|
4313
4313
|
ariaLabel: e,
|
|
4314
|
-
cssClass:
|
|
4314
|
+
cssClass: U("text-secondary hover:text-accent-primary", r),
|
|
4315
4315
|
onClick: n,
|
|
4316
4316
|
iconBefore: /* @__PURE__ */ o(Te, { size: t })
|
|
4317
4317
|
}
|
|
@@ -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] = j(c), b = i !== void 0, k = b ? !!i : N, T = A(
|
|
4337
4337
|
(I) => {
|
|
4338
|
-
|
|
4338
|
+
b || R(I), l?.(I);
|
|
4339
4339
|
},
|
|
4340
|
-
[
|
|
4341
|
-
), V = W1(),
|
|
4340
|
+
[b, l]
|
|
4341
|
+
), V = W1(), B = (I) => I ? "clientWidth" in I ? I.clientWidth : I.getBoundingClientRect?.()?.width ?? 0 : 0, $ = s === void 0, { refs: w, floatingStyles: O, context: q } = 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,
|
|
@@ -4354,47 +4354,47 @@ const ao = g(
|
|
|
4354
4354
|
P1({ padding: Se }),
|
|
4355
4355
|
wr({
|
|
4356
4356
|
padding: Se,
|
|
4357
|
-
apply({ availableWidth: I, availableHeight:
|
|
4358
|
-
const z =
|
|
4357
|
+
apply({ availableWidth: I, availableHeight: _, elements: ie }) {
|
|
4358
|
+
const z = ie.floating, f = B(ie.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
|
-
`${Math.floor(
|
|
4365
|
-
), z.style.minWidth = `${Math.round(
|
|
4364
|
+
`${Math.floor(_)}px`
|
|
4365
|
+
), z.style.minWidth = `${Math.round(f)}px`, z.style.maxWidth = `${Math.floor(I)}px`, z.style.maxHeight = `${Math.floor(_)}px`;
|
|
4366
4366
|
}
|
|
4367
4367
|
})
|
|
4368
4368
|
]
|
|
4369
|
-
}),
|
|
4369
|
+
}), W = Lr(q, {
|
|
4370
4370
|
enabled: n.includes(be.Click) && !a
|
|
4371
|
-
}),
|
|
4371
|
+
}), K = H1(q, {
|
|
4372
4372
|
enabled: n.includes(be.Hover) && !a,
|
|
4373
4373
|
move: !1,
|
|
4374
4374
|
restMs: 40,
|
|
4375
4375
|
delay: { open: 80, close: 80 }
|
|
4376
|
-
}),
|
|
4376
|
+
}), ee = a1(q, {
|
|
4377
4377
|
bubbles: !0,
|
|
4378
4378
|
referencePress: !1,
|
|
4379
4379
|
outsidePress: (I) => {
|
|
4380
4380
|
if (!L) return !1;
|
|
4381
|
-
const
|
|
4382
|
-
return !(m?.current &&
|
|
4381
|
+
const _ = I.target;
|
|
4382
|
+
return !(m?.current && _ instanceof Node && m.current.contains(_));
|
|
4383
4383
|
}
|
|
4384
|
-
}), Y = i1(
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4384
|
+
}), Y = i1(q, { role: "menu" }), { getReferenceProps: ne, getFloatingProps: X } = l1([
|
|
4385
|
+
W,
|
|
4386
|
+
K,
|
|
4387
|
+
ee,
|
|
4388
4388
|
Y
|
|
4389
|
-
]),
|
|
4390
|
-
!n.includes(be.ContextMenu) || a || (I.preventDefault(),
|
|
4389
|
+
]), oe = (I) => {
|
|
4390
|
+
!n.includes(be.ContextMenu) || a || (I.preventDefault(), T(!0));
|
|
4391
4391
|
};
|
|
4392
|
-
|
|
4393
|
-
a &&
|
|
4394
|
-
}, [a,
|
|
4395
|
-
const
|
|
4396
|
-
I.disabled || (I.onClick?.({ key: I.key, domEvent:
|
|
4397
|
-
},
|
|
4392
|
+
ae(() => {
|
|
4393
|
+
a && k && T(!1);
|
|
4394
|
+
}, [a, k, T]);
|
|
4395
|
+
const D = (I) => (_) => {
|
|
4396
|
+
I.disabled || (I.onClick?.({ key: I.key, domEvent: _ }), r?.onClick?.({ key: I.key, domEvent: _ }), T(!1));
|
|
4397
|
+
}, de = 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,50 +4444,50 @@ 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
|
-
onContextMenu:
|
|
4461
|
-
...
|
|
4460
|
+
onContextMenu: oe,
|
|
4461
|
+
...ne(),
|
|
4462
4462
|
children: e
|
|
4463
4463
|
}
|
|
4464
4464
|
),
|
|
4465
|
-
|
|
4465
|
+
k && /* @__PURE__ */ o(c1, { children: /* @__PURE__ */ o(
|
|
4466
4466
|
F1,
|
|
4467
4467
|
{
|
|
4468
|
-
context:
|
|
4468
|
+
context: q,
|
|
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
|
+
...X(),
|
|
4480
4480
|
children: [
|
|
4481
4481
|
d && /* @__PURE__ */ o("div", { className: "flex items-center justify-between px-2 pt-2", children: /* @__PURE__ */ o(
|
|
4482
4482
|
mr,
|
|
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
|
) }),
|
|
4490
|
-
|
|
4490
|
+
de
|
|
4491
4491
|
]
|
|
4492
4492
|
}
|
|
4493
4493
|
)
|
|
@@ -4503,7 +4503,7 @@ const ao = g(
|
|
|
4503
4503
|
horizontal: a,
|
|
4504
4504
|
onClick: i
|
|
4505
4505
|
}) => {
|
|
4506
|
-
const l =
|
|
4506
|
+
const l = U(
|
|
4507
4507
|
"rounded px-3 py-2 flex flex-row gap-2 h-[32px] cursor-pointer dial-small leading-4 hover:text-accent-primary",
|
|
4508
4508
|
{
|
|
4509
4509
|
"bg-layer-4": a,
|
|
@@ -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] = j(!1), [i, c] = j(!1), [l, d] = j(!1), u = oo(), p = n === n1.Horizontal, x = ce(null), m = ce(null), L = ce(null), y = e.find((b) => b.id === r), N = F(
|
|
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 = A(() => {
|
|
4551
|
+
const b = m.current;
|
|
4552
|
+
b && d(b.scrollWidth > b.clientWidth);
|
|
4554
4553
|
}, []);
|
|
4555
|
-
return
|
|
4556
|
-
|
|
4557
|
-
const
|
|
4558
|
-
return
|
|
4559
|
-
}, [e,
|
|
4560
|
-
const
|
|
4561
|
-
if (!
|
|
4562
|
-
const
|
|
4563
|
-
|
|
4564
|
-
left:
|
|
4554
|
+
return ae(() => {
|
|
4555
|
+
R();
|
|
4556
|
+
const b = new ResizeObserver(R), k = m.current;
|
|
4557
|
+
return k && b.observe(k), () => b.disconnect();
|
|
4558
|
+
}, [e, R]), ae(() => {
|
|
4559
|
+
const b = L.current, k = m.current;
|
|
4560
|
+
if (!b || !k) return;
|
|
4561
|
+
const T = b.offsetLeft, V = T + b.offsetWidth, B = k.scrollLeft, $ = B + k.clientWidth;
|
|
4562
|
+
T < B ? 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,51 +4611,51 @@ 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
|
+
te,
|
|
4655
4654
|
{
|
|
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,12 +4674,12 @@ const ao = g(
|
|
|
4675
4674
|
iconBefore: c,
|
|
4676
4675
|
titleCssClass: l
|
|
4677
4676
|
}) => {
|
|
4678
|
-
const d =
|
|
4679
|
-
return /* @__PURE__ */
|
|
4680
|
-
u ? /* @__PURE__ */
|
|
4677
|
+
const d = U(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
|
-
className:
|
|
4682
|
+
className: U(
|
|
4684
4683
|
N1,
|
|
4685
4684
|
ho,
|
|
4686
4685
|
l
|
|
@@ -4689,13 +4688,13 @@ 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
|
-
className:
|
|
4697
|
+
className: U(
|
|
4699
4698
|
N1,
|
|
4700
4699
|
Co,
|
|
4701
4700
|
n && "pointer-events-none opacity-75",
|
|
@@ -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
|
),
|
|
@@ -4740,7 +4739,7 @@ const ao = g(
|
|
|
4740
4739
|
"nav",
|
|
4741
4740
|
{
|
|
4742
4741
|
"aria-label": t,
|
|
4743
|
-
className:
|
|
4742
|
+
className: U(fo, n),
|
|
4744
4743
|
children: /* @__PURE__ */ o("ol", { className: mo, children: i })
|
|
4745
4744
|
}
|
|
4746
4745
|
);
|
|
@@ -4756,10 +4755,10 @@ const ao = g(
|
|
|
4756
4755
|
disableTooltip: l,
|
|
4757
4756
|
onChange: d
|
|
4758
4757
|
}) => /* @__PURE__ */ o(
|
|
4759
|
-
|
|
4758
|
+
me,
|
|
4760
4759
|
{
|
|
4761
4760
|
tooltip: l ? null : e,
|
|
4762
|
-
triggerClassName:
|
|
4761
|
+
triggerClassName: U("flex", s),
|
|
4763
4762
|
children: /* @__PURE__ */ o(
|
|
4764
4763
|
"textarea",
|
|
4765
4764
|
{
|
|
@@ -4822,30 +4821,31 @@ 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:
|
|
4835
|
-
defaultValue: V
|
|
4831
|
+
textBeforeInput: b,
|
|
4832
|
+
textAfterInput: k,
|
|
4833
|
+
onBlur: T,
|
|
4834
|
+
defaultValue: V,
|
|
4835
|
+
tooltipText: B
|
|
4836
4836
|
}) => {
|
|
4837
|
-
const
|
|
4838
|
-
wo(
|
|
4839
|
-
},
|
|
4840
|
-
const
|
|
4841
|
-
if (
|
|
4842
|
-
const
|
|
4843
|
-
if (isNaN(
|
|
4837
|
+
const $ = (W) => W.target.blur(), w = d === "number" || L !== void 0 || y !== void 0, O = (W) => {
|
|
4838
|
+
wo(W, d, L, y);
|
|
4839
|
+
}, q = (W) => {
|
|
4840
|
+
const K = W.currentTarget.value;
|
|
4841
|
+
if (w && K !== "") {
|
|
4842
|
+
const ee = parseFloat(K);
|
|
4843
|
+
if (isNaN(ee) && K !== "-" && K !== "." || !isNaN(ee) && (L !== void 0 && ee < L || y !== void 0 && ee > y))
|
|
4844
4844
|
return;
|
|
4845
4845
|
}
|
|
4846
|
-
m?.(
|
|
4846
|
+
m?.(K);
|
|
4847
4847
|
};
|
|
4848
|
-
return /* @__PURE__ */
|
|
4848
|
+
return /* @__PURE__ */ v(
|
|
4849
4849
|
"div",
|
|
4850
4850
|
{
|
|
4851
4851
|
className: g(
|
|
@@ -4853,32 +4853,32 @@ const ao = g(
|
|
|
4853
4853
|
t ? "dial-input-no-border" : "dial-input",
|
|
4854
4854
|
x && "dial-input-error",
|
|
4855
4855
|
u && "dial-input-disable",
|
|
4856
|
-
|
|
4857
|
-
!
|
|
4858
|
-
!
|
|
4856
|
+
p && "dial-input-readonly",
|
|
4857
|
+
!b && "pl-3",
|
|
4858
|
+
!k && "pr-3",
|
|
4859
4859
|
c
|
|
4860
4860
|
),
|
|
4861
4861
|
children: [
|
|
4862
|
-
|
|
4862
|
+
b && /* @__PURE__ */ o("div", { className: "mr-2", children: /* @__PURE__ */ o(
|
|
4863
4863
|
Be,
|
|
4864
4864
|
{
|
|
4865
4865
|
hideBorder: !0,
|
|
4866
4866
|
containerCssClass: "rounded-r-none border-r-0",
|
|
4867
4867
|
cssClass: "overflow-hidden overflow-ellipsis dial-small",
|
|
4868
|
-
value:
|
|
4868
|
+
value: b,
|
|
4869
4869
|
disabled: !0,
|
|
4870
|
-
elementId:
|
|
4870
|
+
elementId: b + "textBefore"
|
|
4871
4871
|
}
|
|
4872
4872
|
) }),
|
|
4873
|
-
|
|
4873
|
+
N && /* @__PURE__ */ v("p", { className: "text-secondary dial-small mr-2", children: [
|
|
4874
4874
|
" ",
|
|
4875
|
-
|
|
4875
|
+
N
|
|
4876
4876
|
] }),
|
|
4877
4877
|
/* @__PURE__ */ o(Z, { icon: e }),
|
|
4878
4878
|
/* @__PURE__ */ o(
|
|
4879
|
-
|
|
4879
|
+
me,
|
|
4880
4880
|
{
|
|
4881
|
-
tooltip: n,
|
|
4881
|
+
tooltip: B || n,
|
|
4882
4882
|
triggerClassName: g(l, "flex-1"),
|
|
4883
4883
|
children: /* @__PURE__ */ o(
|
|
4884
4884
|
"input",
|
|
@@ -4890,10 +4890,10 @@ const ao = g(
|
|
|
4890
4890
|
value: V ? void 0 : n ?? "",
|
|
4891
4891
|
disabled: u,
|
|
4892
4892
|
className: g("border-0 bg-transparent w-full", i),
|
|
4893
|
-
onChange: (
|
|
4894
|
-
onKeyDown:
|
|
4895
|
-
onWheel:
|
|
4896
|
-
onBlur:
|
|
4893
|
+
onChange: (W) => !p && q?.(W),
|
|
4894
|
+
onKeyDown: O,
|
|
4895
|
+
onWheel: $,
|
|
4896
|
+
onBlur: T,
|
|
4897
4897
|
min: L,
|
|
4898
4898
|
max: y,
|
|
4899
4899
|
defaultValue: V
|
|
@@ -4902,18 +4902,18 @@ const ao = g(
|
|
|
4902
4902
|
}
|
|
4903
4903
|
),
|
|
4904
4904
|
/* @__PURE__ */ o(Z, { icon: r }),
|
|
4905
|
-
R && /* @__PURE__ */
|
|
4905
|
+
R && /* @__PURE__ */ v("p", { className: "text-secondary dial-small ml-2", children: [
|
|
4906
4906
|
" ",
|
|
4907
4907
|
R
|
|
4908
4908
|
] }),
|
|
4909
|
-
|
|
4909
|
+
k && /* @__PURE__ */ o("div", { className: "ml-2", children: /* @__PURE__ */ o(
|
|
4910
4910
|
Be,
|
|
4911
4911
|
{
|
|
4912
4912
|
hideBorder: !0,
|
|
4913
4913
|
containerCssClass: "rounded-l-none border-l-0",
|
|
4914
|
-
value:
|
|
4914
|
+
value: k,
|
|
4915
4915
|
disabled: !0,
|
|
4916
|
-
elementId:
|
|
4916
|
+
elementId: k + "textAfter"
|
|
4917
4917
|
}
|
|
4918
4918
|
) })
|
|
4919
4919
|
]
|
|
@@ -4931,7 +4931,7 @@ const ao = g(
|
|
|
4931
4931
|
defaultEmptyText: l,
|
|
4932
4932
|
min: d,
|
|
4933
4933
|
max: u,
|
|
4934
|
-
...
|
|
4934
|
+
...p
|
|
4935
4935
|
}) => /* @__PURE__ */ o(
|
|
4936
4936
|
p1,
|
|
4937
4937
|
{
|
|
@@ -4940,7 +4940,7 @@ const ao = g(
|
|
|
4940
4940
|
label: e,
|
|
4941
4941
|
optional: t,
|
|
4942
4942
|
cssClass: i,
|
|
4943
|
-
children: c ? /* @__PURE__ */ o("span", { children:
|
|
4943
|
+
children: c ? /* @__PURE__ */ o("span", { children: p.value || (l ?? "None") }) : /* @__PURE__ */ o(
|
|
4944
4944
|
Be,
|
|
4945
4945
|
{
|
|
4946
4946
|
elementId: a,
|
|
@@ -4949,7 +4949,7 @@ const ao = g(
|
|
|
4949
4949
|
invalid: r != null,
|
|
4950
4950
|
min: d,
|
|
4951
4951
|
max: u,
|
|
4952
|
-
...
|
|
4952
|
+
...p
|
|
4953
4953
|
}
|
|
4954
4954
|
)
|
|
4955
4955
|
}
|
|
@@ -4991,7 +4991,7 @@ const ao = g(
|
|
|
4991
4991
|
elementContainerCssClass: a,
|
|
4992
4992
|
errorText: i,
|
|
4993
4993
|
...c
|
|
4994
|
-
}) => /* @__PURE__ */
|
|
4994
|
+
}) => /* @__PURE__ */ v("div", { className: U("flex flex-col", s), children: [
|
|
4995
4995
|
/* @__PURE__ */ o(
|
|
4996
4996
|
Re,
|
|
4997
4997
|
{
|
|
@@ -5022,13 +5022,13 @@ const ao = g(
|
|
|
5022
5022
|
t ? "flex-row-reverse" : "flex-row",
|
|
5023
5023
|
n ? "pointer-events-none" : "",
|
|
5024
5024
|
n ? t ? "bg-controls-disable" : "bg-layer-4" : t ? "bg-accent-primary" : "bg-layer-4"
|
|
5025
|
-
), i =
|
|
5025
|
+
), i = A(
|
|
5026
5026
|
(c) => {
|
|
5027
5027
|
c.stopPropagation(), s?.(!t);
|
|
5028
5028
|
},
|
|
5029
5029
|
[s, t]
|
|
5030
5030
|
);
|
|
5031
|
-
return /* @__PURE__ */
|
|
5031
|
+
return /* @__PURE__ */ v("div", { className: "flex flex-row items-center", children: [
|
|
5032
5032
|
/* @__PURE__ */ o(
|
|
5033
5033
|
"input",
|
|
5034
5034
|
{
|
|
@@ -5052,11 +5052,11 @@ const ao = g(
|
|
|
5052
5052
|
e && /* @__PURE__ */ o("span", { className: "pl-2 dial-small text-primary", children: e })
|
|
5053
5053
|
] });
|
|
5054
5054
|
};
|
|
5055
|
-
var
|
|
5055
|
+
var pe = /* @__PURE__ */ ((e) => (e.Sm = "sm", e.Md = "md", e.Lg = "lg", e))(pe || {});
|
|
5056
5056
|
const Do = "z-[52] flex items-center justify-center bg-blackout md:p-4", Io = "divide-tertiary divide-y", So = "flex flex-row justify-between py-4 px-6 items-center", No = {
|
|
5057
|
-
[
|
|
5058
|
-
[
|
|
5059
|
-
[
|
|
5057
|
+
[pe.Sm]: "dial-sm-popup",
|
|
5058
|
+
[pe.Md]: "dial-md-popup",
|
|
5059
|
+
[pe.Lg]: "dial-lg-popup"
|
|
5060
5060
|
}, g1 = ({
|
|
5061
5061
|
open: e = !1,
|
|
5062
5062
|
title: r,
|
|
@@ -5068,34 +5068,34 @@ const Do = "z-[52] flex items-center justify-center bg-blackout md:p-4", Io = "d
|
|
|
5068
5068
|
children: c,
|
|
5069
5069
|
footer: l,
|
|
5070
5070
|
onClose: d,
|
|
5071
|
-
size: u =
|
|
5071
|
+
size: u = pe.Md
|
|
5072
5072
|
}) => {
|
|
5073
|
-
const { refs:
|
|
5073
|
+
const { refs: p, context: x } = s1({
|
|
5074
5074
|
open: e,
|
|
5075
|
-
onOpenChange: (
|
|
5076
|
-
|
|
5075
|
+
onOpenChange: (b) => {
|
|
5076
|
+
b || d?.(null);
|
|
5077
5077
|
}
|
|
5078
5078
|
}), m = i1(x, { role: "dialog" }), L = a1(x, { outsidePress: !0 }), { getFloatingProps: y } = l1([m, L]);
|
|
5079
5079
|
if (!e) return null;
|
|
5080
|
-
const
|
|
5080
|
+
const N = typeof r == "string" ? "dial-popup-heading" : void 0, R = (b) => b ? typeof b == "string" ? /* @__PURE__ */ o(
|
|
5081
5081
|
"h3",
|
|
5082
5082
|
{
|
|
5083
|
-
id:
|
|
5083
|
+
id: N,
|
|
5084
5084
|
className: g(
|
|
5085
5085
|
"flex-1 min-w-0 mr-3 truncate dial-h3 text-primary",
|
|
5086
5086
|
a
|
|
5087
5087
|
),
|
|
5088
|
-
children: /* @__PURE__ */ o(
|
|
5088
|
+
children: /* @__PURE__ */ o(me, { tooltip: b, children: b })
|
|
5089
5089
|
}
|
|
5090
|
-
) :
|
|
5091
|
-
return /* @__PURE__ */ o(c1, { id: t, children: /* @__PURE__ */ o(kr, { className: g(Do, s), children: /* @__PURE__ */ o(F1, { context: x, children: /* @__PURE__ */
|
|
5090
|
+
) : b : /* @__PURE__ */ o("span", {});
|
|
5091
|
+
return /* @__PURE__ */ o(c1, { id: t, children: /* @__PURE__ */ o(kr, { className: g(Do, s), children: /* @__PURE__ */ o(F1, { context: x, children: /* @__PURE__ */ v(
|
|
5092
5092
|
"div",
|
|
5093
5093
|
{
|
|
5094
|
-
ref:
|
|
5094
|
+
ref: p.setFloating,
|
|
5095
5095
|
...y(),
|
|
5096
5096
|
role: "dialog",
|
|
5097
5097
|
"aria-modal": "true",
|
|
5098
|
-
"aria-labelledby":
|
|
5098
|
+
"aria-labelledby": N,
|
|
5099
5099
|
className: g(
|
|
5100
5100
|
"dial-popup",
|
|
5101
5101
|
No[u],
|
|
@@ -5103,13 +5103,13 @@ const Do = "z-[52] flex items-center justify-center bg-blackout md:p-4", Io = "d
|
|
|
5103
5103
|
n
|
|
5104
5104
|
),
|
|
5105
5105
|
children: [
|
|
5106
|
-
/* @__PURE__ */
|
|
5106
|
+
/* @__PURE__ */ v("div", { className: So, children: [
|
|
5107
5107
|
R(r),
|
|
5108
5108
|
/* @__PURE__ */ o(
|
|
5109
5109
|
mr,
|
|
5110
5110
|
{
|
|
5111
5111
|
ariaLabel: "Close dialog",
|
|
5112
|
-
onClose: (
|
|
5112
|
+
onClose: (b) => d?.(b)
|
|
5113
5113
|
}
|
|
5114
5114
|
)
|
|
5115
5115
|
] }),
|
|
@@ -5142,17 +5142,17 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5142
5142
|
cssClass: l,
|
|
5143
5143
|
confirmClassName: d,
|
|
5144
5144
|
onClose: u,
|
|
5145
|
-
onConfirm:
|
|
5145
|
+
onConfirm: p,
|
|
5146
5146
|
onCancel: x,
|
|
5147
5147
|
children: m,
|
|
5148
5148
|
dividers: L = !1,
|
|
5149
5149
|
variant: y = We.Info,
|
|
5150
|
-
size:
|
|
5150
|
+
size: N = pe.Sm,
|
|
5151
5151
|
footer: R
|
|
5152
5152
|
}) => {
|
|
5153
|
-
const
|
|
5153
|
+
const b = i ? null : /* @__PURE__ */ v("div", { className: To, children: [
|
|
5154
5154
|
/* @__PURE__ */ o(
|
|
5155
|
-
|
|
5155
|
+
te,
|
|
5156
5156
|
{
|
|
5157
5157
|
variant: J.Secondary,
|
|
5158
5158
|
title: a,
|
|
@@ -5160,16 +5160,16 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5160
5160
|
}
|
|
5161
5161
|
),
|
|
5162
5162
|
/* @__PURE__ */ o(
|
|
5163
|
-
|
|
5163
|
+
te,
|
|
5164
5164
|
{
|
|
5165
5165
|
variant: T1[y].confirmVariant,
|
|
5166
5166
|
cssClass: d,
|
|
5167
5167
|
title: s,
|
|
5168
5168
|
disable: c,
|
|
5169
|
-
onClick: () =>
|
|
5169
|
+
onClick: () => p()
|
|
5170
5170
|
}
|
|
5171
5171
|
)
|
|
5172
|
-
] }),
|
|
5172
|
+
] }), k = A(() => i ? /* @__PURE__ */ o("div", { className: "px-6 py-4 h-[120px]", children: /* @__PURE__ */ o(Q1, { size: 50 }) }) : m ?? (r ? /* @__PURE__ */ o(
|
|
5173
5173
|
"div",
|
|
5174
5174
|
{
|
|
5175
5175
|
className: g(Mo, t),
|
|
@@ -5184,9 +5184,9 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5184
5184
|
cssClass: g(T1[y].container, l),
|
|
5185
5185
|
dividers: L,
|
|
5186
5186
|
onClose: () => u?.(),
|
|
5187
|
-
footer: R ??
|
|
5188
|
-
size:
|
|
5189
|
-
children:
|
|
5187
|
+
footer: R ?? b,
|
|
5188
|
+
size: N,
|
|
5189
|
+
children: k()
|
|
5190
5190
|
}
|
|
5191
5191
|
);
|
|
5192
5192
|
}, Cr = ({ selectedItems: e, listCssClass: r, listElementCssClass: t }) => !!e?.length && /* @__PURE__ */ o(
|
|
@@ -5197,7 +5197,7 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5197
5197
|
"flex gap-x-2 gap-y-1",
|
|
5198
5198
|
r
|
|
5199
5199
|
),
|
|
5200
|
-
children: e?.map((n) => /* @__PURE__ */ o("li", { children: /* @__PURE__ */ o(
|
|
5200
|
+
children: e?.map((n) => /* @__PURE__ */ o("li", { children: /* @__PURE__ */ o(me, { tooltip: n, children: /* @__PURE__ */ o(
|
|
5201
5201
|
m1,
|
|
5202
5202
|
{
|
|
5203
5203
|
tag: n,
|
|
@@ -5217,9 +5217,9 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5217
5217
|
errorText: l,
|
|
5218
5218
|
emptyValueText: d
|
|
5219
5219
|
}) => {
|
|
5220
|
-
const u = Array.isArray(n) && n.length > 0,
|
|
5221
|
-
return /* @__PURE__ */
|
|
5222
|
-
u ? /* @__PURE__ */ o("div", { className: "w-full", onClick: m, children: /* @__PURE__ */
|
|
5220
|
+
const u = Array.isArray(n) && n.length > 0, p = typeof n == "string" && !!n.trim(), x = u || p ? n : d, m = t ? void 0 : i;
|
|
5221
|
+
return /* @__PURE__ */ v(Ce, { children: [
|
|
5222
|
+
u ? /* @__PURE__ */ o("div", { className: "w-full", onClick: m, children: /* @__PURE__ */ v(
|
|
5223
5223
|
"div",
|
|
5224
5224
|
{
|
|
5225
5225
|
className: g(
|
|
@@ -5243,7 +5243,7 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5243
5243
|
) })
|
|
5244
5244
|
]
|
|
5245
5245
|
}
|
|
5246
|
-
) }) : /* @__PURE__ */
|
|
5246
|
+
) }) : /* @__PURE__ */ v(Ce, { children: [
|
|
5247
5247
|
/* @__PURE__ */ o(
|
|
5248
5248
|
"button",
|
|
5249
5249
|
{
|
|
@@ -5252,7 +5252,7 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5252
5252
|
onClick: m,
|
|
5253
5253
|
"aria-label": "open-popup",
|
|
5254
5254
|
id: c,
|
|
5255
|
-
children: /* @__PURE__ */
|
|
5255
|
+
children: /* @__PURE__ */ v(
|
|
5256
5256
|
"div",
|
|
5257
5257
|
{
|
|
5258
5258
|
className: g(
|
|
@@ -5262,7 +5262,7 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5262
5262
|
l && "dial-input-error"
|
|
5263
5263
|
),
|
|
5264
5264
|
children: [
|
|
5265
|
-
/* @__PURE__ */ o(
|
|
5265
|
+
/* @__PURE__ */ o(me, { tooltip: String(x), children: /* @__PURE__ */ o("span", { className: s, children: x }) }),
|
|
5266
5266
|
!t && /* @__PURE__ */ o("div", { className: "flex-shrink-0", children: /* @__PURE__ */ o(
|
|
5267
5267
|
Z,
|
|
5268
5268
|
{
|
|
@@ -5297,58 +5297,58 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5297
5297
|
emptyValueText: l,
|
|
5298
5298
|
onClose: d,
|
|
5299
5299
|
title: u,
|
|
5300
|
-
portalId:
|
|
5300
|
+
portalId: p,
|
|
5301
5301
|
onApply: x,
|
|
5302
5302
|
cancelButtonTitle: m = "Cancel",
|
|
5303
5303
|
applyButtonTitle: L = "Apply",
|
|
5304
5304
|
isValid: y,
|
|
5305
|
-
selectedRadioValue:
|
|
5305
|
+
selectedRadioValue: N,
|
|
5306
5306
|
onChangeRadioField: R,
|
|
5307
|
-
id:
|
|
5308
|
-
size:
|
|
5307
|
+
id: b,
|
|
5308
|
+
size: k = pe.Md
|
|
5309
5309
|
}) => {
|
|
5310
|
-
const [
|
|
5310
|
+
const [T, V] = j(!1), B = A(() => {
|
|
5311
5311
|
t || V(!0);
|
|
5312
|
-
}, [t]),
|
|
5312
|
+
}, [t]), $ = A(() => {
|
|
5313
5313
|
V(!1), d?.();
|
|
5314
|
-
}, [d]),
|
|
5315
|
-
x(),
|
|
5316
|
-
}, [x,
|
|
5317
|
-
return /* @__PURE__ */
|
|
5314
|
+
}, [d]), w = A(() => {
|
|
5315
|
+
x(), $();
|
|
5316
|
+
}, [x, $]);
|
|
5317
|
+
return /* @__PURE__ */ v("div", { className: "flex flex-col", children: [
|
|
5318
5318
|
/* @__PURE__ */ o(Re, { fieldTitle: e, htmlFor: r }),
|
|
5319
5319
|
/* @__PURE__ */ o(
|
|
5320
5320
|
Vo,
|
|
5321
5321
|
{
|
|
5322
5322
|
disabled: t,
|
|
5323
|
-
open:
|
|
5323
|
+
open: T,
|
|
5324
5324
|
selectedValue: a ?? s.find((O) => O.id === n)?.name,
|
|
5325
5325
|
valueCssClasses: i,
|
|
5326
5326
|
inputCssClasses: g(c, "py-2", "px-3"),
|
|
5327
5327
|
emptyValueText: l,
|
|
5328
|
-
onOpen:
|
|
5328
|
+
onOpen: B,
|
|
5329
5329
|
children: /* @__PURE__ */ o(
|
|
5330
5330
|
g1,
|
|
5331
5331
|
{
|
|
5332
|
-
open:
|
|
5333
|
-
onClose:
|
|
5332
|
+
open: T,
|
|
5333
|
+
onClose: $,
|
|
5334
5334
|
title: u,
|
|
5335
|
-
portalId:
|
|
5336
|
-
size:
|
|
5337
|
-
footer: /* @__PURE__ */
|
|
5335
|
+
portalId: p,
|
|
5336
|
+
size: k,
|
|
5337
|
+
footer: /* @__PURE__ */ v("div", { className: "flex flex-row items-center justify-end gap-2 px-6 py-4", children: [
|
|
5338
5338
|
/* @__PURE__ */ o(
|
|
5339
|
-
|
|
5339
|
+
te,
|
|
5340
5340
|
{
|
|
5341
5341
|
variant: J.Secondary,
|
|
5342
5342
|
title: m,
|
|
5343
|
-
onClick:
|
|
5343
|
+
onClick: $
|
|
5344
5344
|
}
|
|
5345
5345
|
),
|
|
5346
5346
|
/* @__PURE__ */ o(
|
|
5347
|
-
|
|
5347
|
+
te,
|
|
5348
5348
|
{
|
|
5349
5349
|
variant: J.Primary,
|
|
5350
5350
|
title: L,
|
|
5351
|
-
onClick:
|
|
5351
|
+
onClick: w,
|
|
5352
5352
|
disable: !y
|
|
5353
5353
|
}
|
|
5354
5354
|
)
|
|
@@ -5358,9 +5358,9 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5358
5358
|
{
|
|
5359
5359
|
radioButtons: s,
|
|
5360
5360
|
labelCssClass: "dial-small",
|
|
5361
|
-
activeRadioButton:
|
|
5361
|
+
activeRadioButton: N,
|
|
5362
5362
|
onChange: R,
|
|
5363
|
-
elementId:
|
|
5363
|
+
elementId: b,
|
|
5364
5364
|
orientation: Ae.Column
|
|
5365
5365
|
}
|
|
5366
5366
|
) })
|
|
@@ -5381,14 +5381,14 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5381
5381
|
onClose: l,
|
|
5382
5382
|
onSubmit: d,
|
|
5383
5383
|
onCancel: u,
|
|
5384
|
-
children:
|
|
5384
|
+
children: p,
|
|
5385
5385
|
dividers: x = !0,
|
|
5386
|
-
size: m =
|
|
5386
|
+
size: m = pe.Md,
|
|
5387
5387
|
footer: L
|
|
5388
5388
|
}) => {
|
|
5389
|
-
const y = s ? null : /* @__PURE__ */
|
|
5389
|
+
const y = s ? null : /* @__PURE__ */ v("div", { className: Ho, children: [
|
|
5390
5390
|
/* @__PURE__ */ o(
|
|
5391
|
-
|
|
5391
|
+
te,
|
|
5392
5392
|
{
|
|
5393
5393
|
variant: J.Secondary,
|
|
5394
5394
|
title: n,
|
|
@@ -5396,7 +5396,7 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5396
5396
|
}
|
|
5397
5397
|
),
|
|
5398
5398
|
/* @__PURE__ */ o(
|
|
5399
|
-
|
|
5399
|
+
te,
|
|
5400
5400
|
{
|
|
5401
5401
|
variant: J.Primary,
|
|
5402
5402
|
cssClass: c,
|
|
@@ -5405,7 +5405,7 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5405
5405
|
onClick: () => d()
|
|
5406
5406
|
}
|
|
5407
5407
|
)
|
|
5408
|
-
] }),
|
|
5408
|
+
] }), N = A(() => s ? /* @__PURE__ */ o("div", { className: "px-6 py-4 h-[120px]", children: /* @__PURE__ */ o(Q1, { size: 50 }) }) : p ?? null, [p, s]);
|
|
5409
5409
|
return /* @__PURE__ */ o(
|
|
5410
5410
|
g1,
|
|
5411
5411
|
{
|
|
@@ -5416,7 +5416,7 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5416
5416
|
onClose: () => l?.(),
|
|
5417
5417
|
footer: L ?? y,
|
|
5418
5418
|
size: m,
|
|
5419
|
-
children:
|
|
5419
|
+
children: N()
|
|
5420
5420
|
}
|
|
5421
5421
|
);
|
|
5422
5422
|
}, zo = ({ onClick: e }) => /* @__PURE__ */ o(
|
|
@@ -5438,7 +5438,7 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5438
5438
|
"aria-label": "show"
|
|
5439
5439
|
}
|
|
5440
5440
|
), Ao = ({ ...e }) => {
|
|
5441
|
-
const [r, t] =
|
|
5441
|
+
const [r, t] = j(!1), n = A((s) => {
|
|
5442
5442
|
t(s);
|
|
5443
5443
|
}, []);
|
|
5444
5444
|
return /* @__PURE__ */ o(
|
|
@@ -5456,7 +5456,7 @@ const To = "flex justify-end gap-2 px-6 py-4", Mo = "text-secondary dial-small-1
|
|
|
5456
5456
|
elementId: n,
|
|
5457
5457
|
errorText: s,
|
|
5458
5458
|
...a
|
|
5459
|
-
}) => /* @__PURE__ */
|
|
5459
|
+
}) => /* @__PURE__ */ v("div", { className: "flex flex-col", children: [
|
|
5460
5460
|
/* @__PURE__ */ o(
|
|
5461
5461
|
Re,
|
|
5462
5462
|
{
|
|
@@ -5502,19 +5502,19 @@ const jo = {
|
|
|
5502
5502
|
onChange: l,
|
|
5503
5503
|
size: d = Ze.Base
|
|
5504
5504
|
}) => {
|
|
5505
|
-
const [u,
|
|
5506
|
-
|
|
5507
|
-
|
|
5505
|
+
const [u, p] = j(r || "");
|
|
5506
|
+
ae(() => {
|
|
5507
|
+
p(r || "");
|
|
5508
5508
|
}, [r]);
|
|
5509
|
-
const x =
|
|
5509
|
+
const x = A(
|
|
5510
5510
|
(y) => {
|
|
5511
|
-
|
|
5511
|
+
p(y), l?.(y);
|
|
5512
5512
|
},
|
|
5513
5513
|
[l]
|
|
5514
|
-
), m = jo[d], L =
|
|
5514
|
+
), m = jo[d], L = A(() => {
|
|
5515
5515
|
x("");
|
|
5516
5516
|
}, [x]);
|
|
5517
|
-
return /* @__PURE__ */
|
|
5517
|
+
return /* @__PURE__ */ v(
|
|
5518
5518
|
"div",
|
|
5519
5519
|
{
|
|
5520
5520
|
className: g(
|
|
@@ -5585,18 +5585,18 @@ const jo = {
|
|
|
5585
5585
|
containerCssClass: a,
|
|
5586
5586
|
inputCssClass: i
|
|
5587
5587
|
}) => {
|
|
5588
|
-
const [c, l] =
|
|
5589
|
-
(
|
|
5590
|
-
|
|
5588
|
+
const [c, l] = j(""), d = A(
|
|
5589
|
+
(p) => {
|
|
5590
|
+
p.key === "Enter" && (t([...r, p.currentTarget.value]), l("")), (p.key === "Backspace" || p.key === "Delete") && r.length && !c && t(r.slice(0, -1));
|
|
5591
5591
|
},
|
|
5592
5592
|
[r, t, c]
|
|
5593
|
-
), u =
|
|
5594
|
-
(
|
|
5595
|
-
l(
|
|
5593
|
+
), u = A(
|
|
5594
|
+
(p) => {
|
|
5595
|
+
l(p.target.value);
|
|
5596
5596
|
},
|
|
5597
5597
|
[l]
|
|
5598
5598
|
);
|
|
5599
|
-
return /* @__PURE__ */
|
|
5599
|
+
return /* @__PURE__ */ v(
|
|
5600
5600
|
"div",
|
|
5601
5601
|
{
|
|
5602
5602
|
className: g([
|
|
@@ -5637,27 +5637,27 @@ const jo = {
|
|
|
5637
5637
|
disabled: c,
|
|
5638
5638
|
onChange: l
|
|
5639
5639
|
}) => {
|
|
5640
|
-
const d =
|
|
5641
|
-
const
|
|
5642
|
-
if (
|
|
5643
|
-
const V = [
|
|
5644
|
-
|
|
5640
|
+
const d = ce(null), [u, p] = j(e), [x, m] = j(""), [L, y] = j(!1), N = (k) => {
|
|
5641
|
+
const T = k.trim().replace(/,$/, "");
|
|
5642
|
+
if (T && !u.includes(T)) {
|
|
5643
|
+
const V = [T, ...u];
|
|
5644
|
+
p(V), l?.(V);
|
|
5645
5645
|
}
|
|
5646
|
-
}, R = (
|
|
5647
|
-
(
|
|
5648
|
-
},
|
|
5649
|
-
const
|
|
5650
|
-
|
|
5646
|
+
}, R = (k) => {
|
|
5647
|
+
(k.key === "," || k.key === "Enter") && (k.preventDefault(), N(x), m(""));
|
|
5648
|
+
}, b = (k) => {
|
|
5649
|
+
const T = u.filter((V, B) => B !== k);
|
|
5650
|
+
p(T), l?.(T);
|
|
5651
5651
|
};
|
|
5652
|
-
return
|
|
5653
|
-
const
|
|
5652
|
+
return ae(() => {
|
|
5653
|
+
const k = new ResizeObserver(() => {
|
|
5654
5654
|
if (d.current) {
|
|
5655
|
-
const
|
|
5656
|
-
y(
|
|
5655
|
+
const T = d.current.scrollHeight > d.current.clientHeight + 10;
|
|
5656
|
+
y(T);
|
|
5657
5657
|
}
|
|
5658
5658
|
});
|
|
5659
|
-
return d.current &&
|
|
5660
|
-
}, [u]), /* @__PURE__ */
|
|
5659
|
+
return d.current && k.observe(d.current), () => k.disconnect();
|
|
5660
|
+
}, [u]), /* @__PURE__ */ v("div", { className: g("flex flex-col w-full"), children: [
|
|
5661
5661
|
/* @__PURE__ */ o(
|
|
5662
5662
|
Re,
|
|
5663
5663
|
{
|
|
@@ -5674,7 +5674,7 @@ const jo = {
|
|
|
5674
5674
|
i && "dial-input-error",
|
|
5675
5675
|
c && "dial-input-disable"
|
|
5676
5676
|
),
|
|
5677
|
-
children: /* @__PURE__ */
|
|
5677
|
+
children: /* @__PURE__ */ v(
|
|
5678
5678
|
"div",
|
|
5679
5679
|
{
|
|
5680
5680
|
ref: d,
|
|
@@ -5683,20 +5683,20 @@ const jo = {
|
|
|
5683
5683
|
L ? "flex-col-reverse" : "flex-row"
|
|
5684
5684
|
),
|
|
5685
5685
|
children: [
|
|
5686
|
-
u.map((
|
|
5686
|
+
u.map((k, T) => /* @__PURE__ */ o(
|
|
5687
5687
|
m1,
|
|
5688
5688
|
{
|
|
5689
|
-
tag:
|
|
5690
|
-
remove: c ? void 0 : () =>
|
|
5689
|
+
tag: k,
|
|
5690
|
+
remove: c ? void 0 : () => b(T)
|
|
5691
5691
|
},
|
|
5692
|
-
|
|
5692
|
+
k + T
|
|
5693
5693
|
)),
|
|
5694
5694
|
/* @__PURE__ */ o(
|
|
5695
5695
|
"input",
|
|
5696
5696
|
{
|
|
5697
5697
|
type: "text",
|
|
5698
5698
|
value: x,
|
|
5699
|
-
onChange: (
|
|
5699
|
+
onChange: (k) => m(k.target.value),
|
|
5700
5700
|
onKeyDown: R,
|
|
5701
5701
|
className: g(
|
|
5702
5702
|
"dial-input-no-border outline-none border-none w-full min-w-[100px] flex-1 p-1"
|
|
@@ -5724,109 +5724,109 @@ const jo = {
|
|
|
5724
5724
|
emptyStateTitle: l = "No options available",
|
|
5725
5725
|
emptyStateDescription: d,
|
|
5726
5726
|
emptyStateIcon: u,
|
|
5727
|
-
disabled:
|
|
5727
|
+
disabled: p = !1,
|
|
5728
5728
|
cssClass: x,
|
|
5729
5729
|
closable: m = !1,
|
|
5730
5730
|
onClose: L,
|
|
5731
5731
|
onChange: y
|
|
5732
5732
|
}) => {
|
|
5733
|
-
const [
|
|
5734
|
-
const
|
|
5735
|
-
return
|
|
5736
|
-
}, [e,
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
}, [
|
|
5740
|
-
const
|
|
5741
|
-
(
|
|
5742
|
-
V ||
|
|
5733
|
+
const [N, R] = j(!1), [b, k] = j(""), T = W1(), V = t !== void 0, [B, $] = j(n), w = V ? t : B, O = F(() => r ? Array.isArray(w) ? w : [] : typeof w == "string" ? [w] : [], [w, r]), q = F(() => {
|
|
5734
|
+
const f = b.trim().toLowerCase();
|
|
5735
|
+
return f ? e.filter((E) => E.label.toLowerCase().includes(f)) : e;
|
|
5736
|
+
}, [e, b]);
|
|
5737
|
+
ae(() => {
|
|
5738
|
+
N || k("");
|
|
5739
|
+
}, [N]);
|
|
5740
|
+
const W = A(
|
|
5741
|
+
(f) => {
|
|
5742
|
+
V || $(f), y?.(f);
|
|
5743
5743
|
},
|
|
5744
5744
|
[V, y]
|
|
5745
|
-
),
|
|
5745
|
+
), K = (f) => {
|
|
5746
5746
|
if (r) {
|
|
5747
5747
|
const E = new Set(O);
|
|
5748
|
-
E.has(
|
|
5748
|
+
E.has(f) ? E.delete(f) : E.add(f), W(Array.from(E));
|
|
5749
5749
|
} else
|
|
5750
|
-
|
|
5751
|
-
},
|
|
5752
|
-
(
|
|
5753
|
-
if (
|
|
5754
|
-
|
|
5750
|
+
W(f), R(!1);
|
|
5751
|
+
}, ee = A(
|
|
5752
|
+
(f, E) => {
|
|
5753
|
+
if (f.stopPropagation(), !r) {
|
|
5754
|
+
W("");
|
|
5755
5755
|
return;
|
|
5756
5756
|
}
|
|
5757
|
-
const
|
|
5758
|
-
|
|
5757
|
+
const se = O.filter((P) => P !== E);
|
|
5758
|
+
W(se);
|
|
5759
5759
|
},
|
|
5760
|
-
[r, O,
|
|
5761
|
-
), Y =
|
|
5762
|
-
() =>
|
|
5763
|
-
[
|
|
5764
|
-
),
|
|
5765
|
-
() => Y.filter((
|
|
5760
|
+
[r, O, W]
|
|
5761
|
+
), Y = F(
|
|
5762
|
+
() => q.filter((f) => !f.disabled),
|
|
5763
|
+
[q]
|
|
5764
|
+
), ne = F(
|
|
5765
|
+
() => Y.filter((f) => O.includes(f.value)).length,
|
|
5766
5766
|
[Y, O]
|
|
5767
|
-
),
|
|
5767
|
+
), X = Y.length > 0 && ne === Y.length, oe = ne > 0 && !X, D = () => {
|
|
5768
5768
|
if (!(!r || Y.length === 0))
|
|
5769
|
-
if (
|
|
5770
|
-
const
|
|
5771
|
-
|
|
5769
|
+
if (X) {
|
|
5770
|
+
const f = new Set(Y.map((se) => se.value)), E = O.filter((se) => !f.has(se));
|
|
5771
|
+
W(E);
|
|
5772
5772
|
} else {
|
|
5773
|
-
const
|
|
5774
|
-
Y.forEach((E) =>
|
|
5773
|
+
const f = new Set(O);
|
|
5774
|
+
Y.forEach((E) => f.add(E.value)), W(Array.from(f));
|
|
5775
5775
|
}
|
|
5776
|
-
},
|
|
5777
|
-
() => I ? e.find((
|
|
5776
|
+
}, de = O.length > 0, I = !r && de ? O[0] : void 0, _ = F(
|
|
5777
|
+
() => I ? e.find((f) => f.value === I) : void 0,
|
|
5778
5778
|
[e, I]
|
|
5779
|
-
),
|
|
5780
|
-
const E = e.find((P) => P.value ===
|
|
5779
|
+
), ie = A(() => !r || O.length === 0 ? null : /* @__PURE__ */ o("div", { className: "flex flex-wrap w-full items-center gap-1", children: O.map((f) => {
|
|
5780
|
+
const E = e.find((P) => P.value === f)?.label ?? f, se = e.find((P) => P.value === f)?.icon;
|
|
5781
5781
|
return /* @__PURE__ */ o(
|
|
5782
5782
|
m1,
|
|
5783
5783
|
{
|
|
5784
5784
|
tag: E,
|
|
5785
|
-
remove: (P) =>
|
|
5786
|
-
iconBefore:
|
|
5785
|
+
remove: (P) => ee(P, f),
|
|
5786
|
+
iconBefore: se ? /* @__PURE__ */ o(Z, { icon: se }) : null,
|
|
5787
5787
|
cssClass: "max-w-full"
|
|
5788
5788
|
},
|
|
5789
|
-
|
|
5789
|
+
f
|
|
5790
5790
|
);
|
|
5791
|
-
}) }), [r, e, O,
|
|
5792
|
-
|
|
5793
|
-
/* @__PURE__ */ o(Ne, { text:
|
|
5794
|
-
] }) : /* @__PURE__ */ o("span", { className: "text-secondary truncate", children: s }), [
|
|
5791
|
+
}) }), [r, e, O, ee]), z = A(() => r ? de ? ie() : /* @__PURE__ */ o("span", { className: "text-secondary truncate", children: s }) : _ ? /* @__PURE__ */ v(Ce, { children: [
|
|
5792
|
+
_.icon && /* @__PURE__ */ o(Z, { icon: _.icon }),
|
|
5793
|
+
/* @__PURE__ */ o(Ne, { text: _.label })
|
|
5794
|
+
] }) : /* @__PURE__ */ o("span", { className: "text-secondary truncate", children: s }), [de, r, s, ie, _]);
|
|
5795
5795
|
return /* @__PURE__ */ o(
|
|
5796
5796
|
o1,
|
|
5797
5797
|
{
|
|
5798
|
-
open:
|
|
5798
|
+
open: N,
|
|
5799
5799
|
onOpenChange: R,
|
|
5800
|
-
disabled:
|
|
5800
|
+
disabled: p,
|
|
5801
5801
|
closable: m,
|
|
5802
5802
|
onClose: L,
|
|
5803
5803
|
placement: "bottom-start",
|
|
5804
5804
|
allowedPlacements: ["bottom-start", "top-start"],
|
|
5805
|
-
renderOverlay: () => /* @__PURE__ */
|
|
5805
|
+
renderOverlay: () => /* @__PURE__ */ v(
|
|
5806
5806
|
"div",
|
|
5807
5807
|
{
|
|
5808
|
-
id:
|
|
5808
|
+
id: T,
|
|
5809
5809
|
role: "listbox",
|
|
5810
5810
|
"aria-multiselectable": r || void 0,
|
|
5811
5811
|
className: Zo,
|
|
5812
5812
|
children: [
|
|
5813
|
-
(a || m) && /* @__PURE__ */
|
|
5813
|
+
(a || m) && /* @__PURE__ */ v("div", { className: "flex items-center gap-2 px-2 pt-2", children: [
|
|
5814
5814
|
a && /* @__PURE__ */ o(
|
|
5815
5815
|
Bo,
|
|
5816
5816
|
{
|
|
5817
|
-
onChange:
|
|
5818
|
-
value:
|
|
5819
|
-
elementId: `search-${
|
|
5817
|
+
onChange: k,
|
|
5818
|
+
value: b,
|
|
5819
|
+
elementId: `search-${T}`
|
|
5820
5820
|
}
|
|
5821
5821
|
),
|
|
5822
5822
|
m && /* @__PURE__ */ o(
|
|
5823
|
-
|
|
5823
|
+
te,
|
|
5824
5824
|
{
|
|
5825
5825
|
ariaLabel: "Close select",
|
|
5826
5826
|
cssClass: "shrink-0",
|
|
5827
5827
|
iconBefore: /* @__PURE__ */ o(Te, { size: 16 }),
|
|
5828
|
-
onClick: (
|
|
5829
|
-
L?.(
|
|
5828
|
+
onClick: (f) => {
|
|
5829
|
+
L?.(f), R(!1);
|
|
5830
5830
|
}
|
|
5831
5831
|
}
|
|
5832
5832
|
)
|
|
@@ -5834,93 +5834,93 @@ const jo = {
|
|
|
5834
5834
|
r && i && Y.length > 0 && /* @__PURE__ */ o("div", { className: g(Ye, "mt-2"), children: /* @__PURE__ */ o(
|
|
5835
5835
|
C1,
|
|
5836
5836
|
{
|
|
5837
|
-
id: `${
|
|
5837
|
+
id: `${T}-selectAll`,
|
|
5838
5838
|
label: c,
|
|
5839
|
-
checked:
|
|
5840
|
-
indeterminate:
|
|
5841
|
-
onChange:
|
|
5839
|
+
checked: X,
|
|
5840
|
+
indeterminate: oe,
|
|
5841
|
+
onChange: D,
|
|
5842
5842
|
ariaLabel: c
|
|
5843
5843
|
}
|
|
5844
5844
|
) }),
|
|
5845
|
-
/* @__PURE__ */ o("div", { className: "overflow-y-auto py-1", children:
|
|
5845
|
+
/* @__PURE__ */ o("div", { className: "overflow-y-auto py-1", children: q.length === 0 ? /* @__PURE__ */ o("div", { className: "px-2 py-3", children: /* @__PURE__ */ o(
|
|
5846
5846
|
un,
|
|
5847
5847
|
{
|
|
5848
5848
|
icon: u ?? /* @__PURE__ */ o(_1, { size: 24 }),
|
|
5849
5849
|
title: l,
|
|
5850
5850
|
description: d
|
|
5851
5851
|
}
|
|
5852
|
-
) }) :
|
|
5853
|
-
const E = O.includes(
|
|
5852
|
+
) }) : q.map((f) => {
|
|
5853
|
+
const E = O.includes(f.value);
|
|
5854
5854
|
return r ? /* @__PURE__ */ o(
|
|
5855
5855
|
"div",
|
|
5856
5856
|
{
|
|
5857
5857
|
className: g(
|
|
5858
5858
|
Ye,
|
|
5859
5859
|
E && Go,
|
|
5860
|
-
|
|
5860
|
+
f.disabled && R1,
|
|
5861
5861
|
"w-full"
|
|
5862
5862
|
),
|
|
5863
5863
|
children: /* @__PURE__ */ o(
|
|
5864
5864
|
C1,
|
|
5865
5865
|
{
|
|
5866
|
-
id: `${
|
|
5867
|
-
label: /* @__PURE__ */
|
|
5868
|
-
|
|
5869
|
-
/* @__PURE__ */ o("span", { className: "truncate", children:
|
|
5866
|
+
id: `${T}-${f.value}`,
|
|
5867
|
+
label: /* @__PURE__ */ v("span", { className: "flex w-full flex-1 min-w-0 items-center gap-2 text-primary", children: [
|
|
5868
|
+
f.icon && /* @__PURE__ */ o(Z, { icon: f.icon }),
|
|
5869
|
+
/* @__PURE__ */ o("span", { className: "truncate", children: f.label })
|
|
5870
5870
|
] }),
|
|
5871
5871
|
checked: E,
|
|
5872
|
-
disabled:
|
|
5873
|
-
onChange: () => !
|
|
5874
|
-
ariaLabel:
|
|
5872
|
+
disabled: f.disabled,
|
|
5873
|
+
onChange: () => !f.disabled && K(f.value),
|
|
5874
|
+
ariaLabel: f.label
|
|
5875
5875
|
}
|
|
5876
5876
|
)
|
|
5877
5877
|
},
|
|
5878
|
-
|
|
5878
|
+
f.value
|
|
5879
5879
|
) : /* @__PURE__ */ o(
|
|
5880
5880
|
"button",
|
|
5881
5881
|
{
|
|
5882
5882
|
role: "option",
|
|
5883
5883
|
type: "button",
|
|
5884
5884
|
"aria-selected": E,
|
|
5885
|
-
"aria-disabled": !!
|
|
5886
|
-
disabled:
|
|
5885
|
+
"aria-disabled": !!f.disabled,
|
|
5886
|
+
disabled: f.disabled,
|
|
5887
5887
|
className: g(
|
|
5888
5888
|
Ye,
|
|
5889
5889
|
E && $o,
|
|
5890
|
-
|
|
5890
|
+
f.disabled && R1
|
|
5891
5891
|
),
|
|
5892
|
-
onClick: () => !
|
|
5893
|
-
children: /* @__PURE__ */
|
|
5894
|
-
|
|
5895
|
-
/* @__PURE__ */ o(Ne, { text:
|
|
5892
|
+
onClick: () => !f.disabled && K(f.value),
|
|
5893
|
+
children: /* @__PURE__ */ v("div", { className: "flex items-center gap-2 w-full", children: [
|
|
5894
|
+
f.icon && /* @__PURE__ */ o(Z, { icon: f.icon }),
|
|
5895
|
+
/* @__PURE__ */ o(Ne, { text: f.label })
|
|
5896
5896
|
] })
|
|
5897
5897
|
},
|
|
5898
|
-
|
|
5898
|
+
f.value
|
|
5899
5899
|
);
|
|
5900
5900
|
}) })
|
|
5901
5901
|
]
|
|
5902
5902
|
}
|
|
5903
5903
|
),
|
|
5904
|
-
children: /* @__PURE__ */
|
|
5904
|
+
children: /* @__PURE__ */ v(
|
|
5905
5905
|
"button",
|
|
5906
5906
|
{
|
|
5907
5907
|
type: "button",
|
|
5908
5908
|
"aria-haspopup": "listbox",
|
|
5909
|
-
"aria-expanded":
|
|
5910
|
-
"aria-controls":
|
|
5911
|
-
className:
|
|
5909
|
+
"aria-expanded": N,
|
|
5910
|
+
"aria-controls": T,
|
|
5911
|
+
className: U(
|
|
5912
5912
|
Wo,
|
|
5913
|
-
|
|
5913
|
+
p && "opacity-75 !cursor-not-allowed",
|
|
5914
5914
|
x
|
|
5915
5915
|
),
|
|
5916
|
-
onClick: () => !
|
|
5916
|
+
onClick: () => !p && R((f) => !f),
|
|
5917
5917
|
children: [
|
|
5918
5918
|
/* @__PURE__ */ o("div", { className: "flex min-w-0 items-center gap-2 text-primary", children: z() }),
|
|
5919
5919
|
/* @__PURE__ */ o(
|
|
5920
5920
|
Z,
|
|
5921
5921
|
{
|
|
5922
5922
|
icon: _o,
|
|
5923
|
-
className: g("text-primary",
|
|
5923
|
+
className: g("text-primary", N && "rotate-180")
|
|
5924
5924
|
}
|
|
5925
5925
|
)
|
|
5926
5926
|
]
|
|
@@ -5960,7 +5960,7 @@ export {
|
|
|
5960
5960
|
Cr as DialAutocompleteInputValue,
|
|
5961
5961
|
is as DialBreadcrumb,
|
|
5962
5962
|
yo as DialBreadcrumbItem,
|
|
5963
|
-
|
|
5963
|
+
te as DialButton,
|
|
5964
5964
|
C1 as DialCheckbox,
|
|
5965
5965
|
mr as DialCloseButton,
|
|
5966
5966
|
ts as DialCollapsibleSidebar,
|
|
@@ -5998,14 +5998,14 @@ export {
|
|
|
5998
5998
|
ds as DialTextAreaField,
|
|
5999
5999
|
cs as DialTextInputField,
|
|
6000
6000
|
xo as DialTextarea,
|
|
6001
|
-
|
|
6001
|
+
me as DialTooltip,
|
|
6002
6002
|
so as DropdownType,
|
|
6003
6003
|
je as FormItemOrientation,
|
|
6004
|
-
|
|
6004
|
+
pe as PopupSize,
|
|
6005
6005
|
Ae as RadioGroupOrientation,
|
|
6006
6006
|
Ze as SearchSize,
|
|
6007
|
-
|
|
6007
|
+
re as StepStatus,
|
|
6008
6008
|
n1 as TabOrientation,
|
|
6009
6009
|
f1 as TagVariant,
|
|
6010
|
-
|
|
6010
|
+
U as mergeClasses
|
|
6011
6011
|
};
|