@cloudtower/eagle 0.25.14-alpha.4 → 0.25.14
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/Empty/index.d.ts +6 -2
- package/dist/components/KitStoreProvider/index.d.ts +1 -4
- package/dist/components.css +791 -791
- package/dist/esm/index.js +676 -549
- package/dist/esm/stats1.html +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/spec/base.d.ts +4 -1
- package/dist/store/index.d.ts +3 -21
- package/dist/style.css +675 -675
- package/dist/umd/index.js +673 -547
- package/dist/umd/stats1.html +1 -1
- package/package.json +5 -5
- package/dist/components/KitStoreProvider/ReduxContextProvider.d.ts +0 -9
package/dist/umd/index.js
CHANGED
|
@@ -257,30 +257,30 @@
|
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
-
var __defProp$
|
|
261
|
-
var __getOwnPropSymbols$
|
|
262
|
-
var __hasOwnProp$
|
|
263
|
-
var __propIsEnum$
|
|
264
|
-
var __defNormalProp$
|
|
265
|
-
var __spreadValues$
|
|
260
|
+
var __defProp$O = Object.defineProperty;
|
|
261
|
+
var __getOwnPropSymbols$P = Object.getOwnPropertySymbols;
|
|
262
|
+
var __hasOwnProp$P = Object.prototype.hasOwnProperty;
|
|
263
|
+
var __propIsEnum$P = Object.prototype.propertyIsEnumerable;
|
|
264
|
+
var __defNormalProp$O = (obj, key, value) => key in obj ? __defProp$O(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
265
|
+
var __spreadValues$O = (a, b) => {
|
|
266
266
|
for (var prop in b || (b = {}))
|
|
267
|
-
if (__hasOwnProp$
|
|
268
|
-
__defNormalProp$
|
|
269
|
-
if (__getOwnPropSymbols$
|
|
270
|
-
for (var prop of __getOwnPropSymbols$
|
|
271
|
-
if (__propIsEnum$
|
|
272
|
-
__defNormalProp$
|
|
267
|
+
if (__hasOwnProp$P.call(b, prop))
|
|
268
|
+
__defNormalProp$O(a, prop, b[prop]);
|
|
269
|
+
if (__getOwnPropSymbols$P)
|
|
270
|
+
for (var prop of __getOwnPropSymbols$P(b)) {
|
|
271
|
+
if (__propIsEnum$P.call(b, prop))
|
|
272
|
+
__defNormalProp$O(a, prop, b[prop]);
|
|
273
273
|
}
|
|
274
274
|
return a;
|
|
275
275
|
};
|
|
276
276
|
var __objRest$s = (source, exclude) => {
|
|
277
277
|
var target = {};
|
|
278
278
|
for (var prop in source)
|
|
279
|
-
if (__hasOwnProp$
|
|
279
|
+
if (__hasOwnProp$P.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
280
280
|
target[prop] = source[prop];
|
|
281
|
-
if (source != null && __getOwnPropSymbols$
|
|
282
|
-
for (var prop of __getOwnPropSymbols$
|
|
283
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
281
|
+
if (source != null && __getOwnPropSymbols$P)
|
|
282
|
+
for (var prop of __getOwnPropSymbols$P(source)) {
|
|
283
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$P.call(source, prop))
|
|
284
284
|
target[prop] = source[prop];
|
|
285
285
|
}
|
|
286
286
|
return target;
|
|
@@ -312,10 +312,10 @@
|
|
|
312
312
|
]);
|
|
313
313
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
314
314
|
"span",
|
|
315
|
-
__spreadValues$
|
|
315
|
+
__spreadValues$O({
|
|
316
316
|
ref,
|
|
317
317
|
className,
|
|
318
|
-
style: ___default.default.pickBy(__spreadValues$
|
|
318
|
+
style: ___default.default.pickBy(__spreadValues$O({ cursor }, style))
|
|
319
319
|
}, HTMLSpanElementProps),
|
|
320
320
|
prefixNode,
|
|
321
321
|
/* @__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 }))),
|
|
@@ -325,31 +325,31 @@
|
|
|
325
325
|
}
|
|
326
326
|
);
|
|
327
327
|
|
|
328
|
-
var __defProp$
|
|
328
|
+
var __defProp$N = Object.defineProperty;
|
|
329
329
|
var __defProps$x = Object.defineProperties;
|
|
330
330
|
var __getOwnPropDescs$x = Object.getOwnPropertyDescriptors;
|
|
331
|
-
var __getOwnPropSymbols$
|
|
332
|
-
var __hasOwnProp$
|
|
333
|
-
var __propIsEnum$
|
|
334
|
-
var __defNormalProp$
|
|
331
|
+
var __getOwnPropSymbols$O = Object.getOwnPropertySymbols;
|
|
332
|
+
var __hasOwnProp$O = Object.prototype.hasOwnProperty;
|
|
333
|
+
var __propIsEnum$O = Object.prototype.propertyIsEnumerable;
|
|
334
|
+
var __defNormalProp$N = (obj, key, value) => key in obj ? __defProp$N(obj, key, {
|
|
335
335
|
enumerable: true,
|
|
336
336
|
configurable: true,
|
|
337
337
|
writable: true,
|
|
338
338
|
value
|
|
339
339
|
}) : obj[key] = value;
|
|
340
|
-
var __spreadValues$
|
|
341
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
342
|
-
if (__getOwnPropSymbols$
|
|
343
|
-
if (__propIsEnum$
|
|
340
|
+
var __spreadValues$N = (a, b) => {
|
|
341
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$O.call(b, prop)) __defNormalProp$N(a, prop, b[prop]);
|
|
342
|
+
if (__getOwnPropSymbols$O) for (var prop of __getOwnPropSymbols$O(b)) {
|
|
343
|
+
if (__propIsEnum$O.call(b, prop)) __defNormalProp$N(a, prop, b[prop]);
|
|
344
344
|
}
|
|
345
345
|
return a;
|
|
346
346
|
};
|
|
347
347
|
var __spreadProps$x = (a, b) => __defProps$x(a, __getOwnPropDescs$x(b));
|
|
348
348
|
var __objRest$r = (source, exclude) => {
|
|
349
349
|
var target = {};
|
|
350
|
-
for (var prop in source) if (__hasOwnProp$
|
|
351
|
-
if (source != null && __getOwnPropSymbols$
|
|
352
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
350
|
+
for (var prop in source) if (__hasOwnProp$O.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
351
|
+
if (source != null && __getOwnPropSymbols$O) for (var prop of __getOwnPropSymbols$O(source)) {
|
|
352
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$O.call(source, prop)) target[prop] = source[prop];
|
|
353
353
|
}
|
|
354
354
|
return target;
|
|
355
355
|
};
|
|
@@ -401,14 +401,14 @@
|
|
|
401
401
|
}
|
|
402
402
|
return src2;
|
|
403
403
|
}, [active, hover, suffix]);
|
|
404
|
-
return /* @__PURE__ */React__namespace.default.createElement(BaseIcon, __spreadProps$x(__spreadValues$
|
|
404
|
+
return /* @__PURE__ */React__namespace.default.createElement(BaseIcon, __spreadProps$x(__spreadValues$N({
|
|
405
405
|
src: _src,
|
|
406
406
|
className: cs__default.default(IconWrapper, "icon-wrapper", className, isRotate && "is-rotate"),
|
|
407
407
|
suffixIconSrc,
|
|
408
408
|
height: iconHeight,
|
|
409
409
|
width: iconWidth,
|
|
410
410
|
prefixNode: prefix,
|
|
411
|
-
style: ___default.default.pickBy(__spreadValues$
|
|
411
|
+
style: ___default.default.pickBy(__spreadValues$N({
|
|
412
412
|
cursor
|
|
413
413
|
}, style))
|
|
414
414
|
}, restProps), {
|
|
@@ -433,21 +433,21 @@
|
|
|
433
433
|
}));
|
|
434
434
|
});
|
|
435
435
|
|
|
436
|
-
var __defProp$
|
|
436
|
+
var __defProp$M = Object.defineProperty;
|
|
437
437
|
var __defProps$w = Object.defineProperties;
|
|
438
438
|
var __getOwnPropDescs$w = Object.getOwnPropertyDescriptors;
|
|
439
|
-
var __getOwnPropSymbols$
|
|
440
|
-
var __hasOwnProp$
|
|
441
|
-
var __propIsEnum$
|
|
442
|
-
var __defNormalProp$
|
|
443
|
-
var __spreadValues$
|
|
439
|
+
var __getOwnPropSymbols$N = Object.getOwnPropertySymbols;
|
|
440
|
+
var __hasOwnProp$N = Object.prototype.hasOwnProperty;
|
|
441
|
+
var __propIsEnum$N = Object.prototype.propertyIsEnumerable;
|
|
442
|
+
var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
443
|
+
var __spreadValues$M = (a, b) => {
|
|
444
444
|
for (var prop in b || (b = {}))
|
|
445
|
-
if (__hasOwnProp$
|
|
446
|
-
__defNormalProp$
|
|
447
|
-
if (__getOwnPropSymbols$
|
|
448
|
-
for (var prop of __getOwnPropSymbols$
|
|
449
|
-
if (__propIsEnum$
|
|
450
|
-
__defNormalProp$
|
|
445
|
+
if (__hasOwnProp$N.call(b, prop))
|
|
446
|
+
__defNormalProp$M(a, prop, b[prop]);
|
|
447
|
+
if (__getOwnPropSymbols$N)
|
|
448
|
+
for (var prop of __getOwnPropSymbols$N(b)) {
|
|
449
|
+
if (__propIsEnum$N.call(b, prop))
|
|
450
|
+
__defNormalProp$M(a, prop, b[prop]);
|
|
451
451
|
}
|
|
452
452
|
return a;
|
|
453
453
|
};
|
|
@@ -455,11 +455,11 @@
|
|
|
455
455
|
var __objRest$q = (source, exclude) => {
|
|
456
456
|
var target = {};
|
|
457
457
|
for (var prop in source)
|
|
458
|
-
if (__hasOwnProp$
|
|
458
|
+
if (__hasOwnProp$N.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
459
459
|
target[prop] = source[prop];
|
|
460
|
-
if (source != null && __getOwnPropSymbols$
|
|
461
|
-
for (var prop of __getOwnPropSymbols$
|
|
462
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
460
|
+
if (source != null && __getOwnPropSymbols$N)
|
|
461
|
+
for (var prop of __getOwnPropSymbols$N(source)) {
|
|
462
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$N.call(source, prop))
|
|
463
463
|
target[prop] = source[prop];
|
|
464
464
|
}
|
|
465
465
|
return target;
|
|
@@ -484,7 +484,7 @@
|
|
|
484
484
|
const _type = type === "normal" ? "info" : type;
|
|
485
485
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
486
486
|
antd.Alert,
|
|
487
|
-
__spreadProps$w(__spreadValues$
|
|
487
|
+
__spreadProps$w(__spreadValues$M({}, props), {
|
|
488
488
|
className: cs__default.default(type ? `alert-${type}` : "", className),
|
|
489
489
|
type: _type,
|
|
490
490
|
icon: icon || _icon,
|
|
@@ -512,21 +512,21 @@
|
|
|
512
512
|
return /* @__PURE__ */ React__namespace.default.createElement("span", null, text);
|
|
513
513
|
};
|
|
514
514
|
|
|
515
|
-
var __defProp$
|
|
515
|
+
var __defProp$L = Object.defineProperty;
|
|
516
516
|
var __defProps$v = Object.defineProperties;
|
|
517
517
|
var __getOwnPropDescs$v = Object.getOwnPropertyDescriptors;
|
|
518
|
-
var __getOwnPropSymbols$
|
|
519
|
-
var __hasOwnProp$
|
|
520
|
-
var __propIsEnum$
|
|
521
|
-
var __defNormalProp$
|
|
522
|
-
var __spreadValues$
|
|
518
|
+
var __getOwnPropSymbols$M = Object.getOwnPropertySymbols;
|
|
519
|
+
var __hasOwnProp$M = Object.prototype.hasOwnProperty;
|
|
520
|
+
var __propIsEnum$M = Object.prototype.propertyIsEnumerable;
|
|
521
|
+
var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
522
|
+
var __spreadValues$L = (a, b) => {
|
|
523
523
|
for (var prop in b || (b = {}))
|
|
524
|
-
if (__hasOwnProp$
|
|
525
|
-
__defNormalProp$
|
|
526
|
-
if (__getOwnPropSymbols$
|
|
527
|
-
for (var prop of __getOwnPropSymbols$
|
|
528
|
-
if (__propIsEnum$
|
|
529
|
-
__defNormalProp$
|
|
524
|
+
if (__hasOwnProp$M.call(b, prop))
|
|
525
|
+
__defNormalProp$L(a, prop, b[prop]);
|
|
526
|
+
if (__getOwnPropSymbols$M)
|
|
527
|
+
for (var prop of __getOwnPropSymbols$M(b)) {
|
|
528
|
+
if (__propIsEnum$M.call(b, prop))
|
|
529
|
+
__defNormalProp$L(a, prop, b[prop]);
|
|
530
530
|
}
|
|
531
531
|
return a;
|
|
532
532
|
};
|
|
@@ -534,11 +534,11 @@
|
|
|
534
534
|
var __objRest$p = (source, exclude) => {
|
|
535
535
|
var target = {};
|
|
536
536
|
for (var prop in source)
|
|
537
|
-
if (__hasOwnProp$
|
|
537
|
+
if (__hasOwnProp$M.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
538
538
|
target[prop] = source[prop];
|
|
539
|
-
if (source != null && __getOwnPropSymbols$
|
|
540
|
-
for (var prop of __getOwnPropSymbols$
|
|
541
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
539
|
+
if (source != null && __getOwnPropSymbols$M)
|
|
540
|
+
for (var prop of __getOwnPropSymbols$M(source)) {
|
|
541
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$M.call(source, prop))
|
|
542
542
|
target[prop] = source[prop];
|
|
543
543
|
}
|
|
544
544
|
return target;
|
|
@@ -547,7 +547,7 @@
|
|
|
547
547
|
var _b = _a, { type = "error", className } = _b, props = __objRest$p(_b, ["type", "className"]);
|
|
548
548
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
549
549
|
antd.Badge,
|
|
550
|
-
__spreadProps$v(__spreadValues$
|
|
550
|
+
__spreadProps$v(__spreadValues$L({
|
|
551
551
|
className: core.cx(`badge-${type}`, className)
|
|
552
552
|
}, props), {
|
|
553
553
|
showZero: false
|
|
@@ -562,32 +562,96 @@
|
|
|
562
562
|
return false;
|
|
563
563
|
}
|
|
564
564
|
|
|
565
|
-
const Empty =
|
|
565
|
+
const Empty = (props) => {
|
|
566
|
+
const { className, style } = props;
|
|
567
|
+
return /* @__PURE__ */ React__namespace.default.createElement("span", { className, style }, "-");
|
|
568
|
+
};
|
|
566
569
|
|
|
567
|
-
|
|
570
|
+
var __defProp$K = Object.defineProperty;
|
|
571
|
+
var __getOwnPropSymbols$L = Object.getOwnPropertySymbols;
|
|
572
|
+
var __hasOwnProp$L = Object.prototype.hasOwnProperty;
|
|
573
|
+
var __propIsEnum$L = Object.prototype.propertyIsEnumerable;
|
|
574
|
+
var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
575
|
+
var __spreadValues$K = (a, b) => {
|
|
576
|
+
for (var prop in b || (b = {}))
|
|
577
|
+
if (__hasOwnProp$L.call(b, prop))
|
|
578
|
+
__defNormalProp$K(a, prop, b[prop]);
|
|
579
|
+
if (__getOwnPropSymbols$L)
|
|
580
|
+
for (var prop of __getOwnPropSymbols$L(b)) {
|
|
581
|
+
if (__propIsEnum$L.call(b, prop))
|
|
582
|
+
__defNormalProp$K(a, prop, b[prop]);
|
|
583
|
+
}
|
|
584
|
+
return a;
|
|
585
|
+
};
|
|
586
|
+
const Bit = ({
|
|
587
|
+
rawValue,
|
|
588
|
+
decimals,
|
|
589
|
+
unitClassName,
|
|
590
|
+
valueClassName,
|
|
591
|
+
emptyProps
|
|
592
|
+
}) => {
|
|
568
593
|
if (isEmpty(rawValue)) {
|
|
569
|
-
return Empty;
|
|
594
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$K({}, emptyProps));
|
|
570
595
|
}
|
|
571
596
|
const { value, unit } = formatBits(rawValue, decimals);
|
|
572
597
|
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}`));
|
|
573
598
|
};
|
|
574
599
|
|
|
600
|
+
var __defProp$J = Object.defineProperty;
|
|
601
|
+
var __getOwnPropSymbols$K = Object.getOwnPropertySymbols;
|
|
602
|
+
var __hasOwnProp$K = Object.prototype.hasOwnProperty;
|
|
603
|
+
var __propIsEnum$K = Object.prototype.propertyIsEnumerable;
|
|
604
|
+
var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
605
|
+
var __spreadValues$J = (a, b) => {
|
|
606
|
+
for (var prop in b || (b = {}))
|
|
607
|
+
if (__hasOwnProp$K.call(b, prop))
|
|
608
|
+
__defNormalProp$J(a, prop, b[prop]);
|
|
609
|
+
if (__getOwnPropSymbols$K)
|
|
610
|
+
for (var prop of __getOwnPropSymbols$K(b)) {
|
|
611
|
+
if (__propIsEnum$K.call(b, prop))
|
|
612
|
+
__defNormalProp$J(a, prop, b[prop]);
|
|
613
|
+
}
|
|
614
|
+
return a;
|
|
615
|
+
};
|
|
575
616
|
const BitPerSeconds = ({
|
|
576
617
|
rawValue,
|
|
577
618
|
decimals,
|
|
578
619
|
valueClassName,
|
|
579
|
-
unitClassName
|
|
620
|
+
unitClassName,
|
|
621
|
+
emptyProps
|
|
580
622
|
}) => {
|
|
581
623
|
if (isEmpty(rawValue)) {
|
|
582
|
-
return Empty;
|
|
624
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$J({}, emptyProps));
|
|
583
625
|
}
|
|
584
626
|
const { value, unit } = formatBitPerSecond(rawValue, decimals);
|
|
585
627
|
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}`));
|
|
586
628
|
};
|
|
587
629
|
|
|
588
|
-
|
|
630
|
+
var __defProp$I = Object.defineProperty;
|
|
631
|
+
var __getOwnPropSymbols$J = Object.getOwnPropertySymbols;
|
|
632
|
+
var __hasOwnProp$J = Object.prototype.hasOwnProperty;
|
|
633
|
+
var __propIsEnum$J = Object.prototype.propertyIsEnumerable;
|
|
634
|
+
var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
635
|
+
var __spreadValues$I = (a, b) => {
|
|
636
|
+
for (var prop in b || (b = {}))
|
|
637
|
+
if (__hasOwnProp$J.call(b, prop))
|
|
638
|
+
__defNormalProp$I(a, prop, b[prop]);
|
|
639
|
+
if (__getOwnPropSymbols$J)
|
|
640
|
+
for (var prop of __getOwnPropSymbols$J(b)) {
|
|
641
|
+
if (__propIsEnum$J.call(b, prop))
|
|
642
|
+
__defNormalProp$I(a, prop, b[prop]);
|
|
643
|
+
}
|
|
644
|
+
return a;
|
|
645
|
+
};
|
|
646
|
+
const Bps = ({
|
|
647
|
+
rawValue,
|
|
648
|
+
decimals,
|
|
649
|
+
valueClassName,
|
|
650
|
+
unitClassName,
|
|
651
|
+
emptyProps
|
|
652
|
+
}) => {
|
|
589
653
|
if (isEmpty(rawValue)) {
|
|
590
|
-
return Empty;
|
|
654
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$I({}, emptyProps));
|
|
591
655
|
}
|
|
592
656
|
const { value, unit } = formatBps(rawValue, decimals);
|
|
593
657
|
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}`));
|
|
@@ -728,28 +792,28 @@
|
|
|
728
792
|
return icon != null ? React__namespace.default.cloneElement(icon, { className }) : null;
|
|
729
793
|
};
|
|
730
794
|
|
|
731
|
-
var __defProp$
|
|
732
|
-
var __getOwnPropSymbols$
|
|
733
|
-
var __hasOwnProp$
|
|
734
|
-
var __propIsEnum$
|
|
735
|
-
var __defNormalProp$
|
|
795
|
+
var __defProp$H = Object.defineProperty;
|
|
796
|
+
var __getOwnPropSymbols$I = Object.getOwnPropertySymbols;
|
|
797
|
+
var __hasOwnProp$I = Object.prototype.hasOwnProperty;
|
|
798
|
+
var __propIsEnum$I = Object.prototype.propertyIsEnumerable;
|
|
799
|
+
var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, {
|
|
736
800
|
enumerable: true,
|
|
737
801
|
configurable: true,
|
|
738
802
|
writable: true,
|
|
739
803
|
value
|
|
740
804
|
}) : obj[key] = value;
|
|
741
|
-
var __spreadValues$
|
|
742
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
743
|
-
if (__getOwnPropSymbols$
|
|
744
|
-
if (__propIsEnum$
|
|
805
|
+
var __spreadValues$H = (a, b) => {
|
|
806
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$I.call(b, prop)) __defNormalProp$H(a, prop, b[prop]);
|
|
807
|
+
if (__getOwnPropSymbols$I) for (var prop of __getOwnPropSymbols$I(b)) {
|
|
808
|
+
if (__propIsEnum$I.call(b, prop)) __defNormalProp$H(a, prop, b[prop]);
|
|
745
809
|
}
|
|
746
810
|
return a;
|
|
747
811
|
};
|
|
748
812
|
var __objRest$o = (source, exclude) => {
|
|
749
813
|
var target = {};
|
|
750
|
-
for (var prop in source) if (__hasOwnProp$
|
|
751
|
-
if (source != null && __getOwnPropSymbols$
|
|
752
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
814
|
+
for (var prop in source) if (__hasOwnProp$I.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
815
|
+
if (source != null && __getOwnPropSymbols$I) for (var prop of __getOwnPropSymbols$I(source)) {
|
|
816
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$I.call(source, prop)) target[prop] = source[prop];
|
|
753
817
|
}
|
|
754
818
|
return target;
|
|
755
819
|
};
|
|
@@ -776,7 +840,7 @@
|
|
|
776
840
|
const [status, setStatus] = React.useState("normal");
|
|
777
841
|
const hasIcon = prefixIcon || suffixIcon;
|
|
778
842
|
const hasHoverIcon = hoverPrefixIcon || hoverSuffixIcon;
|
|
779
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Button, __spreadValues$
|
|
843
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Button, __spreadValues$H({
|
|
780
844
|
ref,
|
|
781
845
|
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}`, !children && children !== 0 && restProps.icon && "ant-btn-icon-only"),
|
|
782
846
|
type: isAntdButtonTypes(type) ? type : void 0,
|
|
@@ -806,21 +870,21 @@
|
|
|
806
870
|
}));
|
|
807
871
|
});
|
|
808
872
|
|
|
809
|
-
var __defProp$
|
|
873
|
+
var __defProp$G = Object.defineProperty;
|
|
810
874
|
var __defProps$u = Object.defineProperties;
|
|
811
875
|
var __getOwnPropDescs$u = Object.getOwnPropertyDescriptors;
|
|
812
|
-
var __getOwnPropSymbols$
|
|
813
|
-
var __hasOwnProp$
|
|
814
|
-
var __propIsEnum$
|
|
815
|
-
var __defNormalProp$
|
|
816
|
-
var __spreadValues$
|
|
876
|
+
var __getOwnPropSymbols$H = Object.getOwnPropertySymbols;
|
|
877
|
+
var __hasOwnProp$H = Object.prototype.hasOwnProperty;
|
|
878
|
+
var __propIsEnum$H = Object.prototype.propertyIsEnumerable;
|
|
879
|
+
var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
880
|
+
var __spreadValues$G = (a, b) => {
|
|
817
881
|
for (var prop in b || (b = {}))
|
|
818
|
-
if (__hasOwnProp$
|
|
819
|
-
__defNormalProp$
|
|
820
|
-
if (__getOwnPropSymbols$
|
|
821
|
-
for (var prop of __getOwnPropSymbols$
|
|
822
|
-
if (__propIsEnum$
|
|
823
|
-
__defNormalProp$
|
|
882
|
+
if (__hasOwnProp$H.call(b, prop))
|
|
883
|
+
__defNormalProp$G(a, prop, b[prop]);
|
|
884
|
+
if (__getOwnPropSymbols$H)
|
|
885
|
+
for (var prop of __getOwnPropSymbols$H(b)) {
|
|
886
|
+
if (__propIsEnum$H.call(b, prop))
|
|
887
|
+
__defNormalProp$G(a, prop, b[prop]);
|
|
824
888
|
}
|
|
825
889
|
return a;
|
|
826
890
|
};
|
|
@@ -828,11 +892,11 @@
|
|
|
828
892
|
var __objRest$n = (source, exclude) => {
|
|
829
893
|
var target = {};
|
|
830
894
|
for (var prop in source)
|
|
831
|
-
if (__hasOwnProp$
|
|
895
|
+
if (__hasOwnProp$H.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
832
896
|
target[prop] = source[prop];
|
|
833
|
-
if (source != null && __getOwnPropSymbols$
|
|
834
|
-
for (var prop of __getOwnPropSymbols$
|
|
835
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
897
|
+
if (source != null && __getOwnPropSymbols$H)
|
|
898
|
+
for (var prop of __getOwnPropSymbols$H(source)) {
|
|
899
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$H.call(source, prop))
|
|
836
900
|
target[prop] = source[prop];
|
|
837
901
|
}
|
|
838
902
|
return target;
|
|
@@ -886,10 +950,10 @@
|
|
|
886
950
|
}, [followMouse, onmousemove, uniqueContainerClass]);
|
|
887
951
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
888
952
|
antd.Tooltip,
|
|
889
|
-
__spreadProps$u(__spreadValues$
|
|
953
|
+
__spreadProps$u(__spreadValues$G({}, restProps), {
|
|
890
954
|
overlayClassName: followMouse ? cs__default.default(overlayClassName, uniquePopupClass) : overlayClassName,
|
|
891
955
|
children: _children,
|
|
892
|
-
overlayStyle: followMouse ? __spreadValues$
|
|
956
|
+
overlayStyle: followMouse ? __spreadValues$G({
|
|
893
957
|
transform: "translate(-50%, -100%)",
|
|
894
958
|
pointerEvents: "none"
|
|
895
959
|
}, overlayStyle) : overlayStyle
|
|
@@ -897,28 +961,28 @@
|
|
|
897
961
|
);
|
|
898
962
|
};
|
|
899
963
|
|
|
900
|
-
var __defProp$
|
|
901
|
-
var __getOwnPropSymbols$
|
|
902
|
-
var __hasOwnProp$
|
|
903
|
-
var __propIsEnum$
|
|
904
|
-
var __defNormalProp$
|
|
964
|
+
var __defProp$F = Object.defineProperty;
|
|
965
|
+
var __getOwnPropSymbols$G = Object.getOwnPropertySymbols;
|
|
966
|
+
var __hasOwnProp$G = Object.prototype.hasOwnProperty;
|
|
967
|
+
var __propIsEnum$G = Object.prototype.propertyIsEnumerable;
|
|
968
|
+
var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, {
|
|
905
969
|
enumerable: true,
|
|
906
970
|
configurable: true,
|
|
907
971
|
writable: true,
|
|
908
972
|
value
|
|
909
973
|
}) : obj[key] = value;
|
|
910
|
-
var __spreadValues$
|
|
911
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
912
|
-
if (__getOwnPropSymbols$
|
|
913
|
-
if (__propIsEnum$
|
|
974
|
+
var __spreadValues$F = (a, b) => {
|
|
975
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$G.call(b, prop)) __defNormalProp$F(a, prop, b[prop]);
|
|
976
|
+
if (__getOwnPropSymbols$G) for (var prop of __getOwnPropSymbols$G(b)) {
|
|
977
|
+
if (__propIsEnum$G.call(b, prop)) __defNormalProp$F(a, prop, b[prop]);
|
|
914
978
|
}
|
|
915
979
|
return a;
|
|
916
980
|
};
|
|
917
981
|
var __objRest$m = (source, exclude) => {
|
|
918
982
|
var target = {};
|
|
919
|
-
for (var prop in source) if (__hasOwnProp$
|
|
920
|
-
if (source != null && __getOwnPropSymbols$
|
|
921
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
983
|
+
for (var prop in source) if (__hasOwnProp$G.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
984
|
+
if (source != null && __getOwnPropSymbols$G) for (var prop of __getOwnPropSymbols$G(source)) {
|
|
985
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$G.call(source, prop)) target[prop] = source[prop];
|
|
922
986
|
}
|
|
923
987
|
return target;
|
|
924
988
|
};
|
|
@@ -962,7 +1026,7 @@
|
|
|
962
1026
|
style: {
|
|
963
1027
|
cursor: "not-allowed"
|
|
964
1028
|
}
|
|
965
|
-
}, /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$
|
|
1029
|
+
}, /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$F({
|
|
966
1030
|
style: {
|
|
967
1031
|
pointerEvents: "none"
|
|
968
1032
|
},
|
|
@@ -972,7 +1036,7 @@
|
|
|
972
1036
|
ghost,
|
|
973
1037
|
className: core.cx(ButtonStyle, className2),
|
|
974
1038
|
prefixIcon: icon
|
|
975
|
-
}, buttonPropArgs))) : /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$
|
|
1039
|
+
}, buttonPropArgs))) : /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$F({
|
|
976
1040
|
type,
|
|
977
1041
|
size,
|
|
978
1042
|
danger,
|
|
@@ -981,7 +1045,7 @@
|
|
|
981
1045
|
prefixIcon: icon
|
|
982
1046
|
}, buttonPropArgs)));
|
|
983
1047
|
}
|
|
984
|
-
return /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$
|
|
1048
|
+
return /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$F({
|
|
985
1049
|
key: key || index,
|
|
986
1050
|
type,
|
|
987
1051
|
size,
|
|
@@ -995,16 +1059,33 @@
|
|
|
995
1059
|
}));
|
|
996
1060
|
});
|
|
997
1061
|
|
|
1062
|
+
var __defProp$E = Object.defineProperty;
|
|
1063
|
+
var __getOwnPropSymbols$F = Object.getOwnPropertySymbols;
|
|
1064
|
+
var __hasOwnProp$F = Object.prototype.hasOwnProperty;
|
|
1065
|
+
var __propIsEnum$F = Object.prototype.propertyIsEnumerable;
|
|
1066
|
+
var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1067
|
+
var __spreadValues$E = (a, b) => {
|
|
1068
|
+
for (var prop in b || (b = {}))
|
|
1069
|
+
if (__hasOwnProp$F.call(b, prop))
|
|
1070
|
+
__defNormalProp$E(a, prop, b[prop]);
|
|
1071
|
+
if (__getOwnPropSymbols$F)
|
|
1072
|
+
for (var prop of __getOwnPropSymbols$F(b)) {
|
|
1073
|
+
if (__propIsEnum$F.call(b, prop))
|
|
1074
|
+
__defNormalProp$E(a, prop, b[prop]);
|
|
1075
|
+
}
|
|
1076
|
+
return a;
|
|
1077
|
+
};
|
|
998
1078
|
const Byte = ({
|
|
999
1079
|
rawValue,
|
|
1000
1080
|
noUnitOnZero,
|
|
1001
1081
|
decimals,
|
|
1002
1082
|
valueClassName,
|
|
1003
|
-
unitClassName
|
|
1083
|
+
unitClassName,
|
|
1084
|
+
emptyProps
|
|
1004
1085
|
}) => {
|
|
1005
1086
|
const { t } = useParrotTranslation();
|
|
1006
1087
|
if (isEmpty(rawValue)) {
|
|
1007
|
-
return Empty;
|
|
1088
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$E({}, emptyProps));
|
|
1008
1089
|
}
|
|
1009
1090
|
if (rawValue === -1) {
|
|
1010
1091
|
return /* @__PURE__ */ React__namespace.default.createElement("span", null, t("common.calculation"));
|
|
@@ -1016,31 +1097,31 @@
|
|
|
1016
1097
|
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}`));
|
|
1017
1098
|
};
|
|
1018
1099
|
|
|
1019
|
-
var __defProp$
|
|
1100
|
+
var __defProp$D = Object.defineProperty;
|
|
1020
1101
|
var __defProps$t = Object.defineProperties;
|
|
1021
1102
|
var __getOwnPropDescs$t = Object.getOwnPropertyDescriptors;
|
|
1022
|
-
var __getOwnPropSymbols$
|
|
1023
|
-
var __hasOwnProp$
|
|
1024
|
-
var __propIsEnum$
|
|
1025
|
-
var __defNormalProp$
|
|
1103
|
+
var __getOwnPropSymbols$E = Object.getOwnPropertySymbols;
|
|
1104
|
+
var __hasOwnProp$E = Object.prototype.hasOwnProperty;
|
|
1105
|
+
var __propIsEnum$E = Object.prototype.propertyIsEnumerable;
|
|
1106
|
+
var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, {
|
|
1026
1107
|
enumerable: true,
|
|
1027
1108
|
configurable: true,
|
|
1028
1109
|
writable: true,
|
|
1029
1110
|
value
|
|
1030
1111
|
}) : obj[key] = value;
|
|
1031
|
-
var __spreadValues$
|
|
1032
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1033
|
-
if (__getOwnPropSymbols$
|
|
1034
|
-
if (__propIsEnum$
|
|
1112
|
+
var __spreadValues$D = (a, b) => {
|
|
1113
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$E.call(b, prop)) __defNormalProp$D(a, prop, b[prop]);
|
|
1114
|
+
if (__getOwnPropSymbols$E) for (var prop of __getOwnPropSymbols$E(b)) {
|
|
1115
|
+
if (__propIsEnum$E.call(b, prop)) __defNormalProp$D(a, prop, b[prop]);
|
|
1035
1116
|
}
|
|
1036
1117
|
return a;
|
|
1037
1118
|
};
|
|
1038
1119
|
var __spreadProps$t = (a, b) => __defProps$t(a, __getOwnPropDescs$t(b));
|
|
1039
1120
|
var __objRest$l = (source, exclude) => {
|
|
1040
1121
|
var target = {};
|
|
1041
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1042
|
-
if (source != null && __getOwnPropSymbols$
|
|
1043
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1122
|
+
for (var prop in source) if (__hasOwnProp$E.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1123
|
+
if (source != null && __getOwnPropSymbols$E) for (var prop of __getOwnPropSymbols$E(source)) {
|
|
1124
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$E.call(source, prop)) target[prop] = source[prop];
|
|
1044
1125
|
}
|
|
1045
1126
|
return target;
|
|
1046
1127
|
};
|
|
@@ -1054,7 +1135,7 @@
|
|
|
1054
1135
|
compact
|
|
1055
1136
|
} = _b,
|
|
1056
1137
|
props = __objRest$l(_b, ["className", "children", "description", "compact"]);
|
|
1057
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Checkbox, __spreadProps$t(__spreadValues$
|
|
1138
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Checkbox, __spreadProps$t(__spreadValues$D({}, props), {
|
|
1058
1139
|
"data-test": props["data-test"] || props.value,
|
|
1059
1140
|
className: cs__default.default(className, CheckboxStyle, compact && "compact")
|
|
1060
1141
|
}), children ? /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
@@ -1064,30 +1145,30 @@
|
|
|
1064
1145
|
}, description) : null) : null);
|
|
1065
1146
|
};
|
|
1066
1147
|
|
|
1067
|
-
var __defProp$
|
|
1068
|
-
var __getOwnPropSymbols$
|
|
1069
|
-
var __hasOwnProp$
|
|
1070
|
-
var __propIsEnum$
|
|
1071
|
-
var __defNormalProp$
|
|
1072
|
-
var __spreadValues$
|
|
1148
|
+
var __defProp$C = Object.defineProperty;
|
|
1149
|
+
var __getOwnPropSymbols$D = Object.getOwnPropertySymbols;
|
|
1150
|
+
var __hasOwnProp$D = Object.prototype.hasOwnProperty;
|
|
1151
|
+
var __propIsEnum$D = Object.prototype.propertyIsEnumerable;
|
|
1152
|
+
var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1153
|
+
var __spreadValues$C = (a, b) => {
|
|
1073
1154
|
for (var prop in b || (b = {}))
|
|
1074
|
-
if (__hasOwnProp$
|
|
1075
|
-
__defNormalProp$
|
|
1076
|
-
if (__getOwnPropSymbols$
|
|
1077
|
-
for (var prop of __getOwnPropSymbols$
|
|
1078
|
-
if (__propIsEnum$
|
|
1079
|
-
__defNormalProp$
|
|
1155
|
+
if (__hasOwnProp$D.call(b, prop))
|
|
1156
|
+
__defNormalProp$C(a, prop, b[prop]);
|
|
1157
|
+
if (__getOwnPropSymbols$D)
|
|
1158
|
+
for (var prop of __getOwnPropSymbols$D(b)) {
|
|
1159
|
+
if (__propIsEnum$D.call(b, prop))
|
|
1160
|
+
__defNormalProp$C(a, prop, b[prop]);
|
|
1080
1161
|
}
|
|
1081
1162
|
return a;
|
|
1082
1163
|
};
|
|
1083
1164
|
var __objRest$k = (source, exclude) => {
|
|
1084
1165
|
var target = {};
|
|
1085
1166
|
for (var prop in source)
|
|
1086
|
-
if (__hasOwnProp$
|
|
1167
|
+
if (__hasOwnProp$D.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1087
1168
|
target[prop] = source[prop];
|
|
1088
|
-
if (source != null && __getOwnPropSymbols$
|
|
1089
|
-
for (var prop of __getOwnPropSymbols$
|
|
1090
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1169
|
+
if (source != null && __getOwnPropSymbols$D)
|
|
1170
|
+
for (var prop of __getOwnPropSymbols$D(source)) {
|
|
1171
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$D.call(source, prop))
|
|
1091
1172
|
target[prop] = source[prop];
|
|
1092
1173
|
}
|
|
1093
1174
|
return target;
|
|
@@ -1096,7 +1177,7 @@
|
|
|
1096
1177
|
var _b = _a, { input, children } = _b, props = __objRest$k(_b, ["input", "children"]);
|
|
1097
1178
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
1098
1179
|
Checkbox,
|
|
1099
|
-
__spreadValues$
|
|
1180
|
+
__spreadValues$C({
|
|
1100
1181
|
checked: Boolean(input.value),
|
|
1101
1182
|
onChange: (e) => input.onChange(e.target.checked)
|
|
1102
1183
|
}, props),
|
|
@@ -1121,17 +1202,17 @@
|
|
|
1121
1202
|
}
|
|
1122
1203
|
));
|
|
1123
1204
|
|
|
1124
|
-
var __getOwnPropSymbols$
|
|
1125
|
-
var __hasOwnProp$
|
|
1126
|
-
var __propIsEnum$
|
|
1205
|
+
var __getOwnPropSymbols$C = Object.getOwnPropertySymbols;
|
|
1206
|
+
var __hasOwnProp$C = Object.prototype.hasOwnProperty;
|
|
1207
|
+
var __propIsEnum$C = Object.prototype.propertyIsEnumerable;
|
|
1127
1208
|
var __objRest$j = (source, exclude) => {
|
|
1128
1209
|
var target = {};
|
|
1129
1210
|
for (var prop in source)
|
|
1130
|
-
if (__hasOwnProp$
|
|
1211
|
+
if (__hasOwnProp$C.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1131
1212
|
target[prop] = source[prop];
|
|
1132
|
-
if (source != null && __getOwnPropSymbols$
|
|
1133
|
-
for (var prop of __getOwnPropSymbols$
|
|
1134
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1213
|
+
if (source != null && __getOwnPropSymbols$C)
|
|
1214
|
+
for (var prop of __getOwnPropSymbols$C(source)) {
|
|
1215
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$C.call(source, prop))
|
|
1135
1216
|
target[prop] = source[prop];
|
|
1136
1217
|
}
|
|
1137
1218
|
return target;
|
|
@@ -1176,53 +1257,53 @@
|
|
|
1176
1257
|
const InputStyle = "ipd9bk";
|
|
1177
1258
|
const KitInputStyle = "kypn5o5";
|
|
1178
1259
|
|
|
1179
|
-
var __defProp$
|
|
1180
|
-
var __getOwnPropSymbols$
|
|
1181
|
-
var __hasOwnProp$
|
|
1182
|
-
var __propIsEnum$
|
|
1183
|
-
var __defNormalProp$
|
|
1184
|
-
var __spreadValues$
|
|
1260
|
+
var __defProp$B = Object.defineProperty;
|
|
1261
|
+
var __getOwnPropSymbols$B = Object.getOwnPropertySymbols;
|
|
1262
|
+
var __hasOwnProp$B = Object.prototype.hasOwnProperty;
|
|
1263
|
+
var __propIsEnum$B = Object.prototype.propertyIsEnumerable;
|
|
1264
|
+
var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1265
|
+
var __spreadValues$B = (a, b) => {
|
|
1185
1266
|
for (var prop in b || (b = {}))
|
|
1186
|
-
if (__hasOwnProp$
|
|
1187
|
-
__defNormalProp$
|
|
1188
|
-
if (__getOwnPropSymbols$
|
|
1189
|
-
for (var prop of __getOwnPropSymbols$
|
|
1190
|
-
if (__propIsEnum$
|
|
1191
|
-
__defNormalProp$
|
|
1267
|
+
if (__hasOwnProp$B.call(b, prop))
|
|
1268
|
+
__defNormalProp$B(a, prop, b[prop]);
|
|
1269
|
+
if (__getOwnPropSymbols$B)
|
|
1270
|
+
for (var prop of __getOwnPropSymbols$B(b)) {
|
|
1271
|
+
if (__propIsEnum$B.call(b, prop))
|
|
1272
|
+
__defNormalProp$B(a, prop, b[prop]);
|
|
1192
1273
|
}
|
|
1193
1274
|
return a;
|
|
1194
1275
|
};
|
|
1195
1276
|
const Loading = ({ fullView = true }) => {
|
|
1196
1277
|
const Wrapper = fullView ? FullView : React.Fragment;
|
|
1197
1278
|
const props = fullView ? { className: "loading-full-view" } : {};
|
|
1198
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Wrapper, __spreadValues$
|
|
1279
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Wrapper, __spreadValues$B({}, props), /* @__PURE__ */ React__namespace.default.createElement("div", { className: "loading" }, /* @__PURE__ */ React__namespace.default.createElement("div", { className: "loading__sugar" }), /* @__PURE__ */ React__namespace.default.createElement("div", { className: "loading__sugar" }), /* @__PURE__ */ React__namespace.default.createElement("div", { className: "loading__sugar" }), /* @__PURE__ */ React__namespace.default.createElement("div", { className: "loading__sugar" }), /* @__PURE__ */ React__namespace.default.createElement("div", { className: "loading__sugar" }), /* @__PURE__ */ React__namespace.default.createElement("div", { className: "loading__sugar" }), /* @__PURE__ */ React__namespace.default.createElement("div", { className: "loading__sugar" })));
|
|
1199
1280
|
};
|
|
1200
1281
|
|
|
1201
|
-
var __defProp$
|
|
1282
|
+
var __defProp$A = Object.defineProperty;
|
|
1202
1283
|
var __defProps$s = Object.defineProperties;
|
|
1203
1284
|
var __getOwnPropDescs$s = Object.getOwnPropertyDescriptors;
|
|
1204
|
-
var __getOwnPropSymbols$
|
|
1205
|
-
var __hasOwnProp$
|
|
1206
|
-
var __propIsEnum$
|
|
1207
|
-
var __defNormalProp$
|
|
1285
|
+
var __getOwnPropSymbols$A = Object.getOwnPropertySymbols;
|
|
1286
|
+
var __hasOwnProp$A = Object.prototype.hasOwnProperty;
|
|
1287
|
+
var __propIsEnum$A = Object.prototype.propertyIsEnumerable;
|
|
1288
|
+
var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, {
|
|
1208
1289
|
enumerable: true,
|
|
1209
1290
|
configurable: true,
|
|
1210
1291
|
writable: true,
|
|
1211
1292
|
value
|
|
1212
1293
|
}) : obj[key] = value;
|
|
1213
|
-
var __spreadValues$
|
|
1214
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1215
|
-
if (__getOwnPropSymbols$
|
|
1216
|
-
if (__propIsEnum$
|
|
1294
|
+
var __spreadValues$A = (a, b) => {
|
|
1295
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$A.call(b, prop)) __defNormalProp$A(a, prop, b[prop]);
|
|
1296
|
+
if (__getOwnPropSymbols$A) for (var prop of __getOwnPropSymbols$A(b)) {
|
|
1297
|
+
if (__propIsEnum$A.call(b, prop)) __defNormalProp$A(a, prop, b[prop]);
|
|
1217
1298
|
}
|
|
1218
1299
|
return a;
|
|
1219
1300
|
};
|
|
1220
1301
|
var __spreadProps$s = (a, b) => __defProps$s(a, __getOwnPropDescs$s(b));
|
|
1221
1302
|
var __objRest$i = (source, exclude) => {
|
|
1222
1303
|
var target = {};
|
|
1223
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1224
|
-
if (source != null && __getOwnPropSymbols$
|
|
1225
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1304
|
+
for (var prop in source) if (__hasOwnProp$A.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1305
|
+
if (source != null && __getOwnPropSymbols$A) for (var prop of __getOwnPropSymbols$A(source)) {
|
|
1306
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$A.call(source, prop)) target[prop] = source[prop];
|
|
1226
1307
|
}
|
|
1227
1308
|
return target;
|
|
1228
1309
|
};
|
|
@@ -1276,7 +1357,7 @@
|
|
|
1276
1357
|
inputDom && (placeholder || item) && inputDom.setAttribute("data-test", String(placeholder || item.textContent));
|
|
1277
1358
|
}
|
|
1278
1359
|
}, [selectRef, placeholder]);
|
|
1279
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Select, __spreadValues$
|
|
1360
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Select, __spreadValues$A(__spreadProps$s(__spreadValues$A({}, input), {
|
|
1280
1361
|
ref: selectRef,
|
|
1281
1362
|
size,
|
|
1282
1363
|
value: multiple ? input.value || [] : input.value || void 0,
|
|
@@ -1316,38 +1397,38 @@
|
|
|
1316
1397
|
loading,
|
|
1317
1398
|
placeholder
|
|
1318
1399
|
}), restProps), React__namespace.default.Children.map(children, child => {
|
|
1319
|
-
return reactIs.isElement(child) ? __spreadProps$s(__spreadValues$
|
|
1320
|
-
props: __spreadProps$s(__spreadValues$
|
|
1400
|
+
return reactIs.isElement(child) ? __spreadProps$s(__spreadValues$A({}, child), {
|
|
1401
|
+
props: __spreadProps$s(__spreadValues$A({}, child.props), {
|
|
1321
1402
|
"data-test": child.props.value
|
|
1322
1403
|
})
|
|
1323
1404
|
}) : child;
|
|
1324
1405
|
}));
|
|
1325
1406
|
};
|
|
1326
1407
|
|
|
1327
|
-
var __defProp$
|
|
1328
|
-
var __getOwnPropSymbols$
|
|
1329
|
-
var __hasOwnProp$
|
|
1330
|
-
var __propIsEnum$
|
|
1331
|
-
var __defNormalProp$
|
|
1332
|
-
var __spreadValues$
|
|
1408
|
+
var __defProp$z = Object.defineProperty;
|
|
1409
|
+
var __getOwnPropSymbols$z = Object.getOwnPropertySymbols;
|
|
1410
|
+
var __hasOwnProp$z = Object.prototype.hasOwnProperty;
|
|
1411
|
+
var __propIsEnum$z = Object.prototype.propertyIsEnumerable;
|
|
1412
|
+
var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1413
|
+
var __spreadValues$z = (a, b) => {
|
|
1333
1414
|
for (var prop in b || (b = {}))
|
|
1334
|
-
if (__hasOwnProp$
|
|
1335
|
-
__defNormalProp$
|
|
1336
|
-
if (__getOwnPropSymbols$
|
|
1337
|
-
for (var prop of __getOwnPropSymbols$
|
|
1338
|
-
if (__propIsEnum$
|
|
1339
|
-
__defNormalProp$
|
|
1415
|
+
if (__hasOwnProp$z.call(b, prop))
|
|
1416
|
+
__defNormalProp$z(a, prop, b[prop]);
|
|
1417
|
+
if (__getOwnPropSymbols$z)
|
|
1418
|
+
for (var prop of __getOwnPropSymbols$z(b)) {
|
|
1419
|
+
if (__propIsEnum$z.call(b, prop))
|
|
1420
|
+
__defNormalProp$z(a, prop, b[prop]);
|
|
1340
1421
|
}
|
|
1341
1422
|
return a;
|
|
1342
1423
|
};
|
|
1343
1424
|
var __objRest$h = (source, exclude) => {
|
|
1344
1425
|
var target = {};
|
|
1345
1426
|
for (var prop in source)
|
|
1346
|
-
if (__hasOwnProp$
|
|
1427
|
+
if (__hasOwnProp$z.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1347
1428
|
target[prop] = source[prop];
|
|
1348
|
-
if (source != null && __getOwnPropSymbols$
|
|
1349
|
-
for (var prop of __getOwnPropSymbols$
|
|
1350
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1429
|
+
if (source != null && __getOwnPropSymbols$z)
|
|
1430
|
+
for (var prop of __getOwnPropSymbols$z(source)) {
|
|
1431
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$z.call(source, prop))
|
|
1351
1432
|
target[prop] = source[prop];
|
|
1352
1433
|
}
|
|
1353
1434
|
return target;
|
|
@@ -1362,7 +1443,7 @@
|
|
|
1362
1443
|
"enumValues",
|
|
1363
1444
|
"emptyLabel"
|
|
1364
1445
|
]);
|
|
1365
|
-
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(Select, __spreadValues$
|
|
1446
|
+
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(Select, __spreadValues$z({}, restProps), emptyLabel && /* @__PURE__ */ React__namespace.default.createElement(antd.Select.Option, { value: "" }, emptyLabel), enumValues.map((v) => {
|
|
1366
1447
|
const item = typeof v === "string" ? { value: v, text: v } : v;
|
|
1367
1448
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
1368
1449
|
antd.Select.Option,
|
|
@@ -1376,31 +1457,31 @@
|
|
|
1376
1457
|
})));
|
|
1377
1458
|
};
|
|
1378
1459
|
|
|
1379
|
-
var __defProp$
|
|
1460
|
+
var __defProp$y = Object.defineProperty;
|
|
1380
1461
|
var __defProps$r = Object.defineProperties;
|
|
1381
1462
|
var __getOwnPropDescs$r = Object.getOwnPropertyDescriptors;
|
|
1382
|
-
var __getOwnPropSymbols$
|
|
1383
|
-
var __hasOwnProp$
|
|
1384
|
-
var __propIsEnum$
|
|
1385
|
-
var __defNormalProp$
|
|
1463
|
+
var __getOwnPropSymbols$y = Object.getOwnPropertySymbols;
|
|
1464
|
+
var __hasOwnProp$y = Object.prototype.hasOwnProperty;
|
|
1465
|
+
var __propIsEnum$y = Object.prototype.propertyIsEnumerable;
|
|
1466
|
+
var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, {
|
|
1386
1467
|
enumerable: true,
|
|
1387
1468
|
configurable: true,
|
|
1388
1469
|
writable: true,
|
|
1389
1470
|
value
|
|
1390
1471
|
}) : obj[key] = value;
|
|
1391
|
-
var __spreadValues$
|
|
1392
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1393
|
-
if (__getOwnPropSymbols$
|
|
1394
|
-
if (__propIsEnum$
|
|
1472
|
+
var __spreadValues$y = (a, b) => {
|
|
1473
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$y.call(b, prop)) __defNormalProp$y(a, prop, b[prop]);
|
|
1474
|
+
if (__getOwnPropSymbols$y) for (var prop of __getOwnPropSymbols$y(b)) {
|
|
1475
|
+
if (__propIsEnum$y.call(b, prop)) __defNormalProp$y(a, prop, b[prop]);
|
|
1395
1476
|
}
|
|
1396
1477
|
return a;
|
|
1397
1478
|
};
|
|
1398
1479
|
var __spreadProps$r = (a, b) => __defProps$r(a, __getOwnPropDescs$r(b));
|
|
1399
1480
|
var __objRest$g = (source, exclude) => {
|
|
1400
1481
|
var target = {};
|
|
1401
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1402
|
-
if (source != null && __getOwnPropSymbols$
|
|
1403
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1482
|
+
for (var prop in source) if (__hasOwnProp$y.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1483
|
+
if (source != null && __getOwnPropSymbols$y) for (var prop of __getOwnPropSymbols$y(source)) {
|
|
1484
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$y.call(source, prop)) target[prop] = source[prop];
|
|
1404
1485
|
}
|
|
1405
1486
|
return target;
|
|
1406
1487
|
};
|
|
@@ -1442,7 +1523,7 @@
|
|
|
1442
1523
|
middle: Typo.Label.l3_regular,
|
|
1443
1524
|
small: Typo.Label.l4_regular
|
|
1444
1525
|
}[size];
|
|
1445
|
-
return /* @__PURE__ */React__namespace.default.createElement(AntdInputNumberStyled, __spreadProps$r(__spreadValues$
|
|
1526
|
+
return /* @__PURE__ */React__namespace.default.createElement(AntdInputNumberStyled, __spreadProps$r(__spreadValues$y({}, props), {
|
|
1446
1527
|
size,
|
|
1447
1528
|
controls,
|
|
1448
1529
|
"data-test": props.name,
|
|
@@ -1452,21 +1533,21 @@
|
|
|
1452
1533
|
}));
|
|
1453
1534
|
};
|
|
1454
1535
|
|
|
1455
|
-
var __defProp$
|
|
1536
|
+
var __defProp$x = Object.defineProperty;
|
|
1456
1537
|
var __defProps$q = Object.defineProperties;
|
|
1457
1538
|
var __getOwnPropDescs$q = Object.getOwnPropertyDescriptors;
|
|
1458
|
-
var __getOwnPropSymbols$
|
|
1459
|
-
var __hasOwnProp$
|
|
1460
|
-
var __propIsEnum$
|
|
1461
|
-
var __defNormalProp$
|
|
1462
|
-
var __spreadValues$
|
|
1539
|
+
var __getOwnPropSymbols$x = Object.getOwnPropertySymbols;
|
|
1540
|
+
var __hasOwnProp$x = Object.prototype.hasOwnProperty;
|
|
1541
|
+
var __propIsEnum$x = Object.prototype.propertyIsEnumerable;
|
|
1542
|
+
var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1543
|
+
var __spreadValues$x = (a, b) => {
|
|
1463
1544
|
for (var prop in b || (b = {}))
|
|
1464
|
-
if (__hasOwnProp$
|
|
1465
|
-
__defNormalProp$
|
|
1466
|
-
if (__getOwnPropSymbols$
|
|
1467
|
-
for (var prop of __getOwnPropSymbols$
|
|
1468
|
-
if (__propIsEnum$
|
|
1469
|
-
__defNormalProp$
|
|
1545
|
+
if (__hasOwnProp$x.call(b, prop))
|
|
1546
|
+
__defNormalProp$x(a, prop, b[prop]);
|
|
1547
|
+
if (__getOwnPropSymbols$x)
|
|
1548
|
+
for (var prop of __getOwnPropSymbols$x(b)) {
|
|
1549
|
+
if (__propIsEnum$x.call(b, prop))
|
|
1550
|
+
__defNormalProp$x(a, prop, b[prop]);
|
|
1470
1551
|
}
|
|
1471
1552
|
return a;
|
|
1472
1553
|
};
|
|
@@ -1474,11 +1555,11 @@
|
|
|
1474
1555
|
var __objRest$f = (source, exclude) => {
|
|
1475
1556
|
var target = {};
|
|
1476
1557
|
for (var prop in source)
|
|
1477
|
-
if (__hasOwnProp$
|
|
1558
|
+
if (__hasOwnProp$x.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1478
1559
|
target[prop] = source[prop];
|
|
1479
|
-
if (source != null && __getOwnPropSymbols$
|
|
1480
|
-
for (var prop of __getOwnPropSymbols$
|
|
1481
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1560
|
+
if (source != null && __getOwnPropSymbols$x)
|
|
1561
|
+
for (var prop of __getOwnPropSymbols$x(source)) {
|
|
1562
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$x.call(source, prop))
|
|
1482
1563
|
target[prop] = source[prop];
|
|
1483
1564
|
}
|
|
1484
1565
|
return target;
|
|
@@ -1497,7 +1578,7 @@
|
|
|
1497
1578
|
]);
|
|
1498
1579
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
1499
1580
|
InputNumber,
|
|
1500
|
-
__spreadValues$
|
|
1581
|
+
__spreadValues$x(__spreadProps$q(__spreadValues$x({}, input), {
|
|
1501
1582
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
1502
1583
|
autoComplete,
|
|
1503
1584
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
@@ -1505,21 +1586,21 @@
|
|
|
1505
1586
|
));
|
|
1506
1587
|
};
|
|
1507
1588
|
|
|
1508
|
-
var __defProp$
|
|
1589
|
+
var __defProp$w = Object.defineProperty;
|
|
1509
1590
|
var __defProps$p = Object.defineProperties;
|
|
1510
1591
|
var __getOwnPropDescs$p = Object.getOwnPropertyDescriptors;
|
|
1511
|
-
var __getOwnPropSymbols$
|
|
1512
|
-
var __hasOwnProp$
|
|
1513
|
-
var __propIsEnum$
|
|
1514
|
-
var __defNormalProp$
|
|
1515
|
-
var __spreadValues$
|
|
1592
|
+
var __getOwnPropSymbols$w = Object.getOwnPropertySymbols;
|
|
1593
|
+
var __hasOwnProp$w = Object.prototype.hasOwnProperty;
|
|
1594
|
+
var __propIsEnum$w = Object.prototype.propertyIsEnumerable;
|
|
1595
|
+
var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1596
|
+
var __spreadValues$w = (a, b) => {
|
|
1516
1597
|
for (var prop in b || (b = {}))
|
|
1517
|
-
if (__hasOwnProp$
|
|
1518
|
-
__defNormalProp$
|
|
1519
|
-
if (__getOwnPropSymbols$
|
|
1520
|
-
for (var prop of __getOwnPropSymbols$
|
|
1521
|
-
if (__propIsEnum$
|
|
1522
|
-
__defNormalProp$
|
|
1598
|
+
if (__hasOwnProp$w.call(b, prop))
|
|
1599
|
+
__defNormalProp$w(a, prop, b[prop]);
|
|
1600
|
+
if (__getOwnPropSymbols$w)
|
|
1601
|
+
for (var prop of __getOwnPropSymbols$w(b)) {
|
|
1602
|
+
if (__propIsEnum$w.call(b, prop))
|
|
1603
|
+
__defNormalProp$w(a, prop, b[prop]);
|
|
1523
1604
|
}
|
|
1524
1605
|
return a;
|
|
1525
1606
|
};
|
|
@@ -1527,11 +1608,11 @@
|
|
|
1527
1608
|
var __objRest$e = (source, exclude) => {
|
|
1528
1609
|
var target = {};
|
|
1529
1610
|
for (var prop in source)
|
|
1530
|
-
if (__hasOwnProp$
|
|
1611
|
+
if (__hasOwnProp$w.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1531
1612
|
target[prop] = source[prop];
|
|
1532
|
-
if (source != null && __getOwnPropSymbols$
|
|
1533
|
-
for (var prop of __getOwnPropSymbols$
|
|
1534
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1613
|
+
if (source != null && __getOwnPropSymbols$w)
|
|
1614
|
+
for (var prop of __getOwnPropSymbols$w(source)) {
|
|
1615
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$w.call(source, prop))
|
|
1535
1616
|
target[prop] = source[prop];
|
|
1536
1617
|
}
|
|
1537
1618
|
return target;
|
|
@@ -1553,7 +1634,7 @@
|
|
|
1553
1634
|
}[size];
|
|
1554
1635
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
1555
1636
|
antd.Input,
|
|
1556
|
-
__spreadProps$p(__spreadValues$
|
|
1637
|
+
__spreadProps$p(__spreadValues$w({}, props), {
|
|
1557
1638
|
size,
|
|
1558
1639
|
"data-test": props.name,
|
|
1559
1640
|
className: cs__default.default(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -1561,21 +1642,21 @@
|
|
|
1561
1642
|
);
|
|
1562
1643
|
};
|
|
1563
1644
|
|
|
1564
|
-
var __defProp$
|
|
1645
|
+
var __defProp$v = Object.defineProperty;
|
|
1565
1646
|
var __defProps$o = Object.defineProperties;
|
|
1566
1647
|
var __getOwnPropDescs$o = Object.getOwnPropertyDescriptors;
|
|
1567
|
-
var __getOwnPropSymbols$
|
|
1568
|
-
var __hasOwnProp$
|
|
1569
|
-
var __propIsEnum$
|
|
1570
|
-
var __defNormalProp$
|
|
1571
|
-
var __spreadValues$
|
|
1648
|
+
var __getOwnPropSymbols$v = Object.getOwnPropertySymbols;
|
|
1649
|
+
var __hasOwnProp$v = Object.prototype.hasOwnProperty;
|
|
1650
|
+
var __propIsEnum$v = Object.prototype.propertyIsEnumerable;
|
|
1651
|
+
var __defNormalProp$v = (obj, key, value) => key in obj ? __defProp$v(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1652
|
+
var __spreadValues$v = (a, b) => {
|
|
1572
1653
|
for (var prop in b || (b = {}))
|
|
1573
|
-
if (__hasOwnProp$
|
|
1574
|
-
__defNormalProp$
|
|
1575
|
-
if (__getOwnPropSymbols$
|
|
1576
|
-
for (var prop of __getOwnPropSymbols$
|
|
1577
|
-
if (__propIsEnum$
|
|
1578
|
-
__defNormalProp$
|
|
1654
|
+
if (__hasOwnProp$v.call(b, prop))
|
|
1655
|
+
__defNormalProp$v(a, prop, b[prop]);
|
|
1656
|
+
if (__getOwnPropSymbols$v)
|
|
1657
|
+
for (var prop of __getOwnPropSymbols$v(b)) {
|
|
1658
|
+
if (__propIsEnum$v.call(b, prop))
|
|
1659
|
+
__defNormalProp$v(a, prop, b[prop]);
|
|
1579
1660
|
}
|
|
1580
1661
|
return a;
|
|
1581
1662
|
};
|
|
@@ -1583,11 +1664,11 @@
|
|
|
1583
1664
|
var __objRest$d = (source, exclude) => {
|
|
1584
1665
|
var target = {};
|
|
1585
1666
|
for (var prop in source)
|
|
1586
|
-
if (__hasOwnProp$
|
|
1667
|
+
if (__hasOwnProp$v.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1587
1668
|
target[prop] = source[prop];
|
|
1588
|
-
if (source != null && __getOwnPropSymbols$
|
|
1589
|
-
for (var prop of __getOwnPropSymbols$
|
|
1590
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1669
|
+
if (source != null && __getOwnPropSymbols$v)
|
|
1670
|
+
for (var prop of __getOwnPropSymbols$v(source)) {
|
|
1671
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$v.call(source, prop))
|
|
1591
1672
|
target[prop] = source[prop];
|
|
1592
1673
|
}
|
|
1593
1674
|
return target;
|
|
@@ -1608,7 +1689,7 @@
|
|
|
1608
1689
|
]);
|
|
1609
1690
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
1610
1691
|
Input,
|
|
1611
|
-
__spreadValues$
|
|
1692
|
+
__spreadValues$v(__spreadProps$o(__spreadValues$v({}, input), {
|
|
1612
1693
|
onChange: (e) => {
|
|
1613
1694
|
const value = e.currentTarget.value;
|
|
1614
1695
|
if (supportNegativeValue) {
|
|
@@ -1643,31 +1724,31 @@
|
|
|
1643
1724
|
}
|
|
1644
1725
|
};
|
|
1645
1726
|
|
|
1646
|
-
var __defProp$
|
|
1727
|
+
var __defProp$u = Object.defineProperty;
|
|
1647
1728
|
var __defProps$n = Object.defineProperties;
|
|
1648
1729
|
var __getOwnPropDescs$n = Object.getOwnPropertyDescriptors;
|
|
1649
|
-
var __getOwnPropSymbols$
|
|
1650
|
-
var __hasOwnProp$
|
|
1651
|
-
var __propIsEnum$
|
|
1652
|
-
var __defNormalProp$
|
|
1730
|
+
var __getOwnPropSymbols$u = Object.getOwnPropertySymbols;
|
|
1731
|
+
var __hasOwnProp$u = Object.prototype.hasOwnProperty;
|
|
1732
|
+
var __propIsEnum$u = Object.prototype.propertyIsEnumerable;
|
|
1733
|
+
var __defNormalProp$u = (obj, key, value) => key in obj ? __defProp$u(obj, key, {
|
|
1653
1734
|
enumerable: true,
|
|
1654
1735
|
configurable: true,
|
|
1655
1736
|
writable: true,
|
|
1656
1737
|
value
|
|
1657
1738
|
}) : obj[key] = value;
|
|
1658
|
-
var __spreadValues$
|
|
1659
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1660
|
-
if (__getOwnPropSymbols$
|
|
1661
|
-
if (__propIsEnum$
|
|
1739
|
+
var __spreadValues$u = (a, b) => {
|
|
1740
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$u.call(b, prop)) __defNormalProp$u(a, prop, b[prop]);
|
|
1741
|
+
if (__getOwnPropSymbols$u) for (var prop of __getOwnPropSymbols$u(b)) {
|
|
1742
|
+
if (__propIsEnum$u.call(b, prop)) __defNormalProp$u(a, prop, b[prop]);
|
|
1662
1743
|
}
|
|
1663
1744
|
return a;
|
|
1664
1745
|
};
|
|
1665
1746
|
var __spreadProps$n = (a, b) => __defProps$n(a, __getOwnPropDescs$n(b));
|
|
1666
1747
|
var __objRest$c = (source, exclude) => {
|
|
1667
1748
|
var target = {};
|
|
1668
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1669
|
-
if (source != null && __getOwnPropSymbols$
|
|
1670
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1749
|
+
for (var prop in source) if (__hasOwnProp$u.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1750
|
+
if (source != null && __getOwnPropSymbols$u) for (var prop of __getOwnPropSymbols$u(source)) {
|
|
1751
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$u.call(source, prop)) target[prop] = source[prop];
|
|
1671
1752
|
}
|
|
1672
1753
|
return target;
|
|
1673
1754
|
};
|
|
@@ -1711,7 +1792,7 @@
|
|
|
1711
1792
|
middle: Typo.Label.l3_regular,
|
|
1712
1793
|
small: Typo.Label.l4_regular
|
|
1713
1794
|
}[size];
|
|
1714
|
-
return /* @__PURE__ */React__namespace.default.createElement(AntdIntStyled, __spreadProps$n(__spreadValues$
|
|
1795
|
+
return /* @__PURE__ */React__namespace.default.createElement(AntdIntStyled, __spreadProps$n(__spreadValues$u({}, props), {
|
|
1715
1796
|
size,
|
|
1716
1797
|
formatter: formatterInteger,
|
|
1717
1798
|
parser: formatterInteger,
|
|
@@ -1725,21 +1806,21 @@
|
|
|
1725
1806
|
}));
|
|
1726
1807
|
};
|
|
1727
1808
|
|
|
1728
|
-
var __defProp$
|
|
1809
|
+
var __defProp$t = Object.defineProperty;
|
|
1729
1810
|
var __defProps$m = Object.defineProperties;
|
|
1730
1811
|
var __getOwnPropDescs$m = Object.getOwnPropertyDescriptors;
|
|
1731
|
-
var __getOwnPropSymbols$
|
|
1732
|
-
var __hasOwnProp$
|
|
1733
|
-
var __propIsEnum$
|
|
1734
|
-
var __defNormalProp$
|
|
1735
|
-
var __spreadValues$
|
|
1812
|
+
var __getOwnPropSymbols$t = Object.getOwnPropertySymbols;
|
|
1813
|
+
var __hasOwnProp$t = Object.prototype.hasOwnProperty;
|
|
1814
|
+
var __propIsEnum$t = Object.prototype.propertyIsEnumerable;
|
|
1815
|
+
var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1816
|
+
var __spreadValues$t = (a, b) => {
|
|
1736
1817
|
for (var prop in b || (b = {}))
|
|
1737
|
-
if (__hasOwnProp$
|
|
1738
|
-
__defNormalProp$
|
|
1739
|
-
if (__getOwnPropSymbols$
|
|
1740
|
-
for (var prop of __getOwnPropSymbols$
|
|
1741
|
-
if (__propIsEnum$
|
|
1742
|
-
__defNormalProp$
|
|
1818
|
+
if (__hasOwnProp$t.call(b, prop))
|
|
1819
|
+
__defNormalProp$t(a, prop, b[prop]);
|
|
1820
|
+
if (__getOwnPropSymbols$t)
|
|
1821
|
+
for (var prop of __getOwnPropSymbols$t(b)) {
|
|
1822
|
+
if (__propIsEnum$t.call(b, prop))
|
|
1823
|
+
__defNormalProp$t(a, prop, b[prop]);
|
|
1743
1824
|
}
|
|
1744
1825
|
return a;
|
|
1745
1826
|
};
|
|
@@ -1747,11 +1828,11 @@
|
|
|
1747
1828
|
var __objRest$b = (source, exclude) => {
|
|
1748
1829
|
var target = {};
|
|
1749
1830
|
for (var prop in source)
|
|
1750
|
-
if (__hasOwnProp$
|
|
1831
|
+
if (__hasOwnProp$t.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1751
1832
|
target[prop] = source[prop];
|
|
1752
|
-
if (source != null && __getOwnPropSymbols$
|
|
1753
|
-
for (var prop of __getOwnPropSymbols$
|
|
1754
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1833
|
+
if (source != null && __getOwnPropSymbols$t)
|
|
1834
|
+
for (var prop of __getOwnPropSymbols$t(source)) {
|
|
1835
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$t.call(source, prop))
|
|
1755
1836
|
target[prop] = source[prop];
|
|
1756
1837
|
}
|
|
1757
1838
|
return target;
|
|
@@ -1768,7 +1849,7 @@
|
|
|
1768
1849
|
]);
|
|
1769
1850
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
1770
1851
|
InputInteger,
|
|
1771
|
-
__spreadProps$m(__spreadValues$
|
|
1852
|
+
__spreadProps$m(__spreadValues$t(__spreadValues$t({}, props), input), {
|
|
1772
1853
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
1773
1854
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
1774
1855
|
})
|
|
@@ -1932,21 +2013,21 @@
|
|
|
1932
2013
|
}, children), showOverflow && /* @__PURE__ */React__namespace.default.createElement("span", null, overflow));
|
|
1933
2014
|
};
|
|
1934
2015
|
|
|
1935
|
-
var __defProp$
|
|
2016
|
+
var __defProp$s = Object.defineProperty;
|
|
1936
2017
|
var __defProps$l = Object.defineProperties;
|
|
1937
2018
|
var __getOwnPropDescs$l = Object.getOwnPropertyDescriptors;
|
|
1938
|
-
var __getOwnPropSymbols$
|
|
1939
|
-
var __hasOwnProp$
|
|
1940
|
-
var __propIsEnum$
|
|
1941
|
-
var __defNormalProp$
|
|
1942
|
-
var __spreadValues$
|
|
2019
|
+
var __getOwnPropSymbols$s = Object.getOwnPropertySymbols;
|
|
2020
|
+
var __hasOwnProp$s = Object.prototype.hasOwnProperty;
|
|
2021
|
+
var __propIsEnum$s = Object.prototype.propertyIsEnumerable;
|
|
2022
|
+
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2023
|
+
var __spreadValues$s = (a, b) => {
|
|
1943
2024
|
for (var prop in b || (b = {}))
|
|
1944
|
-
if (__hasOwnProp$
|
|
1945
|
-
__defNormalProp$
|
|
1946
|
-
if (__getOwnPropSymbols$
|
|
1947
|
-
for (var prop of __getOwnPropSymbols$
|
|
1948
|
-
if (__propIsEnum$
|
|
1949
|
-
__defNormalProp$
|
|
2025
|
+
if (__hasOwnProp$s.call(b, prop))
|
|
2026
|
+
__defNormalProp$s(a, prop, b[prop]);
|
|
2027
|
+
if (__getOwnPropSymbols$s)
|
|
2028
|
+
for (var prop of __getOwnPropSymbols$s(b)) {
|
|
2029
|
+
if (__propIsEnum$s.call(b, prop))
|
|
2030
|
+
__defNormalProp$s(a, prop, b[prop]);
|
|
1950
2031
|
}
|
|
1951
2032
|
return a;
|
|
1952
2033
|
};
|
|
@@ -1954,11 +2035,11 @@
|
|
|
1954
2035
|
var __objRest$a = (source, exclude) => {
|
|
1955
2036
|
var target = {};
|
|
1956
2037
|
for (var prop in source)
|
|
1957
|
-
if (__hasOwnProp$
|
|
2038
|
+
if (__hasOwnProp$s.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1958
2039
|
target[prop] = source[prop];
|
|
1959
|
-
if (source != null && __getOwnPropSymbols$
|
|
1960
|
-
for (var prop of __getOwnPropSymbols$
|
|
1961
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2040
|
+
if (source != null && __getOwnPropSymbols$s)
|
|
2041
|
+
for (var prop of __getOwnPropSymbols$s(source)) {
|
|
2042
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$s.call(source, prop))
|
|
1962
2043
|
target[prop] = source[prop];
|
|
1963
2044
|
}
|
|
1964
2045
|
return target;
|
|
@@ -2009,7 +2090,7 @@
|
|
|
2009
2090
|
}
|
|
2010
2091
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
2011
2092
|
Input,
|
|
2012
|
-
__spreadProps$l(__spreadValues$
|
|
2093
|
+
__spreadProps$l(__spreadValues$s(__spreadProps$l(__spreadValues$s({
|
|
2013
2094
|
className: cs__default.default(
|
|
2014
2095
|
className,
|
|
2015
2096
|
KitInputStyle,
|
|
@@ -2034,21 +2115,21 @@
|
|
|
2034
2115
|
));
|
|
2035
2116
|
};
|
|
2036
2117
|
|
|
2037
|
-
var __defProp$
|
|
2118
|
+
var __defProp$r = Object.defineProperty;
|
|
2038
2119
|
var __defProps$k = Object.defineProperties;
|
|
2039
2120
|
var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
|
|
2040
|
-
var __getOwnPropSymbols$
|
|
2041
|
-
var __hasOwnProp$
|
|
2042
|
-
var __propIsEnum$
|
|
2043
|
-
var __defNormalProp$
|
|
2044
|
-
var __spreadValues$
|
|
2121
|
+
var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
|
|
2122
|
+
var __hasOwnProp$r = Object.prototype.hasOwnProperty;
|
|
2123
|
+
var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
|
|
2124
|
+
var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2125
|
+
var __spreadValues$r = (a, b) => {
|
|
2045
2126
|
for (var prop in b || (b = {}))
|
|
2046
|
-
if (__hasOwnProp$
|
|
2047
|
-
__defNormalProp$
|
|
2048
|
-
if (__getOwnPropSymbols$
|
|
2049
|
-
for (var prop of __getOwnPropSymbols$
|
|
2050
|
-
if (__propIsEnum$
|
|
2051
|
-
__defNormalProp$
|
|
2127
|
+
if (__hasOwnProp$r.call(b, prop))
|
|
2128
|
+
__defNormalProp$r(a, prop, b[prop]);
|
|
2129
|
+
if (__getOwnPropSymbols$r)
|
|
2130
|
+
for (var prop of __getOwnPropSymbols$r(b)) {
|
|
2131
|
+
if (__propIsEnum$r.call(b, prop))
|
|
2132
|
+
__defNormalProp$r(a, prop, b[prop]);
|
|
2052
2133
|
}
|
|
2053
2134
|
return a;
|
|
2054
2135
|
};
|
|
@@ -2056,11 +2137,11 @@
|
|
|
2056
2137
|
var __objRest$9 = (source, exclude) => {
|
|
2057
2138
|
var target = {};
|
|
2058
2139
|
for (var prop in source)
|
|
2059
|
-
if (__hasOwnProp$
|
|
2140
|
+
if (__hasOwnProp$r.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2060
2141
|
target[prop] = source[prop];
|
|
2061
|
-
if (source != null && __getOwnPropSymbols$
|
|
2062
|
-
for (var prop of __getOwnPropSymbols$
|
|
2063
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2142
|
+
if (source != null && __getOwnPropSymbols$r)
|
|
2143
|
+
for (var prop of __getOwnPropSymbols$r(source)) {
|
|
2144
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$r.call(source, prop))
|
|
2064
2145
|
target[prop] = source[prop];
|
|
2065
2146
|
}
|
|
2066
2147
|
return target;
|
|
@@ -2082,7 +2163,7 @@
|
|
|
2082
2163
|
}[size];
|
|
2083
2164
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
2084
2165
|
antd.Input.TextArea,
|
|
2085
|
-
__spreadProps$k(__spreadValues$
|
|
2166
|
+
__spreadProps$k(__spreadValues$r({}, props), {
|
|
2086
2167
|
className: cs__default.default(
|
|
2087
2168
|
className,
|
|
2088
2169
|
InputStyle,
|
|
@@ -2096,21 +2177,21 @@
|
|
|
2096
2177
|
);
|
|
2097
2178
|
};
|
|
2098
2179
|
|
|
2099
|
-
var __defProp$
|
|
2180
|
+
var __defProp$q = Object.defineProperty;
|
|
2100
2181
|
var __defProps$j = Object.defineProperties;
|
|
2101
2182
|
var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
|
|
2102
|
-
var __getOwnPropSymbols$
|
|
2103
|
-
var __hasOwnProp$
|
|
2104
|
-
var __propIsEnum$
|
|
2105
|
-
var __defNormalProp$
|
|
2106
|
-
var __spreadValues$
|
|
2183
|
+
var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
|
|
2184
|
+
var __hasOwnProp$q = Object.prototype.hasOwnProperty;
|
|
2185
|
+
var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
|
|
2186
|
+
var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2187
|
+
var __spreadValues$q = (a, b) => {
|
|
2107
2188
|
for (var prop in b || (b = {}))
|
|
2108
|
-
if (__hasOwnProp$
|
|
2109
|
-
__defNormalProp$
|
|
2110
|
-
if (__getOwnPropSymbols$
|
|
2111
|
-
for (var prop of __getOwnPropSymbols$
|
|
2112
|
-
if (__propIsEnum$
|
|
2113
|
-
__defNormalProp$
|
|
2189
|
+
if (__hasOwnProp$q.call(b, prop))
|
|
2190
|
+
__defNormalProp$q(a, prop, b[prop]);
|
|
2191
|
+
if (__getOwnPropSymbols$q)
|
|
2192
|
+
for (var prop of __getOwnPropSymbols$q(b)) {
|
|
2193
|
+
if (__propIsEnum$q.call(b, prop))
|
|
2194
|
+
__defNormalProp$q(a, prop, b[prop]);
|
|
2114
2195
|
}
|
|
2115
2196
|
return a;
|
|
2116
2197
|
};
|
|
@@ -2118,11 +2199,11 @@
|
|
|
2118
2199
|
var __objRest$8 = (source, exclude) => {
|
|
2119
2200
|
var target = {};
|
|
2120
2201
|
for (var prop in source)
|
|
2121
|
-
if (__hasOwnProp$
|
|
2202
|
+
if (__hasOwnProp$q.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2122
2203
|
target[prop] = source[prop];
|
|
2123
|
-
if (source != null && __getOwnPropSymbols$
|
|
2124
|
-
for (var prop of __getOwnPropSymbols$
|
|
2125
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2204
|
+
if (source != null && __getOwnPropSymbols$q)
|
|
2205
|
+
for (var prop of __getOwnPropSymbols$q(source)) {
|
|
2206
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$q.call(source, prop))
|
|
2126
2207
|
target[prop] = source[prop];
|
|
2127
2208
|
}
|
|
2128
2209
|
return target;
|
|
@@ -2139,7 +2220,7 @@
|
|
|
2139
2220
|
]);
|
|
2140
2221
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
2141
2222
|
TextArea,
|
|
2142
|
-
__spreadProps$j(__spreadValues$
|
|
2223
|
+
__spreadProps$j(__spreadValues$q(__spreadValues$q({}, input), props), {
|
|
2143
2224
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError),
|
|
2144
2225
|
onFocus: (e) => {
|
|
2145
2226
|
input.onFocus(e);
|
|
@@ -2153,21 +2234,21 @@
|
|
|
2153
2234
|
));
|
|
2154
2235
|
};
|
|
2155
2236
|
|
|
2156
|
-
var __defProp$
|
|
2237
|
+
var __defProp$p = Object.defineProperty;
|
|
2157
2238
|
var __defProps$i = Object.defineProperties;
|
|
2158
2239
|
var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
|
|
2159
|
-
var __getOwnPropSymbols$
|
|
2160
|
-
var __hasOwnProp$
|
|
2161
|
-
var __propIsEnum$
|
|
2162
|
-
var __defNormalProp$
|
|
2163
|
-
var __spreadValues$
|
|
2240
|
+
var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
|
|
2241
|
+
var __hasOwnProp$p = Object.prototype.hasOwnProperty;
|
|
2242
|
+
var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
|
|
2243
|
+
var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2244
|
+
var __spreadValues$p = (a, b) => {
|
|
2164
2245
|
for (var prop in b || (b = {}))
|
|
2165
|
-
if (__hasOwnProp$
|
|
2166
|
-
__defNormalProp$
|
|
2167
|
-
if (__getOwnPropSymbols$
|
|
2168
|
-
for (var prop of __getOwnPropSymbols$
|
|
2169
|
-
if (__propIsEnum$
|
|
2170
|
-
__defNormalProp$
|
|
2246
|
+
if (__hasOwnProp$p.call(b, prop))
|
|
2247
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
2248
|
+
if (__getOwnPropSymbols$p)
|
|
2249
|
+
for (var prop of __getOwnPropSymbols$p(b)) {
|
|
2250
|
+
if (__propIsEnum$p.call(b, prop))
|
|
2251
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
2171
2252
|
}
|
|
2172
2253
|
return a;
|
|
2173
2254
|
};
|
|
@@ -2175,11 +2256,11 @@
|
|
|
2175
2256
|
var __objRest$7 = (source, exclude) => {
|
|
2176
2257
|
var target = {};
|
|
2177
2258
|
for (var prop in source)
|
|
2178
|
-
if (__hasOwnProp$
|
|
2259
|
+
if (__hasOwnProp$p.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2179
2260
|
target[prop] = source[prop];
|
|
2180
|
-
if (source != null && __getOwnPropSymbols$
|
|
2181
|
-
for (var prop of __getOwnPropSymbols$
|
|
2182
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2261
|
+
if (source != null && __getOwnPropSymbols$p)
|
|
2262
|
+
for (var prop of __getOwnPropSymbols$p(source)) {
|
|
2263
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$p.call(source, prop))
|
|
2183
2264
|
target[prop] = source[prop];
|
|
2184
2265
|
}
|
|
2185
2266
|
return target;
|
|
@@ -2201,7 +2282,7 @@
|
|
|
2201
2282
|
}[size];
|
|
2202
2283
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
2203
2284
|
antd.TimePicker,
|
|
2204
|
-
__spreadProps$i(__spreadValues$
|
|
2285
|
+
__spreadProps$i(__spreadValues$p({}, props), {
|
|
2205
2286
|
size,
|
|
2206
2287
|
"data-test": props.name,
|
|
2207
2288
|
className: cs__default.default(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -2209,21 +2290,21 @@
|
|
|
2209
2290
|
);
|
|
2210
2291
|
};
|
|
2211
2292
|
|
|
2212
|
-
var __defProp$
|
|
2293
|
+
var __defProp$o = Object.defineProperty;
|
|
2213
2294
|
var __defProps$h = Object.defineProperties;
|
|
2214
2295
|
var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
|
|
2215
|
-
var __getOwnPropSymbols$
|
|
2216
|
-
var __hasOwnProp$
|
|
2217
|
-
var __propIsEnum$
|
|
2218
|
-
var __defNormalProp$
|
|
2219
|
-
var __spreadValues$
|
|
2296
|
+
var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
|
|
2297
|
+
var __hasOwnProp$o = Object.prototype.hasOwnProperty;
|
|
2298
|
+
var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
|
|
2299
|
+
var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2300
|
+
var __spreadValues$o = (a, b) => {
|
|
2220
2301
|
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$
|
|
2302
|
+
if (__hasOwnProp$o.call(b, prop))
|
|
2303
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
2304
|
+
if (__getOwnPropSymbols$o)
|
|
2305
|
+
for (var prop of __getOwnPropSymbols$o(b)) {
|
|
2306
|
+
if (__propIsEnum$o.call(b, prop))
|
|
2307
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
2227
2308
|
}
|
|
2228
2309
|
return a;
|
|
2229
2310
|
};
|
|
@@ -2231,11 +2312,11 @@
|
|
|
2231
2312
|
var __objRest$6 = (source, exclude) => {
|
|
2232
2313
|
var target = {};
|
|
2233
2314
|
for (var prop in source)
|
|
2234
|
-
if (__hasOwnProp$
|
|
2315
|
+
if (__hasOwnProp$o.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2235
2316
|
target[prop] = source[prop];
|
|
2236
|
-
if (source != null && __getOwnPropSymbols$
|
|
2237
|
-
for (var prop of __getOwnPropSymbols$
|
|
2238
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2317
|
+
if (source != null && __getOwnPropSymbols$o)
|
|
2318
|
+
for (var prop of __getOwnPropSymbols$o(source)) {
|
|
2319
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$o.call(source, prop))
|
|
2239
2320
|
target[prop] = source[prop];
|
|
2240
2321
|
}
|
|
2241
2322
|
return target;
|
|
@@ -2250,7 +2331,7 @@
|
|
|
2250
2331
|
]);
|
|
2251
2332
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
2252
2333
|
TimePicker,
|
|
2253
|
-
__spreadValues$
|
|
2334
|
+
__spreadValues$o(__spreadProps$h(__spreadValues$o({}, input), {
|
|
2254
2335
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
2255
2336
|
}), props)
|
|
2256
2337
|
));
|
|
@@ -2269,29 +2350,29 @@
|
|
|
2269
2350
|
DateTimeRange: FieldsDateTimeRange
|
|
2270
2351
|
};
|
|
2271
2352
|
|
|
2272
|
-
var __defProp$
|
|
2353
|
+
var __defProp$n = Object.defineProperty;
|
|
2273
2354
|
var __defProps$g = Object.defineProperties;
|
|
2274
2355
|
var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
|
|
2275
|
-
var __getOwnPropSymbols$
|
|
2276
|
-
var __hasOwnProp$
|
|
2277
|
-
var __propIsEnum$
|
|
2278
|
-
var __defNormalProp$
|
|
2356
|
+
var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
|
|
2357
|
+
var __hasOwnProp$n = Object.prototype.hasOwnProperty;
|
|
2358
|
+
var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
|
|
2359
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, {
|
|
2279
2360
|
enumerable: true,
|
|
2280
2361
|
configurable: true,
|
|
2281
2362
|
writable: true,
|
|
2282
2363
|
value
|
|
2283
2364
|
}) : obj[key] = value;
|
|
2284
|
-
var __spreadValues$
|
|
2285
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2286
|
-
if (__getOwnPropSymbols$
|
|
2287
|
-
if (__propIsEnum$
|
|
2365
|
+
var __spreadValues$n = (a, b) => {
|
|
2366
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$n.call(b, prop)) __defNormalProp$n(a, prop, b[prop]);
|
|
2367
|
+
if (__getOwnPropSymbols$n) for (var prop of __getOwnPropSymbols$n(b)) {
|
|
2368
|
+
if (__propIsEnum$n.call(b, prop)) __defNormalProp$n(a, prop, b[prop]);
|
|
2288
2369
|
}
|
|
2289
2370
|
return a;
|
|
2290
2371
|
};
|
|
2291
2372
|
var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
|
|
2292
2373
|
const FormItemStyle$1 = "f1p9ti6d";
|
|
2293
2374
|
const FormItem$1 = props => {
|
|
2294
|
-
return /* @__PURE__ */React__namespace.default.createElement(AntdFormItem__default.default, __spreadProps$g(__spreadValues$
|
|
2375
|
+
return /* @__PURE__ */React__namespace.default.createElement(AntdFormItem__default.default, __spreadProps$g(__spreadValues$n({}, props), {
|
|
2295
2376
|
className: cs__default.default(FormItemStyle$1, props.className)
|
|
2296
2377
|
}));
|
|
2297
2378
|
};
|
|
@@ -2299,14 +2380,31 @@
|
|
|
2299
2380
|
const Form = antd.Form;
|
|
2300
2381
|
Form.Item = FormItem$1;
|
|
2301
2382
|
|
|
2383
|
+
var __defProp$m = Object.defineProperty;
|
|
2384
|
+
var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
|
|
2385
|
+
var __hasOwnProp$m = Object.prototype.hasOwnProperty;
|
|
2386
|
+
var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
|
|
2387
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2388
|
+
var __spreadValues$m = (a, b) => {
|
|
2389
|
+
for (var prop in b || (b = {}))
|
|
2390
|
+
if (__hasOwnProp$m.call(b, prop))
|
|
2391
|
+
__defNormalProp$m(a, prop, b[prop]);
|
|
2392
|
+
if (__getOwnPropSymbols$m)
|
|
2393
|
+
for (var prop of __getOwnPropSymbols$m(b)) {
|
|
2394
|
+
if (__propIsEnum$m.call(b, prop))
|
|
2395
|
+
__defNormalProp$m(a, prop, b[prop]);
|
|
2396
|
+
}
|
|
2397
|
+
return a;
|
|
2398
|
+
};
|
|
2302
2399
|
const Frequency = ({
|
|
2303
2400
|
rawValue,
|
|
2304
2401
|
decimals,
|
|
2305
2402
|
valueClassName,
|
|
2306
|
-
unitClassName
|
|
2403
|
+
unitClassName,
|
|
2404
|
+
emptyProps
|
|
2307
2405
|
}) => {
|
|
2308
2406
|
if (isEmpty(rawValue)) {
|
|
2309
|
-
return Empty;
|
|
2407
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$m({}, emptyProps));
|
|
2310
2408
|
}
|
|
2311
2409
|
const { value, unit } = formatFrequency(rawValue, decimals);
|
|
2312
2410
|
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}`));
|
|
@@ -2319,21 +2417,21 @@
|
|
|
2319
2417
|
propsAsIs: true
|
|
2320
2418
|
});
|
|
2321
2419
|
|
|
2322
|
-
var __defProp$
|
|
2420
|
+
var __defProp$l = Object.defineProperty;
|
|
2323
2421
|
var __defProps$f = Object.defineProperties;
|
|
2324
2422
|
var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
|
|
2325
|
-
var __getOwnPropSymbols$
|
|
2326
|
-
var __hasOwnProp$
|
|
2327
|
-
var __propIsEnum$
|
|
2328
|
-
var __defNormalProp$
|
|
2329
|
-
var __spreadValues$
|
|
2423
|
+
var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
|
|
2424
|
+
var __hasOwnProp$l = Object.prototype.hasOwnProperty;
|
|
2425
|
+
var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
|
|
2426
|
+
var __defNormalProp$l = (obj, key2, value) => key2 in obj ? __defProp$l(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value;
|
|
2427
|
+
var __spreadValues$l = (a, b) => {
|
|
2330
2428
|
for (var prop in b || (b = {}))
|
|
2331
|
-
if (__hasOwnProp$
|
|
2332
|
-
__defNormalProp$
|
|
2333
|
-
if (__getOwnPropSymbols$
|
|
2334
|
-
for (var prop of __getOwnPropSymbols$
|
|
2335
|
-
if (__propIsEnum$
|
|
2336
|
-
__defNormalProp$
|
|
2429
|
+
if (__hasOwnProp$l.call(b, prop))
|
|
2430
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
2431
|
+
if (__getOwnPropSymbols$l)
|
|
2432
|
+
for (var prop of __getOwnPropSymbols$l(b)) {
|
|
2433
|
+
if (__propIsEnum$l.call(b, prop))
|
|
2434
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
2337
2435
|
}
|
|
2338
2436
|
return a;
|
|
2339
2437
|
};
|
|
@@ -2440,7 +2538,7 @@
|
|
|
2440
2538
|
};
|
|
2441
2539
|
getRCNotificationInstance(args, ({ prefixCls, instance }) => {
|
|
2442
2540
|
instance.notice(
|
|
2443
|
-
getRCNoticeProps(__spreadProps$f(__spreadValues$
|
|
2541
|
+
getRCNoticeProps(__spreadProps$f(__spreadValues$l({}, args), { key: target, onClose: callback }), prefixCls)
|
|
2444
2542
|
);
|
|
2445
2543
|
});
|
|
2446
2544
|
});
|
|
@@ -2469,7 +2567,7 @@
|
|
|
2469
2567
|
function attachTypeApi(originalApi, type) {
|
|
2470
2568
|
originalApi[type] = (content, duration, onClose) => {
|
|
2471
2569
|
if (isArgsProps(content)) {
|
|
2472
|
-
return originalApi.open(__spreadProps$f(__spreadValues$
|
|
2570
|
+
return originalApi.open(__spreadProps$f(__spreadValues$l({}, content), { type }));
|
|
2473
2571
|
}
|
|
2474
2572
|
if (typeof duration === "function") {
|
|
2475
2573
|
onClose = duration;
|
|
@@ -2483,21 +2581,21 @@
|
|
|
2483
2581
|
);
|
|
2484
2582
|
api.warn = api.warning;
|
|
2485
2583
|
|
|
2486
|
-
var __defProp$
|
|
2584
|
+
var __defProp$k = Object.defineProperty;
|
|
2487
2585
|
var __defProps$e = Object.defineProperties;
|
|
2488
2586
|
var __getOwnPropDescs$e = Object.getOwnPropertyDescriptors;
|
|
2489
|
-
var __getOwnPropSymbols$
|
|
2490
|
-
var __hasOwnProp$
|
|
2491
|
-
var __propIsEnum$
|
|
2492
|
-
var __defNormalProp$
|
|
2493
|
-
var __spreadValues$
|
|
2587
|
+
var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
|
|
2588
|
+
var __hasOwnProp$k = Object.prototype.hasOwnProperty;
|
|
2589
|
+
var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
|
|
2590
|
+
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2591
|
+
var __spreadValues$k = (a, b) => {
|
|
2494
2592
|
for (var prop in b || (b = {}))
|
|
2495
|
-
if (__hasOwnProp$
|
|
2496
|
-
__defNormalProp$
|
|
2497
|
-
if (__getOwnPropSymbols$
|
|
2498
|
-
for (var prop of __getOwnPropSymbols$
|
|
2499
|
-
if (__propIsEnum$
|
|
2500
|
-
__defNormalProp$
|
|
2593
|
+
if (__hasOwnProp$k.call(b, prop))
|
|
2594
|
+
__defNormalProp$k(a, prop, b[prop]);
|
|
2595
|
+
if (__getOwnPropSymbols$k)
|
|
2596
|
+
for (var prop of __getOwnPropSymbols$k(b)) {
|
|
2597
|
+
if (__propIsEnum$k.call(b, prop))
|
|
2598
|
+
__defNormalProp$k(a, prop, b[prop]);
|
|
2501
2599
|
}
|
|
2502
2600
|
return a;
|
|
2503
2601
|
};
|
|
@@ -2511,8 +2609,8 @@
|
|
|
2511
2609
|
switch (action.type) {
|
|
2512
2610
|
case "SET_POINTER" /* SET_POINTER */: {
|
|
2513
2611
|
const { uuid, left, text, visible, value } = action.payload;
|
|
2514
|
-
return __spreadProps$e(__spreadValues$
|
|
2515
|
-
pointers: __spreadProps$e(__spreadValues$
|
|
2612
|
+
return __spreadProps$e(__spreadValues$k({}, state), {
|
|
2613
|
+
pointers: __spreadProps$e(__spreadValues$k({}, state.pointers), {
|
|
2516
2614
|
[uuid]: {
|
|
2517
2615
|
left,
|
|
2518
2616
|
text,
|
|
@@ -2524,16 +2622,16 @@
|
|
|
2524
2622
|
}
|
|
2525
2623
|
case "SET_RESOURCE_DATA" /* SET_RESOURCE_DATA */: {
|
|
2526
2624
|
const { uuid, data } = action.payload;
|
|
2527
|
-
return __spreadProps$e(__spreadValues$
|
|
2528
|
-
resourceData: __spreadProps$e(__spreadValues$
|
|
2625
|
+
return __spreadProps$e(__spreadValues$k({}, state), {
|
|
2626
|
+
resourceData: __spreadProps$e(__spreadValues$k({}, state.resourceData), {
|
|
2529
2627
|
[uuid]: data
|
|
2530
2628
|
})
|
|
2531
2629
|
});
|
|
2532
2630
|
}
|
|
2533
2631
|
case "SET_AVERAGE_DATA" /* SET_AVERAGE_DATA */: {
|
|
2534
2632
|
const { uuid, average } = action.payload;
|
|
2535
|
-
return __spreadProps$e(__spreadValues$
|
|
2536
|
-
averageData: __spreadProps$e(__spreadValues$
|
|
2633
|
+
return __spreadProps$e(__spreadValues$k({}, state), {
|
|
2634
|
+
averageData: __spreadProps$e(__spreadValues$k({}, state.averageData), {
|
|
2537
2635
|
[uuid]: average
|
|
2538
2636
|
})
|
|
2539
2637
|
});
|
|
@@ -2544,21 +2642,21 @@
|
|
|
2544
2642
|
}
|
|
2545
2643
|
};
|
|
2546
2644
|
|
|
2547
|
-
var __defProp$
|
|
2645
|
+
var __defProp$j = Object.defineProperty;
|
|
2548
2646
|
var __defProps$d = Object.defineProperties;
|
|
2549
2647
|
var __getOwnPropDescs$d = Object.getOwnPropertyDescriptors;
|
|
2550
|
-
var __getOwnPropSymbols$
|
|
2551
|
-
var __hasOwnProp$
|
|
2552
|
-
var __propIsEnum$
|
|
2553
|
-
var __defNormalProp$
|
|
2554
|
-
var __spreadValues$
|
|
2648
|
+
var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
|
|
2649
|
+
var __hasOwnProp$j = Object.prototype.hasOwnProperty;
|
|
2650
|
+
var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
|
|
2651
|
+
var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2652
|
+
var __spreadValues$j = (a, b) => {
|
|
2555
2653
|
for (var prop in b || (b = {}))
|
|
2556
|
-
if (__hasOwnProp$
|
|
2557
|
-
__defNormalProp$
|
|
2558
|
-
if (__getOwnPropSymbols$
|
|
2559
|
-
for (var prop of __getOwnPropSymbols$
|
|
2560
|
-
if (__propIsEnum$
|
|
2561
|
-
__defNormalProp$
|
|
2654
|
+
if (__hasOwnProp$j.call(b, prop))
|
|
2655
|
+
__defNormalProp$j(a, prop, b[prop]);
|
|
2656
|
+
if (__getOwnPropSymbols$j)
|
|
2657
|
+
for (var prop of __getOwnPropSymbols$j(b)) {
|
|
2658
|
+
if (__propIsEnum$j.call(b, prop))
|
|
2659
|
+
__defNormalProp$j(a, prop, b[prop]);
|
|
2562
2660
|
}
|
|
2563
2661
|
return a;
|
|
2564
2662
|
};
|
|
@@ -2583,22 +2681,22 @@
|
|
|
2583
2681
|
)) {
|
|
2584
2682
|
return state;
|
|
2585
2683
|
}
|
|
2586
|
-
return __spreadProps$d(__spreadValues$
|
|
2587
|
-
stack: state.stack.concat(__spreadProps$d(__spreadValues$
|
|
2684
|
+
return __spreadProps$d(__spreadValues$j({}, state), {
|
|
2685
|
+
stack: state.stack.concat(__spreadProps$d(__spreadValues$j({}, action.payload), {
|
|
2588
2686
|
id: MODAL_ID++
|
|
2589
2687
|
}))
|
|
2590
2688
|
});
|
|
2591
2689
|
case "POP_MODAL" /* POP_MODAL */:
|
|
2592
|
-
return __spreadProps$d(__spreadValues$
|
|
2690
|
+
return __spreadProps$d(__spreadValues$j({}, state), {
|
|
2593
2691
|
stack: state.stack.slice(0, -1)
|
|
2594
2692
|
});
|
|
2595
2693
|
case "REMOVE_MODAL" /* REMOVE_MODAL */:
|
|
2596
|
-
return __spreadProps$d(__spreadValues$
|
|
2694
|
+
return __spreadProps$d(__spreadValues$j({}, state), {
|
|
2597
2695
|
closeId: 0,
|
|
2598
2696
|
stack: state.stack.filter((m) => m.id !== action.id)
|
|
2599
2697
|
});
|
|
2600
2698
|
case "CLOSE_MODAL" /* CLOSE_MODAL */:
|
|
2601
|
-
return __spreadProps$d(__spreadValues$
|
|
2699
|
+
return __spreadProps$d(__spreadValues$j({}, state), {
|
|
2602
2700
|
closeId: action.id
|
|
2603
2701
|
});
|
|
2604
2702
|
default:
|
|
@@ -2620,72 +2718,50 @@
|
|
|
2620
2718
|
return appReducer(state, action);
|
|
2621
2719
|
};
|
|
2622
2720
|
const UIKitStore = redux.createStore(rootReducer);
|
|
2623
|
-
function pushModal(modal
|
|
2624
|
-
|
|
2721
|
+
function pushModal(modal) {
|
|
2722
|
+
UIKitStore.dispatch({
|
|
2625
2723
|
type: ModalActions.PUSH_MODAL,
|
|
2626
2724
|
payload: modal
|
|
2627
2725
|
});
|
|
2628
2726
|
}
|
|
2629
|
-
function popModal(
|
|
2630
|
-
|
|
2727
|
+
function popModal() {
|
|
2728
|
+
UIKitStore.dispatch({
|
|
2631
2729
|
type: ModalActions.POP_MODAL
|
|
2632
2730
|
});
|
|
2633
2731
|
}
|
|
2634
|
-
function closeModal(id
|
|
2635
|
-
|
|
2732
|
+
function closeModal(id) {
|
|
2733
|
+
UIKitStore.dispatch({
|
|
2636
2734
|
type: ModalActions.CLOSE_MODAL,
|
|
2637
2735
|
id
|
|
2638
2736
|
});
|
|
2639
2737
|
}
|
|
2640
2738
|
|
|
2641
|
-
const
|
|
2739
|
+
const ctx = React.createContext({
|
|
2642
2740
|
store: UIKitStore,
|
|
2643
2741
|
storeState: UIKitStore.getState()
|
|
2644
2742
|
});
|
|
2645
|
-
const ReduxContext = React.createContext(defaultContext);
|
|
2646
|
-
const ReduxContextProvider = (props) => {
|
|
2647
|
-
const { children, reduxContext = defaultContext } = props;
|
|
2648
|
-
return /* @__PURE__ */ React__namespace.default.createElement(ReduxContext.Provider, { value: reduxContext }, children);
|
|
2649
|
-
};
|
|
2650
|
-
|
|
2651
2743
|
const KitStoreProvider = (props) => {
|
|
2652
2744
|
const { children } = props;
|
|
2653
|
-
|
|
2654
|
-
const store = React.useContext(reduxContext);
|
|
2655
|
-
return /* @__PURE__ */ React__namespace.default.createElement(reactRedux.Provider, { context: reduxContext, store: store.store }, children);
|
|
2656
|
-
};
|
|
2657
|
-
const useKitDispatch = () => {
|
|
2658
|
-
const ctx = React.useContext(ReduxContext);
|
|
2659
|
-
const useHook = React.useMemo(
|
|
2660
|
-
() => reactRedux.createDispatchHook(ctx),
|
|
2661
|
-
[ctx]
|
|
2662
|
-
);
|
|
2663
|
-
return useHook();
|
|
2664
|
-
};
|
|
2665
|
-
const useKitSelector = (selector, equalityFn) => {
|
|
2666
|
-
const ctx = React.useContext(ReduxContext);
|
|
2667
|
-
const useHook = React.useMemo(
|
|
2668
|
-
() => reactRedux.createSelectorHook(ctx),
|
|
2669
|
-
[ctx]
|
|
2670
|
-
);
|
|
2671
|
-
return useHook(selector, equalityFn);
|
|
2745
|
+
return /* @__PURE__ */ React__namespace.default.createElement(reactRedux.Provider, { context: ctx, store: UIKitStore }, children);
|
|
2672
2746
|
};
|
|
2747
|
+
const useKitDispatch = reactRedux.createDispatchHook(ctx);
|
|
2748
|
+
const useKitSelector = reactRedux.createSelectorHook(ctx);
|
|
2673
2749
|
|
|
2674
|
-
var __defProp$
|
|
2750
|
+
var __defProp$i = Object.defineProperty;
|
|
2675
2751
|
var __defProps$c = Object.defineProperties;
|
|
2676
2752
|
var __getOwnPropDescs$c = Object.getOwnPropertyDescriptors;
|
|
2677
|
-
var __getOwnPropSymbols$
|
|
2678
|
-
var __hasOwnProp$
|
|
2679
|
-
var __propIsEnum$
|
|
2680
|
-
var __defNormalProp$
|
|
2681
|
-
var __spreadValues$
|
|
2753
|
+
var __getOwnPropSymbols$i = Object.getOwnPropertySymbols;
|
|
2754
|
+
var __hasOwnProp$i = Object.prototype.hasOwnProperty;
|
|
2755
|
+
var __propIsEnum$i = Object.prototype.propertyIsEnumerable;
|
|
2756
|
+
var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2757
|
+
var __spreadValues$i = (a, b) => {
|
|
2682
2758
|
for (var prop in b || (b = {}))
|
|
2683
|
-
if (__hasOwnProp$
|
|
2684
|
-
__defNormalProp$
|
|
2685
|
-
if (__getOwnPropSymbols$
|
|
2686
|
-
for (var prop of __getOwnPropSymbols$
|
|
2687
|
-
if (__propIsEnum$
|
|
2688
|
-
__defNormalProp$
|
|
2759
|
+
if (__hasOwnProp$i.call(b, prop))
|
|
2760
|
+
__defNormalProp$i(a, prop, b[prop]);
|
|
2761
|
+
if (__getOwnPropSymbols$i)
|
|
2762
|
+
for (var prop of __getOwnPropSymbols$i(b)) {
|
|
2763
|
+
if (__propIsEnum$i.call(b, prop))
|
|
2764
|
+
__defNormalProp$i(a, prop, b[prop]);
|
|
2689
2765
|
}
|
|
2690
2766
|
return a;
|
|
2691
2767
|
};
|
|
@@ -2693,11 +2769,11 @@
|
|
|
2693
2769
|
var __objRest$5 = (source, exclude) => {
|
|
2694
2770
|
var target = {};
|
|
2695
2771
|
for (var prop in source)
|
|
2696
|
-
if (__hasOwnProp$
|
|
2772
|
+
if (__hasOwnProp$i.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2697
2773
|
target[prop] = source[prop];
|
|
2698
|
-
if (source != null && __getOwnPropSymbols$
|
|
2699
|
-
for (var prop of __getOwnPropSymbols$
|
|
2700
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2774
|
+
if (source != null && __getOwnPropSymbols$i)
|
|
2775
|
+
for (var prop of __getOwnPropSymbols$i(source)) {
|
|
2776
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$i.call(source, prop))
|
|
2701
2777
|
target[prop] = source[prop];
|
|
2702
2778
|
}
|
|
2703
2779
|
return target;
|
|
@@ -2779,7 +2855,7 @@
|
|
|
2779
2855
|
}
|
|
2780
2856
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
2781
2857
|
antd.Modal,
|
|
2782
|
-
__spreadProps$c(__spreadValues$
|
|
2858
|
+
__spreadProps$c(__spreadValues$i({
|
|
2783
2859
|
maskClosable,
|
|
2784
2860
|
className: cs__default.default(
|
|
2785
2861
|
className,
|
|
@@ -2814,7 +2890,7 @@
|
|
|
2814
2890
|
prevText
|
|
2815
2891
|
), 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(
|
|
2816
2892
|
Button,
|
|
2817
|
-
__spreadValues$
|
|
2893
|
+
__spreadValues$i({
|
|
2818
2894
|
type: "quiet",
|
|
2819
2895
|
onMouseDown: (e) => {
|
|
2820
2896
|
e.preventDefault();
|
|
@@ -2828,7 +2904,7 @@
|
|
|
2828
2904
|
cancelText
|
|
2829
2905
|
), showOk && /* @__PURE__ */ React__namespace.default.createElement(
|
|
2830
2906
|
Button,
|
|
2831
|
-
__spreadValues$
|
|
2907
|
+
__spreadValues$i({
|
|
2832
2908
|
onClick: (e) => {
|
|
2833
2909
|
var _a2, _b2;
|
|
2834
2910
|
onOk == null ? void 0 : onOk(e);
|
|
@@ -2980,59 +3056,76 @@
|
|
|
2980
3056
|
}))));
|
|
2981
3057
|
};
|
|
2982
3058
|
|
|
3059
|
+
var __defProp$h = Object.defineProperty;
|
|
3060
|
+
var __getOwnPropSymbols$h = Object.getOwnPropertySymbols;
|
|
3061
|
+
var __hasOwnProp$h = Object.prototype.hasOwnProperty;
|
|
3062
|
+
var __propIsEnum$h = Object.prototype.propertyIsEnumerable;
|
|
3063
|
+
var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3064
|
+
var __spreadValues$h = (a, b) => {
|
|
3065
|
+
for (var prop in b || (b = {}))
|
|
3066
|
+
if (__hasOwnProp$h.call(b, prop))
|
|
3067
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
3068
|
+
if (__getOwnPropSymbols$h)
|
|
3069
|
+
for (var prop of __getOwnPropSymbols$h(b)) {
|
|
3070
|
+
if (__propIsEnum$h.call(b, prop))
|
|
3071
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
3072
|
+
}
|
|
3073
|
+
return a;
|
|
3074
|
+
};
|
|
2983
3075
|
const Percent = ({
|
|
2984
3076
|
rawValue,
|
|
2985
3077
|
decimals,
|
|
2986
3078
|
valueClassName,
|
|
2987
|
-
unitClassName
|
|
3079
|
+
unitClassName,
|
|
3080
|
+
emptyProps
|
|
2988
3081
|
}) => {
|
|
2989
3082
|
if (isEmpty(rawValue)) {
|
|
2990
|
-
return Empty;
|
|
3083
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$h({}, emptyProps));
|
|
2991
3084
|
}
|
|
2992
3085
|
const { value, unit } = formatPercent(rawValue, decimals);
|
|
2993
3086
|
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));
|
|
2994
3087
|
};
|
|
2995
3088
|
|
|
2996
|
-
var __defProp$
|
|
2997
|
-
var __getOwnPropSymbols$
|
|
2998
|
-
var __hasOwnProp$
|
|
2999
|
-
var __propIsEnum$
|
|
3000
|
-
var __defNormalProp$
|
|
3001
|
-
var __spreadValues$
|
|
3089
|
+
var __defProp$g = Object.defineProperty;
|
|
3090
|
+
var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
|
|
3091
|
+
var __hasOwnProp$g = Object.prototype.hasOwnProperty;
|
|
3092
|
+
var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
|
|
3093
|
+
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3094
|
+
var __spreadValues$g = (a, b) => {
|
|
3002
3095
|
for (var prop in b || (b = {}))
|
|
3003
|
-
if (__hasOwnProp$
|
|
3004
|
-
__defNormalProp$
|
|
3005
|
-
if (__getOwnPropSymbols$
|
|
3006
|
-
for (var prop of __getOwnPropSymbols$
|
|
3007
|
-
if (__propIsEnum$
|
|
3008
|
-
__defNormalProp$
|
|
3096
|
+
if (__hasOwnProp$g.call(b, prop))
|
|
3097
|
+
__defNormalProp$g(a, prop, b[prop]);
|
|
3098
|
+
if (__getOwnPropSymbols$g)
|
|
3099
|
+
for (var prop of __getOwnPropSymbols$g(b)) {
|
|
3100
|
+
if (__propIsEnum$g.call(b, prop))
|
|
3101
|
+
__defNormalProp$g(a, prop, b[prop]);
|
|
3009
3102
|
}
|
|
3010
3103
|
return a;
|
|
3011
3104
|
};
|
|
3012
|
-
const Progress = (props) => /* @__PURE__ */ React__namespace.default.createElement(antd.Progress, __spreadValues$
|
|
3105
|
+
const Progress = (props) => /* @__PURE__ */ React__namespace.default.createElement(antd.Progress, __spreadValues$g({}, props));
|
|
3013
3106
|
|
|
3014
|
-
var __defProp$
|
|
3015
|
-
var __getOwnPropSymbols$
|
|
3016
|
-
var __hasOwnProp$
|
|
3017
|
-
var __propIsEnum$
|
|
3018
|
-
var __defNormalProp$
|
|
3107
|
+
var __defProp$f = Object.defineProperty;
|
|
3108
|
+
var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
|
|
3109
|
+
var __hasOwnProp$f = Object.prototype.hasOwnProperty;
|
|
3110
|
+
var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
|
|
3111
|
+
var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, {
|
|
3019
3112
|
enumerable: true,
|
|
3020
3113
|
configurable: true,
|
|
3021
3114
|
writable: true,
|
|
3022
3115
|
value
|
|
3023
3116
|
}) : obj[key] = value;
|
|
3024
|
-
var __spreadValues$
|
|
3025
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3026
|
-
if (__getOwnPropSymbols$
|
|
3027
|
-
if (__propIsEnum$
|
|
3117
|
+
var __spreadValues$f = (a, b) => {
|
|
3118
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$f.call(b, prop)) __defNormalProp$f(a, prop, b[prop]);
|
|
3119
|
+
if (__getOwnPropSymbols$f) for (var prop of __getOwnPropSymbols$f(b)) {
|
|
3120
|
+
if (__propIsEnum$f.call(b, prop)) __defNormalProp$f(a, prop, b[prop]);
|
|
3028
3121
|
}
|
|
3029
3122
|
return a;
|
|
3030
3123
|
};
|
|
3031
3124
|
var __objRest$4 = (source, exclude) => {
|
|
3032
3125
|
var target = {};
|
|
3033
|
-
for (var prop in source) if (__hasOwnProp$
|
|
3034
|
-
if (source != null && __getOwnPropSymbols$
|
|
3035
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3126
|
+
for (var prop in source) if (__hasOwnProp$f.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
3127
|
+
if (source != null && __getOwnPropSymbols$f) for (var prop of __getOwnPropSymbols$f(source)) {
|
|
3128
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$f.call(source, prop)) target[prop] = source[prop];
|
|
3036
3129
|
}
|
|
3037
3130
|
return target;
|
|
3038
3131
|
};
|
|
@@ -3058,7 +3151,7 @@
|
|
|
3058
3151
|
className: core.cx("radio-description", Typo.Label.l4_regular)
|
|
3059
3152
|
}, description));
|
|
3060
3153
|
}
|
|
3061
|
-
return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement(antd.Radio, __spreadValues$
|
|
3154
|
+
return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement(antd.Radio, __spreadValues$f({
|
|
3062
3155
|
className: core.cx(className, RadioStyle, compact && "compact"),
|
|
3063
3156
|
checked: checked || false,
|
|
3064
3157
|
"data-test": context.name ? `${context.name}-${String(props.value)}` : String(props.value)
|
|
@@ -3076,7 +3169,7 @@
|
|
|
3076
3169
|
disabled: props.disabled,
|
|
3077
3170
|
name: props.name
|
|
3078
3171
|
}
|
|
3079
|
-
}, /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Group, __spreadValues$
|
|
3172
|
+
}, /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Group, __spreadValues$f({
|
|
3080
3173
|
className: core.cx(className, RadioGroupStyle)
|
|
3081
3174
|
}, props), children ? children : null));
|
|
3082
3175
|
};
|
|
@@ -3132,36 +3225,36 @@
|
|
|
3132
3225
|
className: "ant-radio-button-input-label"
|
|
3133
3226
|
}, typeof children === "string" ? children : ""));
|
|
3134
3227
|
};
|
|
3135
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Button, __spreadValues$
|
|
3228
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Button, __spreadValues$f({
|
|
3136
3229
|
className: core.cx(className, RadioButtonStyle),
|
|
3137
3230
|
value: radioButtonValue
|
|
3138
3231
|
}, props), renderChildren());
|
|
3139
3232
|
};
|
|
3140
3233
|
|
|
3141
|
-
var __defProp$
|
|
3142
|
-
var __getOwnPropSymbols$
|
|
3143
|
-
var __hasOwnProp$
|
|
3144
|
-
var __propIsEnum$
|
|
3145
|
-
var __defNormalProp$
|
|
3146
|
-
var __spreadValues$
|
|
3234
|
+
var __defProp$e = Object.defineProperty;
|
|
3235
|
+
var __getOwnPropSymbols$e = Object.getOwnPropertySymbols;
|
|
3236
|
+
var __hasOwnProp$e = Object.prototype.hasOwnProperty;
|
|
3237
|
+
var __propIsEnum$e = Object.prototype.propertyIsEnumerable;
|
|
3238
|
+
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3239
|
+
var __spreadValues$e = (a, b) => {
|
|
3147
3240
|
for (var prop in b || (b = {}))
|
|
3148
|
-
if (__hasOwnProp$
|
|
3149
|
-
__defNormalProp$
|
|
3150
|
-
if (__getOwnPropSymbols$
|
|
3151
|
-
for (var prop of __getOwnPropSymbols$
|
|
3152
|
-
if (__propIsEnum$
|
|
3153
|
-
__defNormalProp$
|
|
3241
|
+
if (__hasOwnProp$e.call(b, prop))
|
|
3242
|
+
__defNormalProp$e(a, prop, b[prop]);
|
|
3243
|
+
if (__getOwnPropSymbols$e)
|
|
3244
|
+
for (var prop of __getOwnPropSymbols$e(b)) {
|
|
3245
|
+
if (__propIsEnum$e.call(b, prop))
|
|
3246
|
+
__defNormalProp$e(a, prop, b[prop]);
|
|
3154
3247
|
}
|
|
3155
3248
|
return a;
|
|
3156
3249
|
};
|
|
3157
3250
|
var __objRest$3 = (source, exclude) => {
|
|
3158
3251
|
var target = {};
|
|
3159
3252
|
for (var prop in source)
|
|
3160
|
-
if (__hasOwnProp$
|
|
3253
|
+
if (__hasOwnProp$e.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3161
3254
|
target[prop] = source[prop];
|
|
3162
|
-
if (source != null && __getOwnPropSymbols$
|
|
3163
|
-
for (var prop of __getOwnPropSymbols$
|
|
3164
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3255
|
+
if (source != null && __getOwnPropSymbols$e)
|
|
3256
|
+
for (var prop of __getOwnPropSymbols$e(source)) {
|
|
3257
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$e.call(source, prop))
|
|
3165
3258
|
target[prop] = source[prop];
|
|
3166
3259
|
}
|
|
3167
3260
|
return target;
|
|
@@ -3171,7 +3264,7 @@
|
|
|
3171
3264
|
const onSearch = ___default.default.debounce(onChange, debounceWait);
|
|
3172
3265
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
3173
3266
|
Input,
|
|
3174
|
-
__spreadValues$
|
|
3267
|
+
__spreadValues$e({
|
|
3175
3268
|
style: { width: 276 },
|
|
3176
3269
|
prefix: /* @__PURE__ */ React__namespace.default.createElement(icons.SearchOutlined, null),
|
|
3177
3270
|
onChange: (e) => onSearch(e.target.value)
|
|
@@ -3179,16 +3272,33 @@
|
|
|
3179
3272
|
);
|
|
3180
3273
|
};
|
|
3181
3274
|
|
|
3275
|
+
var __defProp$d = Object.defineProperty;
|
|
3276
|
+
var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
|
|
3277
|
+
var __hasOwnProp$d = Object.prototype.hasOwnProperty;
|
|
3278
|
+
var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
|
|
3279
|
+
var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3280
|
+
var __spreadValues$d = (a, b) => {
|
|
3281
|
+
for (var prop in b || (b = {}))
|
|
3282
|
+
if (__hasOwnProp$d.call(b, prop))
|
|
3283
|
+
__defNormalProp$d(a, prop, b[prop]);
|
|
3284
|
+
if (__getOwnPropSymbols$d)
|
|
3285
|
+
for (var prop of __getOwnPropSymbols$d(b)) {
|
|
3286
|
+
if (__propIsEnum$d.call(b, prop))
|
|
3287
|
+
__defNormalProp$d(a, prop, b[prop]);
|
|
3288
|
+
}
|
|
3289
|
+
return a;
|
|
3290
|
+
};
|
|
3182
3291
|
const Second = ({
|
|
3183
3292
|
rawValue,
|
|
3184
3293
|
decimals,
|
|
3185
3294
|
valueClassName,
|
|
3186
3295
|
unitClassName,
|
|
3187
|
-
abbreviate
|
|
3296
|
+
abbreviate,
|
|
3297
|
+
emptyProps
|
|
3188
3298
|
}) => {
|
|
3189
3299
|
const { t } = useParrotTranslation();
|
|
3190
3300
|
if (isEmpty(rawValue)) {
|
|
3191
|
-
return Empty;
|
|
3301
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$d({}, emptyProps));
|
|
3192
3302
|
}
|
|
3193
3303
|
const { value, unit } = formatSeconds(rawValue, decimals);
|
|
3194
3304
|
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}`)));
|
|
@@ -3270,14 +3380,31 @@
|
|
|
3270
3380
|
})));
|
|
3271
3381
|
};
|
|
3272
3382
|
|
|
3383
|
+
var __defProp$c = Object.defineProperty;
|
|
3384
|
+
var __getOwnPropSymbols$c = Object.getOwnPropertySymbols;
|
|
3385
|
+
var __hasOwnProp$c = Object.prototype.hasOwnProperty;
|
|
3386
|
+
var __propIsEnum$c = Object.prototype.propertyIsEnumerable;
|
|
3387
|
+
var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3388
|
+
var __spreadValues$c = (a, b) => {
|
|
3389
|
+
for (var prop in b || (b = {}))
|
|
3390
|
+
if (__hasOwnProp$c.call(b, prop))
|
|
3391
|
+
__defNormalProp$c(a, prop, b[prop]);
|
|
3392
|
+
if (__getOwnPropSymbols$c)
|
|
3393
|
+
for (var prop of __getOwnPropSymbols$c(b)) {
|
|
3394
|
+
if (__propIsEnum$c.call(b, prop))
|
|
3395
|
+
__defNormalProp$c(a, prop, b[prop]);
|
|
3396
|
+
}
|
|
3397
|
+
return a;
|
|
3398
|
+
};
|
|
3273
3399
|
const Speed = ({
|
|
3274
3400
|
rawValue,
|
|
3275
3401
|
decimals,
|
|
3276
3402
|
valueClassName,
|
|
3277
|
-
unitClassName
|
|
3403
|
+
unitClassName,
|
|
3404
|
+
emptyProps
|
|
3278
3405
|
}) => {
|
|
3279
3406
|
if (isEmpty(rawValue)) {
|
|
3280
|
-
return Empty;
|
|
3407
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$c({}, emptyProps));
|
|
3281
3408
|
}
|
|
3282
3409
|
const { value, unit } = formatSpeed(rawValue, decimals);
|
|
3283
3410
|
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}`));
|
|
@@ -4704,7 +4831,7 @@
|
|
|
4704
4831
|
Second
|
|
4705
4832
|
},
|
|
4706
4833
|
inputGroup: InputGroup,
|
|
4707
|
-
Empty,
|
|
4834
|
+
Empty: /* @__PURE__ */ React__namespace.default.createElement(Empty, null),
|
|
4708
4835
|
alert: Alert,
|
|
4709
4836
|
searchInput: SearchInput,
|
|
4710
4837
|
badge: Badge,
|
|
@@ -5083,7 +5210,6 @@
|
|
|
5083
5210
|
exports.KitStoreProvider = KitStoreProvider;
|
|
5084
5211
|
exports.ModalActions = ModalActions;
|
|
5085
5212
|
exports.ModalStack = ModalStack;
|
|
5086
|
-
exports.ReduxContextProvider = ReduxContextProvider;
|
|
5087
5213
|
exports.Typo = Typo;
|
|
5088
5214
|
exports.UIKitProvider = UIKitProvider;
|
|
5089
5215
|
exports.UIKitStore = UIKitStore;
|