fui-material 2.5.8 → 2.5.9
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/f-ui-kit.es.js +317 -1235
- package/dist/f-ui-kit.es.js.map +1 -1
- package/package.json +6 -4
package/dist/f-ui-kit.es.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import React, { forwardRef, useRef, useState, useEffect, useMemo, useCallback, useLayoutEffect, Fragment as Fragment$1, isValidElement, cloneElement, useDeferredValue } from "react";
|
|
2
3
|
import ReactDOM, { createPortal } from "react-dom";
|
|
3
4
|
import './main.css';function _mergeNamespaces(n, m) {
|
|
4
5
|
for (var i = 0; i < m.length; i++) {
|
|
@@ -19,929 +20,6 @@ import './main.css';function _mergeNamespaces(n, m) {
|
|
|
19
20
|
}
|
|
20
21
|
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
21
22
|
}
|
|
22
|
-
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
23
|
-
function getDefaultExportFromCjs(x) {
|
|
24
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
25
|
-
}
|
|
26
|
-
var jsxRuntime = { exports: {} };
|
|
27
|
-
var reactJsxRuntime_production_min = {};
|
|
28
|
-
/**
|
|
29
|
-
* @license React
|
|
30
|
-
* react-jsx-runtime.production.min.js
|
|
31
|
-
*
|
|
32
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
33
|
-
*
|
|
34
|
-
* This source code is licensed under the MIT license found in the
|
|
35
|
-
* LICENSE file in the root directory of this source tree.
|
|
36
|
-
*/
|
|
37
|
-
var hasRequiredReactJsxRuntime_production_min;
|
|
38
|
-
function requireReactJsxRuntime_production_min() {
|
|
39
|
-
if (hasRequiredReactJsxRuntime_production_min) return reactJsxRuntime_production_min;
|
|
40
|
-
hasRequiredReactJsxRuntime_production_min = 1;
|
|
41
|
-
var f = React, k = Symbol.for("react.element"), l = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, n = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: true, ref: true, __self: true, __source: true };
|
|
42
|
-
function q(c, a, g) {
|
|
43
|
-
var b, d = {}, e = null, h = null;
|
|
44
|
-
void 0 !== g && (e = "" + g);
|
|
45
|
-
void 0 !== a.key && (e = "" + a.key);
|
|
46
|
-
void 0 !== a.ref && (h = a.ref);
|
|
47
|
-
for (b in a) m.call(a, b) && !p.hasOwnProperty(b) && (d[b] = a[b]);
|
|
48
|
-
if (c && c.defaultProps) for (b in a = c.defaultProps, a) void 0 === d[b] && (d[b] = a[b]);
|
|
49
|
-
return { $$typeof: k, type: c, key: e, ref: h, props: d, _owner: n.current };
|
|
50
|
-
}
|
|
51
|
-
reactJsxRuntime_production_min.Fragment = l;
|
|
52
|
-
reactJsxRuntime_production_min.jsx = q;
|
|
53
|
-
reactJsxRuntime_production_min.jsxs = q;
|
|
54
|
-
return reactJsxRuntime_production_min;
|
|
55
|
-
}
|
|
56
|
-
var reactJsxRuntime_development = {};
|
|
57
|
-
/**
|
|
58
|
-
* @license React
|
|
59
|
-
* react-jsx-runtime.development.js
|
|
60
|
-
*
|
|
61
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
62
|
-
*
|
|
63
|
-
* This source code is licensed under the MIT license found in the
|
|
64
|
-
* LICENSE file in the root directory of this source tree.
|
|
65
|
-
*/
|
|
66
|
-
var hasRequiredReactJsxRuntime_development;
|
|
67
|
-
function requireReactJsxRuntime_development() {
|
|
68
|
-
if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
|
|
69
|
-
hasRequiredReactJsxRuntime_development = 1;
|
|
70
|
-
if (process.env.NODE_ENV !== "production") {
|
|
71
|
-
(function() {
|
|
72
|
-
var React$1 = React;
|
|
73
|
-
var REACT_ELEMENT_TYPE = Symbol.for("react.element");
|
|
74
|
-
var REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
|
75
|
-
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
76
|
-
var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
|
|
77
|
-
var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
78
|
-
var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
|
|
79
|
-
var REACT_CONTEXT_TYPE = Symbol.for("react.context");
|
|
80
|
-
var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
|
|
81
|
-
var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
|
|
82
|
-
var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
|
|
83
|
-
var REACT_MEMO_TYPE = Symbol.for("react.memo");
|
|
84
|
-
var REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
|
85
|
-
var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
|
|
86
|
-
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
87
|
-
var FAUX_ITERATOR_SYMBOL = "@@iterator";
|
|
88
|
-
function getIteratorFn(maybeIterable) {
|
|
89
|
-
if (maybeIterable === null || typeof maybeIterable !== "object") {
|
|
90
|
-
return null;
|
|
91
|
-
}
|
|
92
|
-
var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
|
|
93
|
-
if (typeof maybeIterator === "function") {
|
|
94
|
-
return maybeIterator;
|
|
95
|
-
}
|
|
96
|
-
return null;
|
|
97
|
-
}
|
|
98
|
-
var ReactSharedInternals = React$1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
99
|
-
function error2(format) {
|
|
100
|
-
{
|
|
101
|
-
{
|
|
102
|
-
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
103
|
-
args[_key2 - 1] = arguments[_key2];
|
|
104
|
-
}
|
|
105
|
-
printWarning("error", format, args);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
function printWarning(level, format, args) {
|
|
110
|
-
{
|
|
111
|
-
var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
|
|
112
|
-
var stack = ReactDebugCurrentFrame2.getStackAddendum();
|
|
113
|
-
if (stack !== "") {
|
|
114
|
-
format += "%s";
|
|
115
|
-
args = args.concat([stack]);
|
|
116
|
-
}
|
|
117
|
-
var argsWithFormat = args.map(function(item) {
|
|
118
|
-
return String(item);
|
|
119
|
-
});
|
|
120
|
-
argsWithFormat.unshift("Warning: " + format);
|
|
121
|
-
Function.prototype.apply.call(console[level], console, argsWithFormat);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
var enableScopeAPI = false;
|
|
125
|
-
var enableCacheElement = false;
|
|
126
|
-
var enableTransitionTracing = false;
|
|
127
|
-
var enableLegacyHidden = false;
|
|
128
|
-
var enableDebugTracing = false;
|
|
129
|
-
var REACT_MODULE_REFERENCE;
|
|
130
|
-
{
|
|
131
|
-
REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
|
|
132
|
-
}
|
|
133
|
-
function isValidElementType(type) {
|
|
134
|
-
if (typeof type === "string" || typeof type === "function") {
|
|
135
|
-
return true;
|
|
136
|
-
}
|
|
137
|
-
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
|
|
138
|
-
return true;
|
|
139
|
-
}
|
|
140
|
-
if (typeof type === "object" && type !== null) {
|
|
141
|
-
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
|
|
142
|
-
// types supported by any Flight configuration anywhere since
|
|
143
|
-
// we don't know which Flight build this will end up being used
|
|
144
|
-
// with.
|
|
145
|
-
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
|
|
146
|
-
return true;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
return false;
|
|
150
|
-
}
|
|
151
|
-
function getWrappedName(outerType, innerType, wrapperName) {
|
|
152
|
-
var displayName = outerType.displayName;
|
|
153
|
-
if (displayName) {
|
|
154
|
-
return displayName;
|
|
155
|
-
}
|
|
156
|
-
var functionName = innerType.displayName || innerType.name || "";
|
|
157
|
-
return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName;
|
|
158
|
-
}
|
|
159
|
-
function getContextName(type) {
|
|
160
|
-
return type.displayName || "Context";
|
|
161
|
-
}
|
|
162
|
-
function getComponentNameFromType(type) {
|
|
163
|
-
if (type == null) {
|
|
164
|
-
return null;
|
|
165
|
-
}
|
|
166
|
-
{
|
|
167
|
-
if (typeof type.tag === "number") {
|
|
168
|
-
error2("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
if (typeof type === "function") {
|
|
172
|
-
return type.displayName || type.name || null;
|
|
173
|
-
}
|
|
174
|
-
if (typeof type === "string") {
|
|
175
|
-
return type;
|
|
176
|
-
}
|
|
177
|
-
switch (type) {
|
|
178
|
-
case REACT_FRAGMENT_TYPE:
|
|
179
|
-
return "Fragment";
|
|
180
|
-
case REACT_PORTAL_TYPE:
|
|
181
|
-
return "Portal";
|
|
182
|
-
case REACT_PROFILER_TYPE:
|
|
183
|
-
return "Profiler";
|
|
184
|
-
case REACT_STRICT_MODE_TYPE:
|
|
185
|
-
return "StrictMode";
|
|
186
|
-
case REACT_SUSPENSE_TYPE:
|
|
187
|
-
return "Suspense";
|
|
188
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
189
|
-
return "SuspenseList";
|
|
190
|
-
}
|
|
191
|
-
if (typeof type === "object") {
|
|
192
|
-
switch (type.$$typeof) {
|
|
193
|
-
case REACT_CONTEXT_TYPE:
|
|
194
|
-
var context = type;
|
|
195
|
-
return getContextName(context) + ".Consumer";
|
|
196
|
-
case REACT_PROVIDER_TYPE:
|
|
197
|
-
var provider = type;
|
|
198
|
-
return getContextName(provider._context) + ".Provider";
|
|
199
|
-
case REACT_FORWARD_REF_TYPE:
|
|
200
|
-
return getWrappedName(type, type.render, "ForwardRef");
|
|
201
|
-
case REACT_MEMO_TYPE:
|
|
202
|
-
var outerName = type.displayName || null;
|
|
203
|
-
if (outerName !== null) {
|
|
204
|
-
return outerName;
|
|
205
|
-
}
|
|
206
|
-
return getComponentNameFromType(type.type) || "Memo";
|
|
207
|
-
case REACT_LAZY_TYPE: {
|
|
208
|
-
var lazyComponent = type;
|
|
209
|
-
var payload = lazyComponent._payload;
|
|
210
|
-
var init = lazyComponent._init;
|
|
211
|
-
try {
|
|
212
|
-
return getComponentNameFromType(init(payload));
|
|
213
|
-
} catch (x) {
|
|
214
|
-
return null;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
return null;
|
|
220
|
-
}
|
|
221
|
-
var assign = Object.assign;
|
|
222
|
-
var disabledDepth = 0;
|
|
223
|
-
var prevLog;
|
|
224
|
-
var prevInfo;
|
|
225
|
-
var prevWarn;
|
|
226
|
-
var prevError;
|
|
227
|
-
var prevGroup;
|
|
228
|
-
var prevGroupCollapsed;
|
|
229
|
-
var prevGroupEnd;
|
|
230
|
-
function disabledLog() {
|
|
231
|
-
}
|
|
232
|
-
disabledLog.__reactDisabledLog = true;
|
|
233
|
-
function disableLogs() {
|
|
234
|
-
{
|
|
235
|
-
if (disabledDepth === 0) {
|
|
236
|
-
prevLog = console.log;
|
|
237
|
-
prevInfo = console.info;
|
|
238
|
-
prevWarn = console.warn;
|
|
239
|
-
prevError = console.error;
|
|
240
|
-
prevGroup = console.group;
|
|
241
|
-
prevGroupCollapsed = console.groupCollapsed;
|
|
242
|
-
prevGroupEnd = console.groupEnd;
|
|
243
|
-
var props = {
|
|
244
|
-
configurable: true,
|
|
245
|
-
enumerable: true,
|
|
246
|
-
value: disabledLog,
|
|
247
|
-
writable: true
|
|
248
|
-
};
|
|
249
|
-
Object.defineProperties(console, {
|
|
250
|
-
info: props,
|
|
251
|
-
log: props,
|
|
252
|
-
warn: props,
|
|
253
|
-
error: props,
|
|
254
|
-
group: props,
|
|
255
|
-
groupCollapsed: props,
|
|
256
|
-
groupEnd: props
|
|
257
|
-
});
|
|
258
|
-
}
|
|
259
|
-
disabledDepth++;
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
function reenableLogs() {
|
|
263
|
-
{
|
|
264
|
-
disabledDepth--;
|
|
265
|
-
if (disabledDepth === 0) {
|
|
266
|
-
var props = {
|
|
267
|
-
configurable: true,
|
|
268
|
-
enumerable: true,
|
|
269
|
-
writable: true
|
|
270
|
-
};
|
|
271
|
-
Object.defineProperties(console, {
|
|
272
|
-
log: assign({}, props, {
|
|
273
|
-
value: prevLog
|
|
274
|
-
}),
|
|
275
|
-
info: assign({}, props, {
|
|
276
|
-
value: prevInfo
|
|
277
|
-
}),
|
|
278
|
-
warn: assign({}, props, {
|
|
279
|
-
value: prevWarn
|
|
280
|
-
}),
|
|
281
|
-
error: assign({}, props, {
|
|
282
|
-
value: prevError
|
|
283
|
-
}),
|
|
284
|
-
group: assign({}, props, {
|
|
285
|
-
value: prevGroup
|
|
286
|
-
}),
|
|
287
|
-
groupCollapsed: assign({}, props, {
|
|
288
|
-
value: prevGroupCollapsed
|
|
289
|
-
}),
|
|
290
|
-
groupEnd: assign({}, props, {
|
|
291
|
-
value: prevGroupEnd
|
|
292
|
-
})
|
|
293
|
-
});
|
|
294
|
-
}
|
|
295
|
-
if (disabledDepth < 0) {
|
|
296
|
-
error2("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
|
|
301
|
-
var prefix;
|
|
302
|
-
function describeBuiltInComponentFrame(name, source, ownerFn) {
|
|
303
|
-
{
|
|
304
|
-
if (prefix === void 0) {
|
|
305
|
-
try {
|
|
306
|
-
throw Error();
|
|
307
|
-
} catch (x) {
|
|
308
|
-
var match = x.stack.trim().match(/\n( *(at )?)/);
|
|
309
|
-
prefix = match && match[1] || "";
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
return "\n" + prefix + name;
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
var reentry = false;
|
|
316
|
-
var componentFrameCache;
|
|
317
|
-
{
|
|
318
|
-
var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
|
|
319
|
-
componentFrameCache = new PossiblyWeakMap();
|
|
320
|
-
}
|
|
321
|
-
function describeNativeComponentFrame(fn, construct) {
|
|
322
|
-
if (!fn || reentry) {
|
|
323
|
-
return "";
|
|
324
|
-
}
|
|
325
|
-
{
|
|
326
|
-
var frame = componentFrameCache.get(fn);
|
|
327
|
-
if (frame !== void 0) {
|
|
328
|
-
return frame;
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
var control;
|
|
332
|
-
reentry = true;
|
|
333
|
-
var previousPrepareStackTrace = Error.prepareStackTrace;
|
|
334
|
-
Error.prepareStackTrace = void 0;
|
|
335
|
-
var previousDispatcher;
|
|
336
|
-
{
|
|
337
|
-
previousDispatcher = ReactCurrentDispatcher.current;
|
|
338
|
-
ReactCurrentDispatcher.current = null;
|
|
339
|
-
disableLogs();
|
|
340
|
-
}
|
|
341
|
-
try {
|
|
342
|
-
if (construct) {
|
|
343
|
-
var Fake = function() {
|
|
344
|
-
throw Error();
|
|
345
|
-
};
|
|
346
|
-
Object.defineProperty(Fake.prototype, "props", {
|
|
347
|
-
set: function() {
|
|
348
|
-
throw Error();
|
|
349
|
-
}
|
|
350
|
-
});
|
|
351
|
-
if (typeof Reflect === "object" && Reflect.construct) {
|
|
352
|
-
try {
|
|
353
|
-
Reflect.construct(Fake, []);
|
|
354
|
-
} catch (x) {
|
|
355
|
-
control = x;
|
|
356
|
-
}
|
|
357
|
-
Reflect.construct(fn, [], Fake);
|
|
358
|
-
} else {
|
|
359
|
-
try {
|
|
360
|
-
Fake.call();
|
|
361
|
-
} catch (x) {
|
|
362
|
-
control = x;
|
|
363
|
-
}
|
|
364
|
-
fn.call(Fake.prototype);
|
|
365
|
-
}
|
|
366
|
-
} else {
|
|
367
|
-
try {
|
|
368
|
-
throw Error();
|
|
369
|
-
} catch (x) {
|
|
370
|
-
control = x;
|
|
371
|
-
}
|
|
372
|
-
fn();
|
|
373
|
-
}
|
|
374
|
-
} catch (sample) {
|
|
375
|
-
if (sample && control && typeof sample.stack === "string") {
|
|
376
|
-
var sampleLines = sample.stack.split("\n");
|
|
377
|
-
var controlLines = control.stack.split("\n");
|
|
378
|
-
var s = sampleLines.length - 1;
|
|
379
|
-
var c = controlLines.length - 1;
|
|
380
|
-
while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
|
|
381
|
-
c--;
|
|
382
|
-
}
|
|
383
|
-
for (; s >= 1 && c >= 0; s--, c--) {
|
|
384
|
-
if (sampleLines[s] !== controlLines[c]) {
|
|
385
|
-
if (s !== 1 || c !== 1) {
|
|
386
|
-
do {
|
|
387
|
-
s--;
|
|
388
|
-
c--;
|
|
389
|
-
if (c < 0 || sampleLines[s] !== controlLines[c]) {
|
|
390
|
-
var _frame = "\n" + sampleLines[s].replace(" at new ", " at ");
|
|
391
|
-
if (fn.displayName && _frame.includes("<anonymous>")) {
|
|
392
|
-
_frame = _frame.replace("<anonymous>", fn.displayName);
|
|
393
|
-
}
|
|
394
|
-
{
|
|
395
|
-
if (typeof fn === "function") {
|
|
396
|
-
componentFrameCache.set(fn, _frame);
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
return _frame;
|
|
400
|
-
}
|
|
401
|
-
} while (s >= 1 && c >= 0);
|
|
402
|
-
}
|
|
403
|
-
break;
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
} finally {
|
|
408
|
-
reentry = false;
|
|
409
|
-
{
|
|
410
|
-
ReactCurrentDispatcher.current = previousDispatcher;
|
|
411
|
-
reenableLogs();
|
|
412
|
-
}
|
|
413
|
-
Error.prepareStackTrace = previousPrepareStackTrace;
|
|
414
|
-
}
|
|
415
|
-
var name = fn ? fn.displayName || fn.name : "";
|
|
416
|
-
var syntheticFrame = name ? describeBuiltInComponentFrame(name) : "";
|
|
417
|
-
{
|
|
418
|
-
if (typeof fn === "function") {
|
|
419
|
-
componentFrameCache.set(fn, syntheticFrame);
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
return syntheticFrame;
|
|
423
|
-
}
|
|
424
|
-
function describeFunctionComponentFrame(fn, source, ownerFn) {
|
|
425
|
-
{
|
|
426
|
-
return describeNativeComponentFrame(fn, false);
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
function shouldConstruct(Component) {
|
|
430
|
-
var prototype2 = Component.prototype;
|
|
431
|
-
return !!(prototype2 && prototype2.isReactComponent);
|
|
432
|
-
}
|
|
433
|
-
function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
|
|
434
|
-
if (type == null) {
|
|
435
|
-
return "";
|
|
436
|
-
}
|
|
437
|
-
if (typeof type === "function") {
|
|
438
|
-
{
|
|
439
|
-
return describeNativeComponentFrame(type, shouldConstruct(type));
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
if (typeof type === "string") {
|
|
443
|
-
return describeBuiltInComponentFrame(type);
|
|
444
|
-
}
|
|
445
|
-
switch (type) {
|
|
446
|
-
case REACT_SUSPENSE_TYPE:
|
|
447
|
-
return describeBuiltInComponentFrame("Suspense");
|
|
448
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
449
|
-
return describeBuiltInComponentFrame("SuspenseList");
|
|
450
|
-
}
|
|
451
|
-
if (typeof type === "object") {
|
|
452
|
-
switch (type.$$typeof) {
|
|
453
|
-
case REACT_FORWARD_REF_TYPE:
|
|
454
|
-
return describeFunctionComponentFrame(type.render);
|
|
455
|
-
case REACT_MEMO_TYPE:
|
|
456
|
-
return describeUnknownElementTypeFrameInDEV(type.type);
|
|
457
|
-
case REACT_LAZY_TYPE: {
|
|
458
|
-
var lazyComponent = type;
|
|
459
|
-
var payload = lazyComponent._payload;
|
|
460
|
-
var init = lazyComponent._init;
|
|
461
|
-
try {
|
|
462
|
-
return describeUnknownElementTypeFrameInDEV(init(payload));
|
|
463
|
-
} catch (x) {
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
return "";
|
|
469
|
-
}
|
|
470
|
-
var hasOwnProperty2 = Object.prototype.hasOwnProperty;
|
|
471
|
-
var loggedTypeFailures = {};
|
|
472
|
-
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
|
473
|
-
function setCurrentlyValidatingElement(element) {
|
|
474
|
-
{
|
|
475
|
-
if (element) {
|
|
476
|
-
var stack = describeUnknownElementTypeFrameInDEV(element.type);
|
|
477
|
-
ReactDebugCurrentFrame.setExtraStackFrame(stack);
|
|
478
|
-
} else {
|
|
479
|
-
ReactDebugCurrentFrame.setExtraStackFrame(null);
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
}
|
|
483
|
-
function checkPropTypes(typeSpecs, values, location, componentName, element) {
|
|
484
|
-
{
|
|
485
|
-
var has = Function.call.bind(hasOwnProperty2);
|
|
486
|
-
for (var typeSpecName in typeSpecs) {
|
|
487
|
-
if (has(typeSpecs, typeSpecName)) {
|
|
488
|
-
var error$1 = void 0;
|
|
489
|
-
try {
|
|
490
|
-
if (typeof typeSpecs[typeSpecName] !== "function") {
|
|
491
|
-
var err = Error((componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
492
|
-
err.name = "Invariant Violation";
|
|
493
|
-
throw err;
|
|
494
|
-
}
|
|
495
|
-
error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
496
|
-
} catch (ex) {
|
|
497
|
-
error$1 = ex;
|
|
498
|
-
}
|
|
499
|
-
if (error$1 && !(error$1 instanceof Error)) {
|
|
500
|
-
setCurrentlyValidatingElement(element);
|
|
501
|
-
error2("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", componentName || "React class", location, typeSpecName, typeof error$1);
|
|
502
|
-
setCurrentlyValidatingElement(null);
|
|
503
|
-
}
|
|
504
|
-
if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
|
|
505
|
-
loggedTypeFailures[error$1.message] = true;
|
|
506
|
-
setCurrentlyValidatingElement(element);
|
|
507
|
-
error2("Failed %s type: %s", location, error$1.message);
|
|
508
|
-
setCurrentlyValidatingElement(null);
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
var isArrayImpl = Array.isArray;
|
|
515
|
-
function isArray2(a) {
|
|
516
|
-
return isArrayImpl(a);
|
|
517
|
-
}
|
|
518
|
-
function typeName(value) {
|
|
519
|
-
{
|
|
520
|
-
var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag;
|
|
521
|
-
var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
|
|
522
|
-
return type;
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
function willCoercionThrow(value) {
|
|
526
|
-
{
|
|
527
|
-
try {
|
|
528
|
-
return false;
|
|
529
|
-
} catch (e) {
|
|
530
|
-
return true;
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
function testStringCoercion(value) {
|
|
535
|
-
return "" + value;
|
|
536
|
-
}
|
|
537
|
-
function checkKeyStringCoercion(value) {
|
|
538
|
-
{
|
|
539
|
-
if (willCoercionThrow()) {
|
|
540
|
-
error2("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value));
|
|
541
|
-
return testStringCoercion(value);
|
|
542
|
-
}
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
|
-
var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
|
|
546
|
-
var RESERVED_PROPS = {
|
|
547
|
-
key: true,
|
|
548
|
-
ref: true,
|
|
549
|
-
__self: true,
|
|
550
|
-
__source: true
|
|
551
|
-
};
|
|
552
|
-
var specialPropKeyWarningShown;
|
|
553
|
-
var specialPropRefWarningShown;
|
|
554
|
-
function hasValidRef(config) {
|
|
555
|
-
{
|
|
556
|
-
if (hasOwnProperty2.call(config, "ref")) {
|
|
557
|
-
var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
|
|
558
|
-
if (getter && getter.isReactWarning) {
|
|
559
|
-
return false;
|
|
560
|
-
}
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
return config.ref !== void 0;
|
|
564
|
-
}
|
|
565
|
-
function hasValidKey(config) {
|
|
566
|
-
{
|
|
567
|
-
if (hasOwnProperty2.call(config, "key")) {
|
|
568
|
-
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
|
569
|
-
if (getter && getter.isReactWarning) {
|
|
570
|
-
return false;
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
return config.key !== void 0;
|
|
575
|
-
}
|
|
576
|
-
function defineKeyPropWarningGetter(props, displayName) {
|
|
577
|
-
{
|
|
578
|
-
var warnAboutAccessingKey = function() {
|
|
579
|
-
if (!specialPropKeyWarningShown) {
|
|
580
|
-
specialPropKeyWarningShown = true;
|
|
581
|
-
error2("%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)", displayName);
|
|
582
|
-
}
|
|
583
|
-
};
|
|
584
|
-
warnAboutAccessingKey.isReactWarning = true;
|
|
585
|
-
Object.defineProperty(props, "key", {
|
|
586
|
-
get: warnAboutAccessingKey,
|
|
587
|
-
configurable: true
|
|
588
|
-
});
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
function defineRefPropWarningGetter(props, displayName) {
|
|
592
|
-
{
|
|
593
|
-
var warnAboutAccessingRef = function() {
|
|
594
|
-
if (!specialPropRefWarningShown) {
|
|
595
|
-
specialPropRefWarningShown = true;
|
|
596
|
-
error2("%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)", displayName);
|
|
597
|
-
}
|
|
598
|
-
};
|
|
599
|
-
warnAboutAccessingRef.isReactWarning = true;
|
|
600
|
-
Object.defineProperty(props, "ref", {
|
|
601
|
-
get: warnAboutAccessingRef,
|
|
602
|
-
configurable: true
|
|
603
|
-
});
|
|
604
|
-
}
|
|
605
|
-
}
|
|
606
|
-
var ReactElement = function(type, key, ref, self2, source, owner, props) {
|
|
607
|
-
var element = {
|
|
608
|
-
// This tag allows us to uniquely identify this as a React Element
|
|
609
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
610
|
-
// Built-in properties that belong on the element
|
|
611
|
-
type,
|
|
612
|
-
key,
|
|
613
|
-
ref,
|
|
614
|
-
props,
|
|
615
|
-
// Record the component responsible for creating this element.
|
|
616
|
-
_owner: owner
|
|
617
|
-
};
|
|
618
|
-
{
|
|
619
|
-
element._store = {};
|
|
620
|
-
Object.defineProperty(element._store, "validated", {
|
|
621
|
-
configurable: false,
|
|
622
|
-
enumerable: false,
|
|
623
|
-
writable: true,
|
|
624
|
-
value: false
|
|
625
|
-
});
|
|
626
|
-
Object.defineProperty(element, "_self", {
|
|
627
|
-
configurable: false,
|
|
628
|
-
enumerable: false,
|
|
629
|
-
writable: false,
|
|
630
|
-
value: self2
|
|
631
|
-
});
|
|
632
|
-
Object.defineProperty(element, "_source", {
|
|
633
|
-
configurable: false,
|
|
634
|
-
enumerable: false,
|
|
635
|
-
writable: false,
|
|
636
|
-
value: source
|
|
637
|
-
});
|
|
638
|
-
if (Object.freeze) {
|
|
639
|
-
Object.freeze(element.props);
|
|
640
|
-
Object.freeze(element);
|
|
641
|
-
}
|
|
642
|
-
}
|
|
643
|
-
return element;
|
|
644
|
-
};
|
|
645
|
-
function jsxDEV(type, config, maybeKey, source, self2) {
|
|
646
|
-
{
|
|
647
|
-
var propName;
|
|
648
|
-
var props = {};
|
|
649
|
-
var key = null;
|
|
650
|
-
var ref = null;
|
|
651
|
-
if (maybeKey !== void 0) {
|
|
652
|
-
{
|
|
653
|
-
checkKeyStringCoercion(maybeKey);
|
|
654
|
-
}
|
|
655
|
-
key = "" + maybeKey;
|
|
656
|
-
}
|
|
657
|
-
if (hasValidKey(config)) {
|
|
658
|
-
{
|
|
659
|
-
checkKeyStringCoercion(config.key);
|
|
660
|
-
}
|
|
661
|
-
key = "" + config.key;
|
|
662
|
-
}
|
|
663
|
-
if (hasValidRef(config)) {
|
|
664
|
-
ref = config.ref;
|
|
665
|
-
}
|
|
666
|
-
for (propName in config) {
|
|
667
|
-
if (hasOwnProperty2.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
|
|
668
|
-
props[propName] = config[propName];
|
|
669
|
-
}
|
|
670
|
-
}
|
|
671
|
-
if (type && type.defaultProps) {
|
|
672
|
-
var defaultProps = type.defaultProps;
|
|
673
|
-
for (propName in defaultProps) {
|
|
674
|
-
if (props[propName] === void 0) {
|
|
675
|
-
props[propName] = defaultProps[propName];
|
|
676
|
-
}
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
if (key || ref) {
|
|
680
|
-
var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type;
|
|
681
|
-
if (key) {
|
|
682
|
-
defineKeyPropWarningGetter(props, displayName);
|
|
683
|
-
}
|
|
684
|
-
if (ref) {
|
|
685
|
-
defineRefPropWarningGetter(props, displayName);
|
|
686
|
-
}
|
|
687
|
-
}
|
|
688
|
-
return ReactElement(type, key, ref, self2, source, ReactCurrentOwner.current, props);
|
|
689
|
-
}
|
|
690
|
-
}
|
|
691
|
-
var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
|
|
692
|
-
var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
|
|
693
|
-
function setCurrentlyValidatingElement$1(element) {
|
|
694
|
-
{
|
|
695
|
-
if (element) {
|
|
696
|
-
var stack = describeUnknownElementTypeFrameInDEV(element.type);
|
|
697
|
-
ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
|
|
698
|
-
} else {
|
|
699
|
-
ReactDebugCurrentFrame$1.setExtraStackFrame(null);
|
|
700
|
-
}
|
|
701
|
-
}
|
|
702
|
-
}
|
|
703
|
-
var propTypesMisspellWarningShown;
|
|
704
|
-
{
|
|
705
|
-
propTypesMisspellWarningShown = false;
|
|
706
|
-
}
|
|
707
|
-
function isValidElement2(object) {
|
|
708
|
-
{
|
|
709
|
-
return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
function getDeclarationErrorAddendum() {
|
|
713
|
-
{
|
|
714
|
-
if (ReactCurrentOwner$1.current) {
|
|
715
|
-
var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);
|
|
716
|
-
if (name) {
|
|
717
|
-
return "\n\nCheck the render method of `" + name + "`.";
|
|
718
|
-
}
|
|
719
|
-
}
|
|
720
|
-
return "";
|
|
721
|
-
}
|
|
722
|
-
}
|
|
723
|
-
function getSourceInfoErrorAddendum(source) {
|
|
724
|
-
{
|
|
725
|
-
return "";
|
|
726
|
-
}
|
|
727
|
-
}
|
|
728
|
-
var ownerHasKeyUseWarning = {};
|
|
729
|
-
function getCurrentComponentErrorInfo(parentType) {
|
|
730
|
-
{
|
|
731
|
-
var info2 = getDeclarationErrorAddendum();
|
|
732
|
-
if (!info2) {
|
|
733
|
-
var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
|
|
734
|
-
if (parentName) {
|
|
735
|
-
info2 = "\n\nCheck the top-level render call using <" + parentName + ">.";
|
|
736
|
-
}
|
|
737
|
-
}
|
|
738
|
-
return info2;
|
|
739
|
-
}
|
|
740
|
-
}
|
|
741
|
-
function validateExplicitKey(element, parentType) {
|
|
742
|
-
{
|
|
743
|
-
if (!element._store || element._store.validated || element.key != null) {
|
|
744
|
-
return;
|
|
745
|
-
}
|
|
746
|
-
element._store.validated = true;
|
|
747
|
-
var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
|
|
748
|
-
if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
|
|
749
|
-
return;
|
|
750
|
-
}
|
|
751
|
-
ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
|
|
752
|
-
var childOwner = "";
|
|
753
|
-
if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {
|
|
754
|
-
childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
|
|
755
|
-
}
|
|
756
|
-
setCurrentlyValidatingElement$1(element);
|
|
757
|
-
error2('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
|
|
758
|
-
setCurrentlyValidatingElement$1(null);
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
function validateChildKeys(node, parentType) {
|
|
762
|
-
{
|
|
763
|
-
if (typeof node !== "object") {
|
|
764
|
-
return;
|
|
765
|
-
}
|
|
766
|
-
if (isArray2(node)) {
|
|
767
|
-
for (var i = 0; i < node.length; i++) {
|
|
768
|
-
var child = node[i];
|
|
769
|
-
if (isValidElement2(child)) {
|
|
770
|
-
validateExplicitKey(child, parentType);
|
|
771
|
-
}
|
|
772
|
-
}
|
|
773
|
-
} else if (isValidElement2(node)) {
|
|
774
|
-
if (node._store) {
|
|
775
|
-
node._store.validated = true;
|
|
776
|
-
}
|
|
777
|
-
} else if (node) {
|
|
778
|
-
var iteratorFn = getIteratorFn(node);
|
|
779
|
-
if (typeof iteratorFn === "function") {
|
|
780
|
-
if (iteratorFn !== node.entries) {
|
|
781
|
-
var iterator = iteratorFn.call(node);
|
|
782
|
-
var step;
|
|
783
|
-
while (!(step = iterator.next()).done) {
|
|
784
|
-
if (isValidElement2(step.value)) {
|
|
785
|
-
validateExplicitKey(step.value, parentType);
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
|
-
}
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
}
|
|
793
|
-
function validatePropTypes(element) {
|
|
794
|
-
{
|
|
795
|
-
var type = element.type;
|
|
796
|
-
if (type === null || type === void 0 || typeof type === "string") {
|
|
797
|
-
return;
|
|
798
|
-
}
|
|
799
|
-
var propTypes;
|
|
800
|
-
if (typeof type === "function") {
|
|
801
|
-
propTypes = type.propTypes;
|
|
802
|
-
} else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
|
|
803
|
-
// Inner props are checked in the reconciler.
|
|
804
|
-
type.$$typeof === REACT_MEMO_TYPE)) {
|
|
805
|
-
propTypes = type.propTypes;
|
|
806
|
-
} else {
|
|
807
|
-
return;
|
|
808
|
-
}
|
|
809
|
-
if (propTypes) {
|
|
810
|
-
var name = getComponentNameFromType(type);
|
|
811
|
-
checkPropTypes(propTypes, element.props, "prop", name, element);
|
|
812
|
-
} else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
|
|
813
|
-
propTypesMisspellWarningShown = true;
|
|
814
|
-
var _name = getComponentNameFromType(type);
|
|
815
|
-
error2("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
|
|
816
|
-
}
|
|
817
|
-
if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) {
|
|
818
|
-
error2("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
819
|
-
}
|
|
820
|
-
}
|
|
821
|
-
}
|
|
822
|
-
function validateFragmentProps(fragment) {
|
|
823
|
-
{
|
|
824
|
-
var keys = Object.keys(fragment.props);
|
|
825
|
-
for (var i = 0; i < keys.length; i++) {
|
|
826
|
-
var key = keys[i];
|
|
827
|
-
if (key !== "children" && key !== "key") {
|
|
828
|
-
setCurrentlyValidatingElement$1(fragment);
|
|
829
|
-
error2("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
|
|
830
|
-
setCurrentlyValidatingElement$1(null);
|
|
831
|
-
break;
|
|
832
|
-
}
|
|
833
|
-
}
|
|
834
|
-
if (fragment.ref !== null) {
|
|
835
|
-
setCurrentlyValidatingElement$1(fragment);
|
|
836
|
-
error2("Invalid attribute `ref` supplied to `React.Fragment`.");
|
|
837
|
-
setCurrentlyValidatingElement$1(null);
|
|
838
|
-
}
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
var didWarnAboutKeySpread = {};
|
|
842
|
-
function jsxWithValidation(type, props, key, isStaticChildren, source, self2) {
|
|
843
|
-
{
|
|
844
|
-
var validType = isValidElementType(type);
|
|
845
|
-
if (!validType) {
|
|
846
|
-
var info2 = "";
|
|
847
|
-
if (type === void 0 || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
|
|
848
|
-
info2 += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
|
|
849
|
-
}
|
|
850
|
-
var sourceInfo = getSourceInfoErrorAddendum();
|
|
851
|
-
if (sourceInfo) {
|
|
852
|
-
info2 += sourceInfo;
|
|
853
|
-
} else {
|
|
854
|
-
info2 += getDeclarationErrorAddendum();
|
|
855
|
-
}
|
|
856
|
-
var typeString;
|
|
857
|
-
if (type === null) {
|
|
858
|
-
typeString = "null";
|
|
859
|
-
} else if (isArray2(type)) {
|
|
860
|
-
typeString = "array";
|
|
861
|
-
} else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) {
|
|
862
|
-
typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />";
|
|
863
|
-
info2 = " Did you accidentally export a JSX literal instead of a component?";
|
|
864
|
-
} else {
|
|
865
|
-
typeString = typeof type;
|
|
866
|
-
}
|
|
867
|
-
error2("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", typeString, info2);
|
|
868
|
-
}
|
|
869
|
-
var element = jsxDEV(type, props, key, source, self2);
|
|
870
|
-
if (element == null) {
|
|
871
|
-
return element;
|
|
872
|
-
}
|
|
873
|
-
if (validType) {
|
|
874
|
-
var children = props.children;
|
|
875
|
-
if (children !== void 0) {
|
|
876
|
-
if (isStaticChildren) {
|
|
877
|
-
if (isArray2(children)) {
|
|
878
|
-
for (var i = 0; i < children.length; i++) {
|
|
879
|
-
validateChildKeys(children[i], type);
|
|
880
|
-
}
|
|
881
|
-
if (Object.freeze) {
|
|
882
|
-
Object.freeze(children);
|
|
883
|
-
}
|
|
884
|
-
} else {
|
|
885
|
-
error2("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
886
|
-
}
|
|
887
|
-
} else {
|
|
888
|
-
validateChildKeys(children, type);
|
|
889
|
-
}
|
|
890
|
-
}
|
|
891
|
-
}
|
|
892
|
-
{
|
|
893
|
-
if (hasOwnProperty2.call(props, "key")) {
|
|
894
|
-
var componentName = getComponentNameFromType(type);
|
|
895
|
-
var keys = Object.keys(props).filter(function(k) {
|
|
896
|
-
return k !== "key";
|
|
897
|
-
});
|
|
898
|
-
var beforeExample = keys.length > 0 ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
899
|
-
if (!didWarnAboutKeySpread[componentName + beforeExample]) {
|
|
900
|
-
var afterExample = keys.length > 0 ? "{" + keys.join(": ..., ") + ": ...}" : "{}";
|
|
901
|
-
error2('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);
|
|
902
|
-
didWarnAboutKeySpread[componentName + beforeExample] = true;
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
}
|
|
906
|
-
if (type === REACT_FRAGMENT_TYPE) {
|
|
907
|
-
validateFragmentProps(element);
|
|
908
|
-
} else {
|
|
909
|
-
validatePropTypes(element);
|
|
910
|
-
}
|
|
911
|
-
return element;
|
|
912
|
-
}
|
|
913
|
-
}
|
|
914
|
-
function jsxWithValidationStatic(type, props, key) {
|
|
915
|
-
{
|
|
916
|
-
return jsxWithValidation(type, props, key, true);
|
|
917
|
-
}
|
|
918
|
-
}
|
|
919
|
-
function jsxWithValidationDynamic(type, props, key) {
|
|
920
|
-
{
|
|
921
|
-
return jsxWithValidation(type, props, key, false);
|
|
922
|
-
}
|
|
923
|
-
}
|
|
924
|
-
var jsx = jsxWithValidationDynamic;
|
|
925
|
-
var jsxs = jsxWithValidationStatic;
|
|
926
|
-
reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
|
|
927
|
-
reactJsxRuntime_development.jsx = jsx;
|
|
928
|
-
reactJsxRuntime_development.jsxs = jsxs;
|
|
929
|
-
})();
|
|
930
|
-
}
|
|
931
|
-
return reactJsxRuntime_development;
|
|
932
|
-
}
|
|
933
|
-
var hasRequiredJsxRuntime;
|
|
934
|
-
function requireJsxRuntime() {
|
|
935
|
-
if (hasRequiredJsxRuntime) return jsxRuntime.exports;
|
|
936
|
-
hasRequiredJsxRuntime = 1;
|
|
937
|
-
if (process.env.NODE_ENV === "production") {
|
|
938
|
-
jsxRuntime.exports = /* @__PURE__ */ requireReactJsxRuntime_production_min();
|
|
939
|
-
} else {
|
|
940
|
-
jsxRuntime.exports = /* @__PURE__ */ requireReactJsxRuntime_development();
|
|
941
|
-
}
|
|
942
|
-
return jsxRuntime.exports;
|
|
943
|
-
}
|
|
944
|
-
var jsxRuntimeExports = /* @__PURE__ */ requireJsxRuntime();
|
|
945
23
|
const btn = "_btn_ch6o3_1";
|
|
946
24
|
const stylesBtn = {
|
|
947
25
|
btn,
|
|
@@ -986,7 +64,7 @@ const FButton = forwardRef(({
|
|
|
986
64
|
}
|
|
987
65
|
}
|
|
988
66
|
style = st !== void 0 ? { ...style, ...st } : style;
|
|
989
|
-
return /* @__PURE__ */
|
|
67
|
+
return /* @__PURE__ */ jsx(
|
|
990
68
|
"button",
|
|
991
69
|
{
|
|
992
70
|
ref,
|
|
@@ -1014,7 +92,7 @@ const FTrashIcon = React.forwardRef(({
|
|
|
1014
92
|
["data-testid"]: dataTestId,
|
|
1015
93
|
...props
|
|
1016
94
|
}, ref) => {
|
|
1017
|
-
return /* @__PURE__ */
|
|
95
|
+
return /* @__PURE__ */ jsxs(
|
|
1018
96
|
"svg",
|
|
1019
97
|
{
|
|
1020
98
|
ref,
|
|
@@ -1028,13 +106,13 @@ const FTrashIcon = React.forwardRef(({
|
|
|
1028
106
|
"data-testid": dataTestId,
|
|
1029
107
|
...props,
|
|
1030
108
|
children: [
|
|
1031
|
-
/* @__PURE__ */
|
|
109
|
+
/* @__PURE__ */ jsx(
|
|
1032
110
|
"path",
|
|
1033
111
|
{
|
|
1034
112
|
d: "M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"
|
|
1035
113
|
}
|
|
1036
114
|
),
|
|
1037
|
-
/* @__PURE__ */
|
|
115
|
+
/* @__PURE__ */ jsx(
|
|
1038
116
|
"path",
|
|
1039
117
|
{
|
|
1040
118
|
fillRule: "evenodd",
|
|
@@ -1068,21 +146,21 @@ const FFile = ({
|
|
|
1068
146
|
size,
|
|
1069
147
|
progress: progress2
|
|
1070
148
|
}) => {
|
|
1071
|
-
return /* @__PURE__ */
|
|
149
|
+
return /* @__PURE__ */ jsxs(
|
|
1072
150
|
"div",
|
|
1073
151
|
{
|
|
1074
152
|
className: `${styles$y["file-preview-card"]} ${className || ""}`,
|
|
1075
153
|
id,
|
|
1076
154
|
style: st,
|
|
1077
155
|
children: [
|
|
1078
|
-
/* @__PURE__ */
|
|
1079
|
-
/* @__PURE__ */
|
|
1080
|
-
typeof size === "number" && /* @__PURE__ */
|
|
156
|
+
/* @__PURE__ */ jsxs("div", { className: styles$y["file-preview-info"], children: [
|
|
157
|
+
/* @__PURE__ */ jsx("span", { className: styles$y["file-preview-name"], title: name, children: name }),
|
|
158
|
+
typeof size === "number" && /* @__PURE__ */ jsxs("span", { className: styles$y["file-preview-size"], children: [
|
|
1081
159
|
Math.round(size / 1024),
|
|
1082
160
|
" КБ"
|
|
1083
161
|
] })
|
|
1084
162
|
] }),
|
|
1085
|
-
handleDelete && /* @__PURE__ */
|
|
163
|
+
handleDelete && /* @__PURE__ */ jsx("div", { className: styles$y["trash-icon"], children: /* @__PURE__ */ jsx(
|
|
1086
164
|
FTrashIcon,
|
|
1087
165
|
{
|
|
1088
166
|
size: 20,
|
|
@@ -1090,7 +168,7 @@ const FFile = ({
|
|
|
1090
168
|
handleClick: handleDelete
|
|
1091
169
|
}
|
|
1092
170
|
) }),
|
|
1093
|
-
typeof progress2 === "number" && /* @__PURE__ */
|
|
171
|
+
typeof progress2 === "number" && /* @__PURE__ */ jsx("div", { className: `${styles$y.progressBar} ${progress2 === 100 ? styles$y.completed : ""}`, children: /* @__PURE__ */ jsx(
|
|
1094
172
|
"div",
|
|
1095
173
|
{
|
|
1096
174
|
className: styles$y.progress,
|
|
@@ -1153,8 +231,8 @@ const FButtonFile = ({
|
|
|
1153
231
|
return newProgress;
|
|
1154
232
|
});
|
|
1155
233
|
};
|
|
1156
|
-
return /* @__PURE__ */
|
|
1157
|
-
/* @__PURE__ */
|
|
234
|
+
return /* @__PURE__ */ jsxs("div", { className: defaultStyles["f-button-file"], style, children: [
|
|
235
|
+
/* @__PURE__ */ jsx(
|
|
1158
236
|
FButton,
|
|
1159
237
|
{
|
|
1160
238
|
variant,
|
|
@@ -1171,7 +249,7 @@ const FButtonFile = ({
|
|
|
1171
249
|
children
|
|
1172
250
|
}
|
|
1173
251
|
),
|
|
1174
|
-
/* @__PURE__ */
|
|
252
|
+
/* @__PURE__ */ jsx(
|
|
1175
253
|
"input",
|
|
1176
254
|
{
|
|
1177
255
|
ref: fileRef,
|
|
@@ -1184,7 +262,7 @@ const FButtonFile = ({
|
|
|
1184
262
|
required
|
|
1185
263
|
}
|
|
1186
264
|
),
|
|
1187
|
-
files.length > 0 && /* @__PURE__ */
|
|
265
|
+
files.length > 0 && /* @__PURE__ */ jsx("div", { className: defaultStyles["custom-files-preview"], id: "files", style: { marginTop: "16px" }, children: /* @__PURE__ */ jsx("div", { className: defaultStyles["file-preview-list"], style: { flexDirection: direction }, children: files.map((opt, index) => /* @__PURE__ */ jsx(
|
|
1188
266
|
FFile,
|
|
1189
267
|
{
|
|
1190
268
|
name: opt.name,
|
|
@@ -1208,8 +286,8 @@ const FLoadIcon = React.forwardRef(({
|
|
|
1208
286
|
...props
|
|
1209
287
|
}, ref) => {
|
|
1210
288
|
const randomId = useRef((Math.random() + 1).toString(36).substring(2));
|
|
1211
|
-
return /* @__PURE__ */
|
|
1212
|
-
/* @__PURE__ */
|
|
289
|
+
return /* @__PURE__ */ jsxs("div", { ref, style: { margin: 0, padding: 0 }, ...props, children: [
|
|
290
|
+
/* @__PURE__ */ jsxs("style", { children: [
|
|
1213
291
|
`
|
|
1214
292
|
.f-load-icon-${randomId.current} {
|
|
1215
293
|
width: ${size}px;
|
|
@@ -1237,7 +315,7 @@ const FLoadIcon = React.forwardRef(({
|
|
|
1237
315
|
}
|
|
1238
316
|
}`
|
|
1239
317
|
] }),
|
|
1240
|
-
/* @__PURE__ */
|
|
318
|
+
/* @__PURE__ */ jsx(
|
|
1241
319
|
"span",
|
|
1242
320
|
{
|
|
1243
321
|
className: `f-load-icon f-load-icon-${randomId.current} ${color} ${className !== void 0 ? className : ""}`,
|
|
@@ -1272,7 +350,7 @@ const FTextField = forwardRef(
|
|
|
1272
350
|
};
|
|
1273
351
|
const mergedStyle = { ...baseStyle, ...st };
|
|
1274
352
|
const inputId = id || `input-${Math.random().toString(36).substring(2, 9)}`;
|
|
1275
|
-
return /* @__PURE__ */
|
|
353
|
+
return /* @__PURE__ */ jsxs(
|
|
1276
354
|
"div",
|
|
1277
355
|
{
|
|
1278
356
|
className: `f-form-element ${styles$x["f-text-field"]} ${className || ""}`,
|
|
@@ -1281,7 +359,7 @@ const FTextField = forwardRef(
|
|
|
1281
359
|
id: inputId + "-text-field-block",
|
|
1282
360
|
"aria-labelledby": label ? inputId + "-label" : void 0,
|
|
1283
361
|
children: [
|
|
1284
|
-
label && /* @__PURE__ */
|
|
362
|
+
label && /* @__PURE__ */ jsx(
|
|
1285
363
|
"label",
|
|
1286
364
|
{
|
|
1287
365
|
id: inputId + "-label",
|
|
@@ -1290,8 +368,8 @@ const FTextField = forwardRef(
|
|
|
1290
368
|
children: label
|
|
1291
369
|
}
|
|
1292
370
|
),
|
|
1293
|
-
/* @__PURE__ */
|
|
1294
|
-
/* @__PURE__ */
|
|
371
|
+
/* @__PURE__ */ jsxs("div", { className: `f-form-element__control ${load ? "is-loading" : ""}`, children: [
|
|
372
|
+
/* @__PURE__ */ jsx(
|
|
1295
373
|
"input",
|
|
1296
374
|
{
|
|
1297
375
|
ref,
|
|
@@ -1305,9 +383,9 @@ const FTextField = forwardRef(
|
|
|
1305
383
|
disabled: props.disabled || load
|
|
1306
384
|
}
|
|
1307
385
|
),
|
|
1308
|
-
load && /* @__PURE__ */
|
|
386
|
+
load && /* @__PURE__ */ jsx("span", { className: "f-form-element__loader", children: /* @__PURE__ */ jsx(FLoadIcon, { size: 10 }) })
|
|
1309
387
|
] }),
|
|
1310
|
-
helpText && /* @__PURE__ */
|
|
388
|
+
helpText && /* @__PURE__ */ jsx(
|
|
1311
389
|
"p",
|
|
1312
390
|
{
|
|
1313
391
|
id: inputId + "-helptext",
|
|
@@ -1315,11 +393,11 @@ const FTextField = forwardRef(
|
|
|
1315
393
|
children: helpText
|
|
1316
394
|
}
|
|
1317
395
|
),
|
|
1318
|
-
typeof errText === "string" && errText && /* @__PURE__ */
|
|
396
|
+
typeof errText === "string" && errText && /* @__PURE__ */ jsx(
|
|
1319
397
|
"div",
|
|
1320
398
|
{
|
|
1321
399
|
className: "f-form-element__errorblock",
|
|
1322
|
-
children: /* @__PURE__ */
|
|
400
|
+
children: /* @__PURE__ */ jsx(
|
|
1323
401
|
"p",
|
|
1324
402
|
{
|
|
1325
403
|
id: `${inputId}-errortext`,
|
|
@@ -1329,11 +407,11 @@ const FTextField = forwardRef(
|
|
|
1329
407
|
)
|
|
1330
408
|
}
|
|
1331
409
|
),
|
|
1332
|
-
errText && errText.length > 0 && /* @__PURE__ */
|
|
410
|
+
errText && errText.length > 0 && /* @__PURE__ */ jsx(
|
|
1333
411
|
"div",
|
|
1334
412
|
{
|
|
1335
413
|
className: "f-form-element__errorblock",
|
|
1336
|
-
children: typeof errText !== "string" && errText.map((error2, index) => /* @__PURE__ */
|
|
414
|
+
children: typeof errText !== "string" && errText.map((error2, index) => /* @__PURE__ */ jsx(
|
|
1337
415
|
"p",
|
|
1338
416
|
{
|
|
1339
417
|
id: `${inputId}-errortext-${index}`,
|
|
@@ -1371,7 +449,7 @@ const FStack = ({
|
|
|
1371
449
|
if (st !== void 0) {
|
|
1372
450
|
style = Object.assign(style, st);
|
|
1373
451
|
}
|
|
1374
|
-
return /* @__PURE__ */
|
|
452
|
+
return /* @__PURE__ */ jsx(
|
|
1375
453
|
"div",
|
|
1376
454
|
{
|
|
1377
455
|
className,
|
|
@@ -1494,8 +572,8 @@ const FGrid = ({
|
|
|
1494
572
|
if (resolvedSizes.xxl !== void 0) classes.push(styles$w[`f-grid__col--xxl-${resolvedSizes.xxl}`]);
|
|
1495
573
|
return classes.join(" ");
|
|
1496
574
|
};
|
|
1497
|
-
return /* @__PURE__ */
|
|
1498
|
-
obj === "container" && /* @__PURE__ */
|
|
575
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
576
|
+
obj === "container" && /* @__PURE__ */ jsx(
|
|
1499
577
|
"div",
|
|
1500
578
|
{
|
|
1501
579
|
className: `${styles$w["f-grid"]} ${className || ""}`,
|
|
@@ -1504,7 +582,7 @@ const FGrid = ({
|
|
|
1504
582
|
children
|
|
1505
583
|
}
|
|
1506
584
|
),
|
|
1507
|
-
obj === "item" && /* @__PURE__ */
|
|
585
|
+
obj === "item" && /* @__PURE__ */ jsx(
|
|
1508
586
|
"div",
|
|
1509
587
|
{
|
|
1510
588
|
className: `${getColumnClasses()} ${className || ""}`,
|
|
@@ -1513,7 +591,7 @@ const FGrid = ({
|
|
|
1513
591
|
children
|
|
1514
592
|
}
|
|
1515
593
|
),
|
|
1516
|
-
obj === void 0 && /* @__PURE__ */
|
|
594
|
+
obj === void 0 && /* @__PURE__ */ jsx("div", { className, style, id, children })
|
|
1517
595
|
] });
|
|
1518
596
|
};
|
|
1519
597
|
const styles$v = {
|
|
@@ -1550,7 +628,7 @@ const FGridRow = ({
|
|
|
1550
628
|
getAlignItemsClass(),
|
|
1551
629
|
className
|
|
1552
630
|
].filter(Boolean).join(" ");
|
|
1553
|
-
return /* @__PURE__ */
|
|
631
|
+
return /* @__PURE__ */ jsx("div", { className: rowClasses, style: st, id, children });
|
|
1554
632
|
};
|
|
1555
633
|
const styles$u = {
|
|
1556
634
|
"f-container": "_f-container_g9ck3_1",
|
|
@@ -1569,7 +647,7 @@ const FContainer = ({
|
|
|
1569
647
|
id,
|
|
1570
648
|
maxWidth = "container-xs"
|
|
1571
649
|
}) => {
|
|
1572
|
-
return /* @__PURE__ */
|
|
650
|
+
return /* @__PURE__ */ jsx(
|
|
1573
651
|
"div",
|
|
1574
652
|
{
|
|
1575
653
|
className: `${styles$u["f-container"]} ${styles$u[maxWidth]} ${className || ""}`,
|
|
@@ -1610,7 +688,7 @@ const FPaper = ({
|
|
|
1610
688
|
}
|
|
1611
689
|
}
|
|
1612
690
|
}, [animated]);
|
|
1613
|
-
return /* @__PURE__ */
|
|
691
|
+
return /* @__PURE__ */ jsxs(
|
|
1614
692
|
"div",
|
|
1615
693
|
{
|
|
1616
694
|
className: `${styles$t["panel"]} ${styles$t["panel-default"]} ${className || ""} ${animated ? `${styles$t[`animated-${animated.name}`]} ${animated.name}` : ""}`,
|
|
@@ -1618,7 +696,7 @@ const FPaper = ({
|
|
|
1618
696
|
id,
|
|
1619
697
|
onAnimationEnd,
|
|
1620
698
|
children: [
|
|
1621
|
-
label && /* @__PURE__ */
|
|
699
|
+
label && /* @__PURE__ */ jsx("div", { className: styles$t["panel-heading"], children: /* @__PURE__ */ jsx(
|
|
1622
700
|
"h3",
|
|
1623
701
|
{
|
|
1624
702
|
className: styles$t["panel-title"],
|
|
@@ -1626,7 +704,7 @@ const FPaper = ({
|
|
|
1626
704
|
children: label
|
|
1627
705
|
}
|
|
1628
706
|
) }),
|
|
1629
|
-
/* @__PURE__ */
|
|
707
|
+
/* @__PURE__ */ jsx(
|
|
1630
708
|
"div",
|
|
1631
709
|
{
|
|
1632
710
|
className: styles$t["panel-body"],
|
|
@@ -1667,7 +745,7 @@ const FTableHead = ({
|
|
|
1667
745
|
// По умолчанию заголовок не "липкий"
|
|
1668
746
|
...props
|
|
1669
747
|
}) => {
|
|
1670
|
-
return /* @__PURE__ */
|
|
748
|
+
return /* @__PURE__ */ jsx(
|
|
1671
749
|
"thead",
|
|
1672
750
|
{
|
|
1673
751
|
style: st,
|
|
@@ -1765,10 +843,10 @@ const FTableBody = ({
|
|
|
1765
843
|
} else {
|
|
1766
844
|
visibleItems = flatChildren;
|
|
1767
845
|
}
|
|
1768
|
-
return /* @__PURE__ */
|
|
1769
|
-
virtualizationEnabled && rowHeights.some((h) => h > 0) && /* @__PURE__ */
|
|
846
|
+
return /* @__PURE__ */ jsxs("tbody", { ref: tableBodyRef, style: st, ...props, className: `${styles$s["f-table-component__table_body"]} ${props.className || ""} ${styles$s[textAlignment]}`, children: [
|
|
847
|
+
virtualizationEnabled && rowHeights.some((h) => h > 0) && /* @__PURE__ */ jsx("tr", { style: { height: topOffset } }),
|
|
1770
848
|
visibleItems.map((child, idx) => React.isValidElement(child) ? React.cloneElement(child, { "data-row-index": virtualizationEnabled ? startIdx + idx : idx, key: virtualizationEnabled ? startIdx + idx : idx }) : child),
|
|
1771
|
-
virtualizationEnabled && rowHeights.some((h) => h > 0) && /* @__PURE__ */
|
|
849
|
+
virtualizationEnabled && rowHeights.some((h) => h > 0) && /* @__PURE__ */ jsx("tr", { style: { height: bottomOffset } })
|
|
1772
850
|
] });
|
|
1773
851
|
};
|
|
1774
852
|
const FTableBody$1 = React.memo(FTableBody);
|
|
@@ -1800,13 +878,13 @@ const FTable = ({
|
|
|
1800
878
|
}
|
|
1801
879
|
};
|
|
1802
880
|
}, []);
|
|
1803
|
-
return /* @__PURE__ */
|
|
881
|
+
return /* @__PURE__ */ jsx(
|
|
1804
882
|
"div",
|
|
1805
883
|
{
|
|
1806
884
|
ref: tableWrapperRef,
|
|
1807
885
|
className: styles$s["f-table-component"],
|
|
1808
886
|
style: { overflowX, overflowY },
|
|
1809
|
-
children: /* @__PURE__ */
|
|
887
|
+
children: /* @__PURE__ */ jsx(
|
|
1810
888
|
"table",
|
|
1811
889
|
{
|
|
1812
890
|
style: st,
|
|
@@ -1846,7 +924,7 @@ const FTableRow = ({
|
|
|
1846
924
|
textAlignment,
|
|
1847
925
|
...props
|
|
1848
926
|
}) => {
|
|
1849
|
-
return /* @__PURE__ */
|
|
927
|
+
return /* @__PURE__ */ jsx(
|
|
1850
928
|
"tr",
|
|
1851
929
|
{
|
|
1852
930
|
style: st,
|
|
@@ -1872,7 +950,7 @@ const FTableHeaderCell = ({
|
|
|
1872
950
|
width,
|
|
1873
951
|
...st
|
|
1874
952
|
};
|
|
1875
|
-
return /* @__PURE__ */
|
|
953
|
+
return /* @__PURE__ */ jsx(
|
|
1876
954
|
"th",
|
|
1877
955
|
{
|
|
1878
956
|
rowSpan: row && row > 1 ? row : void 0,
|
|
@@ -1900,7 +978,7 @@ const FTableDataCell = ({
|
|
|
1900
978
|
height,
|
|
1901
979
|
...st
|
|
1902
980
|
};
|
|
1903
|
-
return /* @__PURE__ */
|
|
981
|
+
return /* @__PURE__ */ jsx(
|
|
1904
982
|
"td",
|
|
1905
983
|
{
|
|
1906
984
|
rowSpan: row && row > 1 ? row : void 0,
|
|
@@ -1917,7 +995,7 @@ const FTableFooter = ({
|
|
|
1917
995
|
children,
|
|
1918
996
|
...props
|
|
1919
997
|
}) => {
|
|
1920
|
-
return /* @__PURE__ */
|
|
998
|
+
return /* @__PURE__ */ jsx(
|
|
1921
999
|
"tfoot",
|
|
1922
1000
|
{
|
|
1923
1001
|
style: st,
|
|
@@ -1976,14 +1054,14 @@ const FDialog = ({
|
|
|
1976
1054
|
};
|
|
1977
1055
|
const contentWidth = widthStyles[width];
|
|
1978
1056
|
return ReactDOM.createPortal(
|
|
1979
|
-
/* @__PURE__ */
|
|
1057
|
+
/* @__PURE__ */ jsx(
|
|
1980
1058
|
"div",
|
|
1981
1059
|
{
|
|
1982
1060
|
id,
|
|
1983
1061
|
style: st,
|
|
1984
1062
|
className: `${styles$r["f-dialog"]} ${openAndClose ? styles$r["active-dialog"] : ""} ${className || ""}`,
|
|
1985
1063
|
onClick: () => closeButtonBackPage == null ? void 0 : closeButtonBackPage(false),
|
|
1986
|
-
children: /* @__PURE__ */
|
|
1064
|
+
children: /* @__PURE__ */ jsx(
|
|
1987
1065
|
"div",
|
|
1988
1066
|
{
|
|
1989
1067
|
className: `${styles$r["f-dialog__content"]} ${openAndClose ? styles$r["active"] : ""} ${hide2 ? styles$r["hide"] : ""}`,
|
|
@@ -2009,7 +1087,7 @@ const FCloseIcon = React.forwardRef(({
|
|
|
2009
1087
|
["data-testid"]: dataTestId,
|
|
2010
1088
|
...props
|
|
2011
1089
|
}, ref) => {
|
|
2012
|
-
return /* @__PURE__ */
|
|
1090
|
+
return /* @__PURE__ */ jsx(
|
|
2013
1091
|
"svg",
|
|
2014
1092
|
{
|
|
2015
1093
|
ref,
|
|
@@ -2021,15 +1099,15 @@ const FCloseIcon = React.forwardRef(({
|
|
|
2021
1099
|
id,
|
|
2022
1100
|
"data-testid": dataTestId,
|
|
2023
1101
|
...props,
|
|
2024
|
-
children: /* @__PURE__ */
|
|
1102
|
+
children: /* @__PURE__ */ jsx("path", { d: "M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z" })
|
|
2025
1103
|
}
|
|
2026
1104
|
);
|
|
2027
1105
|
});
|
|
2028
1106
|
FCloseIcon.displayName = "FCloseIcon";
|
|
2029
1107
|
const FDialogHeader = ({ title: title2, handleClose }) => {
|
|
2030
|
-
return /* @__PURE__ */
|
|
2031
|
-
/* @__PURE__ */
|
|
2032
|
-
handleClose && /* @__PURE__ */
|
|
1108
|
+
return /* @__PURE__ */ jsxs("div", { className: styles$r["f-dialog__header"], children: [
|
|
1109
|
+
/* @__PURE__ */ jsx("h3", { className: styles$r["f-dialog__header_title"], children: title2 }),
|
|
1110
|
+
handleClose && /* @__PURE__ */ jsx("div", { className: styles$r["f-dialog__header_close"], children: /* @__PURE__ */ jsx(
|
|
2033
1111
|
FCloseIcon,
|
|
2034
1112
|
{
|
|
2035
1113
|
handleClose,
|
|
@@ -2044,10 +1122,10 @@ const FDialogBody = ({ st, children, scroll = true }) => {
|
|
|
2044
1122
|
...scroll ? { overflowY: "auto" } : {},
|
|
2045
1123
|
...st
|
|
2046
1124
|
};
|
|
2047
|
-
return /* @__PURE__ */
|
|
1125
|
+
return /* @__PURE__ */ jsx("div", { className: styles$r["f-dialog__body"], style, children });
|
|
2048
1126
|
};
|
|
2049
1127
|
const FDialogFooter = ({ children, className, st, id }) => {
|
|
2050
|
-
return /* @__PURE__ */
|
|
1128
|
+
return /* @__PURE__ */ jsx(
|
|
2051
1129
|
"div",
|
|
2052
1130
|
{
|
|
2053
1131
|
id,
|
|
@@ -2082,13 +1160,13 @@ const styles$q = {
|
|
|
2082
1160
|
link
|
|
2083
1161
|
};
|
|
2084
1162
|
const FProgress = ({ st, color = "primary", id, className }) => {
|
|
2085
|
-
return /* @__PURE__ */
|
|
1163
|
+
return /* @__PURE__ */ jsx(
|
|
2086
1164
|
"div",
|
|
2087
1165
|
{
|
|
2088
1166
|
className: `${styles$q["authorization-spinner"]} ${styles$q.visible} ${className || ""}`,
|
|
2089
1167
|
id,
|
|
2090
1168
|
style: st,
|
|
2091
|
-
children: /* @__PURE__ */
|
|
1169
|
+
children: /* @__PURE__ */ jsx("div", { className: `${styles$q["spinner-item"]} ${styles$q[color]}` })
|
|
2092
1170
|
}
|
|
2093
1171
|
);
|
|
2094
1172
|
};
|
|
@@ -2116,7 +1194,7 @@ const FPreloader = ({
|
|
|
2116
1194
|
document.body.classList.remove("open-preloader");
|
|
2117
1195
|
};
|
|
2118
1196
|
}, [open]);
|
|
2119
|
-
return /* @__PURE__ */
|
|
1197
|
+
return /* @__PURE__ */ jsx(
|
|
2120
1198
|
"div",
|
|
2121
1199
|
{
|
|
2122
1200
|
className: `${styles$p["f-preloader"]} ${open ? styles$p["active-preloader"] : ""}`,
|
|
@@ -2135,13 +1213,13 @@ const FCheckbox = forwardRef(
|
|
|
2135
1213
|
st,
|
|
2136
1214
|
...props
|
|
2137
1215
|
}, ref) => {
|
|
2138
|
-
return /* @__PURE__ */
|
|
1216
|
+
return /* @__PURE__ */ jsx(
|
|
2139
1217
|
"div",
|
|
2140
1218
|
{
|
|
2141
1219
|
className: `${styles$o["f-checkbox"]} ${className || ""}`,
|
|
2142
1220
|
style: st,
|
|
2143
|
-
children: /* @__PURE__ */
|
|
2144
|
-
/* @__PURE__ */
|
|
1221
|
+
children: /* @__PURE__ */ jsxs("label", { children: [
|
|
1222
|
+
/* @__PURE__ */ jsx("input", { ref, type: "checkbox", ...props }),
|
|
2145
1223
|
label
|
|
2146
1224
|
] })
|
|
2147
1225
|
}
|
|
@@ -2158,13 +1236,13 @@ const FRadioButton = forwardRef(
|
|
|
2158
1236
|
st,
|
|
2159
1237
|
...props
|
|
2160
1238
|
}, ref) => {
|
|
2161
|
-
return /* @__PURE__ */
|
|
1239
|
+
return /* @__PURE__ */ jsx(
|
|
2162
1240
|
"div",
|
|
2163
1241
|
{
|
|
2164
1242
|
className: `${styles$n["f-radio"]} ${className || ""}`,
|
|
2165
1243
|
style: st,
|
|
2166
|
-
children: /* @__PURE__ */
|
|
2167
|
-
/* @__PURE__ */
|
|
1244
|
+
children: /* @__PURE__ */ jsxs("label", { children: [
|
|
1245
|
+
/* @__PURE__ */ jsx("input", { ref, type: "radio", ...props }),
|
|
2168
1246
|
label
|
|
2169
1247
|
] })
|
|
2170
1248
|
}
|
|
@@ -2254,26 +1332,26 @@ const FPagination = ({
|
|
|
2254
1332
|
const onNext = () => onPageChange(currentPage + 1);
|
|
2255
1333
|
const onPrevious = () => onPageChange(currentPage - 1);
|
|
2256
1334
|
const lastPage = paginationRange[paginationRange.length - 1];
|
|
2257
|
-
return /* @__PURE__ */
|
|
1335
|
+
return /* @__PURE__ */ jsxs(
|
|
2258
1336
|
"ul",
|
|
2259
1337
|
{
|
|
2260
1338
|
className: `${styles$m["pagination-container"]} ${className || ""}`,
|
|
2261
1339
|
style: st,
|
|
2262
1340
|
id,
|
|
2263
1341
|
children: [
|
|
2264
|
-
/* @__PURE__ */
|
|
1342
|
+
/* @__PURE__ */ jsx(
|
|
2265
1343
|
"li",
|
|
2266
1344
|
{
|
|
2267
1345
|
className: `${styles$m["pagination-item"]} ${currentPage === 1 ? styles$m.disabled : ""}`,
|
|
2268
1346
|
onClick: onPrevious,
|
|
2269
|
-
children: /* @__PURE__ */
|
|
1347
|
+
children: /* @__PURE__ */ jsx("div", { className: `${styles$m.arrow} ${styles$m.left}` })
|
|
2270
1348
|
}
|
|
2271
1349
|
),
|
|
2272
1350
|
paginationRange.map((pageNumber, index) => {
|
|
2273
1351
|
if (pageNumber === DOTS) {
|
|
2274
|
-
return /* @__PURE__ */
|
|
1352
|
+
return /* @__PURE__ */ jsx("li", { className: `${styles$m["pagination-item"]} ${styles$m.dots}`, children: "…" }, index);
|
|
2275
1353
|
}
|
|
2276
|
-
return /* @__PURE__ */
|
|
1354
|
+
return /* @__PURE__ */ jsx(
|
|
2277
1355
|
"li",
|
|
2278
1356
|
{
|
|
2279
1357
|
className: `${styles$m["pagination-item"]} ${pageNumber === currentPage ? styles$m.selected : ""}`,
|
|
@@ -2283,12 +1361,12 @@ const FPagination = ({
|
|
|
2283
1361
|
index
|
|
2284
1362
|
);
|
|
2285
1363
|
}),
|
|
2286
|
-
/* @__PURE__ */
|
|
1364
|
+
/* @__PURE__ */ jsx(
|
|
2287
1365
|
"li",
|
|
2288
1366
|
{
|
|
2289
1367
|
className: `${styles$m["pagination-item"]} ${currentPage === lastPage ? styles$m.disabled : ""}`,
|
|
2290
1368
|
onClick: onNext,
|
|
2291
|
-
children: /* @__PURE__ */
|
|
1369
|
+
children: /* @__PURE__ */ jsx("div", { className: `${styles$m.arrow} ${styles$m.right}` })
|
|
2292
1370
|
}
|
|
2293
1371
|
)
|
|
2294
1372
|
]
|
|
@@ -2309,7 +1387,7 @@ const FTimeline = ({
|
|
|
2309
1387
|
id,
|
|
2310
1388
|
className
|
|
2311
1389
|
}) => {
|
|
2312
|
-
return /* @__PURE__ */
|
|
1390
|
+
return /* @__PURE__ */ jsx("div", { className: `${styles$l["f-time-line"]} ${className || ""}`, style: st, id, children });
|
|
2313
1391
|
};
|
|
2314
1392
|
const FTimelineCard = ({
|
|
2315
1393
|
children,
|
|
@@ -2318,11 +1396,11 @@ const FTimelineCard = ({
|
|
|
2318
1396
|
id,
|
|
2319
1397
|
className
|
|
2320
1398
|
}) => {
|
|
2321
|
-
return /* @__PURE__ */
|
|
2322
|
-
/* @__PURE__ */
|
|
2323
|
-
/* @__PURE__ */
|
|
2324
|
-
title2 && /* @__PURE__ */
|
|
2325
|
-
/* @__PURE__ */
|
|
1399
|
+
return /* @__PURE__ */ jsxs("div", { className: `${styles$l["f-time-line__block"]} ${className || ""}`, id, children: [
|
|
1400
|
+
/* @__PURE__ */ jsx("div", { className: styles$l["f-time-line__block-circle"] }),
|
|
1401
|
+
/* @__PURE__ */ jsxs("div", { className: styles$l["f-time-line__block-inner"], style: st, children: [
|
|
1402
|
+
title2 && /* @__PURE__ */ jsx("div", { className: styles$l["f-time-line__block-title"], children: title2 }),
|
|
1403
|
+
/* @__PURE__ */ jsx("div", { className: styles$l["f-time-line__block-content"], children })
|
|
2326
1404
|
] })
|
|
2327
1405
|
] });
|
|
2328
1406
|
};
|
|
@@ -2360,7 +1438,7 @@ const FArrowIcon = React.forwardRef(({
|
|
|
2360
1438
|
${direction === "down" ? 90 : direction === "up" ? -90 : direction === "right" ? 0 : 180}deg)`
|
|
2361
1439
|
};
|
|
2362
1440
|
st = Object.assign({}, style, st);
|
|
2363
|
-
return /* @__PURE__ */
|
|
1441
|
+
return /* @__PURE__ */ jsx(
|
|
2364
1442
|
"svg",
|
|
2365
1443
|
{
|
|
2366
1444
|
ref,
|
|
@@ -2373,7 +1451,7 @@ const FArrowIcon = React.forwardRef(({
|
|
|
2373
1451
|
id,
|
|
2374
1452
|
"data-testid": dataTestId,
|
|
2375
1453
|
...props,
|
|
2376
|
-
children: /* @__PURE__ */
|
|
1454
|
+
children: /* @__PURE__ */ jsx(
|
|
2377
1455
|
"path",
|
|
2378
1456
|
{
|
|
2379
1457
|
d: "M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"
|
|
@@ -2462,15 +1540,15 @@ const FOpenImgFull = ({
|
|
|
2462
1540
|
if (!imagesUrl.length || selectedImg < 0 || selectedImg >= imagesUrl.length) {
|
|
2463
1541
|
return null;
|
|
2464
1542
|
}
|
|
2465
|
-
return /* @__PURE__ */
|
|
1543
|
+
return /* @__PURE__ */ jsx(
|
|
2466
1544
|
FDialog,
|
|
2467
1545
|
{
|
|
2468
1546
|
openAndClose,
|
|
2469
1547
|
st,
|
|
2470
1548
|
className: `${styles$k["fv-opn-img-full"]} ${className || ""}`,
|
|
2471
1549
|
id,
|
|
2472
|
-
children: /* @__PURE__ */
|
|
2473
|
-
/* @__PURE__ */
|
|
1550
|
+
children: /* @__PURE__ */ jsxs("div", { className: styles$k["fv-opn-img-full-body"], children: [
|
|
1551
|
+
/* @__PURE__ */ jsx("div", { className: styles$k["close-button"], children: handleClose && /* @__PURE__ */ jsx(
|
|
2474
1552
|
FCloseIcon,
|
|
2475
1553
|
{
|
|
2476
1554
|
handleClose: () => {
|
|
@@ -2479,7 +1557,7 @@ const FOpenImgFull = ({
|
|
|
2479
1557
|
}
|
|
2480
1558
|
}
|
|
2481
1559
|
) }),
|
|
2482
|
-
/* @__PURE__ */
|
|
1560
|
+
/* @__PURE__ */ jsxs(
|
|
2483
1561
|
"div",
|
|
2484
1562
|
{
|
|
2485
1563
|
className: styles$k["image-container"],
|
|
@@ -2487,16 +1565,16 @@ const FOpenImgFull = ({
|
|
|
2487
1565
|
onTouchMove: handleTouchMove,
|
|
2488
1566
|
onTouchEnd: handleTouchEnd,
|
|
2489
1567
|
children: [
|
|
2490
|
-
selectedImg > 0 && /* @__PURE__ */
|
|
1568
|
+
selectedImg > 0 && /* @__PURE__ */ jsx("div", { className: styles$k["arrow-left"], children: /* @__PURE__ */ jsx(
|
|
2491
1569
|
FArrowIcon,
|
|
2492
1570
|
{
|
|
2493
1571
|
direction: "left",
|
|
2494
1572
|
handleClick: () => setSelectedImg(selectedImg - 1)
|
|
2495
1573
|
}
|
|
2496
1574
|
) }),
|
|
2497
|
-
/* @__PURE__ */
|
|
2498
|
-
isLoading && /* @__PURE__ */
|
|
2499
|
-
error2 ? /* @__PURE__ */
|
|
1575
|
+
/* @__PURE__ */ jsxs("div", { className: styles$k["image-wrapper"], children: [
|
|
1576
|
+
isLoading && /* @__PURE__ */ jsx("div", { className: styles$k["loading-spinner"], children: /* @__PURE__ */ jsx("div", { className: styles$k["spinner"] }) }),
|
|
1577
|
+
error2 ? /* @__PURE__ */ jsx("div", { className: styles$k["error-message"], children: "Ошибка загрузки изображения" }) : /* @__PURE__ */ jsx(
|
|
2500
1578
|
"img",
|
|
2501
1579
|
{
|
|
2502
1580
|
src: imagesUrl[selectedImg],
|
|
@@ -2516,7 +1594,7 @@ const FOpenImgFull = ({
|
|
|
2516
1594
|
}
|
|
2517
1595
|
)
|
|
2518
1596
|
] }),
|
|
2519
|
-
selectedImg < imagesUrl.length - 1 && /* @__PURE__ */
|
|
1597
|
+
selectedImg < imagesUrl.length - 1 && /* @__PURE__ */ jsx("div", { className: styles$k["arrow-right"], children: /* @__PURE__ */ jsx(
|
|
2520
1598
|
FArrowIcon,
|
|
2521
1599
|
{
|
|
2522
1600
|
direction: "right",
|
|
@@ -2526,7 +1604,7 @@ const FOpenImgFull = ({
|
|
|
2526
1604
|
]
|
|
2527
1605
|
}
|
|
2528
1606
|
),
|
|
2529
|
-
imagesUrl.length > 1 && /* @__PURE__ */
|
|
1607
|
+
imagesUrl.length > 1 && /* @__PURE__ */ jsx("div", { className: styles$k["progress-indicator"], children: imagesUrl.map((_, index) => /* @__PURE__ */ jsx(
|
|
2530
1608
|
"div",
|
|
2531
1609
|
{
|
|
2532
1610
|
className: `${styles$k["progress-dot"]} ${index === selectedImg ? styles$k["active"] : ""}`,
|
|
@@ -2566,20 +1644,20 @@ const FAccordion = ({
|
|
|
2566
1644
|
setIsOpen(open);
|
|
2567
1645
|
}
|
|
2568
1646
|
}, [open]);
|
|
2569
|
-
return /* @__PURE__ */
|
|
1647
|
+
return /* @__PURE__ */ jsx(
|
|
2570
1648
|
"div",
|
|
2571
1649
|
{
|
|
2572
1650
|
onClick,
|
|
2573
1651
|
className: `${styles$j.card} ${className || ""}`,
|
|
2574
1652
|
id,
|
|
2575
|
-
children: /* @__PURE__ */
|
|
1653
|
+
children: /* @__PURE__ */ jsxs(
|
|
2576
1654
|
"details",
|
|
2577
1655
|
{
|
|
2578
1656
|
className: styles$j[variant],
|
|
2579
1657
|
open: isOpen,
|
|
2580
1658
|
style: st,
|
|
2581
1659
|
children: [
|
|
2582
|
-
/* @__PURE__ */
|
|
1660
|
+
/* @__PURE__ */ jsx("summary", { className: styles$j["fv-accord-title"], children: title2 }),
|
|
2583
1661
|
children
|
|
2584
1662
|
]
|
|
2585
1663
|
}
|
|
@@ -2718,8 +1796,8 @@ const FInputFileForm = ({
|
|
|
2718
1796
|
setUploadProgress({});
|
|
2719
1797
|
}
|
|
2720
1798
|
}, [deleteFile]);
|
|
2721
|
-
return /* @__PURE__ */
|
|
2722
|
-
/* @__PURE__ */
|
|
1799
|
+
return /* @__PURE__ */ jsxs("div", { className: styles$i.container, children: [
|
|
1800
|
+
/* @__PURE__ */ jsxs(
|
|
2723
1801
|
"div",
|
|
2724
1802
|
{
|
|
2725
1803
|
className: `${styles$i["custom-file"]} ${styles$i["custom-file-dropzone"]} ${isDragging ? styles$i.dragging : ""}`,
|
|
@@ -2728,7 +1806,7 @@ const FInputFileForm = ({
|
|
|
2728
1806
|
onDragLeave: handleDragLeave,
|
|
2729
1807
|
onDrop: handleDrop,
|
|
2730
1808
|
children: [
|
|
2731
|
-
/* @__PURE__ */
|
|
1809
|
+
/* @__PURE__ */ jsx(
|
|
2732
1810
|
"input",
|
|
2733
1811
|
{
|
|
2734
1812
|
required,
|
|
@@ -2745,22 +1823,22 @@ const FInputFileForm = ({
|
|
|
2745
1823
|
ref: inputRef
|
|
2746
1824
|
}
|
|
2747
1825
|
),
|
|
2748
|
-
/* @__PURE__ */
|
|
2749
|
-
/* @__PURE__ */
|
|
2750
|
-
/* @__PURE__ */
|
|
2751
|
-
/* @__PURE__ */
|
|
1826
|
+
/* @__PURE__ */ jsxs("label", { htmlFor: id, className: styles$i["custom-file-label"], style: disabled2 ? { backgroundColor: "#F3F3F3", border: "1px dashed #C4C4C4" } : void 0, children: [
|
|
1827
|
+
/* @__PURE__ */ jsxs("svg", { width: "30", height: "30", fill: "currentColor", viewBox: "0 0 16 16", children: [
|
|
1828
|
+
/* @__PURE__ */ jsx("path", { "fill-rule": "evenodd", d: "M7.646 5.146a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1-.708.708L8.5 6.707V10.5a.5.5 0 0 1-1 0V6.707L6.354 7.854a.5.5 0 1 1-.708-.708z" }),
|
|
1829
|
+
/* @__PURE__ */ jsx("path", { d: "M4.406 3.342A5.53 5.53 0 0 1 8 2c2.69 0 4.923 2 5.166 4.579C14.758 6.804 16 8.137 16 9.773 16 11.569 14.502 13 12.687 13H3.781C1.708 13 0 11.366 0 9.318c0-1.763 1.266-3.223 2.942-3.593.143-.863.698-1.723 1.464-2.383m.653.757c-.757.653-1.153 1.44-1.153 2.056v.448l-.445.049C2.064 6.805 1 7.952 1 9.318 1 10.785 2.23 12 3.781 12h8.906C13.98 12 15 10.988 15 9.773c0-1.216-1.02-2.228-2.313-2.228h-.5v-.5C12.188 4.825 10.328 3 8 3a4.53 4.53 0 0 0-2.941 1.1z" })
|
|
2752
1830
|
] }),
|
|
2753
|
-
/* @__PURE__ */
|
|
2754
|
-
/* @__PURE__ */
|
|
2755
|
-
/* @__PURE__ */
|
|
1831
|
+
/* @__PURE__ */ jsx("br", {}),
|
|
1832
|
+
/* @__PURE__ */ jsxs("span", { style: disabled2 ? { color: "#C4C4C4" } : void 0, children: [
|
|
1833
|
+
/* @__PURE__ */ jsx("b", { style: disabled2 ? { color: "#888888" } : void 0, children: "Выберите" }),
|
|
2756
1834
|
" или перетащите файл для загрузки",
|
|
2757
|
-
/* @__PURE__ */
|
|
2758
|
-
accept !== void 0 ? /* @__PURE__ */
|
|
1835
|
+
/* @__PURE__ */ jsx("br", {}),
|
|
1836
|
+
accept !== void 0 ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2759
1837
|
"Разрешается загрузить файлы с форматом: ",
|
|
2760
|
-
/* @__PURE__ */
|
|
2761
|
-
/* @__PURE__ */
|
|
1838
|
+
/* @__PURE__ */ jsx("b", { style: disabled2 ? { color: "#888888" } : void 0, children: accept }),
|
|
1839
|
+
/* @__PURE__ */ jsx("br", {})
|
|
2762
1840
|
] }) : "Разрешается загрузить любой формат файлов",
|
|
2763
|
-
dataMaxSize && /* @__PURE__ */
|
|
1841
|
+
dataMaxSize && /* @__PURE__ */ jsxs("small", { children: [
|
|
2764
1842
|
"Максимальный размер ",
|
|
2765
1843
|
dataMaxSize.size,
|
|
2766
1844
|
" ",
|
|
@@ -2771,8 +1849,8 @@ const FInputFileForm = ({
|
|
|
2771
1849
|
]
|
|
2772
1850
|
}
|
|
2773
1851
|
),
|
|
2774
|
-
errors.length > 0 && /* @__PURE__ */
|
|
2775
|
-
showPreview && selectedFiles.length > 0 && /* @__PURE__ */
|
|
1852
|
+
errors.length > 0 && /* @__PURE__ */ jsx("div", { className: styles$i.errors, children: errors.map((error2, index) => /* @__PURE__ */ jsx("div", { className: styles$i.error, children: error2 }, index)) }),
|
|
1853
|
+
showPreview && selectedFiles.length > 0 && /* @__PURE__ */ jsx("div", { className: styles$i["custom-files-preview"], children: selectedFiles.map((file, index) => /* @__PURE__ */ jsx("div", { className: styles$i.fileItem, children: /* @__PURE__ */ jsx(
|
|
2776
1854
|
FFile,
|
|
2777
1855
|
{
|
|
2778
1856
|
name: file.name,
|
|
@@ -2810,7 +1888,7 @@ const FSelect = forwardRef(
|
|
|
2810
1888
|
};
|
|
2811
1889
|
const mergedStyle = Object.assign({}, baseStyle, st);
|
|
2812
1890
|
const inputId = id || `input-${Math.random().toString(36).substring(2, 9)}`;
|
|
2813
|
-
return /* @__PURE__ */
|
|
1891
|
+
return /* @__PURE__ */ jsxs(
|
|
2814
1892
|
"div",
|
|
2815
1893
|
{
|
|
2816
1894
|
className: `f-form-element ${styles$h["f-select"]}`,
|
|
@@ -2819,7 +1897,7 @@ const FSelect = forwardRef(
|
|
|
2819
1897
|
role: "group",
|
|
2820
1898
|
"aria-labelledby": label ? inputId + "-label" : void 0,
|
|
2821
1899
|
children: [
|
|
2822
|
-
label && /* @__PURE__ */
|
|
1900
|
+
label && /* @__PURE__ */ jsx(
|
|
2823
1901
|
"label",
|
|
2824
1902
|
{
|
|
2825
1903
|
id: inputId + "-label",
|
|
@@ -2828,8 +1906,8 @@ const FSelect = forwardRef(
|
|
|
2828
1906
|
children: label
|
|
2829
1907
|
}
|
|
2830
1908
|
),
|
|
2831
|
-
/* @__PURE__ */
|
|
2832
|
-
/* @__PURE__ */
|
|
1909
|
+
/* @__PURE__ */ jsxs("div", { className: `f-form-element__control ${load ? "is-loading" : ""}`, children: [
|
|
1910
|
+
/* @__PURE__ */ jsx(
|
|
2833
1911
|
"select",
|
|
2834
1912
|
{
|
|
2835
1913
|
ref,
|
|
@@ -2842,9 +1920,9 @@ const FSelect = forwardRef(
|
|
|
2842
1920
|
children: !load && children
|
|
2843
1921
|
}
|
|
2844
1922
|
),
|
|
2845
|
-
load && /* @__PURE__ */
|
|
1923
|
+
load && /* @__PURE__ */ jsx("div", { className: `f-form-element__loader`, children: /* @__PURE__ */ jsx(FLoadIcon, { size: 10 }) })
|
|
2846
1924
|
] }),
|
|
2847
|
-
helpText && /* @__PURE__ */
|
|
1925
|
+
helpText && /* @__PURE__ */ jsx(
|
|
2848
1926
|
"p",
|
|
2849
1927
|
{
|
|
2850
1928
|
id: inputId + "-helptext",
|
|
@@ -2852,11 +1930,11 @@ const FSelect = forwardRef(
|
|
|
2852
1930
|
children: helpText
|
|
2853
1931
|
}
|
|
2854
1932
|
),
|
|
2855
|
-
typeof errText === "string" && errText && /* @__PURE__ */
|
|
1933
|
+
typeof errText === "string" && errText && /* @__PURE__ */ jsx(
|
|
2856
1934
|
"div",
|
|
2857
1935
|
{
|
|
2858
1936
|
className: "f-form-element__errorblock",
|
|
2859
|
-
children: /* @__PURE__ */
|
|
1937
|
+
children: /* @__PURE__ */ jsx(
|
|
2860
1938
|
"p",
|
|
2861
1939
|
{
|
|
2862
1940
|
id: `${inputId}-errortext`,
|
|
@@ -2866,11 +1944,11 @@ const FSelect = forwardRef(
|
|
|
2866
1944
|
)
|
|
2867
1945
|
}
|
|
2868
1946
|
),
|
|
2869
|
-
errText && errText.length > 0 && /* @__PURE__ */
|
|
1947
|
+
errText && errText.length > 0 && /* @__PURE__ */ jsx(
|
|
2870
1948
|
"div",
|
|
2871
1949
|
{
|
|
2872
1950
|
className: "f-form-element__errorblock",
|
|
2873
|
-
children: typeof errText !== "string" && errText.map((error2, index) => /* @__PURE__ */
|
|
1951
|
+
children: typeof errText !== "string" && errText.map((error2, index) => /* @__PURE__ */ jsx(
|
|
2874
1952
|
"p",
|
|
2875
1953
|
{
|
|
2876
1954
|
id: `${inputId}-errortext-${index}`,
|
|
@@ -2891,7 +1969,7 @@ const FSelectItem = React.forwardRef(({
|
|
|
2891
1969
|
children,
|
|
2892
1970
|
...props
|
|
2893
1971
|
}, ref) => {
|
|
2894
|
-
return /* @__PURE__ */
|
|
1972
|
+
return /* @__PURE__ */ jsx(
|
|
2895
1973
|
"option",
|
|
2896
1974
|
{
|
|
2897
1975
|
ref,
|
|
@@ -2914,7 +1992,7 @@ const FFullDateField = forwardRef(
|
|
|
2914
1992
|
height,
|
|
2915
1993
|
...props
|
|
2916
1994
|
}, ref) => {
|
|
2917
|
-
return /* @__PURE__ */
|
|
1995
|
+
return /* @__PURE__ */ jsx(
|
|
2918
1996
|
FTextField,
|
|
2919
1997
|
{
|
|
2920
1998
|
label,
|
|
@@ -3114,7 +2192,7 @@ const FSelectSearchDb = ({
|
|
|
3114
2192
|
setArrObject([]);
|
|
3115
2193
|
}
|
|
3116
2194
|
};
|
|
3117
|
-
return /* @__PURE__ */
|
|
2195
|
+
return /* @__PURE__ */ jsxs(
|
|
3118
2196
|
"div",
|
|
3119
2197
|
{
|
|
3120
2198
|
ref: containerRef,
|
|
@@ -3123,8 +2201,8 @@ const FSelectSearchDb = ({
|
|
|
3123
2201
|
id,
|
|
3124
2202
|
"data-position": dropdownPosition,
|
|
3125
2203
|
children: [
|
|
3126
|
-
/* @__PURE__ */
|
|
3127
|
-
/* @__PURE__ */
|
|
2204
|
+
/* @__PURE__ */ jsxs("div", { className: styles$g["f-select-search-db__input"], children: [
|
|
2205
|
+
/* @__PURE__ */ jsx(
|
|
3128
2206
|
FTextField,
|
|
3129
2207
|
{
|
|
3130
2208
|
fullWidth,
|
|
@@ -3148,23 +2226,23 @@ const FSelectSearchDb = ({
|
|
|
3148
2226
|
errText: typeof errText === "string" ? [errText] : errText || error2
|
|
3149
2227
|
}
|
|
3150
2228
|
),
|
|
3151
|
-
!load && !disabled2 && arrObject.length > 0 && /* @__PURE__ */
|
|
2229
|
+
!load && !disabled2 && arrObject.length > 0 && /* @__PURE__ */ jsx(
|
|
3152
2230
|
"div",
|
|
3153
2231
|
{
|
|
3154
2232
|
className: styles$g["f-select-search-db__input_arrow"],
|
|
3155
2233
|
style: { marginTop: label ? "28px" : "7px" },
|
|
3156
2234
|
onClick: handleArrowClick,
|
|
3157
|
-
children: /* @__PURE__ */
|
|
2235
|
+
children: /* @__PURE__ */ jsx(FArrowIcon, { direction: isDropdownOpen ? "up" : "down", size: 15 })
|
|
3158
2236
|
}
|
|
3159
2237
|
)
|
|
3160
2238
|
] }),
|
|
3161
2239
|
isDropdownOpen && (arrObject.length > 0 || valueInput.trim() === "") && dropdownPortalRef.current && createPortal(
|
|
3162
|
-
/* @__PURE__ */
|
|
2240
|
+
/* @__PURE__ */ jsx(
|
|
3163
2241
|
"div",
|
|
3164
2242
|
{
|
|
3165
2243
|
ref: dropdownRef,
|
|
3166
2244
|
className: `${styles$g["f-select-search-db__dropdown"]} ${isDropdownOpen ? styles$g.active : ""}`,
|
|
3167
|
-
children: arrObject.length === 0 && valueInput.trim() === "" ? /* @__PURE__ */
|
|
2245
|
+
children: arrObject.length === 0 && valueInput.trim() === "" ? /* @__PURE__ */ jsx("li", { children: "Введите текст" }) : arrObject.length === 0 && valueInput.trim() !== "" && !load ? /* @__PURE__ */ jsx("li", { children: "Ничего не найдено" }) : /* @__PURE__ */ jsx("ul", { className: styles$g["f-select-search-db__dropdown_content"], children: arrObject.slice(0, 10).map((opt, index) => /* @__PURE__ */ jsx("li", { onMouseDown: () => handleItemClick(opt), children: selectItem(opt) }, index)) })
|
|
3168
2246
|
}
|
|
3169
2247
|
),
|
|
3170
2248
|
dropdownPortalRef.current
|
|
@@ -3199,7 +2277,7 @@ const FTextArea = forwardRef(
|
|
|
3199
2277
|
};
|
|
3200
2278
|
const mergedStyle = { ...baseStyle, ...st };
|
|
3201
2279
|
const areaId = id || `textarea-${Math.random().toString(36).substring(2, 9)}`;
|
|
3202
|
-
return /* @__PURE__ */
|
|
2280
|
+
return /* @__PURE__ */ jsxs(
|
|
3203
2281
|
"div",
|
|
3204
2282
|
{
|
|
3205
2283
|
className: `f-form-element ${styles$f["f-text-area"]} ${className || ""}`,
|
|
@@ -3208,7 +2286,7 @@ const FTextArea = forwardRef(
|
|
|
3208
2286
|
id: areaId + "-text-area-block",
|
|
3209
2287
|
"aria-labelledby": label ? areaId + "-label" : void 0,
|
|
3210
2288
|
children: [
|
|
3211
|
-
label && /* @__PURE__ */
|
|
2289
|
+
label && /* @__PURE__ */ jsx(
|
|
3212
2290
|
"label",
|
|
3213
2291
|
{
|
|
3214
2292
|
id: areaId + "-label",
|
|
@@ -3217,8 +2295,8 @@ const FTextArea = forwardRef(
|
|
|
3217
2295
|
children: label
|
|
3218
2296
|
}
|
|
3219
2297
|
),
|
|
3220
|
-
/* @__PURE__ */
|
|
3221
|
-
/* @__PURE__ */
|
|
2298
|
+
/* @__PURE__ */ jsxs("div", { className: `f-form-element__control ${load ? "is-loading" : ""}`, children: [
|
|
2299
|
+
/* @__PURE__ */ jsx(
|
|
3222
2300
|
"textarea",
|
|
3223
2301
|
{
|
|
3224
2302
|
ref,
|
|
@@ -3231,9 +2309,9 @@ const FTextArea = forwardRef(
|
|
|
3231
2309
|
style: { height: height || "auto" }
|
|
3232
2310
|
}
|
|
3233
2311
|
),
|
|
3234
|
-
load && /* @__PURE__ */
|
|
2312
|
+
load && /* @__PURE__ */ jsx("span", { className: "f-form-element__loader", children: /* @__PURE__ */ jsx(FLoadIcon, { size: 10 }) })
|
|
3235
2313
|
] }),
|
|
3236
|
-
helpText && /* @__PURE__ */
|
|
2314
|
+
helpText && /* @__PURE__ */ jsx(
|
|
3237
2315
|
"p",
|
|
3238
2316
|
{
|
|
3239
2317
|
id: areaId + "-helptext",
|
|
@@ -3241,11 +2319,11 @@ const FTextArea = forwardRef(
|
|
|
3241
2319
|
children: helpText
|
|
3242
2320
|
}
|
|
3243
2321
|
),
|
|
3244
|
-
typeof errText === "string" && errText && /* @__PURE__ */
|
|
2322
|
+
typeof errText === "string" && errText && /* @__PURE__ */ jsx(
|
|
3245
2323
|
"div",
|
|
3246
2324
|
{
|
|
3247
2325
|
className: "f-form-element__errorblock",
|
|
3248
|
-
children: /* @__PURE__ */
|
|
2326
|
+
children: /* @__PURE__ */ jsx(
|
|
3249
2327
|
"p",
|
|
3250
2328
|
{
|
|
3251
2329
|
id: `${areaId}-errortext`,
|
|
@@ -3255,11 +2333,11 @@ const FTextArea = forwardRef(
|
|
|
3255
2333
|
)
|
|
3256
2334
|
}
|
|
3257
2335
|
),
|
|
3258
|
-
errText && errText.length > 0 && /* @__PURE__ */
|
|
2336
|
+
errText && errText.length > 0 && /* @__PURE__ */ jsx(
|
|
3259
2337
|
"div",
|
|
3260
2338
|
{
|
|
3261
2339
|
className: "f-form-element__errorblock",
|
|
3262
|
-
children: typeof errText !== "string" && errText.map((error2, index) => /* @__PURE__ */
|
|
2340
|
+
children: typeof errText !== "string" && errText.map((error2, index) => /* @__PURE__ */ jsx(
|
|
3263
2341
|
"p",
|
|
3264
2342
|
{
|
|
3265
2343
|
id: `${areaId}-errortext-${index}`,
|
|
@@ -3340,14 +2418,14 @@ const FAlert = ({
|
|
|
3340
2418
|
});
|
|
3341
2419
|
}, [open]);
|
|
3342
2420
|
const handlerIco = () => {
|
|
3343
|
-
let ico = /* @__PURE__ */
|
|
3344
|
-
/* @__PURE__ */
|
|
2421
|
+
let ico = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2422
|
+
/* @__PURE__ */ jsx(
|
|
3345
2423
|
"path",
|
|
3346
2424
|
{
|
|
3347
2425
|
d: "M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"
|
|
3348
2426
|
}
|
|
3349
2427
|
),
|
|
3350
|
-
/* @__PURE__ */
|
|
2428
|
+
/* @__PURE__ */ jsx(
|
|
3351
2429
|
"path",
|
|
3352
2430
|
{
|
|
3353
2431
|
d: "m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"
|
|
@@ -3356,14 +2434,14 @@ const FAlert = ({
|
|
|
3356
2434
|
] });
|
|
3357
2435
|
switch (variant) {
|
|
3358
2436
|
case "info":
|
|
3359
|
-
ico = /* @__PURE__ */
|
|
3360
|
-
/* @__PURE__ */
|
|
2437
|
+
ico = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2438
|
+
/* @__PURE__ */ jsx(
|
|
3361
2439
|
"path",
|
|
3362
2440
|
{
|
|
3363
2441
|
d: "M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"
|
|
3364
2442
|
}
|
|
3365
2443
|
),
|
|
3366
|
-
/* @__PURE__ */
|
|
2444
|
+
/* @__PURE__ */ jsx(
|
|
3367
2445
|
"path",
|
|
3368
2446
|
{
|
|
3369
2447
|
d: "m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"
|
|
@@ -3372,14 +2450,14 @@ const FAlert = ({
|
|
|
3372
2450
|
] });
|
|
3373
2451
|
break;
|
|
3374
2452
|
case "success":
|
|
3375
|
-
ico = /* @__PURE__ */
|
|
3376
|
-
/* @__PURE__ */
|
|
2453
|
+
ico = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2454
|
+
/* @__PURE__ */ jsx(
|
|
3377
2455
|
"path",
|
|
3378
2456
|
{
|
|
3379
2457
|
d: "M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"
|
|
3380
2458
|
}
|
|
3381
2459
|
),
|
|
3382
|
-
/* @__PURE__ */
|
|
2460
|
+
/* @__PURE__ */ jsx(
|
|
3383
2461
|
"path",
|
|
3384
2462
|
{
|
|
3385
2463
|
d: "M10.97 4.97a.75.75 0 0 1 1.071 1.05l-3.992 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.235.235 0 0 1 .02-.022z"
|
|
@@ -3388,14 +2466,14 @@ const FAlert = ({
|
|
|
3388
2466
|
] });
|
|
3389
2467
|
break;
|
|
3390
2468
|
case "error":
|
|
3391
|
-
ico = /* @__PURE__ */
|
|
3392
|
-
/* @__PURE__ */
|
|
2469
|
+
ico = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2470
|
+
/* @__PURE__ */ jsx(
|
|
3393
2471
|
"path",
|
|
3394
2472
|
{
|
|
3395
2473
|
d: "M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"
|
|
3396
2474
|
}
|
|
3397
2475
|
),
|
|
3398
|
-
/* @__PURE__ */
|
|
2476
|
+
/* @__PURE__ */ jsx(
|
|
3399
2477
|
"path",
|
|
3400
2478
|
{
|
|
3401
2479
|
d: "M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"
|
|
@@ -3404,14 +2482,14 @@ const FAlert = ({
|
|
|
3404
2482
|
] });
|
|
3405
2483
|
break;
|
|
3406
2484
|
case "warning":
|
|
3407
|
-
ico = /* @__PURE__ */
|
|
3408
|
-
/* @__PURE__ */
|
|
2485
|
+
ico = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2486
|
+
/* @__PURE__ */ jsx(
|
|
3409
2487
|
"path",
|
|
3410
2488
|
{
|
|
3411
2489
|
d: "M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z"
|
|
3412
2490
|
}
|
|
3413
2491
|
),
|
|
3414
|
-
/* @__PURE__ */
|
|
2492
|
+
/* @__PURE__ */ jsx(
|
|
3415
2493
|
"path",
|
|
3416
2494
|
{
|
|
3417
2495
|
d: "M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z"
|
|
@@ -3457,17 +2535,17 @@ const FAlert = ({
|
|
|
3457
2535
|
}
|
|
3458
2536
|
return Object.assign({}, styleHorizontal, styleVertical);
|
|
3459
2537
|
};
|
|
3460
|
-
return /* @__PURE__ */
|
|
3461
|
-
/* @__PURE__ */
|
|
3462
|
-
/* @__PURE__ */
|
|
2538
|
+
return /* @__PURE__ */ jsx(Fragment$1, { children: open && /* @__PURE__ */ jsx("div", { className: "f-block-alert", id: `f-block-alert-${randomId}`, children: /* @__PURE__ */ jsx("div", { className: "f-alert-component", style: handlerPosition(), children: /* @__PURE__ */ jsxs("div", { className: "f-alert", children: [
|
|
2539
|
+
/* @__PURE__ */ jsx("div", { className: `f-alert-ico ${variant}`, children: /* @__PURE__ */ jsx("svg", { width: "28", height: "28", viewBox: "0 0 16 16", children: handlerIco() }) }),
|
|
2540
|
+
/* @__PURE__ */ jsxs(
|
|
3463
2541
|
"div",
|
|
3464
2542
|
{
|
|
3465
2543
|
className: "f-alert-inside",
|
|
3466
2544
|
style: { width: size !== void 0 ? `${size}` : "fit-content" },
|
|
3467
2545
|
children: [
|
|
3468
|
-
/* @__PURE__ */
|
|
3469
|
-
/* @__PURE__ */
|
|
3470
|
-
buttonClose && onClose && /* @__PURE__ */
|
|
2546
|
+
/* @__PURE__ */ jsxs("div", { className: "f-alert-header", children: [
|
|
2547
|
+
/* @__PURE__ */ jsx("h4", { children: title2 !== void 0 ? title2 : "" }),
|
|
2548
|
+
buttonClose && onClose && /* @__PURE__ */ jsx(
|
|
3471
2549
|
FCloseIcon,
|
|
3472
2550
|
{
|
|
3473
2551
|
size: 25,
|
|
@@ -3488,13 +2566,13 @@ const FAlert = ({
|
|
|
3488
2566
|
}
|
|
3489
2567
|
)
|
|
3490
2568
|
] }),
|
|
3491
|
-
/* @__PURE__ */
|
|
3492
|
-
return /* @__PURE__ */
|
|
2569
|
+
/* @__PURE__ */ jsx("div", { className: "f-alert-body", children: /* @__PURE__ */ jsx(FStack, { direction: "column", spacing: 1, children: body !== void 0 && body.split("\n").map((opt, index) => {
|
|
2570
|
+
return /* @__PURE__ */ jsx("span", { children: opt }, index);
|
|
3493
2571
|
}) }) })
|
|
3494
2572
|
]
|
|
3495
2573
|
}
|
|
3496
2574
|
),
|
|
3497
|
-
newTime !== void 0 && newTime > 0 && /* @__PURE__ */
|
|
2575
|
+
newTime !== void 0 && newTime > 0 && /* @__PURE__ */ jsx("div", { className: "f-alert-progress", children: /* @__PURE__ */ jsx("div", { className: "f-alert-progress-bar", children: /* @__PURE__ */ jsx(
|
|
3498
2576
|
"div",
|
|
3499
2577
|
{
|
|
3500
2578
|
className: `f-alert-progress-value ${variant}`,
|
|
@@ -3546,9 +2624,9 @@ const FNative = ({
|
|
|
3546
2624
|
st.width = "100%";
|
|
3547
2625
|
}
|
|
3548
2626
|
}
|
|
3549
|
-
return /* @__PURE__ */
|
|
3550
|
-
/* @__PURE__ */
|
|
3551
|
-
/* @__PURE__ */
|
|
2627
|
+
return /* @__PURE__ */ jsxs("div", { className: `f-form-native ${className !== void 0 ? className : ""}`, style: st, id, children: [
|
|
2628
|
+
/* @__PURE__ */ jsx("label", { className: "f-native-label", children: label }),
|
|
2629
|
+
/* @__PURE__ */ jsx(
|
|
3552
2630
|
"select",
|
|
3553
2631
|
{
|
|
3554
2632
|
style: {
|
|
@@ -3589,7 +2667,7 @@ const FTabs = ({
|
|
|
3589
2667
|
st,
|
|
3590
2668
|
orientation = "horizontal"
|
|
3591
2669
|
}) => {
|
|
3592
|
-
return /* @__PURE__ */
|
|
2670
|
+
return /* @__PURE__ */ jsx(
|
|
3593
2671
|
"div",
|
|
3594
2672
|
{
|
|
3595
2673
|
id,
|
|
@@ -3605,7 +2683,7 @@ const FTab = forwardRef(({
|
|
|
3605
2683
|
active: active2,
|
|
3606
2684
|
...props
|
|
3607
2685
|
}, ref) => {
|
|
3608
|
-
return /* @__PURE__ */
|
|
2686
|
+
return /* @__PURE__ */ jsx(
|
|
3609
2687
|
"button",
|
|
3610
2688
|
{
|
|
3611
2689
|
ref,
|
|
@@ -3669,8 +2747,8 @@ const FDropdown = forwardRef(({
|
|
|
3669
2747
|
return child;
|
|
3670
2748
|
});
|
|
3671
2749
|
};
|
|
3672
|
-
return /* @__PURE__ */
|
|
3673
|
-
/* @__PURE__ */
|
|
2750
|
+
return /* @__PURE__ */ jsxs("div", { className: styles$d["f-dropdown"], ref, ...props, children: [
|
|
2751
|
+
/* @__PURE__ */ jsx(
|
|
3674
2752
|
FButton,
|
|
3675
2753
|
{
|
|
3676
2754
|
variant,
|
|
@@ -3683,13 +2761,13 @@ const FDropdown = forwardRef(({
|
|
|
3683
2761
|
onClick: () => setIsOpen((v) => !v),
|
|
3684
2762
|
"aria-haspopup": "menu",
|
|
3685
2763
|
"aria-expanded": isOpen,
|
|
3686
|
-
children: /* @__PURE__ */
|
|
2764
|
+
children: /* @__PURE__ */ jsxs(FStack, { direction: "row", spacing: 2, justifyContent: "center", alignItems: "center", children: [
|
|
3687
2765
|
label,
|
|
3688
|
-
/* @__PURE__ */
|
|
2766
|
+
/* @__PURE__ */ jsx(FArrowIcon, { className: styles$d["f-dropdown__arrow"], size: 16, color: "light", direction: isOpen ? "up" : "down" })
|
|
3689
2767
|
] })
|
|
3690
2768
|
}
|
|
3691
2769
|
),
|
|
3692
|
-
/* @__PURE__ */
|
|
2770
|
+
/* @__PURE__ */ jsx(
|
|
3693
2771
|
"div",
|
|
3694
2772
|
{
|
|
3695
2773
|
className: styles$d["f-dropdown__content"] + (isOpen ? " " + styles$d["f-dropdown__content--open"] : ""),
|
|
@@ -3708,7 +2786,7 @@ const FDropdownItem = ({
|
|
|
3708
2786
|
children,
|
|
3709
2787
|
onClick
|
|
3710
2788
|
}) => {
|
|
3711
|
-
return /* @__PURE__ */
|
|
2789
|
+
return /* @__PURE__ */ jsx(
|
|
3712
2790
|
"li",
|
|
3713
2791
|
{
|
|
3714
2792
|
id,
|
|
@@ -3747,8 +2825,8 @@ const FSearchBox = forwardRef(
|
|
|
3747
2825
|
type,
|
|
3748
2826
|
...props
|
|
3749
2827
|
}, ref) => {
|
|
3750
|
-
return /* @__PURE__ */
|
|
3751
|
-
/* @__PURE__ */
|
|
2828
|
+
return /* @__PURE__ */ jsxs("div", { className: `${styles$c["f-search-box"]} form-group`, style: st, children: [
|
|
2829
|
+
/* @__PURE__ */ jsx(
|
|
3752
2830
|
FTextField,
|
|
3753
2831
|
{
|
|
3754
2832
|
fullWidth,
|
|
@@ -3764,8 +2842,8 @@ const FSearchBox = forwardRef(
|
|
|
3764
2842
|
className: `${styles$c["f-search-box__input"]} ${props.className || ""}`
|
|
3765
2843
|
}
|
|
3766
2844
|
),
|
|
3767
|
-
/* @__PURE__ */
|
|
3768
|
-
/* @__PURE__ */
|
|
2845
|
+
/* @__PURE__ */ jsxs("div", { className: styles$c["f-search-box__button"], style: { marginTop: label ? "21.8px" : "0" }, children: [
|
|
2846
|
+
/* @__PURE__ */ jsx(
|
|
3769
2847
|
FButton,
|
|
3770
2848
|
{
|
|
3771
2849
|
className: `${styles$c["f-search-box__button_search"]} ${clearDataFromInput ? styles$c["clear-on"] : ""}`,
|
|
@@ -3777,7 +2855,7 @@ const FSearchBox = forwardRef(
|
|
|
3777
2855
|
children
|
|
3778
2856
|
}
|
|
3779
2857
|
),
|
|
3780
|
-
clearDataFromInput && /* @__PURE__ */
|
|
2858
|
+
clearDataFromInput && /* @__PURE__ */ jsx(
|
|
3781
2859
|
FButton,
|
|
3782
2860
|
{
|
|
3783
2861
|
className: `${styles$c["f-search-box__button_clear"]}`,
|
|
@@ -3786,7 +2864,7 @@ const FSearchBox = forwardRef(
|
|
|
3786
2864
|
onClick: clearDataFromInput,
|
|
3787
2865
|
color: "danger",
|
|
3788
2866
|
variant,
|
|
3789
|
-
children: /* @__PURE__ */
|
|
2867
|
+
children: /* @__PURE__ */ jsx(FTrashIcon, { color: "light", size: 20 })
|
|
3790
2868
|
}
|
|
3791
2869
|
)
|
|
3792
2870
|
] })
|
|
@@ -3886,25 +2964,25 @@ const FCarousel = ({
|
|
|
3886
2964
|
transition: isAnimating ? "transform 0.6s cubic-bezier(.4,0,.2,1)" : "none",
|
|
3887
2965
|
width: `${100 * itemsCount / visibleCount}%`
|
|
3888
2966
|
};
|
|
3889
|
-
return /* @__PURE__ */
|
|
3890
|
-
showArrows && /* @__PURE__ */
|
|
2967
|
+
return /* @__PURE__ */ jsxs("div", { className: rootClass, children: [
|
|
2968
|
+
showArrows && /* @__PURE__ */ jsx(
|
|
3891
2969
|
"button",
|
|
3892
2970
|
{
|
|
3893
2971
|
className: `${styles$b["f-carousel__arrow"]} ${styles$b["f-carousel__arrow--left"]}`,
|
|
3894
2972
|
onClick: handlePrev,
|
|
3895
2973
|
disabled: !loop && current === 0,
|
|
3896
2974
|
"aria-label": "Назад",
|
|
3897
|
-
children: /* @__PURE__ */
|
|
2975
|
+
children: /* @__PURE__ */ jsx("img", { src: arrowLeft, alt: "Предыдущий слайд" })
|
|
3898
2976
|
}
|
|
3899
2977
|
),
|
|
3900
|
-
/* @__PURE__ */
|
|
2978
|
+
/* @__PURE__ */ jsx(
|
|
3901
2979
|
"div",
|
|
3902
2980
|
{
|
|
3903
2981
|
className: styles$b["f-carousel__viewport"],
|
|
3904
2982
|
onTouchStart: handleTouchStart,
|
|
3905
2983
|
onTouchMove: handleTouchMove,
|
|
3906
2984
|
onTouchEnd: handleTouchEnd,
|
|
3907
|
-
children: /* @__PURE__ */
|
|
2985
|
+
children: /* @__PURE__ */ jsx("div", { ref: trackRef, className: trackClass, style: trackStyle, children: children.map((child, idx) => /* @__PURE__ */ jsx(
|
|
3908
2986
|
"div",
|
|
3909
2987
|
{
|
|
3910
2988
|
className: styles$b["f-carousel__item"],
|
|
@@ -3915,17 +2993,17 @@ const FCarousel = ({
|
|
|
3915
2993
|
)) })
|
|
3916
2994
|
}
|
|
3917
2995
|
),
|
|
3918
|
-
showArrows && /* @__PURE__ */
|
|
2996
|
+
showArrows && /* @__PURE__ */ jsx(
|
|
3919
2997
|
"button",
|
|
3920
2998
|
{
|
|
3921
2999
|
className: `${styles$b["f-carousel__arrow"]} ${styles$b["f-carousel__arrow--right"]}`,
|
|
3922
3000
|
onClick: handleNext,
|
|
3923
3001
|
disabled: !loop && current >= itemsCount - visibleCount,
|
|
3924
3002
|
"aria-label": "Вперёд",
|
|
3925
|
-
children: /* @__PURE__ */
|
|
3003
|
+
children: /* @__PURE__ */ jsx("img", { src: arrowRight, alt: "Следующий слайд" })
|
|
3926
3004
|
}
|
|
3927
3005
|
),
|
|
3928
|
-
/* @__PURE__ */
|
|
3006
|
+
/* @__PURE__ */ jsx("div", { className: styles$b["f-carousel__indicators"], children: Array.from({ length: itemsCount - visibleCount + 1 }).map((_, idx) => /* @__PURE__ */ jsx(
|
|
3929
3007
|
"button",
|
|
3930
3008
|
{
|
|
3931
3009
|
className: [
|
|
@@ -3944,7 +3022,7 @@ const FCarouselItem = ({
|
|
|
3944
3022
|
className,
|
|
3945
3023
|
id
|
|
3946
3024
|
}) => {
|
|
3947
|
-
return /* @__PURE__ */
|
|
3025
|
+
return /* @__PURE__ */ jsx("div", { className: `${styles$b["f-carousel-item"]} ${className || ""}`, id, children });
|
|
3948
3026
|
};
|
|
3949
3027
|
const skeleton = "_skeleton_1ojrt_1";
|
|
3950
3028
|
const styles$a = {
|
|
@@ -4004,7 +3082,7 @@ const FSkeleton = ({ children, enable, width, height }) => {
|
|
|
4004
3082
|
restoreOriginalElements();
|
|
4005
3083
|
};
|
|
4006
3084
|
}, [enable]);
|
|
4007
|
-
return /* @__PURE__ */
|
|
3085
|
+
return /* @__PURE__ */ jsx("div", { ref: elementRef, className: styles$a["skeleton-block"], children });
|
|
4008
3086
|
};
|
|
4009
3087
|
const active = "_active_1tib7_71";
|
|
4010
3088
|
const styles$9 = {
|
|
@@ -4019,7 +3097,7 @@ const FNavigateBar = ({
|
|
|
4019
3097
|
id,
|
|
4020
3098
|
className
|
|
4021
3099
|
}) => {
|
|
4022
|
-
return /* @__PURE__ */
|
|
3100
|
+
return /* @__PURE__ */ jsx(FGrid, { obj: "container", id, className, children: /* @__PURE__ */ jsx(FGridRow, { children: /* @__PURE__ */ jsx(FGrid, { obj: "item", sm: 12, children: /* @__PURE__ */ jsx("nav", { style: st, className: styles$9["f-nav-bar"], children: /* @__PURE__ */ jsx("ul", { className: styles$9["f-nav-bar__menu"], children }) }) }) }) });
|
|
4023
3101
|
};
|
|
4024
3102
|
const FNavigateBarItem = ({
|
|
4025
3103
|
st,
|
|
@@ -4028,7 +3106,7 @@ const FNavigateBarItem = ({
|
|
|
4028
3106
|
className,
|
|
4029
3107
|
activeClass
|
|
4030
3108
|
}) => {
|
|
4031
|
-
return /* @__PURE__ */
|
|
3109
|
+
return /* @__PURE__ */ jsx(
|
|
4032
3110
|
"li",
|
|
4033
3111
|
{
|
|
4034
3112
|
id,
|
|
@@ -4054,7 +3132,7 @@ const FMenuBlockLinks = ({
|
|
|
4054
3132
|
columns = 3
|
|
4055
3133
|
}) => {
|
|
4056
3134
|
const style = st !== void 0 ? { ...st, columns } : { columns };
|
|
4057
|
-
return /* @__PURE__ */
|
|
3135
|
+
return /* @__PURE__ */ jsx(
|
|
4058
3136
|
"div",
|
|
4059
3137
|
{
|
|
4060
3138
|
className: `${styles$8["sections-routes"]} ${className ?? ""}`.trim(),
|
|
@@ -4085,15 +3163,15 @@ const FMenuLinks = ({
|
|
|
4085
3163
|
...isDisabled && { onClick: (e) => e.preventDefault() }
|
|
4086
3164
|
});
|
|
4087
3165
|
});
|
|
4088
|
-
return /* @__PURE__ */
|
|
3166
|
+
return /* @__PURE__ */ jsxs(
|
|
4089
3167
|
"div",
|
|
4090
3168
|
{
|
|
4091
3169
|
className: `${styles$8["sections-routes_card"]} ${className ?? ""}`.trim(),
|
|
4092
3170
|
style: st,
|
|
4093
3171
|
id,
|
|
4094
3172
|
children: [
|
|
4095
|
-
title2 && /* @__PURE__ */
|
|
4096
|
-
/* @__PURE__ */
|
|
3173
|
+
title2 && /* @__PURE__ */ jsx("div", { className: styles$8["sections-routes_card__title"], children: title2 }),
|
|
3174
|
+
/* @__PURE__ */ jsx("div", { className: styles$8["sections-routes_card__links"], children: enhancedChildren })
|
|
4097
3175
|
]
|
|
4098
3176
|
}
|
|
4099
3177
|
);
|
|
@@ -4274,7 +3352,7 @@ const FTooltip = ({
|
|
|
4274
3352
|
let wrappedChild;
|
|
4275
3353
|
const childPropsTyped = children.props;
|
|
4276
3354
|
if (allowTooltipOnDisabled && React.isValidElement(children) && (childPropsTyped.disabled || childPropsTyped["aria-disabled"])) {
|
|
4277
|
-
wrappedChild = /* @__PURE__ */
|
|
3355
|
+
wrappedChild = /* @__PURE__ */ jsx(
|
|
4278
3356
|
"span",
|
|
4279
3357
|
{
|
|
4280
3358
|
ref: childRef,
|
|
@@ -4294,7 +3372,7 @@ const FTooltip = ({
|
|
|
4294
3372
|
isExiting ? styles$7["f-tooltip--exiting"] : "",
|
|
4295
3373
|
className
|
|
4296
3374
|
].filter(Boolean).join(" ");
|
|
4297
|
-
const tooltipElement = mountTooltip && title2 ? /* @__PURE__ */
|
|
3375
|
+
const tooltipElement = mountTooltip && title2 ? /* @__PURE__ */ jsxs(
|
|
4298
3376
|
"div",
|
|
4299
3377
|
{
|
|
4300
3378
|
ref: tooltipRef,
|
|
@@ -4302,12 +3380,12 @@ const FTooltip = ({
|
|
|
4302
3380
|
style: { ...style, ...tooltipStyles },
|
|
4303
3381
|
role: "tooltip",
|
|
4304
3382
|
children: [
|
|
4305
|
-
arrow2 && /* @__PURE__ */
|
|
4306
|
-
/* @__PURE__ */
|
|
3383
|
+
arrow2 && /* @__PURE__ */ jsx("div", { className: styles$7["f-tooltip__arrow"] }),
|
|
3384
|
+
/* @__PURE__ */ jsx("div", { className: styles$7["f-tooltip__content"], children: title2 })
|
|
4307
3385
|
]
|
|
4308
3386
|
}
|
|
4309
3387
|
) : null;
|
|
4310
|
-
return /* @__PURE__ */
|
|
3388
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
4311
3389
|
wrappedChild,
|
|
4312
3390
|
tooltipElement && createPortal(tooltipElement, document.body)
|
|
4313
3391
|
] });
|
|
@@ -4331,22 +3409,22 @@ const styles$6 = {
|
|
|
4331
3409
|
"f-select-highlight": "_f-select-highlight_1prwk_128",
|
|
4332
3410
|
"has-icons": "_has-icons_1prwk_135"
|
|
4333
3411
|
};
|
|
4334
|
-
const ChevronIcon = ({ className }) => /* @__PURE__ */
|
|
4335
|
-
const CloseIcon = () => /* @__PURE__ */
|
|
4336
|
-
/* @__PURE__ */
|
|
4337
|
-
/* @__PURE__ */
|
|
3412
|
+
const ChevronIcon = ({ className }) => /* @__PURE__ */ jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className, children: /* @__PURE__ */ jsx("polyline", { points: "6 9 12 15 18 9" }) });
|
|
3413
|
+
const CloseIcon = () => /* @__PURE__ */ jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
3414
|
+
/* @__PURE__ */ jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
|
3415
|
+
/* @__PURE__ */ jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
|
|
4338
3416
|
] });
|
|
4339
|
-
const PlusIcon = () => /* @__PURE__ */
|
|
4340
|
-
/* @__PURE__ */
|
|
4341
|
-
/* @__PURE__ */
|
|
3417
|
+
const PlusIcon = () => /* @__PURE__ */ jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
3418
|
+
/* @__PURE__ */ jsx("line", { x1: "12", y1: "5", x2: "12", y2: "19" }),
|
|
3419
|
+
/* @__PURE__ */ jsx("line", { x1: "5", y1: "12", x2: "19", y2: "12" })
|
|
4342
3420
|
] });
|
|
4343
3421
|
const HighlightedText = ({ text, highlight }) => {
|
|
4344
|
-
if (!highlight.trim()) return /* @__PURE__ */
|
|
3422
|
+
if (!highlight.trim()) return /* @__PURE__ */ jsx("span", { children: text });
|
|
4345
3423
|
const escapeRegExp = (str) => str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
4346
3424
|
const regex = new RegExp(`(${escapeRegExp(highlight)})`, "gi");
|
|
4347
3425
|
const parts = text.split(regex);
|
|
4348
|
-
return /* @__PURE__ */
|
|
4349
|
-
(part, i) => regex.test(part) ? /* @__PURE__ */
|
|
3426
|
+
return /* @__PURE__ */ jsx("span", { children: parts.map(
|
|
3427
|
+
(part, i) => regex.test(part) ? /* @__PURE__ */ jsx("span", { className: styles$6["f-select-highlight"], children: part }, i) : /* @__PURE__ */ jsx("span", { children: part }, i)
|
|
4350
3428
|
) });
|
|
4351
3429
|
};
|
|
4352
3430
|
const FSearchableSelect = forwardRef(
|
|
@@ -4491,7 +3569,7 @@ const FSearchableSelect = forwardRef(
|
|
|
4491
3569
|
const inputId = restProps.id || `search-select-${Math.random().toString(36).substring(2, 9)}`;
|
|
4492
3570
|
const hasValue = restProps.value !== void 0 ? !!String(restProps.value) : !!lastValueRef.current;
|
|
4493
3571
|
const currentValStr = restProps.value !== void 0 ? String(restProps.value) : lastValueRef.current;
|
|
4494
|
-
return /* @__PURE__ */
|
|
3572
|
+
return /* @__PURE__ */ jsxs(
|
|
4495
3573
|
"div",
|
|
4496
3574
|
{
|
|
4497
3575
|
className: `f-form-element ${styles$6["f-search-select"]} ${restProps.className || ""}`,
|
|
@@ -4499,7 +3577,7 @@ const FSearchableSelect = forwardRef(
|
|
|
4499
3577
|
ref: containerRef,
|
|
4500
3578
|
id: inputId + "-block",
|
|
4501
3579
|
children: [
|
|
4502
|
-
label && /* @__PURE__ */
|
|
3580
|
+
label && /* @__PURE__ */ jsx(
|
|
4503
3581
|
"label",
|
|
4504
3582
|
{
|
|
4505
3583
|
id: inputId + "-label",
|
|
@@ -4508,7 +3586,7 @@ const FSearchableSelect = forwardRef(
|
|
|
4508
3586
|
children: label
|
|
4509
3587
|
}
|
|
4510
3588
|
),
|
|
4511
|
-
/* @__PURE__ */
|
|
3589
|
+
/* @__PURE__ */ jsx(
|
|
4512
3590
|
"input",
|
|
4513
3591
|
{
|
|
4514
3592
|
ref,
|
|
@@ -4522,8 +3600,8 @@ const FSearchableSelect = forwardRef(
|
|
|
4522
3600
|
"aria-hidden": "true"
|
|
4523
3601
|
}
|
|
4524
3602
|
),
|
|
4525
|
-
/* @__PURE__ */
|
|
4526
|
-
/* @__PURE__ */
|
|
3603
|
+
/* @__PURE__ */ jsxs("div", { className: `f-form-element__control ${load ? "is-loading" : ""}`, children: [
|
|
3604
|
+
/* @__PURE__ */ jsx(
|
|
4527
3605
|
"input",
|
|
4528
3606
|
{
|
|
4529
3607
|
ref: visibleInputRef,
|
|
@@ -4551,21 +3629,21 @@ const FSearchableSelect = forwardRef(
|
|
|
4551
3629
|
}
|
|
4552
3630
|
}
|
|
4553
3631
|
),
|
|
4554
|
-
load ? /* @__PURE__ */
|
|
4555
|
-
hasValue && !disabled2 && /* @__PURE__ */
|
|
3632
|
+
load ? /* @__PURE__ */ jsx("span", { className: "f-form-element__loader", children: /* @__PURE__ */ jsx(FLoadIcon, { size: 10 }) }) : /* @__PURE__ */ jsxs("div", { className: styles$6["f-select-actions"], children: [
|
|
3633
|
+
hasValue && !disabled2 && /* @__PURE__ */ jsx(
|
|
4556
3634
|
"div",
|
|
4557
3635
|
{
|
|
4558
3636
|
onClick: handleClear,
|
|
4559
3637
|
className: `${styles$6["f-select-icon"]} close`,
|
|
4560
3638
|
title: "Очистить",
|
|
4561
3639
|
onMouseDown: (e) => e.preventDefault(),
|
|
4562
|
-
children: /* @__PURE__ */
|
|
3640
|
+
children: /* @__PURE__ */ jsx(CloseIcon, {})
|
|
4563
3641
|
}
|
|
4564
3642
|
),
|
|
4565
|
-
/* @__PURE__ */
|
|
3643
|
+
/* @__PURE__ */ jsx("div", { className: `${styles$6["f-select-icon"]} ${isOpen ? styles$6["rotate"] : ""}`, children: /* @__PURE__ */ jsx(ChevronIcon, {}) })
|
|
4566
3644
|
] })
|
|
4567
3645
|
] }),
|
|
4568
|
-
isOpen && !disabled2 && !load && /* @__PURE__ */
|
|
3646
|
+
isOpen && !disabled2 && !load && /* @__PURE__ */ jsx("div", { className: styles$6["f-select-dropdown"], children: /* @__PURE__ */ jsx("ul", { ref: listRef, className: styles$6["f-select-list"], children: renderList.length === 0 ? /* @__PURE__ */ jsx("li", { className: styles$6["f-select-no-results"], children: allowCreate ? "Нет данных" : "Совпадений не найдено" }) : renderList.map((option, index) => /* @__PURE__ */ jsx(
|
|
4569
3647
|
"li",
|
|
4570
3648
|
{
|
|
4571
3649
|
className: `
|
|
@@ -4580,15 +3658,15 @@ const FSearchableSelect = forwardRef(
|
|
|
4580
3658
|
handleSelect(option);
|
|
4581
3659
|
},
|
|
4582
3660
|
onMouseEnter: () => setHighlightedIndex(index),
|
|
4583
|
-
children: /* @__PURE__ */
|
|
4584
|
-
option.isNew && /* @__PURE__ */
|
|
4585
|
-
/* @__PURE__ */
|
|
4586
|
-
option.isNew && /* @__PURE__ */
|
|
3661
|
+
children: /* @__PURE__ */ jsxs("div", { style: { overflow: "hidden", textOverflow: "ellipsis" }, children: [
|
|
3662
|
+
option.isNew && /* @__PURE__ */ jsx("span", { style: { marginRight: 4 }, children: /* @__PURE__ */ jsx(PlusIcon, {}) }),
|
|
3663
|
+
/* @__PURE__ */ jsx(HighlightedText, { text: option.label, highlight: deferredQuery }),
|
|
3664
|
+
option.isNew && /* @__PURE__ */ jsx("span", { style: { opacity: 0.6, fontSize: "0.85em", marginLeft: 6 }, children: "(Создать)" })
|
|
4587
3665
|
] })
|
|
4588
3666
|
},
|
|
4589
3667
|
option.value + index
|
|
4590
3668
|
)) }) }),
|
|
4591
|
-
helpText && /* @__PURE__ */
|
|
3669
|
+
helpText && /* @__PURE__ */ jsx(
|
|
4592
3670
|
"p",
|
|
4593
3671
|
{
|
|
4594
3672
|
id: inputId + "-helptext",
|
|
@@ -4596,11 +3674,11 @@ const FSearchableSelect = forwardRef(
|
|
|
4596
3674
|
children: helpText
|
|
4597
3675
|
}
|
|
4598
3676
|
),
|
|
4599
|
-
typeof errText === "string" && errText && /* @__PURE__ */
|
|
3677
|
+
typeof errText === "string" && errText && /* @__PURE__ */ jsx(
|
|
4600
3678
|
"div",
|
|
4601
3679
|
{
|
|
4602
3680
|
className: "f-form-element__errorblock",
|
|
4603
|
-
children: /* @__PURE__ */
|
|
3681
|
+
children: /* @__PURE__ */ jsx(
|
|
4604
3682
|
"p",
|
|
4605
3683
|
{
|
|
4606
3684
|
id: `${inputId}-errortext`,
|
|
@@ -4610,11 +3688,11 @@ const FSearchableSelect = forwardRef(
|
|
|
4610
3688
|
)
|
|
4611
3689
|
}
|
|
4612
3690
|
),
|
|
4613
|
-
errText && errText.length > 0 && /* @__PURE__ */
|
|
3691
|
+
errText && errText.length > 0 && /* @__PURE__ */ jsx(
|
|
4614
3692
|
"div",
|
|
4615
3693
|
{
|
|
4616
3694
|
className: "f-form-element__errorblock",
|
|
4617
|
-
children: typeof errText !== "string" && errText.map((error2, index) => /* @__PURE__ */
|
|
3695
|
+
children: typeof errText !== "string" && errText.map((error2, index) => /* @__PURE__ */ jsx(
|
|
4618
3696
|
"p",
|
|
4619
3697
|
{
|
|
4620
3698
|
id: `${inputId}-errortext-${index}`,
|
|
@@ -4641,7 +3719,7 @@ const FPlusIcon = React.forwardRef(({
|
|
|
4641
3719
|
["data-testid"]: dataTestId,
|
|
4642
3720
|
...props
|
|
4643
3721
|
}, ref) => {
|
|
4644
|
-
return /* @__PURE__ */
|
|
3722
|
+
return /* @__PURE__ */ jsx(
|
|
4645
3723
|
"svg",
|
|
4646
3724
|
{
|
|
4647
3725
|
ref,
|
|
@@ -4655,7 +3733,7 @@ const FPlusIcon = React.forwardRef(({
|
|
|
4655
3733
|
viewBox: "0 0 24 24",
|
|
4656
3734
|
"data-testid": dataTestId,
|
|
4657
3735
|
...props,
|
|
4658
|
-
children: /* @__PURE__ */
|
|
3736
|
+
children: /* @__PURE__ */ jsx(
|
|
4659
3737
|
"path",
|
|
4660
3738
|
{
|
|
4661
3739
|
d: "M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"
|
|
@@ -4675,7 +3753,7 @@ const FCheckIcon = React.forwardRef(({
|
|
|
4675
3753
|
["data-testid"]: dataTestId,
|
|
4676
3754
|
...props
|
|
4677
3755
|
}, ref) => {
|
|
4678
|
-
return /* @__PURE__ */
|
|
3756
|
+
return /* @__PURE__ */ jsx(
|
|
4679
3757
|
"svg",
|
|
4680
3758
|
{
|
|
4681
3759
|
ref,
|
|
@@ -4687,7 +3765,7 @@ const FCheckIcon = React.forwardRef(({
|
|
|
4687
3765
|
style: st,
|
|
4688
3766
|
"data-testid": dataTestId,
|
|
4689
3767
|
...props,
|
|
4690
|
-
children: /* @__PURE__ */
|
|
3768
|
+
children: /* @__PURE__ */ jsx(
|
|
4691
3769
|
"path",
|
|
4692
3770
|
{
|
|
4693
3771
|
clipRule: "evenodd",
|
|
@@ -4709,7 +3787,7 @@ const FListIcon = React.forwardRef(({
|
|
|
4709
3787
|
["data-testid"]: dataTestId,
|
|
4710
3788
|
...props
|
|
4711
3789
|
}, ref) => {
|
|
4712
|
-
return /* @__PURE__ */
|
|
3790
|
+
return /* @__PURE__ */ jsxs(
|
|
4713
3791
|
"svg",
|
|
4714
3792
|
{
|
|
4715
3793
|
ref,
|
|
@@ -4722,13 +3800,13 @@ const FListIcon = React.forwardRef(({
|
|
|
4722
3800
|
"data-testid": dataTestId,
|
|
4723
3801
|
...props,
|
|
4724
3802
|
children: [
|
|
4725
|
-
/* @__PURE__ */
|
|
3803
|
+
/* @__PURE__ */ jsx(
|
|
4726
3804
|
"path",
|
|
4727
3805
|
{
|
|
4728
3806
|
d: "M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h13zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13z"
|
|
4729
3807
|
}
|
|
4730
3808
|
),
|
|
4731
|
-
/* @__PURE__ */
|
|
3809
|
+
/* @__PURE__ */ jsx(
|
|
4732
3810
|
"path",
|
|
4733
3811
|
{
|
|
4734
3812
|
d: "M5 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 5 8zm0-2.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0 5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm-1-5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zM4 8a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm0 2.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0z"
|
|
@@ -4749,7 +3827,7 @@ const FPenIcon = React.forwardRef(({
|
|
|
4749
3827
|
["data-testid"]: dataTestId,
|
|
4750
3828
|
...props
|
|
4751
3829
|
}, ref) => {
|
|
4752
|
-
return /* @__PURE__ */
|
|
3830
|
+
return /* @__PURE__ */ jsx(
|
|
4753
3831
|
"svg",
|
|
4754
3832
|
{
|
|
4755
3833
|
ref,
|
|
@@ -4761,7 +3839,7 @@ const FPenIcon = React.forwardRef(({
|
|
|
4761
3839
|
id,
|
|
4762
3840
|
"data-testid": dataTestId,
|
|
4763
3841
|
...props,
|
|
4764
|
-
children: /* @__PURE__ */
|
|
3842
|
+
children: /* @__PURE__ */ jsx(
|
|
4765
3843
|
"path",
|
|
4766
3844
|
{
|
|
4767
3845
|
d: "M12.146.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-10 10a.5.5 0 0 1-.168.11l-5 2a.5.5 0 0 1-.65-.65l2-5a.5.5 0 0 1 .11-.168l10-10zM11.207 2.5 13.5 4.793 14.793 3.5 12.5 1.207 11.207 2.5zm1.586 3L10.5 3.207 4 9.707V10h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.293l6.5-6.5zm-9.761 5.175-.106.106-1.528 3.821 3.821-1.528.106-.106A.5.5 0 0 1 5 12.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.468-.325z"
|
|
@@ -4781,7 +3859,7 @@ const FDownloadIcon = React.forwardRef(({
|
|
|
4781
3859
|
["data-testid"]: dataTestId,
|
|
4782
3860
|
...props
|
|
4783
3861
|
}, ref) => {
|
|
4784
|
-
return /* @__PURE__ */
|
|
3862
|
+
return /* @__PURE__ */ jsxs(
|
|
4785
3863
|
"svg",
|
|
4786
3864
|
{
|
|
4787
3865
|
ref,
|
|
@@ -4794,8 +3872,8 @@ const FDownloadIcon = React.forwardRef(({
|
|
|
4794
3872
|
"data-testid": dataTestId,
|
|
4795
3873
|
...props,
|
|
4796
3874
|
children: [
|
|
4797
|
-
/* @__PURE__ */
|
|
4798
|
-
/* @__PURE__ */
|
|
3875
|
+
/* @__PURE__ */ jsx("path", { d: "M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z" }),
|
|
3876
|
+
/* @__PURE__ */ jsx("path", { d: "M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z" })
|
|
4799
3877
|
]
|
|
4800
3878
|
}
|
|
4801
3879
|
);
|
|
@@ -4811,7 +3889,7 @@ const FCopyAddIcon = React.forwardRef(({
|
|
|
4811
3889
|
["data-testid"]: dataTestId,
|
|
4812
3890
|
...props
|
|
4813
3891
|
}, ref) => {
|
|
4814
|
-
return /* @__PURE__ */
|
|
3892
|
+
return /* @__PURE__ */ jsxs(
|
|
4815
3893
|
"svg",
|
|
4816
3894
|
{
|
|
4817
3895
|
ref,
|
|
@@ -4824,8 +3902,8 @@ const FCopyAddIcon = React.forwardRef(({
|
|
|
4824
3902
|
"data-testid": dataTestId,
|
|
4825
3903
|
...props,
|
|
4826
3904
|
children: [
|
|
4827
|
-
/* @__PURE__ */
|
|
4828
|
-
/* @__PURE__ */
|
|
3905
|
+
/* @__PURE__ */ jsx("path", { d: "M27.2,8.22H23.78V5.42A3.42,3.42,0,0,0,20.36,2H5.42A3.42,3.42,0,0,0,2,5.42V20.36a3.42,3.42,0,0,0,3.42,3.42h2.8V27.2A2.81,2.81,0,0,0,11,30H27.2A2.81,2.81,0,0,0,30,27.2V11A2.81,2.81,0,0,0,27.2,8.22ZM5.42,21.91a1.55,1.55,0,0,1-1.55-1.55V5.42A1.54,1.54,0,0,1,5.42,3.87H20.36a1.55,1.55,0,0,1,1.55,1.55v2.8H11A2.81,2.81,0,0,0,8.22,11V21.91ZM28.13,27.2a.93.93,0,0,1-.93.93H11a.93.93,0,0,1-.93-.93V11a.93.93,0,0,1,.93-.93H27.2a.93.93,0,0,1,.93.93Z" }),
|
|
3906
|
+
/* @__PURE__ */ jsx("path", { d: "M24.09,18.18H20v-4a.93.93,0,1,0-1.86,0v4h-4a.93.93,0,0,0,0,1.86h4v4.05a.93.93,0,1,0,1.86,0V20h4.05a.93.93,0,1,0,0-1.86Z" })
|
|
4829
3907
|
]
|
|
4830
3908
|
}
|
|
4831
3909
|
);
|
|
@@ -4841,7 +3919,7 @@ const FUnlinkIcon = React.forwardRef(({
|
|
|
4841
3919
|
["data-testid"]: dataTestId,
|
|
4842
3920
|
...props
|
|
4843
3921
|
}, ref) => {
|
|
4844
|
-
return /* @__PURE__ */
|
|
3922
|
+
return /* @__PURE__ */ jsxs(
|
|
4845
3923
|
"svg",
|
|
4846
3924
|
{
|
|
4847
3925
|
ref,
|
|
@@ -4855,15 +3933,15 @@ const FUnlinkIcon = React.forwardRef(({
|
|
|
4855
3933
|
"data-testid": dataTestId,
|
|
4856
3934
|
...props,
|
|
4857
3935
|
children: [
|
|
4858
|
-
/* @__PURE__ */
|
|
4859
|
-
/* @__PURE__ */
|
|
4860
|
-
/* @__PURE__ */
|
|
4861
|
-
/* @__PURE__ */
|
|
4862
|
-
/* @__PURE__ */
|
|
4863
|
-
/* @__PURE__ */
|
|
4864
|
-
/* @__PURE__ */
|
|
4865
|
-
/* @__PURE__ */
|
|
4866
|
-
/* @__PURE__ */
|
|
3936
|
+
/* @__PURE__ */ jsx("path", { d: "M9.23993 17.55L7.95993 18.84C7.33993 19.47 6.51992 19.79 5.69992 19.79C4.87992 19.79 4.05994 19.47 3.43994 18.84C2.18994 17.58 2.18994 15.54 3.43994 14.29L4.70993 13.02L6.11993 11.6L8.82993 8.86", stroke: "#0F0F0F", "stroke-miterlimit": "10", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
3937
|
+
/* @__PURE__ */ jsx("path", { d: "M8.82996 3.86V6.86", stroke: "#0F0F0F", "stroke-miterlimit": "10", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
3938
|
+
/* @__PURE__ */ jsx("path", { d: "M5.32996 5.22L6.82996 7.81", stroke: "#0F0F0F", "stroke-miterlimit": "10", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
3939
|
+
/* @__PURE__ */ jsx("path", { d: "M9.23993 17.55L7.95993 18.84C7.33993 19.47 6.51992 19.79 5.69992 19.79C4.87992 19.79 4.05994 19.47 3.43994 18.84C2.18994 17.58 2.18994 15.54 3.43994 14.29L4.70993 13.02L6.11993 11.6L8.82993 8.86", stroke: "#0F0F0F", "stroke-miterlimit": "10", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
3940
|
+
/* @__PURE__ */ jsx("path", { d: "M14.7599 7.45L16.0399 6.16C16.6599 5.53 17.4799 5.21 18.2999 5.21C19.1199 5.21 19.9399 5.53 20.5599 6.16C21.8099 7.42 21.8099 9.46 20.5599 10.71L19.2899 11.98L17.8799 13.4L15.1699 16.14", stroke: "#0F0F0F", "stroke-miterlimit": "10", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
3941
|
+
/* @__PURE__ */ jsx("path", { d: "M12.33 5.22L10.83 7.81", stroke: "#0F0F0F", "stroke-miterlimit": "10", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
3942
|
+
/* @__PURE__ */ jsx("path", { d: "M15.1699 21.14V18.14", stroke: "#0F0F0F", "stroke-miterlimit": "10", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
3943
|
+
/* @__PURE__ */ jsx("path", { d: "M18.6699 19.79L17.1699 17.19", stroke: "#0F0F0F", "stroke-miterlimit": "10", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
3944
|
+
/* @__PURE__ */ jsx("path", { d: "M11.6699 19.79L13.1699 17.19", stroke: "#0F0F0F", "stroke-miterlimit": "10", "stroke-linecap": "round", "stroke-linejoin": "round" })
|
|
4867
3945
|
]
|
|
4868
3946
|
}
|
|
4869
3947
|
);
|
|
@@ -4879,7 +3957,7 @@ const FFilterIcon = React.forwardRef(({
|
|
|
4879
3957
|
["data-testid"]: dataTestId,
|
|
4880
3958
|
...props
|
|
4881
3959
|
}, ref) => {
|
|
4882
|
-
return /* @__PURE__ */
|
|
3960
|
+
return /* @__PURE__ */ jsxs(
|
|
4883
3961
|
"svg",
|
|
4884
3962
|
{
|
|
4885
3963
|
ref,
|
|
@@ -4892,8 +3970,8 @@ const FFilterIcon = React.forwardRef(({
|
|
|
4892
3970
|
"data-testid": dataTestId,
|
|
4893
3971
|
...props,
|
|
4894
3972
|
children: [
|
|
4895
|
-
/* @__PURE__ */
|
|
4896
|
-
/* @__PURE__ */
|
|
3973
|
+
/* @__PURE__ */ jsx("path", { fill: "none", d: "M0 0h24v24H0z" }),
|
|
3974
|
+
/* @__PURE__ */ jsx("path", { fillRule: "nonzero", d: "M14 14v6l-4 2v-8L4 5V3h16v2l-6 9zM6.404 5L12 13.394 17.596 5H6.404z" })
|
|
4897
3975
|
]
|
|
4898
3976
|
}
|
|
4899
3977
|
);
|
|
@@ -4910,7 +3988,7 @@ const FDocumentIcon = React.forwardRef(({
|
|
|
4910
3988
|
["data-testid"]: dataTestId,
|
|
4911
3989
|
...props
|
|
4912
3990
|
}, ref) => {
|
|
4913
|
-
return /* @__PURE__ */
|
|
3991
|
+
return /* @__PURE__ */ jsxs(
|
|
4914
3992
|
"svg",
|
|
4915
3993
|
{
|
|
4916
3994
|
ref,
|
|
@@ -4924,30 +4002,30 @@ const FDocumentIcon = React.forwardRef(({
|
|
|
4924
4002
|
"data-testid": dataTestId,
|
|
4925
4003
|
...props,
|
|
4926
4004
|
children: [
|
|
4927
|
-
!file && /* @__PURE__ */
|
|
4928
|
-
file === "check" && /* @__PURE__ */
|
|
4929
|
-
/* @__PURE__ */
|
|
4930
|
-
/* @__PURE__ */
|
|
4005
|
+
!file && /* @__PURE__ */ jsx("path", { d: "M14 4.5V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h5.5L14 4.5zm-3 0A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h-2z" }),
|
|
4006
|
+
file === "check" && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
4007
|
+
/* @__PURE__ */ jsx("path", { d: "M10.854 7.854a.5.5 0 0 0-.708-.708L7.5 9.793 6.354 8.646a.5.5 0 1 0-.708.708l1.5 1.5a.5.5 0 0 0 .708 0l3-3z" }),
|
|
4008
|
+
/* @__PURE__ */ jsx("path", { d: "M14 14V4.5L9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2zM9.5 3A1.5 1.5 0 0 0 11 4.5h2V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h5.5v2z" })
|
|
4931
4009
|
] }),
|
|
4932
|
-
file === "close" && /* @__PURE__ */
|
|
4933
|
-
/* @__PURE__ */
|
|
4934
|
-
/* @__PURE__ */
|
|
4010
|
+
file === "close" && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
4011
|
+
/* @__PURE__ */ jsx("path", { d: "M6.854 7.146a.5.5 0 1 0-.708.708L7.293 9l-1.147 1.146a.5.5 0 0 0 .708.708L8 9.707l1.146 1.147a.5.5 0 0 0 .708-.708L8.707 9l1.147-1.146a.5.5 0 0 0-.708-.708L8 8.293 6.854 7.146z" }),
|
|
4012
|
+
/* @__PURE__ */ jsx("path", { d: "M14 14V4.5L9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2zM9.5 3A1.5 1.5 0 0 0 11 4.5h2V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h5.5v2z" })
|
|
4935
4013
|
] }),
|
|
4936
|
-
file === "download" && /* @__PURE__ */
|
|
4937
|
-
/* @__PURE__ */
|
|
4938
|
-
/* @__PURE__ */
|
|
4014
|
+
file === "download" && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
4015
|
+
/* @__PURE__ */ jsx("path", { d: "M8.5 6.5a.5.5 0 0 0-1 0v3.793L6.354 9.146a.5.5 0 1 0-.708.708l2 2a.5.5 0 0 0 .708 0l2-2a.5.5 0 0 0-.708-.708L8.5 10.293V6.5z" }),
|
|
4016
|
+
/* @__PURE__ */ jsx("path", { d: "M14 14V4.5L9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2zM9.5 3A1.5 1.5 0 0 0 11 4.5h2V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h5.5v2z" })
|
|
4939
4017
|
] }),
|
|
4940
|
-
file === "upload" && /* @__PURE__ */
|
|
4941
|
-
/* @__PURE__ */
|
|
4942
|
-
/* @__PURE__ */
|
|
4018
|
+
file === "upload" && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
4019
|
+
/* @__PURE__ */ jsx("path", { d: "M8 11a.5.5 0 0 0 .5-.5V6.707l1.146 1.147a.5.5 0 0 0 .708-.708l-2-2a.5.5 0 0 0-.708 0l-2 2a.5.5 0 1 0 .708.708L7.5 6.707V10.5a.5.5 0 0 0 .5.5z" }),
|
|
4020
|
+
/* @__PURE__ */ jsx("path", { d: "M4 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H4zm0 1h8a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1z" })
|
|
4943
4021
|
] }),
|
|
4944
|
-
file === "excel" && /* @__PURE__ */
|
|
4945
|
-
file === "doc" && /* @__PURE__ */
|
|
4946
|
-
file === "docx" && /* @__PURE__ */
|
|
4947
|
-
file === "pdf" && /* @__PURE__ */
|
|
4948
|
-
file === "jpg" && /* @__PURE__ */
|
|
4949
|
-
file === "png" && /* @__PURE__ */
|
|
4950
|
-
file === "txt" && /* @__PURE__ */
|
|
4022
|
+
file === "excel" && /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { "fill-rule": "evenodd", d: "M14 4.5V11h-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5L14 4.5ZM7.86 14.841a1.13 1.13 0 0 0 .401.823c.13.108.29.192.479.252.19.061.411.091.665.091.338 0 .624-.053.858-.158.237-.105.416-.252.54-.44a1.17 1.17 0 0 0 .187-.656c0-.224-.045-.41-.135-.56a1.002 1.002 0 0 0-.375-.357 2.028 2.028 0 0 0-.565-.21l-.621-.144a.97.97 0 0 1-.405-.176.37.37 0 0 1-.143-.299c0-.156.061-.284.184-.384.125-.101.296-.152.513-.152.143 0 .266.023.37.068a.624.624 0 0 1 .245.181.56.56 0 0 1 .12.258h.75a1.093 1.093 0 0 0-.199-.566 1.21 1.21 0 0 0-.5-.41 1.813 1.813 0 0 0-.78-.152c-.293 0-.552.05-.777.15-.224.099-.4.24-.527.421-.127.182-.19.395-.19.639 0 .201.04.376.123.524.082.149.199.27.351.367.153.095.332.167.54.213l.618.144c.207.049.36.113.462.193a.387.387 0 0 1 .153.326.512.512 0 0 1-.085.29.558.558 0 0 1-.255.193c-.111.047-.25.07-.413.07-.117 0-.224-.013-.32-.04a.837.837 0 0 1-.249-.115.578.578 0 0 1-.255-.384h-.764Zm-3.726-2.909h.893l-1.274 2.007 1.254 1.992h-.908l-.85-1.415h-.035l-.853 1.415H1.5l1.24-2.016-1.228-1.983h.931l.832 1.438h.036l.823-1.438Zm1.923 3.325h1.697v.674H5.266v-3.999h.791v3.325Zm7.636-3.325h.893l-1.274 2.007 1.254 1.992h-.908l-.85-1.415h-.035l-.853 1.415h-.861l1.24-2.016-1.228-1.983h.931l.832 1.438h.036l.823-1.438Z" }) }),
|
|
4023
|
+
file === "doc" && /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { "fill-rule": "evenodd", d: "M14 4.5V14a2 2 0 0 1-2 2v-1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5L14 4.5Zm-7.839 9.166v.522c0 .256-.039.47-.117.641a.861.861 0 0 1-.322.387.877.877 0 0 1-.469.126.883.883 0 0 1-.471-.126.868.868 0 0 1-.32-.386 1.55 1.55 0 0 1-.117-.642v-.522c0-.257.04-.471.117-.641a.868.868 0 0 1 .32-.387.868.868 0 0 1 .471-.129c.176 0 .332.043.469.13a.861.861 0 0 1 .322.386c.078.17.117.384.117.641Zm.803.519v-.513c0-.377-.068-.7-.205-.972a1.46 1.46 0 0 0-.589-.63c-.254-.147-.56-.22-.917-.22-.355 0-.662.073-.92.22a1.441 1.441 0 0 0-.589.627c-.136.271-.205.596-.205.975v.513c0 .375.069.7.205.973.137.271.333.48.59.627.257.144.564.216.92.216.357 0 .662-.072.916-.216.256-.147.452-.356.59-.627.136-.274.204-.598.204-.973ZM0 11.926v4h1.459c.402 0 .735-.08.999-.238a1.45 1.45 0 0 0 .595-.689c.13-.3.196-.662.196-1.084 0-.42-.065-.778-.196-1.075a1.426 1.426 0 0 0-.59-.68c-.263-.156-.598-.234-1.004-.234H0Zm.791.645h.563c.248 0 .45.05.609.152a.89.89 0 0 1 .354.454c.079.201.118.452.118.753a2.3 2.3 0 0 1-.068.592 1.141 1.141 0 0 1-.196.422.8.8 0 0 1-.334.252 1.298 1.298 0 0 1-.483.082H.79V12.57Zm7.422.483a1.732 1.732 0 0 0-.103.633v.495c0 .246.034.455.103.627a.834.834 0 0 0 .298.393.845.845 0 0 0 .478.131.868.868 0 0 0 .401-.088.699.699 0 0 0 .273-.248.8.8 0 0 0 .117-.364h.765v.076a1.268 1.268 0 0 1-.226.674c-.137.194-.32.345-.55.454a1.81 1.81 0 0 1-.786.164c-.36 0-.664-.072-.914-.216a1.424 1.424 0 0 1-.571-.627c-.13-.272-.194-.597-.194-.976v-.498c0-.379.066-.705.197-.978.13-.274.321-.485.571-.633.252-.149.556-.223.911-.223.219 0 .421.032.607.097.187.062.35.153.489.272a1.326 1.326 0 0 1 .466.964v.073H9.78a.85.85 0 0 0-.12-.38.7.7 0 0 0-.273-.261.802.802 0 0 0-.398-.097.814.814 0 0 0-.475.138.868.868 0 0 0-.301.398Z" }) }),
|
|
4024
|
+
file === "docx" && /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { "fill-rule": "evenodd", d: "M14 4.5V11h-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5L14 4.5Zm-6.839 9.688v-.522a1.54 1.54 0 0 0-.117-.641.861.861 0 0 0-.322-.387.862.862 0 0 0-.469-.129.868.868 0 0 0-.471.13.868.868 0 0 0-.32.386 1.54 1.54 0 0 0-.117.641v.522c0 .256.04.47.117.641a.868.868 0 0 0 .32.387.883.883 0 0 0 .471.126.877.877 0 0 0 .469-.126.861.861 0 0 0 .322-.386 1.55 1.55 0 0 0 .117-.642Zm.803-.516v.513c0 .375-.068.7-.205.973a1.47 1.47 0 0 1-.589.627c-.254.144-.56.216-.917.216a1.86 1.86 0 0 1-.92-.216 1.463 1.463 0 0 1-.589-.627 2.151 2.151 0 0 1-.205-.973v-.513c0-.379.069-.704.205-.975.137-.274.333-.483.59-.627.257-.147.564-.22.92-.22.357 0 .662.073.916.22.256.146.452.356.59.63.136.271.204.595.204.972ZM1 15.925v-3.999h1.459c.406 0 .741.078 1.005.235.264.156.46.382.589.68.13.296.196.655.196 1.074 0 .422-.065.784-.196 1.084-.131.301-.33.53-.595.689-.264.158-.597.237-.999.237H1Zm1.354-3.354H1.79v2.707h.563c.185 0 .346-.028.483-.082a.8.8 0 0 0 .334-.252c.088-.114.153-.254.196-.422a2.3 2.3 0 0 0 .068-.592c0-.3-.04-.552-.118-.753a.89.89 0 0 0-.354-.454c-.158-.102-.361-.152-.61-.152Zm6.756 1.116c0-.248.034-.46.103-.633a.868.868 0 0 1 .301-.398.814.814 0 0 1 .475-.138c.15 0 .283.032.398.097a.7.7 0 0 1 .273.26.85.85 0 0 1 .12.381h.765v-.073a1.33 1.33 0 0 0-.466-.964 1.44 1.44 0 0 0-.49-.272 1.836 1.836 0 0 0-.606-.097c-.355 0-.66.074-.911.223-.25.148-.44.359-.571.633-.131.273-.197.6-.197.978v.498c0 .379.065.704.194.976.13.271.321.48.571.627.25.144.555.216.914.216.293 0 .555-.054.785-.164.23-.11.414-.26.551-.454a1.27 1.27 0 0 0 .226-.674v-.076h-.765a.8.8 0 0 1-.117.364.699.699 0 0 1-.273.248.874.874 0 0 1-.401.088.845.845 0 0 1-.478-.131.834.834 0 0 1-.298-.393 1.7 1.7 0 0 1-.103-.627v-.495Zm5.092-1.76h.894l-1.275 2.006 1.254 1.992h-.908l-.85-1.415h-.035l-.852 1.415h-.862l1.24-2.015-1.228-1.984h.932l.832 1.439h.035l.823-1.439Z" }) }),
|
|
4025
|
+
file === "pdf" && /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { "fill-rule": "evenodd", d: "M14 4.5V14a2 2 0 0 1-2 2h-1v-1h1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5L14 4.5ZM1.6 11.85H0v3.999h.791v-1.342h.803c.287 0 .531-.057.732-.173.203-.117.358-.275.463-.474a1.42 1.42 0 0 0 .161-.677c0-.25-.053-.476-.158-.677a1.176 1.176 0 0 0-.46-.477c-.2-.12-.443-.179-.732-.179Zm.545 1.333a.795.795 0 0 1-.085.38.574.574 0 0 1-.238.241.794.794 0 0 1-.375.082H.788V12.48h.66c.218 0 .389.06.512.181.123.122.185.296.185.522Zm1.217-1.333v3.999h1.46c.401 0 .734-.08.998-.237a1.45 1.45 0 0 0 .595-.689c.13-.3.196-.662.196-1.084 0-.42-.065-.778-.196-1.075a1.426 1.426 0 0 0-.589-.68c-.264-.156-.599-.234-1.005-.234H3.362Zm.791.645h.563c.248 0 .45.05.609.152a.89.89 0 0 1 .354.454c.079.201.118.452.118.753a2.3 2.3 0 0 1-.068.592 1.14 1.14 0 0 1-.196.422.8.8 0 0 1-.334.252 1.298 1.298 0 0 1-.483.082h-.563v-2.707Zm3.743 1.763v1.591h-.79V11.85h2.548v.653H7.896v1.117h1.606v.638H7.896Z" }) }),
|
|
4026
|
+
file === "jpg" && /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { "fill-rule": "evenodd", d: "M14 4.5V14a2 2 0 0 1-2 2h-1v-1h1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5L14 4.5Zm-4.34 8.132c.076.153.123.317.14.492h-.776a.797.797 0 0 0-.097-.249.689.689 0 0 0-.17-.19.707.707 0 0 0-.237-.126.96.96 0 0 0-.299-.044c-.285 0-.507.1-.665.302-.156.201-.234.484-.234.85v.498c0 .234.032.439.097.615a.881.881 0 0 0 .304.413.87.87 0 0 0 .519.146.967.967 0 0 0 .457-.096.67.67 0 0 0 .272-.264c.06-.11.091-.23.091-.363v-.255H8.24v-.59h1.576v.798c0 .193-.032.377-.097.55a1.29 1.29 0 0 1-.293.458 1.37 1.37 0 0 1-.495.313c-.197.074-.43.111-.697.111a1.98 1.98 0 0 1-.753-.132 1.447 1.447 0 0 1-.533-.377 1.58 1.58 0 0 1-.32-.58 2.482 2.482 0 0 1-.105-.745v-.506c0-.362.066-.678.2-.95.134-.271.328-.482.582-.633.256-.152.565-.228.926-.228.238 0 .45.033.636.1.187.066.347.158.48.275.133.117.238.253.314.407ZM0 14.786c0 .164.027.319.082.465.055.147.136.277.243.39.11.113.245.202.407.267.164.062.354.093.569.093.42 0 .748-.115.984-.345.238-.23.358-.566.358-1.005v-2.725h-.791v2.745c0 .202-.046.357-.138.466-.092.11-.233.164-.422.164a.499.499 0 0 1-.454-.246.577.577 0 0 1-.073-.27H0Zm4.92-2.86H3.322v4h.791v-1.343h.803c.287 0 .531-.057.732-.172.203-.118.358-.276.463-.475.108-.201.161-.427.161-.677 0-.25-.052-.475-.158-.677a1.176 1.176 0 0 0-.46-.477c-.2-.12-.443-.179-.732-.179Zm.546 1.333a.795.795 0 0 1-.085.381.574.574 0 0 1-.238.24.794.794 0 0 1-.375.082H4.11v-1.406h.66c.218 0 .389.06.512.182.123.12.185.295.185.521Z" }) }),
|
|
4027
|
+
file === "png" && /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { "fill-rule": "evenodd", d: "M14 4.5V14a2 2 0 0 1-2 2v-1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5L14 4.5Zm-3.76 8.132c.076.153.123.317.14.492h-.776a.797.797 0 0 0-.097-.249.689.689 0 0 0-.17-.19.707.707 0 0 0-.237-.126.96.96 0 0 0-.299-.044c-.285 0-.506.1-.665.302-.156.201-.234.484-.234.85v.498c0 .234.032.439.097.615a.881.881 0 0 0 .304.413.87.87 0 0 0 .519.146.967.967 0 0 0 .457-.096.67.67 0 0 0 .272-.264c.06-.11.091-.23.091-.363v-.255H8.82v-.59h1.576v.798c0 .193-.032.377-.097.55a1.29 1.29 0 0 1-.293.458 1.37 1.37 0 0 1-.495.313c-.197.074-.43.111-.697.111a1.98 1.98 0 0 1-.753-.132 1.447 1.447 0 0 1-.533-.377 1.58 1.58 0 0 1-.32-.58 2.482 2.482 0 0 1-.105-.745v-.506c0-.362.067-.678.2-.95.134-.271.328-.482.582-.633.256-.152.565-.228.926-.228.238 0 .45.033.636.1.187.066.347.158.48.275.133.117.238.253.314.407Zm-8.64-.706H0v4h.791v-1.343h.803c.287 0 .531-.057.732-.172.203-.118.358-.276.463-.475a1.42 1.42 0 0 0 .161-.677c0-.25-.053-.475-.158-.677a1.176 1.176 0 0 0-.46-.477c-.2-.12-.443-.179-.732-.179Zm.545 1.333a.795.795 0 0 1-.085.381.574.574 0 0 1-.238.24.794.794 0 0 1-.375.082H.788v-1.406h.66c.218 0 .389.06.512.182.123.12.185.295.185.521Zm1.964 2.666V13.25h.032l1.761 2.675h.656v-3.999h-.75v2.66h-.032l-1.752-2.66h-.662v4h.747Z" }) }),
|
|
4028
|
+
file === "txt" && /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { "fill-rule": "evenodd", d: "M14 4.5V14a2 2 0 0 1-2 2h-2v-1h2a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5L14 4.5ZM1.928 15.849v-3.337h1.136v-.662H0v.662h1.134v3.337h.794Zm4.689-3.999h-.894L4.9 13.289h-.035l-.832-1.439h-.932l1.228 1.983-1.24 2.016h.862l.853-1.415h.035l.85 1.415h.907l-1.253-1.992 1.274-2.007Zm1.93.662v3.337h-.794v-3.337H6.619v-.662h3.064v.662H8.546Z" }) })
|
|
4951
4029
|
]
|
|
4952
4030
|
}
|
|
4953
4031
|
);
|
|
@@ -4963,7 +4041,7 @@ const FReloadIcon = React.forwardRef(({
|
|
|
4963
4041
|
["data-testid"]: dataTestId,
|
|
4964
4042
|
...props
|
|
4965
4043
|
}, ref) => {
|
|
4966
|
-
return /* @__PURE__ */
|
|
4044
|
+
return /* @__PURE__ */ jsxs(
|
|
4967
4045
|
"svg",
|
|
4968
4046
|
{
|
|
4969
4047
|
ref,
|
|
@@ -4976,8 +4054,8 @@ const FReloadIcon = React.forwardRef(({
|
|
|
4976
4054
|
"data-testid": dataTestId,
|
|
4977
4055
|
...props,
|
|
4978
4056
|
children: [
|
|
4979
|
-
/* @__PURE__ */
|
|
4980
|
-
/* @__PURE__ */
|
|
4057
|
+
/* @__PURE__ */ jsx("path", { "fill-rule": "evenodd", d: "M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2z" }),
|
|
4058
|
+
/* @__PURE__ */ jsx("path", { d: "M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466" })
|
|
4981
4059
|
]
|
|
4982
4060
|
}
|
|
4983
4061
|
);
|
|
@@ -4993,7 +4071,7 @@ const FMinusIcon = React.forwardRef(({
|
|
|
4993
4071
|
["data-testid"]: dataTestId,
|
|
4994
4072
|
...props
|
|
4995
4073
|
}, ref) => {
|
|
4996
|
-
return /* @__PURE__ */
|
|
4074
|
+
return /* @__PURE__ */ jsxs(
|
|
4997
4075
|
"svg",
|
|
4998
4076
|
{
|
|
4999
4077
|
ref,
|
|
@@ -5006,8 +4084,8 @@ const FMinusIcon = React.forwardRef(({
|
|
|
5006
4084
|
"data-testid": dataTestId,
|
|
5007
4085
|
...props,
|
|
5008
4086
|
children: [
|
|
5009
|
-
/* @__PURE__ */
|
|
5010
|
-
/* @__PURE__ */
|
|
4087
|
+
/* @__PURE__ */ jsx("path", { d: "M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16" }),
|
|
4088
|
+
/* @__PURE__ */ jsx("path", { d: "M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8" })
|
|
5011
4089
|
]
|
|
5012
4090
|
}
|
|
5013
4091
|
);
|
|
@@ -5023,7 +4101,7 @@ const FInfoCircleIcon = React.forwardRef(({
|
|
|
5023
4101
|
["data-testid"]: dataTestId,
|
|
5024
4102
|
...props
|
|
5025
4103
|
}, ref) => {
|
|
5026
|
-
return /* @__PURE__ */
|
|
4104
|
+
return /* @__PURE__ */ jsxs(
|
|
5027
4105
|
"svg",
|
|
5028
4106
|
{
|
|
5029
4107
|
ref,
|
|
@@ -5036,8 +4114,8 @@ const FInfoCircleIcon = React.forwardRef(({
|
|
|
5036
4114
|
"data-testid": dataTestId,
|
|
5037
4115
|
...props,
|
|
5038
4116
|
children: [
|
|
5039
|
-
/* @__PURE__ */
|
|
5040
|
-
/* @__PURE__ */
|
|
4117
|
+
/* @__PURE__ */ jsx("path", { d: "M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16" }),
|
|
4118
|
+
/* @__PURE__ */ jsx("path", { d: "m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0" })
|
|
5041
4119
|
]
|
|
5042
4120
|
}
|
|
5043
4121
|
);
|
|
@@ -5053,7 +4131,7 @@ const FSafeIcon = React.forwardRef(({
|
|
|
5053
4131
|
["data-testid"]: dataTestId,
|
|
5054
4132
|
...props
|
|
5055
4133
|
}, ref) => {
|
|
5056
|
-
return /* @__PURE__ */
|
|
4134
|
+
return /* @__PURE__ */ jsxs(
|
|
5057
4135
|
"svg",
|
|
5058
4136
|
{
|
|
5059
4137
|
ref,
|
|
@@ -5066,8 +4144,8 @@ const FSafeIcon = React.forwardRef(({
|
|
|
5066
4144
|
"data-testid": dataTestId,
|
|
5067
4145
|
...props,
|
|
5068
4146
|
children: [
|
|
5069
|
-
/* @__PURE__ */
|
|
5070
|
-
/* @__PURE__ */
|
|
4147
|
+
/* @__PURE__ */ jsx("path", { d: "M1 1.5A1.5 1.5 0 0 1 2.5 0h12A1.5 1.5 0 0 1 16 1.5v13a1.5 1.5 0 0 1-1.5 1.5h-12A1.5 1.5 0 0 1 1 14.5V13H.5a.5.5 0 0 1 0-1H1V8.5H.5a.5.5 0 0 1 0-1H1V4H.5a.5.5 0 0 1 0-1H1zM2.5 1a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 .5.5h12a.5.5 0 0 0 .5-.5v-13a.5.5 0 0 0-.5-.5z" }),
|
|
4148
|
+
/* @__PURE__ */ jsx("path", { d: "M13.5 6a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 .5-.5M4.828 4.464a.5.5 0 0 1 .708 0l1.09 1.09a3 3 0 0 1 3.476 0l1.09-1.09a.5.5 0 1 1 .707.708l-1.09 1.09c.74 1.037.74 2.44 0 3.476l1.09 1.09a.5.5 0 1 1-.707.708l-1.09-1.09a3 3 0 0 1-3.476 0l-1.09 1.09a.5.5 0 1 1-.708-.708l1.09-1.09a3 3 0 0 1 0-3.476l-1.09-1.09a.5.5 0 0 1 0-.708M6.95 6.586a2 2 0 1 0 2.828 2.828A2 2 0 0 0 6.95 6.586" })
|
|
5071
4149
|
]
|
|
5072
4150
|
}
|
|
5073
4151
|
);
|
|
@@ -8072,6 +7150,10 @@ const webSettings = () => {
|
|
|
8072
7150
|
<w:allowPNG/>
|
|
8073
7151
|
</w:webSettings>`;
|
|
8074
7152
|
};
|
|
7153
|
+
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
7154
|
+
function getDefaultExportFromCjs(x) {
|
|
7155
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
7156
|
+
}
|
|
8075
7157
|
function commonjsRequire(path) {
|
|
8076
7158
|
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
8077
7159
|
}
|
|
@@ -53012,14 +52094,14 @@ const styles = {
|
|
|
53012
52094
|
ripple
|
|
53013
52095
|
};
|
|
53014
52096
|
const FWaterErrorBoundaryPage = () => {
|
|
53015
|
-
return /* @__PURE__ */
|
|
53016
|
-
/* @__PURE__ */
|
|
53017
|
-
/* @__PURE__ */
|
|
53018
|
-
/* @__PURE__ */
|
|
53019
|
-
/* @__PURE__ */
|
|
53020
|
-
/* @__PURE__ */
|
|
52097
|
+
return /* @__PURE__ */ jsxs("div", { className: styles.waterError, children: [
|
|
52098
|
+
/* @__PURE__ */ jsxs("div", { className: styles.scene, children: [
|
|
52099
|
+
/* @__PURE__ */ jsxs("div", { className: styles.waves, children: [
|
|
52100
|
+
/* @__PURE__ */ jsx("div", { className: styles.wave1 }),
|
|
52101
|
+
/* @__PURE__ */ jsx("div", { className: styles.wave2 }),
|
|
52102
|
+
/* @__PURE__ */ jsx("div", { className: styles.wave3 })
|
|
53021
52103
|
] }),
|
|
53022
|
-
/* @__PURE__ */
|
|
52104
|
+
/* @__PURE__ */ jsx("div", { className: styles.bubbles, children: [...Array(15)].map((_, i) => /* @__PURE__ */ jsx(
|
|
53023
52105
|
"div",
|
|
53024
52106
|
{
|
|
53025
52107
|
className: styles.bubble,
|
|
@@ -53032,24 +52114,24 @@ const FWaterErrorBoundaryPage = () => {
|
|
|
53032
52114
|
i
|
|
53033
52115
|
)) })
|
|
53034
52116
|
] }),
|
|
53035
|
-
/* @__PURE__ */
|
|
53036
|
-
/* @__PURE__ */
|
|
53037
|
-
/* @__PURE__ */
|
|
53038
|
-
/* @__PURE__ */
|
|
53039
|
-
/* @__PURE__ */
|
|
52117
|
+
/* @__PURE__ */ jsx("div", { className: styles.container, children: /* @__PURE__ */ jsxs("div", { className: styles.card, children: [
|
|
52118
|
+
/* @__PURE__ */ jsx("div", { className: styles.drop, children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 100 120", className: styles.dropSvg, children: [
|
|
52119
|
+
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs("linearGradient", { id: "blueGradient", x1: "0%", y1: "0%", x2: "100%", y2: "100%", children: [
|
|
52120
|
+
/* @__PURE__ */ jsx("stop", { offset: "0%", stopColor: "#00d4ff" }),
|
|
52121
|
+
/* @__PURE__ */ jsx("stop", { offset: "100%", stopColor: "#0066ff" })
|
|
53040
52122
|
] }) }),
|
|
53041
|
-
/* @__PURE__ */
|
|
52123
|
+
/* @__PURE__ */ jsx("path", { d: "M50 15 C25 55, 25 90, 50 115 C75 90, 75 55, 50 15", fill: "url(#blueGradient)" })
|
|
53042
52124
|
] }) }),
|
|
53043
|
-
/* @__PURE__ */
|
|
53044
|
-
/* @__PURE__ */
|
|
52125
|
+
/* @__PURE__ */ jsx("h1", { className: styles.title, children: "Поток прерван" }),
|
|
52126
|
+
/* @__PURE__ */ jsxs("p", { className: styles.subtitle, children: [
|
|
53045
52127
|
"Произошла ошибка в системе водоучёта.",
|
|
53046
|
-
/* @__PURE__ */
|
|
52128
|
+
/* @__PURE__ */ jsx("br", {}),
|
|
53047
52129
|
"Мы уже направляем бригаду гидротехников.",
|
|
53048
|
-
/* @__PURE__ */
|
|
52130
|
+
/* @__PURE__ */ jsx("br", {}),
|
|
53049
52131
|
"Идёт восстановление данных…"
|
|
53050
52132
|
] }),
|
|
53051
|
-
/* @__PURE__ */
|
|
53052
|
-
/* @__PURE__ */
|
|
52133
|
+
/* @__PURE__ */ jsxs("div", { className: styles.actions, children: [
|
|
52134
|
+
/* @__PURE__ */ jsx(
|
|
53053
52135
|
"button",
|
|
53054
52136
|
{
|
|
53055
52137
|
className: styles.btnPrimary,
|
|
@@ -53064,7 +52146,7 @@ const FWaterErrorBoundaryPage = () => {
|
|
|
53064
52146
|
children: "Обновить страницу"
|
|
53065
52147
|
}
|
|
53066
52148
|
),
|
|
53067
|
-
/* @__PURE__ */
|
|
52149
|
+
/* @__PURE__ */ jsx("button", { className: styles.btnSecondary, onClick: () => window.location.href = "/", children: "На главную" })
|
|
53068
52150
|
] })
|
|
53069
52151
|
] }) })
|
|
53070
52152
|
] });
|