@cloudtower/eagle 0.27.2-alpha.0 → 0.27.2
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/Fields/FieldsString/FieldsString.stories.d.ts +1 -1
- package/dist/components/I18nNameTag/index.d.ts +2 -8
- package/dist/components/Loading/style.d.ts +4 -0
- package/dist/components/Tag/Tag.stories.d.ts +2 -2
- package/dist/components/Tag/style.d.ts +1 -0
- package/dist/components.css +1778 -2059
- package/dist/core/StepProgress/StepProgress.stories.d.ts +8 -0
- package/dist/core/StepProgress/index.d.ts +3 -0
- package/dist/esm/index.js +624 -593
- package/dist/esm/stats1.html +1 -1
- package/dist/spec/base.d.ts +19 -8
- package/dist/spec/type.d.ts +5 -0
- package/dist/style.css +1507 -1788
- package/dist/umd/index.js +621 -590
- package/dist/umd/stats1.html +1 -1
- package/dist/utils/icon.d.ts +2 -1
- package/dist/variables.scss +2 -0
- package/package.json +5 -6
- package/dist/components/images/index.d.ts +0 -15
package/dist/umd/index.js
CHANGED
|
@@ -108,8 +108,8 @@
|
|
|
108
108
|
);
|
|
109
109
|
|
|
110
110
|
var __defProp$X = Object.defineProperty;
|
|
111
|
-
var __defProps$
|
|
112
|
-
var __getOwnPropDescs$
|
|
111
|
+
var __defProps$F = Object.defineProperties;
|
|
112
|
+
var __getOwnPropDescs$F = Object.getOwnPropertyDescriptors;
|
|
113
113
|
var __getOwnPropSymbols$Z = Object.getOwnPropertySymbols;
|
|
114
114
|
var __hasOwnProp$Z = Object.prototype.hasOwnProperty;
|
|
115
115
|
var __propIsEnum$Z = Object.prototype.propertyIsEnumerable;
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
}
|
|
127
127
|
return a;
|
|
128
128
|
};
|
|
129
|
-
var __spreadProps$
|
|
129
|
+
var __spreadProps$F = (a, b) => __defProps$F(a, __getOwnPropDescs$F(b));
|
|
130
130
|
var __objRest$A = (source, exclude) => {
|
|
131
131
|
var target = {};
|
|
132
132
|
for (var prop in source) if (__hasOwnProp$Z.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
}
|
|
184
184
|
return src2;
|
|
185
185
|
}, [active, hover, suffix]);
|
|
186
|
-
return /* @__PURE__ */React__namespace.default.createElement(BaseIcon, __spreadProps$
|
|
186
|
+
return /* @__PURE__ */React__namespace.default.createElement(BaseIcon, __spreadProps$F(__spreadValues$X({
|
|
187
187
|
src: _src,
|
|
188
188
|
className: cs__default.default(IconWrapper, "icon-wrapper", className, isRotate && "is-rotate"),
|
|
189
189
|
suffixIconSrc,
|
|
@@ -519,6 +519,44 @@
|
|
|
519
519
|
}, props.children));
|
|
520
520
|
};
|
|
521
521
|
|
|
522
|
+
const CircleProgressStyle = "c1bus5hc";
|
|
523
|
+
const CircleProgress = props => {
|
|
524
|
+
const {
|
|
525
|
+
percent,
|
|
526
|
+
color = "#0080ff",
|
|
527
|
+
className
|
|
528
|
+
} = props;
|
|
529
|
+
const wrapperRef = React.useRef(null);
|
|
530
|
+
const childRef = React.useRef(null);
|
|
531
|
+
React.useLayoutEffect(() => {
|
|
532
|
+
var _a;
|
|
533
|
+
(_a = wrapperRef.current) == null ? void 0 : _a.style.setProperty("--color", color);
|
|
534
|
+
}, [color]);
|
|
535
|
+
React.useLayoutEffect(() => {
|
|
536
|
+
let deg = 0;
|
|
537
|
+
const childStyle = childRef.current.style;
|
|
538
|
+
if (percent <= 0.5) {
|
|
539
|
+
deg = 180 * (percent / 0.5);
|
|
540
|
+
childStyle.background = "white";
|
|
541
|
+
} else {
|
|
542
|
+
deg = 180 * ((percent - 0.5) / 0.5);
|
|
543
|
+
childStyle.background = color;
|
|
544
|
+
}
|
|
545
|
+
childStyle.transform = `rotate(${deg}deg)`;
|
|
546
|
+
}, [percent, color]);
|
|
547
|
+
return /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
548
|
+
className: cs__default.default(CircleProgressStyle, className),
|
|
549
|
+
ref: wrapperRef
|
|
550
|
+
}, /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
551
|
+
className: "circle-inner"
|
|
552
|
+
}, /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
553
|
+
className: "circle-content"
|
|
554
|
+
}), /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
555
|
+
className: "circle-child",
|
|
556
|
+
ref: childRef
|
|
557
|
+
})));
|
|
558
|
+
};
|
|
559
|
+
|
|
522
560
|
const Counting = (props) => {
|
|
523
561
|
const { stop, interval = 1e3, render } = props;
|
|
524
562
|
const [, setState] = React.useState(true);
|
|
@@ -536,8 +574,8 @@
|
|
|
536
574
|
};
|
|
537
575
|
|
|
538
576
|
var __defProp$V = Object.defineProperty;
|
|
539
|
-
var __defProps$
|
|
540
|
-
var __getOwnPropDescs$
|
|
577
|
+
var __defProps$E = Object.defineProperties;
|
|
578
|
+
var __getOwnPropDescs$E = Object.getOwnPropertyDescriptors;
|
|
541
579
|
var __getOwnPropSymbols$X = Object.getOwnPropertySymbols;
|
|
542
580
|
var __hasOwnProp$X = Object.prototype.hasOwnProperty;
|
|
543
581
|
var __propIsEnum$X = Object.prototype.propertyIsEnumerable;
|
|
@@ -553,7 +591,7 @@
|
|
|
553
591
|
}
|
|
554
592
|
return a;
|
|
555
593
|
};
|
|
556
|
-
var __spreadProps$
|
|
594
|
+
var __spreadProps$E = (a, b) => __defProps$E(a, __getOwnPropDescs$E(b));
|
|
557
595
|
var __objRest$y = (source, exclude) => {
|
|
558
596
|
var target = {};
|
|
559
597
|
for (var prop in source)
|
|
@@ -615,7 +653,7 @@
|
|
|
615
653
|
}, [followMouse, onmousemove, uniqueContainerClass]);
|
|
616
654
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
617
655
|
antd.Tooltip,
|
|
618
|
-
__spreadProps$
|
|
656
|
+
__spreadProps$E(__spreadValues$V({}, restProps), {
|
|
619
657
|
overlayClassName: followMouse ? cs__default.default(overlayClassName, uniquePopupClass) : overlayClassName,
|
|
620
658
|
children: _children,
|
|
621
659
|
overlayStyle: followMouse ? __spreadValues$V({
|
|
@@ -627,8 +665,8 @@
|
|
|
627
665
|
};
|
|
628
666
|
|
|
629
667
|
var __defProp$U = Object.defineProperty;
|
|
630
|
-
var __defProps$
|
|
631
|
-
var __getOwnPropDescs$
|
|
668
|
+
var __defProps$D = Object.defineProperties;
|
|
669
|
+
var __getOwnPropDescs$D = Object.getOwnPropertyDescriptors;
|
|
632
670
|
var __getOwnPropSymbols$W = Object.getOwnPropertySymbols;
|
|
633
671
|
var __hasOwnProp$W = Object.prototype.hasOwnProperty;
|
|
634
672
|
var __propIsEnum$W = Object.prototype.propertyIsEnumerable;
|
|
@@ -645,7 +683,7 @@
|
|
|
645
683
|
}
|
|
646
684
|
return a;
|
|
647
685
|
};
|
|
648
|
-
var __spreadProps$
|
|
686
|
+
var __spreadProps$D = (a, b) => __defProps$D(a, __getOwnPropDescs$D(b));
|
|
649
687
|
var __objRest$x = (source, exclude) => {
|
|
650
688
|
var target = {};
|
|
651
689
|
for (var prop in source) if (__hasOwnProp$W.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
@@ -681,7 +719,7 @@
|
|
|
681
719
|
ref: textWrapper,
|
|
682
720
|
className: textWrapperCls
|
|
683
721
|
}, text);
|
|
684
|
-
return isTextTruncated ? /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadProps$
|
|
722
|
+
return isTextTruncated ? /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadProps$D(__spreadValues$U({}, restProps), {
|
|
685
723
|
title: text,
|
|
686
724
|
"data-testid": "text-tooltip"
|
|
687
725
|
}), /* @__PURE__ */React__namespace.default.createElement(TruncatedTextWrapper, null, renderName())) : renderName();
|
|
@@ -872,46 +910,26 @@
|
|
|
872
910
|
};
|
|
873
911
|
}
|
|
874
912
|
|
|
875
|
-
var img$9 = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4.11092 7.0535C3.91566 6.85824 3.91566 6.54166 4.11092 6.3464C4.30619 6.15114 4.62277 6.15114 4.81803 6.3464L8.00001 9.52838L8.35226 9.17613L8.35356 9.17482L11.182 6.3464C11.3773 6.15114 11.6938 6.15114 11.8891 6.3464C12.0844 6.54166 12.0844 6.85824 11.8891 7.0535L10.4408 8.50184C10.4288 8.51384 10.4166 8.52604 10.4042 8.53843L9.13138 9.81122C9.11899 9.82361 9.1068 9.83581 9.09479 9.84781L9.06067 9.88193L9.057 9.88556C8.70964 10.2323 8.5226 10.41 8.30903 10.4794C8.10819 10.5447 7.89184 10.5447 7.691 10.4794C7.47748 10.4101 7.29048 10.2324 6.94327 9.88581L6.93935 9.88193L4.11092 7.0535Z' fill='%230080FF'/%3e%3c/svg%3e";
|
|
876
|
-
|
|
877
|
-
var img$8 = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4.11092 7.0535C3.91566 6.85824 3.91566 6.54166 4.11092 6.3464C4.30619 6.15114 4.62277 6.15114 4.81803 6.3464L8.00001 9.52838L8.35226 9.17613L8.35356 9.17482L11.182 6.3464C11.3773 6.15114 11.6938 6.15114 11.8891 6.3464C12.0844 6.54166 12.0844 6.85824 11.8891 7.0535L10.4408 8.50184C10.4288 8.51384 10.4166 8.52604 10.4042 8.53843L9.13138 9.81122C9.11899 9.82361 9.1068 9.83581 9.09479 9.84781L9.06067 9.88193L9.057 9.88556C8.70964 10.2323 8.5226 10.41 8.30903 10.4794C8.10819 10.5447 7.89184 10.5447 7.691 10.4794C7.47748 10.4101 7.29048 10.2324 6.94327 9.88581L6.93935 9.88193L4.11092 7.0535Z' fill='%232C3852' fill-opacity='0.6'/%3e%3c/svg%3e";
|
|
878
|
-
|
|
879
|
-
var img$7 = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9.06067 3.75725C9.45119 3.36672 10.0844 3.36672 10.4749 3.75725C10.8654 4.14777 10.8654 4.78094 10.4749 5.17146L7.64645 7.99989L10.4749 10.8283C10.8654 11.2188 10.8654 11.852 10.4749 12.2425C10.0844 12.6331 9.45119 12.6331 9.06067 12.2425L5.9494 9.13126C5.55338 8.73524 5.35537 8.53723 5.28118 8.30891C5.21592 8.10806 5.21592 7.89172 5.28118 7.69087C5.35537 7.46254 5.55338 7.26454 5.9494 6.86852L9.06067 3.75725Z' fill='%230080FF'/%3e%3c/svg%3e";
|
|
880
|
-
|
|
881
|
-
var img$6 = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.05028 9.4142L6.86865 5.59582C6.87513 5.58934 6.88156 5.58292 6.88793 5.57655C7.27116 5.19336 7.46641 5.00058 7.69101 4.92761C7.89185 4.86235 8.1082 4.86235 8.30904 4.92761C8.53737 5.00179 8.73538 5.1998 9.1314 5.59582L12.9498 9.4142C13.3403 9.80472 13.3403 10.4379 12.9498 10.8284C12.5592 11.2189 11.9261 11.2189 11.5356 10.8284L8.00003 7.29288L4.46449 10.8284C4.07397 11.2189 3.4408 11.2189 3.05028 10.8284C2.65975 10.4379 2.65975 9.80472 3.05028 9.4142Z' fill='%232C3852' fill-opacity='0.6'/%3e%3c/svg%3e";
|
|
882
|
-
|
|
883
|
-
var img$5 = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5ZM11.134 6.56615C11.3346 6.28527 11.2696 5.89493 10.9887 5.6943C10.7078 5.49367 10.3175 5.55872 10.1168 5.83961L7.26389 9.83372L5.81653 8.38635C5.57245 8.14227 5.17672 8.14227 4.93265 8.38635C4.68857 8.63043 4.68857 9.02616 4.93265 9.27023L6.90171 11.2393C7.03162 11.3692 7.2121 11.4354 7.3952 11.4202C7.57829 11.4051 7.74545 11.3101 7.85223 11.1606L11.134 6.56615Z' fill='%2300BA5D'/%3e%3c/svg%3e";
|
|
884
|
-
|
|
885
|
-
var img$4 = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9.81662 7.33209C10.1545 7.55506 10.3235 7.66655 10.3822 7.80742C10.4336 7.93055 10.4336 8.0691 10.3822 8.19224C10.3235 8.33311 10.1545 8.4446 9.81662 8.66757L6.81921 10.6454C6.4159 10.9115 6.21424 11.0445 6.04715 11.034C5.90158 11.0248 5.76727 10.9525 5.67943 10.8361C5.57861 10.7024 5.57861 10.4608 5.57861 9.97761L5.57861 6.02205C5.57861 5.53885 5.57861 5.29726 5.67943 5.16359C5.76727 5.04714 5.90158 4.97485 6.04715 4.96567C6.21424 4.95513 6.4159 5.08819 6.81921 5.35431L9.81662 7.33209Z' fill='%230080FF'/%3e%3c/svg%3e";
|
|
886
|
-
|
|
887
|
-
var img$3 = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5ZM8.75 11.5C8.75 11.9142 8.41421 12.25 8 12.25C7.58579 12.25 7.25 11.9142 7.25 11.5V7.99812C7.25 7.58391 7.58579 7.24812 8 7.24812C8.41421 7.24812 8.75 7.58391 8.75 7.99812V11.5ZM8.875 5.125C8.875 5.60825 8.48325 6 8 6C7.51675 6 7.125 5.60825 7.125 5.125C7.125 4.64175 7.51675 4.25 8 4.25C8.48325 4.25 8.875 4.64175 8.875 5.125Z' fill='%230080FF'/%3e%3c/svg%3e";
|
|
888
|
-
|
|
889
|
-
var img$2 = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5ZM8.75 11.5C8.75 11.9142 8.41421 12.25 8 12.25C7.58579 12.25 7.25 11.9142 7.25 11.5V7.99812C7.25 7.58391 7.58579 7.24812 8 7.24812C8.41421 7.24812 8.75 7.58391 8.75 7.99812V11.5ZM8.875 5.125C8.875 5.60825 8.48325 6 8 6C7.51675 6 7.125 5.60825 7.125 5.125C7.125 4.64175 7.51675 4.25 8 4.25C8.48325 4.25 8.875 4.64175 8.875 5.125Z' fill='%232C3852' fill-opacity='0.6'/%3e%3c/svg%3e";
|
|
890
|
-
|
|
891
|
-
var img$1 = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.60245 1.88247C7.31193 2.00834 7.08625 2.37752 6.63487 3.11589L1.69402 11.1983C1.20753 11.9941 0.964285 12.392 0.992929 12.7198C1.0179 13.0056 1.16444 13.267 1.39527 13.4373C1.66005 13.6328 2.12641 13.6328 3.05915 13.6328H12.9408C13.8736 13.6328 14.34 13.6328 14.6047 13.4373C14.8356 13.267 14.9821 13.0056 15.0071 12.7198C15.0357 12.392 14.7925 11.9941 14.306 11.1983L9.36513 3.11589C8.91375 2.37752 8.68807 2.00834 8.39755 1.88247C8.14391 1.77258 7.85609 1.77258 7.60245 1.88247ZM7.25 5.38278C7.25 4.96856 7.58579 4.63278 8 4.63278C8.41421 4.63278 8.75 4.96856 8.75 5.38278V9.38278C8.75 9.79699 8.41421 10.1328 8 10.1328C7.58579 10.1328 7.25 9.79699 7.25 9.38278V5.38278ZM7.125 11.7578C7.125 11.2745 7.51675 10.8828 8 10.8828C8.48325 10.8828 8.875 11.2745 8.875 11.7578C8.875 12.241 8.48325 12.6328 8 12.6328C7.51675 12.6328 7.125 12.241 7.125 11.7578Z' fill='%23FEA008'/%3e%3c/svg%3e";
|
|
892
|
-
|
|
893
|
-
var img = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M4.47964 2.70117L2.70108 4.47973C2.35518 4.82563 2.18223 4.99859 2.05854 5.20042C1.94889 5.37936 1.86808 5.57445 1.81908 5.77853C1.76382 6.0087 1.76382 6.25329 1.76382 6.74247V9.25773C1.76382 9.74691 1.76382 9.9915 1.81908 10.2217C1.86808 10.4258 1.94889 10.6208 2.05854 10.7998C2.18223 11.0016 2.35518 11.1746 2.70108 11.5205L4.47964 13.299C4.82554 13.6449 4.9985 13.8179 5.20033 13.9416C5.37927 14.0512 5.57436 14.132 5.77843 14.181C6.00861 14.2363 6.2532 14.2363 6.74238 14.2363H9.25764C9.74682 14.2363 9.99141 14.2363 10.2216 14.181C10.4257 14.132 10.6207 14.0512 10.7997 13.9416C11.0015 13.8179 11.1745 13.6449 11.5204 13.299L13.2989 11.5205C13.6448 11.1746 13.8178 11.0016 13.9415 10.7998C14.0511 10.6208 14.1319 10.4258 14.1809 10.2217C14.2362 9.9915 14.2362 9.74691 14.2362 9.25773V6.74247C14.2362 6.25329 14.2362 6.0087 14.1809 5.77853C14.1319 5.57445 14.0511 5.37936 13.9415 5.20042C13.8178 4.99859 13.6448 4.82563 13.2989 4.47973L11.5204 2.70117C11.1745 2.35527 11.0015 2.18232 10.7997 2.05864C10.6207 1.94898 10.4257 1.86817 10.2216 1.81918C9.99141 1.76392 9.74682 1.76392 9.25764 1.76392H6.74238C6.2532 1.76392 6.00861 1.76392 5.77843 1.81918C5.57436 1.86817 5.37927 1.94898 5.20033 2.05864C4.99849 2.18232 4.82554 2.35527 4.47964 2.70117ZM9.94454 5.17157C10.1886 4.92749 10.5843 4.92749 10.8284 5.17157C11.0725 5.41564 11.0725 5.81137 10.8284 6.05545L8.88389 7.99998L10.8285 9.94457C11.0726 10.1886 11.0726 10.5844 10.8285 10.8284C10.5844 11.0725 10.1887 11.0725 9.9446 10.8284L8.00001 8.88386L6.05545 10.8284C5.81138 11.0725 5.41565 11.0725 5.17157 10.8284C4.92749 10.5843 4.92749 10.1886 5.17157 9.94454L7.11613 7.99998L5.17162 6.05548C4.92755 5.8114 4.92755 5.41567 5.17162 5.17159C5.4157 4.92752 5.81143 4.92752 6.05551 5.17159L8.00001 7.1161L9.94454 5.17157Z' fill='%23F0483E'/%3e%3c/svg%3e";
|
|
894
|
-
|
|
895
913
|
function getAlertIcon(type) {
|
|
896
914
|
switch (type) {
|
|
897
915
|
case "success":
|
|
898
|
-
return
|
|
916
|
+
return iconsReact.CheckmarkDoneSuccessCircleFill16GreenIcon;
|
|
899
917
|
case "info":
|
|
900
|
-
return
|
|
918
|
+
return iconsReact.InfoICircleFill16BlueIcon;
|
|
901
919
|
case "warning":
|
|
902
|
-
return
|
|
920
|
+
return iconsReact.NoticeAttention16YellowIcon;
|
|
903
921
|
case "error":
|
|
904
|
-
return
|
|
922
|
+
return iconsReact.XmarkFailedSeriousWarningFill16RedIcon;
|
|
905
923
|
case "normal":
|
|
906
|
-
return
|
|
924
|
+
return iconsReact.InfoICircleFill16SecondaryIcon;
|
|
907
925
|
default:
|
|
908
|
-
return
|
|
926
|
+
return iconsReact.InfoICircleFill16SecondaryIcon;
|
|
909
927
|
}
|
|
910
928
|
}
|
|
911
929
|
|
|
912
930
|
var __defProp$T = Object.defineProperty;
|
|
913
|
-
var __defProps$
|
|
914
|
-
var __getOwnPropDescs$
|
|
931
|
+
var __defProps$C = Object.defineProperties;
|
|
932
|
+
var __getOwnPropDescs$C = Object.getOwnPropertyDescriptors;
|
|
915
933
|
var __getOwnPropSymbols$V = Object.getOwnPropertySymbols;
|
|
916
934
|
var __hasOwnProp$V = Object.prototype.hasOwnProperty;
|
|
917
935
|
var __propIsEnum$V = Object.prototype.propertyIsEnumerable;
|
|
@@ -928,7 +946,7 @@
|
|
|
928
946
|
}
|
|
929
947
|
return a;
|
|
930
948
|
};
|
|
931
|
-
var __spreadProps$
|
|
949
|
+
var __spreadProps$C = (a, b) => __defProps$C(a, __getOwnPropDescs$C(b));
|
|
932
950
|
var __objRest$w = (source, exclude) => {
|
|
933
951
|
var target = {};
|
|
934
952
|
for (var prop in source) if (__hasOwnProp$V.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
@@ -957,7 +975,7 @@
|
|
|
957
975
|
src: getAlertIcon(type)
|
|
958
976
|
});
|
|
959
977
|
const _type = type === "normal" ? "info" : type;
|
|
960
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Alert, __spreadProps$
|
|
978
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Alert, __spreadProps$C(__spreadValues$T({}, props), {
|
|
961
979
|
className: cs__default.default(AlertStyle, type ? `alert-${type}` : "", className, {
|
|
962
980
|
action
|
|
963
981
|
}),
|
|
@@ -996,8 +1014,8 @@
|
|
|
996
1014
|
};
|
|
997
1015
|
|
|
998
1016
|
var __defProp$S = Object.defineProperty;
|
|
999
|
-
var __defProps$
|
|
1000
|
-
var __getOwnPropDescs$
|
|
1017
|
+
var __defProps$B = Object.defineProperties;
|
|
1018
|
+
var __getOwnPropDescs$B = Object.getOwnPropertyDescriptors;
|
|
1001
1019
|
var __getOwnPropSymbols$U = Object.getOwnPropertySymbols;
|
|
1002
1020
|
var __hasOwnProp$U = Object.prototype.hasOwnProperty;
|
|
1003
1021
|
var __propIsEnum$U = Object.prototype.propertyIsEnumerable;
|
|
@@ -1013,7 +1031,7 @@
|
|
|
1013
1031
|
}
|
|
1014
1032
|
return a;
|
|
1015
1033
|
};
|
|
1016
|
-
var __spreadProps$
|
|
1034
|
+
var __spreadProps$B = (a, b) => __defProps$B(a, __getOwnPropDescs$B(b));
|
|
1017
1035
|
var __objRest$v = (source, exclude) => {
|
|
1018
1036
|
var target = {};
|
|
1019
1037
|
for (var prop in source)
|
|
@@ -1030,7 +1048,7 @@
|
|
|
1030
1048
|
var _b = _a, { type = "error", className } = _b, props = __objRest$v(_b, ["type", "className"]);
|
|
1031
1049
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
1032
1050
|
antd.Badge,
|
|
1033
|
-
__spreadProps$
|
|
1051
|
+
__spreadProps$B(__spreadValues$S({
|
|
1034
1052
|
className: core.cx(`badge-${type}`, className)
|
|
1035
1053
|
}, props), {
|
|
1036
1054
|
showZero: false
|
|
@@ -1423,8 +1441,8 @@
|
|
|
1423
1441
|
});
|
|
1424
1442
|
|
|
1425
1443
|
var __defProp$K = Object.defineProperty;
|
|
1426
|
-
var __defProps$
|
|
1427
|
-
var __getOwnPropDescs$
|
|
1444
|
+
var __defProps$A = Object.defineProperties;
|
|
1445
|
+
var __getOwnPropDescs$A = Object.getOwnPropertyDescriptors;
|
|
1428
1446
|
var __getOwnPropSymbols$M = Object.getOwnPropertySymbols;
|
|
1429
1447
|
var __hasOwnProp$M = Object.prototype.hasOwnProperty;
|
|
1430
1448
|
var __propIsEnum$M = Object.prototype.propertyIsEnumerable;
|
|
@@ -1440,7 +1458,7 @@
|
|
|
1440
1458
|
}
|
|
1441
1459
|
return a;
|
|
1442
1460
|
};
|
|
1443
|
-
var __spreadProps$
|
|
1461
|
+
var __spreadProps$A = (a, b) => __defProps$A(a, __getOwnPropDescs$A(b));
|
|
1444
1462
|
var __objRest$r = (source, exclude) => {
|
|
1445
1463
|
var target = {};
|
|
1446
1464
|
for (var prop in source)
|
|
@@ -1475,7 +1493,7 @@
|
|
|
1475
1493
|
const [open, setOpen] = React.useState(defaultOpen);
|
|
1476
1494
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
1477
1495
|
CardWrapper,
|
|
1478
|
-
__spreadProps$
|
|
1496
|
+
__spreadProps$A(__spreadValues$K({
|
|
1479
1497
|
ref,
|
|
1480
1498
|
className: cs__default.default(["card-wrapper", className, hoverable && "hoverable"])
|
|
1481
1499
|
}, domProps), {
|
|
@@ -1505,8 +1523,8 @@
|
|
|
1505
1523
|
);
|
|
1506
1524
|
|
|
1507
1525
|
var __defProp$J = Object.defineProperty;
|
|
1508
|
-
var __defProps$
|
|
1509
|
-
var __getOwnPropDescs$
|
|
1526
|
+
var __defProps$z = Object.defineProperties;
|
|
1527
|
+
var __getOwnPropDescs$z = Object.getOwnPropertyDescriptors;
|
|
1510
1528
|
var __getOwnPropSymbols$L = Object.getOwnPropertySymbols;
|
|
1511
1529
|
var __hasOwnProp$L = Object.prototype.hasOwnProperty;
|
|
1512
1530
|
var __propIsEnum$L = Object.prototype.propertyIsEnumerable;
|
|
@@ -1523,7 +1541,7 @@
|
|
|
1523
1541
|
}
|
|
1524
1542
|
return a;
|
|
1525
1543
|
};
|
|
1526
|
-
var __spreadProps$
|
|
1544
|
+
var __spreadProps$z = (a, b) => __defProps$z(a, __getOwnPropDescs$z(b));
|
|
1527
1545
|
var __objRest$q = (source, exclude) => {
|
|
1528
1546
|
var target = {};
|
|
1529
1547
|
for (var prop in source) if (__hasOwnProp$L.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
@@ -1542,7 +1560,7 @@
|
|
|
1542
1560
|
compact
|
|
1543
1561
|
} = _b,
|
|
1544
1562
|
props = __objRest$q(_b, ["className", "children", "description", "compact"]);
|
|
1545
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Checkbox, __spreadProps$
|
|
1563
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Checkbox, __spreadProps$z(__spreadValues$J({}, props), {
|
|
1546
1564
|
"data-test": props["data-test"] || props.value,
|
|
1547
1565
|
className: cs__default.default(className, CheckboxStyle, compact && "compact")
|
|
1548
1566
|
}), children ? /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
@@ -1732,7 +1750,14 @@
|
|
|
1732
1750
|
const InputStyle = "ipd9bk";
|
|
1733
1751
|
const KitInputStyle = "kypn5o5";
|
|
1734
1752
|
|
|
1753
|
+
const LoadingWrapper = "l4bld33";
|
|
1754
|
+
const LoadingLine1 = "lgitjoj";
|
|
1755
|
+
const LoadingLine2 = "l13g0exg";
|
|
1756
|
+
const LoadingLine3 = "l1exo3h6";
|
|
1757
|
+
|
|
1735
1758
|
var __defProp$H = Object.defineProperty;
|
|
1759
|
+
var __defProps$y = Object.defineProperties;
|
|
1760
|
+
var __getOwnPropDescs$y = Object.getOwnPropertyDescriptors;
|
|
1736
1761
|
var __getOwnPropSymbols$I = Object.getOwnPropertySymbols;
|
|
1737
1762
|
var __hasOwnProp$I = Object.prototype.hasOwnProperty;
|
|
1738
1763
|
var __propIsEnum$I = Object.prototype.propertyIsEnumerable;
|
|
@@ -1748,10 +1773,11 @@
|
|
|
1748
1773
|
}
|
|
1749
1774
|
return a;
|
|
1750
1775
|
};
|
|
1776
|
+
var __spreadProps$y = (a, b) => __defProps$y(a, __getOwnPropDescs$y(b));
|
|
1751
1777
|
const Loading = ({ fullView = true }) => {
|
|
1752
1778
|
const Wrapper = fullView ? FullView : React.Fragment;
|
|
1753
1779
|
const props = fullView ? { className: "loading-full-view" } : {};
|
|
1754
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Wrapper, __spreadValues$H({}, props), /* @__PURE__ */ React__namespace.default.createElement("div", { className:
|
|
1780
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Wrapper, __spreadProps$y(__spreadValues$H({}, props), { "data-testid": "loading" }), /* @__PURE__ */ React__namespace.default.createElement("div", { className: LoadingWrapper }, /* @__PURE__ */ React__namespace.default.createElement("div", { className: LoadingLine1 }), /* @__PURE__ */ React__namespace.default.createElement("div", { className: LoadingLine2 }), /* @__PURE__ */ React__namespace.default.createElement("div", { className: LoadingLine3 })));
|
|
1755
1781
|
};
|
|
1756
1782
|
|
|
1757
1783
|
var __defProp$G = Object.defineProperty;
|
|
@@ -2578,7 +2604,7 @@
|
|
|
2578
2604
|
size,
|
|
2579
2605
|
allowClear,
|
|
2580
2606
|
onClick,
|
|
2581
|
-
prefix: focusIndicator ? /* @__PURE__ */ React__namespace.default.createElement(Icon, { alt: "focusIndicator16Blue", src:
|
|
2607
|
+
prefix: focusIndicator ? /* @__PURE__ */ React__namespace.default.createElement(Icon, { alt: "focusIndicator16Blue", src: iconsReact.FocusIndicator16BlueIcon }) : void 0,
|
|
2582
2608
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
2583
2609
|
}), props), {
|
|
2584
2610
|
onChange: (e) => {
|
|
@@ -2911,9 +2937,43 @@
|
|
|
2911
2937
|
return /* @__PURE__ */ React__namespace.default.createElement(reactI18next.Trans, __spreadValues$r({ i18n }, props));
|
|
2912
2938
|
};
|
|
2913
2939
|
|
|
2940
|
+
const PresetColors$3 = [
|
|
2941
|
+
"blue",
|
|
2942
|
+
"red",
|
|
2943
|
+
"yellow",
|
|
2944
|
+
"green",
|
|
2945
|
+
"gray",
|
|
2946
|
+
"purple"
|
|
2947
|
+
];
|
|
2948
|
+
|
|
2949
|
+
const Size$1 = {
|
|
2950
|
+
small: "sut42l0",
|
|
2951
|
+
medium: "mfsz1jz"
|
|
2952
|
+
};
|
|
2953
|
+
const TagStyle$1 = "tnd6h4m";
|
|
2954
|
+
const IconStyle$1 = "i1qw4clm";
|
|
2955
|
+
const NameTagStyle = "n1r5ku5l";
|
|
2956
|
+
|
|
2957
|
+
var __defProp$q = Object.defineProperty;
|
|
2958
|
+
var __defProps$k = Object.defineProperties;
|
|
2959
|
+
var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
|
|
2914
2960
|
var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
|
|
2915
2961
|
var __hasOwnProp$r = Object.prototype.hasOwnProperty;
|
|
2916
2962
|
var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
|
|
2963
|
+
var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, {
|
|
2964
|
+
enumerable: true,
|
|
2965
|
+
configurable: true,
|
|
2966
|
+
writable: true,
|
|
2967
|
+
value
|
|
2968
|
+
}) : obj[key] = value;
|
|
2969
|
+
var __spreadValues$q = (a, b) => {
|
|
2970
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$r.call(b, prop)) __defNormalProp$q(a, prop, b[prop]);
|
|
2971
|
+
if (__getOwnPropSymbols$r) for (var prop of __getOwnPropSymbols$r(b)) {
|
|
2972
|
+
if (__propIsEnum$r.call(b, prop)) __defNormalProp$q(a, prop, b[prop]);
|
|
2973
|
+
}
|
|
2974
|
+
return a;
|
|
2975
|
+
};
|
|
2976
|
+
var __spreadProps$k = (a, b) => __defProps$k(a, __getOwnPropDescs$k(b));
|
|
2917
2977
|
var __objRest$a = (source, exclude) => {
|
|
2918
2978
|
var target = {};
|
|
2919
2979
|
for (var prop in source) if (__hasOwnProp$r.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
@@ -2922,22 +2982,137 @@
|
|
|
2922
2982
|
}
|
|
2923
2983
|
return target;
|
|
2924
2984
|
};
|
|
2925
|
-
const
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2985
|
+
const WrapperStyle = "w1xcixj5";
|
|
2986
|
+
const SplitTag = _a => {
|
|
2987
|
+
var _b = _a,
|
|
2988
|
+
{
|
|
2989
|
+
size = "small",
|
|
2990
|
+
color = "gray",
|
|
2991
|
+
className,
|
|
2992
|
+
primaryContent,
|
|
2993
|
+
secondaryContent,
|
|
2994
|
+
icon
|
|
2995
|
+
} = _b,
|
|
2996
|
+
props = __objRest$a(_b, ["size", "color", "className", "primaryContent", "secondaryContent", "icon"]);
|
|
2997
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$k(__spreadValues$q({}, props), {
|
|
2998
|
+
className: cs__default.default(className, TagStyle$1, Size$1[size], WrapperStyle, Typo.Label.l4_regular, {
|
|
2999
|
+
[`ant-tag-${color}`]: PresetColors$3.includes(color)
|
|
3000
|
+
}, "outside-tag")
|
|
3001
|
+
}), /* @__PURE__ */React__namespace.default.createElement(antd.Tag, {
|
|
3002
|
+
className: cs__default.default(Size$1[size], TagStyle$1, Typo.Label.l4_regular, {
|
|
3003
|
+
[`ant-tag-${color}`]: PresetColors$3.includes(color)
|
|
3004
|
+
}, "inside-tag")
|
|
3005
|
+
}, icon && /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
3006
|
+
className: cs__default.default("ui-kit-tag-icon", IconStyle$1)
|
|
3007
|
+
}, icon), primaryContent), secondaryContent);
|
|
3008
|
+
};
|
|
3009
|
+
|
|
3010
|
+
var __defProp$p = Object.defineProperty;
|
|
3011
|
+
var __defProps$j = Object.defineProperties;
|
|
3012
|
+
var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
|
|
3013
|
+
var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
|
|
3014
|
+
var __hasOwnProp$q = Object.prototype.hasOwnProperty;
|
|
3015
|
+
var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
|
|
3016
|
+
var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3017
|
+
var __spreadValues$p = (a, b) => {
|
|
3018
|
+
for (var prop in b || (b = {}))
|
|
3019
|
+
if (__hasOwnProp$q.call(b, prop))
|
|
3020
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
3021
|
+
if (__getOwnPropSymbols$q)
|
|
3022
|
+
for (var prop of __getOwnPropSymbols$q(b)) {
|
|
3023
|
+
if (__propIsEnum$q.call(b, prop))
|
|
3024
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
3025
|
+
}
|
|
3026
|
+
return a;
|
|
3027
|
+
};
|
|
3028
|
+
var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
|
|
3029
|
+
var __objRest$9 = (source, exclude) => {
|
|
3030
|
+
var target = {};
|
|
3031
|
+
for (var prop in source)
|
|
3032
|
+
if (__hasOwnProp$q.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3033
|
+
target[prop] = source[prop];
|
|
3034
|
+
if (source != null && __getOwnPropSymbols$q)
|
|
3035
|
+
for (var prop of __getOwnPropSymbols$q(source)) {
|
|
3036
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$q.call(source, prop))
|
|
3037
|
+
target[prop] = source[prop];
|
|
3038
|
+
}
|
|
3039
|
+
return target;
|
|
3040
|
+
};
|
|
3041
|
+
const PresetColors$2 = [
|
|
3042
|
+
...PresetColors$3,
|
|
3043
|
+
"red-ontint",
|
|
3044
|
+
"green-ontint"
|
|
3045
|
+
];
|
|
3046
|
+
const AntdColorMap = {
|
|
3047
|
+
processing: "blue",
|
|
3048
|
+
success: "green",
|
|
3049
|
+
error: "red",
|
|
3050
|
+
warn: "yellow",
|
|
3051
|
+
default: "gray"
|
|
3052
|
+
};
|
|
3053
|
+
const Tag = (_a) => {
|
|
3054
|
+
var _b = _a, {
|
|
3055
|
+
size = "small",
|
|
3056
|
+
color = "gray",
|
|
3057
|
+
className,
|
|
3058
|
+
hoverable = false,
|
|
3059
|
+
icon,
|
|
3060
|
+
children
|
|
3061
|
+
} = _b, props = __objRest$9(_b, [
|
|
3062
|
+
"size",
|
|
3063
|
+
"color",
|
|
3064
|
+
"className",
|
|
3065
|
+
"hoverable",
|
|
3066
|
+
"icon",
|
|
3067
|
+
"children"
|
|
3068
|
+
]);
|
|
3069
|
+
const computedColor = AntdColorMap[color] || color;
|
|
3070
|
+
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
3071
|
+
antd.Tag,
|
|
3072
|
+
__spreadProps$j(__spreadValues$p({}, props), {
|
|
3073
|
+
className: cs__default.default(className, Size$1[size], TagStyle$1, Typo.Label.l4_regular, {
|
|
3074
|
+
[`ant-tag-${computedColor}`]: PresetColors$2.includes(computedColor),
|
|
3075
|
+
"tag-hover": hoverable
|
|
3076
|
+
}),
|
|
3077
|
+
closable: false,
|
|
3078
|
+
color: computedColor === "gray" ? void 0 : computedColor
|
|
3079
|
+
}),
|
|
3080
|
+
icon && /* @__PURE__ */ React__namespace.default.createElement("span", { className: IconStyle$1 }, icon),
|
|
3081
|
+
children
|
|
3082
|
+
);
|
|
3083
|
+
};
|
|
3084
|
+
const NameTag = (_c) => {
|
|
3085
|
+
var _d = _c, { className } = _d, props = __objRest$9(_d, ["className"]);
|
|
3086
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Tag, __spreadValues$p({ className: cs__default.default(NameTagStyle, className) }, props));
|
|
3087
|
+
};
|
|
3088
|
+
Tag.SplitTag = SplitTag;
|
|
3089
|
+
Tag.NameTag = NameTag;
|
|
3090
|
+
|
|
3091
|
+
var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
|
|
3092
|
+
var __hasOwnProp$p = Object.prototype.hasOwnProperty;
|
|
3093
|
+
var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
|
|
3094
|
+
var __objRest$8 = (source, exclude) => {
|
|
3095
|
+
var target = {};
|
|
3096
|
+
for (var prop in source) if (__hasOwnProp$p.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
3097
|
+
if (source != null && __getOwnPropSymbols$p) for (var prop of __getOwnPropSymbols$p(source)) {
|
|
3098
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$p.call(source, prop)) target[prop] = source[prop];
|
|
3099
|
+
}
|
|
3100
|
+
return target;
|
|
3101
|
+
};
|
|
3102
|
+
const tagStyle = "t3qomhu";
|
|
2930
3103
|
const I18nNameTag = props => {
|
|
2931
3104
|
const _a = props,
|
|
2932
3105
|
{
|
|
2933
3106
|
name,
|
|
2934
3107
|
i18nKey
|
|
2935
3108
|
} = _a,
|
|
2936
|
-
otherOption = __objRest$
|
|
3109
|
+
otherOption = __objRest$8(_a, ["name", "i18nKey"]);
|
|
2937
3110
|
return /* @__PURE__ */React__namespace.default.createElement(ParrotTrans, {
|
|
2938
3111
|
i18nKey,
|
|
2939
3112
|
tOptions: otherOption
|
|
2940
|
-
}, "h", /* @__PURE__ */React__namespace.default.createElement(NameTag,
|
|
3113
|
+
}, "h", /* @__PURE__ */React__namespace.default.createElement(Tag.NameTag, {
|
|
3114
|
+
className: tagStyle
|
|
3115
|
+
}, {
|
|
2941
3116
|
name
|
|
2942
3117
|
}));
|
|
2943
3118
|
};
|
|
@@ -2949,25 +3124,25 @@
|
|
|
2949
3124
|
propsAsIs: true
|
|
2950
3125
|
});
|
|
2951
3126
|
|
|
2952
|
-
var __defProp$
|
|
2953
|
-
var __defProps$
|
|
2954
|
-
var __getOwnPropDescs$
|
|
2955
|
-
var __getOwnPropSymbols$
|
|
2956
|
-
var __hasOwnProp$
|
|
2957
|
-
var __propIsEnum$
|
|
2958
|
-
var __defNormalProp$
|
|
2959
|
-
var __spreadValues$
|
|
3127
|
+
var __defProp$o = Object.defineProperty;
|
|
3128
|
+
var __defProps$i = Object.defineProperties;
|
|
3129
|
+
var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
|
|
3130
|
+
var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
|
|
3131
|
+
var __hasOwnProp$o = Object.prototype.hasOwnProperty;
|
|
3132
|
+
var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
|
|
3133
|
+
var __defNormalProp$o = (obj, key2, value) => key2 in obj ? __defProp$o(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value;
|
|
3134
|
+
var __spreadValues$o = (a, b) => {
|
|
2960
3135
|
for (var prop in b || (b = {}))
|
|
2961
|
-
if (__hasOwnProp$
|
|
2962
|
-
__defNormalProp$
|
|
2963
|
-
if (__getOwnPropSymbols$
|
|
2964
|
-
for (var prop of __getOwnPropSymbols$
|
|
2965
|
-
if (__propIsEnum$
|
|
2966
|
-
__defNormalProp$
|
|
3136
|
+
if (__hasOwnProp$o.call(b, prop))
|
|
3137
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
3138
|
+
if (__getOwnPropSymbols$o)
|
|
3139
|
+
for (var prop of __getOwnPropSymbols$o(b)) {
|
|
3140
|
+
if (__propIsEnum$o.call(b, prop))
|
|
3141
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
2967
3142
|
}
|
|
2968
3143
|
return a;
|
|
2969
3144
|
};
|
|
2970
|
-
var __spreadProps$
|
|
3145
|
+
var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
|
|
2971
3146
|
let messageInstance;
|
|
2972
3147
|
let defaultDuration = 3;
|
|
2973
3148
|
let defaultTop;
|
|
@@ -3074,7 +3249,7 @@
|
|
|
3074
3249
|
}
|
|
3075
3250
|
getRCNotificationInstance(args, ({ prefixCls, instance }) => {
|
|
3076
3251
|
instance.notice(
|
|
3077
|
-
getRCNoticeProps(__spreadProps$
|
|
3252
|
+
getRCNoticeProps(__spreadProps$i(__spreadValues$o({}, args), { key: target, onClose: callback }), prefixCls)
|
|
3078
3253
|
);
|
|
3079
3254
|
});
|
|
3080
3255
|
});
|
|
@@ -3103,7 +3278,7 @@
|
|
|
3103
3278
|
function attachTypeApi(originalApi, type) {
|
|
3104
3279
|
originalApi[type] = (content, duration, onClose) => {
|
|
3105
3280
|
if (isArgsProps(content)) {
|
|
3106
|
-
return originalApi.open(__spreadProps$
|
|
3281
|
+
return originalApi.open(__spreadProps$i(__spreadValues$o({}, content), { type }));
|
|
3107
3282
|
}
|
|
3108
3283
|
if (typeof duration === "function") {
|
|
3109
3284
|
onClose = duration;
|
|
@@ -3117,25 +3292,25 @@
|
|
|
3117
3292
|
);
|
|
3118
3293
|
api.warn = api.warning;
|
|
3119
3294
|
|
|
3120
|
-
var __defProp$
|
|
3121
|
-
var __defProps$
|
|
3122
|
-
var __getOwnPropDescs$
|
|
3123
|
-
var __getOwnPropSymbols$
|
|
3124
|
-
var __hasOwnProp$
|
|
3125
|
-
var __propIsEnum$
|
|
3126
|
-
var __defNormalProp$
|
|
3127
|
-
var __spreadValues$
|
|
3295
|
+
var __defProp$n = Object.defineProperty;
|
|
3296
|
+
var __defProps$h = Object.defineProperties;
|
|
3297
|
+
var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
|
|
3298
|
+
var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
|
|
3299
|
+
var __hasOwnProp$n = Object.prototype.hasOwnProperty;
|
|
3300
|
+
var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
|
|
3301
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3302
|
+
var __spreadValues$n = (a, b) => {
|
|
3128
3303
|
for (var prop in b || (b = {}))
|
|
3129
|
-
if (__hasOwnProp$
|
|
3130
|
-
__defNormalProp$
|
|
3131
|
-
if (__getOwnPropSymbols$
|
|
3132
|
-
for (var prop of __getOwnPropSymbols$
|
|
3133
|
-
if (__propIsEnum$
|
|
3134
|
-
__defNormalProp$
|
|
3304
|
+
if (__hasOwnProp$n.call(b, prop))
|
|
3305
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
3306
|
+
if (__getOwnPropSymbols$n)
|
|
3307
|
+
for (var prop of __getOwnPropSymbols$n(b)) {
|
|
3308
|
+
if (__propIsEnum$n.call(b, prop))
|
|
3309
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
3135
3310
|
}
|
|
3136
3311
|
return a;
|
|
3137
3312
|
};
|
|
3138
|
-
var __spreadProps$
|
|
3313
|
+
var __spreadProps$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
|
|
3139
3314
|
const initialChartState = {
|
|
3140
3315
|
pointers: {},
|
|
3141
3316
|
resourceData: {},
|
|
@@ -3145,8 +3320,8 @@
|
|
|
3145
3320
|
switch (action.type) {
|
|
3146
3321
|
case "SET_POINTER" /* SET_POINTER */: {
|
|
3147
3322
|
const { uuid, left, text, visible, value } = action.payload;
|
|
3148
|
-
return __spreadProps$
|
|
3149
|
-
pointers: __spreadProps$
|
|
3323
|
+
return __spreadProps$h(__spreadValues$n({}, state), {
|
|
3324
|
+
pointers: __spreadProps$h(__spreadValues$n({}, state.pointers), {
|
|
3150
3325
|
[uuid]: {
|
|
3151
3326
|
left,
|
|
3152
3327
|
text,
|
|
@@ -3158,16 +3333,16 @@
|
|
|
3158
3333
|
}
|
|
3159
3334
|
case "SET_RESOURCE_DATA" /* SET_RESOURCE_DATA */: {
|
|
3160
3335
|
const { uuid, data } = action.payload;
|
|
3161
|
-
return __spreadProps$
|
|
3162
|
-
resourceData: __spreadProps$
|
|
3336
|
+
return __spreadProps$h(__spreadValues$n({}, state), {
|
|
3337
|
+
resourceData: __spreadProps$h(__spreadValues$n({}, state.resourceData), {
|
|
3163
3338
|
[uuid]: data
|
|
3164
3339
|
})
|
|
3165
3340
|
});
|
|
3166
3341
|
}
|
|
3167
3342
|
case "SET_AVERAGE_DATA" /* SET_AVERAGE_DATA */: {
|
|
3168
3343
|
const { uuid, average } = action.payload;
|
|
3169
|
-
return __spreadProps$
|
|
3170
|
-
averageData: __spreadProps$
|
|
3344
|
+
return __spreadProps$h(__spreadValues$n({}, state), {
|
|
3345
|
+
averageData: __spreadProps$h(__spreadValues$n({}, state.averageData), {
|
|
3171
3346
|
[uuid]: average
|
|
3172
3347
|
})
|
|
3173
3348
|
});
|
|
@@ -3178,25 +3353,25 @@
|
|
|
3178
3353
|
}
|
|
3179
3354
|
};
|
|
3180
3355
|
|
|
3181
|
-
var __defProp$
|
|
3182
|
-
var __defProps$
|
|
3183
|
-
var __getOwnPropDescs$
|
|
3184
|
-
var __getOwnPropSymbols$
|
|
3185
|
-
var __hasOwnProp$
|
|
3186
|
-
var __propIsEnum$
|
|
3187
|
-
var __defNormalProp$
|
|
3188
|
-
var __spreadValues$
|
|
3356
|
+
var __defProp$m = Object.defineProperty;
|
|
3357
|
+
var __defProps$g = Object.defineProperties;
|
|
3358
|
+
var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
|
|
3359
|
+
var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
|
|
3360
|
+
var __hasOwnProp$m = Object.prototype.hasOwnProperty;
|
|
3361
|
+
var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
|
|
3362
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3363
|
+
var __spreadValues$m = (a, b) => {
|
|
3189
3364
|
for (var prop in b || (b = {}))
|
|
3190
|
-
if (__hasOwnProp$
|
|
3191
|
-
__defNormalProp$
|
|
3192
|
-
if (__getOwnPropSymbols$
|
|
3193
|
-
for (var prop of __getOwnPropSymbols$
|
|
3194
|
-
if (__propIsEnum$
|
|
3195
|
-
__defNormalProp$
|
|
3365
|
+
if (__hasOwnProp$m.call(b, prop))
|
|
3366
|
+
__defNormalProp$m(a, prop, b[prop]);
|
|
3367
|
+
if (__getOwnPropSymbols$m)
|
|
3368
|
+
for (var prop of __getOwnPropSymbols$m(b)) {
|
|
3369
|
+
if (__propIsEnum$m.call(b, prop))
|
|
3370
|
+
__defNormalProp$m(a, prop, b[prop]);
|
|
3196
3371
|
}
|
|
3197
3372
|
return a;
|
|
3198
3373
|
};
|
|
3199
|
-
var __spreadProps$
|
|
3374
|
+
var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
|
|
3200
3375
|
var ModalActions = /* @__PURE__ */ ((ModalActions2) => {
|
|
3201
3376
|
ModalActions2["PUSH_MODAL"] = "PUSH_MODAL";
|
|
3202
3377
|
ModalActions2["POP_MODAL"] = "POP_MODAL";
|
|
@@ -3217,22 +3392,22 @@
|
|
|
3217
3392
|
)) {
|
|
3218
3393
|
return state;
|
|
3219
3394
|
}
|
|
3220
|
-
return __spreadProps$
|
|
3221
|
-
stack: state.stack.concat(__spreadProps$
|
|
3395
|
+
return __spreadProps$g(__spreadValues$m({}, state), {
|
|
3396
|
+
stack: state.stack.concat(__spreadProps$g(__spreadValues$m({}, action.payload), {
|
|
3222
3397
|
id: MODAL_ID++
|
|
3223
3398
|
}))
|
|
3224
3399
|
});
|
|
3225
3400
|
case "POP_MODAL" /* POP_MODAL */:
|
|
3226
|
-
return __spreadProps$
|
|
3401
|
+
return __spreadProps$g(__spreadValues$m({}, state), {
|
|
3227
3402
|
stack: state.stack.slice(0, -1)
|
|
3228
3403
|
});
|
|
3229
3404
|
case "REMOVE_MODAL" /* REMOVE_MODAL */:
|
|
3230
|
-
return __spreadProps$
|
|
3405
|
+
return __spreadProps$g(__spreadValues$m({}, state), {
|
|
3231
3406
|
closeId: 0,
|
|
3232
3407
|
stack: state.stack.filter((m) => m.id !== action.id)
|
|
3233
3408
|
});
|
|
3234
3409
|
case "CLOSE_MODAL" /* CLOSE_MODAL */:
|
|
3235
|
-
return __spreadProps$
|
|
3410
|
+
return __spreadProps$g(__spreadValues$m({}, state), {
|
|
3236
3411
|
closeId: action.id
|
|
3237
3412
|
});
|
|
3238
3413
|
default:
|
|
@@ -3289,33 +3464,33 @@
|
|
|
3289
3464
|
const HorizontalStepContentStyle = "h1xo7yjb";
|
|
3290
3465
|
const VerticalStepContentStyle = "v1f2f7cy";
|
|
3291
3466
|
|
|
3292
|
-
var __defProp$
|
|
3293
|
-
var __defProps$
|
|
3294
|
-
var __getOwnPropDescs$
|
|
3295
|
-
var __getOwnPropSymbols$
|
|
3296
|
-
var __hasOwnProp$
|
|
3297
|
-
var __propIsEnum$
|
|
3298
|
-
var __defNormalProp$
|
|
3299
|
-
var __spreadValues$
|
|
3467
|
+
var __defProp$l = Object.defineProperty;
|
|
3468
|
+
var __defProps$f = Object.defineProperties;
|
|
3469
|
+
var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
|
|
3470
|
+
var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
|
|
3471
|
+
var __hasOwnProp$l = Object.prototype.hasOwnProperty;
|
|
3472
|
+
var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
|
|
3473
|
+
var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3474
|
+
var __spreadValues$l = (a, b) => {
|
|
3300
3475
|
for (var prop in b || (b = {}))
|
|
3301
|
-
if (__hasOwnProp$
|
|
3302
|
-
__defNormalProp$
|
|
3303
|
-
if (__getOwnPropSymbols$
|
|
3304
|
-
for (var prop of __getOwnPropSymbols$
|
|
3305
|
-
if (__propIsEnum$
|
|
3306
|
-
__defNormalProp$
|
|
3476
|
+
if (__hasOwnProp$l.call(b, prop))
|
|
3477
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
3478
|
+
if (__getOwnPropSymbols$l)
|
|
3479
|
+
for (var prop of __getOwnPropSymbols$l(b)) {
|
|
3480
|
+
if (__propIsEnum$l.call(b, prop))
|
|
3481
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
3307
3482
|
}
|
|
3308
3483
|
return a;
|
|
3309
3484
|
};
|
|
3310
|
-
var __spreadProps$
|
|
3311
|
-
var __objRest$
|
|
3485
|
+
var __spreadProps$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
|
|
3486
|
+
var __objRest$7 = (source, exclude) => {
|
|
3312
3487
|
var target = {};
|
|
3313
3488
|
for (var prop in source)
|
|
3314
|
-
if (__hasOwnProp$
|
|
3489
|
+
if (__hasOwnProp$l.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3315
3490
|
target[prop] = source[prop];
|
|
3316
|
-
if (source != null && __getOwnPropSymbols$
|
|
3317
|
-
for (var prop of __getOwnPropSymbols$
|
|
3318
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3491
|
+
if (source != null && __getOwnPropSymbols$l)
|
|
3492
|
+
for (var prop of __getOwnPropSymbols$l(source)) {
|
|
3493
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$l.call(source, prop))
|
|
3319
3494
|
target[prop] = source[prop];
|
|
3320
3495
|
}
|
|
3321
3496
|
return target;
|
|
@@ -3331,7 +3506,7 @@
|
|
|
3331
3506
|
setTooltipEnable({});
|
|
3332
3507
|
}
|
|
3333
3508
|
}, [textRef]);
|
|
3334
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Tooltip, __spreadProps$
|
|
3509
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Tooltip, __spreadProps$f(__spreadValues$l({}, tooltipEnable), { title: step.title }), /* @__PURE__ */ React__namespace.default.createElement(
|
|
3335
3510
|
"div",
|
|
3336
3511
|
{
|
|
3337
3512
|
className: isVerticalMode ? VerticalStepContentStyle : HorizontalStepContentStyle
|
|
@@ -3347,7 +3522,7 @@
|
|
|
3347
3522
|
containerClassname,
|
|
3348
3523
|
current = 0,
|
|
3349
3524
|
disabled
|
|
3350
|
-
} = _a, stepsProps = __objRest$
|
|
3525
|
+
} = _a, stepsProps = __objRest$7(_a, [
|
|
3351
3526
|
"stepsConfig",
|
|
3352
3527
|
"direction",
|
|
3353
3528
|
"containerClassname",
|
|
@@ -3366,14 +3541,14 @@
|
|
|
3366
3541
|
},
|
|
3367
3542
|
/* @__PURE__ */ React__namespace.default.createElement(
|
|
3368
3543
|
antd.Steps,
|
|
3369
|
-
__spreadProps$
|
|
3544
|
+
__spreadProps$f(__spreadValues$l({}, stepsProps), {
|
|
3370
3545
|
direction,
|
|
3371
3546
|
current,
|
|
3372
3547
|
type: "default"
|
|
3373
3548
|
}),
|
|
3374
3549
|
(stepsConfig == null ? void 0 : stepsConfig.length) ? stepsConfig.map((step, index) => /* @__PURE__ */ React__namespace.default.createElement(
|
|
3375
3550
|
antd.Steps.Step,
|
|
3376
|
-
__spreadProps$
|
|
3551
|
+
__spreadProps$f(__spreadValues$l({
|
|
3377
3552
|
key: index
|
|
3378
3553
|
}, step), {
|
|
3379
3554
|
disabled: disabled || index > current,
|
|
@@ -3392,33 +3567,33 @@
|
|
|
3392
3567
|
);
|
|
3393
3568
|
};
|
|
3394
3569
|
|
|
3395
|
-
var __defProp$
|
|
3396
|
-
var __defProps$
|
|
3397
|
-
var __getOwnPropDescs$
|
|
3398
|
-
var __getOwnPropSymbols$
|
|
3399
|
-
var __hasOwnProp$
|
|
3400
|
-
var __propIsEnum$
|
|
3401
|
-
var __defNormalProp$
|
|
3402
|
-
var __spreadValues$
|
|
3570
|
+
var __defProp$k = Object.defineProperty;
|
|
3571
|
+
var __defProps$e = Object.defineProperties;
|
|
3572
|
+
var __getOwnPropDescs$e = Object.getOwnPropertyDescriptors;
|
|
3573
|
+
var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
|
|
3574
|
+
var __hasOwnProp$k = Object.prototype.hasOwnProperty;
|
|
3575
|
+
var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
|
|
3576
|
+
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3577
|
+
var __spreadValues$k = (a, b) => {
|
|
3403
3578
|
for (var prop in b || (b = {}))
|
|
3404
|
-
if (__hasOwnProp$
|
|
3405
|
-
__defNormalProp$
|
|
3406
|
-
if (__getOwnPropSymbols$
|
|
3407
|
-
for (var prop of __getOwnPropSymbols$
|
|
3408
|
-
if (__propIsEnum$
|
|
3409
|
-
__defNormalProp$
|
|
3579
|
+
if (__hasOwnProp$k.call(b, prop))
|
|
3580
|
+
__defNormalProp$k(a, prop, b[prop]);
|
|
3581
|
+
if (__getOwnPropSymbols$k)
|
|
3582
|
+
for (var prop of __getOwnPropSymbols$k(b)) {
|
|
3583
|
+
if (__propIsEnum$k.call(b, prop))
|
|
3584
|
+
__defNormalProp$k(a, prop, b[prop]);
|
|
3410
3585
|
}
|
|
3411
3586
|
return a;
|
|
3412
3587
|
};
|
|
3413
|
-
var __spreadProps$
|
|
3414
|
-
var __objRest$
|
|
3588
|
+
var __spreadProps$e = (a, b) => __defProps$e(a, __getOwnPropDescs$e(b));
|
|
3589
|
+
var __objRest$6 = (source, exclude) => {
|
|
3415
3590
|
var target = {};
|
|
3416
3591
|
for (var prop in source)
|
|
3417
|
-
if (__hasOwnProp$
|
|
3592
|
+
if (__hasOwnProp$k.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3418
3593
|
target[prop] = source[prop];
|
|
3419
|
-
if (source != null && __getOwnPropSymbols$
|
|
3420
|
-
for (var prop of __getOwnPropSymbols$
|
|
3421
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3594
|
+
if (source != null && __getOwnPropSymbols$k)
|
|
3595
|
+
for (var prop of __getOwnPropSymbols$k(source)) {
|
|
3596
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$k.call(source, prop))
|
|
3422
3597
|
target[prop] = source[prop];
|
|
3423
3598
|
}
|
|
3424
3599
|
return target;
|
|
@@ -3445,7 +3620,7 @@
|
|
|
3445
3620
|
showCancel = true,
|
|
3446
3621
|
showOk = true,
|
|
3447
3622
|
afterClose
|
|
3448
|
-
} = _a, restProps = __objRest$
|
|
3623
|
+
} = _a, restProps = __objRest$6(_a, [
|
|
3449
3624
|
"error",
|
|
3450
3625
|
"okText",
|
|
3451
3626
|
"cancelText",
|
|
@@ -3500,7 +3675,7 @@
|
|
|
3500
3675
|
}
|
|
3501
3676
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
3502
3677
|
antd.Modal,
|
|
3503
|
-
__spreadProps$
|
|
3678
|
+
__spreadProps$e(__spreadValues$k({
|
|
3504
3679
|
maskClosable,
|
|
3505
3680
|
className: cs__default.default(
|
|
3506
3681
|
className,
|
|
@@ -3535,7 +3710,7 @@
|
|
|
3535
3710
|
prevText
|
|
3536
3711
|
), 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(
|
|
3537
3712
|
Button,
|
|
3538
|
-
__spreadValues$
|
|
3713
|
+
__spreadValues$k({
|
|
3539
3714
|
type: "quiet",
|
|
3540
3715
|
onMouseDown: (e) => {
|
|
3541
3716
|
e.preventDefault();
|
|
@@ -3549,7 +3724,7 @@
|
|
|
3549
3724
|
cancelText
|
|
3550
3725
|
), showOk && /* @__PURE__ */ React__namespace.default.createElement(
|
|
3551
3726
|
Button,
|
|
3552
|
-
__spreadValues$
|
|
3727
|
+
__spreadValues$k({
|
|
3553
3728
|
onClick: (e) => {
|
|
3554
3729
|
var _a2, _b2;
|
|
3555
3730
|
onOk == null ? void 0 : onOk(e);
|
|
@@ -3591,26 +3766,26 @@
|
|
|
3591
3766
|
);
|
|
3592
3767
|
};
|
|
3593
3768
|
|
|
3594
|
-
var __defProp$
|
|
3595
|
-
var __defProps$
|
|
3596
|
-
var __getOwnPropDescs$
|
|
3597
|
-
var __getOwnPropSymbols$
|
|
3598
|
-
var __hasOwnProp$
|
|
3599
|
-
var __propIsEnum$
|
|
3600
|
-
var __defNormalProp$
|
|
3769
|
+
var __defProp$j = Object.defineProperty;
|
|
3770
|
+
var __defProps$d = Object.defineProperties;
|
|
3771
|
+
var __getOwnPropDescs$d = Object.getOwnPropertyDescriptors;
|
|
3772
|
+
var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
|
|
3773
|
+
var __hasOwnProp$j = Object.prototype.hasOwnProperty;
|
|
3774
|
+
var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
|
|
3775
|
+
var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, {
|
|
3601
3776
|
enumerable: true,
|
|
3602
3777
|
configurable: true,
|
|
3603
3778
|
writable: true,
|
|
3604
3779
|
value
|
|
3605
3780
|
}) : obj[key] = value;
|
|
3606
|
-
var __spreadValues$
|
|
3607
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3608
|
-
if (__getOwnPropSymbols$
|
|
3609
|
-
if (__propIsEnum$
|
|
3781
|
+
var __spreadValues$j = (a, b) => {
|
|
3782
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$j.call(b, prop)) __defNormalProp$j(a, prop, b[prop]);
|
|
3783
|
+
if (__getOwnPropSymbols$j) for (var prop of __getOwnPropSymbols$j(b)) {
|
|
3784
|
+
if (__propIsEnum$j.call(b, prop)) __defNormalProp$j(a, prop, b[prop]);
|
|
3610
3785
|
}
|
|
3611
3786
|
return a;
|
|
3612
3787
|
};
|
|
3613
|
-
var __spreadProps$
|
|
3788
|
+
var __spreadProps$d = (a, b) => __defProps$d(a, __getOwnPropDescs$d(b));
|
|
3614
3789
|
const OverflowText = "o8ocss1";
|
|
3615
3790
|
const NoWrap = "n17syc35";
|
|
3616
3791
|
const OverflowTooltip = props => {
|
|
@@ -3641,7 +3816,7 @@
|
|
|
3641
3816
|
observer == null ? void 0 : observer.disconnect();
|
|
3642
3817
|
};
|
|
3643
3818
|
});
|
|
3644
|
-
return /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadProps$
|
|
3819
|
+
return /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadProps$d(__spreadValues$j({}, !ellipsis && {
|
|
3645
3820
|
visible: false
|
|
3646
3821
|
}), {
|
|
3647
3822
|
title: tooltip
|
|
@@ -3714,8 +3889,8 @@
|
|
|
3714
3889
|
}, /* @__PURE__ */React__namespace.default.createElement(Icon, {
|
|
3715
3890
|
alt: "arrowChevronDownSmall16Secondary",
|
|
3716
3891
|
className: "pagination-left dropdown-trigger",
|
|
3717
|
-
src:
|
|
3718
|
-
hoverSrc:
|
|
3892
|
+
src: iconsReact.ArrowChevronDownSmall16SecondaryIcon,
|
|
3893
|
+
hoverSrc: iconsReact.ArrowChevronDownSmall16BlueIcon,
|
|
3719
3894
|
prefix: content
|
|
3720
3895
|
}));
|
|
3721
3896
|
}
|
|
@@ -3736,7 +3911,7 @@
|
|
|
3736
3911
|
size: "small",
|
|
3737
3912
|
prefixIcon: /* @__PURE__ */React__namespace.default.createElement(Icon, {
|
|
3738
3913
|
alt: "arrowChevronLeftSmall16BoldBlue",
|
|
3739
|
-
src:
|
|
3914
|
+
src: iconsReact.ArrowChevronLeftSmall16BoldBlueIcon
|
|
3740
3915
|
}),
|
|
3741
3916
|
onClick: () => {
|
|
3742
3917
|
onChange == null ? void 0 : onChange(current - 1);
|
|
@@ -3749,7 +3924,7 @@
|
|
|
3749
3924
|
size: "small",
|
|
3750
3925
|
suffixIcon: /* @__PURE__ */React__namespace.default.createElement(Icon, {
|
|
3751
3926
|
alt: "arrowChevronLeftSmall16BoldBlue",
|
|
3752
|
-
src:
|
|
3927
|
+
src: iconsReact.ArrowChevronLeftSmall16BoldBlueIcon
|
|
3753
3928
|
}),
|
|
3754
3929
|
onClick: () => {
|
|
3755
3930
|
onChange == null ? void 0 : onChange(current + 1);
|
|
@@ -3759,19 +3934,19 @@
|
|
|
3759
3934
|
}))));
|
|
3760
3935
|
};
|
|
3761
3936
|
|
|
3762
|
-
var __defProp$
|
|
3763
|
-
var __getOwnPropSymbols$
|
|
3764
|
-
var __hasOwnProp$
|
|
3765
|
-
var __propIsEnum$
|
|
3766
|
-
var __defNormalProp$
|
|
3767
|
-
var __spreadValues$
|
|
3937
|
+
var __defProp$i = Object.defineProperty;
|
|
3938
|
+
var __getOwnPropSymbols$i = Object.getOwnPropertySymbols;
|
|
3939
|
+
var __hasOwnProp$i = Object.prototype.hasOwnProperty;
|
|
3940
|
+
var __propIsEnum$i = Object.prototype.propertyIsEnumerable;
|
|
3941
|
+
var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3942
|
+
var __spreadValues$i = (a, b) => {
|
|
3768
3943
|
for (var prop in b || (b = {}))
|
|
3769
|
-
if (__hasOwnProp$
|
|
3770
|
-
__defNormalProp$
|
|
3771
|
-
if (__getOwnPropSymbols$
|
|
3772
|
-
for (var prop of __getOwnPropSymbols$
|
|
3773
|
-
if (__propIsEnum$
|
|
3774
|
-
__defNormalProp$
|
|
3944
|
+
if (__hasOwnProp$i.call(b, prop))
|
|
3945
|
+
__defNormalProp$i(a, prop, b[prop]);
|
|
3946
|
+
if (__getOwnPropSymbols$i)
|
|
3947
|
+
for (var prop of __getOwnPropSymbols$i(b)) {
|
|
3948
|
+
if (__propIsEnum$i.call(b, prop))
|
|
3949
|
+
__defNormalProp$i(a, prop, b[prop]);
|
|
3775
3950
|
}
|
|
3776
3951
|
return a;
|
|
3777
3952
|
};
|
|
@@ -3784,52 +3959,52 @@
|
|
|
3784
3959
|
emptyProps
|
|
3785
3960
|
}) => {
|
|
3786
3961
|
if (isEmpty(rawValue)) {
|
|
3787
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$
|
|
3962
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$i({}, emptyProps));
|
|
3788
3963
|
}
|
|
3789
3964
|
const { value, unit } = formatPercent(rawValue, decimals, saturated);
|
|
3790
3965
|
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));
|
|
3791
3966
|
};
|
|
3792
3967
|
|
|
3793
|
-
var __defProp$
|
|
3794
|
-
var __getOwnPropSymbols$
|
|
3795
|
-
var __hasOwnProp$
|
|
3796
|
-
var __propIsEnum$
|
|
3797
|
-
var __defNormalProp$
|
|
3798
|
-
var __spreadValues$
|
|
3968
|
+
var __defProp$h = Object.defineProperty;
|
|
3969
|
+
var __getOwnPropSymbols$h = Object.getOwnPropertySymbols;
|
|
3970
|
+
var __hasOwnProp$h = Object.prototype.hasOwnProperty;
|
|
3971
|
+
var __propIsEnum$h = Object.prototype.propertyIsEnumerable;
|
|
3972
|
+
var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3973
|
+
var __spreadValues$h = (a, b) => {
|
|
3799
3974
|
for (var prop in b || (b = {}))
|
|
3800
|
-
if (__hasOwnProp$
|
|
3801
|
-
__defNormalProp$
|
|
3802
|
-
if (__getOwnPropSymbols$
|
|
3803
|
-
for (var prop of __getOwnPropSymbols$
|
|
3804
|
-
if (__propIsEnum$
|
|
3805
|
-
__defNormalProp$
|
|
3975
|
+
if (__hasOwnProp$h.call(b, prop))
|
|
3976
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
3977
|
+
if (__getOwnPropSymbols$h)
|
|
3978
|
+
for (var prop of __getOwnPropSymbols$h(b)) {
|
|
3979
|
+
if (__propIsEnum$h.call(b, prop))
|
|
3980
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
3806
3981
|
}
|
|
3807
3982
|
return a;
|
|
3808
3983
|
};
|
|
3809
|
-
const Progress = (props) => /* @__PURE__ */ React__namespace.default.createElement(antd.Progress, __spreadValues$
|
|
3984
|
+
const Progress = (props) => /* @__PURE__ */ React__namespace.default.createElement(antd.Progress, __spreadValues$h({}, props));
|
|
3810
3985
|
|
|
3811
|
-
var __defProp$
|
|
3812
|
-
var __getOwnPropSymbols$
|
|
3813
|
-
var __hasOwnProp$
|
|
3814
|
-
var __propIsEnum$
|
|
3815
|
-
var __defNormalProp$
|
|
3986
|
+
var __defProp$g = Object.defineProperty;
|
|
3987
|
+
var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
|
|
3988
|
+
var __hasOwnProp$g = Object.prototype.hasOwnProperty;
|
|
3989
|
+
var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
|
|
3990
|
+
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, {
|
|
3816
3991
|
enumerable: true,
|
|
3817
3992
|
configurable: true,
|
|
3818
3993
|
writable: true,
|
|
3819
3994
|
value
|
|
3820
3995
|
}) : obj[key] = value;
|
|
3821
|
-
var __spreadValues$
|
|
3822
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3823
|
-
if (__getOwnPropSymbols$
|
|
3824
|
-
if (__propIsEnum$
|
|
3996
|
+
var __spreadValues$g = (a, b) => {
|
|
3997
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$g.call(b, prop)) __defNormalProp$g(a, prop, b[prop]);
|
|
3998
|
+
if (__getOwnPropSymbols$g) for (var prop of __getOwnPropSymbols$g(b)) {
|
|
3999
|
+
if (__propIsEnum$g.call(b, prop)) __defNormalProp$g(a, prop, b[prop]);
|
|
3825
4000
|
}
|
|
3826
4001
|
return a;
|
|
3827
4002
|
};
|
|
3828
|
-
var __objRest$
|
|
4003
|
+
var __objRest$5 = (source, exclude) => {
|
|
3829
4004
|
var target = {};
|
|
3830
|
-
for (var prop in source) if (__hasOwnProp$
|
|
3831
|
-
if (source != null && __getOwnPropSymbols$
|
|
3832
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4005
|
+
for (var prop in source) if (__hasOwnProp$g.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4006
|
+
if (source != null && __getOwnPropSymbols$g) for (var prop of __getOwnPropSymbols$g(source)) {
|
|
4007
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$g.call(source, prop)) target[prop] = source[prop];
|
|
3833
4008
|
}
|
|
3834
4009
|
return target;
|
|
3835
4010
|
};
|
|
@@ -3845,7 +4020,7 @@
|
|
|
3845
4020
|
checked,
|
|
3846
4021
|
compact = false
|
|
3847
4022
|
} = _b,
|
|
3848
|
-
props = __objRest$
|
|
4023
|
+
props = __objRest$5(_b, ["children", "className", "checked", "compact"]);
|
|
3849
4024
|
const {
|
|
3850
4025
|
description
|
|
3851
4026
|
} = props;
|
|
@@ -3855,7 +4030,7 @@
|
|
|
3855
4030
|
className: core.cx("radio-description", Typo.Label.l4_regular)
|
|
3856
4031
|
}, description));
|
|
3857
4032
|
}
|
|
3858
|
-
return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement(antd.Radio, __spreadValues$
|
|
4033
|
+
return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement(antd.Radio, __spreadValues$g({
|
|
3859
4034
|
className: core.cx(className, RadioStyle, compact && "compact"),
|
|
3860
4035
|
checked: checked || false,
|
|
3861
4036
|
"data-test": context.name ? `${context.name}-${String(props.value)}` : String(props.value)
|
|
@@ -3867,13 +4042,13 @@
|
|
|
3867
4042
|
children,
|
|
3868
4043
|
className
|
|
3869
4044
|
} = _d,
|
|
3870
|
-
props = __objRest$
|
|
4045
|
+
props = __objRest$5(_d, ["children", "className"]);
|
|
3871
4046
|
return /* @__PURE__ */React__namespace.default.createElement(KitRadioGroupContext.Provider, {
|
|
3872
4047
|
value: {
|
|
3873
4048
|
disabled: props.disabled,
|
|
3874
4049
|
name: props.name
|
|
3875
4050
|
}
|
|
3876
|
-
}, /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Group, __spreadValues$
|
|
4051
|
+
}, /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Group, __spreadValues$g({
|
|
3877
4052
|
className: core.cx(className, RadioGroupStyle)
|
|
3878
4053
|
}, props), children ? children : null));
|
|
3879
4054
|
};
|
|
@@ -3883,7 +4058,7 @@
|
|
|
3883
4058
|
children,
|
|
3884
4059
|
className
|
|
3885
4060
|
} = _f,
|
|
3886
|
-
props = __objRest$
|
|
4061
|
+
props = __objRest$5(_f, ["children", "className"]);
|
|
3887
4062
|
const {
|
|
3888
4063
|
type,
|
|
3889
4064
|
placeholder = "Label",
|
|
@@ -3929,46 +4104,46 @@
|
|
|
3929
4104
|
className: "ant-radio-button-input-label"
|
|
3930
4105
|
}, typeof children === "string" ? children : ""));
|
|
3931
4106
|
};
|
|
3932
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Button, __spreadValues$
|
|
4107
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Button, __spreadValues$g({
|
|
3933
4108
|
className: core.cx(className, RadioButtonStyle),
|
|
3934
4109
|
value: radioButtonValue
|
|
3935
4110
|
}, props), renderChildren());
|
|
3936
4111
|
};
|
|
3937
4112
|
|
|
3938
|
-
var __defProp$
|
|
3939
|
-
var __getOwnPropSymbols$
|
|
3940
|
-
var __hasOwnProp$
|
|
3941
|
-
var __propIsEnum$
|
|
3942
|
-
var __defNormalProp$
|
|
3943
|
-
var __spreadValues$
|
|
4113
|
+
var __defProp$f = Object.defineProperty;
|
|
4114
|
+
var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
|
|
4115
|
+
var __hasOwnProp$f = Object.prototype.hasOwnProperty;
|
|
4116
|
+
var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
|
|
4117
|
+
var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4118
|
+
var __spreadValues$f = (a, b) => {
|
|
3944
4119
|
for (var prop in b || (b = {}))
|
|
3945
|
-
if (__hasOwnProp$
|
|
3946
|
-
__defNormalProp$
|
|
3947
|
-
if (__getOwnPropSymbols$
|
|
3948
|
-
for (var prop of __getOwnPropSymbols$
|
|
3949
|
-
if (__propIsEnum$
|
|
3950
|
-
__defNormalProp$
|
|
4120
|
+
if (__hasOwnProp$f.call(b, prop))
|
|
4121
|
+
__defNormalProp$f(a, prop, b[prop]);
|
|
4122
|
+
if (__getOwnPropSymbols$f)
|
|
4123
|
+
for (var prop of __getOwnPropSymbols$f(b)) {
|
|
4124
|
+
if (__propIsEnum$f.call(b, prop))
|
|
4125
|
+
__defNormalProp$f(a, prop, b[prop]);
|
|
3951
4126
|
}
|
|
3952
4127
|
return a;
|
|
3953
4128
|
};
|
|
3954
|
-
var __objRest$
|
|
4129
|
+
var __objRest$4 = (source, exclude) => {
|
|
3955
4130
|
var target = {};
|
|
3956
4131
|
for (var prop in source)
|
|
3957
|
-
if (__hasOwnProp$
|
|
4132
|
+
if (__hasOwnProp$f.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3958
4133
|
target[prop] = source[prop];
|
|
3959
|
-
if (source != null && __getOwnPropSymbols$
|
|
3960
|
-
for (var prop of __getOwnPropSymbols$
|
|
3961
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4134
|
+
if (source != null && __getOwnPropSymbols$f)
|
|
4135
|
+
for (var prop of __getOwnPropSymbols$f(source)) {
|
|
4136
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$f.call(source, prop))
|
|
3962
4137
|
target[prop] = source[prop];
|
|
3963
4138
|
}
|
|
3964
4139
|
return target;
|
|
3965
4140
|
};
|
|
3966
4141
|
const SearchInput = (props) => {
|
|
3967
|
-
const _a = props, { onChange, debounceWait = 300 } = _a, restProps = __objRest$
|
|
4142
|
+
const _a = props, { onChange, debounceWait = 300 } = _a, restProps = __objRest$4(_a, ["onChange", "debounceWait"]);
|
|
3968
4143
|
const onSearch = ___default.default.debounce(onChange, debounceWait);
|
|
3969
4144
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
3970
4145
|
Input,
|
|
3971
|
-
__spreadValues$
|
|
4146
|
+
__spreadValues$f({
|
|
3972
4147
|
style: { width: 276 },
|
|
3973
4148
|
prefix: /* @__PURE__ */ React__namespace.default.createElement(icons.SearchOutlined, null),
|
|
3974
4149
|
onChange: (e) => onSearch(e.target.value)
|
|
@@ -3976,19 +4151,19 @@
|
|
|
3976
4151
|
);
|
|
3977
4152
|
};
|
|
3978
4153
|
|
|
3979
|
-
var __defProp$
|
|
3980
|
-
var __getOwnPropSymbols$
|
|
3981
|
-
var __hasOwnProp$
|
|
3982
|
-
var __propIsEnum$
|
|
3983
|
-
var __defNormalProp$
|
|
3984
|
-
var __spreadValues$
|
|
4154
|
+
var __defProp$e = Object.defineProperty;
|
|
4155
|
+
var __getOwnPropSymbols$e = Object.getOwnPropertySymbols;
|
|
4156
|
+
var __hasOwnProp$e = Object.prototype.hasOwnProperty;
|
|
4157
|
+
var __propIsEnum$e = Object.prototype.propertyIsEnumerable;
|
|
4158
|
+
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4159
|
+
var __spreadValues$e = (a, b) => {
|
|
3985
4160
|
for (var prop in b || (b = {}))
|
|
3986
|
-
if (__hasOwnProp$
|
|
3987
|
-
__defNormalProp$
|
|
3988
|
-
if (__getOwnPropSymbols$
|
|
3989
|
-
for (var prop of __getOwnPropSymbols$
|
|
3990
|
-
if (__propIsEnum$
|
|
3991
|
-
__defNormalProp$
|
|
4161
|
+
if (__hasOwnProp$e.call(b, prop))
|
|
4162
|
+
__defNormalProp$e(a, prop, b[prop]);
|
|
4163
|
+
if (__getOwnPropSymbols$e)
|
|
4164
|
+
for (var prop of __getOwnPropSymbols$e(b)) {
|
|
4165
|
+
if (__propIsEnum$e.call(b, prop))
|
|
4166
|
+
__defNormalProp$e(a, prop, b[prop]);
|
|
3992
4167
|
}
|
|
3993
4168
|
return a;
|
|
3994
4169
|
};
|
|
@@ -4002,7 +4177,7 @@
|
|
|
4002
4177
|
}) => {
|
|
4003
4178
|
const { t } = useParrotTranslation();
|
|
4004
4179
|
if (isEmpty(rawValue)) {
|
|
4005
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$
|
|
4180
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$e({}, emptyProps));
|
|
4006
4181
|
}
|
|
4007
4182
|
const { value, unit } = formatSeconds(rawValue, decimals);
|
|
4008
4183
|
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}`)));
|
|
@@ -4048,7 +4223,7 @@
|
|
|
4048
4223
|
},
|
|
4049
4224
|
prefixIcon: /* @__PURE__ */React__namespace.default.createElement(Icon, {
|
|
4050
4225
|
alt: "arrowChevronLeftSmall16BoldBlue",
|
|
4051
|
-
src:
|
|
4226
|
+
src: iconsReact.ArrowChevronLeftSmall16BoldBlueIcon
|
|
4052
4227
|
}),
|
|
4053
4228
|
onClick: () => {
|
|
4054
4229
|
onPageChange == null ? void 0 : onPageChange(current - 1);
|
|
@@ -4076,7 +4251,7 @@
|
|
|
4076
4251
|
},
|
|
4077
4252
|
prefixIcon: /* @__PURE__ */React__namespace.default.createElement(Icon, {
|
|
4078
4253
|
alt: "arrowChevronLeftSmall16BoldBlue",
|
|
4079
|
-
src:
|
|
4254
|
+
src: iconsReact.ArrowChevronLeftSmall16BoldBlueIcon
|
|
4080
4255
|
}),
|
|
4081
4256
|
onClick: () => {
|
|
4082
4257
|
onPageChange == null ? void 0 : onPageChange(current + 1);
|
|
@@ -4084,19 +4259,19 @@
|
|
|
4084
4259
|
})));
|
|
4085
4260
|
};
|
|
4086
4261
|
|
|
4087
|
-
var __defProp$
|
|
4088
|
-
var __getOwnPropSymbols$
|
|
4089
|
-
var __hasOwnProp$
|
|
4090
|
-
var __propIsEnum$
|
|
4091
|
-
var __defNormalProp$
|
|
4092
|
-
var __spreadValues$
|
|
4262
|
+
var __defProp$d = Object.defineProperty;
|
|
4263
|
+
var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
|
|
4264
|
+
var __hasOwnProp$d = Object.prototype.hasOwnProperty;
|
|
4265
|
+
var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
|
|
4266
|
+
var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4267
|
+
var __spreadValues$d = (a, b) => {
|
|
4093
4268
|
for (var prop in b || (b = {}))
|
|
4094
|
-
if (__hasOwnProp$
|
|
4095
|
-
__defNormalProp$
|
|
4096
|
-
if (__getOwnPropSymbols$
|
|
4097
|
-
for (var prop of __getOwnPropSymbols$
|
|
4098
|
-
if (__propIsEnum$
|
|
4099
|
-
__defNormalProp$
|
|
4269
|
+
if (__hasOwnProp$d.call(b, prop))
|
|
4270
|
+
__defNormalProp$d(a, prop, b[prop]);
|
|
4271
|
+
if (__getOwnPropSymbols$d)
|
|
4272
|
+
for (var prop of __getOwnPropSymbols$d(b)) {
|
|
4273
|
+
if (__propIsEnum$d.call(b, prop))
|
|
4274
|
+
__defNormalProp$d(a, prop, b[prop]);
|
|
4100
4275
|
}
|
|
4101
4276
|
return a;
|
|
4102
4277
|
};
|
|
@@ -4108,41 +4283,41 @@
|
|
|
4108
4283
|
emptyProps
|
|
4109
4284
|
}) => {
|
|
4110
4285
|
if (isEmpty(rawValue)) {
|
|
4111
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$
|
|
4286
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$d({}, emptyProps));
|
|
4112
4287
|
}
|
|
4113
4288
|
const { value, unit } = formatSpeed(rawValue, decimals);
|
|
4114
4289
|
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}`));
|
|
4115
4290
|
};
|
|
4116
4291
|
|
|
4117
|
-
var __defProp$
|
|
4118
|
-
var __defProps$
|
|
4119
|
-
var __getOwnPropDescs$
|
|
4120
|
-
var __getOwnPropSymbols$
|
|
4121
|
-
var __hasOwnProp$
|
|
4122
|
-
var __propIsEnum$
|
|
4123
|
-
var __defNormalProp$
|
|
4292
|
+
var __defProp$c = Object.defineProperty;
|
|
4293
|
+
var __defProps$c = Object.defineProperties;
|
|
4294
|
+
var __getOwnPropDescs$c = Object.getOwnPropertyDescriptors;
|
|
4295
|
+
var __getOwnPropSymbols$c = Object.getOwnPropertySymbols;
|
|
4296
|
+
var __hasOwnProp$c = Object.prototype.hasOwnProperty;
|
|
4297
|
+
var __propIsEnum$c = Object.prototype.propertyIsEnumerable;
|
|
4298
|
+
var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, {
|
|
4124
4299
|
enumerable: true,
|
|
4125
4300
|
configurable: true,
|
|
4126
4301
|
writable: true,
|
|
4127
4302
|
value
|
|
4128
4303
|
}) : obj[key] = value;
|
|
4129
|
-
var __spreadValues$
|
|
4130
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4131
|
-
if (__getOwnPropSymbols$
|
|
4132
|
-
if (__propIsEnum$
|
|
4304
|
+
var __spreadValues$c = (a, b) => {
|
|
4305
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$c.call(b, prop)) __defNormalProp$c(a, prop, b[prop]);
|
|
4306
|
+
if (__getOwnPropSymbols$c) for (var prop of __getOwnPropSymbols$c(b)) {
|
|
4307
|
+
if (__propIsEnum$c.call(b, prop)) __defNormalProp$c(a, prop, b[prop]);
|
|
4133
4308
|
}
|
|
4134
4309
|
return a;
|
|
4135
4310
|
};
|
|
4136
|
-
var __spreadProps$
|
|
4137
|
-
var __objRest$
|
|
4311
|
+
var __spreadProps$c = (a, b) => __defProps$c(a, __getOwnPropDescs$c(b));
|
|
4312
|
+
var __objRest$3 = (source, exclude) => {
|
|
4138
4313
|
var target = {};
|
|
4139
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4140
|
-
if (source != null && __getOwnPropSymbols$
|
|
4141
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4314
|
+
for (var prop in source) if (__hasOwnProp$c.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4315
|
+
if (source != null && __getOwnPropSymbols$c) for (var prop of __getOwnPropSymbols$c(source)) {
|
|
4316
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$c.call(source, prop)) target[prop] = source[prop];
|
|
4142
4317
|
}
|
|
4143
4318
|
return target;
|
|
4144
4319
|
};
|
|
4145
|
-
const PresetColors$
|
|
4320
|
+
const PresetColors$1 = ["blue", "red", "yellow", "green", "gray"];
|
|
4146
4321
|
const StatusCapsuleStyle = "s14dk8r1";
|
|
4147
4322
|
const StatusCode = /*#__PURE__*/react$1.styled('i')({
|
|
4148
4323
|
name: "StatusCode",
|
|
@@ -4181,11 +4356,11 @@
|
|
|
4181
4356
|
offWhiteMode,
|
|
4182
4357
|
number
|
|
4183
4358
|
} = _b,
|
|
4184
|
-
props = __objRest$
|
|
4359
|
+
props = __objRest$3(_b, ["color", "className", "loading", "hoverable", "children", "offWhiteMode", "number"]);
|
|
4185
4360
|
const computedColor = ColorMap[color] || color;
|
|
4186
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$
|
|
4361
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$c(__spreadValues$c({}, props), {
|
|
4187
4362
|
className: cs__default.default(className, StatusCapsuleStyle, Typo.Label.l4_regular, "ui-kit-status-capsule", {
|
|
4188
|
-
[`ant-tag-${computedColor}`]: PresetColors$
|
|
4363
|
+
[`ant-tag-${computedColor}`]: PresetColors$1.includes(computedColor),
|
|
4189
4364
|
"tag-hover": hoverable,
|
|
4190
4365
|
"off-white": offWhiteMode
|
|
4191
4366
|
}),
|
|
@@ -4198,31 +4373,31 @@
|
|
|
4198
4373
|
}, number));
|
|
4199
4374
|
};
|
|
4200
4375
|
|
|
4201
|
-
var __defProp$
|
|
4202
|
-
var __defProps$
|
|
4203
|
-
var __getOwnPropDescs$
|
|
4204
|
-
var __getOwnPropSymbols$
|
|
4205
|
-
var __hasOwnProp$
|
|
4206
|
-
var __propIsEnum$
|
|
4207
|
-
var __defNormalProp$
|
|
4376
|
+
var __defProp$b = Object.defineProperty;
|
|
4377
|
+
var __defProps$b = Object.defineProperties;
|
|
4378
|
+
var __getOwnPropDescs$b = Object.getOwnPropertyDescriptors;
|
|
4379
|
+
var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
|
|
4380
|
+
var __hasOwnProp$b = Object.prototype.hasOwnProperty;
|
|
4381
|
+
var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
|
|
4382
|
+
var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, {
|
|
4208
4383
|
enumerable: true,
|
|
4209
4384
|
configurable: true,
|
|
4210
4385
|
writable: true,
|
|
4211
4386
|
value
|
|
4212
4387
|
}) : obj[key] = value;
|
|
4213
|
-
var __spreadValues$
|
|
4214
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4215
|
-
if (__getOwnPropSymbols$
|
|
4216
|
-
if (__propIsEnum$
|
|
4388
|
+
var __spreadValues$b = (a, b) => {
|
|
4389
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$b.call(b, prop)) __defNormalProp$b(a, prop, b[prop]);
|
|
4390
|
+
if (__getOwnPropSymbols$b) for (var prop of __getOwnPropSymbols$b(b)) {
|
|
4391
|
+
if (__propIsEnum$b.call(b, prop)) __defNormalProp$b(a, prop, b[prop]);
|
|
4217
4392
|
}
|
|
4218
4393
|
return a;
|
|
4219
4394
|
};
|
|
4220
|
-
var __spreadProps$
|
|
4221
|
-
var __objRest$
|
|
4395
|
+
var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
|
|
4396
|
+
var __objRest$2 = (source, exclude) => {
|
|
4222
4397
|
var target = {};
|
|
4223
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4224
|
-
if (source != null && __getOwnPropSymbols$
|
|
4225
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4398
|
+
for (var prop in source) if (__hasOwnProp$b.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4399
|
+
if (source != null && __getOwnPropSymbols$b) for (var prop of __getOwnPropSymbols$b(source)) {
|
|
4400
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$b.call(source, prop)) target[prop] = source[prop];
|
|
4226
4401
|
}
|
|
4227
4402
|
return target;
|
|
4228
4403
|
};
|
|
@@ -4234,7 +4409,7 @@
|
|
|
4234
4409
|
className,
|
|
4235
4410
|
checked
|
|
4236
4411
|
} = _b,
|
|
4237
|
-
props = __objRest$
|
|
4412
|
+
props = __objRest$2(_b, ["children", "className", "checked"]);
|
|
4238
4413
|
const Content = /*#__PURE__*/react$1.styled('span')({
|
|
4239
4414
|
name: "Content",
|
|
4240
4415
|
class: "c1to9vb9",
|
|
@@ -4242,7 +4417,7 @@
|
|
|
4242
4417
|
});
|
|
4243
4418
|
const classNames = [className, SwitchStyle, "switch"];
|
|
4244
4419
|
if (props.size === "large") classNames.push("ant-switch-large");
|
|
4245
|
-
return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement(antd.Switch, __spreadProps$
|
|
4420
|
+
return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement(antd.Switch, __spreadProps$b(__spreadValues$b({
|
|
4246
4421
|
className: core.cx(...classNames),
|
|
4247
4422
|
checked: checked || false
|
|
4248
4423
|
}, props), {
|
|
@@ -4324,30 +4499,30 @@
|
|
|
4324
4499
|
return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, title, /* @__PURE__ */React__namespace.default.createElement(Icon, {
|
|
4325
4500
|
alt: "arrowChevronUp16BoldSecondary",
|
|
4326
4501
|
className: cs__default.default("order-icon", sortOrder),
|
|
4327
|
-
src:
|
|
4502
|
+
src: iconsReact.ArrowChevronUp16BoldSecondaryIcon
|
|
4328
4503
|
}));
|
|
4329
4504
|
};
|
|
4330
4505
|
|
|
4331
|
-
var __defProp$
|
|
4332
|
-
var __defProps$
|
|
4333
|
-
var __getOwnPropDescs$
|
|
4334
|
-
var __getOwnPropSymbols$
|
|
4335
|
-
var __hasOwnProp$
|
|
4336
|
-
var __propIsEnum$
|
|
4337
|
-
var __defNormalProp$
|
|
4506
|
+
var __defProp$a = Object.defineProperty;
|
|
4507
|
+
var __defProps$a = Object.defineProperties;
|
|
4508
|
+
var __getOwnPropDescs$a = Object.getOwnPropertyDescriptors;
|
|
4509
|
+
var __getOwnPropSymbols$a = Object.getOwnPropertySymbols;
|
|
4510
|
+
var __hasOwnProp$a = Object.prototype.hasOwnProperty;
|
|
4511
|
+
var __propIsEnum$a = Object.prototype.propertyIsEnumerable;
|
|
4512
|
+
var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, {
|
|
4338
4513
|
enumerable: true,
|
|
4339
4514
|
configurable: true,
|
|
4340
4515
|
writable: true,
|
|
4341
4516
|
value
|
|
4342
4517
|
}) : obj[key] = value;
|
|
4343
|
-
var __spreadValues$
|
|
4344
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4345
|
-
if (__getOwnPropSymbols$
|
|
4346
|
-
if (__propIsEnum$
|
|
4518
|
+
var __spreadValues$a = (a, b) => {
|
|
4519
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$a.call(b, prop)) __defNormalProp$a(a, prop, b[prop]);
|
|
4520
|
+
if (__getOwnPropSymbols$a) for (var prop of __getOwnPropSymbols$a(b)) {
|
|
4521
|
+
if (__propIsEnum$a.call(b, prop)) __defNormalProp$a(a, prop, b[prop]);
|
|
4347
4522
|
}
|
|
4348
4523
|
return a;
|
|
4349
4524
|
};
|
|
4350
|
-
var __spreadProps$
|
|
4525
|
+
var __spreadProps$a = (a, b) => __defProps$a(a, __getOwnPropDescs$a(b));
|
|
4351
4526
|
const TableContainerStyle = "t1upn1sz";
|
|
4352
4527
|
const tableStyleCover = "tta5kd2";
|
|
4353
4528
|
const Table = props => {
|
|
@@ -4374,7 +4549,7 @@
|
|
|
4374
4549
|
const orderRef = React.useRef(null);
|
|
4375
4550
|
const hasScrollBard = useTableBodyHasScrollBar(wrapper, dataSource);
|
|
4376
4551
|
const _columns = React.useMemo(() => columns.map(column => {
|
|
4377
|
-
const _column = __spreadValues$
|
|
4552
|
+
const _column = __spreadValues$a({}, column);
|
|
4378
4553
|
if (_column.sorter && typeof _column.title !== "function") {
|
|
4379
4554
|
_column.title = /* @__PURE__ */React__namespace.default.createElement(ColumnTitle, {
|
|
4380
4555
|
title: column.title,
|
|
@@ -4411,12 +4586,12 @@
|
|
|
4411
4586
|
onSorterChange == null ? void 0 : onSorterChange(orderRef.current, sorter.columnKey);
|
|
4412
4587
|
}
|
|
4413
4588
|
},
|
|
4414
|
-
onRow: (record, index) => __spreadValues$
|
|
4589
|
+
onRow: (record, index) => __spreadValues$a({
|
|
4415
4590
|
onClick: evt => onRowClick == null ? void 0 : onRowClick(record, index, evt)
|
|
4416
4591
|
}, onRow == null ? void 0 : onRow(record, index)),
|
|
4417
4592
|
rowClassName,
|
|
4418
4593
|
scroll,
|
|
4419
|
-
rowSelection: rowSelection && __spreadProps$
|
|
4594
|
+
rowSelection: rowSelection && __spreadProps$a(__spreadValues$a({}, rowSelection), {
|
|
4420
4595
|
columnWidth: 32
|
|
4421
4596
|
}),
|
|
4422
4597
|
showSorterTooltip: false
|
|
@@ -4478,33 +4653,33 @@
|
|
|
4478
4653
|
return sortArr;
|
|
4479
4654
|
};
|
|
4480
4655
|
|
|
4481
|
-
var __defProp$
|
|
4482
|
-
var __defProps$
|
|
4483
|
-
var __getOwnPropDescs$
|
|
4484
|
-
var __getOwnPropSymbols$
|
|
4485
|
-
var __hasOwnProp$
|
|
4486
|
-
var __propIsEnum$
|
|
4487
|
-
var __defNormalProp$
|
|
4488
|
-
var __spreadValues$
|
|
4656
|
+
var __defProp$9 = Object.defineProperty;
|
|
4657
|
+
var __defProps$9 = Object.defineProperties;
|
|
4658
|
+
var __getOwnPropDescs$9 = Object.getOwnPropertyDescriptors;
|
|
4659
|
+
var __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;
|
|
4660
|
+
var __hasOwnProp$9 = Object.prototype.hasOwnProperty;
|
|
4661
|
+
var __propIsEnum$9 = Object.prototype.propertyIsEnumerable;
|
|
4662
|
+
var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4663
|
+
var __spreadValues$9 = (a, b) => {
|
|
4489
4664
|
for (var prop in b || (b = {}))
|
|
4490
|
-
if (__hasOwnProp$
|
|
4491
|
-
__defNormalProp$
|
|
4492
|
-
if (__getOwnPropSymbols$
|
|
4493
|
-
for (var prop of __getOwnPropSymbols$
|
|
4494
|
-
if (__propIsEnum$
|
|
4495
|
-
__defNormalProp$
|
|
4665
|
+
if (__hasOwnProp$9.call(b, prop))
|
|
4666
|
+
__defNormalProp$9(a, prop, b[prop]);
|
|
4667
|
+
if (__getOwnPropSymbols$9)
|
|
4668
|
+
for (var prop of __getOwnPropSymbols$9(b)) {
|
|
4669
|
+
if (__propIsEnum$9.call(b, prop))
|
|
4670
|
+
__defNormalProp$9(a, prop, b[prop]);
|
|
4496
4671
|
}
|
|
4497
4672
|
return a;
|
|
4498
4673
|
};
|
|
4499
|
-
var __spreadProps$
|
|
4500
|
-
var __objRest$
|
|
4674
|
+
var __spreadProps$9 = (a, b) => __defProps$9(a, __getOwnPropDescs$9(b));
|
|
4675
|
+
var __objRest$1 = (source, exclude) => {
|
|
4501
4676
|
var target = {};
|
|
4502
4677
|
for (var prop in source)
|
|
4503
|
-
if (__hasOwnProp$
|
|
4678
|
+
if (__hasOwnProp$9.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
4504
4679
|
target[prop] = source[prop];
|
|
4505
|
-
if (source != null && __getOwnPropSymbols$
|
|
4506
|
-
for (var prop of __getOwnPropSymbols$
|
|
4507
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4680
|
+
if (source != null && __getOwnPropSymbols$9)
|
|
4681
|
+
for (var prop of __getOwnPropSymbols$9(source)) {
|
|
4682
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$9.call(source, prop))
|
|
4508
4683
|
target[prop] = source[prop];
|
|
4509
4684
|
}
|
|
4510
4685
|
return target;
|
|
@@ -4520,7 +4695,7 @@
|
|
|
4520
4695
|
const _a = buttonProps || {}, {
|
|
4521
4696
|
disabled: disabledFromProp,
|
|
4522
4697
|
onClick
|
|
4523
|
-
} = _a, restButtonProps = __objRest$
|
|
4698
|
+
} = _a, restButtonProps = __objRest$1(_a, [
|
|
4524
4699
|
"disabled",
|
|
4525
4700
|
"onClick"
|
|
4526
4701
|
]);
|
|
@@ -4545,9 +4720,9 @@
|
|
|
4545
4720
|
if (!columns.length) {
|
|
4546
4721
|
return null;
|
|
4547
4722
|
}
|
|
4548
|
-
return CustomizedButton ? /* @__PURE__ */ React__namespace.default.createElement(CustomizedButton, __spreadValues$
|
|
4723
|
+
return CustomizedButton ? /* @__PURE__ */ React__namespace.default.createElement(CustomizedButton, __spreadValues$9({}, props)) : /* @__PURE__ */ React__namespace.default.createElement(AddRowButtonWrapper, { className }, /* @__PURE__ */ React__namespace.default.createElement(
|
|
4549
4724
|
Button,
|
|
4550
|
-
__spreadProps$
|
|
4725
|
+
__spreadProps$9(__spreadValues$9({}, restButtonProps), {
|
|
4551
4726
|
type: restButtonProps.type || "ordinary",
|
|
4552
4727
|
size: restButtonProps.size || "small",
|
|
4553
4728
|
prefixIcon: restButtonProps.prefixIcon || /* @__PURE__ */ React__namespace.default.createElement(iconsReact.PlusAddCreateNew16SecondaryIcon, null),
|
|
@@ -4642,25 +4817,25 @@
|
|
|
4642
4817
|
);
|
|
4643
4818
|
};
|
|
4644
4819
|
|
|
4645
|
-
var __defProp$
|
|
4646
|
-
var __defProps$
|
|
4647
|
-
var __getOwnPropDescs$
|
|
4648
|
-
var __getOwnPropSymbols$
|
|
4649
|
-
var __hasOwnProp$
|
|
4650
|
-
var __propIsEnum$
|
|
4651
|
-
var __defNormalProp$
|
|
4652
|
-
var __spreadValues$
|
|
4820
|
+
var __defProp$8 = Object.defineProperty;
|
|
4821
|
+
var __defProps$8 = Object.defineProperties;
|
|
4822
|
+
var __getOwnPropDescs$8 = Object.getOwnPropertyDescriptors;
|
|
4823
|
+
var __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;
|
|
4824
|
+
var __hasOwnProp$8 = Object.prototype.hasOwnProperty;
|
|
4825
|
+
var __propIsEnum$8 = Object.prototype.propertyIsEnumerable;
|
|
4826
|
+
var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4827
|
+
var __spreadValues$8 = (a, b) => {
|
|
4653
4828
|
for (var prop in b || (b = {}))
|
|
4654
|
-
if (__hasOwnProp$
|
|
4655
|
-
__defNormalProp$
|
|
4656
|
-
if (__getOwnPropSymbols$
|
|
4657
|
-
for (var prop of __getOwnPropSymbols$
|
|
4658
|
-
if (__propIsEnum$
|
|
4659
|
-
__defNormalProp$
|
|
4829
|
+
if (__hasOwnProp$8.call(b, prop))
|
|
4830
|
+
__defNormalProp$8(a, prop, b[prop]);
|
|
4831
|
+
if (__getOwnPropSymbols$8)
|
|
4832
|
+
for (var prop of __getOwnPropSymbols$8(b)) {
|
|
4833
|
+
if (__propIsEnum$8.call(b, prop))
|
|
4834
|
+
__defNormalProp$8(a, prop, b[prop]);
|
|
4660
4835
|
}
|
|
4661
4836
|
return a;
|
|
4662
4837
|
};
|
|
4663
|
-
var __spreadProps$
|
|
4838
|
+
var __spreadProps$8 = (a, b) => __defProps$8(a, __getOwnPropDescs$8(b));
|
|
4664
4839
|
const InputPassword = (props) => {
|
|
4665
4840
|
const [showPassword, setShowPassword] = React.useState(false);
|
|
4666
4841
|
React.useEffect(() => {
|
|
@@ -4676,7 +4851,7 @@
|
|
|
4676
4851
|
const inputType = showPassword ? "text" : "password";
|
|
4677
4852
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
4678
4853
|
Input,
|
|
4679
|
-
__spreadProps$
|
|
4854
|
+
__spreadProps$8(__spreadValues$8({}, props), {
|
|
4680
4855
|
type: inputType,
|
|
4681
4856
|
suffix: showPassword ? /* @__PURE__ */ React__namespace.default.createElement(
|
|
4682
4857
|
icons.EyeOutlined,
|
|
@@ -4696,9 +4871,9 @@
|
|
|
4696
4871
|
};
|
|
4697
4872
|
const CustomInput = (props) => {
|
|
4698
4873
|
if (props.type === "password") {
|
|
4699
|
-
return /* @__PURE__ */ React__namespace.default.createElement(InputPassword, __spreadValues$
|
|
4874
|
+
return /* @__PURE__ */ React__namespace.default.createElement(InputPassword, __spreadValues$8({}, props));
|
|
4700
4875
|
}
|
|
4701
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Input, __spreadValues$
|
|
4876
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Input, __spreadValues$8({}, props));
|
|
4702
4877
|
};
|
|
4703
4878
|
const InputColumnHeaderCell = ({ disabled, column, onChange, onBlur, onVisibleChange }) => {
|
|
4704
4879
|
const _onChange = (e) => {
|
|
@@ -4822,25 +4997,25 @@
|
|
|
4822
4997
|
return ValidateTriggerType2;
|
|
4823
4998
|
})(ValidateTriggerType || {});
|
|
4824
4999
|
|
|
4825
|
-
var __defProp$
|
|
4826
|
-
var __defProps$
|
|
4827
|
-
var __getOwnPropDescs$
|
|
4828
|
-
var __getOwnPropSymbols$
|
|
4829
|
-
var __hasOwnProp$
|
|
4830
|
-
var __propIsEnum$
|
|
4831
|
-
var __defNormalProp$
|
|
4832
|
-
var __spreadValues$
|
|
5000
|
+
var __defProp$7 = Object.defineProperty;
|
|
5001
|
+
var __defProps$7 = Object.defineProperties;
|
|
5002
|
+
var __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;
|
|
5003
|
+
var __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;
|
|
5004
|
+
var __hasOwnProp$7 = Object.prototype.hasOwnProperty;
|
|
5005
|
+
var __propIsEnum$7 = Object.prototype.propertyIsEnumerable;
|
|
5006
|
+
var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5007
|
+
var __spreadValues$7 = (a, b) => {
|
|
4833
5008
|
for (var prop in b || (b = {}))
|
|
4834
|
-
if (__hasOwnProp$
|
|
4835
|
-
__defNormalProp$
|
|
4836
|
-
if (__getOwnPropSymbols$
|
|
4837
|
-
for (var prop of __getOwnPropSymbols$
|
|
4838
|
-
if (__propIsEnum$
|
|
4839
|
-
__defNormalProp$
|
|
5009
|
+
if (__hasOwnProp$7.call(b, prop))
|
|
5010
|
+
__defNormalProp$7(a, prop, b[prop]);
|
|
5011
|
+
if (__getOwnPropSymbols$7)
|
|
5012
|
+
for (var prop of __getOwnPropSymbols$7(b)) {
|
|
5013
|
+
if (__propIsEnum$7.call(b, prop))
|
|
5014
|
+
__defNormalProp$7(a, prop, b[prop]);
|
|
4840
5015
|
}
|
|
4841
5016
|
return a;
|
|
4842
5017
|
};
|
|
4843
|
-
var __spreadProps$
|
|
5018
|
+
var __spreadProps$7 = (a, b) => __defProps$7(a, __getOwnPropDescs$7(b));
|
|
4844
5019
|
const TableFormBodyCell = (props) => {
|
|
4845
5020
|
const {
|
|
4846
5021
|
column,
|
|
@@ -4872,7 +5047,7 @@
|
|
|
4872
5047
|
(currentValue) => {
|
|
4873
5048
|
var _a;
|
|
4874
5049
|
const value = currentValue || data[rowIndex][column.key];
|
|
4875
|
-
const rowData = __spreadProps$
|
|
5050
|
+
const rowData = __spreadProps$7(__spreadValues$7({}, data[rowIndex]), { [column.key]: value });
|
|
4876
5051
|
const rowValidateRes = getRowValidateResult(rowData);
|
|
4877
5052
|
if (rowValidateRes) {
|
|
4878
5053
|
return;
|
|
@@ -4895,7 +5070,7 @@
|
|
|
4895
5070
|
}, [validateAll, triggerValidate]);
|
|
4896
5071
|
const _onChange = (value, data2) => {
|
|
4897
5072
|
const newData = data2.map(
|
|
4898
|
-
(row, i) => i === rowIndex ? __spreadProps$
|
|
5073
|
+
(row, i) => i === rowIndex ? __spreadProps$7(__spreadValues$7({}, row), { [column.key]: value }) : row
|
|
4899
5074
|
);
|
|
4900
5075
|
onChange == null ? void 0 : onChange(newData, rowIndex, column.key);
|
|
4901
5076
|
if (validateTriggerType === ValidateTriggerType.Normal && isTouched.current || validateTriggerType === ValidateTriggerType.Aggressive) {
|
|
@@ -4973,25 +5148,25 @@
|
|
|
4973
5148
|
);
|
|
4974
5149
|
};
|
|
4975
5150
|
|
|
4976
|
-
var __defProp$
|
|
4977
|
-
var __defProps$
|
|
4978
|
-
var __getOwnPropDescs$
|
|
4979
|
-
var __getOwnPropSymbols$
|
|
4980
|
-
var __hasOwnProp$
|
|
4981
|
-
var __propIsEnum$
|
|
4982
|
-
var __defNormalProp$
|
|
4983
|
-
var __spreadValues$
|
|
5151
|
+
var __defProp$6 = Object.defineProperty;
|
|
5152
|
+
var __defProps$6 = Object.defineProperties;
|
|
5153
|
+
var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
|
|
5154
|
+
var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
|
|
5155
|
+
var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
|
|
5156
|
+
var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
|
|
5157
|
+
var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5158
|
+
var __spreadValues$6 = (a, b) => {
|
|
4984
5159
|
for (var prop in b || (b = {}))
|
|
4985
|
-
if (__hasOwnProp$
|
|
4986
|
-
__defNormalProp$
|
|
4987
|
-
if (__getOwnPropSymbols$
|
|
4988
|
-
for (var prop of __getOwnPropSymbols$
|
|
4989
|
-
if (__propIsEnum$
|
|
4990
|
-
__defNormalProp$
|
|
5160
|
+
if (__hasOwnProp$6.call(b, prop))
|
|
5161
|
+
__defNormalProp$6(a, prop, b[prop]);
|
|
5162
|
+
if (__getOwnPropSymbols$6)
|
|
5163
|
+
for (var prop of __getOwnPropSymbols$6(b)) {
|
|
5164
|
+
if (__propIsEnum$6.call(b, prop))
|
|
5165
|
+
__defNormalProp$6(a, prop, b[prop]);
|
|
4991
5166
|
}
|
|
4992
5167
|
return a;
|
|
4993
5168
|
};
|
|
4994
|
-
var __spreadProps$
|
|
5169
|
+
var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
|
|
4995
5170
|
const TableFormRowDeleteAction = (props) => {
|
|
4996
5171
|
var _a, _b, _c, _d;
|
|
4997
5172
|
const { deleteConfig, row, updateData, rowIndex, data } = props;
|
|
@@ -5084,7 +5259,7 @@
|
|
|
5084
5259
|
);
|
|
5085
5260
|
});
|
|
5086
5261
|
const DraggableHandle = React.useMemo(
|
|
5087
|
-
() => draggable && provided ? /* @__PURE__ */ React__namespace.default.createElement(DraggableHandleWrapper, __spreadValues$
|
|
5262
|
+
() => draggable && provided ? /* @__PURE__ */ React__namespace.default.createElement(DraggableHandleWrapper, __spreadValues$6({}, provided.dragHandleProps), /* @__PURE__ */ React__namespace.default.createElement(
|
|
5088
5263
|
Icon,
|
|
5089
5264
|
{
|
|
5090
5265
|
src: iconsReact.HandlePoint816SecondaryIcon,
|
|
@@ -5146,7 +5321,7 @@
|
|
|
5146
5321
|
);
|
|
5147
5322
|
return draggable ? /* @__PURE__ */ React__namespace.default.createElement(reactBeautifulDnd.DragDropContext, { onDragEnd }, /* @__PURE__ */ React__namespace.default.createElement(reactBeautifulDnd.Droppable, { droppableId: "droppable" }, (provided) => /* @__PURE__ */ React__namespace.default.createElement(
|
|
5148
5323
|
"div",
|
|
5149
|
-
__spreadValues$
|
|
5324
|
+
__spreadValues$6({
|
|
5150
5325
|
className: "draggable-container",
|
|
5151
5326
|
ref: provided.innerRef
|
|
5152
5327
|
}, provided.droppableProps),
|
|
@@ -5157,9 +5332,9 @@
|
|
|
5157
5332
|
key: `draggable-id-${i}`,
|
|
5158
5333
|
index: i
|
|
5159
5334
|
},
|
|
5160
|
-
(provided2, snapshot) => /* @__PURE__ */ React__namespace.default.createElement("div", __spreadValues$
|
|
5335
|
+
(provided2, snapshot) => /* @__PURE__ */ React__namespace.default.createElement("div", __spreadValues$6({ ref: provided2.innerRef }, provided2.draggableProps), /* @__PURE__ */ React__namespace.default.createElement(
|
|
5161
5336
|
TableFormRow,
|
|
5162
|
-
__spreadProps$
|
|
5337
|
+
__spreadProps$6(__spreadValues$6({}, props), {
|
|
5163
5338
|
rowIndex: i,
|
|
5164
5339
|
provided: provided2,
|
|
5165
5340
|
snapshot
|
|
@@ -5167,28 +5342,28 @@
|
|
|
5167
5342
|
))
|
|
5168
5343
|
)),
|
|
5169
5344
|
provided.placeholder
|
|
5170
|
-
))) : /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, data.map((_d, i) => /* @__PURE__ */ React__namespace.default.createElement(TableFormRow, __spreadProps$
|
|
5345
|
+
))) : /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, data.map((_d, i) => /* @__PURE__ */ React__namespace.default.createElement(TableFormRow, __spreadProps$6(__spreadValues$6({}, props), { rowIndex: i, key: `table-row-${i}` }))));
|
|
5171
5346
|
});
|
|
5172
5347
|
|
|
5173
|
-
var __defProp$
|
|
5174
|
-
var __defProps$
|
|
5175
|
-
var __getOwnPropDescs$
|
|
5176
|
-
var __getOwnPropSymbols$
|
|
5177
|
-
var __hasOwnProp$
|
|
5178
|
-
var __propIsEnum$
|
|
5179
|
-
var __defNormalProp$
|
|
5180
|
-
var __spreadValues$
|
|
5348
|
+
var __defProp$5 = Object.defineProperty;
|
|
5349
|
+
var __defProps$5 = Object.defineProperties;
|
|
5350
|
+
var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
|
|
5351
|
+
var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;
|
|
5352
|
+
var __hasOwnProp$5 = Object.prototype.hasOwnProperty;
|
|
5353
|
+
var __propIsEnum$5 = Object.prototype.propertyIsEnumerable;
|
|
5354
|
+
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5355
|
+
var __spreadValues$5 = (a, b) => {
|
|
5181
5356
|
for (var prop in b || (b = {}))
|
|
5182
|
-
if (__hasOwnProp$
|
|
5183
|
-
__defNormalProp$
|
|
5184
|
-
if (__getOwnPropSymbols$
|
|
5185
|
-
for (var prop of __getOwnPropSymbols$
|
|
5186
|
-
if (__propIsEnum$
|
|
5187
|
-
__defNormalProp$
|
|
5357
|
+
if (__hasOwnProp$5.call(b, prop))
|
|
5358
|
+
__defNormalProp$5(a, prop, b[prop]);
|
|
5359
|
+
if (__getOwnPropSymbols$5)
|
|
5360
|
+
for (var prop of __getOwnPropSymbols$5(b)) {
|
|
5361
|
+
if (__propIsEnum$5.call(b, prop))
|
|
5362
|
+
__defNormalProp$5(a, prop, b[prop]);
|
|
5188
5363
|
}
|
|
5189
5364
|
return a;
|
|
5190
5365
|
};
|
|
5191
|
-
var __spreadProps$
|
|
5366
|
+
var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
|
|
5192
5367
|
const BatchInputListHeaderCell = (props) => {
|
|
5193
5368
|
const { column, disabled, data, disableBatchFilling, onBlur, onChange } = props;
|
|
5194
5369
|
const [errMsg, setErrMsg] = React.useState();
|
|
@@ -5200,7 +5375,7 @@
|
|
|
5200
5375
|
setErrMsg(err || void 0);
|
|
5201
5376
|
const shouldAutoIncrease = column.type !== "password" && column.autoIncrease;
|
|
5202
5377
|
const newData = data.map((cell, rowIndex) => {
|
|
5203
|
-
return __spreadProps$
|
|
5378
|
+
return __spreadProps$5(__spreadValues$5({}, cell), {
|
|
5204
5379
|
[column.key]: shouldAutoIncrease && typeof value === "string" ? increaseLastNumber(value, rowIndex) : value
|
|
5205
5380
|
});
|
|
5206
5381
|
});
|
|
@@ -5217,7 +5392,7 @@
|
|
|
5217
5392
|
const CellComponent = ColumnHeaderImpls[column.type];
|
|
5218
5393
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
5219
5394
|
CellComponent,
|
|
5220
|
-
__spreadProps$
|
|
5395
|
+
__spreadProps$5(__spreadValues$5({}, props), {
|
|
5221
5396
|
column,
|
|
5222
5397
|
onChange: headerOnChange,
|
|
5223
5398
|
onBlur: _onBlur
|
|
@@ -5252,25 +5427,25 @@
|
|
|
5252
5427
|
);
|
|
5253
5428
|
};
|
|
5254
5429
|
|
|
5255
|
-
var __defProp$
|
|
5256
|
-
var __defProps$
|
|
5257
|
-
var __getOwnPropDescs$
|
|
5258
|
-
var __getOwnPropSymbols$
|
|
5259
|
-
var __hasOwnProp$
|
|
5260
|
-
var __propIsEnum$
|
|
5261
|
-
var __defNormalProp$
|
|
5262
|
-
var __spreadValues$
|
|
5430
|
+
var __defProp$4 = Object.defineProperty;
|
|
5431
|
+
var __defProps$4 = Object.defineProperties;
|
|
5432
|
+
var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
|
|
5433
|
+
var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
|
|
5434
|
+
var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
|
|
5435
|
+
var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
|
|
5436
|
+
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5437
|
+
var __spreadValues$4 = (a, b) => {
|
|
5263
5438
|
for (var prop in b || (b = {}))
|
|
5264
|
-
if (__hasOwnProp$
|
|
5265
|
-
__defNormalProp$
|
|
5266
|
-
if (__getOwnPropSymbols$
|
|
5267
|
-
for (var prop of __getOwnPropSymbols$
|
|
5268
|
-
if (__propIsEnum$
|
|
5269
|
-
__defNormalProp$
|
|
5439
|
+
if (__hasOwnProp$4.call(b, prop))
|
|
5440
|
+
__defNormalProp$4(a, prop, b[prop]);
|
|
5441
|
+
if (__getOwnPropSymbols$4)
|
|
5442
|
+
for (var prop of __getOwnPropSymbols$4(b)) {
|
|
5443
|
+
if (__propIsEnum$4.call(b, prop))
|
|
5444
|
+
__defNormalProp$4(a, prop, b[prop]);
|
|
5270
5445
|
}
|
|
5271
5446
|
return a;
|
|
5272
5447
|
};
|
|
5273
|
-
var __spreadProps$
|
|
5448
|
+
var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
|
|
5274
5449
|
const DEFAULT_ROW_COUNT = 3;
|
|
5275
5450
|
const TableForm = React__namespace.default.forwardRef(
|
|
5276
5451
|
(props, ref) => {
|
|
@@ -5332,7 +5507,7 @@
|
|
|
5332
5507
|
(key, error) => {
|
|
5333
5508
|
if (error) {
|
|
5334
5509
|
const newData = latestData.map((cell) => {
|
|
5335
|
-
return __spreadProps$
|
|
5510
|
+
return __spreadProps$4(__spreadValues$4({}, cell), {
|
|
5336
5511
|
[key]: ""
|
|
5337
5512
|
});
|
|
5338
5513
|
});
|
|
@@ -5427,151 +5602,6 @@
|
|
|
5427
5602
|
}
|
|
5428
5603
|
);
|
|
5429
5604
|
|
|
5430
|
-
const PresetColors$2 = [
|
|
5431
|
-
"blue",
|
|
5432
|
-
"red",
|
|
5433
|
-
"yellow",
|
|
5434
|
-
"green",
|
|
5435
|
-
"gray",
|
|
5436
|
-
"purple"
|
|
5437
|
-
];
|
|
5438
|
-
|
|
5439
|
-
const Size$1 = {
|
|
5440
|
-
small: "sut42l0",
|
|
5441
|
-
medium: "mfsz1jz"
|
|
5442
|
-
};
|
|
5443
|
-
const TagStyle$1 = "tnd6h4m";
|
|
5444
|
-
const IconStyle$1 = "i1qw4clm";
|
|
5445
|
-
|
|
5446
|
-
var __defProp$5 = Object.defineProperty;
|
|
5447
|
-
var __defProps$5 = Object.defineProperties;
|
|
5448
|
-
var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
|
|
5449
|
-
var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;
|
|
5450
|
-
var __hasOwnProp$5 = Object.prototype.hasOwnProperty;
|
|
5451
|
-
var __propIsEnum$5 = Object.prototype.propertyIsEnumerable;
|
|
5452
|
-
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, {
|
|
5453
|
-
enumerable: true,
|
|
5454
|
-
configurable: true,
|
|
5455
|
-
writable: true,
|
|
5456
|
-
value
|
|
5457
|
-
}) : obj[key] = value;
|
|
5458
|
-
var __spreadValues$5 = (a, b) => {
|
|
5459
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$5.call(b, prop)) __defNormalProp$5(a, prop, b[prop]);
|
|
5460
|
-
if (__getOwnPropSymbols$5) for (var prop of __getOwnPropSymbols$5(b)) {
|
|
5461
|
-
if (__propIsEnum$5.call(b, prop)) __defNormalProp$5(a, prop, b[prop]);
|
|
5462
|
-
}
|
|
5463
|
-
return a;
|
|
5464
|
-
};
|
|
5465
|
-
var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
|
|
5466
|
-
var __objRest$2 = (source, exclude) => {
|
|
5467
|
-
var target = {};
|
|
5468
|
-
for (var prop in source) if (__hasOwnProp$5.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
5469
|
-
if (source != null && __getOwnPropSymbols$5) for (var prop of __getOwnPropSymbols$5(source)) {
|
|
5470
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$5.call(source, prop)) target[prop] = source[prop];
|
|
5471
|
-
}
|
|
5472
|
-
return target;
|
|
5473
|
-
};
|
|
5474
|
-
const WrapperStyle = "w1xcixj5";
|
|
5475
|
-
const SplitTag = _a => {
|
|
5476
|
-
var _b = _a,
|
|
5477
|
-
{
|
|
5478
|
-
size = "small",
|
|
5479
|
-
color = "gray",
|
|
5480
|
-
className,
|
|
5481
|
-
primaryContent,
|
|
5482
|
-
secondaryContent,
|
|
5483
|
-
icon
|
|
5484
|
-
} = _b,
|
|
5485
|
-
props = __objRest$2(_b, ["size", "color", "className", "primaryContent", "secondaryContent", "icon"]);
|
|
5486
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$5(__spreadValues$5({}, props), {
|
|
5487
|
-
className: cs__default.default(className, TagStyle$1, Size$1[size], WrapperStyle, Typo.Label.l4_regular, {
|
|
5488
|
-
[`ant-tag-${color}`]: PresetColors$2.includes(color)
|
|
5489
|
-
}, "outside-tag")
|
|
5490
|
-
}), /* @__PURE__ */React__namespace.default.createElement(antd.Tag, {
|
|
5491
|
-
className: cs__default.default(Size$1[size], TagStyle$1, Typo.Label.l4_regular, {
|
|
5492
|
-
[`ant-tag-${color}`]: PresetColors$2.includes(color)
|
|
5493
|
-
}, "inside-tag")
|
|
5494
|
-
}, icon && /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
5495
|
-
className: cs__default.default("ui-kit-tag-icon", IconStyle$1)
|
|
5496
|
-
}, icon), primaryContent), secondaryContent);
|
|
5497
|
-
};
|
|
5498
|
-
|
|
5499
|
-
var __defProp$4 = Object.defineProperty;
|
|
5500
|
-
var __defProps$4 = Object.defineProperties;
|
|
5501
|
-
var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
|
|
5502
|
-
var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
|
|
5503
|
-
var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
|
|
5504
|
-
var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
|
|
5505
|
-
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5506
|
-
var __spreadValues$4 = (a, b) => {
|
|
5507
|
-
for (var prop in b || (b = {}))
|
|
5508
|
-
if (__hasOwnProp$4.call(b, prop))
|
|
5509
|
-
__defNormalProp$4(a, prop, b[prop]);
|
|
5510
|
-
if (__getOwnPropSymbols$4)
|
|
5511
|
-
for (var prop of __getOwnPropSymbols$4(b)) {
|
|
5512
|
-
if (__propIsEnum$4.call(b, prop))
|
|
5513
|
-
__defNormalProp$4(a, prop, b[prop]);
|
|
5514
|
-
}
|
|
5515
|
-
return a;
|
|
5516
|
-
};
|
|
5517
|
-
var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
|
|
5518
|
-
var __objRest$1 = (source, exclude) => {
|
|
5519
|
-
var target = {};
|
|
5520
|
-
for (var prop in source)
|
|
5521
|
-
if (__hasOwnProp$4.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
5522
|
-
target[prop] = source[prop];
|
|
5523
|
-
if (source != null && __getOwnPropSymbols$4)
|
|
5524
|
-
for (var prop of __getOwnPropSymbols$4(source)) {
|
|
5525
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$4.call(source, prop))
|
|
5526
|
-
target[prop] = source[prop];
|
|
5527
|
-
}
|
|
5528
|
-
return target;
|
|
5529
|
-
};
|
|
5530
|
-
const PresetColors$1 = [
|
|
5531
|
-
...PresetColors$2,
|
|
5532
|
-
"red-ontint",
|
|
5533
|
-
"green-ontint"
|
|
5534
|
-
];
|
|
5535
|
-
const AntdColorMap = {
|
|
5536
|
-
processing: "blue",
|
|
5537
|
-
success: "green",
|
|
5538
|
-
error: "red",
|
|
5539
|
-
warn: "yellow",
|
|
5540
|
-
default: "gray"
|
|
5541
|
-
};
|
|
5542
|
-
const Tag = (_a) => {
|
|
5543
|
-
var _b = _a, {
|
|
5544
|
-
size = "small",
|
|
5545
|
-
color = "gray",
|
|
5546
|
-
className,
|
|
5547
|
-
hoverable = false,
|
|
5548
|
-
icon,
|
|
5549
|
-
children
|
|
5550
|
-
} = _b, props = __objRest$1(_b, [
|
|
5551
|
-
"size",
|
|
5552
|
-
"color",
|
|
5553
|
-
"className",
|
|
5554
|
-
"hoverable",
|
|
5555
|
-
"icon",
|
|
5556
|
-
"children"
|
|
5557
|
-
]);
|
|
5558
|
-
const computedColor = AntdColorMap[color] || color;
|
|
5559
|
-
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
5560
|
-
antd.Tag,
|
|
5561
|
-
__spreadProps$4(__spreadValues$4({}, props), {
|
|
5562
|
-
className: cs__default.default(className, Size$1[size], TagStyle$1, Typo.Label.l4_regular, {
|
|
5563
|
-
[`ant-tag-${computedColor}`]: PresetColors$1.includes(computedColor),
|
|
5564
|
-
"tag-hover": hoverable
|
|
5565
|
-
}),
|
|
5566
|
-
closable: false,
|
|
5567
|
-
color: computedColor === "gray" ? void 0 : computedColor
|
|
5568
|
-
}),
|
|
5569
|
-
icon && /* @__PURE__ */ React__namespace.default.createElement("span", { className: IconStyle$1 }, icon),
|
|
5570
|
-
children
|
|
5571
|
-
);
|
|
5572
|
-
};
|
|
5573
|
-
Tag.SplitTag = SplitTag;
|
|
5574
|
-
|
|
5575
5605
|
const timeWrapper = "t19ustft";
|
|
5576
5606
|
const Time = props => {
|
|
5577
5607
|
const {
|
|
@@ -5703,7 +5733,7 @@
|
|
|
5703
5733
|
className: OptionWrapperStyle
|
|
5704
5734
|
}, /* @__PURE__ */React__namespace.default.createElement(TimeZoneOption, {
|
|
5705
5735
|
key: "utc",
|
|
5706
|
-
customLabel: t("components.
|
|
5736
|
+
customLabel: t("components.coordinated_universal_time"),
|
|
5707
5737
|
timeZone: {
|
|
5708
5738
|
value: "UTC",
|
|
5709
5739
|
text: "UTC",
|
|
@@ -5963,7 +5993,8 @@
|
|
|
5963
5993
|
DetailCard,
|
|
5964
5994
|
TruncatedTextWithTooltip,
|
|
5965
5995
|
Counting,
|
|
5966
|
-
Breadcrumb
|
|
5996
|
+
Breadcrumb,
|
|
5997
|
+
CircleProgress
|
|
5967
5998
|
};
|
|
5968
5999
|
kit.option.isSelectOption = true;
|
|
5969
6000
|
kit.button.__ANT_BUTTON = true;
|