@epam/ai-dial-ui-kit 0.3.0-rc.26 → 0.3.0-rc.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dial-ui-kit.cjs.js +1 -1
- package/dist/dial-ui-kit.es.js +730 -668
- package/dist/index.css +1 -1
- package/dist/src/components/FormPopup/FormPopup.d.ts +44 -0
- package/dist/src/components/FormPopup/constants.d.ts +3 -0
- package/dist/src/components/TextAreaField/TextAreaField.d.ts +2 -0
- package/dist/src/components/Textarea/Textarea.d.ts +4 -0
- package/dist/src/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/dial-ui-kit.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as s, jsxs as x, Fragment as
|
|
1
|
+
import { jsx as s, jsxs as x, Fragment as ae } from "react/jsx-runtime";
|
|
2
2
|
import f from "classnames";
|
|
3
|
-
import { IconCircleCheck as
|
|
3
|
+
import { IconCircleCheck as ut, IconAlertTriangle as pt, IconAlertCircle as ft, IconInfoCircle as gt, IconX as Te, IconMinus as mt, IconCheck as Ir, IconExclamationCircle as Nr, IconClipboardX as Sr, IconChevronsLeft as ht, IconChevronsRight as bt, IconGripVertical as xt, IconChevronDown as Tr, IconChevronRight as yt, IconEyeOff as wt, IconEye as vt, IconSearch as Ct } from "@tabler/icons-react";
|
|
4
4
|
import * as re from "react";
|
|
5
|
-
import { createContext as
|
|
6
|
-
import { useFloating as tr, offset as
|
|
7
|
-
import { createPortal as
|
|
5
|
+
import { createContext as Or, useState as F, useRef as we, useMemo as V, useContext as Mr, forwardRef as Pr, isValidElement as rr, cloneElement as Ae, useCallback as H, useEffect as ne, useLayoutEffect as kt, useId as Rr, Children as Dt } from "react";
|
|
6
|
+
import { useFloating as tr, offset as zr, flip as Er, shift as Ar, arrow as It, autoUpdate as Lr, useHover as Fr, useFocus as Nt, useDismiss as nr, useRole as or, useInteractions as sr, useMergeRefs as Vr, FloatingPortal as ar, FloatingArrow as St, autoPlacement as Tt, size as Ot, useClick as Mt, FloatingFocusManager as jr, FloatingOverlay as Pt } from "@floating-ui/react";
|
|
7
|
+
import { createPortal as Rt } from "react-dom";
|
|
8
8
|
const Oe = ({ errorText: e }) => e && /* @__PURE__ */ s("span", { className: "text-error dial-tiny mt-1", children: e }), ve = ({
|
|
9
9
|
fieldTitle: e,
|
|
10
10
|
htmlFor: r,
|
|
@@ -25,14 +25,14 @@ const Oe = ({ errorText: e }) => e && /* @__PURE__ */ s("span", { className: "te
|
|
|
25
25
|
t && /* @__PURE__ */ s("span", { className: "ml-1", children: n ?? "(Optional)" })
|
|
26
26
|
]
|
|
27
27
|
}
|
|
28
|
-
) : null,
|
|
28
|
+
) : null, G = ({ icon: e, className: r }) => e ? /* @__PURE__ */ s("span", { className: f("flex-shrink-0", r), children: e }) : null;
|
|
29
29
|
var Y = /* @__PURE__ */ ((e) => (e.Primary = "primary", e.Secondary = "secondary", e.Tertiary = "tertiary", e.Danger = "danger", e))(Y || {});
|
|
30
|
-
const
|
|
30
|
+
const zt = {
|
|
31
31
|
[Y.Primary]: "dial-primary-button",
|
|
32
32
|
[Y.Secondary]: "dial-secondary-button",
|
|
33
33
|
[Y.Tertiary]: "dial-tertiary-button",
|
|
34
34
|
[Y.Danger]: "dial-danger-button"
|
|
35
|
-
},
|
|
35
|
+
}, te = ({
|
|
36
36
|
title: e,
|
|
37
37
|
variant: r,
|
|
38
38
|
cssClass: t,
|
|
@@ -45,14 +45,14 @@ const Rt = {
|
|
|
45
45
|
hideTitleOnMobile: d,
|
|
46
46
|
ariaLabel: u
|
|
47
47
|
}) => {
|
|
48
|
-
const
|
|
48
|
+
const g = f(
|
|
49
49
|
"dial-small-semi",
|
|
50
50
|
c ? "mr-2" : "",
|
|
51
51
|
l ? "ml-2" : "",
|
|
52
52
|
d ? "hidden sm:inline" : "inline",
|
|
53
53
|
n
|
|
54
54
|
), y = f(
|
|
55
|
-
r &&
|
|
55
|
+
r && zt[r],
|
|
56
56
|
t,
|
|
57
57
|
"focus-visible:outline outline-offset-0"
|
|
58
58
|
);
|
|
@@ -66,25 +66,25 @@ const Rt = {
|
|
|
66
66
|
disabled: i,
|
|
67
67
|
"aria-label": e || u,
|
|
68
68
|
children: [
|
|
69
|
-
/* @__PURE__ */ s(
|
|
70
|
-
e && /* @__PURE__ */ s("span", { className:
|
|
71
|
-
/* @__PURE__ */ s(
|
|
69
|
+
/* @__PURE__ */ s(G, { icon: l }),
|
|
70
|
+
e && /* @__PURE__ */ s("span", { className: g, children: e }),
|
|
71
|
+
/* @__PURE__ */ s(G, { icon: c })
|
|
72
72
|
]
|
|
73
73
|
}
|
|
74
74
|
);
|
|
75
75
|
};
|
|
76
76
|
var be = /* @__PURE__ */ ((e) => (e.Info = "info", e.Success = "success", e.Warning = "warning", e.Error = "error", e))(be || {});
|
|
77
|
-
const
|
|
78
|
-
info: /* @__PURE__ */ s(
|
|
79
|
-
error: /* @__PURE__ */ s(
|
|
80
|
-
warning: /* @__PURE__ */ s(
|
|
81
|
-
success: /* @__PURE__ */ s(
|
|
82
|
-
},
|
|
77
|
+
const Et = {
|
|
78
|
+
info: /* @__PURE__ */ s(gt, { size: 24, stroke: 2 }),
|
|
79
|
+
error: /* @__PURE__ */ s(ft, { size: 24, stroke: 2 }),
|
|
80
|
+
warning: /* @__PURE__ */ s(pt, { size: 24, stroke: 2 }),
|
|
81
|
+
success: /* @__PURE__ */ s(ut, { size: 24, stroke: 2 })
|
|
82
|
+
}, At = {
|
|
83
83
|
[be.Info]: "bg-info border-info text-info",
|
|
84
84
|
[be.Success]: "bg-success border-success text-success",
|
|
85
85
|
[be.Warning]: "bg-warning border-warning text-warning",
|
|
86
86
|
[be.Error]: "bg-error border-error text-error"
|
|
87
|
-
},
|
|
87
|
+
}, Lt = "items-center justify-between gap-2 p-3 border border-solid dial-small-150 rounded flex", gs = ({
|
|
88
88
|
variant: e = be.Info,
|
|
89
89
|
message: r,
|
|
90
90
|
cssClass: t,
|
|
@@ -95,17 +95,17 @@ const zt = {
|
|
|
95
95
|
{
|
|
96
96
|
role: "alert",
|
|
97
97
|
className: f(
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
Lt,
|
|
99
|
+
At[e],
|
|
100
100
|
t
|
|
101
101
|
),
|
|
102
102
|
children: [
|
|
103
103
|
/* @__PURE__ */ x("div", { className: "flex items-center gap-2", children: [
|
|
104
|
-
/* @__PURE__ */ s(
|
|
104
|
+
/* @__PURE__ */ s(G, { icon: Et[e] }),
|
|
105
105
|
/* @__PURE__ */ s("div", { className: "text-primary", children: r })
|
|
106
106
|
] }),
|
|
107
107
|
n && /* @__PURE__ */ s(
|
|
108
|
-
|
|
108
|
+
te,
|
|
109
109
|
{
|
|
110
110
|
cssClass: "ml-2 text-secondary hover:text-primary",
|
|
111
111
|
ariaLabel: "Close alert",
|
|
@@ -115,7 +115,7 @@ const zt = {
|
|
|
115
115
|
)
|
|
116
116
|
]
|
|
117
117
|
}
|
|
118
|
-
),
|
|
118
|
+
), Ft = "flex items-center justify-center text-secondary", Vt = "shrink-0 grow-0 basis-auto animate-spin-steps", jt = (e) => /* @__PURE__ */ re.createElement("svg", { viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("path", { d: "M24 39V46.5", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ re.createElement("path", { opacity: 0.4, d: "M9 24H1.5", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ re.createElement("path", { opacity: 0.5, d: "M8.0918 8.0918L13.3994 13.3994", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ re.createElement("path", { opacity: 0.6, d: "M24 1.5V9", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ re.createElement("path", { opacity: 0.7, d: "M39.9121 8.08594L37.2607 10.7373L34.6094 13.3887", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ re.createElement("path", { opacity: 0.8, d: "M46.5 24H39", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ re.createElement("path", { opacity: 0.9, d: "M34.6055 34.6055L39.9082 39.9082", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ re.createElement("path", { opacity: 0.3, d: "M13.3936 34.6055L8.08594 39.9131", stroke: "currentColor", strokeWidth: 3, strokeLinecap: "round", strokeLinejoin: "round" })), Hr = ({
|
|
119
119
|
size: e = 18,
|
|
120
120
|
cssClass: r,
|
|
121
121
|
iconClass: t,
|
|
@@ -127,27 +127,27 @@ const zt = {
|
|
|
127
127
|
role: "status",
|
|
128
128
|
"aria-label": o,
|
|
129
129
|
className: f({
|
|
130
|
-
[
|
|
130
|
+
[Ft]: !0,
|
|
131
131
|
"w-full h-full": n,
|
|
132
132
|
[r || ""]: !!r
|
|
133
133
|
}),
|
|
134
134
|
children: /* @__PURE__ */ s(
|
|
135
|
-
|
|
135
|
+
G,
|
|
136
136
|
{
|
|
137
137
|
icon: /* @__PURE__ */ s(
|
|
138
|
-
|
|
138
|
+
jt,
|
|
139
139
|
{
|
|
140
140
|
width: e,
|
|
141
141
|
height: e,
|
|
142
|
-
className: f(
|
|
142
|
+
className: f(Vt, t),
|
|
143
143
|
role: "img"
|
|
144
144
|
}
|
|
145
145
|
)
|
|
146
146
|
}
|
|
147
147
|
)
|
|
148
148
|
}
|
|
149
|
-
),
|
|
150
|
-
const e =
|
|
149
|
+
), Ht = 7, Bt = 2, Br = Or(null), Wr = () => {
|
|
150
|
+
const e = Mr(Br);
|
|
151
151
|
if (e == null)
|
|
152
152
|
throw new Error("Tooltip components must be wrapped in <Tooltip />");
|
|
153
153
|
return e;
|
|
@@ -162,45 +162,45 @@ const zt = {
|
|
|
162
162
|
placement: r,
|
|
163
163
|
open: l,
|
|
164
164
|
onOpenChange: d,
|
|
165
|
-
whileElementsMounted:
|
|
165
|
+
whileElementsMounted: Lr,
|
|
166
166
|
middleware: [
|
|
167
|
-
|
|
168
|
-
|
|
167
|
+
zr(Ht + Bt),
|
|
168
|
+
Er({
|
|
169
169
|
crossAxis: r.includes("-"),
|
|
170
170
|
fallbackAxisSideDirection: "start",
|
|
171
171
|
padding: 5
|
|
172
172
|
}),
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
Ar({ padding: 5 }),
|
|
174
|
+
It({
|
|
175
175
|
element: c
|
|
176
176
|
})
|
|
177
177
|
]
|
|
178
|
-
}),
|
|
178
|
+
}), g = Fr(u.context, {
|
|
179
179
|
move: !1,
|
|
180
180
|
enabled: n == null,
|
|
181
181
|
mouseOnly: t,
|
|
182
182
|
delay: { open: 500, close: 0 }
|
|
183
|
-
}), y =
|
|
183
|
+
}), y = Nt(u.context, {
|
|
184
184
|
enabled: n == null
|
|
185
|
-
}), b = nr(u.context),
|
|
185
|
+
}), b = nr(u.context), C = or(u.context, { role: "tooltip" }), w = sr([g, y, b, C]);
|
|
186
186
|
return V(
|
|
187
187
|
() => ({
|
|
188
188
|
open: l,
|
|
189
189
|
setOpen: d,
|
|
190
190
|
arrowRef: c,
|
|
191
|
-
...
|
|
191
|
+
...w,
|
|
192
192
|
...u
|
|
193
193
|
}),
|
|
194
|
-
[l, d,
|
|
194
|
+
[l, d, w, u]
|
|
195
195
|
);
|
|
196
|
-
},
|
|
196
|
+
}, Gr = ({
|
|
197
197
|
children: e,
|
|
198
198
|
...r
|
|
199
199
|
}) => {
|
|
200
200
|
const t = Wt(r);
|
|
201
|
-
return /* @__PURE__ */ s(
|
|
202
|
-
},
|
|
203
|
-
const o =
|
|
201
|
+
return /* @__PURE__ */ s(Br.Provider, { value: t, children: e });
|
|
202
|
+
}, _r = Pr(function({ style: r, ...t }, n) {
|
|
203
|
+
const o = Wr(), a = Vr([o.refs.setFloating, n]);
|
|
204
204
|
return o.open ? /* @__PURE__ */ s(ar, { id: "tooltip-portal", children: /* @__PURE__ */ x(
|
|
205
205
|
"div",
|
|
206
206
|
{
|
|
@@ -217,7 +217,7 @@ const zt = {
|
|
|
217
217
|
children: [
|
|
218
218
|
t.children,
|
|
219
219
|
/* @__PURE__ */ s(
|
|
220
|
-
|
|
220
|
+
St,
|
|
221
221
|
{
|
|
222
222
|
ref: o.arrowRef,
|
|
223
223
|
context: o.context,
|
|
@@ -229,8 +229,8 @@ const zt = {
|
|
|
229
229
|
]
|
|
230
230
|
}
|
|
231
231
|
) }) : null;
|
|
232
|
-
}),
|
|
233
|
-
const a =
|
|
232
|
+
}), $r = Pr(function({ children: r, asChild: t = !1, ...n }, o) {
|
|
233
|
+
const a = Wr(), c = r && typeof r == "object" && "ref" in r && r.ref !== void 0 ? r.ref : void 0, l = Vr([a.refs.setReference, o, c]);
|
|
234
234
|
return t && rr(r) ? Ae(
|
|
235
235
|
r,
|
|
236
236
|
a.getReferenceProps({
|
|
@@ -254,10 +254,10 @@ const zt = {
|
|
|
254
254
|
triggerClassName: n,
|
|
255
255
|
contentClassName: o,
|
|
256
256
|
...a
|
|
257
|
-
}) => /* @__PURE__ */ x(
|
|
258
|
-
/* @__PURE__ */ s(
|
|
257
|
+
}) => /* @__PURE__ */ x(Gr, { ...a, children: [
|
|
258
|
+
/* @__PURE__ */ s($r, { className: f(n, "truncate"), children: t }),
|
|
259
259
|
/* @__PURE__ */ s(
|
|
260
|
-
|
|
260
|
+
_r,
|
|
261
261
|
{
|
|
262
262
|
className: f(
|
|
263
263
|
"text-primary",
|
|
@@ -268,10 +268,10 @@ const zt = {
|
|
|
268
268
|
children: r
|
|
269
269
|
}
|
|
270
270
|
)
|
|
271
|
-
] }), xe = 18,
|
|
271
|
+
] }), xe = 18, de = {
|
|
272
272
|
size: xe,
|
|
273
273
|
stroke: 2
|
|
274
|
-
},
|
|
274
|
+
}, pr = ({
|
|
275
275
|
label: e,
|
|
276
276
|
id: r,
|
|
277
277
|
checked: t,
|
|
@@ -281,7 +281,7 @@ const zt = {
|
|
|
281
281
|
onChange: i,
|
|
282
282
|
cssClass: c
|
|
283
283
|
}) => {
|
|
284
|
-
const l =
|
|
284
|
+
const l = H(
|
|
285
285
|
(y) => {
|
|
286
286
|
i?.(y.target.checked, r);
|
|
287
287
|
},
|
|
@@ -296,7 +296,7 @@ const zt = {
|
|
|
296
296
|
o ? "bg-layer-4 border-icon-secondary" : ""
|
|
297
297
|
);
|
|
298
298
|
return /* @__PURE__ */ x("label", { className: d, htmlFor: r, children: [
|
|
299
|
-
n ? /* @__PURE__ */ s(
|
|
299
|
+
n ? /* @__PURE__ */ s(mt, { className: u, ...de }) : t ? /* @__PURE__ */ s(Ir, { className: u, ...de }) : null,
|
|
300
300
|
e && (typeof e == "string" ? /* @__PURE__ */ s(me, { tooltip: e, triggerClassName: "flex-1 min-w-0", children: /* @__PURE__ */ s("span", { className: "text-primary w-full truncate", children: e }) }) : e),
|
|
301
301
|
/* @__PURE__ */ s(
|
|
302
302
|
"input",
|
|
@@ -315,21 +315,21 @@ const zt = {
|
|
|
315
315
|
)
|
|
316
316
|
] });
|
|
317
317
|
};
|
|
318
|
-
var
|
|
318
|
+
var X = /* @__PURE__ */ ((e) => (e.VALID = "valid", e.ERROR = "error", e))(X || {});
|
|
319
319
|
const Gt = (e, r) => {
|
|
320
320
|
if (r === e.id)
|
|
321
321
|
switch (e.status) {
|
|
322
|
-
case
|
|
322
|
+
case X.VALID:
|
|
323
323
|
return "border-accent-secondary text-primary";
|
|
324
|
-
case
|
|
324
|
+
case X.ERROR:
|
|
325
325
|
return "border-red-900 text-primary";
|
|
326
326
|
default:
|
|
327
327
|
return "border-accent-primary text-primary";
|
|
328
328
|
}
|
|
329
329
|
switch (e.status) {
|
|
330
|
-
case
|
|
330
|
+
case X.VALID:
|
|
331
331
|
return "border-primary text-white";
|
|
332
|
-
case
|
|
332
|
+
case X.ERROR:
|
|
333
333
|
return "border-red-900 text-error";
|
|
334
334
|
default:
|
|
335
335
|
return "border-primary text-secondary";
|
|
@@ -337,17 +337,17 @@ const Gt = (e, r) => {
|
|
|
337
337
|
}, _t = (e, r) => {
|
|
338
338
|
if (r === e.id)
|
|
339
339
|
switch (e.status) {
|
|
340
|
-
case
|
|
340
|
+
case X.VALID:
|
|
341
341
|
return "bg-accent-secondary";
|
|
342
|
-
case
|
|
342
|
+
case X.ERROR:
|
|
343
343
|
return "bg-red-400";
|
|
344
344
|
default:
|
|
345
345
|
return "bg-accent-primary";
|
|
346
346
|
}
|
|
347
347
|
switch (e.status) {
|
|
348
|
-
case
|
|
348
|
+
case X.VALID:
|
|
349
349
|
return "bg-accent-secondary";
|
|
350
|
-
case
|
|
350
|
+
case X.ERROR:
|
|
351
351
|
return "bg-red-400";
|
|
352
352
|
default:
|
|
353
353
|
return "bg-layer-4";
|
|
@@ -358,7 +358,7 @@ const Gt = (e, r) => {
|
|
|
358
358
|
currentStep: t,
|
|
359
359
|
onChangeStep: n
|
|
360
360
|
}) => {
|
|
361
|
-
const o = "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 ===
|
|
361
|
+
const o = "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 === X.ERROR ? /* @__PURE__ */ s(Nr, { stroke: 2, size: 16 }) : t !== e.id && e.status === X.VALID ? /* @__PURE__ */ s(Ir, { stroke: 2, size: 16 }) : r + 1;
|
|
362
362
|
return /* @__PURE__ */ x(
|
|
363
363
|
"button",
|
|
364
364
|
{
|
|
@@ -376,14 +376,14 @@ const Gt = (e, r) => {
|
|
|
376
376
|
]
|
|
377
377
|
}
|
|
378
378
|
);
|
|
379
|
-
},
|
|
379
|
+
}, ms = ({
|
|
380
380
|
steps: e,
|
|
381
381
|
currentStep: r,
|
|
382
382
|
onChangeStep: t
|
|
383
383
|
}) => {
|
|
384
384
|
const n = (o) => {
|
|
385
385
|
const a = e.findIndex((c) => c.id === r), i = e.findIndex((c) => c.id === o);
|
|
386
|
-
(o !== r && e[a].status ===
|
|
386
|
+
(o !== r && e[a].status === X.VALID || i < a) && t(o);
|
|
387
387
|
};
|
|
388
388
|
return /* @__PURE__ */ s("div", { id: "steps", className: "flex gap-x-3", children: e.map((o, a) => /* @__PURE__ */ s(
|
|
389
389
|
$t,
|
|
@@ -408,7 +408,7 @@ const Gt = (e, r) => {
|
|
|
408
408
|
onChange: d,
|
|
409
409
|
descriptionCssClass: u
|
|
410
410
|
}) => {
|
|
411
|
-
const
|
|
411
|
+
const g = `${a}-desc`, y = f(
|
|
412
412
|
"dial-small cursor-pointer",
|
|
413
413
|
l ? "text-secondary" : "text-primary",
|
|
414
414
|
c
|
|
@@ -416,11 +416,11 @@ const Gt = (e, r) => {
|
|
|
416
416
|
"cursor-pointer dial-input-radio",
|
|
417
417
|
t && "mr-2",
|
|
418
418
|
i
|
|
419
|
-
),
|
|
419
|
+
), C = f("flex flex-col", !!n && "mb-2"), w = f(
|
|
420
420
|
"dial-tiny mt-2 ml-[26px] text-secondary",
|
|
421
421
|
u
|
|
422
422
|
);
|
|
423
|
-
return /* @__PURE__ */ x("div", { className:
|
|
423
|
+
return /* @__PURE__ */ x("div", { className: C, children: [
|
|
424
424
|
/* @__PURE__ */ x("div", { className: "flex flex-row items-center", children: [
|
|
425
425
|
/* @__PURE__ */ s(
|
|
426
426
|
"input",
|
|
@@ -431,7 +431,7 @@ const Gt = (e, r) => {
|
|
|
431
431
|
value: r,
|
|
432
432
|
checked: o,
|
|
433
433
|
disabled: l,
|
|
434
|
-
"aria-describedby": o && n ?
|
|
434
|
+
"aria-describedby": o && n ? g : void 0,
|
|
435
435
|
className: b,
|
|
436
436
|
onChange: (M) => {
|
|
437
437
|
l || M.target.checked && d?.(r);
|
|
@@ -440,7 +440,7 @@ const Gt = (e, r) => {
|
|
|
440
440
|
),
|
|
441
441
|
t ? /* @__PURE__ */ s("label", { className: y, htmlFor: a, children: t }) : null
|
|
442
442
|
] }),
|
|
443
|
-
o && n && /* @__PURE__ */ s("div", { id:
|
|
443
|
+
o && n && /* @__PURE__ */ s("div", { id: g, className: w, children: n })
|
|
444
444
|
] });
|
|
445
445
|
};
|
|
446
446
|
var Le = /* @__PURE__ */ ((e) => (e.Row = "Row", e.Column = "Column", e))(Le || {});
|
|
@@ -493,10 +493,10 @@ const qt = "flex flex-col gap-2", Kt = "flex", Yt = "pb-1 mt-2", Zt = {
|
|
|
493
493
|
title: r,
|
|
494
494
|
description: t
|
|
495
495
|
}) => /* @__PURE__ */ x("div", { className: "h-full w-full flex flex-col items-center justify-center text-secondary", children: [
|
|
496
|
-
e || /* @__PURE__ */ s(
|
|
496
|
+
e || /* @__PURE__ */ s(Sr, { width: 60, height: 60 }),
|
|
497
497
|
/* @__PURE__ */ s("span", { className: "dial-small mt-2 text-primary", children: r }),
|
|
498
498
|
t && /* @__PURE__ */ s("span", { className: "mt-1 text-primary", children: t })
|
|
499
|
-
] }), Jt = 60,
|
|
499
|
+
] }), Jt = 60, hs = ({
|
|
500
500
|
containerCssClass: e,
|
|
501
501
|
children: r,
|
|
502
502
|
width: t,
|
|
@@ -505,7 +505,7 @@ const qt = "flex flex-col gap-2", Kt = "flex", Yt = "pb-1 mt-2", Zt = {
|
|
|
505
505
|
titleCssClass: a,
|
|
506
506
|
additionalButtons: i
|
|
507
507
|
}) => {
|
|
508
|
-
const [c, l] = F(t), [d, u] = F(!0),
|
|
508
|
+
const [c, l] = F(t), [d, u] = F(!0), g = f([
|
|
509
509
|
"transform rotate-180 [writing-mode:tb-rl]",
|
|
510
510
|
d && "hidden",
|
|
511
511
|
a
|
|
@@ -534,25 +534,25 @@ const qt = "flex flex-col gap-2", Kt = "flex", Yt = "pb-1 mt-2", Zt = {
|
|
|
534
534
|
children: r
|
|
535
535
|
}
|
|
536
536
|
),
|
|
537
|
-
/* @__PURE__ */ s("div", { className:
|
|
537
|
+
/* @__PURE__ */ s("div", { className: g, children: n }),
|
|
538
538
|
/* @__PURE__ */ x("div", { className: y, children: [
|
|
539
539
|
d && i,
|
|
540
540
|
/* @__PURE__ */ s(
|
|
541
|
-
|
|
541
|
+
te,
|
|
542
542
|
{
|
|
543
543
|
cssClass: "hover:text-icon-accent-primary",
|
|
544
544
|
onClick: b,
|
|
545
545
|
iconBefore: d ? /* @__PURE__ */ s(
|
|
546
|
-
|
|
546
|
+
ht,
|
|
547
547
|
{
|
|
548
548
|
size: o,
|
|
549
|
-
stroke:
|
|
549
|
+
stroke: de.stroke
|
|
550
550
|
}
|
|
551
551
|
) : /* @__PURE__ */ s(
|
|
552
|
-
|
|
552
|
+
bt,
|
|
553
553
|
{
|
|
554
554
|
size: o,
|
|
555
|
-
stroke:
|
|
555
|
+
stroke: de.stroke
|
|
556
556
|
}
|
|
557
557
|
)
|
|
558
558
|
}
|
|
@@ -561,7 +561,7 @@ const qt = "flex flex-col gap-2", Kt = "flex", Yt = "pb-1 mt-2", Zt = {
|
|
|
561
561
|
]
|
|
562
562
|
}
|
|
563
563
|
);
|
|
564
|
-
},
|
|
564
|
+
}, bs = ({
|
|
565
565
|
label: e,
|
|
566
566
|
text: r,
|
|
567
567
|
children: t,
|
|
@@ -591,17 +591,17 @@ const en = {
|
|
|
591
591
|
return {
|
|
592
592
|
getClassGroupId: (i) => {
|
|
593
593
|
const c = i.split(lr);
|
|
594
|
-
return c[0] === "" && c.length !== 1 && c.shift(),
|
|
594
|
+
return c[0] === "" && c.length !== 1 && c.shift(), Ur(c, r) || nn(i);
|
|
595
595
|
},
|
|
596
596
|
getConflictingClassGroupIds: (i, c) => {
|
|
597
597
|
const l = t[i] || [];
|
|
598
598
|
return c && n[i] ? [...l, ...n[i]] : l;
|
|
599
599
|
}
|
|
600
600
|
};
|
|
601
|
-
},
|
|
601
|
+
}, Ur = (e, r) => {
|
|
602
602
|
if (e.length === 0)
|
|
603
603
|
return r.classGroupId;
|
|
604
|
-
const t = e[0], n = r.nextPart.get(t), o = n ?
|
|
604
|
+
const t = e[0], n = r.nextPart.get(t), o = n ? Ur(e.slice(1), n) : void 0;
|
|
605
605
|
if (o)
|
|
606
606
|
return o;
|
|
607
607
|
if (r.validators.length === 0)
|
|
@@ -610,9 +610,9 @@ const en = {
|
|
|
610
610
|
return r.validators.find(({
|
|
611
611
|
validator: i
|
|
612
612
|
}) => i(a))?.classGroupId;
|
|
613
|
-
},
|
|
614
|
-
if (
|
|
615
|
-
const r =
|
|
613
|
+
}, fr = /^\[(.+)\]$/, nn = (e) => {
|
|
614
|
+
if (fr.test(e)) {
|
|
615
|
+
const r = fr.exec(e)[1], t = r?.substring(0, r.indexOf(":"));
|
|
616
616
|
if (t)
|
|
617
617
|
return "arbitrary.." + t;
|
|
618
618
|
}
|
|
@@ -630,7 +630,7 @@ const en = {
|
|
|
630
630
|
}, Ye = (e, r, t, n) => {
|
|
631
631
|
e.forEach((o) => {
|
|
632
632
|
if (typeof o == "string") {
|
|
633
|
-
const a = o === "" ? r :
|
|
633
|
+
const a = o === "" ? r : gr(r, o);
|
|
634
634
|
a.classGroupId = t;
|
|
635
635
|
return;
|
|
636
636
|
}
|
|
@@ -646,10 +646,10 @@ const en = {
|
|
|
646
646
|
return;
|
|
647
647
|
}
|
|
648
648
|
Object.entries(o).forEach(([a, i]) => {
|
|
649
|
-
Ye(i,
|
|
649
|
+
Ye(i, gr(r, a), t, n);
|
|
650
650
|
});
|
|
651
651
|
});
|
|
652
|
-
},
|
|
652
|
+
}, gr = (e, r) => {
|
|
653
653
|
let t = e;
|
|
654
654
|
return r.split(lr).forEach((n) => {
|
|
655
655
|
t.nextPart.has(n) || t.nextPart.set(n, {
|
|
@@ -689,25 +689,25 @@ const en = {
|
|
|
689
689
|
let n = (o) => {
|
|
690
690
|
const a = [];
|
|
691
691
|
let i = 0, c = 0, l = 0, d;
|
|
692
|
-
for (let
|
|
693
|
-
let
|
|
692
|
+
for (let C = 0; C < o.length; C++) {
|
|
693
|
+
let w = o[C];
|
|
694
694
|
if (i === 0 && c === 0) {
|
|
695
|
-
if (
|
|
696
|
-
a.push(o.slice(l,
|
|
695
|
+
if (w === Xe) {
|
|
696
|
+
a.push(o.slice(l, C)), l = C + ln;
|
|
697
697
|
continue;
|
|
698
698
|
}
|
|
699
|
-
if (
|
|
700
|
-
d =
|
|
699
|
+
if (w === "/") {
|
|
700
|
+
d = C;
|
|
701
701
|
continue;
|
|
702
702
|
}
|
|
703
703
|
}
|
|
704
|
-
|
|
704
|
+
w === "[" ? i++ : w === "]" ? i-- : w === "(" ? c++ : w === ")" && c--;
|
|
705
705
|
}
|
|
706
|
-
const u = a.length === 0 ? o : o.substring(l),
|
|
706
|
+
const u = a.length === 0 ? o : o.substring(l), g = dn(u), y = g !== u, b = d && d > l ? d - l : void 0;
|
|
707
707
|
return {
|
|
708
708
|
modifiers: a,
|
|
709
709
|
hasImportantModifier: y,
|
|
710
|
-
baseClassName:
|
|
710
|
+
baseClassName: g,
|
|
711
711
|
maybePostfixModifierPosition: b
|
|
712
712
|
};
|
|
713
713
|
};
|
|
@@ -755,23 +755,23 @@ const en = {
|
|
|
755
755
|
let l = "";
|
|
756
756
|
for (let d = c.length - 1; d >= 0; d -= 1) {
|
|
757
757
|
const u = c[d], {
|
|
758
|
-
isExternal:
|
|
758
|
+
isExternal: g,
|
|
759
759
|
modifiers: y,
|
|
760
760
|
hasImportantModifier: b,
|
|
761
|
-
baseClassName:
|
|
762
|
-
maybePostfixModifierPosition:
|
|
761
|
+
baseClassName: C,
|
|
762
|
+
maybePostfixModifierPosition: w
|
|
763
763
|
} = t(u);
|
|
764
|
-
if (
|
|
764
|
+
if (g) {
|
|
765
765
|
l = u + (l.length > 0 ? " " + l : l);
|
|
766
766
|
continue;
|
|
767
767
|
}
|
|
768
|
-
let D = !!
|
|
768
|
+
let D = !!w, M = n(D ? C.substring(0, w) : C);
|
|
769
769
|
if (!M) {
|
|
770
770
|
if (!D) {
|
|
771
771
|
l = u + (l.length > 0 ? " " + l : l);
|
|
772
772
|
continue;
|
|
773
773
|
}
|
|
774
|
-
if (M = n(
|
|
774
|
+
if (M = n(C), !M) {
|
|
775
775
|
l = u + (l.length > 0 ? " " + l : l);
|
|
776
776
|
continue;
|
|
777
777
|
}
|
|
@@ -793,21 +793,21 @@ const en = {
|
|
|
793
793
|
function mn() {
|
|
794
794
|
let e = 0, r, t, n = "";
|
|
795
795
|
for (; e < arguments.length; )
|
|
796
|
-
(r = arguments[e++]) && (t =
|
|
796
|
+
(r = arguments[e++]) && (t = qr(r)) && (n && (n += " "), n += t);
|
|
797
797
|
return n;
|
|
798
798
|
}
|
|
799
|
-
const
|
|
799
|
+
const qr = (e) => {
|
|
800
800
|
if (typeof e == "string")
|
|
801
801
|
return e;
|
|
802
802
|
let r, t = "";
|
|
803
803
|
for (let n = 0; n < e.length; n++)
|
|
804
|
-
e[n] && (r =
|
|
804
|
+
e[n] && (r = qr(e[n])) && (t && (t += " "), t += r);
|
|
805
805
|
return t;
|
|
806
806
|
};
|
|
807
807
|
function hn(e, ...r) {
|
|
808
808
|
let t, n, o, a = i;
|
|
809
809
|
function i(l) {
|
|
810
|
-
const d = r.reduce((u,
|
|
810
|
+
const d = r.reduce((u, g) => g(u), e());
|
|
811
811
|
return t = pn(d), n = t.cache.get, o = t.cache.set, a = c, c(l);
|
|
812
812
|
}
|
|
813
813
|
function c(l) {
|
|
@@ -821,22 +821,22 @@ function hn(e, ...r) {
|
|
|
821
821
|
return a(mn.apply(null, arguments));
|
|
822
822
|
};
|
|
823
823
|
}
|
|
824
|
-
const
|
|
824
|
+
const j = (e) => {
|
|
825
825
|
const r = (t) => t[e] || [];
|
|
826
826
|
return r.isThemeGetter = !0, r;
|
|
827
|
-
},
|
|
827
|
+
}, Kr = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Yr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, bn = /^\d+\/\d+$/, xn = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, yn = /\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$/, wn = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, vn = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Cn = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, he = (e) => bn.test(e), S = (e) => !!e && !Number.isNaN(Number(e)), le = (e) => !!e && Number.isInteger(Number(e)), Be = (e) => e.endsWith("%") && S(e.slice(0, -1)), se = (e) => xn.test(e), kn = () => !0, Dn = (e) => (
|
|
828
828
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
829
829
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
830
830
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
831
831
|
yn.test(e) && !wn.test(e)
|
|
832
|
-
),
|
|
833
|
-
const n =
|
|
832
|
+
), Zr = () => !1, In = (e) => vn.test(e), Nn = (e) => Cn.test(e), Sn = (e) => !m(e) && !h(e), Tn = (e) => Ce(e, Jr, Zr), m = (e) => Kr.test(e), fe = (e) => Ce(e, et, Dn), We = (e) => Ce(e, zn, S), mr = (e) => Ce(e, Xr, Zr), On = (e) => Ce(e, Qr, Nn), ze = (e) => Ce(e, rt, In), h = (e) => Yr.test(e), Ie = (e) => ke(e, et), Mn = (e) => ke(e, En), hr = (e) => ke(e, Xr), Pn = (e) => ke(e, Jr), Rn = (e) => ke(e, Qr), Ee = (e) => ke(e, rt, !0), Ce = (e, r, t) => {
|
|
833
|
+
const n = Kr.exec(e);
|
|
834
834
|
return n ? n[1] ? r(n[1]) : t(n[2]) : !1;
|
|
835
835
|
}, ke = (e, r, t = !1) => {
|
|
836
|
-
const n =
|
|
836
|
+
const n = Yr.exec(e);
|
|
837
837
|
return n ? n[1] ? r(n[1]) : t : !1;
|
|
838
|
-
},
|
|
839
|
-
const e =
|
|
838
|
+
}, Xr = (e) => e === "position" || e === "percentage", Qr = (e) => e === "image" || e === "url", Jr = (e) => e === "length" || e === "size" || e === "bg-size", et = (e) => e === "length", zn = (e) => e === "number", En = (e) => e === "family-name", rt = (e) => e === "shadow", An = () => {
|
|
839
|
+
const e = j("color"), r = j("font"), t = j("text"), n = j("font-weight"), o = j("tracking"), a = j("leading"), i = j("breakpoint"), c = j("container"), l = j("spacing"), d = j("radius"), u = j("shadow"), g = j("inset-shadow"), y = j("text-shadow"), b = j("drop-shadow"), C = j("blur"), w = j("perspective"), D = j("aspect"), M = j("ease"), O = j("animate"), N = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], T = () => [
|
|
840
840
|
"center",
|
|
841
841
|
"top",
|
|
842
842
|
"bottom",
|
|
@@ -854,51 +854,51 @@ const H = (e) => {
|
|
|
854
854
|
"bottom-left",
|
|
855
855
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
856
856
|
"left-bottom"
|
|
857
|
-
], E = () => [...T(),
|
|
858
|
-
span: ["full", le,
|
|
859
|
-
}, le,
|
|
860
|
-
position: [
|
|
857
|
+
], E = () => [...T(), h, m], _ = () => ["auto", "hidden", "clip", "visible", "scroll"], $ = () => ["auto", "contain", "none"], v = () => [h, m, l], P = () => [he, "full", "auto", ...v()], L = () => [le, "none", "subgrid", h, m], B = () => ["auto", {
|
|
858
|
+
span: ["full", le, h, m]
|
|
859
|
+
}, le, h, m], q = () => [le, "auto", h, m], pe = () => ["auto", "min", "max", "fr", h, m], K = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Q = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], U = () => ["auto", ...v()], J = () => [he, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...v()], k = () => [e, h, m], ie = () => [...T(), hr, mr, {
|
|
860
|
+
position: [h, m]
|
|
861
861
|
}], I = () => ["no-repeat", {
|
|
862
862
|
repeat: ["", "x", "y", "space", "round"]
|
|
863
|
-
}],
|
|
864
|
-
size: [
|
|
865
|
-
}],
|
|
863
|
+
}], W = () => ["auto", "cover", "contain", Pn, Tn, {
|
|
864
|
+
size: [h, m]
|
|
865
|
+
}], oe = () => [Be, Ie, fe], A = () => [
|
|
866
866
|
// Deprecated since Tailwind CSS v4.0.0
|
|
867
867
|
"",
|
|
868
868
|
"none",
|
|
869
869
|
"full",
|
|
870
870
|
d,
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
], p = () => ["", S, Ie,
|
|
871
|
+
h,
|
|
872
|
+
m
|
|
873
|
+
], p = () => ["", S, Ie, fe], z = () => ["solid", "dashed", "dotted", "double"], ee = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], R = () => [S, Be, hr, mr], ur = () => [
|
|
874
874
|
// Deprecated since Tailwind CSS v4.0.0
|
|
875
875
|
"",
|
|
876
876
|
"none",
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
], Me = () => ["none", S,
|
|
877
|
+
C,
|
|
878
|
+
h,
|
|
879
|
+
m
|
|
880
|
+
], Me = () => ["none", S, h, m], Pe = () => ["none", S, h, m], He = () => [S, h, m], Re = () => [he, "full", ...v()];
|
|
881
881
|
return {
|
|
882
882
|
cacheSize: 500,
|
|
883
883
|
theme: {
|
|
884
884
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
885
885
|
aspect: ["video"],
|
|
886
|
-
blur: [
|
|
887
|
-
breakpoint: [
|
|
886
|
+
blur: [se],
|
|
887
|
+
breakpoint: [se],
|
|
888
888
|
color: [kn],
|
|
889
|
-
container: [
|
|
890
|
-
"drop-shadow": [
|
|
889
|
+
container: [se],
|
|
890
|
+
"drop-shadow": [se],
|
|
891
891
|
ease: ["in", "out", "in-out"],
|
|
892
892
|
font: [Sn],
|
|
893
893
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
894
|
-
"inset-shadow": [
|
|
894
|
+
"inset-shadow": [se],
|
|
895
895
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
896
896
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
897
|
-
radius: [
|
|
898
|
-
shadow: [
|
|
897
|
+
radius: [se],
|
|
898
|
+
shadow: [se],
|
|
899
899
|
spacing: ["px", S],
|
|
900
|
-
text: [
|
|
901
|
-
"text-shadow": [
|
|
900
|
+
text: [se],
|
|
901
|
+
"text-shadow": [se],
|
|
902
902
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
903
903
|
},
|
|
904
904
|
classGroups: {
|
|
@@ -910,7 +910,7 @@ const H = (e) => {
|
|
|
910
910
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
911
911
|
*/
|
|
912
912
|
aspect: [{
|
|
913
|
-
aspect: ["auto", "square", he,
|
|
913
|
+
aspect: ["auto", "square", he, m, h, D]
|
|
914
914
|
}],
|
|
915
915
|
/**
|
|
916
916
|
* Container
|
|
@@ -923,7 +923,7 @@ const H = (e) => {
|
|
|
923
923
|
* @see https://tailwindcss.com/docs/columns
|
|
924
924
|
*/
|
|
925
925
|
columns: [{
|
|
926
|
-
columns: [S,
|
|
926
|
+
columns: [S, m, h, c]
|
|
927
927
|
}],
|
|
928
928
|
/**
|
|
929
929
|
* Break After
|
|
@@ -1123,7 +1123,7 @@ const H = (e) => {
|
|
|
1123
1123
|
* @see https://tailwindcss.com/docs/z-index
|
|
1124
1124
|
*/
|
|
1125
1125
|
z: [{
|
|
1126
|
-
z: [le, "auto",
|
|
1126
|
+
z: [le, "auto", h, m]
|
|
1127
1127
|
}],
|
|
1128
1128
|
// ------------------------
|
|
1129
1129
|
// --- Flexbox and Grid ---
|
|
@@ -1133,7 +1133,7 @@ const H = (e) => {
|
|
|
1133
1133
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
1134
1134
|
*/
|
|
1135
1135
|
basis: [{
|
|
1136
|
-
basis: [he, "full", "auto", c, ...
|
|
1136
|
+
basis: [he, "full", "auto", c, ...v()]
|
|
1137
1137
|
}],
|
|
1138
1138
|
/**
|
|
1139
1139
|
* Flex Direction
|
|
@@ -1154,28 +1154,28 @@ const H = (e) => {
|
|
|
1154
1154
|
* @see https://tailwindcss.com/docs/flex
|
|
1155
1155
|
*/
|
|
1156
1156
|
flex: [{
|
|
1157
|
-
flex: [S, he, "auto", "initial", "none",
|
|
1157
|
+
flex: [S, he, "auto", "initial", "none", m]
|
|
1158
1158
|
}],
|
|
1159
1159
|
/**
|
|
1160
1160
|
* Flex Grow
|
|
1161
1161
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
1162
1162
|
*/
|
|
1163
1163
|
grow: [{
|
|
1164
|
-
grow: ["", S,
|
|
1164
|
+
grow: ["", S, h, m]
|
|
1165
1165
|
}],
|
|
1166
1166
|
/**
|
|
1167
1167
|
* Flex Shrink
|
|
1168
1168
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1169
1169
|
*/
|
|
1170
1170
|
shrink: [{
|
|
1171
|
-
shrink: ["", S,
|
|
1171
|
+
shrink: ["", S, h, m]
|
|
1172
1172
|
}],
|
|
1173
1173
|
/**
|
|
1174
1174
|
* Order
|
|
1175
1175
|
* @see https://tailwindcss.com/docs/order
|
|
1176
1176
|
*/
|
|
1177
1177
|
order: [{
|
|
1178
|
-
order: [le, "first", "last", "none",
|
|
1178
|
+
order: [le, "first", "last", "none", h, m]
|
|
1179
1179
|
}],
|
|
1180
1180
|
/**
|
|
1181
1181
|
* Grid Template Columns
|
|
@@ -1189,7 +1189,7 @@ const H = (e) => {
|
|
|
1189
1189
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1190
1190
|
*/
|
|
1191
1191
|
"col-start-end": [{
|
|
1192
|
-
col:
|
|
1192
|
+
col: B()
|
|
1193
1193
|
}],
|
|
1194
1194
|
/**
|
|
1195
1195
|
* Grid Column Start
|
|
@@ -1217,7 +1217,7 @@ const H = (e) => {
|
|
|
1217
1217
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1218
1218
|
*/
|
|
1219
1219
|
"row-start-end": [{
|
|
1220
|
-
row:
|
|
1220
|
+
row: B()
|
|
1221
1221
|
}],
|
|
1222
1222
|
/**
|
|
1223
1223
|
* Grid Row Start
|
|
@@ -1245,35 +1245,35 @@ const H = (e) => {
|
|
|
1245
1245
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
1246
1246
|
*/
|
|
1247
1247
|
"auto-cols": [{
|
|
1248
|
-
"auto-cols":
|
|
1248
|
+
"auto-cols": pe()
|
|
1249
1249
|
}],
|
|
1250
1250
|
/**
|
|
1251
1251
|
* Grid Auto Rows
|
|
1252
1252
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
1253
1253
|
*/
|
|
1254
1254
|
"auto-rows": [{
|
|
1255
|
-
"auto-rows":
|
|
1255
|
+
"auto-rows": pe()
|
|
1256
1256
|
}],
|
|
1257
1257
|
/**
|
|
1258
1258
|
* Gap
|
|
1259
1259
|
* @see https://tailwindcss.com/docs/gap
|
|
1260
1260
|
*/
|
|
1261
1261
|
gap: [{
|
|
1262
|
-
gap:
|
|
1262
|
+
gap: v()
|
|
1263
1263
|
}],
|
|
1264
1264
|
/**
|
|
1265
1265
|
* Gap X
|
|
1266
1266
|
* @see https://tailwindcss.com/docs/gap
|
|
1267
1267
|
*/
|
|
1268
1268
|
"gap-x": [{
|
|
1269
|
-
"gap-x":
|
|
1269
|
+
"gap-x": v()
|
|
1270
1270
|
}],
|
|
1271
1271
|
/**
|
|
1272
1272
|
* Gap Y
|
|
1273
1273
|
* @see https://tailwindcss.com/docs/gap
|
|
1274
1274
|
*/
|
|
1275
1275
|
"gap-y": [{
|
|
1276
|
-
"gap-y":
|
|
1276
|
+
"gap-y": v()
|
|
1277
1277
|
}],
|
|
1278
1278
|
/**
|
|
1279
1279
|
* Justify Content
|
|
@@ -1348,63 +1348,63 @@ const H = (e) => {
|
|
|
1348
1348
|
* @see https://tailwindcss.com/docs/padding
|
|
1349
1349
|
*/
|
|
1350
1350
|
p: [{
|
|
1351
|
-
p:
|
|
1351
|
+
p: v()
|
|
1352
1352
|
}],
|
|
1353
1353
|
/**
|
|
1354
1354
|
* Padding X
|
|
1355
1355
|
* @see https://tailwindcss.com/docs/padding
|
|
1356
1356
|
*/
|
|
1357
1357
|
px: [{
|
|
1358
|
-
px:
|
|
1358
|
+
px: v()
|
|
1359
1359
|
}],
|
|
1360
1360
|
/**
|
|
1361
1361
|
* Padding Y
|
|
1362
1362
|
* @see https://tailwindcss.com/docs/padding
|
|
1363
1363
|
*/
|
|
1364
1364
|
py: [{
|
|
1365
|
-
py:
|
|
1365
|
+
py: v()
|
|
1366
1366
|
}],
|
|
1367
1367
|
/**
|
|
1368
1368
|
* Padding Start
|
|
1369
1369
|
* @see https://tailwindcss.com/docs/padding
|
|
1370
1370
|
*/
|
|
1371
1371
|
ps: [{
|
|
1372
|
-
ps:
|
|
1372
|
+
ps: v()
|
|
1373
1373
|
}],
|
|
1374
1374
|
/**
|
|
1375
1375
|
* Padding End
|
|
1376
1376
|
* @see https://tailwindcss.com/docs/padding
|
|
1377
1377
|
*/
|
|
1378
1378
|
pe: [{
|
|
1379
|
-
pe:
|
|
1379
|
+
pe: v()
|
|
1380
1380
|
}],
|
|
1381
1381
|
/**
|
|
1382
1382
|
* Padding Top
|
|
1383
1383
|
* @see https://tailwindcss.com/docs/padding
|
|
1384
1384
|
*/
|
|
1385
1385
|
pt: [{
|
|
1386
|
-
pt:
|
|
1386
|
+
pt: v()
|
|
1387
1387
|
}],
|
|
1388
1388
|
/**
|
|
1389
1389
|
* Padding Right
|
|
1390
1390
|
* @see https://tailwindcss.com/docs/padding
|
|
1391
1391
|
*/
|
|
1392
1392
|
pr: [{
|
|
1393
|
-
pr:
|
|
1393
|
+
pr: v()
|
|
1394
1394
|
}],
|
|
1395
1395
|
/**
|
|
1396
1396
|
* Padding Bottom
|
|
1397
1397
|
* @see https://tailwindcss.com/docs/padding
|
|
1398
1398
|
*/
|
|
1399
1399
|
pb: [{
|
|
1400
|
-
pb:
|
|
1400
|
+
pb: v()
|
|
1401
1401
|
}],
|
|
1402
1402
|
/**
|
|
1403
1403
|
* Padding Left
|
|
1404
1404
|
* @see https://tailwindcss.com/docs/padding
|
|
1405
1405
|
*/
|
|
1406
1406
|
pl: [{
|
|
1407
|
-
pl:
|
|
1407
|
+
pl: v()
|
|
1408
1408
|
}],
|
|
1409
1409
|
/**
|
|
1410
1410
|
* Margin
|
|
@@ -1474,7 +1474,7 @@ const H = (e) => {
|
|
|
1474
1474
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1475
1475
|
*/
|
|
1476
1476
|
"space-x": [{
|
|
1477
|
-
"space-x":
|
|
1477
|
+
"space-x": v()
|
|
1478
1478
|
}],
|
|
1479
1479
|
/**
|
|
1480
1480
|
* Space Between X Reverse
|
|
@@ -1486,7 +1486,7 @@ const H = (e) => {
|
|
|
1486
1486
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1487
1487
|
*/
|
|
1488
1488
|
"space-y": [{
|
|
1489
|
-
"space-y":
|
|
1489
|
+
"space-y": v()
|
|
1490
1490
|
}],
|
|
1491
1491
|
/**
|
|
1492
1492
|
* Space Between Y Reverse
|
|
@@ -1570,7 +1570,7 @@ const H = (e) => {
|
|
|
1570
1570
|
* @see https://tailwindcss.com/docs/font-size
|
|
1571
1571
|
*/
|
|
1572
1572
|
"font-size": [{
|
|
1573
|
-
text: ["base", t, Ie,
|
|
1573
|
+
text: ["base", t, Ie, fe]
|
|
1574
1574
|
}],
|
|
1575
1575
|
/**
|
|
1576
1576
|
* Font Smoothing
|
|
@@ -1587,21 +1587,21 @@ const H = (e) => {
|
|
|
1587
1587
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1588
1588
|
*/
|
|
1589
1589
|
"font-weight": [{
|
|
1590
|
-
font: [n,
|
|
1590
|
+
font: [n, h, We]
|
|
1591
1591
|
}],
|
|
1592
1592
|
/**
|
|
1593
1593
|
* Font Stretch
|
|
1594
1594
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1595
1595
|
*/
|
|
1596
1596
|
"font-stretch": [{
|
|
1597
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Be,
|
|
1597
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Be, m]
|
|
1598
1598
|
}],
|
|
1599
1599
|
/**
|
|
1600
1600
|
* Font Family
|
|
1601
1601
|
* @see https://tailwindcss.com/docs/font-family
|
|
1602
1602
|
*/
|
|
1603
1603
|
"font-family": [{
|
|
1604
|
-
font: [Mn,
|
|
1604
|
+
font: [Mn, m, r]
|
|
1605
1605
|
}],
|
|
1606
1606
|
/**
|
|
1607
1607
|
* Font Variant Numeric
|
|
@@ -1638,14 +1638,14 @@ const H = (e) => {
|
|
|
1638
1638
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1639
1639
|
*/
|
|
1640
1640
|
tracking: [{
|
|
1641
|
-
tracking: [o,
|
|
1641
|
+
tracking: [o, h, m]
|
|
1642
1642
|
}],
|
|
1643
1643
|
/**
|
|
1644
1644
|
* Line Clamp
|
|
1645
1645
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1646
1646
|
*/
|
|
1647
1647
|
"line-clamp": [{
|
|
1648
|
-
"line-clamp": [S, "none",
|
|
1648
|
+
"line-clamp": [S, "none", h, We]
|
|
1649
1649
|
}],
|
|
1650
1650
|
/**
|
|
1651
1651
|
* Line Height
|
|
@@ -1655,7 +1655,7 @@ const H = (e) => {
|
|
|
1655
1655
|
leading: [
|
|
1656
1656
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1657
1657
|
a,
|
|
1658
|
-
...
|
|
1658
|
+
...v()
|
|
1659
1659
|
]
|
|
1660
1660
|
}],
|
|
1661
1661
|
/**
|
|
@@ -1663,7 +1663,7 @@ const H = (e) => {
|
|
|
1663
1663
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1664
1664
|
*/
|
|
1665
1665
|
"list-image": [{
|
|
1666
|
-
"list-image": ["none",
|
|
1666
|
+
"list-image": ["none", h, m]
|
|
1667
1667
|
}],
|
|
1668
1668
|
/**
|
|
1669
1669
|
* List Style Position
|
|
@@ -1677,7 +1677,7 @@ const H = (e) => {
|
|
|
1677
1677
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1678
1678
|
*/
|
|
1679
1679
|
"list-style-type": [{
|
|
1680
|
-
list: ["disc", "decimal", "none",
|
|
1680
|
+
list: ["disc", "decimal", "none", h, m]
|
|
1681
1681
|
}],
|
|
1682
1682
|
/**
|
|
1683
1683
|
* Text Alignment
|
|
@@ -1692,14 +1692,14 @@ const H = (e) => {
|
|
|
1692
1692
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1693
1693
|
*/
|
|
1694
1694
|
"placeholder-color": [{
|
|
1695
|
-
placeholder:
|
|
1695
|
+
placeholder: k()
|
|
1696
1696
|
}],
|
|
1697
1697
|
/**
|
|
1698
1698
|
* Text Color
|
|
1699
1699
|
* @see https://tailwindcss.com/docs/text-color
|
|
1700
1700
|
*/
|
|
1701
1701
|
"text-color": [{
|
|
1702
|
-
text:
|
|
1702
|
+
text: k()
|
|
1703
1703
|
}],
|
|
1704
1704
|
/**
|
|
1705
1705
|
* Text Decoration
|
|
@@ -1718,21 +1718,21 @@ const H = (e) => {
|
|
|
1718
1718
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1719
1719
|
*/
|
|
1720
1720
|
"text-decoration-thickness": [{
|
|
1721
|
-
decoration: [S, "from-font", "auto",
|
|
1721
|
+
decoration: [S, "from-font", "auto", h, fe]
|
|
1722
1722
|
}],
|
|
1723
1723
|
/**
|
|
1724
1724
|
* Text Decoration Color
|
|
1725
1725
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1726
1726
|
*/
|
|
1727
1727
|
"text-decoration-color": [{
|
|
1728
|
-
decoration:
|
|
1728
|
+
decoration: k()
|
|
1729
1729
|
}],
|
|
1730
1730
|
/**
|
|
1731
1731
|
* Text Underline Offset
|
|
1732
1732
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1733
1733
|
*/
|
|
1734
1734
|
"underline-offset": [{
|
|
1735
|
-
"underline-offset": [S, "auto",
|
|
1735
|
+
"underline-offset": [S, "auto", h, m]
|
|
1736
1736
|
}],
|
|
1737
1737
|
/**
|
|
1738
1738
|
* Text Transform
|
|
@@ -1756,14 +1756,14 @@ const H = (e) => {
|
|
|
1756
1756
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1757
1757
|
*/
|
|
1758
1758
|
indent: [{
|
|
1759
|
-
indent:
|
|
1759
|
+
indent: v()
|
|
1760
1760
|
}],
|
|
1761
1761
|
/**
|
|
1762
1762
|
* Vertical Alignment
|
|
1763
1763
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1764
1764
|
*/
|
|
1765
1765
|
"vertical-align": [{
|
|
1766
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1766
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", h, m]
|
|
1767
1767
|
}],
|
|
1768
1768
|
/**
|
|
1769
1769
|
* Whitespace
|
|
@@ -1798,7 +1798,7 @@ const H = (e) => {
|
|
|
1798
1798
|
* @see https://tailwindcss.com/docs/content
|
|
1799
1799
|
*/
|
|
1800
1800
|
content: [{
|
|
1801
|
-
content: ["none",
|
|
1801
|
+
content: ["none", h, m]
|
|
1802
1802
|
}],
|
|
1803
1803
|
// -------------------
|
|
1804
1804
|
// --- Backgrounds ---
|
|
@@ -1843,7 +1843,7 @@ const H = (e) => {
|
|
|
1843
1843
|
* @see https://tailwindcss.com/docs/background-size
|
|
1844
1844
|
*/
|
|
1845
1845
|
"bg-size": [{
|
|
1846
|
-
bg:
|
|
1846
|
+
bg: W()
|
|
1847
1847
|
}],
|
|
1848
1848
|
/**
|
|
1849
1849
|
* Background Image
|
|
@@ -1853,9 +1853,9 @@ const H = (e) => {
|
|
|
1853
1853
|
bg: ["none", {
|
|
1854
1854
|
linear: [{
|
|
1855
1855
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1856
|
-
}, le,
|
|
1857
|
-
radial: ["",
|
|
1858
|
-
conic: [le,
|
|
1856
|
+
}, le, h, m],
|
|
1857
|
+
radial: ["", h, m],
|
|
1858
|
+
conic: [le, h, m]
|
|
1859
1859
|
}, Rn, On]
|
|
1860
1860
|
}],
|
|
1861
1861
|
/**
|
|
@@ -1863,49 +1863,49 @@ const H = (e) => {
|
|
|
1863
1863
|
* @see https://tailwindcss.com/docs/background-color
|
|
1864
1864
|
*/
|
|
1865
1865
|
"bg-color": [{
|
|
1866
|
-
bg:
|
|
1866
|
+
bg: k()
|
|
1867
1867
|
}],
|
|
1868
1868
|
/**
|
|
1869
1869
|
* Gradient Color Stops From Position
|
|
1870
1870
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1871
1871
|
*/
|
|
1872
1872
|
"gradient-from-pos": [{
|
|
1873
|
-
from:
|
|
1873
|
+
from: oe()
|
|
1874
1874
|
}],
|
|
1875
1875
|
/**
|
|
1876
1876
|
* Gradient Color Stops Via Position
|
|
1877
1877
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1878
1878
|
*/
|
|
1879
1879
|
"gradient-via-pos": [{
|
|
1880
|
-
via:
|
|
1880
|
+
via: oe()
|
|
1881
1881
|
}],
|
|
1882
1882
|
/**
|
|
1883
1883
|
* Gradient Color Stops To Position
|
|
1884
1884
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1885
1885
|
*/
|
|
1886
1886
|
"gradient-to-pos": [{
|
|
1887
|
-
to:
|
|
1887
|
+
to: oe()
|
|
1888
1888
|
}],
|
|
1889
1889
|
/**
|
|
1890
1890
|
* Gradient Color Stops From
|
|
1891
1891
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1892
1892
|
*/
|
|
1893
1893
|
"gradient-from": [{
|
|
1894
|
-
from:
|
|
1894
|
+
from: k()
|
|
1895
1895
|
}],
|
|
1896
1896
|
/**
|
|
1897
1897
|
* Gradient Color Stops Via
|
|
1898
1898
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1899
1899
|
*/
|
|
1900
1900
|
"gradient-via": [{
|
|
1901
|
-
via:
|
|
1901
|
+
via: k()
|
|
1902
1902
|
}],
|
|
1903
1903
|
/**
|
|
1904
1904
|
* Gradient Color Stops To
|
|
1905
1905
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1906
1906
|
*/
|
|
1907
1907
|
"gradient-to": [{
|
|
1908
|
-
to:
|
|
1908
|
+
to: k()
|
|
1909
1909
|
}],
|
|
1910
1910
|
// ---------------
|
|
1911
1911
|
// --- Borders ---
|
|
@@ -2121,70 +2121,70 @@ const H = (e) => {
|
|
|
2121
2121
|
* @see https://tailwindcss.com/docs/border-color
|
|
2122
2122
|
*/
|
|
2123
2123
|
"border-color": [{
|
|
2124
|
-
border:
|
|
2124
|
+
border: k()
|
|
2125
2125
|
}],
|
|
2126
2126
|
/**
|
|
2127
2127
|
* Border Color X
|
|
2128
2128
|
* @see https://tailwindcss.com/docs/border-color
|
|
2129
2129
|
*/
|
|
2130
2130
|
"border-color-x": [{
|
|
2131
|
-
"border-x":
|
|
2131
|
+
"border-x": k()
|
|
2132
2132
|
}],
|
|
2133
2133
|
/**
|
|
2134
2134
|
* Border Color Y
|
|
2135
2135
|
* @see https://tailwindcss.com/docs/border-color
|
|
2136
2136
|
*/
|
|
2137
2137
|
"border-color-y": [{
|
|
2138
|
-
"border-y":
|
|
2138
|
+
"border-y": k()
|
|
2139
2139
|
}],
|
|
2140
2140
|
/**
|
|
2141
2141
|
* Border Color S
|
|
2142
2142
|
* @see https://tailwindcss.com/docs/border-color
|
|
2143
2143
|
*/
|
|
2144
2144
|
"border-color-s": [{
|
|
2145
|
-
"border-s":
|
|
2145
|
+
"border-s": k()
|
|
2146
2146
|
}],
|
|
2147
2147
|
/**
|
|
2148
2148
|
* Border Color E
|
|
2149
2149
|
* @see https://tailwindcss.com/docs/border-color
|
|
2150
2150
|
*/
|
|
2151
2151
|
"border-color-e": [{
|
|
2152
|
-
"border-e":
|
|
2152
|
+
"border-e": k()
|
|
2153
2153
|
}],
|
|
2154
2154
|
/**
|
|
2155
2155
|
* Border Color Top
|
|
2156
2156
|
* @see https://tailwindcss.com/docs/border-color
|
|
2157
2157
|
*/
|
|
2158
2158
|
"border-color-t": [{
|
|
2159
|
-
"border-t":
|
|
2159
|
+
"border-t": k()
|
|
2160
2160
|
}],
|
|
2161
2161
|
/**
|
|
2162
2162
|
* Border Color Right
|
|
2163
2163
|
* @see https://tailwindcss.com/docs/border-color
|
|
2164
2164
|
*/
|
|
2165
2165
|
"border-color-r": [{
|
|
2166
|
-
"border-r":
|
|
2166
|
+
"border-r": k()
|
|
2167
2167
|
}],
|
|
2168
2168
|
/**
|
|
2169
2169
|
* Border Color Bottom
|
|
2170
2170
|
* @see https://tailwindcss.com/docs/border-color
|
|
2171
2171
|
*/
|
|
2172
2172
|
"border-color-b": [{
|
|
2173
|
-
"border-b":
|
|
2173
|
+
"border-b": k()
|
|
2174
2174
|
}],
|
|
2175
2175
|
/**
|
|
2176
2176
|
* Border Color Left
|
|
2177
2177
|
* @see https://tailwindcss.com/docs/border-color
|
|
2178
2178
|
*/
|
|
2179
2179
|
"border-color-l": [{
|
|
2180
|
-
"border-l":
|
|
2180
|
+
"border-l": k()
|
|
2181
2181
|
}],
|
|
2182
2182
|
/**
|
|
2183
2183
|
* Divide Color
|
|
2184
2184
|
* @see https://tailwindcss.com/docs/divide-color
|
|
2185
2185
|
*/
|
|
2186
2186
|
"divide-color": [{
|
|
2187
|
-
divide:
|
|
2187
|
+
divide: k()
|
|
2188
2188
|
}],
|
|
2189
2189
|
/**
|
|
2190
2190
|
* Outline Style
|
|
@@ -2198,21 +2198,21 @@ const H = (e) => {
|
|
|
2198
2198
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
2199
2199
|
*/
|
|
2200
2200
|
"outline-offset": [{
|
|
2201
|
-
"outline-offset": [S,
|
|
2201
|
+
"outline-offset": [S, h, m]
|
|
2202
2202
|
}],
|
|
2203
2203
|
/**
|
|
2204
2204
|
* Outline Width
|
|
2205
2205
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2206
2206
|
*/
|
|
2207
2207
|
"outline-w": [{
|
|
2208
|
-
outline: ["", S, Ie,
|
|
2208
|
+
outline: ["", S, Ie, fe]
|
|
2209
2209
|
}],
|
|
2210
2210
|
/**
|
|
2211
2211
|
* Outline Color
|
|
2212
2212
|
* @see https://tailwindcss.com/docs/outline-color
|
|
2213
2213
|
*/
|
|
2214
2214
|
"outline-color": [{
|
|
2215
|
-
outline:
|
|
2215
|
+
outline: k()
|
|
2216
2216
|
}],
|
|
2217
2217
|
// ---------------
|
|
2218
2218
|
// --- Effects ---
|
|
@@ -2236,21 +2236,21 @@ const H = (e) => {
|
|
|
2236
2236
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
2237
2237
|
*/
|
|
2238
2238
|
"shadow-color": [{
|
|
2239
|
-
shadow:
|
|
2239
|
+
shadow: k()
|
|
2240
2240
|
}],
|
|
2241
2241
|
/**
|
|
2242
2242
|
* Inset Box Shadow
|
|
2243
2243
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
2244
2244
|
*/
|
|
2245
2245
|
"inset-shadow": [{
|
|
2246
|
-
"inset-shadow": ["none",
|
|
2246
|
+
"inset-shadow": ["none", g, Ee, ze]
|
|
2247
2247
|
}],
|
|
2248
2248
|
/**
|
|
2249
2249
|
* Inset Box Shadow Color
|
|
2250
2250
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
2251
2251
|
*/
|
|
2252
2252
|
"inset-shadow-color": [{
|
|
2253
|
-
"inset-shadow":
|
|
2253
|
+
"inset-shadow": k()
|
|
2254
2254
|
}],
|
|
2255
2255
|
/**
|
|
2256
2256
|
* Ring Width
|
|
@@ -2271,7 +2271,7 @@ const H = (e) => {
|
|
|
2271
2271
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
2272
2272
|
*/
|
|
2273
2273
|
"ring-color": [{
|
|
2274
|
-
ring:
|
|
2274
|
+
ring: k()
|
|
2275
2275
|
}],
|
|
2276
2276
|
/**
|
|
2277
2277
|
* Ring Offset Width
|
|
@@ -2280,7 +2280,7 @@ const H = (e) => {
|
|
|
2280
2280
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2281
2281
|
*/
|
|
2282
2282
|
"ring-offset-w": [{
|
|
2283
|
-
"ring-offset": [S,
|
|
2283
|
+
"ring-offset": [S, fe]
|
|
2284
2284
|
}],
|
|
2285
2285
|
/**
|
|
2286
2286
|
* Ring Offset Color
|
|
@@ -2289,7 +2289,7 @@ const H = (e) => {
|
|
|
2289
2289
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2290
2290
|
*/
|
|
2291
2291
|
"ring-offset-color": [{
|
|
2292
|
-
"ring-offset":
|
|
2292
|
+
"ring-offset": k()
|
|
2293
2293
|
}],
|
|
2294
2294
|
/**
|
|
2295
2295
|
* Inset Ring Width
|
|
@@ -2303,7 +2303,7 @@ const H = (e) => {
|
|
|
2303
2303
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
2304
2304
|
*/
|
|
2305
2305
|
"inset-ring-color": [{
|
|
2306
|
-
"inset-ring":
|
|
2306
|
+
"inset-ring": k()
|
|
2307
2307
|
}],
|
|
2308
2308
|
/**
|
|
2309
2309
|
* Text Shadow
|
|
@@ -2317,14 +2317,14 @@ const H = (e) => {
|
|
|
2317
2317
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
2318
2318
|
*/
|
|
2319
2319
|
"text-shadow-color": [{
|
|
2320
|
-
"text-shadow":
|
|
2320
|
+
"text-shadow": k()
|
|
2321
2321
|
}],
|
|
2322
2322
|
/**
|
|
2323
2323
|
* Opacity
|
|
2324
2324
|
* @see https://tailwindcss.com/docs/opacity
|
|
2325
2325
|
*/
|
|
2326
2326
|
opacity: [{
|
|
2327
|
-
opacity: [S,
|
|
2327
|
+
opacity: [S, h, m]
|
|
2328
2328
|
}],
|
|
2329
2329
|
/**
|
|
2330
2330
|
* Mix Blend Mode
|
|
@@ -2368,10 +2368,10 @@ const H = (e) => {
|
|
|
2368
2368
|
"mask-linear-to": R()
|
|
2369
2369
|
}],
|
|
2370
2370
|
"mask-image-linear-from-color": [{
|
|
2371
|
-
"mask-linear-from":
|
|
2371
|
+
"mask-linear-from": k()
|
|
2372
2372
|
}],
|
|
2373
2373
|
"mask-image-linear-to-color": [{
|
|
2374
|
-
"mask-linear-to":
|
|
2374
|
+
"mask-linear-to": k()
|
|
2375
2375
|
}],
|
|
2376
2376
|
"mask-image-t-from-pos": [{
|
|
2377
2377
|
"mask-t-from": R()
|
|
@@ -2380,10 +2380,10 @@ const H = (e) => {
|
|
|
2380
2380
|
"mask-t-to": R()
|
|
2381
2381
|
}],
|
|
2382
2382
|
"mask-image-t-from-color": [{
|
|
2383
|
-
"mask-t-from":
|
|
2383
|
+
"mask-t-from": k()
|
|
2384
2384
|
}],
|
|
2385
2385
|
"mask-image-t-to-color": [{
|
|
2386
|
-
"mask-t-to":
|
|
2386
|
+
"mask-t-to": k()
|
|
2387
2387
|
}],
|
|
2388
2388
|
"mask-image-r-from-pos": [{
|
|
2389
2389
|
"mask-r-from": R()
|
|
@@ -2392,10 +2392,10 @@ const H = (e) => {
|
|
|
2392
2392
|
"mask-r-to": R()
|
|
2393
2393
|
}],
|
|
2394
2394
|
"mask-image-r-from-color": [{
|
|
2395
|
-
"mask-r-from":
|
|
2395
|
+
"mask-r-from": k()
|
|
2396
2396
|
}],
|
|
2397
2397
|
"mask-image-r-to-color": [{
|
|
2398
|
-
"mask-r-to":
|
|
2398
|
+
"mask-r-to": k()
|
|
2399
2399
|
}],
|
|
2400
2400
|
"mask-image-b-from-pos": [{
|
|
2401
2401
|
"mask-b-from": R()
|
|
@@ -2404,10 +2404,10 @@ const H = (e) => {
|
|
|
2404
2404
|
"mask-b-to": R()
|
|
2405
2405
|
}],
|
|
2406
2406
|
"mask-image-b-from-color": [{
|
|
2407
|
-
"mask-b-from":
|
|
2407
|
+
"mask-b-from": k()
|
|
2408
2408
|
}],
|
|
2409
2409
|
"mask-image-b-to-color": [{
|
|
2410
|
-
"mask-b-to":
|
|
2410
|
+
"mask-b-to": k()
|
|
2411
2411
|
}],
|
|
2412
2412
|
"mask-image-l-from-pos": [{
|
|
2413
2413
|
"mask-l-from": R()
|
|
@@ -2416,10 +2416,10 @@ const H = (e) => {
|
|
|
2416
2416
|
"mask-l-to": R()
|
|
2417
2417
|
}],
|
|
2418
2418
|
"mask-image-l-from-color": [{
|
|
2419
|
-
"mask-l-from":
|
|
2419
|
+
"mask-l-from": k()
|
|
2420
2420
|
}],
|
|
2421
2421
|
"mask-image-l-to-color": [{
|
|
2422
|
-
"mask-l-to":
|
|
2422
|
+
"mask-l-to": k()
|
|
2423
2423
|
}],
|
|
2424
2424
|
"mask-image-x-from-pos": [{
|
|
2425
2425
|
"mask-x-from": R()
|
|
@@ -2428,10 +2428,10 @@ const H = (e) => {
|
|
|
2428
2428
|
"mask-x-to": R()
|
|
2429
2429
|
}],
|
|
2430
2430
|
"mask-image-x-from-color": [{
|
|
2431
|
-
"mask-x-from":
|
|
2431
|
+
"mask-x-from": k()
|
|
2432
2432
|
}],
|
|
2433
2433
|
"mask-image-x-to-color": [{
|
|
2434
|
-
"mask-x-to":
|
|
2434
|
+
"mask-x-to": k()
|
|
2435
2435
|
}],
|
|
2436
2436
|
"mask-image-y-from-pos": [{
|
|
2437
2437
|
"mask-y-from": R()
|
|
@@ -2440,13 +2440,13 @@ const H = (e) => {
|
|
|
2440
2440
|
"mask-y-to": R()
|
|
2441
2441
|
}],
|
|
2442
2442
|
"mask-image-y-from-color": [{
|
|
2443
|
-
"mask-y-from":
|
|
2443
|
+
"mask-y-from": k()
|
|
2444
2444
|
}],
|
|
2445
2445
|
"mask-image-y-to-color": [{
|
|
2446
|
-
"mask-y-to":
|
|
2446
|
+
"mask-y-to": k()
|
|
2447
2447
|
}],
|
|
2448
2448
|
"mask-image-radial": [{
|
|
2449
|
-
"mask-radial": [
|
|
2449
|
+
"mask-radial": [h, m]
|
|
2450
2450
|
}],
|
|
2451
2451
|
"mask-image-radial-from-pos": [{
|
|
2452
2452
|
"mask-radial-from": R()
|
|
@@ -2455,10 +2455,10 @@ const H = (e) => {
|
|
|
2455
2455
|
"mask-radial-to": R()
|
|
2456
2456
|
}],
|
|
2457
2457
|
"mask-image-radial-from-color": [{
|
|
2458
|
-
"mask-radial-from":
|
|
2458
|
+
"mask-radial-from": k()
|
|
2459
2459
|
}],
|
|
2460
2460
|
"mask-image-radial-to-color": [{
|
|
2461
|
-
"mask-radial-to":
|
|
2461
|
+
"mask-radial-to": k()
|
|
2462
2462
|
}],
|
|
2463
2463
|
"mask-image-radial-shape": [{
|
|
2464
2464
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -2482,10 +2482,10 @@ const H = (e) => {
|
|
|
2482
2482
|
"mask-conic-to": R()
|
|
2483
2483
|
}],
|
|
2484
2484
|
"mask-image-conic-from-color": [{
|
|
2485
|
-
"mask-conic-from":
|
|
2485
|
+
"mask-conic-from": k()
|
|
2486
2486
|
}],
|
|
2487
2487
|
"mask-image-conic-to-color": [{
|
|
2488
|
-
"mask-conic-to":
|
|
2488
|
+
"mask-conic-to": k()
|
|
2489
2489
|
}],
|
|
2490
2490
|
/**
|
|
2491
2491
|
* Mask Mode
|
|
@@ -2520,7 +2520,7 @@ const H = (e) => {
|
|
|
2520
2520
|
* @see https://tailwindcss.com/docs/mask-size
|
|
2521
2521
|
*/
|
|
2522
2522
|
"mask-size": [{
|
|
2523
|
-
mask:
|
|
2523
|
+
mask: W()
|
|
2524
2524
|
}],
|
|
2525
2525
|
/**
|
|
2526
2526
|
* Mask Type
|
|
@@ -2534,7 +2534,7 @@ const H = (e) => {
|
|
|
2534
2534
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2535
2535
|
*/
|
|
2536
2536
|
"mask-image": [{
|
|
2537
|
-
mask: ["none",
|
|
2537
|
+
mask: ["none", h, m]
|
|
2538
2538
|
}],
|
|
2539
2539
|
// ---------------
|
|
2540
2540
|
// --- Filters ---
|
|
@@ -2548,8 +2548,8 @@ const H = (e) => {
|
|
|
2548
2548
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2549
2549
|
"",
|
|
2550
2550
|
"none",
|
|
2551
|
-
|
|
2552
|
-
|
|
2551
|
+
h,
|
|
2552
|
+
m
|
|
2553
2553
|
]
|
|
2554
2554
|
}],
|
|
2555
2555
|
/**
|
|
@@ -2557,21 +2557,21 @@ const H = (e) => {
|
|
|
2557
2557
|
* @see https://tailwindcss.com/docs/blur
|
|
2558
2558
|
*/
|
|
2559
2559
|
blur: [{
|
|
2560
|
-
blur:
|
|
2560
|
+
blur: ur()
|
|
2561
2561
|
}],
|
|
2562
2562
|
/**
|
|
2563
2563
|
* Brightness
|
|
2564
2564
|
* @see https://tailwindcss.com/docs/brightness
|
|
2565
2565
|
*/
|
|
2566
2566
|
brightness: [{
|
|
2567
|
-
brightness: [S,
|
|
2567
|
+
brightness: [S, h, m]
|
|
2568
2568
|
}],
|
|
2569
2569
|
/**
|
|
2570
2570
|
* Contrast
|
|
2571
2571
|
* @see https://tailwindcss.com/docs/contrast
|
|
2572
2572
|
*/
|
|
2573
2573
|
contrast: [{
|
|
2574
|
-
contrast: [S,
|
|
2574
|
+
contrast: [S, h, m]
|
|
2575
2575
|
}],
|
|
2576
2576
|
/**
|
|
2577
2577
|
* Drop Shadow
|
|
@@ -2592,42 +2592,42 @@ const H = (e) => {
|
|
|
2592
2592
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2593
2593
|
*/
|
|
2594
2594
|
"drop-shadow-color": [{
|
|
2595
|
-
"drop-shadow":
|
|
2595
|
+
"drop-shadow": k()
|
|
2596
2596
|
}],
|
|
2597
2597
|
/**
|
|
2598
2598
|
* Grayscale
|
|
2599
2599
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2600
2600
|
*/
|
|
2601
2601
|
grayscale: [{
|
|
2602
|
-
grayscale: ["", S,
|
|
2602
|
+
grayscale: ["", S, h, m]
|
|
2603
2603
|
}],
|
|
2604
2604
|
/**
|
|
2605
2605
|
* Hue Rotate
|
|
2606
2606
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2607
2607
|
*/
|
|
2608
2608
|
"hue-rotate": [{
|
|
2609
|
-
"hue-rotate": [S,
|
|
2609
|
+
"hue-rotate": [S, h, m]
|
|
2610
2610
|
}],
|
|
2611
2611
|
/**
|
|
2612
2612
|
* Invert
|
|
2613
2613
|
* @see https://tailwindcss.com/docs/invert
|
|
2614
2614
|
*/
|
|
2615
2615
|
invert: [{
|
|
2616
|
-
invert: ["", S,
|
|
2616
|
+
invert: ["", S, h, m]
|
|
2617
2617
|
}],
|
|
2618
2618
|
/**
|
|
2619
2619
|
* Saturate
|
|
2620
2620
|
* @see https://tailwindcss.com/docs/saturate
|
|
2621
2621
|
*/
|
|
2622
2622
|
saturate: [{
|
|
2623
|
-
saturate: [S,
|
|
2623
|
+
saturate: [S, h, m]
|
|
2624
2624
|
}],
|
|
2625
2625
|
/**
|
|
2626
2626
|
* Sepia
|
|
2627
2627
|
* @see https://tailwindcss.com/docs/sepia
|
|
2628
2628
|
*/
|
|
2629
2629
|
sepia: [{
|
|
2630
|
-
sepia: ["", S,
|
|
2630
|
+
sepia: ["", S, h, m]
|
|
2631
2631
|
}],
|
|
2632
2632
|
/**
|
|
2633
2633
|
* Backdrop Filter
|
|
@@ -2638,8 +2638,8 @@ const H = (e) => {
|
|
|
2638
2638
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2639
2639
|
"",
|
|
2640
2640
|
"none",
|
|
2641
|
-
|
|
2642
|
-
|
|
2641
|
+
h,
|
|
2642
|
+
m
|
|
2643
2643
|
]
|
|
2644
2644
|
}],
|
|
2645
2645
|
/**
|
|
@@ -2647,63 +2647,63 @@ const H = (e) => {
|
|
|
2647
2647
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2648
2648
|
*/
|
|
2649
2649
|
"backdrop-blur": [{
|
|
2650
|
-
"backdrop-blur":
|
|
2650
|
+
"backdrop-blur": ur()
|
|
2651
2651
|
}],
|
|
2652
2652
|
/**
|
|
2653
2653
|
* Backdrop Brightness
|
|
2654
2654
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2655
2655
|
*/
|
|
2656
2656
|
"backdrop-brightness": [{
|
|
2657
|
-
"backdrop-brightness": [S,
|
|
2657
|
+
"backdrop-brightness": [S, h, m]
|
|
2658
2658
|
}],
|
|
2659
2659
|
/**
|
|
2660
2660
|
* Backdrop Contrast
|
|
2661
2661
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2662
2662
|
*/
|
|
2663
2663
|
"backdrop-contrast": [{
|
|
2664
|
-
"backdrop-contrast": [S,
|
|
2664
|
+
"backdrop-contrast": [S, h, m]
|
|
2665
2665
|
}],
|
|
2666
2666
|
/**
|
|
2667
2667
|
* Backdrop Grayscale
|
|
2668
2668
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2669
2669
|
*/
|
|
2670
2670
|
"backdrop-grayscale": [{
|
|
2671
|
-
"backdrop-grayscale": ["", S,
|
|
2671
|
+
"backdrop-grayscale": ["", S, h, m]
|
|
2672
2672
|
}],
|
|
2673
2673
|
/**
|
|
2674
2674
|
* Backdrop Hue Rotate
|
|
2675
2675
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2676
2676
|
*/
|
|
2677
2677
|
"backdrop-hue-rotate": [{
|
|
2678
|
-
"backdrop-hue-rotate": [S,
|
|
2678
|
+
"backdrop-hue-rotate": [S, h, m]
|
|
2679
2679
|
}],
|
|
2680
2680
|
/**
|
|
2681
2681
|
* Backdrop Invert
|
|
2682
2682
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2683
2683
|
*/
|
|
2684
2684
|
"backdrop-invert": [{
|
|
2685
|
-
"backdrop-invert": ["", S,
|
|
2685
|
+
"backdrop-invert": ["", S, h, m]
|
|
2686
2686
|
}],
|
|
2687
2687
|
/**
|
|
2688
2688
|
* Backdrop Opacity
|
|
2689
2689
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2690
2690
|
*/
|
|
2691
2691
|
"backdrop-opacity": [{
|
|
2692
|
-
"backdrop-opacity": [S,
|
|
2692
|
+
"backdrop-opacity": [S, h, m]
|
|
2693
2693
|
}],
|
|
2694
2694
|
/**
|
|
2695
2695
|
* Backdrop Saturate
|
|
2696
2696
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2697
2697
|
*/
|
|
2698
2698
|
"backdrop-saturate": [{
|
|
2699
|
-
"backdrop-saturate": [S,
|
|
2699
|
+
"backdrop-saturate": [S, h, m]
|
|
2700
2700
|
}],
|
|
2701
2701
|
/**
|
|
2702
2702
|
* Backdrop Sepia
|
|
2703
2703
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2704
2704
|
*/
|
|
2705
2705
|
"backdrop-sepia": [{
|
|
2706
|
-
"backdrop-sepia": ["", S,
|
|
2706
|
+
"backdrop-sepia": ["", S, h, m]
|
|
2707
2707
|
}],
|
|
2708
2708
|
// --------------
|
|
2709
2709
|
// --- Tables ---
|
|
@@ -2720,21 +2720,21 @@ const H = (e) => {
|
|
|
2720
2720
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2721
2721
|
*/
|
|
2722
2722
|
"border-spacing": [{
|
|
2723
|
-
"border-spacing":
|
|
2723
|
+
"border-spacing": v()
|
|
2724
2724
|
}],
|
|
2725
2725
|
/**
|
|
2726
2726
|
* Border Spacing X
|
|
2727
2727
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2728
2728
|
*/
|
|
2729
2729
|
"border-spacing-x": [{
|
|
2730
|
-
"border-spacing-x":
|
|
2730
|
+
"border-spacing-x": v()
|
|
2731
2731
|
}],
|
|
2732
2732
|
/**
|
|
2733
2733
|
* Border Spacing Y
|
|
2734
2734
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2735
2735
|
*/
|
|
2736
2736
|
"border-spacing-y": [{
|
|
2737
|
-
"border-spacing-y":
|
|
2737
|
+
"border-spacing-y": v()
|
|
2738
2738
|
}],
|
|
2739
2739
|
/**
|
|
2740
2740
|
* Table Layout
|
|
@@ -2758,7 +2758,7 @@ const H = (e) => {
|
|
|
2758
2758
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2759
2759
|
*/
|
|
2760
2760
|
transition: [{
|
|
2761
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
2761
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", h, m]
|
|
2762
2762
|
}],
|
|
2763
2763
|
/**
|
|
2764
2764
|
* Transition Behavior
|
|
@@ -2772,28 +2772,28 @@ const H = (e) => {
|
|
|
2772
2772
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2773
2773
|
*/
|
|
2774
2774
|
duration: [{
|
|
2775
|
-
duration: [S, "initial",
|
|
2775
|
+
duration: [S, "initial", h, m]
|
|
2776
2776
|
}],
|
|
2777
2777
|
/**
|
|
2778
2778
|
* Transition Timing Function
|
|
2779
2779
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2780
2780
|
*/
|
|
2781
2781
|
ease: [{
|
|
2782
|
-
ease: ["linear", "initial", M,
|
|
2782
|
+
ease: ["linear", "initial", M, h, m]
|
|
2783
2783
|
}],
|
|
2784
2784
|
/**
|
|
2785
2785
|
* Transition Delay
|
|
2786
2786
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2787
2787
|
*/
|
|
2788
2788
|
delay: [{
|
|
2789
|
-
delay: [S,
|
|
2789
|
+
delay: [S, h, m]
|
|
2790
2790
|
}],
|
|
2791
2791
|
/**
|
|
2792
2792
|
* Animation
|
|
2793
2793
|
* @see https://tailwindcss.com/docs/animation
|
|
2794
2794
|
*/
|
|
2795
2795
|
animate: [{
|
|
2796
|
-
animate: ["none", O,
|
|
2796
|
+
animate: ["none", O, h, m]
|
|
2797
2797
|
}],
|
|
2798
2798
|
// ------------------
|
|
2799
2799
|
// --- Transforms ---
|
|
@@ -2810,7 +2810,7 @@ const H = (e) => {
|
|
|
2810
2810
|
* @see https://tailwindcss.com/docs/perspective
|
|
2811
2811
|
*/
|
|
2812
2812
|
perspective: [{
|
|
2813
|
-
perspective: [
|
|
2813
|
+
perspective: [w, h, m]
|
|
2814
2814
|
}],
|
|
2815
2815
|
/**
|
|
2816
2816
|
* Perspective Origin
|
|
@@ -2885,28 +2885,28 @@ const H = (e) => {
|
|
|
2885
2885
|
* @see https://tailwindcss.com/docs/skew
|
|
2886
2886
|
*/
|
|
2887
2887
|
skew: [{
|
|
2888
|
-
skew:
|
|
2888
|
+
skew: He()
|
|
2889
2889
|
}],
|
|
2890
2890
|
/**
|
|
2891
2891
|
* Skew X
|
|
2892
2892
|
* @see https://tailwindcss.com/docs/skew
|
|
2893
2893
|
*/
|
|
2894
2894
|
"skew-x": [{
|
|
2895
|
-
"skew-x":
|
|
2895
|
+
"skew-x": He()
|
|
2896
2896
|
}],
|
|
2897
2897
|
/**
|
|
2898
2898
|
* Skew Y
|
|
2899
2899
|
* @see https://tailwindcss.com/docs/skew
|
|
2900
2900
|
*/
|
|
2901
2901
|
"skew-y": [{
|
|
2902
|
-
"skew-y":
|
|
2902
|
+
"skew-y": He()
|
|
2903
2903
|
}],
|
|
2904
2904
|
/**
|
|
2905
2905
|
* Transform
|
|
2906
2906
|
* @see https://tailwindcss.com/docs/transform
|
|
2907
2907
|
*/
|
|
2908
2908
|
transform: [{
|
|
2909
|
-
transform: [
|
|
2909
|
+
transform: [h, m, "", "none", "gpu", "cpu"]
|
|
2910
2910
|
}],
|
|
2911
2911
|
/**
|
|
2912
2912
|
* Transform Origin
|
|
@@ -2963,7 +2963,7 @@ const H = (e) => {
|
|
|
2963
2963
|
* @see https://tailwindcss.com/docs/accent-color
|
|
2964
2964
|
*/
|
|
2965
2965
|
accent: [{
|
|
2966
|
-
accent:
|
|
2966
|
+
accent: k()
|
|
2967
2967
|
}],
|
|
2968
2968
|
/**
|
|
2969
2969
|
* Appearance
|
|
@@ -2977,7 +2977,7 @@ const H = (e) => {
|
|
|
2977
2977
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2978
2978
|
*/
|
|
2979
2979
|
"caret-color": [{
|
|
2980
|
-
caret:
|
|
2980
|
+
caret: k()
|
|
2981
2981
|
}],
|
|
2982
2982
|
/**
|
|
2983
2983
|
* Color Scheme
|
|
@@ -2991,7 +2991,7 @@ const H = (e) => {
|
|
|
2991
2991
|
* @see https://tailwindcss.com/docs/cursor
|
|
2992
2992
|
*/
|
|
2993
2993
|
cursor: [{
|
|
2994
|
-
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",
|
|
2994
|
+
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", h, m]
|
|
2995
2995
|
}],
|
|
2996
2996
|
/**
|
|
2997
2997
|
* Field Sizing
|
|
@@ -3026,126 +3026,126 @@ const H = (e) => {
|
|
|
3026
3026
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3027
3027
|
*/
|
|
3028
3028
|
"scroll-m": [{
|
|
3029
|
-
"scroll-m":
|
|
3029
|
+
"scroll-m": v()
|
|
3030
3030
|
}],
|
|
3031
3031
|
/**
|
|
3032
3032
|
* Scroll Margin X
|
|
3033
3033
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3034
3034
|
*/
|
|
3035
3035
|
"scroll-mx": [{
|
|
3036
|
-
"scroll-mx":
|
|
3036
|
+
"scroll-mx": v()
|
|
3037
3037
|
}],
|
|
3038
3038
|
/**
|
|
3039
3039
|
* Scroll Margin Y
|
|
3040
3040
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3041
3041
|
*/
|
|
3042
3042
|
"scroll-my": [{
|
|
3043
|
-
"scroll-my":
|
|
3043
|
+
"scroll-my": v()
|
|
3044
3044
|
}],
|
|
3045
3045
|
/**
|
|
3046
3046
|
* Scroll Margin Start
|
|
3047
3047
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3048
3048
|
*/
|
|
3049
3049
|
"scroll-ms": [{
|
|
3050
|
-
"scroll-ms":
|
|
3050
|
+
"scroll-ms": v()
|
|
3051
3051
|
}],
|
|
3052
3052
|
/**
|
|
3053
3053
|
* Scroll Margin End
|
|
3054
3054
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3055
3055
|
*/
|
|
3056
3056
|
"scroll-me": [{
|
|
3057
|
-
"scroll-me":
|
|
3057
|
+
"scroll-me": v()
|
|
3058
3058
|
}],
|
|
3059
3059
|
/**
|
|
3060
3060
|
* Scroll Margin Top
|
|
3061
3061
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3062
3062
|
*/
|
|
3063
3063
|
"scroll-mt": [{
|
|
3064
|
-
"scroll-mt":
|
|
3064
|
+
"scroll-mt": v()
|
|
3065
3065
|
}],
|
|
3066
3066
|
/**
|
|
3067
3067
|
* Scroll Margin Right
|
|
3068
3068
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3069
3069
|
*/
|
|
3070
3070
|
"scroll-mr": [{
|
|
3071
|
-
"scroll-mr":
|
|
3071
|
+
"scroll-mr": v()
|
|
3072
3072
|
}],
|
|
3073
3073
|
/**
|
|
3074
3074
|
* Scroll Margin Bottom
|
|
3075
3075
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3076
3076
|
*/
|
|
3077
3077
|
"scroll-mb": [{
|
|
3078
|
-
"scroll-mb":
|
|
3078
|
+
"scroll-mb": v()
|
|
3079
3079
|
}],
|
|
3080
3080
|
/**
|
|
3081
3081
|
* Scroll Margin Left
|
|
3082
3082
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3083
3083
|
*/
|
|
3084
3084
|
"scroll-ml": [{
|
|
3085
|
-
"scroll-ml":
|
|
3085
|
+
"scroll-ml": v()
|
|
3086
3086
|
}],
|
|
3087
3087
|
/**
|
|
3088
3088
|
* Scroll Padding
|
|
3089
3089
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3090
3090
|
*/
|
|
3091
3091
|
"scroll-p": [{
|
|
3092
|
-
"scroll-p":
|
|
3092
|
+
"scroll-p": v()
|
|
3093
3093
|
}],
|
|
3094
3094
|
/**
|
|
3095
3095
|
* Scroll Padding X
|
|
3096
3096
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3097
3097
|
*/
|
|
3098
3098
|
"scroll-px": [{
|
|
3099
|
-
"scroll-px":
|
|
3099
|
+
"scroll-px": v()
|
|
3100
3100
|
}],
|
|
3101
3101
|
/**
|
|
3102
3102
|
* Scroll Padding Y
|
|
3103
3103
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3104
3104
|
*/
|
|
3105
3105
|
"scroll-py": [{
|
|
3106
|
-
"scroll-py":
|
|
3106
|
+
"scroll-py": v()
|
|
3107
3107
|
}],
|
|
3108
3108
|
/**
|
|
3109
3109
|
* Scroll Padding Start
|
|
3110
3110
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3111
3111
|
*/
|
|
3112
3112
|
"scroll-ps": [{
|
|
3113
|
-
"scroll-ps":
|
|
3113
|
+
"scroll-ps": v()
|
|
3114
3114
|
}],
|
|
3115
3115
|
/**
|
|
3116
3116
|
* Scroll Padding End
|
|
3117
3117
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3118
3118
|
*/
|
|
3119
3119
|
"scroll-pe": [{
|
|
3120
|
-
"scroll-pe":
|
|
3120
|
+
"scroll-pe": v()
|
|
3121
3121
|
}],
|
|
3122
3122
|
/**
|
|
3123
3123
|
* Scroll Padding Top
|
|
3124
3124
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3125
3125
|
*/
|
|
3126
3126
|
"scroll-pt": [{
|
|
3127
|
-
"scroll-pt":
|
|
3127
|
+
"scroll-pt": v()
|
|
3128
3128
|
}],
|
|
3129
3129
|
/**
|
|
3130
3130
|
* Scroll Padding Right
|
|
3131
3131
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3132
3132
|
*/
|
|
3133
3133
|
"scroll-pr": [{
|
|
3134
|
-
"scroll-pr":
|
|
3134
|
+
"scroll-pr": v()
|
|
3135
3135
|
}],
|
|
3136
3136
|
/**
|
|
3137
3137
|
* Scroll Padding Bottom
|
|
3138
3138
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3139
3139
|
*/
|
|
3140
3140
|
"scroll-pb": [{
|
|
3141
|
-
"scroll-pb":
|
|
3141
|
+
"scroll-pb": v()
|
|
3142
3142
|
}],
|
|
3143
3143
|
/**
|
|
3144
3144
|
* Scroll Padding Left
|
|
3145
3145
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3146
3146
|
*/
|
|
3147
3147
|
"scroll-pl": [{
|
|
3148
|
-
"scroll-pl":
|
|
3148
|
+
"scroll-pl": v()
|
|
3149
3149
|
}],
|
|
3150
3150
|
/**
|
|
3151
3151
|
* Scroll Snap Align
|
|
@@ -3213,7 +3213,7 @@ const H = (e) => {
|
|
|
3213
3213
|
* @see https://tailwindcss.com/docs/will-change
|
|
3214
3214
|
*/
|
|
3215
3215
|
"will-change": [{
|
|
3216
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
3216
|
+
"will-change": ["auto", "scroll", "contents", "transform", h, m]
|
|
3217
3217
|
}],
|
|
3218
3218
|
// -----------
|
|
3219
3219
|
// --- SVG ---
|
|
@@ -3223,21 +3223,21 @@ const H = (e) => {
|
|
|
3223
3223
|
* @see https://tailwindcss.com/docs/fill
|
|
3224
3224
|
*/
|
|
3225
3225
|
fill: [{
|
|
3226
|
-
fill: ["none", ...
|
|
3226
|
+
fill: ["none", ...k()]
|
|
3227
3227
|
}],
|
|
3228
3228
|
/**
|
|
3229
3229
|
* Stroke Width
|
|
3230
3230
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3231
3231
|
*/
|
|
3232
3232
|
"stroke-w": [{
|
|
3233
|
-
stroke: [S, Ie,
|
|
3233
|
+
stroke: [S, Ie, fe, We]
|
|
3234
3234
|
}],
|
|
3235
3235
|
/**
|
|
3236
3236
|
* Stroke
|
|
3237
3237
|
* @see https://tailwindcss.com/docs/stroke
|
|
3238
3238
|
*/
|
|
3239
3239
|
stroke: [{
|
|
3240
|
-
stroke: ["none", ...
|
|
3240
|
+
stroke: ["none", ...k()]
|
|
3241
3241
|
}],
|
|
3242
3242
|
// ---------------------
|
|
3243
3243
|
// --- Accessibility ---
|
|
@@ -3306,7 +3306,7 @@ const H = (e) => {
|
|
|
3306
3306
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3307
3307
|
};
|
|
3308
3308
|
}, Ln = /* @__PURE__ */ hn(An);
|
|
3309
|
-
function
|
|
3309
|
+
function Z(...e) {
|
|
3310
3310
|
return Ln(f(e));
|
|
3311
3311
|
}
|
|
3312
3312
|
const Se = ({
|
|
@@ -3316,31 +3316,31 @@ const Se = ({
|
|
|
3316
3316
|
hideTooltip: n,
|
|
3317
3317
|
...o
|
|
3318
3318
|
}) => {
|
|
3319
|
-
const a = we(null), [i, c] = F(!1), [l, d] = F(""), u = we(null),
|
|
3320
|
-
const
|
|
3321
|
-
if (!
|
|
3322
|
-
d(
|
|
3323
|
-
const D =
|
|
3319
|
+
const a = we(null), [i, c] = F(!1), [l, d] = F(""), u = we(null), g = () => {
|
|
3320
|
+
const w = a.current;
|
|
3321
|
+
if (!w) return;
|
|
3322
|
+
d(w.textContent ?? "");
|
|
3323
|
+
const D = w.clientWidth, M = w.scrollWidth, O = Math.ceil(w.getBoundingClientRect().width);
|
|
3324
3324
|
c(M > D || M > O);
|
|
3325
|
-
}, y =
|
|
3326
|
-
u.current && cancelAnimationFrame(u.current), u.current = requestAnimationFrame(
|
|
3325
|
+
}, y = H(() => {
|
|
3326
|
+
u.current && cancelAnimationFrame(u.current), u.current = requestAnimationFrame(g);
|
|
3327
3327
|
}, []);
|
|
3328
|
-
|
|
3328
|
+
ne(() => {
|
|
3329
3329
|
y();
|
|
3330
|
-
const
|
|
3331
|
-
window.addEventListener("resize",
|
|
3330
|
+
const w = () => y();
|
|
3331
|
+
window.addEventListener("resize", w);
|
|
3332
3332
|
let D = null;
|
|
3333
3333
|
return "ResizeObserver" in window && a.current && (D = new ResizeObserver(() => y()), D.observe(a.current)), () => {
|
|
3334
|
-
window.removeEventListener("resize",
|
|
3334
|
+
window.removeEventListener("resize", w), D && D.disconnect(), u.current && cancelAnimationFrame(u.current);
|
|
3335
3335
|
};
|
|
3336
3336
|
}, [e, y]);
|
|
3337
3337
|
const b = V(
|
|
3338
3338
|
() => typeof e == "string" ? e : l,
|
|
3339
3339
|
[l, e]
|
|
3340
|
-
),
|
|
3341
|
-
return /* @__PURE__ */ x(
|
|
3340
|
+
), C = V(() => n ? "" : i ? b : "", [b, n, i]);
|
|
3341
|
+
return /* @__PURE__ */ x(Gr, { ...o, children: [
|
|
3342
3342
|
/* @__PURE__ */ s(
|
|
3343
|
-
|
|
3343
|
+
$r,
|
|
3344
3344
|
{
|
|
3345
3345
|
asChild: !0,
|
|
3346
3346
|
ref: a,
|
|
@@ -3349,7 +3349,7 @@ const Se = ({
|
|
|
3349
3349
|
children: /* @__PURE__ */ s(
|
|
3350
3350
|
"span",
|
|
3351
3351
|
{
|
|
3352
|
-
className:
|
|
3352
|
+
className: Z(
|
|
3353
3353
|
"block truncate min-w-0 max-w-full",
|
|
3354
3354
|
r
|
|
3355
3355
|
),
|
|
@@ -3362,14 +3362,14 @@ const Se = ({
|
|
|
3362
3362
|
}
|
|
3363
3363
|
),
|
|
3364
3364
|
/* @__PURE__ */ s(
|
|
3365
|
-
|
|
3365
|
+
_r,
|
|
3366
3366
|
{
|
|
3367
|
-
className:
|
|
3367
|
+
className: Z(
|
|
3368
3368
|
rn,
|
|
3369
3369
|
t,
|
|
3370
|
-
!
|
|
3370
|
+
!C && "hidden"
|
|
3371
3371
|
),
|
|
3372
|
-
children:
|
|
3372
|
+
children: C
|
|
3373
3373
|
}
|
|
3374
3374
|
)
|
|
3375
3375
|
] });
|
|
@@ -3381,27 +3381,27 @@ const Se = ({
|
|
|
3381
3381
|
iconBefore: o,
|
|
3382
3382
|
bordered: a = !0
|
|
3383
3383
|
}) => {
|
|
3384
|
-
const i = en[n], c =
|
|
3384
|
+
const i = en[n], c = Z(
|
|
3385
3385
|
"flex items-center gap-1 dial-tiny rounded p-1 h-[22px] text-primary",
|
|
3386
3386
|
i,
|
|
3387
3387
|
a ? "border" : "border-transparent",
|
|
3388
3388
|
r
|
|
3389
3389
|
);
|
|
3390
3390
|
return /* @__PURE__ */ x("div", { className: c, children: [
|
|
3391
|
-
/* @__PURE__ */ s(
|
|
3391
|
+
/* @__PURE__ */ s(G, { icon: o }),
|
|
3392
3392
|
/* @__PURE__ */ s(Se, { text: e }),
|
|
3393
3393
|
t && /* @__PURE__ */ s(
|
|
3394
|
-
|
|
3394
|
+
te,
|
|
3395
3395
|
{
|
|
3396
3396
|
iconAfter: /* @__PURE__ */ s(Te, { size: 16 }),
|
|
3397
3397
|
onClick: (l) => t(l)
|
|
3398
3398
|
}
|
|
3399
3399
|
)
|
|
3400
3400
|
] }, e);
|
|
3401
|
-
}, Fn =
|
|
3401
|
+
}, Fn = Or({
|
|
3402
3402
|
dragDropManager: void 0
|
|
3403
3403
|
});
|
|
3404
|
-
function
|
|
3404
|
+
function ue(e, r, ...t) {
|
|
3405
3405
|
if (Vn() && r === void 0)
|
|
3406
3406
|
throw new Error("invariant requires an error message argument");
|
|
3407
3407
|
if (!e) {
|
|
@@ -3420,12 +3420,12 @@ function de(e, r, ...t) {
|
|
|
3420
3420
|
function Vn() {
|
|
3421
3421
|
return typeof process < "u" && process.env.NODE_ENV === "production";
|
|
3422
3422
|
}
|
|
3423
|
-
function
|
|
3423
|
+
function jn(e) {
|
|
3424
3424
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
3425
3425
|
}
|
|
3426
|
-
var Ge,
|
|
3427
|
-
function
|
|
3428
|
-
return
|
|
3426
|
+
var Ge, br;
|
|
3427
|
+
function Hn() {
|
|
3428
|
+
return br || (br = 1, Ge = function e(r, t) {
|
|
3429
3429
|
if (r === t) return !0;
|
|
3430
3430
|
if (r && t && typeof r == "object" && typeof t == "object") {
|
|
3431
3431
|
if (r.constructor !== t.constructor) return !1;
|
|
@@ -3451,12 +3451,12 @@ function jn() {
|
|
|
3451
3451
|
return r !== r && t !== t;
|
|
3452
3452
|
}), Ge;
|
|
3453
3453
|
}
|
|
3454
|
-
var Bn =
|
|
3455
|
-
const Wn = /* @__PURE__ */
|
|
3454
|
+
var Bn = Hn();
|
|
3455
|
+
const Wn = /* @__PURE__ */ jn(Bn), ge = typeof window < "u" ? kt : ne;
|
|
3456
3456
|
function Gn(e, r, t) {
|
|
3457
3457
|
const [n, o] = F(
|
|
3458
3458
|
() => r(e)
|
|
3459
|
-
), a =
|
|
3459
|
+
), a = H(() => {
|
|
3460
3460
|
const i = r(e);
|
|
3461
3461
|
Wn(n, i) || (o(i), t && t());
|
|
3462
3462
|
}, [
|
|
@@ -3484,14 +3484,14 @@ function _n(e, r, t) {
|
|
|
3484
3484
|
o
|
|
3485
3485
|
]), n;
|
|
3486
3486
|
}
|
|
3487
|
-
function
|
|
3487
|
+
function tt(e, r, t) {
|
|
3488
3488
|
return _n(
|
|
3489
3489
|
r,
|
|
3490
3490
|
e || (() => ({})),
|
|
3491
3491
|
() => t.reconnect()
|
|
3492
3492
|
);
|
|
3493
3493
|
}
|
|
3494
|
-
function
|
|
3494
|
+
function nt(e, r) {
|
|
3495
3495
|
const t = [
|
|
3496
3496
|
...r || []
|
|
3497
3497
|
];
|
|
@@ -3522,7 +3522,7 @@ class qn {
|
|
|
3522
3522
|
return this.sourceId;
|
|
3523
3523
|
}
|
|
3524
3524
|
canDrag() {
|
|
3525
|
-
|
|
3525
|
+
ue(!_e, "You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");
|
|
3526
3526
|
try {
|
|
3527
3527
|
return _e = !0, this.internalMonitor.canDragSource(this.sourceId);
|
|
3528
3528
|
} finally {
|
|
@@ -3532,7 +3532,7 @@ class qn {
|
|
|
3532
3532
|
isDragging() {
|
|
3533
3533
|
if (!this.sourceId)
|
|
3534
3534
|
return !1;
|
|
3535
|
-
|
|
3535
|
+
ue(!$e, "You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");
|
|
3536
3536
|
try {
|
|
3537
3537
|
return $e = !0, this.internalMonitor.isDraggingSource(this.sourceId);
|
|
3538
3538
|
} finally {
|
|
@@ -3611,7 +3611,7 @@ class Kn {
|
|
|
3611
3611
|
canDrop() {
|
|
3612
3612
|
if (!this.targetId)
|
|
3613
3613
|
return !1;
|
|
3614
|
-
|
|
3614
|
+
ue(!Ue, "You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");
|
|
3615
3615
|
try {
|
|
3616
3616
|
return Ue = !0, this.internalMonitor.canDropOnTarget(this.targetId);
|
|
3617
3617
|
} finally {
|
|
@@ -3682,8 +3682,8 @@ function Qe(e, r, t, n) {
|
|
|
3682
3682
|
const d = a[l];
|
|
3683
3683
|
if (!c(d))
|
|
3684
3684
|
return !1;
|
|
3685
|
-
const u = e[d],
|
|
3686
|
-
if (o = void 0, o === !1 || o === void 0 && u !==
|
|
3685
|
+
const u = e[d], g = r[d];
|
|
3686
|
+
if (o = void 0, o === !1 || o === void 0 && u !== g)
|
|
3687
3687
|
return !1;
|
|
3688
3688
|
}
|
|
3689
3689
|
return !0;
|
|
@@ -3710,7 +3710,7 @@ function Qn(e) {
|
|
|
3710
3710
|
return Xn(n), Jn(n, t ? (a) => e(a, t) : e);
|
|
3711
3711
|
};
|
|
3712
3712
|
}
|
|
3713
|
-
function
|
|
3713
|
+
function ot(e) {
|
|
3714
3714
|
const r = {};
|
|
3715
3715
|
return Object.keys(e).forEach((t) => {
|
|
3716
3716
|
const n = e[t];
|
|
@@ -3722,14 +3722,14 @@ function tt(e) {
|
|
|
3722
3722
|
}
|
|
3723
3723
|
}), r;
|
|
3724
3724
|
}
|
|
3725
|
-
function
|
|
3725
|
+
function xr(e, r) {
|
|
3726
3726
|
typeof e == "function" ? e(r) : e.current = r;
|
|
3727
3727
|
}
|
|
3728
3728
|
function Jn(e, r) {
|
|
3729
3729
|
const t = e.ref;
|
|
3730
|
-
return
|
|
3730
|
+
return ue(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 ? Ae(e, {
|
|
3731
3731
|
ref: (n) => {
|
|
3732
|
-
|
|
3732
|
+
xr(t, n), xr(r, n);
|
|
3733
3733
|
}
|
|
3734
3734
|
}) : Ae(e, {
|
|
3735
3735
|
ref: r
|
|
@@ -3806,7 +3806,7 @@ class eo {
|
|
|
3806
3806
|
this.dragPreviewNode = null, this.dragPreviewRef = null;
|
|
3807
3807
|
}
|
|
3808
3808
|
constructor(r) {
|
|
3809
|
-
this.hooks =
|
|
3809
|
+
this.hooks = ot({
|
|
3810
3810
|
dragSource: (t, n) => {
|
|
3811
3811
|
this.clearDragSource(), this.dragSourceOptions = n || null, Je(t) ? this.dragSourceRef = t : this.dragSourceNode = t, this.reconnectDragSource();
|
|
3812
3812
|
},
|
|
@@ -3860,7 +3860,7 @@ class ro {
|
|
|
3860
3860
|
this.dropTargetRef = null, this.dropTargetNode = null;
|
|
3861
3861
|
}
|
|
3862
3862
|
constructor(r) {
|
|
3863
|
-
this.hooks =
|
|
3863
|
+
this.hooks = ot({
|
|
3864
3864
|
dropTarget: (t, n) => {
|
|
3865
3865
|
this.clearDropTarget(), this.dropTargetOptions = n, Je(t) ? this.dropTargetRef = t : this.dropTargetNode = t, this.reconnect();
|
|
3866
3866
|
}
|
|
@@ -3868,8 +3868,8 @@ class ro {
|
|
|
3868
3868
|
}
|
|
3869
3869
|
}
|
|
3870
3870
|
function De() {
|
|
3871
|
-
const { dragDropManager: e } =
|
|
3872
|
-
return
|
|
3871
|
+
const { dragDropManager: e } = Mr(Fn);
|
|
3872
|
+
return ue(e != null, "Expected drag drop context"), e;
|
|
3873
3873
|
}
|
|
3874
3874
|
function to(e, r) {
|
|
3875
3875
|
const t = De(), n = V(
|
|
@@ -3925,7 +3925,7 @@ function so(e, r, t) {
|
|
|
3925
3925
|
t
|
|
3926
3926
|
]
|
|
3927
3927
|
);
|
|
3928
|
-
return
|
|
3928
|
+
return ne(() => {
|
|
3929
3929
|
n.spec = e;
|
|
3930
3930
|
}, [
|
|
3931
3931
|
e
|
|
@@ -3934,7 +3934,7 @@ function so(e, r, t) {
|
|
|
3934
3934
|
function ao(e) {
|
|
3935
3935
|
return V(() => {
|
|
3936
3936
|
const r = e.type;
|
|
3937
|
-
return
|
|
3937
|
+
return ue(r != null, "spec.type must be defined"), r;
|
|
3938
3938
|
}, [
|
|
3939
3939
|
e
|
|
3940
3940
|
]);
|
|
@@ -3955,11 +3955,11 @@ function io(e, r, t) {
|
|
|
3955
3955
|
]);
|
|
3956
3956
|
}
|
|
3957
3957
|
function lo(e, r) {
|
|
3958
|
-
const t =
|
|
3959
|
-
|
|
3958
|
+
const t = nt(e, r);
|
|
3959
|
+
ue(!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)");
|
|
3960
3960
|
const n = no(), o = to(t.options, t.previewOptions);
|
|
3961
3961
|
return io(t, n, o), [
|
|
3962
|
-
|
|
3962
|
+
tt(t.collect, n, o),
|
|
3963
3963
|
$n(o),
|
|
3964
3964
|
Un(o)
|
|
3965
3965
|
];
|
|
@@ -3994,7 +3994,7 @@ function po() {
|
|
|
3994
3994
|
}
|
|
3995
3995
|
function fo(e) {
|
|
3996
3996
|
const { accept: r } = e;
|
|
3997
|
-
return V(() => (
|
|
3997
|
+
return V(() => (ue(e.accept != null, "accept must be defined"), Array.isArray(r) ? r : [
|
|
3998
3998
|
r
|
|
3999
3999
|
]), [
|
|
4000
4000
|
r
|
|
@@ -4025,7 +4025,7 @@ function mo(e, r) {
|
|
|
4025
4025
|
r
|
|
4026
4026
|
]
|
|
4027
4027
|
);
|
|
4028
|
-
return
|
|
4028
|
+
return ne(() => {
|
|
4029
4029
|
t.spec = e;
|
|
4030
4030
|
}, [
|
|
4031
4031
|
e
|
|
@@ -4047,13 +4047,13 @@ function ho(e, r, t) {
|
|
|
4047
4047
|
]);
|
|
4048
4048
|
}
|
|
4049
4049
|
function bo(e, r) {
|
|
4050
|
-
const t =
|
|
4050
|
+
const t = nt(e, r), n = po(), o = uo(t.options);
|
|
4051
4051
|
return ho(t, n, o), [
|
|
4052
|
-
|
|
4052
|
+
tt(t.collect, n, o),
|
|
4053
4053
|
co(o)
|
|
4054
4054
|
];
|
|
4055
4055
|
}
|
|
4056
|
-
const
|
|
4056
|
+
const yr = "column", xo = "flex items-center", yo = "mr-3 cursor-move text-secondary", xs = ({
|
|
4057
4057
|
id: e,
|
|
4058
4058
|
children: r,
|
|
4059
4059
|
cssClass: t,
|
|
@@ -4061,39 +4061,39 @@ const xr = "column", xo = "flex items-center", yo = "mr-3 cursor-move text-secon
|
|
|
4061
4061
|
moveItem: o,
|
|
4062
4062
|
handleAriaLabel: a = "Drag item"
|
|
4063
4063
|
}) => {
|
|
4064
|
-
const i = we(null), c = we(null), l = typeof n == "function" ? n(e) : -1, [{ isDragging: d }, u,
|
|
4064
|
+
const i = we(null), c = we(null), l = typeof n == "function" ? n(e) : -1, [{ isDragging: d }, u, g] = lo(
|
|
4065
4065
|
() => ({
|
|
4066
|
-
type:
|
|
4066
|
+
type: yr,
|
|
4067
4067
|
item: { id: e, originalIndex: l },
|
|
4068
4068
|
collect: (b) => {
|
|
4069
|
-
const
|
|
4069
|
+
const C = b.getItem();
|
|
4070
4070
|
return {
|
|
4071
|
-
isDragging: b.isDragging() &&
|
|
4071
|
+
isDragging: b.isDragging() && C?.id === e
|
|
4072
4072
|
};
|
|
4073
4073
|
},
|
|
4074
|
-
end: (b,
|
|
4074
|
+
end: (b, C) => {
|
|
4075
4075
|
if (!b) return;
|
|
4076
|
-
!
|
|
4076
|
+
!C.didDrop() && typeof o == "function" && b.originalIndex > -1 && o(b.id, b.originalIndex);
|
|
4077
4077
|
}
|
|
4078
4078
|
}),
|
|
4079
4079
|
[e, l, o]
|
|
4080
4080
|
), [, y] = bo(
|
|
4081
4081
|
() => ({
|
|
4082
|
-
accept:
|
|
4082
|
+
accept: yr,
|
|
4083
4083
|
hover: (b) => {
|
|
4084
4084
|
if (!(!b || b.id === e) && typeof n == "function" && typeof o == "function") {
|
|
4085
|
-
const
|
|
4086
|
-
o(b.id,
|
|
4085
|
+
const C = n(e);
|
|
4086
|
+
o(b.id, C);
|
|
4087
4087
|
}
|
|
4088
4088
|
}
|
|
4089
4089
|
}),
|
|
4090
4090
|
[n, o, e]
|
|
4091
4091
|
);
|
|
4092
|
-
return
|
|
4092
|
+
return g(y(c)), u(i), /* @__PURE__ */ x(
|
|
4093
4093
|
"div",
|
|
4094
4094
|
{
|
|
4095
4095
|
ref: c,
|
|
4096
|
-
className:
|
|
4096
|
+
className: Z(xo, t),
|
|
4097
4097
|
style: { opacity: d ? 0 : 1 },
|
|
4098
4098
|
"aria-roledescription": "Draggable item",
|
|
4099
4099
|
children: [
|
|
@@ -4103,7 +4103,7 @@ const xr = "column", xo = "flex items-center", yo = "mr-3 cursor-move text-secon
|
|
|
4103
4103
|
ref: i,
|
|
4104
4104
|
className: yo,
|
|
4105
4105
|
"aria-label": a,
|
|
4106
|
-
children: /* @__PURE__ */ s(
|
|
4106
|
+
children: /* @__PURE__ */ s(xt, { ...de })
|
|
4107
4107
|
}
|
|
4108
4108
|
),
|
|
4109
4109
|
r
|
|
@@ -4112,14 +4112,14 @@ const xr = "column", xo = "flex items-center", yo = "mr-3 cursor-move text-secon
|
|
|
4112
4112
|
);
|
|
4113
4113
|
};
|
|
4114
4114
|
var er = /* @__PURE__ */ ((e) => (e.Horizontal = "horizontal", e.Vertical = "vertical", e))(er || {});
|
|
4115
|
-
const
|
|
4116
|
-
const [e, r] = F(
|
|
4117
|
-
return
|
|
4118
|
-
const t = () => r(
|
|
4115
|
+
const wr = () => typeof window < "u" && window.innerWidth < 1024, wo = () => {
|
|
4116
|
+
const [e, r] = F(wr());
|
|
4117
|
+
return ne(() => {
|
|
4118
|
+
const t = () => r(wr());
|
|
4119
4119
|
return window.addEventListener("resize", t), () => window.removeEventListener("resize", t);
|
|
4120
4120
|
}, []), e;
|
|
4121
4121
|
};
|
|
4122
|
-
var vo = /* @__PURE__ */ ((e) => (e.Dropdown = "dropdown", e.Menu = "menu", e))(vo || {}), ye = /* @__PURE__ */ ((e) => (e.Click = "click", e.Hover = "hover", e.ContextMenu = "contextMenu", e))(ye || {}),
|
|
4122
|
+
var vo = /* @__PURE__ */ ((e) => (e.Dropdown = "dropdown", e.Menu = "menu", e))(vo || {}), ye = /* @__PURE__ */ ((e) => (e.Click = "click", e.Hover = "hover", e.ContextMenu = "contextMenu", e))(ye || {}), st = /* @__PURE__ */ ((e) => (e.Item = "item", e.Divider = "divider", e))(st || {});
|
|
4123
4123
|
const Co = f(
|
|
4124
4124
|
"flex items-center gap-2 align-middle",
|
|
4125
4125
|
"h-auto px-0 bg-transparent border-0"
|
|
@@ -4131,20 +4131,20 @@ const Co = f(
|
|
|
4131
4131
|
"focus-visible:border-none focus-visible:outline-none",
|
|
4132
4132
|
"hover:bg-accent-primary-alpha px-3",
|
|
4133
4133
|
"dial-small h-[34px] rounded text-primary"
|
|
4134
|
-
), Io = "opacity-75 !cursor-not-allowed", No = "text-error", So = "my-1 border-t border-hover", Ne = 8,
|
|
4134
|
+
), Io = "opacity-75 !cursor-not-allowed", No = "text-error", So = "my-1 border-t border-hover", Ne = 8, at = ({
|
|
4135
4135
|
ariaLabel: e,
|
|
4136
4136
|
cssClass: r,
|
|
4137
4137
|
size: t = 24,
|
|
4138
4138
|
onClose: n
|
|
4139
4139
|
}) => /* @__PURE__ */ s(
|
|
4140
|
-
|
|
4140
|
+
te,
|
|
4141
4141
|
{
|
|
4142
4142
|
ariaLabel: e,
|
|
4143
|
-
cssClass:
|
|
4143
|
+
cssClass: Z("text-secondary hover:text-accent-primary", r),
|
|
4144
4144
|
onClick: n,
|
|
4145
4145
|
iconBefore: /* @__PURE__ */ s(Te, { size: t })
|
|
4146
4146
|
}
|
|
4147
|
-
),
|
|
4147
|
+
), it = ({
|
|
4148
4148
|
children: e,
|
|
4149
4149
|
menu: r,
|
|
4150
4150
|
renderOverlay: t,
|
|
@@ -4156,76 +4156,76 @@ const Co = f(
|
|
|
4156
4156
|
onOpenChange: l,
|
|
4157
4157
|
closable: d = !1,
|
|
4158
4158
|
onClose: u,
|
|
4159
|
-
cssClass:
|
|
4159
|
+
cssClass: g,
|
|
4160
4160
|
listClassName: y,
|
|
4161
4161
|
outsidePressIgnoreRef: b,
|
|
4162
|
-
outsideClosable:
|
|
4163
|
-
allowedPlacements:
|
|
4162
|
+
outsideClosable: C = !0,
|
|
4163
|
+
allowedPlacements: w
|
|
4164
4164
|
}) => {
|
|
4165
|
-
const [D, M] = F(c), O = i !== void 0, N = O ? !!i : D, T =
|
|
4165
|
+
const [D, M] = F(c), O = i !== void 0, N = O ? !!i : D, T = H(
|
|
4166
4166
|
(I) => {
|
|
4167
4167
|
O || M(I), l?.(I);
|
|
4168
4168
|
},
|
|
4169
4169
|
[O, l]
|
|
4170
|
-
), E =
|
|
4170
|
+
), E = Rr(), _ = (I) => I ? "clientWidth" in I ? I.clientWidth : I.getBoundingClientRect?.()?.width ?? 0 : 0, $ = o === void 0, { refs: v, floatingStyles: P, context: L } = tr({
|
|
4171
4171
|
placement: o,
|
|
4172
4172
|
open: N,
|
|
4173
4173
|
onOpenChange: T,
|
|
4174
|
-
whileElementsMounted:
|
|
4174
|
+
whileElementsMounted: Lr,
|
|
4175
4175
|
middleware: [
|
|
4176
|
-
|
|
4177
|
-
$ ?
|
|
4176
|
+
zr({ mainAxis: Ne, crossAxis: 0 }),
|
|
4177
|
+
$ ? Tt({
|
|
4178
4178
|
alignment: "start",
|
|
4179
4179
|
crossAxis: !0,
|
|
4180
4180
|
padding: Ne,
|
|
4181
|
-
allowedPlacements:
|
|
4182
|
-
}) :
|
|
4183
|
-
|
|
4184
|
-
|
|
4181
|
+
allowedPlacements: w
|
|
4182
|
+
}) : Er({ padding: Ne }),
|
|
4183
|
+
Ar({ padding: Ne }),
|
|
4184
|
+
Ot({
|
|
4185
4185
|
padding: Ne,
|
|
4186
|
-
apply({ availableWidth: I, availableHeight:
|
|
4187
|
-
const A =
|
|
4186
|
+
apply({ availableWidth: I, availableHeight: W, elements: oe }) {
|
|
4187
|
+
const A = oe.floating, p = _(oe.reference);
|
|
4188
4188
|
A.style.setProperty(
|
|
4189
4189
|
"--reference-width",
|
|
4190
4190
|
`${Math.round(p)}px`
|
|
4191
4191
|
), A.style.setProperty(
|
|
4192
4192
|
"--fui-available-height",
|
|
4193
|
-
`${Math.floor(
|
|
4194
|
-
), A.style.minWidth = `${Math.round(p)}px`, A.style.maxWidth = `${Math.floor(I)}px`, A.style.maxHeight = `${Math.floor(
|
|
4193
|
+
`${Math.floor(W)}px`
|
|
4194
|
+
), A.style.minWidth = `${Math.round(p)}px`, A.style.maxWidth = `${Math.floor(I)}px`, A.style.maxHeight = `${Math.floor(W)}px`;
|
|
4195
4195
|
}
|
|
4196
4196
|
})
|
|
4197
4197
|
]
|
|
4198
|
-
}),
|
|
4198
|
+
}), B = Mt(L, {
|
|
4199
4199
|
enabled: n.includes(ye.Click) && !a
|
|
4200
|
-
}), q =
|
|
4200
|
+
}), q = Fr(L, {
|
|
4201
4201
|
enabled: n.includes(ye.Hover) && !a,
|
|
4202
4202
|
move: !1,
|
|
4203
4203
|
restMs: 40,
|
|
4204
4204
|
delay: { open: 80, close: 80 }
|
|
4205
|
-
}),
|
|
4205
|
+
}), pe = nr(L, {
|
|
4206
4206
|
bubbles: !0,
|
|
4207
4207
|
referencePress: !1,
|
|
4208
4208
|
outsidePress: (I) => {
|
|
4209
|
-
if (!
|
|
4210
|
-
const
|
|
4211
|
-
return !(b?.current &&
|
|
4209
|
+
if (!C) return !1;
|
|
4210
|
+
const W = I.target;
|
|
4211
|
+
return !(b?.current && W instanceof Node && b.current.contains(W));
|
|
4212
4212
|
}
|
|
4213
4213
|
}), K = or(L, { role: "menu" }), { getReferenceProps: Q, getFloatingProps: U } = sr([
|
|
4214
|
-
|
|
4214
|
+
B,
|
|
4215
4215
|
q,
|
|
4216
|
-
|
|
4216
|
+
pe,
|
|
4217
4217
|
K
|
|
4218
4218
|
]), J = (I) => {
|
|
4219
4219
|
!n.includes(ye.ContextMenu) || a || (I.preventDefault(), T(!0));
|
|
4220
4220
|
};
|
|
4221
|
-
|
|
4221
|
+
ne(() => {
|
|
4222
4222
|
a && N && T(!1);
|
|
4223
4223
|
}, [a, N, T]);
|
|
4224
|
-
const
|
|
4225
|
-
I.disabled || (I.onClick?.({ key: I.key, domEvent:
|
|
4226
|
-
}, ie = t ? t() : r && /* @__PURE__ */ x(
|
|
4227
|
-
r.header && /* @__PURE__ */ s(
|
|
4228
|
-
/* @__PURE__ */ s("div", { role: "none", className: "py-1", children: r.items.map((I) => I.type ===
|
|
4224
|
+
const k = (I) => (W) => {
|
|
4225
|
+
I.disabled || (I.onClick?.({ key: I.key, domEvent: W }), r?.onClick?.({ key: I.key, domEvent: W }), T(!1));
|
|
4226
|
+
}, ie = t ? t() : r && /* @__PURE__ */ x(ae, { children: [
|
|
4227
|
+
r.header && /* @__PURE__ */ s(ae, { children: typeof r.header == "function" ? r.header() : r.header }),
|
|
4228
|
+
/* @__PURE__ */ s("div", { role: "none", className: "py-1", children: r.items.map((I) => I.type === st.Divider ? /* @__PURE__ */ s(
|
|
4229
4229
|
"div",
|
|
4230
4230
|
{
|
|
4231
4231
|
role: "separator",
|
|
@@ -4244,7 +4244,7 @@ const Co = f(
|
|
|
4244
4244
|
I.danger && No
|
|
4245
4245
|
),
|
|
4246
4246
|
disabled: I.disabled,
|
|
4247
|
-
onClick:
|
|
4247
|
+
onClick: k(I),
|
|
4248
4248
|
children: [
|
|
4249
4249
|
I.icon && /* @__PURE__ */ s(
|
|
4250
4250
|
"span",
|
|
@@ -4253,7 +4253,7 @@ const Co = f(
|
|
|
4253
4253
|
I.danger && "text-error",
|
|
4254
4254
|
I.disabled && "text-secondary"
|
|
4255
4255
|
),
|
|
4256
|
-
children: /* @__PURE__ */ s(
|
|
4256
|
+
children: /* @__PURE__ */ s(G, { icon: I.icon })
|
|
4257
4257
|
}
|
|
4258
4258
|
),
|
|
4259
4259
|
/* @__PURE__ */ s(
|
|
@@ -4271,17 +4271,17 @@ const Co = f(
|
|
|
4271
4271
|
},
|
|
4272
4272
|
I.key
|
|
4273
4273
|
)) }),
|
|
4274
|
-
r.footer && /* @__PURE__ */ s(
|
|
4274
|
+
r.footer && /* @__PURE__ */ s(ae, { children: typeof r.footer == "function" ? r.footer() : r.footer })
|
|
4275
4275
|
] });
|
|
4276
|
-
return /* @__PURE__ */ x(
|
|
4276
|
+
return /* @__PURE__ */ x(ae, { children: [
|
|
4277
4277
|
/* @__PURE__ */ s(
|
|
4278
4278
|
"span",
|
|
4279
4279
|
{
|
|
4280
|
-
ref:
|
|
4280
|
+
ref: v.setReference,
|
|
4281
4281
|
className: f(
|
|
4282
4282
|
Co,
|
|
4283
4283
|
a && "!cursor-not-allowed opacity-75",
|
|
4284
|
-
|
|
4284
|
+
g
|
|
4285
4285
|
),
|
|
4286
4286
|
"aria-haspopup": "menu",
|
|
4287
4287
|
"aria-expanded": N,
|
|
@@ -4292,7 +4292,7 @@ const Co = f(
|
|
|
4292
4292
|
}
|
|
4293
4293
|
),
|
|
4294
4294
|
N && /* @__PURE__ */ s(ar, { children: /* @__PURE__ */ s(
|
|
4295
|
-
|
|
4295
|
+
jr,
|
|
4296
4296
|
{
|
|
4297
4297
|
context: L,
|
|
4298
4298
|
modal: !1,
|
|
@@ -4302,13 +4302,13 @@ const Co = f(
|
|
|
4302
4302
|
"div",
|
|
4303
4303
|
{
|
|
4304
4304
|
id: E,
|
|
4305
|
-
ref:
|
|
4305
|
+
ref: v.setFloating,
|
|
4306
4306
|
style: P,
|
|
4307
4307
|
className: f(ko, y),
|
|
4308
4308
|
...U(),
|
|
4309
4309
|
children: [
|
|
4310
4310
|
d && /* @__PURE__ */ s("div", { className: "flex items-center justify-between px-2 pt-2", children: /* @__PURE__ */ s(
|
|
4311
|
-
|
|
4311
|
+
at,
|
|
4312
4312
|
{
|
|
4313
4313
|
ariaLabel: "Close dropdown",
|
|
4314
4314
|
onClose: (I) => {
|
|
@@ -4332,7 +4332,7 @@ const Co = f(
|
|
|
4332
4332
|
horizontal: a,
|
|
4333
4333
|
onClick: i
|
|
4334
4334
|
}) => {
|
|
4335
|
-
const l =
|
|
4335
|
+
const l = Z(
|
|
4336
4336
|
"rounded px-3 py-2 flex flex-row gap-2 h-[32px] cursor-pointer dial-small leading-4 hover:text-accent-primary",
|
|
4337
4337
|
{
|
|
4338
4338
|
"bg-layer-4": a,
|
|
@@ -4360,11 +4360,11 @@ const Co = f(
|
|
|
4360
4360
|
cssClass: "max-w-[200px]"
|
|
4361
4361
|
}
|
|
4362
4362
|
),
|
|
4363
|
-
n && /* @__PURE__ */ s("div", { className: "text-error", children: /* @__PURE__ */ s(
|
|
4363
|
+
n && /* @__PURE__ */ s("div", { className: "text-error", children: /* @__PURE__ */ s(Nr, { ...de }) })
|
|
4364
4364
|
]
|
|
4365
4365
|
}
|
|
4366
4366
|
);
|
|
4367
|
-
},
|
|
4367
|
+
}, ys = ({
|
|
4368
4368
|
tabs: e,
|
|
4369
4369
|
activeTab: r,
|
|
4370
4370
|
onClick: t,
|
|
@@ -4378,18 +4378,18 @@ const Co = f(
|
|
|
4378
4378
|
), u = f(
|
|
4379
4379
|
"h-11 flex items-center bg-layer-3",
|
|
4380
4380
|
n ? "hidden" : ""
|
|
4381
|
-
), [
|
|
4381
|
+
), [g, y] = F(
|
|
4382
4382
|
f(d, "hidden")
|
|
4383
|
-
), [b,
|
|
4383
|
+
), [b, C] = F(
|
|
4384
4384
|
f(u, "hidden")
|
|
4385
4385
|
);
|
|
4386
|
-
|
|
4386
|
+
ne(() => {
|
|
4387
4387
|
y(
|
|
4388
4388
|
f(
|
|
4389
4389
|
d,
|
|
4390
4390
|
c || n ? "hidden" : ""
|
|
4391
4391
|
)
|
|
4392
|
-
),
|
|
4392
|
+
), C(
|
|
4393
4393
|
f(
|
|
4394
4394
|
u,
|
|
4395
4395
|
!c || n ? "hidden" : ""
|
|
@@ -4401,9 +4401,9 @@ const Co = f(
|
|
|
4401
4401
|
d,
|
|
4402
4402
|
u
|
|
4403
4403
|
]);
|
|
4404
|
-
const
|
|
4405
|
-
return /* @__PURE__ */ x(
|
|
4406
|
-
/* @__PURE__ */ s("div", { className:
|
|
4404
|
+
const w = e.find((D) => D.id === r);
|
|
4405
|
+
return /* @__PURE__ */ x(ae, { children: [
|
|
4406
|
+
/* @__PURE__ */ s("div", { className: g, children: e.map((D) => /* @__PURE__ */ s(
|
|
4407
4407
|
qe,
|
|
4408
4408
|
{
|
|
4409
4409
|
tab: D,
|
|
@@ -4414,7 +4414,7 @@ const Co = f(
|
|
|
4414
4414
|
D.id
|
|
4415
4415
|
)) }),
|
|
4416
4416
|
/* @__PURE__ */ s("div", { className: b, children: /* @__PURE__ */ s("div", { className: "h-full px-4", children: /* @__PURE__ */ s(
|
|
4417
|
-
|
|
4417
|
+
it,
|
|
4418
4418
|
{
|
|
4419
4419
|
trigger: [ye.Click],
|
|
4420
4420
|
open: a,
|
|
@@ -4437,7 +4437,7 @@ const Co = f(
|
|
|
4437
4437
|
/* @__PURE__ */ s(
|
|
4438
4438
|
qe,
|
|
4439
4439
|
{
|
|
4440
|
-
tab:
|
|
4440
|
+
tab: w,
|
|
4441
4441
|
active: !0,
|
|
4442
4442
|
onClick: t,
|
|
4443
4443
|
cssClass: "rounded-none bg-transparent border-l-0 border-b-[2px] border-accent-primary h-full items-center px-0"
|
|
@@ -4445,9 +4445,9 @@ const Co = f(
|
|
|
4445
4445
|
r
|
|
4446
4446
|
),
|
|
4447
4447
|
/* @__PURE__ */ s(
|
|
4448
|
-
|
|
4448
|
+
G,
|
|
4449
4449
|
{
|
|
4450
|
-
icon: /* @__PURE__ */ s(
|
|
4450
|
+
icon: /* @__PURE__ */ s(Tr, { size: 16 }),
|
|
4451
4451
|
className: f(
|
|
4452
4452
|
"text-primary",
|
|
4453
4453
|
a && "rotate-180"
|
|
@@ -4458,24 +4458,24 @@ const Co = f(
|
|
|
4458
4458
|
}
|
|
4459
4459
|
) }) })
|
|
4460
4460
|
] });
|
|
4461
|
-
}, To = "w-full overflow-x-auto", Oo = "flex flex-nowrap items-center gap-2 min-w-0 px-0 py-0 whitespace-nowrap", Mo = "flex items-center gap-2 min-w-0 shrink-0 dial-small",
|
|
4461
|
+
}, To = "w-full overflow-x-auto", Oo = "flex flex-nowrap items-center gap-2 min-w-0 px-0 py-0 whitespace-nowrap", Mo = "flex items-center gap-2 min-w-0 shrink-0 dial-small", vr = "inline-flex items-center gap-1 min-w-0 transition-colors", Po = "text-secondary hover:text-accent-primary", Ro = "text-primary cursor-default", zo = "flex-none inline-flex items-center leading-none text-icon-secondary", lt = /* @__PURE__ */ s(yt, { size: 16, "aria-hidden": "true" }), Eo = ({
|
|
4462
4462
|
title: e,
|
|
4463
4463
|
href: r,
|
|
4464
4464
|
onClick: t,
|
|
4465
4465
|
disabled: n,
|
|
4466
4466
|
isLast: o,
|
|
4467
|
-
separator: a =
|
|
4467
|
+
separator: a = lt,
|
|
4468
4468
|
cssClass: i,
|
|
4469
4469
|
iconBefore: c,
|
|
4470
4470
|
titleCssClass: l
|
|
4471
4471
|
}) => {
|
|
4472
|
-
const d =
|
|
4472
|
+
const d = Z(Mo, i), u = !!r && !o && !n, g = typeof e == "string" ? /* @__PURE__ */ s(Se, { text: e }) : e;
|
|
4473
4473
|
return /* @__PURE__ */ x("li", { className: d, children: [
|
|
4474
4474
|
u ? /* @__PURE__ */ x(
|
|
4475
4475
|
"a",
|
|
4476
4476
|
{
|
|
4477
|
-
className:
|
|
4478
|
-
|
|
4477
|
+
className: Z(
|
|
4478
|
+
vr,
|
|
4479
4479
|
Po,
|
|
4480
4480
|
l
|
|
4481
4481
|
),
|
|
@@ -4483,14 +4483,14 @@ const Co = f(
|
|
|
4483
4483
|
onClick: t,
|
|
4484
4484
|
children: [
|
|
4485
4485
|
c,
|
|
4486
|
-
|
|
4486
|
+
g
|
|
4487
4487
|
]
|
|
4488
4488
|
}
|
|
4489
4489
|
) : /* @__PURE__ */ x(
|
|
4490
4490
|
"span",
|
|
4491
4491
|
{
|
|
4492
|
-
className:
|
|
4493
|
-
|
|
4492
|
+
className: Z(
|
|
4493
|
+
vr,
|
|
4494
4494
|
Ro,
|
|
4495
4495
|
n && "pointer-events-none opacity-75",
|
|
4496
4496
|
l
|
|
@@ -4499,15 +4499,15 @@ const Co = f(
|
|
|
4499
4499
|
"aria-disabled": n ? "true" : void 0,
|
|
4500
4500
|
children: [
|
|
4501
4501
|
c,
|
|
4502
|
-
|
|
4502
|
+
g
|
|
4503
4503
|
]
|
|
4504
4504
|
}
|
|
4505
4505
|
),
|
|
4506
4506
|
!o && /* @__PURE__ */ s("span", { className: zo, children: a })
|
|
4507
4507
|
] });
|
|
4508
|
-
},
|
|
4508
|
+
}, ws = ({
|
|
4509
4509
|
pathItems: e,
|
|
4510
|
-
separator: r =
|
|
4510
|
+
separator: r = lt,
|
|
4511
4511
|
ariaLabel: t = "Breadcrumb",
|
|
4512
4512
|
cssClass: n,
|
|
4513
4513
|
children: o,
|
|
@@ -4522,7 +4522,7 @@ const Co = f(
|
|
|
4522
4522
|
titleCssClass: a
|
|
4523
4523
|
},
|
|
4524
4524
|
`item-${l}`
|
|
4525
|
-
)) :
|
|
4525
|
+
)) : Dt.toArray(o).map((c, l, d) => {
|
|
4526
4526
|
if (!rr(c)) return c;
|
|
4527
4527
|
const u = l === d.length - 1;
|
|
4528
4528
|
return Ae(c, {
|
|
@@ -4534,7 +4534,7 @@ const Co = f(
|
|
|
4534
4534
|
"nav",
|
|
4535
4535
|
{
|
|
4536
4536
|
"aria-label": t,
|
|
4537
|
-
className:
|
|
4537
|
+
className: Z(To, n),
|
|
4538
4538
|
children: /* @__PURE__ */ s("ol", { className: Oo, children: i })
|
|
4539
4539
|
}
|
|
4540
4540
|
);
|
|
@@ -4543,27 +4543,36 @@ const Co = f(
|
|
|
4543
4543
|
textareaId: r,
|
|
4544
4544
|
placeholder: t,
|
|
4545
4545
|
cssClass: n = "",
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4546
|
+
containerCssClass: o = "",
|
|
4547
|
+
disabled: a,
|
|
4548
|
+
invalid: i,
|
|
4549
|
+
readonly: c,
|
|
4550
|
+
disableTooltip: l,
|
|
4551
|
+
onChange: d
|
|
4552
|
+
}) => /* @__PURE__ */ s(
|
|
4553
|
+
me,
|
|
4552
4554
|
{
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4555
|
+
tooltip: l ? null : e,
|
|
4556
|
+
triggerClassName: Z("flex", o),
|
|
4557
|
+
children: /* @__PURE__ */ s(
|
|
4558
|
+
"textarea",
|
|
4559
|
+
{
|
|
4560
|
+
id: r,
|
|
4561
|
+
placeholder: t,
|
|
4562
|
+
value: e || "",
|
|
4563
|
+
disabled: a,
|
|
4564
|
+
className: f(
|
|
4565
|
+
"dial-textarea dial-input px-3 py-2",
|
|
4566
|
+
i ? "dial-input-error" : "",
|
|
4567
|
+
a && "dial-input-disable",
|
|
4568
|
+
c && "dial-input-readonly",
|
|
4569
|
+
n
|
|
4570
|
+
),
|
|
4571
|
+
onChange: (u) => !c && d?.(u.currentTarget.value)
|
|
4572
|
+
}
|
|
4573
|
+
)
|
|
4565
4574
|
}
|
|
4566
|
-
)
|
|
4575
|
+
), Lo = [
|
|
4567
4576
|
"ArrowLeft",
|
|
4568
4577
|
"ArrowRight",
|
|
4569
4578
|
"ArrowUp",
|
|
@@ -4607,11 +4616,11 @@ const Co = f(
|
|
|
4607
4616
|
tooltipTriggerClassName: l,
|
|
4608
4617
|
type: d = "text",
|
|
4609
4618
|
disabled: u,
|
|
4610
|
-
readonly:
|
|
4619
|
+
readonly: g,
|
|
4611
4620
|
invalid: y,
|
|
4612
4621
|
onChange: b,
|
|
4613
|
-
min:
|
|
4614
|
-
max:
|
|
4622
|
+
min: C,
|
|
4623
|
+
max: w,
|
|
4615
4624
|
prefix: D,
|
|
4616
4625
|
suffix: M,
|
|
4617
4626
|
textBeforeInput: O,
|
|
@@ -4619,16 +4628,16 @@ const Co = f(
|
|
|
4619
4628
|
onBlur: T,
|
|
4620
4629
|
defaultValue: E
|
|
4621
4630
|
}) => {
|
|
4622
|
-
const _ = (L) => L.target.blur(), $ = d === "number" ||
|
|
4623
|
-
Fo(L, d,
|
|
4631
|
+
const _ = (L) => L.target.blur(), $ = d === "number" || C !== void 0 || w !== void 0, v = (L) => {
|
|
4632
|
+
Fo(L, d, C, w);
|
|
4624
4633
|
}, P = (L) => {
|
|
4625
|
-
const
|
|
4626
|
-
if ($ &&
|
|
4627
|
-
const q = parseFloat(
|
|
4628
|
-
if (isNaN(q) &&
|
|
4634
|
+
const B = L.currentTarget.value;
|
|
4635
|
+
if ($ && B !== "") {
|
|
4636
|
+
const q = parseFloat(B);
|
|
4637
|
+
if (isNaN(q) && B !== "-" && B !== "." || !isNaN(q) && (C !== void 0 && q < C || w !== void 0 && q > w))
|
|
4629
4638
|
return;
|
|
4630
4639
|
}
|
|
4631
|
-
b?.(
|
|
4640
|
+
b?.(B);
|
|
4632
4641
|
};
|
|
4633
4642
|
return /* @__PURE__ */ x(
|
|
4634
4643
|
"div",
|
|
@@ -4638,7 +4647,7 @@ const Co = f(
|
|
|
4638
4647
|
t ? "dial-input-no-border" : "dial-input",
|
|
4639
4648
|
y && "dial-input-error",
|
|
4640
4649
|
u && "dial-input-disable",
|
|
4641
|
-
|
|
4650
|
+
g && "dial-input-readonly",
|
|
4642
4651
|
!O && "pl-3",
|
|
4643
4652
|
!N && "pr-3",
|
|
4644
4653
|
c
|
|
@@ -4659,7 +4668,7 @@ const Co = f(
|
|
|
4659
4668
|
" ",
|
|
4660
4669
|
D
|
|
4661
4670
|
] }),
|
|
4662
|
-
/* @__PURE__ */ s(
|
|
4671
|
+
/* @__PURE__ */ s(G, { icon: e }),
|
|
4663
4672
|
/* @__PURE__ */ s(
|
|
4664
4673
|
me,
|
|
4665
4674
|
{
|
|
@@ -4675,18 +4684,18 @@ const Co = f(
|
|
|
4675
4684
|
value: E ? void 0 : n ?? "",
|
|
4676
4685
|
disabled: u,
|
|
4677
4686
|
className: f("border-0 bg-transparent w-full", i),
|
|
4678
|
-
onChange: (L) => !
|
|
4679
|
-
onKeyDown:
|
|
4687
|
+
onChange: (L) => !g && P?.(L),
|
|
4688
|
+
onKeyDown: v,
|
|
4680
4689
|
onWheel: _,
|
|
4681
4690
|
onBlur: T,
|
|
4682
|
-
min:
|
|
4683
|
-
max:
|
|
4691
|
+
min: C,
|
|
4692
|
+
max: w,
|
|
4684
4693
|
defaultValue: E
|
|
4685
4694
|
}
|
|
4686
4695
|
)
|
|
4687
4696
|
}
|
|
4688
4697
|
),
|
|
4689
|
-
/* @__PURE__ */ s(
|
|
4698
|
+
/* @__PURE__ */ s(G, { icon: r }),
|
|
4690
4699
|
M && /* @__PURE__ */ x("p", { className: "text-secondary dial-small ml-2", children: [
|
|
4691
4700
|
" ",
|
|
4692
4701
|
M
|
|
@@ -4704,7 +4713,7 @@ const Co = f(
|
|
|
4704
4713
|
]
|
|
4705
4714
|
}
|
|
4706
4715
|
);
|
|
4707
|
-
}, Vo = /^0+\.(\d+)?$/,
|
|
4716
|
+
}, Vo = /^0+\.(\d+)?$/, jo = /^0+/, ct = ({
|
|
4708
4717
|
fieldTitle: e,
|
|
4709
4718
|
errorText: r,
|
|
4710
4719
|
optional: t,
|
|
@@ -4716,7 +4725,7 @@ const Co = f(
|
|
|
4716
4725
|
defaultEmptyText: l,
|
|
4717
4726
|
min: d,
|
|
4718
4727
|
max: u,
|
|
4719
|
-
...
|
|
4728
|
+
...g
|
|
4720
4729
|
}) => /* @__PURE__ */ x("div", { className: f("flex flex-col", i), children: [
|
|
4721
4730
|
/* @__PURE__ */ s(
|
|
4722
4731
|
ve,
|
|
@@ -4726,7 +4735,7 @@ const Co = f(
|
|
|
4726
4735
|
htmlFor: a
|
|
4727
4736
|
}
|
|
4728
4737
|
),
|
|
4729
|
-
c ? /* @__PURE__ */ s("span", { children:
|
|
4738
|
+
c ? /* @__PURE__ */ s("span", { children: g.value || (l ?? "None") }) : /* @__PURE__ */ x(ae, { children: [
|
|
4730
4739
|
/* @__PURE__ */ s(
|
|
4731
4740
|
Fe,
|
|
4732
4741
|
{
|
|
@@ -4736,21 +4745,21 @@ const Co = f(
|
|
|
4736
4745
|
invalid: r != null,
|
|
4737
4746
|
min: d,
|
|
4738
4747
|
max: u,
|
|
4739
|
-
...
|
|
4748
|
+
...g
|
|
4740
4749
|
}
|
|
4741
4750
|
),
|
|
4742
4751
|
/* @__PURE__ */ s(Oe, { errorText: r })
|
|
4743
4752
|
] })
|
|
4744
|
-
] }),
|
|
4753
|
+
] }), vs = ({
|
|
4745
4754
|
onChange: e,
|
|
4746
4755
|
value: r,
|
|
4747
4756
|
min: t,
|
|
4748
4757
|
max: n,
|
|
4749
4758
|
...o
|
|
4750
4759
|
}) => {
|
|
4751
|
-
const a = (i) => String(i)?.match(Vo) ? String(i)?.replace(
|
|
4760
|
+
const a = (i) => String(i)?.match(Vo) ? String(i)?.replace(jo, "0") : Number(i);
|
|
4752
4761
|
return /* @__PURE__ */ s(
|
|
4753
|
-
|
|
4762
|
+
ct,
|
|
4754
4763
|
{
|
|
4755
4764
|
type: "number",
|
|
4756
4765
|
onChange: (i) => e?.(a(i)),
|
|
@@ -4760,25 +4769,26 @@ const Co = f(
|
|
|
4760
4769
|
...o
|
|
4761
4770
|
}
|
|
4762
4771
|
);
|
|
4763
|
-
},
|
|
4772
|
+
}, Cs = ({
|
|
4764
4773
|
onChange: e,
|
|
4765
4774
|
...r
|
|
4766
4775
|
}) => /* @__PURE__ */ s(
|
|
4767
|
-
|
|
4776
|
+
ct,
|
|
4768
4777
|
{
|
|
4769
4778
|
type: "text",
|
|
4770
4779
|
onChange: (t) => e?.(t),
|
|
4771
4780
|
...r
|
|
4772
4781
|
}
|
|
4773
|
-
),
|
|
4782
|
+
), ks = ({
|
|
4774
4783
|
fieldTitle: e,
|
|
4775
4784
|
optional: r,
|
|
4776
4785
|
elementId: t,
|
|
4777
4786
|
elementCssClass: n,
|
|
4778
4787
|
containerCssClass: o,
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
|
|
4788
|
+
elementContainerCssClass: a,
|
|
4789
|
+
errorText: i,
|
|
4790
|
+
...c
|
|
4791
|
+
}) => /* @__PURE__ */ x("div", { className: Z("flex flex-col", o), children: [
|
|
4782
4792
|
/* @__PURE__ */ s(
|
|
4783
4793
|
ve,
|
|
4784
4794
|
{
|
|
@@ -4792,11 +4802,12 @@ const Co = f(
|
|
|
4792
4802
|
{
|
|
4793
4803
|
textareaId: t,
|
|
4794
4804
|
cssClass: n,
|
|
4795
|
-
|
|
4805
|
+
containerCssClass: a,
|
|
4806
|
+
...c
|
|
4796
4807
|
}
|
|
4797
4808
|
),
|
|
4798
|
-
/* @__PURE__ */ s(Oe, { errorText:
|
|
4799
|
-
] }),
|
|
4809
|
+
/* @__PURE__ */ s(Oe, { errorText: i })
|
|
4810
|
+
] }), Ds = ({
|
|
4800
4811
|
title: e,
|
|
4801
4812
|
switchId: r,
|
|
4802
4813
|
isOn: t = !1,
|
|
@@ -4808,7 +4819,7 @@ const Co = f(
|
|
|
4808
4819
|
t ? "flex-row-reverse" : "flex-row",
|
|
4809
4820
|
n ? "pointer-events-none" : "",
|
|
4810
4821
|
n ? t ? "bg-controls-disable" : "bg-layer-4" : t ? "bg-accent-primary" : "bg-layer-4"
|
|
4811
|
-
), i =
|
|
4822
|
+
), i = H(
|
|
4812
4823
|
(c) => {
|
|
4813
4824
|
c.stopPropagation(), o?.(!t);
|
|
4814
4825
|
},
|
|
@@ -4838,12 +4849,12 @@ const Co = f(
|
|
|
4838
4849
|
e && /* @__PURE__ */ s("span", { className: "pl-2 dial-small text-primary", children: e })
|
|
4839
4850
|
] });
|
|
4840
4851
|
};
|
|
4841
|
-
var
|
|
4842
|
-
const
|
|
4843
|
-
[
|
|
4844
|
-
[
|
|
4845
|
-
[
|
|
4846
|
-
},
|
|
4852
|
+
var ce = /* @__PURE__ */ ((e) => (e.Sm = "sm", e.Md = "md", e.Lg = "lg", e))(ce || {});
|
|
4853
|
+
const Ho = "z-[52] flex items-center justify-center bg-blackout md:p-4", Bo = "divide-tertiary divide-y", Wo = "flex flex-row justify-between py-4 px-6 items-center", Go = {
|
|
4854
|
+
[ce.Sm]: "dial-sm-popup",
|
|
4855
|
+
[ce.Md]: "dial-md-popup",
|
|
4856
|
+
[ce.Lg]: "dial-lg-popup"
|
|
4857
|
+
}, dr = ({
|
|
4847
4858
|
open: e = !1,
|
|
4848
4859
|
title: r,
|
|
4849
4860
|
portalId: t,
|
|
@@ -4854,14 +4865,14 @@ const jo = "z-[52] flex items-center justify-center bg-blackout md:p-4", Bo = "d
|
|
|
4854
4865
|
children: c,
|
|
4855
4866
|
footer: l,
|
|
4856
4867
|
onClose: d,
|
|
4857
|
-
size: u =
|
|
4868
|
+
size: u = ce.Md
|
|
4858
4869
|
}) => {
|
|
4859
|
-
const { refs:
|
|
4870
|
+
const { refs: g, context: y } = tr({
|
|
4860
4871
|
open: e,
|
|
4861
4872
|
onOpenChange: (O) => {
|
|
4862
4873
|
O || d?.(null);
|
|
4863
4874
|
}
|
|
4864
|
-
}), b = or(y, { role: "dialog" }),
|
|
4875
|
+
}), b = or(y, { role: "dialog" }), C = nr(y, { outsidePress: !0 }), { getFloatingProps: w } = sr([b, C]);
|
|
4865
4876
|
if (!e) return null;
|
|
4866
4877
|
const D = typeof r == "string" ? "dial-popup-heading" : void 0, M = (O) => O ? typeof O == "string" ? /* @__PURE__ */ s(
|
|
4867
4878
|
"h3",
|
|
@@ -4874,11 +4885,11 @@ const jo = "z-[52] flex items-center justify-center bg-blackout md:p-4", Bo = "d
|
|
|
4874
4885
|
children: /* @__PURE__ */ s(me, { tooltip: O, children: O })
|
|
4875
4886
|
}
|
|
4876
4887
|
) : O : /* @__PURE__ */ s("span", {});
|
|
4877
|
-
return /* @__PURE__ */ s(ar, { id: t, children: /* @__PURE__ */ s(
|
|
4888
|
+
return /* @__PURE__ */ s(ar, { id: t, children: /* @__PURE__ */ s(Pt, { className: f(Ho, o), children: /* @__PURE__ */ s(jr, { context: y, children: /* @__PURE__ */ x(
|
|
4878
4889
|
"div",
|
|
4879
4890
|
{
|
|
4880
|
-
ref:
|
|
4881
|
-
...
|
|
4891
|
+
ref: g.setFloating,
|
|
4892
|
+
...w(),
|
|
4882
4893
|
role: "dialog",
|
|
4883
4894
|
"aria-modal": "true",
|
|
4884
4895
|
"aria-labelledby": D,
|
|
@@ -4892,7 +4903,7 @@ const jo = "z-[52] flex items-center justify-center bg-blackout md:p-4", Bo = "d
|
|
|
4892
4903
|
/* @__PURE__ */ x("div", { className: Wo, children: [
|
|
4893
4904
|
M(r),
|
|
4894
4905
|
/* @__PURE__ */ s(
|
|
4895
|
-
|
|
4906
|
+
at,
|
|
4896
4907
|
{
|
|
4897
4908
|
ariaLabel: "Close dialog",
|
|
4898
4909
|
onClose: (O) => d?.(O)
|
|
@@ -4906,7 +4917,7 @@ const jo = "z-[52] flex items-center justify-center bg-blackout md:p-4", Bo = "d
|
|
|
4906
4917
|
) }) }) });
|
|
4907
4918
|
};
|
|
4908
4919
|
var Ve = /* @__PURE__ */ ((e) => (e.Info = "info", e.Danger = "danger", e))(Ve || {});
|
|
4909
|
-
const _o = "flex justify-end gap-2 px-6 py-4", $o = "text-secondary dial-small-150 px-6 py-4", Uo = "Cancel", qo = "Ok",
|
|
4920
|
+
const _o = "flex justify-end gap-2 px-6 py-4", $o = "text-secondary dial-small-150 px-6 py-4", Uo = "Cancel", qo = "Ok", Cr = {
|
|
4910
4921
|
[Ve.Info]: {
|
|
4911
4922
|
confirmVariant: Y.Primary,
|
|
4912
4923
|
cancelVariant: Y.Secondary
|
|
@@ -4916,7 +4927,7 @@ const _o = "flex justify-end gap-2 px-6 py-4", $o = "text-secondary dial-small-1
|
|
|
4916
4927
|
confirmVariant: Y.Danger,
|
|
4917
4928
|
cancelVariant: Y.Secondary
|
|
4918
4929
|
}
|
|
4919
|
-
},
|
|
4930
|
+
}, Is = ({
|
|
4920
4931
|
title: e,
|
|
4921
4932
|
description: r,
|
|
4922
4933
|
descriptionCssClass: t,
|
|
@@ -4928,17 +4939,17 @@ const _o = "flex justify-end gap-2 px-6 py-4", $o = "text-secondary dial-small-1
|
|
|
4928
4939
|
cssClass: l,
|
|
4929
4940
|
confirmClassName: d,
|
|
4930
4941
|
onClose: u,
|
|
4931
|
-
onConfirm:
|
|
4942
|
+
onConfirm: g,
|
|
4932
4943
|
onCancel: y,
|
|
4933
4944
|
children: b,
|
|
4934
|
-
dividers:
|
|
4935
|
-
variant:
|
|
4936
|
-
size: D =
|
|
4945
|
+
dividers: C = !1,
|
|
4946
|
+
variant: w = Ve.Info,
|
|
4947
|
+
size: D = ce.Sm,
|
|
4937
4948
|
footer: M
|
|
4938
4949
|
}) => {
|
|
4939
4950
|
const O = i ? null : /* @__PURE__ */ x("div", { className: _o, children: [
|
|
4940
4951
|
/* @__PURE__ */ s(
|
|
4941
|
-
|
|
4952
|
+
te,
|
|
4942
4953
|
{
|
|
4943
4954
|
variant: Y.Secondary,
|
|
4944
4955
|
title: a,
|
|
@@ -4946,16 +4957,16 @@ const _o = "flex justify-end gap-2 px-6 py-4", $o = "text-secondary dial-small-1
|
|
|
4946
4957
|
}
|
|
4947
4958
|
),
|
|
4948
4959
|
/* @__PURE__ */ s(
|
|
4949
|
-
|
|
4960
|
+
te,
|
|
4950
4961
|
{
|
|
4951
|
-
variant:
|
|
4962
|
+
variant: Cr[w].confirmVariant,
|
|
4952
4963
|
cssClass: d,
|
|
4953
4964
|
title: o,
|
|
4954
4965
|
disable: c,
|
|
4955
|
-
onClick: () =>
|
|
4966
|
+
onClick: () => g()
|
|
4956
4967
|
}
|
|
4957
4968
|
)
|
|
4958
|
-
] }), N =
|
|
4969
|
+
] }), N = H(() => i ? /* @__PURE__ */ s("div", { className: "px-6 py-4 h-[120px]", children: /* @__PURE__ */ s(Hr, { size: 50 }) }) : b ?? (r ? /* @__PURE__ */ s(
|
|
4959
4970
|
"div",
|
|
4960
4971
|
{
|
|
4961
4972
|
className: f($o, t),
|
|
@@ -4963,19 +4974,19 @@ const _o = "flex justify-end gap-2 px-6 py-4", $o = "text-secondary dial-small-1
|
|
|
4963
4974
|
}
|
|
4964
4975
|
) : null), [b, r, i, t]);
|
|
4965
4976
|
return /* @__PURE__ */ s(
|
|
4966
|
-
|
|
4977
|
+
dr,
|
|
4967
4978
|
{
|
|
4968
4979
|
open: n,
|
|
4969
4980
|
title: e,
|
|
4970
|
-
cssClass: f(
|
|
4971
|
-
dividers:
|
|
4981
|
+
cssClass: f(Cr[w].container, l),
|
|
4982
|
+
dividers: C,
|
|
4972
4983
|
onClose: () => u?.(),
|
|
4973
4984
|
footer: M ?? O,
|
|
4974
4985
|
size: D,
|
|
4975
4986
|
children: N()
|
|
4976
4987
|
}
|
|
4977
4988
|
);
|
|
4978
|
-
},
|
|
4989
|
+
}, dt = ({ selectedItems: e, listCssClass: r, listElementCssClass: t }) => !!e?.length && /* @__PURE__ */ s(
|
|
4979
4990
|
"ul",
|
|
4980
4991
|
{
|
|
4981
4992
|
className: f(
|
|
@@ -4991,7 +5002,7 @@ const _o = "flex justify-end gap-2 px-6 py-4", $o = "text-secondary dial-small-1
|
|
|
4991
5002
|
}
|
|
4992
5003
|
) }) }, n))
|
|
4993
5004
|
}
|
|
4994
|
-
),
|
|
5005
|
+
), kr = (e) => /* @__PURE__ */ re.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("path", { d: "M2.25 13.5V12C2.25 11.5858 2.58579 11.25 3 11.25C3.41421 11.25 3.75 11.5858 3.75 12V13.5C3.75 13.6989 3.82907 13.8896 3.96973 14.0303C4.11038 14.1709 4.30109 14.25 4.5 14.25H6C6.41421 14.25 6.75 14.5858 6.75 15C6.75 15.4142 6.41421 15.75 6 15.75H4.5C3.90326 15.75 3.33114 15.5128 2.90918 15.0908C2.48722 14.6689 2.25 14.0967 2.25 13.5ZM14.25 6V4.5C14.25 4.30109 14.1709 4.11038 14.0303 3.96973C13.8896 3.82907 13.6989 3.75 13.5 3.75H12C11.5858 3.75 11.25 3.41421 11.25 3C11.25 2.58579 11.5858 2.25 12 2.25H13.5C14.0967 2.25 14.6689 2.48722 15.0908 2.90918C15.5128 3.33114 15.75 3.90326 15.75 4.5V6C15.75 6.41421 15.4142 6.75 15 6.75C14.5858 6.75 14.25 6.41421 14.25 6Z", fill: "currentColor" })), Ko = ({
|
|
4995
5006
|
children: e,
|
|
4996
5007
|
open: r,
|
|
4997
5008
|
disabled: t = !1,
|
|
@@ -5003,8 +5014,8 @@ const _o = "flex justify-end gap-2 px-6 py-4", $o = "text-secondary dial-small-1
|
|
|
5003
5014
|
errorText: l,
|
|
5004
5015
|
emptyValueText: d
|
|
5005
5016
|
}) => {
|
|
5006
|
-
const u = Array.isArray(n) && n.length > 0,
|
|
5007
|
-
return /* @__PURE__ */ x(
|
|
5017
|
+
const u = Array.isArray(n) && n.length > 0, g = typeof n == "string" && !!n.trim(), y = u || g ? n : d, b = t ? void 0 : i;
|
|
5018
|
+
return /* @__PURE__ */ x(ae, { children: [
|
|
5008
5019
|
u ? /* @__PURE__ */ s("div", { className: "w-full", onClick: b, children: /* @__PURE__ */ x(
|
|
5009
5020
|
"div",
|
|
5010
5021
|
{
|
|
@@ -5013,12 +5024,12 @@ const _o = "flex justify-end gap-2 px-6 py-4", $o = "text-secondary dial-small-1
|
|
|
5013
5024
|
t && "dial-input-disable"
|
|
5014
5025
|
),
|
|
5015
5026
|
children: [
|
|
5016
|
-
/* @__PURE__ */ s(
|
|
5027
|
+
/* @__PURE__ */ s(dt, { selectedItems: y }),
|
|
5017
5028
|
!t && /* @__PURE__ */ s("div", { className: "ml-1", children: /* @__PURE__ */ s(
|
|
5018
|
-
|
|
5029
|
+
G,
|
|
5019
5030
|
{
|
|
5020
5031
|
icon: /* @__PURE__ */ s(
|
|
5021
|
-
|
|
5032
|
+
kr,
|
|
5022
5033
|
{
|
|
5023
5034
|
role: "img",
|
|
5024
5035
|
width: xe,
|
|
@@ -5029,7 +5040,7 @@ const _o = "flex justify-end gap-2 px-6 py-4", $o = "text-secondary dial-small-1
|
|
|
5029
5040
|
) })
|
|
5030
5041
|
]
|
|
5031
5042
|
}
|
|
5032
|
-
) }) : /* @__PURE__ */ x(
|
|
5043
|
+
) }) : /* @__PURE__ */ x(ae, { children: [
|
|
5033
5044
|
/* @__PURE__ */ s(
|
|
5034
5045
|
"button",
|
|
5035
5046
|
{
|
|
@@ -5050,10 +5061,10 @@ const _o = "flex justify-end gap-2 px-6 py-4", $o = "text-secondary dial-small-1
|
|
|
5050
5061
|
children: [
|
|
5051
5062
|
/* @__PURE__ */ s(me, { tooltip: String(y), children: /* @__PURE__ */ s("span", { className: o, children: y }) }),
|
|
5052
5063
|
!t && /* @__PURE__ */ s("div", { className: "flex-shrink-0", children: /* @__PURE__ */ s(
|
|
5053
|
-
|
|
5064
|
+
G,
|
|
5054
5065
|
{
|
|
5055
5066
|
icon: /* @__PURE__ */ s(
|
|
5056
|
-
|
|
5067
|
+
kr,
|
|
5057
5068
|
{
|
|
5058
5069
|
role: "img",
|
|
5059
5070
|
width: xe,
|
|
@@ -5069,9 +5080,9 @@ const _o = "flex justify-end gap-2 px-6 py-4", $o = "text-secondary dial-small-1
|
|
|
5069
5080
|
),
|
|
5070
5081
|
l && /* @__PURE__ */ s(Oe, { errorText: l })
|
|
5071
5082
|
] }),
|
|
5072
|
-
r &&
|
|
5083
|
+
r && Rt(e, document.body)
|
|
5073
5084
|
] });
|
|
5074
|
-
},
|
|
5085
|
+
}, Ns = ({
|
|
5075
5086
|
fieldTitle: e,
|
|
5076
5087
|
htmlFor: r,
|
|
5077
5088
|
disabled: t,
|
|
@@ -5083,21 +5094,21 @@ const _o = "flex justify-end gap-2 px-6 py-4", $o = "text-secondary dial-small-1
|
|
|
5083
5094
|
emptyValueText: l,
|
|
5084
5095
|
onClose: d,
|
|
5085
5096
|
title: u,
|
|
5086
|
-
portalId:
|
|
5097
|
+
portalId: g,
|
|
5087
5098
|
onApply: y,
|
|
5088
5099
|
cancelButtonTitle: b = "Cancel",
|
|
5089
|
-
applyButtonTitle:
|
|
5090
|
-
isValid:
|
|
5100
|
+
applyButtonTitle: C = "Apply",
|
|
5101
|
+
isValid: w,
|
|
5091
5102
|
selectedRadioValue: D,
|
|
5092
5103
|
onChangeRadioField: M,
|
|
5093
5104
|
id: O,
|
|
5094
|
-
size: N =
|
|
5105
|
+
size: N = ce.Md
|
|
5095
5106
|
}) => {
|
|
5096
|
-
const [T, E] = F(!1), _ =
|
|
5107
|
+
const [T, E] = F(!1), _ = H(() => {
|
|
5097
5108
|
t || E(!0);
|
|
5098
|
-
}, [t]), $ =
|
|
5109
|
+
}, [t]), $ = H(() => {
|
|
5099
5110
|
E(!1), d?.();
|
|
5100
|
-
}, [d]),
|
|
5111
|
+
}, [d]), v = H(() => {
|
|
5101
5112
|
y(), $();
|
|
5102
5113
|
}, [y, $]);
|
|
5103
5114
|
return /* @__PURE__ */ x("div", { className: "flex flex-col", children: [
|
|
@@ -5113,16 +5124,16 @@ const _o = "flex justify-end gap-2 px-6 py-4", $o = "text-secondary dial-small-1
|
|
|
5113
5124
|
emptyValueText: l,
|
|
5114
5125
|
onOpen: _,
|
|
5115
5126
|
children: /* @__PURE__ */ s(
|
|
5116
|
-
|
|
5127
|
+
dr,
|
|
5117
5128
|
{
|
|
5118
5129
|
open: T,
|
|
5119
5130
|
onClose: $,
|
|
5120
5131
|
title: u,
|
|
5121
|
-
portalId:
|
|
5132
|
+
portalId: g,
|
|
5122
5133
|
size: N,
|
|
5123
5134
|
footer: /* @__PURE__ */ x("div", { className: "flex flex-row items-center justify-end gap-2 px-6 py-4", children: [
|
|
5124
5135
|
/* @__PURE__ */ s(
|
|
5125
|
-
|
|
5136
|
+
te,
|
|
5126
5137
|
{
|
|
5127
5138
|
variant: Y.Secondary,
|
|
5128
5139
|
title: b,
|
|
@@ -5130,12 +5141,12 @@ const _o = "flex justify-end gap-2 px-6 py-4", $o = "text-secondary dial-small-1
|
|
|
5130
5141
|
}
|
|
5131
5142
|
),
|
|
5132
5143
|
/* @__PURE__ */ s(
|
|
5133
|
-
|
|
5144
|
+
te,
|
|
5134
5145
|
{
|
|
5135
5146
|
variant: Y.Primary,
|
|
5136
|
-
title:
|
|
5137
|
-
onClick:
|
|
5138
|
-
disable: !
|
|
5147
|
+
title: C,
|
|
5148
|
+
onClick: v,
|
|
5149
|
+
disable: !w
|
|
5139
5150
|
}
|
|
5140
5151
|
)
|
|
5141
5152
|
] }),
|
|
@@ -5155,15 +5166,65 @@ const _o = "flex justify-end gap-2 px-6 py-4", $o = "text-secondary dial-small-1
|
|
|
5155
5166
|
}
|
|
5156
5167
|
)
|
|
5157
5168
|
] });
|
|
5158
|
-
}, Yo =
|
|
5159
|
-
|
|
5169
|
+
}, Yo = "Create", Zo = "Cancel", Xo = "flex items-center justify-end gap-2 px-6 py-3", Ss = ({
|
|
5170
|
+
title: e,
|
|
5171
|
+
open: r = !1,
|
|
5172
|
+
submitLabel: t = Yo,
|
|
5173
|
+
cancelLabel: n = Zo,
|
|
5174
|
+
isLoading: o = !1,
|
|
5175
|
+
disableSubmitButton: a = !1,
|
|
5176
|
+
cssClass: i,
|
|
5177
|
+
submitClassName: c,
|
|
5178
|
+
onClose: l,
|
|
5179
|
+
onSubmit: d,
|
|
5180
|
+
onCancel: u,
|
|
5181
|
+
children: g,
|
|
5182
|
+
dividers: y = !0,
|
|
5183
|
+
size: b = ce.Md,
|
|
5184
|
+
footer: C
|
|
5185
|
+
}) => {
|
|
5186
|
+
const w = o ? null : /* @__PURE__ */ x("div", { className: Xo, children: [
|
|
5187
|
+
/* @__PURE__ */ s(
|
|
5188
|
+
te,
|
|
5189
|
+
{
|
|
5190
|
+
variant: Y.Secondary,
|
|
5191
|
+
title: n,
|
|
5192
|
+
onClick: () => u ? u() : l?.()
|
|
5193
|
+
}
|
|
5194
|
+
),
|
|
5195
|
+
/* @__PURE__ */ s(
|
|
5196
|
+
te,
|
|
5197
|
+
{
|
|
5198
|
+
variant: Y.Primary,
|
|
5199
|
+
cssClass: c,
|
|
5200
|
+
title: t,
|
|
5201
|
+
disable: a,
|
|
5202
|
+
onClick: () => d()
|
|
5203
|
+
}
|
|
5204
|
+
)
|
|
5205
|
+
] }), D = H(() => o ? /* @__PURE__ */ s("div", { className: "px-6 py-4 h-[120px]", children: /* @__PURE__ */ s(Hr, { size: 50 }) }) : g ?? null, [g, o]);
|
|
5206
|
+
return /* @__PURE__ */ s(
|
|
5207
|
+
dr,
|
|
5208
|
+
{
|
|
5209
|
+
open: r,
|
|
5210
|
+
title: e,
|
|
5211
|
+
cssClass: i,
|
|
5212
|
+
dividers: y,
|
|
5213
|
+
onClose: () => l?.(),
|
|
5214
|
+
footer: C ?? w,
|
|
5215
|
+
size: b,
|
|
5216
|
+
children: D()
|
|
5217
|
+
}
|
|
5218
|
+
);
|
|
5219
|
+
}, Qo = ({ onClick: e }) => /* @__PURE__ */ s(
|
|
5220
|
+
wt,
|
|
5160
5221
|
{
|
|
5161
|
-
...
|
|
5222
|
+
...de,
|
|
5162
5223
|
className: "text-primary",
|
|
5163
5224
|
onClick: e
|
|
5164
5225
|
}
|
|
5165
|
-
),
|
|
5166
|
-
const [r, t] = F(!1), n =
|
|
5226
|
+
), Jo = ({ onClick: e }) => /* @__PURE__ */ s(vt, { ...de, className: "text-primary", onClick: e }), es = ({ ...e }) => {
|
|
5227
|
+
const [r, t] = F(!1), n = H((o) => {
|
|
5167
5228
|
t(o);
|
|
5168
5229
|
}, []);
|
|
5169
5230
|
return /* @__PURE__ */ s(
|
|
@@ -5171,10 +5232,10 @@ const _o = "flex justify-end gap-2 px-6 py-4", $o = "text-secondary dial-small-1
|
|
|
5171
5232
|
{
|
|
5172
5233
|
type: r ? "text" : "password",
|
|
5173
5234
|
...e,
|
|
5174
|
-
iconAfter: r ? /* @__PURE__ */ s(
|
|
5235
|
+
iconAfter: r ? /* @__PURE__ */ s(Qo, { onClick: () => n(!1) }) : /* @__PURE__ */ s(Jo, { onClick: () => n(!0) })
|
|
5175
5236
|
}
|
|
5176
5237
|
);
|
|
5177
|
-
},
|
|
5238
|
+
}, Ts = ({
|
|
5178
5239
|
fieldTitle: e,
|
|
5179
5240
|
optional: r,
|
|
5180
5241
|
elementCssClass: t,
|
|
@@ -5191,7 +5252,7 @@ const _o = "flex justify-end gap-2 px-6 py-4", $o = "text-secondary dial-small-1
|
|
|
5191
5252
|
}
|
|
5192
5253
|
),
|
|
5193
5254
|
/* @__PURE__ */ s(
|
|
5194
|
-
|
|
5255
|
+
es,
|
|
5195
5256
|
{
|
|
5196
5257
|
cssClass: t,
|
|
5197
5258
|
elementId: n,
|
|
@@ -5201,21 +5262,21 @@ const _o = "flex justify-end gap-2 px-6 py-4", $o = "text-secondary dial-small-1
|
|
|
5201
5262
|
),
|
|
5202
5263
|
/* @__PURE__ */ s(Oe, { errorText: o })
|
|
5203
5264
|
] });
|
|
5204
|
-
var
|
|
5205
|
-
const
|
|
5206
|
-
[
|
|
5265
|
+
var je = /* @__PURE__ */ ((e) => (e.Small = "small", e.Base = "base", e))(je || {});
|
|
5266
|
+
const rs = {
|
|
5267
|
+
[je.Small]: {
|
|
5207
5268
|
textClass: "text-xs px-1",
|
|
5208
5269
|
containerClass: "px-[6px] py-1 h-[22px]",
|
|
5209
5270
|
iconSize: 10,
|
|
5210
5271
|
iconStroke: 1
|
|
5211
5272
|
},
|
|
5212
|
-
[
|
|
5273
|
+
[je.Base]: {
|
|
5213
5274
|
textClass: "text-sm px-2",
|
|
5214
5275
|
containerClass: "px-3 py-2 h-[38px]",
|
|
5215
5276
|
iconSize: 18,
|
|
5216
5277
|
iconStroke: 1.5
|
|
5217
5278
|
}
|
|
5218
|
-
},
|
|
5279
|
+
}, ts = ({
|
|
5219
5280
|
elementId: e,
|
|
5220
5281
|
value: r,
|
|
5221
5282
|
placeholder: t,
|
|
@@ -5225,18 +5286,18 @@ const Qo = {
|
|
|
5225
5286
|
cssClass: i,
|
|
5226
5287
|
containerCssClass: c,
|
|
5227
5288
|
onChange: l,
|
|
5228
|
-
size: d =
|
|
5289
|
+
size: d = je.Base
|
|
5229
5290
|
}) => {
|
|
5230
|
-
const [u,
|
|
5231
|
-
|
|
5232
|
-
|
|
5291
|
+
const [u, g] = F(r || "");
|
|
5292
|
+
ne(() => {
|
|
5293
|
+
g(r || "");
|
|
5233
5294
|
}, [r]);
|
|
5234
|
-
const y =
|
|
5235
|
-
(
|
|
5236
|
-
|
|
5295
|
+
const y = H(
|
|
5296
|
+
(w) => {
|
|
5297
|
+
g(w), l?.(w);
|
|
5237
5298
|
},
|
|
5238
5299
|
[l]
|
|
5239
|
-
), b =
|
|
5300
|
+
), b = rs[d], C = H(() => {
|
|
5240
5301
|
y("");
|
|
5241
5302
|
}, [y]);
|
|
5242
5303
|
return /* @__PURE__ */ x(
|
|
@@ -5252,11 +5313,11 @@ const Qo = {
|
|
|
5252
5313
|
),
|
|
5253
5314
|
children: [
|
|
5254
5315
|
/* @__PURE__ */ s(
|
|
5255
|
-
|
|
5316
|
+
G,
|
|
5256
5317
|
{
|
|
5257
5318
|
className: f(n ? "text-secondary" : "text-primary"),
|
|
5258
5319
|
icon: /* @__PURE__ */ s(
|
|
5259
|
-
|
|
5320
|
+
Ct,
|
|
5260
5321
|
{
|
|
5261
5322
|
size: b.iconSize,
|
|
5262
5323
|
stroke: b.iconStroke
|
|
@@ -5279,11 +5340,11 @@ const Qo = {
|
|
|
5279
5340
|
i,
|
|
5280
5341
|
b.textClass
|
|
5281
5342
|
),
|
|
5282
|
-
onChange: (
|
|
5343
|
+
onChange: (w) => !o && y(w.currentTarget.value)
|
|
5283
5344
|
}
|
|
5284
5345
|
),
|
|
5285
5346
|
u && !o && !n && /* @__PURE__ */ s(
|
|
5286
|
-
|
|
5347
|
+
G,
|
|
5287
5348
|
{
|
|
5288
5349
|
className: "text-primary cursor-pointer",
|
|
5289
5350
|
icon: /* @__PURE__ */ s(
|
|
@@ -5291,7 +5352,7 @@ const Qo = {
|
|
|
5291
5352
|
{
|
|
5292
5353
|
size: b.iconSize,
|
|
5293
5354
|
stroke: b.iconStroke,
|
|
5294
|
-
onClick:
|
|
5355
|
+
onClick: C,
|
|
5295
5356
|
"aria-label": "Clear search",
|
|
5296
5357
|
role: "button"
|
|
5297
5358
|
}
|
|
@@ -5301,7 +5362,7 @@ const Qo = {
|
|
|
5301
5362
|
]
|
|
5302
5363
|
}
|
|
5303
5364
|
);
|
|
5304
|
-
},
|
|
5365
|
+
}, Os = ({
|
|
5305
5366
|
placeholder: e = "",
|
|
5306
5367
|
selectedItems: r = [],
|
|
5307
5368
|
updateSelected: t,
|
|
@@ -5310,14 +5371,14 @@ const Qo = {
|
|
|
5310
5371
|
containerCssClass: a,
|
|
5311
5372
|
inputCssClass: i
|
|
5312
5373
|
}) => {
|
|
5313
|
-
const [c, l] = F(""), d =
|
|
5314
|
-
(
|
|
5315
|
-
|
|
5374
|
+
const [c, l] = F(""), d = H(
|
|
5375
|
+
(g) => {
|
|
5376
|
+
g.key === "Enter" && (t([...r, g.currentTarget.value]), l("")), (g.key === "Backspace" || g.key === "Delete") && r.length && !c && t(r.slice(0, -1));
|
|
5316
5377
|
},
|
|
5317
5378
|
[r, t, c]
|
|
5318
|
-
), u =
|
|
5319
|
-
(
|
|
5320
|
-
l(
|
|
5379
|
+
), u = H(
|
|
5380
|
+
(g) => {
|
|
5381
|
+
l(g.target.value);
|
|
5321
5382
|
},
|
|
5322
5383
|
[l]
|
|
5323
5384
|
);
|
|
@@ -5330,7 +5391,7 @@ const Qo = {
|
|
|
5330
5391
|
]),
|
|
5331
5392
|
children: [
|
|
5332
5393
|
/* @__PURE__ */ s(
|
|
5333
|
-
|
|
5394
|
+
dt,
|
|
5334
5395
|
{
|
|
5335
5396
|
selectedItems: r,
|
|
5336
5397
|
listCssClass: n,
|
|
@@ -5351,7 +5412,7 @@ const Qo = {
|
|
|
5351
5412
|
]
|
|
5352
5413
|
}
|
|
5353
5414
|
);
|
|
5354
|
-
},
|
|
5415
|
+
}, Ms = ({
|
|
5355
5416
|
initialTags: e = [],
|
|
5356
5417
|
fieldTitle: r,
|
|
5357
5418
|
optional: t,
|
|
@@ -5362,23 +5423,23 @@ const Qo = {
|
|
|
5362
5423
|
disabled: c,
|
|
5363
5424
|
onChange: l
|
|
5364
5425
|
}) => {
|
|
5365
|
-
const d = we(null), [u,
|
|
5426
|
+
const d = we(null), [u, g] = F(e), [y, b] = F(""), [C, w] = F(!1), D = (N) => {
|
|
5366
5427
|
const T = N.trim().replace(/,$/, "");
|
|
5367
5428
|
if (T && !u.includes(T)) {
|
|
5368
5429
|
const E = [T, ...u];
|
|
5369
|
-
|
|
5430
|
+
g(E), l?.(E);
|
|
5370
5431
|
}
|
|
5371
5432
|
}, M = (N) => {
|
|
5372
5433
|
(N.key === "," || N.key === "Enter") && (N.preventDefault(), D(y), b(""));
|
|
5373
5434
|
}, O = (N) => {
|
|
5374
5435
|
const T = u.filter((E, _) => _ !== N);
|
|
5375
|
-
|
|
5436
|
+
g(T), l?.(T);
|
|
5376
5437
|
};
|
|
5377
|
-
return
|
|
5438
|
+
return ne(() => {
|
|
5378
5439
|
const N = new ResizeObserver(() => {
|
|
5379
5440
|
if (d.current) {
|
|
5380
5441
|
const T = d.current.scrollHeight > d.current.clientHeight + 10;
|
|
5381
|
-
|
|
5442
|
+
w(T);
|
|
5382
5443
|
}
|
|
5383
5444
|
});
|
|
5384
5445
|
return d.current && N.observe(d.current), () => N.disconnect();
|
|
@@ -5405,7 +5466,7 @@ const Qo = {
|
|
|
5405
5466
|
ref: d,
|
|
5406
5467
|
className: f(
|
|
5407
5468
|
"flex flex-wrap gap-2 items-center",
|
|
5408
|
-
|
|
5469
|
+
C ? "flex-col-reverse" : "flex-row"
|
|
5409
5470
|
),
|
|
5410
5471
|
children: [
|
|
5411
5472
|
u.map((N, T) => /* @__PURE__ */ s(
|
|
@@ -5437,7 +5498,7 @@ const Qo = {
|
|
|
5437
5498
|
),
|
|
5438
5499
|
/* @__PURE__ */ s(Oe, { errorText: a })
|
|
5439
5500
|
] });
|
|
5440
|
-
},
|
|
5501
|
+
}, ns = "dial-input flex px-3 py-2 w-full items-center justify-between gap-2 dial-small min-h-[38px]", os = "w-full rounded", Ke = "flex w-full items-center justify-between gap-2 px-3 h-[34px] dial-small text-primary truncate hover:bg-accent-primary-alpha focus:bg-accent-primary-alpha focus:outline-none", ss = "bg-accent-primary-alpha", as = "bg-accent-primary-alpha border-l border-accent-primary border-1", Dr = "opacity-75", is = /* @__PURE__ */ s(Tr, { size: 16 }), Ps = ({
|
|
5441
5502
|
options: e,
|
|
5442
5503
|
multiple: r = !1,
|
|
5443
5504
|
value: t,
|
|
@@ -5449,82 +5510,82 @@ const Qo = {
|
|
|
5449
5510
|
emptyStateTitle: l = "No options available",
|
|
5450
5511
|
emptyStateDescription: d,
|
|
5451
5512
|
emptyStateIcon: u,
|
|
5452
|
-
disabled:
|
|
5513
|
+
disabled: g = !1,
|
|
5453
5514
|
cssClass: y,
|
|
5454
5515
|
closable: b = !1,
|
|
5455
|
-
onClose:
|
|
5456
|
-
onChange:
|
|
5516
|
+
onClose: C,
|
|
5517
|
+
onChange: w
|
|
5457
5518
|
}) => {
|
|
5458
|
-
const [D, M] = F(!1), [O, N] = F(""), T =
|
|
5519
|
+
const [D, M] = F(!1), [O, N] = F(""), T = Rr(), E = t !== void 0, [_, $] = F(n), v = E ? t : _, P = V(() => r ? Array.isArray(v) ? v : [] : typeof v == "string" ? [v] : [], [v, r]), L = V(() => {
|
|
5459
5520
|
const p = O.trim().toLowerCase();
|
|
5460
5521
|
return p ? e.filter((z) => z.label.toLowerCase().includes(p)) : e;
|
|
5461
5522
|
}, [e, O]);
|
|
5462
|
-
|
|
5523
|
+
ne(() => {
|
|
5463
5524
|
D || N("");
|
|
5464
5525
|
}, [D]);
|
|
5465
|
-
const
|
|
5526
|
+
const B = H(
|
|
5466
5527
|
(p) => {
|
|
5467
|
-
E || $(p),
|
|
5528
|
+
E || $(p), w?.(p);
|
|
5468
5529
|
},
|
|
5469
|
-
[E,
|
|
5530
|
+
[E, w]
|
|
5470
5531
|
), q = (p) => {
|
|
5471
5532
|
if (r) {
|
|
5472
5533
|
const z = new Set(P);
|
|
5473
|
-
z.has(p) ? z.delete(p) : z.add(p),
|
|
5534
|
+
z.has(p) ? z.delete(p) : z.add(p), B(Array.from(z));
|
|
5474
5535
|
} else
|
|
5475
|
-
|
|
5476
|
-
},
|
|
5536
|
+
B(p), M(!1);
|
|
5537
|
+
}, pe = H(
|
|
5477
5538
|
(p, z) => {
|
|
5478
5539
|
if (p.stopPropagation(), !r) {
|
|
5479
|
-
|
|
5540
|
+
B("");
|
|
5480
5541
|
return;
|
|
5481
5542
|
}
|
|
5482
5543
|
const ee = P.filter((R) => R !== z);
|
|
5483
|
-
|
|
5544
|
+
B(ee);
|
|
5484
5545
|
},
|
|
5485
|
-
[r, P,
|
|
5546
|
+
[r, P, B]
|
|
5486
5547
|
), K = V(
|
|
5487
5548
|
() => L.filter((p) => !p.disabled),
|
|
5488
5549
|
[L]
|
|
5489
5550
|
), Q = V(
|
|
5490
5551
|
() => K.filter((p) => P.includes(p.value)).length,
|
|
5491
5552
|
[K, P]
|
|
5492
|
-
), U = K.length > 0 && Q === K.length, J = Q > 0 && !U,
|
|
5553
|
+
), U = K.length > 0 && Q === K.length, J = Q > 0 && !U, k = () => {
|
|
5493
5554
|
if (!(!r || K.length === 0))
|
|
5494
5555
|
if (U) {
|
|
5495
5556
|
const p = new Set(K.map((ee) => ee.value)), z = P.filter((ee) => !p.has(ee));
|
|
5496
|
-
|
|
5557
|
+
B(z);
|
|
5497
5558
|
} else {
|
|
5498
5559
|
const p = new Set(P);
|
|
5499
|
-
K.forEach((z) => p.add(z.value)),
|
|
5560
|
+
K.forEach((z) => p.add(z.value)), B(Array.from(p));
|
|
5500
5561
|
}
|
|
5501
|
-
}, ie = P.length > 0, I = !r && ie ? P[0] : void 0,
|
|
5562
|
+
}, ie = P.length > 0, I = !r && ie ? P[0] : void 0, W = V(
|
|
5502
5563
|
() => I ? e.find((p) => p.value === I) : void 0,
|
|
5503
5564
|
[e, I]
|
|
5504
|
-
),
|
|
5565
|
+
), oe = H(() => !r || P.length === 0 ? null : /* @__PURE__ */ s("div", { className: "flex flex-wrap w-full items-center gap-1", children: P.map((p) => {
|
|
5505
5566
|
const z = e.find((R) => R.value === p)?.label ?? p, ee = e.find((R) => R.value === p)?.icon;
|
|
5506
5567
|
return /* @__PURE__ */ s(
|
|
5507
5568
|
cr,
|
|
5508
5569
|
{
|
|
5509
5570
|
tag: z,
|
|
5510
|
-
remove: (R) =>
|
|
5511
|
-
iconBefore: ee ? /* @__PURE__ */ s(
|
|
5571
|
+
remove: (R) => pe(R, p),
|
|
5572
|
+
iconBefore: ee ? /* @__PURE__ */ s(G, { icon: ee }) : null,
|
|
5512
5573
|
cssClass: "max-w-full"
|
|
5513
5574
|
},
|
|
5514
5575
|
p
|
|
5515
5576
|
);
|
|
5516
|
-
}) }), [r, e, P,
|
|
5517
|
-
|
|
5518
|
-
/* @__PURE__ */ s(Se, { text:
|
|
5519
|
-
] }) : /* @__PURE__ */ s("span", { className: "text-secondary truncate", children: o }), [ie, r, o,
|
|
5577
|
+
}) }), [r, e, P, pe]), A = H(() => r ? ie ? oe() : /* @__PURE__ */ s("span", { className: "text-secondary truncate", children: o }) : W ? /* @__PURE__ */ x(ae, { children: [
|
|
5578
|
+
W.icon && /* @__PURE__ */ s(G, { icon: W.icon }),
|
|
5579
|
+
/* @__PURE__ */ s(Se, { text: W.label })
|
|
5580
|
+
] }) : /* @__PURE__ */ s("span", { className: "text-secondary truncate", children: o }), [ie, r, o, oe, W]);
|
|
5520
5581
|
return /* @__PURE__ */ s(
|
|
5521
|
-
|
|
5582
|
+
it,
|
|
5522
5583
|
{
|
|
5523
5584
|
open: D,
|
|
5524
5585
|
onOpenChange: M,
|
|
5525
|
-
disabled:
|
|
5586
|
+
disabled: g,
|
|
5526
5587
|
closable: b,
|
|
5527
|
-
onClose:
|
|
5588
|
+
onClose: C,
|
|
5528
5589
|
placement: "bottom-start",
|
|
5529
5590
|
allowedPlacements: ["bottom-start", "top-start"],
|
|
5530
5591
|
renderOverlay: () => /* @__PURE__ */ x(
|
|
@@ -5533,11 +5594,11 @@ const Qo = {
|
|
|
5533
5594
|
id: T,
|
|
5534
5595
|
role: "listbox",
|
|
5535
5596
|
"aria-multiselectable": r || void 0,
|
|
5536
|
-
className:
|
|
5597
|
+
className: os,
|
|
5537
5598
|
children: [
|
|
5538
5599
|
(a || b) && /* @__PURE__ */ x("div", { className: "flex items-center gap-2 px-2 pt-2", children: [
|
|
5539
5600
|
a && /* @__PURE__ */ s(
|
|
5540
|
-
|
|
5601
|
+
ts,
|
|
5541
5602
|
{
|
|
5542
5603
|
onChange: N,
|
|
5543
5604
|
value: O,
|
|
@@ -5545,32 +5606,32 @@ const Qo = {
|
|
|
5545
5606
|
}
|
|
5546
5607
|
),
|
|
5547
5608
|
b && /* @__PURE__ */ s(
|
|
5548
|
-
|
|
5609
|
+
te,
|
|
5549
5610
|
{
|
|
5550
5611
|
ariaLabel: "Close select",
|
|
5551
5612
|
cssClass: "shrink-0",
|
|
5552
5613
|
iconBefore: /* @__PURE__ */ s(Te, { size: 16 }),
|
|
5553
5614
|
onClick: (p) => {
|
|
5554
|
-
|
|
5615
|
+
C?.(p), M(!1);
|
|
5555
5616
|
}
|
|
5556
5617
|
}
|
|
5557
5618
|
)
|
|
5558
5619
|
] }),
|
|
5559
5620
|
r && i && K.length > 0 && /* @__PURE__ */ s("div", { className: f(Ke, "mt-2"), children: /* @__PURE__ */ s(
|
|
5560
|
-
|
|
5621
|
+
pr,
|
|
5561
5622
|
{
|
|
5562
5623
|
id: `${T}-selectAll`,
|
|
5563
5624
|
label: c,
|
|
5564
5625
|
checked: U,
|
|
5565
5626
|
indeterminate: J,
|
|
5566
|
-
onChange:
|
|
5627
|
+
onChange: k,
|
|
5567
5628
|
ariaLabel: c
|
|
5568
5629
|
}
|
|
5569
5630
|
) }),
|
|
5570
5631
|
/* @__PURE__ */ s("div", { className: "overflow-y-auto py-1", children: L.length === 0 ? /* @__PURE__ */ s("div", { className: "px-2 py-3", children: /* @__PURE__ */ s(
|
|
5571
5632
|
Qt,
|
|
5572
5633
|
{
|
|
5573
|
-
icon: u ?? /* @__PURE__ */ s(
|
|
5634
|
+
icon: u ?? /* @__PURE__ */ s(Sr, { size: 24 }),
|
|
5574
5635
|
title: l,
|
|
5575
5636
|
description: d
|
|
5576
5637
|
}
|
|
@@ -5581,16 +5642,16 @@ const Qo = {
|
|
|
5581
5642
|
{
|
|
5582
5643
|
className: f(
|
|
5583
5644
|
Ke,
|
|
5584
|
-
z &&
|
|
5585
|
-
p.disabled &&
|
|
5645
|
+
z && ss,
|
|
5646
|
+
p.disabled && Dr,
|
|
5586
5647
|
"w-full"
|
|
5587
5648
|
),
|
|
5588
5649
|
children: /* @__PURE__ */ s(
|
|
5589
|
-
|
|
5650
|
+
pr,
|
|
5590
5651
|
{
|
|
5591
5652
|
id: `${T}-${p.value}`,
|
|
5592
5653
|
label: /* @__PURE__ */ x("span", { className: "flex w-full flex-1 min-w-0 items-center gap-2 text-primary", children: [
|
|
5593
|
-
p.icon && /* @__PURE__ */ s(
|
|
5654
|
+
p.icon && /* @__PURE__ */ s(G, { icon: p.icon }),
|
|
5594
5655
|
/* @__PURE__ */ s("span", { className: "truncate", children: p.label })
|
|
5595
5656
|
] }),
|
|
5596
5657
|
checked: z,
|
|
@@ -5611,12 +5672,12 @@ const Qo = {
|
|
|
5611
5672
|
disabled: p.disabled,
|
|
5612
5673
|
className: f(
|
|
5613
5674
|
Ke,
|
|
5614
|
-
z &&
|
|
5615
|
-
p.disabled &&
|
|
5675
|
+
z && as,
|
|
5676
|
+
p.disabled && Dr
|
|
5616
5677
|
),
|
|
5617
5678
|
onClick: () => !p.disabled && q(p.value),
|
|
5618
5679
|
children: /* @__PURE__ */ x("div", { className: "flex items-center gap-2 w-full", children: [
|
|
5619
|
-
p.icon && /* @__PURE__ */ s(
|
|
5680
|
+
p.icon && /* @__PURE__ */ s(G, { icon: p.icon }),
|
|
5620
5681
|
/* @__PURE__ */ s(Se, { text: p.label })
|
|
5621
5682
|
] })
|
|
5622
5683
|
},
|
|
@@ -5633,18 +5694,18 @@ const Qo = {
|
|
|
5633
5694
|
"aria-haspopup": "listbox",
|
|
5634
5695
|
"aria-expanded": D,
|
|
5635
5696
|
"aria-controls": T,
|
|
5636
|
-
className:
|
|
5637
|
-
|
|
5638
|
-
|
|
5697
|
+
className: Z(
|
|
5698
|
+
ns,
|
|
5699
|
+
g && "opacity-75 !cursor-not-allowed",
|
|
5639
5700
|
y
|
|
5640
5701
|
),
|
|
5641
|
-
onClick: () => !
|
|
5702
|
+
onClick: () => !g && M((p) => !p),
|
|
5642
5703
|
children: [
|
|
5643
5704
|
/* @__PURE__ */ s("div", { className: "flex min-w-0 items-center gap-2 text-primary", children: A() }),
|
|
5644
5705
|
/* @__PURE__ */ s(
|
|
5645
|
-
|
|
5706
|
+
G,
|
|
5646
5707
|
{
|
|
5647
|
-
icon:
|
|
5708
|
+
icon: is,
|
|
5648
5709
|
className: f("text-primary", D && "rotate-180")
|
|
5649
5710
|
}
|
|
5650
5711
|
)
|
|
@@ -5658,52 +5719,53 @@ export {
|
|
|
5658
5719
|
be as AlertVariant,
|
|
5659
5720
|
Y as ButtonVariant,
|
|
5660
5721
|
Ve as ConfirmationPopupVariant,
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5722
|
+
gs as DialAlert,
|
|
5723
|
+
Os as DialAutocompleteInput,
|
|
5724
|
+
dt as DialAutocompleteInputValue,
|
|
5725
|
+
ws as DialBreadcrumb,
|
|
5665
5726
|
Eo as DialBreadcrumbItem,
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5727
|
+
te as DialButton,
|
|
5728
|
+
pr as DialCheckbox,
|
|
5729
|
+
at as DialCloseButton,
|
|
5730
|
+
hs as DialCollapsibleSidebar,
|
|
5731
|
+
Is as DialConfirmationPopup,
|
|
5732
|
+
xs as DialDraggableItem,
|
|
5733
|
+
it as DialDropdown,
|
|
5673
5734
|
Se as DialEllipsisTooltip,
|
|
5674
5735
|
Oe as DialErrorText,
|
|
5675
5736
|
ve as DialFieldLabel,
|
|
5676
|
-
|
|
5737
|
+
Ss as DialFormPopup,
|
|
5738
|
+
G as DialIcon,
|
|
5677
5739
|
Fe as DialInput,
|
|
5678
5740
|
Ko as DialInputPopup,
|
|
5679
|
-
|
|
5680
|
-
|
|
5741
|
+
bs as DialLabelledText,
|
|
5742
|
+
Hr as DialLoader,
|
|
5681
5743
|
Qt as DialNoDataContent,
|
|
5682
|
-
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5744
|
+
vs as DialNumberInputField,
|
|
5745
|
+
es as DialPasswordInput,
|
|
5746
|
+
Ts as DialPasswordInputField,
|
|
5747
|
+
dr as DialPopup,
|
|
5686
5748
|
Ut as DialRadioButton,
|
|
5687
5749
|
Xt as DialRadioGroup,
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5750
|
+
Ns as DialRadioGroupPopupField,
|
|
5751
|
+
ts as DialSearch,
|
|
5752
|
+
Ps as DialSelect,
|
|
5753
|
+
ms as DialSteps,
|
|
5754
|
+
Ds as DialSwitch,
|
|
5693
5755
|
qe as DialTab,
|
|
5694
|
-
|
|
5756
|
+
ys as DialTabs,
|
|
5695
5757
|
cr as DialTag,
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
|
|
5758
|
+
Ms as DialTagInput,
|
|
5759
|
+
ks as DialTextAreaField,
|
|
5760
|
+
Cs as DialTextInputField,
|
|
5699
5761
|
Ao as DialTextarea,
|
|
5700
5762
|
me as DialTooltip,
|
|
5701
5763
|
vo as DropdownType,
|
|
5702
|
-
|
|
5764
|
+
ce as PopupSize,
|
|
5703
5765
|
Le as RadioGroupOrientation,
|
|
5704
|
-
|
|
5705
|
-
|
|
5766
|
+
je as SearchSize,
|
|
5767
|
+
X as StepStatus,
|
|
5706
5768
|
er as TabOrientation,
|
|
5707
5769
|
ir as TagVariant,
|
|
5708
|
-
|
|
5770
|
+
Z as mergeClasses
|
|
5709
5771
|
};
|