skillgrid 0.0.24-dev-31782-34252-avatar-and-badge.1159375 → 0.0.24-dev-40201-checkbox.1161670
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.type.d.ts +6 -1
- package/dist/index.cjs.js +10 -10
- package/dist/index.css +1 -1
- package/dist/index.es.js +442 -442
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as Et from "react";
|
|
2
2
|
import Lt, { forwardRef as Q, useState as De, useEffect as we, useRef as We, useCallback as Ce, Fragment as Mt, createContext as ra, useContext as sa, useLayoutEffect as na, useImperativeHandle as oa, useId as $t } from "react";
|
|
3
|
-
import { clsx as
|
|
3
|
+
import { clsx as G } from "clsx";
|
|
4
4
|
import './index.css';function ia(t) {
|
|
5
5
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
6
6
|
}
|
|
@@ -20,11 +20,11 @@ function la() {
|
|
|
20
20
|
ft = 1;
|
|
21
21
|
var t = Lt, r = Symbol.for("react.element"), a = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, n = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
22
22
|
function c(p, d, f) {
|
|
23
|
-
var _, g = {}, h = null,
|
|
24
|
-
f !== void 0 && (h = "" + f), d.key !== void 0 && (h = "" + d.key), d.ref !== void 0 && (
|
|
23
|
+
var _, g = {}, h = null, y = null;
|
|
24
|
+
f !== void 0 && (h = "" + f), d.key !== void 0 && (h = "" + d.key), d.ref !== void 0 && (y = d.ref);
|
|
25
25
|
for (_ in d) s.call(d, _) && !n.hasOwnProperty(_) && (g[_] = d[_]);
|
|
26
26
|
if (p && p.defaultProps) for (_ in d = p.defaultProps, d) g[_] === void 0 && (g[_] = d[_]);
|
|
27
|
-
return { $$typeof: r, type: p, key: h, ref:
|
|
27
|
+
return { $$typeof: r, type: p, key: h, ref: y, props: g, _owner: i.current };
|
|
28
28
|
}
|
|
29
29
|
return ke.Fragment = a, ke.jsx = c, ke.jsxs = c, ke;
|
|
30
30
|
}
|
|
@@ -41,46 +41,46 @@ var Te = {};
|
|
|
41
41
|
var gt;
|
|
42
42
|
function ca() {
|
|
43
43
|
return gt || (gt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
-
var t = Lt, r = Symbol.for("react.element"), a = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), p = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), _ = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), h = Symbol.for("react.lazy"),
|
|
44
|
+
var t = Lt, r = Symbol.for("react.element"), a = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), p = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), _ = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), y = Symbol.for("react.offscreen"), m = Symbol.iterator, w = "@@iterator";
|
|
45
45
|
function C(e) {
|
|
46
46
|
if (e === null || typeof e != "object")
|
|
47
47
|
return null;
|
|
48
|
-
var l =
|
|
48
|
+
var l = m && e[m] || e[w];
|
|
49
49
|
return typeof l == "function" ? l : null;
|
|
50
50
|
}
|
|
51
|
-
var
|
|
52
|
-
function
|
|
51
|
+
var E = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
52
|
+
function b(e) {
|
|
53
53
|
{
|
|
54
54
|
for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0), v = 1; v < l; v++)
|
|
55
55
|
u[v - 1] = arguments[v];
|
|
56
|
-
|
|
56
|
+
I("error", e, u);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function I(e, l, u) {
|
|
60
60
|
{
|
|
61
|
-
var v =
|
|
62
|
-
|
|
63
|
-
var
|
|
61
|
+
var v = E.ReactDebugCurrentFrame, j = v.getStackAddendum();
|
|
62
|
+
j !== "" && (l += "%s", u = u.concat([j]));
|
|
63
|
+
var T = u.map(function(L) {
|
|
64
64
|
return String(L);
|
|
65
65
|
});
|
|
66
|
-
|
|
66
|
+
T.unshift("Warning: " + l), Function.prototype.apply.call(console[e], console, T);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
var
|
|
70
|
-
|
|
69
|
+
var R = !1, P = !1, A = !1, k = !1, N = !1, D;
|
|
70
|
+
D = Symbol.for("react.module.reference");
|
|
71
71
|
function z(e) {
|
|
72
|
-
return !!(typeof e == "string" || typeof e == "function" || e === s || e === n ||
|
|
72
|
+
return !!(typeof e == "string" || typeof e == "function" || e === s || e === n || N || e === i || e === f || e === _ || k || e === y || R || P || A || typeof e == "object" && e !== null && (e.$$typeof === h || e.$$typeof === g || e.$$typeof === c || e.$$typeof === p || e.$$typeof === d || // This needs to include all possible module reference object
|
|
73
73
|
// types supported by any Flight configuration anywhere since
|
|
74
74
|
// we don't know which Flight build this will end up being used
|
|
75
75
|
// with.
|
|
76
|
-
e.$$typeof ===
|
|
76
|
+
e.$$typeof === D || e.getModuleId !== void 0));
|
|
77
77
|
}
|
|
78
78
|
function x(e, l, u) {
|
|
79
79
|
var v = e.displayName;
|
|
80
80
|
if (v)
|
|
81
81
|
return v;
|
|
82
|
-
var
|
|
83
|
-
return
|
|
82
|
+
var j = l.displayName || l.name || "";
|
|
83
|
+
return j !== "" ? u + "(" + j + ")" : u;
|
|
84
84
|
}
|
|
85
85
|
function W(e) {
|
|
86
86
|
return e.displayName || "Context";
|
|
@@ -88,7 +88,7 @@ function ca() {
|
|
|
88
88
|
function O(e) {
|
|
89
89
|
if (e == null)
|
|
90
90
|
return null;
|
|
91
|
-
if (typeof e.tag == "number" &&
|
|
91
|
+
if (typeof e.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
92
92
|
return e.displayName || e.name || null;
|
|
93
93
|
if (typeof e == "string")
|
|
94
94
|
return e;
|
|
@@ -120,9 +120,9 @@ function ca() {
|
|
|
120
120
|
var v = e.displayName || null;
|
|
121
121
|
return v !== null ? v : O(e.type) || "Memo";
|
|
122
122
|
case h: {
|
|
123
|
-
var
|
|
123
|
+
var j = e, T = j._payload, L = j._init;
|
|
124
124
|
try {
|
|
125
|
-
return O(L(
|
|
125
|
+
return O(L(T));
|
|
126
126
|
} catch {
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
@@ -130,14 +130,14 @@ function ca() {
|
|
|
130
130
|
}
|
|
131
131
|
return null;
|
|
132
132
|
}
|
|
133
|
-
var $ = Object.assign,
|
|
133
|
+
var $ = Object.assign, U = 0, V, Z, q, te, ae, re, be;
|
|
134
134
|
function se() {
|
|
135
135
|
}
|
|
136
136
|
se.__reactDisabledLog = !0;
|
|
137
137
|
function ye() {
|
|
138
138
|
{
|
|
139
|
-
if (
|
|
140
|
-
V = console.log,
|
|
139
|
+
if (U === 0) {
|
|
140
|
+
V = console.log, Z = console.info, q = console.warn, te = console.error, ae = console.group, re = console.groupCollapsed, be = console.groupEnd;
|
|
141
141
|
var e = {
|
|
142
142
|
configurable: !0,
|
|
143
143
|
enumerable: !0,
|
|
@@ -154,12 +154,12 @@ function ca() {
|
|
|
154
154
|
groupEnd: e
|
|
155
155
|
});
|
|
156
156
|
}
|
|
157
|
-
|
|
157
|
+
U++;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
function Se() {
|
|
161
161
|
{
|
|
162
|
-
if (
|
|
162
|
+
if (U--, U === 0) {
|
|
163
163
|
var e = {
|
|
164
164
|
configurable: !0,
|
|
165
165
|
enumerable: !0,
|
|
@@ -170,10 +170,10 @@ function ca() {
|
|
|
170
170
|
value: V
|
|
171
171
|
}),
|
|
172
172
|
info: $({}, e, {
|
|
173
|
-
value:
|
|
173
|
+
value: Z
|
|
174
174
|
}),
|
|
175
175
|
warn: $({}, e, {
|
|
176
|
-
value:
|
|
176
|
+
value: q
|
|
177
177
|
}),
|
|
178
178
|
error: $({}, e, {
|
|
179
179
|
value: te
|
|
@@ -189,17 +189,17 @@ function ca() {
|
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}
|
|
192
|
-
|
|
192
|
+
U < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
var Ee =
|
|
195
|
+
var Ee = E.ReactCurrentDispatcher, ue;
|
|
196
196
|
function ie(e, l, u) {
|
|
197
197
|
{
|
|
198
198
|
if (ue === void 0)
|
|
199
199
|
try {
|
|
200
200
|
throw Error();
|
|
201
|
-
} catch (
|
|
202
|
-
var v =
|
|
201
|
+
} catch (j) {
|
|
202
|
+
var v = j.stack.trim().match(/\n( *(at )?)/);
|
|
203
203
|
ue = v && v[1] || "";
|
|
204
204
|
}
|
|
205
205
|
return `
|
|
@@ -221,10 +221,10 @@ function ca() {
|
|
|
221
221
|
}
|
|
222
222
|
var v;
|
|
223
223
|
pe = !0;
|
|
224
|
-
var
|
|
224
|
+
var j = Error.prepareStackTrace;
|
|
225
225
|
Error.prepareStackTrace = void 0;
|
|
226
|
-
var
|
|
227
|
-
|
|
226
|
+
var T;
|
|
227
|
+
T = Ee.current, Ee.current = null, ye();
|
|
228
228
|
try {
|
|
229
229
|
if (l) {
|
|
230
230
|
var L = function() {
|
|
@@ -259,25 +259,25 @@ function ca() {
|
|
|
259
259
|
}
|
|
260
260
|
} catch (X) {
|
|
261
261
|
if (X && v && typeof X.stack == "string") {
|
|
262
|
-
for (var
|
|
262
|
+
for (var S = X.stack.split(`
|
|
263
263
|
`), Y = v.stack.split(`
|
|
264
|
-
`),
|
|
264
|
+
`), B = S.length - 1, H = Y.length - 1; B >= 1 && H >= 0 && S[B] !== Y[H]; )
|
|
265
265
|
H--;
|
|
266
|
-
for (;
|
|
267
|
-
if (
|
|
268
|
-
if (
|
|
266
|
+
for (; B >= 1 && H >= 0; B--, H--)
|
|
267
|
+
if (S[B] !== Y[H]) {
|
|
268
|
+
if (B !== 1 || H !== 1)
|
|
269
269
|
do
|
|
270
|
-
if (
|
|
270
|
+
if (B--, H--, H < 0 || S[B] !== Y[H]) {
|
|
271
271
|
var ne = `
|
|
272
|
-
` +
|
|
272
|
+
` + S[B].replace(" at new ", " at ");
|
|
273
273
|
return e.displayName && ne.includes("<anonymous>") && (ne = ne.replace("<anonymous>", e.displayName)), typeof e == "function" && le.set(e, ne), ne;
|
|
274
274
|
}
|
|
275
|
-
while (
|
|
275
|
+
while (B >= 1 && H >= 0);
|
|
276
276
|
break;
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
} finally {
|
|
280
|
-
pe = !1, Ee.current =
|
|
280
|
+
pe = !1, Ee.current = T, Se(), Error.prepareStackTrace = j;
|
|
281
281
|
}
|
|
282
282
|
var Me = e ? e.displayName || e.name : "", ve = Me ? ie(Me) : "";
|
|
283
283
|
return typeof e == "function" && le.set(e, ve), ve;
|
|
@@ -309,16 +309,16 @@ function ca() {
|
|
|
309
309
|
case g:
|
|
310
310
|
return Oe(e.type, l, u);
|
|
311
311
|
case h: {
|
|
312
|
-
var v = e,
|
|
312
|
+
var v = e, j = v._payload, T = v._init;
|
|
313
313
|
try {
|
|
314
|
-
return Oe(
|
|
314
|
+
return Oe(T(j), l, u);
|
|
315
315
|
} catch {
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
return "";
|
|
320
320
|
}
|
|
321
|
-
var Re = Object.prototype.hasOwnProperty, et = {}, tt =
|
|
321
|
+
var Re = Object.prototype.hasOwnProperty, et = {}, tt = E.ReactDebugCurrentFrame;
|
|
322
322
|
function Ue(e) {
|
|
323
323
|
if (e) {
|
|
324
324
|
var l = e._owner, u = Oe(e.type, e._source, l ? l.type : null);
|
|
@@ -326,22 +326,22 @@ function ca() {
|
|
|
326
326
|
} else
|
|
327
327
|
tt.setExtraStackFrame(null);
|
|
328
328
|
}
|
|
329
|
-
function Nt(e, l, u, v,
|
|
329
|
+
function Nt(e, l, u, v, j) {
|
|
330
330
|
{
|
|
331
|
-
var
|
|
331
|
+
var T = Function.call.bind(Re);
|
|
332
332
|
for (var L in e)
|
|
333
|
-
if (
|
|
334
|
-
var
|
|
333
|
+
if (T(e, L)) {
|
|
334
|
+
var S = void 0;
|
|
335
335
|
try {
|
|
336
336
|
if (typeof e[L] != "function") {
|
|
337
337
|
var Y = Error((v || "React class") + ": " + u + " type `" + L + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[L] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
338
338
|
throw Y.name = "Invariant Violation", Y;
|
|
339
339
|
}
|
|
340
|
-
|
|
341
|
-
} catch (
|
|
342
|
-
|
|
340
|
+
S = e[L](l, L, v, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
|
+
} catch (B) {
|
|
342
|
+
S = B;
|
|
343
343
|
}
|
|
344
|
-
|
|
344
|
+
S && !(S instanceof Error) && (Ue(j), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", v || "React class", u, L, typeof S), Ue(null)), S instanceof Error && !(S.message in et) && (et[S.message] = !0, Ue(j), b("Failed %s type: %s", u, S.message), Ue(null));
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}
|
|
@@ -367,9 +367,9 @@ function ca() {
|
|
|
367
367
|
}
|
|
368
368
|
function rt(e) {
|
|
369
369
|
if (Ut(e))
|
|
370
|
-
return
|
|
370
|
+
return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ot(e)), at(e);
|
|
371
371
|
}
|
|
372
|
-
var st =
|
|
372
|
+
var st = E.ReactCurrentOwner, Bt = {
|
|
373
373
|
key: !0,
|
|
374
374
|
ref: !0,
|
|
375
375
|
__self: !0,
|
|
@@ -397,7 +397,7 @@ function ca() {
|
|
|
397
397
|
function Wt(e, l) {
|
|
398
398
|
{
|
|
399
399
|
var u = function() {
|
|
400
|
-
nt || (nt = !0,
|
|
400
|
+
nt || (nt = !0, b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
401
401
|
};
|
|
402
402
|
u.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
403
403
|
get: u,
|
|
@@ -408,7 +408,7 @@ function ca() {
|
|
|
408
408
|
function Vt(e, l) {
|
|
409
409
|
{
|
|
410
410
|
var u = function() {
|
|
411
|
-
ot || (ot = !0,
|
|
411
|
+
ot || (ot = !0, b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
412
412
|
};
|
|
413
413
|
u.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
414
414
|
get: u,
|
|
@@ -416,8 +416,8 @@ function ca() {
|
|
|
416
416
|
});
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
|
-
var Ht = function(e, l, u, v,
|
|
420
|
-
var
|
|
419
|
+
var Ht = function(e, l, u, v, j, T, L) {
|
|
420
|
+
var S = {
|
|
421
421
|
// This tag allows us to uniquely identify this as a React Element
|
|
422
422
|
$$typeof: r,
|
|
423
423
|
// Built-in properties that belong on the element
|
|
@@ -426,44 +426,44 @@ function ca() {
|
|
|
426
426
|
ref: u,
|
|
427
427
|
props: L,
|
|
428
428
|
// Record the component responsible for creating this element.
|
|
429
|
-
_owner:
|
|
429
|
+
_owner: T
|
|
430
430
|
};
|
|
431
|
-
return
|
|
431
|
+
return S._store = {}, Object.defineProperty(S._store, "validated", {
|
|
432
432
|
configurable: !1,
|
|
433
433
|
enumerable: !1,
|
|
434
434
|
writable: !0,
|
|
435
435
|
value: !1
|
|
436
|
-
}), Object.defineProperty(
|
|
436
|
+
}), Object.defineProperty(S, "_self", {
|
|
437
437
|
configurable: !1,
|
|
438
438
|
enumerable: !1,
|
|
439
439
|
writable: !1,
|
|
440
440
|
value: v
|
|
441
|
-
}), Object.defineProperty(
|
|
441
|
+
}), Object.defineProperty(S, "_source", {
|
|
442
442
|
configurable: !1,
|
|
443
443
|
enumerable: !1,
|
|
444
444
|
writable: !1,
|
|
445
|
-
value:
|
|
446
|
-
}), Object.freeze && (Object.freeze(
|
|
445
|
+
value: j
|
|
446
|
+
}), Object.freeze && (Object.freeze(S.props), Object.freeze(S)), S;
|
|
447
447
|
};
|
|
448
|
-
function
|
|
448
|
+
function Gt(e, l, u, v, j) {
|
|
449
449
|
{
|
|
450
|
-
var
|
|
451
|
-
u !== void 0 && (rt(u),
|
|
452
|
-
for (
|
|
453
|
-
Re.call(l,
|
|
450
|
+
var T, L = {}, S = null, Y = null;
|
|
451
|
+
u !== void 0 && (rt(u), S = "" + u), Pt(l) && (rt(l.key), S = "" + l.key), Ft(l) && (Y = l.ref, zt(l, j));
|
|
452
|
+
for (T in l)
|
|
453
|
+
Re.call(l, T) && !Bt.hasOwnProperty(T) && (L[T] = l[T]);
|
|
454
454
|
if (e && e.defaultProps) {
|
|
455
|
-
var
|
|
456
|
-
for (
|
|
457
|
-
L[
|
|
455
|
+
var B = e.defaultProps;
|
|
456
|
+
for (T in B)
|
|
457
|
+
L[T] === void 0 && (L[T] = B[T]);
|
|
458
458
|
}
|
|
459
|
-
if (
|
|
459
|
+
if (S || Y) {
|
|
460
460
|
var H = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
461
|
-
|
|
461
|
+
S && Wt(L, H), Y && Vt(L, H);
|
|
462
462
|
}
|
|
463
|
-
return Ht(e,
|
|
463
|
+
return Ht(e, S, Y, j, v, st.current, L);
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
|
-
var He =
|
|
466
|
+
var He = E.ReactCurrentOwner, it = E.ReactDebugCurrentFrame;
|
|
467
467
|
function Le(e) {
|
|
468
468
|
if (e) {
|
|
469
469
|
var l = e._owner, u = Oe(e.type, e._source, l ? l.type : null);
|
|
@@ -471,9 +471,9 @@ function ca() {
|
|
|
471
471
|
} else
|
|
472
472
|
it.setExtraStackFrame(null);
|
|
473
473
|
}
|
|
474
|
-
var
|
|
475
|
-
|
|
476
|
-
function
|
|
474
|
+
var Ge;
|
|
475
|
+
Ge = !1;
|
|
476
|
+
function Ze(e) {
|
|
477
477
|
return typeof e == "object" && e !== null && e.$$typeof === r;
|
|
478
478
|
}
|
|
479
479
|
function lt() {
|
|
@@ -488,11 +488,11 @@ Check the render method of \`` + e + "`.";
|
|
|
488
488
|
return "";
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
|
-
function
|
|
491
|
+
function Zt(e) {
|
|
492
492
|
return "";
|
|
493
493
|
}
|
|
494
494
|
var ct = {};
|
|
495
|
-
function
|
|
495
|
+
function qt(e) {
|
|
496
496
|
{
|
|
497
497
|
var l = lt();
|
|
498
498
|
if (!l) {
|
|
@@ -509,12 +509,12 @@ Check the top-level render call using <` + u + ">.");
|
|
|
509
509
|
if (!e._store || e._store.validated || e.key != null)
|
|
510
510
|
return;
|
|
511
511
|
e._store.validated = !0;
|
|
512
|
-
var u =
|
|
512
|
+
var u = qt(l);
|
|
513
513
|
if (ct[u])
|
|
514
514
|
return;
|
|
515
515
|
ct[u] = !0;
|
|
516
516
|
var v = "";
|
|
517
|
-
e && e._owner && e._owner !== He.current && (v = " It was passed a child from " + O(e._owner.type) + "."), Le(e),
|
|
517
|
+
e && e._owner && e._owner !== He.current && (v = " It was passed a child from " + O(e._owner.type) + "."), Le(e), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, v), Le(null);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
520
|
function ut(e, l) {
|
|
@@ -524,15 +524,15 @@ Check the top-level render call using <` + u + ">.");
|
|
|
524
524
|
if (Ve(e))
|
|
525
525
|
for (var u = 0; u < e.length; u++) {
|
|
526
526
|
var v = e[u];
|
|
527
|
-
|
|
527
|
+
Ze(v) && dt(v, l);
|
|
528
528
|
}
|
|
529
|
-
else if (
|
|
529
|
+
else if (Ze(e))
|
|
530
530
|
e._store && (e._store.validated = !0);
|
|
531
531
|
else if (e) {
|
|
532
|
-
var
|
|
533
|
-
if (typeof
|
|
534
|
-
for (var
|
|
535
|
-
|
|
532
|
+
var j = C(e);
|
|
533
|
+
if (typeof j == "function" && j !== e.entries)
|
|
534
|
+
for (var T = j.call(e), L; !(L = T.next()).done; )
|
|
535
|
+
Ze(L.value) && dt(L.value, l);
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
538
|
}
|
|
@@ -553,12 +553,12 @@ Check the top-level render call using <` + u + ">.");
|
|
|
553
553
|
if (u) {
|
|
554
554
|
var v = O(l);
|
|
555
555
|
Nt(u, e.props, "prop", v, e);
|
|
556
|
-
} else if (l.PropTypes !== void 0 && !
|
|
557
|
-
|
|
558
|
-
var
|
|
559
|
-
|
|
556
|
+
} else if (l.PropTypes !== void 0 && !Ge) {
|
|
557
|
+
Ge = !0;
|
|
558
|
+
var j = O(l);
|
|
559
|
+
b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", j || "Unknown");
|
|
560
560
|
}
|
|
561
|
-
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved &&
|
|
561
|
+
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
562
562
|
}
|
|
563
563
|
}
|
|
564
564
|
function Jt(e) {
|
|
@@ -566,26 +566,26 @@ Check the top-level render call using <` + u + ">.");
|
|
|
566
566
|
for (var l = Object.keys(e.props), u = 0; u < l.length; u++) {
|
|
567
567
|
var v = l[u];
|
|
568
568
|
if (v !== "children" && v !== "key") {
|
|
569
|
-
Le(e),
|
|
569
|
+
Le(e), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), Le(null);
|
|
570
570
|
break;
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
|
-
e.ref !== null && (Le(e),
|
|
573
|
+
e.ref !== null && (Le(e), b("Invalid attribute `ref` supplied to `React.Fragment`."), Le(null));
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
var pt = {};
|
|
577
|
-
function _t(e, l, u, v,
|
|
577
|
+
function _t(e, l, u, v, j, T) {
|
|
578
578
|
{
|
|
579
579
|
var L = z(e);
|
|
580
580
|
if (!L) {
|
|
581
|
-
var
|
|
582
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
583
|
-
var Y =
|
|
584
|
-
Y ?
|
|
585
|
-
var
|
|
586
|
-
e === null ?
|
|
581
|
+
var S = "";
|
|
582
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (S += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
583
|
+
var Y = Zt();
|
|
584
|
+
Y ? S += Y : S += lt();
|
|
585
|
+
var B;
|
|
586
|
+
e === null ? B = "null" : Ve(e) ? B = "array" : e !== void 0 && e.$$typeof === r ? (B = "<" + (O(e.type) || "Unknown") + " />", S = " Did you accidentally export a JSX literal instead of a component?") : B = typeof e, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", B, S);
|
|
587
587
|
}
|
|
588
|
-
var H =
|
|
588
|
+
var H = Gt(e, l, u, j, T);
|
|
589
589
|
if (H == null)
|
|
590
590
|
return H;
|
|
591
591
|
if (L) {
|
|
@@ -597,22 +597,22 @@ Check the top-level render call using <` + u + ">.");
|
|
|
597
597
|
ut(ne[Me], e);
|
|
598
598
|
Object.freeze && Object.freeze(ne);
|
|
599
599
|
} else
|
|
600
|
-
|
|
600
|
+
b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
601
601
|
else
|
|
602
602
|
ut(ne, e);
|
|
603
603
|
}
|
|
604
604
|
if (Re.call(l, "key")) {
|
|
605
605
|
var ve = O(e), X = Object.keys(l).filter(function(aa) {
|
|
606
606
|
return aa !== "key";
|
|
607
|
-
}),
|
|
608
|
-
if (!pt[ve +
|
|
607
|
+
}), qe = X.length > 0 ? "{key: someKey, " + X.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
608
|
+
if (!pt[ve + qe]) {
|
|
609
609
|
var ta = X.length > 0 ? "{" + X.join(": ..., ") + ": ...}" : "{}";
|
|
610
|
-
|
|
610
|
+
b(`A props object containing a "key" prop is being spread into JSX:
|
|
611
611
|
let props = %s;
|
|
612
612
|
<%s {...props} />
|
|
613
613
|
React keys must be passed directly to JSX without using spread:
|
|
614
614
|
let props = %s;
|
|
615
|
-
<%s key={someKey} {...props} />`,
|
|
615
|
+
<%s key={someKey} {...props} />`, qe, ve, ta, ve), pt[ve + qe] = !0;
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
618
|
return e === s ? Jt(H) : Yt(H), H;
|
|
@@ -633,7 +633,7 @@ function da() {
|
|
|
633
633
|
return ht || (ht = 1, process.env.NODE_ENV === "production" ? Be.exports = la() : Be.exports = ca()), Be.exports;
|
|
634
634
|
}
|
|
635
635
|
var o = da();
|
|
636
|
-
const ua = (t) => t.as === "a", pa = (t) => t.as === void 0 || t.as === "button", _a = "_button_1abee_213", fa = "_disabled_1abee_237", ga = "_loading_1abee_237", ha = "_neutral_1abee_259", ba = "_accent_1abee_263", ya = "_positive_1abee_267", ma = "_negative_1abee_271", va = "_contrast_1abee_275", xa = "_special_1abee_279", Ca = "_primary_1abee_284", wa = "_secondary_1abee_285", Sa = "_tertiary_1abee_286", Ea = "_label_1abee_321", La = "_rightGroup_1abee_333", Ma = "_iconOnly_1abee_349", $a = "_large_1abee_357", ja = "_medium_1abee_361", Ia = "_small_1abee_365", Ra = "_spaceBetween_1abee_370", ka = "_stretched_1abee_384", Ta = "_icon_1abee_349", Aa = "_badge_1abee_705", Na = "_badgeMedium_1abee_721", Da = "_circular_1abee_738", Oa = "_badgeSmall_1abee_743", Ua = "_badgeExtraSmall_1abee_765", Ba = "_withSubcaption_1abee_784", Fa = "_subcaption_1abee_797", Pa = "_loader_1abee_804", za = "_spin_1abee_1", Wa = "_l_1abee_237", Va = "_m_1abee_361", Ha = "_s_1abee_279",
|
|
636
|
+
const ua = (t) => t.as === "a", pa = (t) => t.as === void 0 || t.as === "button", _a = "_button_1abee_213", fa = "_disabled_1abee_237", ga = "_loading_1abee_237", ha = "_neutral_1abee_259", ba = "_accent_1abee_263", ya = "_positive_1abee_267", ma = "_negative_1abee_271", va = "_contrast_1abee_275", xa = "_special_1abee_279", Ca = "_primary_1abee_284", wa = "_secondary_1abee_285", Sa = "_tertiary_1abee_286", Ea = "_label_1abee_321", La = "_rightGroup_1abee_333", Ma = "_iconOnly_1abee_349", $a = "_large_1abee_357", ja = "_medium_1abee_361", Ia = "_small_1abee_365", Ra = "_spaceBetween_1abee_370", ka = "_stretched_1abee_384", Ta = "_icon_1abee_349", Aa = "_badge_1abee_705", Na = "_badgeMedium_1abee_721", Da = "_circular_1abee_738", Oa = "_badgeSmall_1abee_743", Ua = "_badgeExtraSmall_1abee_765", Ba = "_withSubcaption_1abee_784", Fa = "_subcaption_1abee_797", Pa = "_loader_1abee_804", za = "_spin_1abee_1", Wa = "_l_1abee_237", Va = "_m_1abee_361", Ha = "_s_1abee_279", Ga = "_xs_1abee_869", F = {
|
|
637
637
|
button: _a,
|
|
638
638
|
disabled: fa,
|
|
639
639
|
loading: ga,
|
|
@@ -667,7 +667,7 @@ const ua = (t) => t.as === "a", pa = (t) => t.as === void 0 || t.as === "button"
|
|
|
667
667
|
l: Wa,
|
|
668
668
|
m: Va,
|
|
669
669
|
s: Ha,
|
|
670
|
-
xs:
|
|
670
|
+
xs: Ga
|
|
671
671
|
}, bt = ({
|
|
672
672
|
isLoading: t,
|
|
673
673
|
showBadge: r,
|
|
@@ -681,31 +681,31 @@ const ua = (t) => t.as === "a", pa = (t) => t.as === void 0 || t.as === "button"
|
|
|
681
681
|
size: f
|
|
682
682
|
}) => {
|
|
683
683
|
if (t)
|
|
684
|
-
return /* @__PURE__ */ o.jsx("span", { className:
|
|
684
|
+
return /* @__PURE__ */ o.jsx("span", { className: F.loader, "data-testid": "button-loader", "aria-hidden": "true" });
|
|
685
685
|
const _ = s === "extra-small", g = parseInt(String(a), 10), h = !isNaN(g) && g >= 0 && g <= 9;
|
|
686
686
|
return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
687
687
|
r && (a || _) && /* @__PURE__ */ o.jsx(
|
|
688
688
|
"span",
|
|
689
689
|
{
|
|
690
690
|
"data-testid": "button-badge",
|
|
691
|
-
className:
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
{ [
|
|
691
|
+
className: G(
|
|
692
|
+
F.badge,
|
|
693
|
+
F[`badge${_ ? "ExtraSmall" : s === "medium" ? "Medium" : "Small"}`],
|
|
694
|
+
{ [F.circular]: h && !_ }
|
|
695
695
|
),
|
|
696
696
|
children: !_ && a
|
|
697
697
|
}
|
|
698
698
|
),
|
|
699
699
|
p && f !== "s" && f !== "xs" ? /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
700
|
-
/* @__PURE__ */ o.jsx("span", { "data-testid": "button-label", className:
|
|
701
|
-
/* @__PURE__ */ o.jsx("span", { "data-testid": "button-subcaption", className:
|
|
700
|
+
/* @__PURE__ */ o.jsx("span", { "data-testid": "button-label", className: F.label, children: n }),
|
|
701
|
+
/* @__PURE__ */ o.jsx("span", { "data-testid": "button-subcaption", className: F.subcaption, children: d })
|
|
702
702
|
] }) : n ? /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
703
|
-
/* @__PURE__ */ o.jsx("span", { "data-testid": "button-label", className:
|
|
704
|
-
/* @__PURE__ */ o.jsxs("div", { "data-testid": "button-right-group", className:
|
|
705
|
-
i && /* @__PURE__ */ o.jsx("span", { "data-testid": "button-icon", className:
|
|
706
|
-
c && /* @__PURE__ */ o.jsx("span", { "data-testid": "button-postfix", className:
|
|
703
|
+
/* @__PURE__ */ o.jsx("span", { "data-testid": "button-label", className: F.label, children: n }),
|
|
704
|
+
/* @__PURE__ */ o.jsxs("div", { "data-testid": "button-right-group", className: F.rightGroup, children: [
|
|
705
|
+
i && /* @__PURE__ */ o.jsx("span", { "data-testid": "button-icon", className: F.icon, children: i }),
|
|
706
|
+
c && /* @__PURE__ */ o.jsx("span", { "data-testid": "button-postfix", className: F.postfix, children: c })
|
|
707
707
|
] })
|
|
708
|
-
] }) : /* @__PURE__ */ o.jsx("span", { "data-testid": "button-icon", className:
|
|
708
|
+
] }) : /* @__PURE__ */ o.jsx("span", { "data-testid": "button-icon", className: F.icon, children: i })
|
|
709
709
|
] });
|
|
710
710
|
}, In = Q((t, r) => {
|
|
711
711
|
const {
|
|
@@ -720,50 +720,50 @@ const ua = (t) => t.as === "a", pa = (t) => t.as === void 0 || t.as === "button"
|
|
|
720
720
|
showSubcaption: _ = !1,
|
|
721
721
|
subcaption: g,
|
|
722
722
|
stretched: h = !1,
|
|
723
|
-
spaceBetween:
|
|
724
|
-
icon:
|
|
725
|
-
postfix:
|
|
723
|
+
spaceBetween: y = !1,
|
|
724
|
+
icon: m,
|
|
725
|
+
postfix: w,
|
|
726
726
|
className: C,
|
|
727
|
-
children:
|
|
728
|
-
} = t,
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
727
|
+
children: E
|
|
728
|
+
} = t, b = c, I = n, R = !b && !I, P = !!m && !E, A = G(
|
|
729
|
+
F.button,
|
|
730
|
+
F[s],
|
|
731
|
+
F[a],
|
|
732
|
+
F[i],
|
|
733
733
|
{
|
|
734
|
-
[
|
|
735
|
-
[
|
|
736
|
-
[
|
|
737
|
-
[
|
|
738
|
-
[
|
|
739
|
-
[
|
|
734
|
+
[F.disabled]: b,
|
|
735
|
+
[F.loading]: I,
|
|
736
|
+
[F.stretched]: h,
|
|
737
|
+
[F.spaceBetween]: y && h,
|
|
738
|
+
[F.withSubcaption]: _ && g && s !== "s" && s !== "xs",
|
|
739
|
+
[F.iconOnly]: P
|
|
740
740
|
},
|
|
741
741
|
C
|
|
742
|
-
),
|
|
743
|
-
isLoading:
|
|
742
|
+
), k = {
|
|
743
|
+
isLoading: I,
|
|
744
744
|
showBadge: p,
|
|
745
745
|
badgeValue: f,
|
|
746
746
|
badgeSize: d,
|
|
747
|
-
icon:
|
|
748
|
-
children:
|
|
749
|
-
postfix:
|
|
747
|
+
icon: m,
|
|
748
|
+
children: E,
|
|
749
|
+
postfix: w,
|
|
750
750
|
showSubcaption: _,
|
|
751
751
|
subcaption: g,
|
|
752
752
|
size: s
|
|
753
753
|
};
|
|
754
754
|
if (ua(t)) {
|
|
755
755
|
const {
|
|
756
|
-
href:
|
|
757
|
-
onClick:
|
|
756
|
+
href: N,
|
|
757
|
+
onClick: D,
|
|
758
758
|
mode: z,
|
|
759
759
|
size: x,
|
|
760
760
|
buttonStyle: W,
|
|
761
761
|
loading: O,
|
|
762
762
|
disabled: $,
|
|
763
|
-
showBadge:
|
|
763
|
+
showBadge: U,
|
|
764
764
|
badgeSize: V,
|
|
765
|
-
badgeValue:
|
|
766
|
-
showSubcaption:
|
|
765
|
+
badgeValue: Z,
|
|
766
|
+
showSubcaption: q,
|
|
767
767
|
subcaption: te,
|
|
768
768
|
stretched: ae,
|
|
769
769
|
spaceBetween: re,
|
|
@@ -776,37 +776,37 @@ const ua = (t) => t.as === "a", pa = (t) => t.as === void 0 || t.as === "button"
|
|
|
776
776
|
style: ie,
|
|
777
777
|
...pe
|
|
778
778
|
} = t, le = (me) => {
|
|
779
|
-
|
|
779
|
+
R && D && D(me);
|
|
780
780
|
};
|
|
781
781
|
return /* @__PURE__ */ o.jsx(
|
|
782
782
|
"a",
|
|
783
783
|
{
|
|
784
784
|
ref: r,
|
|
785
|
-
className:
|
|
786
|
-
href:
|
|
785
|
+
className: A,
|
|
786
|
+
href: R ? N : void 0,
|
|
787
787
|
tabIndex: t.tabIndex,
|
|
788
788
|
onClick: le,
|
|
789
789
|
"data-testid": ue,
|
|
790
|
-
"aria-disabled":
|
|
790
|
+
"aria-disabled": b || I,
|
|
791
791
|
style: ie,
|
|
792
792
|
...pe,
|
|
793
|
-
children: /* @__PURE__ */ o.jsx(bt, { ...
|
|
793
|
+
children: /* @__PURE__ */ o.jsx(bt, { ...k })
|
|
794
794
|
}
|
|
795
795
|
);
|
|
796
796
|
}
|
|
797
797
|
if (pa(t)) {
|
|
798
798
|
const {
|
|
799
|
-
type:
|
|
800
|
-
onClick:
|
|
799
|
+
type: N = "button",
|
|
800
|
+
onClick: D,
|
|
801
801
|
mode: z,
|
|
802
802
|
size: x,
|
|
803
803
|
buttonStyle: W,
|
|
804
804
|
loading: O,
|
|
805
805
|
disabled: $,
|
|
806
|
-
showBadge:
|
|
806
|
+
showBadge: U,
|
|
807
807
|
badgeSize: V,
|
|
808
|
-
badgeValue:
|
|
809
|
-
showSubcaption:
|
|
808
|
+
badgeValue: Z,
|
|
809
|
+
showSubcaption: q,
|
|
810
810
|
subcaption: te,
|
|
811
811
|
stretched: ae,
|
|
812
812
|
spaceBetween: re,
|
|
@@ -819,22 +819,22 @@ const ua = (t) => t.as === "a", pa = (t) => t.as === void 0 || t.as === "button"
|
|
|
819
819
|
style: ie,
|
|
820
820
|
...pe
|
|
821
821
|
} = t, le = (me) => {
|
|
822
|
-
|
|
822
|
+
R && D && D(me);
|
|
823
823
|
};
|
|
824
824
|
return /* @__PURE__ */ o.jsx(
|
|
825
825
|
"button",
|
|
826
826
|
{
|
|
827
827
|
ref: r,
|
|
828
|
-
type:
|
|
829
|
-
className:
|
|
830
|
-
disabled:
|
|
828
|
+
type: N,
|
|
829
|
+
className: A,
|
|
830
|
+
disabled: b,
|
|
831
831
|
tabIndex: t.tabIndex,
|
|
832
832
|
onClick: le,
|
|
833
833
|
"data-testid": ue,
|
|
834
|
-
"aria-disabled":
|
|
834
|
+
"aria-disabled": b || I,
|
|
835
835
|
style: ie,
|
|
836
836
|
...pe,
|
|
837
|
-
children: /* @__PURE__ */ o.jsx(bt, { ...
|
|
837
|
+
children: /* @__PURE__ */ o.jsx(bt, { ...k })
|
|
838
838
|
}
|
|
839
839
|
);
|
|
840
840
|
}
|
|
@@ -847,7 +847,7 @@ var Ye = { exports: {} };
|
|
|
847
847
|
http://jedwatson.github.io/classnames
|
|
848
848
|
*/
|
|
849
849
|
var yt;
|
|
850
|
-
function
|
|
850
|
+
function Za() {
|
|
851
851
|
return yt || (yt = 1, function(t) {
|
|
852
852
|
(function() {
|
|
853
853
|
var r = {}.hasOwnProperty;
|
|
@@ -879,8 +879,8 @@ function Ga() {
|
|
|
879
879
|
})();
|
|
880
880
|
}(Ye)), Ye.exports;
|
|
881
881
|
}
|
|
882
|
-
var
|
|
883
|
-
const Ie = /* @__PURE__ */ ia(
|
|
882
|
+
var qa = Za();
|
|
883
|
+
const Ie = /* @__PURE__ */ ia(qa), Ya = "_avatar_1kyiq_17", Ja = "_clickable_1kyiq_41", Ka = "_icon_1kyiq_58", Xa = "_disabled_1kyiq_63", Qa = "_loading_1kyiq_68", er = "_image_1kyiq_74", tr = "_name_1kyiq_74", de = {
|
|
884
884
|
avatar: Ya,
|
|
885
885
|
clickable: Ja,
|
|
886
886
|
icon: Ka,
|
|
@@ -1004,25 +1004,25 @@ const cr = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
|
|
|
1004
1004
|
imgSrc: _,
|
|
1005
1005
|
imgAlt: g,
|
|
1006
1006
|
icon: h,
|
|
1007
|
-
imgProps:
|
|
1008
|
-
colorScheme:
|
|
1009
|
-
className:
|
|
1007
|
+
imgProps: y,
|
|
1008
|
+
colorScheme: m,
|
|
1009
|
+
className: w,
|
|
1010
1010
|
"data-testid": C,
|
|
1011
|
-
...
|
|
1012
|
-
} = t, { onClick:
|
|
1011
|
+
...E
|
|
1012
|
+
} = t, { onClick: b, onPointerDown: I } = E, P = !n && !i && (!!b || !!I), [A, k] = De(!1);
|
|
1013
1013
|
we(() => {
|
|
1014
|
-
_ &&
|
|
1014
|
+
_ && k(!1);
|
|
1015
1015
|
}, [_]);
|
|
1016
|
-
const
|
|
1017
|
-
|
|
1016
|
+
const N = _ && !A ? "image" : h ? "icon" : f ? "name" : "placeholder", D = m || N === "name" && sr(f) || "gray", z = lr(s), x = jt(s, c), W = G(
|
|
1017
|
+
w,
|
|
1018
1018
|
de.avatar,
|
|
1019
1019
|
de[`variant-${p}`],
|
|
1020
|
-
de[`color-${
|
|
1020
|
+
de[`color-${D}`],
|
|
1021
1021
|
Ne[z],
|
|
1022
1022
|
{
|
|
1023
1023
|
[de.disabled]: n,
|
|
1024
1024
|
[de.loading]: i,
|
|
1025
|
-
[de.clickable]:
|
|
1025
|
+
[de.clickable]: P
|
|
1026
1026
|
}
|
|
1027
1027
|
), O = {
|
|
1028
1028
|
"--avatar-size": `${s}px`,
|
|
@@ -1043,7 +1043,7 @@ const cr = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
|
|
|
1043
1043
|
placeholder: () => /* @__PURE__ */ o.jsx(
|
|
1044
1044
|
"img",
|
|
1045
1045
|
{
|
|
1046
|
-
...
|
|
1046
|
+
...y,
|
|
1047
1047
|
"data-testid": "avatar-placeholder",
|
|
1048
1048
|
className: de.image,
|
|
1049
1049
|
src: _r[d],
|
|
@@ -1054,30 +1054,30 @@ const cr = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
|
|
|
1054
1054
|
"img",
|
|
1055
1055
|
{
|
|
1056
1056
|
"data-testid": "avatar-image",
|
|
1057
|
-
...
|
|
1057
|
+
...y,
|
|
1058
1058
|
className: de.image,
|
|
1059
1059
|
src: _ || void 0,
|
|
1060
1060
|
alt: g || void 0,
|
|
1061
|
-
onLoad: () =>
|
|
1061
|
+
onLoad: () => k(!1),
|
|
1062
1062
|
onError: (V) => {
|
|
1063
|
-
var
|
|
1064
|
-
|
|
1063
|
+
var Z;
|
|
1064
|
+
k(!0), (Z = y == null ? void 0 : y.onError) == null || Z.call(y, V);
|
|
1065
1065
|
}
|
|
1066
1066
|
}
|
|
1067
1067
|
)
|
|
1068
|
-
},
|
|
1069
|
-
|
|
1068
|
+
}, U = (V) => {
|
|
1069
|
+
P && (b == null || b(V));
|
|
1070
1070
|
};
|
|
1071
1071
|
return /* @__PURE__ */ o.jsx(
|
|
1072
1072
|
"div",
|
|
1073
1073
|
{
|
|
1074
1074
|
ref: r,
|
|
1075
|
-
onClick:
|
|
1075
|
+
onClick: U,
|
|
1076
1076
|
className: W,
|
|
1077
1077
|
style: O,
|
|
1078
1078
|
"data-testid": C,
|
|
1079
1079
|
"aria-disabled": n || i,
|
|
1080
|
-
children: $[
|
|
1080
|
+
children: $[N](null)
|
|
1081
1081
|
}
|
|
1082
1082
|
);
|
|
1083
1083
|
}), fr = "_avatarGroup_157g4_1", gr = {
|
|
@@ -1111,7 +1111,7 @@ const yr = 3, mr = (t) => {
|
|
|
1111
1111
|
shape: i = "circle",
|
|
1112
1112
|
overflowCount: n = 0,
|
|
1113
1113
|
overflowProps: c
|
|
1114
|
-
} = t, p = a * s, d = -p + yr, f = jt(a, i), g = We(hr()).current.toString(), h = Ie(gr.avatarGroup),
|
|
1114
|
+
} = t, p = a * s, d = -p + yr, f = jt(a, i), g = We(hr()).current.toString(), h = Ie(gr.avatarGroup), y = br(
|
|
1115
1115
|
a,
|
|
1116
1116
|
a,
|
|
1117
1117
|
a - p,
|
|
@@ -1123,21 +1123,21 @@ const yr = 3, mr = (t) => {
|
|
|
1123
1123
|
f
|
|
1124
1124
|
);
|
|
1125
1125
|
return r.length === 0 ? null : /* @__PURE__ */ o.jsxs("div", { className: h, children: [
|
|
1126
|
-
r.map((
|
|
1127
|
-
const
|
|
1128
|
-
if (
|
|
1129
|
-
const
|
|
1126
|
+
r.map((m, w, C) => {
|
|
1127
|
+
const E = w + 1 >= C.length;
|
|
1128
|
+
if (m.wrapper) {
|
|
1129
|
+
const b = m.wrapper;
|
|
1130
1130
|
return /* @__PURE__ */ o.jsx(
|
|
1131
1131
|
"div",
|
|
1132
1132
|
{
|
|
1133
1133
|
style: {
|
|
1134
1134
|
// Для последнего видимого аватара без overflowCount не применяем обрезку
|
|
1135
|
-
clipPath:
|
|
1135
|
+
clipPath: E && !n ? void 0 : `url(#${g})`,
|
|
1136
1136
|
marginRight: d
|
|
1137
1137
|
},
|
|
1138
|
-
children: /* @__PURE__ */ o.jsx(
|
|
1138
|
+
children: /* @__PURE__ */ o.jsx(b, { children: /* @__PURE__ */ o.jsx(Pe, { size: a, shape: i, ...m }) })
|
|
1139
1139
|
},
|
|
1140
|
-
Qe(
|
|
1140
|
+
Qe(m) + w
|
|
1141
1141
|
);
|
|
1142
1142
|
}
|
|
1143
1143
|
return /* @__PURE__ */ o.jsx(
|
|
@@ -1145,12 +1145,12 @@ const yr = 3, mr = (t) => {
|
|
|
1145
1145
|
{
|
|
1146
1146
|
style: {
|
|
1147
1147
|
// Для последнего видимого аватара без overflowCount не применяем обрезку
|
|
1148
|
-
clipPath:
|
|
1148
|
+
clipPath: E && !n ? void 0 : `url(#${g})`,
|
|
1149
1149
|
marginRight: d
|
|
1150
1150
|
},
|
|
1151
|
-
children: /* @__PURE__ */ o.jsx(Pe, { size: a, shape: i, ...
|
|
1151
|
+
children: /* @__PURE__ */ o.jsx(Pe, { size: a, shape: i, ...m })
|
|
1152
1152
|
},
|
|
1153
|
-
Qe(
|
|
1153
|
+
Qe(m) + w
|
|
1154
1154
|
);
|
|
1155
1155
|
}),
|
|
1156
1156
|
n > 0 && /* @__PURE__ */ o.jsx("div", { style: { marginRight: d }, children: /* @__PURE__ */ o.jsx(
|
|
@@ -1164,7 +1164,7 @@ const yr = 3, mr = (t) => {
|
|
|
1164
1164
|
...c
|
|
1165
1165
|
}
|
|
1166
1166
|
) }),
|
|
1167
|
-
/* @__PURE__ */ o.jsx("svg", { width: "0", height: "0", children: /* @__PURE__ */ o.jsx("clipPath", { id: `${g}`, children: /* @__PURE__ */ o.jsx("path", { clipPathUnits: "objectBoundingBox", d:
|
|
1167
|
+
/* @__PURE__ */ o.jsx("svg", { width: "0", height: "0", children: /* @__PURE__ */ o.jsx("clipPath", { id: `${g}`, children: /* @__PURE__ */ o.jsx("path", { clipPathUnits: "objectBoundingBox", d: y, clipRule: "evenodd" }) }) })
|
|
1168
1168
|
] });
|
|
1169
1169
|
}, Rn = Object.assign(Pe, {
|
|
1170
1170
|
Group: mr
|
|
@@ -1236,43 +1236,43 @@ const yr = 3, mr = (t) => {
|
|
|
1236
1236
|
positionOffset: _ = { x: 0, y: 0 },
|
|
1237
1237
|
cutoutBackground: g,
|
|
1238
1238
|
isDisabled: h,
|
|
1239
|
-
className:
|
|
1240
|
-
"data-testid":
|
|
1241
|
-
...
|
|
1242
|
-
} = t, { onClick: C, onPointerDown:
|
|
1243
|
-
|
|
1239
|
+
className: y,
|
|
1240
|
+
"data-testid": m = "badge",
|
|
1241
|
+
...w
|
|
1242
|
+
} = t, { onClick: C, onPointerDown: E } = w, { ref: b, bgColor: I } = $r(), R = g || I, A = !h && (!!C || !!E), k = Ie(_e.badge__container, _e[`position-${f}`]), N = Ie(
|
|
1243
|
+
y,
|
|
1244
1244
|
_e.badge__content,
|
|
1245
1245
|
_e[`color-${p}`],
|
|
1246
1246
|
_e[`variant-${i}`],
|
|
1247
1247
|
{
|
|
1248
1248
|
[_e.disabled]: h,
|
|
1249
1249
|
[_e.icon]: !!a,
|
|
1250
|
-
[_e.interactive]:
|
|
1250
|
+
[_e.interactive]: A
|
|
1251
1251
|
}
|
|
1252
|
-
),
|
|
1252
|
+
), D = {
|
|
1253
1253
|
"--badge-height": `${d}px`,
|
|
1254
1254
|
"--badge-offset-x": `${_.x}px`,
|
|
1255
1255
|
"--badge-offset-y": `${_.y}px`,
|
|
1256
|
-
...
|
|
1256
|
+
...R && { "--badge-cutout-bg": R },
|
|
1257
1257
|
...i === "transparent" && { "--badge-cutout-bg": "transparent" }
|
|
1258
1258
|
}, z = (a == null ? void 0 : a({})) || n, x = (W) => {
|
|
1259
|
-
|
|
1259
|
+
A && (C == null || C(W));
|
|
1260
1260
|
};
|
|
1261
|
-
return /* @__PURE__ */ o.jsxs("div", { className: _e.wrapper, ref:
|
|
1261
|
+
return /* @__PURE__ */ o.jsxs("div", { className: _e.wrapper, ref: b, "data-testid": m + "-wrapper", children: [
|
|
1262
1262
|
s,
|
|
1263
1263
|
!c && /* @__PURE__ */ o.jsx(
|
|
1264
1264
|
"span",
|
|
1265
1265
|
{
|
|
1266
|
-
className:
|
|
1267
|
-
style:
|
|
1268
|
-
"data-testid":
|
|
1266
|
+
className: k,
|
|
1267
|
+
style: D,
|
|
1268
|
+
"data-testid": m + "-container",
|
|
1269
1269
|
children: /* @__PURE__ */ o.jsx(
|
|
1270
1270
|
"span",
|
|
1271
1271
|
{
|
|
1272
|
-
...
|
|
1272
|
+
...w,
|
|
1273
1273
|
onClick: x,
|
|
1274
|
-
className:
|
|
1275
|
-
"data-testid":
|
|
1274
|
+
className: N,
|
|
1275
|
+
"data-testid": m + "-content",
|
|
1276
1276
|
ref: r,
|
|
1277
1277
|
"aria-disabled": h,
|
|
1278
1278
|
children: z
|
|
@@ -1393,23 +1393,23 @@ const yr = 3, mr = (t) => {
|
|
|
1393
1393
|
onError: d,
|
|
1394
1394
|
onLoad: f,
|
|
1395
1395
|
..._
|
|
1396
|
-
} = t, [g, h] = De("loading"),
|
|
1396
|
+
} = t, [g, h] = De("loading"), y = g === "error", m = (n || g === "loading") && !y, w = g === "loaded" && !n, C = Ie(
|
|
1397
1397
|
Je.image,
|
|
1398
1398
|
{
|
|
1399
|
-
[Je.loading]:
|
|
1399
|
+
[Je.loading]: m
|
|
1400
1400
|
},
|
|
1401
1401
|
c
|
|
1402
|
-
),
|
|
1403
|
-
(
|
|
1404
|
-
h("loaded"), f == null || f(
|
|
1402
|
+
), E = Ce(
|
|
1403
|
+
(R) => {
|
|
1404
|
+
h("loaded"), f == null || f(R);
|
|
1405
1405
|
},
|
|
1406
1406
|
[f]
|
|
1407
|
-
),
|
|
1408
|
-
(
|
|
1409
|
-
h("error"), d == null || d(
|
|
1407
|
+
), b = Ce(
|
|
1408
|
+
(R) => {
|
|
1409
|
+
h("error"), d == null || d(R);
|
|
1410
1410
|
},
|
|
1411
1411
|
[d]
|
|
1412
|
-
),
|
|
1412
|
+
), I = {
|
|
1413
1413
|
loader: /* @__PURE__ */ o.jsxs(Mt, { children: [
|
|
1414
1414
|
/* @__PURE__ */ o.jsx(Vr, { size: 48, variant: "special", "data-testid": `${p}-loader` }),
|
|
1415
1415
|
/* @__PURE__ */ o.jsx(
|
|
@@ -1417,8 +1417,8 @@ const yr = 3, mr = (t) => {
|
|
|
1417
1417
|
{
|
|
1418
1418
|
alt: a,
|
|
1419
1419
|
src: i,
|
|
1420
|
-
onLoad:
|
|
1421
|
-
onError:
|
|
1420
|
+
onLoad: E,
|
|
1421
|
+
onError: b,
|
|
1422
1422
|
style: { display: "none" }
|
|
1423
1423
|
}
|
|
1424
1424
|
)
|
|
@@ -1443,21 +1443,21 @@ const yr = 3, mr = (t) => {
|
|
|
1443
1443
|
}
|
|
1444
1444
|
h("loading");
|
|
1445
1445
|
}, [i]), /* @__PURE__ */ o.jsxs("div", { className: Je.container, "data-testid": `${p}-container`, ..._, children: [
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1446
|
+
m && I.loader,
|
|
1447
|
+
y && I.error,
|
|
1448
|
+
w && I.image
|
|
1449
1449
|
] });
|
|
1450
|
-
}),
|
|
1451
|
-
locale:
|
|
1452
|
-
}),
|
|
1450
|
+
}), Gr = {}, Rt = ra({
|
|
1451
|
+
locale: Gr
|
|
1452
|
+
}), Zr = () => {
|
|
1453
1453
|
const t = sa(Rt);
|
|
1454
1454
|
if (!t)
|
|
1455
1455
|
throw new Error("useConfig must be used within a ConfigProvider");
|
|
1456
1456
|
return t;
|
|
1457
1457
|
}, An = () => {
|
|
1458
|
-
const { locale: t } =
|
|
1458
|
+
const { locale: t } = Zr();
|
|
1459
1459
|
return t;
|
|
1460
|
-
},
|
|
1460
|
+
}, qr = {}, Yr = {}, Jr = {}, Nn = ({
|
|
1461
1461
|
locale: t = {},
|
|
1462
1462
|
theme: r,
|
|
1463
1463
|
children: a,
|
|
@@ -1474,7 +1474,7 @@ const yr = 3, mr = (t) => {
|
|
|
1474
1474
|
"div",
|
|
1475
1475
|
{
|
|
1476
1476
|
"data-testid": "ConfigProvider-component",
|
|
1477
|
-
className:
|
|
1477
|
+
className: G(qr, Yr, Jr, s)
|
|
1478
1478
|
}
|
|
1479
1479
|
),
|
|
1480
1480
|
/* @__PURE__ */ o.jsx(Rt.Provider, { value: { locale: t }, children: a })
|
|
@@ -1508,11 +1508,11 @@ const yr = 3, mr = (t) => {
|
|
|
1508
1508
|
slotStartWrapperProps: _ = {},
|
|
1509
1509
|
slotEndWrapperProps: g = {},
|
|
1510
1510
|
"data-testid": h
|
|
1511
|
-
} = t, { className:
|
|
1511
|
+
} = t, { className: y, ...m } = _, { className: w, ...C } = g;
|
|
1512
1512
|
return /* @__PURE__ */ o.jsxs(
|
|
1513
1513
|
"div",
|
|
1514
1514
|
{
|
|
1515
|
-
className:
|
|
1515
|
+
className: G(
|
|
1516
1516
|
xe.tag,
|
|
1517
1517
|
xe[n],
|
|
1518
1518
|
xe[i],
|
|
@@ -1526,13 +1526,13 @@ const yr = 3, mr = (t) => {
|
|
|
1526
1526
|
"data-testid": h || "tag-component",
|
|
1527
1527
|
ref: r,
|
|
1528
1528
|
children: [
|
|
1529
|
-
d && /* @__PURE__ */ o.jsx("span", { className:
|
|
1530
|
-
p && /* @__PURE__ */ o.jsx("span", { className:
|
|
1531
|
-
f && /* @__PURE__ */ o.jsx("span", { className:
|
|
1529
|
+
d && /* @__PURE__ */ o.jsx("span", { className: G([xe.iconWrapper, y]), ...m, children: d }),
|
|
1530
|
+
p && /* @__PURE__ */ o.jsx("span", { className: G([xe.label]), children: s }),
|
|
1531
|
+
f && /* @__PURE__ */ o.jsx("span", { className: G([xe.iconWrapper, w]), ...C, children: f })
|
|
1532
1532
|
]
|
|
1533
1533
|
}
|
|
1534
1534
|
);
|
|
1535
|
-
}), _s = "
|
|
1535
|
+
}), _s = "_checkbox_15onj_43", fs = "_input_15onj_59", gs = "_icon_15onj_67", hs = "_container_15onj_84", bs = "_error_15onj_135", ys = "_checkboxWrapper_15onj_147", ms = "_medium_15onj_201", vs = "_large_15onj_206", xs = "_label_15onj_247", ge = {
|
|
1536
1536
|
checkbox: _s,
|
|
1537
1537
|
input: fs,
|
|
1538
1538
|
icon: gs,
|
|
@@ -1629,50 +1629,51 @@ const yr = 3, mr = (t) => {
|
|
|
1629
1629
|
className: _,
|
|
1630
1630
|
containerStyle: g,
|
|
1631
1631
|
style: h,
|
|
1632
|
-
children:
|
|
1633
|
-
clickableLabel:
|
|
1634
|
-
tabIndex:
|
|
1632
|
+
children: y,
|
|
1633
|
+
clickableLabel: m = !0,
|
|
1634
|
+
tabIndex: w,
|
|
1635
1635
|
onChange: C,
|
|
1636
|
-
|
|
1637
|
-
|
|
1636
|
+
onClick: E,
|
|
1637
|
+
"data-testid": b = "checkbox"
|
|
1638
|
+
} = t, [I, R] = De(!1), P = s ?? I, A = d || c, k = !!p, N = P || n, D = G(ge.container, ge[i], f), z = G(
|
|
1638
1639
|
ge.checkbox,
|
|
1639
1640
|
ge[i],
|
|
1640
1641
|
{
|
|
1641
|
-
[ge.error]:
|
|
1642
|
+
[ge.error]: k
|
|
1642
1643
|
},
|
|
1643
1644
|
_
|
|
1644
|
-
),
|
|
1645
|
-
|
|
1646
|
-
},
|
|
1647
|
-
if ($.key === "Enter" && !
|
|
1645
|
+
), x = ($) => {
|
|
1646
|
+
A || (R($.target.checked), C == null || C($.target.checked, $));
|
|
1647
|
+
}, W = ($) => {
|
|
1648
|
+
if ($.key === "Enter" && !A) {
|
|
1648
1649
|
$.preventDefault();
|
|
1649
|
-
const
|
|
1650
|
-
|
|
1650
|
+
const U = !N;
|
|
1651
|
+
R(U), C == null || C(U);
|
|
1651
1652
|
}
|
|
1652
|
-
},
|
|
1653
|
-
|
|
1654
|
-
}
|
|
1653
|
+
}, O = ($) => {
|
|
1654
|
+
m || $.preventDefault(), E == null || E($);
|
|
1655
|
+
};
|
|
1655
1656
|
return /* @__PURE__ */ o.jsxs(
|
|
1656
1657
|
"label",
|
|
1657
1658
|
{
|
|
1658
|
-
className:
|
|
1659
|
+
className: D,
|
|
1659
1660
|
htmlFor: a,
|
|
1660
1661
|
style: g,
|
|
1661
|
-
"data-testid":
|
|
1662
|
-
"data-clickable-label":
|
|
1662
|
+
"data-testid": b,
|
|
1663
|
+
"data-clickable-label": m,
|
|
1663
1664
|
children: [
|
|
1664
1665
|
/* @__PURE__ */ o.jsx("div", { className: ge.checkboxWrapper, children: /* @__PURE__ */ o.jsxs(
|
|
1665
1666
|
"div",
|
|
1666
1667
|
{
|
|
1667
|
-
tabIndex:
|
|
1668
|
-
className:
|
|
1668
|
+
tabIndex: w || 0,
|
|
1669
|
+
className: z,
|
|
1669
1670
|
style: h,
|
|
1670
|
-
onKeyDown:
|
|
1671
|
-
"aria-checked":
|
|
1672
|
-
"aria-disabled":
|
|
1673
|
-
"aria-invalid":
|
|
1671
|
+
onKeyDown: W,
|
|
1672
|
+
"aria-checked": N,
|
|
1673
|
+
"aria-disabled": A,
|
|
1674
|
+
"aria-invalid": k,
|
|
1674
1675
|
"aria-describedby": p ? `${a}-error` : void 0,
|
|
1675
|
-
"data-testid": `${
|
|
1676
|
+
"data-testid": `${b}-label`,
|
|
1676
1677
|
children: [
|
|
1677
1678
|
/* @__PURE__ */ o.jsx(
|
|
1678
1679
|
"input",
|
|
@@ -1681,15 +1682,14 @@ const yr = 3, mr = (t) => {
|
|
|
1681
1682
|
type: "checkbox",
|
|
1682
1683
|
id: a,
|
|
1683
1684
|
name: a,
|
|
1684
|
-
checked:
|
|
1685
|
-
disabled:
|
|
1685
|
+
checked: N,
|
|
1686
|
+
disabled: A,
|
|
1686
1687
|
className: ge.input,
|
|
1687
|
-
onChange:
|
|
1688
|
-
|
|
1689
|
-
"aria-
|
|
1690
|
-
"aria-invalid": D,
|
|
1688
|
+
onChange: x,
|
|
1689
|
+
"aria-checked": N,
|
|
1690
|
+
"aria-invalid": k,
|
|
1691
1691
|
"aria-describedby": p ? `${a}-error` : void 0,
|
|
1692
|
-
"data-testid": `${
|
|
1692
|
+
"data-testid": `${b}-input`
|
|
1693
1693
|
}
|
|
1694
1694
|
),
|
|
1695
1695
|
/* @__PURE__ */ o.jsx(
|
|
@@ -1697,23 +1697,23 @@ const yr = 3, mr = (t) => {
|
|
|
1697
1697
|
{
|
|
1698
1698
|
name: a,
|
|
1699
1699
|
size: i,
|
|
1700
|
-
isChecked:
|
|
1701
|
-
isDisabled:
|
|
1700
|
+
isChecked: N,
|
|
1701
|
+
isDisabled: A,
|
|
1702
1702
|
indeterminate: n,
|
|
1703
|
-
dataTestId:
|
|
1703
|
+
dataTestId: b
|
|
1704
1704
|
}
|
|
1705
1705
|
)
|
|
1706
1706
|
]
|
|
1707
1707
|
}
|
|
1708
1708
|
) }),
|
|
1709
|
-
|
|
1709
|
+
y && /* @__PURE__ */ o.jsx(
|
|
1710
1710
|
"span",
|
|
1711
1711
|
{
|
|
1712
|
-
"data-testid": `${
|
|
1713
|
-
"data-clickable-label":
|
|
1712
|
+
"data-testid": `${b}-label-text`,
|
|
1713
|
+
"data-clickable-label": m,
|
|
1714
1714
|
className: ge.label,
|
|
1715
|
-
onClick:
|
|
1716
|
-
children:
|
|
1715
|
+
onClick: O,
|
|
1716
|
+
children: y
|
|
1717
1717
|
}
|
|
1718
1718
|
)
|
|
1719
1719
|
]
|
|
@@ -1756,7 +1756,7 @@ const yr = 3, mr = (t) => {
|
|
|
1756
1756
|
typographyStyle: f = "primary",
|
|
1757
1757
|
..._
|
|
1758
1758
|
}, g) => {
|
|
1759
|
-
const h = c || Os[a],
|
|
1759
|
+
const h = c || Os[a], y = G(
|
|
1760
1760
|
je.typography,
|
|
1761
1761
|
Ne[`typography-${t}-${a}-${p}`],
|
|
1762
1762
|
je[f],
|
|
@@ -1765,7 +1765,7 @@ const yr = 3, mr = (t) => {
|
|
|
1765
1765
|
},
|
|
1766
1766
|
i
|
|
1767
1767
|
);
|
|
1768
|
-
return s ? /* @__PURE__ */ o.jsx(h, { ref: g, className:
|
|
1768
|
+
return s ? /* @__PURE__ */ o.jsx(h, { ref: g, className: y, "data-testid": n, ..._, children: s }) : null;
|
|
1769
1769
|
}
|
|
1770
1770
|
);
|
|
1771
1771
|
return r.displayName = `Typography.${t === "title" ? "Title" : "Subtitle"}`, r;
|
|
@@ -1782,7 +1782,7 @@ const yr = 3, mr = (t) => {
|
|
|
1782
1782
|
typographyStyle: f = "primary",
|
|
1783
1783
|
..._
|
|
1784
1784
|
}, g) => {
|
|
1785
|
-
const h = c,
|
|
1785
|
+
const h = c, y = G(
|
|
1786
1786
|
je.typography,
|
|
1787
1787
|
Ne[`typography-${t}-${a}-${p}`],
|
|
1788
1788
|
je[f],
|
|
@@ -1795,7 +1795,7 @@ const yr = 3, mr = (t) => {
|
|
|
1795
1795
|
h,
|
|
1796
1796
|
{
|
|
1797
1797
|
ref: g,
|
|
1798
|
-
className:
|
|
1798
|
+
className: y,
|
|
1799
1799
|
"data-testid": n,
|
|
1800
1800
|
..._,
|
|
1801
1801
|
children: s
|
|
@@ -1809,7 +1809,7 @@ const yr = 3, mr = (t) => {
|
|
|
1809
1809
|
Subtitle: xt("subtitle"),
|
|
1810
1810
|
Label: Ct("label"),
|
|
1811
1811
|
Paragraph: Ct("paragraph")
|
|
1812
|
-
}, Us = "_inputBase_1m6fe_85", Bs = "_wrapper_1m6fe_95", Fs = "_gripHandle_1m6fe_169", Ps = "_error_1m6fe_230", zs = "_tabFocused_1m6fe_237", Ws = "_disabled_1m6fe_262", Vs = "_loading_1m6fe_269", Hs = "_label_1m6fe_279",
|
|
1812
|
+
}, Us = "_inputBase_1m6fe_85", Bs = "_wrapper_1m6fe_95", Fs = "_gripHandle_1m6fe_169", Ps = "_error_1m6fe_230", zs = "_tabFocused_1m6fe_237", Ws = "_disabled_1m6fe_262", Vs = "_loading_1m6fe_269", Hs = "_label_1m6fe_279", Gs = "_small_1m6fe_292", Zs = "_large_1m6fe_299", qs = "_leftSection_1m6fe_306", Ys = "_rightSection_1m6fe_315", Js = "_helper_1m6fe_351", Ks = "_floatingLabel_1m6fe_376", Xs = "_focused_1m6fe_434", Qs = "_filled_1m6fe_435", en = "_medium_1m6fe_469", tn = "_characterLimit_1m6fe_510", an = "_input_1m6fe_85", rn = "_textarea_1m6fe_109", sn = "_truncate_1m6fe_637", nn = "_hint_1m6fe_719", M = {
|
|
1813
1813
|
inputBase: Us,
|
|
1814
1814
|
wrapper: Bs,
|
|
1815
1815
|
"textarea-wrapper": "_textarea-wrapper_1m6fe_109",
|
|
@@ -1819,9 +1819,9 @@ const yr = 3, mr = (t) => {
|
|
|
1819
1819
|
disabled: Ws,
|
|
1820
1820
|
loading: Vs,
|
|
1821
1821
|
label: Hs,
|
|
1822
|
-
small:
|
|
1823
|
-
large:
|
|
1824
|
-
leftSection:
|
|
1822
|
+
small: Gs,
|
|
1823
|
+
large: Zs,
|
|
1824
|
+
leftSection: qs,
|
|
1825
1825
|
rightSection: Ys,
|
|
1826
1826
|
helper: Js,
|
|
1827
1827
|
floatingLabel: Ks,
|
|
@@ -1935,8 +1935,8 @@ const yr = 3, mr = (t) => {
|
|
|
1935
1935
|
const c = n.currentTarget.closest(`.${M.wrapper}`);
|
|
1936
1936
|
if (!c) return;
|
|
1937
1937
|
const p = n.clientY, d = c.clientHeight, f = (g) => {
|
|
1938
|
-
const h = g.clientY - p,
|
|
1939
|
-
c.style.height = `${
|
|
1938
|
+
const h = g.clientY - p, y = Math.min(100, d), m = Math.max(y, d + h);
|
|
1939
|
+
c.style.height = `${m}px`;
|
|
1940
1940
|
}, _ = () => {
|
|
1941
1941
|
document.removeEventListener("mousemove", f), document.removeEventListener("mouseup", _);
|
|
1942
1942
|
};
|
|
@@ -1958,21 +1958,21 @@ const yr = 3, mr = (t) => {
|
|
|
1958
1958
|
maxLength: _,
|
|
1959
1959
|
className: g,
|
|
1960
1960
|
style: h,
|
|
1961
|
-
truncate:
|
|
1962
|
-
shouldShowFloatingLabelClass:
|
|
1963
|
-
"aria-invalid":
|
|
1961
|
+
truncate: y = !1,
|
|
1962
|
+
shouldShowFloatingLabelClass: m = !1,
|
|
1963
|
+
"aria-invalid": w,
|
|
1964
1964
|
"aria-errormessage": C,
|
|
1965
|
-
id:
|
|
1966
|
-
resize:
|
|
1967
|
-
...
|
|
1968
|
-
},
|
|
1969
|
-
const { textareaRef:
|
|
1970
|
-
if (cn(a,
|
|
1965
|
+
id: E,
|
|
1966
|
+
resize: b,
|
|
1967
|
+
...I
|
|
1968
|
+
}, R) => {
|
|
1969
|
+
const { textareaRef: P, inputRef: A, currentRef: k } = ln(a, t);
|
|
1970
|
+
if (cn(a, b, P), oa(R, () => k.current, [k]), t === "textarea")
|
|
1971
1971
|
return /* @__PURE__ */ o.jsx(
|
|
1972
1972
|
"textarea",
|
|
1973
1973
|
{
|
|
1974
|
-
ref:
|
|
1975
|
-
id:
|
|
1974
|
+
ref: P,
|
|
1975
|
+
id: E,
|
|
1976
1976
|
value: a,
|
|
1977
1977
|
placeholder: s,
|
|
1978
1978
|
disabled: i || n,
|
|
@@ -1981,27 +1981,27 @@ const yr = 3, mr = (t) => {
|
|
|
1981
1981
|
onChange: d,
|
|
1982
1982
|
onKeyUp: f,
|
|
1983
1983
|
maxLength: _,
|
|
1984
|
-
className:
|
|
1984
|
+
className: G(
|
|
1985
1985
|
M.textarea,
|
|
1986
1986
|
M[`size-${r}`],
|
|
1987
|
-
|
|
1987
|
+
m && M["with-floating-label"],
|
|
1988
1988
|
g
|
|
1989
1989
|
),
|
|
1990
1990
|
style: h,
|
|
1991
|
-
"aria-invalid":
|
|
1991
|
+
"aria-invalid": w,
|
|
1992
1992
|
"aria-errormessage": C,
|
|
1993
|
-
"aria-describedby": C ? `${
|
|
1993
|
+
"aria-describedby": C ? `${E}-error` : void 0,
|
|
1994
1994
|
tabIndex: 0,
|
|
1995
|
-
"data-resize":
|
|
1996
|
-
...
|
|
1995
|
+
"data-resize": b,
|
|
1996
|
+
...I
|
|
1997
1997
|
}
|
|
1998
1998
|
);
|
|
1999
1999
|
if (t === "input")
|
|
2000
2000
|
return /* @__PURE__ */ o.jsx(
|
|
2001
2001
|
"input",
|
|
2002
2002
|
{
|
|
2003
|
-
ref:
|
|
2004
|
-
id:
|
|
2003
|
+
ref: A,
|
|
2004
|
+
id: E,
|
|
2005
2005
|
value: a,
|
|
2006
2006
|
placeholder: s,
|
|
2007
2007
|
disabled: i || n,
|
|
@@ -2010,19 +2010,19 @@ const yr = 3, mr = (t) => {
|
|
|
2010
2010
|
onChange: d,
|
|
2011
2011
|
onKeyUp: f,
|
|
2012
2012
|
maxLength: _,
|
|
2013
|
-
className:
|
|
2013
|
+
className: G(
|
|
2014
2014
|
M.input,
|
|
2015
2015
|
M[`size-${r}`],
|
|
2016
|
-
|
|
2017
|
-
|
|
2016
|
+
m && M["with-floating-label"],
|
|
2017
|
+
y && M.truncate,
|
|
2018
2018
|
g
|
|
2019
2019
|
),
|
|
2020
2020
|
style: h,
|
|
2021
|
-
"aria-invalid":
|
|
2021
|
+
"aria-invalid": w,
|
|
2022
2022
|
"aria-errormessage": C,
|
|
2023
|
-
"aria-describedby": C ? `${
|
|
2023
|
+
"aria-describedby": C ? `${E}-error` : void 0,
|
|
2024
2024
|
tabIndex: 0,
|
|
2025
|
-
...
|
|
2025
|
+
...I
|
|
2026
2026
|
}
|
|
2027
2027
|
);
|
|
2028
2028
|
if (t !== "input" && t !== "textarea")
|
|
@@ -2045,36 +2045,36 @@ const yr = 3, mr = (t) => {
|
|
|
2045
2045
|
suffixStyles: _,
|
|
2046
2046
|
labelProps: g,
|
|
2047
2047
|
helperProps: h,
|
|
2048
|
-
showLimit:
|
|
2049
|
-
maxLength:
|
|
2050
|
-
hint:
|
|
2048
|
+
showLimit: y = !1,
|
|
2049
|
+
maxLength: m,
|
|
2050
|
+
hint: w,
|
|
2051
2051
|
showHint: C = !1,
|
|
2052
|
-
showHintOnEmpty:
|
|
2053
|
-
prefix:
|
|
2054
|
-
suffix:
|
|
2055
|
-
placeholder:
|
|
2056
|
-
showLabel:
|
|
2057
|
-
labelClassName:
|
|
2058
|
-
hasValue:
|
|
2059
|
-
helper:
|
|
2060
|
-
id:
|
|
2052
|
+
showHintOnEmpty: E = !1,
|
|
2053
|
+
prefix: b,
|
|
2054
|
+
suffix: I,
|
|
2055
|
+
placeholder: R,
|
|
2056
|
+
showLabel: P = !0,
|
|
2057
|
+
labelClassName: A,
|
|
2058
|
+
hasValue: k = !1,
|
|
2059
|
+
helper: N,
|
|
2060
|
+
id: D,
|
|
2061
2061
|
value: z = "",
|
|
2062
2062
|
resize: x,
|
|
2063
2063
|
showGrip: W = !1,
|
|
2064
2064
|
...O
|
|
2065
2065
|
}, $) => {
|
|
2066
|
-
const
|
|
2066
|
+
const U = $t(), V = D || U, Z = C && w && (k || E), q = w && w.length > wt ? w.substring(0, wt) + "..." : w, te = G(
|
|
2067
2067
|
M.wrapper,
|
|
2068
2068
|
a && M.error,
|
|
2069
2069
|
s && M.disabled,
|
|
2070
2070
|
i && M.loading,
|
|
2071
|
-
|
|
2071
|
+
Z && M["has-hint"],
|
|
2072
2072
|
n
|
|
2073
|
-
), ae =
|
|
2073
|
+
), ae = G(
|
|
2074
2074
|
M.floatingLabel,
|
|
2075
2075
|
M[r],
|
|
2076
|
-
|
|
2077
|
-
|
|
2076
|
+
k && M.filled,
|
|
2077
|
+
A
|
|
2078
2078
|
), { handleGripMouseDown: re } = dn(W, s, i, x);
|
|
2079
2079
|
return /* @__PURE__ */ o.jsxs("div", { ref: $, className: M.inputBase, "data-testid": "input-base-wrapper", ...O, children: [
|
|
2080
2080
|
/* @__PURE__ */ o.jsxs(
|
|
@@ -2086,20 +2086,20 @@ const yr = 3, mr = (t) => {
|
|
|
2086
2086
|
"data-show-grip": W ? "true" : "false",
|
|
2087
2087
|
...c,
|
|
2088
2088
|
children: [
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2089
|
+
b && /* @__PURE__ */ o.jsx("label", { htmlFor: V, className: M.leftSection, style: f, children: b }),
|
|
2090
|
+
I && /* @__PURE__ */ o.jsx("label", { htmlFor: V, className: M.rightSection, style: _, children: I }),
|
|
2091
|
+
R && P && /* @__PURE__ */ o.jsx(
|
|
2092
2092
|
"label",
|
|
2093
2093
|
{
|
|
2094
2094
|
htmlFor: V,
|
|
2095
2095
|
className: ae,
|
|
2096
2096
|
style: d,
|
|
2097
2097
|
...g,
|
|
2098
|
-
children:
|
|
2098
|
+
children: R
|
|
2099
2099
|
}
|
|
2100
2100
|
),
|
|
2101
2101
|
t,
|
|
2102
|
-
W && !
|
|
2102
|
+
W && !y && (x === "fixed" || !x) && /* @__PURE__ */ o.jsx(
|
|
2103
2103
|
"div",
|
|
2104
2104
|
{
|
|
2105
2105
|
className: M.gripHandle,
|
|
@@ -2110,33 +2110,33 @@ const yr = 3, mr = (t) => {
|
|
|
2110
2110
|
children: /* @__PURE__ */ o.jsx(on, {})
|
|
2111
2111
|
}
|
|
2112
2112
|
),
|
|
2113
|
-
|
|
2113
|
+
Z && /* @__PURE__ */ o.jsx(
|
|
2114
2114
|
"div",
|
|
2115
2115
|
{
|
|
2116
|
-
className:
|
|
2116
|
+
className: G(M.hint, k && M.truncate),
|
|
2117
2117
|
"data-disabled": s || i,
|
|
2118
|
-
children:
|
|
2118
|
+
children: q
|
|
2119
2119
|
}
|
|
2120
2120
|
),
|
|
2121
|
-
|
|
2121
|
+
y && m && /* @__PURE__ */ o.jsxs("div", { className: M.characterLimit, children: [
|
|
2122
2122
|
(z || "").length,
|
|
2123
2123
|
" из ",
|
|
2124
|
-
|
|
2124
|
+
m
|
|
2125
2125
|
] })
|
|
2126
2126
|
]
|
|
2127
2127
|
}
|
|
2128
2128
|
),
|
|
2129
|
-
|
|
2129
|
+
N && /* @__PURE__ */ o.jsx(
|
|
2130
2130
|
"div",
|
|
2131
2131
|
{
|
|
2132
|
-
className:
|
|
2132
|
+
className: G(
|
|
2133
2133
|
M.helper,
|
|
2134
2134
|
a && M.error,
|
|
2135
2135
|
(s || i) && M.disabled
|
|
2136
2136
|
),
|
|
2137
2137
|
...h,
|
|
2138
2138
|
id: a ? `${V}-error` : void 0,
|
|
2139
|
-
children:
|
|
2139
|
+
children: N
|
|
2140
2140
|
}
|
|
2141
2141
|
)
|
|
2142
2142
|
] });
|
|
@@ -2160,38 +2160,38 @@ const St = Object.assign(un, {
|
|
|
2160
2160
|
prefix: _,
|
|
2161
2161
|
suffix: g,
|
|
2162
2162
|
id: h,
|
|
2163
|
-
onFocus:
|
|
2164
|
-
onBlur:
|
|
2165
|
-
onChange:
|
|
2163
|
+
onFocus: y,
|
|
2164
|
+
onBlur: m,
|
|
2165
|
+
onChange: w,
|
|
2166
2166
|
value: C = "",
|
|
2167
|
-
wrapperProps:
|
|
2168
|
-
wrapperStyles:
|
|
2169
|
-
floatingLabelStyles:
|
|
2170
|
-
prefixStyles:
|
|
2171
|
-
suffixStyles:
|
|
2172
|
-
textareaStyles:
|
|
2173
|
-
labelProps:
|
|
2174
|
-
helperProps:
|
|
2175
|
-
showLimit:
|
|
2167
|
+
wrapperProps: E,
|
|
2168
|
+
wrapperStyles: b,
|
|
2169
|
+
floatingLabelStyles: I,
|
|
2170
|
+
prefixStyles: R,
|
|
2171
|
+
suffixStyles: P,
|
|
2172
|
+
textareaStyles: A,
|
|
2173
|
+
labelProps: k,
|
|
2174
|
+
helperProps: N,
|
|
2175
|
+
showLimit: D = !1,
|
|
2176
2176
|
maxLength: z,
|
|
2177
2177
|
inputProps: x,
|
|
2178
2178
|
hint: W,
|
|
2179
2179
|
showHint: O = !1,
|
|
2180
2180
|
showHintOnEmpty: $ = !1,
|
|
2181
|
-
truncate:
|
|
2181
|
+
truncate: U = !1,
|
|
2182
2182
|
resize: V,
|
|
2183
|
-
showGrip:
|
|
2184
|
-
...
|
|
2183
|
+
showGrip: Z = !1,
|
|
2184
|
+
...q
|
|
2185
2185
|
}, te) => {
|
|
2186
2186
|
const ae = $t(), re = h || ae, [be, se] = De(C), ye = C !== void 0 ? C : be, Se = (ye || "").length > 0, ue = p && (r === "large" || t === "textarea") && !_, ie = Ce(
|
|
2187
2187
|
(K) => {
|
|
2188
2188
|
var ee;
|
|
2189
|
-
i || n || (
|
|
2189
|
+
i || n || (y == null || y(), (ee = x == null ? void 0 : x.onFocus) == null || ee.call(
|
|
2190
2190
|
x,
|
|
2191
2191
|
K
|
|
2192
2192
|
));
|
|
2193
2193
|
},
|
|
2194
|
-
[
|
|
2194
|
+
[y, x, i, n]
|
|
2195
2195
|
), pe = Ce(
|
|
2196
2196
|
(K) => {
|
|
2197
2197
|
var ee;
|
|
@@ -2209,23 +2209,23 @@ const St = Object.assign(un, {
|
|
|
2209
2209
|
(K) => {
|
|
2210
2210
|
var ce;
|
|
2211
2211
|
const ee = K.target.closest(`.${M.wrapper}`);
|
|
2212
|
-
ee && ee.classList.remove(M.tabFocused),
|
|
2212
|
+
ee && ee.classList.remove(M.tabFocused), m == null || m(), (ce = x == null ? void 0 : x.onBlur) == null || ce.call(
|
|
2213
2213
|
x,
|
|
2214
2214
|
K
|
|
2215
2215
|
);
|
|
2216
2216
|
},
|
|
2217
|
-
[
|
|
2217
|
+
[m, x]
|
|
2218
2218
|
), me = Ce(
|
|
2219
2219
|
(K) => {
|
|
2220
2220
|
var ce;
|
|
2221
2221
|
if (i || n) return;
|
|
2222
2222
|
const ee = K.target.value;
|
|
2223
|
-
se(ee),
|
|
2223
|
+
se(ee), w == null || w(ee), (ce = x == null ? void 0 : x.onChange) == null || ce.call(
|
|
2224
2224
|
x,
|
|
2225
2225
|
K
|
|
2226
2226
|
);
|
|
2227
2227
|
},
|
|
2228
|
-
[
|
|
2228
|
+
[w, x, i, n]
|
|
2229
2229
|
);
|
|
2230
2230
|
return we(() => {
|
|
2231
2231
|
se(C);
|
|
@@ -2237,15 +2237,15 @@ const St = Object.assign(un, {
|
|
|
2237
2237
|
error: s,
|
|
2238
2238
|
disabled: i || n,
|
|
2239
2239
|
loading: n,
|
|
2240
|
-
className:
|
|
2241
|
-
wrapperProps:
|
|
2242
|
-
wrapperStyles:
|
|
2243
|
-
floatingLabelStyles:
|
|
2244
|
-
prefixStyles:
|
|
2245
|
-
suffixStyles:
|
|
2246
|
-
labelProps:
|
|
2247
|
-
helperProps:
|
|
2248
|
-
showLimit:
|
|
2240
|
+
className: G(a, t === "textarea" && M["textarea-wrapper"]),
|
|
2241
|
+
wrapperProps: E,
|
|
2242
|
+
wrapperStyles: b,
|
|
2243
|
+
floatingLabelStyles: I,
|
|
2244
|
+
prefixStyles: R,
|
|
2245
|
+
suffixStyles: P,
|
|
2246
|
+
labelProps: k,
|
|
2247
|
+
helperProps: N,
|
|
2248
|
+
showLimit: D,
|
|
2249
2249
|
maxLength: z,
|
|
2250
2250
|
hint: W,
|
|
2251
2251
|
showHint: O,
|
|
@@ -2259,9 +2259,9 @@ const St = Object.assign(un, {
|
|
|
2259
2259
|
helper: f,
|
|
2260
2260
|
id: re,
|
|
2261
2261
|
value: ye,
|
|
2262
|
-
showGrip:
|
|
2262
|
+
showGrip: Z,
|
|
2263
2263
|
resize: V,
|
|
2264
|
-
...
|
|
2264
|
+
...q,
|
|
2265
2265
|
children: /* @__PURE__ */ o.jsx(
|
|
2266
2266
|
St,
|
|
2267
2267
|
{
|
|
@@ -2276,10 +2276,10 @@ const St = Object.assign(un, {
|
|
|
2276
2276
|
onChange: me,
|
|
2277
2277
|
onKeyUp: pe,
|
|
2278
2278
|
maxLength: z,
|
|
2279
|
-
truncate:
|
|
2279
|
+
truncate: U,
|
|
2280
2280
|
"data-empty": !Se,
|
|
2281
2281
|
shouldShowFloatingLabelClass: ue,
|
|
2282
|
-
style: t === "textarea" ?
|
|
2282
|
+
style: t === "textarea" ? A : void 0,
|
|
2283
2283
|
"aria-invalid": !!s,
|
|
2284
2284
|
"aria-errormessage": s ? `${re}-error` : void 0,
|
|
2285
2285
|
id: re,
|
|
@@ -2410,25 +2410,25 @@ const St = Object.assign(un, {
|
|
|
2410
2410
|
error: _,
|
|
2411
2411
|
disabled: g,
|
|
2412
2412
|
loading: h,
|
|
2413
|
-
helper:
|
|
2414
|
-
prefix:
|
|
2415
|
-
suffix:
|
|
2413
|
+
helper: y,
|
|
2414
|
+
prefix: m,
|
|
2415
|
+
suffix: w,
|
|
2416
2416
|
clearable: C = !1,
|
|
2417
|
-
id:
|
|
2418
|
-
showLabel:
|
|
2419
|
-
onFocus:
|
|
2420
|
-
onBlur:
|
|
2421
|
-
className:
|
|
2422
|
-
truncate:
|
|
2423
|
-
hint:
|
|
2424
|
-
showHint:
|
|
2425
|
-
showHintOnEmpty:
|
|
2417
|
+
id: E,
|
|
2418
|
+
showLabel: b = !0,
|
|
2419
|
+
onFocus: I,
|
|
2420
|
+
onBlur: R,
|
|
2421
|
+
className: P,
|
|
2422
|
+
truncate: A = !0,
|
|
2423
|
+
hint: k,
|
|
2424
|
+
showHint: N = !1,
|
|
2425
|
+
showHintOnEmpty: D = !1,
|
|
2426
2426
|
wrapperProps: z,
|
|
2427
2427
|
labelProps: x,
|
|
2428
2428
|
helperProps: W,
|
|
2429
2429
|
...O
|
|
2430
2430
|
}, $) => {
|
|
2431
|
-
const
|
|
2431
|
+
const U = (t || "").length > 0, V = d === J.LARGE, Z = !!m, q = V && b && !m, te = C && U && !(g || h), ae = () => {
|
|
2432
2432
|
r == null || r("");
|
|
2433
2433
|
}, re = te ? /* @__PURE__ */ o.jsx(
|
|
2434
2434
|
kt,
|
|
@@ -2439,13 +2439,13 @@ const St = Object.assign(un, {
|
|
|
2439
2439
|
style: { cursor: "pointer" },
|
|
2440
2440
|
"data-testid": "x-icon"
|
|
2441
2441
|
}
|
|
2442
|
-
) :
|
|
2442
|
+
) : w, be = {
|
|
2443
2443
|
type: a,
|
|
2444
2444
|
minLength: n,
|
|
2445
2445
|
autoComplete: c,
|
|
2446
2446
|
autoFocus: p,
|
|
2447
2447
|
...f
|
|
2448
|
-
}, se = yn(d,
|
|
2448
|
+
}, se = yn(d, q, U, Z);
|
|
2449
2449
|
return /* @__PURE__ */ o.jsx(
|
|
2450
2450
|
At,
|
|
2451
2451
|
{
|
|
@@ -2453,17 +2453,17 @@ const St = Object.assign(un, {
|
|
|
2453
2453
|
error: _,
|
|
2454
2454
|
disabled: g || h,
|
|
2455
2455
|
loading: h,
|
|
2456
|
-
helper:
|
|
2457
|
-
prefix:
|
|
2456
|
+
helper: y,
|
|
2457
|
+
prefix: m,
|
|
2458
2458
|
suffix: re,
|
|
2459
|
-
id:
|
|
2460
|
-
showLabel:
|
|
2461
|
-
onFocus:
|
|
2462
|
-
onBlur:
|
|
2459
|
+
id: E,
|
|
2460
|
+
showLabel: q,
|
|
2461
|
+
onFocus: I,
|
|
2462
|
+
onBlur: R,
|
|
2463
2463
|
onChange: r,
|
|
2464
2464
|
value: t || "",
|
|
2465
2465
|
placeholder: s,
|
|
2466
|
-
className:
|
|
2466
|
+
className: P,
|
|
2467
2467
|
wrapperStyles: se.wrapperStyles,
|
|
2468
2468
|
floatingLabelStyles: se.floatingLabelStyles,
|
|
2469
2469
|
prefixStyles: se.prefixStyles,
|
|
@@ -2474,10 +2474,10 @@ const St = Object.assign(un, {
|
|
|
2474
2474
|
showLimit: !1,
|
|
2475
2475
|
maxLength: i,
|
|
2476
2476
|
inputProps: be,
|
|
2477
|
-
hint:
|
|
2478
|
-
showHint:
|
|
2479
|
-
showHintOnEmpty:
|
|
2480
|
-
truncate:
|
|
2477
|
+
hint: k,
|
|
2478
|
+
showHint: N,
|
|
2479
|
+
showHintOnEmpty: D,
|
|
2480
|
+
truncate: A,
|
|
2481
2481
|
...O
|
|
2482
2482
|
}
|
|
2483
2483
|
);
|
|
@@ -2617,25 +2617,25 @@ const St = Object.assign(un, {
|
|
|
2617
2617
|
loading: _,
|
|
2618
2618
|
helper: g,
|
|
2619
2619
|
suffix: h,
|
|
2620
|
-
clearable:
|
|
2621
|
-
id:
|
|
2622
|
-
showLabel:
|
|
2620
|
+
clearable: y = !1,
|
|
2621
|
+
id: m,
|
|
2622
|
+
showLabel: w = !0,
|
|
2623
2623
|
onFocus: C,
|
|
2624
|
-
onBlur:
|
|
2625
|
-
className:
|
|
2626
|
-
rows:
|
|
2627
|
-
showLimit:
|
|
2628
|
-
wrapperProps:
|
|
2629
|
-
labelProps:
|
|
2630
|
-
helperProps:
|
|
2631
|
-
showGrip:
|
|
2632
|
-
minHeight:
|
|
2624
|
+
onBlur: E,
|
|
2625
|
+
className: b,
|
|
2626
|
+
rows: I = 1,
|
|
2627
|
+
showLimit: R = !1,
|
|
2628
|
+
wrapperProps: P,
|
|
2629
|
+
labelProps: A,
|
|
2630
|
+
helperProps: k,
|
|
2631
|
+
showGrip: N,
|
|
2632
|
+
minHeight: D,
|
|
2633
2633
|
resize: z,
|
|
2634
2634
|
...x
|
|
2635
2635
|
}, W) => {
|
|
2636
|
-
const O = (t || "").length > 0, $ =
|
|
2636
|
+
const O = (t || "").length > 0, $ = w && !!a && (c === oe.SMALL || D !== 48), U = y && O && !(f || _), V = () => {
|
|
2637
2637
|
r == null || r("");
|
|
2638
|
-
},
|
|
2638
|
+
}, Z = U ? /* @__PURE__ */ o.jsx(
|
|
2639
2639
|
kt,
|
|
2640
2640
|
{
|
|
2641
2641
|
size: Sn(c),
|
|
@@ -2644,8 +2644,8 @@ const St = Object.assign(un, {
|
|
|
2644
2644
|
style: { cursor: "pointer" },
|
|
2645
2645
|
"data-testid": "x-icon"
|
|
2646
2646
|
}
|
|
2647
|
-
) : h,
|
|
2648
|
-
rows:
|
|
2647
|
+
) : h, q = Ln(c, D, $ && O, z), te = wn(c, D), ae = {
|
|
2648
|
+
rows: I,
|
|
2649
2649
|
minLength: i,
|
|
2650
2650
|
autoFocus: n,
|
|
2651
2651
|
resize: z,
|
|
@@ -2661,28 +2661,28 @@ const St = Object.assign(un, {
|
|
|
2661
2661
|
disabled: f || _,
|
|
2662
2662
|
loading: _,
|
|
2663
2663
|
helper: g,
|
|
2664
|
-
suffix:
|
|
2665
|
-
id:
|
|
2664
|
+
suffix: Z,
|
|
2665
|
+
id: m,
|
|
2666
2666
|
showLabel: $,
|
|
2667
2667
|
onFocus: C,
|
|
2668
|
-
onBlur:
|
|
2668
|
+
onBlur: E,
|
|
2669
2669
|
onChange: r,
|
|
2670
2670
|
value: t || "",
|
|
2671
2671
|
placeholder: a,
|
|
2672
|
-
className:
|
|
2672
|
+
className: b,
|
|
2673
2673
|
"data-floating-label": $,
|
|
2674
|
-
wrapperStyles:
|
|
2675
|
-
floatingLabelStyles:
|
|
2676
|
-
suffixStyles:
|
|
2677
|
-
textareaStyles:
|
|
2678
|
-
wrapperProps:
|
|
2679
|
-
labelProps:
|
|
2680
|
-
helperProps:
|
|
2681
|
-
showLimit:
|
|
2674
|
+
wrapperStyles: q.wrapperStyles,
|
|
2675
|
+
floatingLabelStyles: q.floatingLabelStyles,
|
|
2676
|
+
suffixStyles: q.suffixStyles,
|
|
2677
|
+
textareaStyles: q.textareaStyles,
|
|
2678
|
+
wrapperProps: P,
|
|
2679
|
+
labelProps: A,
|
|
2680
|
+
helperProps: k,
|
|
2681
|
+
showLimit: R && (D === 112 || c === oe.SMALL),
|
|
2682
2682
|
maxLength: s,
|
|
2683
2683
|
inputProps: ae,
|
|
2684
2684
|
resize: z,
|
|
2685
|
-
showGrip:
|
|
2685
|
+
showGrip: N,
|
|
2686
2686
|
...x
|
|
2687
2687
|
}
|
|
2688
2688
|
);
|
|
@@ -2701,7 +2701,7 @@ const St = Object.assign(un, {
|
|
|
2701
2701
|
"aria-label": c,
|
|
2702
2702
|
"aria-describedby": p
|
|
2703
2703
|
}) => {
|
|
2704
|
-
const d = !!r, f =
|
|
2704
|
+
const d = !!r, f = G(
|
|
2705
2705
|
Xe.helper,
|
|
2706
2706
|
d && Xe["helper--error"],
|
|
2707
2707
|
i && Xe["helper--disabled"],
|
|
@@ -2732,8 +2732,8 @@ export {
|
|
|
2732
2732
|
Pn as TextArea,
|
|
2733
2733
|
Fn as TextInput,
|
|
2734
2734
|
Bn as Typography,
|
|
2735
|
-
|
|
2735
|
+
Gr as enUS,
|
|
2736
2736
|
Dn as ruRU,
|
|
2737
|
-
|
|
2737
|
+
Zr as useConfig,
|
|
2738
2738
|
An as useLocale
|
|
2739
2739
|
};
|