skillgrid 0.0.28 → 0.0.29
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/index.cjs.js +9 -9
- package/dist/index.css +1 -1
- package/dist/index.es.js +385 -362
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Vt from "react";
|
|
2
|
-
import _t, { forwardRef as X, Fragment as Oe, useState as de, useEffect as
|
|
2
|
+
import _t, { forwardRef as X, Fragment as Oe, useState as de, useEffect as ie, useRef as qe, useCallback as Se, useMemo as Er, createContext as Ht, useContext as Gt, useLayoutEffect as jr, useImperativeHandle as kr, useId as pt } from "react";
|
|
3
3
|
import { clsx as k } from "clsx";
|
|
4
4
|
import $r from "rc-tooltip";
|
|
5
5
|
import './index.css';function Mr(e) {
|
|
@@ -61,10 +61,10 @@ function Rr() {
|
|
|
61
61
|
{
|
|
62
62
|
var E = x.ReactDebugCurrentFrame, P = E.getStackAddendum();
|
|
63
63
|
P !== "" && (u += "%s", g = g.concat([P]));
|
|
64
|
-
var
|
|
64
|
+
var B = g.map(function(T) {
|
|
65
65
|
return String(T);
|
|
66
66
|
});
|
|
67
|
-
|
|
67
|
+
B.unshift("Warning: " + u), Function.prototype.apply.call(console[t], console, B);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
var L = !1, $ = !1, j = !1, M = !1, A = !1, D;
|
|
@@ -121,9 +121,9 @@ function Rr() {
|
|
|
121
121
|
var E = t.displayName || null;
|
|
122
122
|
return E !== null ? E : C(t.type) || "Memo";
|
|
123
123
|
case y: {
|
|
124
|
-
var P = t,
|
|
124
|
+
var P = t, B = P._payload, T = P._init;
|
|
125
125
|
try {
|
|
126
|
-
return C(T(
|
|
126
|
+
return C(T(B));
|
|
127
127
|
} catch {
|
|
128
128
|
return null;
|
|
129
129
|
}
|
|
@@ -131,14 +131,14 @@ function Rr() {
|
|
|
131
131
|
}
|
|
132
132
|
return null;
|
|
133
133
|
}
|
|
134
|
-
var R = Object.assign,
|
|
134
|
+
var R = Object.assign, q = 0, U, V, Q, le, Z, ue, ee;
|
|
135
135
|
function Ce() {
|
|
136
136
|
}
|
|
137
137
|
Ce.__reactDisabledLog = !0;
|
|
138
|
-
function
|
|
138
|
+
function Be() {
|
|
139
139
|
{
|
|
140
|
-
if (
|
|
141
|
-
U = console.log, V = console.info, Q = console.warn,
|
|
140
|
+
if (q === 0) {
|
|
141
|
+
U = console.log, V = console.info, Q = console.warn, le = console.error, Z = console.group, ue = console.groupCollapsed, ee = console.groupEnd;
|
|
142
142
|
var t = {
|
|
143
143
|
configurable: !0,
|
|
144
144
|
enumerable: !0,
|
|
@@ -155,12 +155,12 @@ function Rr() {
|
|
|
155
155
|
groupEnd: t
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
|
-
|
|
158
|
+
q++;
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
function me() {
|
|
162
162
|
{
|
|
163
|
-
if (
|
|
163
|
+
if (q--, q === 0) {
|
|
164
164
|
var t = {
|
|
165
165
|
configurable: !0,
|
|
166
166
|
enumerable: !0,
|
|
@@ -177,7 +177,7 @@ function Rr() {
|
|
|
177
177
|
value: Q
|
|
178
178
|
}),
|
|
179
179
|
error: R({}, t, {
|
|
180
|
-
value:
|
|
180
|
+
value: le
|
|
181
181
|
}),
|
|
182
182
|
group: R({}, t, {
|
|
183
183
|
value: Z
|
|
@@ -190,7 +190,7 @@ function Rr() {
|
|
|
190
190
|
})
|
|
191
191
|
});
|
|
192
192
|
}
|
|
193
|
-
|
|
193
|
+
q < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
var $e = x.ReactCurrentDispatcher, Me;
|
|
@@ -224,8 +224,8 @@ function Rr() {
|
|
|
224
224
|
We = !0;
|
|
225
225
|
var P = Error.prepareStackTrace;
|
|
226
226
|
Error.prepareStackTrace = void 0;
|
|
227
|
-
var
|
|
228
|
-
|
|
227
|
+
var B;
|
|
228
|
+
B = $e.current, $e.current = null, Be();
|
|
229
229
|
try {
|
|
230
230
|
if (u) {
|
|
231
231
|
var T = function() {
|
|
@@ -278,7 +278,7 @@ function Rr() {
|
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
280
|
} finally {
|
|
281
|
-
We = !1, $e.current =
|
|
281
|
+
We = !1, $e.current = B, me(), Error.prepareStackTrace = P;
|
|
282
282
|
}
|
|
283
283
|
var Te = t ? t.displayName || t.name : "", je = Te ? Ee(Te) : "";
|
|
284
284
|
return typeof t == "function" && Ie.set(t, je), je;
|
|
@@ -310,9 +310,9 @@ function Rr() {
|
|
|
310
310
|
case h:
|
|
311
311
|
return Y(t.type, u, g);
|
|
312
312
|
case y: {
|
|
313
|
-
var E = t, P = E._payload,
|
|
313
|
+
var E = t, P = E._payload, B = E._init;
|
|
314
314
|
try {
|
|
315
|
-
return Y(
|
|
315
|
+
return Y(B(P), u, g);
|
|
316
316
|
} catch {
|
|
317
317
|
}
|
|
318
318
|
}
|
|
@@ -329,9 +329,9 @@ function Rr() {
|
|
|
329
329
|
}
|
|
330
330
|
function sr(t, u, g, E, P) {
|
|
331
331
|
{
|
|
332
|
-
var
|
|
332
|
+
var B = Function.call.bind(J);
|
|
333
333
|
for (var T in t)
|
|
334
|
-
if (
|
|
334
|
+
if (B(t, T)) {
|
|
335
335
|
var I = void 0;
|
|
336
336
|
try {
|
|
337
337
|
if (typeof t[T] != "function") {
|
|
@@ -417,7 +417,7 @@ function Rr() {
|
|
|
417
417
|
});
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
|
-
var fr = function(t, u, g, E, P,
|
|
420
|
+
var fr = function(t, u, g, E, P, B, T) {
|
|
421
421
|
var I = {
|
|
422
422
|
// This tag allows us to uniquely identify this as a React Element
|
|
423
423
|
$$typeof: a,
|
|
@@ -427,7 +427,7 @@ function Rr() {
|
|
|
427
427
|
ref: g,
|
|
428
428
|
props: T,
|
|
429
429
|
// Record the component responsible for creating this element.
|
|
430
|
-
_owner:
|
|
430
|
+
_owner: B
|
|
431
431
|
};
|
|
432
432
|
return I._store = {}, Object.defineProperty(I._store, "validated", {
|
|
433
433
|
configurable: !1,
|
|
@@ -448,14 +448,14 @@ function Rr() {
|
|
|
448
448
|
};
|
|
449
449
|
function hr(t, u, g, E, P) {
|
|
450
450
|
{
|
|
451
|
-
var
|
|
451
|
+
var B, T = {}, I = null, te = null;
|
|
452
452
|
g !== void 0 && (bt(g), I = "" + g), dr(u) && (bt(u.key), I = "" + u.key), cr(u) && (te = u.ref, ur(u, P));
|
|
453
|
-
for (
|
|
454
|
-
J.call(u,
|
|
453
|
+
for (B in u)
|
|
454
|
+
J.call(u, B) && !lr.hasOwnProperty(B) && (T[B] = u[B]);
|
|
455
455
|
if (t && t.defaultProps) {
|
|
456
456
|
var H = t.defaultProps;
|
|
457
|
-
for (
|
|
458
|
-
T[
|
|
457
|
+
for (B in H)
|
|
458
|
+
T[B] === void 0 && (T[B] = H[B]);
|
|
459
459
|
}
|
|
460
460
|
if (I || te) {
|
|
461
461
|
var G = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
@@ -532,7 +532,7 @@ Check the top-level render call using <` + g + ">.");
|
|
|
532
532
|
else if (t) {
|
|
533
533
|
var P = v(t);
|
|
534
534
|
if (typeof P == "function" && P !== t.entries)
|
|
535
|
-
for (var
|
|
535
|
+
for (var B = P.call(t), T; !(T = B.next()).done; )
|
|
536
536
|
st(T.value) && Ct(T.value, u);
|
|
537
537
|
}
|
|
538
538
|
}
|
|
@@ -575,7 +575,7 @@ Check the top-level render call using <` + g + ">.");
|
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
577
|
var Lt = {};
|
|
578
|
-
function Et(t, u, g, E, P,
|
|
578
|
+
function Et(t, u, g, E, P, B) {
|
|
579
579
|
{
|
|
580
580
|
var T = z(t);
|
|
581
581
|
if (!T) {
|
|
@@ -586,7 +586,7 @@ Check the top-level render call using <` + g + ">.");
|
|
|
586
586
|
var H;
|
|
587
587
|
t === null ? H = "null" : tt(t) ? H = "array" : t !== void 0 && t.$$typeof === a ? (H = "<" + (C(t.type) || "Unknown") + " />", I = " Did you accidentally export a JSX literal instead of a component?") : H = typeof t, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", H, I);
|
|
588
588
|
}
|
|
589
|
-
var G = hr(t, u, g, P,
|
|
589
|
+
var G = hr(t, u, g, P, B);
|
|
590
590
|
if (G == null)
|
|
591
591
|
return G;
|
|
592
592
|
if (T) {
|
|
@@ -634,12 +634,12 @@ function Tr() {
|
|
|
634
634
|
return $t || ($t = 1, process.env.NODE_ENV === "production" ? Ge.exports = Ir() : Ge.exports = Rr()), Ge.exports;
|
|
635
635
|
}
|
|
636
636
|
var n = Tr();
|
|
637
|
-
const Nr = (e) => e.as === "a", Ar = (e) => e.as === void 0 || e.as === "button", Ne = (e) => e.displayAs === void 0 || e.displayAs === "button", ot = (e) => e.displayAs === "link", Dr = "_button_6bymk_1", Or = "_link_6bymk_17", Pr = "_disabled_6bymk_22",
|
|
637
|
+
const Nr = (e) => e.as === "a", Ar = (e) => e.as === void 0 || e.as === "button", Ne = (e) => e.displayAs === void 0 || e.displayAs === "button", ot = (e) => e.displayAs === "link", Dr = "_button_6bymk_1", Or = "_link_6bymk_17", Pr = "_disabled_6bymk_22", qr = "_loading_6bymk_22", Br = "_neutral_6bymk_50", zr = "_accent_6bymk_54", Ur = "_positive_6bymk_58", Fr = "_negative_6bymk_62", Wr = "_contrast_6bymk_66", Vr = "_special_6bymk_70", Hr = "_primary_6bymk_74", Gr = "_secondary_6bymk_75", Zr = "_tertiary_6bymk_76", Yr = "_spaceBetween_6bymk_116", Jr = "_rightGroup_6bymk_116", Kr = "_label_6bymk_136", Xr = "_iconOnly_6bymk_155", Qr = "_stretched_6bymk_171", ea = "_icon_6bymk_155", ta = "_postfix_6bymk_176", ra = "_underline_6bymk_202", aa = "_warning_6bymk_1082", sa = "_withSubcaption_6bymk_1268", na = "_subcaption_6bymk_1273", oa = "_loader_6bymk_1279", ia = "_spin_6bymk_1", la = "_l_6bymk_17", ca = "_m_6bymk_1318", da = "_s_6bymk_70", ua = "_xs_6bymk_1364", _a = "_iconRight_6bymk_1410", W = {
|
|
638
638
|
button: Dr,
|
|
639
639
|
link: Or,
|
|
640
640
|
disabled: Pr,
|
|
641
|
-
loading:
|
|
642
|
-
neutral:
|
|
641
|
+
loading: qr,
|
|
642
|
+
neutral: Br,
|
|
643
643
|
accent: zr,
|
|
644
644
|
positive: Ur,
|
|
645
645
|
negative: Fr,
|
|
@@ -696,7 +696,7 @@ const Nr = (e) => e.as === "a", Ar = (e) => e.as === void 0 || e.as === "button"
|
|
|
696
696
|
function ha(e) {
|
|
697
697
|
return fa[e] || "typography-label-2-regular";
|
|
698
698
|
}
|
|
699
|
-
const
|
|
699
|
+
const oe = {
|
|
700
700
|
"typography-title-1-semibold": "_typography-title-1-semibold_1lyxn_1",
|
|
701
701
|
"typography-title-2-semibold": "_typography-title-2-semibold_1lyxn_10",
|
|
702
702
|
"typography-title-3-semibold": "_typography-title-3-semibold_1lyxn_19",
|
|
@@ -762,7 +762,7 @@ const ce = {
|
|
|
762
762
|
className: c,
|
|
763
763
|
children: f,
|
|
764
764
|
tabIndex: p
|
|
765
|
-
} = e, h = Ne(e) ? e.subcaption : void 0, y = Ne(e) ? e.postfix : void 0, b = Ne(e) ? e.stretched : void 0, m = !(ot(e) && e.size === void 0), S = ot(e) && m ? e.iconLeft : void 0, v = !!(l === "button" && "loading" in e && e.loading), x = Ne(e) ? o : o || v, _ = !x && !v, w = m ? d : void 0, L = !!(w && !f), $ = typeof b == "object" ? b.justify === "space-between" : void 0, j = ot(e) ? ha(e.size ?? "m") : void 0, M = j ?
|
|
765
|
+
} = e, h = Ne(e) ? e.subcaption : void 0, y = Ne(e) ? e.postfix : void 0, b = Ne(e) ? e.stretched : void 0, m = !(ot(e) && e.size === void 0), S = ot(e) && m ? e.iconLeft : void 0, v = !!(l === "button" && "loading" in e && e.loading), x = Ne(e) ? o : o || v, _ = !x && !v, w = m ? d : void 0, L = !!(w && !f), $ = typeof b == "object" ? b.justify === "space-between" : void 0, j = ot(e) ? ha(e.size ?? "m") : void 0, M = j ? oe[j] : void 0, A = x || v ? -1 : p, D = k(
|
|
766
766
|
W.button,
|
|
767
767
|
W[s],
|
|
768
768
|
W[r],
|
|
@@ -790,10 +790,10 @@ const ce = {
|
|
|
790
790
|
isAsButton: Ne(e)
|
|
791
791
|
};
|
|
792
792
|
if (Nr(e)) {
|
|
793
|
-
const { href: F, onClick: O, style: C, target: R, rel:
|
|
794
|
-
let Z =
|
|
795
|
-
if (
|
|
796
|
-
const ee = new Set((
|
|
793
|
+
const { href: F, onClick: O, style: C, target: R, rel: q, "data-testid": U, ...V } = e, Q = Mt(V), le = R ?? (e.isExternal ? "_blank" : void 0);
|
|
794
|
+
let Z = q;
|
|
795
|
+
if (le === "_blank") {
|
|
796
|
+
const ee = new Set((q ?? "").split(/\s+/).filter(Boolean));
|
|
797
797
|
ee.add("noopener").add("noreferrer"), Z = Array.from(ee).join(" ");
|
|
798
798
|
}
|
|
799
799
|
const ue = (ee) => {
|
|
@@ -814,7 +814,7 @@ const ce = {
|
|
|
814
814
|
"data-testid": U,
|
|
815
815
|
"aria-disabled": x || v,
|
|
816
816
|
style: C,
|
|
817
|
-
target:
|
|
817
|
+
target: le,
|
|
818
818
|
rel: Z,
|
|
819
819
|
...Q,
|
|
820
820
|
children: /* @__PURE__ */ n.jsx(It, { ...z })
|
|
@@ -822,7 +822,7 @@ const ce = {
|
|
|
822
822
|
);
|
|
823
823
|
}
|
|
824
824
|
if (Ar(e)) {
|
|
825
|
-
const { type: F = "button", onClick: O, style: C, "data-testid": R, ...
|
|
825
|
+
const { type: F = "button", onClick: O, style: C, "data-testid": R, ...q } = e, U = Mt(q), V = (Q) => {
|
|
826
826
|
_ && O && O(Q);
|
|
827
827
|
};
|
|
828
828
|
return /* @__PURE__ */ n.jsx(
|
|
@@ -990,7 +990,7 @@ const Ta = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
|
|
|
990
990
|
"data-testid": v,
|
|
991
991
|
...x
|
|
992
992
|
} = e, { onClick: _, onPointerDown: w } = x, $ = !o && !i && (!!_ || !!w), [j, M] = de(!1);
|
|
993
|
-
|
|
993
|
+
ie(() => {
|
|
994
994
|
p && M(!1);
|
|
995
995
|
}, [p]);
|
|
996
996
|
const A = p && !j ? "image" : y ? "icon" : f ? "name" : "placeholder", D = m || A === "name" && ka(f) || "gray", z = Ra(s), F = Zt(s, l), O = k(
|
|
@@ -998,7 +998,7 @@ const Ta = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
|
|
|
998
998
|
ge.avatar,
|
|
999
999
|
ge[`variant-${d}`],
|
|
1000
1000
|
ge[`color-${D}`],
|
|
1001
|
-
|
|
1001
|
+
oe[z],
|
|
1002
1002
|
{
|
|
1003
1003
|
[ge.disabled]: o,
|
|
1004
1004
|
[ge.loading]: i,
|
|
@@ -1045,14 +1045,14 @@ const Ta = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
|
|
|
1045
1045
|
}
|
|
1046
1046
|
}
|
|
1047
1047
|
)
|
|
1048
|
-
},
|
|
1048
|
+
}, q = (U) => {
|
|
1049
1049
|
$ && (_ == null || _(U));
|
|
1050
1050
|
};
|
|
1051
1051
|
return /* @__PURE__ */ n.jsx(
|
|
1052
1052
|
"div",
|
|
1053
1053
|
{
|
|
1054
1054
|
ref: a,
|
|
1055
|
-
onClick:
|
|
1055
|
+
onClick: q,
|
|
1056
1056
|
className: O,
|
|
1057
1057
|
style: C,
|
|
1058
1058
|
"data-testid": v,
|
|
@@ -1060,10 +1060,10 @@ const Ta = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
|
|
|
1060
1060
|
children: R[A](null)
|
|
1061
1061
|
}
|
|
1062
1062
|
);
|
|
1063
|
-
}), Pa = "_avatarGroup_157g4_1",
|
|
1063
|
+
}), Pa = "_avatarGroup_157g4_1", qa = {
|
|
1064
1064
|
avatarGroup: Pa
|
|
1065
1065
|
};
|
|
1066
|
-
let
|
|
1066
|
+
let Ba = (e = 21) => crypto.getRandomValues(new Uint8Array(e)).reduce((a, r) => (r &= 63, r < 36 ? a += r.toString(36) : r < 62 ? a += (r - 26).toString(36).toUpperCase() : r > 62 ? a += "-" : a += "_", a), "");
|
|
1067
1067
|
function za(e, a, r, s, i, o, l) {
|
|
1068
1068
|
const d = Math.min(i, o) / 2, c = Math.min(l, d), f = ["M0,0", `H${e}`, `V${a}`, "H0", "V0", "Z"].join(" "), p = [
|
|
1069
1069
|
`M${r + c},${s}`,
|
|
@@ -1091,7 +1091,7 @@ const Ua = 3, Fa = (e) => {
|
|
|
1091
1091
|
shape: i = "circle",
|
|
1092
1092
|
overflowCount: o = 0,
|
|
1093
1093
|
overflowProps: l
|
|
1094
|
-
} = e, d = r * s, c = -d + Ua, f = Zt(r, i), h =
|
|
1094
|
+
} = e, d = r * s, c = -d + Ua, f = Zt(r, i), h = qe(Ba()).current.toString(), y = Le(qa.avatarGroup), b = za(
|
|
1095
1095
|
r,
|
|
1096
1096
|
r,
|
|
1097
1097
|
r - d,
|
|
@@ -1146,7 +1146,7 @@ const Ua = 3, Fa = (e) => {
|
|
|
1146
1146
|
) }),
|
|
1147
1147
|
/* @__PURE__ */ n.jsx("svg", { width: "0", height: "0", children: /* @__PURE__ */ n.jsx("clipPath", { id: `${h}`, children: /* @__PURE__ */ n.jsx("path", { clipPathUnits: "objectBoundingBox", d: b, clipRule: "evenodd" }) }) })
|
|
1148
1148
|
] });
|
|
1149
|
-
},
|
|
1149
|
+
}, gl = Object.assign(Ye, {
|
|
1150
1150
|
Group: Fa
|
|
1151
1151
|
}), Wa = "_wrapper_ecbsu_5", Va = "_badge__container_ecbsu_6", Ha = "_badge__content_ecbsu_7", Ga = "_interactive_ecbsu_20", Za = "_disabled_ecbsu_21", Ya = "_icon_ecbsu_22", ye = {
|
|
1152
1152
|
wrapper: Wa,
|
|
@@ -1196,8 +1196,8 @@ const Ua = 3, Fa = (e) => {
|
|
|
1196
1196
|
}
|
|
1197
1197
|
return null;
|
|
1198
1198
|
}, Yt = () => {
|
|
1199
|
-
const e =
|
|
1200
|
-
return
|
|
1199
|
+
const e = qe(null), [a, r] = de(null);
|
|
1200
|
+
return ie(() => {
|
|
1201
1201
|
if (e.current) {
|
|
1202
1202
|
const s = Ka(e.current);
|
|
1203
1203
|
r(s);
|
|
@@ -1205,7 +1205,7 @@ const Ua = 3, Fa = (e) => {
|
|
|
1205
1205
|
}, []), { ref: e, bgColor: a };
|
|
1206
1206
|
};
|
|
1207
1207
|
function At(e, a, r) {
|
|
1208
|
-
|
|
1208
|
+
ie(() => (window.addEventListener(e, a, r), () => window.removeEventListener(e, a, r)), [e, a]);
|
|
1209
1209
|
}
|
|
1210
1210
|
const Dt = {
|
|
1211
1211
|
passive: !0
|
|
@@ -1217,7 +1217,7 @@ function Xa() {
|
|
|
1217
1217
|
}), r = Se(() => {
|
|
1218
1218
|
a({ width: window.innerWidth || 0, height: window.innerHeight || 0 });
|
|
1219
1219
|
}, []);
|
|
1220
|
-
return At("resize", r, Dt), At("orientationchange", r, Dt),
|
|
1220
|
+
return At("resize", r, Dt), At("orientationchange", r, Dt), ie(r, []), e;
|
|
1221
1221
|
}
|
|
1222
1222
|
function Qa(e = 768) {
|
|
1223
1223
|
const { width: a } = Xa();
|
|
@@ -1382,7 +1382,7 @@ const es = X((e, a) => {
|
|
|
1382
1382
|
}
|
|
1383
1383
|
)
|
|
1384
1384
|
}
|
|
1385
|
-
),
|
|
1385
|
+
), ml = X((e, a) => {
|
|
1386
1386
|
const {
|
|
1387
1387
|
alt: r = "",
|
|
1388
1388
|
loading: s = "lazy",
|
|
@@ -1436,7 +1436,7 @@ const es = X((e, a) => {
|
|
|
1436
1436
|
}
|
|
1437
1437
|
)
|
|
1438
1438
|
};
|
|
1439
|
-
return
|
|
1439
|
+
return ie(() => {
|
|
1440
1440
|
if (!i) {
|
|
1441
1441
|
y("error");
|
|
1442
1442
|
return;
|
|
@@ -1454,10 +1454,33 @@ const es = X((e, a) => {
|
|
|
1454
1454
|
if (!e)
|
|
1455
1455
|
throw new Error("useConfig must be used within a ConfigProvider");
|
|
1456
1456
|
return e;
|
|
1457
|
-
},
|
|
1457
|
+
}, yl = () => {
|
|
1458
1458
|
const { locale: e } = ys();
|
|
1459
1459
|
return e;
|
|
1460
|
-
}, vs = {}, xs = {}, ws = {},
|
|
1460
|
+
}, vs = {}, xs = {}, ws = {}, Cs = {}, Ss = {}, Ls = "_base_1p0qo_50", Es = "_content_1p0qo_54", js = "_background_1p0qo_58", ks = "_button_1p0qo_62", $s = "_link_1p0qo_66", Ms = "_input_1p0qo_70", Is = "_suffix_1p0qo_74", Rs = "_prefix_1p0qo_78", Ts = "_tooltip_1p0qo_82", Ns = "_hint_1p0qo_86", As = "_dropdown_1p0qo_90", Ds = "_popover_1p0qo_94", Os = "_modalBackdrop_1p0qo_98", Ps = "_modal_1p0qo_98", qs = "_overlay_1p0qo_106", Bs = "_drawer_1p0qo_110", zs = "_notification_1p0qo_114", Us = "_alert_1p0qo_118", Fs = "_toast_1p0qo_122", Ws = "_loading_1p0qo_126", Vs = "_error_1p0qo_130", Hs = "_critical_1p0qo_134", Gs = {
|
|
1461
|
+
base: Ls,
|
|
1462
|
+
content: Es,
|
|
1463
|
+
background: js,
|
|
1464
|
+
button: ks,
|
|
1465
|
+
link: $s,
|
|
1466
|
+
input: Ms,
|
|
1467
|
+
suffix: Is,
|
|
1468
|
+
prefix: Rs,
|
|
1469
|
+
tooltip: Ts,
|
|
1470
|
+
hint: Ns,
|
|
1471
|
+
dropdown: As,
|
|
1472
|
+
popover: Ds,
|
|
1473
|
+
modalBackdrop: Os,
|
|
1474
|
+
modal: Ps,
|
|
1475
|
+
overlay: qs,
|
|
1476
|
+
drawer: Bs,
|
|
1477
|
+
notification: zs,
|
|
1478
|
+
alert: Us,
|
|
1479
|
+
toast: Fs,
|
|
1480
|
+
loading: Ws,
|
|
1481
|
+
error: Vs,
|
|
1482
|
+
critical: Hs
|
|
1483
|
+
}, vl = ({
|
|
1461
1484
|
locale: e = {},
|
|
1462
1485
|
theme: a,
|
|
1463
1486
|
children: r,
|
|
@@ -1474,28 +1497,28 @@ const es = X((e, a) => {
|
|
|
1474
1497
|
"div",
|
|
1475
1498
|
{
|
|
1476
1499
|
"data-testid": "ConfigProvider-component",
|
|
1477
|
-
className: k(vs, xs, ws, s)
|
|
1500
|
+
className: k(vs, xs, ws, Cs, Ss, Gs, oe, s)
|
|
1478
1501
|
}
|
|
1479
1502
|
),
|
|
1480
1503
|
/* @__PURE__ */ n.jsx(Kt.Provider, { value: { locale: e }, children: r })
|
|
1481
|
-
] })),
|
|
1482
|
-
tag:
|
|
1483
|
-
label:
|
|
1484
|
-
iconWrapper:
|
|
1485
|
-
medium:
|
|
1486
|
-
large:
|
|
1487
|
-
disabled:
|
|
1488
|
-
neutral:
|
|
1489
|
-
positive:
|
|
1490
|
-
negative:
|
|
1491
|
-
warning:
|
|
1492
|
-
vivid:
|
|
1493
|
-
special:
|
|
1494
|
-
accent:
|
|
1495
|
-
blue:
|
|
1496
|
-
lovely:
|
|
1497
|
-
dreamy:
|
|
1498
|
-
},
|
|
1504
|
+
] })), xl = {}, Zs = "_tag_1llsi_1", Ys = "_label_1llsi_16", Js = "_iconWrapper_1llsi_20", Ks = "_medium_1llsi_27", Xs = "_large_1llsi_33", Qs = "_disabled_1llsi_43", en = "_neutral_1llsi_47", tn = "_positive_1llsi_53", rn = "_negative_1llsi_59", an = "_warning_1llsi_65", sn = "_vivid_1llsi_71", nn = "_special_1llsi_77", on = "_accent_1llsi_84", ln = "_blue_1llsi_90", cn = "_lovely_1llsi_96", dn = "_dreamy_1llsi_102", ke = {
|
|
1505
|
+
tag: Zs,
|
|
1506
|
+
label: Ys,
|
|
1507
|
+
iconWrapper: Js,
|
|
1508
|
+
medium: Ks,
|
|
1509
|
+
large: Xs,
|
|
1510
|
+
disabled: Qs,
|
|
1511
|
+
neutral: en,
|
|
1512
|
+
positive: tn,
|
|
1513
|
+
negative: rn,
|
|
1514
|
+
warning: an,
|
|
1515
|
+
vivid: sn,
|
|
1516
|
+
special: nn,
|
|
1517
|
+
accent: on,
|
|
1518
|
+
blue: ln,
|
|
1519
|
+
lovely: cn,
|
|
1520
|
+
dreamy: dn
|
|
1521
|
+
}, wl = X((e, a) => {
|
|
1499
1522
|
const {
|
|
1500
1523
|
className: r,
|
|
1501
1524
|
children: s,
|
|
@@ -1518,8 +1541,8 @@ const es = X((e, a) => {
|
|
|
1518
1541
|
ke[i],
|
|
1519
1542
|
{
|
|
1520
1543
|
[ke.disabled]: l,
|
|
1521
|
-
[
|
|
1522
|
-
[
|
|
1544
|
+
[oe["typography-label-3-regular"]]: o === "medium",
|
|
1545
|
+
[oe["typography-subtitle-1-semibold"]]: o === "large"
|
|
1523
1546
|
},
|
|
1524
1547
|
r
|
|
1525
1548
|
),
|
|
@@ -1532,17 +1555,17 @@ const es = X((e, a) => {
|
|
|
1532
1555
|
]
|
|
1533
1556
|
}
|
|
1534
1557
|
);
|
|
1535
|
-
}),
|
|
1536
|
-
checkbox:
|
|
1537
|
-
input:
|
|
1538
|
-
icon:
|
|
1539
|
-
container:
|
|
1540
|
-
error:
|
|
1541
|
-
checkboxWrapper:
|
|
1542
|
-
medium:
|
|
1543
|
-
large:
|
|
1544
|
-
label:
|
|
1545
|
-
},
|
|
1558
|
+
}), un = "_checkbox_17txq_43", _n = "_input_17txq_64", pn = "_icon_17txq_72", fn = "_container_17txq_92", hn = "_error_17txq_143", bn = "_checkboxWrapper_17txq_156", gn = "_medium_17txq_211", mn = "_large_17txq_216", yn = "_label_17txq_258", xe = {
|
|
1559
|
+
checkbox: un,
|
|
1560
|
+
input: _n,
|
|
1561
|
+
icon: pn,
|
|
1562
|
+
container: fn,
|
|
1563
|
+
error: hn,
|
|
1564
|
+
checkboxWrapper: bn,
|
|
1565
|
+
medium: gn,
|
|
1566
|
+
large: mn,
|
|
1567
|
+
label: yn
|
|
1568
|
+
}, vn = ({
|
|
1546
1569
|
width: e = 12,
|
|
1547
1570
|
height: a = 9,
|
|
1548
1571
|
className: r = "",
|
|
@@ -1568,7 +1591,7 @@ const es = X((e, a) => {
|
|
|
1568
1591
|
}
|
|
1569
1592
|
)
|
|
1570
1593
|
}
|
|
1571
|
-
),
|
|
1594
|
+
), xn = ({
|
|
1572
1595
|
width: e = 12,
|
|
1573
1596
|
height: a = 2,
|
|
1574
1597
|
className: r = "",
|
|
@@ -1594,17 +1617,17 @@ const es = X((e, a) => {
|
|
|
1594
1617
|
}
|
|
1595
1618
|
)
|
|
1596
1619
|
}
|
|
1597
|
-
),
|
|
1620
|
+
), wn = {
|
|
1598
1621
|
medium: { width: 10.83, height: 7.5 },
|
|
1599
1622
|
large: { width: 13, height: 9 }
|
|
1600
|
-
},
|
|
1623
|
+
}, Cn = ({
|
|
1601
1624
|
size: e,
|
|
1602
1625
|
isChecked: a,
|
|
1603
1626
|
isDisabled: r,
|
|
1604
1627
|
indeterminate: s,
|
|
1605
1628
|
dataTestId: i
|
|
1606
1629
|
}) => {
|
|
1607
|
-
const { width: o, height: l } =
|
|
1630
|
+
const { width: o, height: l } = wn[e];
|
|
1608
1631
|
return /* @__PURE__ */ n.jsx(
|
|
1609
1632
|
"div",
|
|
1610
1633
|
{
|
|
@@ -1613,10 +1636,10 @@ const es = X((e, a) => {
|
|
|
1613
1636
|
"data-checked": a,
|
|
1614
1637
|
"data-disabled": r,
|
|
1615
1638
|
"data-indeterminate": s,
|
|
1616
|
-
children: s ? /* @__PURE__ */ n.jsx(
|
|
1639
|
+
children: s ? /* @__PURE__ */ n.jsx(xn, { width: o, height: l }) : /* @__PURE__ */ n.jsx(vn, { width: o, height: l })
|
|
1617
1640
|
}
|
|
1618
1641
|
);
|
|
1619
|
-
},
|
|
1642
|
+
}, Cl = X((e, a) => {
|
|
1620
1643
|
const {
|
|
1621
1644
|
name: r,
|
|
1622
1645
|
value: s,
|
|
@@ -1646,8 +1669,8 @@ const es = X((e, a) => {
|
|
|
1646
1669
|
}, F = (R) => {
|
|
1647
1670
|
if (R.key === "Enter" && !$) {
|
|
1648
1671
|
R.preventDefault();
|
|
1649
|
-
const
|
|
1650
|
-
w(
|
|
1672
|
+
const q = !M;
|
|
1673
|
+
w(q), v == null || v(q);
|
|
1651
1674
|
}
|
|
1652
1675
|
}, O = (R) => {
|
|
1653
1676
|
m || R.preventDefault();
|
|
@@ -1693,7 +1716,7 @@ const es = X((e, a) => {
|
|
|
1693
1716
|
}
|
|
1694
1717
|
),
|
|
1695
1718
|
/* @__PURE__ */ n.jsx(
|
|
1696
|
-
|
|
1719
|
+
Cn,
|
|
1697
1720
|
{
|
|
1698
1721
|
name: r,
|
|
1699
1722
|
size: i,
|
|
@@ -1719,25 +1742,25 @@ const es = X((e, a) => {
|
|
|
1719
1742
|
]
|
|
1720
1743
|
}
|
|
1721
1744
|
);
|
|
1722
|
-
}),
|
|
1723
|
-
typography:
|
|
1724
|
-
disabled:
|
|
1725
|
-
primary:
|
|
1726
|
-
secondary:
|
|
1727
|
-
tertiary:
|
|
1728
|
-
accent:
|
|
1745
|
+
}), Sn = "_typography_zt7xg_1", Ln = "_disabled_zt7xg_8", En = "_primary_zt7xg_13", jn = "_secondary_zt7xg_18", kn = "_tertiary_zt7xg_23", $n = "_accent_zt7xg_28", Mn = "_positive_zt7xg_38", In = "_negative_zt7xg_48", Rn = "_warning_zt7xg_58", Tn = "_special_zt7xg_68", Nn = "_contrast_zt7xg_78", Pe = {
|
|
1746
|
+
typography: Sn,
|
|
1747
|
+
disabled: Ln,
|
|
1748
|
+
primary: En,
|
|
1749
|
+
secondary: jn,
|
|
1750
|
+
tertiary: kn,
|
|
1751
|
+
accent: $n,
|
|
1729
1752
|
"accent-secondary": "_accent-secondary_zt7xg_33",
|
|
1730
|
-
positive:
|
|
1753
|
+
positive: Mn,
|
|
1731
1754
|
"positive-secondary": "_positive-secondary_zt7xg_43",
|
|
1732
|
-
negative:
|
|
1755
|
+
negative: In,
|
|
1733
1756
|
"negative-secondary": "_negative-secondary_zt7xg_53",
|
|
1734
|
-
warning:
|
|
1757
|
+
warning: Rn,
|
|
1735
1758
|
"warning-secondary": "_warning-secondary_zt7xg_63",
|
|
1736
|
-
special:
|
|
1759
|
+
special: Tn,
|
|
1737
1760
|
"special-secondary": "_special-secondary_zt7xg_73",
|
|
1738
|
-
contrast:
|
|
1761
|
+
contrast: Nn,
|
|
1739
1762
|
"contrast-secondary": "_contrast-secondary_zt7xg_83"
|
|
1740
|
-
},
|
|
1763
|
+
}, An = {
|
|
1741
1764
|
1: "h1",
|
|
1742
1765
|
2: "h2",
|
|
1743
1766
|
3: "h3",
|
|
@@ -1756,9 +1779,9 @@ const es = X((e, a) => {
|
|
|
1756
1779
|
typographyStyle: f = "primary",
|
|
1757
1780
|
...p
|
|
1758
1781
|
}, h) => {
|
|
1759
|
-
const y = l ||
|
|
1782
|
+
const y = l || An[r], b = k(
|
|
1760
1783
|
Pe.typography,
|
|
1761
|
-
|
|
1784
|
+
oe[`typography-${e}-${r}-${d}`],
|
|
1762
1785
|
Pe[f],
|
|
1763
1786
|
{
|
|
1764
1787
|
[Pe.disabled]: c
|
|
@@ -1784,7 +1807,7 @@ const es = X((e, a) => {
|
|
|
1784
1807
|
}, h) => {
|
|
1785
1808
|
const y = l, b = k(
|
|
1786
1809
|
Pe.typography,
|
|
1787
|
-
|
|
1810
|
+
oe[`typography-${e}-${r}-${d}`],
|
|
1788
1811
|
Pe[f],
|
|
1789
1812
|
{
|
|
1790
1813
|
[Pe.disabled]: c
|
|
@@ -1804,43 +1827,43 @@ const es = X((e, a) => {
|
|
|
1804
1827
|
}
|
|
1805
1828
|
);
|
|
1806
1829
|
return a.displayName = `Typography.${e.charAt(0).toUpperCase() + e.slice(1)}`, a;
|
|
1807
|
-
},
|
|
1830
|
+
}, qt = {
|
|
1808
1831
|
Title: Ot("title"),
|
|
1809
1832
|
Subtitle: Ot("subtitle"),
|
|
1810
1833
|
Label: Pt("label"),
|
|
1811
1834
|
Paragraph: Pt("paragraph")
|
|
1812
|
-
},
|
|
1813
|
-
inputBase:
|
|
1814
|
-
wrapper:
|
|
1835
|
+
}, Dn = "_inputBase_1q54n_82", On = "_wrapper_1q54n_92", Pn = "_gripHandle_1q54n_172", qn = "_error_1q54n_238", Bn = "_tabFocused_1q54n_245", zn = "_disabled_1q54n_270", Un = "_loading_1q54n_277", Fn = "_label_1q54n_287", Wn = "_small_1q54n_301", Vn = "_large_1q54n_308", Hn = "_leftSection_1q54n_315", Gn = "_rightSection_1q54n_327", Zn = "_helper_1q54n_365", Yn = "_floatingLabel_1q54n_393", Jn = "_focused_1q54n_461", Kn = "_filled_1q54n_462", Xn = "_medium_1q54n_503", Qn = "_characterLimit_1q54n_545", eo = "_input_1q54n_82", to = "_textarea_1q54n_110", ro = "_truncate_1q54n_678", ao = "_hint_1q54n_765", N = {
|
|
1836
|
+
inputBase: Dn,
|
|
1837
|
+
wrapper: On,
|
|
1815
1838
|
"textarea-wrapper": "_textarea-wrapper_1q54n_110",
|
|
1816
|
-
gripHandle:
|
|
1817
|
-
error:
|
|
1818
|
-
tabFocused:
|
|
1819
|
-
disabled:
|
|
1820
|
-
loading:
|
|
1821
|
-
label:
|
|
1822
|
-
small:
|
|
1823
|
-
large:
|
|
1824
|
-
leftSection:
|
|
1825
|
-
rightSection:
|
|
1826
|
-
helper:
|
|
1827
|
-
floatingLabel:
|
|
1828
|
-
focused:
|
|
1829
|
-
filled:
|
|
1830
|
-
medium:
|
|
1831
|
-
characterLimit:
|
|
1832
|
-
input:
|
|
1833
|
-
textarea:
|
|
1839
|
+
gripHandle: Pn,
|
|
1840
|
+
error: qn,
|
|
1841
|
+
tabFocused: Bn,
|
|
1842
|
+
disabled: zn,
|
|
1843
|
+
loading: Un,
|
|
1844
|
+
label: Fn,
|
|
1845
|
+
small: Wn,
|
|
1846
|
+
large: Vn,
|
|
1847
|
+
leftSection: Hn,
|
|
1848
|
+
rightSection: Gn,
|
|
1849
|
+
helper: Zn,
|
|
1850
|
+
floatingLabel: Yn,
|
|
1851
|
+
focused: Jn,
|
|
1852
|
+
filled: Kn,
|
|
1853
|
+
medium: Xn,
|
|
1854
|
+
characterLimit: Qn,
|
|
1855
|
+
input: eo,
|
|
1856
|
+
textarea: to,
|
|
1834
1857
|
"size-small": "_size-small_1q54n_627",
|
|
1835
1858
|
"size-medium": "_size-medium_1q54n_633",
|
|
1836
1859
|
"size-large": "_size-large_1q54n_639",
|
|
1837
1860
|
"with-floating-label": "_with-floating-label_1q54n_646",
|
|
1838
|
-
truncate:
|
|
1839
|
-
hint:
|
|
1861
|
+
truncate: ro,
|
|
1862
|
+
hint: ao,
|
|
1840
1863
|
"has-hint": "_has-hint_1q54n_786",
|
|
1841
1864
|
"has-suffix": "_has-suffix_1q54n_792",
|
|
1842
1865
|
"has-limit": "_has-limit_1q54n_798"
|
|
1843
|
-
},
|
|
1866
|
+
}, so = ({
|
|
1844
1867
|
width: e = 8,
|
|
1845
1868
|
height: a = 8,
|
|
1846
1869
|
className: r,
|
|
@@ -1907,9 +1930,9 @@ const es = X((e, a) => {
|
|
|
1907
1930
|
)
|
|
1908
1931
|
}
|
|
1909
1932
|
);
|
|
1910
|
-
},
|
|
1911
|
-
const r =
|
|
1912
|
-
return
|
|
1933
|
+
}, no = (e, a) => {
|
|
1934
|
+
const r = qe(null), s = qe(null);
|
|
1935
|
+
return ie(() => {
|
|
1913
1936
|
const i = a === "textarea" ? r.current : s.current;
|
|
1914
1937
|
i && i.value !== e && (i.value = e || "");
|
|
1915
1938
|
}, [e, a]), {
|
|
@@ -1917,7 +1940,7 @@ const es = X((e, a) => {
|
|
|
1917
1940
|
inputRef: s,
|
|
1918
1941
|
currentRef: a === "textarea" ? r : s
|
|
1919
1942
|
};
|
|
1920
|
-
},
|
|
1943
|
+
}, oo = (e, a, r) => {
|
|
1921
1944
|
const s = () => {
|
|
1922
1945
|
if (!r.current || a !== "hug") return;
|
|
1923
1946
|
const i = r.current.scrollTop;
|
|
@@ -1927,10 +1950,10 @@ const es = X((e, a) => {
|
|
|
1927
1950
|
const l = r.current.closest(`.${N.wrapper}`);
|
|
1928
1951
|
l && (l.setAttribute("data-resize", "hug"), l.setAttribute("data-show-grip", "false"));
|
|
1929
1952
|
};
|
|
1930
|
-
return
|
|
1953
|
+
return ie(s, [e, a]), ie(() => {
|
|
1931
1954
|
a === "hug" && r.current && s();
|
|
1932
1955
|
}, []), { resizeTextArea: s };
|
|
1933
|
-
},
|
|
1956
|
+
}, io = (e, a, r, s) => ({ handleGripMouseDown: Se(
|
|
1934
1957
|
(o) => {
|
|
1935
1958
|
if (!e || a || r || !(s === "fixed" || !s)) return;
|
|
1936
1959
|
o.preventDefault(), o.stopPropagation();
|
|
@@ -1945,7 +1968,7 @@ const es = X((e, a) => {
|
|
|
1945
1968
|
document.addEventListener("mousemove", f), document.addEventListener("mouseup", p);
|
|
1946
1969
|
},
|
|
1947
1970
|
[e, a, r, s]
|
|
1948
|
-
) }),
|
|
1971
|
+
) }), Bt = 30, lo = X(
|
|
1949
1972
|
({
|
|
1950
1973
|
component: e = "input",
|
|
1951
1974
|
size: a = "medium",
|
|
@@ -1969,8 +1992,8 @@ const es = X((e, a) => {
|
|
|
1969
1992
|
resize: w,
|
|
1970
1993
|
...L
|
|
1971
1994
|
}, $) => {
|
|
1972
|
-
const { textareaRef: j, inputRef: M, currentRef: A } =
|
|
1973
|
-
if (
|
|
1995
|
+
const { textareaRef: j, inputRef: M, currentRef: A } = no(r, e);
|
|
1996
|
+
if (oo(r, w, j), kr($, () => A.current, [A]), e === "textarea")
|
|
1974
1997
|
return /* @__PURE__ */ n.jsx(
|
|
1975
1998
|
"textarea",
|
|
1976
1999
|
{
|
|
@@ -2068,8 +2091,8 @@ const es = X((e, a) => {
|
|
|
2068
2091
|
resize: O,
|
|
2069
2092
|
showGrip: C = !1,
|
|
2070
2093
|
...R
|
|
2071
|
-
},
|
|
2072
|
-
const U = pt(), V = z || U, Q = v && S && (A || x),
|
|
2094
|
+
}, q) => {
|
|
2095
|
+
const U = pt(), V = z || U, Q = v && S && (A || x), le = S && S.length > Bt ? S.substring(0, Bt) + "..." : S, Z = k(
|
|
2073
2096
|
N.wrapper,
|
|
2074
2097
|
r && N.error,
|
|
2075
2098
|
s && N.disabled,
|
|
@@ -2083,8 +2106,8 @@ const es = X((e, a) => {
|
|
|
2083
2106
|
N[a],
|
|
2084
2107
|
A && N.filled,
|
|
2085
2108
|
M
|
|
2086
|
-
), { handleGripMouseDown: ee } =
|
|
2087
|
-
return /* @__PURE__ */ n.jsxs("div", { ref:
|
|
2109
|
+
), { handleGripMouseDown: ee } = io(C, s, i, O);
|
|
2110
|
+
return /* @__PURE__ */ n.jsxs("div", { ref: q, className: N.inputBase, "data-testid": "input-base-wrapper", ...R, children: [
|
|
2088
2111
|
/* @__PURE__ */ n.jsxs(
|
|
2089
2112
|
"div",
|
|
2090
2113
|
{
|
|
@@ -2124,7 +2147,7 @@ const es = X((e, a) => {
|
|
|
2124
2147
|
role: "button",
|
|
2125
2148
|
tabIndex: -1,
|
|
2126
2149
|
"aria-label": "Изменить размер",
|
|
2127
|
-
children: /* @__PURE__ */ n.jsx(
|
|
2150
|
+
children: /* @__PURE__ */ n.jsx(so, {})
|
|
2128
2151
|
}
|
|
2129
2152
|
),
|
|
2130
2153
|
Q && /* @__PURE__ */ n.jsx(
|
|
@@ -2132,7 +2155,7 @@ const es = X((e, a) => {
|
|
|
2132
2155
|
{
|
|
2133
2156
|
className: k(N.hint, A && N.truncate),
|
|
2134
2157
|
"data-disabled": s || i,
|
|
2135
|
-
children:
|
|
2158
|
+
children: le
|
|
2136
2159
|
}
|
|
2137
2160
|
),
|
|
2138
2161
|
b && m && /* @__PURE__ */ n.jsxs("div", { className: N.characterLimit, children: [
|
|
@@ -2160,7 +2183,7 @@ const es = X((e, a) => {
|
|
|
2160
2183
|
}
|
|
2161
2184
|
);
|
|
2162
2185
|
Qt.displayName = "InputWrapperComponent";
|
|
2163
|
-
const zt = Object.assign(
|
|
2186
|
+
const zt = Object.assign(lo, {
|
|
2164
2187
|
Wrapper: Qt
|
|
2165
2188
|
}), er = X(
|
|
2166
2189
|
({
|
|
@@ -2195,14 +2218,14 @@ const zt = Object.assign(On, {
|
|
|
2195
2218
|
maxLength: O,
|
|
2196
2219
|
inputProps: C,
|
|
2197
2220
|
hint: R,
|
|
2198
|
-
showHint:
|
|
2221
|
+
showHint: q = !1,
|
|
2199
2222
|
showHintOnEmpty: U = !1,
|
|
2200
2223
|
truncate: V = !1,
|
|
2201
2224
|
resize: Q,
|
|
2202
|
-
showGrip:
|
|
2225
|
+
showGrip: le = !1,
|
|
2203
2226
|
...Z
|
|
2204
2227
|
}, ue) => {
|
|
2205
|
-
const ee = pt(), Ce = y || ee, [
|
|
2228
|
+
const ee = pt(), Ce = y || ee, [Be, me] = de(_), $e = _ !== void 0 ? _ : Be, Me = ($e || "").length > 0, Ee = $e || "", Ie = d && (a === "large" || e === "textarea") && !p, Xe = Se(
|
|
2206
2229
|
(Y) => {
|
|
2207
2230
|
var J;
|
|
2208
2231
|
i || o || (b == null || b(), (J = C == null ? void 0 : C.onFocus) == null || J.call(
|
|
@@ -2246,7 +2269,7 @@ const zt = Object.assign(On, {
|
|
|
2246
2269
|
},
|
|
2247
2270
|
[x, C, i, o]
|
|
2248
2271
|
);
|
|
2249
|
-
return
|
|
2272
|
+
return ie(() => {
|
|
2250
2273
|
me(_ || "");
|
|
2251
2274
|
}, [_]), /* @__PURE__ */ n.jsx(
|
|
2252
2275
|
zt.Wrapper,
|
|
@@ -2267,7 +2290,7 @@ const zt = Object.assign(On, {
|
|
|
2267
2290
|
showLimit: F,
|
|
2268
2291
|
maxLength: O,
|
|
2269
2292
|
hint: R,
|
|
2270
|
-
showHint:
|
|
2293
|
+
showHint: q,
|
|
2271
2294
|
showHintOnEmpty: U,
|
|
2272
2295
|
prefix: p,
|
|
2273
2296
|
suffix: h,
|
|
@@ -2279,7 +2302,7 @@ const zt = Object.assign(On, {
|
|
|
2279
2302
|
helper: f,
|
|
2280
2303
|
id: Ce,
|
|
2281
2304
|
value: Ee,
|
|
2282
|
-
showGrip:
|
|
2305
|
+
showGrip: le,
|
|
2283
2306
|
resize: Q,
|
|
2284
2307
|
...Z,
|
|
2285
2308
|
children: /* @__PURE__ */ n.jsx(
|
|
@@ -2315,7 +2338,7 @@ const zt = Object.assign(On, {
|
|
|
2315
2338
|
SMALL: "small",
|
|
2316
2339
|
MEDIUM: "medium",
|
|
2317
2340
|
LARGE: "large"
|
|
2318
|
-
},
|
|
2341
|
+
}, co = (e, a, r, s) => {
|
|
2319
2342
|
switch (e) {
|
|
2320
2343
|
case re.LARGE:
|
|
2321
2344
|
return a && r ? "8px 16px 8px 16px" : "16px 16px 16px 16px";
|
|
@@ -2326,7 +2349,7 @@ const zt = Object.assign(On, {
|
|
|
2326
2349
|
default:
|
|
2327
2350
|
return "12px 16px 12px 16px";
|
|
2328
2351
|
}
|
|
2329
|
-
},
|
|
2352
|
+
}, uo = (e) => {
|
|
2330
2353
|
switch (e) {
|
|
2331
2354
|
case re.LARGE:
|
|
2332
2355
|
return "56px";
|
|
@@ -2337,7 +2360,7 @@ const zt = Object.assign(On, {
|
|
|
2337
2360
|
default:
|
|
2338
2361
|
return "48px";
|
|
2339
2362
|
}
|
|
2340
|
-
},
|
|
2363
|
+
}, _o = (e) => {
|
|
2341
2364
|
switch (e) {
|
|
2342
2365
|
case re.SMALL:
|
|
2343
2366
|
return 8;
|
|
@@ -2349,7 +2372,7 @@ const zt = Object.assign(On, {
|
|
|
2349
2372
|
default:
|
|
2350
2373
|
return 12;
|
|
2351
2374
|
}
|
|
2352
|
-
},
|
|
2375
|
+
}, po = (e, a, r) => ({
|
|
2353
2376
|
wrapperStyles: {
|
|
2354
2377
|
height: e,
|
|
2355
2378
|
minHeight: e,
|
|
@@ -2367,7 +2390,7 @@ const zt = Object.assign(On, {
|
|
|
2367
2390
|
suffixStyles: {
|
|
2368
2391
|
right: `${r}px`
|
|
2369
2392
|
}
|
|
2370
|
-
}),
|
|
2393
|
+
}), fo = (e, a, r) => ({
|
|
2371
2394
|
wrapperStyles: {
|
|
2372
2395
|
minHeight: e,
|
|
2373
2396
|
maxHeight: e,
|
|
@@ -2383,7 +2406,7 @@ const zt = Object.assign(On, {
|
|
|
2383
2406
|
suffixStyles: {
|
|
2384
2407
|
right: `${r}px`
|
|
2385
2408
|
}
|
|
2386
|
-
}),
|
|
2409
|
+
}), ho = (e, a, r) => ({
|
|
2387
2410
|
wrapperStyles: {
|
|
2388
2411
|
minHeight: e,
|
|
2389
2412
|
maxHeight: e,
|
|
@@ -2399,15 +2422,15 @@ const zt = Object.assign(On, {
|
|
|
2399
2422
|
suffixStyles: {
|
|
2400
2423
|
right: `${r}px`
|
|
2401
2424
|
}
|
|
2402
|
-
}),
|
|
2403
|
-
const i =
|
|
2425
|
+
}), bo = (e, a, r, s) => {
|
|
2426
|
+
const i = uo(e), o = co(e, a, r, s), l = _o(e);
|
|
2404
2427
|
switch (e) {
|
|
2405
2428
|
case re.LARGE:
|
|
2406
|
-
return
|
|
2429
|
+
return po(i, o, l);
|
|
2407
2430
|
case re.MEDIUM:
|
|
2408
|
-
return
|
|
2431
|
+
return fo(i, o, l);
|
|
2409
2432
|
case re.SMALL:
|
|
2410
|
-
return
|
|
2433
|
+
return ho(i, o, l);
|
|
2411
2434
|
default:
|
|
2412
2435
|
return {
|
|
2413
2436
|
wrapperStyles: {},
|
|
@@ -2416,7 +2439,7 @@ const zt = Object.assign(On, {
|
|
|
2416
2439
|
suffixStyles: {}
|
|
2417
2440
|
};
|
|
2418
2441
|
}
|
|
2419
|
-
},
|
|
2442
|
+
}, Sl = X(
|
|
2420
2443
|
({
|
|
2421
2444
|
value: e = "",
|
|
2422
2445
|
onChange: a,
|
|
@@ -2449,9 +2472,9 @@ const zt = Object.assign(On, {
|
|
|
2449
2472
|
wrapperProps: O,
|
|
2450
2473
|
labelProps: C,
|
|
2451
2474
|
helperProps: R,
|
|
2452
|
-
...
|
|
2475
|
+
...q
|
|
2453
2476
|
}, U) => {
|
|
2454
|
-
const V = (e || "").length > 0, Q = c === re.LARGE,
|
|
2477
|
+
const V = (e || "").length > 0, Q = c === re.LARGE, le = !!m, Z = Q && _ && !m, ue = v && V && !(h || y), ee = () => {
|
|
2455
2478
|
a == null || a(""), j == null || j();
|
|
2456
2479
|
}, Ce = ue ? /* @__PURE__ */ n.jsx(
|
|
2457
2480
|
Xt,
|
|
@@ -2462,13 +2485,13 @@ const zt = Object.assign(On, {
|
|
|
2462
2485
|
style: { cursor: "pointer" },
|
|
2463
2486
|
"data-testid": "x-icon"
|
|
2464
2487
|
}
|
|
2465
|
-
) : S,
|
|
2488
|
+
) : S, Be = {
|
|
2466
2489
|
type: r,
|
|
2467
2490
|
minLength: o,
|
|
2468
2491
|
autoComplete: l,
|
|
2469
2492
|
autoFocus: d,
|
|
2470
2493
|
...f
|
|
2471
|
-
}, me =
|
|
2494
|
+
}, me = bo(c, Z, V, le);
|
|
2472
2495
|
return /* @__PURE__ */ n.jsx(
|
|
2473
2496
|
er,
|
|
2474
2497
|
{
|
|
@@ -2497,12 +2520,12 @@ const zt = Object.assign(On, {
|
|
|
2497
2520
|
helperProps: R,
|
|
2498
2521
|
showLimit: !1,
|
|
2499
2522
|
maxLength: i,
|
|
2500
|
-
inputProps:
|
|
2523
|
+
inputProps: Be,
|
|
2501
2524
|
hint: D,
|
|
2502
2525
|
showHint: z,
|
|
2503
2526
|
showHintOnEmpty: F,
|
|
2504
2527
|
truncate: A,
|
|
2505
|
-
...
|
|
2528
|
+
...q
|
|
2506
2529
|
}
|
|
2507
2530
|
);
|
|
2508
2531
|
}
|
|
@@ -2512,7 +2535,7 @@ const zt = Object.assign(On, {
|
|
|
2512
2535
|
}, Je = {
|
|
2513
2536
|
SMALL: "12px",
|
|
2514
2537
|
MEDIUM: "16px"
|
|
2515
|
-
},
|
|
2538
|
+
}, go = {
|
|
2516
2539
|
SMALL: "xs",
|
|
2517
2540
|
MEDIUM: "sm"
|
|
2518
2541
|
}, Ze = {
|
|
@@ -2533,7 +2556,7 @@ const zt = Object.assign(On, {
|
|
|
2533
2556
|
SMALL: 48,
|
|
2534
2557
|
MEDIUM: 56,
|
|
2535
2558
|
LARGE: 112
|
|
2536
|
-
},
|
|
2559
|
+
}, mo = (e, a) => {
|
|
2537
2560
|
if (e === he.SMALL)
|
|
2538
2561
|
return ct.SMALL;
|
|
2539
2562
|
if (a)
|
|
@@ -2544,7 +2567,7 @@ const zt = Object.assign(On, {
|
|
|
2544
2567
|
default:
|
|
2545
2568
|
return ct.MEDIUM;
|
|
2546
2569
|
}
|
|
2547
|
-
},
|
|
2570
|
+
}, yo = (e, a) => {
|
|
2548
2571
|
if (e === he.SMALL)
|
|
2549
2572
|
return Ae.SMALL;
|
|
2550
2573
|
if (a)
|
|
@@ -2563,7 +2586,7 @@ const zt = Object.assign(On, {
|
|
|
2563
2586
|
default:
|
|
2564
2587
|
return Ae.MEDIUM;
|
|
2565
2588
|
}
|
|
2566
|
-
},
|
|
2589
|
+
}, vo = (e, a, r) => {
|
|
2567
2590
|
if (e === he.SMALL)
|
|
2568
2591
|
return ve.SMALL;
|
|
2569
2592
|
if (a)
|
|
@@ -2583,7 +2606,7 @@ const zt = Object.assign(On, {
|
|
|
2583
2606
|
default:
|
|
2584
2607
|
return ve.MEDIUM;
|
|
2585
2608
|
}
|
|
2586
|
-
},
|
|
2609
|
+
}, xo = (e, a) => {
|
|
2587
2610
|
if (e === he.SMALL)
|
|
2588
2611
|
return "small";
|
|
2589
2612
|
if (a)
|
|
@@ -2598,8 +2621,8 @@ const zt = Object.assign(On, {
|
|
|
2598
2621
|
return "medium";
|
|
2599
2622
|
}
|
|
2600
2623
|
return e;
|
|
2601
|
-
},
|
|
2602
|
-
const i =
|
|
2624
|
+
}, wo = (e) => go[e.toUpperCase()], Co = (e) => Je[e.toUpperCase()], So = (e, a, r, s) => {
|
|
2625
|
+
const i = mo(e, a), o = yo(e, a), l = vo(e, a, r);
|
|
2603
2626
|
return {
|
|
2604
2627
|
wrapperStyles: {
|
|
2605
2628
|
minHeight: i,
|
|
@@ -2616,7 +2639,7 @@ const zt = Object.assign(On, {
|
|
|
2616
2639
|
top: a === 112 && r && e === he.MEDIUM ? Je.MEDIUM : void 0
|
|
2617
2640
|
},
|
|
2618
2641
|
suffixStyles: {
|
|
2619
|
-
right:
|
|
2642
|
+
right: Co(e)
|
|
2620
2643
|
},
|
|
2621
2644
|
textareaStyles: {
|
|
2622
2645
|
minHeight: o,
|
|
@@ -2626,7 +2649,7 @@ const zt = Object.assign(On, {
|
|
|
2626
2649
|
...s === Ze.FIXED && a && { height: o }
|
|
2627
2650
|
}
|
|
2628
2651
|
};
|
|
2629
|
-
},
|
|
2652
|
+
}, Ll = X(
|
|
2630
2653
|
({
|
|
2631
2654
|
value: e = "",
|
|
2632
2655
|
onChange: a,
|
|
@@ -2659,18 +2682,18 @@ const zt = Object.assign(On, {
|
|
|
2659
2682
|
resize: O,
|
|
2660
2683
|
...C
|
|
2661
2684
|
}, R) => {
|
|
2662
|
-
const
|
|
2685
|
+
const q = (e || "").length > 0, U = S && !!r && (l === he.SMALL || F !== 48), V = b && q && !(f || p), Q = () => {
|
|
2663
2686
|
a == null || a(""), _ == null || _();
|
|
2664
|
-
},
|
|
2687
|
+
}, le = V ? /* @__PURE__ */ n.jsx(
|
|
2665
2688
|
Xt,
|
|
2666
2689
|
{
|
|
2667
|
-
size:
|
|
2690
|
+
size: wo(l),
|
|
2668
2691
|
color: "var(--icon-secondary)",
|
|
2669
2692
|
onClick: Q,
|
|
2670
2693
|
style: { cursor: "pointer" },
|
|
2671
2694
|
"data-testid": "x-icon"
|
|
2672
2695
|
}
|
|
2673
|
-
) : y, Z =
|
|
2696
|
+
) : y, Z = So(l, F, U && q, O), ue = xo(l, F), ee = {
|
|
2674
2697
|
rows: $,
|
|
2675
2698
|
minLength: i,
|
|
2676
2699
|
autoFocus: o,
|
|
@@ -2687,7 +2710,7 @@ const zt = Object.assign(On, {
|
|
|
2687
2710
|
disabled: f || p,
|
|
2688
2711
|
loading: p,
|
|
2689
2712
|
helper: h,
|
|
2690
|
-
suffix:
|
|
2713
|
+
suffix: le,
|
|
2691
2714
|
id: m,
|
|
2692
2715
|
showLabel: U,
|
|
2693
2716
|
onFocus: v,
|
|
@@ -2714,11 +2737,11 @@ const zt = Object.assign(On, {
|
|
|
2714
2737
|
}
|
|
2715
2738
|
);
|
|
2716
2739
|
}
|
|
2717
|
-
),
|
|
2718
|
-
helper:
|
|
2740
|
+
), Lo = "_helper_1jq7j_16", dt = {
|
|
2741
|
+
helper: Lo,
|
|
2719
2742
|
"helper--error": "_helper--error_1jq7j_28",
|
|
2720
2743
|
"helper--disabled": "_helper--disabled_1jq7j_33"
|
|
2721
|
-
},
|
|
2744
|
+
}, El = ({
|
|
2722
2745
|
title: e,
|
|
2723
2746
|
error: a,
|
|
2724
2747
|
className: r = "",
|
|
@@ -2745,23 +2768,23 @@ const zt = Object.assign(On, {
|
|
|
2745
2768
|
children: /* @__PURE__ */ n.jsx("p", { children: p })
|
|
2746
2769
|
}
|
|
2747
2770
|
);
|
|
2748
|
-
},
|
|
2749
|
-
radio:
|
|
2750
|
-
checked:
|
|
2751
|
-
error:
|
|
2752
|
-
disabled:
|
|
2753
|
-
icon:
|
|
2754
|
-
small:
|
|
2755
|
-
medium:
|
|
2756
|
-
large:
|
|
2757
|
-
label:
|
|
2758
|
-
container:
|
|
2759
|
-
input:
|
|
2760
|
-
card:
|
|
2761
|
-
smallCard:
|
|
2762
|
-
mediumCard:
|
|
2763
|
-
largeCard:
|
|
2764
|
-
},
|
|
2771
|
+
}, Eo = "_radio_1q34w_54", jo = "_checked_1q34w_75", ko = "_error_1q34w_80", $o = "_disabled_1q34w_89", Mo = "_icon_1q34w_125", Io = "_small_1q34w_133", Ro = "_medium_1q34w_140", To = "_large_1q34w_147", No = "_label_1q34w_154", Ao = "_container_1q34w_180", Do = "_input_1q34w_193", Oo = "_card_1q34w_200", Po = "_smallCard_1q34w_206", qo = "_mediumCard_1q34w_210", Bo = "_largeCard_1q34w_214", ce = {
|
|
2772
|
+
radio: Eo,
|
|
2773
|
+
checked: jo,
|
|
2774
|
+
error: ko,
|
|
2775
|
+
disabled: $o,
|
|
2776
|
+
icon: Mo,
|
|
2777
|
+
small: Io,
|
|
2778
|
+
medium: Ro,
|
|
2779
|
+
large: To,
|
|
2780
|
+
label: No,
|
|
2781
|
+
container: Ao,
|
|
2782
|
+
input: Do,
|
|
2783
|
+
card: Oo,
|
|
2784
|
+
smallCard: Po,
|
|
2785
|
+
mediumCard: qo,
|
|
2786
|
+
largeCard: Bo
|
|
2787
|
+
}, zo = "radio-container-", Uo = "radio-label", tr = X(
|
|
2765
2788
|
(e, a) => {
|
|
2766
2789
|
const {
|
|
2767
2790
|
name: r,
|
|
@@ -2783,7 +2806,7 @@ const zt = Object.assign(On, {
|
|
|
2783
2806
|
onChange: _,
|
|
2784
2807
|
"data-testid": w,
|
|
2785
2808
|
...L
|
|
2786
|
-
} = e, $ = !!d, j = c || l, M = b === "all", A = m === "card", D =
|
|
2809
|
+
} = e, $ = !!d, j = c || l, M = b === "all", A = m === "card", D = ce[`${o}Card`], z = s ?? r, F = (U) => {
|
|
2787
2810
|
j || _ == null || _(i, U);
|
|
2788
2811
|
}, O = (U) => {
|
|
2789
2812
|
U.key === "Enter" && !j && (U.preventDefault(), _ == null || _(i));
|
|
@@ -2791,18 +2814,18 @@ const zt = Object.assign(On, {
|
|
|
2791
2814
|
"div",
|
|
2792
2815
|
{
|
|
2793
2816
|
className: k(
|
|
2794
|
-
|
|
2795
|
-
|
|
2817
|
+
ce.radio,
|
|
2818
|
+
ce[o],
|
|
2796
2819
|
{
|
|
2797
|
-
[
|
|
2798
|
-
[
|
|
2799
|
-
[
|
|
2820
|
+
[ce.checked]: f,
|
|
2821
|
+
[ce.disabled]: j,
|
|
2822
|
+
[ce.error]: $ && !j
|
|
2800
2823
|
},
|
|
2801
2824
|
h
|
|
2802
2825
|
),
|
|
2803
2826
|
style: v,
|
|
2804
2827
|
tabIndex: S || 1,
|
|
2805
|
-
"data-testid": `${
|
|
2828
|
+
"data-testid": `${zo}${z}`,
|
|
2806
2829
|
children: [
|
|
2807
2830
|
/* @__PURE__ */ n.jsx(
|
|
2808
2831
|
"input",
|
|
@@ -2810,7 +2833,7 @@ const zt = Object.assign(On, {
|
|
|
2810
2833
|
"aria-errormessage": d,
|
|
2811
2834
|
"aria-invalid": $,
|
|
2812
2835
|
checked: f,
|
|
2813
|
-
className:
|
|
2836
|
+
className: ce.input,
|
|
2814
2837
|
"data-testid": `radio-${z}`,
|
|
2815
2838
|
disabled: j,
|
|
2816
2839
|
id: z,
|
|
@@ -2822,19 +2845,19 @@ const zt = Object.assign(On, {
|
|
|
2822
2845
|
onClick: C
|
|
2823
2846
|
}
|
|
2824
2847
|
),
|
|
2825
|
-
/* @__PURE__ */ n.jsx("svg", { "data-testid": `radio-icon-${z}`, viewBox: "0 0 8 8", className:
|
|
2848
|
+
/* @__PURE__ */ n.jsx("svg", { "data-testid": `radio-icon-${z}`, viewBox: "0 0 8 8", className: ce.icon, children: /* @__PURE__ */ n.jsx("circle", { cx: 4, cy: 4, fill: "current", r: 4 }) })
|
|
2826
2849
|
]
|
|
2827
2850
|
}
|
|
2828
|
-
),
|
|
2851
|
+
), q = () => /* @__PURE__ */ n.jsxs(
|
|
2829
2852
|
"label",
|
|
2830
2853
|
{
|
|
2831
2854
|
"aria-checked": f,
|
|
2832
2855
|
"aria-disabled": j,
|
|
2833
|
-
"data-testid": M ? w :
|
|
2856
|
+
"data-testid": M ? w : Uo,
|
|
2834
2857
|
htmlFor: z,
|
|
2835
2858
|
style: x,
|
|
2836
|
-
className: k(
|
|
2837
|
-
[k(
|
|
2859
|
+
className: k(ce.label, {
|
|
2860
|
+
[k(ce.container, ce[m], p)]: M,
|
|
2838
2861
|
[D]: M && A
|
|
2839
2862
|
}),
|
|
2840
2863
|
onKeyDown: O,
|
|
@@ -2845,25 +2868,25 @@ const zt = Object.assign(On, {
|
|
|
2845
2868
|
]
|
|
2846
2869
|
}
|
|
2847
2870
|
);
|
|
2848
|
-
return M ?
|
|
2871
|
+
return M ? q() : /* @__PURE__ */ n.jsxs(
|
|
2849
2872
|
"div",
|
|
2850
2873
|
{
|
|
2851
|
-
className: k(
|
|
2874
|
+
className: k(ce.container, ce[m], p, {
|
|
2852
2875
|
[D]: A
|
|
2853
2876
|
}),
|
|
2854
2877
|
"data-testid": w,
|
|
2855
2878
|
children: [
|
|
2856
|
-
|
|
2879
|
+
q(),
|
|
2857
2880
|
y
|
|
2858
2881
|
]
|
|
2859
2882
|
}
|
|
2860
2883
|
);
|
|
2861
2884
|
}
|
|
2862
|
-
),
|
|
2863
|
-
group:
|
|
2864
|
-
vertical:
|
|
2865
|
-
horizontal:
|
|
2866
|
-
},
|
|
2885
|
+
), Fo = "_group_o6mjt_7", Wo = "_vertical_o6mjt_12", Vo = "_horizontal_o6mjt_16", Ut = {
|
|
2886
|
+
group: Fo,
|
|
2887
|
+
vertical: Wo,
|
|
2888
|
+
horizontal: Vo
|
|
2889
|
+
}, Ho = X(
|
|
2867
2890
|
(e, a) => {
|
|
2868
2891
|
const {
|
|
2869
2892
|
id: r,
|
|
@@ -2905,20 +2928,20 @@ const zt = Object.assign(On, {
|
|
|
2905
2928
|
}
|
|
2906
2929
|
);
|
|
2907
2930
|
}
|
|
2908
|
-
),
|
|
2909
|
-
Group:
|
|
2910
|
-
}),
|
|
2911
|
-
root:
|
|
2912
|
-
unordered:
|
|
2913
|
-
ordered:
|
|
2914
|
-
sm:
|
|
2915
|
-
md:
|
|
2916
|
-
lg:
|
|
2917
|
-
xl:
|
|
2918
|
-
},
|
|
2931
|
+
), jl = Object.assign(tr, {
|
|
2932
|
+
Group: Ho
|
|
2933
|
+
}), Go = "_root_1jj3e_25", Zo = "_unordered_1jj3e_39", Yo = "_ordered_1jj3e_43", Jo = "_sm_1jj3e_48", Ko = "_md_1jj3e_59", Xo = "_lg_1jj3e_70", Qo = "_xl_1jj3e_81", ut = {
|
|
2934
|
+
root: Go,
|
|
2935
|
+
unordered: Zo,
|
|
2936
|
+
ordered: Yo,
|
|
2937
|
+
sm: Jo,
|
|
2938
|
+
md: Ko,
|
|
2939
|
+
lg: Xo,
|
|
2940
|
+
xl: Qo
|
|
2941
|
+
}, ei = (e) => {
|
|
2919
2942
|
const { children: a, className: r, "data-testid": s = "list-item" } = e;
|
|
2920
2943
|
return /* @__PURE__ */ n.jsx("li", { "data-testid": s, className: r, children: a });
|
|
2921
|
-
},
|
|
2944
|
+
}, kl = Object.assign(
|
|
2922
2945
|
X((e, a) => {
|
|
2923
2946
|
const {
|
|
2924
2947
|
variant: r = "unordered",
|
|
@@ -2939,27 +2962,27 @@ const zt = Object.assign(On, {
|
|
|
2939
2962
|
}
|
|
2940
2963
|
);
|
|
2941
2964
|
}),
|
|
2942
|
-
{ Item:
|
|
2943
|
-
),
|
|
2944
|
-
wrapper:
|
|
2945
|
-
viewport:
|
|
2946
|
-
mask:
|
|
2947
|
-
maskLeft:
|
|
2948
|
-
maskRight:
|
|
2949
|
-
visible:
|
|
2950
|
-
control:
|
|
2951
|
-
xs:
|
|
2952
|
-
sm:
|
|
2953
|
-
md:
|
|
2954
|
-
left:
|
|
2955
|
-
right:
|
|
2956
|
-
},
|
|
2965
|
+
{ Item: ei }
|
|
2966
|
+
), ti = "_wrapper_1v8xn_5", ri = "_viewport_1v8xn_12", ai = "_mask_1v8xn_26", si = "_maskLeft_1v8xn_37", ni = "_maskRight_1v8xn_42", oi = "_visible_1v8xn_46", ii = "_control_1v8xn_51", li = "_xs_1v8xn_70", ci = "_sm_1v8xn_73", di = "_md_1v8xn_76", ui = "_left_1v8xn_80", _i = "_right_1v8xn_83", se = {
|
|
2967
|
+
wrapper: ti,
|
|
2968
|
+
viewport: ri,
|
|
2969
|
+
mask: ai,
|
|
2970
|
+
maskLeft: si,
|
|
2971
|
+
maskRight: ni,
|
|
2972
|
+
visible: oi,
|
|
2973
|
+
control: ii,
|
|
2974
|
+
xs: li,
|
|
2975
|
+
sm: ci,
|
|
2976
|
+
md: di,
|
|
2977
|
+
left: ui,
|
|
2978
|
+
right: _i
|
|
2979
|
+
}, pi = "white", fi = ({
|
|
2957
2980
|
children: e,
|
|
2958
2981
|
withControls: a = !0,
|
|
2959
2982
|
className: r,
|
|
2960
2983
|
size: s
|
|
2961
2984
|
}) => {
|
|
2962
|
-
const i =
|
|
2985
|
+
const i = qe(null), [o, l] = de(!1), [d, c] = de(!1), { ref: f, bgColor: p } = Yt(), h = f ?? { current: null }, y = p ?? pi, b = a && o, m = a && d, S = ({ direction: _ }) => /* @__PURE__ */ n.jsx(
|
|
2963
2986
|
"svg",
|
|
2964
2987
|
{
|
|
2965
2988
|
height: "12px",
|
|
@@ -2985,14 +3008,14 @@ const zt = Object.assign(On, {
|
|
|
2985
3008
|
const L = w.clientWidth;
|
|
2986
3009
|
w.scrollBy({ left: _ === "left" ? -L : L, behavior: "smooth" });
|
|
2987
3010
|
};
|
|
2988
|
-
return
|
|
3011
|
+
return ie(() => {
|
|
2989
3012
|
const _ = i.current;
|
|
2990
3013
|
if (!_) return;
|
|
2991
3014
|
const w = (L) => {
|
|
2992
3015
|
Math.abs(L.deltaX) > Math.abs(L.deltaY) || _.scrollWidth > _.clientWidth && (L.preventDefault(), _.scrollBy({ left: L.deltaY, behavior: "auto" }));
|
|
2993
3016
|
};
|
|
2994
3017
|
return _.addEventListener("wheel", w, { passive: !1 }), () => _.removeEventListener("wheel", w);
|
|
2995
|
-
}, []),
|
|
3018
|
+
}, []), ie(() => {
|
|
2996
3019
|
v();
|
|
2997
3020
|
const _ = i.current;
|
|
2998
3021
|
if (_)
|
|
@@ -3042,24 +3065,24 @@ const zt = Object.assign(On, {
|
|
|
3042
3065
|
}
|
|
3043
3066
|
)
|
|
3044
3067
|
] });
|
|
3045
|
-
},
|
|
3046
|
-
tabBar:
|
|
3047
|
-
primary:
|
|
3048
|
-
secondary:
|
|
3049
|
-
tab:
|
|
3050
|
-
md:
|
|
3051
|
-
sm:
|
|
3052
|
-
xs:
|
|
3053
|
-
disabled:
|
|
3054
|
-
selected:
|
|
3055
|
-
tabLabel:
|
|
3056
|
-
tabPrefix:
|
|
3057
|
-
tabPostfix:
|
|
3058
|
-
},
|
|
3068
|
+
}, hi = "_tabBar_1ndpm_82", bi = "_primary_1ndpm_88", gi = "_secondary_1ndpm_93", mi = "_tab_1ndpm_82", yi = "_md_1ndpm_125", vi = "_sm_1ndpm_129", xi = "_xs_1ndpm_133", wi = "_disabled_1ndpm_137", Ci = "_selected_1ndpm_143", Si = "_tabLabel_1ndpm_222", Li = "_tabPrefix_1ndpm_234", Ei = "_tabPostfix_1ndpm_270", K = {
|
|
3069
|
+
tabBar: hi,
|
|
3070
|
+
primary: bi,
|
|
3071
|
+
secondary: gi,
|
|
3072
|
+
tab: mi,
|
|
3073
|
+
md: yi,
|
|
3074
|
+
sm: vi,
|
|
3075
|
+
xs: xi,
|
|
3076
|
+
disabled: wi,
|
|
3077
|
+
selected: Ci,
|
|
3078
|
+
tabLabel: Si,
|
|
3079
|
+
tabPrefix: Li,
|
|
3080
|
+
tabPostfix: Ei
|
|
3081
|
+
}, ji = "md", ki = !1, $i = 8, Mi = "top-right-inside", rr = Ht(null), ar = () => {
|
|
3059
3082
|
const e = Gt(rr);
|
|
3060
3083
|
if (!e) throw new Error("useTabs должен использоваться внутри TabsProvider");
|
|
3061
3084
|
return e;
|
|
3062
|
-
},
|
|
3085
|
+
}, Ii = ({
|
|
3063
3086
|
children: e,
|
|
3064
3087
|
defaultActiveTab: a,
|
|
3065
3088
|
activeTab: r,
|
|
@@ -3069,7 +3092,7 @@ const zt = Object.assign(On, {
|
|
|
3069
3092
|
l || o(f), s && s(f);
|
|
3070
3093
|
};
|
|
3071
3094
|
return /* @__PURE__ */ n.jsx(rr.Provider, { value: { activeTab: d, setTab: c }, children: e });
|
|
3072
|
-
},
|
|
3095
|
+
}, Ri = ({
|
|
3073
3096
|
mode: e,
|
|
3074
3097
|
item: a,
|
|
3075
3098
|
isActive: r,
|
|
@@ -3087,13 +3110,13 @@ const zt = Object.assign(On, {
|
|
|
3087
3110
|
postfix: y,
|
|
3088
3111
|
postfixWrapperProps: b = {}
|
|
3089
3112
|
} = a, { className: m, ...S } = h, { className: v, ...x } = b, _ = {
|
|
3090
|
-
primary:
|
|
3091
|
-
secondary:
|
|
3092
|
-
prefix:
|
|
3093
|
-
postfix:
|
|
3113
|
+
primary: oe["typography-label-3-medium"],
|
|
3114
|
+
secondary: oe["typography-label-3-regular"],
|
|
3115
|
+
prefix: oe["typography-label-3-medium"],
|
|
3116
|
+
postfix: oe["typography-label-3-medium"]
|
|
3094
3117
|
}, w = {
|
|
3095
|
-
size:
|
|
3096
|
-
position:
|
|
3118
|
+
size: $i,
|
|
3119
|
+
position: Mi,
|
|
3097
3120
|
...i
|
|
3098
3121
|
}, L = k(K.tab, K[e], K[o], {
|
|
3099
3122
|
[K.selected]: r,
|
|
@@ -3153,14 +3176,14 @@ const zt = Object.assign(On, {
|
|
|
3153
3176
|
}
|
|
3154
3177
|
);
|
|
3155
3178
|
return s ? /* @__PURE__ */ n.jsx(es, { ...w, "data-testid": `tab-badge-${c}`, children: D }) : D;
|
|
3156
|
-
},
|
|
3179
|
+
}, Ti = ({
|
|
3157
3180
|
mode: e,
|
|
3158
3181
|
items: a,
|
|
3159
|
-
size: r =
|
|
3160
|
-
isAllItemsDisabled: s =
|
|
3182
|
+
size: r = ji,
|
|
3183
|
+
isAllItemsDisabled: s = ki
|
|
3161
3184
|
}) => {
|
|
3162
3185
|
const { activeTab: i, setTab: o } = ar(), l = Qa();
|
|
3163
|
-
return /* @__PURE__ */ n.jsx(
|
|
3186
|
+
return /* @__PURE__ */ n.jsx(fi, { size: r, withControls: l, children: /* @__PURE__ */ n.jsx(
|
|
3164
3187
|
"div",
|
|
3165
3188
|
{
|
|
3166
3189
|
role: "tablist",
|
|
@@ -3168,7 +3191,7 @@ const zt = Object.assign(On, {
|
|
|
3168
3191
|
"aria-orientation": "horizontal",
|
|
3169
3192
|
className: k(K.tabBar, K[e]),
|
|
3170
3193
|
children: a.map((d) => /* @__PURE__ */ n.jsx(
|
|
3171
|
-
|
|
3194
|
+
Ri,
|
|
3172
3195
|
{
|
|
3173
3196
|
size: r,
|
|
3174
3197
|
item: d,
|
|
@@ -3183,7 +3206,7 @@ const zt = Object.assign(On, {
|
|
|
3183
3206
|
))
|
|
3184
3207
|
}
|
|
3185
3208
|
) });
|
|
3186
|
-
},
|
|
3209
|
+
}, Ni = ({ tabValue: e, children: a, ...r }) => /* @__PURE__ */ n.jsx(
|
|
3187
3210
|
"div",
|
|
3188
3211
|
{
|
|
3189
3212
|
role: "tabpanel",
|
|
@@ -3192,32 +3215,32 @@ const zt = Object.assign(On, {
|
|
|
3192
3215
|
...r,
|
|
3193
3216
|
children: a
|
|
3194
3217
|
}
|
|
3195
|
-
),
|
|
3218
|
+
), Ai = ({ children: e, ...a }) => {
|
|
3196
3219
|
const { activeTab: r } = ar(), s = Array.isArray(e) ? e : [e], i = (o, l) => _t.isValidElement(o) && typeof o.props == "object" && o.props !== null && l in o.props;
|
|
3197
3220
|
return /* @__PURE__ */ n.jsx("div", { "data-testid": "tab-content", ...a, children: s.map((o) => i(o, "tabValue") && String(o.props.tabValue) === r ? o : null) });
|
|
3198
|
-
},
|
|
3199
|
-
Provider:
|
|
3200
|
-
Content:
|
|
3201
|
-
Panel:
|
|
3202
|
-
Bar:
|
|
3203
|
-
},
|
|
3204
|
-
root:
|
|
3205
|
-
open:
|
|
3206
|
-
xs:
|
|
3207
|
-
s:
|
|
3208
|
-
m:
|
|
3209
|
-
neutral:
|
|
3210
|
-
contrast:
|
|
3211
|
-
accent:
|
|
3212
|
-
typography:
|
|
3213
|
-
title:
|
|
3214
|
-
text:
|
|
3215
|
-
mediaWrapper:
|
|
3216
|
-
content:
|
|
3217
|
-
closeButton:
|
|
3218
|
-
hasMedia:
|
|
3219
|
-
buttonStack:
|
|
3220
|
-
},
|
|
3221
|
+
}, $l = {
|
|
3222
|
+
Provider: Ii,
|
|
3223
|
+
Content: Ai,
|
|
3224
|
+
Panel: Ni,
|
|
3225
|
+
Bar: Ti
|
|
3226
|
+
}, Di = "_root_1fbbw_34", Oi = "_open_1fbbw_51", Pi = "_xs_1fbbw_55", qi = "_s_1fbbw_61", Bi = "_m_1fbbw_67", zi = "_neutral_1fbbw_73", Ui = "_contrast_1fbbw_78", Fi = "_accent_1fbbw_84", Wi = "_typography_1fbbw_89", Vi = "_title_1fbbw_89", Hi = "_text_1fbbw_93", Gi = "_mediaWrapper_1fbbw_97", Zi = "_content_1fbbw_112", Yi = "_closeButton_1fbbw_116", Ji = "_hasMedia_1fbbw_142", Ki = "_buttonStack_1fbbw_148", ne = {
|
|
3227
|
+
root: Di,
|
|
3228
|
+
open: Oi,
|
|
3229
|
+
xs: Pi,
|
|
3230
|
+
s: qi,
|
|
3231
|
+
m: Bi,
|
|
3232
|
+
neutral: zi,
|
|
3233
|
+
contrast: Ui,
|
|
3234
|
+
accent: Fi,
|
|
3235
|
+
typography: Wi,
|
|
3236
|
+
title: Vi,
|
|
3237
|
+
text: Hi,
|
|
3238
|
+
mediaWrapper: Gi,
|
|
3239
|
+
content: Zi,
|
|
3240
|
+
closeButton: Yi,
|
|
3241
|
+
hasMedia: Ji,
|
|
3242
|
+
buttonStack: Ki
|
|
3243
|
+
}, Xi = () => /* @__PURE__ */ n.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", stroke: "currentColor", children: /* @__PURE__ */ n.jsx("path", { d: "M18 6 6 18M6 6l12 12" }) }), Qi = () => /* @__PURE__ */ n.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 9", fill: "currentColor", children: [
|
|
3221
3244
|
/* @__PURE__ */ n.jsx(
|
|
3222
3245
|
"path",
|
|
3223
3246
|
{
|
|
@@ -3228,7 +3251,7 @@ const zt = Object.assign(On, {
|
|
|
3228
3251
|
] }), pe = {
|
|
3229
3252
|
shiftX: 64,
|
|
3230
3253
|
adjustY: 1
|
|
3231
|
-
}, fe = { adjustX: 1, shiftY: !0 },
|
|
3254
|
+
}, fe = { adjustX: 1, shiftY: !0 }, el = {
|
|
3232
3255
|
left: {
|
|
3233
3256
|
points: ["cr", "cl"],
|
|
3234
3257
|
overflow: fe,
|
|
@@ -3289,7 +3312,7 @@ const zt = Object.assign(On, {
|
|
|
3289
3312
|
overflow: fe,
|
|
3290
3313
|
offset: [-22, 0]
|
|
3291
3314
|
}
|
|
3292
|
-
},
|
|
3315
|
+
}, tl = {
|
|
3293
3316
|
left: {
|
|
3294
3317
|
points: ["cr", "cl"],
|
|
3295
3318
|
overflow: fe,
|
|
@@ -3350,7 +3373,7 @@ const zt = Object.assign(On, {
|
|
|
3350
3373
|
overflow: fe,
|
|
3351
3374
|
offset: [-16, 0]
|
|
3352
3375
|
}
|
|
3353
|
-
},
|
|
3376
|
+
}, rl = {
|
|
3354
3377
|
neutral: {
|
|
3355
3378
|
1: [{ mode: "secondary", buttonStyle: "neutral", size: "s" }],
|
|
3356
3379
|
2: [
|
|
@@ -3387,8 +3410,8 @@ const zt = Object.assign(On, {
|
|
|
3387
3410
|
{ mode: "primary", buttonStyle: "accent", size: "s" }
|
|
3388
3411
|
]
|
|
3389
3412
|
}
|
|
3390
|
-
},
|
|
3391
|
-
const s =
|
|
3413
|
+
}, al = (e, a, r) => Math.min(Math.max(e, a), r), sl = (e, a, r) => {
|
|
3414
|
+
const s = al(a, 1, 3), i = rl[r][s];
|
|
3392
3415
|
return i[Math.min(e, i.length - 1)];
|
|
3393
3416
|
}, Ft = ({
|
|
3394
3417
|
text: e,
|
|
@@ -3407,7 +3430,7 @@ const zt = Object.assign(On, {
|
|
|
3407
3430
|
b && /* @__PURE__ */ n.jsx("div", { className: k(ne.mediaWrapper, o.mediaWrapper), children: r }),
|
|
3408
3431
|
/* @__PURE__ */ n.jsxs("div", { className: o.textWrapper, children: [
|
|
3409
3432
|
y && /* @__PURE__ */ n.jsx(
|
|
3410
|
-
|
|
3433
|
+
qt.Subtitle,
|
|
3411
3434
|
{
|
|
3412
3435
|
className: k(ne.typography, ne.title, o.typography),
|
|
3413
3436
|
size: 1,
|
|
@@ -3417,7 +3440,7 @@ const zt = Object.assign(On, {
|
|
|
3417
3440
|
}
|
|
3418
3441
|
),
|
|
3419
3442
|
/* @__PURE__ */ n.jsx(
|
|
3420
|
-
|
|
3443
|
+
qt.Label,
|
|
3421
3444
|
{
|
|
3422
3445
|
className: k(ne.typography, ne.text, o.typography),
|
|
3423
3446
|
typographyStyle: p,
|
|
@@ -3436,12 +3459,12 @@ const zt = Object.assign(On, {
|
|
|
3436
3459
|
onClick: l,
|
|
3437
3460
|
"aria-label": "Закрыть подсказку",
|
|
3438
3461
|
"data-testid": "tooltip-close-button",
|
|
3439
|
-
children: /* @__PURE__ */ n.jsx(
|
|
3462
|
+
children: /* @__PURE__ */ n.jsx(Xi, {})
|
|
3440
3463
|
}
|
|
3441
3464
|
),
|
|
3442
3465
|
h && m && /* @__PURE__ */ n.jsx("div", { className: ne.buttonStack, children: d.map((x, _) => {
|
|
3443
3466
|
const L = {
|
|
3444
|
-
...
|
|
3467
|
+
...sl(_, d.length, s),
|
|
3445
3468
|
...c,
|
|
3446
3469
|
...x
|
|
3447
3470
|
}, { closeOnClick: $, ...j } = L, M = (A) => {
|
|
@@ -3458,7 +3481,7 @@ const zt = Object.assign(On, {
|
|
|
3458
3481
|
);
|
|
3459
3482
|
}) })
|
|
3460
3483
|
] });
|
|
3461
|
-
},
|
|
3484
|
+
}, Ml = ({
|
|
3462
3485
|
customContent: e,
|
|
3463
3486
|
children: a,
|
|
3464
3487
|
placement: r = "top",
|
|
@@ -3478,7 +3501,7 @@ const zt = Object.assign(On, {
|
|
|
3478
3501
|
onClose: v,
|
|
3479
3502
|
...x
|
|
3480
3503
|
}) => {
|
|
3481
|
-
const [_, w] = de(!1), [L, $] = de(!1), j = p === "m" ?
|
|
3504
|
+
const [_, w] = de(!1), [L, $] = de(!1), j = p === "m" ? el : tl, M = () => {
|
|
3482
3505
|
w(!1), v == null || v();
|
|
3483
3506
|
}, A = e || (p === "m" ? /* @__PURE__ */ n.jsx(
|
|
3484
3507
|
Ft,
|
|
@@ -3504,7 +3527,7 @@ const zt = Object.assign(On, {
|
|
|
3504
3527
|
onClose: M
|
|
3505
3528
|
}
|
|
3506
3529
|
));
|
|
3507
|
-
return
|
|
3530
|
+
return ie(() => {
|
|
3508
3531
|
if (_) {
|
|
3509
3532
|
const D = requestAnimationFrame(() => $(!0));
|
|
3510
3533
|
return () => cancelAnimationFrame(D);
|
|
@@ -3527,7 +3550,7 @@ const zt = Object.assign(On, {
|
|
|
3527
3550
|
motion: { motionName: "tooltipMotion" },
|
|
3528
3551
|
builtinPlacements: j,
|
|
3529
3552
|
showArrow: l ? {
|
|
3530
|
-
content: /* @__PURE__ */ n.jsx(
|
|
3553
|
+
content: /* @__PURE__ */ n.jsx(Qi, {}),
|
|
3531
3554
|
className: `tooltipArrow tooltipArrow-${p}`
|
|
3532
3555
|
} : !1,
|
|
3533
3556
|
destroyTooltipOnHide: !0,
|
|
@@ -3535,21 +3558,21 @@ const zt = Object.assign(On, {
|
|
|
3535
3558
|
children: a
|
|
3536
3559
|
}
|
|
3537
3560
|
);
|
|
3538
|
-
},
|
|
3539
|
-
segmentedControl:
|
|
3540
|
-
segment:
|
|
3541
|
-
activeSegmentIndicator:
|
|
3542
|
-
stretched:
|
|
3543
|
-
s:
|
|
3544
|
-
icon:
|
|
3545
|
-
label:
|
|
3546
|
-
m:
|
|
3547
|
-
l:
|
|
3561
|
+
}, nl = "_segmentedControl_1yvz7_5", ol = "_segment_1yvz7_5", il = "_activeSegmentIndicator_1yvz7_51", ll = "_stretched_1yvz7_82", cl = "_s_1yvz7_5", dl = "_icon_1yvz7_90", ul = "_label_1yvz7_94", _l = "_m_1yvz7_98", pl = "_l_1yvz7_94", De = {
|
|
3562
|
+
segmentedControl: nl,
|
|
3563
|
+
segment: ol,
|
|
3564
|
+
activeSegmentIndicator: il,
|
|
3565
|
+
stretched: ll,
|
|
3566
|
+
s: cl,
|
|
3567
|
+
icon: dl,
|
|
3568
|
+
label: ul,
|
|
3569
|
+
m: _l,
|
|
3570
|
+
l: pl
|
|
3548
3571
|
}, Wt = {
|
|
3549
|
-
s:
|
|
3550
|
-
m:
|
|
3551
|
-
l:
|
|
3552
|
-
},
|
|
3572
|
+
s: oe["typography-label-3-regular"],
|
|
3573
|
+
m: oe["typography-label-2-regular"],
|
|
3574
|
+
l: oe["typography-label-2-regular"]
|
|
3575
|
+
}, Il = (e) => {
|
|
3553
3576
|
var _;
|
|
3554
3577
|
const {
|
|
3555
3578
|
className: a,
|
|
@@ -3560,10 +3583,10 @@ const zt = Object.assign(On, {
|
|
|
3560
3583
|
stretched: l,
|
|
3561
3584
|
mode: d = "label",
|
|
3562
3585
|
onChange: c
|
|
3563
|
-
} = e, f = pt(), [p, h] = de(r || o[0].value), [y, b] = de({ width: 0, left: 0 }), m =
|
|
3564
|
-
|
|
3586
|
+
} = e, f = pt(), [p, h] = de(r || o[0].value), [y, b] = de({ width: 0, left: 0 }), m = qe(null);
|
|
3587
|
+
ie(() => {
|
|
3565
3588
|
s && h(s);
|
|
3566
|
-
}, [s]),
|
|
3589
|
+
}, [s]), ie(() => {
|
|
3567
3590
|
S();
|
|
3568
3591
|
}, [p, o, i, l, d]);
|
|
3569
3592
|
const S = () => {
|
|
@@ -3635,25 +3658,25 @@ const zt = Object.assign(On, {
|
|
|
3635
3658
|
);
|
|
3636
3659
|
};
|
|
3637
3660
|
export {
|
|
3638
|
-
|
|
3661
|
+
gl as Avatar,
|
|
3639
3662
|
es as Badge,
|
|
3640
3663
|
ba as Button,
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3664
|
+
Cl as Checkbox,
|
|
3665
|
+
vl as ConfigProvider,
|
|
3666
|
+
El as Helper,
|
|
3667
|
+
ml as Image,
|
|
3668
|
+
kl as List,
|
|
3646
3669
|
bs as Loader,
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3670
|
+
jl as Radio,
|
|
3671
|
+
Il as SegmentedControl,
|
|
3672
|
+
$l as Tabs,
|
|
3673
|
+
wl as Tag,
|
|
3674
|
+
Ll as TextArea,
|
|
3675
|
+
Sl as TextInput,
|
|
3676
|
+
Ml as Tooltip,
|
|
3677
|
+
qt as Typography,
|
|
3655
3678
|
ms as enUS,
|
|
3656
|
-
|
|
3679
|
+
xl as ruRU,
|
|
3657
3680
|
ys as useConfig,
|
|
3658
|
-
|
|
3681
|
+
yl as useLocale
|
|
3659
3682
|
};
|