@cloudtower/eagle 0.26.30 → 0.26.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/I18nNameTag/__test__/index.test.d.ts +1 -0
- package/dist/components/I18nNameTag/index.d.ts +10 -0
- package/dist/components.css +227 -215
- package/dist/esm/index.js +955 -902
- package/dist/esm/stats1.html +1 -1
- package/dist/spec/base.d.ts +1 -0
- package/dist/style.css +1802 -1790
- package/dist/umd/index.js +954 -901
- package/dist/umd/stats1.html +1 -1
- package/package.json +5 -5
package/dist/esm/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import _, { uniqBy, groupBy, sortBy, toPairs, debounce } from 'lodash';
|
|
|
7
7
|
import { SVGUniqueID } from 'react-svg-unique-id';
|
|
8
8
|
import { parrotI18n } from '@cloudtower/parrot';
|
|
9
9
|
export * from '@cloudtower/parrot';
|
|
10
|
-
import { useTranslation, withTranslation } from 'react-i18next';
|
|
10
|
+
import { useTranslation, Trans, withTranslation } from 'react-i18next';
|
|
11
11
|
import { cx } from '@linaria/core';
|
|
12
12
|
import { styled } from '@linaria/react';
|
|
13
13
|
import { ArrowRightGrayIcon, ArrowChevronUp16SecondaryIcon, ArrowChevronDown16SecondaryIcon, CheckmarkDoneSuccessCorrect16SecondaryIcon, Loading8GradientBlueIcon, PlusAddCreateNew16SecondaryIcon, HandlePoint816SecondaryIcon, HandlePoint816BlueIcon, XmarkRemove16SecondaryIcon, XmarkRemove16RegularRedIcon, CheckmarkDoneSuccessCorrect16BlueIcon, XmarkRemoveSmall16RegularInheritIcon } from '@cloudtower/icons-react';
|
|
@@ -252,30 +252,30 @@ function getAlertIcon(type) {
|
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
|
|
255
|
-
var __defProp$
|
|
256
|
-
var __getOwnPropSymbols$
|
|
257
|
-
var __hasOwnProp$
|
|
258
|
-
var __propIsEnum$
|
|
259
|
-
var __defNormalProp$
|
|
260
|
-
var __spreadValues$
|
|
255
|
+
var __defProp$W = Object.defineProperty;
|
|
256
|
+
var __getOwnPropSymbols$Y = Object.getOwnPropertySymbols;
|
|
257
|
+
var __hasOwnProp$Y = Object.prototype.hasOwnProperty;
|
|
258
|
+
var __propIsEnum$Y = Object.prototype.propertyIsEnumerable;
|
|
259
|
+
var __defNormalProp$W = (obj, key, value) => key in obj ? __defProp$W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
260
|
+
var __spreadValues$W = (a, b) => {
|
|
261
261
|
for (var prop in b || (b = {}))
|
|
262
|
-
if (__hasOwnProp$
|
|
263
|
-
__defNormalProp$
|
|
264
|
-
if (__getOwnPropSymbols$
|
|
265
|
-
for (var prop of __getOwnPropSymbols$
|
|
266
|
-
if (__propIsEnum$
|
|
267
|
-
__defNormalProp$
|
|
262
|
+
if (__hasOwnProp$Y.call(b, prop))
|
|
263
|
+
__defNormalProp$W(a, prop, b[prop]);
|
|
264
|
+
if (__getOwnPropSymbols$Y)
|
|
265
|
+
for (var prop of __getOwnPropSymbols$Y(b)) {
|
|
266
|
+
if (__propIsEnum$Y.call(b, prop))
|
|
267
|
+
__defNormalProp$W(a, prop, b[prop]);
|
|
268
268
|
}
|
|
269
269
|
return a;
|
|
270
270
|
};
|
|
271
|
-
var __objRest$
|
|
271
|
+
var __objRest$z = (source, exclude) => {
|
|
272
272
|
var target = {};
|
|
273
273
|
for (var prop in source)
|
|
274
|
-
if (__hasOwnProp$
|
|
274
|
+
if (__hasOwnProp$Y.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
275
275
|
target[prop] = source[prop];
|
|
276
|
-
if (source != null && __getOwnPropSymbols$
|
|
277
|
-
for (var prop of __getOwnPropSymbols$
|
|
278
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
276
|
+
if (source != null && __getOwnPropSymbols$Y)
|
|
277
|
+
for (var prop of __getOwnPropSymbols$Y(source)) {
|
|
278
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$Y.call(source, prop))
|
|
279
279
|
target[prop] = source[prop];
|
|
280
280
|
}
|
|
281
281
|
return target;
|
|
@@ -293,7 +293,7 @@ const BaseIcon = React__default.forwardRef(
|
|
|
293
293
|
prefixNode,
|
|
294
294
|
suffixIconSrc: SuffixSrc,
|
|
295
295
|
src: Src
|
|
296
|
-
} = _a, HTMLSpanElementProps = __objRest$
|
|
296
|
+
} = _a, HTMLSpanElementProps = __objRest$z(_a, [
|
|
297
297
|
"alt",
|
|
298
298
|
"className",
|
|
299
299
|
"width",
|
|
@@ -307,10 +307,10 @@ const BaseIcon = React__default.forwardRef(
|
|
|
307
307
|
]);
|
|
308
308
|
return /* @__PURE__ */ React__default.createElement(
|
|
309
309
|
"span",
|
|
310
|
-
__spreadValues$
|
|
310
|
+
__spreadValues$W({
|
|
311
311
|
ref,
|
|
312
312
|
className,
|
|
313
|
-
style: _.pickBy(__spreadValues$
|
|
313
|
+
style: _.pickBy(__spreadValues$W({ cursor }, style))
|
|
314
314
|
}, HTMLSpanElementProps),
|
|
315
315
|
prefixNode,
|
|
316
316
|
/* @__PURE__ */ React__default.createElement("span", { className: "icon-inner" }, typeof Src === "string" ? /* @__PURE__ */ React__default.createElement("img", { alt, src: Src, width, height }) : /* @__PURE__ */ React__default.createElement(SVGUniqueID, null, Src({ width, height }))),
|
|
@@ -320,31 +320,31 @@ const BaseIcon = React__default.forwardRef(
|
|
|
320
320
|
}
|
|
321
321
|
);
|
|
322
322
|
|
|
323
|
-
var __defProp$
|
|
323
|
+
var __defProp$V = Object.defineProperty;
|
|
324
324
|
var __defProps$D = Object.defineProperties;
|
|
325
325
|
var __getOwnPropDescs$D = Object.getOwnPropertyDescriptors;
|
|
326
|
-
var __getOwnPropSymbols$
|
|
327
|
-
var __hasOwnProp$
|
|
328
|
-
var __propIsEnum$
|
|
329
|
-
var __defNormalProp$
|
|
326
|
+
var __getOwnPropSymbols$X = Object.getOwnPropertySymbols;
|
|
327
|
+
var __hasOwnProp$X = Object.prototype.hasOwnProperty;
|
|
328
|
+
var __propIsEnum$X = Object.prototype.propertyIsEnumerable;
|
|
329
|
+
var __defNormalProp$V = (obj, key, value) => key in obj ? __defProp$V(obj, key, {
|
|
330
330
|
enumerable: true,
|
|
331
331
|
configurable: true,
|
|
332
332
|
writable: true,
|
|
333
333
|
value
|
|
334
334
|
}) : obj[key] = value;
|
|
335
|
-
var __spreadValues$
|
|
336
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
337
|
-
if (__getOwnPropSymbols$
|
|
338
|
-
if (__propIsEnum$
|
|
335
|
+
var __spreadValues$V = (a, b) => {
|
|
336
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$X.call(b, prop)) __defNormalProp$V(a, prop, b[prop]);
|
|
337
|
+
if (__getOwnPropSymbols$X) for (var prop of __getOwnPropSymbols$X(b)) {
|
|
338
|
+
if (__propIsEnum$X.call(b, prop)) __defNormalProp$V(a, prop, b[prop]);
|
|
339
339
|
}
|
|
340
340
|
return a;
|
|
341
341
|
};
|
|
342
342
|
var __spreadProps$D = (a, b) => __defProps$D(a, __getOwnPropDescs$D(b));
|
|
343
|
-
var __objRest$
|
|
343
|
+
var __objRest$y = (source, exclude) => {
|
|
344
344
|
var target = {};
|
|
345
|
-
for (var prop in source) if (__hasOwnProp$
|
|
346
|
-
if (source != null && __getOwnPropSymbols$
|
|
347
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
345
|
+
for (var prop in source) if (__hasOwnProp$X.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
346
|
+
if (source != null && __getOwnPropSymbols$X) for (var prop of __getOwnPropSymbols$X(source)) {
|
|
347
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$X.call(source, prop)) target[prop] = source[prop];
|
|
348
348
|
}
|
|
349
349
|
return target;
|
|
350
350
|
};
|
|
@@ -368,7 +368,7 @@ const Icon = React__default.forwardRef((props, ref) => {
|
|
|
368
368
|
prefix,
|
|
369
369
|
suffix
|
|
370
370
|
} = _a,
|
|
371
|
-
restProps = __objRest$
|
|
371
|
+
restProps = __objRest$y(_a, ["src", "hoverSrc", "active", "activeSrc", "onMouseEnter", "onMouseLeave", "onMouseMove", "className", "iconWidth", "iconHeight", "cursor", "style", "isRotate", "prefix", "suffix"]);
|
|
372
372
|
const [hover, setHover] = useState(false);
|
|
373
373
|
const _src = useMemo(() => {
|
|
374
374
|
if (active && activeSrc) {
|
|
@@ -396,14 +396,14 @@ const Icon = React__default.forwardRef((props, ref) => {
|
|
|
396
396
|
}
|
|
397
397
|
return src2;
|
|
398
398
|
}, [active, hover, suffix]);
|
|
399
|
-
return /* @__PURE__ */React__default.createElement(BaseIcon, __spreadProps$D(__spreadValues$
|
|
399
|
+
return /* @__PURE__ */React__default.createElement(BaseIcon, __spreadProps$D(__spreadValues$V({
|
|
400
400
|
src: _src,
|
|
401
401
|
className: cs(IconWrapper, "icon-wrapper", className, isRotate && "is-rotate"),
|
|
402
402
|
suffixIconSrc,
|
|
403
403
|
height: iconHeight,
|
|
404
404
|
width: iconWidth,
|
|
405
405
|
prefixNode: prefix,
|
|
406
|
-
style: _.pickBy(__spreadValues$
|
|
406
|
+
style: _.pickBy(__spreadValues$V({
|
|
407
407
|
cursor
|
|
408
408
|
}, style))
|
|
409
409
|
}, restProps), {
|
|
@@ -428,31 +428,31 @@ const Icon = React__default.forwardRef((props, ref) => {
|
|
|
428
428
|
}));
|
|
429
429
|
});
|
|
430
430
|
|
|
431
|
-
var __defProp$
|
|
431
|
+
var __defProp$U = Object.defineProperty;
|
|
432
432
|
var __defProps$C = Object.defineProperties;
|
|
433
433
|
var __getOwnPropDescs$C = Object.getOwnPropertyDescriptors;
|
|
434
|
-
var __getOwnPropSymbols$
|
|
435
|
-
var __hasOwnProp$
|
|
436
|
-
var __propIsEnum$
|
|
437
|
-
var __defNormalProp$
|
|
434
|
+
var __getOwnPropSymbols$W = Object.getOwnPropertySymbols;
|
|
435
|
+
var __hasOwnProp$W = Object.prototype.hasOwnProperty;
|
|
436
|
+
var __propIsEnum$W = Object.prototype.propertyIsEnumerable;
|
|
437
|
+
var __defNormalProp$U = (obj, key, value) => key in obj ? __defProp$U(obj, key, {
|
|
438
438
|
enumerable: true,
|
|
439
439
|
configurable: true,
|
|
440
440
|
writable: true,
|
|
441
441
|
value
|
|
442
442
|
}) : obj[key] = value;
|
|
443
|
-
var __spreadValues$
|
|
444
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
445
|
-
if (__getOwnPropSymbols$
|
|
446
|
-
if (__propIsEnum$
|
|
443
|
+
var __spreadValues$U = (a, b) => {
|
|
444
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$W.call(b, prop)) __defNormalProp$U(a, prop, b[prop]);
|
|
445
|
+
if (__getOwnPropSymbols$W) for (var prop of __getOwnPropSymbols$W(b)) {
|
|
446
|
+
if (__propIsEnum$W.call(b, prop)) __defNormalProp$U(a, prop, b[prop]);
|
|
447
447
|
}
|
|
448
448
|
return a;
|
|
449
449
|
};
|
|
450
450
|
var __spreadProps$C = (a, b) => __defProps$C(a, __getOwnPropDescs$C(b));
|
|
451
|
-
var __objRest$
|
|
451
|
+
var __objRest$x = (source, exclude) => {
|
|
452
452
|
var target = {};
|
|
453
|
-
for (var prop in source) if (__hasOwnProp$
|
|
454
|
-
if (source != null && __getOwnPropSymbols$
|
|
455
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
453
|
+
for (var prop in source) if (__hasOwnProp$W.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
454
|
+
if (source != null && __getOwnPropSymbols$W) for (var prop of __getOwnPropSymbols$W(source)) {
|
|
455
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$W.call(source, prop)) target[prop] = source[prop];
|
|
456
456
|
}
|
|
457
457
|
return target;
|
|
458
458
|
};
|
|
@@ -470,13 +470,13 @@ const Alert = _a => {
|
|
|
470
470
|
action,
|
|
471
471
|
message
|
|
472
472
|
} = _b,
|
|
473
|
-
props = __objRest$
|
|
473
|
+
props = __objRest$x(_b, ["type", "icon", "showIcon", "className", "onClose", "closeText", "action", "message"]);
|
|
474
474
|
const _icon = /* @__PURE__ */React__default.createElement(Icon, {
|
|
475
475
|
alt: type,
|
|
476
476
|
src: getAlertIcon(type)
|
|
477
477
|
});
|
|
478
478
|
const _type = type === "normal" ? "info" : type;
|
|
479
|
-
return /* @__PURE__ */React__default.createElement(Alert$1, __spreadProps$C(__spreadValues$
|
|
479
|
+
return /* @__PURE__ */React__default.createElement(Alert$1, __spreadProps$C(__spreadValues$U({}, props), {
|
|
480
480
|
className: cs(AlertStyle, type ? `alert-${type}` : "", className, {
|
|
481
481
|
action
|
|
482
482
|
}),
|
|
@@ -514,42 +514,42 @@ const Arch = (props) => {
|
|
|
514
514
|
return /* @__PURE__ */ React__default.createElement("span", null, text);
|
|
515
515
|
};
|
|
516
516
|
|
|
517
|
-
var __defProp$
|
|
517
|
+
var __defProp$T = Object.defineProperty;
|
|
518
518
|
var __defProps$B = Object.defineProperties;
|
|
519
519
|
var __getOwnPropDescs$B = Object.getOwnPropertyDescriptors;
|
|
520
|
-
var __getOwnPropSymbols$
|
|
521
|
-
var __hasOwnProp$
|
|
522
|
-
var __propIsEnum$
|
|
523
|
-
var __defNormalProp$
|
|
524
|
-
var __spreadValues$
|
|
520
|
+
var __getOwnPropSymbols$V = Object.getOwnPropertySymbols;
|
|
521
|
+
var __hasOwnProp$V = Object.prototype.hasOwnProperty;
|
|
522
|
+
var __propIsEnum$V = Object.prototype.propertyIsEnumerable;
|
|
523
|
+
var __defNormalProp$T = (obj, key, value) => key in obj ? __defProp$T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
524
|
+
var __spreadValues$T = (a, b) => {
|
|
525
525
|
for (var prop in b || (b = {}))
|
|
526
|
-
if (__hasOwnProp$
|
|
527
|
-
__defNormalProp$
|
|
528
|
-
if (__getOwnPropSymbols$
|
|
529
|
-
for (var prop of __getOwnPropSymbols$
|
|
530
|
-
if (__propIsEnum$
|
|
531
|
-
__defNormalProp$
|
|
526
|
+
if (__hasOwnProp$V.call(b, prop))
|
|
527
|
+
__defNormalProp$T(a, prop, b[prop]);
|
|
528
|
+
if (__getOwnPropSymbols$V)
|
|
529
|
+
for (var prop of __getOwnPropSymbols$V(b)) {
|
|
530
|
+
if (__propIsEnum$V.call(b, prop))
|
|
531
|
+
__defNormalProp$T(a, prop, b[prop]);
|
|
532
532
|
}
|
|
533
533
|
return a;
|
|
534
534
|
};
|
|
535
535
|
var __spreadProps$B = (a, b) => __defProps$B(a, __getOwnPropDescs$B(b));
|
|
536
|
-
var __objRest$
|
|
536
|
+
var __objRest$w = (source, exclude) => {
|
|
537
537
|
var target = {};
|
|
538
538
|
for (var prop in source)
|
|
539
|
-
if (__hasOwnProp$
|
|
539
|
+
if (__hasOwnProp$V.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
540
540
|
target[prop] = source[prop];
|
|
541
|
-
if (source != null && __getOwnPropSymbols$
|
|
542
|
-
for (var prop of __getOwnPropSymbols$
|
|
543
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
541
|
+
if (source != null && __getOwnPropSymbols$V)
|
|
542
|
+
for (var prop of __getOwnPropSymbols$V(source)) {
|
|
543
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$V.call(source, prop))
|
|
544
544
|
target[prop] = source[prop];
|
|
545
545
|
}
|
|
546
546
|
return target;
|
|
547
547
|
};
|
|
548
548
|
const Badge = (_a) => {
|
|
549
|
-
var _b = _a, { type = "error", className } = _b, props = __objRest$
|
|
549
|
+
var _b = _a, { type = "error", className } = _b, props = __objRest$w(_b, ["type", "className"]);
|
|
550
550
|
return /* @__PURE__ */ React__default.createElement(
|
|
551
551
|
Badge$1,
|
|
552
|
-
__spreadProps$B(__spreadValues$
|
|
552
|
+
__spreadProps$B(__spreadValues$T({
|
|
553
553
|
className: cx(`badge-${type}`, className)
|
|
554
554
|
}, props), {
|
|
555
555
|
showZero: false
|
|
@@ -569,19 +569,19 @@ const Empty = (props) => {
|
|
|
569
569
|
return /* @__PURE__ */ React__default.createElement("span", { className, style }, "-");
|
|
570
570
|
};
|
|
571
571
|
|
|
572
|
-
var __defProp$
|
|
573
|
-
var __getOwnPropSymbols$
|
|
574
|
-
var __hasOwnProp$
|
|
575
|
-
var __propIsEnum$
|
|
576
|
-
var __defNormalProp$
|
|
577
|
-
var __spreadValues$
|
|
572
|
+
var __defProp$S = Object.defineProperty;
|
|
573
|
+
var __getOwnPropSymbols$U = Object.getOwnPropertySymbols;
|
|
574
|
+
var __hasOwnProp$U = Object.prototype.hasOwnProperty;
|
|
575
|
+
var __propIsEnum$U = Object.prototype.propertyIsEnumerable;
|
|
576
|
+
var __defNormalProp$S = (obj, key, value) => key in obj ? __defProp$S(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
577
|
+
var __spreadValues$S = (a, b) => {
|
|
578
578
|
for (var prop in b || (b = {}))
|
|
579
|
-
if (__hasOwnProp$
|
|
580
|
-
__defNormalProp$
|
|
581
|
-
if (__getOwnPropSymbols$
|
|
582
|
-
for (var prop of __getOwnPropSymbols$
|
|
583
|
-
if (__propIsEnum$
|
|
584
|
-
__defNormalProp$
|
|
579
|
+
if (__hasOwnProp$U.call(b, prop))
|
|
580
|
+
__defNormalProp$S(a, prop, b[prop]);
|
|
581
|
+
if (__getOwnPropSymbols$U)
|
|
582
|
+
for (var prop of __getOwnPropSymbols$U(b)) {
|
|
583
|
+
if (__propIsEnum$U.call(b, prop))
|
|
584
|
+
__defNormalProp$S(a, prop, b[prop]);
|
|
585
585
|
}
|
|
586
586
|
return a;
|
|
587
587
|
};
|
|
@@ -593,25 +593,25 @@ const Bit = ({
|
|
|
593
593
|
emptyProps
|
|
594
594
|
}) => {
|
|
595
595
|
if (isEmpty(rawValue)) {
|
|
596
|
-
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$
|
|
596
|
+
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$S({}, emptyProps));
|
|
597
597
|
}
|
|
598
598
|
const { value, unit } = formatBits(rawValue, decimals);
|
|
599
599
|
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
600
600
|
};
|
|
601
601
|
|
|
602
|
-
var __defProp$
|
|
603
|
-
var __getOwnPropSymbols$
|
|
604
|
-
var __hasOwnProp$
|
|
605
|
-
var __propIsEnum$
|
|
606
|
-
var __defNormalProp$
|
|
607
|
-
var __spreadValues$
|
|
602
|
+
var __defProp$R = Object.defineProperty;
|
|
603
|
+
var __getOwnPropSymbols$T = Object.getOwnPropertySymbols;
|
|
604
|
+
var __hasOwnProp$T = Object.prototype.hasOwnProperty;
|
|
605
|
+
var __propIsEnum$T = Object.prototype.propertyIsEnumerable;
|
|
606
|
+
var __defNormalProp$R = (obj, key, value) => key in obj ? __defProp$R(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
607
|
+
var __spreadValues$R = (a, b) => {
|
|
608
608
|
for (var prop in b || (b = {}))
|
|
609
|
-
if (__hasOwnProp$
|
|
610
|
-
__defNormalProp$
|
|
611
|
-
if (__getOwnPropSymbols$
|
|
612
|
-
for (var prop of __getOwnPropSymbols$
|
|
613
|
-
if (__propIsEnum$
|
|
614
|
-
__defNormalProp$
|
|
609
|
+
if (__hasOwnProp$T.call(b, prop))
|
|
610
|
+
__defNormalProp$R(a, prop, b[prop]);
|
|
611
|
+
if (__getOwnPropSymbols$T)
|
|
612
|
+
for (var prop of __getOwnPropSymbols$T(b)) {
|
|
613
|
+
if (__propIsEnum$T.call(b, prop))
|
|
614
|
+
__defNormalProp$R(a, prop, b[prop]);
|
|
615
615
|
}
|
|
616
616
|
return a;
|
|
617
617
|
};
|
|
@@ -623,25 +623,25 @@ const BitPerSeconds = ({
|
|
|
623
623
|
emptyProps
|
|
624
624
|
}) => {
|
|
625
625
|
if (isEmpty(rawValue)) {
|
|
626
|
-
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$
|
|
626
|
+
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$R({}, emptyProps));
|
|
627
627
|
}
|
|
628
628
|
const { value, unit } = formatBitPerSecond(rawValue, decimals);
|
|
629
629
|
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
630
630
|
};
|
|
631
631
|
|
|
632
|
-
var __defProp$
|
|
633
|
-
var __getOwnPropSymbols$
|
|
634
|
-
var __hasOwnProp$
|
|
635
|
-
var __propIsEnum$
|
|
636
|
-
var __defNormalProp$
|
|
637
|
-
var __spreadValues$
|
|
632
|
+
var __defProp$Q = Object.defineProperty;
|
|
633
|
+
var __getOwnPropSymbols$S = Object.getOwnPropertySymbols;
|
|
634
|
+
var __hasOwnProp$S = Object.prototype.hasOwnProperty;
|
|
635
|
+
var __propIsEnum$S = Object.prototype.propertyIsEnumerable;
|
|
636
|
+
var __defNormalProp$Q = (obj, key, value) => key in obj ? __defProp$Q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
637
|
+
var __spreadValues$Q = (a, b) => {
|
|
638
638
|
for (var prop in b || (b = {}))
|
|
639
|
-
if (__hasOwnProp$
|
|
640
|
-
__defNormalProp$
|
|
641
|
-
if (__getOwnPropSymbols$
|
|
642
|
-
for (var prop of __getOwnPropSymbols$
|
|
643
|
-
if (__propIsEnum$
|
|
644
|
-
__defNormalProp$
|
|
639
|
+
if (__hasOwnProp$S.call(b, prop))
|
|
640
|
+
__defNormalProp$Q(a, prop, b[prop]);
|
|
641
|
+
if (__getOwnPropSymbols$S)
|
|
642
|
+
for (var prop of __getOwnPropSymbols$S(b)) {
|
|
643
|
+
if (__propIsEnum$S.call(b, prop))
|
|
644
|
+
__defNormalProp$Q(a, prop, b[prop]);
|
|
645
645
|
}
|
|
646
646
|
return a;
|
|
647
647
|
};
|
|
@@ -653,7 +653,7 @@ const Bps = ({
|
|
|
653
653
|
emptyProps
|
|
654
654
|
}) => {
|
|
655
655
|
if (isEmpty(rawValue)) {
|
|
656
|
-
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$
|
|
656
|
+
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$Q({}, emptyProps));
|
|
657
657
|
}
|
|
658
658
|
const { value, unit } = formatBps(rawValue, decimals);
|
|
659
659
|
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
@@ -794,28 +794,28 @@ const HoverableElement = (props) => {
|
|
|
794
794
|
return icon != null ? React__default.cloneElement(icon, { className }) : null;
|
|
795
795
|
};
|
|
796
796
|
|
|
797
|
-
var __defProp$
|
|
798
|
-
var __getOwnPropSymbols$
|
|
799
|
-
var __hasOwnProp$
|
|
800
|
-
var __propIsEnum$
|
|
801
|
-
var __defNormalProp$
|
|
797
|
+
var __defProp$P = Object.defineProperty;
|
|
798
|
+
var __getOwnPropSymbols$R = Object.getOwnPropertySymbols;
|
|
799
|
+
var __hasOwnProp$R = Object.prototype.hasOwnProperty;
|
|
800
|
+
var __propIsEnum$R = Object.prototype.propertyIsEnumerable;
|
|
801
|
+
var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, {
|
|
802
802
|
enumerable: true,
|
|
803
803
|
configurable: true,
|
|
804
804
|
writable: true,
|
|
805
805
|
value
|
|
806
806
|
}) : obj[key] = value;
|
|
807
|
-
var __spreadValues$
|
|
808
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
809
|
-
if (__getOwnPropSymbols$
|
|
810
|
-
if (__propIsEnum$
|
|
807
|
+
var __spreadValues$P = (a, b) => {
|
|
808
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$R.call(b, prop)) __defNormalProp$P(a, prop, b[prop]);
|
|
809
|
+
if (__getOwnPropSymbols$R) for (var prop of __getOwnPropSymbols$R(b)) {
|
|
810
|
+
if (__propIsEnum$R.call(b, prop)) __defNormalProp$P(a, prop, b[prop]);
|
|
811
811
|
}
|
|
812
812
|
return a;
|
|
813
813
|
};
|
|
814
|
-
var __objRest$
|
|
814
|
+
var __objRest$v = (source, exclude) => {
|
|
815
815
|
var target = {};
|
|
816
|
-
for (var prop in source) if (__hasOwnProp$
|
|
817
|
-
if (source != null && __getOwnPropSymbols$
|
|
818
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
816
|
+
for (var prop in source) if (__hasOwnProp$R.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
817
|
+
if (source != null && __getOwnPropSymbols$R) for (var prop of __getOwnPropSymbols$R(source)) {
|
|
818
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$R.call(source, prop)) target[prop] = source[prop];
|
|
819
819
|
}
|
|
820
820
|
return target;
|
|
821
821
|
};
|
|
@@ -838,12 +838,12 @@ const Button = React__default.forwardRef((props, ref) => {
|
|
|
838
838
|
onMouseLeave,
|
|
839
839
|
size = "middle"
|
|
840
840
|
} = _a,
|
|
841
|
-
restProps = __objRest$
|
|
841
|
+
restProps = __objRest$v(_a, ["type", "className", "children", "prefixIcon", "hoverPrefixIcon", "suffixIcon", "hoverSuffixIcon", "onMouseEnter", "onMouseLeave", "size"]);
|
|
842
842
|
const [status, setStatus] = useState("normal");
|
|
843
843
|
const hasIcon = prefixIcon || suffixIcon;
|
|
844
844
|
const hasHoverIcon = hoverPrefixIcon || hoverSuffixIcon;
|
|
845
845
|
const onlyIcon = !children && (prefixIcon || suffixIcon);
|
|
846
|
-
return /* @__PURE__ */React__default.createElement(Button$1, __spreadValues$
|
|
846
|
+
return /* @__PURE__ */React__default.createElement(Button$1, __spreadValues$P({
|
|
847
847
|
ref,
|
|
848
848
|
className: cs(className, ButtonStyle$1, type === "link" && NoPadding, size === "large" && Typo.Label.l1_regular_title, size === "middle" && Typo.Label.l2_regular_title, size === "small" && Typo.Label.l3_regular_title, type && `ant-btn-${type}`, onlyIcon && "ant-btn-icon-only"),
|
|
849
849
|
type: isAntdButtonTypes(type) ? type : void 0,
|
|
@@ -873,33 +873,33 @@ const Button = React__default.forwardRef((props, ref) => {
|
|
|
873
873
|
}));
|
|
874
874
|
});
|
|
875
875
|
|
|
876
|
-
var __defProp$
|
|
876
|
+
var __defProp$O = Object.defineProperty;
|
|
877
877
|
var __defProps$A = Object.defineProperties;
|
|
878
878
|
var __getOwnPropDescs$A = Object.getOwnPropertyDescriptors;
|
|
879
|
-
var __getOwnPropSymbols$
|
|
880
|
-
var __hasOwnProp$
|
|
881
|
-
var __propIsEnum$
|
|
882
|
-
var __defNormalProp$
|
|
883
|
-
var __spreadValues$
|
|
879
|
+
var __getOwnPropSymbols$Q = Object.getOwnPropertySymbols;
|
|
880
|
+
var __hasOwnProp$Q = Object.prototype.hasOwnProperty;
|
|
881
|
+
var __propIsEnum$Q = Object.prototype.propertyIsEnumerable;
|
|
882
|
+
var __defNormalProp$O = (obj, key, value) => key in obj ? __defProp$O(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
883
|
+
var __spreadValues$O = (a, b) => {
|
|
884
884
|
for (var prop in b || (b = {}))
|
|
885
|
-
if (__hasOwnProp$
|
|
886
|
-
__defNormalProp$
|
|
887
|
-
if (__getOwnPropSymbols$
|
|
888
|
-
for (var prop of __getOwnPropSymbols$
|
|
889
|
-
if (__propIsEnum$
|
|
890
|
-
__defNormalProp$
|
|
885
|
+
if (__hasOwnProp$Q.call(b, prop))
|
|
886
|
+
__defNormalProp$O(a, prop, b[prop]);
|
|
887
|
+
if (__getOwnPropSymbols$Q)
|
|
888
|
+
for (var prop of __getOwnPropSymbols$Q(b)) {
|
|
889
|
+
if (__propIsEnum$Q.call(b, prop))
|
|
890
|
+
__defNormalProp$O(a, prop, b[prop]);
|
|
891
891
|
}
|
|
892
892
|
return a;
|
|
893
893
|
};
|
|
894
894
|
var __spreadProps$A = (a, b) => __defProps$A(a, __getOwnPropDescs$A(b));
|
|
895
|
-
var __objRest$
|
|
895
|
+
var __objRest$u = (source, exclude) => {
|
|
896
896
|
var target = {};
|
|
897
897
|
for (var prop in source)
|
|
898
|
-
if (__hasOwnProp$
|
|
898
|
+
if (__hasOwnProp$Q.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
899
899
|
target[prop] = source[prop];
|
|
900
|
-
if (source != null && __getOwnPropSymbols$
|
|
901
|
-
for (var prop of __getOwnPropSymbols$
|
|
902
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
900
|
+
if (source != null && __getOwnPropSymbols$Q)
|
|
901
|
+
for (var prop of __getOwnPropSymbols$Q(source)) {
|
|
902
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$Q.call(source, prop))
|
|
903
903
|
target[prop] = source[prop];
|
|
904
904
|
}
|
|
905
905
|
return target;
|
|
@@ -911,7 +911,7 @@ const Tooltip = (props) => {
|
|
|
911
911
|
overlayClassName,
|
|
912
912
|
overlayStyle,
|
|
913
913
|
children
|
|
914
|
-
} = _a, restProps = __objRest$
|
|
914
|
+
} = _a, restProps = __objRest$u(_a, [
|
|
915
915
|
"followMouse",
|
|
916
916
|
"overlayClassName",
|
|
917
917
|
"overlayStyle",
|
|
@@ -953,10 +953,10 @@ const Tooltip = (props) => {
|
|
|
953
953
|
}, [followMouse, onmousemove, uniqueContainerClass]);
|
|
954
954
|
return /* @__PURE__ */ React__default.createElement(
|
|
955
955
|
Tooltip$1,
|
|
956
|
-
__spreadProps$A(__spreadValues$
|
|
956
|
+
__spreadProps$A(__spreadValues$O({}, restProps), {
|
|
957
957
|
overlayClassName: followMouse ? cs(overlayClassName, uniquePopupClass) : overlayClassName,
|
|
958
958
|
children: _children,
|
|
959
|
-
overlayStyle: followMouse ? __spreadValues$
|
|
959
|
+
overlayStyle: followMouse ? __spreadValues$O({
|
|
960
960
|
transform: "translate(-50%, -100%)",
|
|
961
961
|
pointerEvents: "none"
|
|
962
962
|
}, overlayStyle) : overlayStyle
|
|
@@ -964,28 +964,28 @@ const Tooltip = (props) => {
|
|
|
964
964
|
);
|
|
965
965
|
};
|
|
966
966
|
|
|
967
|
-
var __defProp$
|
|
968
|
-
var __getOwnPropSymbols$
|
|
969
|
-
var __hasOwnProp$
|
|
970
|
-
var __propIsEnum$
|
|
971
|
-
var __defNormalProp$
|
|
967
|
+
var __defProp$N = Object.defineProperty;
|
|
968
|
+
var __getOwnPropSymbols$P = Object.getOwnPropertySymbols;
|
|
969
|
+
var __hasOwnProp$P = Object.prototype.hasOwnProperty;
|
|
970
|
+
var __propIsEnum$P = Object.prototype.propertyIsEnumerable;
|
|
971
|
+
var __defNormalProp$N = (obj, key, value) => key in obj ? __defProp$N(obj, key, {
|
|
972
972
|
enumerable: true,
|
|
973
973
|
configurable: true,
|
|
974
974
|
writable: true,
|
|
975
975
|
value
|
|
976
976
|
}) : obj[key] = value;
|
|
977
|
-
var __spreadValues$
|
|
978
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
979
|
-
if (__getOwnPropSymbols$
|
|
980
|
-
if (__propIsEnum$
|
|
977
|
+
var __spreadValues$N = (a, b) => {
|
|
978
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$P.call(b, prop)) __defNormalProp$N(a, prop, b[prop]);
|
|
979
|
+
if (__getOwnPropSymbols$P) for (var prop of __getOwnPropSymbols$P(b)) {
|
|
980
|
+
if (__propIsEnum$P.call(b, prop)) __defNormalProp$N(a, prop, b[prop]);
|
|
981
981
|
}
|
|
982
982
|
return a;
|
|
983
983
|
};
|
|
984
|
-
var __objRest$
|
|
984
|
+
var __objRest$t = (source, exclude) => {
|
|
985
985
|
var target = {};
|
|
986
|
-
for (var prop in source) if (__hasOwnProp$
|
|
987
|
-
if (source != null && __getOwnPropSymbols$
|
|
988
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
986
|
+
for (var prop in source) if (__hasOwnProp$P.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
987
|
+
if (source != null && __getOwnPropSymbols$P) for (var prop of __getOwnPropSymbols$P(source)) {
|
|
988
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$P.call(source, prop)) target[prop] = source[prop];
|
|
989
989
|
}
|
|
990
990
|
return target;
|
|
991
991
|
};
|
|
@@ -1020,7 +1020,7 @@ const ButtonGroup = React__default.forwardRef((props, ref) => {
|
|
|
1020
1020
|
hideTitle,
|
|
1021
1021
|
title
|
|
1022
1022
|
} = _a,
|
|
1023
|
-
buttonPropArgs = __objRest$
|
|
1023
|
+
buttonPropArgs = __objRest$t(_a, ["key", "icon", "type", "children", "danger", "ghost", "className", "hideTitle", "title"]);
|
|
1024
1024
|
if (hideTitle) {
|
|
1025
1025
|
return /* @__PURE__ */React__default.createElement(Tooltip, {
|
|
1026
1026
|
key: key || index,
|
|
@@ -1029,7 +1029,7 @@ const ButtonGroup = React__default.forwardRef((props, ref) => {
|
|
|
1029
1029
|
style: {
|
|
1030
1030
|
cursor: "not-allowed"
|
|
1031
1031
|
}
|
|
1032
|
-
}, /* @__PURE__ */React__default.createElement(Button, __spreadValues$
|
|
1032
|
+
}, /* @__PURE__ */React__default.createElement(Button, __spreadValues$N({
|
|
1033
1033
|
style: {
|
|
1034
1034
|
pointerEvents: "none"
|
|
1035
1035
|
},
|
|
@@ -1039,7 +1039,7 @@ const ButtonGroup = React__default.forwardRef((props, ref) => {
|
|
|
1039
1039
|
ghost,
|
|
1040
1040
|
className: cx(ButtonStyle, className2),
|
|
1041
1041
|
prefixIcon: icon
|
|
1042
|
-
}, buttonPropArgs))) : /* @__PURE__ */React__default.createElement(Button, __spreadValues$
|
|
1042
|
+
}, buttonPropArgs))) : /* @__PURE__ */React__default.createElement(Button, __spreadValues$N({
|
|
1043
1043
|
type,
|
|
1044
1044
|
size,
|
|
1045
1045
|
danger,
|
|
@@ -1048,7 +1048,7 @@ const ButtonGroup = React__default.forwardRef((props, ref) => {
|
|
|
1048
1048
|
prefixIcon: icon
|
|
1049
1049
|
}, buttonPropArgs)));
|
|
1050
1050
|
}
|
|
1051
|
-
return /* @__PURE__ */React__default.createElement(Button, __spreadValues$
|
|
1051
|
+
return /* @__PURE__ */React__default.createElement(Button, __spreadValues$N({
|
|
1052
1052
|
key: key || index,
|
|
1053
1053
|
type,
|
|
1054
1054
|
size,
|
|
@@ -1062,19 +1062,19 @@ const ButtonGroup = React__default.forwardRef((props, ref) => {
|
|
|
1062
1062
|
}));
|
|
1063
1063
|
});
|
|
1064
1064
|
|
|
1065
|
-
var __defProp$
|
|
1066
|
-
var __getOwnPropSymbols$
|
|
1067
|
-
var __hasOwnProp$
|
|
1068
|
-
var __propIsEnum$
|
|
1069
|
-
var __defNormalProp$
|
|
1070
|
-
var __spreadValues$
|
|
1065
|
+
var __defProp$M = Object.defineProperty;
|
|
1066
|
+
var __getOwnPropSymbols$O = Object.getOwnPropertySymbols;
|
|
1067
|
+
var __hasOwnProp$O = Object.prototype.hasOwnProperty;
|
|
1068
|
+
var __propIsEnum$O = Object.prototype.propertyIsEnumerable;
|
|
1069
|
+
var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1070
|
+
var __spreadValues$M = (a, b) => {
|
|
1071
1071
|
for (var prop in b || (b = {}))
|
|
1072
|
-
if (__hasOwnProp$
|
|
1073
|
-
__defNormalProp$
|
|
1074
|
-
if (__getOwnPropSymbols$
|
|
1075
|
-
for (var prop of __getOwnPropSymbols$
|
|
1076
|
-
if (__propIsEnum$
|
|
1077
|
-
__defNormalProp$
|
|
1072
|
+
if (__hasOwnProp$O.call(b, prop))
|
|
1073
|
+
__defNormalProp$M(a, prop, b[prop]);
|
|
1074
|
+
if (__getOwnPropSymbols$O)
|
|
1075
|
+
for (var prop of __getOwnPropSymbols$O(b)) {
|
|
1076
|
+
if (__propIsEnum$O.call(b, prop))
|
|
1077
|
+
__defNormalProp$M(a, prop, b[prop]);
|
|
1078
1078
|
}
|
|
1079
1079
|
return a;
|
|
1080
1080
|
};
|
|
@@ -1088,7 +1088,7 @@ const Byte = ({
|
|
|
1088
1088
|
}) => {
|
|
1089
1089
|
const { t } = useParrotTranslation();
|
|
1090
1090
|
if (isEmpty(rawValue)) {
|
|
1091
|
-
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$
|
|
1091
|
+
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$M({}, emptyProps));
|
|
1092
1092
|
}
|
|
1093
1093
|
if (rawValue === -1) {
|
|
1094
1094
|
return /* @__PURE__ */ React__default.createElement("span", null, t("common.calculation"));
|
|
@@ -1112,28 +1112,28 @@ const CardTitle = /*#__PURE__*/styled('div')({
|
|
|
1112
1112
|
propsAsIs: false
|
|
1113
1113
|
});
|
|
1114
1114
|
|
|
1115
|
-
var __defProp$
|
|
1116
|
-
var __getOwnPropSymbols$
|
|
1117
|
-
var __hasOwnProp$
|
|
1118
|
-
var __propIsEnum$
|
|
1119
|
-
var __defNormalProp$
|
|
1115
|
+
var __defProp$L = Object.defineProperty;
|
|
1116
|
+
var __getOwnPropSymbols$N = Object.getOwnPropertySymbols;
|
|
1117
|
+
var __hasOwnProp$N = Object.prototype.hasOwnProperty;
|
|
1118
|
+
var __propIsEnum$N = Object.prototype.propertyIsEnumerable;
|
|
1119
|
+
var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, {
|
|
1120
1120
|
enumerable: true,
|
|
1121
1121
|
configurable: true,
|
|
1122
1122
|
writable: true,
|
|
1123
1123
|
value
|
|
1124
1124
|
}) : obj[key] = value;
|
|
1125
|
-
var __spreadValues$
|
|
1126
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1127
|
-
if (__getOwnPropSymbols$
|
|
1128
|
-
if (__propIsEnum$
|
|
1125
|
+
var __spreadValues$L = (a, b) => {
|
|
1126
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$N.call(b, prop)) __defNormalProp$L(a, prop, b[prop]);
|
|
1127
|
+
if (__getOwnPropSymbols$N) for (var prop of __getOwnPropSymbols$N(b)) {
|
|
1128
|
+
if (__propIsEnum$N.call(b, prop)) __defNormalProp$L(a, prop, b[prop]);
|
|
1129
1129
|
}
|
|
1130
1130
|
return a;
|
|
1131
1131
|
};
|
|
1132
|
-
var __objRest$
|
|
1132
|
+
var __objRest$s = (source, exclude) => {
|
|
1133
1133
|
var target = {};
|
|
1134
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1135
|
-
if (source != null && __getOwnPropSymbols$
|
|
1136
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1134
|
+
for (var prop in source) if (__hasOwnProp$N.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1135
|
+
if (source != null && __getOwnPropSymbols$N) for (var prop of __getOwnPropSymbols$N(source)) {
|
|
1136
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$N.call(source, prop)) target[prop] = source[prop];
|
|
1137
1137
|
}
|
|
1138
1138
|
return target;
|
|
1139
1139
|
};
|
|
@@ -1145,8 +1145,8 @@ const Wrapper = forwardRef(props => {
|
|
|
1145
1145
|
className,
|
|
1146
1146
|
shadow
|
|
1147
1147
|
} = _a,
|
|
1148
|
-
otherProps = __objRest$
|
|
1149
|
-
return /* @__PURE__ */React__default.createElement("div", __spreadValues$
|
|
1148
|
+
otherProps = __objRest$s(_a, ["children", "className", "shadow"]);
|
|
1149
|
+
return /* @__PURE__ */React__default.createElement("div", __spreadValues$L({
|
|
1150
1150
|
className: cs({
|
|
1151
1151
|
[boxShadow]: shadow
|
|
1152
1152
|
}, className)
|
|
@@ -1159,33 +1159,33 @@ const CardWrapper = /*#__PURE__*/styled(_exp$3())({
|
|
|
1159
1159
|
propsAsIs: true
|
|
1160
1160
|
});
|
|
1161
1161
|
|
|
1162
|
-
var __defProp$
|
|
1162
|
+
var __defProp$K = Object.defineProperty;
|
|
1163
1163
|
var __defProps$z = Object.defineProperties;
|
|
1164
1164
|
var __getOwnPropDescs$z = Object.getOwnPropertyDescriptors;
|
|
1165
|
-
var __getOwnPropSymbols$
|
|
1166
|
-
var __hasOwnProp$
|
|
1167
|
-
var __propIsEnum$
|
|
1168
|
-
var __defNormalProp$
|
|
1169
|
-
var __spreadValues$
|
|
1165
|
+
var __getOwnPropSymbols$M = Object.getOwnPropertySymbols;
|
|
1166
|
+
var __hasOwnProp$M = Object.prototype.hasOwnProperty;
|
|
1167
|
+
var __propIsEnum$M = Object.prototype.propertyIsEnumerable;
|
|
1168
|
+
var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1169
|
+
var __spreadValues$K = (a, b) => {
|
|
1170
1170
|
for (var prop in b || (b = {}))
|
|
1171
|
-
if (__hasOwnProp$
|
|
1172
|
-
__defNormalProp$
|
|
1173
|
-
if (__getOwnPropSymbols$
|
|
1174
|
-
for (var prop of __getOwnPropSymbols$
|
|
1175
|
-
if (__propIsEnum$
|
|
1176
|
-
__defNormalProp$
|
|
1171
|
+
if (__hasOwnProp$M.call(b, prop))
|
|
1172
|
+
__defNormalProp$K(a, prop, b[prop]);
|
|
1173
|
+
if (__getOwnPropSymbols$M)
|
|
1174
|
+
for (var prop of __getOwnPropSymbols$M(b)) {
|
|
1175
|
+
if (__propIsEnum$M.call(b, prop))
|
|
1176
|
+
__defNormalProp$K(a, prop, b[prop]);
|
|
1177
1177
|
}
|
|
1178
1178
|
return a;
|
|
1179
1179
|
};
|
|
1180
1180
|
var __spreadProps$z = (a, b) => __defProps$z(a, __getOwnPropDescs$z(b));
|
|
1181
|
-
var __objRest$
|
|
1181
|
+
var __objRest$r = (source, exclude) => {
|
|
1182
1182
|
var target = {};
|
|
1183
1183
|
for (var prop in source)
|
|
1184
|
-
if (__hasOwnProp$
|
|
1184
|
+
if (__hasOwnProp$M.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1185
1185
|
target[prop] = source[prop];
|
|
1186
|
-
if (source != null && __getOwnPropSymbols$
|
|
1187
|
-
for (var prop of __getOwnPropSymbols$
|
|
1188
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1186
|
+
if (source != null && __getOwnPropSymbols$M)
|
|
1187
|
+
for (var prop of __getOwnPropSymbols$M(source)) {
|
|
1188
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$M.call(source, prop))
|
|
1189
1189
|
target[prop] = source[prop];
|
|
1190
1190
|
}
|
|
1191
1191
|
return target;
|
|
@@ -1200,7 +1200,7 @@ const Card = React__default.forwardRef(
|
|
|
1200
1200
|
defaultOpen = false,
|
|
1201
1201
|
hoverable,
|
|
1202
1202
|
shadow = true
|
|
1203
|
-
} = _a, domProps = __objRest$
|
|
1203
|
+
} = _a, domProps = __objRest$r(_a, [
|
|
1204
1204
|
"collapsible",
|
|
1205
1205
|
"title",
|
|
1206
1206
|
"subInfo",
|
|
@@ -1212,7 +1212,7 @@ const Card = React__default.forwardRef(
|
|
|
1212
1212
|
const [open, setOpen] = useState(defaultOpen);
|
|
1213
1213
|
return /* @__PURE__ */ React__default.createElement(
|
|
1214
1214
|
CardWrapper,
|
|
1215
|
-
__spreadProps$z(__spreadValues$
|
|
1215
|
+
__spreadProps$z(__spreadValues$K({
|
|
1216
1216
|
ref,
|
|
1217
1217
|
className: cs(["card-wrapper", className, hoverable && "hoverable"])
|
|
1218
1218
|
}, domProps), {
|
|
@@ -1241,31 +1241,31 @@ const Card = React__default.forwardRef(
|
|
|
1241
1241
|
}
|
|
1242
1242
|
);
|
|
1243
1243
|
|
|
1244
|
-
var __defProp$
|
|
1244
|
+
var __defProp$J = Object.defineProperty;
|
|
1245
1245
|
var __defProps$y = Object.defineProperties;
|
|
1246
1246
|
var __getOwnPropDescs$y = Object.getOwnPropertyDescriptors;
|
|
1247
|
-
var __getOwnPropSymbols$
|
|
1248
|
-
var __hasOwnProp$
|
|
1249
|
-
var __propIsEnum$
|
|
1250
|
-
var __defNormalProp$
|
|
1247
|
+
var __getOwnPropSymbols$L = Object.getOwnPropertySymbols;
|
|
1248
|
+
var __hasOwnProp$L = Object.prototype.hasOwnProperty;
|
|
1249
|
+
var __propIsEnum$L = Object.prototype.propertyIsEnumerable;
|
|
1250
|
+
var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, {
|
|
1251
1251
|
enumerable: true,
|
|
1252
1252
|
configurable: true,
|
|
1253
1253
|
writable: true,
|
|
1254
1254
|
value
|
|
1255
1255
|
}) : obj[key] = value;
|
|
1256
|
-
var __spreadValues$
|
|
1257
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1258
|
-
if (__getOwnPropSymbols$
|
|
1259
|
-
if (__propIsEnum$
|
|
1256
|
+
var __spreadValues$J = (a, b) => {
|
|
1257
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$L.call(b, prop)) __defNormalProp$J(a, prop, b[prop]);
|
|
1258
|
+
if (__getOwnPropSymbols$L) for (var prop of __getOwnPropSymbols$L(b)) {
|
|
1259
|
+
if (__propIsEnum$L.call(b, prop)) __defNormalProp$J(a, prop, b[prop]);
|
|
1260
1260
|
}
|
|
1261
1261
|
return a;
|
|
1262
1262
|
};
|
|
1263
1263
|
var __spreadProps$y = (a, b) => __defProps$y(a, __getOwnPropDescs$y(b));
|
|
1264
|
-
var __objRest$
|
|
1264
|
+
var __objRest$q = (source, exclude) => {
|
|
1265
1265
|
var target = {};
|
|
1266
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1267
|
-
if (source != null && __getOwnPropSymbols$
|
|
1268
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1266
|
+
for (var prop in source) if (__hasOwnProp$L.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1267
|
+
if (source != null && __getOwnPropSymbols$L) for (var prop of __getOwnPropSymbols$L(source)) {
|
|
1268
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$L.call(source, prop)) target[prop] = source[prop];
|
|
1269
1269
|
}
|
|
1270
1270
|
return target;
|
|
1271
1271
|
};
|
|
@@ -1278,8 +1278,8 @@ const Checkbox = _a => {
|
|
|
1278
1278
|
description,
|
|
1279
1279
|
compact
|
|
1280
1280
|
} = _b,
|
|
1281
|
-
props = __objRest$
|
|
1282
|
-
return /* @__PURE__ */React__default.createElement(Checkbox$1, __spreadProps$y(__spreadValues$
|
|
1281
|
+
props = __objRest$q(_b, ["className", "children", "description", "compact"]);
|
|
1282
|
+
return /* @__PURE__ */React__default.createElement(Checkbox$1, __spreadProps$y(__spreadValues$J({}, props), {
|
|
1283
1283
|
"data-test": props["data-test"] || props.value,
|
|
1284
1284
|
className: cs(className, CheckboxStyle, compact && "compact")
|
|
1285
1285
|
}), children ? /* @__PURE__ */React__default.createElement(React__default.Fragment, null, /* @__PURE__ */React__default.createElement("div", {
|
|
@@ -1357,39 +1357,39 @@ const ExpandableItem = props => {
|
|
|
1357
1357
|
}, children));
|
|
1358
1358
|
};
|
|
1359
1359
|
|
|
1360
|
-
var __defProp$
|
|
1361
|
-
var __getOwnPropSymbols$
|
|
1362
|
-
var __hasOwnProp$
|
|
1363
|
-
var __propIsEnum$
|
|
1364
|
-
var __defNormalProp$
|
|
1365
|
-
var __spreadValues$
|
|
1366
|
-
for (var prop in b || (b = {}))
|
|
1367
|
-
if (__hasOwnProp$
|
|
1368
|
-
__defNormalProp$
|
|
1369
|
-
if (__getOwnPropSymbols$
|
|
1370
|
-
for (var prop of __getOwnPropSymbols$
|
|
1371
|
-
if (__propIsEnum$
|
|
1372
|
-
__defNormalProp$
|
|
1360
|
+
var __defProp$I = Object.defineProperty;
|
|
1361
|
+
var __getOwnPropSymbols$K = Object.getOwnPropertySymbols;
|
|
1362
|
+
var __hasOwnProp$K = Object.prototype.hasOwnProperty;
|
|
1363
|
+
var __propIsEnum$K = Object.prototype.propertyIsEnumerable;
|
|
1364
|
+
var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1365
|
+
var __spreadValues$I = (a, b) => {
|
|
1366
|
+
for (var prop in b || (b = {}))
|
|
1367
|
+
if (__hasOwnProp$K.call(b, prop))
|
|
1368
|
+
__defNormalProp$I(a, prop, b[prop]);
|
|
1369
|
+
if (__getOwnPropSymbols$K)
|
|
1370
|
+
for (var prop of __getOwnPropSymbols$K(b)) {
|
|
1371
|
+
if (__propIsEnum$K.call(b, prop))
|
|
1372
|
+
__defNormalProp$I(a, prop, b[prop]);
|
|
1373
1373
|
}
|
|
1374
1374
|
return a;
|
|
1375
1375
|
};
|
|
1376
|
-
var __objRest$
|
|
1376
|
+
var __objRest$p = (source, exclude) => {
|
|
1377
1377
|
var target = {};
|
|
1378
1378
|
for (var prop in source)
|
|
1379
|
-
if (__hasOwnProp$
|
|
1379
|
+
if (__hasOwnProp$K.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1380
1380
|
target[prop] = source[prop];
|
|
1381
|
-
if (source != null && __getOwnPropSymbols$
|
|
1382
|
-
for (var prop of __getOwnPropSymbols$
|
|
1383
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1381
|
+
if (source != null && __getOwnPropSymbols$K)
|
|
1382
|
+
for (var prop of __getOwnPropSymbols$K(source)) {
|
|
1383
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$K.call(source, prop))
|
|
1384
1384
|
target[prop] = source[prop];
|
|
1385
1385
|
}
|
|
1386
1386
|
return target;
|
|
1387
1387
|
};
|
|
1388
1388
|
const FieldsBoolean = (_a) => {
|
|
1389
|
-
var _b = _a, { input, children } = _b, props = __objRest$
|
|
1389
|
+
var _b = _a, { input, children } = _b, props = __objRest$p(_b, ["input", "children"]);
|
|
1390
1390
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
1391
1391
|
Checkbox,
|
|
1392
|
-
__spreadValues$
|
|
1392
|
+
__spreadValues$I({
|
|
1393
1393
|
checked: Boolean(input.value),
|
|
1394
1394
|
onChange: (e) => input.onChange(e.target.checked)
|
|
1395
1395
|
}, props),
|
|
@@ -1414,17 +1414,17 @@ const FieldsDateTime = ({ input }) => /* @__PURE__ */ React__default.createEleme
|
|
|
1414
1414
|
}
|
|
1415
1415
|
));
|
|
1416
1416
|
|
|
1417
|
-
var __getOwnPropSymbols$
|
|
1418
|
-
var __hasOwnProp$
|
|
1419
|
-
var __propIsEnum$
|
|
1420
|
-
var __objRest$
|
|
1417
|
+
var __getOwnPropSymbols$J = Object.getOwnPropertySymbols;
|
|
1418
|
+
var __hasOwnProp$J = Object.prototype.hasOwnProperty;
|
|
1419
|
+
var __propIsEnum$J = Object.prototype.propertyIsEnumerable;
|
|
1420
|
+
var __objRest$o = (source, exclude) => {
|
|
1421
1421
|
var target = {};
|
|
1422
1422
|
for (var prop in source)
|
|
1423
|
-
if (__hasOwnProp$
|
|
1423
|
+
if (__hasOwnProp$J.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1424
1424
|
target[prop] = source[prop];
|
|
1425
|
-
if (source != null && __getOwnPropSymbols$
|
|
1426
|
-
for (var prop of __getOwnPropSymbols$
|
|
1427
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1425
|
+
if (source != null && __getOwnPropSymbols$J)
|
|
1426
|
+
for (var prop of __getOwnPropSymbols$J(source)) {
|
|
1427
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$J.call(source, prop))
|
|
1428
1428
|
target[prop] = source[prop];
|
|
1429
1429
|
}
|
|
1430
1430
|
return target;
|
|
@@ -1432,7 +1432,7 @@ var __objRest$n = (source, exclude) => {
|
|
|
1432
1432
|
const FieldsDateTimeRange = (_a) => {
|
|
1433
1433
|
var _b = _a, {
|
|
1434
1434
|
input
|
|
1435
|
-
} = _b, props = __objRest$
|
|
1435
|
+
} = _b, props = __objRest$o(_b, [
|
|
1436
1436
|
"input"
|
|
1437
1437
|
]);
|
|
1438
1438
|
var _a2, _b2;
|
|
@@ -1469,53 +1469,53 @@ const FullView = /*#__PURE__*/styled('div')({
|
|
|
1469
1469
|
const InputStyle = "ipd9bk";
|
|
1470
1470
|
const KitInputStyle = "kypn5o5";
|
|
1471
1471
|
|
|
1472
|
-
var __defProp$
|
|
1473
|
-
var __getOwnPropSymbols$
|
|
1474
|
-
var __hasOwnProp$
|
|
1475
|
-
var __propIsEnum$
|
|
1476
|
-
var __defNormalProp$
|
|
1477
|
-
var __spreadValues$
|
|
1472
|
+
var __defProp$H = Object.defineProperty;
|
|
1473
|
+
var __getOwnPropSymbols$I = Object.getOwnPropertySymbols;
|
|
1474
|
+
var __hasOwnProp$I = Object.prototype.hasOwnProperty;
|
|
1475
|
+
var __propIsEnum$I = Object.prototype.propertyIsEnumerable;
|
|
1476
|
+
var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1477
|
+
var __spreadValues$H = (a, b) => {
|
|
1478
1478
|
for (var prop in b || (b = {}))
|
|
1479
|
-
if (__hasOwnProp$
|
|
1480
|
-
__defNormalProp$
|
|
1481
|
-
if (__getOwnPropSymbols$
|
|
1482
|
-
for (var prop of __getOwnPropSymbols$
|
|
1483
|
-
if (__propIsEnum$
|
|
1484
|
-
__defNormalProp$
|
|
1479
|
+
if (__hasOwnProp$I.call(b, prop))
|
|
1480
|
+
__defNormalProp$H(a, prop, b[prop]);
|
|
1481
|
+
if (__getOwnPropSymbols$I)
|
|
1482
|
+
for (var prop of __getOwnPropSymbols$I(b)) {
|
|
1483
|
+
if (__propIsEnum$I.call(b, prop))
|
|
1484
|
+
__defNormalProp$H(a, prop, b[prop]);
|
|
1485
1485
|
}
|
|
1486
1486
|
return a;
|
|
1487
1487
|
};
|
|
1488
1488
|
const Loading = ({ fullView = true }) => {
|
|
1489
1489
|
const Wrapper = fullView ? FullView : Fragment;
|
|
1490
1490
|
const props = fullView ? { className: "loading-full-view" } : {};
|
|
1491
|
-
return /* @__PURE__ */ React__default.createElement(Wrapper, __spreadValues$
|
|
1491
|
+
return /* @__PURE__ */ React__default.createElement(Wrapper, __spreadValues$H({}, props), /* @__PURE__ */ React__default.createElement("div", { className: "loading" }, /* @__PURE__ */ React__default.createElement("div", { className: "loading-indicator__line1" }), /* @__PURE__ */ React__default.createElement("div", { className: "loading-indicator__line2" }), /* @__PURE__ */ React__default.createElement("div", { className: "loading-indicator__line3" })));
|
|
1492
1492
|
};
|
|
1493
1493
|
|
|
1494
|
-
var __defProp$
|
|
1494
|
+
var __defProp$G = Object.defineProperty;
|
|
1495
1495
|
var __defProps$x = Object.defineProperties;
|
|
1496
1496
|
var __getOwnPropDescs$x = Object.getOwnPropertyDescriptors;
|
|
1497
|
-
var __getOwnPropSymbols$
|
|
1498
|
-
var __hasOwnProp$
|
|
1499
|
-
var __propIsEnum$
|
|
1500
|
-
var __defNormalProp$
|
|
1497
|
+
var __getOwnPropSymbols$H = Object.getOwnPropertySymbols;
|
|
1498
|
+
var __hasOwnProp$H = Object.prototype.hasOwnProperty;
|
|
1499
|
+
var __propIsEnum$H = Object.prototype.propertyIsEnumerable;
|
|
1500
|
+
var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, {
|
|
1501
1501
|
enumerable: true,
|
|
1502
1502
|
configurable: true,
|
|
1503
1503
|
writable: true,
|
|
1504
1504
|
value
|
|
1505
1505
|
}) : obj[key] = value;
|
|
1506
|
-
var __spreadValues$
|
|
1507
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1508
|
-
if (__getOwnPropSymbols$
|
|
1509
|
-
if (__propIsEnum$
|
|
1506
|
+
var __spreadValues$G = (a, b) => {
|
|
1507
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$H.call(b, prop)) __defNormalProp$G(a, prop, b[prop]);
|
|
1508
|
+
if (__getOwnPropSymbols$H) for (var prop of __getOwnPropSymbols$H(b)) {
|
|
1509
|
+
if (__propIsEnum$H.call(b, prop)) __defNormalProp$G(a, prop, b[prop]);
|
|
1510
1510
|
}
|
|
1511
1511
|
return a;
|
|
1512
1512
|
};
|
|
1513
1513
|
var __spreadProps$x = (a, b) => __defProps$x(a, __getOwnPropDescs$x(b));
|
|
1514
|
-
var __objRest$
|
|
1514
|
+
var __objRest$n = (source, exclude) => {
|
|
1515
1515
|
var target = {};
|
|
1516
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1517
|
-
if (source != null && __getOwnPropSymbols$
|
|
1518
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1516
|
+
for (var prop in source) if (__hasOwnProp$H.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1517
|
+
if (source != null && __getOwnPropSymbols$H) for (var prop of __getOwnPropSymbols$H(source)) {
|
|
1518
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$H.call(source, prop)) target[prop] = source[prop];
|
|
1519
1519
|
}
|
|
1520
1520
|
return target;
|
|
1521
1521
|
};
|
|
@@ -1543,7 +1543,7 @@ const Select = _a => {
|
|
|
1543
1543
|
meta,
|
|
1544
1544
|
placeholder
|
|
1545
1545
|
} = _b,
|
|
1546
|
-
restProps = __objRest$
|
|
1546
|
+
restProps = __objRest$n(_b, ["input", "multiple", "className", "scrollBottomBuffer", "onScrollBottom", "onPopupScroll", "onSearch", "showSearch", "filterOption", "loading", "notFoundContent", "children", "error", "selectLimit", "dropdownClassName", "danger", "size", "meta", "placeholder"]);
|
|
1547
1547
|
var _a2;
|
|
1548
1548
|
const limitExceeded = multiple && selectLimit && selectLimit <= (((_a2 = input.value) == null ? void 0 : _a2.length) || 0);
|
|
1549
1549
|
const typo = {
|
|
@@ -1569,7 +1569,7 @@ const Select = _a => {
|
|
|
1569
1569
|
inputDom && (placeholder || item) && inputDom.setAttribute("data-test", String(placeholder || item.textContent));
|
|
1570
1570
|
}
|
|
1571
1571
|
}, [selectRef, placeholder]);
|
|
1572
|
-
return /* @__PURE__ */React__default.createElement(Select$1, __spreadValues$
|
|
1572
|
+
return /* @__PURE__ */React__default.createElement(Select$1, __spreadValues$G(__spreadProps$x(__spreadValues$G({}, input), {
|
|
1573
1573
|
ref: selectRef,
|
|
1574
1574
|
size,
|
|
1575
1575
|
value: multiple ? input.value || [] : input.value || void 0,
|
|
@@ -1610,38 +1610,38 @@ const Select = _a => {
|
|
|
1610
1610
|
loading,
|
|
1611
1611
|
placeholder
|
|
1612
1612
|
}), restProps), React__default.Children.map(children, child => {
|
|
1613
|
-
return isElement(child) ? __spreadProps$x(__spreadValues$
|
|
1614
|
-
props: __spreadProps$x(__spreadValues$
|
|
1613
|
+
return isElement(child) ? __spreadProps$x(__spreadValues$G({}, child), {
|
|
1614
|
+
props: __spreadProps$x(__spreadValues$G({}, child.props), {
|
|
1615
1615
|
"data-test": child.props.value
|
|
1616
1616
|
})
|
|
1617
1617
|
}) : child;
|
|
1618
1618
|
}));
|
|
1619
1619
|
};
|
|
1620
1620
|
|
|
1621
|
-
var __defProp$
|
|
1622
|
-
var __getOwnPropSymbols$
|
|
1623
|
-
var __hasOwnProp$
|
|
1624
|
-
var __propIsEnum$
|
|
1625
|
-
var __defNormalProp$
|
|
1626
|
-
var __spreadValues$
|
|
1621
|
+
var __defProp$F = Object.defineProperty;
|
|
1622
|
+
var __getOwnPropSymbols$G = Object.getOwnPropertySymbols;
|
|
1623
|
+
var __hasOwnProp$G = Object.prototype.hasOwnProperty;
|
|
1624
|
+
var __propIsEnum$G = Object.prototype.propertyIsEnumerable;
|
|
1625
|
+
var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1626
|
+
var __spreadValues$F = (a, b) => {
|
|
1627
1627
|
for (var prop in b || (b = {}))
|
|
1628
|
-
if (__hasOwnProp$
|
|
1629
|
-
__defNormalProp$
|
|
1630
|
-
if (__getOwnPropSymbols$
|
|
1631
|
-
for (var prop of __getOwnPropSymbols$
|
|
1632
|
-
if (__propIsEnum$
|
|
1633
|
-
__defNormalProp$
|
|
1628
|
+
if (__hasOwnProp$G.call(b, prop))
|
|
1629
|
+
__defNormalProp$F(a, prop, b[prop]);
|
|
1630
|
+
if (__getOwnPropSymbols$G)
|
|
1631
|
+
for (var prop of __getOwnPropSymbols$G(b)) {
|
|
1632
|
+
if (__propIsEnum$G.call(b, prop))
|
|
1633
|
+
__defNormalProp$F(a, prop, b[prop]);
|
|
1634
1634
|
}
|
|
1635
1635
|
return a;
|
|
1636
1636
|
};
|
|
1637
|
-
var __objRest$
|
|
1637
|
+
var __objRest$m = (source, exclude) => {
|
|
1638
1638
|
var target = {};
|
|
1639
1639
|
for (var prop in source)
|
|
1640
|
-
if (__hasOwnProp$
|
|
1640
|
+
if (__hasOwnProp$G.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1641
1641
|
target[prop] = source[prop];
|
|
1642
|
-
if (source != null && __getOwnPropSymbols$
|
|
1643
|
-
for (var prop of __getOwnPropSymbols$
|
|
1644
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1642
|
+
if (source != null && __getOwnPropSymbols$G)
|
|
1643
|
+
for (var prop of __getOwnPropSymbols$G(source)) {
|
|
1644
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$G.call(source, prop))
|
|
1645
1645
|
target[prop] = source[prop];
|
|
1646
1646
|
}
|
|
1647
1647
|
return target;
|
|
@@ -1651,12 +1651,12 @@ const FieldsEnum = (_a) => {
|
|
|
1651
1651
|
meta: __,
|
|
1652
1652
|
enumValues,
|
|
1653
1653
|
emptyLabel
|
|
1654
|
-
} = _b, restProps = __objRest$
|
|
1654
|
+
} = _b, restProps = __objRest$m(_b, [
|
|
1655
1655
|
"meta",
|
|
1656
1656
|
"enumValues",
|
|
1657
1657
|
"emptyLabel"
|
|
1658
1658
|
]);
|
|
1659
|
-
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(Select, __spreadValues$
|
|
1659
|
+
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(Select, __spreadValues$F({}, restProps), emptyLabel && /* @__PURE__ */ React__default.createElement(Select$1.Option, { value: "" }, emptyLabel), enumValues.map((v) => {
|
|
1660
1660
|
const item = typeof v === "string" ? { value: v, text: v } : v;
|
|
1661
1661
|
return /* @__PURE__ */ React__default.createElement(
|
|
1662
1662
|
Select$1.Option,
|
|
@@ -1670,31 +1670,31 @@ const FieldsEnum = (_a) => {
|
|
|
1670
1670
|
})));
|
|
1671
1671
|
};
|
|
1672
1672
|
|
|
1673
|
-
var __defProp$
|
|
1673
|
+
var __defProp$E = Object.defineProperty;
|
|
1674
1674
|
var __defProps$w = Object.defineProperties;
|
|
1675
1675
|
var __getOwnPropDescs$w = Object.getOwnPropertyDescriptors;
|
|
1676
|
-
var __getOwnPropSymbols$
|
|
1677
|
-
var __hasOwnProp$
|
|
1678
|
-
var __propIsEnum$
|
|
1679
|
-
var __defNormalProp$
|
|
1676
|
+
var __getOwnPropSymbols$F = Object.getOwnPropertySymbols;
|
|
1677
|
+
var __hasOwnProp$F = Object.prototype.hasOwnProperty;
|
|
1678
|
+
var __propIsEnum$F = Object.prototype.propertyIsEnumerable;
|
|
1679
|
+
var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, {
|
|
1680
1680
|
enumerable: true,
|
|
1681
1681
|
configurable: true,
|
|
1682
1682
|
writable: true,
|
|
1683
1683
|
value
|
|
1684
1684
|
}) : obj[key] = value;
|
|
1685
|
-
var __spreadValues$
|
|
1686
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1687
|
-
if (__getOwnPropSymbols$
|
|
1688
|
-
if (__propIsEnum$
|
|
1685
|
+
var __spreadValues$E = (a, b) => {
|
|
1686
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$F.call(b, prop)) __defNormalProp$E(a, prop, b[prop]);
|
|
1687
|
+
if (__getOwnPropSymbols$F) for (var prop of __getOwnPropSymbols$F(b)) {
|
|
1688
|
+
if (__propIsEnum$F.call(b, prop)) __defNormalProp$E(a, prop, b[prop]);
|
|
1689
1689
|
}
|
|
1690
1690
|
return a;
|
|
1691
1691
|
};
|
|
1692
1692
|
var __spreadProps$w = (a, b) => __defProps$w(a, __getOwnPropDescs$w(b));
|
|
1693
|
-
var __objRest$
|
|
1693
|
+
var __objRest$l = (source, exclude) => {
|
|
1694
1694
|
var target = {};
|
|
1695
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1696
|
-
if (source != null && __getOwnPropSymbols$
|
|
1697
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1695
|
+
for (var prop in source) if (__hasOwnProp$F.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1696
|
+
if (source != null && __getOwnPropSymbols$F) for (var prop of __getOwnPropSymbols$F(source)) {
|
|
1697
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$F.call(source, prop)) target[prop] = source[prop];
|
|
1698
1698
|
}
|
|
1699
1699
|
return target;
|
|
1700
1700
|
};
|
|
@@ -1730,13 +1730,13 @@ const InputNumber = _a => {
|
|
|
1730
1730
|
prefix,
|
|
1731
1731
|
controls = true
|
|
1732
1732
|
} = _b,
|
|
1733
|
-
props = __objRest$
|
|
1733
|
+
props = __objRest$l(_b, ["className", "error", "size", "suffix", "prefix", "controls"]);
|
|
1734
1734
|
const typo = {
|
|
1735
1735
|
large: Typo.Label.l2_regular,
|
|
1736
1736
|
middle: Typo.Label.l3_regular,
|
|
1737
1737
|
small: Typo.Label.l4_regular
|
|
1738
1738
|
}[size];
|
|
1739
|
-
return /* @__PURE__ */React__default.createElement(AntdInputNumberStyled, __spreadProps$w(__spreadValues$
|
|
1739
|
+
return /* @__PURE__ */React__default.createElement(AntdInputNumberStyled, __spreadProps$w(__spreadValues$E({}, props), {
|
|
1740
1740
|
size,
|
|
1741
1741
|
controls,
|
|
1742
1742
|
"data-test": props.name,
|
|
@@ -1746,33 +1746,33 @@ const InputNumber = _a => {
|
|
|
1746
1746
|
}));
|
|
1747
1747
|
};
|
|
1748
1748
|
|
|
1749
|
-
var __defProp$
|
|
1749
|
+
var __defProp$D = Object.defineProperty;
|
|
1750
1750
|
var __defProps$v = Object.defineProperties;
|
|
1751
1751
|
var __getOwnPropDescs$v = Object.getOwnPropertyDescriptors;
|
|
1752
|
-
var __getOwnPropSymbols$
|
|
1753
|
-
var __hasOwnProp$
|
|
1754
|
-
var __propIsEnum$
|
|
1755
|
-
var __defNormalProp$
|
|
1756
|
-
var __spreadValues$
|
|
1752
|
+
var __getOwnPropSymbols$E = Object.getOwnPropertySymbols;
|
|
1753
|
+
var __hasOwnProp$E = Object.prototype.hasOwnProperty;
|
|
1754
|
+
var __propIsEnum$E = Object.prototype.propertyIsEnumerable;
|
|
1755
|
+
var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1756
|
+
var __spreadValues$D = (a, b) => {
|
|
1757
1757
|
for (var prop in b || (b = {}))
|
|
1758
|
-
if (__hasOwnProp$
|
|
1759
|
-
__defNormalProp$
|
|
1760
|
-
if (__getOwnPropSymbols$
|
|
1761
|
-
for (var prop of __getOwnPropSymbols$
|
|
1762
|
-
if (__propIsEnum$
|
|
1763
|
-
__defNormalProp$
|
|
1758
|
+
if (__hasOwnProp$E.call(b, prop))
|
|
1759
|
+
__defNormalProp$D(a, prop, b[prop]);
|
|
1760
|
+
if (__getOwnPropSymbols$E)
|
|
1761
|
+
for (var prop of __getOwnPropSymbols$E(b)) {
|
|
1762
|
+
if (__propIsEnum$E.call(b, prop))
|
|
1763
|
+
__defNormalProp$D(a, prop, b[prop]);
|
|
1764
1764
|
}
|
|
1765
1765
|
return a;
|
|
1766
1766
|
};
|
|
1767
1767
|
var __spreadProps$v = (a, b) => __defProps$v(a, __getOwnPropDescs$v(b));
|
|
1768
|
-
var __objRest$
|
|
1768
|
+
var __objRest$k = (source, exclude) => {
|
|
1769
1769
|
var target = {};
|
|
1770
1770
|
for (var prop in source)
|
|
1771
|
-
if (__hasOwnProp$
|
|
1771
|
+
if (__hasOwnProp$E.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1772
1772
|
target[prop] = source[prop];
|
|
1773
|
-
if (source != null && __getOwnPropSymbols$
|
|
1774
|
-
for (var prop of __getOwnPropSymbols$
|
|
1775
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1773
|
+
if (source != null && __getOwnPropSymbols$E)
|
|
1774
|
+
for (var prop of __getOwnPropSymbols$E(source)) {
|
|
1775
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$E.call(source, prop))
|
|
1776
1776
|
target[prop] = source[prop];
|
|
1777
1777
|
}
|
|
1778
1778
|
return target;
|
|
@@ -1783,7 +1783,7 @@ const FieldsFloat = (_a) => {
|
|
|
1783
1783
|
meta,
|
|
1784
1784
|
onBlur,
|
|
1785
1785
|
autoComplete = "off"
|
|
1786
|
-
} = _b, props = __objRest$
|
|
1786
|
+
} = _b, props = __objRest$k(_b, [
|
|
1787
1787
|
"input",
|
|
1788
1788
|
"meta",
|
|
1789
1789
|
"onBlur",
|
|
@@ -1791,7 +1791,7 @@ const FieldsFloat = (_a) => {
|
|
|
1791
1791
|
]);
|
|
1792
1792
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
1793
1793
|
InputNumber,
|
|
1794
|
-
__spreadValues$
|
|
1794
|
+
__spreadValues$D(__spreadProps$v(__spreadValues$D({}, input), {
|
|
1795
1795
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
1796
1796
|
autoComplete,
|
|
1797
1797
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
@@ -1799,33 +1799,33 @@ const FieldsFloat = (_a) => {
|
|
|
1799
1799
|
));
|
|
1800
1800
|
};
|
|
1801
1801
|
|
|
1802
|
-
var __defProp$
|
|
1802
|
+
var __defProp$C = Object.defineProperty;
|
|
1803
1803
|
var __defProps$u = Object.defineProperties;
|
|
1804
1804
|
var __getOwnPropDescs$u = Object.getOwnPropertyDescriptors;
|
|
1805
|
-
var __getOwnPropSymbols$
|
|
1806
|
-
var __hasOwnProp$
|
|
1807
|
-
var __propIsEnum$
|
|
1808
|
-
var __defNormalProp$
|
|
1809
|
-
var __spreadValues$
|
|
1805
|
+
var __getOwnPropSymbols$D = Object.getOwnPropertySymbols;
|
|
1806
|
+
var __hasOwnProp$D = Object.prototype.hasOwnProperty;
|
|
1807
|
+
var __propIsEnum$D = Object.prototype.propertyIsEnumerable;
|
|
1808
|
+
var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1809
|
+
var __spreadValues$C = (a, b) => {
|
|
1810
1810
|
for (var prop in b || (b = {}))
|
|
1811
|
-
if (__hasOwnProp$
|
|
1812
|
-
__defNormalProp$
|
|
1813
|
-
if (__getOwnPropSymbols$
|
|
1814
|
-
for (var prop of __getOwnPropSymbols$
|
|
1815
|
-
if (__propIsEnum$
|
|
1816
|
-
__defNormalProp$
|
|
1811
|
+
if (__hasOwnProp$D.call(b, prop))
|
|
1812
|
+
__defNormalProp$C(a, prop, b[prop]);
|
|
1813
|
+
if (__getOwnPropSymbols$D)
|
|
1814
|
+
for (var prop of __getOwnPropSymbols$D(b)) {
|
|
1815
|
+
if (__propIsEnum$D.call(b, prop))
|
|
1816
|
+
__defNormalProp$C(a, prop, b[prop]);
|
|
1817
1817
|
}
|
|
1818
1818
|
return a;
|
|
1819
1819
|
};
|
|
1820
1820
|
var __spreadProps$u = (a, b) => __defProps$u(a, __getOwnPropDescs$u(b));
|
|
1821
|
-
var __objRest$
|
|
1821
|
+
var __objRest$j = (source, exclude) => {
|
|
1822
1822
|
var target = {};
|
|
1823
1823
|
for (var prop in source)
|
|
1824
|
-
if (__hasOwnProp$
|
|
1824
|
+
if (__hasOwnProp$D.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1825
1825
|
target[prop] = source[prop];
|
|
1826
|
-
if (source != null && __getOwnPropSymbols$
|
|
1827
|
-
for (var prop of __getOwnPropSymbols$
|
|
1828
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1826
|
+
if (source != null && __getOwnPropSymbols$D)
|
|
1827
|
+
for (var prop of __getOwnPropSymbols$D(source)) {
|
|
1828
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$D.call(source, prop))
|
|
1829
1829
|
target[prop] = source[prop];
|
|
1830
1830
|
}
|
|
1831
1831
|
return target;
|
|
@@ -1835,7 +1835,7 @@ const Input = (_a) => {
|
|
|
1835
1835
|
className,
|
|
1836
1836
|
error,
|
|
1837
1837
|
size = "middle"
|
|
1838
|
-
} = _b, props = __objRest$
|
|
1838
|
+
} = _b, props = __objRest$j(_b, [
|
|
1839
1839
|
"className",
|
|
1840
1840
|
"error",
|
|
1841
1841
|
"size"
|
|
@@ -1847,7 +1847,7 @@ const Input = (_a) => {
|
|
|
1847
1847
|
}[size];
|
|
1848
1848
|
return /* @__PURE__ */ React__default.createElement(
|
|
1849
1849
|
Input$1,
|
|
1850
|
-
__spreadProps$u(__spreadValues$
|
|
1850
|
+
__spreadProps$u(__spreadValues$C({}, props), {
|
|
1851
1851
|
size,
|
|
1852
1852
|
"data-test": props.name,
|
|
1853
1853
|
className: cs(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -1855,33 +1855,33 @@ const Input = (_a) => {
|
|
|
1855
1855
|
);
|
|
1856
1856
|
};
|
|
1857
1857
|
|
|
1858
|
-
var __defProp$
|
|
1858
|
+
var __defProp$B = Object.defineProperty;
|
|
1859
1859
|
var __defProps$t = Object.defineProperties;
|
|
1860
1860
|
var __getOwnPropDescs$t = Object.getOwnPropertyDescriptors;
|
|
1861
|
-
var __getOwnPropSymbols$
|
|
1862
|
-
var __hasOwnProp$
|
|
1863
|
-
var __propIsEnum$
|
|
1864
|
-
var __defNormalProp$
|
|
1865
|
-
var __spreadValues$
|
|
1861
|
+
var __getOwnPropSymbols$C = Object.getOwnPropertySymbols;
|
|
1862
|
+
var __hasOwnProp$C = Object.prototype.hasOwnProperty;
|
|
1863
|
+
var __propIsEnum$C = Object.prototype.propertyIsEnumerable;
|
|
1864
|
+
var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1865
|
+
var __spreadValues$B = (a, b) => {
|
|
1866
1866
|
for (var prop in b || (b = {}))
|
|
1867
|
-
if (__hasOwnProp$
|
|
1868
|
-
__defNormalProp$
|
|
1869
|
-
if (__getOwnPropSymbols$
|
|
1870
|
-
for (var prop of __getOwnPropSymbols$
|
|
1871
|
-
if (__propIsEnum$
|
|
1872
|
-
__defNormalProp$
|
|
1867
|
+
if (__hasOwnProp$C.call(b, prop))
|
|
1868
|
+
__defNormalProp$B(a, prop, b[prop]);
|
|
1869
|
+
if (__getOwnPropSymbols$C)
|
|
1870
|
+
for (var prop of __getOwnPropSymbols$C(b)) {
|
|
1871
|
+
if (__propIsEnum$C.call(b, prop))
|
|
1872
|
+
__defNormalProp$B(a, prop, b[prop]);
|
|
1873
1873
|
}
|
|
1874
1874
|
return a;
|
|
1875
1875
|
};
|
|
1876
1876
|
var __spreadProps$t = (a, b) => __defProps$t(a, __getOwnPropDescs$t(b));
|
|
1877
|
-
var __objRest$
|
|
1877
|
+
var __objRest$i = (source, exclude) => {
|
|
1878
1878
|
var target = {};
|
|
1879
1879
|
for (var prop in source)
|
|
1880
|
-
if (__hasOwnProp$
|
|
1880
|
+
if (__hasOwnProp$C.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1881
1881
|
target[prop] = source[prop];
|
|
1882
|
-
if (source != null && __getOwnPropSymbols$
|
|
1883
|
-
for (var prop of __getOwnPropSymbols$
|
|
1884
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1882
|
+
if (source != null && __getOwnPropSymbols$C)
|
|
1883
|
+
for (var prop of __getOwnPropSymbols$C(source)) {
|
|
1884
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$C.call(source, prop))
|
|
1885
1885
|
target[prop] = source[prop];
|
|
1886
1886
|
}
|
|
1887
1887
|
return target;
|
|
@@ -1893,7 +1893,7 @@ const FieldsInt = (_a) => {
|
|
|
1893
1893
|
onBlur,
|
|
1894
1894
|
autoComplete = "off",
|
|
1895
1895
|
supportNegativeValue = false
|
|
1896
|
-
} = _b, props = __objRest$
|
|
1896
|
+
} = _b, props = __objRest$i(_b, [
|
|
1897
1897
|
"input",
|
|
1898
1898
|
"meta",
|
|
1899
1899
|
"onBlur",
|
|
@@ -1902,7 +1902,7 @@ const FieldsInt = (_a) => {
|
|
|
1902
1902
|
]);
|
|
1903
1903
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
1904
1904
|
Input,
|
|
1905
|
-
__spreadValues$
|
|
1905
|
+
__spreadValues$B(__spreadProps$t(__spreadValues$B({}, input), {
|
|
1906
1906
|
onChange: (e) => {
|
|
1907
1907
|
const value = e.currentTarget.value;
|
|
1908
1908
|
if (supportNegativeValue) {
|
|
@@ -1937,31 +1937,31 @@ const formatterInteger = (value) => {
|
|
|
1937
1937
|
}
|
|
1938
1938
|
};
|
|
1939
1939
|
|
|
1940
|
-
var __defProp$
|
|
1940
|
+
var __defProp$A = Object.defineProperty;
|
|
1941
1941
|
var __defProps$s = Object.defineProperties;
|
|
1942
1942
|
var __getOwnPropDescs$s = Object.getOwnPropertyDescriptors;
|
|
1943
|
-
var __getOwnPropSymbols$
|
|
1944
|
-
var __hasOwnProp$
|
|
1945
|
-
var __propIsEnum$
|
|
1946
|
-
var __defNormalProp$
|
|
1943
|
+
var __getOwnPropSymbols$B = Object.getOwnPropertySymbols;
|
|
1944
|
+
var __hasOwnProp$B = Object.prototype.hasOwnProperty;
|
|
1945
|
+
var __propIsEnum$B = Object.prototype.propertyIsEnumerable;
|
|
1946
|
+
var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, {
|
|
1947
1947
|
enumerable: true,
|
|
1948
1948
|
configurable: true,
|
|
1949
1949
|
writable: true,
|
|
1950
1950
|
value
|
|
1951
1951
|
}) : obj[key] = value;
|
|
1952
|
-
var __spreadValues$
|
|
1953
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1954
|
-
if (__getOwnPropSymbols$
|
|
1955
|
-
if (__propIsEnum$
|
|
1952
|
+
var __spreadValues$A = (a, b) => {
|
|
1953
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$B.call(b, prop)) __defNormalProp$A(a, prop, b[prop]);
|
|
1954
|
+
if (__getOwnPropSymbols$B) for (var prop of __getOwnPropSymbols$B(b)) {
|
|
1955
|
+
if (__propIsEnum$B.call(b, prop)) __defNormalProp$A(a, prop, b[prop]);
|
|
1956
1956
|
}
|
|
1957
1957
|
return a;
|
|
1958
1958
|
};
|
|
1959
1959
|
var __spreadProps$s = (a, b) => __defProps$s(a, __getOwnPropDescs$s(b));
|
|
1960
|
-
var __objRest$
|
|
1960
|
+
var __objRest$h = (source, exclude) => {
|
|
1961
1961
|
var target = {};
|
|
1962
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1963
|
-
if (source != null && __getOwnPropSymbols$
|
|
1964
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1962
|
+
for (var prop in source) if (__hasOwnProp$B.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1963
|
+
if (source != null && __getOwnPropSymbols$B) for (var prop of __getOwnPropSymbols$B(source)) {
|
|
1964
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$B.call(source, prop)) target[prop] = source[prop];
|
|
1965
1965
|
}
|
|
1966
1966
|
return target;
|
|
1967
1967
|
};
|
|
@@ -1999,13 +1999,13 @@ const InputInteger = _a => {
|
|
|
1999
1999
|
min,
|
|
2000
2000
|
controls = false
|
|
2001
2001
|
} = _b,
|
|
2002
|
-
props = __objRest$
|
|
2002
|
+
props = __objRest$h(_b, ["className", "error", "size", "suffix", "prefix", "max", "min", "controls"]);
|
|
2003
2003
|
const typo = {
|
|
2004
2004
|
large: Typo.Label.l2_regular,
|
|
2005
2005
|
middle: Typo.Label.l3_regular,
|
|
2006
2006
|
small: Typo.Label.l4_regular
|
|
2007
2007
|
}[size];
|
|
2008
|
-
return /* @__PURE__ */React__default.createElement(AntdIntStyled, __spreadProps$s(__spreadValues$
|
|
2008
|
+
return /* @__PURE__ */React__default.createElement(AntdIntStyled, __spreadProps$s(__spreadValues$A({}, props), {
|
|
2009
2009
|
size,
|
|
2010
2010
|
formatter: formatterInteger,
|
|
2011
2011
|
parser: formatterInteger,
|
|
@@ -2019,33 +2019,33 @@ const InputInteger = _a => {
|
|
|
2019
2019
|
}));
|
|
2020
2020
|
};
|
|
2021
2021
|
|
|
2022
|
-
var __defProp$
|
|
2022
|
+
var __defProp$z = Object.defineProperty;
|
|
2023
2023
|
var __defProps$r = Object.defineProperties;
|
|
2024
2024
|
var __getOwnPropDescs$r = Object.getOwnPropertyDescriptors;
|
|
2025
|
-
var __getOwnPropSymbols$
|
|
2026
|
-
var __hasOwnProp$
|
|
2027
|
-
var __propIsEnum$
|
|
2028
|
-
var __defNormalProp$
|
|
2029
|
-
var __spreadValues$
|
|
2025
|
+
var __getOwnPropSymbols$A = Object.getOwnPropertySymbols;
|
|
2026
|
+
var __hasOwnProp$A = Object.prototype.hasOwnProperty;
|
|
2027
|
+
var __propIsEnum$A = Object.prototype.propertyIsEnumerable;
|
|
2028
|
+
var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2029
|
+
var __spreadValues$z = (a, b) => {
|
|
2030
2030
|
for (var prop in b || (b = {}))
|
|
2031
|
-
if (__hasOwnProp$
|
|
2032
|
-
__defNormalProp$
|
|
2033
|
-
if (__getOwnPropSymbols$
|
|
2034
|
-
for (var prop of __getOwnPropSymbols$
|
|
2035
|
-
if (__propIsEnum$
|
|
2036
|
-
__defNormalProp$
|
|
2031
|
+
if (__hasOwnProp$A.call(b, prop))
|
|
2032
|
+
__defNormalProp$z(a, prop, b[prop]);
|
|
2033
|
+
if (__getOwnPropSymbols$A)
|
|
2034
|
+
for (var prop of __getOwnPropSymbols$A(b)) {
|
|
2035
|
+
if (__propIsEnum$A.call(b, prop))
|
|
2036
|
+
__defNormalProp$z(a, prop, b[prop]);
|
|
2037
2037
|
}
|
|
2038
2038
|
return a;
|
|
2039
2039
|
};
|
|
2040
2040
|
var __spreadProps$r = (a, b) => __defProps$r(a, __getOwnPropDescs$r(b));
|
|
2041
|
-
var __objRest$
|
|
2041
|
+
var __objRest$g = (source, exclude) => {
|
|
2042
2042
|
var target = {};
|
|
2043
2043
|
for (var prop in source)
|
|
2044
|
-
if (__hasOwnProp$
|
|
2044
|
+
if (__hasOwnProp$A.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2045
2045
|
target[prop] = source[prop];
|
|
2046
|
-
if (source != null && __getOwnPropSymbols$
|
|
2047
|
-
for (var prop of __getOwnPropSymbols$
|
|
2048
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2046
|
+
if (source != null && __getOwnPropSymbols$A)
|
|
2047
|
+
for (var prop of __getOwnPropSymbols$A(source)) {
|
|
2048
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$A.call(source, prop))
|
|
2049
2049
|
target[prop] = source[prop];
|
|
2050
2050
|
}
|
|
2051
2051
|
return target;
|
|
@@ -2055,14 +2055,14 @@ const FieldsInteger = (_a) => {
|
|
|
2055
2055
|
meta,
|
|
2056
2056
|
input,
|
|
2057
2057
|
onBlur
|
|
2058
|
-
} = _b, props = __objRest$
|
|
2058
|
+
} = _b, props = __objRest$g(_b, [
|
|
2059
2059
|
"meta",
|
|
2060
2060
|
"input",
|
|
2061
2061
|
"onBlur"
|
|
2062
2062
|
]);
|
|
2063
2063
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
2064
2064
|
InputInteger,
|
|
2065
|
-
__spreadProps$r(__spreadValues$
|
|
2065
|
+
__spreadProps$r(__spreadValues$z(__spreadValues$z({}, props), input), {
|
|
2066
2066
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
2067
2067
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
2068
2068
|
})
|
|
@@ -2227,33 +2227,33 @@ const Overflow = props => {
|
|
|
2227
2227
|
}, children), showOverflow && /* @__PURE__ */React__default.createElement("span", null, overflow));
|
|
2228
2228
|
};
|
|
2229
2229
|
|
|
2230
|
-
var __defProp$
|
|
2230
|
+
var __defProp$y = Object.defineProperty;
|
|
2231
2231
|
var __defProps$q = Object.defineProperties;
|
|
2232
2232
|
var __getOwnPropDescs$q = Object.getOwnPropertyDescriptors;
|
|
2233
|
-
var __getOwnPropSymbols$
|
|
2234
|
-
var __hasOwnProp$
|
|
2235
|
-
var __propIsEnum$
|
|
2236
|
-
var __defNormalProp$
|
|
2237
|
-
var __spreadValues$
|
|
2233
|
+
var __getOwnPropSymbols$z = Object.getOwnPropertySymbols;
|
|
2234
|
+
var __hasOwnProp$z = Object.prototype.hasOwnProperty;
|
|
2235
|
+
var __propIsEnum$z = Object.prototype.propertyIsEnumerable;
|
|
2236
|
+
var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2237
|
+
var __spreadValues$y = (a, b) => {
|
|
2238
2238
|
for (var prop in b || (b = {}))
|
|
2239
|
-
if (__hasOwnProp$
|
|
2240
|
-
__defNormalProp$
|
|
2241
|
-
if (__getOwnPropSymbols$
|
|
2242
|
-
for (var prop of __getOwnPropSymbols$
|
|
2243
|
-
if (__propIsEnum$
|
|
2244
|
-
__defNormalProp$
|
|
2239
|
+
if (__hasOwnProp$z.call(b, prop))
|
|
2240
|
+
__defNormalProp$y(a, prop, b[prop]);
|
|
2241
|
+
if (__getOwnPropSymbols$z)
|
|
2242
|
+
for (var prop of __getOwnPropSymbols$z(b)) {
|
|
2243
|
+
if (__propIsEnum$z.call(b, prop))
|
|
2244
|
+
__defNormalProp$y(a, prop, b[prop]);
|
|
2245
2245
|
}
|
|
2246
2246
|
return a;
|
|
2247
2247
|
};
|
|
2248
2248
|
var __spreadProps$q = (a, b) => __defProps$q(a, __getOwnPropDescs$q(b));
|
|
2249
|
-
var __objRest$
|
|
2249
|
+
var __objRest$f = (source, exclude) => {
|
|
2250
2250
|
var target = {};
|
|
2251
2251
|
for (var prop in source)
|
|
2252
|
-
if (__hasOwnProp$
|
|
2252
|
+
if (__hasOwnProp$z.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2253
2253
|
target[prop] = source[prop];
|
|
2254
|
-
if (source != null && __getOwnPropSymbols$
|
|
2255
|
-
for (var prop of __getOwnPropSymbols$
|
|
2256
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2254
|
+
if (source != null && __getOwnPropSymbols$z)
|
|
2255
|
+
for (var prop of __getOwnPropSymbols$z(source)) {
|
|
2256
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$z.call(source, prop))
|
|
2257
2257
|
target[prop] = source[prop];
|
|
2258
2258
|
}
|
|
2259
2259
|
return target;
|
|
@@ -2272,7 +2272,7 @@ const FieldsString = (_a) => {
|
|
|
2272
2272
|
onClick,
|
|
2273
2273
|
maxLength,
|
|
2274
2274
|
focusIndicator
|
|
2275
|
-
} = _b, props = __objRest$
|
|
2275
|
+
} = _b, props = __objRest$f(_b, [
|
|
2276
2276
|
"input",
|
|
2277
2277
|
"meta",
|
|
2278
2278
|
"autoComplete",
|
|
@@ -2304,7 +2304,7 @@ const FieldsString = (_a) => {
|
|
|
2304
2304
|
}
|
|
2305
2305
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
2306
2306
|
Input,
|
|
2307
|
-
__spreadProps$q(__spreadValues$
|
|
2307
|
+
__spreadProps$q(__spreadValues$y(__spreadProps$q(__spreadValues$y({
|
|
2308
2308
|
className: cs(
|
|
2309
2309
|
className,
|
|
2310
2310
|
KitInputStyle,
|
|
@@ -2329,33 +2329,33 @@ const FieldsString = (_a) => {
|
|
|
2329
2329
|
));
|
|
2330
2330
|
};
|
|
2331
2331
|
|
|
2332
|
-
var __defProp$
|
|
2332
|
+
var __defProp$x = Object.defineProperty;
|
|
2333
2333
|
var __defProps$p = Object.defineProperties;
|
|
2334
2334
|
var __getOwnPropDescs$p = Object.getOwnPropertyDescriptors;
|
|
2335
|
-
var __getOwnPropSymbols$
|
|
2336
|
-
var __hasOwnProp$
|
|
2337
|
-
var __propIsEnum$
|
|
2338
|
-
var __defNormalProp$
|
|
2339
|
-
var __spreadValues$
|
|
2335
|
+
var __getOwnPropSymbols$y = Object.getOwnPropertySymbols;
|
|
2336
|
+
var __hasOwnProp$y = Object.prototype.hasOwnProperty;
|
|
2337
|
+
var __propIsEnum$y = Object.prototype.propertyIsEnumerable;
|
|
2338
|
+
var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2339
|
+
var __spreadValues$x = (a, b) => {
|
|
2340
2340
|
for (var prop in b || (b = {}))
|
|
2341
|
-
if (__hasOwnProp$
|
|
2342
|
-
__defNormalProp$
|
|
2343
|
-
if (__getOwnPropSymbols$
|
|
2344
|
-
for (var prop of __getOwnPropSymbols$
|
|
2345
|
-
if (__propIsEnum$
|
|
2346
|
-
__defNormalProp$
|
|
2341
|
+
if (__hasOwnProp$y.call(b, prop))
|
|
2342
|
+
__defNormalProp$x(a, prop, b[prop]);
|
|
2343
|
+
if (__getOwnPropSymbols$y)
|
|
2344
|
+
for (var prop of __getOwnPropSymbols$y(b)) {
|
|
2345
|
+
if (__propIsEnum$y.call(b, prop))
|
|
2346
|
+
__defNormalProp$x(a, prop, b[prop]);
|
|
2347
2347
|
}
|
|
2348
2348
|
return a;
|
|
2349
2349
|
};
|
|
2350
2350
|
var __spreadProps$p = (a, b) => __defProps$p(a, __getOwnPropDescs$p(b));
|
|
2351
|
-
var __objRest$
|
|
2351
|
+
var __objRest$e = (source, exclude) => {
|
|
2352
2352
|
var target = {};
|
|
2353
2353
|
for (var prop in source)
|
|
2354
|
-
if (__hasOwnProp$
|
|
2354
|
+
if (__hasOwnProp$y.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2355
2355
|
target[prop] = source[prop];
|
|
2356
|
-
if (source != null && __getOwnPropSymbols$
|
|
2357
|
-
for (var prop of __getOwnPropSymbols$
|
|
2358
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2356
|
+
if (source != null && __getOwnPropSymbols$y)
|
|
2357
|
+
for (var prop of __getOwnPropSymbols$y(source)) {
|
|
2358
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$y.call(source, prop))
|
|
2359
2359
|
target[prop] = source[prop];
|
|
2360
2360
|
}
|
|
2361
2361
|
return target;
|
|
@@ -2365,7 +2365,7 @@ const TextArea = (_a) => {
|
|
|
2365
2365
|
className,
|
|
2366
2366
|
error,
|
|
2367
2367
|
size = "middle"
|
|
2368
|
-
} = _b, props = __objRest$
|
|
2368
|
+
} = _b, props = __objRest$e(_b, [
|
|
2369
2369
|
"className",
|
|
2370
2370
|
"error",
|
|
2371
2371
|
"size"
|
|
@@ -2377,7 +2377,7 @@ const TextArea = (_a) => {
|
|
|
2377
2377
|
}[size];
|
|
2378
2378
|
return /* @__PURE__ */ React__default.createElement(
|
|
2379
2379
|
Input$1.TextArea,
|
|
2380
|
-
__spreadProps$p(__spreadValues$
|
|
2380
|
+
__spreadProps$p(__spreadValues$x({}, props), {
|
|
2381
2381
|
className: cs(
|
|
2382
2382
|
className,
|
|
2383
2383
|
InputStyle,
|
|
@@ -2391,33 +2391,33 @@ const TextArea = (_a) => {
|
|
|
2391
2391
|
);
|
|
2392
2392
|
};
|
|
2393
2393
|
|
|
2394
|
-
var __defProp$
|
|
2394
|
+
var __defProp$w = Object.defineProperty;
|
|
2395
2395
|
var __defProps$o = Object.defineProperties;
|
|
2396
2396
|
var __getOwnPropDescs$o = Object.getOwnPropertyDescriptors;
|
|
2397
|
-
var __getOwnPropSymbols$
|
|
2398
|
-
var __hasOwnProp$
|
|
2399
|
-
var __propIsEnum$
|
|
2400
|
-
var __defNormalProp$
|
|
2401
|
-
var __spreadValues$
|
|
2397
|
+
var __getOwnPropSymbols$x = Object.getOwnPropertySymbols;
|
|
2398
|
+
var __hasOwnProp$x = Object.prototype.hasOwnProperty;
|
|
2399
|
+
var __propIsEnum$x = Object.prototype.propertyIsEnumerable;
|
|
2400
|
+
var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2401
|
+
var __spreadValues$w = (a, b) => {
|
|
2402
2402
|
for (var prop in b || (b = {}))
|
|
2403
|
-
if (__hasOwnProp$
|
|
2404
|
-
__defNormalProp$
|
|
2405
|
-
if (__getOwnPropSymbols$
|
|
2406
|
-
for (var prop of __getOwnPropSymbols$
|
|
2407
|
-
if (__propIsEnum$
|
|
2408
|
-
__defNormalProp$
|
|
2403
|
+
if (__hasOwnProp$x.call(b, prop))
|
|
2404
|
+
__defNormalProp$w(a, prop, b[prop]);
|
|
2405
|
+
if (__getOwnPropSymbols$x)
|
|
2406
|
+
for (var prop of __getOwnPropSymbols$x(b)) {
|
|
2407
|
+
if (__propIsEnum$x.call(b, prop))
|
|
2408
|
+
__defNormalProp$w(a, prop, b[prop]);
|
|
2409
2409
|
}
|
|
2410
2410
|
return a;
|
|
2411
2411
|
};
|
|
2412
2412
|
var __spreadProps$o = (a, b) => __defProps$o(a, __getOwnPropDescs$o(b));
|
|
2413
|
-
var __objRest$
|
|
2413
|
+
var __objRest$d = (source, exclude) => {
|
|
2414
2414
|
var target = {};
|
|
2415
2415
|
for (var prop in source)
|
|
2416
|
-
if (__hasOwnProp$
|
|
2416
|
+
if (__hasOwnProp$x.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2417
2417
|
target[prop] = source[prop];
|
|
2418
|
-
if (source != null && __getOwnPropSymbols$
|
|
2419
|
-
for (var prop of __getOwnPropSymbols$
|
|
2420
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2418
|
+
if (source != null && __getOwnPropSymbols$x)
|
|
2419
|
+
for (var prop of __getOwnPropSymbols$x(source)) {
|
|
2420
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$x.call(source, prop))
|
|
2421
2421
|
target[prop] = source[prop];
|
|
2422
2422
|
}
|
|
2423
2423
|
return target;
|
|
@@ -2427,14 +2427,14 @@ const FieldsTextArea = (_a) => {
|
|
|
2427
2427
|
input,
|
|
2428
2428
|
meta,
|
|
2429
2429
|
onFocusChangeHeight
|
|
2430
|
-
} = _b, props = __objRest$
|
|
2430
|
+
} = _b, props = __objRest$d(_b, [
|
|
2431
2431
|
"input",
|
|
2432
2432
|
"meta",
|
|
2433
2433
|
"onFocusChangeHeight"
|
|
2434
2434
|
]);
|
|
2435
2435
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
2436
2436
|
TextArea,
|
|
2437
|
-
__spreadProps$o(__spreadValues$
|
|
2437
|
+
__spreadProps$o(__spreadValues$w(__spreadValues$w({}, input), props), {
|
|
2438
2438
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError),
|
|
2439
2439
|
onFocus: (e) => {
|
|
2440
2440
|
input.onFocus(e);
|
|
@@ -2448,33 +2448,33 @@ const FieldsTextArea = (_a) => {
|
|
|
2448
2448
|
));
|
|
2449
2449
|
};
|
|
2450
2450
|
|
|
2451
|
-
var __defProp$
|
|
2451
|
+
var __defProp$v = Object.defineProperty;
|
|
2452
2452
|
var __defProps$n = Object.defineProperties;
|
|
2453
2453
|
var __getOwnPropDescs$n = Object.getOwnPropertyDescriptors;
|
|
2454
|
-
var __getOwnPropSymbols$
|
|
2455
|
-
var __hasOwnProp$
|
|
2456
|
-
var __propIsEnum$
|
|
2457
|
-
var __defNormalProp$
|
|
2458
|
-
var __spreadValues$
|
|
2454
|
+
var __getOwnPropSymbols$w = Object.getOwnPropertySymbols;
|
|
2455
|
+
var __hasOwnProp$w = Object.prototype.hasOwnProperty;
|
|
2456
|
+
var __propIsEnum$w = Object.prototype.propertyIsEnumerable;
|
|
2457
|
+
var __defNormalProp$v = (obj, key, value) => key in obj ? __defProp$v(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2458
|
+
var __spreadValues$v = (a, b) => {
|
|
2459
2459
|
for (var prop in b || (b = {}))
|
|
2460
|
-
if (__hasOwnProp$
|
|
2461
|
-
__defNormalProp$
|
|
2462
|
-
if (__getOwnPropSymbols$
|
|
2463
|
-
for (var prop of __getOwnPropSymbols$
|
|
2464
|
-
if (__propIsEnum$
|
|
2465
|
-
__defNormalProp$
|
|
2460
|
+
if (__hasOwnProp$w.call(b, prop))
|
|
2461
|
+
__defNormalProp$v(a, prop, b[prop]);
|
|
2462
|
+
if (__getOwnPropSymbols$w)
|
|
2463
|
+
for (var prop of __getOwnPropSymbols$w(b)) {
|
|
2464
|
+
if (__propIsEnum$w.call(b, prop))
|
|
2465
|
+
__defNormalProp$v(a, prop, b[prop]);
|
|
2466
2466
|
}
|
|
2467
2467
|
return a;
|
|
2468
2468
|
};
|
|
2469
2469
|
var __spreadProps$n = (a, b) => __defProps$n(a, __getOwnPropDescs$n(b));
|
|
2470
|
-
var __objRest$
|
|
2470
|
+
var __objRest$c = (source, exclude) => {
|
|
2471
2471
|
var target = {};
|
|
2472
2472
|
for (var prop in source)
|
|
2473
|
-
if (__hasOwnProp$
|
|
2473
|
+
if (__hasOwnProp$w.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2474
2474
|
target[prop] = source[prop];
|
|
2475
|
-
if (source != null && __getOwnPropSymbols$
|
|
2476
|
-
for (var prop of __getOwnPropSymbols$
|
|
2477
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2475
|
+
if (source != null && __getOwnPropSymbols$w)
|
|
2476
|
+
for (var prop of __getOwnPropSymbols$w(source)) {
|
|
2477
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$w.call(source, prop))
|
|
2478
2478
|
target[prop] = source[prop];
|
|
2479
2479
|
}
|
|
2480
2480
|
return target;
|
|
@@ -2484,7 +2484,7 @@ const TimePicker = (_a) => {
|
|
|
2484
2484
|
className,
|
|
2485
2485
|
error,
|
|
2486
2486
|
size = "middle"
|
|
2487
|
-
} = _b, props = __objRest$
|
|
2487
|
+
} = _b, props = __objRest$c(_b, [
|
|
2488
2488
|
"className",
|
|
2489
2489
|
"error",
|
|
2490
2490
|
"size"
|
|
@@ -2496,7 +2496,7 @@ const TimePicker = (_a) => {
|
|
|
2496
2496
|
}[size];
|
|
2497
2497
|
return /* @__PURE__ */ React__default.createElement(
|
|
2498
2498
|
TimePicker$1,
|
|
2499
|
-
__spreadProps$n(__spreadValues$
|
|
2499
|
+
__spreadProps$n(__spreadValues$v({}, props), {
|
|
2500
2500
|
size,
|
|
2501
2501
|
"data-test": props.name,
|
|
2502
2502
|
className: cs(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -2504,33 +2504,33 @@ const TimePicker = (_a) => {
|
|
|
2504
2504
|
);
|
|
2505
2505
|
};
|
|
2506
2506
|
|
|
2507
|
-
var __defProp$
|
|
2507
|
+
var __defProp$u = Object.defineProperty;
|
|
2508
2508
|
var __defProps$m = Object.defineProperties;
|
|
2509
2509
|
var __getOwnPropDescs$m = Object.getOwnPropertyDescriptors;
|
|
2510
|
-
var __getOwnPropSymbols$
|
|
2511
|
-
var __hasOwnProp$
|
|
2512
|
-
var __propIsEnum$
|
|
2513
|
-
var __defNormalProp$
|
|
2514
|
-
var __spreadValues$
|
|
2510
|
+
var __getOwnPropSymbols$v = Object.getOwnPropertySymbols;
|
|
2511
|
+
var __hasOwnProp$v = Object.prototype.hasOwnProperty;
|
|
2512
|
+
var __propIsEnum$v = Object.prototype.propertyIsEnumerable;
|
|
2513
|
+
var __defNormalProp$u = (obj, key, value) => key in obj ? __defProp$u(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2514
|
+
var __spreadValues$u = (a, b) => {
|
|
2515
2515
|
for (var prop in b || (b = {}))
|
|
2516
|
-
if (__hasOwnProp$
|
|
2517
|
-
__defNormalProp$
|
|
2518
|
-
if (__getOwnPropSymbols$
|
|
2519
|
-
for (var prop of __getOwnPropSymbols$
|
|
2520
|
-
if (__propIsEnum$
|
|
2521
|
-
__defNormalProp$
|
|
2516
|
+
if (__hasOwnProp$v.call(b, prop))
|
|
2517
|
+
__defNormalProp$u(a, prop, b[prop]);
|
|
2518
|
+
if (__getOwnPropSymbols$v)
|
|
2519
|
+
for (var prop of __getOwnPropSymbols$v(b)) {
|
|
2520
|
+
if (__propIsEnum$v.call(b, prop))
|
|
2521
|
+
__defNormalProp$u(a, prop, b[prop]);
|
|
2522
2522
|
}
|
|
2523
2523
|
return a;
|
|
2524
2524
|
};
|
|
2525
2525
|
var __spreadProps$m = (a, b) => __defProps$m(a, __getOwnPropDescs$m(b));
|
|
2526
|
-
var __objRest$
|
|
2526
|
+
var __objRest$b = (source, exclude) => {
|
|
2527
2527
|
var target = {};
|
|
2528
2528
|
for (var prop in source)
|
|
2529
|
-
if (__hasOwnProp$
|
|
2529
|
+
if (__hasOwnProp$v.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2530
2530
|
target[prop] = source[prop];
|
|
2531
|
-
if (source != null && __getOwnPropSymbols$
|
|
2532
|
-
for (var prop of __getOwnPropSymbols$
|
|
2533
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2531
|
+
if (source != null && __getOwnPropSymbols$v)
|
|
2532
|
+
for (var prop of __getOwnPropSymbols$v(source)) {
|
|
2533
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$v.call(source, prop))
|
|
2534
2534
|
target[prop] = source[prop];
|
|
2535
2535
|
}
|
|
2536
2536
|
return target;
|
|
@@ -2539,13 +2539,13 @@ const FieldsTimePicker = (_a) => {
|
|
|
2539
2539
|
var _b = _a, {
|
|
2540
2540
|
input,
|
|
2541
2541
|
meta
|
|
2542
|
-
} = _b, props = __objRest$
|
|
2542
|
+
} = _b, props = __objRest$b(_b, [
|
|
2543
2543
|
"input",
|
|
2544
2544
|
"meta"
|
|
2545
2545
|
]);
|
|
2546
2546
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
2547
2547
|
TimePicker,
|
|
2548
|
-
__spreadValues$
|
|
2548
|
+
__spreadValues$u(__spreadProps$m(__spreadValues$u({}, input), {
|
|
2549
2549
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
2550
2550
|
}), props)
|
|
2551
2551
|
));
|
|
@@ -2564,22 +2564,22 @@ const fields = {
|
|
|
2564
2564
|
DateTimeRange: FieldsDateTimeRange
|
|
2565
2565
|
};
|
|
2566
2566
|
|
|
2567
|
-
var __defProp$
|
|
2567
|
+
var __defProp$t = Object.defineProperty;
|
|
2568
2568
|
var __defProps$l = Object.defineProperties;
|
|
2569
2569
|
var __getOwnPropDescs$l = Object.getOwnPropertyDescriptors;
|
|
2570
|
-
var __getOwnPropSymbols$
|
|
2571
|
-
var __hasOwnProp$
|
|
2572
|
-
var __propIsEnum$
|
|
2573
|
-
var __defNormalProp$
|
|
2570
|
+
var __getOwnPropSymbols$u = Object.getOwnPropertySymbols;
|
|
2571
|
+
var __hasOwnProp$u = Object.prototype.hasOwnProperty;
|
|
2572
|
+
var __propIsEnum$u = Object.prototype.propertyIsEnumerable;
|
|
2573
|
+
var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, {
|
|
2574
2574
|
enumerable: true,
|
|
2575
2575
|
configurable: true,
|
|
2576
2576
|
writable: true,
|
|
2577
2577
|
value
|
|
2578
2578
|
}) : obj[key] = value;
|
|
2579
|
-
var __spreadValues$
|
|
2580
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2581
|
-
if (__getOwnPropSymbols$
|
|
2582
|
-
if (__propIsEnum$
|
|
2579
|
+
var __spreadValues$t = (a, b) => {
|
|
2580
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$u.call(b, prop)) __defNormalProp$t(a, prop, b[prop]);
|
|
2581
|
+
if (__getOwnPropSymbols$u) for (var prop of __getOwnPropSymbols$u(b)) {
|
|
2582
|
+
if (__propIsEnum$u.call(b, prop)) __defNormalProp$t(a, prop, b[prop]);
|
|
2583
2583
|
}
|
|
2584
2584
|
return a;
|
|
2585
2585
|
};
|
|
@@ -2589,7 +2589,7 @@ const {
|
|
|
2589
2589
|
} = Form$1;
|
|
2590
2590
|
const FormItemStyle$1 = "f1p9ti6d";
|
|
2591
2591
|
const FormItem$1 = props => {
|
|
2592
|
-
return /* @__PURE__ */React__default.createElement(AntdFormItem, __spreadProps$l(__spreadValues$
|
|
2592
|
+
return /* @__PURE__ */React__default.createElement(AntdFormItem, __spreadProps$l(__spreadValues$t({}, props), {
|
|
2593
2593
|
className: cs(FormItemStyle$1, props.className)
|
|
2594
2594
|
}));
|
|
2595
2595
|
};
|
|
@@ -2597,19 +2597,19 @@ const FormItem$1 = props => {
|
|
|
2597
2597
|
const Form = Form$1;
|
|
2598
2598
|
Form.Item = FormItem$1;
|
|
2599
2599
|
|
|
2600
|
-
var __defProp$
|
|
2601
|
-
var __getOwnPropSymbols$
|
|
2602
|
-
var __hasOwnProp$
|
|
2603
|
-
var __propIsEnum$
|
|
2604
|
-
var __defNormalProp$
|
|
2605
|
-
var __spreadValues$
|
|
2600
|
+
var __defProp$s = Object.defineProperty;
|
|
2601
|
+
var __getOwnPropSymbols$t = Object.getOwnPropertySymbols;
|
|
2602
|
+
var __hasOwnProp$t = Object.prototype.hasOwnProperty;
|
|
2603
|
+
var __propIsEnum$t = Object.prototype.propertyIsEnumerable;
|
|
2604
|
+
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2605
|
+
var __spreadValues$s = (a, b) => {
|
|
2606
2606
|
for (var prop in b || (b = {}))
|
|
2607
|
-
if (__hasOwnProp$
|
|
2608
|
-
__defNormalProp$
|
|
2609
|
-
if (__getOwnPropSymbols$
|
|
2610
|
-
for (var prop of __getOwnPropSymbols$
|
|
2611
|
-
if (__propIsEnum$
|
|
2612
|
-
__defNormalProp$
|
|
2607
|
+
if (__hasOwnProp$t.call(b, prop))
|
|
2608
|
+
__defNormalProp$s(a, prop, b[prop]);
|
|
2609
|
+
if (__getOwnPropSymbols$t)
|
|
2610
|
+
for (var prop of __getOwnPropSymbols$t(b)) {
|
|
2611
|
+
if (__propIsEnum$t.call(b, prop))
|
|
2612
|
+
__defNormalProp$s(a, prop, b[prop]);
|
|
2613
2613
|
}
|
|
2614
2614
|
return a;
|
|
2615
2615
|
};
|
|
@@ -2621,7 +2621,7 @@ const Frequency = ({
|
|
|
2621
2621
|
emptyProps
|
|
2622
2622
|
}) => {
|
|
2623
2623
|
if (isEmpty(rawValue)) {
|
|
2624
|
-
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$
|
|
2624
|
+
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$s({}, emptyProps));
|
|
2625
2625
|
}
|
|
2626
2626
|
const { value, unit } = formatFrequency(rawValue, decimals);
|
|
2627
2627
|
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
@@ -2634,21 +2634,21 @@ const InputGroup = /*#__PURE__*/styled(_exp())({
|
|
|
2634
2634
|
propsAsIs: true
|
|
2635
2635
|
});
|
|
2636
2636
|
|
|
2637
|
-
var __defProp$
|
|
2637
|
+
var __defProp$r = Object.defineProperty;
|
|
2638
2638
|
var __defProps$k = Object.defineProperties;
|
|
2639
2639
|
var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
|
|
2640
|
-
var __getOwnPropSymbols$
|
|
2641
|
-
var __hasOwnProp$
|
|
2642
|
-
var __propIsEnum$
|
|
2643
|
-
var __defNormalProp$
|
|
2644
|
-
var __spreadValues$
|
|
2640
|
+
var __getOwnPropSymbols$s = Object.getOwnPropertySymbols;
|
|
2641
|
+
var __hasOwnProp$s = Object.prototype.hasOwnProperty;
|
|
2642
|
+
var __propIsEnum$s = Object.prototype.propertyIsEnumerable;
|
|
2643
|
+
var __defNormalProp$r = (obj, key2, value) => key2 in obj ? __defProp$r(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value;
|
|
2644
|
+
var __spreadValues$r = (a, b) => {
|
|
2645
2645
|
for (var prop in b || (b = {}))
|
|
2646
|
-
if (__hasOwnProp$
|
|
2647
|
-
__defNormalProp$
|
|
2648
|
-
if (__getOwnPropSymbols$
|
|
2649
|
-
for (var prop of __getOwnPropSymbols$
|
|
2650
|
-
if (__propIsEnum$
|
|
2651
|
-
__defNormalProp$
|
|
2646
|
+
if (__hasOwnProp$s.call(b, prop))
|
|
2647
|
+
__defNormalProp$r(a, prop, b[prop]);
|
|
2648
|
+
if (__getOwnPropSymbols$s)
|
|
2649
|
+
for (var prop of __getOwnPropSymbols$s(b)) {
|
|
2650
|
+
if (__propIsEnum$s.call(b, prop))
|
|
2651
|
+
__defNormalProp$r(a, prop, b[prop]);
|
|
2652
2652
|
}
|
|
2653
2653
|
return a;
|
|
2654
2654
|
};
|
|
@@ -2759,7 +2759,7 @@ function notice(args) {
|
|
|
2759
2759
|
}
|
|
2760
2760
|
getRCNotificationInstance(args, ({ prefixCls, instance }) => {
|
|
2761
2761
|
instance.notice(
|
|
2762
|
-
getRCNoticeProps(__spreadProps$k(__spreadValues$
|
|
2762
|
+
getRCNoticeProps(__spreadProps$k(__spreadValues$r({}, args), { key: target, onClose: callback }), prefixCls)
|
|
2763
2763
|
);
|
|
2764
2764
|
});
|
|
2765
2765
|
});
|
|
@@ -2788,7 +2788,7 @@ const api = {
|
|
|
2788
2788
|
function attachTypeApi(originalApi, type) {
|
|
2789
2789
|
originalApi[type] = (content, duration, onClose) => {
|
|
2790
2790
|
if (isArgsProps(content)) {
|
|
2791
|
-
return originalApi.open(__spreadProps$k(__spreadValues$
|
|
2791
|
+
return originalApi.open(__spreadProps$k(__spreadValues$r({}, content), { type }));
|
|
2792
2792
|
}
|
|
2793
2793
|
if (typeof duration === "function") {
|
|
2794
2794
|
onClose = duration;
|
|
@@ -2802,21 +2802,21 @@ function attachTypeApi(originalApi, type) {
|
|
|
2802
2802
|
);
|
|
2803
2803
|
api.warn = api.warning;
|
|
2804
2804
|
|
|
2805
|
-
var __defProp$
|
|
2805
|
+
var __defProp$q = Object.defineProperty;
|
|
2806
2806
|
var __defProps$j = Object.defineProperties;
|
|
2807
2807
|
var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
|
|
2808
|
-
var __getOwnPropSymbols$
|
|
2809
|
-
var __hasOwnProp$
|
|
2810
|
-
var __propIsEnum$
|
|
2811
|
-
var __defNormalProp$
|
|
2812
|
-
var __spreadValues$
|
|
2808
|
+
var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
|
|
2809
|
+
var __hasOwnProp$r = Object.prototype.hasOwnProperty;
|
|
2810
|
+
var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
|
|
2811
|
+
var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2812
|
+
var __spreadValues$q = (a, b) => {
|
|
2813
2813
|
for (var prop in b || (b = {}))
|
|
2814
|
-
if (__hasOwnProp$
|
|
2815
|
-
__defNormalProp$
|
|
2816
|
-
if (__getOwnPropSymbols$
|
|
2817
|
-
for (var prop of __getOwnPropSymbols$
|
|
2818
|
-
if (__propIsEnum$
|
|
2819
|
-
__defNormalProp$
|
|
2814
|
+
if (__hasOwnProp$r.call(b, prop))
|
|
2815
|
+
__defNormalProp$q(a, prop, b[prop]);
|
|
2816
|
+
if (__getOwnPropSymbols$r)
|
|
2817
|
+
for (var prop of __getOwnPropSymbols$r(b)) {
|
|
2818
|
+
if (__propIsEnum$r.call(b, prop))
|
|
2819
|
+
__defNormalProp$q(a, prop, b[prop]);
|
|
2820
2820
|
}
|
|
2821
2821
|
return a;
|
|
2822
2822
|
};
|
|
@@ -2830,8 +2830,8 @@ const chartReducer = (state = initialChartState, action) => {
|
|
|
2830
2830
|
switch (action.type) {
|
|
2831
2831
|
case "SET_POINTER" /* SET_POINTER */: {
|
|
2832
2832
|
const { uuid, left, text, visible, value } = action.payload;
|
|
2833
|
-
return __spreadProps$j(__spreadValues$
|
|
2834
|
-
pointers: __spreadProps$j(__spreadValues$
|
|
2833
|
+
return __spreadProps$j(__spreadValues$q({}, state), {
|
|
2834
|
+
pointers: __spreadProps$j(__spreadValues$q({}, state.pointers), {
|
|
2835
2835
|
[uuid]: {
|
|
2836
2836
|
left,
|
|
2837
2837
|
text,
|
|
@@ -2843,16 +2843,16 @@ const chartReducer = (state = initialChartState, action) => {
|
|
|
2843
2843
|
}
|
|
2844
2844
|
case "SET_RESOURCE_DATA" /* SET_RESOURCE_DATA */: {
|
|
2845
2845
|
const { uuid, data } = action.payload;
|
|
2846
|
-
return __spreadProps$j(__spreadValues$
|
|
2847
|
-
resourceData: __spreadProps$j(__spreadValues$
|
|
2846
|
+
return __spreadProps$j(__spreadValues$q({}, state), {
|
|
2847
|
+
resourceData: __spreadProps$j(__spreadValues$q({}, state.resourceData), {
|
|
2848
2848
|
[uuid]: data
|
|
2849
2849
|
})
|
|
2850
2850
|
});
|
|
2851
2851
|
}
|
|
2852
2852
|
case "SET_AVERAGE_DATA" /* SET_AVERAGE_DATA */: {
|
|
2853
2853
|
const { uuid, average } = action.payload;
|
|
2854
|
-
return __spreadProps$j(__spreadValues$
|
|
2855
|
-
averageData: __spreadProps$j(__spreadValues$
|
|
2854
|
+
return __spreadProps$j(__spreadValues$q({}, state), {
|
|
2855
|
+
averageData: __spreadProps$j(__spreadValues$q({}, state.averageData), {
|
|
2856
2856
|
[uuid]: average
|
|
2857
2857
|
})
|
|
2858
2858
|
});
|
|
@@ -2863,21 +2863,21 @@ const chartReducer = (state = initialChartState, action) => {
|
|
|
2863
2863
|
}
|
|
2864
2864
|
};
|
|
2865
2865
|
|
|
2866
|
-
var __defProp$
|
|
2866
|
+
var __defProp$p = Object.defineProperty;
|
|
2867
2867
|
var __defProps$i = Object.defineProperties;
|
|
2868
2868
|
var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
|
|
2869
|
-
var __getOwnPropSymbols$
|
|
2870
|
-
var __hasOwnProp$
|
|
2871
|
-
var __propIsEnum$
|
|
2872
|
-
var __defNormalProp$
|
|
2873
|
-
var __spreadValues$
|
|
2869
|
+
var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
|
|
2870
|
+
var __hasOwnProp$q = Object.prototype.hasOwnProperty;
|
|
2871
|
+
var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
|
|
2872
|
+
var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2873
|
+
var __spreadValues$p = (a, b) => {
|
|
2874
2874
|
for (var prop in b || (b = {}))
|
|
2875
|
-
if (__hasOwnProp$
|
|
2876
|
-
__defNormalProp$
|
|
2877
|
-
if (__getOwnPropSymbols$
|
|
2878
|
-
for (var prop of __getOwnPropSymbols$
|
|
2879
|
-
if (__propIsEnum$
|
|
2880
|
-
__defNormalProp$
|
|
2875
|
+
if (__hasOwnProp$q.call(b, prop))
|
|
2876
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
2877
|
+
if (__getOwnPropSymbols$q)
|
|
2878
|
+
for (var prop of __getOwnPropSymbols$q(b)) {
|
|
2879
|
+
if (__propIsEnum$q.call(b, prop))
|
|
2880
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
2881
2881
|
}
|
|
2882
2882
|
return a;
|
|
2883
2883
|
};
|
|
@@ -2902,22 +2902,22 @@ const modalReducer = (state = initialModalState, action) => {
|
|
|
2902
2902
|
)) {
|
|
2903
2903
|
return state;
|
|
2904
2904
|
}
|
|
2905
|
-
return __spreadProps$i(__spreadValues$
|
|
2906
|
-
stack: state.stack.concat(__spreadProps$i(__spreadValues$
|
|
2905
|
+
return __spreadProps$i(__spreadValues$p({}, state), {
|
|
2906
|
+
stack: state.stack.concat(__spreadProps$i(__spreadValues$p({}, action.payload), {
|
|
2907
2907
|
id: MODAL_ID++
|
|
2908
2908
|
}))
|
|
2909
2909
|
});
|
|
2910
2910
|
case "POP_MODAL" /* POP_MODAL */:
|
|
2911
|
-
return __spreadProps$i(__spreadValues$
|
|
2911
|
+
return __spreadProps$i(__spreadValues$p({}, state), {
|
|
2912
2912
|
stack: state.stack.slice(0, -1)
|
|
2913
2913
|
});
|
|
2914
2914
|
case "REMOVE_MODAL" /* REMOVE_MODAL */:
|
|
2915
|
-
return __spreadProps$i(__spreadValues$
|
|
2915
|
+
return __spreadProps$i(__spreadValues$p({}, state), {
|
|
2916
2916
|
closeId: 0,
|
|
2917
2917
|
stack: state.stack.filter((m) => m.id !== action.id)
|
|
2918
2918
|
});
|
|
2919
2919
|
case "CLOSE_MODAL" /* CLOSE_MODAL */:
|
|
2920
|
-
return __spreadProps$i(__spreadValues$
|
|
2920
|
+
return __spreadProps$i(__spreadValues$p({}, state), {
|
|
2921
2921
|
closeId: action.id
|
|
2922
2922
|
});
|
|
2923
2923
|
default:
|
|
@@ -2974,33 +2974,33 @@ const VerticalStyle = "v1p8siwu";
|
|
|
2974
2974
|
const HorizontalStepContentStyle = "h1xo7yjb";
|
|
2975
2975
|
const VerticalStepContentStyle = "v1f2f7cy";
|
|
2976
2976
|
|
|
2977
|
-
var __defProp$
|
|
2977
|
+
var __defProp$o = Object.defineProperty;
|
|
2978
2978
|
var __defProps$h = Object.defineProperties;
|
|
2979
2979
|
var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
|
|
2980
|
-
var __getOwnPropSymbols$
|
|
2981
|
-
var __hasOwnProp$
|
|
2982
|
-
var __propIsEnum$
|
|
2983
|
-
var __defNormalProp$
|
|
2984
|
-
var __spreadValues$
|
|
2980
|
+
var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
|
|
2981
|
+
var __hasOwnProp$p = Object.prototype.hasOwnProperty;
|
|
2982
|
+
var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
|
|
2983
|
+
var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2984
|
+
var __spreadValues$o = (a, b) => {
|
|
2985
2985
|
for (var prop in b || (b = {}))
|
|
2986
|
-
if (__hasOwnProp$
|
|
2987
|
-
__defNormalProp$
|
|
2988
|
-
if (__getOwnPropSymbols$
|
|
2989
|
-
for (var prop of __getOwnPropSymbols$
|
|
2990
|
-
if (__propIsEnum$
|
|
2991
|
-
__defNormalProp$
|
|
2986
|
+
if (__hasOwnProp$p.call(b, prop))
|
|
2987
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
2988
|
+
if (__getOwnPropSymbols$p)
|
|
2989
|
+
for (var prop of __getOwnPropSymbols$p(b)) {
|
|
2990
|
+
if (__propIsEnum$p.call(b, prop))
|
|
2991
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
2992
2992
|
}
|
|
2993
2993
|
return a;
|
|
2994
2994
|
};
|
|
2995
2995
|
var __spreadProps$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
|
|
2996
|
-
var __objRest$
|
|
2996
|
+
var __objRest$a = (source, exclude) => {
|
|
2997
2997
|
var target = {};
|
|
2998
2998
|
for (var prop in source)
|
|
2999
|
-
if (__hasOwnProp$
|
|
2999
|
+
if (__hasOwnProp$p.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3000
3000
|
target[prop] = source[prop];
|
|
3001
|
-
if (source != null && __getOwnPropSymbols$
|
|
3002
|
-
for (var prop of __getOwnPropSymbols$
|
|
3003
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3001
|
+
if (source != null && __getOwnPropSymbols$p)
|
|
3002
|
+
for (var prop of __getOwnPropSymbols$p(source)) {
|
|
3003
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$p.call(source, prop))
|
|
3004
3004
|
target[prop] = source[prop];
|
|
3005
3005
|
}
|
|
3006
3006
|
return target;
|
|
@@ -3016,7 +3016,7 @@ const StepTitle = (props) => {
|
|
|
3016
3016
|
setTooltipEnable({});
|
|
3017
3017
|
}
|
|
3018
3018
|
}, [textRef]);
|
|
3019
|
-
return /* @__PURE__ */ React__default.createElement(Tooltip, __spreadProps$h(__spreadValues$
|
|
3019
|
+
return /* @__PURE__ */ React__default.createElement(Tooltip, __spreadProps$h(__spreadValues$o({}, tooltipEnable), { title: step.title }), /* @__PURE__ */ React__default.createElement(
|
|
3020
3020
|
"div",
|
|
3021
3021
|
{
|
|
3022
3022
|
className: isVerticalMode ? VerticalStepContentStyle : HorizontalStepContentStyle
|
|
@@ -3032,7 +3032,7 @@ const Steps = (props) => {
|
|
|
3032
3032
|
containerClassname,
|
|
3033
3033
|
current = 0,
|
|
3034
3034
|
disabled
|
|
3035
|
-
} = _a, stepsProps = __objRest$
|
|
3035
|
+
} = _a, stepsProps = __objRest$a(_a, [
|
|
3036
3036
|
"stepsConfig",
|
|
3037
3037
|
"direction",
|
|
3038
3038
|
"containerClassname",
|
|
@@ -3051,14 +3051,14 @@ const Steps = (props) => {
|
|
|
3051
3051
|
},
|
|
3052
3052
|
/* @__PURE__ */ React__default.createElement(
|
|
3053
3053
|
Steps$1,
|
|
3054
|
-
__spreadProps$h(__spreadValues$
|
|
3054
|
+
__spreadProps$h(__spreadValues$o({}, stepsProps), {
|
|
3055
3055
|
direction,
|
|
3056
3056
|
current,
|
|
3057
3057
|
type: "default"
|
|
3058
3058
|
}),
|
|
3059
3059
|
(stepsConfig == null ? void 0 : stepsConfig.length) ? stepsConfig.map((step, index) => /* @__PURE__ */ React__default.createElement(
|
|
3060
3060
|
Steps$1.Step,
|
|
3061
|
-
__spreadProps$h(__spreadValues$
|
|
3061
|
+
__spreadProps$h(__spreadValues$o({
|
|
3062
3062
|
key: index
|
|
3063
3063
|
}, step), {
|
|
3064
3064
|
disabled: disabled || index > current,
|
|
@@ -3077,33 +3077,33 @@ const Steps = (props) => {
|
|
|
3077
3077
|
);
|
|
3078
3078
|
};
|
|
3079
3079
|
|
|
3080
|
-
var __defProp$
|
|
3080
|
+
var __defProp$n = Object.defineProperty;
|
|
3081
3081
|
var __defProps$g = Object.defineProperties;
|
|
3082
3082
|
var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
|
|
3083
|
-
var __getOwnPropSymbols$
|
|
3084
|
-
var __hasOwnProp$
|
|
3085
|
-
var __propIsEnum$
|
|
3086
|
-
var __defNormalProp$
|
|
3087
|
-
var __spreadValues$
|
|
3083
|
+
var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
|
|
3084
|
+
var __hasOwnProp$o = Object.prototype.hasOwnProperty;
|
|
3085
|
+
var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
|
|
3086
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3087
|
+
var __spreadValues$n = (a, b) => {
|
|
3088
3088
|
for (var prop in b || (b = {}))
|
|
3089
|
-
if (__hasOwnProp$
|
|
3090
|
-
__defNormalProp$
|
|
3091
|
-
if (__getOwnPropSymbols$
|
|
3092
|
-
for (var prop of __getOwnPropSymbols$
|
|
3093
|
-
if (__propIsEnum$
|
|
3094
|
-
__defNormalProp$
|
|
3089
|
+
if (__hasOwnProp$o.call(b, prop))
|
|
3090
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
3091
|
+
if (__getOwnPropSymbols$o)
|
|
3092
|
+
for (var prop of __getOwnPropSymbols$o(b)) {
|
|
3093
|
+
if (__propIsEnum$o.call(b, prop))
|
|
3094
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
3095
3095
|
}
|
|
3096
3096
|
return a;
|
|
3097
3097
|
};
|
|
3098
3098
|
var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
|
|
3099
|
-
var __objRest$
|
|
3099
|
+
var __objRest$9 = (source, exclude) => {
|
|
3100
3100
|
var target = {};
|
|
3101
3101
|
for (var prop in source)
|
|
3102
|
-
if (__hasOwnProp$
|
|
3102
|
+
if (__hasOwnProp$o.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3103
3103
|
target[prop] = source[prop];
|
|
3104
|
-
if (source != null && __getOwnPropSymbols$
|
|
3105
|
-
for (var prop of __getOwnPropSymbols$
|
|
3106
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3104
|
+
if (source != null && __getOwnPropSymbols$o)
|
|
3105
|
+
for (var prop of __getOwnPropSymbols$o(source)) {
|
|
3106
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$o.call(source, prop))
|
|
3107
3107
|
target[prop] = source[prop];
|
|
3108
3108
|
}
|
|
3109
3109
|
return target;
|
|
@@ -3130,7 +3130,7 @@ const Modal = (props) => {
|
|
|
3130
3130
|
showCancel = true,
|
|
3131
3131
|
showOk = true,
|
|
3132
3132
|
afterClose
|
|
3133
|
-
} = _a, restProps = __objRest$
|
|
3133
|
+
} = _a, restProps = __objRest$9(_a, [
|
|
3134
3134
|
"error",
|
|
3135
3135
|
"okText",
|
|
3136
3136
|
"cancelText",
|
|
@@ -3185,7 +3185,7 @@ const Modal = (props) => {
|
|
|
3185
3185
|
}
|
|
3186
3186
|
return /* @__PURE__ */ React__default.createElement(
|
|
3187
3187
|
Modal$1,
|
|
3188
|
-
__spreadProps$g(__spreadValues$
|
|
3188
|
+
__spreadProps$g(__spreadValues$n({
|
|
3189
3189
|
maskClosable,
|
|
3190
3190
|
className: cs(
|
|
3191
3191
|
className,
|
|
@@ -3220,7 +3220,7 @@ const Modal = (props) => {
|
|
|
3220
3220
|
prevText
|
|
3221
3221
|
), error && /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement("span", { className: "modal-error" }, error))), /* @__PURE__ */ React__default.createElement("div", { className: "modal-footer-btn-group" }, showCancel && /* @__PURE__ */ React__default.createElement(
|
|
3222
3222
|
Button,
|
|
3223
|
-
__spreadValues$
|
|
3223
|
+
__spreadValues$n({
|
|
3224
3224
|
type: "quiet",
|
|
3225
3225
|
onMouseDown: (e) => {
|
|
3226
3226
|
e.preventDefault();
|
|
@@ -3234,7 +3234,7 @@ const Modal = (props) => {
|
|
|
3234
3234
|
cancelText
|
|
3235
3235
|
), showOk && /* @__PURE__ */ React__default.createElement(
|
|
3236
3236
|
Button,
|
|
3237
|
-
__spreadValues$
|
|
3237
|
+
__spreadValues$n({
|
|
3238
3238
|
onClick: (e) => {
|
|
3239
3239
|
var _a2, _b2;
|
|
3240
3240
|
onOk == null ? void 0 : onOk(e);
|
|
@@ -3381,19 +3381,19 @@ const Pagination = props => {
|
|
|
3381
3381
|
}))));
|
|
3382
3382
|
};
|
|
3383
3383
|
|
|
3384
|
-
var __defProp$
|
|
3385
|
-
var __getOwnPropSymbols$
|
|
3386
|
-
var __hasOwnProp$
|
|
3387
|
-
var __propIsEnum$
|
|
3388
|
-
var __defNormalProp$
|
|
3389
|
-
var __spreadValues$
|
|
3384
|
+
var __defProp$m = Object.defineProperty;
|
|
3385
|
+
var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
|
|
3386
|
+
var __hasOwnProp$n = Object.prototype.hasOwnProperty;
|
|
3387
|
+
var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
|
|
3388
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3389
|
+
var __spreadValues$m = (a, b) => {
|
|
3390
3390
|
for (var prop in b || (b = {}))
|
|
3391
|
-
if (__hasOwnProp$
|
|
3392
|
-
__defNormalProp$
|
|
3393
|
-
if (__getOwnPropSymbols$
|
|
3394
|
-
for (var prop of __getOwnPropSymbols$
|
|
3395
|
-
if (__propIsEnum$
|
|
3396
|
-
__defNormalProp$
|
|
3391
|
+
if (__hasOwnProp$n.call(b, prop))
|
|
3392
|
+
__defNormalProp$m(a, prop, b[prop]);
|
|
3393
|
+
if (__getOwnPropSymbols$n)
|
|
3394
|
+
for (var prop of __getOwnPropSymbols$n(b)) {
|
|
3395
|
+
if (__propIsEnum$n.call(b, prop))
|
|
3396
|
+
__defNormalProp$m(a, prop, b[prop]);
|
|
3397
3397
|
}
|
|
3398
3398
|
return a;
|
|
3399
3399
|
};
|
|
@@ -3406,52 +3406,52 @@ const Percent = ({
|
|
|
3406
3406
|
emptyProps
|
|
3407
3407
|
}) => {
|
|
3408
3408
|
if (isEmpty(rawValue)) {
|
|
3409
|
-
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$
|
|
3409
|
+
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$m({}, emptyProps));
|
|
3410
3410
|
}
|
|
3411
3411
|
const { value, unit } = formatPercent(rawValue, decimals, saturated);
|
|
3412
3412
|
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, unit));
|
|
3413
3413
|
};
|
|
3414
3414
|
|
|
3415
|
-
var __defProp$
|
|
3416
|
-
var __getOwnPropSymbols$
|
|
3417
|
-
var __hasOwnProp$
|
|
3418
|
-
var __propIsEnum$
|
|
3419
|
-
var __defNormalProp$
|
|
3420
|
-
var __spreadValues$
|
|
3415
|
+
var __defProp$l = Object.defineProperty;
|
|
3416
|
+
var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
|
|
3417
|
+
var __hasOwnProp$m = Object.prototype.hasOwnProperty;
|
|
3418
|
+
var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
|
|
3419
|
+
var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3420
|
+
var __spreadValues$l = (a, b) => {
|
|
3421
3421
|
for (var prop in b || (b = {}))
|
|
3422
|
-
if (__hasOwnProp$
|
|
3423
|
-
__defNormalProp$
|
|
3424
|
-
if (__getOwnPropSymbols$
|
|
3425
|
-
for (var prop of __getOwnPropSymbols$
|
|
3426
|
-
if (__propIsEnum$
|
|
3427
|
-
__defNormalProp$
|
|
3422
|
+
if (__hasOwnProp$m.call(b, prop))
|
|
3423
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
3424
|
+
if (__getOwnPropSymbols$m)
|
|
3425
|
+
for (var prop of __getOwnPropSymbols$m(b)) {
|
|
3426
|
+
if (__propIsEnum$m.call(b, prop))
|
|
3427
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
3428
3428
|
}
|
|
3429
3429
|
return a;
|
|
3430
3430
|
};
|
|
3431
|
-
const Progress = (props) => /* @__PURE__ */ React__default.createElement(Progress$1, __spreadValues$
|
|
3431
|
+
const Progress = (props) => /* @__PURE__ */ React__default.createElement(Progress$1, __spreadValues$l({}, props));
|
|
3432
3432
|
|
|
3433
|
-
var __defProp$
|
|
3434
|
-
var __getOwnPropSymbols$
|
|
3435
|
-
var __hasOwnProp$
|
|
3436
|
-
var __propIsEnum$
|
|
3437
|
-
var __defNormalProp$
|
|
3433
|
+
var __defProp$k = Object.defineProperty;
|
|
3434
|
+
var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
|
|
3435
|
+
var __hasOwnProp$l = Object.prototype.hasOwnProperty;
|
|
3436
|
+
var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
|
|
3437
|
+
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, {
|
|
3438
3438
|
enumerable: true,
|
|
3439
3439
|
configurable: true,
|
|
3440
3440
|
writable: true,
|
|
3441
3441
|
value
|
|
3442
3442
|
}) : obj[key] = value;
|
|
3443
|
-
var __spreadValues$
|
|
3444
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3445
|
-
if (__getOwnPropSymbols$
|
|
3446
|
-
if (__propIsEnum$
|
|
3443
|
+
var __spreadValues$k = (a, b) => {
|
|
3444
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$l.call(b, prop)) __defNormalProp$k(a, prop, b[prop]);
|
|
3445
|
+
if (__getOwnPropSymbols$l) for (var prop of __getOwnPropSymbols$l(b)) {
|
|
3446
|
+
if (__propIsEnum$l.call(b, prop)) __defNormalProp$k(a, prop, b[prop]);
|
|
3447
3447
|
}
|
|
3448
3448
|
return a;
|
|
3449
3449
|
};
|
|
3450
|
-
var __objRest$
|
|
3450
|
+
var __objRest$8 = (source, exclude) => {
|
|
3451
3451
|
var target = {};
|
|
3452
|
-
for (var prop in source) if (__hasOwnProp$
|
|
3453
|
-
if (source != null && __getOwnPropSymbols$
|
|
3454
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3452
|
+
for (var prop in source) if (__hasOwnProp$l.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
3453
|
+
if (source != null && __getOwnPropSymbols$l) for (var prop of __getOwnPropSymbols$l(source)) {
|
|
3454
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$l.call(source, prop)) target[prop] = source[prop];
|
|
3455
3455
|
}
|
|
3456
3456
|
return target;
|
|
3457
3457
|
};
|
|
@@ -3467,7 +3467,7 @@ const Radio = _a => {
|
|
|
3467
3467
|
checked,
|
|
3468
3468
|
compact = false
|
|
3469
3469
|
} = _b,
|
|
3470
|
-
props = __objRest$
|
|
3470
|
+
props = __objRest$8(_b, ["children", "className", "checked", "compact"]);
|
|
3471
3471
|
const {
|
|
3472
3472
|
description
|
|
3473
3473
|
} = props;
|
|
@@ -3477,7 +3477,7 @@ const Radio = _a => {
|
|
|
3477
3477
|
className: cx("radio-description", Typo.Label.l4_regular)
|
|
3478
3478
|
}, description));
|
|
3479
3479
|
}
|
|
3480
|
-
return /* @__PURE__ */React__default.createElement(React__default.Fragment, null, /* @__PURE__ */React__default.createElement(Radio$1, __spreadValues$
|
|
3480
|
+
return /* @__PURE__ */React__default.createElement(React__default.Fragment, null, /* @__PURE__ */React__default.createElement(Radio$1, __spreadValues$k({
|
|
3481
3481
|
className: cx(className, RadioStyle, compact && "compact"),
|
|
3482
3482
|
checked: checked || false,
|
|
3483
3483
|
"data-test": context.name ? `${context.name}-${String(props.value)}` : String(props.value)
|
|
@@ -3489,13 +3489,13 @@ const RadioGroup = _c => {
|
|
|
3489
3489
|
children,
|
|
3490
3490
|
className
|
|
3491
3491
|
} = _d,
|
|
3492
|
-
props = __objRest$
|
|
3492
|
+
props = __objRest$8(_d, ["children", "className"]);
|
|
3493
3493
|
return /* @__PURE__ */React__default.createElement(KitRadioGroupContext.Provider, {
|
|
3494
3494
|
value: {
|
|
3495
3495
|
disabled: props.disabled,
|
|
3496
3496
|
name: props.name
|
|
3497
3497
|
}
|
|
3498
|
-
}, /* @__PURE__ */React__default.createElement(Radio$1.Group, __spreadValues$
|
|
3498
|
+
}, /* @__PURE__ */React__default.createElement(Radio$1.Group, __spreadValues$k({
|
|
3499
3499
|
className: cx(className, RadioGroupStyle)
|
|
3500
3500
|
}, props), children ? children : null));
|
|
3501
3501
|
};
|
|
@@ -3505,7 +3505,7 @@ const RadioButton = _e => {
|
|
|
3505
3505
|
children,
|
|
3506
3506
|
className
|
|
3507
3507
|
} = _f,
|
|
3508
|
-
props = __objRest$
|
|
3508
|
+
props = __objRest$8(_f, ["children", "className"]);
|
|
3509
3509
|
const {
|
|
3510
3510
|
type,
|
|
3511
3511
|
placeholder = "Label",
|
|
@@ -3551,46 +3551,46 @@ const RadioButton = _e => {
|
|
|
3551
3551
|
className: "ant-radio-button-input-label"
|
|
3552
3552
|
}, typeof children === "string" ? children : ""));
|
|
3553
3553
|
};
|
|
3554
|
-
return /* @__PURE__ */React__default.createElement(Radio$1.Button, __spreadValues$
|
|
3554
|
+
return /* @__PURE__ */React__default.createElement(Radio$1.Button, __spreadValues$k({
|
|
3555
3555
|
className: cx(className, RadioButtonStyle),
|
|
3556
3556
|
value: radioButtonValue
|
|
3557
3557
|
}, props), renderChildren());
|
|
3558
3558
|
};
|
|
3559
3559
|
|
|
3560
|
-
var __defProp$
|
|
3561
|
-
var __getOwnPropSymbols$
|
|
3562
|
-
var __hasOwnProp$
|
|
3563
|
-
var __propIsEnum$
|
|
3564
|
-
var __defNormalProp$
|
|
3565
|
-
var __spreadValues$
|
|
3560
|
+
var __defProp$j = Object.defineProperty;
|
|
3561
|
+
var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
|
|
3562
|
+
var __hasOwnProp$k = Object.prototype.hasOwnProperty;
|
|
3563
|
+
var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
|
|
3564
|
+
var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3565
|
+
var __spreadValues$j = (a, b) => {
|
|
3566
3566
|
for (var prop in b || (b = {}))
|
|
3567
|
-
if (__hasOwnProp$
|
|
3568
|
-
__defNormalProp$
|
|
3569
|
-
if (__getOwnPropSymbols$
|
|
3570
|
-
for (var prop of __getOwnPropSymbols$
|
|
3571
|
-
if (__propIsEnum$
|
|
3572
|
-
__defNormalProp$
|
|
3567
|
+
if (__hasOwnProp$k.call(b, prop))
|
|
3568
|
+
__defNormalProp$j(a, prop, b[prop]);
|
|
3569
|
+
if (__getOwnPropSymbols$k)
|
|
3570
|
+
for (var prop of __getOwnPropSymbols$k(b)) {
|
|
3571
|
+
if (__propIsEnum$k.call(b, prop))
|
|
3572
|
+
__defNormalProp$j(a, prop, b[prop]);
|
|
3573
3573
|
}
|
|
3574
3574
|
return a;
|
|
3575
3575
|
};
|
|
3576
|
-
var __objRest$
|
|
3576
|
+
var __objRest$7 = (source, exclude) => {
|
|
3577
3577
|
var target = {};
|
|
3578
3578
|
for (var prop in source)
|
|
3579
|
-
if (__hasOwnProp$
|
|
3579
|
+
if (__hasOwnProp$k.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3580
3580
|
target[prop] = source[prop];
|
|
3581
|
-
if (source != null && __getOwnPropSymbols$
|
|
3582
|
-
for (var prop of __getOwnPropSymbols$
|
|
3583
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3581
|
+
if (source != null && __getOwnPropSymbols$k)
|
|
3582
|
+
for (var prop of __getOwnPropSymbols$k(source)) {
|
|
3583
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$k.call(source, prop))
|
|
3584
3584
|
target[prop] = source[prop];
|
|
3585
3585
|
}
|
|
3586
3586
|
return target;
|
|
3587
3587
|
};
|
|
3588
3588
|
const SearchInput = (props) => {
|
|
3589
|
-
const _a = props, { onChange, debounceWait = 300 } = _a, restProps = __objRest$
|
|
3589
|
+
const _a = props, { onChange, debounceWait = 300 } = _a, restProps = __objRest$7(_a, ["onChange", "debounceWait"]);
|
|
3590
3590
|
const onSearch = _.debounce(onChange, debounceWait);
|
|
3591
3591
|
return /* @__PURE__ */ React__default.createElement(
|
|
3592
3592
|
Input,
|
|
3593
|
-
__spreadValues$
|
|
3593
|
+
__spreadValues$j({
|
|
3594
3594
|
style: { width: 276 },
|
|
3595
3595
|
prefix: /* @__PURE__ */ React__default.createElement(SearchOutlined, null),
|
|
3596
3596
|
onChange: (e) => onSearch(e.target.value)
|
|
@@ -3598,19 +3598,19 @@ const SearchInput = (props) => {
|
|
|
3598
3598
|
);
|
|
3599
3599
|
};
|
|
3600
3600
|
|
|
3601
|
-
var __defProp$
|
|
3602
|
-
var __getOwnPropSymbols$
|
|
3603
|
-
var __hasOwnProp$
|
|
3604
|
-
var __propIsEnum$
|
|
3605
|
-
var __defNormalProp$
|
|
3606
|
-
var __spreadValues$
|
|
3601
|
+
var __defProp$i = Object.defineProperty;
|
|
3602
|
+
var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
|
|
3603
|
+
var __hasOwnProp$j = Object.prototype.hasOwnProperty;
|
|
3604
|
+
var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
|
|
3605
|
+
var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3606
|
+
var __spreadValues$i = (a, b) => {
|
|
3607
3607
|
for (var prop in b || (b = {}))
|
|
3608
|
-
if (__hasOwnProp$
|
|
3609
|
-
__defNormalProp$
|
|
3610
|
-
if (__getOwnPropSymbols$
|
|
3611
|
-
for (var prop of __getOwnPropSymbols$
|
|
3612
|
-
if (__propIsEnum$
|
|
3613
|
-
__defNormalProp$
|
|
3608
|
+
if (__hasOwnProp$j.call(b, prop))
|
|
3609
|
+
__defNormalProp$i(a, prop, b[prop]);
|
|
3610
|
+
if (__getOwnPropSymbols$j)
|
|
3611
|
+
for (var prop of __getOwnPropSymbols$j(b)) {
|
|
3612
|
+
if (__propIsEnum$j.call(b, prop))
|
|
3613
|
+
__defNormalProp$i(a, prop, b[prop]);
|
|
3614
3614
|
}
|
|
3615
3615
|
return a;
|
|
3616
3616
|
};
|
|
@@ -3624,7 +3624,7 @@ const Second = ({
|
|
|
3624
3624
|
}) => {
|
|
3625
3625
|
const { t } = useParrotTranslation();
|
|
3626
3626
|
if (isEmpty(rawValue)) {
|
|
3627
|
-
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$
|
|
3627
|
+
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$i({}, emptyProps));
|
|
3628
3628
|
}
|
|
3629
3629
|
const { value, unit } = formatSeconds(rawValue, decimals);
|
|
3630
3630
|
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value, " "), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, t(`common.${abbreviate ? `${unit}_abbreviation` : unit}`)));
|
|
@@ -3706,19 +3706,19 @@ const SimplePagination = props => {
|
|
|
3706
3706
|
})));
|
|
3707
3707
|
};
|
|
3708
3708
|
|
|
3709
|
-
var __defProp$
|
|
3710
|
-
var __getOwnPropSymbols$
|
|
3711
|
-
var __hasOwnProp$
|
|
3712
|
-
var __propIsEnum$
|
|
3713
|
-
var __defNormalProp$
|
|
3714
|
-
var __spreadValues$
|
|
3709
|
+
var __defProp$h = Object.defineProperty;
|
|
3710
|
+
var __getOwnPropSymbols$i = Object.getOwnPropertySymbols;
|
|
3711
|
+
var __hasOwnProp$i = Object.prototype.hasOwnProperty;
|
|
3712
|
+
var __propIsEnum$i = Object.prototype.propertyIsEnumerable;
|
|
3713
|
+
var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3714
|
+
var __spreadValues$h = (a, b) => {
|
|
3715
3715
|
for (var prop in b || (b = {}))
|
|
3716
|
-
if (__hasOwnProp$
|
|
3717
|
-
__defNormalProp$
|
|
3718
|
-
if (__getOwnPropSymbols$
|
|
3719
|
-
for (var prop of __getOwnPropSymbols$
|
|
3720
|
-
if (__propIsEnum$
|
|
3721
|
-
__defNormalProp$
|
|
3716
|
+
if (__hasOwnProp$i.call(b, prop))
|
|
3717
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
3718
|
+
if (__getOwnPropSymbols$i)
|
|
3719
|
+
for (var prop of __getOwnPropSymbols$i(b)) {
|
|
3720
|
+
if (__propIsEnum$i.call(b, prop))
|
|
3721
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
3722
3722
|
}
|
|
3723
3723
|
return a;
|
|
3724
3724
|
};
|
|
@@ -3730,37 +3730,37 @@ const Speed = ({
|
|
|
3730
3730
|
emptyProps
|
|
3731
3731
|
}) => {
|
|
3732
3732
|
if (isEmpty(rawValue)) {
|
|
3733
|
-
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$
|
|
3733
|
+
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$h({}, emptyProps));
|
|
3734
3734
|
}
|
|
3735
3735
|
const { value, unit } = formatSpeed(rawValue, decimals);
|
|
3736
3736
|
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
3737
3737
|
};
|
|
3738
3738
|
|
|
3739
|
-
var __defProp$
|
|
3739
|
+
var __defProp$g = Object.defineProperty;
|
|
3740
3740
|
var __defProps$f = Object.defineProperties;
|
|
3741
3741
|
var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
|
|
3742
|
-
var __getOwnPropSymbols$
|
|
3743
|
-
var __hasOwnProp$
|
|
3744
|
-
var __propIsEnum$
|
|
3745
|
-
var __defNormalProp$
|
|
3742
|
+
var __getOwnPropSymbols$h = Object.getOwnPropertySymbols;
|
|
3743
|
+
var __hasOwnProp$h = Object.prototype.hasOwnProperty;
|
|
3744
|
+
var __propIsEnum$h = Object.prototype.propertyIsEnumerable;
|
|
3745
|
+
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, {
|
|
3746
3746
|
enumerable: true,
|
|
3747
3747
|
configurable: true,
|
|
3748
3748
|
writable: true,
|
|
3749
3749
|
value
|
|
3750
3750
|
}) : obj[key] = value;
|
|
3751
|
-
var __spreadValues$
|
|
3752
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3753
|
-
if (__getOwnPropSymbols$
|
|
3754
|
-
if (__propIsEnum$
|
|
3751
|
+
var __spreadValues$g = (a, b) => {
|
|
3752
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$h.call(b, prop)) __defNormalProp$g(a, prop, b[prop]);
|
|
3753
|
+
if (__getOwnPropSymbols$h) for (var prop of __getOwnPropSymbols$h(b)) {
|
|
3754
|
+
if (__propIsEnum$h.call(b, prop)) __defNormalProp$g(a, prop, b[prop]);
|
|
3755
3755
|
}
|
|
3756
3756
|
return a;
|
|
3757
3757
|
};
|
|
3758
3758
|
var __spreadProps$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
|
|
3759
|
-
var __objRest$
|
|
3759
|
+
var __objRest$6 = (source, exclude) => {
|
|
3760
3760
|
var target = {};
|
|
3761
|
-
for (var prop in source) if (__hasOwnProp$
|
|
3762
|
-
if (source != null && __getOwnPropSymbols$
|
|
3763
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3761
|
+
for (var prop in source) if (__hasOwnProp$h.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
3762
|
+
if (source != null && __getOwnPropSymbols$h) for (var prop of __getOwnPropSymbols$h(source)) {
|
|
3763
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$h.call(source, prop)) target[prop] = source[prop];
|
|
3764
3764
|
}
|
|
3765
3765
|
return target;
|
|
3766
3766
|
};
|
|
@@ -3803,9 +3803,9 @@ const StatusCapsule = _a => {
|
|
|
3803
3803
|
offWhiteMode,
|
|
3804
3804
|
number
|
|
3805
3805
|
} = _b,
|
|
3806
|
-
props = __objRest$
|
|
3806
|
+
props = __objRest$6(_b, ["color", "className", "loading", "hoverable", "children", "offWhiteMode", "number"]);
|
|
3807
3807
|
const computedColor = ColorMap[color] || color;
|
|
3808
|
-
return /* @__PURE__ */React__default.createElement(Tag$1, __spreadProps$f(__spreadValues$
|
|
3808
|
+
return /* @__PURE__ */React__default.createElement(Tag$1, __spreadProps$f(__spreadValues$g({}, props), {
|
|
3809
3809
|
className: cs(className, StatusCapsuleStyle, Typo.Label.l4_regular, "ui-kit-status-capsule", {
|
|
3810
3810
|
[`ant-tag-${computedColor}`]: PresetColors$3.includes(computedColor),
|
|
3811
3811
|
"tag-hover": hoverable,
|
|
@@ -3820,31 +3820,31 @@ const StatusCapsule = _a => {
|
|
|
3820
3820
|
}, number));
|
|
3821
3821
|
};
|
|
3822
3822
|
|
|
3823
|
-
var __defProp$
|
|
3823
|
+
var __defProp$f = Object.defineProperty;
|
|
3824
3824
|
var __defProps$e = Object.defineProperties;
|
|
3825
3825
|
var __getOwnPropDescs$e = Object.getOwnPropertyDescriptors;
|
|
3826
|
-
var __getOwnPropSymbols$
|
|
3827
|
-
var __hasOwnProp$
|
|
3828
|
-
var __propIsEnum$
|
|
3829
|
-
var __defNormalProp$
|
|
3826
|
+
var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
|
|
3827
|
+
var __hasOwnProp$g = Object.prototype.hasOwnProperty;
|
|
3828
|
+
var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
|
|
3829
|
+
var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, {
|
|
3830
3830
|
enumerable: true,
|
|
3831
3831
|
configurable: true,
|
|
3832
3832
|
writable: true,
|
|
3833
3833
|
value
|
|
3834
3834
|
}) : obj[key] = value;
|
|
3835
|
-
var __spreadValues$
|
|
3836
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3837
|
-
if (__getOwnPropSymbols$
|
|
3838
|
-
if (__propIsEnum$
|
|
3835
|
+
var __spreadValues$f = (a, b) => {
|
|
3836
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$g.call(b, prop)) __defNormalProp$f(a, prop, b[prop]);
|
|
3837
|
+
if (__getOwnPropSymbols$g) for (var prop of __getOwnPropSymbols$g(b)) {
|
|
3838
|
+
if (__propIsEnum$g.call(b, prop)) __defNormalProp$f(a, prop, b[prop]);
|
|
3839
3839
|
}
|
|
3840
3840
|
return a;
|
|
3841
3841
|
};
|
|
3842
3842
|
var __spreadProps$e = (a, b) => __defProps$e(a, __getOwnPropDescs$e(b));
|
|
3843
|
-
var __objRest$
|
|
3843
|
+
var __objRest$5 = (source, exclude) => {
|
|
3844
3844
|
var target = {};
|
|
3845
|
-
for (var prop in source) if (__hasOwnProp$
|
|
3846
|
-
if (source != null && __getOwnPropSymbols$
|
|
3847
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3845
|
+
for (var prop in source) if (__hasOwnProp$g.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
3846
|
+
if (source != null && __getOwnPropSymbols$g) for (var prop of __getOwnPropSymbols$g(source)) {
|
|
3847
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$g.call(source, prop)) target[prop] = source[prop];
|
|
3848
3848
|
}
|
|
3849
3849
|
return target;
|
|
3850
3850
|
};
|
|
@@ -3856,7 +3856,7 @@ const Switch = _a => {
|
|
|
3856
3856
|
className,
|
|
3857
3857
|
checked
|
|
3858
3858
|
} = _b,
|
|
3859
|
-
props = __objRest$
|
|
3859
|
+
props = __objRest$5(_b, ["children", "className", "checked"]);
|
|
3860
3860
|
const Content = /*#__PURE__*/styled('span')({
|
|
3861
3861
|
name: "Content",
|
|
3862
3862
|
class: "c1to9vb9",
|
|
@@ -3864,7 +3864,7 @@ const Switch = _a => {
|
|
|
3864
3864
|
});
|
|
3865
3865
|
const classNames = [className, SwitchStyle, "switch"];
|
|
3866
3866
|
if (props.size === "large") classNames.push("ant-switch-large");
|
|
3867
|
-
return /* @__PURE__ */React__default.createElement(React__default.Fragment, null, /* @__PURE__ */React__default.createElement(Switch$1, __spreadProps$e(__spreadValues$
|
|
3867
|
+
return /* @__PURE__ */React__default.createElement(React__default.Fragment, null, /* @__PURE__ */React__default.createElement(Switch$1, __spreadProps$e(__spreadValues$f({
|
|
3868
3868
|
className: cx(...classNames),
|
|
3869
3869
|
checked: checked || false
|
|
3870
3870
|
}, props), {
|
|
@@ -3950,22 +3950,22 @@ const ColumnTitle = props => {
|
|
|
3950
3950
|
}));
|
|
3951
3951
|
};
|
|
3952
3952
|
|
|
3953
|
-
var __defProp$
|
|
3953
|
+
var __defProp$e = Object.defineProperty;
|
|
3954
3954
|
var __defProps$d = Object.defineProperties;
|
|
3955
3955
|
var __getOwnPropDescs$d = Object.getOwnPropertyDescriptors;
|
|
3956
|
-
var __getOwnPropSymbols$
|
|
3957
|
-
var __hasOwnProp$
|
|
3958
|
-
var __propIsEnum$
|
|
3959
|
-
var __defNormalProp$
|
|
3956
|
+
var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
|
|
3957
|
+
var __hasOwnProp$f = Object.prototype.hasOwnProperty;
|
|
3958
|
+
var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
|
|
3959
|
+
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, {
|
|
3960
3960
|
enumerable: true,
|
|
3961
3961
|
configurable: true,
|
|
3962
3962
|
writable: true,
|
|
3963
3963
|
value
|
|
3964
3964
|
}) : obj[key] = value;
|
|
3965
|
-
var __spreadValues$
|
|
3966
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3967
|
-
if (__getOwnPropSymbols$
|
|
3968
|
-
if (__propIsEnum$
|
|
3965
|
+
var __spreadValues$e = (a, b) => {
|
|
3966
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$f.call(b, prop)) __defNormalProp$e(a, prop, b[prop]);
|
|
3967
|
+
if (__getOwnPropSymbols$f) for (var prop of __getOwnPropSymbols$f(b)) {
|
|
3968
|
+
if (__propIsEnum$f.call(b, prop)) __defNormalProp$e(a, prop, b[prop]);
|
|
3969
3969
|
}
|
|
3970
3970
|
return a;
|
|
3971
3971
|
};
|
|
@@ -3996,7 +3996,7 @@ const Table = props => {
|
|
|
3996
3996
|
const orderRef = useRef(null);
|
|
3997
3997
|
const hasScrollBard = useTableBodyHasScrollBar(wrapper, dataSource);
|
|
3998
3998
|
const _columns = useMemo(() => columns.map(column => {
|
|
3999
|
-
const _column = __spreadValues$
|
|
3999
|
+
const _column = __spreadValues$e({}, column);
|
|
4000
4000
|
if (_column.sorter && typeof _column.title !== "function") {
|
|
4001
4001
|
_column.title = /* @__PURE__ */React__default.createElement(ColumnTitle, {
|
|
4002
4002
|
title: column.title,
|
|
@@ -4033,12 +4033,12 @@ const Table = props => {
|
|
|
4033
4033
|
onSorterChange == null ? void 0 : onSorterChange(orderRef.current, sorter.columnKey);
|
|
4034
4034
|
}
|
|
4035
4035
|
},
|
|
4036
|
-
onRow: (record, index) => __spreadValues$
|
|
4036
|
+
onRow: (record, index) => __spreadValues$e({
|
|
4037
4037
|
onClick: evt => onRowClick == null ? void 0 : onRowClick(record, index, evt)
|
|
4038
4038
|
}, onRow == null ? void 0 : onRow(record, index)),
|
|
4039
4039
|
rowClassName,
|
|
4040
4040
|
scroll,
|
|
4041
|
-
rowSelection: rowSelection && __spreadProps$d(__spreadValues$
|
|
4041
|
+
rowSelection: rowSelection && __spreadProps$d(__spreadValues$e({}, rowSelection), {
|
|
4042
4042
|
columnWidth: 32
|
|
4043
4043
|
}),
|
|
4044
4044
|
showSorterTooltip: false
|
|
@@ -4100,33 +4100,33 @@ const moveItemInArray = (array, fromIndex, toIndex) => {
|
|
|
4100
4100
|
return sortArr;
|
|
4101
4101
|
};
|
|
4102
4102
|
|
|
4103
|
-
var __defProp$
|
|
4103
|
+
var __defProp$d = Object.defineProperty;
|
|
4104
4104
|
var __defProps$c = Object.defineProperties;
|
|
4105
4105
|
var __getOwnPropDescs$c = Object.getOwnPropertyDescriptors;
|
|
4106
|
-
var __getOwnPropSymbols$
|
|
4107
|
-
var __hasOwnProp$
|
|
4108
|
-
var __propIsEnum$
|
|
4109
|
-
var __defNormalProp$
|
|
4110
|
-
var __spreadValues$
|
|
4106
|
+
var __getOwnPropSymbols$e = Object.getOwnPropertySymbols;
|
|
4107
|
+
var __hasOwnProp$e = Object.prototype.hasOwnProperty;
|
|
4108
|
+
var __propIsEnum$e = Object.prototype.propertyIsEnumerable;
|
|
4109
|
+
var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4110
|
+
var __spreadValues$d = (a, b) => {
|
|
4111
4111
|
for (var prop in b || (b = {}))
|
|
4112
|
-
if (__hasOwnProp$
|
|
4113
|
-
__defNormalProp$
|
|
4114
|
-
if (__getOwnPropSymbols$
|
|
4115
|
-
for (var prop of __getOwnPropSymbols$
|
|
4116
|
-
if (__propIsEnum$
|
|
4117
|
-
__defNormalProp$
|
|
4112
|
+
if (__hasOwnProp$e.call(b, prop))
|
|
4113
|
+
__defNormalProp$d(a, prop, b[prop]);
|
|
4114
|
+
if (__getOwnPropSymbols$e)
|
|
4115
|
+
for (var prop of __getOwnPropSymbols$e(b)) {
|
|
4116
|
+
if (__propIsEnum$e.call(b, prop))
|
|
4117
|
+
__defNormalProp$d(a, prop, b[prop]);
|
|
4118
4118
|
}
|
|
4119
4119
|
return a;
|
|
4120
4120
|
};
|
|
4121
4121
|
var __spreadProps$c = (a, b) => __defProps$c(a, __getOwnPropDescs$c(b));
|
|
4122
|
-
var __objRest$
|
|
4122
|
+
var __objRest$4 = (source, exclude) => {
|
|
4123
4123
|
var target = {};
|
|
4124
4124
|
for (var prop in source)
|
|
4125
|
-
if (__hasOwnProp$
|
|
4125
|
+
if (__hasOwnProp$e.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
4126
4126
|
target[prop] = source[prop];
|
|
4127
|
-
if (source != null && __getOwnPropSymbols$
|
|
4128
|
-
for (var prop of __getOwnPropSymbols$
|
|
4129
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4127
|
+
if (source != null && __getOwnPropSymbols$e)
|
|
4128
|
+
for (var prop of __getOwnPropSymbols$e(source)) {
|
|
4129
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$e.call(source, prop))
|
|
4130
4130
|
target[prop] = source[prop];
|
|
4131
4131
|
}
|
|
4132
4132
|
return target;
|
|
@@ -4142,7 +4142,7 @@ const AddRowButton = (props) => {
|
|
|
4142
4142
|
const _a = buttonProps || {}, {
|
|
4143
4143
|
disabled: disabledFromProp,
|
|
4144
4144
|
onClick
|
|
4145
|
-
} = _a, restButtonProps = __objRest$
|
|
4145
|
+
} = _a, restButtonProps = __objRest$4(_a, [
|
|
4146
4146
|
"disabled",
|
|
4147
4147
|
"onClick"
|
|
4148
4148
|
]);
|
|
@@ -4167,9 +4167,9 @@ const AddRowButton = (props) => {
|
|
|
4167
4167
|
if (!columns.length) {
|
|
4168
4168
|
return null;
|
|
4169
4169
|
}
|
|
4170
|
-
return CustomizedButton ? /* @__PURE__ */ React__default.createElement(CustomizedButton, __spreadValues$
|
|
4170
|
+
return CustomizedButton ? /* @__PURE__ */ React__default.createElement(CustomizedButton, __spreadValues$d({}, props)) : /* @__PURE__ */ React__default.createElement(AddRowButtonWrapper, { className }, /* @__PURE__ */ React__default.createElement(
|
|
4171
4171
|
Button,
|
|
4172
|
-
__spreadProps$c(__spreadValues$
|
|
4172
|
+
__spreadProps$c(__spreadValues$d({}, restButtonProps), {
|
|
4173
4173
|
type: restButtonProps.type || "ordinary",
|
|
4174
4174
|
size: restButtonProps.size || "small",
|
|
4175
4175
|
prefixIcon: restButtonProps.prefixIcon || /* @__PURE__ */ React__default.createElement(PlusAddCreateNew16SecondaryIcon, null),
|
|
@@ -4264,21 +4264,21 @@ const CheckboxColumnBodyCell = ({ data, column, index, onChange }) => {
|
|
|
4264
4264
|
);
|
|
4265
4265
|
};
|
|
4266
4266
|
|
|
4267
|
-
var __defProp$
|
|
4267
|
+
var __defProp$c = Object.defineProperty;
|
|
4268
4268
|
var __defProps$b = Object.defineProperties;
|
|
4269
4269
|
var __getOwnPropDescs$b = Object.getOwnPropertyDescriptors;
|
|
4270
|
-
var __getOwnPropSymbols$
|
|
4271
|
-
var __hasOwnProp$
|
|
4272
|
-
var __propIsEnum$
|
|
4273
|
-
var __defNormalProp$
|
|
4274
|
-
var __spreadValues$
|
|
4270
|
+
var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
|
|
4271
|
+
var __hasOwnProp$d = Object.prototype.hasOwnProperty;
|
|
4272
|
+
var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
|
|
4273
|
+
var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4274
|
+
var __spreadValues$c = (a, b) => {
|
|
4275
4275
|
for (var prop in b || (b = {}))
|
|
4276
|
-
if (__hasOwnProp$
|
|
4277
|
-
__defNormalProp$
|
|
4278
|
-
if (__getOwnPropSymbols$
|
|
4279
|
-
for (var prop of __getOwnPropSymbols$
|
|
4280
|
-
if (__propIsEnum$
|
|
4281
|
-
__defNormalProp$
|
|
4276
|
+
if (__hasOwnProp$d.call(b, prop))
|
|
4277
|
+
__defNormalProp$c(a, prop, b[prop]);
|
|
4278
|
+
if (__getOwnPropSymbols$d)
|
|
4279
|
+
for (var prop of __getOwnPropSymbols$d(b)) {
|
|
4280
|
+
if (__propIsEnum$d.call(b, prop))
|
|
4281
|
+
__defNormalProp$c(a, prop, b[prop]);
|
|
4282
4282
|
}
|
|
4283
4283
|
return a;
|
|
4284
4284
|
};
|
|
@@ -4298,7 +4298,7 @@ const InputPassword = (props) => {
|
|
|
4298
4298
|
const inputType = showPassword ? "text" : "password";
|
|
4299
4299
|
return /* @__PURE__ */ React__default.createElement(
|
|
4300
4300
|
Input,
|
|
4301
|
-
__spreadProps$b(__spreadValues$
|
|
4301
|
+
__spreadProps$b(__spreadValues$c({}, props), {
|
|
4302
4302
|
type: inputType,
|
|
4303
4303
|
suffix: showPassword ? /* @__PURE__ */ React__default.createElement(
|
|
4304
4304
|
EyeOutlined,
|
|
@@ -4318,9 +4318,9 @@ const InputPassword = (props) => {
|
|
|
4318
4318
|
};
|
|
4319
4319
|
const CustomInput = (props) => {
|
|
4320
4320
|
if (props.type === "password") {
|
|
4321
|
-
return /* @__PURE__ */ React__default.createElement(InputPassword, __spreadValues$
|
|
4321
|
+
return /* @__PURE__ */ React__default.createElement(InputPassword, __spreadValues$c({}, props));
|
|
4322
4322
|
}
|
|
4323
|
-
return /* @__PURE__ */ React__default.createElement(Input, __spreadValues$
|
|
4323
|
+
return /* @__PURE__ */ React__default.createElement(Input, __spreadValues$c({}, props));
|
|
4324
4324
|
};
|
|
4325
4325
|
const InputColumnHeaderCell = ({ disabled, column, onChange, onBlur, onVisibleChange }) => {
|
|
4326
4326
|
const _onChange = (e) => {
|
|
@@ -4444,21 +4444,21 @@ var ValidateTriggerType = /* @__PURE__ */ ((ValidateTriggerType2) => {
|
|
|
4444
4444
|
return ValidateTriggerType2;
|
|
4445
4445
|
})(ValidateTriggerType || {});
|
|
4446
4446
|
|
|
4447
|
-
var __defProp$
|
|
4447
|
+
var __defProp$b = Object.defineProperty;
|
|
4448
4448
|
var __defProps$a = Object.defineProperties;
|
|
4449
4449
|
var __getOwnPropDescs$a = Object.getOwnPropertyDescriptors;
|
|
4450
|
-
var __getOwnPropSymbols$
|
|
4451
|
-
var __hasOwnProp$
|
|
4452
|
-
var __propIsEnum$
|
|
4453
|
-
var __defNormalProp$
|
|
4454
|
-
var __spreadValues$
|
|
4450
|
+
var __getOwnPropSymbols$c = Object.getOwnPropertySymbols;
|
|
4451
|
+
var __hasOwnProp$c = Object.prototype.hasOwnProperty;
|
|
4452
|
+
var __propIsEnum$c = Object.prototype.propertyIsEnumerable;
|
|
4453
|
+
var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4454
|
+
var __spreadValues$b = (a, b) => {
|
|
4455
4455
|
for (var prop in b || (b = {}))
|
|
4456
|
-
if (__hasOwnProp$
|
|
4457
|
-
__defNormalProp$
|
|
4458
|
-
if (__getOwnPropSymbols$
|
|
4459
|
-
for (var prop of __getOwnPropSymbols$
|
|
4460
|
-
if (__propIsEnum$
|
|
4461
|
-
__defNormalProp$
|
|
4456
|
+
if (__hasOwnProp$c.call(b, prop))
|
|
4457
|
+
__defNormalProp$b(a, prop, b[prop]);
|
|
4458
|
+
if (__getOwnPropSymbols$c)
|
|
4459
|
+
for (var prop of __getOwnPropSymbols$c(b)) {
|
|
4460
|
+
if (__propIsEnum$c.call(b, prop))
|
|
4461
|
+
__defNormalProp$b(a, prop, b[prop]);
|
|
4462
4462
|
}
|
|
4463
4463
|
return a;
|
|
4464
4464
|
};
|
|
@@ -4494,7 +4494,7 @@ const TableFormBodyCell = (props) => {
|
|
|
4494
4494
|
(currentValue) => {
|
|
4495
4495
|
var _a;
|
|
4496
4496
|
const value = currentValue || data[rowIndex][column.key];
|
|
4497
|
-
const rowData = __spreadProps$a(__spreadValues$
|
|
4497
|
+
const rowData = __spreadProps$a(__spreadValues$b({}, data[rowIndex]), { [column.key]: value });
|
|
4498
4498
|
const rowValidateRes = getRowValidateResult(rowData);
|
|
4499
4499
|
if (rowValidateRes) {
|
|
4500
4500
|
return;
|
|
@@ -4517,7 +4517,7 @@ const TableFormBodyCell = (props) => {
|
|
|
4517
4517
|
}, [validateAll, triggerValidate]);
|
|
4518
4518
|
const _onChange = (value, data2) => {
|
|
4519
4519
|
const newData = data2.map(
|
|
4520
|
-
(row, i) => i === rowIndex ? __spreadProps$a(__spreadValues$
|
|
4520
|
+
(row, i) => i === rowIndex ? __spreadProps$a(__spreadValues$b({}, row), { [column.key]: value }) : row
|
|
4521
4521
|
);
|
|
4522
4522
|
onChange == null ? void 0 : onChange(newData, rowIndex, column.key);
|
|
4523
4523
|
if (validateTriggerType === ValidateTriggerType.Normal && isTouched.current || validateTriggerType === ValidateTriggerType.Aggressive) {
|
|
@@ -4595,21 +4595,21 @@ const TableFormBodyCell = (props) => {
|
|
|
4595
4595
|
);
|
|
4596
4596
|
};
|
|
4597
4597
|
|
|
4598
|
-
var __defProp$
|
|
4598
|
+
var __defProp$a = Object.defineProperty;
|
|
4599
4599
|
var __defProps$9 = Object.defineProperties;
|
|
4600
4600
|
var __getOwnPropDescs$9 = Object.getOwnPropertyDescriptors;
|
|
4601
|
-
var __getOwnPropSymbols$
|
|
4602
|
-
var __hasOwnProp$
|
|
4603
|
-
var __propIsEnum$
|
|
4604
|
-
var __defNormalProp$
|
|
4605
|
-
var __spreadValues$
|
|
4601
|
+
var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
|
|
4602
|
+
var __hasOwnProp$b = Object.prototype.hasOwnProperty;
|
|
4603
|
+
var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
|
|
4604
|
+
var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4605
|
+
var __spreadValues$a = (a, b) => {
|
|
4606
4606
|
for (var prop in b || (b = {}))
|
|
4607
|
-
if (__hasOwnProp$
|
|
4608
|
-
__defNormalProp$
|
|
4609
|
-
if (__getOwnPropSymbols$
|
|
4610
|
-
for (var prop of __getOwnPropSymbols$
|
|
4611
|
-
if (__propIsEnum$
|
|
4612
|
-
__defNormalProp$
|
|
4607
|
+
if (__hasOwnProp$b.call(b, prop))
|
|
4608
|
+
__defNormalProp$a(a, prop, b[prop]);
|
|
4609
|
+
if (__getOwnPropSymbols$b)
|
|
4610
|
+
for (var prop of __getOwnPropSymbols$b(b)) {
|
|
4611
|
+
if (__propIsEnum$b.call(b, prop))
|
|
4612
|
+
__defNormalProp$a(a, prop, b[prop]);
|
|
4613
4613
|
}
|
|
4614
4614
|
return a;
|
|
4615
4615
|
};
|
|
@@ -4706,7 +4706,7 @@ const TableFormRow = (props) => {
|
|
|
4706
4706
|
);
|
|
4707
4707
|
});
|
|
4708
4708
|
const DraggableHandle = useMemo(
|
|
4709
|
-
() => draggable && provided ? /* @__PURE__ */ React__default.createElement(DraggableHandleWrapper, __spreadValues$
|
|
4709
|
+
() => draggable && provided ? /* @__PURE__ */ React__default.createElement(DraggableHandleWrapper, __spreadValues$a({}, provided.dragHandleProps), /* @__PURE__ */ React__default.createElement(
|
|
4710
4710
|
Icon,
|
|
4711
4711
|
{
|
|
4712
4712
|
src: HandlePoint816SecondaryIcon,
|
|
@@ -4768,7 +4768,7 @@ const TableFormBodyRows = memo((props) => {
|
|
|
4768
4768
|
);
|
|
4769
4769
|
return draggable ? /* @__PURE__ */ React__default.createElement(DragDropContext, { onDragEnd }, /* @__PURE__ */ React__default.createElement(Droppable, { droppableId: "droppable" }, (provided) => /* @__PURE__ */ React__default.createElement(
|
|
4770
4770
|
"div",
|
|
4771
|
-
__spreadValues$
|
|
4771
|
+
__spreadValues$a({
|
|
4772
4772
|
className: "draggable-container",
|
|
4773
4773
|
ref: provided.innerRef
|
|
4774
4774
|
}, provided.droppableProps),
|
|
@@ -4779,9 +4779,9 @@ const TableFormBodyRows = memo((props) => {
|
|
|
4779
4779
|
key: `draggable-id-${i}`,
|
|
4780
4780
|
index: i
|
|
4781
4781
|
},
|
|
4782
|
-
(provided2, snapshot) => /* @__PURE__ */ React__default.createElement("div", __spreadValues$
|
|
4782
|
+
(provided2, snapshot) => /* @__PURE__ */ React__default.createElement("div", __spreadValues$a({ ref: provided2.innerRef }, provided2.draggableProps), /* @__PURE__ */ React__default.createElement(
|
|
4783
4783
|
TableFormRow,
|
|
4784
|
-
__spreadProps$9(__spreadValues$
|
|
4784
|
+
__spreadProps$9(__spreadValues$a({}, props), {
|
|
4785
4785
|
rowIndex: i,
|
|
4786
4786
|
provided: provided2,
|
|
4787
4787
|
snapshot
|
|
@@ -4789,24 +4789,24 @@ const TableFormBodyRows = memo((props) => {
|
|
|
4789
4789
|
))
|
|
4790
4790
|
)),
|
|
4791
4791
|
provided.placeholder
|
|
4792
|
-
))) : /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, data.map((_d, i) => /* @__PURE__ */ React__default.createElement(TableFormRow, __spreadProps$9(__spreadValues$
|
|
4792
|
+
))) : /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, data.map((_d, i) => /* @__PURE__ */ React__default.createElement(TableFormRow, __spreadProps$9(__spreadValues$a({}, props), { rowIndex: i, key: `table-row-${i}` }))));
|
|
4793
4793
|
});
|
|
4794
4794
|
|
|
4795
|
-
var __defProp$
|
|
4795
|
+
var __defProp$9 = Object.defineProperty;
|
|
4796
4796
|
var __defProps$8 = Object.defineProperties;
|
|
4797
4797
|
var __getOwnPropDescs$8 = Object.getOwnPropertyDescriptors;
|
|
4798
|
-
var __getOwnPropSymbols$
|
|
4799
|
-
var __hasOwnProp$
|
|
4800
|
-
var __propIsEnum$
|
|
4801
|
-
var __defNormalProp$
|
|
4802
|
-
var __spreadValues$
|
|
4798
|
+
var __getOwnPropSymbols$a = Object.getOwnPropertySymbols;
|
|
4799
|
+
var __hasOwnProp$a = Object.prototype.hasOwnProperty;
|
|
4800
|
+
var __propIsEnum$a = Object.prototype.propertyIsEnumerable;
|
|
4801
|
+
var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4802
|
+
var __spreadValues$9 = (a, b) => {
|
|
4803
4803
|
for (var prop in b || (b = {}))
|
|
4804
|
-
if (__hasOwnProp$
|
|
4805
|
-
__defNormalProp$
|
|
4806
|
-
if (__getOwnPropSymbols$
|
|
4807
|
-
for (var prop of __getOwnPropSymbols$
|
|
4808
|
-
if (__propIsEnum$
|
|
4809
|
-
__defNormalProp$
|
|
4804
|
+
if (__hasOwnProp$a.call(b, prop))
|
|
4805
|
+
__defNormalProp$9(a, prop, b[prop]);
|
|
4806
|
+
if (__getOwnPropSymbols$a)
|
|
4807
|
+
for (var prop of __getOwnPropSymbols$a(b)) {
|
|
4808
|
+
if (__propIsEnum$a.call(b, prop))
|
|
4809
|
+
__defNormalProp$9(a, prop, b[prop]);
|
|
4810
4810
|
}
|
|
4811
4811
|
return a;
|
|
4812
4812
|
};
|
|
@@ -4822,7 +4822,7 @@ const BatchInputListHeaderCell = (props) => {
|
|
|
4822
4822
|
setErrMsg(err || void 0);
|
|
4823
4823
|
const shouldAutoIncrease = column.type !== "password" && column.autoIncrease;
|
|
4824
4824
|
const newData = data.map((cell, rowIndex) => {
|
|
4825
|
-
return __spreadProps$8(__spreadValues$
|
|
4825
|
+
return __spreadProps$8(__spreadValues$9({}, cell), {
|
|
4826
4826
|
[column.key]: shouldAutoIncrease && typeof value === "string" ? increaseLastNumber(value, rowIndex) : value
|
|
4827
4827
|
});
|
|
4828
4828
|
});
|
|
@@ -4839,7 +4839,7 @@ const BatchInputListHeaderCell = (props) => {
|
|
|
4839
4839
|
const CellComponent = ColumnHeaderImpls[column.type];
|
|
4840
4840
|
return /* @__PURE__ */ React__default.createElement(
|
|
4841
4841
|
CellComponent,
|
|
4842
|
-
__spreadProps$8(__spreadValues$
|
|
4842
|
+
__spreadProps$8(__spreadValues$9({}, props), {
|
|
4843
4843
|
column,
|
|
4844
4844
|
onChange: headerOnChange,
|
|
4845
4845
|
onBlur: _onBlur
|
|
@@ -4874,21 +4874,21 @@ const BatchInputListHeaderCell = (props) => {
|
|
|
4874
4874
|
);
|
|
4875
4875
|
};
|
|
4876
4876
|
|
|
4877
|
-
var __defProp$
|
|
4877
|
+
var __defProp$8 = Object.defineProperty;
|
|
4878
4878
|
var __defProps$7 = Object.defineProperties;
|
|
4879
4879
|
var __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;
|
|
4880
|
-
var __getOwnPropSymbols$
|
|
4881
|
-
var __hasOwnProp$
|
|
4882
|
-
var __propIsEnum$
|
|
4883
|
-
var __defNormalProp$
|
|
4884
|
-
var __spreadValues$
|
|
4880
|
+
var __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;
|
|
4881
|
+
var __hasOwnProp$9 = Object.prototype.hasOwnProperty;
|
|
4882
|
+
var __propIsEnum$9 = Object.prototype.propertyIsEnumerable;
|
|
4883
|
+
var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4884
|
+
var __spreadValues$8 = (a, b) => {
|
|
4885
4885
|
for (var prop in b || (b = {}))
|
|
4886
|
-
if (__hasOwnProp$
|
|
4887
|
-
__defNormalProp$
|
|
4888
|
-
if (__getOwnPropSymbols$
|
|
4889
|
-
for (var prop of __getOwnPropSymbols$
|
|
4890
|
-
if (__propIsEnum$
|
|
4891
|
-
__defNormalProp$
|
|
4886
|
+
if (__hasOwnProp$9.call(b, prop))
|
|
4887
|
+
__defNormalProp$8(a, prop, b[prop]);
|
|
4888
|
+
if (__getOwnPropSymbols$9)
|
|
4889
|
+
for (var prop of __getOwnPropSymbols$9(b)) {
|
|
4890
|
+
if (__propIsEnum$9.call(b, prop))
|
|
4891
|
+
__defNormalProp$8(a, prop, b[prop]);
|
|
4892
4892
|
}
|
|
4893
4893
|
return a;
|
|
4894
4894
|
};
|
|
@@ -4954,7 +4954,7 @@ const TableForm = React__default.forwardRef(
|
|
|
4954
4954
|
(key, error) => {
|
|
4955
4955
|
if (error) {
|
|
4956
4956
|
const newData = latestData.map((cell) => {
|
|
4957
|
-
return __spreadProps$7(__spreadValues$
|
|
4957
|
+
return __spreadProps$7(__spreadValues$8({}, cell), {
|
|
4958
4958
|
[key]: ""
|
|
4959
4959
|
});
|
|
4960
4960
|
});
|
|
@@ -5065,31 +5065,31 @@ const Size$1 = {
|
|
|
5065
5065
|
const TagStyle$1 = "tnd6h4m";
|
|
5066
5066
|
const IconStyle$1 = "i1qw4clm";
|
|
5067
5067
|
|
|
5068
|
-
var __defProp$
|
|
5068
|
+
var __defProp$7 = Object.defineProperty;
|
|
5069
5069
|
var __defProps$6 = Object.defineProperties;
|
|
5070
5070
|
var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
|
|
5071
|
-
var __getOwnPropSymbols$
|
|
5072
|
-
var __hasOwnProp$
|
|
5073
|
-
var __propIsEnum$
|
|
5074
|
-
var __defNormalProp$
|
|
5071
|
+
var __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;
|
|
5072
|
+
var __hasOwnProp$8 = Object.prototype.hasOwnProperty;
|
|
5073
|
+
var __propIsEnum$8 = Object.prototype.propertyIsEnumerable;
|
|
5074
|
+
var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, {
|
|
5075
5075
|
enumerable: true,
|
|
5076
5076
|
configurable: true,
|
|
5077
5077
|
writable: true,
|
|
5078
5078
|
value
|
|
5079
5079
|
}) : obj[key] = value;
|
|
5080
|
-
var __spreadValues$
|
|
5081
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
5082
|
-
if (__getOwnPropSymbols$
|
|
5083
|
-
if (__propIsEnum$
|
|
5080
|
+
var __spreadValues$7 = (a, b) => {
|
|
5081
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$8.call(b, prop)) __defNormalProp$7(a, prop, b[prop]);
|
|
5082
|
+
if (__getOwnPropSymbols$8) for (var prop of __getOwnPropSymbols$8(b)) {
|
|
5083
|
+
if (__propIsEnum$8.call(b, prop)) __defNormalProp$7(a, prop, b[prop]);
|
|
5084
5084
|
}
|
|
5085
5085
|
return a;
|
|
5086
5086
|
};
|
|
5087
5087
|
var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
|
|
5088
|
-
var __objRest$
|
|
5088
|
+
var __objRest$3 = (source, exclude) => {
|
|
5089
5089
|
var target = {};
|
|
5090
|
-
for (var prop in source) if (__hasOwnProp$
|
|
5091
|
-
if (source != null && __getOwnPropSymbols$
|
|
5092
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
5090
|
+
for (var prop in source) if (__hasOwnProp$8.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
5091
|
+
if (source != null && __getOwnPropSymbols$8) for (var prop of __getOwnPropSymbols$8(source)) {
|
|
5092
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$8.call(source, prop)) target[prop] = source[prop];
|
|
5093
5093
|
}
|
|
5094
5094
|
return target;
|
|
5095
5095
|
};
|
|
@@ -5104,8 +5104,8 @@ const SplitTag = _a => {
|
|
|
5104
5104
|
secondaryContent,
|
|
5105
5105
|
icon
|
|
5106
5106
|
} = _b,
|
|
5107
|
-
props = __objRest$
|
|
5108
|
-
return /* @__PURE__ */React__default.createElement(Tag$1, __spreadProps$6(__spreadValues$
|
|
5107
|
+
props = __objRest$3(_b, ["size", "color", "className", "primaryContent", "secondaryContent", "icon"]);
|
|
5108
|
+
return /* @__PURE__ */React__default.createElement(Tag$1, __spreadProps$6(__spreadValues$7({}, props), {
|
|
5109
5109
|
className: cs(className, TagStyle$1, Size$1[size], WrapperStyle, Typo.Label.l4_regular, {
|
|
5110
5110
|
[`ant-tag-${color}`]: PresetColors$2.includes(color)
|
|
5111
5111
|
}, "outside-tag")
|
|
@@ -5118,33 +5118,33 @@ const SplitTag = _a => {
|
|
|
5118
5118
|
}, icon), primaryContent), secondaryContent);
|
|
5119
5119
|
};
|
|
5120
5120
|
|
|
5121
|
-
var __defProp$
|
|
5121
|
+
var __defProp$6 = Object.defineProperty;
|
|
5122
5122
|
var __defProps$5 = Object.defineProperties;
|
|
5123
5123
|
var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
|
|
5124
|
-
var __getOwnPropSymbols$
|
|
5125
|
-
var __hasOwnProp$
|
|
5126
|
-
var __propIsEnum$
|
|
5127
|
-
var __defNormalProp$
|
|
5128
|
-
var __spreadValues$
|
|
5124
|
+
var __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;
|
|
5125
|
+
var __hasOwnProp$7 = Object.prototype.hasOwnProperty;
|
|
5126
|
+
var __propIsEnum$7 = Object.prototype.propertyIsEnumerable;
|
|
5127
|
+
var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5128
|
+
var __spreadValues$6 = (a, b) => {
|
|
5129
5129
|
for (var prop in b || (b = {}))
|
|
5130
|
-
if (__hasOwnProp$
|
|
5131
|
-
__defNormalProp$
|
|
5132
|
-
if (__getOwnPropSymbols$
|
|
5133
|
-
for (var prop of __getOwnPropSymbols$
|
|
5134
|
-
if (__propIsEnum$
|
|
5135
|
-
__defNormalProp$
|
|
5130
|
+
if (__hasOwnProp$7.call(b, prop))
|
|
5131
|
+
__defNormalProp$6(a, prop, b[prop]);
|
|
5132
|
+
if (__getOwnPropSymbols$7)
|
|
5133
|
+
for (var prop of __getOwnPropSymbols$7(b)) {
|
|
5134
|
+
if (__propIsEnum$7.call(b, prop))
|
|
5135
|
+
__defNormalProp$6(a, prop, b[prop]);
|
|
5136
5136
|
}
|
|
5137
5137
|
return a;
|
|
5138
5138
|
};
|
|
5139
5139
|
var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
|
|
5140
|
-
var __objRest$
|
|
5140
|
+
var __objRest$2 = (source, exclude) => {
|
|
5141
5141
|
var target = {};
|
|
5142
5142
|
for (var prop in source)
|
|
5143
|
-
if (__hasOwnProp$
|
|
5143
|
+
if (__hasOwnProp$7.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
5144
5144
|
target[prop] = source[prop];
|
|
5145
|
-
if (source != null && __getOwnPropSymbols$
|
|
5146
|
-
for (var prop of __getOwnPropSymbols$
|
|
5147
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
5145
|
+
if (source != null && __getOwnPropSymbols$7)
|
|
5146
|
+
for (var prop of __getOwnPropSymbols$7(source)) {
|
|
5147
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$7.call(source, prop))
|
|
5148
5148
|
target[prop] = source[prop];
|
|
5149
5149
|
}
|
|
5150
5150
|
return target;
|
|
@@ -5169,7 +5169,7 @@ const Tag = (_a) => {
|
|
|
5169
5169
|
hoverable = false,
|
|
5170
5170
|
icon,
|
|
5171
5171
|
children
|
|
5172
|
-
} = _b, props = __objRest$
|
|
5172
|
+
} = _b, props = __objRest$2(_b, [
|
|
5173
5173
|
"size",
|
|
5174
5174
|
"color",
|
|
5175
5175
|
"className",
|
|
@@ -5180,7 +5180,7 @@ const Tag = (_a) => {
|
|
|
5180
5180
|
const computedColor = AntdColorMap[color] || color;
|
|
5181
5181
|
return /* @__PURE__ */ React__default.createElement(
|
|
5182
5182
|
Tag$1,
|
|
5183
|
-
__spreadProps$5(__spreadValues$
|
|
5183
|
+
__spreadProps$5(__spreadValues$6({}, props), {
|
|
5184
5184
|
className: cs(className, Size$1[size], TagStyle$1, Typo.Label.l4_regular, {
|
|
5185
5185
|
[`ant-tag-${computedColor}`]: PresetColors$1.includes(computedColor),
|
|
5186
5186
|
"tag-hover": hoverable
|
|
@@ -5369,31 +5369,31 @@ const TimeZoneOption = ({
|
|
|
5369
5369
|
|
|
5370
5370
|
const IconStyle = "iwsze0q";
|
|
5371
5371
|
|
|
5372
|
-
var __defProp$
|
|
5372
|
+
var __defProp$5 = Object.defineProperty;
|
|
5373
5373
|
var __defProps$4 = Object.defineProperties;
|
|
5374
5374
|
var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
|
|
5375
|
-
var __getOwnPropSymbols$
|
|
5376
|
-
var __hasOwnProp$
|
|
5377
|
-
var __propIsEnum$
|
|
5378
|
-
var __defNormalProp$
|
|
5375
|
+
var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
|
|
5376
|
+
var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
|
|
5377
|
+
var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
|
|
5378
|
+
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, {
|
|
5379
5379
|
enumerable: true,
|
|
5380
5380
|
configurable: true,
|
|
5381
5381
|
writable: true,
|
|
5382
5382
|
value
|
|
5383
5383
|
}) : obj[key] = value;
|
|
5384
|
-
var __spreadValues$
|
|
5385
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
5386
|
-
if (__getOwnPropSymbols$
|
|
5387
|
-
if (__propIsEnum$
|
|
5384
|
+
var __spreadValues$5 = (a, b) => {
|
|
5385
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$6.call(b, prop)) __defNormalProp$5(a, prop, b[prop]);
|
|
5386
|
+
if (__getOwnPropSymbols$6) for (var prop of __getOwnPropSymbols$6(b)) {
|
|
5387
|
+
if (__propIsEnum$6.call(b, prop)) __defNormalProp$5(a, prop, b[prop]);
|
|
5388
5388
|
}
|
|
5389
5389
|
return a;
|
|
5390
5390
|
};
|
|
5391
5391
|
var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
|
|
5392
|
-
var __objRest = (source, exclude) => {
|
|
5392
|
+
var __objRest$1 = (source, exclude) => {
|
|
5393
5393
|
var target = {};
|
|
5394
|
-
for (var prop in source) if (__hasOwnProp$
|
|
5395
|
-
if (source != null && __getOwnPropSymbols$
|
|
5396
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
5394
|
+
for (var prop in source) if (__hasOwnProp$6.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
5395
|
+
if (source != null && __getOwnPropSymbols$6) for (var prop of __getOwnPropSymbols$6(source)) {
|
|
5396
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$6.call(source, prop)) target[prop] = source[prop];
|
|
5397
5397
|
}
|
|
5398
5398
|
return target;
|
|
5399
5399
|
};
|
|
@@ -5415,15 +5415,15 @@ const Token = React__default.forwardRef((_a, ref) => {
|
|
|
5415
5415
|
children,
|
|
5416
5416
|
tooltipConfig
|
|
5417
5417
|
} = _b,
|
|
5418
|
-
props = __objRest(_b, ["size", "color", "className", "icon", "checked", "children", "tooltipConfig"]);
|
|
5419
|
-
return /* @__PURE__ */React__default.createElement(Tag$1, __spreadProps$4(__spreadValues$
|
|
5418
|
+
props = __objRest$1(_b, ["size", "color", "className", "icon", "checked", "children", "tooltipConfig"]);
|
|
5419
|
+
return /* @__PURE__ */React__default.createElement(Tag$1, __spreadProps$4(__spreadValues$5({}, props), {
|
|
5420
5420
|
ref,
|
|
5421
5421
|
className: cs(className, Size[size], TokenStyle, {
|
|
5422
5422
|
[Typo.Label.l4_regular]: size === "small" || size === "medium",
|
|
5423
5423
|
[Typo.Label.l3_regular]: size === "large",
|
|
5424
5424
|
[`ant-tag-${color}`]: PresetColors.includes(color)
|
|
5425
5425
|
}, "ui-kit-token", checked && "ui-kit-token-checked"),
|
|
5426
|
-
closeIcon: /* @__PURE__ */React__default.createElement(Tooltip, __spreadValues$
|
|
5426
|
+
closeIcon: /* @__PURE__ */React__default.createElement(Tooltip, __spreadValues$5({
|
|
5427
5427
|
title: tooltipConfig == null ? void 0 : tooltipConfig.title
|
|
5428
5428
|
}, !(tooltipConfig == null ? void 0 : tooltipConfig.title) && {
|
|
5429
5429
|
visible: false
|
|
@@ -5480,22 +5480,22 @@ const Truncate = props => {
|
|
|
5480
5480
|
}, Text);
|
|
5481
5481
|
};
|
|
5482
5482
|
|
|
5483
|
-
var __defProp$
|
|
5483
|
+
var __defProp$4 = Object.defineProperty;
|
|
5484
5484
|
var __defProps$3 = Object.defineProperties;
|
|
5485
5485
|
var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
|
|
5486
|
-
var __getOwnPropSymbols$
|
|
5487
|
-
var __hasOwnProp$
|
|
5488
|
-
var __propIsEnum$
|
|
5489
|
-
var __defNormalProp$
|
|
5486
|
+
var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;
|
|
5487
|
+
var __hasOwnProp$5 = Object.prototype.hasOwnProperty;
|
|
5488
|
+
var __propIsEnum$5 = Object.prototype.propertyIsEnumerable;
|
|
5489
|
+
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, {
|
|
5490
5490
|
enumerable: true,
|
|
5491
5491
|
configurable: true,
|
|
5492
5492
|
writable: true,
|
|
5493
5493
|
value
|
|
5494
5494
|
}) : obj[key] = value;
|
|
5495
|
-
var __spreadValues$
|
|
5496
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
5497
|
-
if (__getOwnPropSymbols$
|
|
5498
|
-
if (__propIsEnum$
|
|
5495
|
+
var __spreadValues$4 = (a, b) => {
|
|
5496
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$5.call(b, prop)) __defNormalProp$4(a, prop, b[prop]);
|
|
5497
|
+
if (__getOwnPropSymbols$5) for (var prop of __getOwnPropSymbols$5(b)) {
|
|
5498
|
+
if (__propIsEnum$5.call(b, prop)) __defNormalProp$4(a, prop, b[prop]);
|
|
5499
5499
|
}
|
|
5500
5500
|
return a;
|
|
5501
5501
|
};
|
|
@@ -5530,7 +5530,7 @@ const OverflowTooltip = props => {
|
|
|
5530
5530
|
observer == null ? void 0 : observer.disconnect();
|
|
5531
5531
|
};
|
|
5532
5532
|
});
|
|
5533
|
-
return /* @__PURE__ */React__default.createElement(Tooltip, __spreadProps$3(__spreadValues$
|
|
5533
|
+
return /* @__PURE__ */React__default.createElement(Tooltip, __spreadProps$3(__spreadValues$4({}, !ellipsis && {
|
|
5534
5534
|
visible: false
|
|
5535
5535
|
}), {
|
|
5536
5536
|
title: tooltip
|
|
@@ -5543,6 +5543,58 @@ const OverflowTooltip = props => {
|
|
|
5543
5543
|
}, /* @__PURE__ */React__default.createElement("span", null, content)));
|
|
5544
5544
|
};
|
|
5545
5545
|
|
|
5546
|
+
var __defProp$3 = Object.defineProperty;
|
|
5547
|
+
var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
|
|
5548
|
+
var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
|
|
5549
|
+
var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
|
|
5550
|
+
var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5551
|
+
var __spreadValues$3 = (a, b) => {
|
|
5552
|
+
for (var prop in b || (b = {}))
|
|
5553
|
+
if (__hasOwnProp$4.call(b, prop))
|
|
5554
|
+
__defNormalProp$3(a, prop, b[prop]);
|
|
5555
|
+
if (__getOwnPropSymbols$4)
|
|
5556
|
+
for (var prop of __getOwnPropSymbols$4(b)) {
|
|
5557
|
+
if (__propIsEnum$4.call(b, prop))
|
|
5558
|
+
__defNormalProp$3(a, prop, b[prop]);
|
|
5559
|
+
}
|
|
5560
|
+
return a;
|
|
5561
|
+
};
|
|
5562
|
+
const ParrotTrans = (props) => {
|
|
5563
|
+
const { i18n } = useParrotTranslation();
|
|
5564
|
+
return /* @__PURE__ */ React__default.createElement(Trans, __spreadValues$3({ i18n }, props));
|
|
5565
|
+
};
|
|
5566
|
+
|
|
5567
|
+
var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
|
|
5568
|
+
var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
|
|
5569
|
+
var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
|
|
5570
|
+
var __objRest = (source, exclude) => {
|
|
5571
|
+
var target = {};
|
|
5572
|
+
for (var prop in source) if (__hasOwnProp$3.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
5573
|
+
if (source != null && __getOwnPropSymbols$3) for (var prop of __getOwnPropSymbols$3(source)) {
|
|
5574
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$3.call(source, prop)) target[prop] = source[prop];
|
|
5575
|
+
}
|
|
5576
|
+
return target;
|
|
5577
|
+
};
|
|
5578
|
+
const NameTag = /*#__PURE__*/styled('span')({
|
|
5579
|
+
name: "NameTag",
|
|
5580
|
+
class: "n3qomhu",
|
|
5581
|
+
propsAsIs: false
|
|
5582
|
+
});
|
|
5583
|
+
const I18nNameTag = props => {
|
|
5584
|
+
const _a = props,
|
|
5585
|
+
{
|
|
5586
|
+
name,
|
|
5587
|
+
i18nKey
|
|
5588
|
+
} = _a,
|
|
5589
|
+
otherOption = __objRest(_a, ["name", "i18nKey"]);
|
|
5590
|
+
return /* @__PURE__ */React__default.createElement(ParrotTrans, {
|
|
5591
|
+
i18nKey,
|
|
5592
|
+
tOptions: otherOption
|
|
5593
|
+
}, "h", /* @__PURE__ */React__default.createElement(NameTag, null, {
|
|
5594
|
+
name
|
|
5595
|
+
}));
|
|
5596
|
+
};
|
|
5597
|
+
|
|
5546
5598
|
function getAntdKit() {
|
|
5547
5599
|
const kit = {
|
|
5548
5600
|
loading: Loading,
|
|
@@ -5636,6 +5688,7 @@ function getAntdKit() {
|
|
|
5636
5688
|
antdSteps: Steps$1,
|
|
5637
5689
|
card: Card,
|
|
5638
5690
|
overflowTooltip: OverflowTooltip,
|
|
5691
|
+
I18nNameTag,
|
|
5639
5692
|
truncate: Truncate,
|
|
5640
5693
|
expandableList: {
|
|
5641
5694
|
ExpandableContainer,
|