stp-ui-kit 0.0.48 → 0.0.49
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/components/Checkbox/Checkbox.d.ts +1 -0
- package/dist/components/RadioButton/RadioButton.d.ts +2 -1
- package/dist/stp-ui-kit.cjs.js +3 -3
- package/dist/stp-ui-kit.cjs.js.map +1 -1
- package/dist/stp-ui-kit.es.js +318 -291
- package/dist/stp-ui-kit.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/stp-ui-kit.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as d, jsxs as z, Fragment as So } from "react/jsx-runtime";
|
|
2
|
-
import p, { useState as Et, useEffect as $e, forwardRef as Ge, createElement as
|
|
3
|
-
import
|
|
4
|
-
import { createRoot as
|
|
2
|
+
import p, { useState as Et, useEffect as $e, forwardRef as Ge, createElement as ye, useRef as oe, createContext as To, useContext as Io, useId as Eo } from "react";
|
|
3
|
+
import Ao, { createPortal as Bo } from "react-dom";
|
|
4
|
+
import { createRoot as jo } from "react-dom/client";
|
|
5
5
|
var zo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
6
6
|
function We(t) {
|
|
7
7
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
@@ -98,7 +98,7 @@ var Xe = { exports: {} };
|
|
|
98
98
|
(function(o, n) {
|
|
99
99
|
t.exports = n();
|
|
100
100
|
})(zo, function() {
|
|
101
|
-
var o = 1e3, n = 6e4, a = 36e5, r = "millisecond", l = "second", f = "minute", m = "hour", u = "day",
|
|
101
|
+
var o = 1e3, n = 6e4, a = 36e5, r = "millisecond", l = "second", f = "minute", m = "hour", u = "day", _ = "week", s = "month", D = "quarter", B = "year", M = "date", P = "Invalid Date", w = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, L = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, et = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(C) {
|
|
102
102
|
var h = ["th", "st", "nd", "rd"], c = C % 100;
|
|
103
103
|
return "[" + C + (h[(c - 20) % 10] || h[c] || h[0]) + "]";
|
|
104
104
|
} }, G = function(C, h, c) {
|
|
@@ -114,7 +114,7 @@ var Xe = { exports: {} };
|
|
|
114
114
|
}, a: function(C) {
|
|
115
115
|
return C < 0 ? Math.ceil(C) || 0 : Math.floor(C);
|
|
116
116
|
}, p: function(C) {
|
|
117
|
-
return { M: s, y:
|
|
117
|
+
return { M: s, y: B, w: _, d: u, D: M, h: m, m: f, s: l, ms: r, Q: D }[C] || String(C || "").toLowerCase().replace(/s$/, "");
|
|
118
118
|
}, u: function(C) {
|
|
119
119
|
return C === void 0;
|
|
120
120
|
} }, F = "en", q = {};
|
|
@@ -190,11 +190,11 @@ var Xe = { exports: {} };
|
|
|
190
190
|
return T.w(i.toDate()[K].apply(i.toDate("s"), (x ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(V)), i);
|
|
191
191
|
}, v = this.$W, I = this.$M, Y = this.$D, O = "set" + (this.$u ? "UTC" : "");
|
|
192
192
|
switch (N) {
|
|
193
|
-
case
|
|
193
|
+
case B:
|
|
194
194
|
return x ? k(1, 0) : k(31, 11);
|
|
195
195
|
case s:
|
|
196
196
|
return x ? k(1, I) : k(0, I + 1);
|
|
197
|
-
case
|
|
197
|
+
case _:
|
|
198
198
|
var R = this.$locale().weekStart || 0, nt = (v < R ? v + 7 : v) - R;
|
|
199
199
|
return k(x ? Y - nt : Y + (6 - nt), I);
|
|
200
200
|
case u:
|
|
@@ -212,8 +212,8 @@ var Xe = { exports: {} };
|
|
|
212
212
|
}, h.endOf = function(c) {
|
|
213
213
|
return this.startOf(c, !1);
|
|
214
214
|
}, h.$set = function(c, g) {
|
|
215
|
-
var i, x = T.p(c), N = "set" + (this.$u ? "UTC" : ""), k = (i = {}, i[u] = N + "Date", i[M] = N + "Date", i[s] = N + "Month", i[
|
|
216
|
-
if (x === s || x ===
|
|
215
|
+
var i, x = T.p(c), N = "set" + (this.$u ? "UTC" : ""), k = (i = {}, i[u] = N + "Date", i[M] = N + "Date", i[s] = N + "Month", i[B] = N + "FullYear", i[m] = N + "Hours", i[f] = N + "Minutes", i[l] = N + "Seconds", i[r] = N + "Milliseconds", i)[x], S = x === u ? this.$D + (g - this.$W) : g;
|
|
216
|
+
if (x === s || x === B) {
|
|
217
217
|
var v = this.clone().set(M, 1);
|
|
218
218
|
v.$d[k](S), v.init(), this.$d = v.set(M, Math.min(this.$D, v.daysInMonth())).$d;
|
|
219
219
|
} else k && this.$d[k](S);
|
|
@@ -230,9 +230,9 @@ var Xe = { exports: {} };
|
|
|
230
230
|
return T.w(Y.date(Y.date() + Math.round(I * c)), x);
|
|
231
231
|
};
|
|
232
232
|
if (N === s) return this.set(s, this.$M + c);
|
|
233
|
-
if (N ===
|
|
233
|
+
if (N === B) return this.set(B, this.$y + c);
|
|
234
234
|
if (N === u) return k(1);
|
|
235
|
-
if (N ===
|
|
235
|
+
if (N === _) return k(7);
|
|
236
236
|
var S = (i = {}, i[f] = n, i[m] = a, i[l] = o, i)[N] || 1, v = this.$d.getTime() + c * S;
|
|
237
237
|
return T.w(v, this);
|
|
238
238
|
}, h.subtract = function(c, g) {
|
|
@@ -310,7 +310,7 @@ var Xe = { exports: {} };
|
|
|
310
310
|
return T.m(N, S);
|
|
311
311
|
};
|
|
312
312
|
switch (k) {
|
|
313
|
-
case
|
|
313
|
+
case B:
|
|
314
314
|
x = Y() / 12;
|
|
315
315
|
break;
|
|
316
316
|
case s:
|
|
@@ -319,7 +319,7 @@ var Xe = { exports: {} };
|
|
|
319
319
|
case D:
|
|
320
320
|
x = Y() / 3;
|
|
321
321
|
break;
|
|
322
|
-
case
|
|
322
|
+
case _:
|
|
323
323
|
x = (I - v) / 6048e5;
|
|
324
324
|
break;
|
|
325
325
|
case u:
|
|
@@ -358,7 +358,7 @@ var Xe = { exports: {} };
|
|
|
358
358
|
return this.$d.toUTCString();
|
|
359
359
|
}, C;
|
|
360
360
|
}(), ot = W.prototype;
|
|
361
|
-
return H.prototype = ot, [["$ms", r], ["$s", l], ["$m", f], ["$H", m], ["$W", u], ["$M", s], ["$y",
|
|
361
|
+
return H.prototype = ot, [["$ms", r], ["$s", l], ["$m", f], ["$H", m], ["$W", u], ["$M", s], ["$y", B], ["$D", M]].forEach(function(C) {
|
|
362
362
|
ot[C[1]] = function(h) {
|
|
363
363
|
return this.$g(h, C[0], C[1]);
|
|
364
364
|
};
|
|
@@ -382,27 +382,27 @@ const Zo = /* @__PURE__ */ We(Ko), Jo = (t) => {
|
|
|
382
382
|
buttonColor: r,
|
|
383
383
|
onClick: l
|
|
384
384
|
}) => {
|
|
385
|
-
const [f, m] = Et(!1), [u,
|
|
385
|
+
const [f, m] = Et(!1), [u, _] = Et({
|
|
386
386
|
days: 0,
|
|
387
387
|
hours: 0,
|
|
388
388
|
minutes: 0,
|
|
389
389
|
seconds: 0
|
|
390
390
|
});
|
|
391
391
|
$e(() => {
|
|
392
|
-
const D = new Date(n),
|
|
392
|
+
const D = new Date(n), B = (w) => ({
|
|
393
393
|
days: Math.floor(w / (1e3 * 60 * 60 * 24)),
|
|
394
394
|
hours: Math.floor(w / (1e3 * 60 * 60) % 24),
|
|
395
395
|
minutes: Math.floor(w / (1e3 * 60) % 60),
|
|
396
396
|
seconds: Math.floor(w / 1e3 % 60)
|
|
397
397
|
}), M = () => {
|
|
398
398
|
const w = Date.now(), L = D.getTime() - w;
|
|
399
|
-
L <= 0 ? (m(!0),
|
|
399
|
+
L <= 0 ? (m(!0), _({ days: 0, hours: 0, minutes: 0, seconds: 0 })) : _(B(L));
|
|
400
400
|
};
|
|
401
401
|
M();
|
|
402
402
|
const P = setInterval(M, 1e3);
|
|
403
403
|
return () => clearInterval(P);
|
|
404
404
|
}, [n]);
|
|
405
|
-
const s = (D,
|
|
405
|
+
const s = (D, B) => /* @__PURE__ */ z("div", { className: Ct.timerCell, children: [
|
|
406
406
|
/* @__PURE__ */ d(
|
|
407
407
|
st,
|
|
408
408
|
{
|
|
@@ -411,7 +411,7 @@ const Zo = /* @__PURE__ */ We(Ko), Jo = (t) => {
|
|
|
411
411
|
children: D
|
|
412
412
|
}
|
|
413
413
|
),
|
|
414
|
-
|
|
414
|
+
B
|
|
415
415
|
] });
|
|
416
416
|
return /* @__PURE__ */ z(
|
|
417
417
|
"div",
|
|
@@ -554,7 +554,7 @@ const un = Ge(
|
|
|
554
554
|
children: r,
|
|
555
555
|
iconNode: l,
|
|
556
556
|
...f
|
|
557
|
-
}, m) =>
|
|
557
|
+
}, m) => ye(
|
|
558
558
|
"svg",
|
|
559
559
|
{
|
|
560
560
|
ref: m,
|
|
@@ -568,7 +568,7 @@ const un = Ge(
|
|
|
568
568
|
...f
|
|
569
569
|
},
|
|
570
570
|
[
|
|
571
|
-
...l.map(([u,
|
|
571
|
+
...l.map(([u, _]) => ye(u, _)),
|
|
572
572
|
...Array.isArray(r) ? r : [r]
|
|
573
573
|
]
|
|
574
574
|
)
|
|
@@ -579,9 +579,9 @@ const un = Ge(
|
|
|
579
579
|
* This source code is licensed under the ISC license.
|
|
580
580
|
* See the LICENSE file in the root directory of this source tree.
|
|
581
581
|
*/
|
|
582
|
-
const
|
|
582
|
+
const At = (t, e) => {
|
|
583
583
|
const o = Ge(
|
|
584
|
-
({ className: n, ...a }, r) =>
|
|
584
|
+
({ className: n, ...a }, r) => ye(un, {
|
|
585
585
|
ref: r,
|
|
586
586
|
iconNode: e,
|
|
587
587
|
className: Ke(
|
|
@@ -603,21 +603,21 @@ const jt = (t, e) => {
|
|
|
603
603
|
const mn = [
|
|
604
604
|
["path", { d: "M18 6 7 17l-5-5", key: "116fxf" }],
|
|
605
605
|
["path", { d: "m22 10-7.5 7.5L13 16", key: "ke71qq" }]
|
|
606
|
-
], fn =
|
|
606
|
+
], fn = At("check-check", mn);
|
|
607
607
|
/**
|
|
608
608
|
* @license lucide-react v0.511.0 - ISC
|
|
609
609
|
*
|
|
610
610
|
* This source code is licensed under the ISC license.
|
|
611
611
|
* See the LICENSE file in the root directory of this source tree.
|
|
612
612
|
*/
|
|
613
|
-
const pn = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], Ze =
|
|
613
|
+
const pn = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], Ze = At("chevron-down", pn);
|
|
614
614
|
/**
|
|
615
615
|
* @license lucide-react v0.511.0 - ISC
|
|
616
616
|
*
|
|
617
617
|
* This source code is licensed under the ISC license.
|
|
618
618
|
* See the LICENSE file in the root directory of this source tree.
|
|
619
619
|
*/
|
|
620
|
-
const hn = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]], Je =
|
|
620
|
+
const hn = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]], Je = At("chevron-up", hn);
|
|
621
621
|
/**
|
|
622
622
|
* @license lucide-react v0.511.0 - ISC
|
|
623
623
|
*
|
|
@@ -628,7 +628,7 @@ const gn = [
|
|
|
628
628
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
629
629
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
630
630
|
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
631
|
-
], Qe =
|
|
631
|
+
], Qe = At("circle-alert", gn);
|
|
632
632
|
/**
|
|
633
633
|
* @license lucide-react v0.511.0 - ISC
|
|
634
634
|
*
|
|
@@ -645,14 +645,14 @@ const bn = [
|
|
|
645
645
|
key: "1fd625"
|
|
646
646
|
}
|
|
647
647
|
]
|
|
648
|
-
], to =
|
|
648
|
+
], to = At("octagon-alert", bn);
|
|
649
649
|
/**
|
|
650
650
|
* @license lucide-react v0.511.0 - ISC
|
|
651
651
|
*
|
|
652
652
|
* This source code is licensed under the ISC license.
|
|
653
653
|
* See the LICENSE file in the root directory of this source tree.
|
|
654
654
|
*/
|
|
655
|
-
const
|
|
655
|
+
const yn = [
|
|
656
656
|
[
|
|
657
657
|
"path",
|
|
658
658
|
{
|
|
@@ -662,17 +662,17 @@ const _n = [
|
|
|
662
662
|
],
|
|
663
663
|
["path", { d: "M12 9v4", key: "juzpu7" }],
|
|
664
664
|
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
665
|
-
], eo =
|
|
665
|
+
], eo = At("triangle-alert", yn);
|
|
666
666
|
/**
|
|
667
667
|
* @license lucide-react v0.511.0 - ISC
|
|
668
668
|
*
|
|
669
669
|
* This source code is licensed under the ISC license.
|
|
670
670
|
* See the LICENSE file in the root directory of this source tree.
|
|
671
671
|
*/
|
|
672
|
-
const
|
|
672
|
+
const _n = [
|
|
673
673
|
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
674
674
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
675
|
-
], ne =
|
|
675
|
+
], ne = At("x", _n), vn = "_message_yijnh_29", Le = {
|
|
676
676
|
message: vn
|
|
677
677
|
}, Ce = ({ children: t }) => /* @__PURE__ */ z("div", { className: E(Le.message), children: [
|
|
678
678
|
/* @__PURE__ */ d(
|
|
@@ -683,7 +683,7 @@ const yn = [
|
|
|
683
683
|
}
|
|
684
684
|
),
|
|
685
685
|
t
|
|
686
|
-
] }), wn = "
|
|
686
|
+
] }), wn = "_formItem_lhy54_29", xn = "_labelContainer_lhy54_41", kn = "_disabled_lhy54_47", $n = "_message_lhy54_54", Cn = "_checkbox_lhy54_58", Nn = "_error_lhy54_96", bt = {
|
|
687
687
|
formItem: wn,
|
|
688
688
|
labelContainer: xn,
|
|
689
689
|
disabled: kn,
|
|
@@ -697,22 +697,32 @@ const yn = [
|
|
|
697
697
|
disabled: n,
|
|
698
698
|
className: a,
|
|
699
699
|
indeterminate: r,
|
|
700
|
-
|
|
700
|
+
onChange: l,
|
|
701
|
+
...f
|
|
701
702
|
}) => {
|
|
702
|
-
const
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
}, [r])
|
|
703
|
+
const m = oe(null);
|
|
704
|
+
$e(() => {
|
|
705
|
+
m.current && (m.current.indeterminate = !!r);
|
|
706
|
+
}, [r]);
|
|
707
|
+
const u = () => {
|
|
708
|
+
if (m.current && !n) {
|
|
709
|
+
const _ = {
|
|
710
|
+
target: m.current
|
|
711
|
+
};
|
|
712
|
+
l == null || l(_);
|
|
713
|
+
}
|
|
714
|
+
};
|
|
715
|
+
return /* @__PURE__ */ z("div", { className: bt.formItem, children: [
|
|
706
716
|
/* @__PURE__ */ d(
|
|
707
717
|
"input",
|
|
708
718
|
{
|
|
709
|
-
ref:
|
|
719
|
+
ref: m,
|
|
710
720
|
type: "checkbox",
|
|
711
721
|
className: E(a, bt.checkbox, {
|
|
712
722
|
[bt.error]: !!e
|
|
713
723
|
}),
|
|
714
724
|
disabled: n,
|
|
715
|
-
...
|
|
725
|
+
...f
|
|
716
726
|
}
|
|
717
727
|
),
|
|
718
728
|
/* @__PURE__ */ z("div", { className: bt.labelContainer, children: [
|
|
@@ -722,6 +732,7 @@ const yn = [
|
|
|
722
732
|
className: E(bt.label, {
|
|
723
733
|
[bt.disabled]: n
|
|
724
734
|
}),
|
|
735
|
+
onClick: u,
|
|
725
736
|
children: t
|
|
726
737
|
}
|
|
727
738
|
),
|
|
@@ -734,7 +745,7 @@ const yn = [
|
|
|
734
745
|
children: e ? /* @__PURE__ */ d(Ce, { children: e }) : o
|
|
735
746
|
}
|
|
736
747
|
),
|
|
737
|
-
o && /* @__PURE__ */ d(
|
|
748
|
+
o && !e && /* @__PURE__ */ d(
|
|
738
749
|
"div",
|
|
739
750
|
{
|
|
740
751
|
className: E(bt.message, {
|
|
@@ -745,15 +756,15 @@ const yn = [
|
|
|
745
756
|
)
|
|
746
757
|
] })
|
|
747
758
|
] });
|
|
748
|
-
}, Mn = "_navigationItem_1epug_29", Sn = "_container_1epug_45", Tn = "_IconContainer_1epug_51", In = "_ParentLine_1epug_57", En = "_secondaryIcon_1epug_69",
|
|
759
|
+
}, Mn = "_navigationItem_1epug_29", Sn = "_container_1epug_45", Tn = "_IconContainer_1epug_51", In = "_ParentLine_1epug_57", En = "_secondaryIcon_1epug_69", An = "_active_1epug_80", Bn = "_collapsed_1epug_88", jn = "_label_1epug_92", xt = {
|
|
749
760
|
navigationItem: Mn,
|
|
750
761
|
container: Sn,
|
|
751
762
|
IconContainer: Tn,
|
|
752
763
|
ParentLine: In,
|
|
753
764
|
secondaryIcon: En,
|
|
754
|
-
active:
|
|
755
|
-
collapsed:
|
|
756
|
-
label:
|
|
765
|
+
active: An,
|
|
766
|
+
collapsed: Bn,
|
|
767
|
+
label: jn
|
|
757
768
|
}, ae = ({
|
|
758
769
|
icon: t,
|
|
759
770
|
label: e,
|
|
@@ -831,7 +842,7 @@ const yn = [
|
|
|
831
842
|
className: E(a && n === -1 && Gt.isOpen)
|
|
832
843
|
}
|
|
833
844
|
),
|
|
834
|
-
/* @__PURE__ */ d("div", { className: Gt.childContainer, children: a && ((m = o.children) == null ? void 0 : m.map((u,
|
|
845
|
+
/* @__PURE__ */ d("div", { className: Gt.childContainer, children: a && ((m = o.children) == null ? void 0 : m.map((u, _) => /* @__PURE__ */ z(
|
|
835
846
|
"div",
|
|
836
847
|
{
|
|
837
848
|
className: E(
|
|
@@ -841,14 +852,14 @@ const yn = [
|
|
|
841
852
|
onClick: () => e(u),
|
|
842
853
|
children: [
|
|
843
854
|
/* @__PURE__ */ z("div", { className: Gt.arrowBlock, children: [
|
|
844
|
-
n ===
|
|
855
|
+
n === _ && /* @__PURE__ */ d(
|
|
845
856
|
"img",
|
|
846
857
|
{
|
|
847
858
|
src: "/assets/icons/ArrowLine.svg",
|
|
848
859
|
alt: "Arrow Indicator"
|
|
849
860
|
}
|
|
850
861
|
),
|
|
851
|
-
|
|
862
|
+
_ < (n ?? -1) && /* @__PURE__ */ d(
|
|
852
863
|
"img",
|
|
853
864
|
{
|
|
854
865
|
src: "/assets/icons/SideLine.svg",
|
|
@@ -899,7 +910,7 @@ const yn = [
|
|
|
899
910
|
className: E(a && n === -1 && Lt.isOpen)
|
|
900
911
|
}
|
|
901
912
|
),
|
|
902
|
-
/* @__PURE__ */ d("div", { className: Lt.childContainer, children: a && ((m = o.children) == null ? void 0 : m.map((u,
|
|
913
|
+
/* @__PURE__ */ d("div", { className: Lt.childContainer, children: a && ((m = o.children) == null ? void 0 : m.map((u, _) => /* @__PURE__ */ z(
|
|
903
914
|
"div",
|
|
904
915
|
{
|
|
905
916
|
className: E(
|
|
@@ -909,14 +920,14 @@ const yn = [
|
|
|
909
920
|
onClick: () => e(u),
|
|
910
921
|
children: [
|
|
911
922
|
/* @__PURE__ */ z("div", { className: Lt.arrowBlock, children: [
|
|
912
|
-
n ===
|
|
923
|
+
n === _ && /* @__PURE__ */ d(
|
|
913
924
|
"img",
|
|
914
925
|
{
|
|
915
926
|
src: "/assets/icons/ArrowLine.svg",
|
|
916
927
|
alt: "Arrow Indicator"
|
|
917
928
|
}
|
|
918
929
|
),
|
|
919
|
-
|
|
930
|
+
_ < (n ?? -1) && /* @__PURE__ */ d(
|
|
920
931
|
"img",
|
|
921
932
|
{
|
|
922
933
|
src: "/assets/icons/SideLine.svg",
|
|
@@ -1005,14 +1016,14 @@ const yn = [
|
|
|
1005
1016
|
src: t,
|
|
1006
1017
|
alt: o
|
|
1007
1018
|
}
|
|
1008
|
-
),
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1019
|
+
), Bt = Kn;
|
|
1020
|
+
Bt.Title = Zn;
|
|
1021
|
+
Bt.Context = Jn;
|
|
1022
|
+
Bt.Content = Qn;
|
|
1023
|
+
Bt.ButtonContent = ts;
|
|
1024
|
+
Bt.PrimaryButton = es;
|
|
1025
|
+
Bt.SecondaryButton = os;
|
|
1026
|
+
Bt.Image = ns;
|
|
1016
1027
|
const ss = "_formItem_4e017_29", rs = "_critical_4e017_36", as = "_message_4e017_40", is = "_error_4e017_46", ls = "_label_4e017_50", cs = "_disabled_4e017_53", ds = "_readOnly_4e017_56", us = "_input_4e017_60", vt = {
|
|
1017
1028
|
"shadow-0": "_shadow-0_4e017_1",
|
|
1018
1029
|
"shadow-100": "_shadow-100_4e017_5",
|
|
@@ -1082,7 +1093,7 @@ const fs = ({ children: t }) => {
|
|
|
1082
1093
|
Me.Label = ms;
|
|
1083
1094
|
Me.Input = no;
|
|
1084
1095
|
Me.Message = fs;
|
|
1085
|
-
const ps = "_btn_vv6xf_29", hs = "_small_vv6xf_42", gs = "_medium_vv6xf_45", bs = "_large_vv6xf_48",
|
|
1096
|
+
const ps = "_btn_vv6xf_29", hs = "_small_vv6xf_42", gs = "_medium_vv6xf_45", bs = "_large_vv6xf_48", ys = "_primary_vv6xf_69", _s = "_tertiary_vv6xf_85", vs = "_plain_vv6xf_100", Jt = {
|
|
1086
1097
|
"shadow-0": "_shadow-0_vv6xf_1",
|
|
1087
1098
|
"shadow-100": "_shadow-100_vv6xf_5",
|
|
1088
1099
|
"shadow-200": "_shadow-200_vv6xf_9",
|
|
@@ -1096,9 +1107,9 @@ const ps = "_btn_vv6xf_29", hs = "_small_vv6xf_42", gs = "_medium_vv6xf_45", bs
|
|
|
1096
1107
|
large: bs,
|
|
1097
1108
|
default: "_default_vv6xf_51",
|
|
1098
1109
|
"default-selected": "_default-selected_vv6xf_62",
|
|
1099
|
-
primary:
|
|
1110
|
+
primary: ys,
|
|
1100
1111
|
"primary-selected": "_primary-selected_vv6xf_79",
|
|
1101
|
-
tertiary:
|
|
1112
|
+
tertiary: _s,
|
|
1102
1113
|
"tertiary-selected": "_tertiary-selected_vv6xf_94",
|
|
1103
1114
|
plain: vs,
|
|
1104
1115
|
"plain-selected": "_plain-selected_vv6xf_111"
|
|
@@ -1197,12 +1208,12 @@ const ps = "_btn_vv6xf_29", hs = "_small_vv6xf_42", gs = "_medium_vv6xf_45", bs
|
|
|
1197
1208
|
className: f,
|
|
1198
1209
|
maskRegex: m,
|
|
1199
1210
|
textPrefix: u,
|
|
1200
|
-
onChange:
|
|
1211
|
+
onChange: _,
|
|
1201
1212
|
onFocus: s,
|
|
1202
1213
|
...D
|
|
1203
|
-
},
|
|
1214
|
+
}, B) => {
|
|
1204
1215
|
const M = (w) => {
|
|
1205
|
-
m && !new RegExp(m).test(w.target.value) ? w.target.setCustomValidity("Неверный формат") : w.target.setCustomValidity(""),
|
|
1216
|
+
m && !new RegExp(m).test(w.target.value) ? w.target.setCustomValidity("Неверный формат") : w.target.setCustomValidity(""), _ == null || _(w);
|
|
1206
1217
|
}, P = (w) => {
|
|
1207
1218
|
if (u && !w.target.value) {
|
|
1208
1219
|
const L = u;
|
|
@@ -1223,7 +1234,7 @@ const ps = "_btn_vv6xf_29", hs = "_small_vv6xf_42", gs = "_medium_vv6xf_45", bs
|
|
|
1223
1234
|
children: /* @__PURE__ */ d(
|
|
1224
1235
|
"input",
|
|
1225
1236
|
{
|
|
1226
|
-
ref:
|
|
1237
|
+
ref: B,
|
|
1227
1238
|
className: E(pt.input, f),
|
|
1228
1239
|
disabled: r,
|
|
1229
1240
|
readOnly: l,
|
|
@@ -1245,7 +1256,7 @@ function Is(t) {
|
|
|
1245
1256
|
const Es = (t) => {
|
|
1246
1257
|
switch (t) {
|
|
1247
1258
|
case "success":
|
|
1248
|
-
return
|
|
1259
|
+
return js;
|
|
1249
1260
|
case "info":
|
|
1250
1261
|
return Ds;
|
|
1251
1262
|
case "warning":
|
|
@@ -1255,7 +1266,7 @@ const Es = (t) => {
|
|
|
1255
1266
|
default:
|
|
1256
1267
|
return null;
|
|
1257
1268
|
}
|
|
1258
|
-
},
|
|
1269
|
+
}, As = Array(12).fill(0), Bs = ({ visible: t, className: e }) => /* @__PURE__ */ p.createElement("div", {
|
|
1259
1270
|
className: [
|
|
1260
1271
|
"sonner-loading-wrapper",
|
|
1261
1272
|
e
|
|
@@ -1263,10 +1274,10 @@ const Es = (t) => {
|
|
|
1263
1274
|
"data-visible": t
|
|
1264
1275
|
}, /* @__PURE__ */ p.createElement("div", {
|
|
1265
1276
|
className: "sonner-spinner"
|
|
1266
|
-
},
|
|
1277
|
+
}, As.map((o, n) => /* @__PURE__ */ p.createElement("div", {
|
|
1267
1278
|
className: "sonner-loading-bar",
|
|
1268
1279
|
key: `spinner-bar-${n}`
|
|
1269
|
-
})))),
|
|
1280
|
+
})))), js = /* @__PURE__ */ p.createElement("svg", {
|
|
1270
1281
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1271
1282
|
viewBox: "0 0 20 20",
|
|
1272
1283
|
fill: "currentColor",
|
|
@@ -1335,7 +1346,7 @@ const Es = (t) => {
|
|
|
1335
1346
|
return document.addEventListener("visibilitychange", o), () => window.removeEventListener("visibilitychange", o);
|
|
1336
1347
|
}, []), t;
|
|
1337
1348
|
};
|
|
1338
|
-
let
|
|
1349
|
+
let _e = 1;
|
|
1339
1350
|
class Ps {
|
|
1340
1351
|
constructor() {
|
|
1341
1352
|
this.subscribe = (e) => (this.subscribers.push(e), () => {
|
|
@@ -1350,7 +1361,7 @@ class Ps {
|
|
|
1350
1361
|
];
|
|
1351
1362
|
}, this.create = (e) => {
|
|
1352
1363
|
var o;
|
|
1353
|
-
const { message: n, ...a } = e, r = typeof (e == null ? void 0 : e.id) == "number" || ((o = e.id) == null ? void 0 : o.length) > 0 ? e.id :
|
|
1364
|
+
const { message: n, ...a } = e, r = typeof (e == null ? void 0 : e.id) == "number" || ((o = e.id) == null ? void 0 : o.length) > 0 ? e.id : _e++, l = this.toasts.find((m) => m.id === r), f = e.dismissible === void 0 ? !0 : e.dismissible;
|
|
1354
1365
|
return this.dismissedToasts.has(r) && this.dismissedToasts.delete(r), l ? this.toasts = this.toasts.map((m) => m.id === r ? (this.publish({
|
|
1355
1366
|
...m,
|
|
1356
1367
|
...e,
|
|
@@ -1462,26 +1473,26 @@ class Ps {
|
|
|
1462
1473
|
u
|
|
1463
1474
|
], o.error !== void 0) {
|
|
1464
1475
|
r = !1;
|
|
1465
|
-
const
|
|
1466
|
-
message:
|
|
1476
|
+
const _ = typeof o.error == "function" ? await o.error(u) : o.error, s = typeof o.description == "function" ? await o.description(u) : o.description, B = typeof _ == "object" && !p.isValidElement(_) ? _ : {
|
|
1477
|
+
message: _
|
|
1467
1478
|
};
|
|
1468
1479
|
this.create({
|
|
1469
1480
|
id: n,
|
|
1470
1481
|
type: "error",
|
|
1471
1482
|
description: s,
|
|
1472
|
-
...
|
|
1483
|
+
...B
|
|
1473
1484
|
});
|
|
1474
1485
|
}
|
|
1475
1486
|
}).finally(() => {
|
|
1476
1487
|
r && (this.dismiss(n), n = void 0), o.finally == null || o.finally.call(o);
|
|
1477
|
-
}), m = () => new Promise((u,
|
|
1488
|
+
}), m = () => new Promise((u, _) => f.then(() => l[0] === "reject" ? _(l[1]) : u(l[1])).catch(_));
|
|
1478
1489
|
return typeof n != "string" && typeof n != "number" ? {
|
|
1479
1490
|
unwrap: m
|
|
1480
1491
|
} : Object.assign(n, {
|
|
1481
1492
|
unwrap: m
|
|
1482
1493
|
});
|
|
1483
1494
|
}, this.custom = (e, o) => {
|
|
1484
|
-
const n = (o == null ? void 0 : o.id) ||
|
|
1495
|
+
const n = (o == null ? void 0 : o.id) || _e++;
|
|
1485
1496
|
return this.create({
|
|
1486
1497
|
jsx: e(n),
|
|
1487
1498
|
id: n,
|
|
@@ -1491,7 +1502,7 @@ class Ps {
|
|
|
1491
1502
|
}
|
|
1492
1503
|
}
|
|
1493
1504
|
const it = new Ps(), Hs = (t, e) => {
|
|
1494
|
-
const o = (e == null ? void 0 : e.id) ||
|
|
1505
|
+
const o = (e == null ? void 0 : e.id) || _e++;
|
|
1495
1506
|
return it.addToast({
|
|
1496
1507
|
title: t,
|
|
1497
1508
|
...e,
|
|
@@ -1516,7 +1527,7 @@ function Qt(t) {
|
|
|
1516
1527
|
return t.label !== void 0;
|
|
1517
1528
|
}
|
|
1518
1529
|
const Gs = 3, Ws = "24px", Us = "16px", Pe = 4e3, Xs = 356, Ks = 14, Zs = 45, Js = 200;
|
|
1519
|
-
function
|
|
1530
|
+
function yt(...t) {
|
|
1520
1531
|
return t.filter(Boolean).join(" ");
|
|
1521
1532
|
}
|
|
1522
1533
|
function Qs(t) {
|
|
@@ -1525,25 +1536,25 @@ function Qs(t) {
|
|
|
1525
1536
|
}
|
|
1526
1537
|
const tr = (t) => {
|
|
1527
1538
|
var e, o, n, a, r, l, f, m, u;
|
|
1528
|
-
const { invert:
|
|
1539
|
+
const { invert: _, toast: s, unstyled: D, interacting: B, setHeights: M, visibleToasts: P, heights: w, index: L, toasts: et, expanded: G, removeToast: J, defaultRichColors: F, closeButton: q, style: lt, cancelButtonStyle: $, actionButtonStyle: U, className: H = "", descriptionClassName: T = "", duration: W, position: ot, gap: C, expandByDefault: h, classNames: c, icons: g, closeButtonAriaLabel: i = "Close toast" } = t, [x, N] = p.useState(null), [k, S] = p.useState(null), [v, I] = p.useState(!1), [Y, O] = p.useState(!1), [R, nt] = p.useState(!1), [K, V] = p.useState(!1), [rt, ct] = p.useState(!1), [zt, ie] = p.useState(0), [bo, Te] = p.useState(0), qt = p.useRef(s.duration || W || Pe), Ie = p.useRef(null), wt = p.useRef(null), yo = L === 0, _o = L + 1 <= P, dt = s.type, Dt = s.dismissible !== !1, vo = s.className || "", wo = s.descriptionClassName || "", Ut = p.useMemo(() => w.findIndex((A) => A.toastId === s.id) || 0, [
|
|
1529
1540
|
w,
|
|
1530
1541
|
s.id
|
|
1531
1542
|
]), xo = p.useMemo(() => {
|
|
1532
|
-
var
|
|
1533
|
-
return (
|
|
1543
|
+
var A;
|
|
1544
|
+
return (A = s.closeButton) != null ? A : q;
|
|
1534
1545
|
}, [
|
|
1535
1546
|
s.closeButton,
|
|
1536
1547
|
q
|
|
1537
1548
|
]), Ee = p.useMemo(() => s.duration || W || Pe, [
|
|
1538
1549
|
s.duration,
|
|
1539
1550
|
W
|
|
1540
|
-
]), le = p.useRef(0), Ot = p.useRef(0),
|
|
1551
|
+
]), le = p.useRef(0), Ot = p.useRef(0), Ae = p.useRef(0), Rt = p.useRef(null), [ko, $o] = ot.split("-"), Be = p.useMemo(() => w.reduce((A, Z, tt) => tt >= Ut ? A : A + Z.height, 0), [
|
|
1541
1552
|
w,
|
|
1542
1553
|
Ut
|
|
1543
|
-
]),
|
|
1544
|
-
Ot.current = p.useMemo(() => Ut * C +
|
|
1554
|
+
]), je = Ls(), Co = s.invert || _, ce = dt === "loading";
|
|
1555
|
+
Ot.current = p.useMemo(() => Ut * C + Be, [
|
|
1545
1556
|
Ut,
|
|
1546
|
-
|
|
1557
|
+
Be
|
|
1547
1558
|
]), p.useEffect(() => {
|
|
1548
1559
|
qt.current = Ee;
|
|
1549
1560
|
}, [
|
|
@@ -1551,9 +1562,9 @@ const tr = (t) => {
|
|
|
1551
1562
|
]), p.useEffect(() => {
|
|
1552
1563
|
I(!0);
|
|
1553
1564
|
}, []), p.useEffect(() => {
|
|
1554
|
-
const
|
|
1555
|
-
if (
|
|
1556
|
-
const Z =
|
|
1565
|
+
const A = wt.current;
|
|
1566
|
+
if (A) {
|
|
1567
|
+
const Z = A.getBoundingClientRect().height;
|
|
1557
1568
|
return Te(Z), M((tt) => [
|
|
1558
1569
|
{
|
|
1559
1570
|
toastId: s.id,
|
|
@@ -1568,10 +1579,10 @@ const tr = (t) => {
|
|
|
1568
1579
|
s.id
|
|
1569
1580
|
]), p.useLayoutEffect(() => {
|
|
1570
1581
|
if (!v) return;
|
|
1571
|
-
const
|
|
1572
|
-
|
|
1573
|
-
const tt =
|
|
1574
|
-
|
|
1582
|
+
const A = wt.current, Z = A.style.height;
|
|
1583
|
+
A.style.height = "auto";
|
|
1584
|
+
const tt = A.getBoundingClientRect().height;
|
|
1585
|
+
A.style.height = Z, Te(tt), M((ut) => ut.find((Q) => Q.toastId === s.id) ? ut.map((Q) => Q.toastId === s.id ? {
|
|
1575
1586
|
...Q,
|
|
1576
1587
|
height: tt
|
|
1577
1588
|
} : Q) : [
|
|
@@ -1593,7 +1604,7 @@ const tr = (t) => {
|
|
|
1593
1604
|
s.cancel
|
|
1594
1605
|
]);
|
|
1595
1606
|
const $t = p.useCallback(() => {
|
|
1596
|
-
O(!0), ie(Ot.current), M((
|
|
1607
|
+
O(!0), ie(Ot.current), M((A) => A.filter((Z) => Z.toastId !== s.id)), setTimeout(() => {
|
|
1597
1608
|
J(s);
|
|
1598
1609
|
}, Js);
|
|
1599
1610
|
}, [
|
|
@@ -1604,24 +1615,24 @@ const tr = (t) => {
|
|
|
1604
1615
|
]);
|
|
1605
1616
|
p.useEffect(() => {
|
|
1606
1617
|
if (s.promise && dt === "loading" || s.duration === 1 / 0 || s.type === "loading") return;
|
|
1607
|
-
let
|
|
1608
|
-
return G ||
|
|
1609
|
-
if (
|
|
1618
|
+
let A;
|
|
1619
|
+
return G || B || je ? (() => {
|
|
1620
|
+
if (Ae.current < le.current) {
|
|
1610
1621
|
const ut = (/* @__PURE__ */ new Date()).getTime() - le.current;
|
|
1611
1622
|
qt.current = qt.current - ut;
|
|
1612
1623
|
}
|
|
1613
|
-
|
|
1624
|
+
Ae.current = (/* @__PURE__ */ new Date()).getTime();
|
|
1614
1625
|
})() : (() => {
|
|
1615
|
-
qt.current !== 1 / 0 && (le.current = (/* @__PURE__ */ new Date()).getTime(),
|
|
1626
|
+
qt.current !== 1 / 0 && (le.current = (/* @__PURE__ */ new Date()).getTime(), A = setTimeout(() => {
|
|
1616
1627
|
s.onAutoClose == null || s.onAutoClose.call(s, s), $t();
|
|
1617
1628
|
}, qt.current));
|
|
1618
|
-
})(), () => clearTimeout(
|
|
1629
|
+
})(), () => clearTimeout(A);
|
|
1619
1630
|
}, [
|
|
1620
1631
|
G,
|
|
1621
|
-
|
|
1632
|
+
B,
|
|
1622
1633
|
s,
|
|
1623
1634
|
dt,
|
|
1624
|
-
|
|
1635
|
+
je,
|
|
1625
1636
|
$t
|
|
1626
1637
|
]), p.useEffect(() => {
|
|
1627
1638
|
s.delete && ($t(), s.onDismiss == null || s.onDismiss.call(s, s));
|
|
@@ -1630,16 +1641,16 @@ const tr = (t) => {
|
|
|
1630
1641
|
s.delete
|
|
1631
1642
|
]);
|
|
1632
1643
|
function No() {
|
|
1633
|
-
var
|
|
1644
|
+
var A;
|
|
1634
1645
|
if (g != null && g.loading) {
|
|
1635
1646
|
var Z;
|
|
1636
1647
|
return /* @__PURE__ */ p.createElement("div", {
|
|
1637
|
-
className:
|
|
1648
|
+
className: yt(c == null ? void 0 : c.loader, s == null || (Z = s.classNames) == null ? void 0 : Z.loader, "sonner-loader"),
|
|
1638
1649
|
"data-visible": dt === "loading"
|
|
1639
1650
|
}, g.loading);
|
|
1640
1651
|
}
|
|
1641
|
-
return /* @__PURE__ */ p.createElement(
|
|
1642
|
-
className:
|
|
1652
|
+
return /* @__PURE__ */ p.createElement(Bs, {
|
|
1653
|
+
className: yt(c == null ? void 0 : c.loader, s == null || (A = s.classNames) == null ? void 0 : A.loader),
|
|
1643
1654
|
visible: dt === "loading"
|
|
1644
1655
|
});
|
|
1645
1656
|
}
|
|
@@ -1648,7 +1659,7 @@ const tr = (t) => {
|
|
|
1648
1659
|
return /* @__PURE__ */ p.createElement("li", {
|
|
1649
1660
|
tabIndex: 0,
|
|
1650
1661
|
ref: wt,
|
|
1651
|
-
className:
|
|
1662
|
+
className: yt(H, vo, c == null ? void 0 : c.toast, s == null || (e = s.classNames) == null ? void 0 : e.toast, c == null ? void 0 : c.default, c == null ? void 0 : c[dt], s == null || (o = s.classNames) == null ? void 0 : o[dt]),
|
|
1652
1663
|
"data-sonner-toast": "",
|
|
1653
1664
|
"data-rich-colors": (ze = s.richColors) != null ? ze : F,
|
|
1654
1665
|
"data-styled": !(s.jsx || s.unstyled || D),
|
|
@@ -1656,11 +1667,11 @@ const tr = (t) => {
|
|
|
1656
1667
|
"data-promise": !!s.promise,
|
|
1657
1668
|
"data-swiped": rt,
|
|
1658
1669
|
"data-removed": Y,
|
|
1659
|
-
"data-visible":
|
|
1670
|
+
"data-visible": _o,
|
|
1660
1671
|
"data-y-position": ko,
|
|
1661
1672
|
"data-x-position": $o,
|
|
1662
1673
|
"data-index": L,
|
|
1663
|
-
"data-front":
|
|
1674
|
+
"data-front": yo,
|
|
1664
1675
|
"data-swiping": R,
|
|
1665
1676
|
"data-dismissible": Dt,
|
|
1666
1677
|
"data-type": dt,
|
|
@@ -1680,17 +1691,17 @@ const tr = (t) => {
|
|
|
1680
1691
|
onDragEnd: () => {
|
|
1681
1692
|
nt(!1), N(null), Rt.current = null;
|
|
1682
1693
|
},
|
|
1683
|
-
onPointerDown: (
|
|
1684
|
-
ce || !Dt || (Ie.current = /* @__PURE__ */ new Date(), ie(Ot.current),
|
|
1685
|
-
x:
|
|
1686
|
-
y:
|
|
1694
|
+
onPointerDown: (A) => {
|
|
1695
|
+
ce || !Dt || (Ie.current = /* @__PURE__ */ new Date(), ie(Ot.current), A.target.setPointerCapture(A.pointerId), A.target.tagName !== "BUTTON" && (nt(!0), Rt.current = {
|
|
1696
|
+
x: A.clientX,
|
|
1697
|
+
y: A.clientY
|
|
1687
1698
|
}));
|
|
1688
1699
|
},
|
|
1689
1700
|
onPointerUp: () => {
|
|
1690
|
-
var
|
|
1701
|
+
var A, Z, tt;
|
|
1691
1702
|
if (K || !Dt) return;
|
|
1692
1703
|
Rt.current = null;
|
|
1693
|
-
const ut = Number(((
|
|
1704
|
+
const ut = Number(((A = wt.current) == null ? void 0 : A.style.getPropertyValue("--swipe-amount-x").replace("px", "")) || 0), Xt = Number(((Z = wt.current) == null ? void 0 : Z.style.getPropertyValue("--swipe-amount-y").replace("px", "")) || 0), Q = (/* @__PURE__ */ new Date()).getTime() - ((tt = Ie.current) == null ? void 0 : tt.getTime()), mt = x === "x" ? ut : Xt, Kt = Math.abs(mt) / Q;
|
|
1694
1705
|
if (Math.abs(mt) >= Zs || Kt > 0.11) {
|
|
1695
1706
|
ie(Ot.current), s.onDismiss == null || s.onDismiss.call(s, s), S(x === "x" ? ut > 0 ? "right" : "left" : Xt > 0 ? "down" : "up"), $t(), V(!0);
|
|
1696
1707
|
return;
|
|
@@ -1700,10 +1711,10 @@ const tr = (t) => {
|
|
|
1700
1711
|
}
|
|
1701
1712
|
ct(!1), nt(!1), N(null);
|
|
1702
1713
|
},
|
|
1703
|
-
onPointerMove: (
|
|
1714
|
+
onPointerMove: (A) => {
|
|
1704
1715
|
var Z, tt, ut;
|
|
1705
1716
|
if (!Rt.current || !Dt || ((Z = window.getSelection()) == null ? void 0 : Z.toString().length) > 0) return;
|
|
1706
|
-
const Q =
|
|
1717
|
+
const Q = A.clientY - Rt.current.y, mt = A.clientX - Rt.current.x;
|
|
1707
1718
|
var Kt;
|
|
1708
1719
|
const ht = (Kt = t.swipeDirections) != null ? Kt : Qs(ot);
|
|
1709
1720
|
!x && (Math.abs(mt) > 1 || Math.abs(Q) > 1) && N(Math.abs(mt) > Math.abs(Q) ? "x" : "y");
|
|
@@ -1737,35 +1748,35 @@ const tr = (t) => {
|
|
|
1737
1748
|
} : () => {
|
|
1738
1749
|
$t(), s.onDismiss == null || s.onDismiss.call(s, s);
|
|
1739
1750
|
},
|
|
1740
|
-
className:
|
|
1751
|
+
className: yt(c == null ? void 0 : c.closeButton, s == null || (n = s.classNames) == null ? void 0 : n.closeButton)
|
|
1741
1752
|
}, (De = g == null ? void 0 : g.close) != null ? De : Rs) : null, (dt || s.icon || s.promise) && s.icon !== null && ((g == null ? void 0 : g[dt]) !== null || s.icon) ? /* @__PURE__ */ p.createElement("div", {
|
|
1742
1753
|
"data-icon": "",
|
|
1743
|
-
className:
|
|
1754
|
+
className: yt(c == null ? void 0 : c.icon, s == null || (a = s.classNames) == null ? void 0 : a.icon)
|
|
1744
1755
|
}, s.promise || s.type === "loading" && !s.icon ? s.icon || No() : null, s.type !== "loading" ? Mo : null) : null, /* @__PURE__ */ p.createElement("div", {
|
|
1745
1756
|
"data-content": "",
|
|
1746
|
-
className:
|
|
1757
|
+
className: yt(c == null ? void 0 : c.content, s == null || (r = s.classNames) == null ? void 0 : r.content)
|
|
1747
1758
|
}, /* @__PURE__ */ p.createElement("div", {
|
|
1748
1759
|
"data-title": "",
|
|
1749
|
-
className:
|
|
1760
|
+
className: yt(c == null ? void 0 : c.title, s == null || (l = s.classNames) == null ? void 0 : l.title)
|
|
1750
1761
|
}, s.jsx ? s.jsx : typeof s.title == "function" ? s.title() : s.title), s.description ? /* @__PURE__ */ p.createElement("div", {
|
|
1751
1762
|
"data-description": "",
|
|
1752
|
-
className:
|
|
1763
|
+
className: yt(T, wo, c == null ? void 0 : c.description, s == null || (f = s.classNames) == null ? void 0 : f.description)
|
|
1753
1764
|
}, typeof s.description == "function" ? s.description() : s.description) : null), /* @__PURE__ */ p.isValidElement(s.cancel) ? s.cancel : s.cancel && Qt(s.cancel) ? /* @__PURE__ */ p.createElement("button", {
|
|
1754
1765
|
"data-button": !0,
|
|
1755
1766
|
"data-cancel": !0,
|
|
1756
1767
|
style: s.cancelButtonStyle || $,
|
|
1757
|
-
onClick: (
|
|
1758
|
-
Qt(s.cancel) && Dt && (s.cancel.onClick == null || s.cancel.onClick.call(s.cancel,
|
|
1768
|
+
onClick: (A) => {
|
|
1769
|
+
Qt(s.cancel) && Dt && (s.cancel.onClick == null || s.cancel.onClick.call(s.cancel, A), $t());
|
|
1759
1770
|
},
|
|
1760
|
-
className:
|
|
1771
|
+
className: yt(c == null ? void 0 : c.cancelButton, s == null || (m = s.classNames) == null ? void 0 : m.cancelButton)
|
|
1761
1772
|
}, s.cancel.label) : null, /* @__PURE__ */ p.isValidElement(s.action) ? s.action : s.action && Qt(s.action) ? /* @__PURE__ */ p.createElement("button", {
|
|
1762
1773
|
"data-button": !0,
|
|
1763
1774
|
"data-action": !0,
|
|
1764
1775
|
style: s.actionButtonStyle || U,
|
|
1765
|
-
onClick: (
|
|
1766
|
-
Qt(s.action) && (s.action.onClick == null || s.action.onClick.call(s.action,
|
|
1776
|
+
onClick: (A) => {
|
|
1777
|
+
Qt(s.action) && (s.action.onClick == null || s.action.onClick.call(s.action, A), !A.defaultPrevented && $t());
|
|
1767
1778
|
},
|
|
1768
|
-
className:
|
|
1779
|
+
className: yt(c == null ? void 0 : c.actionButton, s == null || (u = s.classNames) == null ? void 0 : u.actionButton)
|
|
1769
1780
|
}, s.action.label) : null);
|
|
1770
1781
|
};
|
|
1771
1782
|
function He() {
|
|
@@ -1786,8 +1797,8 @@ function er(t, e) {
|
|
|
1786
1797
|
"right",
|
|
1787
1798
|
"bottom",
|
|
1788
1799
|
"left"
|
|
1789
|
-
].forEach((
|
|
1790
|
-
o[`${l}-${
|
|
1800
|
+
].forEach((_) => {
|
|
1801
|
+
o[`${l}-${_}`] = typeof u == "number" ? `${u}px` : u;
|
|
1791
1802
|
});
|
|
1792
1803
|
}
|
|
1793
1804
|
typeof n == "number" || typeof n == "string" ? m(n) : typeof n == "object" ? [
|
|
@@ -1804,7 +1815,7 @@ const or = /* @__PURE__ */ p.forwardRef(function(e, o) {
|
|
|
1804
1815
|
const { invert: n, position: a = "bottom-right", hotkey: r = [
|
|
1805
1816
|
"altKey",
|
|
1806
1817
|
"KeyT"
|
|
1807
|
-
], expand: l, closeButton: f, className: m, offset: u, mobileOffset:
|
|
1818
|
+
], expand: l, closeButton: f, className: m, offset: u, mobileOffset: _, theme: s = "light", richColors: D, duration: B, style: M, visibleToasts: P = Gs, toastOptions: w, dir: L = He(), gap: et = Ks, icons: G, containerAriaLabel: J = "Notifications" } = e, [F, q] = p.useState([]), lt = p.useMemo(() => Array.from(new Set([
|
|
1808
1819
|
a
|
|
1809
1820
|
].concat(F.filter((k) => k.position).map((k) => k.position)))), [
|
|
1810
1821
|
F,
|
|
@@ -1826,7 +1837,7 @@ const or = /* @__PURE__ */ p.forwardRef(function(e, o) {
|
|
|
1826
1837
|
return;
|
|
1827
1838
|
}
|
|
1828
1839
|
setTimeout(() => {
|
|
1829
|
-
|
|
1840
|
+
Ao.flushSync(() => {
|
|
1830
1841
|
q((S) => {
|
|
1831
1842
|
const v = S.findIndex((I) => I.id === k.id);
|
|
1832
1843
|
return v !== -1 ? [
|
|
@@ -1919,7 +1930,7 @@ const or = /* @__PURE__ */ p.forwardRef(function(e, o) {
|
|
|
1919
1930
|
"--width": `${Xs}px`,
|
|
1920
1931
|
"--gap": `${et}px`,
|
|
1921
1932
|
...M,
|
|
1922
|
-
...er(u,
|
|
1933
|
+
...er(u, _)
|
|
1923
1934
|
},
|
|
1924
1935
|
onBlur: (O) => {
|
|
1925
1936
|
x.current && !O.currentTarget.contains(O.relatedTarget) && (x.current = !1, i.current && (i.current.focus({
|
|
@@ -1947,7 +1958,7 @@ const or = /* @__PURE__ */ p.forwardRef(function(e, o) {
|
|
|
1947
1958
|
index: R,
|
|
1948
1959
|
toast: O,
|
|
1949
1960
|
defaultRichColors: D,
|
|
1950
|
-
duration: (nt = w == null ? void 0 : w.duration) != null ? nt :
|
|
1961
|
+
duration: (nt = w == null ? void 0 : w.duration) != null ? nt : B,
|
|
1951
1962
|
className: w == null ? void 0 : w.className,
|
|
1952
1963
|
descriptionClassName: w == null ? void 0 : w.descriptionClassName,
|
|
1953
1964
|
invert: n,
|
|
@@ -2039,7 +2050,7 @@ const or = /* @__PURE__ */ p.forwardRef(function(e, o) {
|
|
|
2039
2050
|
show(t, e = "default") {
|
|
2040
2051
|
return e === "error" ? this.error(t) : e === "warning" ? this.warning(t) : this.default(t);
|
|
2041
2052
|
}
|
|
2042
|
-
}, dr = "_modalLayout_dg6t3_29", ur = "_modalContainer_dg6t3_40", mr = "_slideUp_dg6t3_1", fr = "_header_dg6t3_66", pr = "_title_dg6t3_75", hr = "_close_dg6t3_80", gr = "_content_dg6t3_90", br = "_section_dg6t3_93",
|
|
2053
|
+
}, dr = "_modalLayout_dg6t3_29", ur = "_modalContainer_dg6t3_40", mr = "_slideUp_dg6t3_1", fr = "_header_dg6t3_66", pr = "_title_dg6t3_75", hr = "_close_dg6t3_80", gr = "_content_dg6t3_90", br = "_section_dg6t3_93", yr = "_footer_dg6t3_101", _r = "_primaryButton_dg6t3_131", vr = "_critical_dg6t3_144", wr = "_warning_dg6t3_148", ft = {
|
|
2043
2054
|
"shadow-0": "_shadow-0_dg6t3_1",
|
|
2044
2055
|
"shadow-100": "_shadow-100_dg6t3_5",
|
|
2045
2056
|
"shadow-200": "_shadow-200_dg6t3_9",
|
|
@@ -2055,9 +2066,9 @@ const or = /* @__PURE__ */ p.forwardRef(function(e, o) {
|
|
|
2055
2066
|
close: hr,
|
|
2056
2067
|
content: gr,
|
|
2057
2068
|
section: br,
|
|
2058
|
-
footer:
|
|
2069
|
+
footer: yr,
|
|
2059
2070
|
"tone-critical": "_tone-critical_dg6t3_127",
|
|
2060
|
-
primaryButton:
|
|
2071
|
+
primaryButton: _r,
|
|
2061
2072
|
"tone-warning": "_tone-warning_dg6t3_135",
|
|
2062
2073
|
critical: vr,
|
|
2063
2074
|
warning: wr
|
|
@@ -2072,7 +2083,7 @@ const or = /* @__PURE__ */ p.forwardRef(function(e, o) {
|
|
|
2072
2083
|
}) => {
|
|
2073
2084
|
if (!t) return null;
|
|
2074
2085
|
const f = ft[`tone-${r}`] || "";
|
|
2075
|
-
return
|
|
2086
|
+
return Bo(
|
|
2076
2087
|
/* @__PURE__ */ d(
|
|
2077
2088
|
"div",
|
|
2078
2089
|
{
|
|
@@ -2138,7 +2149,7 @@ ve.Section = kr;
|
|
|
2138
2149
|
function ue(t) {
|
|
2139
2150
|
const e = document.createElement("div");
|
|
2140
2151
|
document.body.appendChild(e);
|
|
2141
|
-
const o =
|
|
2152
|
+
const o = jo(e), n = () => {
|
|
2142
2153
|
o.unmount(), e.remove();
|
|
2143
2154
|
}, a = () => {
|
|
2144
2155
|
var l;
|
|
@@ -2205,12 +2216,12 @@ const ri = {
|
|
|
2205
2216
|
className: fe.progress,
|
|
2206
2217
|
style: { width: `${t}%` }
|
|
2207
2218
|
}
|
|
2208
|
-
) }) }), Ir = "
|
|
2219
|
+
) }) }), Ir = "_formItem_13226_29", Er = "_labelContainer_13226_41", Ar = "_disabled_13226_47", Br = "_inputContainer_13226_54", jr = "_error_13226_81", zr = "_message_13226_95", Dr = "_radio_13226_99", _t = {
|
|
2209
2220
|
formItem: Ir,
|
|
2210
2221
|
labelContainer: Er,
|
|
2211
|
-
disabled:
|
|
2212
|
-
inputContainer:
|
|
2213
|
-
error:
|
|
2222
|
+
disabled: Ar,
|
|
2223
|
+
inputContainer: Br,
|
|
2224
|
+
error: jr,
|
|
2214
2225
|
message: zr,
|
|
2215
2226
|
radio: Dr
|
|
2216
2227
|
}, li = ({
|
|
@@ -2220,48 +2231,64 @@ const ri = {
|
|
|
2220
2231
|
disabled: n,
|
|
2221
2232
|
className: a,
|
|
2222
2233
|
name: r,
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
{
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2234
|
+
onChange: l,
|
|
2235
|
+
...f
|
|
2236
|
+
}) => {
|
|
2237
|
+
const m = () => {
|
|
2238
|
+
if (l) {
|
|
2239
|
+
const u = {
|
|
2240
|
+
target: {
|
|
2241
|
+
name: r,
|
|
2242
|
+
value: f.value || ""
|
|
2243
|
+
}
|
|
2244
|
+
};
|
|
2245
|
+
l(u);
|
|
2233
2246
|
}
|
|
2234
|
-
|
|
2235
|
-
/* @__PURE__ */ z("div", { className:
|
|
2247
|
+
};
|
|
2248
|
+
return /* @__PURE__ */ z("div", { className: _t.formItem, children: [
|
|
2236
2249
|
/* @__PURE__ */ d(
|
|
2237
|
-
"
|
|
2238
|
-
{
|
|
2239
|
-
className: E(yt.label, {
|
|
2240
|
-
[yt.disabled]: n
|
|
2241
|
-
}),
|
|
2242
|
-
children: t
|
|
2243
|
-
}
|
|
2244
|
-
),
|
|
2245
|
-
e && /* @__PURE__ */ d(
|
|
2246
|
-
"div",
|
|
2250
|
+
"input",
|
|
2247
2251
|
{
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
+
type: "radio",
|
|
2253
|
+
className: E(a, _t.inputContainer, _t.radio),
|
|
2254
|
+
disabled: n,
|
|
2255
|
+
name: r,
|
|
2256
|
+
onChange: l,
|
|
2257
|
+
...f
|
|
2252
2258
|
}
|
|
2253
2259
|
),
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2260
|
+
/* @__PURE__ */ z("div", { className: _t.labelContainer, children: [
|
|
2261
|
+
/* @__PURE__ */ d(
|
|
2262
|
+
"div",
|
|
2263
|
+
{
|
|
2264
|
+
className: E(_t.label, {
|
|
2265
|
+
[_t.disabled]: n
|
|
2266
|
+
}),
|
|
2267
|
+
onClick: m,
|
|
2268
|
+
children: t
|
|
2269
|
+
}
|
|
2270
|
+
),
|
|
2271
|
+
e && /* @__PURE__ */ d(
|
|
2272
|
+
"div",
|
|
2273
|
+
{
|
|
2274
|
+
className: E(_t.message, {
|
|
2275
|
+
[_t.error]: !!e
|
|
2276
|
+
}),
|
|
2277
|
+
children: e ? /* @__PURE__ */ d(Ce, { children: e }) : o
|
|
2278
|
+
}
|
|
2279
|
+
),
|
|
2280
|
+
o && !e && /* @__PURE__ */ d(
|
|
2281
|
+
"div",
|
|
2282
|
+
{
|
|
2283
|
+
className: E(_t.message, {
|
|
2284
|
+
[_t.error]: !!e
|
|
2285
|
+
}),
|
|
2286
|
+
children: o
|
|
2287
|
+
}
|
|
2288
|
+
)
|
|
2289
|
+
] })
|
|
2290
|
+
] });
|
|
2291
|
+
}, Or = "_container_1sj7i_29", Rr = "_notMobile_1sj7i_38", Lr = "_mobile_1sj7i_47", pe = {
|
|
2265
2292
|
container: Or,
|
|
2266
2293
|
notMobile: Rr,
|
|
2267
2294
|
mobile: Lr
|
|
@@ -2465,12 +2492,12 @@ const Se = "-", Kr = (t) => {
|
|
|
2465
2492
|
}
|
|
2466
2493
|
P === "[" ? l++ : P === "]" ? l-- : P === "(" ? f++ : P === ")" && f--;
|
|
2467
2494
|
}
|
|
2468
|
-
const
|
|
2495
|
+
const _ = r.length === 0 ? a : a.substring(m), s = na(_), D = s !== _, B = u && u > m ? u - m : void 0;
|
|
2469
2496
|
return {
|
|
2470
2497
|
modifiers: r,
|
|
2471
2498
|
hasImportantModifier: D,
|
|
2472
2499
|
baseClassName: s,
|
|
2473
|
-
maybePostfixModifierPosition:
|
|
2500
|
+
maybePostfixModifierPosition: B
|
|
2474
2501
|
};
|
|
2475
2502
|
};
|
|
2476
2503
|
if (e) {
|
|
@@ -2516,30 +2543,30 @@ const Se = "-", Kr = (t) => {
|
|
|
2516
2543
|
} = e, l = [], f = t.trim().split(aa);
|
|
2517
2544
|
let m = "";
|
|
2518
2545
|
for (let u = f.length - 1; u >= 0; u -= 1) {
|
|
2519
|
-
const
|
|
2546
|
+
const _ = f[u], {
|
|
2520
2547
|
isExternal: s,
|
|
2521
2548
|
modifiers: D,
|
|
2522
|
-
hasImportantModifier:
|
|
2549
|
+
hasImportantModifier: B,
|
|
2523
2550
|
baseClassName: M,
|
|
2524
2551
|
maybePostfixModifierPosition: P
|
|
2525
|
-
} = o(
|
|
2552
|
+
} = o(_);
|
|
2526
2553
|
if (s) {
|
|
2527
|
-
m =
|
|
2554
|
+
m = _ + (m.length > 0 ? " " + m : m);
|
|
2528
2555
|
continue;
|
|
2529
2556
|
}
|
|
2530
2557
|
let w = !!P, L = n(w ? M.substring(0, P) : M);
|
|
2531
2558
|
if (!L) {
|
|
2532
2559
|
if (!w) {
|
|
2533
|
-
m =
|
|
2560
|
+
m = _ + (m.length > 0 ? " " + m : m);
|
|
2534
2561
|
continue;
|
|
2535
2562
|
}
|
|
2536
2563
|
if (L = n(M), !L) {
|
|
2537
|
-
m =
|
|
2564
|
+
m = _ + (m.length > 0 ? " " + m : m);
|
|
2538
2565
|
continue;
|
|
2539
2566
|
}
|
|
2540
2567
|
w = !1;
|
|
2541
2568
|
}
|
|
2542
|
-
const et = r(D).join(":"), G =
|
|
2569
|
+
const et = r(D).join(":"), G = B ? et + xe : et, J = G + L;
|
|
2543
2570
|
if (l.includes(J))
|
|
2544
2571
|
continue;
|
|
2545
2572
|
l.push(J);
|
|
@@ -2548,7 +2575,7 @@ const Se = "-", Kr = (t) => {
|
|
|
2548
2575
|
const lt = F[q];
|
|
2549
2576
|
l.push(G + lt);
|
|
2550
2577
|
}
|
|
2551
|
-
m =
|
|
2578
|
+
m = _ + (m.length > 0 ? " " + m : m);
|
|
2552
2579
|
}
|
|
2553
2580
|
return m;
|
|
2554
2581
|
};
|
|
@@ -2569,15 +2596,15 @@ const io = (t) => {
|
|
|
2569
2596
|
function ca(t, ...e) {
|
|
2570
2597
|
let o, n, a, r = l;
|
|
2571
2598
|
function l(m) {
|
|
2572
|
-
const u = e.reduce((
|
|
2599
|
+
const u = e.reduce((_, s) => s(_), t());
|
|
2573
2600
|
return o = ra(u), n = o.cache.get, a = o.cache.set, r = f, f(m);
|
|
2574
2601
|
}
|
|
2575
2602
|
function f(m) {
|
|
2576
2603
|
const u = n(m);
|
|
2577
2604
|
if (u)
|
|
2578
2605
|
return u;
|
|
2579
|
-
const
|
|
2580
|
-
return a(m,
|
|
2606
|
+
const _ = ia(m, o);
|
|
2607
|
+
return a(m, _), _;
|
|
2581
2608
|
}
|
|
2582
2609
|
return function() {
|
|
2583
2610
|
return r(la.apply(null, arguments));
|
|
@@ -2586,19 +2613,19 @@ function ca(t, ...e) {
|
|
|
2586
2613
|
const X = (t) => {
|
|
2587
2614
|
const e = (o) => o[t] || [];
|
|
2588
2615
|
return e.isThemeGetter = !0, e;
|
|
2589
|
-
}, lo = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, co = /^\((?:(\w[\w-]*):)?(.+)\)$/i, da = /^\d+\/\d+$/, ua = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ma = /\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$/, fa = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, pa = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ha = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ht = (t) => da.test(t),
|
|
2616
|
+
}, lo = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, co = /^\((?:(\w[\w-]*):)?(.+)\)$/i, da = /^\d+\/\d+$/, ua = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ma = /\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$/, fa = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, pa = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ha = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ht = (t) => da.test(t), j = (t) => !!t && !Number.isNaN(Number(t)), Nt = (t) => !!t && Number.isInteger(Number(t)), he = (t) => t.endsWith("%") && j(t.slice(0, -1)), kt = (t) => ua.test(t), ga = () => !0, ba = (t) => (
|
|
2590
2617
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
2591
2618
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
2592
2619
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
2593
2620
|
ma.test(t) && !fa.test(t)
|
|
2594
|
-
), uo = () => !1,
|
|
2621
|
+
), uo = () => !1, ya = (t) => pa.test(t), _a = (t) => ha.test(t), va = (t) => !b(t) && !y(t), wa = (t) => Yt(t, po, uo), b = (t) => lo.test(t), Tt = (t) => Yt(t, ho, ba), ge = (t) => Yt(t, Na, j), Ve = (t) => Yt(t, mo, uo), xa = (t) => Yt(t, fo, _a), te = (t) => Yt(t, go, ya), y = (t) => co.test(t), Wt = (t) => Vt(t, ho), ka = (t) => Vt(t, Ma), qe = (t) => Vt(t, mo), $a = (t) => Vt(t, po), Ca = (t) => Vt(t, fo), ee = (t) => Vt(t, go, !0), Yt = (t, e, o) => {
|
|
2595
2622
|
const n = lo.exec(t);
|
|
2596
2623
|
return n ? n[1] ? e(n[1]) : o(n[2]) : !1;
|
|
2597
2624
|
}, Vt = (t, e, o = !1) => {
|
|
2598
2625
|
const n = co.exec(t);
|
|
2599
2626
|
return n ? n[1] ? e(n[1]) : o : !1;
|
|
2600
2627
|
}, mo = (t) => t === "position" || t === "percentage", fo = (t) => t === "image" || t === "url", po = (t) => t === "length" || t === "size" || t === "bg-size", ho = (t) => t === "length", Na = (t) => t === "number", Ma = (t) => t === "family-name", go = (t) => t === "shadow", Sa = () => {
|
|
2601
|
-
const t = X("color"), e = X("font"), o = X("text"), n = X("font-weight"), a = X("tracking"), r = X("leading"), l = X("breakpoint"), f = X("container"), m = X("spacing"), u = X("radius"),
|
|
2628
|
+
const t = X("color"), e = X("font"), o = X("text"), n = X("font-weight"), a = X("tracking"), r = X("leading"), l = X("breakpoint"), f = X("container"), m = X("spacing"), u = X("radius"), _ = X("shadow"), s = X("inset-shadow"), D = X("text-shadow"), B = X("drop-shadow"), M = X("blur"), P = X("perspective"), w = X("aspect"), L = X("ease"), et = X("animate"), G = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], J = () => [
|
|
2602
2629
|
"center",
|
|
2603
2630
|
"top",
|
|
2604
2631
|
"bottom",
|
|
@@ -2616,30 +2643,30 @@ const X = (t) => {
|
|
|
2616
2643
|
"bottom-left",
|
|
2617
2644
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
2618
2645
|
"left-bottom"
|
|
2619
|
-
], F = () => [...J(),
|
|
2620
|
-
span: ["full", Nt,
|
|
2621
|
-
}, Nt,
|
|
2622
|
-
position: [
|
|
2646
|
+
], F = () => [...J(), y, b], q = () => ["auto", "hidden", "clip", "visible", "scroll"], lt = () => ["auto", "contain", "none"], $ = () => [y, b, m], U = () => [Ht, "full", "auto", ...$()], H = () => [Nt, "none", "subgrid", y, b], T = () => ["auto", {
|
|
2647
|
+
span: ["full", Nt, y, b]
|
|
2648
|
+
}, Nt, y, b], W = () => [Nt, "auto", y, b], ot = () => ["auto", "min", "max", "fr", y, b], C = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], h = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], c = () => ["auto", ...$()], g = () => [Ht, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...$()], i = () => [t, y, b], x = () => [...J(), qe, Ve, {
|
|
2649
|
+
position: [y, b]
|
|
2623
2650
|
}], N = () => ["no-repeat", {
|
|
2624
2651
|
repeat: ["", "x", "y", "space", "round"]
|
|
2625
2652
|
}], k = () => ["auto", "cover", "contain", $a, wa, {
|
|
2626
|
-
size: [
|
|
2653
|
+
size: [y, b]
|
|
2627
2654
|
}], S = () => [he, Wt, Tt], v = () => [
|
|
2628
2655
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2629
2656
|
"",
|
|
2630
2657
|
"none",
|
|
2631
2658
|
"full",
|
|
2632
2659
|
u,
|
|
2633
|
-
|
|
2660
|
+
y,
|
|
2634
2661
|
b
|
|
2635
|
-
], I = () => ["",
|
|
2662
|
+
], I = () => ["", j, Wt, Tt], Y = () => ["solid", "dashed", "dotted", "double"], O = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], R = () => [j, he, qe, Ve], nt = () => [
|
|
2636
2663
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2637
2664
|
"",
|
|
2638
2665
|
"none",
|
|
2639
2666
|
M,
|
|
2640
|
-
|
|
2667
|
+
y,
|
|
2641
2668
|
b
|
|
2642
|
-
], K = () => ["none",
|
|
2669
|
+
], K = () => ["none", j, y, b], V = () => ["none", j, y, b], rt = () => [j, y, b], ct = () => [Ht, "full", ...$()];
|
|
2643
2670
|
return {
|
|
2644
2671
|
cacheSize: 500,
|
|
2645
2672
|
theme: {
|
|
@@ -2658,7 +2685,7 @@ const X = (t) => {
|
|
|
2658
2685
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
2659
2686
|
radius: [kt],
|
|
2660
2687
|
shadow: [kt],
|
|
2661
|
-
spacing: ["px",
|
|
2688
|
+
spacing: ["px", j],
|
|
2662
2689
|
text: [kt],
|
|
2663
2690
|
"text-shadow": [kt],
|
|
2664
2691
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
@@ -2672,7 +2699,7 @@ const X = (t) => {
|
|
|
2672
2699
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
2673
2700
|
*/
|
|
2674
2701
|
aspect: [{
|
|
2675
|
-
aspect: ["auto", "square", Ht, b,
|
|
2702
|
+
aspect: ["auto", "square", Ht, b, y, w]
|
|
2676
2703
|
}],
|
|
2677
2704
|
/**
|
|
2678
2705
|
* Container
|
|
@@ -2685,7 +2712,7 @@ const X = (t) => {
|
|
|
2685
2712
|
* @see https://tailwindcss.com/docs/columns
|
|
2686
2713
|
*/
|
|
2687
2714
|
columns: [{
|
|
2688
|
-
columns: [
|
|
2715
|
+
columns: [j, b, y, f]
|
|
2689
2716
|
}],
|
|
2690
2717
|
/**
|
|
2691
2718
|
* Break After
|
|
@@ -2885,7 +2912,7 @@ const X = (t) => {
|
|
|
2885
2912
|
* @see https://tailwindcss.com/docs/z-index
|
|
2886
2913
|
*/
|
|
2887
2914
|
z: [{
|
|
2888
|
-
z: [Nt, "auto",
|
|
2915
|
+
z: [Nt, "auto", y, b]
|
|
2889
2916
|
}],
|
|
2890
2917
|
// ------------------------
|
|
2891
2918
|
// --- Flexbox and Grid ---
|
|
@@ -2916,28 +2943,28 @@ const X = (t) => {
|
|
|
2916
2943
|
* @see https://tailwindcss.com/docs/flex
|
|
2917
2944
|
*/
|
|
2918
2945
|
flex: [{
|
|
2919
|
-
flex: [
|
|
2946
|
+
flex: [j, Ht, "auto", "initial", "none", b]
|
|
2920
2947
|
}],
|
|
2921
2948
|
/**
|
|
2922
2949
|
* Flex Grow
|
|
2923
2950
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
2924
2951
|
*/
|
|
2925
2952
|
grow: [{
|
|
2926
|
-
grow: ["",
|
|
2953
|
+
grow: ["", j, y, b]
|
|
2927
2954
|
}],
|
|
2928
2955
|
/**
|
|
2929
2956
|
* Flex Shrink
|
|
2930
2957
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
2931
2958
|
*/
|
|
2932
2959
|
shrink: [{
|
|
2933
|
-
shrink: ["",
|
|
2960
|
+
shrink: ["", j, y, b]
|
|
2934
2961
|
}],
|
|
2935
2962
|
/**
|
|
2936
2963
|
* Order
|
|
2937
2964
|
* @see https://tailwindcss.com/docs/order
|
|
2938
2965
|
*/
|
|
2939
2966
|
order: [{
|
|
2940
|
-
order: [Nt, "first", "last", "none",
|
|
2967
|
+
order: [Nt, "first", "last", "none", y, b]
|
|
2941
2968
|
}],
|
|
2942
2969
|
/**
|
|
2943
2970
|
* Grid Template Columns
|
|
@@ -3349,7 +3376,7 @@ const X = (t) => {
|
|
|
3349
3376
|
* @see https://tailwindcss.com/docs/font-weight
|
|
3350
3377
|
*/
|
|
3351
3378
|
"font-weight": [{
|
|
3352
|
-
font: [n,
|
|
3379
|
+
font: [n, y, ge]
|
|
3353
3380
|
}],
|
|
3354
3381
|
/**
|
|
3355
3382
|
* Font Stretch
|
|
@@ -3400,14 +3427,14 @@ const X = (t) => {
|
|
|
3400
3427
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
3401
3428
|
*/
|
|
3402
3429
|
tracking: [{
|
|
3403
|
-
tracking: [a,
|
|
3430
|
+
tracking: [a, y, b]
|
|
3404
3431
|
}],
|
|
3405
3432
|
/**
|
|
3406
3433
|
* Line Clamp
|
|
3407
3434
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
3408
3435
|
*/
|
|
3409
3436
|
"line-clamp": [{
|
|
3410
|
-
"line-clamp": [
|
|
3437
|
+
"line-clamp": [j, "none", y, ge]
|
|
3411
3438
|
}],
|
|
3412
3439
|
/**
|
|
3413
3440
|
* Line Height
|
|
@@ -3425,7 +3452,7 @@ const X = (t) => {
|
|
|
3425
3452
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
3426
3453
|
*/
|
|
3427
3454
|
"list-image": [{
|
|
3428
|
-
"list-image": ["none",
|
|
3455
|
+
"list-image": ["none", y, b]
|
|
3429
3456
|
}],
|
|
3430
3457
|
/**
|
|
3431
3458
|
* List Style Position
|
|
@@ -3439,7 +3466,7 @@ const X = (t) => {
|
|
|
3439
3466
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
3440
3467
|
*/
|
|
3441
3468
|
"list-style-type": [{
|
|
3442
|
-
list: ["disc", "decimal", "none",
|
|
3469
|
+
list: ["disc", "decimal", "none", y, b]
|
|
3443
3470
|
}],
|
|
3444
3471
|
/**
|
|
3445
3472
|
* Text Alignment
|
|
@@ -3480,7 +3507,7 @@ const X = (t) => {
|
|
|
3480
3507
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
3481
3508
|
*/
|
|
3482
3509
|
"text-decoration-thickness": [{
|
|
3483
|
-
decoration: [
|
|
3510
|
+
decoration: [j, "from-font", "auto", y, Tt]
|
|
3484
3511
|
}],
|
|
3485
3512
|
/**
|
|
3486
3513
|
* Text Decoration Color
|
|
@@ -3494,7 +3521,7 @@ const X = (t) => {
|
|
|
3494
3521
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
3495
3522
|
*/
|
|
3496
3523
|
"underline-offset": [{
|
|
3497
|
-
"underline-offset": [
|
|
3524
|
+
"underline-offset": [j, "auto", y, b]
|
|
3498
3525
|
}],
|
|
3499
3526
|
/**
|
|
3500
3527
|
* Text Transform
|
|
@@ -3525,7 +3552,7 @@ const X = (t) => {
|
|
|
3525
3552
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
3526
3553
|
*/
|
|
3527
3554
|
"vertical-align": [{
|
|
3528
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
3555
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", y, b]
|
|
3529
3556
|
}],
|
|
3530
3557
|
/**
|
|
3531
3558
|
* Whitespace
|
|
@@ -3560,7 +3587,7 @@ const X = (t) => {
|
|
|
3560
3587
|
* @see https://tailwindcss.com/docs/content
|
|
3561
3588
|
*/
|
|
3562
3589
|
content: [{
|
|
3563
|
-
content: ["none",
|
|
3590
|
+
content: ["none", y, b]
|
|
3564
3591
|
}],
|
|
3565
3592
|
// -------------------
|
|
3566
3593
|
// --- Backgrounds ---
|
|
@@ -3615,9 +3642,9 @@ const X = (t) => {
|
|
|
3615
3642
|
bg: ["none", {
|
|
3616
3643
|
linear: [{
|
|
3617
3644
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
3618
|
-
}, Nt,
|
|
3619
|
-
radial: ["",
|
|
3620
|
-
conic: [Nt,
|
|
3645
|
+
}, Nt, y, b],
|
|
3646
|
+
radial: ["", y, b],
|
|
3647
|
+
conic: [Nt, y, b]
|
|
3621
3648
|
}, Ca, xa]
|
|
3622
3649
|
}],
|
|
3623
3650
|
/**
|
|
@@ -3960,14 +3987,14 @@ const X = (t) => {
|
|
|
3960
3987
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
3961
3988
|
*/
|
|
3962
3989
|
"outline-offset": [{
|
|
3963
|
-
"outline-offset": [
|
|
3990
|
+
"outline-offset": [j, y, b]
|
|
3964
3991
|
}],
|
|
3965
3992
|
/**
|
|
3966
3993
|
* Outline Width
|
|
3967
3994
|
* @see https://tailwindcss.com/docs/outline-width
|
|
3968
3995
|
*/
|
|
3969
3996
|
"outline-w": [{
|
|
3970
|
-
outline: ["",
|
|
3997
|
+
outline: ["", j, Wt, Tt]
|
|
3971
3998
|
}],
|
|
3972
3999
|
/**
|
|
3973
4000
|
* Outline Color
|
|
@@ -3988,7 +4015,7 @@ const X = (t) => {
|
|
|
3988
4015
|
// Deprecated since Tailwind CSS v4.0.0
|
|
3989
4016
|
"",
|
|
3990
4017
|
"none",
|
|
3991
|
-
|
|
4018
|
+
_,
|
|
3992
4019
|
ee,
|
|
3993
4020
|
te
|
|
3994
4021
|
]
|
|
@@ -4042,7 +4069,7 @@ const X = (t) => {
|
|
|
4042
4069
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
4043
4070
|
*/
|
|
4044
4071
|
"ring-offset-w": [{
|
|
4045
|
-
"ring-offset": [
|
|
4072
|
+
"ring-offset": [j, Tt]
|
|
4046
4073
|
}],
|
|
4047
4074
|
/**
|
|
4048
4075
|
* Ring Offset Color
|
|
@@ -4086,7 +4113,7 @@ const X = (t) => {
|
|
|
4086
4113
|
* @see https://tailwindcss.com/docs/opacity
|
|
4087
4114
|
*/
|
|
4088
4115
|
opacity: [{
|
|
4089
|
-
opacity: [
|
|
4116
|
+
opacity: [j, y, b]
|
|
4090
4117
|
}],
|
|
4091
4118
|
/**
|
|
4092
4119
|
* Mix Blend Mode
|
|
@@ -4121,7 +4148,7 @@ const X = (t) => {
|
|
|
4121
4148
|
* @see https://tailwindcss.com/docs/mask-image
|
|
4122
4149
|
*/
|
|
4123
4150
|
"mask-image-linear-pos": [{
|
|
4124
|
-
"mask-linear": [
|
|
4151
|
+
"mask-linear": [j]
|
|
4125
4152
|
}],
|
|
4126
4153
|
"mask-image-linear-from-pos": [{
|
|
4127
4154
|
"mask-linear-from": R()
|
|
@@ -4208,7 +4235,7 @@ const X = (t) => {
|
|
|
4208
4235
|
"mask-y-to": i()
|
|
4209
4236
|
}],
|
|
4210
4237
|
"mask-image-radial": [{
|
|
4211
|
-
"mask-radial": [
|
|
4238
|
+
"mask-radial": [y, b]
|
|
4212
4239
|
}],
|
|
4213
4240
|
"mask-image-radial-from-pos": [{
|
|
4214
4241
|
"mask-radial-from": R()
|
|
@@ -4235,7 +4262,7 @@ const X = (t) => {
|
|
|
4235
4262
|
"mask-radial-at": J()
|
|
4236
4263
|
}],
|
|
4237
4264
|
"mask-image-conic-pos": [{
|
|
4238
|
-
"mask-conic": [
|
|
4265
|
+
"mask-conic": [j]
|
|
4239
4266
|
}],
|
|
4240
4267
|
"mask-image-conic-from-pos": [{
|
|
4241
4268
|
"mask-conic-from": R()
|
|
@@ -4296,7 +4323,7 @@ const X = (t) => {
|
|
|
4296
4323
|
* @see https://tailwindcss.com/docs/mask-image
|
|
4297
4324
|
*/
|
|
4298
4325
|
"mask-image": [{
|
|
4299
|
-
mask: ["none",
|
|
4326
|
+
mask: ["none", y, b]
|
|
4300
4327
|
}],
|
|
4301
4328
|
// ---------------
|
|
4302
4329
|
// --- Filters ---
|
|
@@ -4310,7 +4337,7 @@ const X = (t) => {
|
|
|
4310
4337
|
// Deprecated since Tailwind CSS v3.0.0
|
|
4311
4338
|
"",
|
|
4312
4339
|
"none",
|
|
4313
|
-
|
|
4340
|
+
y,
|
|
4314
4341
|
b
|
|
4315
4342
|
]
|
|
4316
4343
|
}],
|
|
@@ -4326,14 +4353,14 @@ const X = (t) => {
|
|
|
4326
4353
|
* @see https://tailwindcss.com/docs/brightness
|
|
4327
4354
|
*/
|
|
4328
4355
|
brightness: [{
|
|
4329
|
-
brightness: [
|
|
4356
|
+
brightness: [j, y, b]
|
|
4330
4357
|
}],
|
|
4331
4358
|
/**
|
|
4332
4359
|
* Contrast
|
|
4333
4360
|
* @see https://tailwindcss.com/docs/contrast
|
|
4334
4361
|
*/
|
|
4335
4362
|
contrast: [{
|
|
4336
|
-
contrast: [
|
|
4363
|
+
contrast: [j, y, b]
|
|
4337
4364
|
}],
|
|
4338
4365
|
/**
|
|
4339
4366
|
* Drop Shadow
|
|
@@ -4344,7 +4371,7 @@ const X = (t) => {
|
|
|
4344
4371
|
// Deprecated since Tailwind CSS v4.0.0
|
|
4345
4372
|
"",
|
|
4346
4373
|
"none",
|
|
4347
|
-
|
|
4374
|
+
B,
|
|
4348
4375
|
ee,
|
|
4349
4376
|
te
|
|
4350
4377
|
]
|
|
@@ -4361,35 +4388,35 @@ const X = (t) => {
|
|
|
4361
4388
|
* @see https://tailwindcss.com/docs/grayscale
|
|
4362
4389
|
*/
|
|
4363
4390
|
grayscale: [{
|
|
4364
|
-
grayscale: ["",
|
|
4391
|
+
grayscale: ["", j, y, b]
|
|
4365
4392
|
}],
|
|
4366
4393
|
/**
|
|
4367
4394
|
* Hue Rotate
|
|
4368
4395
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
4369
4396
|
*/
|
|
4370
4397
|
"hue-rotate": [{
|
|
4371
|
-
"hue-rotate": [
|
|
4398
|
+
"hue-rotate": [j, y, b]
|
|
4372
4399
|
}],
|
|
4373
4400
|
/**
|
|
4374
4401
|
* Invert
|
|
4375
4402
|
* @see https://tailwindcss.com/docs/invert
|
|
4376
4403
|
*/
|
|
4377
4404
|
invert: [{
|
|
4378
|
-
invert: ["",
|
|
4405
|
+
invert: ["", j, y, b]
|
|
4379
4406
|
}],
|
|
4380
4407
|
/**
|
|
4381
4408
|
* Saturate
|
|
4382
4409
|
* @see https://tailwindcss.com/docs/saturate
|
|
4383
4410
|
*/
|
|
4384
4411
|
saturate: [{
|
|
4385
|
-
saturate: [
|
|
4412
|
+
saturate: [j, y, b]
|
|
4386
4413
|
}],
|
|
4387
4414
|
/**
|
|
4388
4415
|
* Sepia
|
|
4389
4416
|
* @see https://tailwindcss.com/docs/sepia
|
|
4390
4417
|
*/
|
|
4391
4418
|
sepia: [{
|
|
4392
|
-
sepia: ["",
|
|
4419
|
+
sepia: ["", j, y, b]
|
|
4393
4420
|
}],
|
|
4394
4421
|
/**
|
|
4395
4422
|
* Backdrop Filter
|
|
@@ -4400,7 +4427,7 @@ const X = (t) => {
|
|
|
4400
4427
|
// Deprecated since Tailwind CSS v3.0.0
|
|
4401
4428
|
"",
|
|
4402
4429
|
"none",
|
|
4403
|
-
|
|
4430
|
+
y,
|
|
4404
4431
|
b
|
|
4405
4432
|
]
|
|
4406
4433
|
}],
|
|
@@ -4416,56 +4443,56 @@ const X = (t) => {
|
|
|
4416
4443
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
4417
4444
|
*/
|
|
4418
4445
|
"backdrop-brightness": [{
|
|
4419
|
-
"backdrop-brightness": [
|
|
4446
|
+
"backdrop-brightness": [j, y, b]
|
|
4420
4447
|
}],
|
|
4421
4448
|
/**
|
|
4422
4449
|
* Backdrop Contrast
|
|
4423
4450
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
4424
4451
|
*/
|
|
4425
4452
|
"backdrop-contrast": [{
|
|
4426
|
-
"backdrop-contrast": [
|
|
4453
|
+
"backdrop-contrast": [j, y, b]
|
|
4427
4454
|
}],
|
|
4428
4455
|
/**
|
|
4429
4456
|
* Backdrop Grayscale
|
|
4430
4457
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
4431
4458
|
*/
|
|
4432
4459
|
"backdrop-grayscale": [{
|
|
4433
|
-
"backdrop-grayscale": ["",
|
|
4460
|
+
"backdrop-grayscale": ["", j, y, b]
|
|
4434
4461
|
}],
|
|
4435
4462
|
/**
|
|
4436
4463
|
* Backdrop Hue Rotate
|
|
4437
4464
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
4438
4465
|
*/
|
|
4439
4466
|
"backdrop-hue-rotate": [{
|
|
4440
|
-
"backdrop-hue-rotate": [
|
|
4467
|
+
"backdrop-hue-rotate": [j, y, b]
|
|
4441
4468
|
}],
|
|
4442
4469
|
/**
|
|
4443
4470
|
* Backdrop Invert
|
|
4444
4471
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
4445
4472
|
*/
|
|
4446
4473
|
"backdrop-invert": [{
|
|
4447
|
-
"backdrop-invert": ["",
|
|
4474
|
+
"backdrop-invert": ["", j, y, b]
|
|
4448
4475
|
}],
|
|
4449
4476
|
/**
|
|
4450
4477
|
* Backdrop Opacity
|
|
4451
4478
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
4452
4479
|
*/
|
|
4453
4480
|
"backdrop-opacity": [{
|
|
4454
|
-
"backdrop-opacity": [
|
|
4481
|
+
"backdrop-opacity": [j, y, b]
|
|
4455
4482
|
}],
|
|
4456
4483
|
/**
|
|
4457
4484
|
* Backdrop Saturate
|
|
4458
4485
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
4459
4486
|
*/
|
|
4460
4487
|
"backdrop-saturate": [{
|
|
4461
|
-
"backdrop-saturate": [
|
|
4488
|
+
"backdrop-saturate": [j, y, b]
|
|
4462
4489
|
}],
|
|
4463
4490
|
/**
|
|
4464
4491
|
* Backdrop Sepia
|
|
4465
4492
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
4466
4493
|
*/
|
|
4467
4494
|
"backdrop-sepia": [{
|
|
4468
|
-
"backdrop-sepia": ["",
|
|
4495
|
+
"backdrop-sepia": ["", j, y, b]
|
|
4469
4496
|
}],
|
|
4470
4497
|
// --------------
|
|
4471
4498
|
// --- Tables ---
|
|
@@ -4520,7 +4547,7 @@ const X = (t) => {
|
|
|
4520
4547
|
* @see https://tailwindcss.com/docs/transition-property
|
|
4521
4548
|
*/
|
|
4522
4549
|
transition: [{
|
|
4523
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
4550
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", y, b]
|
|
4524
4551
|
}],
|
|
4525
4552
|
/**
|
|
4526
4553
|
* Transition Behavior
|
|
@@ -4534,28 +4561,28 @@ const X = (t) => {
|
|
|
4534
4561
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
4535
4562
|
*/
|
|
4536
4563
|
duration: [{
|
|
4537
|
-
duration: [
|
|
4564
|
+
duration: [j, "initial", y, b]
|
|
4538
4565
|
}],
|
|
4539
4566
|
/**
|
|
4540
4567
|
* Transition Timing Function
|
|
4541
4568
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
4542
4569
|
*/
|
|
4543
4570
|
ease: [{
|
|
4544
|
-
ease: ["linear", "initial", L,
|
|
4571
|
+
ease: ["linear", "initial", L, y, b]
|
|
4545
4572
|
}],
|
|
4546
4573
|
/**
|
|
4547
4574
|
* Transition Delay
|
|
4548
4575
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
4549
4576
|
*/
|
|
4550
4577
|
delay: [{
|
|
4551
|
-
delay: [
|
|
4578
|
+
delay: [j, y, b]
|
|
4552
4579
|
}],
|
|
4553
4580
|
/**
|
|
4554
4581
|
* Animation
|
|
4555
4582
|
* @see https://tailwindcss.com/docs/animation
|
|
4556
4583
|
*/
|
|
4557
4584
|
animate: [{
|
|
4558
|
-
animate: ["none", et,
|
|
4585
|
+
animate: ["none", et, y, b]
|
|
4559
4586
|
}],
|
|
4560
4587
|
// ------------------
|
|
4561
4588
|
// --- Transforms ---
|
|
@@ -4572,7 +4599,7 @@ const X = (t) => {
|
|
|
4572
4599
|
* @see https://tailwindcss.com/docs/perspective
|
|
4573
4600
|
*/
|
|
4574
4601
|
perspective: [{
|
|
4575
|
-
perspective: [P,
|
|
4602
|
+
perspective: [P, y, b]
|
|
4576
4603
|
}],
|
|
4577
4604
|
/**
|
|
4578
4605
|
* Perspective Origin
|
|
@@ -4668,7 +4695,7 @@ const X = (t) => {
|
|
|
4668
4695
|
* @see https://tailwindcss.com/docs/transform
|
|
4669
4696
|
*/
|
|
4670
4697
|
transform: [{
|
|
4671
|
-
transform: [
|
|
4698
|
+
transform: [y, b, "", "none", "gpu", "cpu"]
|
|
4672
4699
|
}],
|
|
4673
4700
|
/**
|
|
4674
4701
|
* Transform Origin
|
|
@@ -4753,7 +4780,7 @@ const X = (t) => {
|
|
|
4753
4780
|
* @see https://tailwindcss.com/docs/cursor
|
|
4754
4781
|
*/
|
|
4755
4782
|
cursor: [{
|
|
4756
|
-
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",
|
|
4783
|
+
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", y, b]
|
|
4757
4784
|
}],
|
|
4758
4785
|
/**
|
|
4759
4786
|
* Field Sizing
|
|
@@ -4975,7 +5002,7 @@ const X = (t) => {
|
|
|
4975
5002
|
* @see https://tailwindcss.com/docs/will-change
|
|
4976
5003
|
*/
|
|
4977
5004
|
"will-change": [{
|
|
4978
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
5005
|
+
"will-change": ["auto", "scroll", "contents", "transform", y, b]
|
|
4979
5006
|
}],
|
|
4980
5007
|
// -----------
|
|
4981
5008
|
// --- SVG ---
|
|
@@ -4992,7 +5019,7 @@ const X = (t) => {
|
|
|
4992
5019
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
4993
5020
|
*/
|
|
4994
5021
|
"stroke-w": [{
|
|
4995
|
-
stroke: [
|
|
5022
|
+
stroke: [j, Wt, Tt, ge]
|
|
4996
5023
|
}],
|
|
4997
5024
|
/**
|
|
4998
5025
|
* Stroke
|
|
@@ -5068,7 +5095,7 @@ const X = (t) => {
|
|
|
5068
5095
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
5069
5096
|
};
|
|
5070
5097
|
}, Ta = /* @__PURE__ */ ca(Sa);
|
|
5071
|
-
function
|
|
5098
|
+
function jt(...t) {
|
|
5072
5099
|
return Ta(Xr(t));
|
|
5073
5100
|
}
|
|
5074
5101
|
function Ia({ className: t, ...e }) {
|
|
@@ -5081,7 +5108,7 @@ function Ia({ className: t, ...e }) {
|
|
|
5081
5108
|
"table",
|
|
5082
5109
|
{
|
|
5083
5110
|
"data-slot": "table",
|
|
5084
|
-
className:
|
|
5111
|
+
className: jt("w-full caption-bottom", t),
|
|
5085
5112
|
...e
|
|
5086
5113
|
}
|
|
5087
5114
|
)
|
|
@@ -5093,27 +5120,27 @@ function Ea({ className: t, ...e }) {
|
|
|
5093
5120
|
"thead",
|
|
5094
5121
|
{
|
|
5095
5122
|
"data-slot": "table-header",
|
|
5096
|
-
className:
|
|
5123
|
+
className: jt("[&_tr]:border-b", t),
|
|
5097
5124
|
...e
|
|
5098
5125
|
}
|
|
5099
5126
|
);
|
|
5100
5127
|
}
|
|
5101
|
-
function
|
|
5128
|
+
function Aa({ className: t, ...e }) {
|
|
5102
5129
|
return /* @__PURE__ */ d(
|
|
5103
5130
|
"tbody",
|
|
5104
5131
|
{
|
|
5105
5132
|
"data-slot": "table-body",
|
|
5106
|
-
className:
|
|
5133
|
+
className: jt("[&_tr:last-child]:border-0", t),
|
|
5107
5134
|
...e
|
|
5108
5135
|
}
|
|
5109
5136
|
);
|
|
5110
5137
|
}
|
|
5111
|
-
function
|
|
5138
|
+
function Ba({ className: t, ...e }) {
|
|
5112
5139
|
return /* @__PURE__ */ d(
|
|
5113
5140
|
"tr",
|
|
5114
5141
|
{
|
|
5115
5142
|
"data-slot": "table-row",
|
|
5116
|
-
className:
|
|
5143
|
+
className: jt(
|
|
5117
5144
|
"hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",
|
|
5118
5145
|
t
|
|
5119
5146
|
),
|
|
@@ -5121,12 +5148,12 @@ function Aa({ className: t, ...e }) {
|
|
|
5121
5148
|
}
|
|
5122
5149
|
);
|
|
5123
5150
|
}
|
|
5124
|
-
function
|
|
5151
|
+
function ja({ className: t, ...e }) {
|
|
5125
5152
|
return /* @__PURE__ */ d(
|
|
5126
5153
|
"th",
|
|
5127
5154
|
{
|
|
5128
5155
|
"data-slot": "table-head",
|
|
5129
|
-
className:
|
|
5156
|
+
className: jt(
|
|
5130
5157
|
"text-left align-middle font-medium whitespace-nowrap",
|
|
5131
5158
|
t
|
|
5132
5159
|
),
|
|
@@ -5138,7 +5165,7 @@ function za({ className: t, ...e }) {
|
|
|
5138
5165
|
return /* @__PURE__ */ d(
|
|
5139
5166
|
"td",
|
|
5140
5167
|
{
|
|
5141
|
-
className:
|
|
5168
|
+
className: jt("whitespace-nowrap ", t),
|
|
5142
5169
|
...e
|
|
5143
5170
|
}
|
|
5144
5171
|
);
|
|
@@ -5151,7 +5178,7 @@ function Da({
|
|
|
5151
5178
|
"caption",
|
|
5152
5179
|
{
|
|
5153
5180
|
"data-slot": "table-caption",
|
|
5154
|
-
className:
|
|
5181
|
+
className: jt("text-muted-foreground mt-4 text-sm", t),
|
|
5155
5182
|
...e
|
|
5156
5183
|
}
|
|
5157
5184
|
);
|
|
@@ -5163,7 +5190,7 @@ const ui = (t) => /* @__PURE__ */ d(
|
|
|
5163
5190
|
className: E(t.className)
|
|
5164
5191
|
}
|
|
5165
5192
|
), mi = (t) => /* @__PURE__ */ d(
|
|
5166
|
-
|
|
5193
|
+
Aa,
|
|
5167
5194
|
{
|
|
5168
5195
|
...t,
|
|
5169
5196
|
className: E(t.className, "custom-table-body")
|
|
@@ -5214,7 +5241,7 @@ const pi = (t) => /* @__PURE__ */ d(
|
|
|
5214
5241
|
"custom-table-header"
|
|
5215
5242
|
);
|
|
5216
5243
|
return /* @__PURE__ */ d(
|
|
5217
|
-
|
|
5244
|
+
ja,
|
|
5218
5245
|
{
|
|
5219
5246
|
...a,
|
|
5220
5247
|
className: r,
|
|
@@ -5223,7 +5250,7 @@ const pi = (t) => /* @__PURE__ */ d(
|
|
|
5223
5250
|
}
|
|
5224
5251
|
);
|
|
5225
5252
|
}, gi = (t) => /* @__PURE__ */ d(
|
|
5226
|
-
|
|
5253
|
+
Ba,
|
|
5227
5254
|
{
|
|
5228
5255
|
...t,
|
|
5229
5256
|
className: E(
|
|
@@ -5258,7 +5285,7 @@ const pi = (t) => /* @__PURE__ */ d(
|
|
|
5258
5285
|
className: f,
|
|
5259
5286
|
tooltipClassName: m
|
|
5260
5287
|
}) => {
|
|
5261
|
-
const [u,
|
|
5288
|
+
const [u, _] = Et(!1), [s, D] = Et(n), B = oe(null), M = oe(!1), P = oe(null), w = t !== void 0 ? t : u, L = r === "hover" || r === "both", et = r === "click" || r === "both", G = Eo(), J = be[`tooltip-position-${s}`] || "", F = E(be.tooltipWrapper, f), q = E(
|
|
5262
5289
|
be.tooltip,
|
|
5263
5290
|
J,
|
|
5264
5291
|
m
|
|
@@ -5269,18 +5296,18 @@ const pi = (t) => /* @__PURE__ */ d(
|
|
|
5269
5296
|
ref: P,
|
|
5270
5297
|
className: F,
|
|
5271
5298
|
onMouseEnter: () => {
|
|
5272
|
-
!L || t !== void 0 || (
|
|
5299
|
+
!L || t !== void 0 || (B.current && clearTimeout(B.current), B.current = window.setTimeout(() => {
|
|
5273
5300
|
if (n === "mostSpace" && P.current) {
|
|
5274
5301
|
const T = P.current.getBoundingClientRect(), W = T.top, ot = window.innerHeight - T.bottom;
|
|
5275
5302
|
D(ot >= W ? "below" : "above");
|
|
5276
5303
|
} else
|
|
5277
5304
|
D(n);
|
|
5278
|
-
|
|
5305
|
+
_(!0);
|
|
5279
5306
|
}, o));
|
|
5280
5307
|
},
|
|
5281
5308
|
onMouseLeave: () => {
|
|
5282
|
-
!L || t !== void 0 || (
|
|
5283
|
-
M.current ||
|
|
5309
|
+
!L || t !== void 0 || (B.current && clearTimeout(B.current), B.current = window.setTimeout(() => {
|
|
5310
|
+
M.current || _(!1);
|
|
5284
5311
|
}, 50));
|
|
5285
5312
|
},
|
|
5286
5313
|
onClick: () => {
|
|
@@ -5290,7 +5317,7 @@ const pi = (t) => /* @__PURE__ */ d(
|
|
|
5290
5317
|
D(ot >= W ? "below" : "above");
|
|
5291
5318
|
} else
|
|
5292
5319
|
D(n);
|
|
5293
|
-
|
|
5320
|
+
_(M.current);
|
|
5294
5321
|
}
|
|
5295
5322
|
},
|
|
5296
5323
|
"aria-describedby": w ? G : void 0,
|
|
@@ -5321,7 +5348,7 @@ const pi = (t) => /* @__PURE__ */ d(
|
|
|
5321
5348
|
active: Va,
|
|
5322
5349
|
sm: qa,
|
|
5323
5350
|
md: Ga
|
|
5324
|
-
},
|
|
5351
|
+
}, yi = ({
|
|
5325
5352
|
sections: t,
|
|
5326
5353
|
activeTab: e,
|
|
5327
5354
|
onTabSelect: o,
|
|
@@ -5373,16 +5400,16 @@ const pi = (t) => /* @__PURE__ */ d(
|
|
|
5373
5400
|
className: f,
|
|
5374
5401
|
onChange: m,
|
|
5375
5402
|
value: u,
|
|
5376
|
-
defaultValue:
|
|
5403
|
+
defaultValue: _,
|
|
5377
5404
|
rows: s = 4,
|
|
5378
5405
|
...D
|
|
5379
|
-
},
|
|
5406
|
+
}, B) => {
|
|
5380
5407
|
const M = u !== void 0, [P, w] = Et(
|
|
5381
|
-
(
|
|
5408
|
+
(_ == null ? void 0 : _.toString()) || ""
|
|
5382
5409
|
);
|
|
5383
5410
|
$e(() => {
|
|
5384
|
-
!M &&
|
|
5385
|
-
}, [
|
|
5411
|
+
!M && _ !== void 0 && w(_.toString());
|
|
5412
|
+
}, [_]);
|
|
5386
5413
|
const L = M ? u : P, et = (G) => {
|
|
5387
5414
|
const J = G.target.value;
|
|
5388
5415
|
M || w(J), m == null || m(G);
|
|
@@ -5400,7 +5427,7 @@ const pi = (t) => /* @__PURE__ */ d(
|
|
|
5400
5427
|
children: /* @__PURE__ */ d(
|
|
5401
5428
|
"textarea",
|
|
5402
5429
|
{
|
|
5403
|
-
ref:
|
|
5430
|
+
ref: B,
|
|
5404
5431
|
className: E(pt.input, f),
|
|
5405
5432
|
disabled: r,
|
|
5406
5433
|
readOnly: l,
|
|
@@ -5423,7 +5450,7 @@ export {
|
|
|
5423
5450
|
ei as Collapse,
|
|
5424
5451
|
oi as CourseCollapse,
|
|
5425
5452
|
ni as CustomToaster,
|
|
5426
|
-
|
|
5453
|
+
Bt as Empty,
|
|
5427
5454
|
Me as FormItem,
|
|
5428
5455
|
se as IconButton,
|
|
5429
5456
|
Ce as InlineError,
|
|
@@ -5444,7 +5471,7 @@ export {
|
|
|
5444
5471
|
gi as TableRow,
|
|
5445
5472
|
Wa as TextArea,
|
|
5446
5473
|
bi as Tooltip,
|
|
5447
|
-
|
|
5474
|
+
yi as TopBar,
|
|
5448
5475
|
st as Typography,
|
|
5449
5476
|
si as message
|
|
5450
5477
|
};
|