@cloudtower/eagle 0.26.21 → 0.26.23
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/StatusCapsule/__test__/h5_css.test.d.ts +1 -0
- package/dist/components/StatusCapsule/index.d.ts +8 -0
- package/dist/components.css +360 -286
- package/dist/esm/index.js +820 -735
- package/dist/esm/stats1.html +1 -1
- package/dist/spec/base.d.ts +9 -0
- package/dist/style.css +346 -272
- package/dist/umd/index.js +818 -733
- package/dist/umd/stats1.html +1 -1
- package/dist/variables.scss +19 -0
- package/package.json +5 -5
package/dist/umd/index.js
CHANGED
|
@@ -261,30 +261,30 @@
|
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
var __defProp$
|
|
265
|
-
var __getOwnPropSymbols$
|
|
266
|
-
var __hasOwnProp$
|
|
267
|
-
var __propIsEnum$
|
|
268
|
-
var __defNormalProp$
|
|
269
|
-
var __spreadValues$
|
|
264
|
+
var __defProp$T = Object.defineProperty;
|
|
265
|
+
var __getOwnPropSymbols$U = Object.getOwnPropertySymbols;
|
|
266
|
+
var __hasOwnProp$U = Object.prototype.hasOwnProperty;
|
|
267
|
+
var __propIsEnum$U = Object.prototype.propertyIsEnumerable;
|
|
268
|
+
var __defNormalProp$T = (obj, key, value) => key in obj ? __defProp$T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
269
|
+
var __spreadValues$T = (a, b) => {
|
|
270
270
|
for (var prop in b || (b = {}))
|
|
271
|
-
if (__hasOwnProp$
|
|
272
|
-
__defNormalProp$
|
|
273
|
-
if (__getOwnPropSymbols$
|
|
274
|
-
for (var prop of __getOwnPropSymbols$
|
|
275
|
-
if (__propIsEnum$
|
|
276
|
-
__defNormalProp$
|
|
271
|
+
if (__hasOwnProp$U.call(b, prop))
|
|
272
|
+
__defNormalProp$T(a, prop, b[prop]);
|
|
273
|
+
if (__getOwnPropSymbols$U)
|
|
274
|
+
for (var prop of __getOwnPropSymbols$U(b)) {
|
|
275
|
+
if (__propIsEnum$U.call(b, prop))
|
|
276
|
+
__defNormalProp$T(a, prop, b[prop]);
|
|
277
277
|
}
|
|
278
278
|
return a;
|
|
279
279
|
};
|
|
280
|
-
var __objRest$
|
|
280
|
+
var __objRest$x = (source, exclude) => {
|
|
281
281
|
var target = {};
|
|
282
282
|
for (var prop in source)
|
|
283
|
-
if (__hasOwnProp$
|
|
283
|
+
if (__hasOwnProp$U.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
284
284
|
target[prop] = source[prop];
|
|
285
|
-
if (source != null && __getOwnPropSymbols$
|
|
286
|
-
for (var prop of __getOwnPropSymbols$
|
|
287
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
285
|
+
if (source != null && __getOwnPropSymbols$U)
|
|
286
|
+
for (var prop of __getOwnPropSymbols$U(source)) {
|
|
287
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$U.call(source, prop))
|
|
288
288
|
target[prop] = source[prop];
|
|
289
289
|
}
|
|
290
290
|
return target;
|
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
prefixNode,
|
|
303
303
|
suffixIconSrc: SuffixSrc,
|
|
304
304
|
src: Src
|
|
305
|
-
} = _a, HTMLSpanElementProps = __objRest$
|
|
305
|
+
} = _a, HTMLSpanElementProps = __objRest$x(_a, [
|
|
306
306
|
"alt",
|
|
307
307
|
"className",
|
|
308
308
|
"width",
|
|
@@ -316,10 +316,10 @@
|
|
|
316
316
|
]);
|
|
317
317
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
318
318
|
"span",
|
|
319
|
-
__spreadValues$
|
|
319
|
+
__spreadValues$T({
|
|
320
320
|
ref,
|
|
321
321
|
className,
|
|
322
|
-
style: ___default.default.pickBy(__spreadValues$
|
|
322
|
+
style: ___default.default.pickBy(__spreadValues$T({ cursor }, style))
|
|
323
323
|
}, HTMLSpanElementProps),
|
|
324
324
|
prefixNode,
|
|
325
325
|
/* @__PURE__ */ React__namespace.default.createElement("span", { className: "icon-inner" }, typeof Src === "string" ? /* @__PURE__ */ React__namespace.default.createElement("img", { alt, src: Src, width, height }) : /* @__PURE__ */ React__namespace.default.createElement(reactSvgUniqueId.SVGUniqueID, null, Src({ width, height }))),
|
|
@@ -329,31 +329,31 @@
|
|
|
329
329
|
}
|
|
330
330
|
);
|
|
331
331
|
|
|
332
|
-
var __defProp$
|
|
333
|
-
var __defProps$
|
|
334
|
-
var __getOwnPropDescs$
|
|
335
|
-
var __getOwnPropSymbols$
|
|
336
|
-
var __hasOwnProp$
|
|
337
|
-
var __propIsEnum$
|
|
338
|
-
var __defNormalProp$
|
|
332
|
+
var __defProp$S = Object.defineProperty;
|
|
333
|
+
var __defProps$C = Object.defineProperties;
|
|
334
|
+
var __getOwnPropDescs$C = Object.getOwnPropertyDescriptors;
|
|
335
|
+
var __getOwnPropSymbols$T = Object.getOwnPropertySymbols;
|
|
336
|
+
var __hasOwnProp$T = Object.prototype.hasOwnProperty;
|
|
337
|
+
var __propIsEnum$T = Object.prototype.propertyIsEnumerable;
|
|
338
|
+
var __defNormalProp$S = (obj, key, value) => key in obj ? __defProp$S(obj, key, {
|
|
339
339
|
enumerable: true,
|
|
340
340
|
configurable: true,
|
|
341
341
|
writable: true,
|
|
342
342
|
value
|
|
343
343
|
}) : obj[key] = value;
|
|
344
|
-
var __spreadValues$
|
|
345
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
346
|
-
if (__getOwnPropSymbols$
|
|
347
|
-
if (__propIsEnum$
|
|
344
|
+
var __spreadValues$S = (a, b) => {
|
|
345
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$T.call(b, prop)) __defNormalProp$S(a, prop, b[prop]);
|
|
346
|
+
if (__getOwnPropSymbols$T) for (var prop of __getOwnPropSymbols$T(b)) {
|
|
347
|
+
if (__propIsEnum$T.call(b, prop)) __defNormalProp$S(a, prop, b[prop]);
|
|
348
348
|
}
|
|
349
349
|
return a;
|
|
350
350
|
};
|
|
351
|
-
var __spreadProps$
|
|
352
|
-
var __objRest$
|
|
351
|
+
var __spreadProps$C = (a, b) => __defProps$C(a, __getOwnPropDescs$C(b));
|
|
352
|
+
var __objRest$w = (source, exclude) => {
|
|
353
353
|
var target = {};
|
|
354
|
-
for (var prop in source) if (__hasOwnProp$
|
|
355
|
-
if (source != null && __getOwnPropSymbols$
|
|
356
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
354
|
+
for (var prop in source) if (__hasOwnProp$T.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
355
|
+
if (source != null && __getOwnPropSymbols$T) for (var prop of __getOwnPropSymbols$T(source)) {
|
|
356
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$T.call(source, prop)) target[prop] = source[prop];
|
|
357
357
|
}
|
|
358
358
|
return target;
|
|
359
359
|
};
|
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
prefix,
|
|
378
378
|
suffix
|
|
379
379
|
} = _a,
|
|
380
|
-
restProps = __objRest$
|
|
380
|
+
restProps = __objRest$w(_a, ["src", "hoverSrc", "active", "activeSrc", "onMouseEnter", "onMouseLeave", "onMouseMove", "className", "iconWidth", "iconHeight", "cursor", "style", "isRotate", "prefix", "suffix"]);
|
|
381
381
|
const [hover, setHover] = React.useState(false);
|
|
382
382
|
const _src = React.useMemo(() => {
|
|
383
383
|
if (active && activeSrc) {
|
|
@@ -405,14 +405,14 @@
|
|
|
405
405
|
}
|
|
406
406
|
return src2;
|
|
407
407
|
}, [active, hover, suffix]);
|
|
408
|
-
return /* @__PURE__ */React__namespace.default.createElement(BaseIcon, __spreadProps$
|
|
408
|
+
return /* @__PURE__ */React__namespace.default.createElement(BaseIcon, __spreadProps$C(__spreadValues$S({
|
|
409
409
|
src: _src,
|
|
410
410
|
className: cs__default.default(IconWrapper, "icon-wrapper", className, isRotate && "is-rotate"),
|
|
411
411
|
suffixIconSrc,
|
|
412
412
|
height: iconHeight,
|
|
413
413
|
width: iconWidth,
|
|
414
414
|
prefixNode: prefix,
|
|
415
|
-
style: ___default.default.pickBy(__spreadValues$
|
|
415
|
+
style: ___default.default.pickBy(__spreadValues$S({
|
|
416
416
|
cursor
|
|
417
417
|
}, style))
|
|
418
418
|
}, restProps), {
|
|
@@ -437,31 +437,31 @@
|
|
|
437
437
|
}));
|
|
438
438
|
});
|
|
439
439
|
|
|
440
|
-
var __defProp$
|
|
441
|
-
var __defProps$
|
|
442
|
-
var __getOwnPropDescs$
|
|
443
|
-
var __getOwnPropSymbols$
|
|
444
|
-
var __hasOwnProp$
|
|
445
|
-
var __propIsEnum$
|
|
446
|
-
var __defNormalProp$
|
|
440
|
+
var __defProp$R = Object.defineProperty;
|
|
441
|
+
var __defProps$B = Object.defineProperties;
|
|
442
|
+
var __getOwnPropDescs$B = Object.getOwnPropertyDescriptors;
|
|
443
|
+
var __getOwnPropSymbols$S = Object.getOwnPropertySymbols;
|
|
444
|
+
var __hasOwnProp$S = Object.prototype.hasOwnProperty;
|
|
445
|
+
var __propIsEnum$S = Object.prototype.propertyIsEnumerable;
|
|
446
|
+
var __defNormalProp$R = (obj, key, value) => key in obj ? __defProp$R(obj, key, {
|
|
447
447
|
enumerable: true,
|
|
448
448
|
configurable: true,
|
|
449
449
|
writable: true,
|
|
450
450
|
value
|
|
451
451
|
}) : obj[key] = value;
|
|
452
|
-
var __spreadValues$
|
|
453
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
454
|
-
if (__getOwnPropSymbols$
|
|
455
|
-
if (__propIsEnum$
|
|
452
|
+
var __spreadValues$R = (a, b) => {
|
|
453
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$S.call(b, prop)) __defNormalProp$R(a, prop, b[prop]);
|
|
454
|
+
if (__getOwnPropSymbols$S) for (var prop of __getOwnPropSymbols$S(b)) {
|
|
455
|
+
if (__propIsEnum$S.call(b, prop)) __defNormalProp$R(a, prop, b[prop]);
|
|
456
456
|
}
|
|
457
457
|
return a;
|
|
458
458
|
};
|
|
459
|
-
var __spreadProps$
|
|
460
|
-
var __objRest$
|
|
459
|
+
var __spreadProps$B = (a, b) => __defProps$B(a, __getOwnPropDescs$B(b));
|
|
460
|
+
var __objRest$v = (source, exclude) => {
|
|
461
461
|
var target = {};
|
|
462
|
-
for (var prop in source) if (__hasOwnProp$
|
|
463
|
-
if (source != null && __getOwnPropSymbols$
|
|
464
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
462
|
+
for (var prop in source) if (__hasOwnProp$S.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
463
|
+
if (source != null && __getOwnPropSymbols$S) for (var prop of __getOwnPropSymbols$S(source)) {
|
|
464
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$S.call(source, prop)) target[prop] = source[prop];
|
|
465
465
|
}
|
|
466
466
|
return target;
|
|
467
467
|
};
|
|
@@ -479,13 +479,13 @@
|
|
|
479
479
|
action,
|
|
480
480
|
message
|
|
481
481
|
} = _b,
|
|
482
|
-
props = __objRest$
|
|
482
|
+
props = __objRest$v(_b, ["type", "icon", "showIcon", "className", "onClose", "closeText", "action", "message"]);
|
|
483
483
|
const _icon = /* @__PURE__ */React__namespace.default.createElement(Icon, {
|
|
484
484
|
alt: type,
|
|
485
485
|
src: getAlertIcon(type)
|
|
486
486
|
});
|
|
487
487
|
const _type = type === "normal" ? "info" : type;
|
|
488
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Alert, __spreadProps$
|
|
488
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Alert, __spreadProps$B(__spreadValues$R({}, props), {
|
|
489
489
|
className: cs__default.default(AlertStyle, type ? `alert-${type}` : "", className, {
|
|
490
490
|
action
|
|
491
491
|
}),
|
|
@@ -523,42 +523,42 @@
|
|
|
523
523
|
return /* @__PURE__ */ React__namespace.default.createElement("span", null, text);
|
|
524
524
|
};
|
|
525
525
|
|
|
526
|
-
var __defProp$
|
|
527
|
-
var __defProps$
|
|
528
|
-
var __getOwnPropDescs$
|
|
529
|
-
var __getOwnPropSymbols$
|
|
530
|
-
var __hasOwnProp$
|
|
531
|
-
var __propIsEnum$
|
|
532
|
-
var __defNormalProp$
|
|
533
|
-
var __spreadValues$
|
|
526
|
+
var __defProp$Q = Object.defineProperty;
|
|
527
|
+
var __defProps$A = Object.defineProperties;
|
|
528
|
+
var __getOwnPropDescs$A = Object.getOwnPropertyDescriptors;
|
|
529
|
+
var __getOwnPropSymbols$R = Object.getOwnPropertySymbols;
|
|
530
|
+
var __hasOwnProp$R = Object.prototype.hasOwnProperty;
|
|
531
|
+
var __propIsEnum$R = Object.prototype.propertyIsEnumerable;
|
|
532
|
+
var __defNormalProp$Q = (obj, key, value) => key in obj ? __defProp$Q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
533
|
+
var __spreadValues$Q = (a, b) => {
|
|
534
534
|
for (var prop in b || (b = {}))
|
|
535
|
-
if (__hasOwnProp$
|
|
536
|
-
__defNormalProp$
|
|
537
|
-
if (__getOwnPropSymbols$
|
|
538
|
-
for (var prop of __getOwnPropSymbols$
|
|
539
|
-
if (__propIsEnum$
|
|
540
|
-
__defNormalProp$
|
|
535
|
+
if (__hasOwnProp$R.call(b, prop))
|
|
536
|
+
__defNormalProp$Q(a, prop, b[prop]);
|
|
537
|
+
if (__getOwnPropSymbols$R)
|
|
538
|
+
for (var prop of __getOwnPropSymbols$R(b)) {
|
|
539
|
+
if (__propIsEnum$R.call(b, prop))
|
|
540
|
+
__defNormalProp$Q(a, prop, b[prop]);
|
|
541
541
|
}
|
|
542
542
|
return a;
|
|
543
543
|
};
|
|
544
|
-
var __spreadProps$
|
|
545
|
-
var __objRest$
|
|
544
|
+
var __spreadProps$A = (a, b) => __defProps$A(a, __getOwnPropDescs$A(b));
|
|
545
|
+
var __objRest$u = (source, exclude) => {
|
|
546
546
|
var target = {};
|
|
547
547
|
for (var prop in source)
|
|
548
|
-
if (__hasOwnProp$
|
|
548
|
+
if (__hasOwnProp$R.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
549
549
|
target[prop] = source[prop];
|
|
550
|
-
if (source != null && __getOwnPropSymbols$
|
|
551
|
-
for (var prop of __getOwnPropSymbols$
|
|
552
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
550
|
+
if (source != null && __getOwnPropSymbols$R)
|
|
551
|
+
for (var prop of __getOwnPropSymbols$R(source)) {
|
|
552
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$R.call(source, prop))
|
|
553
553
|
target[prop] = source[prop];
|
|
554
554
|
}
|
|
555
555
|
return target;
|
|
556
556
|
};
|
|
557
557
|
const Badge = (_a) => {
|
|
558
|
-
var _b = _a, { type = "error", className } = _b, props = __objRest$
|
|
558
|
+
var _b = _a, { type = "error", className } = _b, props = __objRest$u(_b, ["type", "className"]);
|
|
559
559
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
560
560
|
antd.Badge,
|
|
561
|
-
__spreadProps$
|
|
561
|
+
__spreadProps$A(__spreadValues$Q({
|
|
562
562
|
className: core.cx(`badge-${type}`, className)
|
|
563
563
|
}, props), {
|
|
564
564
|
showZero: false
|
|
@@ -578,6 +578,36 @@
|
|
|
578
578
|
return /* @__PURE__ */ React__namespace.default.createElement("span", { className, style }, "-");
|
|
579
579
|
};
|
|
580
580
|
|
|
581
|
+
var __defProp$P = Object.defineProperty;
|
|
582
|
+
var __getOwnPropSymbols$Q = Object.getOwnPropertySymbols;
|
|
583
|
+
var __hasOwnProp$Q = Object.prototype.hasOwnProperty;
|
|
584
|
+
var __propIsEnum$Q = Object.prototype.propertyIsEnumerable;
|
|
585
|
+
var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
586
|
+
var __spreadValues$P = (a, b) => {
|
|
587
|
+
for (var prop in b || (b = {}))
|
|
588
|
+
if (__hasOwnProp$Q.call(b, prop))
|
|
589
|
+
__defNormalProp$P(a, prop, b[prop]);
|
|
590
|
+
if (__getOwnPropSymbols$Q)
|
|
591
|
+
for (var prop of __getOwnPropSymbols$Q(b)) {
|
|
592
|
+
if (__propIsEnum$Q.call(b, prop))
|
|
593
|
+
__defNormalProp$P(a, prop, b[prop]);
|
|
594
|
+
}
|
|
595
|
+
return a;
|
|
596
|
+
};
|
|
597
|
+
const Bit = ({
|
|
598
|
+
rawValue,
|
|
599
|
+
decimals,
|
|
600
|
+
unitClassName,
|
|
601
|
+
valueClassName,
|
|
602
|
+
emptyProps
|
|
603
|
+
}) => {
|
|
604
|
+
if (isEmpty(rawValue)) {
|
|
605
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$P({}, emptyProps));
|
|
606
|
+
}
|
|
607
|
+
const { value, unit } = formatBits(rawValue, decimals);
|
|
608
|
+
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, ` ${unit}`));
|
|
609
|
+
};
|
|
610
|
+
|
|
581
611
|
var __defProp$O = Object.defineProperty;
|
|
582
612
|
var __getOwnPropSymbols$P = Object.getOwnPropertySymbols;
|
|
583
613
|
var __hasOwnProp$P = Object.prototype.hasOwnProperty;
|
|
@@ -594,17 +624,17 @@
|
|
|
594
624
|
}
|
|
595
625
|
return a;
|
|
596
626
|
};
|
|
597
|
-
const
|
|
627
|
+
const BitPerSeconds = ({
|
|
598
628
|
rawValue,
|
|
599
629
|
decimals,
|
|
600
|
-
unitClassName,
|
|
601
630
|
valueClassName,
|
|
631
|
+
unitClassName,
|
|
602
632
|
emptyProps
|
|
603
633
|
}) => {
|
|
604
634
|
if (isEmpty(rawValue)) {
|
|
605
635
|
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$O({}, emptyProps));
|
|
606
636
|
}
|
|
607
|
-
const { value, unit } =
|
|
637
|
+
const { value, unit } = formatBitPerSecond(rawValue, decimals);
|
|
608
638
|
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, ` ${unit}`));
|
|
609
639
|
};
|
|
610
640
|
|
|
@@ -624,36 +654,6 @@
|
|
|
624
654
|
}
|
|
625
655
|
return a;
|
|
626
656
|
};
|
|
627
|
-
const BitPerSeconds = ({
|
|
628
|
-
rawValue,
|
|
629
|
-
decimals,
|
|
630
|
-
valueClassName,
|
|
631
|
-
unitClassName,
|
|
632
|
-
emptyProps
|
|
633
|
-
}) => {
|
|
634
|
-
if (isEmpty(rawValue)) {
|
|
635
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$N({}, emptyProps));
|
|
636
|
-
}
|
|
637
|
-
const { value, unit } = formatBitPerSecond(rawValue, decimals);
|
|
638
|
-
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, ` ${unit}`));
|
|
639
|
-
};
|
|
640
|
-
|
|
641
|
-
var __defProp$M = Object.defineProperty;
|
|
642
|
-
var __getOwnPropSymbols$N = Object.getOwnPropertySymbols;
|
|
643
|
-
var __hasOwnProp$N = Object.prototype.hasOwnProperty;
|
|
644
|
-
var __propIsEnum$N = Object.prototype.propertyIsEnumerable;
|
|
645
|
-
var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
646
|
-
var __spreadValues$M = (a, b) => {
|
|
647
|
-
for (var prop in b || (b = {}))
|
|
648
|
-
if (__hasOwnProp$N.call(b, prop))
|
|
649
|
-
__defNormalProp$M(a, prop, b[prop]);
|
|
650
|
-
if (__getOwnPropSymbols$N)
|
|
651
|
-
for (var prop of __getOwnPropSymbols$N(b)) {
|
|
652
|
-
if (__propIsEnum$N.call(b, prop))
|
|
653
|
-
__defNormalProp$M(a, prop, b[prop]);
|
|
654
|
-
}
|
|
655
|
-
return a;
|
|
656
|
-
};
|
|
657
657
|
const Bps = ({
|
|
658
658
|
rawValue,
|
|
659
659
|
decimals,
|
|
@@ -662,7 +662,7 @@
|
|
|
662
662
|
emptyProps
|
|
663
663
|
}) => {
|
|
664
664
|
if (isEmpty(rawValue)) {
|
|
665
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$
|
|
665
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$N({}, emptyProps));
|
|
666
666
|
}
|
|
667
667
|
const { value, unit } = formatBps(rawValue, decimals);
|
|
668
668
|
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, ` ${unit}`));
|
|
@@ -803,28 +803,28 @@
|
|
|
803
803
|
return icon != null ? React__namespace.default.cloneElement(icon, { className }) : null;
|
|
804
804
|
};
|
|
805
805
|
|
|
806
|
-
var __defProp$
|
|
807
|
-
var __getOwnPropSymbols$
|
|
808
|
-
var __hasOwnProp$
|
|
809
|
-
var __propIsEnum$
|
|
810
|
-
var __defNormalProp$
|
|
806
|
+
var __defProp$M = Object.defineProperty;
|
|
807
|
+
var __getOwnPropSymbols$N = Object.getOwnPropertySymbols;
|
|
808
|
+
var __hasOwnProp$N = Object.prototype.hasOwnProperty;
|
|
809
|
+
var __propIsEnum$N = Object.prototype.propertyIsEnumerable;
|
|
810
|
+
var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, {
|
|
811
811
|
enumerable: true,
|
|
812
812
|
configurable: true,
|
|
813
813
|
writable: true,
|
|
814
814
|
value
|
|
815
815
|
}) : obj[key] = value;
|
|
816
|
-
var __spreadValues$
|
|
817
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
818
|
-
if (__getOwnPropSymbols$
|
|
819
|
-
if (__propIsEnum$
|
|
816
|
+
var __spreadValues$M = (a, b) => {
|
|
817
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$N.call(b, prop)) __defNormalProp$M(a, prop, b[prop]);
|
|
818
|
+
if (__getOwnPropSymbols$N) for (var prop of __getOwnPropSymbols$N(b)) {
|
|
819
|
+
if (__propIsEnum$N.call(b, prop)) __defNormalProp$M(a, prop, b[prop]);
|
|
820
820
|
}
|
|
821
821
|
return a;
|
|
822
822
|
};
|
|
823
|
-
var __objRest$
|
|
823
|
+
var __objRest$t = (source, exclude) => {
|
|
824
824
|
var target = {};
|
|
825
|
-
for (var prop in source) if (__hasOwnProp$
|
|
826
|
-
if (source != null && __getOwnPropSymbols$
|
|
827
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
825
|
+
for (var prop in source) if (__hasOwnProp$N.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
826
|
+
if (source != null && __getOwnPropSymbols$N) for (var prop of __getOwnPropSymbols$N(source)) {
|
|
827
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$N.call(source, prop)) target[prop] = source[prop];
|
|
828
828
|
}
|
|
829
829
|
return target;
|
|
830
830
|
};
|
|
@@ -847,12 +847,12 @@
|
|
|
847
847
|
onMouseLeave,
|
|
848
848
|
size = "middle"
|
|
849
849
|
} = _a,
|
|
850
|
-
restProps = __objRest$
|
|
850
|
+
restProps = __objRest$t(_a, ["type", "className", "children", "prefixIcon", "hoverPrefixIcon", "suffixIcon", "hoverSuffixIcon", "onMouseEnter", "onMouseLeave", "size"]);
|
|
851
851
|
const [status, setStatus] = React.useState("normal");
|
|
852
852
|
const hasIcon = prefixIcon || suffixIcon;
|
|
853
853
|
const hasHoverIcon = hoverPrefixIcon || hoverSuffixIcon;
|
|
854
854
|
const onlyIcon = !children && (prefixIcon || suffixIcon);
|
|
855
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Button, __spreadValues$
|
|
855
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Button, __spreadValues$M({
|
|
856
856
|
ref,
|
|
857
857
|
className: cs__default.default(className, ButtonStyle$1, type === "link" && NoPadding, (prefixIcon || suffixIcon) && "has-icon", 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"),
|
|
858
858
|
type: isAntdButtonTypes(type) ? type : void 0,
|
|
@@ -882,33 +882,33 @@
|
|
|
882
882
|
}));
|
|
883
883
|
});
|
|
884
884
|
|
|
885
|
-
var __defProp$
|
|
886
|
-
var __defProps$
|
|
887
|
-
var __getOwnPropDescs$
|
|
888
|
-
var __getOwnPropSymbols$
|
|
889
|
-
var __hasOwnProp$
|
|
890
|
-
var __propIsEnum$
|
|
891
|
-
var __defNormalProp$
|
|
892
|
-
var __spreadValues$
|
|
885
|
+
var __defProp$L = Object.defineProperty;
|
|
886
|
+
var __defProps$z = Object.defineProperties;
|
|
887
|
+
var __getOwnPropDescs$z = Object.getOwnPropertyDescriptors;
|
|
888
|
+
var __getOwnPropSymbols$M = Object.getOwnPropertySymbols;
|
|
889
|
+
var __hasOwnProp$M = Object.prototype.hasOwnProperty;
|
|
890
|
+
var __propIsEnum$M = Object.prototype.propertyIsEnumerable;
|
|
891
|
+
var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
892
|
+
var __spreadValues$L = (a, b) => {
|
|
893
893
|
for (var prop in b || (b = {}))
|
|
894
|
-
if (__hasOwnProp$
|
|
895
|
-
__defNormalProp$
|
|
896
|
-
if (__getOwnPropSymbols$
|
|
897
|
-
for (var prop of __getOwnPropSymbols$
|
|
898
|
-
if (__propIsEnum$
|
|
899
|
-
__defNormalProp$
|
|
894
|
+
if (__hasOwnProp$M.call(b, prop))
|
|
895
|
+
__defNormalProp$L(a, prop, b[prop]);
|
|
896
|
+
if (__getOwnPropSymbols$M)
|
|
897
|
+
for (var prop of __getOwnPropSymbols$M(b)) {
|
|
898
|
+
if (__propIsEnum$M.call(b, prop))
|
|
899
|
+
__defNormalProp$L(a, prop, b[prop]);
|
|
900
900
|
}
|
|
901
901
|
return a;
|
|
902
902
|
};
|
|
903
|
-
var __spreadProps$
|
|
904
|
-
var __objRest$
|
|
903
|
+
var __spreadProps$z = (a, b) => __defProps$z(a, __getOwnPropDescs$z(b));
|
|
904
|
+
var __objRest$s = (source, exclude) => {
|
|
905
905
|
var target = {};
|
|
906
906
|
for (var prop in source)
|
|
907
|
-
if (__hasOwnProp$
|
|
907
|
+
if (__hasOwnProp$M.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
908
908
|
target[prop] = source[prop];
|
|
909
|
-
if (source != null && __getOwnPropSymbols$
|
|
910
|
-
for (var prop of __getOwnPropSymbols$
|
|
911
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
909
|
+
if (source != null && __getOwnPropSymbols$M)
|
|
910
|
+
for (var prop of __getOwnPropSymbols$M(source)) {
|
|
911
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$M.call(source, prop))
|
|
912
912
|
target[prop] = source[prop];
|
|
913
913
|
}
|
|
914
914
|
return target;
|
|
@@ -920,7 +920,7 @@
|
|
|
920
920
|
overlayClassName,
|
|
921
921
|
overlayStyle,
|
|
922
922
|
children
|
|
923
|
-
} = _a, restProps = __objRest$
|
|
923
|
+
} = _a, restProps = __objRest$s(_a, [
|
|
924
924
|
"followMouse",
|
|
925
925
|
"overlayClassName",
|
|
926
926
|
"overlayStyle",
|
|
@@ -962,10 +962,10 @@
|
|
|
962
962
|
}, [followMouse, onmousemove, uniqueContainerClass]);
|
|
963
963
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
964
964
|
antd.Tooltip,
|
|
965
|
-
__spreadProps$
|
|
965
|
+
__spreadProps$z(__spreadValues$L({}, restProps), {
|
|
966
966
|
overlayClassName: followMouse ? cs__default.default(overlayClassName, uniquePopupClass) : overlayClassName,
|
|
967
967
|
children: _children,
|
|
968
|
-
overlayStyle: followMouse ? __spreadValues$
|
|
968
|
+
overlayStyle: followMouse ? __spreadValues$L({
|
|
969
969
|
transform: "translate(-50%, -100%)",
|
|
970
970
|
pointerEvents: "none"
|
|
971
971
|
}, overlayStyle) : overlayStyle
|
|
@@ -973,28 +973,28 @@
|
|
|
973
973
|
);
|
|
974
974
|
};
|
|
975
975
|
|
|
976
|
-
var __defProp$
|
|
977
|
-
var __getOwnPropSymbols$
|
|
978
|
-
var __hasOwnProp$
|
|
979
|
-
var __propIsEnum$
|
|
980
|
-
var __defNormalProp$
|
|
976
|
+
var __defProp$K = Object.defineProperty;
|
|
977
|
+
var __getOwnPropSymbols$L = Object.getOwnPropertySymbols;
|
|
978
|
+
var __hasOwnProp$L = Object.prototype.hasOwnProperty;
|
|
979
|
+
var __propIsEnum$L = Object.prototype.propertyIsEnumerable;
|
|
980
|
+
var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, {
|
|
981
981
|
enumerable: true,
|
|
982
982
|
configurable: true,
|
|
983
983
|
writable: true,
|
|
984
984
|
value
|
|
985
985
|
}) : obj[key] = value;
|
|
986
|
-
var __spreadValues$
|
|
987
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
988
|
-
if (__getOwnPropSymbols$
|
|
989
|
-
if (__propIsEnum$
|
|
986
|
+
var __spreadValues$K = (a, b) => {
|
|
987
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$L.call(b, prop)) __defNormalProp$K(a, prop, b[prop]);
|
|
988
|
+
if (__getOwnPropSymbols$L) for (var prop of __getOwnPropSymbols$L(b)) {
|
|
989
|
+
if (__propIsEnum$L.call(b, prop)) __defNormalProp$K(a, prop, b[prop]);
|
|
990
990
|
}
|
|
991
991
|
return a;
|
|
992
992
|
};
|
|
993
|
-
var __objRest$
|
|
993
|
+
var __objRest$r = (source, exclude) => {
|
|
994
994
|
var target = {};
|
|
995
|
-
for (var prop in source) if (__hasOwnProp$
|
|
996
|
-
if (source != null && __getOwnPropSymbols$
|
|
997
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
995
|
+
for (var prop in source) if (__hasOwnProp$L.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
996
|
+
if (source != null && __getOwnPropSymbols$L) for (var prop of __getOwnPropSymbols$L(source)) {
|
|
997
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$L.call(source, prop)) target[prop] = source[prop];
|
|
998
998
|
}
|
|
999
999
|
return target;
|
|
1000
1000
|
};
|
|
@@ -1029,7 +1029,7 @@
|
|
|
1029
1029
|
hideTitle,
|
|
1030
1030
|
title
|
|
1031
1031
|
} = _a,
|
|
1032
|
-
buttonPropArgs = __objRest$
|
|
1032
|
+
buttonPropArgs = __objRest$r(_a, ["key", "icon", "type", "children", "danger", "ghost", "className", "hideTitle", "title"]);
|
|
1033
1033
|
if (hideTitle) {
|
|
1034
1034
|
return /* @__PURE__ */React__namespace.default.createElement(Tooltip, {
|
|
1035
1035
|
key: key || index,
|
|
@@ -1038,7 +1038,7 @@
|
|
|
1038
1038
|
style: {
|
|
1039
1039
|
cursor: "not-allowed"
|
|
1040
1040
|
}
|
|
1041
|
-
}, /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$
|
|
1041
|
+
}, /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$K({
|
|
1042
1042
|
style: {
|
|
1043
1043
|
pointerEvents: "none"
|
|
1044
1044
|
},
|
|
@@ -1048,7 +1048,7 @@
|
|
|
1048
1048
|
ghost,
|
|
1049
1049
|
className: core.cx(ButtonStyle, className2),
|
|
1050
1050
|
prefixIcon: icon
|
|
1051
|
-
}, buttonPropArgs))) : /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$
|
|
1051
|
+
}, buttonPropArgs))) : /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$K({
|
|
1052
1052
|
type,
|
|
1053
1053
|
size,
|
|
1054
1054
|
danger,
|
|
@@ -1057,7 +1057,7 @@
|
|
|
1057
1057
|
prefixIcon: icon
|
|
1058
1058
|
}, buttonPropArgs)));
|
|
1059
1059
|
}
|
|
1060
|
-
return /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$
|
|
1060
|
+
return /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$K({
|
|
1061
1061
|
key: key || index,
|
|
1062
1062
|
type,
|
|
1063
1063
|
size,
|
|
@@ -1071,19 +1071,19 @@
|
|
|
1071
1071
|
}));
|
|
1072
1072
|
});
|
|
1073
1073
|
|
|
1074
|
-
var __defProp$
|
|
1075
|
-
var __getOwnPropSymbols$
|
|
1076
|
-
var __hasOwnProp$
|
|
1077
|
-
var __propIsEnum$
|
|
1078
|
-
var __defNormalProp$
|
|
1079
|
-
var __spreadValues$
|
|
1074
|
+
var __defProp$J = Object.defineProperty;
|
|
1075
|
+
var __getOwnPropSymbols$K = Object.getOwnPropertySymbols;
|
|
1076
|
+
var __hasOwnProp$K = Object.prototype.hasOwnProperty;
|
|
1077
|
+
var __propIsEnum$K = Object.prototype.propertyIsEnumerable;
|
|
1078
|
+
var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1079
|
+
var __spreadValues$J = (a, b) => {
|
|
1080
1080
|
for (var prop in b || (b = {}))
|
|
1081
|
-
if (__hasOwnProp$
|
|
1082
|
-
__defNormalProp$
|
|
1083
|
-
if (__getOwnPropSymbols$
|
|
1084
|
-
for (var prop of __getOwnPropSymbols$
|
|
1085
|
-
if (__propIsEnum$
|
|
1086
|
-
__defNormalProp$
|
|
1081
|
+
if (__hasOwnProp$K.call(b, prop))
|
|
1082
|
+
__defNormalProp$J(a, prop, b[prop]);
|
|
1083
|
+
if (__getOwnPropSymbols$K)
|
|
1084
|
+
for (var prop of __getOwnPropSymbols$K(b)) {
|
|
1085
|
+
if (__propIsEnum$K.call(b, prop))
|
|
1086
|
+
__defNormalProp$J(a, prop, b[prop]);
|
|
1087
1087
|
}
|
|
1088
1088
|
return a;
|
|
1089
1089
|
};
|
|
@@ -1097,7 +1097,7 @@
|
|
|
1097
1097
|
}) => {
|
|
1098
1098
|
const { t } = useParrotTranslation();
|
|
1099
1099
|
if (isEmpty(rawValue)) {
|
|
1100
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$
|
|
1100
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$J({}, emptyProps));
|
|
1101
1101
|
}
|
|
1102
1102
|
if (rawValue === -1) {
|
|
1103
1103
|
return /* @__PURE__ */ React__namespace.default.createElement("span", null, t("common.calculation"));
|
|
@@ -1141,33 +1141,33 @@
|
|
|
1141
1141
|
propsAsIs: true
|
|
1142
1142
|
});
|
|
1143
1143
|
|
|
1144
|
-
var __defProp$
|
|
1145
|
-
var __defProps$
|
|
1146
|
-
var __getOwnPropDescs$
|
|
1147
|
-
var __getOwnPropSymbols$
|
|
1148
|
-
var __hasOwnProp$
|
|
1149
|
-
var __propIsEnum$
|
|
1150
|
-
var __defNormalProp$
|
|
1151
|
-
var __spreadValues$
|
|
1144
|
+
var __defProp$I = Object.defineProperty;
|
|
1145
|
+
var __defProps$y = Object.defineProperties;
|
|
1146
|
+
var __getOwnPropDescs$y = Object.getOwnPropertyDescriptors;
|
|
1147
|
+
var __getOwnPropSymbols$J = Object.getOwnPropertySymbols;
|
|
1148
|
+
var __hasOwnProp$J = Object.prototype.hasOwnProperty;
|
|
1149
|
+
var __propIsEnum$J = Object.prototype.propertyIsEnumerable;
|
|
1150
|
+
var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1151
|
+
var __spreadValues$I = (a, b) => {
|
|
1152
1152
|
for (var prop in b || (b = {}))
|
|
1153
|
-
if (__hasOwnProp$
|
|
1154
|
-
__defNormalProp$
|
|
1155
|
-
if (__getOwnPropSymbols$
|
|
1156
|
-
for (var prop of __getOwnPropSymbols$
|
|
1157
|
-
if (__propIsEnum$
|
|
1158
|
-
__defNormalProp$
|
|
1153
|
+
if (__hasOwnProp$J.call(b, prop))
|
|
1154
|
+
__defNormalProp$I(a, prop, b[prop]);
|
|
1155
|
+
if (__getOwnPropSymbols$J)
|
|
1156
|
+
for (var prop of __getOwnPropSymbols$J(b)) {
|
|
1157
|
+
if (__propIsEnum$J.call(b, prop))
|
|
1158
|
+
__defNormalProp$I(a, prop, b[prop]);
|
|
1159
1159
|
}
|
|
1160
1160
|
return a;
|
|
1161
1161
|
};
|
|
1162
|
-
var __spreadProps$
|
|
1163
|
-
var __objRest$
|
|
1162
|
+
var __spreadProps$y = (a, b) => __defProps$y(a, __getOwnPropDescs$y(b));
|
|
1163
|
+
var __objRest$q = (source, exclude) => {
|
|
1164
1164
|
var target = {};
|
|
1165
1165
|
for (var prop in source)
|
|
1166
|
-
if (__hasOwnProp$
|
|
1166
|
+
if (__hasOwnProp$J.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1167
1167
|
target[prop] = source[prop];
|
|
1168
|
-
if (source != null && __getOwnPropSymbols$
|
|
1169
|
-
for (var prop of __getOwnPropSymbols$
|
|
1170
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1168
|
+
if (source != null && __getOwnPropSymbols$J)
|
|
1169
|
+
for (var prop of __getOwnPropSymbols$J(source)) {
|
|
1170
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$J.call(source, prop))
|
|
1171
1171
|
target[prop] = source[prop];
|
|
1172
1172
|
}
|
|
1173
1173
|
return target;
|
|
@@ -1182,7 +1182,7 @@
|
|
|
1182
1182
|
defaultOpen = false,
|
|
1183
1183
|
hoverable,
|
|
1184
1184
|
shadow = true
|
|
1185
|
-
} = _a, domProps = __objRest$
|
|
1185
|
+
} = _a, domProps = __objRest$q(_a, [
|
|
1186
1186
|
"collapsible",
|
|
1187
1187
|
"title",
|
|
1188
1188
|
"subInfo",
|
|
@@ -1194,7 +1194,7 @@
|
|
|
1194
1194
|
const [open, setOpen] = React.useState(defaultOpen);
|
|
1195
1195
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
1196
1196
|
CardWrapper,
|
|
1197
|
-
__spreadProps$
|
|
1197
|
+
__spreadProps$y(__spreadValues$I({
|
|
1198
1198
|
ref,
|
|
1199
1199
|
className: cs__default.default(["card-wrapper", className, hoverable && "hoverable"])
|
|
1200
1200
|
}, domProps), {
|
|
@@ -1223,31 +1223,31 @@
|
|
|
1223
1223
|
}
|
|
1224
1224
|
);
|
|
1225
1225
|
|
|
1226
|
-
var __defProp$
|
|
1227
|
-
var __defProps$
|
|
1228
|
-
var __getOwnPropDescs$
|
|
1229
|
-
var __getOwnPropSymbols$
|
|
1230
|
-
var __hasOwnProp$
|
|
1231
|
-
var __propIsEnum$
|
|
1232
|
-
var __defNormalProp$
|
|
1226
|
+
var __defProp$H = Object.defineProperty;
|
|
1227
|
+
var __defProps$x = Object.defineProperties;
|
|
1228
|
+
var __getOwnPropDescs$x = Object.getOwnPropertyDescriptors;
|
|
1229
|
+
var __getOwnPropSymbols$I = Object.getOwnPropertySymbols;
|
|
1230
|
+
var __hasOwnProp$I = Object.prototype.hasOwnProperty;
|
|
1231
|
+
var __propIsEnum$I = Object.prototype.propertyIsEnumerable;
|
|
1232
|
+
var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, {
|
|
1233
1233
|
enumerable: true,
|
|
1234
1234
|
configurable: true,
|
|
1235
1235
|
writable: true,
|
|
1236
1236
|
value
|
|
1237
1237
|
}) : obj[key] = value;
|
|
1238
|
-
var __spreadValues$
|
|
1239
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1240
|
-
if (__getOwnPropSymbols$
|
|
1241
|
-
if (__propIsEnum$
|
|
1238
|
+
var __spreadValues$H = (a, b) => {
|
|
1239
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$I.call(b, prop)) __defNormalProp$H(a, prop, b[prop]);
|
|
1240
|
+
if (__getOwnPropSymbols$I) for (var prop of __getOwnPropSymbols$I(b)) {
|
|
1241
|
+
if (__propIsEnum$I.call(b, prop)) __defNormalProp$H(a, prop, b[prop]);
|
|
1242
1242
|
}
|
|
1243
1243
|
return a;
|
|
1244
1244
|
};
|
|
1245
|
-
var __spreadProps$
|
|
1246
|
-
var __objRest$
|
|
1245
|
+
var __spreadProps$x = (a, b) => __defProps$x(a, __getOwnPropDescs$x(b));
|
|
1246
|
+
var __objRest$p = (source, exclude) => {
|
|
1247
1247
|
var target = {};
|
|
1248
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1249
|
-
if (source != null && __getOwnPropSymbols$
|
|
1250
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1248
|
+
for (var prop in source) if (__hasOwnProp$I.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1249
|
+
if (source != null && __getOwnPropSymbols$I) for (var prop of __getOwnPropSymbols$I(source)) {
|
|
1250
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$I.call(source, prop)) target[prop] = source[prop];
|
|
1251
1251
|
}
|
|
1252
1252
|
return target;
|
|
1253
1253
|
};
|
|
@@ -1260,8 +1260,8 @@
|
|
|
1260
1260
|
description,
|
|
1261
1261
|
compact
|
|
1262
1262
|
} = _b,
|
|
1263
|
-
props = __objRest$
|
|
1264
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Checkbox, __spreadProps$
|
|
1263
|
+
props = __objRest$p(_b, ["className", "children", "description", "compact"]);
|
|
1264
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Checkbox, __spreadProps$x(__spreadValues$H({}, props), {
|
|
1265
1265
|
"data-test": props["data-test"] || props.value,
|
|
1266
1266
|
className: cs__default.default(className, CheckboxStyle, compact && "compact")
|
|
1267
1267
|
}), children ? /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
@@ -1339,39 +1339,39 @@
|
|
|
1339
1339
|
}, children));
|
|
1340
1340
|
};
|
|
1341
1341
|
|
|
1342
|
-
var __defProp$
|
|
1343
|
-
var __getOwnPropSymbols$
|
|
1344
|
-
var __hasOwnProp$
|
|
1345
|
-
var __propIsEnum$
|
|
1346
|
-
var __defNormalProp$
|
|
1347
|
-
var __spreadValues$
|
|
1342
|
+
var __defProp$G = Object.defineProperty;
|
|
1343
|
+
var __getOwnPropSymbols$H = Object.getOwnPropertySymbols;
|
|
1344
|
+
var __hasOwnProp$H = Object.prototype.hasOwnProperty;
|
|
1345
|
+
var __propIsEnum$H = Object.prototype.propertyIsEnumerable;
|
|
1346
|
+
var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1347
|
+
var __spreadValues$G = (a, b) => {
|
|
1348
1348
|
for (var prop in b || (b = {}))
|
|
1349
|
-
if (__hasOwnProp$
|
|
1350
|
-
__defNormalProp$
|
|
1351
|
-
if (__getOwnPropSymbols$
|
|
1352
|
-
for (var prop of __getOwnPropSymbols$
|
|
1353
|
-
if (__propIsEnum$
|
|
1354
|
-
__defNormalProp$
|
|
1349
|
+
if (__hasOwnProp$H.call(b, prop))
|
|
1350
|
+
__defNormalProp$G(a, prop, b[prop]);
|
|
1351
|
+
if (__getOwnPropSymbols$H)
|
|
1352
|
+
for (var prop of __getOwnPropSymbols$H(b)) {
|
|
1353
|
+
if (__propIsEnum$H.call(b, prop))
|
|
1354
|
+
__defNormalProp$G(a, prop, b[prop]);
|
|
1355
1355
|
}
|
|
1356
1356
|
return a;
|
|
1357
1357
|
};
|
|
1358
|
-
var __objRest$
|
|
1358
|
+
var __objRest$o = (source, exclude) => {
|
|
1359
1359
|
var target = {};
|
|
1360
1360
|
for (var prop in source)
|
|
1361
|
-
if (__hasOwnProp$
|
|
1361
|
+
if (__hasOwnProp$H.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1362
1362
|
target[prop] = source[prop];
|
|
1363
|
-
if (source != null && __getOwnPropSymbols$
|
|
1364
|
-
for (var prop of __getOwnPropSymbols$
|
|
1365
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1363
|
+
if (source != null && __getOwnPropSymbols$H)
|
|
1364
|
+
for (var prop of __getOwnPropSymbols$H(source)) {
|
|
1365
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$H.call(source, prop))
|
|
1366
1366
|
target[prop] = source[prop];
|
|
1367
1367
|
}
|
|
1368
1368
|
return target;
|
|
1369
1369
|
};
|
|
1370
1370
|
const FieldsBoolean = (_a) => {
|
|
1371
|
-
var _b = _a, { input, children } = _b, props = __objRest$
|
|
1371
|
+
var _b = _a, { input, children } = _b, props = __objRest$o(_b, ["input", "children"]);
|
|
1372
1372
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
1373
1373
|
Checkbox,
|
|
1374
|
-
__spreadValues$
|
|
1374
|
+
__spreadValues$G({
|
|
1375
1375
|
checked: Boolean(input.value),
|
|
1376
1376
|
onChange: (e) => input.onChange(e.target.checked)
|
|
1377
1377
|
}, props),
|
|
@@ -1396,17 +1396,17 @@
|
|
|
1396
1396
|
}
|
|
1397
1397
|
));
|
|
1398
1398
|
|
|
1399
|
-
var __getOwnPropSymbols$
|
|
1400
|
-
var __hasOwnProp$
|
|
1401
|
-
var __propIsEnum$
|
|
1402
|
-
var __objRest$
|
|
1399
|
+
var __getOwnPropSymbols$G = Object.getOwnPropertySymbols;
|
|
1400
|
+
var __hasOwnProp$G = Object.prototype.hasOwnProperty;
|
|
1401
|
+
var __propIsEnum$G = Object.prototype.propertyIsEnumerable;
|
|
1402
|
+
var __objRest$n = (source, exclude) => {
|
|
1403
1403
|
var target = {};
|
|
1404
1404
|
for (var prop in source)
|
|
1405
|
-
if (__hasOwnProp$
|
|
1405
|
+
if (__hasOwnProp$G.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1406
1406
|
target[prop] = source[prop];
|
|
1407
|
-
if (source != null && __getOwnPropSymbols$
|
|
1408
|
-
for (var prop of __getOwnPropSymbols$
|
|
1409
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1407
|
+
if (source != null && __getOwnPropSymbols$G)
|
|
1408
|
+
for (var prop of __getOwnPropSymbols$G(source)) {
|
|
1409
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$G.call(source, prop))
|
|
1410
1410
|
target[prop] = source[prop];
|
|
1411
1411
|
}
|
|
1412
1412
|
return target;
|
|
@@ -1414,7 +1414,7 @@
|
|
|
1414
1414
|
const FieldsDateTimeRange = (_a) => {
|
|
1415
1415
|
var _b = _a, {
|
|
1416
1416
|
input
|
|
1417
|
-
} = _b, props = __objRest$
|
|
1417
|
+
} = _b, props = __objRest$n(_b, [
|
|
1418
1418
|
"input"
|
|
1419
1419
|
]);
|
|
1420
1420
|
var _a2, _b2;
|
|
@@ -1451,53 +1451,53 @@
|
|
|
1451
1451
|
const InputStyle = "ipd9bk";
|
|
1452
1452
|
const KitInputStyle = "kypn5o5";
|
|
1453
1453
|
|
|
1454
|
-
var __defProp$
|
|
1455
|
-
var __getOwnPropSymbols$
|
|
1456
|
-
var __hasOwnProp$
|
|
1457
|
-
var __propIsEnum$
|
|
1458
|
-
var __defNormalProp$
|
|
1459
|
-
var __spreadValues$
|
|
1454
|
+
var __defProp$F = Object.defineProperty;
|
|
1455
|
+
var __getOwnPropSymbols$F = Object.getOwnPropertySymbols;
|
|
1456
|
+
var __hasOwnProp$F = Object.prototype.hasOwnProperty;
|
|
1457
|
+
var __propIsEnum$F = Object.prototype.propertyIsEnumerable;
|
|
1458
|
+
var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1459
|
+
var __spreadValues$F = (a, b) => {
|
|
1460
1460
|
for (var prop in b || (b = {}))
|
|
1461
|
-
if (__hasOwnProp$
|
|
1462
|
-
__defNormalProp$
|
|
1463
|
-
if (__getOwnPropSymbols$
|
|
1464
|
-
for (var prop of __getOwnPropSymbols$
|
|
1465
|
-
if (__propIsEnum$
|
|
1466
|
-
__defNormalProp$
|
|
1461
|
+
if (__hasOwnProp$F.call(b, prop))
|
|
1462
|
+
__defNormalProp$F(a, prop, b[prop]);
|
|
1463
|
+
if (__getOwnPropSymbols$F)
|
|
1464
|
+
for (var prop of __getOwnPropSymbols$F(b)) {
|
|
1465
|
+
if (__propIsEnum$F.call(b, prop))
|
|
1466
|
+
__defNormalProp$F(a, prop, b[prop]);
|
|
1467
1467
|
}
|
|
1468
1468
|
return a;
|
|
1469
1469
|
};
|
|
1470
1470
|
const Loading = ({ fullView = true }) => {
|
|
1471
1471
|
const Wrapper = fullView ? FullView : React.Fragment;
|
|
1472
1472
|
const props = fullView ? { className: "loading-full-view" } : {};
|
|
1473
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Wrapper, __spreadValues$
|
|
1473
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Wrapper, __spreadValues$F({}, props), /* @__PURE__ */ React__namespace.default.createElement("div", { className: "loading" }, /* @__PURE__ */ React__namespace.default.createElement("div", { className: "loading-indicator__line1" }), /* @__PURE__ */ React__namespace.default.createElement("div", { className: "loading-indicator__line2" }), /* @__PURE__ */ React__namespace.default.createElement("div", { className: "loading-indicator__line3" })));
|
|
1474
1474
|
};
|
|
1475
1475
|
|
|
1476
|
-
var __defProp$
|
|
1477
|
-
var __defProps$
|
|
1478
|
-
var __getOwnPropDescs$
|
|
1479
|
-
var __getOwnPropSymbols$
|
|
1480
|
-
var __hasOwnProp$
|
|
1481
|
-
var __propIsEnum$
|
|
1482
|
-
var __defNormalProp$
|
|
1476
|
+
var __defProp$E = Object.defineProperty;
|
|
1477
|
+
var __defProps$w = Object.defineProperties;
|
|
1478
|
+
var __getOwnPropDescs$w = Object.getOwnPropertyDescriptors;
|
|
1479
|
+
var __getOwnPropSymbols$E = Object.getOwnPropertySymbols;
|
|
1480
|
+
var __hasOwnProp$E = Object.prototype.hasOwnProperty;
|
|
1481
|
+
var __propIsEnum$E = Object.prototype.propertyIsEnumerable;
|
|
1482
|
+
var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, {
|
|
1483
1483
|
enumerable: true,
|
|
1484
1484
|
configurable: true,
|
|
1485
1485
|
writable: true,
|
|
1486
1486
|
value
|
|
1487
1487
|
}) : obj[key] = value;
|
|
1488
|
-
var __spreadValues$
|
|
1489
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1490
|
-
if (__getOwnPropSymbols$
|
|
1491
|
-
if (__propIsEnum$
|
|
1488
|
+
var __spreadValues$E = (a, b) => {
|
|
1489
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$E.call(b, prop)) __defNormalProp$E(a, prop, b[prop]);
|
|
1490
|
+
if (__getOwnPropSymbols$E) for (var prop of __getOwnPropSymbols$E(b)) {
|
|
1491
|
+
if (__propIsEnum$E.call(b, prop)) __defNormalProp$E(a, prop, b[prop]);
|
|
1492
1492
|
}
|
|
1493
1493
|
return a;
|
|
1494
1494
|
};
|
|
1495
|
-
var __spreadProps$
|
|
1496
|
-
var __objRest$
|
|
1495
|
+
var __spreadProps$w = (a, b) => __defProps$w(a, __getOwnPropDescs$w(b));
|
|
1496
|
+
var __objRest$m = (source, exclude) => {
|
|
1497
1497
|
var target = {};
|
|
1498
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1499
|
-
if (source != null && __getOwnPropSymbols$
|
|
1500
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1498
|
+
for (var prop in source) if (__hasOwnProp$E.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1499
|
+
if (source != null && __getOwnPropSymbols$E) for (var prop of __getOwnPropSymbols$E(source)) {
|
|
1500
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$E.call(source, prop)) target[prop] = source[prop];
|
|
1501
1501
|
}
|
|
1502
1502
|
return target;
|
|
1503
1503
|
};
|
|
@@ -1525,7 +1525,7 @@
|
|
|
1525
1525
|
meta,
|
|
1526
1526
|
placeholder
|
|
1527
1527
|
} = _b,
|
|
1528
|
-
restProps = __objRest$
|
|
1528
|
+
restProps = __objRest$m(_b, ["input", "multiple", "className", "scrollBottomBuffer", "onScrollBottom", "onPopupScroll", "onSearch", "showSearch", "filterOption", "loading", "notFoundContent", "children", "error", "selectLimit", "dropdownClassName", "danger", "size", "meta", "placeholder"]);
|
|
1529
1529
|
var _a2;
|
|
1530
1530
|
const limitExceeded = multiple && selectLimit && selectLimit <= (((_a2 = input.value) == null ? void 0 : _a2.length) || 0);
|
|
1531
1531
|
const typo = {
|
|
@@ -1551,7 +1551,7 @@
|
|
|
1551
1551
|
inputDom && (placeholder || item) && inputDom.setAttribute("data-test", String(placeholder || item.textContent));
|
|
1552
1552
|
}
|
|
1553
1553
|
}, [selectRef, placeholder]);
|
|
1554
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Select, __spreadValues$
|
|
1554
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Select, __spreadValues$E(__spreadProps$w(__spreadValues$E({}, input), {
|
|
1555
1555
|
ref: selectRef,
|
|
1556
1556
|
size,
|
|
1557
1557
|
value: multiple ? input.value || [] : input.value || void 0,
|
|
@@ -1592,38 +1592,38 @@
|
|
|
1592
1592
|
loading,
|
|
1593
1593
|
placeholder
|
|
1594
1594
|
}), restProps), React__namespace.default.Children.map(children, child => {
|
|
1595
|
-
return reactIs.isElement(child) ? __spreadProps$
|
|
1596
|
-
props: __spreadProps$
|
|
1595
|
+
return reactIs.isElement(child) ? __spreadProps$w(__spreadValues$E({}, child), {
|
|
1596
|
+
props: __spreadProps$w(__spreadValues$E({}, child.props), {
|
|
1597
1597
|
"data-test": child.props.value
|
|
1598
1598
|
})
|
|
1599
1599
|
}) : child;
|
|
1600
1600
|
}));
|
|
1601
1601
|
};
|
|
1602
1602
|
|
|
1603
|
-
var __defProp$
|
|
1604
|
-
var __getOwnPropSymbols$
|
|
1605
|
-
var __hasOwnProp$
|
|
1606
|
-
var __propIsEnum$
|
|
1607
|
-
var __defNormalProp$
|
|
1608
|
-
var __spreadValues$
|
|
1603
|
+
var __defProp$D = Object.defineProperty;
|
|
1604
|
+
var __getOwnPropSymbols$D = Object.getOwnPropertySymbols;
|
|
1605
|
+
var __hasOwnProp$D = Object.prototype.hasOwnProperty;
|
|
1606
|
+
var __propIsEnum$D = Object.prototype.propertyIsEnumerable;
|
|
1607
|
+
var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1608
|
+
var __spreadValues$D = (a, b) => {
|
|
1609
1609
|
for (var prop in b || (b = {}))
|
|
1610
|
-
if (__hasOwnProp$
|
|
1611
|
-
__defNormalProp$
|
|
1612
|
-
if (__getOwnPropSymbols$
|
|
1613
|
-
for (var prop of __getOwnPropSymbols$
|
|
1614
|
-
if (__propIsEnum$
|
|
1615
|
-
__defNormalProp$
|
|
1610
|
+
if (__hasOwnProp$D.call(b, prop))
|
|
1611
|
+
__defNormalProp$D(a, prop, b[prop]);
|
|
1612
|
+
if (__getOwnPropSymbols$D)
|
|
1613
|
+
for (var prop of __getOwnPropSymbols$D(b)) {
|
|
1614
|
+
if (__propIsEnum$D.call(b, prop))
|
|
1615
|
+
__defNormalProp$D(a, prop, b[prop]);
|
|
1616
1616
|
}
|
|
1617
1617
|
return a;
|
|
1618
1618
|
};
|
|
1619
|
-
var __objRest$
|
|
1619
|
+
var __objRest$l = (source, exclude) => {
|
|
1620
1620
|
var target = {};
|
|
1621
1621
|
for (var prop in source)
|
|
1622
|
-
if (__hasOwnProp$
|
|
1622
|
+
if (__hasOwnProp$D.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1623
1623
|
target[prop] = source[prop];
|
|
1624
|
-
if (source != null && __getOwnPropSymbols$
|
|
1625
|
-
for (var prop of __getOwnPropSymbols$
|
|
1626
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1624
|
+
if (source != null && __getOwnPropSymbols$D)
|
|
1625
|
+
for (var prop of __getOwnPropSymbols$D(source)) {
|
|
1626
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$D.call(source, prop))
|
|
1627
1627
|
target[prop] = source[prop];
|
|
1628
1628
|
}
|
|
1629
1629
|
return target;
|
|
@@ -1633,12 +1633,12 @@
|
|
|
1633
1633
|
meta: __,
|
|
1634
1634
|
enumValues,
|
|
1635
1635
|
emptyLabel
|
|
1636
|
-
} = _b, restProps = __objRest$
|
|
1636
|
+
} = _b, restProps = __objRest$l(_b, [
|
|
1637
1637
|
"meta",
|
|
1638
1638
|
"enumValues",
|
|
1639
1639
|
"emptyLabel"
|
|
1640
1640
|
]);
|
|
1641
|
-
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(Select, __spreadValues$
|
|
1641
|
+
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(Select, __spreadValues$D({}, restProps), emptyLabel && /* @__PURE__ */ React__namespace.default.createElement(antd.Select.Option, { value: "" }, emptyLabel), enumValues.map((v) => {
|
|
1642
1642
|
const item = typeof v === "string" ? { value: v, text: v } : v;
|
|
1643
1643
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
1644
1644
|
antd.Select.Option,
|
|
@@ -1652,31 +1652,31 @@
|
|
|
1652
1652
|
})));
|
|
1653
1653
|
};
|
|
1654
1654
|
|
|
1655
|
-
var __defProp$
|
|
1656
|
-
var __defProps$
|
|
1657
|
-
var __getOwnPropDescs$
|
|
1658
|
-
var __getOwnPropSymbols$
|
|
1659
|
-
var __hasOwnProp$
|
|
1660
|
-
var __propIsEnum$
|
|
1661
|
-
var __defNormalProp$
|
|
1655
|
+
var __defProp$C = Object.defineProperty;
|
|
1656
|
+
var __defProps$v = Object.defineProperties;
|
|
1657
|
+
var __getOwnPropDescs$v = Object.getOwnPropertyDescriptors;
|
|
1658
|
+
var __getOwnPropSymbols$C = Object.getOwnPropertySymbols;
|
|
1659
|
+
var __hasOwnProp$C = Object.prototype.hasOwnProperty;
|
|
1660
|
+
var __propIsEnum$C = Object.prototype.propertyIsEnumerable;
|
|
1661
|
+
var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, {
|
|
1662
1662
|
enumerable: true,
|
|
1663
1663
|
configurable: true,
|
|
1664
1664
|
writable: true,
|
|
1665
1665
|
value
|
|
1666
1666
|
}) : obj[key] = value;
|
|
1667
|
-
var __spreadValues$
|
|
1668
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1669
|
-
if (__getOwnPropSymbols$
|
|
1670
|
-
if (__propIsEnum$
|
|
1667
|
+
var __spreadValues$C = (a, b) => {
|
|
1668
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$C.call(b, prop)) __defNormalProp$C(a, prop, b[prop]);
|
|
1669
|
+
if (__getOwnPropSymbols$C) for (var prop of __getOwnPropSymbols$C(b)) {
|
|
1670
|
+
if (__propIsEnum$C.call(b, prop)) __defNormalProp$C(a, prop, b[prop]);
|
|
1671
1671
|
}
|
|
1672
1672
|
return a;
|
|
1673
1673
|
};
|
|
1674
|
-
var __spreadProps$
|
|
1675
|
-
var __objRest$
|
|
1674
|
+
var __spreadProps$v = (a, b) => __defProps$v(a, __getOwnPropDescs$v(b));
|
|
1675
|
+
var __objRest$k = (source, exclude) => {
|
|
1676
1676
|
var target = {};
|
|
1677
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1678
|
-
if (source != null && __getOwnPropSymbols$
|
|
1679
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1677
|
+
for (var prop in source) if (__hasOwnProp$C.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1678
|
+
if (source != null && __getOwnPropSymbols$C) for (var prop of __getOwnPropSymbols$C(source)) {
|
|
1679
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$C.call(source, prop)) target[prop] = source[prop];
|
|
1680
1680
|
}
|
|
1681
1681
|
return target;
|
|
1682
1682
|
};
|
|
@@ -1712,13 +1712,13 @@
|
|
|
1712
1712
|
prefix,
|
|
1713
1713
|
controls = true
|
|
1714
1714
|
} = _b,
|
|
1715
|
-
props = __objRest$
|
|
1715
|
+
props = __objRest$k(_b, ["className", "error", "size", "suffix", "prefix", "controls"]);
|
|
1716
1716
|
const typo = {
|
|
1717
1717
|
large: Typo.Label.l2_regular,
|
|
1718
1718
|
middle: Typo.Label.l3_regular,
|
|
1719
1719
|
small: Typo.Label.l4_regular
|
|
1720
1720
|
}[size];
|
|
1721
|
-
return /* @__PURE__ */React__namespace.default.createElement(AntdInputNumberStyled, __spreadProps$
|
|
1721
|
+
return /* @__PURE__ */React__namespace.default.createElement(AntdInputNumberStyled, __spreadProps$v(__spreadValues$C({}, props), {
|
|
1722
1722
|
size,
|
|
1723
1723
|
controls,
|
|
1724
1724
|
"data-test": props.name,
|
|
@@ -1728,33 +1728,33 @@
|
|
|
1728
1728
|
}));
|
|
1729
1729
|
};
|
|
1730
1730
|
|
|
1731
|
-
var __defProp$
|
|
1732
|
-
var __defProps$
|
|
1733
|
-
var __getOwnPropDescs$
|
|
1734
|
-
var __getOwnPropSymbols$
|
|
1735
|
-
var __hasOwnProp$
|
|
1736
|
-
var __propIsEnum$
|
|
1737
|
-
var __defNormalProp$
|
|
1738
|
-
var __spreadValues$
|
|
1731
|
+
var __defProp$B = Object.defineProperty;
|
|
1732
|
+
var __defProps$u = Object.defineProperties;
|
|
1733
|
+
var __getOwnPropDescs$u = Object.getOwnPropertyDescriptors;
|
|
1734
|
+
var __getOwnPropSymbols$B = Object.getOwnPropertySymbols;
|
|
1735
|
+
var __hasOwnProp$B = Object.prototype.hasOwnProperty;
|
|
1736
|
+
var __propIsEnum$B = Object.prototype.propertyIsEnumerable;
|
|
1737
|
+
var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1738
|
+
var __spreadValues$B = (a, b) => {
|
|
1739
1739
|
for (var prop in b || (b = {}))
|
|
1740
|
-
if (__hasOwnProp$
|
|
1741
|
-
__defNormalProp$
|
|
1742
|
-
if (__getOwnPropSymbols$
|
|
1743
|
-
for (var prop of __getOwnPropSymbols$
|
|
1744
|
-
if (__propIsEnum$
|
|
1745
|
-
__defNormalProp$
|
|
1740
|
+
if (__hasOwnProp$B.call(b, prop))
|
|
1741
|
+
__defNormalProp$B(a, prop, b[prop]);
|
|
1742
|
+
if (__getOwnPropSymbols$B)
|
|
1743
|
+
for (var prop of __getOwnPropSymbols$B(b)) {
|
|
1744
|
+
if (__propIsEnum$B.call(b, prop))
|
|
1745
|
+
__defNormalProp$B(a, prop, b[prop]);
|
|
1746
1746
|
}
|
|
1747
1747
|
return a;
|
|
1748
1748
|
};
|
|
1749
|
-
var __spreadProps$
|
|
1750
|
-
var __objRest$
|
|
1749
|
+
var __spreadProps$u = (a, b) => __defProps$u(a, __getOwnPropDescs$u(b));
|
|
1750
|
+
var __objRest$j = (source, exclude) => {
|
|
1751
1751
|
var target = {};
|
|
1752
1752
|
for (var prop in source)
|
|
1753
|
-
if (__hasOwnProp$
|
|
1753
|
+
if (__hasOwnProp$B.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1754
1754
|
target[prop] = source[prop];
|
|
1755
|
-
if (source != null && __getOwnPropSymbols$
|
|
1756
|
-
for (var prop of __getOwnPropSymbols$
|
|
1757
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1755
|
+
if (source != null && __getOwnPropSymbols$B)
|
|
1756
|
+
for (var prop of __getOwnPropSymbols$B(source)) {
|
|
1757
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$B.call(source, prop))
|
|
1758
1758
|
target[prop] = source[prop];
|
|
1759
1759
|
}
|
|
1760
1760
|
return target;
|
|
@@ -1765,7 +1765,7 @@
|
|
|
1765
1765
|
meta,
|
|
1766
1766
|
onBlur,
|
|
1767
1767
|
autoComplete = "off"
|
|
1768
|
-
} = _b, props = __objRest$
|
|
1768
|
+
} = _b, props = __objRest$j(_b, [
|
|
1769
1769
|
"input",
|
|
1770
1770
|
"meta",
|
|
1771
1771
|
"onBlur",
|
|
@@ -1773,7 +1773,7 @@
|
|
|
1773
1773
|
]);
|
|
1774
1774
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
1775
1775
|
InputNumber,
|
|
1776
|
-
__spreadValues$
|
|
1776
|
+
__spreadValues$B(__spreadProps$u(__spreadValues$B({}, input), {
|
|
1777
1777
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
1778
1778
|
autoComplete,
|
|
1779
1779
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
@@ -1781,33 +1781,33 @@
|
|
|
1781
1781
|
));
|
|
1782
1782
|
};
|
|
1783
1783
|
|
|
1784
|
-
var __defProp$
|
|
1785
|
-
var __defProps$
|
|
1786
|
-
var __getOwnPropDescs$
|
|
1787
|
-
var __getOwnPropSymbols$
|
|
1788
|
-
var __hasOwnProp$
|
|
1789
|
-
var __propIsEnum$
|
|
1790
|
-
var __defNormalProp$
|
|
1791
|
-
var __spreadValues$
|
|
1784
|
+
var __defProp$A = Object.defineProperty;
|
|
1785
|
+
var __defProps$t = Object.defineProperties;
|
|
1786
|
+
var __getOwnPropDescs$t = Object.getOwnPropertyDescriptors;
|
|
1787
|
+
var __getOwnPropSymbols$A = Object.getOwnPropertySymbols;
|
|
1788
|
+
var __hasOwnProp$A = Object.prototype.hasOwnProperty;
|
|
1789
|
+
var __propIsEnum$A = Object.prototype.propertyIsEnumerable;
|
|
1790
|
+
var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1791
|
+
var __spreadValues$A = (a, b) => {
|
|
1792
1792
|
for (var prop in b || (b = {}))
|
|
1793
|
-
if (__hasOwnProp$
|
|
1794
|
-
__defNormalProp$
|
|
1795
|
-
if (__getOwnPropSymbols$
|
|
1796
|
-
for (var prop of __getOwnPropSymbols$
|
|
1797
|
-
if (__propIsEnum$
|
|
1798
|
-
__defNormalProp$
|
|
1793
|
+
if (__hasOwnProp$A.call(b, prop))
|
|
1794
|
+
__defNormalProp$A(a, prop, b[prop]);
|
|
1795
|
+
if (__getOwnPropSymbols$A)
|
|
1796
|
+
for (var prop of __getOwnPropSymbols$A(b)) {
|
|
1797
|
+
if (__propIsEnum$A.call(b, prop))
|
|
1798
|
+
__defNormalProp$A(a, prop, b[prop]);
|
|
1799
1799
|
}
|
|
1800
1800
|
return a;
|
|
1801
1801
|
};
|
|
1802
|
-
var __spreadProps$
|
|
1803
|
-
var __objRest$
|
|
1802
|
+
var __spreadProps$t = (a, b) => __defProps$t(a, __getOwnPropDescs$t(b));
|
|
1803
|
+
var __objRest$i = (source, exclude) => {
|
|
1804
1804
|
var target = {};
|
|
1805
1805
|
for (var prop in source)
|
|
1806
|
-
if (__hasOwnProp$
|
|
1806
|
+
if (__hasOwnProp$A.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1807
1807
|
target[prop] = source[prop];
|
|
1808
|
-
if (source != null && __getOwnPropSymbols$
|
|
1809
|
-
for (var prop of __getOwnPropSymbols$
|
|
1810
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1808
|
+
if (source != null && __getOwnPropSymbols$A)
|
|
1809
|
+
for (var prop of __getOwnPropSymbols$A(source)) {
|
|
1810
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$A.call(source, prop))
|
|
1811
1811
|
target[prop] = source[prop];
|
|
1812
1812
|
}
|
|
1813
1813
|
return target;
|
|
@@ -1817,7 +1817,7 @@
|
|
|
1817
1817
|
className,
|
|
1818
1818
|
error,
|
|
1819
1819
|
size = "middle"
|
|
1820
|
-
} = _b, props = __objRest$
|
|
1820
|
+
} = _b, props = __objRest$i(_b, [
|
|
1821
1821
|
"className",
|
|
1822
1822
|
"error",
|
|
1823
1823
|
"size"
|
|
@@ -1829,7 +1829,7 @@
|
|
|
1829
1829
|
}[size];
|
|
1830
1830
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
1831
1831
|
antd.Input,
|
|
1832
|
-
__spreadProps$
|
|
1832
|
+
__spreadProps$t(__spreadValues$A({}, props), {
|
|
1833
1833
|
size,
|
|
1834
1834
|
"data-test": props.name,
|
|
1835
1835
|
className: cs__default.default(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -1837,33 +1837,33 @@
|
|
|
1837
1837
|
);
|
|
1838
1838
|
};
|
|
1839
1839
|
|
|
1840
|
-
var __defProp$
|
|
1841
|
-
var __defProps$
|
|
1842
|
-
var __getOwnPropDescs$
|
|
1843
|
-
var __getOwnPropSymbols$
|
|
1844
|
-
var __hasOwnProp$
|
|
1845
|
-
var __propIsEnum$
|
|
1846
|
-
var __defNormalProp$
|
|
1847
|
-
var __spreadValues$
|
|
1840
|
+
var __defProp$z = Object.defineProperty;
|
|
1841
|
+
var __defProps$s = Object.defineProperties;
|
|
1842
|
+
var __getOwnPropDescs$s = Object.getOwnPropertyDescriptors;
|
|
1843
|
+
var __getOwnPropSymbols$z = Object.getOwnPropertySymbols;
|
|
1844
|
+
var __hasOwnProp$z = Object.prototype.hasOwnProperty;
|
|
1845
|
+
var __propIsEnum$z = Object.prototype.propertyIsEnumerable;
|
|
1846
|
+
var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1847
|
+
var __spreadValues$z = (a, b) => {
|
|
1848
1848
|
for (var prop in b || (b = {}))
|
|
1849
|
-
if (__hasOwnProp$
|
|
1850
|
-
__defNormalProp$
|
|
1851
|
-
if (__getOwnPropSymbols$
|
|
1852
|
-
for (var prop of __getOwnPropSymbols$
|
|
1853
|
-
if (__propIsEnum$
|
|
1854
|
-
__defNormalProp$
|
|
1849
|
+
if (__hasOwnProp$z.call(b, prop))
|
|
1850
|
+
__defNormalProp$z(a, prop, b[prop]);
|
|
1851
|
+
if (__getOwnPropSymbols$z)
|
|
1852
|
+
for (var prop of __getOwnPropSymbols$z(b)) {
|
|
1853
|
+
if (__propIsEnum$z.call(b, prop))
|
|
1854
|
+
__defNormalProp$z(a, prop, b[prop]);
|
|
1855
1855
|
}
|
|
1856
1856
|
return a;
|
|
1857
1857
|
};
|
|
1858
|
-
var __spreadProps$
|
|
1859
|
-
var __objRest$
|
|
1858
|
+
var __spreadProps$s = (a, b) => __defProps$s(a, __getOwnPropDescs$s(b));
|
|
1859
|
+
var __objRest$h = (source, exclude) => {
|
|
1860
1860
|
var target = {};
|
|
1861
1861
|
for (var prop in source)
|
|
1862
|
-
if (__hasOwnProp$
|
|
1862
|
+
if (__hasOwnProp$z.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1863
1863
|
target[prop] = source[prop];
|
|
1864
|
-
if (source != null && __getOwnPropSymbols$
|
|
1865
|
-
for (var prop of __getOwnPropSymbols$
|
|
1866
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1864
|
+
if (source != null && __getOwnPropSymbols$z)
|
|
1865
|
+
for (var prop of __getOwnPropSymbols$z(source)) {
|
|
1866
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$z.call(source, prop))
|
|
1867
1867
|
target[prop] = source[prop];
|
|
1868
1868
|
}
|
|
1869
1869
|
return target;
|
|
@@ -1875,7 +1875,7 @@
|
|
|
1875
1875
|
onBlur,
|
|
1876
1876
|
autoComplete = "off",
|
|
1877
1877
|
supportNegativeValue = false
|
|
1878
|
-
} = _b, props = __objRest$
|
|
1878
|
+
} = _b, props = __objRest$h(_b, [
|
|
1879
1879
|
"input",
|
|
1880
1880
|
"meta",
|
|
1881
1881
|
"onBlur",
|
|
@@ -1884,7 +1884,7 @@
|
|
|
1884
1884
|
]);
|
|
1885
1885
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
1886
1886
|
Input,
|
|
1887
|
-
__spreadValues$
|
|
1887
|
+
__spreadValues$z(__spreadProps$s(__spreadValues$z({}, input), {
|
|
1888
1888
|
onChange: (e) => {
|
|
1889
1889
|
const value = e.currentTarget.value;
|
|
1890
1890
|
if (supportNegativeValue) {
|
|
@@ -1919,31 +1919,31 @@
|
|
|
1919
1919
|
}
|
|
1920
1920
|
};
|
|
1921
1921
|
|
|
1922
|
-
var __defProp$
|
|
1923
|
-
var __defProps$
|
|
1924
|
-
var __getOwnPropDescs$
|
|
1925
|
-
var __getOwnPropSymbols$
|
|
1926
|
-
var __hasOwnProp$
|
|
1927
|
-
var __propIsEnum$
|
|
1928
|
-
var __defNormalProp$
|
|
1922
|
+
var __defProp$y = Object.defineProperty;
|
|
1923
|
+
var __defProps$r = Object.defineProperties;
|
|
1924
|
+
var __getOwnPropDescs$r = Object.getOwnPropertyDescriptors;
|
|
1925
|
+
var __getOwnPropSymbols$y = Object.getOwnPropertySymbols;
|
|
1926
|
+
var __hasOwnProp$y = Object.prototype.hasOwnProperty;
|
|
1927
|
+
var __propIsEnum$y = Object.prototype.propertyIsEnumerable;
|
|
1928
|
+
var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, {
|
|
1929
1929
|
enumerable: true,
|
|
1930
1930
|
configurable: true,
|
|
1931
1931
|
writable: true,
|
|
1932
1932
|
value
|
|
1933
1933
|
}) : obj[key] = value;
|
|
1934
|
-
var __spreadValues$
|
|
1935
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1936
|
-
if (__getOwnPropSymbols$
|
|
1937
|
-
if (__propIsEnum$
|
|
1934
|
+
var __spreadValues$y = (a, b) => {
|
|
1935
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$y.call(b, prop)) __defNormalProp$y(a, prop, b[prop]);
|
|
1936
|
+
if (__getOwnPropSymbols$y) for (var prop of __getOwnPropSymbols$y(b)) {
|
|
1937
|
+
if (__propIsEnum$y.call(b, prop)) __defNormalProp$y(a, prop, b[prop]);
|
|
1938
1938
|
}
|
|
1939
1939
|
return a;
|
|
1940
1940
|
};
|
|
1941
|
-
var __spreadProps$
|
|
1942
|
-
var __objRest$
|
|
1941
|
+
var __spreadProps$r = (a, b) => __defProps$r(a, __getOwnPropDescs$r(b));
|
|
1942
|
+
var __objRest$g = (source, exclude) => {
|
|
1943
1943
|
var target = {};
|
|
1944
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1945
|
-
if (source != null && __getOwnPropSymbols$
|
|
1946
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1944
|
+
for (var prop in source) if (__hasOwnProp$y.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1945
|
+
if (source != null && __getOwnPropSymbols$y) for (var prop of __getOwnPropSymbols$y(source)) {
|
|
1946
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$y.call(source, prop)) target[prop] = source[prop];
|
|
1947
1947
|
}
|
|
1948
1948
|
return target;
|
|
1949
1949
|
};
|
|
@@ -1981,13 +1981,13 @@
|
|
|
1981
1981
|
min,
|
|
1982
1982
|
controls = false
|
|
1983
1983
|
} = _b,
|
|
1984
|
-
props = __objRest$
|
|
1984
|
+
props = __objRest$g(_b, ["className", "error", "size", "suffix", "prefix", "max", "min", "controls"]);
|
|
1985
1985
|
const typo = {
|
|
1986
1986
|
large: Typo.Label.l2_regular,
|
|
1987
1987
|
middle: Typo.Label.l3_regular,
|
|
1988
1988
|
small: Typo.Label.l4_regular
|
|
1989
1989
|
}[size];
|
|
1990
|
-
return /* @__PURE__ */React__namespace.default.createElement(AntdIntStyled, __spreadProps$
|
|
1990
|
+
return /* @__PURE__ */React__namespace.default.createElement(AntdIntStyled, __spreadProps$r(__spreadValues$y({}, props), {
|
|
1991
1991
|
size,
|
|
1992
1992
|
formatter: formatterInteger,
|
|
1993
1993
|
parser: formatterInteger,
|
|
@@ -2001,33 +2001,33 @@
|
|
|
2001
2001
|
}));
|
|
2002
2002
|
};
|
|
2003
2003
|
|
|
2004
|
-
var __defProp$
|
|
2005
|
-
var __defProps$
|
|
2006
|
-
var __getOwnPropDescs$
|
|
2007
|
-
var __getOwnPropSymbols$
|
|
2008
|
-
var __hasOwnProp$
|
|
2009
|
-
var __propIsEnum$
|
|
2010
|
-
var __defNormalProp$
|
|
2011
|
-
var __spreadValues$
|
|
2004
|
+
var __defProp$x = Object.defineProperty;
|
|
2005
|
+
var __defProps$q = Object.defineProperties;
|
|
2006
|
+
var __getOwnPropDescs$q = Object.getOwnPropertyDescriptors;
|
|
2007
|
+
var __getOwnPropSymbols$x = Object.getOwnPropertySymbols;
|
|
2008
|
+
var __hasOwnProp$x = Object.prototype.hasOwnProperty;
|
|
2009
|
+
var __propIsEnum$x = Object.prototype.propertyIsEnumerable;
|
|
2010
|
+
var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2011
|
+
var __spreadValues$x = (a, b) => {
|
|
2012
2012
|
for (var prop in b || (b = {}))
|
|
2013
|
-
if (__hasOwnProp$
|
|
2014
|
-
__defNormalProp$
|
|
2015
|
-
if (__getOwnPropSymbols$
|
|
2016
|
-
for (var prop of __getOwnPropSymbols$
|
|
2017
|
-
if (__propIsEnum$
|
|
2018
|
-
__defNormalProp$
|
|
2013
|
+
if (__hasOwnProp$x.call(b, prop))
|
|
2014
|
+
__defNormalProp$x(a, prop, b[prop]);
|
|
2015
|
+
if (__getOwnPropSymbols$x)
|
|
2016
|
+
for (var prop of __getOwnPropSymbols$x(b)) {
|
|
2017
|
+
if (__propIsEnum$x.call(b, prop))
|
|
2018
|
+
__defNormalProp$x(a, prop, b[prop]);
|
|
2019
2019
|
}
|
|
2020
2020
|
return a;
|
|
2021
2021
|
};
|
|
2022
|
-
var __spreadProps$
|
|
2023
|
-
var __objRest$
|
|
2022
|
+
var __spreadProps$q = (a, b) => __defProps$q(a, __getOwnPropDescs$q(b));
|
|
2023
|
+
var __objRest$f = (source, exclude) => {
|
|
2024
2024
|
var target = {};
|
|
2025
2025
|
for (var prop in source)
|
|
2026
|
-
if (__hasOwnProp$
|
|
2026
|
+
if (__hasOwnProp$x.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2027
2027
|
target[prop] = source[prop];
|
|
2028
|
-
if (source != null && __getOwnPropSymbols$
|
|
2029
|
-
for (var prop of __getOwnPropSymbols$
|
|
2030
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2028
|
+
if (source != null && __getOwnPropSymbols$x)
|
|
2029
|
+
for (var prop of __getOwnPropSymbols$x(source)) {
|
|
2030
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$x.call(source, prop))
|
|
2031
2031
|
target[prop] = source[prop];
|
|
2032
2032
|
}
|
|
2033
2033
|
return target;
|
|
@@ -2037,14 +2037,14 @@
|
|
|
2037
2037
|
meta,
|
|
2038
2038
|
input,
|
|
2039
2039
|
onBlur
|
|
2040
|
-
} = _b, props = __objRest$
|
|
2040
|
+
} = _b, props = __objRest$f(_b, [
|
|
2041
2041
|
"meta",
|
|
2042
2042
|
"input",
|
|
2043
2043
|
"onBlur"
|
|
2044
2044
|
]);
|
|
2045
2045
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
2046
2046
|
InputInteger,
|
|
2047
|
-
__spreadProps$
|
|
2047
|
+
__spreadProps$q(__spreadValues$x(__spreadValues$x({}, props), input), {
|
|
2048
2048
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
2049
2049
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
2050
2050
|
})
|
|
@@ -2209,33 +2209,33 @@
|
|
|
2209
2209
|
}, children), showOverflow && /* @__PURE__ */React__namespace.default.createElement("span", null, overflow));
|
|
2210
2210
|
};
|
|
2211
2211
|
|
|
2212
|
-
var __defProp$
|
|
2213
|
-
var __defProps$
|
|
2214
|
-
var __getOwnPropDescs$
|
|
2215
|
-
var __getOwnPropSymbols$
|
|
2216
|
-
var __hasOwnProp$
|
|
2217
|
-
var __propIsEnum$
|
|
2218
|
-
var __defNormalProp$
|
|
2219
|
-
var __spreadValues$
|
|
2212
|
+
var __defProp$w = Object.defineProperty;
|
|
2213
|
+
var __defProps$p = Object.defineProperties;
|
|
2214
|
+
var __getOwnPropDescs$p = Object.getOwnPropertyDescriptors;
|
|
2215
|
+
var __getOwnPropSymbols$w = Object.getOwnPropertySymbols;
|
|
2216
|
+
var __hasOwnProp$w = Object.prototype.hasOwnProperty;
|
|
2217
|
+
var __propIsEnum$w = Object.prototype.propertyIsEnumerable;
|
|
2218
|
+
var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2219
|
+
var __spreadValues$w = (a, b) => {
|
|
2220
2220
|
for (var prop in b || (b = {}))
|
|
2221
|
-
if (__hasOwnProp$
|
|
2222
|
-
__defNormalProp$
|
|
2223
|
-
if (__getOwnPropSymbols$
|
|
2224
|
-
for (var prop of __getOwnPropSymbols$
|
|
2225
|
-
if (__propIsEnum$
|
|
2226
|
-
__defNormalProp$
|
|
2221
|
+
if (__hasOwnProp$w.call(b, prop))
|
|
2222
|
+
__defNormalProp$w(a, prop, b[prop]);
|
|
2223
|
+
if (__getOwnPropSymbols$w)
|
|
2224
|
+
for (var prop of __getOwnPropSymbols$w(b)) {
|
|
2225
|
+
if (__propIsEnum$w.call(b, prop))
|
|
2226
|
+
__defNormalProp$w(a, prop, b[prop]);
|
|
2227
2227
|
}
|
|
2228
2228
|
return a;
|
|
2229
2229
|
};
|
|
2230
|
-
var __spreadProps$
|
|
2231
|
-
var __objRest$
|
|
2230
|
+
var __spreadProps$p = (a, b) => __defProps$p(a, __getOwnPropDescs$p(b));
|
|
2231
|
+
var __objRest$e = (source, exclude) => {
|
|
2232
2232
|
var target = {};
|
|
2233
2233
|
for (var prop in source)
|
|
2234
|
-
if (__hasOwnProp$
|
|
2234
|
+
if (__hasOwnProp$w.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2235
2235
|
target[prop] = source[prop];
|
|
2236
|
-
if (source != null && __getOwnPropSymbols$
|
|
2237
|
-
for (var prop of __getOwnPropSymbols$
|
|
2238
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2236
|
+
if (source != null && __getOwnPropSymbols$w)
|
|
2237
|
+
for (var prop of __getOwnPropSymbols$w(source)) {
|
|
2238
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$w.call(source, prop))
|
|
2239
2239
|
target[prop] = source[prop];
|
|
2240
2240
|
}
|
|
2241
2241
|
return target;
|
|
@@ -2254,7 +2254,7 @@
|
|
|
2254
2254
|
onClick,
|
|
2255
2255
|
maxLength,
|
|
2256
2256
|
focusIndicator
|
|
2257
|
-
} = _b, props = __objRest$
|
|
2257
|
+
} = _b, props = __objRest$e(_b, [
|
|
2258
2258
|
"input",
|
|
2259
2259
|
"meta",
|
|
2260
2260
|
"autoComplete",
|
|
@@ -2286,7 +2286,7 @@
|
|
|
2286
2286
|
}
|
|
2287
2287
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
2288
2288
|
Input,
|
|
2289
|
-
__spreadProps$
|
|
2289
|
+
__spreadProps$p(__spreadValues$w(__spreadProps$p(__spreadValues$w({
|
|
2290
2290
|
className: cs__default.default(
|
|
2291
2291
|
className,
|
|
2292
2292
|
KitInputStyle,
|
|
@@ -2311,33 +2311,33 @@
|
|
|
2311
2311
|
));
|
|
2312
2312
|
};
|
|
2313
2313
|
|
|
2314
|
-
var __defProp$
|
|
2315
|
-
var __defProps$
|
|
2316
|
-
var __getOwnPropDescs$
|
|
2317
|
-
var __getOwnPropSymbols$
|
|
2318
|
-
var __hasOwnProp$
|
|
2319
|
-
var __propIsEnum$
|
|
2320
|
-
var __defNormalProp$
|
|
2321
|
-
var __spreadValues$
|
|
2314
|
+
var __defProp$v = Object.defineProperty;
|
|
2315
|
+
var __defProps$o = Object.defineProperties;
|
|
2316
|
+
var __getOwnPropDescs$o = Object.getOwnPropertyDescriptors;
|
|
2317
|
+
var __getOwnPropSymbols$v = Object.getOwnPropertySymbols;
|
|
2318
|
+
var __hasOwnProp$v = Object.prototype.hasOwnProperty;
|
|
2319
|
+
var __propIsEnum$v = Object.prototype.propertyIsEnumerable;
|
|
2320
|
+
var __defNormalProp$v = (obj, key, value) => key in obj ? __defProp$v(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2321
|
+
var __spreadValues$v = (a, b) => {
|
|
2322
2322
|
for (var prop in b || (b = {}))
|
|
2323
|
-
if (__hasOwnProp$
|
|
2324
|
-
__defNormalProp$
|
|
2325
|
-
if (__getOwnPropSymbols$
|
|
2326
|
-
for (var prop of __getOwnPropSymbols$
|
|
2327
|
-
if (__propIsEnum$
|
|
2328
|
-
__defNormalProp$
|
|
2323
|
+
if (__hasOwnProp$v.call(b, prop))
|
|
2324
|
+
__defNormalProp$v(a, prop, b[prop]);
|
|
2325
|
+
if (__getOwnPropSymbols$v)
|
|
2326
|
+
for (var prop of __getOwnPropSymbols$v(b)) {
|
|
2327
|
+
if (__propIsEnum$v.call(b, prop))
|
|
2328
|
+
__defNormalProp$v(a, prop, b[prop]);
|
|
2329
2329
|
}
|
|
2330
2330
|
return a;
|
|
2331
2331
|
};
|
|
2332
|
-
var __spreadProps$
|
|
2333
|
-
var __objRest$
|
|
2332
|
+
var __spreadProps$o = (a, b) => __defProps$o(a, __getOwnPropDescs$o(b));
|
|
2333
|
+
var __objRest$d = (source, exclude) => {
|
|
2334
2334
|
var target = {};
|
|
2335
2335
|
for (var prop in source)
|
|
2336
|
-
if (__hasOwnProp$
|
|
2336
|
+
if (__hasOwnProp$v.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2337
2337
|
target[prop] = source[prop];
|
|
2338
|
-
if (source != null && __getOwnPropSymbols$
|
|
2339
|
-
for (var prop of __getOwnPropSymbols$
|
|
2340
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2338
|
+
if (source != null && __getOwnPropSymbols$v)
|
|
2339
|
+
for (var prop of __getOwnPropSymbols$v(source)) {
|
|
2340
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$v.call(source, prop))
|
|
2341
2341
|
target[prop] = source[prop];
|
|
2342
2342
|
}
|
|
2343
2343
|
return target;
|
|
@@ -2347,7 +2347,7 @@
|
|
|
2347
2347
|
className,
|
|
2348
2348
|
error,
|
|
2349
2349
|
size = "middle"
|
|
2350
|
-
} = _b, props = __objRest$
|
|
2350
|
+
} = _b, props = __objRest$d(_b, [
|
|
2351
2351
|
"className",
|
|
2352
2352
|
"error",
|
|
2353
2353
|
"size"
|
|
@@ -2359,7 +2359,7 @@
|
|
|
2359
2359
|
}[size];
|
|
2360
2360
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
2361
2361
|
antd.Input.TextArea,
|
|
2362
|
-
__spreadProps$
|
|
2362
|
+
__spreadProps$o(__spreadValues$v({}, props), {
|
|
2363
2363
|
className: cs__default.default(
|
|
2364
2364
|
className,
|
|
2365
2365
|
InputStyle,
|
|
@@ -2373,33 +2373,33 @@
|
|
|
2373
2373
|
);
|
|
2374
2374
|
};
|
|
2375
2375
|
|
|
2376
|
-
var __defProp$
|
|
2377
|
-
var __defProps$
|
|
2378
|
-
var __getOwnPropDescs$
|
|
2379
|
-
var __getOwnPropSymbols$
|
|
2380
|
-
var __hasOwnProp$
|
|
2381
|
-
var __propIsEnum$
|
|
2382
|
-
var __defNormalProp$
|
|
2383
|
-
var __spreadValues$
|
|
2376
|
+
var __defProp$u = Object.defineProperty;
|
|
2377
|
+
var __defProps$n = Object.defineProperties;
|
|
2378
|
+
var __getOwnPropDescs$n = Object.getOwnPropertyDescriptors;
|
|
2379
|
+
var __getOwnPropSymbols$u = Object.getOwnPropertySymbols;
|
|
2380
|
+
var __hasOwnProp$u = Object.prototype.hasOwnProperty;
|
|
2381
|
+
var __propIsEnum$u = Object.prototype.propertyIsEnumerable;
|
|
2382
|
+
var __defNormalProp$u = (obj, key, value) => key in obj ? __defProp$u(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2383
|
+
var __spreadValues$u = (a, b) => {
|
|
2384
2384
|
for (var prop in b || (b = {}))
|
|
2385
|
-
if (__hasOwnProp$
|
|
2386
|
-
__defNormalProp$
|
|
2387
|
-
if (__getOwnPropSymbols$
|
|
2388
|
-
for (var prop of __getOwnPropSymbols$
|
|
2389
|
-
if (__propIsEnum$
|
|
2390
|
-
__defNormalProp$
|
|
2385
|
+
if (__hasOwnProp$u.call(b, prop))
|
|
2386
|
+
__defNormalProp$u(a, prop, b[prop]);
|
|
2387
|
+
if (__getOwnPropSymbols$u)
|
|
2388
|
+
for (var prop of __getOwnPropSymbols$u(b)) {
|
|
2389
|
+
if (__propIsEnum$u.call(b, prop))
|
|
2390
|
+
__defNormalProp$u(a, prop, b[prop]);
|
|
2391
2391
|
}
|
|
2392
2392
|
return a;
|
|
2393
2393
|
};
|
|
2394
|
-
var __spreadProps$
|
|
2395
|
-
var __objRest$
|
|
2394
|
+
var __spreadProps$n = (a, b) => __defProps$n(a, __getOwnPropDescs$n(b));
|
|
2395
|
+
var __objRest$c = (source, exclude) => {
|
|
2396
2396
|
var target = {};
|
|
2397
2397
|
for (var prop in source)
|
|
2398
|
-
if (__hasOwnProp$
|
|
2398
|
+
if (__hasOwnProp$u.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2399
2399
|
target[prop] = source[prop];
|
|
2400
|
-
if (source != null && __getOwnPropSymbols$
|
|
2401
|
-
for (var prop of __getOwnPropSymbols$
|
|
2402
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2400
|
+
if (source != null && __getOwnPropSymbols$u)
|
|
2401
|
+
for (var prop of __getOwnPropSymbols$u(source)) {
|
|
2402
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$u.call(source, prop))
|
|
2403
2403
|
target[prop] = source[prop];
|
|
2404
2404
|
}
|
|
2405
2405
|
return target;
|
|
@@ -2409,14 +2409,14 @@
|
|
|
2409
2409
|
input,
|
|
2410
2410
|
meta,
|
|
2411
2411
|
onFocusChangeHeight
|
|
2412
|
-
} = _b, props = __objRest$
|
|
2412
|
+
} = _b, props = __objRest$c(_b, [
|
|
2413
2413
|
"input",
|
|
2414
2414
|
"meta",
|
|
2415
2415
|
"onFocusChangeHeight"
|
|
2416
2416
|
]);
|
|
2417
2417
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
2418
2418
|
TextArea,
|
|
2419
|
-
__spreadProps$
|
|
2419
|
+
__spreadProps$n(__spreadValues$u(__spreadValues$u({}, input), props), {
|
|
2420
2420
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError),
|
|
2421
2421
|
onFocus: (e) => {
|
|
2422
2422
|
input.onFocus(e);
|
|
@@ -2430,33 +2430,33 @@
|
|
|
2430
2430
|
));
|
|
2431
2431
|
};
|
|
2432
2432
|
|
|
2433
|
-
var __defProp$
|
|
2434
|
-
var __defProps$
|
|
2435
|
-
var __getOwnPropDescs$
|
|
2436
|
-
var __getOwnPropSymbols$
|
|
2437
|
-
var __hasOwnProp$
|
|
2438
|
-
var __propIsEnum$
|
|
2439
|
-
var __defNormalProp$
|
|
2440
|
-
var __spreadValues$
|
|
2433
|
+
var __defProp$t = Object.defineProperty;
|
|
2434
|
+
var __defProps$m = Object.defineProperties;
|
|
2435
|
+
var __getOwnPropDescs$m = Object.getOwnPropertyDescriptors;
|
|
2436
|
+
var __getOwnPropSymbols$t = Object.getOwnPropertySymbols;
|
|
2437
|
+
var __hasOwnProp$t = Object.prototype.hasOwnProperty;
|
|
2438
|
+
var __propIsEnum$t = Object.prototype.propertyIsEnumerable;
|
|
2439
|
+
var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2440
|
+
var __spreadValues$t = (a, b) => {
|
|
2441
2441
|
for (var prop in b || (b = {}))
|
|
2442
|
-
if (__hasOwnProp$
|
|
2443
|
-
__defNormalProp$
|
|
2444
|
-
if (__getOwnPropSymbols$
|
|
2445
|
-
for (var prop of __getOwnPropSymbols$
|
|
2446
|
-
if (__propIsEnum$
|
|
2447
|
-
__defNormalProp$
|
|
2442
|
+
if (__hasOwnProp$t.call(b, prop))
|
|
2443
|
+
__defNormalProp$t(a, prop, b[prop]);
|
|
2444
|
+
if (__getOwnPropSymbols$t)
|
|
2445
|
+
for (var prop of __getOwnPropSymbols$t(b)) {
|
|
2446
|
+
if (__propIsEnum$t.call(b, prop))
|
|
2447
|
+
__defNormalProp$t(a, prop, b[prop]);
|
|
2448
2448
|
}
|
|
2449
2449
|
return a;
|
|
2450
2450
|
};
|
|
2451
|
-
var __spreadProps$
|
|
2452
|
-
var __objRest$
|
|
2451
|
+
var __spreadProps$m = (a, b) => __defProps$m(a, __getOwnPropDescs$m(b));
|
|
2452
|
+
var __objRest$b = (source, exclude) => {
|
|
2453
2453
|
var target = {};
|
|
2454
2454
|
for (var prop in source)
|
|
2455
|
-
if (__hasOwnProp$
|
|
2455
|
+
if (__hasOwnProp$t.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2456
2456
|
target[prop] = source[prop];
|
|
2457
|
-
if (source != null && __getOwnPropSymbols$
|
|
2458
|
-
for (var prop of __getOwnPropSymbols$
|
|
2459
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2457
|
+
if (source != null && __getOwnPropSymbols$t)
|
|
2458
|
+
for (var prop of __getOwnPropSymbols$t(source)) {
|
|
2459
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$t.call(source, prop))
|
|
2460
2460
|
target[prop] = source[prop];
|
|
2461
2461
|
}
|
|
2462
2462
|
return target;
|
|
@@ -2466,7 +2466,7 @@
|
|
|
2466
2466
|
className,
|
|
2467
2467
|
error,
|
|
2468
2468
|
size = "middle"
|
|
2469
|
-
} = _b, props = __objRest$
|
|
2469
|
+
} = _b, props = __objRest$b(_b, [
|
|
2470
2470
|
"className",
|
|
2471
2471
|
"error",
|
|
2472
2472
|
"size"
|
|
@@ -2478,7 +2478,7 @@
|
|
|
2478
2478
|
}[size];
|
|
2479
2479
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
2480
2480
|
antd.TimePicker,
|
|
2481
|
-
__spreadProps$
|
|
2481
|
+
__spreadProps$m(__spreadValues$t({}, props), {
|
|
2482
2482
|
size,
|
|
2483
2483
|
"data-test": props.name,
|
|
2484
2484
|
className: cs__default.default(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -2486,33 +2486,33 @@
|
|
|
2486
2486
|
);
|
|
2487
2487
|
};
|
|
2488
2488
|
|
|
2489
|
-
var __defProp$
|
|
2490
|
-
var __defProps$
|
|
2491
|
-
var __getOwnPropDescs$
|
|
2492
|
-
var __getOwnPropSymbols$
|
|
2493
|
-
var __hasOwnProp$
|
|
2494
|
-
var __propIsEnum$
|
|
2495
|
-
var __defNormalProp$
|
|
2496
|
-
var __spreadValues$
|
|
2489
|
+
var __defProp$s = Object.defineProperty;
|
|
2490
|
+
var __defProps$l = Object.defineProperties;
|
|
2491
|
+
var __getOwnPropDescs$l = Object.getOwnPropertyDescriptors;
|
|
2492
|
+
var __getOwnPropSymbols$s = Object.getOwnPropertySymbols;
|
|
2493
|
+
var __hasOwnProp$s = Object.prototype.hasOwnProperty;
|
|
2494
|
+
var __propIsEnum$s = Object.prototype.propertyIsEnumerable;
|
|
2495
|
+
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2496
|
+
var __spreadValues$s = (a, b) => {
|
|
2497
2497
|
for (var prop in b || (b = {}))
|
|
2498
|
-
if (__hasOwnProp$
|
|
2499
|
-
__defNormalProp$
|
|
2500
|
-
if (__getOwnPropSymbols$
|
|
2501
|
-
for (var prop of __getOwnPropSymbols$
|
|
2502
|
-
if (__propIsEnum$
|
|
2503
|
-
__defNormalProp$
|
|
2498
|
+
if (__hasOwnProp$s.call(b, prop))
|
|
2499
|
+
__defNormalProp$s(a, prop, b[prop]);
|
|
2500
|
+
if (__getOwnPropSymbols$s)
|
|
2501
|
+
for (var prop of __getOwnPropSymbols$s(b)) {
|
|
2502
|
+
if (__propIsEnum$s.call(b, prop))
|
|
2503
|
+
__defNormalProp$s(a, prop, b[prop]);
|
|
2504
2504
|
}
|
|
2505
2505
|
return a;
|
|
2506
2506
|
};
|
|
2507
|
-
var __spreadProps$
|
|
2508
|
-
var __objRest$
|
|
2507
|
+
var __spreadProps$l = (a, b) => __defProps$l(a, __getOwnPropDescs$l(b));
|
|
2508
|
+
var __objRest$a = (source, exclude) => {
|
|
2509
2509
|
var target = {};
|
|
2510
2510
|
for (var prop in source)
|
|
2511
|
-
if (__hasOwnProp$
|
|
2511
|
+
if (__hasOwnProp$s.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2512
2512
|
target[prop] = source[prop];
|
|
2513
|
-
if (source != null && __getOwnPropSymbols$
|
|
2514
|
-
for (var prop of __getOwnPropSymbols$
|
|
2515
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2513
|
+
if (source != null && __getOwnPropSymbols$s)
|
|
2514
|
+
for (var prop of __getOwnPropSymbols$s(source)) {
|
|
2515
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$s.call(source, prop))
|
|
2516
2516
|
target[prop] = source[prop];
|
|
2517
2517
|
}
|
|
2518
2518
|
return target;
|
|
@@ -2521,13 +2521,13 @@
|
|
|
2521
2521
|
var _b = _a, {
|
|
2522
2522
|
input,
|
|
2523
2523
|
meta
|
|
2524
|
-
} = _b, props = __objRest$
|
|
2524
|
+
} = _b, props = __objRest$a(_b, [
|
|
2525
2525
|
"input",
|
|
2526
2526
|
"meta"
|
|
2527
2527
|
]);
|
|
2528
2528
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
2529
2529
|
TimePicker,
|
|
2530
|
-
__spreadValues$
|
|
2530
|
+
__spreadValues$s(__spreadProps$l(__spreadValues$s({}, input), {
|
|
2531
2531
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
2532
2532
|
}), props)
|
|
2533
2533
|
));
|
|
@@ -2546,32 +2546,32 @@
|
|
|
2546
2546
|
DateTimeRange: FieldsDateTimeRange
|
|
2547
2547
|
};
|
|
2548
2548
|
|
|
2549
|
-
var __defProp$
|
|
2550
|
-
var __defProps$
|
|
2551
|
-
var __getOwnPropDescs$
|
|
2552
|
-
var __getOwnPropSymbols$
|
|
2553
|
-
var __hasOwnProp$
|
|
2554
|
-
var __propIsEnum$
|
|
2555
|
-
var __defNormalProp$
|
|
2549
|
+
var __defProp$r = Object.defineProperty;
|
|
2550
|
+
var __defProps$k = Object.defineProperties;
|
|
2551
|
+
var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
|
|
2552
|
+
var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
|
|
2553
|
+
var __hasOwnProp$r = Object.prototype.hasOwnProperty;
|
|
2554
|
+
var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
|
|
2555
|
+
var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, {
|
|
2556
2556
|
enumerable: true,
|
|
2557
2557
|
configurable: true,
|
|
2558
2558
|
writable: true,
|
|
2559
2559
|
value
|
|
2560
2560
|
}) : obj[key] = value;
|
|
2561
|
-
var __spreadValues$
|
|
2562
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2563
|
-
if (__getOwnPropSymbols$
|
|
2564
|
-
if (__propIsEnum$
|
|
2561
|
+
var __spreadValues$r = (a, b) => {
|
|
2562
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$r.call(b, prop)) __defNormalProp$r(a, prop, b[prop]);
|
|
2563
|
+
if (__getOwnPropSymbols$r) for (var prop of __getOwnPropSymbols$r(b)) {
|
|
2564
|
+
if (__propIsEnum$r.call(b, prop)) __defNormalProp$r(a, prop, b[prop]);
|
|
2565
2565
|
}
|
|
2566
2566
|
return a;
|
|
2567
2567
|
};
|
|
2568
|
-
var __spreadProps$
|
|
2568
|
+
var __spreadProps$k = (a, b) => __defProps$k(a, __getOwnPropDescs$k(b));
|
|
2569
2569
|
const {
|
|
2570
2570
|
Item: AntdFormItem
|
|
2571
2571
|
} = antd.Form;
|
|
2572
2572
|
const FormItemStyle$1 = "f1p9ti6d";
|
|
2573
2573
|
const FormItem$1 = props => {
|
|
2574
|
-
return /* @__PURE__ */React__namespace.default.createElement(AntdFormItem, __spreadProps$
|
|
2574
|
+
return /* @__PURE__ */React__namespace.default.createElement(AntdFormItem, __spreadProps$k(__spreadValues$r({}, props), {
|
|
2575
2575
|
className: cs__default.default(FormItemStyle$1, props.className)
|
|
2576
2576
|
}));
|
|
2577
2577
|
};
|
|
@@ -2579,19 +2579,19 @@
|
|
|
2579
2579
|
const Form = antd.Form;
|
|
2580
2580
|
Form.Item = FormItem$1;
|
|
2581
2581
|
|
|
2582
|
-
var __defProp$
|
|
2583
|
-
var __getOwnPropSymbols$
|
|
2584
|
-
var __hasOwnProp$
|
|
2585
|
-
var __propIsEnum$
|
|
2586
|
-
var __defNormalProp$
|
|
2587
|
-
var __spreadValues$
|
|
2582
|
+
var __defProp$q = Object.defineProperty;
|
|
2583
|
+
var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
|
|
2584
|
+
var __hasOwnProp$q = Object.prototype.hasOwnProperty;
|
|
2585
|
+
var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
|
|
2586
|
+
var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2587
|
+
var __spreadValues$q = (a, b) => {
|
|
2588
2588
|
for (var prop in b || (b = {}))
|
|
2589
|
-
if (__hasOwnProp$
|
|
2590
|
-
__defNormalProp$
|
|
2591
|
-
if (__getOwnPropSymbols$
|
|
2592
|
-
for (var prop of __getOwnPropSymbols$
|
|
2593
|
-
if (__propIsEnum$
|
|
2594
|
-
__defNormalProp$
|
|
2589
|
+
if (__hasOwnProp$q.call(b, prop))
|
|
2590
|
+
__defNormalProp$q(a, prop, b[prop]);
|
|
2591
|
+
if (__getOwnPropSymbols$q)
|
|
2592
|
+
for (var prop of __getOwnPropSymbols$q(b)) {
|
|
2593
|
+
if (__propIsEnum$q.call(b, prop))
|
|
2594
|
+
__defNormalProp$q(a, prop, b[prop]);
|
|
2595
2595
|
}
|
|
2596
2596
|
return a;
|
|
2597
2597
|
};
|
|
@@ -2603,7 +2603,7 @@
|
|
|
2603
2603
|
emptyProps
|
|
2604
2604
|
}) => {
|
|
2605
2605
|
if (isEmpty(rawValue)) {
|
|
2606
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$
|
|
2606
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$q({}, emptyProps));
|
|
2607
2607
|
}
|
|
2608
2608
|
const { value, unit } = formatFrequency(rawValue, decimals);
|
|
2609
2609
|
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, ` ${unit}`));
|
|
@@ -2616,25 +2616,25 @@
|
|
|
2616
2616
|
propsAsIs: true
|
|
2617
2617
|
});
|
|
2618
2618
|
|
|
2619
|
-
var __defProp$
|
|
2620
|
-
var __defProps$
|
|
2621
|
-
var __getOwnPropDescs$
|
|
2622
|
-
var __getOwnPropSymbols$
|
|
2623
|
-
var __hasOwnProp$
|
|
2624
|
-
var __propIsEnum$
|
|
2625
|
-
var __defNormalProp$
|
|
2626
|
-
var __spreadValues$
|
|
2619
|
+
var __defProp$p = Object.defineProperty;
|
|
2620
|
+
var __defProps$j = Object.defineProperties;
|
|
2621
|
+
var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
|
|
2622
|
+
var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
|
|
2623
|
+
var __hasOwnProp$p = Object.prototype.hasOwnProperty;
|
|
2624
|
+
var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
|
|
2625
|
+
var __defNormalProp$p = (obj, key2, value) => key2 in obj ? __defProp$p(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value;
|
|
2626
|
+
var __spreadValues$p = (a, b) => {
|
|
2627
2627
|
for (var prop in b || (b = {}))
|
|
2628
|
-
if (__hasOwnProp$
|
|
2629
|
-
__defNormalProp$
|
|
2630
|
-
if (__getOwnPropSymbols$
|
|
2631
|
-
for (var prop of __getOwnPropSymbols$
|
|
2632
|
-
if (__propIsEnum$
|
|
2633
|
-
__defNormalProp$
|
|
2628
|
+
if (__hasOwnProp$p.call(b, prop))
|
|
2629
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
2630
|
+
if (__getOwnPropSymbols$p)
|
|
2631
|
+
for (var prop of __getOwnPropSymbols$p(b)) {
|
|
2632
|
+
if (__propIsEnum$p.call(b, prop))
|
|
2633
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
2634
2634
|
}
|
|
2635
2635
|
return a;
|
|
2636
2636
|
};
|
|
2637
|
-
var __spreadProps$
|
|
2637
|
+
var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
|
|
2638
2638
|
let messageInstance;
|
|
2639
2639
|
let defaultDuration = 3;
|
|
2640
2640
|
let defaultTop;
|
|
@@ -2741,7 +2741,7 @@
|
|
|
2741
2741
|
}
|
|
2742
2742
|
getRCNotificationInstance(args, ({ prefixCls, instance }) => {
|
|
2743
2743
|
instance.notice(
|
|
2744
|
-
getRCNoticeProps(__spreadProps$
|
|
2744
|
+
getRCNoticeProps(__spreadProps$j(__spreadValues$p({}, args), { key: target, onClose: callback }), prefixCls)
|
|
2745
2745
|
);
|
|
2746
2746
|
});
|
|
2747
2747
|
});
|
|
@@ -2770,7 +2770,7 @@
|
|
|
2770
2770
|
function attachTypeApi(originalApi, type) {
|
|
2771
2771
|
originalApi[type] = (content, duration, onClose) => {
|
|
2772
2772
|
if (isArgsProps(content)) {
|
|
2773
|
-
return originalApi.open(__spreadProps$
|
|
2773
|
+
return originalApi.open(__spreadProps$j(__spreadValues$p({}, content), { type }));
|
|
2774
2774
|
}
|
|
2775
2775
|
if (typeof duration === "function") {
|
|
2776
2776
|
onClose = duration;
|
|
@@ -2784,25 +2784,25 @@
|
|
|
2784
2784
|
);
|
|
2785
2785
|
api.warn = api.warning;
|
|
2786
2786
|
|
|
2787
|
-
var __defProp$
|
|
2788
|
-
var __defProps$
|
|
2789
|
-
var __getOwnPropDescs$
|
|
2790
|
-
var __getOwnPropSymbols$
|
|
2791
|
-
var __hasOwnProp$
|
|
2792
|
-
var __propIsEnum$
|
|
2793
|
-
var __defNormalProp$
|
|
2794
|
-
var __spreadValues$
|
|
2787
|
+
var __defProp$o = Object.defineProperty;
|
|
2788
|
+
var __defProps$i = Object.defineProperties;
|
|
2789
|
+
var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
|
|
2790
|
+
var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
|
|
2791
|
+
var __hasOwnProp$o = Object.prototype.hasOwnProperty;
|
|
2792
|
+
var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
|
|
2793
|
+
var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2794
|
+
var __spreadValues$o = (a, b) => {
|
|
2795
2795
|
for (var prop in b || (b = {}))
|
|
2796
|
-
if (__hasOwnProp$
|
|
2797
|
-
__defNormalProp$
|
|
2798
|
-
if (__getOwnPropSymbols$
|
|
2799
|
-
for (var prop of __getOwnPropSymbols$
|
|
2800
|
-
if (__propIsEnum$
|
|
2801
|
-
__defNormalProp$
|
|
2796
|
+
if (__hasOwnProp$o.call(b, prop))
|
|
2797
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
2798
|
+
if (__getOwnPropSymbols$o)
|
|
2799
|
+
for (var prop of __getOwnPropSymbols$o(b)) {
|
|
2800
|
+
if (__propIsEnum$o.call(b, prop))
|
|
2801
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
2802
2802
|
}
|
|
2803
2803
|
return a;
|
|
2804
2804
|
};
|
|
2805
|
-
var __spreadProps$
|
|
2805
|
+
var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
|
|
2806
2806
|
const initialChartState = {
|
|
2807
2807
|
pointers: {},
|
|
2808
2808
|
resourceData: {},
|
|
@@ -2812,8 +2812,8 @@
|
|
|
2812
2812
|
switch (action.type) {
|
|
2813
2813
|
case "SET_POINTER" /* SET_POINTER */: {
|
|
2814
2814
|
const { uuid, left, text, visible, value } = action.payload;
|
|
2815
|
-
return __spreadProps$
|
|
2816
|
-
pointers: __spreadProps$
|
|
2815
|
+
return __spreadProps$i(__spreadValues$o({}, state), {
|
|
2816
|
+
pointers: __spreadProps$i(__spreadValues$o({}, state.pointers), {
|
|
2817
2817
|
[uuid]: {
|
|
2818
2818
|
left,
|
|
2819
2819
|
text,
|
|
@@ -2825,16 +2825,16 @@
|
|
|
2825
2825
|
}
|
|
2826
2826
|
case "SET_RESOURCE_DATA" /* SET_RESOURCE_DATA */: {
|
|
2827
2827
|
const { uuid, data } = action.payload;
|
|
2828
|
-
return __spreadProps$
|
|
2829
|
-
resourceData: __spreadProps$
|
|
2828
|
+
return __spreadProps$i(__spreadValues$o({}, state), {
|
|
2829
|
+
resourceData: __spreadProps$i(__spreadValues$o({}, state.resourceData), {
|
|
2830
2830
|
[uuid]: data
|
|
2831
2831
|
})
|
|
2832
2832
|
});
|
|
2833
2833
|
}
|
|
2834
2834
|
case "SET_AVERAGE_DATA" /* SET_AVERAGE_DATA */: {
|
|
2835
2835
|
const { uuid, average } = action.payload;
|
|
2836
|
-
return __spreadProps$
|
|
2837
|
-
averageData: __spreadProps$
|
|
2836
|
+
return __spreadProps$i(__spreadValues$o({}, state), {
|
|
2837
|
+
averageData: __spreadProps$i(__spreadValues$o({}, state.averageData), {
|
|
2838
2838
|
[uuid]: average
|
|
2839
2839
|
})
|
|
2840
2840
|
});
|
|
@@ -2845,25 +2845,25 @@
|
|
|
2845
2845
|
}
|
|
2846
2846
|
};
|
|
2847
2847
|
|
|
2848
|
-
var __defProp$
|
|
2849
|
-
var __defProps$
|
|
2850
|
-
var __getOwnPropDescs$
|
|
2851
|
-
var __getOwnPropSymbols$
|
|
2852
|
-
var __hasOwnProp$
|
|
2853
|
-
var __propIsEnum$
|
|
2854
|
-
var __defNormalProp$
|
|
2855
|
-
var __spreadValues$
|
|
2848
|
+
var __defProp$n = Object.defineProperty;
|
|
2849
|
+
var __defProps$h = Object.defineProperties;
|
|
2850
|
+
var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
|
|
2851
|
+
var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
|
|
2852
|
+
var __hasOwnProp$n = Object.prototype.hasOwnProperty;
|
|
2853
|
+
var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
|
|
2854
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2855
|
+
var __spreadValues$n = (a, b) => {
|
|
2856
2856
|
for (var prop in b || (b = {}))
|
|
2857
|
-
if (__hasOwnProp$
|
|
2858
|
-
__defNormalProp$
|
|
2859
|
-
if (__getOwnPropSymbols$
|
|
2860
|
-
for (var prop of __getOwnPropSymbols$
|
|
2861
|
-
if (__propIsEnum$
|
|
2862
|
-
__defNormalProp$
|
|
2857
|
+
if (__hasOwnProp$n.call(b, prop))
|
|
2858
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
2859
|
+
if (__getOwnPropSymbols$n)
|
|
2860
|
+
for (var prop of __getOwnPropSymbols$n(b)) {
|
|
2861
|
+
if (__propIsEnum$n.call(b, prop))
|
|
2862
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
2863
2863
|
}
|
|
2864
2864
|
return a;
|
|
2865
2865
|
};
|
|
2866
|
-
var __spreadProps$
|
|
2866
|
+
var __spreadProps$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
|
|
2867
2867
|
var ModalActions = /* @__PURE__ */ ((ModalActions2) => {
|
|
2868
2868
|
ModalActions2["PUSH_MODAL"] = "PUSH_MODAL";
|
|
2869
2869
|
ModalActions2["POP_MODAL"] = "POP_MODAL";
|
|
@@ -2884,22 +2884,22 @@
|
|
|
2884
2884
|
)) {
|
|
2885
2885
|
return state;
|
|
2886
2886
|
}
|
|
2887
|
-
return __spreadProps$
|
|
2888
|
-
stack: state.stack.concat(__spreadProps$
|
|
2887
|
+
return __spreadProps$h(__spreadValues$n({}, state), {
|
|
2888
|
+
stack: state.stack.concat(__spreadProps$h(__spreadValues$n({}, action.payload), {
|
|
2889
2889
|
id: MODAL_ID++
|
|
2890
2890
|
}))
|
|
2891
2891
|
});
|
|
2892
2892
|
case "POP_MODAL" /* POP_MODAL */:
|
|
2893
|
-
return __spreadProps$
|
|
2893
|
+
return __spreadProps$h(__spreadValues$n({}, state), {
|
|
2894
2894
|
stack: state.stack.slice(0, -1)
|
|
2895
2895
|
});
|
|
2896
2896
|
case "REMOVE_MODAL" /* REMOVE_MODAL */:
|
|
2897
|
-
return __spreadProps$
|
|
2897
|
+
return __spreadProps$h(__spreadValues$n({}, state), {
|
|
2898
2898
|
closeId: 0,
|
|
2899
2899
|
stack: state.stack.filter((m) => m.id !== action.id)
|
|
2900
2900
|
});
|
|
2901
2901
|
case "CLOSE_MODAL" /* CLOSE_MODAL */:
|
|
2902
|
-
return __spreadProps$
|
|
2902
|
+
return __spreadProps$h(__spreadValues$n({}, state), {
|
|
2903
2903
|
closeId: action.id
|
|
2904
2904
|
});
|
|
2905
2905
|
default:
|
|
@@ -2950,33 +2950,33 @@
|
|
|
2950
2950
|
const useKitDispatch = reactRedux.createDispatchHook(ctx);
|
|
2951
2951
|
const useKitSelector = reactRedux.createSelectorHook(ctx);
|
|
2952
2952
|
|
|
2953
|
-
var __defProp$
|
|
2954
|
-
var __defProps$
|
|
2955
|
-
var __getOwnPropDescs$
|
|
2956
|
-
var __getOwnPropSymbols$
|
|
2957
|
-
var __hasOwnProp$
|
|
2958
|
-
var __propIsEnum$
|
|
2959
|
-
var __defNormalProp$
|
|
2960
|
-
var __spreadValues$
|
|
2953
|
+
var __defProp$m = Object.defineProperty;
|
|
2954
|
+
var __defProps$g = Object.defineProperties;
|
|
2955
|
+
var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
|
|
2956
|
+
var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
|
|
2957
|
+
var __hasOwnProp$m = Object.prototype.hasOwnProperty;
|
|
2958
|
+
var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
|
|
2959
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2960
|
+
var __spreadValues$m = (a, b) => {
|
|
2961
2961
|
for (var prop in b || (b = {}))
|
|
2962
|
-
if (__hasOwnProp$
|
|
2963
|
-
__defNormalProp$
|
|
2964
|
-
if (__getOwnPropSymbols$
|
|
2965
|
-
for (var prop of __getOwnPropSymbols$
|
|
2966
|
-
if (__propIsEnum$
|
|
2967
|
-
__defNormalProp$
|
|
2962
|
+
if (__hasOwnProp$m.call(b, prop))
|
|
2963
|
+
__defNormalProp$m(a, prop, b[prop]);
|
|
2964
|
+
if (__getOwnPropSymbols$m)
|
|
2965
|
+
for (var prop of __getOwnPropSymbols$m(b)) {
|
|
2966
|
+
if (__propIsEnum$m.call(b, prop))
|
|
2967
|
+
__defNormalProp$m(a, prop, b[prop]);
|
|
2968
2968
|
}
|
|
2969
2969
|
return a;
|
|
2970
2970
|
};
|
|
2971
|
-
var __spreadProps$
|
|
2972
|
-
var __objRest$
|
|
2971
|
+
var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
|
|
2972
|
+
var __objRest$9 = (source, exclude) => {
|
|
2973
2973
|
var target = {};
|
|
2974
2974
|
for (var prop in source)
|
|
2975
|
-
if (__hasOwnProp$
|
|
2975
|
+
if (__hasOwnProp$m.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2976
2976
|
target[prop] = source[prop];
|
|
2977
|
-
if (source != null && __getOwnPropSymbols$
|
|
2978
|
-
for (var prop of __getOwnPropSymbols$
|
|
2979
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2977
|
+
if (source != null && __getOwnPropSymbols$m)
|
|
2978
|
+
for (var prop of __getOwnPropSymbols$m(source)) {
|
|
2979
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$m.call(source, prop))
|
|
2980
2980
|
target[prop] = source[prop];
|
|
2981
2981
|
}
|
|
2982
2982
|
return target;
|
|
@@ -3003,7 +3003,7 @@
|
|
|
3003
3003
|
showCancel = true,
|
|
3004
3004
|
showOk = true,
|
|
3005
3005
|
afterClose
|
|
3006
|
-
} = _a, restProps = __objRest$
|
|
3006
|
+
} = _a, restProps = __objRest$9(_a, [
|
|
3007
3007
|
"error",
|
|
3008
3008
|
"okText",
|
|
3009
3009
|
"cancelText",
|
|
@@ -3058,7 +3058,7 @@
|
|
|
3058
3058
|
}
|
|
3059
3059
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
3060
3060
|
antd.Modal,
|
|
3061
|
-
__spreadProps$
|
|
3061
|
+
__spreadProps$g(__spreadValues$m({
|
|
3062
3062
|
maskClosable,
|
|
3063
3063
|
className: cs__default.default(
|
|
3064
3064
|
className,
|
|
@@ -3093,7 +3093,7 @@
|
|
|
3093
3093
|
prevText
|
|
3094
3094
|
), error && /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: "modal-error" }, error))), /* @__PURE__ */ React__namespace.default.createElement("div", { className: "modal-footer-btn-group" }, showCancel && /* @__PURE__ */ React__namespace.default.createElement(
|
|
3095
3095
|
Button,
|
|
3096
|
-
__spreadValues$
|
|
3096
|
+
__spreadValues$m({
|
|
3097
3097
|
type: "quiet",
|
|
3098
3098
|
onMouseDown: (e) => {
|
|
3099
3099
|
e.preventDefault();
|
|
@@ -3107,7 +3107,7 @@
|
|
|
3107
3107
|
cancelText
|
|
3108
3108
|
), showOk && /* @__PURE__ */ React__namespace.default.createElement(
|
|
3109
3109
|
Button,
|
|
3110
|
-
__spreadValues$
|
|
3110
|
+
__spreadValues$m({
|
|
3111
3111
|
onClick: (e) => {
|
|
3112
3112
|
var _a2, _b2;
|
|
3113
3113
|
onOk == null ? void 0 : onOk(e);
|
|
@@ -3259,19 +3259,19 @@
|
|
|
3259
3259
|
}))));
|
|
3260
3260
|
};
|
|
3261
3261
|
|
|
3262
|
-
var __defProp$
|
|
3263
|
-
var __getOwnPropSymbols$
|
|
3264
|
-
var __hasOwnProp$
|
|
3265
|
-
var __propIsEnum$
|
|
3266
|
-
var __defNormalProp$
|
|
3267
|
-
var __spreadValues$
|
|
3262
|
+
var __defProp$l = Object.defineProperty;
|
|
3263
|
+
var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
|
|
3264
|
+
var __hasOwnProp$l = Object.prototype.hasOwnProperty;
|
|
3265
|
+
var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
|
|
3266
|
+
var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3267
|
+
var __spreadValues$l = (a, b) => {
|
|
3268
3268
|
for (var prop in b || (b = {}))
|
|
3269
|
-
if (__hasOwnProp$
|
|
3270
|
-
__defNormalProp$
|
|
3271
|
-
if (__getOwnPropSymbols$
|
|
3272
|
-
for (var prop of __getOwnPropSymbols$
|
|
3273
|
-
if (__propIsEnum$
|
|
3274
|
-
__defNormalProp$
|
|
3269
|
+
if (__hasOwnProp$l.call(b, prop))
|
|
3270
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
3271
|
+
if (__getOwnPropSymbols$l)
|
|
3272
|
+
for (var prop of __getOwnPropSymbols$l(b)) {
|
|
3273
|
+
if (__propIsEnum$l.call(b, prop))
|
|
3274
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
3275
3275
|
}
|
|
3276
3276
|
return a;
|
|
3277
3277
|
};
|
|
@@ -3284,52 +3284,52 @@
|
|
|
3284
3284
|
emptyProps
|
|
3285
3285
|
}) => {
|
|
3286
3286
|
if (isEmpty(rawValue)) {
|
|
3287
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$
|
|
3287
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$l({}, emptyProps));
|
|
3288
3288
|
}
|
|
3289
3289
|
const { value, unit } = formatPercent(rawValue, decimals, saturated);
|
|
3290
3290
|
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, unit));
|
|
3291
3291
|
};
|
|
3292
3292
|
|
|
3293
|
-
var __defProp$
|
|
3294
|
-
var __getOwnPropSymbols$
|
|
3295
|
-
var __hasOwnProp$
|
|
3296
|
-
var __propIsEnum$
|
|
3297
|
-
var __defNormalProp$
|
|
3298
|
-
var __spreadValues$
|
|
3293
|
+
var __defProp$k = Object.defineProperty;
|
|
3294
|
+
var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
|
|
3295
|
+
var __hasOwnProp$k = Object.prototype.hasOwnProperty;
|
|
3296
|
+
var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
|
|
3297
|
+
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3298
|
+
var __spreadValues$k = (a, b) => {
|
|
3299
3299
|
for (var prop in b || (b = {}))
|
|
3300
|
-
if (__hasOwnProp$
|
|
3301
|
-
__defNormalProp$
|
|
3302
|
-
if (__getOwnPropSymbols$
|
|
3303
|
-
for (var prop of __getOwnPropSymbols$
|
|
3304
|
-
if (__propIsEnum$
|
|
3305
|
-
__defNormalProp$
|
|
3300
|
+
if (__hasOwnProp$k.call(b, prop))
|
|
3301
|
+
__defNormalProp$k(a, prop, b[prop]);
|
|
3302
|
+
if (__getOwnPropSymbols$k)
|
|
3303
|
+
for (var prop of __getOwnPropSymbols$k(b)) {
|
|
3304
|
+
if (__propIsEnum$k.call(b, prop))
|
|
3305
|
+
__defNormalProp$k(a, prop, b[prop]);
|
|
3306
3306
|
}
|
|
3307
3307
|
return a;
|
|
3308
3308
|
};
|
|
3309
|
-
const Progress = (props) => /* @__PURE__ */ React__namespace.default.createElement(antd.Progress, __spreadValues$
|
|
3309
|
+
const Progress = (props) => /* @__PURE__ */ React__namespace.default.createElement(antd.Progress, __spreadValues$k({}, props));
|
|
3310
3310
|
|
|
3311
|
-
var __defProp$
|
|
3312
|
-
var __getOwnPropSymbols$
|
|
3313
|
-
var __hasOwnProp$
|
|
3314
|
-
var __propIsEnum$
|
|
3315
|
-
var __defNormalProp$
|
|
3311
|
+
var __defProp$j = Object.defineProperty;
|
|
3312
|
+
var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
|
|
3313
|
+
var __hasOwnProp$j = Object.prototype.hasOwnProperty;
|
|
3314
|
+
var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
|
|
3315
|
+
var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, {
|
|
3316
3316
|
enumerable: true,
|
|
3317
3317
|
configurable: true,
|
|
3318
3318
|
writable: true,
|
|
3319
3319
|
value
|
|
3320
3320
|
}) : obj[key] = value;
|
|
3321
|
-
var __spreadValues$
|
|
3322
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3323
|
-
if (__getOwnPropSymbols$
|
|
3324
|
-
if (__propIsEnum$
|
|
3321
|
+
var __spreadValues$j = (a, b) => {
|
|
3322
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$j.call(b, prop)) __defNormalProp$j(a, prop, b[prop]);
|
|
3323
|
+
if (__getOwnPropSymbols$j) for (var prop of __getOwnPropSymbols$j(b)) {
|
|
3324
|
+
if (__propIsEnum$j.call(b, prop)) __defNormalProp$j(a, prop, b[prop]);
|
|
3325
3325
|
}
|
|
3326
3326
|
return a;
|
|
3327
3327
|
};
|
|
3328
|
-
var __objRest$
|
|
3328
|
+
var __objRest$8 = (source, exclude) => {
|
|
3329
3329
|
var target = {};
|
|
3330
|
-
for (var prop in source) if (__hasOwnProp$
|
|
3331
|
-
if (source != null && __getOwnPropSymbols$
|
|
3332
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3330
|
+
for (var prop in source) if (__hasOwnProp$j.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
3331
|
+
if (source != null && __getOwnPropSymbols$j) for (var prop of __getOwnPropSymbols$j(source)) {
|
|
3332
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$j.call(source, prop)) target[prop] = source[prop];
|
|
3333
3333
|
}
|
|
3334
3334
|
return target;
|
|
3335
3335
|
};
|
|
@@ -3345,7 +3345,7 @@
|
|
|
3345
3345
|
checked,
|
|
3346
3346
|
compact = false
|
|
3347
3347
|
} = _b,
|
|
3348
|
-
props = __objRest$
|
|
3348
|
+
props = __objRest$8(_b, ["children", "className", "checked", "compact"]);
|
|
3349
3349
|
const {
|
|
3350
3350
|
description
|
|
3351
3351
|
} = props;
|
|
@@ -3355,7 +3355,7 @@
|
|
|
3355
3355
|
className: core.cx("radio-description", Typo.Label.l4_regular)
|
|
3356
3356
|
}, description));
|
|
3357
3357
|
}
|
|
3358
|
-
return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement(antd.Radio, __spreadValues$
|
|
3358
|
+
return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement(antd.Radio, __spreadValues$j({
|
|
3359
3359
|
className: core.cx(className, RadioStyle, compact && "compact"),
|
|
3360
3360
|
checked: checked || false,
|
|
3361
3361
|
"data-test": context.name ? `${context.name}-${String(props.value)}` : String(props.value)
|
|
@@ -3367,13 +3367,13 @@
|
|
|
3367
3367
|
children,
|
|
3368
3368
|
className
|
|
3369
3369
|
} = _d,
|
|
3370
|
-
props = __objRest$
|
|
3370
|
+
props = __objRest$8(_d, ["children", "className"]);
|
|
3371
3371
|
return /* @__PURE__ */React__namespace.default.createElement(KitRadioGroupContext.Provider, {
|
|
3372
3372
|
value: {
|
|
3373
3373
|
disabled: props.disabled,
|
|
3374
3374
|
name: props.name
|
|
3375
3375
|
}
|
|
3376
|
-
}, /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Group, __spreadValues$
|
|
3376
|
+
}, /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Group, __spreadValues$j({
|
|
3377
3377
|
className: core.cx(className, RadioGroupStyle)
|
|
3378
3378
|
}, props), children ? children : null));
|
|
3379
3379
|
};
|
|
@@ -3383,7 +3383,7 @@
|
|
|
3383
3383
|
children,
|
|
3384
3384
|
className
|
|
3385
3385
|
} = _f,
|
|
3386
|
-
props = __objRest$
|
|
3386
|
+
props = __objRest$8(_f, ["children", "className"]);
|
|
3387
3387
|
const {
|
|
3388
3388
|
type,
|
|
3389
3389
|
placeholder = "Label",
|
|
@@ -3429,46 +3429,46 @@
|
|
|
3429
3429
|
className: "ant-radio-button-input-label"
|
|
3430
3430
|
}, typeof children === "string" ? children : ""));
|
|
3431
3431
|
};
|
|
3432
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Button, __spreadValues$
|
|
3432
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Button, __spreadValues$j({
|
|
3433
3433
|
className: core.cx(className, RadioButtonStyle),
|
|
3434
3434
|
value: radioButtonValue
|
|
3435
3435
|
}, props), renderChildren());
|
|
3436
3436
|
};
|
|
3437
3437
|
|
|
3438
|
-
var __defProp$
|
|
3439
|
-
var __getOwnPropSymbols$
|
|
3440
|
-
var __hasOwnProp$
|
|
3441
|
-
var __propIsEnum$
|
|
3442
|
-
var __defNormalProp$
|
|
3443
|
-
var __spreadValues$
|
|
3438
|
+
var __defProp$i = Object.defineProperty;
|
|
3439
|
+
var __getOwnPropSymbols$i = Object.getOwnPropertySymbols;
|
|
3440
|
+
var __hasOwnProp$i = Object.prototype.hasOwnProperty;
|
|
3441
|
+
var __propIsEnum$i = Object.prototype.propertyIsEnumerable;
|
|
3442
|
+
var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3443
|
+
var __spreadValues$i = (a, b) => {
|
|
3444
3444
|
for (var prop in b || (b = {}))
|
|
3445
|
-
if (__hasOwnProp$
|
|
3446
|
-
__defNormalProp$
|
|
3447
|
-
if (__getOwnPropSymbols$
|
|
3448
|
-
for (var prop of __getOwnPropSymbols$
|
|
3449
|
-
if (__propIsEnum$
|
|
3450
|
-
__defNormalProp$
|
|
3445
|
+
if (__hasOwnProp$i.call(b, prop))
|
|
3446
|
+
__defNormalProp$i(a, prop, b[prop]);
|
|
3447
|
+
if (__getOwnPropSymbols$i)
|
|
3448
|
+
for (var prop of __getOwnPropSymbols$i(b)) {
|
|
3449
|
+
if (__propIsEnum$i.call(b, prop))
|
|
3450
|
+
__defNormalProp$i(a, prop, b[prop]);
|
|
3451
3451
|
}
|
|
3452
3452
|
return a;
|
|
3453
3453
|
};
|
|
3454
|
-
var __objRest$
|
|
3454
|
+
var __objRest$7 = (source, exclude) => {
|
|
3455
3455
|
var target = {};
|
|
3456
3456
|
for (var prop in source)
|
|
3457
|
-
if (__hasOwnProp$
|
|
3457
|
+
if (__hasOwnProp$i.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3458
3458
|
target[prop] = source[prop];
|
|
3459
|
-
if (source != null && __getOwnPropSymbols$
|
|
3460
|
-
for (var prop of __getOwnPropSymbols$
|
|
3461
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3459
|
+
if (source != null && __getOwnPropSymbols$i)
|
|
3460
|
+
for (var prop of __getOwnPropSymbols$i(source)) {
|
|
3461
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$i.call(source, prop))
|
|
3462
3462
|
target[prop] = source[prop];
|
|
3463
3463
|
}
|
|
3464
3464
|
return target;
|
|
3465
3465
|
};
|
|
3466
3466
|
const SearchInput = (props) => {
|
|
3467
|
-
const _a = props, { onChange, debounceWait = 300 } = _a, restProps = __objRest$
|
|
3467
|
+
const _a = props, { onChange, debounceWait = 300 } = _a, restProps = __objRest$7(_a, ["onChange", "debounceWait"]);
|
|
3468
3468
|
const onSearch = ___default.default.debounce(onChange, debounceWait);
|
|
3469
3469
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
3470
3470
|
Input,
|
|
3471
|
-
__spreadValues$
|
|
3471
|
+
__spreadValues$i({
|
|
3472
3472
|
style: { width: 276 },
|
|
3473
3473
|
prefix: /* @__PURE__ */ React__namespace.default.createElement(icons.SearchOutlined, null),
|
|
3474
3474
|
onChange: (e) => onSearch(e.target.value)
|
|
@@ -3476,19 +3476,19 @@
|
|
|
3476
3476
|
);
|
|
3477
3477
|
};
|
|
3478
3478
|
|
|
3479
|
-
var __defProp$
|
|
3480
|
-
var __getOwnPropSymbols$
|
|
3481
|
-
var __hasOwnProp$
|
|
3482
|
-
var __propIsEnum$
|
|
3483
|
-
var __defNormalProp$
|
|
3484
|
-
var __spreadValues$
|
|
3479
|
+
var __defProp$h = Object.defineProperty;
|
|
3480
|
+
var __getOwnPropSymbols$h = Object.getOwnPropertySymbols;
|
|
3481
|
+
var __hasOwnProp$h = Object.prototype.hasOwnProperty;
|
|
3482
|
+
var __propIsEnum$h = Object.prototype.propertyIsEnumerable;
|
|
3483
|
+
var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3484
|
+
var __spreadValues$h = (a, b) => {
|
|
3485
3485
|
for (var prop in b || (b = {}))
|
|
3486
|
-
if (__hasOwnProp$
|
|
3487
|
-
__defNormalProp$
|
|
3488
|
-
if (__getOwnPropSymbols$
|
|
3489
|
-
for (var prop of __getOwnPropSymbols$
|
|
3490
|
-
if (__propIsEnum$
|
|
3491
|
-
__defNormalProp$
|
|
3486
|
+
if (__hasOwnProp$h.call(b, prop))
|
|
3487
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
3488
|
+
if (__getOwnPropSymbols$h)
|
|
3489
|
+
for (var prop of __getOwnPropSymbols$h(b)) {
|
|
3490
|
+
if (__propIsEnum$h.call(b, prop))
|
|
3491
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
3492
3492
|
}
|
|
3493
3493
|
return a;
|
|
3494
3494
|
};
|
|
@@ -3502,7 +3502,7 @@
|
|
|
3502
3502
|
}) => {
|
|
3503
3503
|
const { t } = useParrotTranslation();
|
|
3504
3504
|
if (isEmpty(rawValue)) {
|
|
3505
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$
|
|
3505
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$h({}, emptyProps));
|
|
3506
3506
|
}
|
|
3507
3507
|
const { value, unit } = formatSeconds(rawValue, decimals);
|
|
3508
3508
|
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value, " "), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, t(`common.${abbreviate ? `${unit}_abbreviation` : unit}`)));
|
|
@@ -3584,19 +3584,19 @@
|
|
|
3584
3584
|
})));
|
|
3585
3585
|
};
|
|
3586
3586
|
|
|
3587
|
-
var __defProp$
|
|
3588
|
-
var __getOwnPropSymbols$
|
|
3589
|
-
var __hasOwnProp$
|
|
3590
|
-
var __propIsEnum$
|
|
3591
|
-
var __defNormalProp$
|
|
3592
|
-
var __spreadValues$
|
|
3587
|
+
var __defProp$g = Object.defineProperty;
|
|
3588
|
+
var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
|
|
3589
|
+
var __hasOwnProp$g = Object.prototype.hasOwnProperty;
|
|
3590
|
+
var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
|
|
3591
|
+
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3592
|
+
var __spreadValues$g = (a, b) => {
|
|
3593
3593
|
for (var prop in b || (b = {}))
|
|
3594
|
-
if (__hasOwnProp$
|
|
3595
|
-
__defNormalProp$
|
|
3596
|
-
if (__getOwnPropSymbols$
|
|
3597
|
-
for (var prop of __getOwnPropSymbols$
|
|
3598
|
-
if (__propIsEnum$
|
|
3599
|
-
__defNormalProp$
|
|
3594
|
+
if (__hasOwnProp$g.call(b, prop))
|
|
3595
|
+
__defNormalProp$g(a, prop, b[prop]);
|
|
3596
|
+
if (__getOwnPropSymbols$g)
|
|
3597
|
+
for (var prop of __getOwnPropSymbols$g(b)) {
|
|
3598
|
+
if (__propIsEnum$g.call(b, prop))
|
|
3599
|
+
__defNormalProp$g(a, prop, b[prop]);
|
|
3600
3600
|
}
|
|
3601
3601
|
return a;
|
|
3602
3602
|
};
|
|
@@ -3608,12 +3608,96 @@
|
|
|
3608
3608
|
emptyProps
|
|
3609
3609
|
}) => {
|
|
3610
3610
|
if (isEmpty(rawValue)) {
|
|
3611
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$
|
|
3611
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$g({}, emptyProps));
|
|
3612
3612
|
}
|
|
3613
3613
|
const { value, unit } = formatSpeed(rawValue, decimals);
|
|
3614
3614
|
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, ` ${unit}`));
|
|
3615
3615
|
};
|
|
3616
3616
|
|
|
3617
|
+
var __defProp$f = Object.defineProperty;
|
|
3618
|
+
var __defProps$f = Object.defineProperties;
|
|
3619
|
+
var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
|
|
3620
|
+
var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
|
|
3621
|
+
var __hasOwnProp$f = Object.prototype.hasOwnProperty;
|
|
3622
|
+
var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
|
|
3623
|
+
var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, {
|
|
3624
|
+
enumerable: true,
|
|
3625
|
+
configurable: true,
|
|
3626
|
+
writable: true,
|
|
3627
|
+
value
|
|
3628
|
+
}) : obj[key] = value;
|
|
3629
|
+
var __spreadValues$f = (a, b) => {
|
|
3630
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$f.call(b, prop)) __defNormalProp$f(a, prop, b[prop]);
|
|
3631
|
+
if (__getOwnPropSymbols$f) for (var prop of __getOwnPropSymbols$f(b)) {
|
|
3632
|
+
if (__propIsEnum$f.call(b, prop)) __defNormalProp$f(a, prop, b[prop]);
|
|
3633
|
+
}
|
|
3634
|
+
return a;
|
|
3635
|
+
};
|
|
3636
|
+
var __spreadProps$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
|
|
3637
|
+
var __objRest$6 = (source, exclude) => {
|
|
3638
|
+
var target = {};
|
|
3639
|
+
for (var prop in source) if (__hasOwnProp$f.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
3640
|
+
if (source != null && __getOwnPropSymbols$f) for (var prop of __getOwnPropSymbols$f(source)) {
|
|
3641
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$f.call(source, prop)) target[prop] = source[prop];
|
|
3642
|
+
}
|
|
3643
|
+
return target;
|
|
3644
|
+
};
|
|
3645
|
+
const PresetColors$3 = ["blue", "red", "yellow", "green", "gray"];
|
|
3646
|
+
const StatusCapsuleStyle = "s14dk8r1";
|
|
3647
|
+
const StatusCode = /*#__PURE__*/react.styled('i')({
|
|
3648
|
+
name: "StatusCode",
|
|
3649
|
+
class: "s1uupoto",
|
|
3650
|
+
propsAsIs: false
|
|
3651
|
+
});
|
|
3652
|
+
const StatusIcon = ({
|
|
3653
|
+
loading
|
|
3654
|
+
}) => {
|
|
3655
|
+
if (loading) {
|
|
3656
|
+
return /* @__PURE__ */React__namespace.default.createElement(Icon, {
|
|
3657
|
+
className: "ui-kit-status-capsule-icon ui-kit-status-capsule-icon-loading",
|
|
3658
|
+
iconWidth: 8,
|
|
3659
|
+
iconHeight: 8,
|
|
3660
|
+
isRotate: true,
|
|
3661
|
+
src: iconsReact.Loading8GradientBlueIcon
|
|
3662
|
+
});
|
|
3663
|
+
}
|
|
3664
|
+
return /* @__PURE__ */React__namespace.default.createElement(StatusCode, {
|
|
3665
|
+
className: "ui-kit-status-capsule-icon"
|
|
3666
|
+
});
|
|
3667
|
+
};
|
|
3668
|
+
const ColorMap = {
|
|
3669
|
+
success: "green",
|
|
3670
|
+
danger: "red",
|
|
3671
|
+
warning: "yellow"
|
|
3672
|
+
};
|
|
3673
|
+
const StatusCapsule = _a => {
|
|
3674
|
+
var _b = _a,
|
|
3675
|
+
{
|
|
3676
|
+
color = "gray",
|
|
3677
|
+
className,
|
|
3678
|
+
loading,
|
|
3679
|
+
hoverable = false,
|
|
3680
|
+
children,
|
|
3681
|
+
offWhiteMode,
|
|
3682
|
+
number
|
|
3683
|
+
} = _b,
|
|
3684
|
+
props = __objRest$6(_b, ["color", "className", "loading", "hoverable", "children", "offWhiteMode", "number"]);
|
|
3685
|
+
const computedColor = ColorMap[color] || color;
|
|
3686
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$f(__spreadValues$f({}, props), {
|
|
3687
|
+
className: cs__default.default(className, StatusCapsuleStyle, Typo.Label.l4_regular, "ui-kit-status-capsule", {
|
|
3688
|
+
[`ant-tag-${computedColor}`]: PresetColors$3.includes(computedColor),
|
|
3689
|
+
"tag-hover": hoverable,
|
|
3690
|
+
"off-white": offWhiteMode
|
|
3691
|
+
}),
|
|
3692
|
+
closable: false,
|
|
3693
|
+
color: computedColor === "gray" ? void 0 : computedColor
|
|
3694
|
+
}), /* @__PURE__ */React__namespace.default.createElement(StatusIcon, {
|
|
3695
|
+
loading
|
|
3696
|
+
}), children, !!number && /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
3697
|
+
className: "ui-kit-status-capsule-number"
|
|
3698
|
+
}, number));
|
|
3699
|
+
};
|
|
3700
|
+
|
|
3617
3701
|
const StepsStyle = "sq6vos1";
|
|
3618
3702
|
const HorizontalStyle = "hjtnwxg";
|
|
3619
3703
|
const VerticalStyle = "v1p8siwu";
|
|
@@ -5446,6 +5530,7 @@
|
|
|
5446
5530
|
datePickerRangePicker: antd.DatePicker.RangePicker,
|
|
5447
5531
|
tableForm: TableForm,
|
|
5448
5532
|
token: Token,
|
|
5533
|
+
statusCapsule: StatusCapsule,
|
|
5449
5534
|
uploadDragger: antd.Upload.Dragger,
|
|
5450
5535
|
calendar: antd.Calendar,
|
|
5451
5536
|
timePicker: antd.TimePicker,
|