urfu-ui-kit-react 0.0.27 → 0.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/urfu-ui-kit-react.js +716 -716
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createPortal as
|
|
3
|
-
var
|
|
4
|
-
function
|
|
1
|
+
import yt, { useState as ze } from "react";
|
|
2
|
+
import { createPortal as bt } from "react-dom";
|
|
3
|
+
var It = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
4
|
+
function xt(h) {
|
|
5
5
|
return h && h.__esModule && Object.prototype.hasOwnProperty.call(h, "default") ? h.default : h;
|
|
6
6
|
}
|
|
7
|
-
var
|
|
7
|
+
var Xe = { exports: {} }, Fe = {};
|
|
8
8
|
/**
|
|
9
9
|
* @license React
|
|
10
10
|
* react-jsx-runtime.production.min.js
|
|
@@ -14,21 +14,21 @@ var Je = { exports: {} }, Fe = {};
|
|
|
14
14
|
* This source code is licensed under the MIT license found in the
|
|
15
15
|
* LICENSE file in the root directory of this source tree.
|
|
16
16
|
*/
|
|
17
|
-
var
|
|
18
|
-
function
|
|
19
|
-
if (
|
|
20
|
-
|
|
21
|
-
var h =
|
|
22
|
-
function
|
|
23
|
-
var m, O = {},
|
|
24
|
-
$ !== void 0 && (
|
|
17
|
+
var ot;
|
|
18
|
+
function Lt() {
|
|
19
|
+
if (ot) return Fe;
|
|
20
|
+
ot = 1;
|
|
21
|
+
var h = yt, w = Symbol.for("react.element"), _ = Symbol.for("react.fragment"), v = Object.prototype.hasOwnProperty, c = h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, b = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
22
|
+
function x(D, T, $) {
|
|
23
|
+
var m, O = {}, P = null, A = null;
|
|
24
|
+
$ !== void 0 && (P = "" + $), T.key !== void 0 && (P = "" + T.key), T.ref !== void 0 && (A = T.ref);
|
|
25
25
|
for (m in T) v.call(T, m) && !b.hasOwnProperty(m) && (O[m] = T[m]);
|
|
26
26
|
if (D && D.defaultProps) for (m in T = D.defaultProps, T) O[m] === void 0 && (O[m] = T[m]);
|
|
27
|
-
return { $$typeof:
|
|
27
|
+
return { $$typeof: w, type: D, key: P, ref: A, props: O, _owner: c.current };
|
|
28
28
|
}
|
|
29
|
-
return Fe.Fragment = _, Fe.jsx =
|
|
29
|
+
return Fe.Fragment = _, Fe.jsx = x, Fe.jsxs = x, Fe;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
31
|
+
var Pe = {};
|
|
32
32
|
/**
|
|
33
33
|
* @license React
|
|
34
34
|
* react-jsx-runtime.development.js
|
|
@@ -38,61 +38,61 @@ var Ae = {};
|
|
|
38
38
|
* This source code is licensed under the MIT license found in the
|
|
39
39
|
* LICENSE file in the root directory of this source tree.
|
|
40
40
|
*/
|
|
41
|
-
var
|
|
42
|
-
function
|
|
43
|
-
return
|
|
44
|
-
var h =
|
|
45
|
-
function E(
|
|
46
|
-
if (
|
|
41
|
+
var lt;
|
|
42
|
+
function Vt() {
|
|
43
|
+
return lt || (lt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
+
var h = yt, w = Symbol.for("react.element"), _ = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), b = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), D = Symbol.for("react.context"), T = Symbol.for("react.forward_ref"), $ = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), O = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), V = Symbol.iterator, k = "@@iterator";
|
|
45
|
+
function E(r) {
|
|
46
|
+
if (r === null || typeof r != "object")
|
|
47
47
|
return null;
|
|
48
|
-
var y = V &&
|
|
48
|
+
var y = V && r[V] || r[k];
|
|
49
49
|
return typeof y == "function" ? y : null;
|
|
50
50
|
}
|
|
51
51
|
var B = h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
52
|
-
function I(
|
|
52
|
+
function I(r) {
|
|
53
53
|
{
|
|
54
54
|
for (var y = arguments.length, M = new Array(y > 1 ? y - 1 : 0), X = 1; X < y; X++)
|
|
55
55
|
M[X - 1] = arguments[X];
|
|
56
|
-
F("error",
|
|
56
|
+
F("error", r, M);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
function F(
|
|
59
|
+
function F(r, y, M) {
|
|
60
60
|
{
|
|
61
61
|
var X = B.ReactDebugCurrentFrame, ae = X.getStackAddendum();
|
|
62
62
|
ae !== "" && (y += "%s", M = M.concat([ae]));
|
|
63
63
|
var de = M.map(function(ne) {
|
|
64
64
|
return String(ne);
|
|
65
65
|
});
|
|
66
|
-
de.unshift("Warning: " + y), Function.prototype.apply.call(console[
|
|
66
|
+
de.unshift("Warning: " + y), Function.prototype.apply.call(console[r], console, de);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
var Y = !1, f = !1, se = !1, ee = !1, te = !1, fe;
|
|
70
70
|
fe = Symbol.for("react.module.reference");
|
|
71
|
-
function Ce(
|
|
72
|
-
return !!(typeof
|
|
71
|
+
function Ce(r) {
|
|
72
|
+
return !!(typeof r == "string" || typeof r == "function" || r === v || r === b || te || r === c || r === $ || r === m || ee || r === A || Y || f || se || typeof r == "object" && r !== null && (r.$$typeof === P || r.$$typeof === O || r.$$typeof === x || r.$$typeof === D || r.$$typeof === T || // 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
|
-
|
|
76
|
+
r.$$typeof === fe || r.getModuleId !== void 0));
|
|
77
77
|
}
|
|
78
|
-
function he(
|
|
79
|
-
var X =
|
|
78
|
+
function he(r, y, M) {
|
|
79
|
+
var X = r.displayName;
|
|
80
80
|
if (X)
|
|
81
81
|
return X;
|
|
82
82
|
var ae = y.displayName || y.name || "";
|
|
83
83
|
return ae !== "" ? M + "(" + ae + ")" : M;
|
|
84
84
|
}
|
|
85
|
-
function De(
|
|
86
|
-
return
|
|
85
|
+
function De(r) {
|
|
86
|
+
return r.displayName || "Context";
|
|
87
87
|
}
|
|
88
|
-
function me(
|
|
89
|
-
if (
|
|
88
|
+
function me(r) {
|
|
89
|
+
if (r == null)
|
|
90
90
|
return null;
|
|
91
|
-
if (typeof
|
|
92
|
-
return
|
|
93
|
-
if (typeof
|
|
94
|
-
return
|
|
95
|
-
switch (
|
|
91
|
+
if (typeof r.tag == "number" && I("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof r == "function")
|
|
92
|
+
return r.displayName || r.name || null;
|
|
93
|
+
if (typeof r == "string")
|
|
94
|
+
return r;
|
|
95
|
+
switch (r) {
|
|
96
96
|
case v:
|
|
97
97
|
return "Fragment";
|
|
98
98
|
case _:
|
|
@@ -106,21 +106,21 @@ function Lt() {
|
|
|
106
106
|
case m:
|
|
107
107
|
return "SuspenseList";
|
|
108
108
|
}
|
|
109
|
-
if (typeof
|
|
110
|
-
switch (
|
|
109
|
+
if (typeof r == "object")
|
|
110
|
+
switch (r.$$typeof) {
|
|
111
111
|
case D:
|
|
112
|
-
var y =
|
|
112
|
+
var y = r;
|
|
113
113
|
return De(y) + ".Consumer";
|
|
114
|
-
case
|
|
115
|
-
var M =
|
|
114
|
+
case x:
|
|
115
|
+
var M = r;
|
|
116
116
|
return De(M._context) + ".Provider";
|
|
117
117
|
case T:
|
|
118
|
-
return he(
|
|
118
|
+
return he(r, r.render, "ForwardRef");
|
|
119
119
|
case O:
|
|
120
|
-
var X =
|
|
121
|
-
return X !== null ? X : me(
|
|
122
|
-
case
|
|
123
|
-
var ae =
|
|
120
|
+
var X = r.displayName || null;
|
|
121
|
+
return X !== null ? X : me(r.type) || "Memo";
|
|
122
|
+
case P: {
|
|
123
|
+
var ae = r, de = ae._payload, ne = ae._init;
|
|
124
124
|
try {
|
|
125
125
|
return me(ne(de));
|
|
126
126
|
} catch {
|
|
@@ -138,20 +138,20 @@ function Lt() {
|
|
|
138
138
|
{
|
|
139
139
|
if (L === 0) {
|
|
140
140
|
U = console.log, z = console.info, q = console.warn, ce = console.error, g = console.group, j = console.groupCollapsed, W = console.groupEnd;
|
|
141
|
-
var
|
|
141
|
+
var r = {
|
|
142
142
|
configurable: !0,
|
|
143
143
|
enumerable: !0,
|
|
144
144
|
value: Z,
|
|
145
145
|
writable: !0
|
|
146
146
|
};
|
|
147
147
|
Object.defineProperties(console, {
|
|
148
|
-
info:
|
|
149
|
-
log:
|
|
150
|
-
warn:
|
|
151
|
-
error:
|
|
152
|
-
group:
|
|
153
|
-
groupCollapsed:
|
|
154
|
-
groupEnd:
|
|
148
|
+
info: r,
|
|
149
|
+
log: r,
|
|
150
|
+
warn: r,
|
|
151
|
+
error: r,
|
|
152
|
+
group: r,
|
|
153
|
+
groupCollapsed: r,
|
|
154
|
+
groupEnd: r
|
|
155
155
|
});
|
|
156
156
|
}
|
|
157
157
|
L++;
|
|
@@ -160,31 +160,31 @@ function Lt() {
|
|
|
160
160
|
function K() {
|
|
161
161
|
{
|
|
162
162
|
if (L--, L === 0) {
|
|
163
|
-
var
|
|
163
|
+
var r = {
|
|
164
164
|
configurable: !0,
|
|
165
165
|
enumerable: !0,
|
|
166
166
|
writable: !0
|
|
167
167
|
};
|
|
168
168
|
Object.defineProperties(console, {
|
|
169
|
-
log: ue({},
|
|
169
|
+
log: ue({}, r, {
|
|
170
170
|
value: U
|
|
171
171
|
}),
|
|
172
|
-
info: ue({},
|
|
172
|
+
info: ue({}, r, {
|
|
173
173
|
value: z
|
|
174
174
|
}),
|
|
175
|
-
warn: ue({},
|
|
175
|
+
warn: ue({}, r, {
|
|
176
176
|
value: q
|
|
177
177
|
}),
|
|
178
|
-
error: ue({},
|
|
178
|
+
error: ue({}, r, {
|
|
179
179
|
value: ce
|
|
180
180
|
}),
|
|
181
|
-
group: ue({},
|
|
181
|
+
group: ue({}, r, {
|
|
182
182
|
value: g
|
|
183
183
|
}),
|
|
184
|
-
groupCollapsed: ue({},
|
|
184
|
+
groupCollapsed: ue({}, r, {
|
|
185
185
|
value: j
|
|
186
186
|
}),
|
|
187
|
-
groupEnd: ue({},
|
|
187
|
+
groupEnd: ue({}, r, {
|
|
188
188
|
value: W
|
|
189
189
|
})
|
|
190
190
|
});
|
|
@@ -193,7 +193,7 @@ function Lt() {
|
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
var G = B.ReactCurrentDispatcher, Q;
|
|
196
|
-
function J(
|
|
196
|
+
function J(r, y, M) {
|
|
197
197
|
{
|
|
198
198
|
if (Q === void 0)
|
|
199
199
|
try {
|
|
@@ -203,7 +203,7 @@ function Lt() {
|
|
|
203
203
|
Q = X && X[1] || "";
|
|
204
204
|
}
|
|
205
205
|
return `
|
|
206
|
-
` + Q +
|
|
206
|
+
` + Q + r;
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
var ie = !1, u;
|
|
@@ -211,11 +211,11 @@ function Lt() {
|
|
|
211
211
|
var e = typeof WeakMap == "function" ? WeakMap : Map;
|
|
212
212
|
u = new e();
|
|
213
213
|
}
|
|
214
|
-
function t(
|
|
215
|
-
if (!
|
|
214
|
+
function t(r, y) {
|
|
215
|
+
if (!r || ie)
|
|
216
216
|
return "";
|
|
217
217
|
{
|
|
218
|
-
var M = u.get(
|
|
218
|
+
var M = u.get(r);
|
|
219
219
|
if (M !== void 0)
|
|
220
220
|
return M;
|
|
221
221
|
}
|
|
@@ -240,14 +240,14 @@ function Lt() {
|
|
|
240
240
|
} catch (we) {
|
|
241
241
|
X = we;
|
|
242
242
|
}
|
|
243
|
-
Reflect.construct(
|
|
243
|
+
Reflect.construct(r, [], ne);
|
|
244
244
|
} else {
|
|
245
245
|
try {
|
|
246
246
|
ne.call();
|
|
247
247
|
} catch (we) {
|
|
248
248
|
X = we;
|
|
249
249
|
}
|
|
250
|
-
|
|
250
|
+
r.call(ne.prototype);
|
|
251
251
|
}
|
|
252
252
|
} else {
|
|
253
253
|
try {
|
|
@@ -255,7 +255,7 @@ function Lt() {
|
|
|
255
255
|
} catch (we) {
|
|
256
256
|
X = we;
|
|
257
257
|
}
|
|
258
|
-
|
|
258
|
+
r();
|
|
259
259
|
}
|
|
260
260
|
} catch (we) {
|
|
261
261
|
if (we && X && typeof we.stack == "string") {
|
|
@@ -270,7 +270,7 @@ function Lt() {
|
|
|
270
270
|
if (ve--, ye--, ye < 0 || re[ve] !== xe[ye]) {
|
|
271
271
|
var _e = `
|
|
272
272
|
` + re[ve].replace(" at new ", " at ");
|
|
273
|
-
return
|
|
273
|
+
return r.displayName && _e.includes("<anonymous>") && (_e = _e.replace("<anonymous>", r.displayName)), typeof r == "function" && u.set(r, _e), _e;
|
|
274
274
|
}
|
|
275
275
|
while (ve >= 1 && ye >= 0);
|
|
276
276
|
break;
|
|
@@ -279,37 +279,37 @@ function Lt() {
|
|
|
279
279
|
} finally {
|
|
280
280
|
ie = !1, G.current = de, K(), Error.prepareStackTrace = ae;
|
|
281
281
|
}
|
|
282
|
-
var Re =
|
|
283
|
-
return typeof
|
|
282
|
+
var Re = r ? r.displayName || r.name : "", Me = Re ? J(Re) : "";
|
|
283
|
+
return typeof r == "function" && u.set(r, Me), Me;
|
|
284
284
|
}
|
|
285
|
-
function s(
|
|
286
|
-
return t(
|
|
285
|
+
function s(r, y, M) {
|
|
286
|
+
return t(r, !1);
|
|
287
287
|
}
|
|
288
|
-
function l(
|
|
289
|
-
var y =
|
|
288
|
+
function l(r) {
|
|
289
|
+
var y = r.prototype;
|
|
290
290
|
return !!(y && y.isReactComponent);
|
|
291
291
|
}
|
|
292
|
-
function a(
|
|
293
|
-
if (
|
|
292
|
+
function a(r, y, M) {
|
|
293
|
+
if (r == null)
|
|
294
294
|
return "";
|
|
295
|
-
if (typeof
|
|
296
|
-
return t(
|
|
297
|
-
if (typeof
|
|
298
|
-
return J(
|
|
299
|
-
switch (
|
|
295
|
+
if (typeof r == "function")
|
|
296
|
+
return t(r, l(r));
|
|
297
|
+
if (typeof r == "string")
|
|
298
|
+
return J(r);
|
|
299
|
+
switch (r) {
|
|
300
300
|
case $:
|
|
301
301
|
return J("Suspense");
|
|
302
302
|
case m:
|
|
303
303
|
return J("SuspenseList");
|
|
304
304
|
}
|
|
305
|
-
if (typeof
|
|
306
|
-
switch (
|
|
305
|
+
if (typeof r == "object")
|
|
306
|
+
switch (r.$$typeof) {
|
|
307
307
|
case T:
|
|
308
|
-
return s(
|
|
308
|
+
return s(r.render);
|
|
309
309
|
case O:
|
|
310
|
-
return a(
|
|
311
|
-
case
|
|
312
|
-
var X =
|
|
310
|
+
return a(r.type, y, M);
|
|
311
|
+
case P: {
|
|
312
|
+
var X = r, ae = X._payload, de = X._init;
|
|
313
313
|
try {
|
|
314
314
|
return a(de(ae), y, M);
|
|
315
315
|
} catch {
|
|
@@ -319,25 +319,25 @@ function Lt() {
|
|
|
319
319
|
return "";
|
|
320
320
|
}
|
|
321
321
|
var i = Object.prototype.hasOwnProperty, d = {}, p = B.ReactDebugCurrentFrame;
|
|
322
|
-
function C(
|
|
323
|
-
if (
|
|
324
|
-
var y =
|
|
322
|
+
function C(r) {
|
|
323
|
+
if (r) {
|
|
324
|
+
var y = r._owner, M = a(r.type, r._source, y ? y.type : null);
|
|
325
325
|
p.setExtraStackFrame(M);
|
|
326
326
|
} else
|
|
327
327
|
p.setExtraStackFrame(null);
|
|
328
328
|
}
|
|
329
|
-
function R(
|
|
329
|
+
function R(r, y, M, X, ae) {
|
|
330
330
|
{
|
|
331
331
|
var de = Function.call.bind(i);
|
|
332
|
-
for (var ne in
|
|
333
|
-
if (de(
|
|
332
|
+
for (var ne in r)
|
|
333
|
+
if (de(r, ne)) {
|
|
334
334
|
var re = void 0;
|
|
335
335
|
try {
|
|
336
|
-
if (typeof
|
|
337
|
-
var xe = Error((X || "React class") + ": " + M + " type `" + ne + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof
|
|
336
|
+
if (typeof r[ne] != "function") {
|
|
337
|
+
var xe = Error((X || "React class") + ": " + M + " type `" + ne + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[ne] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
338
338
|
throw xe.name = "Invariant Violation", xe;
|
|
339
339
|
}
|
|
340
|
-
re =
|
|
340
|
+
re = r[ne](y, ne, X, M, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
341
|
} catch (ve) {
|
|
342
342
|
re = ve;
|
|
343
343
|
}
|
|
@@ -346,28 +346,28 @@ function Lt() {
|
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
var N = Array.isArray;
|
|
349
|
-
function H(
|
|
350
|
-
return N(
|
|
349
|
+
function H(r) {
|
|
350
|
+
return N(r);
|
|
351
351
|
}
|
|
352
|
-
function pe(
|
|
352
|
+
function pe(r) {
|
|
353
353
|
{
|
|
354
|
-
var y = typeof Symbol == "function" && Symbol.toStringTag, M = y &&
|
|
354
|
+
var y = typeof Symbol == "function" && Symbol.toStringTag, M = y && r[Symbol.toStringTag] || r.constructor.name || "Object";
|
|
355
355
|
return M;
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
function be(
|
|
358
|
+
function be(r) {
|
|
359
359
|
try {
|
|
360
|
-
return ge(
|
|
360
|
+
return ge(r), !1;
|
|
361
361
|
} catch {
|
|
362
362
|
return !0;
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
function ge(
|
|
366
|
-
return "" +
|
|
365
|
+
function ge(r) {
|
|
366
|
+
return "" + r;
|
|
367
367
|
}
|
|
368
|
-
function Ee(
|
|
369
|
-
if (be(
|
|
370
|
-
return I("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", pe(
|
|
368
|
+
function Ee(r) {
|
|
369
|
+
if (be(r))
|
|
370
|
+
return I("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", pe(r)), ge(r);
|
|
371
371
|
}
|
|
372
372
|
var je = B.ReactCurrentOwner, $e = {
|
|
373
373
|
key: !0,
|
|
@@ -376,56 +376,56 @@ function Lt() {
|
|
|
376
376
|
__source: !0
|
|
377
377
|
}, Se, Te, ke;
|
|
378
378
|
ke = {};
|
|
379
|
-
function Oe(
|
|
380
|
-
if (i.call(
|
|
381
|
-
var y = Object.getOwnPropertyDescriptor(
|
|
379
|
+
function Oe(r) {
|
|
380
|
+
if (i.call(r, "ref")) {
|
|
381
|
+
var y = Object.getOwnPropertyDescriptor(r, "ref").get;
|
|
382
382
|
if (y && y.isReactWarning)
|
|
383
383
|
return !1;
|
|
384
384
|
}
|
|
385
|
-
return
|
|
385
|
+
return r.ref !== void 0;
|
|
386
386
|
}
|
|
387
|
-
function Ie(
|
|
388
|
-
if (i.call(
|
|
389
|
-
var y = Object.getOwnPropertyDescriptor(
|
|
387
|
+
function Ie(r) {
|
|
388
|
+
if (i.call(r, "key")) {
|
|
389
|
+
var y = Object.getOwnPropertyDescriptor(r, "key").get;
|
|
390
390
|
if (y && y.isReactWarning)
|
|
391
391
|
return !1;
|
|
392
392
|
}
|
|
393
|
-
return
|
|
393
|
+
return r.key !== void 0;
|
|
394
394
|
}
|
|
395
|
-
function Le(
|
|
396
|
-
if (typeof
|
|
395
|
+
function Le(r, y) {
|
|
396
|
+
if (typeof r.ref == "string" && je.current && y && je.current.stateNode !== y) {
|
|
397
397
|
var M = me(je.current.type);
|
|
398
|
-
ke[M] || (I('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', me(je.current.type),
|
|
398
|
+
ke[M] || (I('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', me(je.current.type), r.ref), ke[M] = !0);
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
function
|
|
401
|
+
function _t(r, y) {
|
|
402
402
|
{
|
|
403
403
|
var M = function() {
|
|
404
404
|
Se || (Se = !0, I("%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)", y));
|
|
405
405
|
};
|
|
406
|
-
M.isReactWarning = !0, Object.defineProperty(
|
|
406
|
+
M.isReactWarning = !0, Object.defineProperty(r, "key", {
|
|
407
407
|
get: M,
|
|
408
408
|
configurable: !0
|
|
409
409
|
});
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
|
-
function
|
|
412
|
+
function jt(r, y) {
|
|
413
413
|
{
|
|
414
414
|
var M = function() {
|
|
415
415
|
Te || (Te = !0, I("%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)", y));
|
|
416
416
|
};
|
|
417
|
-
M.isReactWarning = !0, Object.defineProperty(
|
|
417
|
+
M.isReactWarning = !0, Object.defineProperty(r, "ref", {
|
|
418
418
|
get: M,
|
|
419
419
|
configurable: !0
|
|
420
420
|
});
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
|
-
var
|
|
423
|
+
var St = function(r, y, M, X, ae, de, ne) {
|
|
424
424
|
var re = {
|
|
425
425
|
// This tag allows us to uniquely identify this as a React Element
|
|
426
|
-
$$typeof:
|
|
426
|
+
$$typeof: w,
|
|
427
427
|
// Built-in properties that belong on the element
|
|
428
|
-
type:
|
|
428
|
+
type: r,
|
|
429
429
|
key: y,
|
|
430
430
|
ref: M,
|
|
431
431
|
props: ne,
|
|
@@ -449,58 +449,58 @@ function Lt() {
|
|
|
449
449
|
value: ae
|
|
450
450
|
}), Object.freeze && (Object.freeze(re.props), Object.freeze(re)), re;
|
|
451
451
|
};
|
|
452
|
-
function
|
|
452
|
+
function Tt(r, y, M, X, ae) {
|
|
453
453
|
{
|
|
454
454
|
var de, ne = {}, re = null, xe = null;
|
|
455
455
|
M !== void 0 && (Ee(M), re = "" + M), Ie(y) && (Ee(y.key), re = "" + y.key), Oe(y) && (xe = y.ref, Le(y, ae));
|
|
456
456
|
for (de in y)
|
|
457
457
|
i.call(y, de) && !$e.hasOwnProperty(de) && (ne[de] = y[de]);
|
|
458
|
-
if (
|
|
459
|
-
var ve =
|
|
458
|
+
if (r && r.defaultProps) {
|
|
459
|
+
var ve = r.defaultProps;
|
|
460
460
|
for (de in ve)
|
|
461
461
|
ne[de] === void 0 && (ne[de] = ve[de]);
|
|
462
462
|
}
|
|
463
463
|
if (re || xe) {
|
|
464
|
-
var ye = typeof
|
|
465
|
-
re &&
|
|
464
|
+
var ye = typeof r == "function" ? r.displayName || r.name || "Unknown" : r;
|
|
465
|
+
re && _t(ne, ye), xe && jt(ne, ye);
|
|
466
466
|
}
|
|
467
|
-
return
|
|
467
|
+
return St(r, re, xe, ae, X, je.current, ne);
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
var Ve = B.ReactCurrentOwner,
|
|
471
|
-
function Ne(
|
|
472
|
-
if (
|
|
473
|
-
var y =
|
|
474
|
-
|
|
470
|
+
var Ve = B.ReactCurrentOwner, et = B.ReactDebugCurrentFrame;
|
|
471
|
+
function Ne(r) {
|
|
472
|
+
if (r) {
|
|
473
|
+
var y = r._owner, M = a(r.type, r._source, y ? y.type : null);
|
|
474
|
+
et.setExtraStackFrame(M);
|
|
475
475
|
} else
|
|
476
|
-
|
|
476
|
+
et.setExtraStackFrame(null);
|
|
477
477
|
}
|
|
478
478
|
var He;
|
|
479
479
|
He = !1;
|
|
480
|
-
function Be(
|
|
481
|
-
return typeof
|
|
480
|
+
function Be(r) {
|
|
481
|
+
return typeof r == "object" && r !== null && r.$$typeof === w;
|
|
482
482
|
}
|
|
483
|
-
function
|
|
483
|
+
function tt() {
|
|
484
484
|
{
|
|
485
485
|
if (Ve.current) {
|
|
486
|
-
var
|
|
487
|
-
if (
|
|
486
|
+
var r = me(Ve.current.type);
|
|
487
|
+
if (r)
|
|
488
488
|
return `
|
|
489
489
|
|
|
490
|
-
Check the render method of \`` +
|
|
490
|
+
Check the render method of \`` + r + "`.";
|
|
491
491
|
}
|
|
492
492
|
return "";
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function $t(r) {
|
|
496
496
|
return "";
|
|
497
497
|
}
|
|
498
|
-
var
|
|
499
|
-
function
|
|
498
|
+
var st = {};
|
|
499
|
+
function Et(r) {
|
|
500
500
|
{
|
|
501
|
-
var y =
|
|
501
|
+
var y = tt();
|
|
502
502
|
if (!y) {
|
|
503
|
-
var M = typeof
|
|
503
|
+
var M = typeof r == "string" ? r : r.displayName || r.name;
|
|
504
504
|
M && (y = `
|
|
505
505
|
|
|
506
506
|
Check the top-level render call using <` + M + ">.");
|
|
@@ -508,41 +508,41 @@ Check the top-level render call using <` + M + ">.");
|
|
|
508
508
|
return y;
|
|
509
509
|
}
|
|
510
510
|
}
|
|
511
|
-
function
|
|
511
|
+
function it(r, y) {
|
|
512
512
|
{
|
|
513
|
-
if (!
|
|
513
|
+
if (!r._store || r._store.validated || r.key != null)
|
|
514
514
|
return;
|
|
515
|
-
|
|
516
|
-
var M =
|
|
517
|
-
if (
|
|
515
|
+
r._store.validated = !0;
|
|
516
|
+
var M = Et(y);
|
|
517
|
+
if (st[M])
|
|
518
518
|
return;
|
|
519
|
-
|
|
519
|
+
st[M] = !0;
|
|
520
520
|
var X = "";
|
|
521
|
-
|
|
521
|
+
r && r._owner && r._owner !== Ve.current && (X = " It was passed a child from " + me(r._owner.type) + "."), Ne(r), I('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', M, X), Ne(null);
|
|
522
522
|
}
|
|
523
523
|
}
|
|
524
|
-
function
|
|
524
|
+
function rt(r, y) {
|
|
525
525
|
{
|
|
526
|
-
if (typeof
|
|
526
|
+
if (typeof r != "object")
|
|
527
527
|
return;
|
|
528
|
-
if (H(
|
|
529
|
-
for (var M = 0; M <
|
|
530
|
-
var X =
|
|
531
|
-
Be(X) &&
|
|
528
|
+
if (H(r))
|
|
529
|
+
for (var M = 0; M < r.length; M++) {
|
|
530
|
+
var X = r[M];
|
|
531
|
+
Be(X) && it(X, y);
|
|
532
532
|
}
|
|
533
|
-
else if (Be(
|
|
534
|
-
|
|
535
|
-
else if (
|
|
536
|
-
var ae = E(
|
|
537
|
-
if (typeof ae == "function" && ae !==
|
|
538
|
-
for (var de = ae.call(
|
|
539
|
-
Be(ne.value) &&
|
|
533
|
+
else if (Be(r))
|
|
534
|
+
r._store && (r._store.validated = !0);
|
|
535
|
+
else if (r) {
|
|
536
|
+
var ae = E(r);
|
|
537
|
+
if (typeof ae == "function" && ae !== r.entries)
|
|
538
|
+
for (var de = ae.call(r), ne; !(ne = de.next()).done; )
|
|
539
|
+
Be(ne.value) && it(ne.value, y);
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
|
-
function
|
|
543
|
+
function kt(r) {
|
|
544
544
|
{
|
|
545
|
-
var y =
|
|
545
|
+
var y = r.type;
|
|
546
546
|
if (y == null || typeof y == "string")
|
|
547
547
|
return;
|
|
548
548
|
var M;
|
|
@@ -556,7 +556,7 @@ Check the top-level render call using <` + M + ">.");
|
|
|
556
556
|
return;
|
|
557
557
|
if (M) {
|
|
558
558
|
var X = me(y);
|
|
559
|
-
R(M,
|
|
559
|
+
R(M, r.props, "prop", X, r);
|
|
560
560
|
} else if (y.PropTypes !== void 0 && !He) {
|
|
561
561
|
He = !0;
|
|
562
562
|
var ae = me(y);
|
|
@@ -565,31 +565,31 @@ Check the top-level render call using <` + M + ">.");
|
|
|
565
565
|
typeof y.getDefaultProps == "function" && !y.getDefaultProps.isReactClassApproved && I("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
|
-
function
|
|
568
|
+
function Mt(r) {
|
|
569
569
|
{
|
|
570
|
-
for (var y = Object.keys(
|
|
570
|
+
for (var y = Object.keys(r.props), M = 0; M < y.length; M++) {
|
|
571
571
|
var X = y[M];
|
|
572
572
|
if (X !== "children" && X !== "key") {
|
|
573
|
-
Ne(
|
|
573
|
+
Ne(r), I("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", X), Ne(null);
|
|
574
574
|
break;
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
|
-
|
|
577
|
+
r.ref !== null && (Ne(r), I("Invalid attribute `ref` supplied to `React.Fragment`."), Ne(null));
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
|
-
var
|
|
581
|
-
function
|
|
580
|
+
var nt = {};
|
|
581
|
+
function at(r, y, M, X, ae, de) {
|
|
582
582
|
{
|
|
583
|
-
var ne = Ce(
|
|
583
|
+
var ne = Ce(r);
|
|
584
584
|
if (!ne) {
|
|
585
585
|
var re = "";
|
|
586
|
-
(
|
|
587
|
-
var xe =
|
|
588
|
-
xe ? re += xe : re +=
|
|
586
|
+
(r === void 0 || typeof r == "object" && r !== null && Object.keys(r).length === 0) && (re += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
587
|
+
var xe = $t();
|
|
588
|
+
xe ? re += xe : re += tt();
|
|
589
589
|
var ve;
|
|
590
|
-
|
|
590
|
+
r === null ? ve = "null" : H(r) ? ve = "array" : r !== void 0 && r.$$typeof === w ? (ve = "<" + (me(r.type) || "Unknown") + " />", re = " Did you accidentally export a JSX literal instead of a component?") : ve = typeof r, I("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ve, re);
|
|
591
591
|
}
|
|
592
|
-
var ye =
|
|
592
|
+
var ye = Tt(r, y, M, ae, de);
|
|
593
593
|
if (ye == null)
|
|
594
594
|
return ye;
|
|
595
595
|
if (ne) {
|
|
@@ -598,42 +598,42 @@ Check the top-level render call using <` + M + ">.");
|
|
|
598
598
|
if (X)
|
|
599
599
|
if (H(_e)) {
|
|
600
600
|
for (var Re = 0; Re < _e.length; Re++)
|
|
601
|
-
|
|
601
|
+
rt(_e[Re], r);
|
|
602
602
|
Object.freeze && Object.freeze(_e);
|
|
603
603
|
} else
|
|
604
604
|
I("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
605
605
|
else
|
|
606
|
-
|
|
606
|
+
rt(_e, r);
|
|
607
607
|
}
|
|
608
608
|
if (i.call(y, "key")) {
|
|
609
|
-
var Me = me(
|
|
609
|
+
var Me = me(r), we = Object.keys(y).filter(function(At) {
|
|
610
610
|
return At !== "key";
|
|
611
611
|
}), Ye = we.length > 0 ? "{key: someKey, " + we.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
612
|
-
if (!
|
|
613
|
-
var
|
|
612
|
+
if (!nt[Me + Ye]) {
|
|
613
|
+
var Pt = we.length > 0 ? "{" + we.join(": ..., ") + ": ...}" : "{}";
|
|
614
614
|
I(`A props object containing a "key" prop is being spread into JSX:
|
|
615
615
|
let props = %s;
|
|
616
616
|
<%s {...props} />
|
|
617
617
|
React keys must be passed directly to JSX without using spread:
|
|
618
618
|
let props = %s;
|
|
619
|
-
<%s key={someKey} {...props} />`, Ye, Me,
|
|
619
|
+
<%s key={someKey} {...props} />`, Ye, Me, Pt, Me), nt[Me + Ye] = !0;
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
|
-
return
|
|
622
|
+
return r === v ? Mt(ye) : kt(ye), ye;
|
|
623
623
|
}
|
|
624
624
|
}
|
|
625
|
-
function
|
|
626
|
-
return
|
|
625
|
+
function Ot(r, y, M) {
|
|
626
|
+
return at(r, y, M, !0);
|
|
627
627
|
}
|
|
628
|
-
function
|
|
629
|
-
return
|
|
628
|
+
function Nt(r, y, M) {
|
|
629
|
+
return at(r, y, M, !1);
|
|
630
630
|
}
|
|
631
|
-
var
|
|
632
|
-
|
|
633
|
-
}()),
|
|
631
|
+
var Rt = Nt, Ft = Ot;
|
|
632
|
+
Pe.Fragment = v, Pe.jsx = Rt, Pe.jsxs = Ft;
|
|
633
|
+
}()), Pe;
|
|
634
634
|
}
|
|
635
|
-
process.env.NODE_ENV === "production" ?
|
|
636
|
-
var
|
|
635
|
+
process.env.NODE_ENV === "production" ? Xe.exports = Lt() : Xe.exports = Vt();
|
|
636
|
+
var n = Xe.exports, Ze = { exports: {} }, Ae = { exports: {} }, oe = {};
|
|
637
637
|
/** @license React v16.13.1
|
|
638
638
|
* react-is.production.min.js
|
|
639
639
|
*
|
|
@@ -642,16 +642,16 @@ var r = Je.exports, Xe = { exports: {} }, Pe = { exports: {} }, oe = {};
|
|
|
642
642
|
* This source code is licensed under the MIT license found in the
|
|
643
643
|
* LICENSE file in the root directory of this source tree.
|
|
644
644
|
*/
|
|
645
|
-
var
|
|
646
|
-
function
|
|
647
|
-
if (
|
|
648
|
-
|
|
649
|
-
var h = typeof Symbol == "function" && Symbol.for,
|
|
645
|
+
var ct;
|
|
646
|
+
function Ht() {
|
|
647
|
+
if (ct) return oe;
|
|
648
|
+
ct = 1;
|
|
649
|
+
var h = typeof Symbol == "function" && Symbol.for, w = h ? Symbol.for("react.element") : 60103, _ = h ? Symbol.for("react.portal") : 60106, v = h ? Symbol.for("react.fragment") : 60107, c = h ? Symbol.for("react.strict_mode") : 60108, b = h ? Symbol.for("react.profiler") : 60114, x = h ? Symbol.for("react.provider") : 60109, D = h ? Symbol.for("react.context") : 60110, T = h ? Symbol.for("react.async_mode") : 60111, $ = h ? Symbol.for("react.concurrent_mode") : 60111, m = h ? Symbol.for("react.forward_ref") : 60112, O = h ? Symbol.for("react.suspense") : 60113, P = h ? Symbol.for("react.suspense_list") : 60120, A = h ? Symbol.for("react.memo") : 60115, V = h ? Symbol.for("react.lazy") : 60116, k = h ? Symbol.for("react.block") : 60121, E = h ? Symbol.for("react.fundamental") : 60117, B = h ? Symbol.for("react.responder") : 60118, I = h ? Symbol.for("react.scope") : 60119;
|
|
650
650
|
function F(f) {
|
|
651
651
|
if (typeof f == "object" && f !== null) {
|
|
652
652
|
var se = f.$$typeof;
|
|
653
653
|
switch (se) {
|
|
654
|
-
case
|
|
654
|
+
case w:
|
|
655
655
|
switch (f = f.type, f) {
|
|
656
656
|
case T:
|
|
657
657
|
case $:
|
|
@@ -665,8 +665,8 @@ function Vt() {
|
|
|
665
665
|
case D:
|
|
666
666
|
case m:
|
|
667
667
|
case V:
|
|
668
|
-
case
|
|
669
|
-
case
|
|
668
|
+
case A:
|
|
669
|
+
case x:
|
|
670
670
|
return f;
|
|
671
671
|
default:
|
|
672
672
|
return se;
|
|
@@ -680,14 +680,14 @@ function Vt() {
|
|
|
680
680
|
function Y(f) {
|
|
681
681
|
return F(f) === $;
|
|
682
682
|
}
|
|
683
|
-
return oe.AsyncMode = T, oe.ConcurrentMode = $, oe.ContextConsumer = D, oe.ContextProvider =
|
|
683
|
+
return oe.AsyncMode = T, oe.ConcurrentMode = $, oe.ContextConsumer = D, oe.ContextProvider = x, oe.Element = w, oe.ForwardRef = m, oe.Fragment = v, oe.Lazy = V, oe.Memo = A, oe.Portal = _, oe.Profiler = b, oe.StrictMode = c, oe.Suspense = O, oe.isAsyncMode = function(f) {
|
|
684
684
|
return Y(f) || F(f) === T;
|
|
685
685
|
}, oe.isConcurrentMode = Y, oe.isContextConsumer = function(f) {
|
|
686
686
|
return F(f) === D;
|
|
687
687
|
}, oe.isContextProvider = function(f) {
|
|
688
|
-
return F(f) ===
|
|
688
|
+
return F(f) === x;
|
|
689
689
|
}, oe.isElement = function(f) {
|
|
690
|
-
return typeof f == "object" && f !== null && f.$$typeof ===
|
|
690
|
+
return typeof f == "object" && f !== null && f.$$typeof === w;
|
|
691
691
|
}, oe.isForwardRef = function(f) {
|
|
692
692
|
return F(f) === m;
|
|
693
693
|
}, oe.isFragment = function(f) {
|
|
@@ -695,7 +695,7 @@ function Vt() {
|
|
|
695
695
|
}, oe.isLazy = function(f) {
|
|
696
696
|
return F(f) === V;
|
|
697
697
|
}, oe.isMemo = function(f) {
|
|
698
|
-
return F(f) ===
|
|
698
|
+
return F(f) === A;
|
|
699
699
|
}, oe.isPortal = function(f) {
|
|
700
700
|
return F(f) === _;
|
|
701
701
|
}, oe.isProfiler = function(f) {
|
|
@@ -705,7 +705,7 @@ function Vt() {
|
|
|
705
705
|
}, oe.isSuspense = function(f) {
|
|
706
706
|
return F(f) === O;
|
|
707
707
|
}, oe.isValidElementType = function(f) {
|
|
708
|
-
return typeof f == "string" || typeof f == "function" || f === v || f === $ || f === b || f === c || f === O || f ===
|
|
708
|
+
return typeof f == "string" || typeof f == "function" || f === v || f === $ || f === b || f === c || f === O || f === P || typeof f == "object" && f !== null && (f.$$typeof === V || f.$$typeof === A || f.$$typeof === x || f.$$typeof === D || f.$$typeof === m || f.$$typeof === E || f.$$typeof === B || f.$$typeof === I || f.$$typeof === k);
|
|
709
709
|
}, oe.typeOf = F, oe;
|
|
710
710
|
}
|
|
711
711
|
var le = {};
|
|
@@ -717,19 +717,19 @@ var le = {};
|
|
|
717
717
|
* This source code is licensed under the MIT license found in the
|
|
718
718
|
* LICENSE file in the root directory of this source tree.
|
|
719
719
|
*/
|
|
720
|
-
var
|
|
721
|
-
function
|
|
722
|
-
return
|
|
723
|
-
var h = typeof Symbol == "function" && Symbol.for,
|
|
720
|
+
var ut;
|
|
721
|
+
function Bt() {
|
|
722
|
+
return ut || (ut = 1, process.env.NODE_ENV !== "production" && function() {
|
|
723
|
+
var h = typeof Symbol == "function" && Symbol.for, w = h ? Symbol.for("react.element") : 60103, _ = h ? Symbol.for("react.portal") : 60106, v = h ? Symbol.for("react.fragment") : 60107, c = h ? Symbol.for("react.strict_mode") : 60108, b = h ? Symbol.for("react.profiler") : 60114, x = h ? Symbol.for("react.provider") : 60109, D = h ? Symbol.for("react.context") : 60110, T = h ? Symbol.for("react.async_mode") : 60111, $ = h ? Symbol.for("react.concurrent_mode") : 60111, m = h ? Symbol.for("react.forward_ref") : 60112, O = h ? Symbol.for("react.suspense") : 60113, P = h ? Symbol.for("react.suspense_list") : 60120, A = h ? Symbol.for("react.memo") : 60115, V = h ? Symbol.for("react.lazy") : 60116, k = h ? Symbol.for("react.block") : 60121, E = h ? Symbol.for("react.fundamental") : 60117, B = h ? Symbol.for("react.responder") : 60118, I = h ? Symbol.for("react.scope") : 60119;
|
|
724
724
|
function F(t) {
|
|
725
725
|
return typeof t == "string" || typeof t == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
726
|
-
t === v || t === $ || t === b || t === c || t === O || t ===
|
|
726
|
+
t === v || t === $ || t === b || t === c || t === O || t === P || typeof t == "object" && t !== null && (t.$$typeof === V || t.$$typeof === A || t.$$typeof === x || t.$$typeof === D || t.$$typeof === m || t.$$typeof === E || t.$$typeof === B || t.$$typeof === I || t.$$typeof === k);
|
|
727
727
|
}
|
|
728
728
|
function Y(t) {
|
|
729
729
|
if (typeof t == "object" && t !== null) {
|
|
730
730
|
var s = t.$$typeof;
|
|
731
731
|
switch (s) {
|
|
732
|
-
case
|
|
732
|
+
case w:
|
|
733
733
|
var l = t.type;
|
|
734
734
|
switch (l) {
|
|
735
735
|
case T:
|
|
@@ -745,8 +745,8 @@ function Ht() {
|
|
|
745
745
|
case D:
|
|
746
746
|
case m:
|
|
747
747
|
case V:
|
|
748
|
-
case
|
|
749
|
-
case
|
|
748
|
+
case A:
|
|
749
|
+
case x:
|
|
750
750
|
return a;
|
|
751
751
|
default:
|
|
752
752
|
return s;
|
|
@@ -757,7 +757,7 @@ function Ht() {
|
|
|
757
757
|
}
|
|
758
758
|
}
|
|
759
759
|
}
|
|
760
|
-
var f = T, se = $, ee = D, te =
|
|
760
|
+
var f = T, se = $, ee = D, te = x, fe = w, Ce = m, he = v, De = V, me = A, ue = _, L = b, U = c, z = O, q = !1;
|
|
761
761
|
function ce(t) {
|
|
762
762
|
return q || (q = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), g(t) || Y(t) === T;
|
|
763
763
|
}
|
|
@@ -768,10 +768,10 @@ function Ht() {
|
|
|
768
768
|
return Y(t) === D;
|
|
769
769
|
}
|
|
770
770
|
function W(t) {
|
|
771
|
-
return Y(t) ===
|
|
771
|
+
return Y(t) === x;
|
|
772
772
|
}
|
|
773
773
|
function Z(t) {
|
|
774
|
-
return typeof t == "object" && t !== null && t.$$typeof ===
|
|
774
|
+
return typeof t == "object" && t !== null && t.$$typeof === w;
|
|
775
775
|
}
|
|
776
776
|
function S(t) {
|
|
777
777
|
return Y(t) === m;
|
|
@@ -783,7 +783,7 @@ function Ht() {
|
|
|
783
783
|
return Y(t) === V;
|
|
784
784
|
}
|
|
785
785
|
function Q(t) {
|
|
786
|
-
return Y(t) ===
|
|
786
|
+
return Y(t) === A;
|
|
787
787
|
}
|
|
788
788
|
function J(t) {
|
|
789
789
|
return Y(t) === _;
|
|
@@ -800,20 +800,20 @@ function Ht() {
|
|
|
800
800
|
le.AsyncMode = f, le.ConcurrentMode = se, le.ContextConsumer = ee, le.ContextProvider = te, le.Element = fe, le.ForwardRef = Ce, le.Fragment = he, le.Lazy = De, le.Memo = me, le.Portal = ue, le.Profiler = L, le.StrictMode = U, le.Suspense = z, le.isAsyncMode = ce, le.isConcurrentMode = g, le.isContextConsumer = j, le.isContextProvider = W, le.isElement = Z, le.isForwardRef = S, le.isFragment = K, le.isLazy = G, le.isMemo = Q, le.isPortal = J, le.isProfiler = ie, le.isStrictMode = u, le.isSuspense = e, le.isValidElementType = F, le.typeOf = Y;
|
|
801
801
|
}()), le;
|
|
802
802
|
}
|
|
803
|
-
var
|
|
804
|
-
function
|
|
805
|
-
return
|
|
803
|
+
var dt;
|
|
804
|
+
function wt() {
|
|
805
|
+
return dt || (dt = 1, process.env.NODE_ENV === "production" ? Ae.exports = Ht() : Ae.exports = Bt()), Ae.exports;
|
|
806
806
|
}
|
|
807
807
|
/*
|
|
808
808
|
object-assign
|
|
809
809
|
(c) Sindre Sorhus
|
|
810
810
|
@license MIT
|
|
811
811
|
*/
|
|
812
|
-
var
|
|
813
|
-
function
|
|
814
|
-
if (
|
|
815
|
-
|
|
816
|
-
var h = Object.getOwnPropertySymbols,
|
|
812
|
+
var qe, ht;
|
|
813
|
+
function Yt() {
|
|
814
|
+
if (ht) return qe;
|
|
815
|
+
ht = 1;
|
|
816
|
+
var h = Object.getOwnPropertySymbols, w = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
|
|
817
817
|
function v(b) {
|
|
818
818
|
if (b == null)
|
|
819
819
|
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
@@ -826,10 +826,10 @@ function Bt() {
|
|
|
826
826
|
var b = new String("abc");
|
|
827
827
|
if (b[5] = "de", Object.getOwnPropertyNames(b)[0] === "5")
|
|
828
828
|
return !1;
|
|
829
|
-
for (var
|
|
830
|
-
|
|
831
|
-
var T = Object.getOwnPropertyNames(
|
|
832
|
-
return
|
|
829
|
+
for (var x = {}, D = 0; D < 10; D++)
|
|
830
|
+
x["_" + String.fromCharCode(D)] = D;
|
|
831
|
+
var T = Object.getOwnPropertyNames(x).map(function(m) {
|
|
832
|
+
return x[m];
|
|
833
833
|
});
|
|
834
834
|
if (T.join("") !== "0123456789")
|
|
835
835
|
return !1;
|
|
@@ -841,61 +841,61 @@ function Bt() {
|
|
|
841
841
|
return !1;
|
|
842
842
|
}
|
|
843
843
|
}
|
|
844
|
-
return
|
|
844
|
+
return qe = c() ? Object.assign : function(b, x) {
|
|
845
845
|
for (var D, T = v(b), $, m = 1; m < arguments.length; m++) {
|
|
846
846
|
D = Object(arguments[m]);
|
|
847
847
|
for (var O in D)
|
|
848
|
-
|
|
848
|
+
w.call(D, O) && (T[O] = D[O]);
|
|
849
849
|
if (h) {
|
|
850
850
|
$ = h(D);
|
|
851
|
-
for (var
|
|
852
|
-
_.call(D, $[
|
|
851
|
+
for (var P = 0; P < $.length; P++)
|
|
852
|
+
_.call(D, $[P]) && (T[$[P]] = D[$[P]]);
|
|
853
853
|
}
|
|
854
854
|
}
|
|
855
855
|
return T;
|
|
856
|
-
},
|
|
857
|
-
}
|
|
858
|
-
var qe, ht;
|
|
859
|
-
function Ze() {
|
|
860
|
-
if (ht) return qe;
|
|
861
|
-
ht = 1;
|
|
862
|
-
var h = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
863
|
-
return qe = h, qe;
|
|
856
|
+
}, qe;
|
|
864
857
|
}
|
|
865
858
|
var Ge, pt;
|
|
866
|
-
function
|
|
867
|
-
|
|
859
|
+
function Qe() {
|
|
860
|
+
if (pt) return Ge;
|
|
861
|
+
pt = 1;
|
|
862
|
+
var h = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
863
|
+
return Ge = h, Ge;
|
|
868
864
|
}
|
|
869
865
|
var Ue, ft;
|
|
870
|
-
function
|
|
871
|
-
|
|
872
|
-
|
|
866
|
+
function Dt() {
|
|
867
|
+
return ft || (ft = 1, Ue = Function.call.bind(Object.prototype.hasOwnProperty)), Ue;
|
|
868
|
+
}
|
|
869
|
+
var We, mt;
|
|
870
|
+
function zt() {
|
|
871
|
+
if (mt) return We;
|
|
872
|
+
mt = 1;
|
|
873
873
|
var h = function() {
|
|
874
874
|
};
|
|
875
875
|
if (process.env.NODE_ENV !== "production") {
|
|
876
|
-
var
|
|
876
|
+
var w = Qe(), _ = {}, v = Dt();
|
|
877
877
|
h = function(b) {
|
|
878
|
-
var
|
|
879
|
-
typeof console < "u" && console.error(
|
|
878
|
+
var x = "Warning: " + b;
|
|
879
|
+
typeof console < "u" && console.error(x);
|
|
880
880
|
try {
|
|
881
|
-
throw new Error(
|
|
881
|
+
throw new Error(x);
|
|
882
882
|
} catch {
|
|
883
883
|
}
|
|
884
884
|
};
|
|
885
885
|
}
|
|
886
|
-
function c(b,
|
|
886
|
+
function c(b, x, D, T, $) {
|
|
887
887
|
if (process.env.NODE_ENV !== "production") {
|
|
888
888
|
for (var m in b)
|
|
889
889
|
if (v(b, m)) {
|
|
890
890
|
var O;
|
|
891
891
|
try {
|
|
892
892
|
if (typeof b[m] != "function") {
|
|
893
|
-
var
|
|
893
|
+
var P = Error(
|
|
894
894
|
(T || "React class") + ": " + D + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof b[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
895
895
|
);
|
|
896
|
-
throw
|
|
896
|
+
throw P.name = "Invariant Violation", P;
|
|
897
897
|
}
|
|
898
|
-
O = b[m](
|
|
898
|
+
O = b[m](x, m, T, D, null, w);
|
|
899
899
|
} catch (V) {
|
|
900
900
|
O = V;
|
|
901
901
|
}
|
|
@@ -903,9 +903,9 @@ function Yt() {
|
|
|
903
903
|
(T || "React class") + ": type specification of " + D + " `" + m + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof O + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
904
904
|
), O instanceof Error && !(O.message in _)) {
|
|
905
905
|
_[O.message] = !0;
|
|
906
|
-
var
|
|
906
|
+
var A = $ ? $() : "";
|
|
907
907
|
h(
|
|
908
|
-
"Failed " + D + " type: " + O.message + (
|
|
908
|
+
"Failed " + D + " type: " + O.message + (A ?? "")
|
|
909
909
|
);
|
|
910
910
|
}
|
|
911
911
|
}
|
|
@@ -913,13 +913,13 @@ function Yt() {
|
|
|
913
913
|
}
|
|
914
914
|
return c.resetWarningCache = function() {
|
|
915
915
|
process.env.NODE_ENV !== "production" && (_ = {});
|
|
916
|
-
},
|
|
916
|
+
}, We = c, We;
|
|
917
917
|
}
|
|
918
|
-
var
|
|
919
|
-
function
|
|
920
|
-
if (
|
|
921
|
-
|
|
922
|
-
var h =
|
|
918
|
+
var Ke, gt;
|
|
919
|
+
function qt() {
|
|
920
|
+
if (gt) return Ke;
|
|
921
|
+
gt = 1;
|
|
922
|
+
var h = wt(), w = Yt(), _ = Qe(), v = Dt(), c = zt(), b = function() {
|
|
923
923
|
};
|
|
924
924
|
process.env.NODE_ENV !== "production" && (b = function(D) {
|
|
925
925
|
var T = "Warning: " + D;
|
|
@@ -929,17 +929,17 @@ function zt() {
|
|
|
929
929
|
} catch {
|
|
930
930
|
}
|
|
931
931
|
});
|
|
932
|
-
function
|
|
932
|
+
function x() {
|
|
933
933
|
return null;
|
|
934
934
|
}
|
|
935
|
-
return
|
|
935
|
+
return Ke = function(D, T) {
|
|
936
936
|
var $ = typeof Symbol == "function" && Symbol.iterator, m = "@@iterator";
|
|
937
937
|
function O(g) {
|
|
938
938
|
var j = g && ($ && g[$] || g[m]);
|
|
939
939
|
if (typeof j == "function")
|
|
940
940
|
return j;
|
|
941
941
|
}
|
|
942
|
-
var
|
|
942
|
+
var P = "<<anonymous>>", A = {
|
|
943
943
|
array: B("array"),
|
|
944
944
|
bigint: B("bigint"),
|
|
945
945
|
bool: B("boolean"),
|
|
@@ -971,7 +971,7 @@ function zt() {
|
|
|
971
971
|
if (process.env.NODE_ENV !== "production")
|
|
972
972
|
var j = {}, W = 0;
|
|
973
973
|
function Z(K, G, Q, J, ie, u, e) {
|
|
974
|
-
if (J = J ||
|
|
974
|
+
if (J = J || P, u = u || Q, e !== _) {
|
|
975
975
|
if (T) {
|
|
976
976
|
var t = new Error(
|
|
977
977
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -1005,7 +1005,7 @@ function zt() {
|
|
|
1005
1005
|
return E(j);
|
|
1006
1006
|
}
|
|
1007
1007
|
function I() {
|
|
1008
|
-
return E(
|
|
1008
|
+
return E(x);
|
|
1009
1009
|
}
|
|
1010
1010
|
function F(g) {
|
|
1011
1011
|
function j(W, Z, S, K, G) {
|
|
@@ -1050,7 +1050,7 @@ function zt() {
|
|
|
1050
1050
|
function se(g) {
|
|
1051
1051
|
function j(W, Z, S, K, G) {
|
|
1052
1052
|
if (!(W[Z] instanceof g)) {
|
|
1053
|
-
var Q = g.name ||
|
|
1053
|
+
var Q = g.name || P, J = ce(W[Z]);
|
|
1054
1054
|
return new k("Invalid " + K + " `" + G + "` of type " + ("`" + J + "` supplied to `" + S + "`, expected ") + ("instance of `" + Q + "`."));
|
|
1055
1055
|
}
|
|
1056
1056
|
return null;
|
|
@@ -1061,7 +1061,7 @@ function zt() {
|
|
|
1061
1061
|
if (!Array.isArray(g))
|
|
1062
1062
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? b(
|
|
1063
1063
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
1064
|
-
) : b("Invalid argument supplied to oneOf, expected an array.")),
|
|
1064
|
+
) : b("Invalid argument supplied to oneOf, expected an array.")), x;
|
|
1065
1065
|
function j(W, Z, S, K, G) {
|
|
1066
1066
|
for (var Q = W[Z], J = 0; J < g.length; J++)
|
|
1067
1067
|
if (V(Q, g[J]))
|
|
@@ -1093,13 +1093,13 @@ function zt() {
|
|
|
1093
1093
|
}
|
|
1094
1094
|
function fe(g) {
|
|
1095
1095
|
if (!Array.isArray(g))
|
|
1096
|
-
return process.env.NODE_ENV !== "production" && b("Invalid argument supplied to oneOfType, expected an instance of array."),
|
|
1096
|
+
return process.env.NODE_ENV !== "production" && b("Invalid argument supplied to oneOfType, expected an instance of array."), x;
|
|
1097
1097
|
for (var j = 0; j < g.length; j++) {
|
|
1098
1098
|
var W = g[j];
|
|
1099
1099
|
if (typeof W != "function")
|
|
1100
1100
|
return b(
|
|
1101
1101
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + q(W) + " at index " + j + "."
|
|
1102
|
-
),
|
|
1102
|
+
), x;
|
|
1103
1103
|
}
|
|
1104
1104
|
function Z(S, K, G, Q, J) {
|
|
1105
1105
|
for (var ie = [], u = 0; u < g.length; u++) {
|
|
@@ -1146,7 +1146,7 @@ function zt() {
|
|
|
1146
1146
|
var Q = W[Z], J = U(Q);
|
|
1147
1147
|
if (J !== "object")
|
|
1148
1148
|
return new k("Invalid " + K + " `" + G + "` of type `" + J + "` " + ("supplied to `" + S + "`, expected `object`."));
|
|
1149
|
-
var ie =
|
|
1149
|
+
var ie = w({}, W[Z], g);
|
|
1150
1150
|
for (var u in ie) {
|
|
1151
1151
|
var e = g[u];
|
|
1152
1152
|
if (v(g, u) && typeof e != "function")
|
|
@@ -1231,27 +1231,27 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
1231
1231
|
}
|
|
1232
1232
|
}
|
|
1233
1233
|
function ce(g) {
|
|
1234
|
-
return !g.constructor || !g.constructor.name ?
|
|
1234
|
+
return !g.constructor || !g.constructor.name ? P : g.constructor.name;
|
|
1235
1235
|
}
|
|
1236
|
-
return
|
|
1237
|
-
},
|
|
1236
|
+
return A.checkPropTypes = c, A.resetWarningCache = c.resetWarningCache, A.PropTypes = A, A;
|
|
1237
|
+
}, Ke;
|
|
1238
1238
|
}
|
|
1239
|
-
var
|
|
1240
|
-
function
|
|
1241
|
-
if (
|
|
1242
|
-
|
|
1243
|
-
var h =
|
|
1244
|
-
function
|
|
1239
|
+
var Je, vt;
|
|
1240
|
+
function Gt() {
|
|
1241
|
+
if (vt) return Je;
|
|
1242
|
+
vt = 1;
|
|
1243
|
+
var h = Qe();
|
|
1244
|
+
function w() {
|
|
1245
1245
|
}
|
|
1246
1246
|
function _() {
|
|
1247
1247
|
}
|
|
1248
|
-
return _.resetWarningCache =
|
|
1249
|
-
function v(
|
|
1248
|
+
return _.resetWarningCache = w, Je = function() {
|
|
1249
|
+
function v(x, D, T, $, m, O) {
|
|
1250
1250
|
if (O !== h) {
|
|
1251
|
-
var
|
|
1251
|
+
var P = new Error(
|
|
1252
1252
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
1253
1253
|
);
|
|
1254
|
-
throw
|
|
1254
|
+
throw P.name = "Invariant Violation", P;
|
|
1255
1255
|
}
|
|
1256
1256
|
}
|
|
1257
1257
|
v.isRequired = v;
|
|
@@ -1279,59 +1279,59 @@ function qt() {
|
|
|
1279
1279
|
shape: c,
|
|
1280
1280
|
exact: c,
|
|
1281
1281
|
checkPropTypes: _,
|
|
1282
|
-
resetWarningCache:
|
|
1282
|
+
resetWarningCache: w
|
|
1283
1283
|
};
|
|
1284
1284
|
return b.PropTypes = b, b;
|
|
1285
|
-
},
|
|
1285
|
+
}, Je;
|
|
1286
1286
|
}
|
|
1287
1287
|
if (process.env.NODE_ENV !== "production") {
|
|
1288
|
-
var
|
|
1289
|
-
|
|
1288
|
+
var Ut = wt(), Wt = !0;
|
|
1289
|
+
Ze.exports = qt()(Ut.isElement, Wt);
|
|
1290
1290
|
} else
|
|
1291
|
-
|
|
1292
|
-
var
|
|
1293
|
-
const o = /* @__PURE__ */
|
|
1291
|
+
Ze.exports = Gt()();
|
|
1292
|
+
var Kt = Ze.exports;
|
|
1293
|
+
const o = /* @__PURE__ */ xt(Kt), Jt = ({
|
|
1294
1294
|
title: h = "",
|
|
1295
|
-
id:
|
|
1296
|
-
children: _ = /* @__PURE__ */
|
|
1295
|
+
id: w = "",
|
|
1296
|
+
children: _ = /* @__PURE__ */ n.jsx("div", {}),
|
|
1297
1297
|
className: v = ""
|
|
1298
|
-
}) => /* @__PURE__ */
|
|
1299
|
-
/* @__PURE__ */
|
|
1300
|
-
/* @__PURE__ */
|
|
1301
|
-
/* @__PURE__ */
|
|
1302
|
-
/* @__PURE__ */
|
|
1298
|
+
}) => /* @__PURE__ */ n.jsxs("div", { className: `u-accordion ${v}`, children: [
|
|
1299
|
+
/* @__PURE__ */ n.jsx("div", { className: "u-accordion-title", children: h }),
|
|
1300
|
+
/* @__PURE__ */ n.jsx("input", { className: "u-accordion-input", type: "checkbox", id: `u-accordion${w}` }),
|
|
1301
|
+
/* @__PURE__ */ n.jsx("label", { className: "u-accordion-toggle", htmlFor: `u-accordion${w}` }),
|
|
1302
|
+
/* @__PURE__ */ n.jsx("div", { className: "u-accordion-content", children: _ })
|
|
1303
1303
|
] });
|
|
1304
|
-
|
|
1304
|
+
Jt.propTypes = {
|
|
1305
1305
|
title: o.string,
|
|
1306
1306
|
id: o.string,
|
|
1307
1307
|
children: o.node,
|
|
1308
1308
|
className: o.string
|
|
1309
1309
|
};
|
|
1310
|
-
const
|
|
1310
|
+
const Xt = ({
|
|
1311
1311
|
title: h = "",
|
|
1312
|
-
id:
|
|
1313
|
-
children: _ = /* @__PURE__ */
|
|
1312
|
+
id: w = "",
|
|
1313
|
+
children: _ = /* @__PURE__ */ n.jsx("div", {}),
|
|
1314
1314
|
className: v = ""
|
|
1315
|
-
}) => /* @__PURE__ */
|
|
1316
|
-
/* @__PURE__ */
|
|
1317
|
-
/* @__PURE__ */
|
|
1318
|
-
/* @__PURE__ */
|
|
1319
|
-
/* @__PURE__ */
|
|
1315
|
+
}) => /* @__PURE__ */ n.jsxs("div", { className: `u-accordion ${v}`, children: [
|
|
1316
|
+
/* @__PURE__ */ n.jsx("div", { className: "u-accordion-title", children: h }),
|
|
1317
|
+
/* @__PURE__ */ n.jsx("input", { className: "u-accordion-input", type: "checkbox", id: `u-accordion${w}` }),
|
|
1318
|
+
/* @__PURE__ */ n.jsx("label", { className: "u-accordion-toggle", htmlFor: `u-accordion${w}` }),
|
|
1319
|
+
/* @__PURE__ */ n.jsx("div", { className: "u-accordion-content", children: _ })
|
|
1320
1320
|
] });
|
|
1321
|
-
|
|
1321
|
+
Xt.propTypes = {
|
|
1322
1322
|
title: o.string,
|
|
1323
1323
|
id: o.string,
|
|
1324
1324
|
children: o.node,
|
|
1325
1325
|
className: o.string
|
|
1326
1326
|
};
|
|
1327
|
-
const
|
|
1327
|
+
const Zt = ({
|
|
1328
1328
|
onClick: h,
|
|
1329
|
-
variant:
|
|
1329
|
+
variant: w = "primary",
|
|
1330
1330
|
size: _ = "medium",
|
|
1331
1331
|
type: v = "button",
|
|
1332
1332
|
icon: c = "",
|
|
1333
1333
|
iconLeft: b = !1,
|
|
1334
|
-
iconOnly:
|
|
1334
|
+
iconOnly: x = !1,
|
|
1335
1335
|
iconSize: D,
|
|
1336
1336
|
disabled: T = !1,
|
|
1337
1337
|
children: $ = "ОК",
|
|
@@ -1360,7 +1360,7 @@ const Xt = ({
|
|
|
1360
1360
|
case "text-danger-table":
|
|
1361
1361
|
return "u-button-text u-button-text-danger-table";
|
|
1362
1362
|
}
|
|
1363
|
-
},
|
|
1363
|
+
}, P = (E) => {
|
|
1364
1364
|
switch (E) {
|
|
1365
1365
|
case "medium":
|
|
1366
1366
|
return "";
|
|
@@ -1369,23 +1369,23 @@ const Xt = ({
|
|
|
1369
1369
|
default:
|
|
1370
1370
|
return "";
|
|
1371
1371
|
}
|
|
1372
|
-
},
|
|
1373
|
-
return /* @__PURE__ */
|
|
1372
|
+
}, A = (E, B) => E && ["text", "text-danger"].includes(B) ? " u-button-text-icon-left" : E ? " u-button-icon-left" : "", V = (E) => E ? " icon-only" : "", k = (E) => typeof E == "number" ? `${E}px` : String(E);
|
|
1373
|
+
return /* @__PURE__ */ n.jsxs(
|
|
1374
1374
|
"button",
|
|
1375
1375
|
{
|
|
1376
|
-
className: `${O(
|
|
1376
|
+
className: `${O(w)}${P(_)}${A(b, w)} ${m}`,
|
|
1377
1377
|
type: v,
|
|
1378
1378
|
onClick: h,
|
|
1379
1379
|
disabled: T,
|
|
1380
1380
|
children: [
|
|
1381
|
-
!
|
|
1381
|
+
!x && w !== "icon" && $,
|
|
1382
1382
|
" ",
|
|
1383
|
-
c && /* @__PURE__ */
|
|
1383
|
+
c && /* @__PURE__ */ n.jsx("i", { style: D && { fontSize: k(D) }, className: `u-icon${V(x)} icon-${c}` })
|
|
1384
1384
|
]
|
|
1385
1385
|
}
|
|
1386
1386
|
);
|
|
1387
1387
|
};
|
|
1388
|
-
|
|
1388
|
+
Zt.propTypes = {
|
|
1389
1389
|
variant: o.oneOf(["primary", "danger", "outline", "danger-outline", "simple", "icon", "text", "text-danger", "text-table", "text-danger-table"]),
|
|
1390
1390
|
type: o.string,
|
|
1391
1391
|
size: o.string,
|
|
@@ -1483,11 +1483,11 @@ Xt.propTypes = {
|
|
|
1483
1483
|
]),
|
|
1484
1484
|
className: o.string
|
|
1485
1485
|
};
|
|
1486
|
-
var
|
|
1487
|
-
(function(h,
|
|
1486
|
+
var Ct = { exports: {} };
|
|
1487
|
+
(function(h, w) {
|
|
1488
1488
|
(function(_, v) {
|
|
1489
1489
|
h.exports = v();
|
|
1490
|
-
})(
|
|
1490
|
+
})(It, function() {
|
|
1491
1491
|
return function() {
|
|
1492
1492
|
var _ = { d: function(u, e) {
|
|
1493
1493
|
for (var t in e) _.o(e, t) && !_.o(u, t) && Object.defineProperty(u, t, { enumerable: !0, get: e[t] });
|
|
@@ -1498,7 +1498,7 @@ var Dt = { exports: {} };
|
|
|
1498
1498
|
return J;
|
|
1499
1499
|
} });
|
|
1500
1500
|
var c = { days: "days", months: "months", years: "years", day: "day", month: "month", year: "year", eventChangeViewDate: "changeViewDate", eventChangeCurrentView: "changeCurrentView", eventChangeFocusDate: "changeFocusDate", eventChangeSelectedDate: "changeSelectedDate", eventChangeTime: "changeTime", eventChangeLastSelectedDate: "changeLastSelectedDate", actionSelectDate: "selectDate", actionUnselectDate: "unselectDate", cssClassWeekend: "-weekend-" }, b = { classes: "", inline: !1, locale: { days: ["Воскресенье", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота"], daysShort: ["Вос", "Пон", "Вто", "Сре", "Чет", "Пят", "Суб"], daysMin: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], months: ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"], monthsShort: ["Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек"], today: "Сегодня", clear: "Очистить", dateFormat: "dd.MM.yyyy", timeFormat: "HH:mm", firstDay: 1 }, startDate: /* @__PURE__ */ new Date(), firstDay: "", weekends: [6, 0], dateFormat: "", altField: "", altFieldDateFormat: "T", toggleSelected: !0, keyboardNav: !0, selectedDates: !1, container: "", isMobile: !1, visible: !1, position: "bottom left", offset: 12, view: c.days, minView: c.days, showOtherMonths: !0, selectOtherMonths: !0, moveToOtherMonthsOnSelect: !0, showOtherYears: !0, selectOtherYears: !0, moveToOtherYearsOnSelect: !0, minDate: "", maxDate: "", disableNavWhenOutOfRange: !0, multipleDates: !1, multipleDatesSeparator: ", ", range: !1, dynamicRange: !0, buttons: !1, monthsField: "monthsShort", showEvent: "focus", autoClose: !1, fixedHeight: !1, prevHtml: '<svg><path d="M 17,12 l -5,5 l 5,5"></path></svg>', nextHtml: '<svg><path d="M 14,12 l 5,5 l -5,5"></path></svg>', navTitles: { days: "MMMM, <i>yyyy</i>", months: "yyyy", years: "yyyy1 - yyyy2" }, timepicker: !1, onlyTimepicker: !1, dateTimeSeparator: " ", timeFormat: "", minHours: 0, maxHours: 24, minMinutes: 0, maxMinutes: 59, hoursStep: 1, minutesStep: 1, onSelect: !1, onChangeViewDate: !1, onChangeView: !1, onRenderCell: !1, onShow: !1, onHide: !1, onClickDayName: !1 };
|
|
1501
|
-
function
|
|
1501
|
+
function x(u) {
|
|
1502
1502
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : document;
|
|
1503
1503
|
return typeof u == "string" ? e.querySelector(u) : u;
|
|
1504
1504
|
}
|
|
@@ -1515,15 +1515,15 @@ var Dt = { exports: {} };
|
|
|
1515
1515
|
}
|
|
1516
1516
|
function m(u) {
|
|
1517
1517
|
let e = u.getHours(), { hours: t, dayPeriod: s } = O(e);
|
|
1518
|
-
return { year: u.getFullYear(), month: u.getMonth(), fullMonth: u.getMonth() + 1 < 10 ? "0" + (u.getMonth() + 1) : u.getMonth() + 1, date: u.getDate(), fullDate: u.getDate() < 10 ? "0" + u.getDate() : u.getDate(), day: u.getDay(), hours: e, fullHours:
|
|
1518
|
+
return { year: u.getFullYear(), month: u.getMonth(), fullMonth: u.getMonth() + 1 < 10 ? "0" + (u.getMonth() + 1) : u.getMonth() + 1, date: u.getDate(), fullDate: u.getDate() < 10 ? "0" + u.getDate() : u.getDate(), day: u.getDay(), hours: e, fullHours: P(e), hours12: t, dayPeriod: s, fullHours12: P(t), minutes: u.getMinutes(), fullMinutes: u.getMinutes() < 10 ? "0" + u.getMinutes() : u.getMinutes() };
|
|
1519
1519
|
}
|
|
1520
1520
|
function O(u) {
|
|
1521
1521
|
return { dayPeriod: u > 11 ? "pm" : "am", hours: u % 12 == 0 ? 12 : u % 12 };
|
|
1522
1522
|
}
|
|
1523
|
-
function
|
|
1523
|
+
function P(u) {
|
|
1524
1524
|
return u < 10 ? "0" + u : u;
|
|
1525
1525
|
}
|
|
1526
|
-
function
|
|
1526
|
+
function A(u) {
|
|
1527
1527
|
let e = 10 * Math.floor(u.getFullYear() / 10);
|
|
1528
1528
|
return [e, e + 9];
|
|
1529
1529
|
}
|
|
@@ -1762,7 +1762,7 @@ var Dt = { exports: {} };
|
|
|
1762
1762
|
this.pressed = !1, this.rangeFromFocused = !1, this.rangeToFocused = !1;
|
|
1763
1763
|
}), he(this, "onChangeViewDate", (a, i) => {
|
|
1764
1764
|
if (!this.isVisible) return;
|
|
1765
|
-
let d =
|
|
1765
|
+
let d = A(a), p = A(i);
|
|
1766
1766
|
switch (this.dp.currentView) {
|
|
1767
1767
|
case c.days:
|
|
1768
1768
|
if (k(a, i, c.months)) return;
|
|
@@ -1791,7 +1791,7 @@ var Dt = { exports: {} };
|
|
|
1791
1791
|
this.dp.on(c.eventChangeViewDate, this.onChangeViewDate), this.dp.on(c.eventChangeCurrentView, this.onChangeCurrentView);
|
|
1792
1792
|
}
|
|
1793
1793
|
_buildBaseHtml() {
|
|
1794
|
-
this.$el = D({ className: `air-datepicker-body -${this.type}-`, innerHtml: De[this.type] }), this.$names =
|
|
1794
|
+
this.$el = D({ className: `air-datepicker-body -${this.type}-`, innerHtml: De[this.type] }), this.$names = x(".air-datepicker-body--day-names", this.$el), this.$cells = x(".air-datepicker-body--cells", this.$el);
|
|
1795
1795
|
}
|
|
1796
1796
|
_getDayNamesHtml() {
|
|
1797
1797
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.dp.locale.firstDay, t = "", s = this.dp.isWeekend, { onClickDayName: l } = this.opts, a = e, i = 0;
|
|
@@ -1849,7 +1849,7 @@ var Dt = { exports: {} };
|
|
|
1849
1849
|
return a;
|
|
1850
1850
|
}
|
|
1851
1851
|
static getYearsDates(e, t) {
|
|
1852
|
-
let s =
|
|
1852
|
+
let s = A(e.viewDate), l = s[0] - 1, a = s[1] + 1, i = l, d = [];
|
|
1853
1853
|
for (; i <= a; ) {
|
|
1854
1854
|
const p = new Date(i, 0);
|
|
1855
1855
|
d.push(p), t && t(p), i++;
|
|
@@ -1905,7 +1905,7 @@ var Dt = { exports: {} };
|
|
|
1905
1905
|
this._createElement(), this._buildBaseHtml(), this._defineDOM(), this.render(), this.handleNavStatus(), this._bindEvents(), this._bindDatepickerEvents();
|
|
1906
1906
|
}
|
|
1907
1907
|
_defineDOM() {
|
|
1908
|
-
this.$title =
|
|
1908
|
+
this.$title = x(".air-datepicker-nav--title", this.$el), this.$prev = x('[data-action="prev"]', this.$el), this.$next = x('[data-action="next"]', this.$el);
|
|
1909
1909
|
}
|
|
1910
1910
|
_bindEvents() {
|
|
1911
1911
|
this.$el.addEventListener("click", this.onClickNav), this.$title.addEventListener("click", this.onClickNavTitle);
|
|
@@ -1935,14 +1935,14 @@ var Dt = { exports: {} };
|
|
|
1935
1935
|
t && i.year >= l && this._disableNav("prev"), s && d.year <= l && this._disableNav("next");
|
|
1936
1936
|
break;
|
|
1937
1937
|
case c.years: {
|
|
1938
|
-
let p =
|
|
1938
|
+
let p = A(this.dp.viewDate);
|
|
1939
1939
|
t && i.year >= p[0] && this._disableNav("prev"), s && d.year <= p[1] && this._disableNav("next");
|
|
1940
1940
|
break;
|
|
1941
1941
|
}
|
|
1942
1942
|
}
|
|
1943
1943
|
}
|
|
1944
1944
|
_disableNav(e) {
|
|
1945
|
-
|
|
1945
|
+
x('[data-action="' + e + '"]', this.$el).classList.add("-disabled-");
|
|
1946
1946
|
}
|
|
1947
1947
|
_resetNavStatus() {
|
|
1948
1948
|
(function(e) {
|
|
@@ -2058,10 +2058,10 @@ var Dt = { exports: {} };
|
|
|
2058
2058
|
}
|
|
2059
2059
|
buildHtml() {
|
|
2060
2060
|
let { ampm: e, hours: t, displayHours: s, minutes: l, minHours: a, minMinutes: i, maxHours: d, maxMinutes: p, dayPeriod: C, opts: { hoursStep: R, minutesStep: N } } = this;
|
|
2061
|
-
this.$el.innerHTML = `<div class="air-datepicker-time--current"> <span class="air-datepicker-time--current-hours">${
|
|
2061
|
+
this.$el.innerHTML = `<div class="air-datepicker-time--current"> <span class="air-datepicker-time--current-hours">${P(s)}</span> <span class="air-datepicker-time--current-colon">:</span> <span class="air-datepicker-time--current-minutes">${P(l)}</span> ` + (e ? `<span class='air-datepicker-time--current-ampm'>${C}</span>` : "") + `</div><div class="air-datepicker-time--sliders"> <div class="air-datepicker-time--row"> <input type="range" name="hours" value="${t}" min="${a}" max="${d}" step="${R}"/> </div> <div class="air-datepicker-time--row"> <input type="range" name="minutes" value="${l}" min="${i}" max="${p}" step="${N}"/> </div></div>`;
|
|
2062
2062
|
}
|
|
2063
2063
|
defineDOM() {
|
|
2064
|
-
let e = (t) =>
|
|
2064
|
+
let e = (t) => x(t, this.$el);
|
|
2065
2065
|
this.$ranges = this.$el.querySelectorAll('[type="range"]'), this.$hours = e('[name="hours"]'), this.$minutes = e('[name="minutes"]'), this.$hoursText = e(".air-datepicker-time--current-hours"), this.$minutesText = e(".air-datepicker-time--current-minutes"), this.$ampm = e(".air-datepicker-time--current-ampm");
|
|
2066
2066
|
}
|
|
2067
2067
|
setTime(e) {
|
|
@@ -2096,7 +2096,7 @@ var Dt = { exports: {} };
|
|
|
2096
2096
|
T(this.$hours, { min: this.minHours, max: this.maxHours }).value = this.hours, T(this.$minutes, { min: this.minMinutes, max: this.maxMinutes }).value = this.minutes;
|
|
2097
2097
|
}
|
|
2098
2098
|
updateText() {
|
|
2099
|
-
this.$hoursText.innerHTML =
|
|
2099
|
+
this.$hoursText.innerHTML = P(this.displayHours), this.$minutesText.innerHTML = P(this.minutes), this.ampm && (this.$ampm.innerHTML = this.dayPeriod);
|
|
2100
2100
|
}
|
|
2101
2101
|
set hours(e) {
|
|
2102
2102
|
this._hours = e;
|
|
@@ -2246,7 +2246,7 @@ var Dt = { exports: {} };
|
|
|
2246
2246
|
let K = "", G = "", Q = !1;
|
|
2247
2247
|
class J {
|
|
2248
2248
|
static buildGlobalContainer(e) {
|
|
2249
|
-
Q = !0, K = D({ className: e, id: e }),
|
|
2249
|
+
Q = !0, K = D({ className: e, id: e }), x("body").appendChild(K);
|
|
2250
2250
|
}
|
|
2251
2251
|
constructor(e, t) {
|
|
2252
2252
|
var s = this;
|
|
@@ -2391,7 +2391,7 @@ var Dt = { exports: {} };
|
|
|
2391
2391
|
let { year: d } = m(i);
|
|
2392
2392
|
return d !== this.parsedViewDate.year;
|
|
2393
2393
|
}), S(this, "isOtherDecade", (i) => {
|
|
2394
|
-
let { year: d } = m(i), [p, C] =
|
|
2394
|
+
let { year: d } = m(i), [p, C] = A(this.viewDate);
|
|
2395
2395
|
return d < p || d > C;
|
|
2396
2396
|
}), S(this, "_onChangeSelectedDate", (i) => {
|
|
2397
2397
|
let { silent: d } = i;
|
|
@@ -2426,13 +2426,13 @@ var Dt = { exports: {} };
|
|
|
2426
2426
|
}), S(this, "isWeekend", (i) => this.opts.weekends.includes(i)), S(this, "getClampedDate", (i) => {
|
|
2427
2427
|
let { minDate: d, maxDate: p } = this, C = i;
|
|
2428
2428
|
return p && E(i, p) ? C = p : d && B(i, d) && (C = d), C;
|
|
2429
|
-
}), this.$el =
|
|
2430
|
-
this.$datepicker = D({ className: "air-datepicker" }), this.opts = se({}, b, t), this.$customContainer = !!this.opts.container &&
|
|
2429
|
+
}), this.$el = x(e), !this.$el) return;
|
|
2430
|
+
this.$datepicker = D({ className: "air-datepicker" }), this.opts = se({}, b, t), this.$customContainer = !!this.opts.container && x(this.opts.container), this.$altField = x(this.opts.altField || !1);
|
|
2431
2431
|
let { view: l, startDate: a } = this.opts;
|
|
2432
2432
|
a || (this.opts.startDate = /* @__PURE__ */ new Date()), this.$el.nodeName === "INPUT" && (this.elIsInput = !0), this.inited = !1, this.visible = !1, this.viewDate = ee(this.opts.startDate), this.focusDate = !1, this.initialReadonly = this.$el.getAttribute("readonly"), this.customHide = !1, this.currentView = l, this.selectedDates = [], this.disabledDates = /* @__PURE__ */ new Set(), this.isDestroyed = !1, this.views = {}, this.keys = [], this.rangeDateFrom = "", this.rangeDateTo = "", this.timepickerIsActive = !1, this.treatAsInline = this.opts.inline || !this.elIsInput, this.init();
|
|
2433
2433
|
}
|
|
2434
2434
|
init() {
|
|
2435
|
-
let { opts: e, treatAsInline: t, opts: { inline: s, isMobile: l, selectedDates: a, keyboardNav: i, onlyTimepicker: d } } = this, p =
|
|
2435
|
+
let { opts: e, treatAsInline: t, opts: { inline: s, isMobile: l, selectedDates: a, keyboardNav: i, onlyTimepicker: d } } = this, p = x("body");
|
|
2436
2436
|
(!Q || Q && K && !p.contains(K)) && !s && this.elIsInput && !this.$customContainer && J.buildGlobalContainer(J.defaultGlobalContainerId), !l || G || t || this._createMobileOverlay(), this._handleLocale(), this._bindSubEvents(), this._createMinMaxDates(), this._limitViewDateByMaxMinDates(), this.elIsInput && (s || this._bindEvents(), i && !d && (this.keyboardNav = new W({ dp: this, opts: e }))), a && this.selectDate(a, { silent: !0 }), this.opts.visible && !t && this.show(), l && !t && this.$el.setAttribute("readonly", !0), t && this._createComponents();
|
|
2437
2437
|
}
|
|
2438
2438
|
_createMobileOverlay() {
|
|
@@ -2468,7 +2468,7 @@ var Dt = { exports: {} };
|
|
|
2468
2468
|
_buildBaseHtml() {
|
|
2469
2469
|
let { inline: e } = this.opts;
|
|
2470
2470
|
var t, s;
|
|
2471
|
-
this.elIsInput ? e ? (t = this.$datepicker, (s = this.$el).parentNode.insertBefore(t, s.nextSibling)) : this.$container.appendChild(this.$datepicker) : this.$el.appendChild(this.$datepicker), this.$datepicker.innerHTML = '<i class="air-datepicker--pointer"></i><div class="air-datepicker--navigation"></div><div class="air-datepicker--content"></div>', this.$content =
|
|
2471
|
+
this.elIsInput ? e ? (t = this.$datepicker, (s = this.$el).parentNode.insertBefore(t, s.nextSibling)) : this.$container.appendChild(this.$datepicker) : this.$el.appendChild(this.$datepicker), this.$datepicker.innerHTML = '<i class="air-datepicker--pointer"></i><div class="air-datepicker--navigation"></div><div class="air-datepicker--content"></div>', this.$content = x(".air-datepicker--content", this.$datepicker), this.$pointer = x(".air-datepicker--pointer", this.$datepicker), this.$nav = x(".air-datepicker--navigation", this.$datepicker);
|
|
2472
2472
|
}
|
|
2473
2473
|
_handleLocale() {
|
|
2474
2474
|
let { locale: e, dateFormat: t, firstDay: s, timepicker: l, onlyTimepicker: a, timeFormat: i, dateTimeSeparator: d } = this.opts;
|
|
@@ -2496,7 +2496,7 @@ var Dt = { exports: {} };
|
|
|
2496
2496
|
formatDate() {
|
|
2497
2497
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.viewDate, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
2498
2498
|
if (e = ee(e), !(e instanceof Date)) return;
|
|
2499
|
-
let s = t, l = this.locale, a = m(e), i = a.dayPeriod, d =
|
|
2499
|
+
let s = t, l = this.locale, a = m(e), i = a.dayPeriod, d = A(e), p = J.replacer, C = { T: e.getTime(), m: a.minutes, mm: a.fullMinutes, h: a.hours12, hh: a.fullHours12, H: a.hours, HH: a.fullHours, aa: i, AA: i.toUpperCase(), E: l.daysShort[a.day], EEEE: l.days[a.day], d: a.date, dd: a.fullDate, M: a.month + 1, MM: a.fullMonth, MMM: l.monthsShort[a.month], MMMM: l.months[a.month], yy: a.year.toString().slice(-2), yyyy: a.year, yyyy1: d[0], yyyy2: d[1] };
|
|
2500
2500
|
for (let [R, N] of Object.entries(C)) s = p(s, te(R), N);
|
|
2501
2501
|
return s;
|
|
2502
2502
|
}
|
|
@@ -2595,7 +2595,7 @@ var Dt = { exports: {} };
|
|
|
2595
2595
|
return this.currentView.slice(0, -1);
|
|
2596
2596
|
}
|
|
2597
2597
|
get curDecade() {
|
|
2598
|
-
return
|
|
2598
|
+
return A(this.viewDate);
|
|
2599
2599
|
}
|
|
2600
2600
|
get viewIndex() {
|
|
2601
2601
|
return this.viewIndexes.indexOf(this.currentView);
|
|
@@ -2622,23 +2622,23 @@ var Dt = { exports: {} };
|
|
|
2622
2622
|
return S(J, "defaults", b), S(J, "version", "3.5.3"), S(J, "defaultGlobalContainerId", "air-datepicker-global-container"), ie = J.prototype, Object.assign(ie, Z), v.default;
|
|
2623
2623
|
}();
|
|
2624
2624
|
});
|
|
2625
|
-
})(
|
|
2626
|
-
var
|
|
2627
|
-
const
|
|
2625
|
+
})(Ct);
|
|
2626
|
+
var Qt = Ct.exports;
|
|
2627
|
+
const es = /* @__PURE__ */ xt(Qt), ts = ({
|
|
2628
2628
|
title: h = "",
|
|
2629
|
-
placeholder:
|
|
2629
|
+
placeholder: w = "введите",
|
|
2630
2630
|
defaultValue: _,
|
|
2631
2631
|
value: v,
|
|
2632
2632
|
id: c = "",
|
|
2633
2633
|
name: b = "",
|
|
2634
|
-
onChange:
|
|
2634
|
+
onChange: x,
|
|
2635
2635
|
required: D = !1,
|
|
2636
2636
|
disabled: T = !1,
|
|
2637
2637
|
lineUp: $ = !1,
|
|
2638
2638
|
rowGap: m = 4,
|
|
2639
2639
|
columnGap: O = 20,
|
|
2640
|
-
styleInputContainer:
|
|
2641
|
-
styleTitle:
|
|
2640
|
+
styleInputContainer: P,
|
|
2641
|
+
styleTitle: A,
|
|
2642
2642
|
styleInput: V,
|
|
2643
2643
|
className: k = "",
|
|
2644
2644
|
position: E = "bottom right",
|
|
@@ -2649,7 +2649,7 @@ const Qt = /* @__PURE__ */ bt(Zt), es = ({
|
|
|
2649
2649
|
propsInput: f,
|
|
2650
2650
|
tableView: se = !1
|
|
2651
2651
|
}) => {
|
|
2652
|
-
c && new
|
|
2652
|
+
c && new es(`#${c}`, {
|
|
2653
2653
|
position: E,
|
|
2654
2654
|
range: B,
|
|
2655
2655
|
multipleDatesSeparator: I,
|
|
@@ -2657,7 +2657,7 @@ const Qt = /* @__PURE__ */ bt(Zt), es = ({
|
|
|
2657
2657
|
...Y
|
|
2658
2658
|
});
|
|
2659
2659
|
const ee = (te) => typeof te == "number" ? `${te}px` : String(te);
|
|
2660
|
-
return /* @__PURE__ */
|
|
2660
|
+
return /* @__PURE__ */ n.jsxs(
|
|
2661
2661
|
"div",
|
|
2662
2662
|
{
|
|
2663
2663
|
className: `u-react-input-container ${k}`,
|
|
@@ -2668,10 +2668,10 @@ const Qt = /* @__PURE__ */ bt(Zt), es = ({
|
|
|
2668
2668
|
rowGap: $ ? null : ee(m),
|
|
2669
2669
|
columnGap: $ ? ee(O) : null
|
|
2670
2670
|
},
|
|
2671
|
-
|
|
2671
|
+
P
|
|
2672
2672
|
),
|
|
2673
2673
|
children: [
|
|
2674
|
-
h && /* @__PURE__ */
|
|
2674
|
+
h && /* @__PURE__ */ n.jsx(
|
|
2675
2675
|
"div",
|
|
2676
2676
|
{
|
|
2677
2677
|
className: `${D && "u-required"} u-react-input-title`,
|
|
@@ -2680,19 +2680,19 @@ const Qt = /* @__PURE__ */ bt(Zt), es = ({
|
|
|
2680
2680
|
color: "#545454",
|
|
2681
2681
|
fontSize: "14px"
|
|
2682
2682
|
},
|
|
2683
|
-
|
|
2683
|
+
A
|
|
2684
2684
|
),
|
|
2685
2685
|
children: h
|
|
2686
2686
|
}
|
|
2687
2687
|
),
|
|
2688
|
-
/* @__PURE__ */
|
|
2688
|
+
/* @__PURE__ */ n.jsx(
|
|
2689
2689
|
"input",
|
|
2690
2690
|
{
|
|
2691
|
-
placeholder:
|
|
2691
|
+
placeholder: w,
|
|
2692
2692
|
disabled: T,
|
|
2693
2693
|
defaultValue: _,
|
|
2694
2694
|
value: v,
|
|
2695
|
-
onChange:
|
|
2695
|
+
onChange: x,
|
|
2696
2696
|
className: `u-calendar ${se && "u-calendar-table"}`,
|
|
2697
2697
|
name: b,
|
|
2698
2698
|
id: c,
|
|
@@ -2710,7 +2710,7 @@ const Qt = /* @__PURE__ */ bt(Zt), es = ({
|
|
|
2710
2710
|
}
|
|
2711
2711
|
);
|
|
2712
2712
|
};
|
|
2713
|
-
|
|
2713
|
+
ts.propTypes = {
|
|
2714
2714
|
title: o.string,
|
|
2715
2715
|
required: o.bool,
|
|
2716
2716
|
disabled: o.bool,
|
|
@@ -2726,24 +2726,24 @@ es.propTypes = {
|
|
|
2726
2726
|
value: o.string,
|
|
2727
2727
|
defaultValue: o.string
|
|
2728
2728
|
};
|
|
2729
|
-
const
|
|
2730
|
-
children: h = /* @__PURE__ */
|
|
2731
|
-
disabled:
|
|
2729
|
+
const ss = ({
|
|
2730
|
+
children: h = /* @__PURE__ */ n.jsx("span", {}),
|
|
2731
|
+
disabled: w,
|
|
2732
2732
|
checked: _,
|
|
2733
2733
|
defaultChecked: v,
|
|
2734
2734
|
rightCheckbox: c = !1,
|
|
2735
2735
|
onClick: b,
|
|
2736
|
-
onChange:
|
|
2736
|
+
onChange: x,
|
|
2737
2737
|
className: D = "",
|
|
2738
2738
|
id: T,
|
|
2739
2739
|
propsInput: $
|
|
2740
|
-
}) => /* @__PURE__ */
|
|
2741
|
-
c && /* @__PURE__ */
|
|
2742
|
-
/* @__PURE__ */
|
|
2743
|
-
/* @__PURE__ */
|
|
2744
|
-
!c && /* @__PURE__ */
|
|
2740
|
+
}) => /* @__PURE__ */ n.jsxs("label", { className: `u-checkbox ${D}`, children: [
|
|
2741
|
+
c && /* @__PURE__ */ n.jsx(n.Fragment, { children: h }),
|
|
2742
|
+
/* @__PURE__ */ n.jsx("input", { defaultChecked: v, checked: _, disabled: w, id: T, type: "checkbox", onChange: x, onClick: b, ...$ }),
|
|
2743
|
+
/* @__PURE__ */ n.jsx("div", { className: "u-checkbox-input" }),
|
|
2744
|
+
!c && /* @__PURE__ */ n.jsx(n.Fragment, { children: h })
|
|
2745
2745
|
] });
|
|
2746
|
-
|
|
2746
|
+
ss.propTypes = {
|
|
2747
2747
|
children: o.node,
|
|
2748
2748
|
disabled: o.bool,
|
|
2749
2749
|
checked: o.bool,
|
|
@@ -2751,16 +2751,16 @@ ts.propTypes = {
|
|
|
2751
2751
|
onChange: o.func,
|
|
2752
2752
|
className: o.string
|
|
2753
2753
|
};
|
|
2754
|
-
const
|
|
2754
|
+
const is = ({
|
|
2755
2755
|
name: h = "",
|
|
2756
|
-
size:
|
|
2756
|
+
size: w = "",
|
|
2757
2757
|
color: _ = "",
|
|
2758
2758
|
className: v = ""
|
|
2759
2759
|
}) => {
|
|
2760
2760
|
const c = (b) => typeof b == "number" ? `${b}px` : String(b);
|
|
2761
|
-
return /* @__PURE__ */
|
|
2761
|
+
return /* @__PURE__ */ n.jsx("i", { style: { fontSize: c(w), color: _ }, className: `u-icon icon-${h} ${v}` });
|
|
2762
2762
|
};
|
|
2763
|
-
|
|
2763
|
+
is.propTypes = {
|
|
2764
2764
|
size: o.string,
|
|
2765
2765
|
color: o.string,
|
|
2766
2766
|
name: o.oneOf([
|
|
@@ -2855,21 +2855,21 @@ ss.propTypes = {
|
|
|
2855
2855
|
]),
|
|
2856
2856
|
className: o.string
|
|
2857
2857
|
};
|
|
2858
|
-
const
|
|
2858
|
+
const rs = ({
|
|
2859
2859
|
title: h = "",
|
|
2860
|
-
placeholder:
|
|
2860
|
+
placeholder: w = "введите",
|
|
2861
2861
|
id: _ = "",
|
|
2862
2862
|
onChange: v,
|
|
2863
2863
|
required: c = !1,
|
|
2864
2864
|
lineUp: b = !1,
|
|
2865
|
-
rowGap:
|
|
2865
|
+
rowGap: x = 4,
|
|
2866
2866
|
columnGap: D = 20,
|
|
2867
2867
|
styleInputContainer: T,
|
|
2868
2868
|
styleTitle: $,
|
|
2869
2869
|
styleInput: m,
|
|
2870
2870
|
className: O = "",
|
|
2871
|
-
tableView:
|
|
2872
|
-
validationText:
|
|
2871
|
+
tableView: P = !1,
|
|
2872
|
+
validationText: A = "Заполните поле",
|
|
2873
2873
|
validationOn: V,
|
|
2874
2874
|
absoluteValidationText: k,
|
|
2875
2875
|
value: E
|
|
@@ -2879,21 +2879,21 @@ const is = ({
|
|
|
2879
2879
|
const Y = document.getElementById(`input-expand${_}`), f = document.createRange(), se = window.getSelection();
|
|
2880
2880
|
f.selectNodeContents(Y), f.collapse(!1), se.removeAllRanges(), se.addRange(f);
|
|
2881
2881
|
};
|
|
2882
|
-
return /* @__PURE__ */
|
|
2883
|
-
/* @__PURE__ */
|
|
2882
|
+
return /* @__PURE__ */ n.jsxs("div", { className: `u-react-input-expand-container ${O}`, style: { position: "relative" }, children: [
|
|
2883
|
+
/* @__PURE__ */ n.jsxs(
|
|
2884
2884
|
"div",
|
|
2885
2885
|
{
|
|
2886
2886
|
style: Object.assign(
|
|
2887
2887
|
{
|
|
2888
2888
|
display: "flex",
|
|
2889
2889
|
flexDirection: b ? "row" : "column",
|
|
2890
|
-
rowGap: b ? null : B(
|
|
2890
|
+
rowGap: b ? null : B(x),
|
|
2891
2891
|
columnGap: b ? B(D) : null
|
|
2892
2892
|
},
|
|
2893
2893
|
T
|
|
2894
2894
|
),
|
|
2895
2895
|
children: [
|
|
2896
|
-
h && /* @__PURE__ */
|
|
2896
|
+
h && /* @__PURE__ */ n.jsx(
|
|
2897
2897
|
"div",
|
|
2898
2898
|
{
|
|
2899
2899
|
className: `${c && "u-required"} u-react-input-title`,
|
|
@@ -2907,7 +2907,7 @@ const is = ({
|
|
|
2907
2907
|
children: h
|
|
2908
2908
|
}
|
|
2909
2909
|
),
|
|
2910
|
-
/* @__PURE__ */
|
|
2910
|
+
/* @__PURE__ */ n.jsx(
|
|
2911
2911
|
"div",
|
|
2912
2912
|
{
|
|
2913
2913
|
className: "u-expand-input",
|
|
@@ -2916,7 +2916,7 @@ const is = ({
|
|
|
2916
2916
|
{
|
|
2917
2917
|
lineHeight: "18px"
|
|
2918
2918
|
},
|
|
2919
|
-
|
|
2919
|
+
P && {
|
|
2920
2920
|
minHeight: "30px",
|
|
2921
2921
|
fontSize: "12px",
|
|
2922
2922
|
lineHeight: "12px",
|
|
@@ -2925,7 +2925,7 @@ const is = ({
|
|
|
2925
2925
|
m
|
|
2926
2926
|
),
|
|
2927
2927
|
onInput: (F) => I(F),
|
|
2928
|
-
"data-placeholder":
|
|
2928
|
+
"data-placeholder": w,
|
|
2929
2929
|
contentEditable: !0,
|
|
2930
2930
|
suppressContentEditableWarning: !0,
|
|
2931
2931
|
children: E
|
|
@@ -2934,10 +2934,10 @@ const is = ({
|
|
|
2934
2934
|
]
|
|
2935
2935
|
}
|
|
2936
2936
|
),
|
|
2937
|
-
V && /* @__PURE__ */
|
|
2937
|
+
V && /* @__PURE__ */ n.jsx("h5", { className: "clr-red-main", style: k ? { position: "absolute", bottom: "-20px" } : { position: "relative", marginTop: "4px" }, children: A })
|
|
2938
2938
|
] });
|
|
2939
2939
|
};
|
|
2940
|
-
|
|
2940
|
+
rs.propTypes = {
|
|
2941
2941
|
title: o.string,
|
|
2942
2942
|
required: o.bool,
|
|
2943
2943
|
disabled: o.bool,
|
|
@@ -2953,21 +2953,21 @@ is.propTypes = {
|
|
|
2953
2953
|
value: o.string,
|
|
2954
2954
|
defaultValue: o.string
|
|
2955
2955
|
};
|
|
2956
|
-
const
|
|
2956
|
+
const ns = ({
|
|
2957
2957
|
title: h = "",
|
|
2958
|
-
defaultValue:
|
|
2958
|
+
defaultValue: w,
|
|
2959
2959
|
value: _,
|
|
2960
2960
|
id: v = "",
|
|
2961
2961
|
name: c = "",
|
|
2962
2962
|
onChange: b,
|
|
2963
|
-
onDeleteFile:
|
|
2963
|
+
onDeleteFile: x,
|
|
2964
2964
|
required: D = !1,
|
|
2965
2965
|
disabled: T = !1,
|
|
2966
2966
|
lineUp: $ = !1,
|
|
2967
2967
|
rowGap: m = 4,
|
|
2968
2968
|
columnGap: O = 20,
|
|
2969
|
-
styleInputContainer:
|
|
2970
|
-
styleTitle:
|
|
2969
|
+
styleInputContainer: P,
|
|
2970
|
+
styleTitle: A,
|
|
2971
2971
|
className: V = "",
|
|
2972
2972
|
loadingInfo: k = "Загрузка файлов...",
|
|
2973
2973
|
filesInfo: E = "Перетащите сюда файлы или нажмите, чтобы выбрать",
|
|
@@ -3015,7 +3015,7 @@ const rs = ({
|
|
|
3015
3015
|
return "other";
|
|
3016
3016
|
}
|
|
3017
3017
|
};
|
|
3018
|
-
return /* @__PURE__ */
|
|
3018
|
+
return /* @__PURE__ */ n.jsxs(
|
|
3019
3019
|
"div",
|
|
3020
3020
|
{
|
|
3021
3021
|
className: `u-react-file-container ${V}`,
|
|
@@ -3026,10 +3026,10 @@ const rs = ({
|
|
|
3026
3026
|
rowGap: $ ? null : f(m),
|
|
3027
3027
|
columnGap: $ ? f(O) : null
|
|
3028
3028
|
},
|
|
3029
|
-
|
|
3029
|
+
P
|
|
3030
3030
|
),
|
|
3031
3031
|
children: [
|
|
3032
|
-
h && /* @__PURE__ */
|
|
3032
|
+
h && /* @__PURE__ */ n.jsx(
|
|
3033
3033
|
"div",
|
|
3034
3034
|
{
|
|
3035
3035
|
className: `${D && "u-required"} u-react-input-title`,
|
|
@@ -3038,41 +3038,41 @@ const rs = ({
|
|
|
3038
3038
|
color: "#545454",
|
|
3039
3039
|
fontSize: "14px"
|
|
3040
3040
|
},
|
|
3041
|
-
|
|
3041
|
+
A
|
|
3042
3042
|
),
|
|
3043
3043
|
children: h
|
|
3044
3044
|
}
|
|
3045
3045
|
),
|
|
3046
|
-
/* @__PURE__ */
|
|
3047
|
-
/* @__PURE__ */
|
|
3048
|
-
/* @__PURE__ */
|
|
3049
|
-
/* @__PURE__ */
|
|
3050
|
-
!I && /* @__PURE__ */
|
|
3051
|
-
/* @__PURE__ */
|
|
3052
|
-
/* @__PURE__ */
|
|
3046
|
+
/* @__PURE__ */ n.jsxs("div", { children: [
|
|
3047
|
+
/* @__PURE__ */ n.jsxs("label", { id: v, className: "u-file", children: [
|
|
3048
|
+
/* @__PURE__ */ n.jsx("input", { type: "file", id: v, name: c, value: _, defaultValue: w, disabled: T, onChange: b, multiple: Y }),
|
|
3049
|
+
/* @__PURE__ */ n.jsx("i", { className: "u-file-icon" }),
|
|
3050
|
+
!I && /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
3051
|
+
/* @__PURE__ */ n.jsx("p", { className: "u-file-title", children: E }),
|
|
3052
|
+
/* @__PURE__ */ n.jsx("p", { className: "u-file-subtitle", children: B })
|
|
3053
3053
|
] }),
|
|
3054
|
-
I && /* @__PURE__ */
|
|
3055
|
-
/* @__PURE__ */
|
|
3056
|
-
/* @__PURE__ */
|
|
3054
|
+
I && /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
3055
|
+
/* @__PURE__ */ n.jsx("i", { className: "u-file-icon-loading" }),
|
|
3056
|
+
/* @__PURE__ */ n.jsx("p", { className: "u-file-title-loading", children: k })
|
|
3057
3057
|
] })
|
|
3058
3058
|
] }),
|
|
3059
|
-
(se == null ? void 0 : se.length) > 0 && /* @__PURE__ */
|
|
3060
|
-
/* @__PURE__ */
|
|
3061
|
-
/* @__PURE__ */
|
|
3062
|
-
/* @__PURE__ */
|
|
3063
|
-
/* @__PURE__ */
|
|
3064
|
-
/* @__PURE__ */
|
|
3065
|
-
/* @__PURE__ */
|
|
3059
|
+
(se == null ? void 0 : se.length) > 0 && /* @__PURE__ */ n.jsx("div", { style: { display: "flex", marginTop: "22px", minHeight: "122px", columnGap: "14px", rowGap: "14px", flexWrap: "wrap" }, children: se == null ? void 0 : se.map((te, fe) => /* @__PURE__ */ n.jsxs("div", { className: "u-file-cell", children: [
|
|
3060
|
+
/* @__PURE__ */ n.jsx("div", { className: `u-file-cell-icon ${ee(te.name)}` }),
|
|
3061
|
+
/* @__PURE__ */ n.jsx("div", { className: "u-file-cell-content", children: /* @__PURE__ */ n.jsxs("div", { className: "u-file-cell-content-wrapper", children: [
|
|
3062
|
+
/* @__PURE__ */ n.jsx("p", { children: te.name }),
|
|
3063
|
+
/* @__PURE__ */ n.jsxs("div", { className: "u-file-cell-content-props", children: [
|
|
3064
|
+
/* @__PURE__ */ n.jsx("span", { children: te.size }),
|
|
3065
|
+
/* @__PURE__ */ n.jsx("span", { children: te.date })
|
|
3066
3066
|
] })
|
|
3067
3067
|
] }) }),
|
|
3068
|
-
/* @__PURE__ */
|
|
3068
|
+
/* @__PURE__ */ n.jsx("button", { type: "button", onClick: () => x(te) })
|
|
3069
3069
|
] }, fe)) })
|
|
3070
3070
|
] })
|
|
3071
3071
|
]
|
|
3072
3072
|
}
|
|
3073
3073
|
);
|
|
3074
3074
|
};
|
|
3075
|
-
|
|
3075
|
+
ns.propTypes = {
|
|
3076
3076
|
title: o.string,
|
|
3077
3077
|
required: o.bool,
|
|
3078
3078
|
disabled: o.bool,
|
|
@@ -3088,21 +3088,21 @@ rs.propTypes = {
|
|
|
3088
3088
|
value: o.string,
|
|
3089
3089
|
defaultValue: o.string
|
|
3090
3090
|
};
|
|
3091
|
-
const
|
|
3091
|
+
const as = ({
|
|
3092
3092
|
title: h = "",
|
|
3093
|
-
placeholder:
|
|
3093
|
+
placeholder: w = "введите",
|
|
3094
3094
|
defaultValue: _,
|
|
3095
3095
|
value: v,
|
|
3096
3096
|
id: c = "",
|
|
3097
3097
|
name: b = "",
|
|
3098
|
-
onChange:
|
|
3098
|
+
onChange: x,
|
|
3099
3099
|
required: D = !1,
|
|
3100
3100
|
disabled: T = !1,
|
|
3101
3101
|
lineUp: $ = !1,
|
|
3102
3102
|
rowGap: m = 4,
|
|
3103
3103
|
columnGap: O = 20,
|
|
3104
|
-
styleInputContainer:
|
|
3105
|
-
styleTitle:
|
|
3104
|
+
styleInputContainer: P,
|
|
3105
|
+
styleTitle: A,
|
|
3106
3106
|
className: V = "",
|
|
3107
3107
|
min: k,
|
|
3108
3108
|
max: E
|
|
@@ -3116,7 +3116,7 @@ const ns = ({
|
|
|
3116
3116
|
const ee = f == null ? void 0 : f.previousElementSibling;
|
|
3117
3117
|
ee == null || ee.stepUp();
|
|
3118
3118
|
};
|
|
3119
|
-
return /* @__PURE__ */
|
|
3119
|
+
return /* @__PURE__ */ n.jsxs(
|
|
3120
3120
|
"div",
|
|
3121
3121
|
{
|
|
3122
3122
|
className: `u-react-input-number-container ${V}`,
|
|
@@ -3127,10 +3127,10 @@ const ns = ({
|
|
|
3127
3127
|
rowGap: $ ? null : B(m),
|
|
3128
3128
|
columnGap: $ ? B(O) : null
|
|
3129
3129
|
},
|
|
3130
|
-
|
|
3130
|
+
P
|
|
3131
3131
|
),
|
|
3132
3132
|
children: [
|
|
3133
|
-
h && /* @__PURE__ */
|
|
3133
|
+
h && /* @__PURE__ */ n.jsx(
|
|
3134
3134
|
"div",
|
|
3135
3135
|
{
|
|
3136
3136
|
className: `${D && "u-required"} u-react-input-title`,
|
|
@@ -3139,13 +3139,13 @@ const ns = ({
|
|
|
3139
3139
|
color: "#545454",
|
|
3140
3140
|
fontSize: "14px"
|
|
3141
3141
|
},
|
|
3142
|
-
|
|
3142
|
+
A
|
|
3143
3143
|
),
|
|
3144
3144
|
children: h
|
|
3145
3145
|
}
|
|
3146
3146
|
),
|
|
3147
|
-
/* @__PURE__ */
|
|
3148
|
-
/* @__PURE__ */
|
|
3147
|
+
/* @__PURE__ */ n.jsxs("div", { className: "u-number", children: [
|
|
3148
|
+
/* @__PURE__ */ n.jsx(
|
|
3149
3149
|
"button",
|
|
3150
3150
|
{
|
|
3151
3151
|
className: "u-number-down",
|
|
@@ -3156,8 +3156,8 @@ const ns = ({
|
|
|
3156
3156
|
id: `num-minus-${c}`
|
|
3157
3157
|
}
|
|
3158
3158
|
),
|
|
3159
|
-
/* @__PURE__ */
|
|
3160
|
-
/* @__PURE__ */
|
|
3159
|
+
/* @__PURE__ */ n.jsx("input", { type: "number", className: "u-input", min: k, max: E, id: c, name: b, placeholder: w, defaultValue: _, value: v, disabled: T, onChange: x }),
|
|
3160
|
+
/* @__PURE__ */ n.jsx(
|
|
3161
3161
|
"button",
|
|
3162
3162
|
{
|
|
3163
3163
|
className: "u-number-up",
|
|
@@ -3173,7 +3173,7 @@ const ns = ({
|
|
|
3173
3173
|
}
|
|
3174
3174
|
);
|
|
3175
3175
|
};
|
|
3176
|
-
|
|
3176
|
+
as.propTypes = {
|
|
3177
3177
|
title: o.string,
|
|
3178
3178
|
required: o.bool,
|
|
3179
3179
|
disabled: o.bool,
|
|
@@ -3188,21 +3188,21 @@ ns.propTypes = {
|
|
|
3188
3188
|
value: o.string,
|
|
3189
3189
|
defaultValue: o.string
|
|
3190
3190
|
};
|
|
3191
|
-
const
|
|
3191
|
+
const os = ({
|
|
3192
3192
|
title: h = "",
|
|
3193
|
-
placeholder:
|
|
3193
|
+
placeholder: w = "введите",
|
|
3194
3194
|
defaultValue: _,
|
|
3195
3195
|
value: v,
|
|
3196
3196
|
id: c = "",
|
|
3197
3197
|
name: b = "",
|
|
3198
|
-
onChange:
|
|
3198
|
+
onChange: x,
|
|
3199
3199
|
required: D = !1,
|
|
3200
3200
|
disabled: T = !1,
|
|
3201
3201
|
lineUp: $ = !1,
|
|
3202
3202
|
rowGap: m = 4,
|
|
3203
3203
|
columnGap: O = 20,
|
|
3204
|
-
styleInputContainer:
|
|
3205
|
-
styleTitle:
|
|
3204
|
+
styleInputContainer: P,
|
|
3205
|
+
styleTitle: A,
|
|
3206
3206
|
styleInput: V,
|
|
3207
3207
|
className: k = "",
|
|
3208
3208
|
tableView: E = !1,
|
|
@@ -3211,8 +3211,8 @@ const as = ({
|
|
|
3211
3211
|
absoluteValidationText: F
|
|
3212
3212
|
}) => {
|
|
3213
3213
|
const Y = (f) => typeof f == "number" ? `${f}px` : String(f);
|
|
3214
|
-
return /* @__PURE__ */
|
|
3215
|
-
/* @__PURE__ */
|
|
3214
|
+
return /* @__PURE__ */ n.jsxs("div", { className: `u-react-input-container ${k}`, style: { position: "relative" }, children: [
|
|
3215
|
+
/* @__PURE__ */ n.jsxs(
|
|
3216
3216
|
"div",
|
|
3217
3217
|
{
|
|
3218
3218
|
style: Object.assign(
|
|
@@ -3222,10 +3222,10 @@ const as = ({
|
|
|
3222
3222
|
rowGap: $ ? null : Y(m),
|
|
3223
3223
|
columnGap: $ ? Y(O) : null
|
|
3224
3224
|
},
|
|
3225
|
-
|
|
3225
|
+
P
|
|
3226
3226
|
),
|
|
3227
3227
|
children: [
|
|
3228
|
-
h && /* @__PURE__ */
|
|
3228
|
+
h && /* @__PURE__ */ n.jsx(
|
|
3229
3229
|
"div",
|
|
3230
3230
|
{
|
|
3231
3231
|
className: `${D && "u-required"} u-react-input-title`,
|
|
@@ -3234,12 +3234,12 @@ const as = ({
|
|
|
3234
3234
|
color: "#545454",
|
|
3235
3235
|
fontSize: "14px"
|
|
3236
3236
|
},
|
|
3237
|
-
|
|
3237
|
+
A
|
|
3238
3238
|
),
|
|
3239
3239
|
children: h
|
|
3240
3240
|
}
|
|
3241
3241
|
),
|
|
3242
|
-
/* @__PURE__ */
|
|
3242
|
+
/* @__PURE__ */ n.jsx(
|
|
3243
3243
|
"input",
|
|
3244
3244
|
{
|
|
3245
3245
|
className: `u-react-input u-input ${I ? "u-input-required" : ""}`,
|
|
@@ -3254,20 +3254,20 @@ const as = ({
|
|
|
3254
3254
|
V
|
|
3255
3255
|
),
|
|
3256
3256
|
type: "text",
|
|
3257
|
-
placeholder:
|
|
3257
|
+
placeholder: w,
|
|
3258
3258
|
value: v,
|
|
3259
3259
|
defaultValue: _,
|
|
3260
3260
|
disabled: T,
|
|
3261
|
-
onChange:
|
|
3261
|
+
onChange: x
|
|
3262
3262
|
}
|
|
3263
3263
|
)
|
|
3264
3264
|
]
|
|
3265
3265
|
}
|
|
3266
3266
|
),
|
|
3267
|
-
I && /* @__PURE__ */
|
|
3267
|
+
I && /* @__PURE__ */ n.jsx("h5", { className: "clr-red-main", style: F ? { position: "absolute", bottom: "-20px" } : { position: "relative", marginTop: "4px" }, children: B })
|
|
3268
3268
|
] });
|
|
3269
3269
|
};
|
|
3270
|
-
|
|
3270
|
+
os.propTypes = {
|
|
3271
3271
|
title: o.string,
|
|
3272
3272
|
required: o.bool,
|
|
3273
3273
|
disabled: o.bool,
|
|
@@ -3283,17 +3283,17 @@ as.propTypes = {
|
|
|
3283
3283
|
value: o.string,
|
|
3284
3284
|
defaultValue: o.string
|
|
3285
3285
|
};
|
|
3286
|
-
const
|
|
3286
|
+
const ls = ({
|
|
3287
3287
|
onClickSection: h,
|
|
3288
|
-
onClickSwitchMenu:
|
|
3288
|
+
onClickSwitchMenu: w,
|
|
3289
3289
|
showMenu: _,
|
|
3290
3290
|
menuData: v,
|
|
3291
3291
|
activeSection: c,
|
|
3292
3292
|
type: b = "collapsible",
|
|
3293
|
-
paddingUl:
|
|
3293
|
+
paddingUl: x = "32px 16px 32px 14px",
|
|
3294
3294
|
className: D = ""
|
|
3295
|
-
}) => /* @__PURE__ */
|
|
3296
|
-
/* @__PURE__ */
|
|
3295
|
+
}) => /* @__PURE__ */ n.jsx(n.Fragment, { children: b === "collapsible" && /* @__PURE__ */ n.jsxs("div", { className: `u-collapsible-menu ${D}`, children: [
|
|
3296
|
+
/* @__PURE__ */ n.jsx(
|
|
3297
3297
|
"input",
|
|
3298
3298
|
{
|
|
3299
3299
|
className: "u-collapsible-menu-input",
|
|
@@ -3301,21 +3301,21 @@ const os = ({
|
|
|
3301
3301
|
name: "u-collapsible-menu",
|
|
3302
3302
|
id: "u-collapsible-menu",
|
|
3303
3303
|
checked: _,
|
|
3304
|
-
onChange: () =>
|
|
3304
|
+
onChange: () => w(_)
|
|
3305
3305
|
}
|
|
3306
3306
|
),
|
|
3307
|
-
/* @__PURE__ */
|
|
3308
|
-
/* @__PURE__ */
|
|
3307
|
+
/* @__PURE__ */ n.jsx("label", { className: "u-collapsible-menu-toggle", htmlFor: "u-collapsible-menu" }),
|
|
3308
|
+
/* @__PURE__ */ n.jsx(
|
|
3309
3309
|
"div",
|
|
3310
3310
|
{
|
|
3311
3311
|
className: "u-collapsible-menu-body",
|
|
3312
3312
|
style: { height: "100%" },
|
|
3313
|
-
children: /* @__PURE__ */
|
|
3313
|
+
children: /* @__PURE__ */ n.jsx(
|
|
3314
3314
|
"ul",
|
|
3315
3315
|
{
|
|
3316
3316
|
className: "u-collapsible-menu-list",
|
|
3317
|
-
style: { padding:
|
|
3318
|
-
children: v.map((T, $) => /* @__PURE__ */
|
|
3317
|
+
style: { padding: x },
|
|
3318
|
+
children: v.map((T, $) => /* @__PURE__ */ n.jsx(
|
|
3319
3319
|
"li",
|
|
3320
3320
|
{
|
|
3321
3321
|
className: c == T.id ? "u-collapsible-menu-list-item u-menu-active" : "u-collapsible-menu-list-item",
|
|
@@ -3330,20 +3330,20 @@ const os = ({
|
|
|
3330
3330
|
}
|
|
3331
3331
|
)
|
|
3332
3332
|
] }) });
|
|
3333
|
-
|
|
3333
|
+
ls.propTypes = {
|
|
3334
3334
|
onClick: o.func,
|
|
3335
3335
|
tabsData: o.array,
|
|
3336
3336
|
activeTab: o.string || o.number,
|
|
3337
3337
|
className: o.string
|
|
3338
3338
|
};
|
|
3339
|
-
const
|
|
3339
|
+
const cs = ({
|
|
3340
3340
|
size: h = "medium",
|
|
3341
|
-
variant:
|
|
3341
|
+
variant: w = "info",
|
|
3342
3342
|
children: _,
|
|
3343
3343
|
className: v = ""
|
|
3344
3344
|
}) => {
|
|
3345
|
-
const c = (b,
|
|
3346
|
-
switch (`${b}-${
|
|
3345
|
+
const c = (b, x) => {
|
|
3346
|
+
switch (`${b}-${x}`) {
|
|
3347
3347
|
case "medium-info":
|
|
3348
3348
|
return "u-message";
|
|
3349
3349
|
case "medium-fail":
|
|
@@ -3362,43 +3362,43 @@ const ls = ({
|
|
|
3362
3362
|
return "u-message-small-warning";
|
|
3363
3363
|
}
|
|
3364
3364
|
};
|
|
3365
|
-
return /* @__PURE__ */
|
|
3365
|
+
return /* @__PURE__ */ n.jsx("div", { className: `${c(h, w)} ${v}`, children: _ });
|
|
3366
3366
|
};
|
|
3367
|
-
|
|
3367
|
+
cs.propTypes = {
|
|
3368
3368
|
size: o.string,
|
|
3369
3369
|
variant: o.string,
|
|
3370
3370
|
children: o.node,
|
|
3371
3371
|
className: o.string
|
|
3372
3372
|
};
|
|
3373
|
-
const
|
|
3373
|
+
const us = ({
|
|
3374
3374
|
onCancel: h,
|
|
3375
|
-
active:
|
|
3375
|
+
active: w,
|
|
3376
3376
|
children: _,
|
|
3377
3377
|
maxWidth: v = "900px",
|
|
3378
3378
|
maxHeight: c,
|
|
3379
3379
|
className: b = ""
|
|
3380
|
-
}) => /* @__PURE__ */
|
|
3380
|
+
}) => /* @__PURE__ */ n.jsx(
|
|
3381
3381
|
"div",
|
|
3382
3382
|
{
|
|
3383
|
-
className: `${
|
|
3383
|
+
className: `${w ? "u-modal u-modal-active" : "u-modal"} ${b}`,
|
|
3384
3384
|
onClick: h,
|
|
3385
|
-
children: /* @__PURE__ */
|
|
3385
|
+
children: /* @__PURE__ */ n.jsx("div", { className: "u-modal__container", children: /* @__PURE__ */ n.jsxs(
|
|
3386
3386
|
"div",
|
|
3387
3387
|
{
|
|
3388
3388
|
className: "u-modal__body",
|
|
3389
|
-
onClick: (
|
|
3390
|
-
|
|
3389
|
+
onClick: (x) => {
|
|
3390
|
+
x.stopPropagation();
|
|
3391
3391
|
},
|
|
3392
3392
|
style: { width: "100%", maxWidth: v, height: c && "100%", maxHeight: c },
|
|
3393
3393
|
children: [
|
|
3394
3394
|
_,
|
|
3395
|
-
/* @__PURE__ */
|
|
3395
|
+
/* @__PURE__ */ n.jsx("div", { className: "u-modal__exit", children: /* @__PURE__ */ n.jsx("button", { className: "u-button-cross", onClick: h }) })
|
|
3396
3396
|
]
|
|
3397
3397
|
}
|
|
3398
3398
|
) })
|
|
3399
3399
|
}
|
|
3400
3400
|
);
|
|
3401
|
-
|
|
3401
|
+
us.propTypes = {
|
|
3402
3402
|
onClick: o.func,
|
|
3403
3403
|
onCancel: o.func,
|
|
3404
3404
|
active: o.bool,
|
|
@@ -3406,45 +3406,45 @@ cs.propTypes = {
|
|
|
3406
3406
|
maxWidth: o.string,
|
|
3407
3407
|
className: o.string
|
|
3408
3408
|
};
|
|
3409
|
-
const
|
|
3409
|
+
const ds = ({
|
|
3410
3410
|
title: h = "",
|
|
3411
|
-
required:
|
|
3411
|
+
required: w = !1,
|
|
3412
3412
|
options: _,
|
|
3413
3413
|
styleSelectContainer: v,
|
|
3414
3414
|
styleTitle: c,
|
|
3415
3415
|
styleSelect: b,
|
|
3416
|
-
lineUp:
|
|
3416
|
+
lineUp: x = !1,
|
|
3417
3417
|
rowGap: D = 4,
|
|
3418
3418
|
columnGap: T = 20,
|
|
3419
3419
|
placeholder: $ = "Не выбрано",
|
|
3420
3420
|
values: m,
|
|
3421
3421
|
isOpen: O,
|
|
3422
|
-
isClearable:
|
|
3423
|
-
onChange:
|
|
3422
|
+
isClearable: P,
|
|
3423
|
+
onChange: A,
|
|
3424
3424
|
onOpen: V,
|
|
3425
3425
|
className: k,
|
|
3426
3426
|
tableView: E = !1
|
|
3427
3427
|
}) => {
|
|
3428
3428
|
console.log("🚀 ~ values:", m);
|
|
3429
3429
|
const B = (I) => typeof I == "number" ? `${I}px` : String(I);
|
|
3430
|
-
return /* @__PURE__ */
|
|
3430
|
+
return /* @__PURE__ */ n.jsxs(
|
|
3431
3431
|
"div",
|
|
3432
3432
|
{
|
|
3433
3433
|
className: `u-react-multiselect-container ${k}`,
|
|
3434
3434
|
style: Object.assign(
|
|
3435
3435
|
{
|
|
3436
3436
|
display: "flex",
|
|
3437
|
-
flexDirection:
|
|
3438
|
-
rowGap:
|
|
3439
|
-
columnGap:
|
|
3437
|
+
flexDirection: x ? "row" : "column",
|
|
3438
|
+
rowGap: x ? null : B(D),
|
|
3439
|
+
columnGap: x ? B(T) : null
|
|
3440
3440
|
},
|
|
3441
3441
|
v
|
|
3442
3442
|
),
|
|
3443
3443
|
children: [
|
|
3444
|
-
h && /* @__PURE__ */
|
|
3444
|
+
h && /* @__PURE__ */ n.jsx(
|
|
3445
3445
|
"div",
|
|
3446
3446
|
{
|
|
3447
|
-
className: `${
|
|
3447
|
+
className: `${w && "u-required"} u-react-multiselect-title`,
|
|
3448
3448
|
style: Object.assign(
|
|
3449
3449
|
{
|
|
3450
3450
|
color: "#545454",
|
|
@@ -3455,7 +3455,7 @@ const us = ({
|
|
|
3455
3455
|
children: h
|
|
3456
3456
|
}
|
|
3457
3457
|
),
|
|
3458
|
-
/* @__PURE__ */
|
|
3458
|
+
/* @__PURE__ */ n.jsxs(
|
|
3459
3459
|
"div",
|
|
3460
3460
|
{
|
|
3461
3461
|
className: "u-multiselectbox-simple u-react-multiselect",
|
|
@@ -3468,7 +3468,7 @@ const us = ({
|
|
|
3468
3468
|
b
|
|
3469
3469
|
),
|
|
3470
3470
|
children: [
|
|
3471
|
-
/* @__PURE__ */
|
|
3471
|
+
/* @__PURE__ */ n.jsx(
|
|
3472
3472
|
"div",
|
|
3473
3473
|
{
|
|
3474
3474
|
className: O ? "u-multiselectbox-simple-select u-multiselectbox-simple-select-open" : "u-multiselectbox-simple-select",
|
|
@@ -3478,25 +3478,25 @@ const us = ({
|
|
|
3478
3478
|
fontSize: "12px",
|
|
3479
3479
|
lineHeight: "12px"
|
|
3480
3480
|
} : null,
|
|
3481
|
-
children: (m == null ? void 0 : m.length) > 0 ? m.map((I, F) => /* @__PURE__ */
|
|
3481
|
+
children: (m == null ? void 0 : m.length) > 0 ? m.map((I, F) => /* @__PURE__ */ n.jsxs("span", { className: "u-multiselectbox-simple-select-label", children: [
|
|
3482
3482
|
I == null ? void 0 : I.label,
|
|
3483
3483
|
F !== (m == null ? void 0 : m.length) - 1 ? ", " : ""
|
|
3484
|
-
] })) : /* @__PURE__ */
|
|
3484
|
+
] })) : /* @__PURE__ */ n.jsx("span", { style: { color: "#545454" }, className: "u-multiselectbox-simple-select-label", children: $ })
|
|
3485
3485
|
}
|
|
3486
3486
|
),
|
|
3487
|
-
/* @__PURE__ */
|
|
3487
|
+
/* @__PURE__ */ n.jsx(
|
|
3488
3488
|
"div",
|
|
3489
3489
|
{
|
|
3490
3490
|
className: "u-multiselectbox-simple-options",
|
|
3491
3491
|
style: E ? {
|
|
3492
3492
|
width: "unset"
|
|
3493
3493
|
} : null,
|
|
3494
|
-
children: _.map((I, F) => /* @__PURE__ */
|
|
3494
|
+
children: _.map((I, F) => /* @__PURE__ */ n.jsx(
|
|
3495
3495
|
"div",
|
|
3496
3496
|
{
|
|
3497
3497
|
className: "u-multiselectbox-simple-option",
|
|
3498
3498
|
onClick: (Y) => {
|
|
3499
|
-
Y.stopPropagation(),
|
|
3499
|
+
Y.stopPropagation(), A(I), V(!1);
|
|
3500
3500
|
},
|
|
3501
3501
|
style: E ? {
|
|
3502
3502
|
minHeight: "30px",
|
|
@@ -3504,9 +3504,9 @@ const us = ({
|
|
|
3504
3504
|
fontSize: "12px",
|
|
3505
3505
|
lineHeight: "12px"
|
|
3506
3506
|
} : null,
|
|
3507
|
-
children: /* @__PURE__ */
|
|
3508
|
-
/* @__PURE__ */
|
|
3509
|
-
/* @__PURE__ */
|
|
3507
|
+
children: /* @__PURE__ */ n.jsxs("label", { className: "u-multiselectbox-simple-option-checkbox", children: [
|
|
3508
|
+
/* @__PURE__ */ n.jsx("input", { type: "checkbox" }),
|
|
3509
|
+
/* @__PURE__ */ n.jsx("div", {}),
|
|
3510
3510
|
I.label
|
|
3511
3511
|
] })
|
|
3512
3512
|
},
|
|
@@ -3514,10 +3514,10 @@ const us = ({
|
|
|
3514
3514
|
))
|
|
3515
3515
|
}
|
|
3516
3516
|
),
|
|
3517
|
-
(m == null ? void 0 : m.length) > 0 &&
|
|
3518
|
-
I.stopPropagation(),
|
|
3519
|
-
} }) : /* @__PURE__ */
|
|
3520
|
-
/* @__PURE__ */
|
|
3517
|
+
(m == null ? void 0 : m.length) > 0 && P ? /* @__PURE__ */ n.jsx("i", { className: "u-multiselectbox-simple-select-icon-cross", onClick: (I) => {
|
|
3518
|
+
I.stopPropagation(), A([]), V(!1);
|
|
3519
|
+
} }) : /* @__PURE__ */ n.jsx(n.Fragment, {}),
|
|
3520
|
+
/* @__PURE__ */ n.jsx(
|
|
3521
3521
|
"i",
|
|
3522
3522
|
{
|
|
3523
3523
|
className: "u-multiselectbox-simple-select-icon-arrow",
|
|
@@ -3533,7 +3533,7 @@ const us = ({
|
|
|
3533
3533
|
}
|
|
3534
3534
|
);
|
|
3535
3535
|
};
|
|
3536
|
-
|
|
3536
|
+
ds.propTypes = {
|
|
3537
3537
|
title: o.string,
|
|
3538
3538
|
required: o.bool,
|
|
3539
3539
|
lineUp: o.bool,
|
|
@@ -3548,14 +3548,14 @@ us.propTypes = {
|
|
|
3548
3548
|
onChange: o.func,
|
|
3549
3549
|
className: o.string
|
|
3550
3550
|
};
|
|
3551
|
-
const
|
|
3551
|
+
const hs = ({
|
|
3552
3552
|
variant: h = "info",
|
|
3553
|
-
children:
|
|
3553
|
+
children: w,
|
|
3554
3554
|
className: _ = "",
|
|
3555
3555
|
onHide: v,
|
|
3556
3556
|
show: c,
|
|
3557
3557
|
right: b = "10px",
|
|
3558
|
-
top:
|
|
3558
|
+
top: x = "10px"
|
|
3559
3559
|
}) => {
|
|
3560
3560
|
const D = (T) => {
|
|
3561
3561
|
switch (T) {
|
|
@@ -3569,87 +3569,87 @@ const ds = ({
|
|
|
3569
3569
|
return "u-notification-warning";
|
|
3570
3570
|
}
|
|
3571
3571
|
};
|
|
3572
|
-
return c && /* @__PURE__ */
|
|
3573
|
-
|
|
3574
|
-
/* @__PURE__ */
|
|
3572
|
+
return c && /* @__PURE__ */ n.jsxs("div", { style: { position: "fixed", top: x, right: b }, className: `${D(h)} ${_}`, children: [
|
|
3573
|
+
w,
|
|
3574
|
+
/* @__PURE__ */ n.jsx("button", { onClick: () => v(), className: "u-notification-hide" })
|
|
3575
3575
|
] });
|
|
3576
3576
|
};
|
|
3577
|
-
|
|
3577
|
+
hs.propTypes = {
|
|
3578
3578
|
size: o.string,
|
|
3579
3579
|
variant: o.string,
|
|
3580
3580
|
children: o.node,
|
|
3581
3581
|
className: o.string
|
|
3582
3582
|
};
|
|
3583
|
-
const
|
|
3583
|
+
const ps = ({
|
|
3584
3584
|
variant: h = "small-primary",
|
|
3585
|
-
className:
|
|
3586
|
-
}) => /* @__PURE__ */
|
|
3587
|
-
h === "small-primary" && /* @__PURE__ */
|
|
3588
|
-
/* @__PURE__ */
|
|
3589
|
-
/* @__PURE__ */
|
|
3585
|
+
className: w = ""
|
|
3586
|
+
}) => /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
3587
|
+
h === "small-primary" && /* @__PURE__ */ n.jsx("div", { className: `u-preloader-mini ${w}`, children: /* @__PURE__ */ n.jsxs("svg", { className: "u-preloader-mini-container", width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3588
|
+
/* @__PURE__ */ n.jsx("circle", { cx: "24", cy: "24", r: "23", stroke: "#1E4391", strokeWidth: "2" }),
|
|
3589
|
+
/* @__PURE__ */ n.jsx("circle", { className: "u-preloader-mini-dot", cx: "6.5", cy: "6.5", r: "6.5", fill: "#1E4391" })
|
|
3590
3590
|
] }) }),
|
|
3591
|
-
h === "small-special" && /* @__PURE__ */
|
|
3592
|
-
/* @__PURE__ */
|
|
3593
|
-
/* @__PURE__ */
|
|
3594
|
-
/* @__PURE__ */
|
|
3595
|
-
/* @__PURE__ */
|
|
3596
|
-
/* @__PURE__ */
|
|
3597
|
-
/* @__PURE__ */
|
|
3598
|
-
/* @__PURE__ */
|
|
3591
|
+
h === "small-special" && /* @__PURE__ */ n.jsx("div", { className: `u-preloader-mini-gradient ${w}`, children: /* @__PURE__ */ n.jsxs("svg", { className: "u-preloader-mini-gradient-container", width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3592
|
+
/* @__PURE__ */ n.jsx("circle", { cx: "24", cy: "24", r: "23", stroke: "url(#paint0_linear_8025_35626)", strokeWidth: "2" }),
|
|
3593
|
+
/* @__PURE__ */ n.jsx("circle", { className: "u-preloader-mini-dot", cx: "6.5", cy: "6.5", r: "6.5", fill: "url(#paint0_linear_8025_35627)" }),
|
|
3594
|
+
/* @__PURE__ */ n.jsxs("defs", { children: [
|
|
3595
|
+
/* @__PURE__ */ n.jsxs("linearGradient", { id: "paint0_linear_8025_35626", x1: "54.3387", y1: "23.9985", x2: "6", y2: "23.9985", gradientUnits: "userSpaceOnUse", children: [
|
|
3596
|
+
/* @__PURE__ */ n.jsx("stop", { stopColor: "#FF2D7F" }),
|
|
3597
|
+
/* @__PURE__ */ n.jsx("stop", { offset: "0.48", stopColor: "#FB3727" }),
|
|
3598
|
+
/* @__PURE__ */ n.jsx("stop", { offset: "1", stopColor: "#FEEA0F" })
|
|
3599
3599
|
] }),
|
|
3600
|
-
/* @__PURE__ */
|
|
3601
|
-
/* @__PURE__ */
|
|
3602
|
-
/* @__PURE__ */
|
|
3603
|
-
/* @__PURE__ */
|
|
3600
|
+
/* @__PURE__ */ n.jsxs("linearGradient", { id: "paint0_linear_8025_35627", x1: "0.50109", y1: "13", x2: "8.00065", y2: "0.000589107", gradientUnits: "userSpaceOnUse", children: [
|
|
3601
|
+
/* @__PURE__ */ n.jsx("stop", { stopColor: "#FF2D7F" }),
|
|
3602
|
+
/* @__PURE__ */ n.jsx("stop", { offset: "0.192259", stopColor: "#FB3727" }),
|
|
3603
|
+
/* @__PURE__ */ n.jsx("stop", { offset: "1", stopColor: "#FEEA0F" })
|
|
3604
3604
|
] })
|
|
3605
3605
|
] })
|
|
3606
3606
|
] }) }),
|
|
3607
|
-
h === "large-primary" && /* @__PURE__ */
|
|
3608
|
-
/* @__PURE__ */
|
|
3609
|
-
/* @__PURE__ */
|
|
3610
|
-
/* @__PURE__ */
|
|
3607
|
+
h === "large-primary" && /* @__PURE__ */ n.jsx("div", { className: `u-preloader ${w}`, children: /* @__PURE__ */ n.jsxs("svg", { className: "u-preloader-container", width: "76", height: "76", viewBox: "0 0 76 76", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3608
|
+
/* @__PURE__ */ n.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M38 74C57.8823 74 74 57.8823 74 38C74 18.1177 57.8823 2 38 2C18.1177 2 2 18.1177 2 38C2 57.8823 18.1177 74 38 74ZM38 76C58.9868 76 76 58.9868 76 38C76 17.0132 58.9868 0 38 0C17.0132 0 0 17.0132 0 38C0 58.9868 17.0132 76 38 76Z", fill: "#1E4391" }),
|
|
3609
|
+
/* @__PURE__ */ n.jsx("path", { className: "u-preloader-dot", d: "M12.2573 17.5283C12.2573 20.0136 10.2426 22.0283 7.75732 22.0283C5.27204 22.0283 3.25732 20.0136 3.25732 17.5283C3.25732 15.043 5.27204 13.0283 7.75732 13.0283C10.2426 13.0283 12.2573 15.043 12.2573 17.5283Z", fill: "#1E4391" }),
|
|
3610
|
+
/* @__PURE__ */ n.jsx("path", { className: "u-preloader-logo", d: "M52.5974 25.4219C52.9649 24.721 53.5215 24.137 54.2039 23.7362C54.8864 23.3354 55.6675 23.1338 56.4587 23.1542L56.8417 21.7254H45.4303L45.0472 23.1542C46.9626 23.1542 49.575 23.9203 49.7512 25.4219H52.5897H52.5974ZM19.543 23.1542C22.4274 23.1542 23.6456 25.1653 24.9441 27.3219L35.5588 45.525C36.0606 46.4329 36.5509 47.5322 36.5356 48.5589C36.4973 51.2403 33.0229 52.2171 30.9429 52.3167C29.4339 52.3686 27.9339 52.0642 26.5645 51.428L25.7179 52.5159C26.2121 54.6151 28.1542 57.1663 30.8242 57.1471C35.463 57.1126 37.8993 52.8721 39.7648 49.4169L43.2124 43.016L33.1838 25.8203C32.2568 24.288 33.7776 23.1618 35.3941 23.1389L35.7771 21.7139H19.9145L19.543 23.1542Z", fill: "#1E4391" })
|
|
3611
3611
|
] }) }),
|
|
3612
|
-
h === "large-special" && /* @__PURE__ */
|
|
3613
|
-
/* @__PURE__ */
|
|
3614
|
-
/* @__PURE__ */
|
|
3615
|
-
/* @__PURE__ */
|
|
3616
|
-
/* @__PURE__ */
|
|
3617
|
-
/* @__PURE__ */
|
|
3618
|
-
/* @__PURE__ */
|
|
3619
|
-
/* @__PURE__ */
|
|
3620
|
-
/* @__PURE__ */
|
|
3612
|
+
h === "large-special" && /* @__PURE__ */ n.jsx("div", { className: `u-preloader-gradient ${w}`, children: /* @__PURE__ */ n.jsxs("svg", { className: "u-preloader-gradient-container", width: "76", height: "76", viewBox: "0 0 76 76", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3613
|
+
/* @__PURE__ */ n.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M38 74C57.8823 74 74 57.8823 74 38C74 18.1177 57.8823 2 38 2C18.1177 2 2 18.1177 2 38C2 57.8823 18.1177 74 38 74ZM38 76C58.9868 76 76 58.9868 76 38C76 17.0132 58.9868 0 38 0C17.0132 0 0 17.0132 0 38C0 58.9868 17.0132 76 38 76Z", fill: "url(#paint0_linear_1804_4939)" }),
|
|
3614
|
+
/* @__PURE__ */ n.jsx("path", { className: "u-preloader-gradient-dot", d: "M12.2573 17.5283C12.2573 20.0136 10.2426 22.0283 7.75732 22.0283C5.27204 22.0283 3.25732 20.0136 3.25732 17.5283C3.25732 15.043 5.27204 13.0283 7.75732 13.0283C10.2426 13.0283 12.2573 15.043 12.2573 17.5283Z", fill: "url(#paint1_linear_1804_4939)" }),
|
|
3615
|
+
/* @__PURE__ */ n.jsx("path", { className: "u-preloader-gradient-logo", d: "M52.5974 25.4219C52.9649 24.721 53.5215 24.137 54.2039 23.7362C54.8864 23.3354 55.6675 23.1338 56.4587 23.1542L56.8417 21.7254H45.4303L45.0472 23.1542C46.9626 23.1542 49.575 23.9203 49.7512 25.4219H52.5897H52.5974ZM19.543 23.1542C22.4274 23.1542 23.6456 25.1653 24.9441 27.3219L35.5588 45.525C36.0606 46.4329 36.5509 47.5322 36.5356 48.5589C36.4973 51.2403 33.0229 52.2171 30.9429 52.3167C29.4339 52.3686 27.9339 52.0642 26.5645 51.428L25.7179 52.5159C26.2121 54.6151 28.1542 57.1663 30.8242 57.1471C35.463 57.1126 37.8993 52.8721 39.7648 49.4169L43.2124 43.016L33.1838 25.8203C32.2568 24.288 33.7776 23.1618 35.3941 23.1389L35.7771 21.7139H19.9145L19.543 23.1542Z", fill: "url(#paint2_linear_1804_4939)" }),
|
|
3616
|
+
/* @__PURE__ */ n.jsxs("defs", { children: [
|
|
3617
|
+
/* @__PURE__ */ n.jsxs("linearGradient", { id: "paint0_linear_1804_4939", x1: "76.5363", y1: "37.9977", x2: "1.9146e-07", y2: "37.9977", gradientUnits: "userSpaceOnUse", children: [
|
|
3618
|
+
/* @__PURE__ */ n.jsx("stop", { stopColor: "#FF2D7F" }),
|
|
3619
|
+
/* @__PURE__ */ n.jsx("stop", { offset: "0.48", stopColor: "#FB3727" }),
|
|
3620
|
+
/* @__PURE__ */ n.jsx("stop", { offset: "1", stopColor: "#FEEA0F" })
|
|
3621
3621
|
] }),
|
|
3622
|
-
/* @__PURE__ */
|
|
3623
|
-
/* @__PURE__ */
|
|
3624
|
-
/* @__PURE__ */
|
|
3625
|
-
/* @__PURE__ */
|
|
3622
|
+
/* @__PURE__ */ n.jsxs("linearGradient", { id: "paint1_linear_1804_4939", x1: "5.06202", y1: "20.769", x2: "11.2799", y2: "12.9983", gradientUnits: "userSpaceOnUse", children: [
|
|
3623
|
+
/* @__PURE__ */ n.jsx("stop", { stopColor: "#FF2D7F" }),
|
|
3624
|
+
/* @__PURE__ */ n.jsx("stop", { offset: "0.48", stopColor: "#FB3727" }),
|
|
3625
|
+
/* @__PURE__ */ n.jsx("stop", { offset: "1", stopColor: "#FEEA0F" })
|
|
3626
3626
|
] }),
|
|
3627
|
-
/* @__PURE__ */
|
|
3628
|
-
/* @__PURE__ */
|
|
3629
|
-
/* @__PURE__ */
|
|
3630
|
-
/* @__PURE__ */
|
|
3627
|
+
/* @__PURE__ */ n.jsxs("linearGradient", { id: "paint2_linear_1804_4939", x1: "35.9984", y1: "21.9995", x2: "36.4978", y2: "56.9995", gradientUnits: "userSpaceOnUse", children: [
|
|
3628
|
+
/* @__PURE__ */ n.jsx("stop", { stopColor: "#FF2D7F" }),
|
|
3629
|
+
/* @__PURE__ */ n.jsx("stop", { offset: "0.48", stopColor: "#FB3727" }),
|
|
3630
|
+
/* @__PURE__ */ n.jsx("stop", { offset: "1", stopColor: "#FEEA0F" })
|
|
3631
3631
|
] })
|
|
3632
3632
|
] })
|
|
3633
3633
|
] }) })
|
|
3634
3634
|
] });
|
|
3635
|
-
|
|
3635
|
+
ps.propTypes = {
|
|
3636
3636
|
variant: o.string,
|
|
3637
3637
|
className: o.string
|
|
3638
3638
|
};
|
|
3639
|
-
const
|
|
3640
|
-
children: h = /* @__PURE__ */
|
|
3641
|
-
disabled:
|
|
3639
|
+
const fs = ({
|
|
3640
|
+
children: h = /* @__PURE__ */ n.jsx("span", {}),
|
|
3641
|
+
disabled: w,
|
|
3642
3642
|
checked: _,
|
|
3643
3643
|
rightCheckbox: v = !1,
|
|
3644
3644
|
onClick: c,
|
|
3645
3645
|
className: b = ""
|
|
3646
|
-
}) => /* @__PURE__ */
|
|
3647
|
-
v && /* @__PURE__ */
|
|
3648
|
-
/* @__PURE__ */
|
|
3649
|
-
/* @__PURE__ */
|
|
3650
|
-
!v && /* @__PURE__ */
|
|
3646
|
+
}) => /* @__PURE__ */ n.jsxs("label", { className: `u-radio ${b}`, children: [
|
|
3647
|
+
v && /* @__PURE__ */ n.jsx(n.Fragment, { children: h }),
|
|
3648
|
+
/* @__PURE__ */ n.jsx("input", { checked: _, disabled: w, type: "radio", onClick: c }),
|
|
3649
|
+
/* @__PURE__ */ n.jsx("div", { className: "u-radio-input" }),
|
|
3650
|
+
!v && /* @__PURE__ */ n.jsx(n.Fragment, { children: h })
|
|
3651
3651
|
] });
|
|
3652
|
-
|
|
3652
|
+
fs.propTypes = {
|
|
3653
3653
|
children: o.node,
|
|
3654
3654
|
disabled: o.bool,
|
|
3655
3655
|
checked: o.bool,
|
|
@@ -3657,36 +3657,36 @@ ps.propTypes = {
|
|
|
3657
3657
|
onChange: o.func,
|
|
3658
3658
|
className: o.string
|
|
3659
3659
|
};
|
|
3660
|
-
const
|
|
3660
|
+
const ms = ({
|
|
3661
3661
|
placeholder: h = "Поиск",
|
|
3662
|
-
value:
|
|
3662
|
+
value: w,
|
|
3663
3663
|
onChange: _,
|
|
3664
3664
|
className: v = ""
|
|
3665
|
-
}) => /* @__PURE__ */
|
|
3666
|
-
/* @__PURE__ */
|
|
3667
|
-
/* @__PURE__ */
|
|
3665
|
+
}) => /* @__PURE__ */ n.jsxs("div", { className: `u-search ${v}`, children: [
|
|
3666
|
+
/* @__PURE__ */ n.jsx("input", { placeholder: h, className: "u-input", type: "search", value: w, onChange: _ }),
|
|
3667
|
+
/* @__PURE__ */ n.jsx("button", { className: "u-search-loupe", type: "button" })
|
|
3668
3668
|
] });
|
|
3669
|
-
|
|
3669
|
+
ms.propTypes = {
|
|
3670
3670
|
placeholder: o.string,
|
|
3671
3671
|
value: o.string,
|
|
3672
3672
|
onChange: o.func,
|
|
3673
3673
|
className: o.string
|
|
3674
3674
|
};
|
|
3675
|
-
const
|
|
3675
|
+
const gs = ({
|
|
3676
3676
|
title: h = "",
|
|
3677
|
-
required:
|
|
3677
|
+
required: w = !1,
|
|
3678
3678
|
options: _,
|
|
3679
3679
|
styleSelectContainer: v,
|
|
3680
3680
|
styleTitle: c,
|
|
3681
3681
|
styleSelect: b,
|
|
3682
|
-
lineUp:
|
|
3682
|
+
lineUp: x = !1,
|
|
3683
3683
|
rowGap: D = 4,
|
|
3684
3684
|
columnGap: T = 20,
|
|
3685
3685
|
placeholder: $ = "Не выбрано",
|
|
3686
3686
|
value: m,
|
|
3687
3687
|
isOpen: O,
|
|
3688
|
-
isClearable:
|
|
3689
|
-
onChange:
|
|
3688
|
+
isClearable: P,
|
|
3689
|
+
onChange: A,
|
|
3690
3690
|
onOpen: V,
|
|
3691
3691
|
className: k,
|
|
3692
3692
|
tableView: E = !1,
|
|
@@ -3695,24 +3695,24 @@ const ms = ({
|
|
|
3695
3695
|
absoluteValidationText: F
|
|
3696
3696
|
}) => {
|
|
3697
3697
|
const Y = (f) => typeof f == "number" ? `${f}px` : String(f);
|
|
3698
|
-
return /* @__PURE__ */
|
|
3699
|
-
/* @__PURE__ */
|
|
3698
|
+
return /* @__PURE__ */ n.jsxs("div", { className: `u-react-select-container ${k}`, style: { position: "relative" }, children: [
|
|
3699
|
+
/* @__PURE__ */ n.jsxs(
|
|
3700
3700
|
"div",
|
|
3701
3701
|
{
|
|
3702
3702
|
style: Object.assign(
|
|
3703
3703
|
{
|
|
3704
3704
|
display: "flex",
|
|
3705
|
-
flexDirection:
|
|
3706
|
-
rowGap:
|
|
3707
|
-
columnGap:
|
|
3705
|
+
flexDirection: x ? "row" : "column",
|
|
3706
|
+
rowGap: x ? null : Y(D),
|
|
3707
|
+
columnGap: x ? Y(T) : null
|
|
3708
3708
|
},
|
|
3709
3709
|
v
|
|
3710
3710
|
),
|
|
3711
3711
|
children: [
|
|
3712
|
-
h && /* @__PURE__ */
|
|
3712
|
+
h && /* @__PURE__ */ n.jsx(
|
|
3713
3713
|
"div",
|
|
3714
3714
|
{
|
|
3715
|
-
className: `${
|
|
3715
|
+
className: `${w && "u-required"} u-react-select-title`,
|
|
3716
3716
|
style: Object.assign(
|
|
3717
3717
|
{
|
|
3718
3718
|
color: "#545454",
|
|
@@ -3723,7 +3723,7 @@ const ms = ({
|
|
|
3723
3723
|
children: h
|
|
3724
3724
|
}
|
|
3725
3725
|
),
|
|
3726
|
-
/* @__PURE__ */
|
|
3726
|
+
/* @__PURE__ */ n.jsxs(
|
|
3727
3727
|
"div",
|
|
3728
3728
|
{
|
|
3729
3729
|
className: "u-selectbox u-react-select",
|
|
@@ -3736,7 +3736,7 @@ const ms = ({
|
|
|
3736
3736
|
b
|
|
3737
3737
|
),
|
|
3738
3738
|
children: [
|
|
3739
|
-
/* @__PURE__ */
|
|
3739
|
+
/* @__PURE__ */ n.jsxs(
|
|
3740
3740
|
"div",
|
|
3741
3741
|
{
|
|
3742
3742
|
className: O ? "u-selectbox-select u-selectbox-select-open" : "u-selectbox-select",
|
|
@@ -3751,8 +3751,8 @@ const ms = ({
|
|
|
3751
3751
|
I && { border: "1px solid #EF302B" }
|
|
3752
3752
|
),
|
|
3753
3753
|
children: [
|
|
3754
|
-
m != null && m.value ? /* @__PURE__ */
|
|
3755
|
-
m != null && m.value &&
|
|
3754
|
+
m != null && m.value ? /* @__PURE__ */ n.jsx("span", { className: "u-selectbox-select-title", children: m == null ? void 0 : m.label }) : /* @__PURE__ */ n.jsx("span", { style: { color: "#545454" }, className: "u-selectbox-select-title", children: $ }),
|
|
3755
|
+
m != null && m.value && P ? /* @__PURE__ */ n.jsx(
|
|
3756
3756
|
"i",
|
|
3757
3757
|
{
|
|
3758
3758
|
className: "u-selectbox-select-icon-cross",
|
|
@@ -3760,11 +3760,11 @@ const ms = ({
|
|
|
3760
3760
|
right: "28px"
|
|
3761
3761
|
} : null,
|
|
3762
3762
|
onClick: (f) => {
|
|
3763
|
-
f.stopPropagation(),
|
|
3763
|
+
f.stopPropagation(), A({}), V(!1);
|
|
3764
3764
|
}
|
|
3765
3765
|
}
|
|
3766
|
-
) : /* @__PURE__ */
|
|
3767
|
-
/* @__PURE__ */
|
|
3766
|
+
) : /* @__PURE__ */ n.jsx(n.Fragment, {}),
|
|
3767
|
+
/* @__PURE__ */ n.jsx(
|
|
3768
3768
|
"i",
|
|
3769
3769
|
{
|
|
3770
3770
|
className: "u-selectbox-select-icon-arrow",
|
|
@@ -3778,19 +3778,19 @@ const ms = ({
|
|
|
3778
3778
|
]
|
|
3779
3779
|
}
|
|
3780
3780
|
),
|
|
3781
|
-
/* @__PURE__ */
|
|
3781
|
+
/* @__PURE__ */ n.jsx(
|
|
3782
3782
|
"div",
|
|
3783
3783
|
{
|
|
3784
3784
|
className: "u-selectbox-options",
|
|
3785
3785
|
style: E ? {
|
|
3786
3786
|
width: "unset"
|
|
3787
3787
|
} : null,
|
|
3788
|
-
children: _.map((f, se) => /* @__PURE__ */
|
|
3788
|
+
children: _.map((f, se) => /* @__PURE__ */ n.jsx(
|
|
3789
3789
|
"div",
|
|
3790
3790
|
{
|
|
3791
3791
|
className: "u-selectbox-option",
|
|
3792
3792
|
onClick: (ee) => {
|
|
3793
|
-
ee.stopPropagation(),
|
|
3793
|
+
ee.stopPropagation(), A(f), V(!1);
|
|
3794
3794
|
},
|
|
3795
3795
|
style: E ? {
|
|
3796
3796
|
minHeight: "30px",
|
|
@@ -3810,10 +3810,10 @@ const ms = ({
|
|
|
3810
3810
|
]
|
|
3811
3811
|
}
|
|
3812
3812
|
),
|
|
3813
|
-
I && /* @__PURE__ */
|
|
3813
|
+
I && /* @__PURE__ */ n.jsx("h5", { className: "clr-red-main", style: F ? { position: "absolute", bottom: "-20px" } : { position: "relative", marginTop: "4px" }, children: B })
|
|
3814
3814
|
] });
|
|
3815
3815
|
};
|
|
3816
|
-
|
|
3816
|
+
gs.propTypes = {
|
|
3817
3817
|
title: o.string,
|
|
3818
3818
|
required: o.bool,
|
|
3819
3819
|
lineUp: o.bool,
|
|
@@ -3828,15 +3828,15 @@ ms.propTypes = {
|
|
|
3828
3828
|
onChange: o.func,
|
|
3829
3829
|
className: o.string
|
|
3830
3830
|
};
|
|
3831
|
-
const
|
|
3831
|
+
const vs = ({
|
|
3832
3832
|
size: h = "medium",
|
|
3833
|
-
variant:
|
|
3833
|
+
variant: w = "",
|
|
3834
3834
|
children: _,
|
|
3835
3835
|
className: v = "",
|
|
3836
3836
|
id: c = "",
|
|
3837
3837
|
props: b
|
|
3838
3838
|
}) => {
|
|
3839
|
-
const
|
|
3839
|
+
const x = (D) => {
|
|
3840
3840
|
switch (D) {
|
|
3841
3841
|
case "warning":
|
|
3842
3842
|
return " u-status-warning";
|
|
@@ -3854,29 +3854,29 @@ const gs = ({
|
|
|
3854
3854
|
return " u-status-prepared";
|
|
3855
3855
|
}
|
|
3856
3856
|
};
|
|
3857
|
-
return /* @__PURE__ */
|
|
3857
|
+
return /* @__PURE__ */ n.jsx("div", { id: c, className: `u-status${h === "large" ? " u-status-large" : ""}${x(w)} ${v}`, ...b, children: _ });
|
|
3858
3858
|
};
|
|
3859
|
-
|
|
3859
|
+
vs.propTypes = {
|
|
3860
3860
|
children: o.string,
|
|
3861
3861
|
variant: o.string,
|
|
3862
3862
|
size: o.string,
|
|
3863
3863
|
className: o.string
|
|
3864
3864
|
};
|
|
3865
|
-
const
|
|
3865
|
+
const ys = ({
|
|
3866
3866
|
data: h,
|
|
3867
|
-
columns:
|
|
3867
|
+
columns: w,
|
|
3868
3868
|
borders: _ = "horizontal",
|
|
3869
3869
|
striped: v,
|
|
3870
3870
|
linesNotActive: c,
|
|
3871
3871
|
fixedHeader: b,
|
|
3872
|
-
headerBorders:
|
|
3872
|
+
headerBorders: x,
|
|
3873
3873
|
tdStyle: D,
|
|
3874
3874
|
thStyle: T,
|
|
3875
3875
|
cellStyle: $,
|
|
3876
3876
|
tdContentStyle: m,
|
|
3877
3877
|
thContentStyle: O,
|
|
3878
|
-
cellContentStyle:
|
|
3879
|
-
contentForEmptyTable:
|
|
3878
|
+
cellContentStyle: P,
|
|
3879
|
+
contentForEmptyTable: A = /* @__PURE__ */ n.jsx("p", { children: "Ничего не найдено" }),
|
|
3880
3880
|
className: V = "",
|
|
3881
3881
|
allTdStyleFunction: k,
|
|
3882
3882
|
allTdContentStyleFunction: E,
|
|
@@ -3900,7 +3900,7 @@ const vs = ({
|
|
|
3900
3900
|
}, te = (L) => `${L}px`, fe = (L) => {
|
|
3901
3901
|
let U = 0;
|
|
3902
3902
|
for (let z = L; z > 0; z--)
|
|
3903
|
-
U =
|
|
3903
|
+
U = w[z - 1].width ? U + w[z - 1].width : U;
|
|
3904
3904
|
return U;
|
|
3905
3905
|
}, Ce = "auto", he = (L) => {
|
|
3906
3906
|
switch (L) {
|
|
@@ -3918,14 +3918,14 @@ const vs = ({
|
|
|
3918
3918
|
}, me = (L, U) => {
|
|
3919
3919
|
L.dataTransfer.setData("index", U);
|
|
3920
3920
|
}, ue = (L, U) => F(L, U);
|
|
3921
|
-
return /* @__PURE__ */
|
|
3921
|
+
return /* @__PURE__ */ n.jsx(n.Fragment, { children: (h == null ? void 0 : h.length) !== 0 ? /* @__PURE__ */ n.jsx(
|
|
3922
3922
|
"div",
|
|
3923
3923
|
{
|
|
3924
3924
|
id: B,
|
|
3925
|
-
className: `u-table${["horizontal", "vertical", "none", "both"].includes(_) ? he(_) : ""}${v ? " striped" : ""}${c ? " not-active-lines" : ""}${b ? " thead-fixed" : ""}${
|
|
3926
|
-
children: /* @__PURE__ */
|
|
3927
|
-
/* @__PURE__ */
|
|
3928
|
-
(L, U) => /* @__PURE__ */
|
|
3925
|
+
className: `u-table${["horizontal", "vertical", "none", "both"].includes(_) ? he(_) : ""}${v ? " striped" : ""}${c ? " not-active-lines" : ""}${b ? " thead-fixed" : ""}${x ? " header-borders" : ""}${V ? " " + V : ""}`,
|
|
3926
|
+
children: /* @__PURE__ */ n.jsxs("table", { className: "table", children: [
|
|
3927
|
+
/* @__PURE__ */ n.jsx("thead", { style: { zIndex: "2" }, children: /* @__PURE__ */ n.jsx("tr", { children: w == null ? void 0 : w.map(
|
|
3928
|
+
(L, U) => /* @__PURE__ */ n.jsx(
|
|
3929
3929
|
"th",
|
|
3930
3930
|
{
|
|
3931
3931
|
id: `${B}th${U}`,
|
|
@@ -3944,7 +3944,7 @@ const vs = ({
|
|
|
3944
3944
|
onMouseDown: (z) => {
|
|
3945
3945
|
f && ee(z, U);
|
|
3946
3946
|
},
|
|
3947
|
-
children: /* @__PURE__ */
|
|
3947
|
+
children: /* @__PURE__ */ n.jsx(
|
|
3948
3948
|
"div",
|
|
3949
3949
|
{
|
|
3950
3950
|
style: Object.assign(
|
|
@@ -3952,7 +3952,7 @@ const vs = ({
|
|
|
3952
3952
|
width: (f == null ? void 0 : f.length) > 0 ? f[U] : L != null && L.width ? te(L.width) : Ce,
|
|
3953
3953
|
position: L.sticky ? "sticky" : ""
|
|
3954
3954
|
},
|
|
3955
|
-
|
|
3955
|
+
P,
|
|
3956
3956
|
O,
|
|
3957
3957
|
L.thContentStyle,
|
|
3958
3958
|
L.cellContentStyle
|
|
@@ -3964,9 +3964,9 @@ const vs = ({
|
|
|
3964
3964
|
U
|
|
3965
3965
|
)
|
|
3966
3966
|
) }) }),
|
|
3967
|
-
/* @__PURE__ */
|
|
3968
|
-
(L, U) => /* @__PURE__ */
|
|
3969
|
-
(z, q) => /* @__PURE__ */
|
|
3967
|
+
/* @__PURE__ */ n.jsx("tbody", { children: h == null ? void 0 : h.map(
|
|
3968
|
+
(L, U) => /* @__PURE__ */ n.jsx("tr", { id: `row${U}`, draggable: I, onDragStart: (z) => me(z, String(U)), onDragOver: (z) => De(z), onDrop: (z) => ue(z, U), children: w == null ? void 0 : w.map(
|
|
3969
|
+
(z, q) => /* @__PURE__ */ n.jsx(
|
|
3970
3970
|
"td",
|
|
3971
3971
|
{
|
|
3972
3972
|
id: `${B}td${U}${q}`,
|
|
@@ -3983,7 +3983,7 @@ const vs = ({
|
|
|
3983
3983
|
k && k(L),
|
|
3984
3984
|
z.tdStyleFunction && z.tdStyleFunction(L)
|
|
3985
3985
|
),
|
|
3986
|
-
children: /* @__PURE__ */
|
|
3986
|
+
children: /* @__PURE__ */ n.jsx(
|
|
3987
3987
|
"div",
|
|
3988
3988
|
{
|
|
3989
3989
|
style: Object.assign(
|
|
@@ -3991,7 +3991,7 @@ const vs = ({
|
|
|
3991
3991
|
width: (f == null ? void 0 : f.length) > 0 ? f[q] : z != null && z.width ? te(z.width) : Ce,
|
|
3992
3992
|
position: z.sticky ? "sticky" : ""
|
|
3993
3993
|
},
|
|
3994
|
-
|
|
3994
|
+
P,
|
|
3995
3995
|
m,
|
|
3996
3996
|
z.tdContentStyle,
|
|
3997
3997
|
z.cellContentStyle,
|
|
@@ -4008,9 +4008,9 @@ const vs = ({
|
|
|
4008
4008
|
) })
|
|
4009
4009
|
] })
|
|
4010
4010
|
}
|
|
4011
|
-
) : /* @__PURE__ */
|
|
4011
|
+
) : /* @__PURE__ */ n.jsx("div", { children: A }) });
|
|
4012
4012
|
};
|
|
4013
|
-
|
|
4013
|
+
ys.propTypes = {
|
|
4014
4014
|
data: o.array,
|
|
4015
4015
|
columns: o.array,
|
|
4016
4016
|
verticalBorders: o.bool,
|
|
@@ -4023,12 +4023,12 @@ vs.propTypes = {
|
|
|
4023
4023
|
contentForEmptyTable: o.node,
|
|
4024
4024
|
className: o.string
|
|
4025
4025
|
};
|
|
4026
|
-
const
|
|
4026
|
+
const bs = ({
|
|
4027
4027
|
onClick: h,
|
|
4028
|
-
tabsData:
|
|
4028
|
+
tabsData: w,
|
|
4029
4029
|
activeTab: _,
|
|
4030
4030
|
className: v = ""
|
|
4031
|
-
}) => /* @__PURE__ */
|
|
4031
|
+
}) => /* @__PURE__ */ n.jsx("div", { style: { display: "flex" }, className: v, children: w.map((c) => /* @__PURE__ */ n.jsx("div", { children: /* @__PURE__ */ n.jsx(
|
|
4032
4032
|
"button",
|
|
4033
4033
|
{
|
|
4034
4034
|
className: c.id === _ ? "u-tab-line u-tab-active" : "u-tab-line",
|
|
@@ -4036,31 +4036,31 @@ const ys = ({
|
|
|
4036
4036
|
children: c.title
|
|
4037
4037
|
}
|
|
4038
4038
|
) }, c.id)) });
|
|
4039
|
-
|
|
4039
|
+
bs.propTypes = {
|
|
4040
4040
|
onClick: o.func,
|
|
4041
4041
|
tabsData: o.array,
|
|
4042
4042
|
activeTab: o.string || o.number,
|
|
4043
4043
|
className: o.string
|
|
4044
4044
|
};
|
|
4045
|
-
const
|
|
4045
|
+
const xs = ({
|
|
4046
4046
|
title: h = "",
|
|
4047
|
-
placeholder:
|
|
4047
|
+
placeholder: w = "введите",
|
|
4048
4048
|
defaultValue: _,
|
|
4049
4049
|
value: v,
|
|
4050
4050
|
id: c = "",
|
|
4051
4051
|
name: b = "",
|
|
4052
|
-
onChange:
|
|
4052
|
+
onChange: x,
|
|
4053
4053
|
required: D = !1,
|
|
4054
4054
|
disabled: T = !1,
|
|
4055
4055
|
lineUp: $ = !1,
|
|
4056
4056
|
rowGap: m = 4,
|
|
4057
4057
|
columnGap: O = 20,
|
|
4058
|
-
styleInputContainer:
|
|
4059
|
-
styleTitle:
|
|
4058
|
+
styleInputContainer: P,
|
|
4059
|
+
styleTitle: A,
|
|
4060
4060
|
className: V = ""
|
|
4061
4061
|
}) => {
|
|
4062
4062
|
const k = (E) => typeof E == "number" ? `${E}px` : String(E);
|
|
4063
|
-
return /* @__PURE__ */
|
|
4063
|
+
return /* @__PURE__ */ n.jsxs(
|
|
4064
4064
|
"div",
|
|
4065
4065
|
{
|
|
4066
4066
|
className: `u-react-input-container ${V}`,
|
|
@@ -4071,10 +4071,10 @@ const bs = ({
|
|
|
4071
4071
|
rowGap: $ ? null : k(m),
|
|
4072
4072
|
columnGap: $ ? k(O) : null
|
|
4073
4073
|
},
|
|
4074
|
-
|
|
4074
|
+
P
|
|
4075
4075
|
),
|
|
4076
4076
|
children: [
|
|
4077
|
-
h && /* @__PURE__ */
|
|
4077
|
+
h && /* @__PURE__ */ n.jsx(
|
|
4078
4078
|
"div",
|
|
4079
4079
|
{
|
|
4080
4080
|
className: `${D && "u-required"} u-react-input-title`,
|
|
@@ -4083,17 +4083,17 @@ const bs = ({
|
|
|
4083
4083
|
color: "#545454",
|
|
4084
4084
|
fontSize: "14px"
|
|
4085
4085
|
},
|
|
4086
|
-
|
|
4086
|
+
A
|
|
4087
4087
|
),
|
|
4088
4088
|
children: h
|
|
4089
4089
|
}
|
|
4090
4090
|
),
|
|
4091
|
-
/* @__PURE__ */
|
|
4091
|
+
/* @__PURE__ */ n.jsx("textarea", { className: "u-textarea", id: c, name: b, placeholder: w, value: v, defaultValue: _, disabled: T, onChange: x })
|
|
4092
4092
|
]
|
|
4093
4093
|
}
|
|
4094
4094
|
);
|
|
4095
4095
|
};
|
|
4096
|
-
|
|
4096
|
+
xs.propTypes = {
|
|
4097
4097
|
title: o.string,
|
|
4098
4098
|
required: o.bool,
|
|
4099
4099
|
disabled: o.bool,
|
|
@@ -4109,56 +4109,56 @@ bs.propTypes = {
|
|
|
4109
4109
|
value: o.string,
|
|
4110
4110
|
defaultValue: o.string
|
|
4111
4111
|
};
|
|
4112
|
-
const
|
|
4113
|
-
children: h = /* @__PURE__ */
|
|
4114
|
-
className:
|
|
4112
|
+
const ws = ({
|
|
4113
|
+
children: h = /* @__PURE__ */ n.jsx("div", {}),
|
|
4114
|
+
className: w = "",
|
|
4115
4115
|
portalOn: _ = !1,
|
|
4116
4116
|
id: v = "",
|
|
4117
|
-
tooltipPosition
|
|
4118
|
-
content
|
|
4119
|
-
setContent
|
|
4120
|
-
setTooltipPosition
|
|
4121
|
-
setTooltipId
|
|
4122
|
-
tooltipId
|
|
4123
|
-
tooltipText:
|
|
4117
|
+
// tooltipPosition,
|
|
4118
|
+
// content = <div></div>,
|
|
4119
|
+
// setContent,
|
|
4120
|
+
// setTooltipPosition,
|
|
4121
|
+
// setTooltipId,
|
|
4122
|
+
// tooltipId,
|
|
4123
|
+
tooltipText: c
|
|
4124
4124
|
}) => {
|
|
4125
|
-
const O = (
|
|
4126
|
-
const E =
|
|
4127
|
-
|
|
4128
|
-
},
|
|
4129
|
-
|
|
4125
|
+
const [b, x] = ze(null), [D, T] = ze(), [$, m] = ze(), O = (A, V, k) => {
|
|
4126
|
+
const E = A.target.getBoundingClientRect();
|
|
4127
|
+
x({ x: E.x + E.width / 2, y: E.y + 12 + window.scrollY }), T(V), m(k);
|
|
4128
|
+
}, P = () => {
|
|
4129
|
+
x(null);
|
|
4130
4130
|
};
|
|
4131
|
-
return /* @__PURE__ */
|
|
4132
|
-
$ === v &&
|
|
4133
|
-
/* @__PURE__ */
|
|
4131
|
+
return /* @__PURE__ */ n.jsx(n.Fragment, { children: _ ? /* @__PURE__ */ n.jsxs("div", { onMouseEnter: (A) => O(A, c, v), onMouseLeave: P, className: w, id: "u-help", children: [
|
|
4132
|
+
$ === v && b && bt(
|
|
4133
|
+
/* @__PURE__ */ n.jsx("div", { style: { left: b == null ? void 0 : b.x, top: (b == null ? void 0 : b.y) - 60, opacity: 1, visibility: "visible", height: "fit-content", zIndex: 1e3 }, className: "u-help-tooltip", id: v, children: D }),
|
|
4134
4134
|
document.body
|
|
4135
4135
|
),
|
|
4136
|
-
/* @__PURE__ */
|
|
4137
|
-
] }) : /* @__PURE__ */
|
|
4138
|
-
/* @__PURE__ */
|
|
4139
|
-
/* @__PURE__ */
|
|
4136
|
+
/* @__PURE__ */ n.jsx("div", { children: h })
|
|
4137
|
+
] }) : /* @__PURE__ */ n.jsxs("div", { className: `${w}`, id: "u-help", children: [
|
|
4138
|
+
/* @__PURE__ */ n.jsx("div", { id: "u-help-tooltip", children: D }),
|
|
4139
|
+
/* @__PURE__ */ n.jsx("div", { children: h })
|
|
4140
4140
|
] }) });
|
|
4141
4141
|
};
|
|
4142
|
-
|
|
4142
|
+
ws.propTypes = {
|
|
4143
4143
|
content: o.node,
|
|
4144
4144
|
children: o.node,
|
|
4145
4145
|
className: o.string
|
|
4146
4146
|
};
|
|
4147
|
-
const
|
|
4147
|
+
const Ds = ({
|
|
4148
4148
|
title: h = "",
|
|
4149
|
-
required:
|
|
4149
|
+
required: w = !1,
|
|
4150
4150
|
styleSelectContainer: _,
|
|
4151
4151
|
styleTitle: v,
|
|
4152
4152
|
lineUp: c = !1,
|
|
4153
4153
|
rowGap: b = 4,
|
|
4154
|
-
columnGap:
|
|
4154
|
+
columnGap: x = 20,
|
|
4155
4155
|
placeholder: D = "Выберите из списка",
|
|
4156
4156
|
value: T,
|
|
4157
4157
|
isOpen: $,
|
|
4158
4158
|
isClearable: m,
|
|
4159
4159
|
onDelete: O,
|
|
4160
|
-
onOpen:
|
|
4161
|
-
onClick:
|
|
4160
|
+
onOpen: P,
|
|
4161
|
+
onClick: A,
|
|
4162
4162
|
className: V,
|
|
4163
4163
|
tableView: k = !1,
|
|
4164
4164
|
validationText: E = "Заполните поле",
|
|
@@ -4187,22 +4187,22 @@ const ws = ({
|
|
|
4187
4187
|
}), g;
|
|
4188
4188
|
}, L = ({ node: q, counter: ce }) => {
|
|
4189
4189
|
const g = F.filter((K) => K.parentId === q.id), j = ce + 1, W = f.includes(q.id), Z = ue(q), S = () => {
|
|
4190
|
-
|
|
4190
|
+
A(q), P(!1);
|
|
4191
4191
|
};
|
|
4192
|
-
return /* @__PURE__ */
|
|
4193
|
-
/* @__PURE__ */
|
|
4194
|
-
Z.id !== q.id && /* @__PURE__ */
|
|
4195
|
-
Z.id !== q.id && /* @__PURE__ */
|
|
4196
|
-
/* @__PURE__ */
|
|
4192
|
+
return /* @__PURE__ */ n.jsxs("ul", { className: "treeview-list", children: [
|
|
4193
|
+
/* @__PURE__ */ n.jsxs("li", { style: { paddingLeft: `calc(${ce} * 16px)` }, className: "treeview-list__item", children: [
|
|
4194
|
+
Z.id !== q.id && /* @__PURE__ */ n.jsx("div", { onClick: (K) => me(K, q.id), children: W ? /* @__PURE__ */ n.jsx("i", { style: { cursor: "pointer", width: "20px", height: "20px" }, className: "u-icon icon-down clr-blue-main" }) : /* @__PURE__ */ n.jsx("i", { style: { cursor: "pointer", transform: "rotate(-90 0 0)" }, className: "u-icon icon-right clr-blue-main" }) }),
|
|
4195
|
+
Z.id !== q.id && /* @__PURE__ */ n.jsx("i", { className: "u-icon icon-folder clr-orange" }),
|
|
4196
|
+
/* @__PURE__ */ n.jsx("p", { onClick: S, style: { cursor: "pointer" }, className: "tt", children: q.title })
|
|
4197
4197
|
] }),
|
|
4198
|
-
W && g.map((K) => /* @__PURE__ */
|
|
4198
|
+
W && g.map((K) => /* @__PURE__ */ n.jsx(L, { node: K, counter: j }, K.id))
|
|
4199
4199
|
] });
|
|
4200
4200
|
}, U = F == null ? void 0 : F.filter((q) => q.parentId === null), z = (q, ce) => {
|
|
4201
4201
|
const g = q.target.getBoundingClientRect();
|
|
4202
4202
|
te({ x: g.x, y: g.y + 90 + window.scrollY }), Ce(ce);
|
|
4203
4203
|
};
|
|
4204
|
-
return /* @__PURE__ */
|
|
4205
|
-
/* @__PURE__ */
|
|
4204
|
+
return /* @__PURE__ */ n.jsxs("div", { className: `u-react-select-container ${V}`, style: { position: "relative" }, children: [
|
|
4205
|
+
/* @__PURE__ */ n.jsxs(
|
|
4206
4206
|
"div",
|
|
4207
4207
|
{
|
|
4208
4208
|
style: Object.assign(
|
|
@@ -4210,15 +4210,15 @@ const ws = ({
|
|
|
4210
4210
|
display: "flex",
|
|
4211
4211
|
flexDirection: c ? "row" : "column",
|
|
4212
4212
|
rowGap: c ? null : De(b),
|
|
4213
|
-
columnGap: c ? De(
|
|
4213
|
+
columnGap: c ? De(x) : null
|
|
4214
4214
|
},
|
|
4215
4215
|
_
|
|
4216
4216
|
),
|
|
4217
4217
|
children: [
|
|
4218
|
-
h && /* @__PURE__ */
|
|
4218
|
+
h && /* @__PURE__ */ n.jsx(
|
|
4219
4219
|
"div",
|
|
4220
4220
|
{
|
|
4221
|
-
className: `${
|
|
4221
|
+
className: `${w && "u-required"} u-react-select-title`,
|
|
4222
4222
|
style: Object.assign(
|
|
4223
4223
|
{
|
|
4224
4224
|
color: "#545454",
|
|
@@ -4229,16 +4229,16 @@ const ws = ({
|
|
|
4229
4229
|
children: h
|
|
4230
4230
|
}
|
|
4231
4231
|
),
|
|
4232
|
-
/* @__PURE__ */
|
|
4232
|
+
/* @__PURE__ */ n.jsxs(
|
|
4233
4233
|
"div",
|
|
4234
4234
|
{
|
|
4235
4235
|
className: "u-selectbox",
|
|
4236
4236
|
children: [
|
|
4237
|
-
/* @__PURE__ */
|
|
4237
|
+
/* @__PURE__ */ n.jsxs(
|
|
4238
4238
|
"div",
|
|
4239
4239
|
{
|
|
4240
4240
|
onMouseDown: (q) => {
|
|
4241
|
-
q.preventDefault(), q.stopPropagation(),
|
|
4241
|
+
q.preventDefault(), q.stopPropagation(), P(!$), se && ($ ? te(null) : z(q, he));
|
|
4242
4242
|
},
|
|
4243
4243
|
className: `u-selectbox-select ${$ ? "u-selectbox-select-open" : ""}`,
|
|
4244
4244
|
id: `u-selectbox-select${he}`,
|
|
@@ -4252,17 +4252,17 @@ const ws = ({
|
|
|
4252
4252
|
B && { border: "1px solid #EF302B" }
|
|
4253
4253
|
),
|
|
4254
4254
|
children: [
|
|
4255
|
-
T ? /* @__PURE__ */
|
|
4256
|
-
T && m && /* @__PURE__ */
|
|
4255
|
+
T ? /* @__PURE__ */ n.jsx("span", { className: "u-selectbox-select-title", children: T }) : /* @__PURE__ */ n.jsx("span", { style: { color: "#545454" }, className: "u-selectbox-select-title", children: D }),
|
|
4256
|
+
T && m && /* @__PURE__ */ n.jsx(
|
|
4257
4257
|
"i",
|
|
4258
4258
|
{
|
|
4259
4259
|
onClick: (q) => {
|
|
4260
|
-
se && te(null), O(q),
|
|
4260
|
+
se && te(null), O(q), P(!1);
|
|
4261
4261
|
},
|
|
4262
4262
|
className: "u-selectbox-select-icon-cross"
|
|
4263
4263
|
}
|
|
4264
4264
|
),
|
|
4265
|
-
/* @__PURE__ */
|
|
4265
|
+
/* @__PURE__ */ n.jsx(
|
|
4266
4266
|
"i",
|
|
4267
4267
|
{
|
|
4268
4268
|
className: "u-selectbox-select-icon-arrow",
|
|
@@ -4274,28 +4274,28 @@ const ws = ({
|
|
|
4274
4274
|
]
|
|
4275
4275
|
}
|
|
4276
4276
|
),
|
|
4277
|
-
se ? fe === he && ee &&
|
|
4278
|
-
/* @__PURE__ */
|
|
4277
|
+
se ? fe === he && ee && bt(
|
|
4278
|
+
/* @__PURE__ */ n.jsx(
|
|
4279
4279
|
"div",
|
|
4280
4280
|
{
|
|
4281
4281
|
style: { left: ee == null ? void 0 : ee.x, top: (ee == null ? void 0 : ee.y) - 60, opacity: 1, visibility: "visible", height: "fit-content", zIndex: 1e3, display: "block", width: "auto" },
|
|
4282
4282
|
id: `tree-options${he}`,
|
|
4283
4283
|
className: "u-selectbox-options",
|
|
4284
|
-
children: /* @__PURE__ */
|
|
4284
|
+
children: /* @__PURE__ */ n.jsx("div", { className: "treeview", children: U == null ? void 0 : U.map((q) => /* @__PURE__ */ n.jsx(L, { node: q, counter: 0 }, q.id)) })
|
|
4285
4285
|
}
|
|
4286
4286
|
),
|
|
4287
4287
|
document.body
|
|
4288
|
-
) : /* @__PURE__ */
|
|
4288
|
+
) : /* @__PURE__ */ n.jsx("div", { className: "u-selectbox-options", children: /* @__PURE__ */ n.jsx("div", { className: "treeview", children: U == null ? void 0 : U.map((q) => /* @__PURE__ */ n.jsx(L, { node: q, counter: 0 }, q.id)) }) })
|
|
4289
4289
|
]
|
|
4290
4290
|
}
|
|
4291
4291
|
)
|
|
4292
4292
|
]
|
|
4293
4293
|
}
|
|
4294
4294
|
),
|
|
4295
|
-
B && /* @__PURE__ */
|
|
4295
|
+
B && /* @__PURE__ */ n.jsx("h5", { className: "clr-red-main", style: I ? { position: "absolute", bottom: "-20px" } : { position: "relative", marginTop: "4px" }, children: E })
|
|
4296
4296
|
] });
|
|
4297
4297
|
};
|
|
4298
|
-
|
|
4298
|
+
Ds.propTypes = {
|
|
4299
4299
|
title: o.string,
|
|
4300
4300
|
required: o.bool,
|
|
4301
4301
|
lineUp: o.bool,
|
|
@@ -4311,29 +4311,29 @@ ws.propTypes = {
|
|
|
4311
4311
|
className: o.string
|
|
4312
4312
|
};
|
|
4313
4313
|
export {
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4314
|
+
Jt as Accordion,
|
|
4315
|
+
Xt as Breadcrumb,
|
|
4316
|
+
Zt as Button,
|
|
4317
|
+
ts as Calendar,
|
|
4318
|
+
ss as Checkbox,
|
|
4319
|
+
is as Icon,
|
|
4320
|
+
rs as InputExpand,
|
|
4321
|
+
ns as InputFile,
|
|
4322
|
+
as as InputNumber,
|
|
4323
|
+
os as InputText,
|
|
4324
|
+
ls as Menu,
|
|
4325
|
+
cs as Message,
|
|
4326
|
+
us as Modal,
|
|
4327
|
+
ds as Multiselect,
|
|
4328
|
+
hs as Notification,
|
|
4329
|
+
ps as Preloader,
|
|
4330
|
+
fs as Radio,
|
|
4331
|
+
ms as Search,
|
|
4332
|
+
gs as Select,
|
|
4333
|
+
vs as Status,
|
|
4334
|
+
ys as Table,
|
|
4335
|
+
bs as Tabs,
|
|
4336
|
+
xs as Textarea,
|
|
4337
|
+
ws as Tooltip,
|
|
4338
|
+
Ds as TreeView
|
|
4339
4339
|
};
|