@cloudtower/eagle 0.27.1 → 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/Tag/Tag.stories.d.ts +2 -2
- package/dist/components/Tag/style.d.ts +1 -0
- package/dist/components.css +1247 -1208
- package/dist/core/StepProgress/StepProgress.stories.d.ts +8 -0
- package/dist/core/StepProgress/index.d.ts +3 -0
- package/dist/esm/index.js +620 -594
- 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 +686 -647
- package/dist/umd/index.js +617 -591
- 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", {
|
|
@@ -1738,6 +1756,8 @@
|
|
|
1738
1756
|
const LoadingLine3 = "l1exo3h6";
|
|
1739
1757
|
|
|
1740
1758
|
var __defProp$H = Object.defineProperty;
|
|
1759
|
+
var __defProps$y = Object.defineProperties;
|
|
1760
|
+
var __getOwnPropDescs$y = Object.getOwnPropertyDescriptors;
|
|
1741
1761
|
var __getOwnPropSymbols$I = Object.getOwnPropertySymbols;
|
|
1742
1762
|
var __hasOwnProp$I = Object.prototype.hasOwnProperty;
|
|
1743
1763
|
var __propIsEnum$I = Object.prototype.propertyIsEnumerable;
|
|
@@ -1753,10 +1773,11 @@
|
|
|
1753
1773
|
}
|
|
1754
1774
|
return a;
|
|
1755
1775
|
};
|
|
1776
|
+
var __spreadProps$y = (a, b) => __defProps$y(a, __getOwnPropDescs$y(b));
|
|
1756
1777
|
const Loading = ({ fullView = true }) => {
|
|
1757
1778
|
const Wrapper = fullView ? FullView : React.Fragment;
|
|
1758
1779
|
const props = fullView ? { className: "loading-full-view" } : {};
|
|
1759
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Wrapper, __spreadValues$H({}, props), /* @__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 })));
|
|
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 })));
|
|
1760
1781
|
};
|
|
1761
1782
|
|
|
1762
1783
|
var __defProp$G = Object.defineProperty;
|
|
@@ -2583,7 +2604,7 @@
|
|
|
2583
2604
|
size,
|
|
2584
2605
|
allowClear,
|
|
2585
2606
|
onClick,
|
|
2586
|
-
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,
|
|
2587
2608
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
2588
2609
|
}), props), {
|
|
2589
2610
|
onChange: (e) => {
|
|
@@ -2916,9 +2937,43 @@
|
|
|
2916
2937
|
return /* @__PURE__ */ React__namespace.default.createElement(reactI18next.Trans, __spreadValues$r({ i18n }, props));
|
|
2917
2938
|
};
|
|
2918
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;
|
|
2919
2960
|
var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
|
|
2920
2961
|
var __hasOwnProp$r = Object.prototype.hasOwnProperty;
|
|
2921
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));
|
|
2922
2977
|
var __objRest$a = (source, exclude) => {
|
|
2923
2978
|
var target = {};
|
|
2924
2979
|
for (var prop in source) if (__hasOwnProp$r.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
@@ -2927,22 +2982,137 @@
|
|
|
2927
2982
|
}
|
|
2928
2983
|
return target;
|
|
2929
2984
|
};
|
|
2930
|
-
const
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
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";
|
|
2935
3103
|
const I18nNameTag = props => {
|
|
2936
3104
|
const _a = props,
|
|
2937
3105
|
{
|
|
2938
3106
|
name,
|
|
2939
3107
|
i18nKey
|
|
2940
3108
|
} = _a,
|
|
2941
|
-
otherOption = __objRest$
|
|
3109
|
+
otherOption = __objRest$8(_a, ["name", "i18nKey"]);
|
|
2942
3110
|
return /* @__PURE__ */React__namespace.default.createElement(ParrotTrans, {
|
|
2943
3111
|
i18nKey,
|
|
2944
3112
|
tOptions: otherOption
|
|
2945
|
-
}, "h", /* @__PURE__ */React__namespace.default.createElement(NameTag,
|
|
3113
|
+
}, "h", /* @__PURE__ */React__namespace.default.createElement(Tag.NameTag, {
|
|
3114
|
+
className: tagStyle
|
|
3115
|
+
}, {
|
|
2946
3116
|
name
|
|
2947
3117
|
}));
|
|
2948
3118
|
};
|
|
@@ -2954,25 +3124,25 @@
|
|
|
2954
3124
|
propsAsIs: true
|
|
2955
3125
|
});
|
|
2956
3126
|
|
|
2957
|
-
var __defProp$
|
|
2958
|
-
var __defProps$
|
|
2959
|
-
var __getOwnPropDescs$
|
|
2960
|
-
var __getOwnPropSymbols$
|
|
2961
|
-
var __hasOwnProp$
|
|
2962
|
-
var __propIsEnum$
|
|
2963
|
-
var __defNormalProp$
|
|
2964
|
-
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) => {
|
|
2965
3135
|
for (var prop in b || (b = {}))
|
|
2966
|
-
if (__hasOwnProp$
|
|
2967
|
-
__defNormalProp$
|
|
2968
|
-
if (__getOwnPropSymbols$
|
|
2969
|
-
for (var prop of __getOwnPropSymbols$
|
|
2970
|
-
if (__propIsEnum$
|
|
2971
|
-
__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]);
|
|
2972
3142
|
}
|
|
2973
3143
|
return a;
|
|
2974
3144
|
};
|
|
2975
|
-
var __spreadProps$
|
|
3145
|
+
var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
|
|
2976
3146
|
let messageInstance;
|
|
2977
3147
|
let defaultDuration = 3;
|
|
2978
3148
|
let defaultTop;
|
|
@@ -3079,7 +3249,7 @@
|
|
|
3079
3249
|
}
|
|
3080
3250
|
getRCNotificationInstance(args, ({ prefixCls, instance }) => {
|
|
3081
3251
|
instance.notice(
|
|
3082
|
-
getRCNoticeProps(__spreadProps$
|
|
3252
|
+
getRCNoticeProps(__spreadProps$i(__spreadValues$o({}, args), { key: target, onClose: callback }), prefixCls)
|
|
3083
3253
|
);
|
|
3084
3254
|
});
|
|
3085
3255
|
});
|
|
@@ -3108,7 +3278,7 @@
|
|
|
3108
3278
|
function attachTypeApi(originalApi, type) {
|
|
3109
3279
|
originalApi[type] = (content, duration, onClose) => {
|
|
3110
3280
|
if (isArgsProps(content)) {
|
|
3111
|
-
return originalApi.open(__spreadProps$
|
|
3281
|
+
return originalApi.open(__spreadProps$i(__spreadValues$o({}, content), { type }));
|
|
3112
3282
|
}
|
|
3113
3283
|
if (typeof duration === "function") {
|
|
3114
3284
|
onClose = duration;
|
|
@@ -3122,25 +3292,25 @@
|
|
|
3122
3292
|
);
|
|
3123
3293
|
api.warn = api.warning;
|
|
3124
3294
|
|
|
3125
|
-
var __defProp$
|
|
3126
|
-
var __defProps$
|
|
3127
|
-
var __getOwnPropDescs$
|
|
3128
|
-
var __getOwnPropSymbols$
|
|
3129
|
-
var __hasOwnProp$
|
|
3130
|
-
var __propIsEnum$
|
|
3131
|
-
var __defNormalProp$
|
|
3132
|
-
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) => {
|
|
3133
3303
|
for (var prop in b || (b = {}))
|
|
3134
|
-
if (__hasOwnProp$
|
|
3135
|
-
__defNormalProp$
|
|
3136
|
-
if (__getOwnPropSymbols$
|
|
3137
|
-
for (var prop of __getOwnPropSymbols$
|
|
3138
|
-
if (__propIsEnum$
|
|
3139
|
-
__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]);
|
|
3140
3310
|
}
|
|
3141
3311
|
return a;
|
|
3142
3312
|
};
|
|
3143
|
-
var __spreadProps$
|
|
3313
|
+
var __spreadProps$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
|
|
3144
3314
|
const initialChartState = {
|
|
3145
3315
|
pointers: {},
|
|
3146
3316
|
resourceData: {},
|
|
@@ -3150,8 +3320,8 @@
|
|
|
3150
3320
|
switch (action.type) {
|
|
3151
3321
|
case "SET_POINTER" /* SET_POINTER */: {
|
|
3152
3322
|
const { uuid, left, text, visible, value } = action.payload;
|
|
3153
|
-
return __spreadProps$
|
|
3154
|
-
pointers: __spreadProps$
|
|
3323
|
+
return __spreadProps$h(__spreadValues$n({}, state), {
|
|
3324
|
+
pointers: __spreadProps$h(__spreadValues$n({}, state.pointers), {
|
|
3155
3325
|
[uuid]: {
|
|
3156
3326
|
left,
|
|
3157
3327
|
text,
|
|
@@ -3163,16 +3333,16 @@
|
|
|
3163
3333
|
}
|
|
3164
3334
|
case "SET_RESOURCE_DATA" /* SET_RESOURCE_DATA */: {
|
|
3165
3335
|
const { uuid, data } = action.payload;
|
|
3166
|
-
return __spreadProps$
|
|
3167
|
-
resourceData: __spreadProps$
|
|
3336
|
+
return __spreadProps$h(__spreadValues$n({}, state), {
|
|
3337
|
+
resourceData: __spreadProps$h(__spreadValues$n({}, state.resourceData), {
|
|
3168
3338
|
[uuid]: data
|
|
3169
3339
|
})
|
|
3170
3340
|
});
|
|
3171
3341
|
}
|
|
3172
3342
|
case "SET_AVERAGE_DATA" /* SET_AVERAGE_DATA */: {
|
|
3173
3343
|
const { uuid, average } = action.payload;
|
|
3174
|
-
return __spreadProps$
|
|
3175
|
-
averageData: __spreadProps$
|
|
3344
|
+
return __spreadProps$h(__spreadValues$n({}, state), {
|
|
3345
|
+
averageData: __spreadProps$h(__spreadValues$n({}, state.averageData), {
|
|
3176
3346
|
[uuid]: average
|
|
3177
3347
|
})
|
|
3178
3348
|
});
|
|
@@ -3183,25 +3353,25 @@
|
|
|
3183
3353
|
}
|
|
3184
3354
|
};
|
|
3185
3355
|
|
|
3186
|
-
var __defProp$
|
|
3187
|
-
var __defProps$
|
|
3188
|
-
var __getOwnPropDescs$
|
|
3189
|
-
var __getOwnPropSymbols$
|
|
3190
|
-
var __hasOwnProp$
|
|
3191
|
-
var __propIsEnum$
|
|
3192
|
-
var __defNormalProp$
|
|
3193
|
-
var __spreadValues$
|
|
3194
|
-
for (var prop in b || (b = {}))
|
|
3195
|
-
if (__hasOwnProp$
|
|
3196
|
-
__defNormalProp$
|
|
3197
|
-
if (__getOwnPropSymbols$
|
|
3198
|
-
for (var prop of __getOwnPropSymbols$
|
|
3199
|
-
if (__propIsEnum$
|
|
3200
|
-
__defNormalProp$
|
|
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) => {
|
|
3364
|
+
for (var prop in b || (b = {}))
|
|
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]);
|
|
3201
3371
|
}
|
|
3202
3372
|
return a;
|
|
3203
3373
|
};
|
|
3204
|
-
var __spreadProps$
|
|
3374
|
+
var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
|
|
3205
3375
|
var ModalActions = /* @__PURE__ */ ((ModalActions2) => {
|
|
3206
3376
|
ModalActions2["PUSH_MODAL"] = "PUSH_MODAL";
|
|
3207
3377
|
ModalActions2["POP_MODAL"] = "POP_MODAL";
|
|
@@ -3222,22 +3392,22 @@
|
|
|
3222
3392
|
)) {
|
|
3223
3393
|
return state;
|
|
3224
3394
|
}
|
|
3225
|
-
return __spreadProps$
|
|
3226
|
-
stack: state.stack.concat(__spreadProps$
|
|
3395
|
+
return __spreadProps$g(__spreadValues$m({}, state), {
|
|
3396
|
+
stack: state.stack.concat(__spreadProps$g(__spreadValues$m({}, action.payload), {
|
|
3227
3397
|
id: MODAL_ID++
|
|
3228
3398
|
}))
|
|
3229
3399
|
});
|
|
3230
3400
|
case "POP_MODAL" /* POP_MODAL */:
|
|
3231
|
-
return __spreadProps$
|
|
3401
|
+
return __spreadProps$g(__spreadValues$m({}, state), {
|
|
3232
3402
|
stack: state.stack.slice(0, -1)
|
|
3233
3403
|
});
|
|
3234
3404
|
case "REMOVE_MODAL" /* REMOVE_MODAL */:
|
|
3235
|
-
return __spreadProps$
|
|
3405
|
+
return __spreadProps$g(__spreadValues$m({}, state), {
|
|
3236
3406
|
closeId: 0,
|
|
3237
3407
|
stack: state.stack.filter((m) => m.id !== action.id)
|
|
3238
3408
|
});
|
|
3239
3409
|
case "CLOSE_MODAL" /* CLOSE_MODAL */:
|
|
3240
|
-
return __spreadProps$
|
|
3410
|
+
return __spreadProps$g(__spreadValues$m({}, state), {
|
|
3241
3411
|
closeId: action.id
|
|
3242
3412
|
});
|
|
3243
3413
|
default:
|
|
@@ -3294,33 +3464,33 @@
|
|
|
3294
3464
|
const HorizontalStepContentStyle = "h1xo7yjb";
|
|
3295
3465
|
const VerticalStepContentStyle = "v1f2f7cy";
|
|
3296
3466
|
|
|
3297
|
-
var __defProp$
|
|
3298
|
-
var __defProps$
|
|
3299
|
-
var __getOwnPropDescs$
|
|
3300
|
-
var __getOwnPropSymbols$
|
|
3301
|
-
var __hasOwnProp$
|
|
3302
|
-
var __propIsEnum$
|
|
3303
|
-
var __defNormalProp$
|
|
3304
|
-
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) => {
|
|
3305
3475
|
for (var prop in b || (b = {}))
|
|
3306
|
-
if (__hasOwnProp$
|
|
3307
|
-
__defNormalProp$
|
|
3308
|
-
if (__getOwnPropSymbols$
|
|
3309
|
-
for (var prop of __getOwnPropSymbols$
|
|
3310
|
-
if (__propIsEnum$
|
|
3311
|
-
__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]);
|
|
3312
3482
|
}
|
|
3313
3483
|
return a;
|
|
3314
3484
|
};
|
|
3315
|
-
var __spreadProps$
|
|
3316
|
-
var __objRest$
|
|
3485
|
+
var __spreadProps$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
|
|
3486
|
+
var __objRest$7 = (source, exclude) => {
|
|
3317
3487
|
var target = {};
|
|
3318
3488
|
for (var prop in source)
|
|
3319
|
-
if (__hasOwnProp$
|
|
3489
|
+
if (__hasOwnProp$l.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3320
3490
|
target[prop] = source[prop];
|
|
3321
|
-
if (source != null && __getOwnPropSymbols$
|
|
3322
|
-
for (var prop of __getOwnPropSymbols$
|
|
3323
|
-
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))
|
|
3324
3494
|
target[prop] = source[prop];
|
|
3325
3495
|
}
|
|
3326
3496
|
return target;
|
|
@@ -3336,7 +3506,7 @@
|
|
|
3336
3506
|
setTooltipEnable({});
|
|
3337
3507
|
}
|
|
3338
3508
|
}, [textRef]);
|
|
3339
|
-
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(
|
|
3340
3510
|
"div",
|
|
3341
3511
|
{
|
|
3342
3512
|
className: isVerticalMode ? VerticalStepContentStyle : HorizontalStepContentStyle
|
|
@@ -3352,7 +3522,7 @@
|
|
|
3352
3522
|
containerClassname,
|
|
3353
3523
|
current = 0,
|
|
3354
3524
|
disabled
|
|
3355
|
-
} = _a, stepsProps = __objRest$
|
|
3525
|
+
} = _a, stepsProps = __objRest$7(_a, [
|
|
3356
3526
|
"stepsConfig",
|
|
3357
3527
|
"direction",
|
|
3358
3528
|
"containerClassname",
|
|
@@ -3371,14 +3541,14 @@
|
|
|
3371
3541
|
},
|
|
3372
3542
|
/* @__PURE__ */ React__namespace.default.createElement(
|
|
3373
3543
|
antd.Steps,
|
|
3374
|
-
__spreadProps$
|
|
3544
|
+
__spreadProps$f(__spreadValues$l({}, stepsProps), {
|
|
3375
3545
|
direction,
|
|
3376
3546
|
current,
|
|
3377
3547
|
type: "default"
|
|
3378
3548
|
}),
|
|
3379
3549
|
(stepsConfig == null ? void 0 : stepsConfig.length) ? stepsConfig.map((step, index) => /* @__PURE__ */ React__namespace.default.createElement(
|
|
3380
3550
|
antd.Steps.Step,
|
|
3381
|
-
__spreadProps$
|
|
3551
|
+
__spreadProps$f(__spreadValues$l({
|
|
3382
3552
|
key: index
|
|
3383
3553
|
}, step), {
|
|
3384
3554
|
disabled: disabled || index > current,
|
|
@@ -3397,33 +3567,33 @@
|
|
|
3397
3567
|
);
|
|
3398
3568
|
};
|
|
3399
3569
|
|
|
3400
|
-
var __defProp$
|
|
3401
|
-
var __defProps$
|
|
3402
|
-
var __getOwnPropDescs$
|
|
3403
|
-
var __getOwnPropSymbols$
|
|
3404
|
-
var __hasOwnProp$
|
|
3405
|
-
var __propIsEnum$
|
|
3406
|
-
var __defNormalProp$
|
|
3407
|
-
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) => {
|
|
3408
3578
|
for (var prop in b || (b = {}))
|
|
3409
|
-
if (__hasOwnProp$
|
|
3410
|
-
__defNormalProp$
|
|
3411
|
-
if (__getOwnPropSymbols$
|
|
3412
|
-
for (var prop of __getOwnPropSymbols$
|
|
3413
|
-
if (__propIsEnum$
|
|
3414
|
-
__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]);
|
|
3415
3585
|
}
|
|
3416
3586
|
return a;
|
|
3417
3587
|
};
|
|
3418
|
-
var __spreadProps$
|
|
3419
|
-
var __objRest$
|
|
3588
|
+
var __spreadProps$e = (a, b) => __defProps$e(a, __getOwnPropDescs$e(b));
|
|
3589
|
+
var __objRest$6 = (source, exclude) => {
|
|
3420
3590
|
var target = {};
|
|
3421
3591
|
for (var prop in source)
|
|
3422
|
-
if (__hasOwnProp$
|
|
3592
|
+
if (__hasOwnProp$k.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3423
3593
|
target[prop] = source[prop];
|
|
3424
|
-
if (source != null && __getOwnPropSymbols$
|
|
3425
|
-
for (var prop of __getOwnPropSymbols$
|
|
3426
|
-
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))
|
|
3427
3597
|
target[prop] = source[prop];
|
|
3428
3598
|
}
|
|
3429
3599
|
return target;
|
|
@@ -3450,7 +3620,7 @@
|
|
|
3450
3620
|
showCancel = true,
|
|
3451
3621
|
showOk = true,
|
|
3452
3622
|
afterClose
|
|
3453
|
-
} = _a, restProps = __objRest$
|
|
3623
|
+
} = _a, restProps = __objRest$6(_a, [
|
|
3454
3624
|
"error",
|
|
3455
3625
|
"okText",
|
|
3456
3626
|
"cancelText",
|
|
@@ -3505,7 +3675,7 @@
|
|
|
3505
3675
|
}
|
|
3506
3676
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
3507
3677
|
antd.Modal,
|
|
3508
|
-
__spreadProps$
|
|
3678
|
+
__spreadProps$e(__spreadValues$k({
|
|
3509
3679
|
maskClosable,
|
|
3510
3680
|
className: cs__default.default(
|
|
3511
3681
|
className,
|
|
@@ -3540,7 +3710,7 @@
|
|
|
3540
3710
|
prevText
|
|
3541
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(
|
|
3542
3712
|
Button,
|
|
3543
|
-
__spreadValues$
|
|
3713
|
+
__spreadValues$k({
|
|
3544
3714
|
type: "quiet",
|
|
3545
3715
|
onMouseDown: (e) => {
|
|
3546
3716
|
e.preventDefault();
|
|
@@ -3554,7 +3724,7 @@
|
|
|
3554
3724
|
cancelText
|
|
3555
3725
|
), showOk && /* @__PURE__ */ React__namespace.default.createElement(
|
|
3556
3726
|
Button,
|
|
3557
|
-
__spreadValues$
|
|
3727
|
+
__spreadValues$k({
|
|
3558
3728
|
onClick: (e) => {
|
|
3559
3729
|
var _a2, _b2;
|
|
3560
3730
|
onOk == null ? void 0 : onOk(e);
|
|
@@ -3596,26 +3766,26 @@
|
|
|
3596
3766
|
);
|
|
3597
3767
|
};
|
|
3598
3768
|
|
|
3599
|
-
var __defProp$
|
|
3600
|
-
var __defProps$
|
|
3601
|
-
var __getOwnPropDescs$
|
|
3602
|
-
var __getOwnPropSymbols$
|
|
3603
|
-
var __hasOwnProp$
|
|
3604
|
-
var __propIsEnum$
|
|
3605
|
-
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, {
|
|
3606
3776
|
enumerable: true,
|
|
3607
3777
|
configurable: true,
|
|
3608
3778
|
writable: true,
|
|
3609
3779
|
value
|
|
3610
3780
|
}) : obj[key] = value;
|
|
3611
|
-
var __spreadValues$
|
|
3612
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3613
|
-
if (__getOwnPropSymbols$
|
|
3614
|
-
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]);
|
|
3615
3785
|
}
|
|
3616
3786
|
return a;
|
|
3617
3787
|
};
|
|
3618
|
-
var __spreadProps$
|
|
3788
|
+
var __spreadProps$d = (a, b) => __defProps$d(a, __getOwnPropDescs$d(b));
|
|
3619
3789
|
const OverflowText = "o8ocss1";
|
|
3620
3790
|
const NoWrap = "n17syc35";
|
|
3621
3791
|
const OverflowTooltip = props => {
|
|
@@ -3646,7 +3816,7 @@
|
|
|
3646
3816
|
observer == null ? void 0 : observer.disconnect();
|
|
3647
3817
|
};
|
|
3648
3818
|
});
|
|
3649
|
-
return /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadProps$
|
|
3819
|
+
return /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadProps$d(__spreadValues$j({}, !ellipsis && {
|
|
3650
3820
|
visible: false
|
|
3651
3821
|
}), {
|
|
3652
3822
|
title: tooltip
|
|
@@ -3719,8 +3889,8 @@
|
|
|
3719
3889
|
}, /* @__PURE__ */React__namespace.default.createElement(Icon, {
|
|
3720
3890
|
alt: "arrowChevronDownSmall16Secondary",
|
|
3721
3891
|
className: "pagination-left dropdown-trigger",
|
|
3722
|
-
src:
|
|
3723
|
-
hoverSrc:
|
|
3892
|
+
src: iconsReact.ArrowChevronDownSmall16SecondaryIcon,
|
|
3893
|
+
hoverSrc: iconsReact.ArrowChevronDownSmall16BlueIcon,
|
|
3724
3894
|
prefix: content
|
|
3725
3895
|
}));
|
|
3726
3896
|
}
|
|
@@ -3741,7 +3911,7 @@
|
|
|
3741
3911
|
size: "small",
|
|
3742
3912
|
prefixIcon: /* @__PURE__ */React__namespace.default.createElement(Icon, {
|
|
3743
3913
|
alt: "arrowChevronLeftSmall16BoldBlue",
|
|
3744
|
-
src:
|
|
3914
|
+
src: iconsReact.ArrowChevronLeftSmall16BoldBlueIcon
|
|
3745
3915
|
}),
|
|
3746
3916
|
onClick: () => {
|
|
3747
3917
|
onChange == null ? void 0 : onChange(current - 1);
|
|
@@ -3754,7 +3924,7 @@
|
|
|
3754
3924
|
size: "small",
|
|
3755
3925
|
suffixIcon: /* @__PURE__ */React__namespace.default.createElement(Icon, {
|
|
3756
3926
|
alt: "arrowChevronLeftSmall16BoldBlue",
|
|
3757
|
-
src:
|
|
3927
|
+
src: iconsReact.ArrowChevronLeftSmall16BoldBlueIcon
|
|
3758
3928
|
}),
|
|
3759
3929
|
onClick: () => {
|
|
3760
3930
|
onChange == null ? void 0 : onChange(current + 1);
|
|
@@ -3764,19 +3934,19 @@
|
|
|
3764
3934
|
}))));
|
|
3765
3935
|
};
|
|
3766
3936
|
|
|
3767
|
-
var __defProp$
|
|
3768
|
-
var __getOwnPropSymbols$
|
|
3769
|
-
var __hasOwnProp$
|
|
3770
|
-
var __propIsEnum$
|
|
3771
|
-
var __defNormalProp$
|
|
3772
|
-
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) => {
|
|
3773
3943
|
for (var prop in b || (b = {}))
|
|
3774
|
-
if (__hasOwnProp$
|
|
3775
|
-
__defNormalProp$
|
|
3776
|
-
if (__getOwnPropSymbols$
|
|
3777
|
-
for (var prop of __getOwnPropSymbols$
|
|
3778
|
-
if (__propIsEnum$
|
|
3779
|
-
__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]);
|
|
3780
3950
|
}
|
|
3781
3951
|
return a;
|
|
3782
3952
|
};
|
|
@@ -3789,52 +3959,52 @@
|
|
|
3789
3959
|
emptyProps
|
|
3790
3960
|
}) => {
|
|
3791
3961
|
if (isEmpty(rawValue)) {
|
|
3792
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$
|
|
3962
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$i({}, emptyProps));
|
|
3793
3963
|
}
|
|
3794
3964
|
const { value, unit } = formatPercent(rawValue, decimals, saturated);
|
|
3795
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));
|
|
3796
3966
|
};
|
|
3797
3967
|
|
|
3798
|
-
var __defProp$
|
|
3799
|
-
var __getOwnPropSymbols$
|
|
3800
|
-
var __hasOwnProp$
|
|
3801
|
-
var __propIsEnum$
|
|
3802
|
-
var __defNormalProp$
|
|
3803
|
-
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) => {
|
|
3804
3974
|
for (var prop in b || (b = {}))
|
|
3805
|
-
if (__hasOwnProp$
|
|
3806
|
-
__defNormalProp$
|
|
3807
|
-
if (__getOwnPropSymbols$
|
|
3808
|
-
for (var prop of __getOwnPropSymbols$
|
|
3809
|
-
if (__propIsEnum$
|
|
3810
|
-
__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]);
|
|
3811
3981
|
}
|
|
3812
3982
|
return a;
|
|
3813
3983
|
};
|
|
3814
|
-
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));
|
|
3815
3985
|
|
|
3816
|
-
var __defProp$
|
|
3817
|
-
var __getOwnPropSymbols$
|
|
3818
|
-
var __hasOwnProp$
|
|
3819
|
-
var __propIsEnum$
|
|
3820
|
-
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, {
|
|
3821
3991
|
enumerable: true,
|
|
3822
3992
|
configurable: true,
|
|
3823
3993
|
writable: true,
|
|
3824
3994
|
value
|
|
3825
3995
|
}) : obj[key] = value;
|
|
3826
|
-
var __spreadValues$
|
|
3827
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3828
|
-
if (__getOwnPropSymbols$
|
|
3829
|
-
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]);
|
|
3830
4000
|
}
|
|
3831
4001
|
return a;
|
|
3832
4002
|
};
|
|
3833
|
-
var __objRest$
|
|
4003
|
+
var __objRest$5 = (source, exclude) => {
|
|
3834
4004
|
var target = {};
|
|
3835
|
-
for (var prop in source) if (__hasOwnProp$
|
|
3836
|
-
if (source != null && __getOwnPropSymbols$
|
|
3837
|
-
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];
|
|
3838
4008
|
}
|
|
3839
4009
|
return target;
|
|
3840
4010
|
};
|
|
@@ -3850,7 +4020,7 @@
|
|
|
3850
4020
|
checked,
|
|
3851
4021
|
compact = false
|
|
3852
4022
|
} = _b,
|
|
3853
|
-
props = __objRest$
|
|
4023
|
+
props = __objRest$5(_b, ["children", "className", "checked", "compact"]);
|
|
3854
4024
|
const {
|
|
3855
4025
|
description
|
|
3856
4026
|
} = props;
|
|
@@ -3860,7 +4030,7 @@
|
|
|
3860
4030
|
className: core.cx("radio-description", Typo.Label.l4_regular)
|
|
3861
4031
|
}, description));
|
|
3862
4032
|
}
|
|
3863
|
-
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({
|
|
3864
4034
|
className: core.cx(className, RadioStyle, compact && "compact"),
|
|
3865
4035
|
checked: checked || false,
|
|
3866
4036
|
"data-test": context.name ? `${context.name}-${String(props.value)}` : String(props.value)
|
|
@@ -3872,13 +4042,13 @@
|
|
|
3872
4042
|
children,
|
|
3873
4043
|
className
|
|
3874
4044
|
} = _d,
|
|
3875
|
-
props = __objRest$
|
|
4045
|
+
props = __objRest$5(_d, ["children", "className"]);
|
|
3876
4046
|
return /* @__PURE__ */React__namespace.default.createElement(KitRadioGroupContext.Provider, {
|
|
3877
4047
|
value: {
|
|
3878
4048
|
disabled: props.disabled,
|
|
3879
4049
|
name: props.name
|
|
3880
4050
|
}
|
|
3881
|
-
}, /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Group, __spreadValues$
|
|
4051
|
+
}, /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Group, __spreadValues$g({
|
|
3882
4052
|
className: core.cx(className, RadioGroupStyle)
|
|
3883
4053
|
}, props), children ? children : null));
|
|
3884
4054
|
};
|
|
@@ -3888,7 +4058,7 @@
|
|
|
3888
4058
|
children,
|
|
3889
4059
|
className
|
|
3890
4060
|
} = _f,
|
|
3891
|
-
props = __objRest$
|
|
4061
|
+
props = __objRest$5(_f, ["children", "className"]);
|
|
3892
4062
|
const {
|
|
3893
4063
|
type,
|
|
3894
4064
|
placeholder = "Label",
|
|
@@ -3934,46 +4104,46 @@
|
|
|
3934
4104
|
className: "ant-radio-button-input-label"
|
|
3935
4105
|
}, typeof children === "string" ? children : ""));
|
|
3936
4106
|
};
|
|
3937
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Button, __spreadValues$
|
|
4107
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Button, __spreadValues$g({
|
|
3938
4108
|
className: core.cx(className, RadioButtonStyle),
|
|
3939
4109
|
value: radioButtonValue
|
|
3940
4110
|
}, props), renderChildren());
|
|
3941
4111
|
};
|
|
3942
4112
|
|
|
3943
|
-
var __defProp$
|
|
3944
|
-
var __getOwnPropSymbols$
|
|
3945
|
-
var __hasOwnProp$
|
|
3946
|
-
var __propIsEnum$
|
|
3947
|
-
var __defNormalProp$
|
|
3948
|
-
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) => {
|
|
3949
4119
|
for (var prop in b || (b = {}))
|
|
3950
|
-
if (__hasOwnProp$
|
|
3951
|
-
__defNormalProp$
|
|
3952
|
-
if (__getOwnPropSymbols$
|
|
3953
|
-
for (var prop of __getOwnPropSymbols$
|
|
3954
|
-
if (__propIsEnum$
|
|
3955
|
-
__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]);
|
|
3956
4126
|
}
|
|
3957
4127
|
return a;
|
|
3958
4128
|
};
|
|
3959
|
-
var __objRest$
|
|
4129
|
+
var __objRest$4 = (source, exclude) => {
|
|
3960
4130
|
var target = {};
|
|
3961
4131
|
for (var prop in source)
|
|
3962
|
-
if (__hasOwnProp$
|
|
4132
|
+
if (__hasOwnProp$f.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3963
4133
|
target[prop] = source[prop];
|
|
3964
|
-
if (source != null && __getOwnPropSymbols$
|
|
3965
|
-
for (var prop of __getOwnPropSymbols$
|
|
3966
|
-
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))
|
|
3967
4137
|
target[prop] = source[prop];
|
|
3968
4138
|
}
|
|
3969
4139
|
return target;
|
|
3970
4140
|
};
|
|
3971
4141
|
const SearchInput = (props) => {
|
|
3972
|
-
const _a = props, { onChange, debounceWait = 300 } = _a, restProps = __objRest$
|
|
4142
|
+
const _a = props, { onChange, debounceWait = 300 } = _a, restProps = __objRest$4(_a, ["onChange", "debounceWait"]);
|
|
3973
4143
|
const onSearch = ___default.default.debounce(onChange, debounceWait);
|
|
3974
4144
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
3975
4145
|
Input,
|
|
3976
|
-
__spreadValues$
|
|
4146
|
+
__spreadValues$f({
|
|
3977
4147
|
style: { width: 276 },
|
|
3978
4148
|
prefix: /* @__PURE__ */ React__namespace.default.createElement(icons.SearchOutlined, null),
|
|
3979
4149
|
onChange: (e) => onSearch(e.target.value)
|
|
@@ -3981,19 +4151,19 @@
|
|
|
3981
4151
|
);
|
|
3982
4152
|
};
|
|
3983
4153
|
|
|
3984
|
-
var __defProp$
|
|
3985
|
-
var __getOwnPropSymbols$
|
|
3986
|
-
var __hasOwnProp$
|
|
3987
|
-
var __propIsEnum$
|
|
3988
|
-
var __defNormalProp$
|
|
3989
|
-
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) => {
|
|
3990
4160
|
for (var prop in b || (b = {}))
|
|
3991
|
-
if (__hasOwnProp$
|
|
3992
|
-
__defNormalProp$
|
|
3993
|
-
if (__getOwnPropSymbols$
|
|
3994
|
-
for (var prop of __getOwnPropSymbols$
|
|
3995
|
-
if (__propIsEnum$
|
|
3996
|
-
__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]);
|
|
3997
4167
|
}
|
|
3998
4168
|
return a;
|
|
3999
4169
|
};
|
|
@@ -4007,7 +4177,7 @@
|
|
|
4007
4177
|
}) => {
|
|
4008
4178
|
const { t } = useParrotTranslation();
|
|
4009
4179
|
if (isEmpty(rawValue)) {
|
|
4010
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$
|
|
4180
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$e({}, emptyProps));
|
|
4011
4181
|
}
|
|
4012
4182
|
const { value, unit } = formatSeconds(rawValue, decimals);
|
|
4013
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}`)));
|
|
@@ -4053,7 +4223,7 @@
|
|
|
4053
4223
|
},
|
|
4054
4224
|
prefixIcon: /* @__PURE__ */React__namespace.default.createElement(Icon, {
|
|
4055
4225
|
alt: "arrowChevronLeftSmall16BoldBlue",
|
|
4056
|
-
src:
|
|
4226
|
+
src: iconsReact.ArrowChevronLeftSmall16BoldBlueIcon
|
|
4057
4227
|
}),
|
|
4058
4228
|
onClick: () => {
|
|
4059
4229
|
onPageChange == null ? void 0 : onPageChange(current - 1);
|
|
@@ -4081,7 +4251,7 @@
|
|
|
4081
4251
|
},
|
|
4082
4252
|
prefixIcon: /* @__PURE__ */React__namespace.default.createElement(Icon, {
|
|
4083
4253
|
alt: "arrowChevronLeftSmall16BoldBlue",
|
|
4084
|
-
src:
|
|
4254
|
+
src: iconsReact.ArrowChevronLeftSmall16BoldBlueIcon
|
|
4085
4255
|
}),
|
|
4086
4256
|
onClick: () => {
|
|
4087
4257
|
onPageChange == null ? void 0 : onPageChange(current + 1);
|
|
@@ -4089,19 +4259,19 @@
|
|
|
4089
4259
|
})));
|
|
4090
4260
|
};
|
|
4091
4261
|
|
|
4092
|
-
var __defProp$
|
|
4093
|
-
var __getOwnPropSymbols$
|
|
4094
|
-
var __hasOwnProp$
|
|
4095
|
-
var __propIsEnum$
|
|
4096
|
-
var __defNormalProp$
|
|
4097
|
-
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) => {
|
|
4098
4268
|
for (var prop in b || (b = {}))
|
|
4099
|
-
if (__hasOwnProp$
|
|
4100
|
-
__defNormalProp$
|
|
4101
|
-
if (__getOwnPropSymbols$
|
|
4102
|
-
for (var prop of __getOwnPropSymbols$
|
|
4103
|
-
if (__propIsEnum$
|
|
4104
|
-
__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]);
|
|
4105
4275
|
}
|
|
4106
4276
|
return a;
|
|
4107
4277
|
};
|
|
@@ -4113,41 +4283,41 @@
|
|
|
4113
4283
|
emptyProps
|
|
4114
4284
|
}) => {
|
|
4115
4285
|
if (isEmpty(rawValue)) {
|
|
4116
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$
|
|
4286
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$d({}, emptyProps));
|
|
4117
4287
|
}
|
|
4118
4288
|
const { value, unit } = formatSpeed(rawValue, decimals);
|
|
4119
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}`));
|
|
4120
4290
|
};
|
|
4121
4291
|
|
|
4122
|
-
var __defProp$
|
|
4123
|
-
var __defProps$
|
|
4124
|
-
var __getOwnPropDescs$
|
|
4125
|
-
var __getOwnPropSymbols$
|
|
4126
|
-
var __hasOwnProp$
|
|
4127
|
-
var __propIsEnum$
|
|
4128
|
-
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, {
|
|
4129
4299
|
enumerable: true,
|
|
4130
4300
|
configurable: true,
|
|
4131
4301
|
writable: true,
|
|
4132
4302
|
value
|
|
4133
4303
|
}) : obj[key] = value;
|
|
4134
|
-
var __spreadValues$
|
|
4135
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4136
|
-
if (__getOwnPropSymbols$
|
|
4137
|
-
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]);
|
|
4138
4308
|
}
|
|
4139
4309
|
return a;
|
|
4140
4310
|
};
|
|
4141
|
-
var __spreadProps$
|
|
4142
|
-
var __objRest$
|
|
4311
|
+
var __spreadProps$c = (a, b) => __defProps$c(a, __getOwnPropDescs$c(b));
|
|
4312
|
+
var __objRest$3 = (source, exclude) => {
|
|
4143
4313
|
var target = {};
|
|
4144
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4145
|
-
if (source != null && __getOwnPropSymbols$
|
|
4146
|
-
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];
|
|
4147
4317
|
}
|
|
4148
4318
|
return target;
|
|
4149
4319
|
};
|
|
4150
|
-
const PresetColors$
|
|
4320
|
+
const PresetColors$1 = ["blue", "red", "yellow", "green", "gray"];
|
|
4151
4321
|
const StatusCapsuleStyle = "s14dk8r1";
|
|
4152
4322
|
const StatusCode = /*#__PURE__*/react$1.styled('i')({
|
|
4153
4323
|
name: "StatusCode",
|
|
@@ -4186,11 +4356,11 @@
|
|
|
4186
4356
|
offWhiteMode,
|
|
4187
4357
|
number
|
|
4188
4358
|
} = _b,
|
|
4189
|
-
props = __objRest$
|
|
4359
|
+
props = __objRest$3(_b, ["color", "className", "loading", "hoverable", "children", "offWhiteMode", "number"]);
|
|
4190
4360
|
const computedColor = ColorMap[color] || color;
|
|
4191
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$
|
|
4361
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$c(__spreadValues$c({}, props), {
|
|
4192
4362
|
className: cs__default.default(className, StatusCapsuleStyle, Typo.Label.l4_regular, "ui-kit-status-capsule", {
|
|
4193
|
-
[`ant-tag-${computedColor}`]: PresetColors$
|
|
4363
|
+
[`ant-tag-${computedColor}`]: PresetColors$1.includes(computedColor),
|
|
4194
4364
|
"tag-hover": hoverable,
|
|
4195
4365
|
"off-white": offWhiteMode
|
|
4196
4366
|
}),
|
|
@@ -4203,31 +4373,31 @@
|
|
|
4203
4373
|
}, number));
|
|
4204
4374
|
};
|
|
4205
4375
|
|
|
4206
|
-
var __defProp$
|
|
4207
|
-
var __defProps$
|
|
4208
|
-
var __getOwnPropDescs$
|
|
4209
|
-
var __getOwnPropSymbols$
|
|
4210
|
-
var __hasOwnProp$
|
|
4211
|
-
var __propIsEnum$
|
|
4212
|
-
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, {
|
|
4213
4383
|
enumerable: true,
|
|
4214
4384
|
configurable: true,
|
|
4215
4385
|
writable: true,
|
|
4216
4386
|
value
|
|
4217
4387
|
}) : obj[key] = value;
|
|
4218
|
-
var __spreadValues$
|
|
4219
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4220
|
-
if (__getOwnPropSymbols$
|
|
4221
|
-
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]);
|
|
4222
4392
|
}
|
|
4223
4393
|
return a;
|
|
4224
4394
|
};
|
|
4225
|
-
var __spreadProps$
|
|
4226
|
-
var __objRest$
|
|
4395
|
+
var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
|
|
4396
|
+
var __objRest$2 = (source, exclude) => {
|
|
4227
4397
|
var target = {};
|
|
4228
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4229
|
-
if (source != null && __getOwnPropSymbols$
|
|
4230
|
-
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];
|
|
4231
4401
|
}
|
|
4232
4402
|
return target;
|
|
4233
4403
|
};
|
|
@@ -4239,7 +4409,7 @@
|
|
|
4239
4409
|
className,
|
|
4240
4410
|
checked
|
|
4241
4411
|
} = _b,
|
|
4242
|
-
props = __objRest$
|
|
4412
|
+
props = __objRest$2(_b, ["children", "className", "checked"]);
|
|
4243
4413
|
const Content = /*#__PURE__*/react$1.styled('span')({
|
|
4244
4414
|
name: "Content",
|
|
4245
4415
|
class: "c1to9vb9",
|
|
@@ -4247,7 +4417,7 @@
|
|
|
4247
4417
|
});
|
|
4248
4418
|
const classNames = [className, SwitchStyle, "switch"];
|
|
4249
4419
|
if (props.size === "large") classNames.push("ant-switch-large");
|
|
4250
|
-
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({
|
|
4251
4421
|
className: core.cx(...classNames),
|
|
4252
4422
|
checked: checked || false
|
|
4253
4423
|
}, props), {
|
|
@@ -4329,30 +4499,30 @@
|
|
|
4329
4499
|
return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, title, /* @__PURE__ */React__namespace.default.createElement(Icon, {
|
|
4330
4500
|
alt: "arrowChevronUp16BoldSecondary",
|
|
4331
4501
|
className: cs__default.default("order-icon", sortOrder),
|
|
4332
|
-
src:
|
|
4502
|
+
src: iconsReact.ArrowChevronUp16BoldSecondaryIcon
|
|
4333
4503
|
}));
|
|
4334
4504
|
};
|
|
4335
4505
|
|
|
4336
|
-
var __defProp$
|
|
4337
|
-
var __defProps$
|
|
4338
|
-
var __getOwnPropDescs$
|
|
4339
|
-
var __getOwnPropSymbols$
|
|
4340
|
-
var __hasOwnProp$
|
|
4341
|
-
var __propIsEnum$
|
|
4342
|
-
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, {
|
|
4343
4513
|
enumerable: true,
|
|
4344
4514
|
configurable: true,
|
|
4345
4515
|
writable: true,
|
|
4346
4516
|
value
|
|
4347
4517
|
}) : obj[key] = value;
|
|
4348
|
-
var __spreadValues$
|
|
4349
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4350
|
-
if (__getOwnPropSymbols$
|
|
4351
|
-
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]);
|
|
4352
4522
|
}
|
|
4353
4523
|
return a;
|
|
4354
4524
|
};
|
|
4355
|
-
var __spreadProps$
|
|
4525
|
+
var __spreadProps$a = (a, b) => __defProps$a(a, __getOwnPropDescs$a(b));
|
|
4356
4526
|
const TableContainerStyle = "t1upn1sz";
|
|
4357
4527
|
const tableStyleCover = "tta5kd2";
|
|
4358
4528
|
const Table = props => {
|
|
@@ -4379,7 +4549,7 @@
|
|
|
4379
4549
|
const orderRef = React.useRef(null);
|
|
4380
4550
|
const hasScrollBard = useTableBodyHasScrollBar(wrapper, dataSource);
|
|
4381
4551
|
const _columns = React.useMemo(() => columns.map(column => {
|
|
4382
|
-
const _column = __spreadValues$
|
|
4552
|
+
const _column = __spreadValues$a({}, column);
|
|
4383
4553
|
if (_column.sorter && typeof _column.title !== "function") {
|
|
4384
4554
|
_column.title = /* @__PURE__ */React__namespace.default.createElement(ColumnTitle, {
|
|
4385
4555
|
title: column.title,
|
|
@@ -4416,12 +4586,12 @@
|
|
|
4416
4586
|
onSorterChange == null ? void 0 : onSorterChange(orderRef.current, sorter.columnKey);
|
|
4417
4587
|
}
|
|
4418
4588
|
},
|
|
4419
|
-
onRow: (record, index) => __spreadValues$
|
|
4589
|
+
onRow: (record, index) => __spreadValues$a({
|
|
4420
4590
|
onClick: evt => onRowClick == null ? void 0 : onRowClick(record, index, evt)
|
|
4421
4591
|
}, onRow == null ? void 0 : onRow(record, index)),
|
|
4422
4592
|
rowClassName,
|
|
4423
4593
|
scroll,
|
|
4424
|
-
rowSelection: rowSelection && __spreadProps$
|
|
4594
|
+
rowSelection: rowSelection && __spreadProps$a(__spreadValues$a({}, rowSelection), {
|
|
4425
4595
|
columnWidth: 32
|
|
4426
4596
|
}),
|
|
4427
4597
|
showSorterTooltip: false
|
|
@@ -4483,33 +4653,33 @@
|
|
|
4483
4653
|
return sortArr;
|
|
4484
4654
|
};
|
|
4485
4655
|
|
|
4486
|
-
var __defProp$
|
|
4487
|
-
var __defProps$
|
|
4488
|
-
var __getOwnPropDescs$
|
|
4489
|
-
var __getOwnPropSymbols$
|
|
4490
|
-
var __hasOwnProp$
|
|
4491
|
-
var __propIsEnum$
|
|
4492
|
-
var __defNormalProp$
|
|
4493
|
-
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) => {
|
|
4494
4664
|
for (var prop in b || (b = {}))
|
|
4495
|
-
if (__hasOwnProp$
|
|
4496
|
-
__defNormalProp$
|
|
4497
|
-
if (__getOwnPropSymbols$
|
|
4498
|
-
for (var prop of __getOwnPropSymbols$
|
|
4499
|
-
if (__propIsEnum$
|
|
4500
|
-
__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]);
|
|
4501
4671
|
}
|
|
4502
4672
|
return a;
|
|
4503
4673
|
};
|
|
4504
|
-
var __spreadProps$
|
|
4505
|
-
var __objRest$
|
|
4674
|
+
var __spreadProps$9 = (a, b) => __defProps$9(a, __getOwnPropDescs$9(b));
|
|
4675
|
+
var __objRest$1 = (source, exclude) => {
|
|
4506
4676
|
var target = {};
|
|
4507
4677
|
for (var prop in source)
|
|
4508
|
-
if (__hasOwnProp$
|
|
4678
|
+
if (__hasOwnProp$9.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
4509
4679
|
target[prop] = source[prop];
|
|
4510
|
-
if (source != null && __getOwnPropSymbols$
|
|
4511
|
-
for (var prop of __getOwnPropSymbols$
|
|
4512
|
-
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))
|
|
4513
4683
|
target[prop] = source[prop];
|
|
4514
4684
|
}
|
|
4515
4685
|
return target;
|
|
@@ -4525,7 +4695,7 @@
|
|
|
4525
4695
|
const _a = buttonProps || {}, {
|
|
4526
4696
|
disabled: disabledFromProp,
|
|
4527
4697
|
onClick
|
|
4528
|
-
} = _a, restButtonProps = __objRest$
|
|
4698
|
+
} = _a, restButtonProps = __objRest$1(_a, [
|
|
4529
4699
|
"disabled",
|
|
4530
4700
|
"onClick"
|
|
4531
4701
|
]);
|
|
@@ -4550,9 +4720,9 @@
|
|
|
4550
4720
|
if (!columns.length) {
|
|
4551
4721
|
return null;
|
|
4552
4722
|
}
|
|
4553
|
-
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(
|
|
4554
4724
|
Button,
|
|
4555
|
-
__spreadProps$
|
|
4725
|
+
__spreadProps$9(__spreadValues$9({}, restButtonProps), {
|
|
4556
4726
|
type: restButtonProps.type || "ordinary",
|
|
4557
4727
|
size: restButtonProps.size || "small",
|
|
4558
4728
|
prefixIcon: restButtonProps.prefixIcon || /* @__PURE__ */ React__namespace.default.createElement(iconsReact.PlusAddCreateNew16SecondaryIcon, null),
|
|
@@ -4647,25 +4817,25 @@
|
|
|
4647
4817
|
);
|
|
4648
4818
|
};
|
|
4649
4819
|
|
|
4650
|
-
var __defProp$
|
|
4651
|
-
var __defProps$
|
|
4652
|
-
var __getOwnPropDescs$
|
|
4653
|
-
var __getOwnPropSymbols$
|
|
4654
|
-
var __hasOwnProp$
|
|
4655
|
-
var __propIsEnum$
|
|
4656
|
-
var __defNormalProp$
|
|
4657
|
-
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) => {
|
|
4658
4828
|
for (var prop in b || (b = {}))
|
|
4659
|
-
if (__hasOwnProp$
|
|
4660
|
-
__defNormalProp$
|
|
4661
|
-
if (__getOwnPropSymbols$
|
|
4662
|
-
for (var prop of __getOwnPropSymbols$
|
|
4663
|
-
if (__propIsEnum$
|
|
4664
|
-
__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]);
|
|
4665
4835
|
}
|
|
4666
4836
|
return a;
|
|
4667
4837
|
};
|
|
4668
|
-
var __spreadProps$
|
|
4838
|
+
var __spreadProps$8 = (a, b) => __defProps$8(a, __getOwnPropDescs$8(b));
|
|
4669
4839
|
const InputPassword = (props) => {
|
|
4670
4840
|
const [showPassword, setShowPassword] = React.useState(false);
|
|
4671
4841
|
React.useEffect(() => {
|
|
@@ -4681,7 +4851,7 @@
|
|
|
4681
4851
|
const inputType = showPassword ? "text" : "password";
|
|
4682
4852
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
4683
4853
|
Input,
|
|
4684
|
-
__spreadProps$
|
|
4854
|
+
__spreadProps$8(__spreadValues$8({}, props), {
|
|
4685
4855
|
type: inputType,
|
|
4686
4856
|
suffix: showPassword ? /* @__PURE__ */ React__namespace.default.createElement(
|
|
4687
4857
|
icons.EyeOutlined,
|
|
@@ -4701,9 +4871,9 @@
|
|
|
4701
4871
|
};
|
|
4702
4872
|
const CustomInput = (props) => {
|
|
4703
4873
|
if (props.type === "password") {
|
|
4704
|
-
return /* @__PURE__ */ React__namespace.default.createElement(InputPassword, __spreadValues$
|
|
4874
|
+
return /* @__PURE__ */ React__namespace.default.createElement(InputPassword, __spreadValues$8({}, props));
|
|
4705
4875
|
}
|
|
4706
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Input, __spreadValues$
|
|
4876
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Input, __spreadValues$8({}, props));
|
|
4707
4877
|
};
|
|
4708
4878
|
const InputColumnHeaderCell = ({ disabled, column, onChange, onBlur, onVisibleChange }) => {
|
|
4709
4879
|
const _onChange = (e) => {
|
|
@@ -4827,25 +4997,25 @@
|
|
|
4827
4997
|
return ValidateTriggerType2;
|
|
4828
4998
|
})(ValidateTriggerType || {});
|
|
4829
4999
|
|
|
4830
|
-
var __defProp$
|
|
4831
|
-
var __defProps$
|
|
4832
|
-
var __getOwnPropDescs$
|
|
4833
|
-
var __getOwnPropSymbols$
|
|
4834
|
-
var __hasOwnProp$
|
|
4835
|
-
var __propIsEnum$
|
|
4836
|
-
var __defNormalProp$
|
|
4837
|
-
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) => {
|
|
4838
5008
|
for (var prop in b || (b = {}))
|
|
4839
|
-
if (__hasOwnProp$
|
|
4840
|
-
__defNormalProp$
|
|
4841
|
-
if (__getOwnPropSymbols$
|
|
4842
|
-
for (var prop of __getOwnPropSymbols$
|
|
4843
|
-
if (__propIsEnum$
|
|
4844
|
-
__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]);
|
|
4845
5015
|
}
|
|
4846
5016
|
return a;
|
|
4847
5017
|
};
|
|
4848
|
-
var __spreadProps$
|
|
5018
|
+
var __spreadProps$7 = (a, b) => __defProps$7(a, __getOwnPropDescs$7(b));
|
|
4849
5019
|
const TableFormBodyCell = (props) => {
|
|
4850
5020
|
const {
|
|
4851
5021
|
column,
|
|
@@ -4877,7 +5047,7 @@
|
|
|
4877
5047
|
(currentValue) => {
|
|
4878
5048
|
var _a;
|
|
4879
5049
|
const value = currentValue || data[rowIndex][column.key];
|
|
4880
|
-
const rowData = __spreadProps$
|
|
5050
|
+
const rowData = __spreadProps$7(__spreadValues$7({}, data[rowIndex]), { [column.key]: value });
|
|
4881
5051
|
const rowValidateRes = getRowValidateResult(rowData);
|
|
4882
5052
|
if (rowValidateRes) {
|
|
4883
5053
|
return;
|
|
@@ -4900,7 +5070,7 @@
|
|
|
4900
5070
|
}, [validateAll, triggerValidate]);
|
|
4901
5071
|
const _onChange = (value, data2) => {
|
|
4902
5072
|
const newData = data2.map(
|
|
4903
|
-
(row, i) => i === rowIndex ? __spreadProps$
|
|
5073
|
+
(row, i) => i === rowIndex ? __spreadProps$7(__spreadValues$7({}, row), { [column.key]: value }) : row
|
|
4904
5074
|
);
|
|
4905
5075
|
onChange == null ? void 0 : onChange(newData, rowIndex, column.key);
|
|
4906
5076
|
if (validateTriggerType === ValidateTriggerType.Normal && isTouched.current || validateTriggerType === ValidateTriggerType.Aggressive) {
|
|
@@ -4978,25 +5148,25 @@
|
|
|
4978
5148
|
);
|
|
4979
5149
|
};
|
|
4980
5150
|
|
|
4981
|
-
var __defProp$
|
|
4982
|
-
var __defProps$
|
|
4983
|
-
var __getOwnPropDescs$
|
|
4984
|
-
var __getOwnPropSymbols$
|
|
4985
|
-
var __hasOwnProp$
|
|
4986
|
-
var __propIsEnum$
|
|
4987
|
-
var __defNormalProp$
|
|
4988
|
-
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) => {
|
|
4989
5159
|
for (var prop in b || (b = {}))
|
|
4990
|
-
if (__hasOwnProp$
|
|
4991
|
-
__defNormalProp$
|
|
4992
|
-
if (__getOwnPropSymbols$
|
|
4993
|
-
for (var prop of __getOwnPropSymbols$
|
|
4994
|
-
if (__propIsEnum$
|
|
4995
|
-
__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]);
|
|
4996
5166
|
}
|
|
4997
5167
|
return a;
|
|
4998
5168
|
};
|
|
4999
|
-
var __spreadProps$
|
|
5169
|
+
var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
|
|
5000
5170
|
const TableFormRowDeleteAction = (props) => {
|
|
5001
5171
|
var _a, _b, _c, _d;
|
|
5002
5172
|
const { deleteConfig, row, updateData, rowIndex, data } = props;
|
|
@@ -5089,7 +5259,7 @@
|
|
|
5089
5259
|
);
|
|
5090
5260
|
});
|
|
5091
5261
|
const DraggableHandle = React.useMemo(
|
|
5092
|
-
() => 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(
|
|
5093
5263
|
Icon,
|
|
5094
5264
|
{
|
|
5095
5265
|
src: iconsReact.HandlePoint816SecondaryIcon,
|
|
@@ -5151,7 +5321,7 @@
|
|
|
5151
5321
|
);
|
|
5152
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(
|
|
5153
5323
|
"div",
|
|
5154
|
-
__spreadValues$
|
|
5324
|
+
__spreadValues$6({
|
|
5155
5325
|
className: "draggable-container",
|
|
5156
5326
|
ref: provided.innerRef
|
|
5157
5327
|
}, provided.droppableProps),
|
|
@@ -5162,9 +5332,9 @@
|
|
|
5162
5332
|
key: `draggable-id-${i}`,
|
|
5163
5333
|
index: i
|
|
5164
5334
|
},
|
|
5165
|
-
(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(
|
|
5166
5336
|
TableFormRow,
|
|
5167
|
-
__spreadProps$
|
|
5337
|
+
__spreadProps$6(__spreadValues$6({}, props), {
|
|
5168
5338
|
rowIndex: i,
|
|
5169
5339
|
provided: provided2,
|
|
5170
5340
|
snapshot
|
|
@@ -5172,28 +5342,28 @@
|
|
|
5172
5342
|
))
|
|
5173
5343
|
)),
|
|
5174
5344
|
provided.placeholder
|
|
5175
|
-
))) : /* @__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}` }))));
|
|
5176
5346
|
});
|
|
5177
5347
|
|
|
5178
|
-
var __defProp$
|
|
5179
|
-
var __defProps$
|
|
5180
|
-
var __getOwnPropDescs$
|
|
5181
|
-
var __getOwnPropSymbols$
|
|
5182
|
-
var __hasOwnProp$
|
|
5183
|
-
var __propIsEnum$
|
|
5184
|
-
var __defNormalProp$
|
|
5185
|
-
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) => {
|
|
5186
5356
|
for (var prop in b || (b = {}))
|
|
5187
|
-
if (__hasOwnProp$
|
|
5188
|
-
__defNormalProp$
|
|
5189
|
-
if (__getOwnPropSymbols$
|
|
5190
|
-
for (var prop of __getOwnPropSymbols$
|
|
5191
|
-
if (__propIsEnum$
|
|
5192
|
-
__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]);
|
|
5193
5363
|
}
|
|
5194
5364
|
return a;
|
|
5195
5365
|
};
|
|
5196
|
-
var __spreadProps$
|
|
5366
|
+
var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
|
|
5197
5367
|
const BatchInputListHeaderCell = (props) => {
|
|
5198
5368
|
const { column, disabled, data, disableBatchFilling, onBlur, onChange } = props;
|
|
5199
5369
|
const [errMsg, setErrMsg] = React.useState();
|
|
@@ -5205,7 +5375,7 @@
|
|
|
5205
5375
|
setErrMsg(err || void 0);
|
|
5206
5376
|
const shouldAutoIncrease = column.type !== "password" && column.autoIncrease;
|
|
5207
5377
|
const newData = data.map((cell, rowIndex) => {
|
|
5208
|
-
return __spreadProps$
|
|
5378
|
+
return __spreadProps$5(__spreadValues$5({}, cell), {
|
|
5209
5379
|
[column.key]: shouldAutoIncrease && typeof value === "string" ? increaseLastNumber(value, rowIndex) : value
|
|
5210
5380
|
});
|
|
5211
5381
|
});
|
|
@@ -5222,7 +5392,7 @@
|
|
|
5222
5392
|
const CellComponent = ColumnHeaderImpls[column.type];
|
|
5223
5393
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
5224
5394
|
CellComponent,
|
|
5225
|
-
__spreadProps$
|
|
5395
|
+
__spreadProps$5(__spreadValues$5({}, props), {
|
|
5226
5396
|
column,
|
|
5227
5397
|
onChange: headerOnChange,
|
|
5228
5398
|
onBlur: _onBlur
|
|
@@ -5257,25 +5427,25 @@
|
|
|
5257
5427
|
);
|
|
5258
5428
|
};
|
|
5259
5429
|
|
|
5260
|
-
var __defProp$
|
|
5261
|
-
var __defProps$
|
|
5262
|
-
var __getOwnPropDescs$
|
|
5263
|
-
var __getOwnPropSymbols$
|
|
5264
|
-
var __hasOwnProp$
|
|
5265
|
-
var __propIsEnum$
|
|
5266
|
-
var __defNormalProp$
|
|
5267
|
-
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) => {
|
|
5268
5438
|
for (var prop in b || (b = {}))
|
|
5269
|
-
if (__hasOwnProp$
|
|
5270
|
-
__defNormalProp$
|
|
5271
|
-
if (__getOwnPropSymbols$
|
|
5272
|
-
for (var prop of __getOwnPropSymbols$
|
|
5273
|
-
if (__propIsEnum$
|
|
5274
|
-
__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]);
|
|
5275
5445
|
}
|
|
5276
5446
|
return a;
|
|
5277
5447
|
};
|
|
5278
|
-
var __spreadProps$
|
|
5448
|
+
var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
|
|
5279
5449
|
const DEFAULT_ROW_COUNT = 3;
|
|
5280
5450
|
const TableForm = React__namespace.default.forwardRef(
|
|
5281
5451
|
(props, ref) => {
|
|
@@ -5337,7 +5507,7 @@
|
|
|
5337
5507
|
(key, error) => {
|
|
5338
5508
|
if (error) {
|
|
5339
5509
|
const newData = latestData.map((cell) => {
|
|
5340
|
-
return __spreadProps$
|
|
5510
|
+
return __spreadProps$4(__spreadValues$4({}, cell), {
|
|
5341
5511
|
[key]: ""
|
|
5342
5512
|
});
|
|
5343
5513
|
});
|
|
@@ -5432,151 +5602,6 @@
|
|
|
5432
5602
|
}
|
|
5433
5603
|
);
|
|
5434
5604
|
|
|
5435
|
-
const PresetColors$2 = [
|
|
5436
|
-
"blue",
|
|
5437
|
-
"red",
|
|
5438
|
-
"yellow",
|
|
5439
|
-
"green",
|
|
5440
|
-
"gray",
|
|
5441
|
-
"purple"
|
|
5442
|
-
];
|
|
5443
|
-
|
|
5444
|
-
const Size$1 = {
|
|
5445
|
-
small: "sut42l0",
|
|
5446
|
-
medium: "mfsz1jz"
|
|
5447
|
-
};
|
|
5448
|
-
const TagStyle$1 = "tnd6h4m";
|
|
5449
|
-
const IconStyle$1 = "i1qw4clm";
|
|
5450
|
-
|
|
5451
|
-
var __defProp$5 = Object.defineProperty;
|
|
5452
|
-
var __defProps$5 = Object.defineProperties;
|
|
5453
|
-
var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
|
|
5454
|
-
var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;
|
|
5455
|
-
var __hasOwnProp$5 = Object.prototype.hasOwnProperty;
|
|
5456
|
-
var __propIsEnum$5 = Object.prototype.propertyIsEnumerable;
|
|
5457
|
-
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, {
|
|
5458
|
-
enumerable: true,
|
|
5459
|
-
configurable: true,
|
|
5460
|
-
writable: true,
|
|
5461
|
-
value
|
|
5462
|
-
}) : obj[key] = value;
|
|
5463
|
-
var __spreadValues$5 = (a, b) => {
|
|
5464
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$5.call(b, prop)) __defNormalProp$5(a, prop, b[prop]);
|
|
5465
|
-
if (__getOwnPropSymbols$5) for (var prop of __getOwnPropSymbols$5(b)) {
|
|
5466
|
-
if (__propIsEnum$5.call(b, prop)) __defNormalProp$5(a, prop, b[prop]);
|
|
5467
|
-
}
|
|
5468
|
-
return a;
|
|
5469
|
-
};
|
|
5470
|
-
var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
|
|
5471
|
-
var __objRest$2 = (source, exclude) => {
|
|
5472
|
-
var target = {};
|
|
5473
|
-
for (var prop in source) if (__hasOwnProp$5.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
5474
|
-
if (source != null && __getOwnPropSymbols$5) for (var prop of __getOwnPropSymbols$5(source)) {
|
|
5475
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$5.call(source, prop)) target[prop] = source[prop];
|
|
5476
|
-
}
|
|
5477
|
-
return target;
|
|
5478
|
-
};
|
|
5479
|
-
const WrapperStyle = "w1xcixj5";
|
|
5480
|
-
const SplitTag = _a => {
|
|
5481
|
-
var _b = _a,
|
|
5482
|
-
{
|
|
5483
|
-
size = "small",
|
|
5484
|
-
color = "gray",
|
|
5485
|
-
className,
|
|
5486
|
-
primaryContent,
|
|
5487
|
-
secondaryContent,
|
|
5488
|
-
icon
|
|
5489
|
-
} = _b,
|
|
5490
|
-
props = __objRest$2(_b, ["size", "color", "className", "primaryContent", "secondaryContent", "icon"]);
|
|
5491
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$5(__spreadValues$5({}, props), {
|
|
5492
|
-
className: cs__default.default(className, TagStyle$1, Size$1[size], WrapperStyle, Typo.Label.l4_regular, {
|
|
5493
|
-
[`ant-tag-${color}`]: PresetColors$2.includes(color)
|
|
5494
|
-
}, "outside-tag")
|
|
5495
|
-
}), /* @__PURE__ */React__namespace.default.createElement(antd.Tag, {
|
|
5496
|
-
className: cs__default.default(Size$1[size], TagStyle$1, Typo.Label.l4_regular, {
|
|
5497
|
-
[`ant-tag-${color}`]: PresetColors$2.includes(color)
|
|
5498
|
-
}, "inside-tag")
|
|
5499
|
-
}, icon && /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
5500
|
-
className: cs__default.default("ui-kit-tag-icon", IconStyle$1)
|
|
5501
|
-
}, icon), primaryContent), secondaryContent);
|
|
5502
|
-
};
|
|
5503
|
-
|
|
5504
|
-
var __defProp$4 = Object.defineProperty;
|
|
5505
|
-
var __defProps$4 = Object.defineProperties;
|
|
5506
|
-
var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
|
|
5507
|
-
var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
|
|
5508
|
-
var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
|
|
5509
|
-
var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
|
|
5510
|
-
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5511
|
-
var __spreadValues$4 = (a, b) => {
|
|
5512
|
-
for (var prop in b || (b = {}))
|
|
5513
|
-
if (__hasOwnProp$4.call(b, prop))
|
|
5514
|
-
__defNormalProp$4(a, prop, b[prop]);
|
|
5515
|
-
if (__getOwnPropSymbols$4)
|
|
5516
|
-
for (var prop of __getOwnPropSymbols$4(b)) {
|
|
5517
|
-
if (__propIsEnum$4.call(b, prop))
|
|
5518
|
-
__defNormalProp$4(a, prop, b[prop]);
|
|
5519
|
-
}
|
|
5520
|
-
return a;
|
|
5521
|
-
};
|
|
5522
|
-
var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
|
|
5523
|
-
var __objRest$1 = (source, exclude) => {
|
|
5524
|
-
var target = {};
|
|
5525
|
-
for (var prop in source)
|
|
5526
|
-
if (__hasOwnProp$4.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
5527
|
-
target[prop] = source[prop];
|
|
5528
|
-
if (source != null && __getOwnPropSymbols$4)
|
|
5529
|
-
for (var prop of __getOwnPropSymbols$4(source)) {
|
|
5530
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$4.call(source, prop))
|
|
5531
|
-
target[prop] = source[prop];
|
|
5532
|
-
}
|
|
5533
|
-
return target;
|
|
5534
|
-
};
|
|
5535
|
-
const PresetColors$1 = [
|
|
5536
|
-
...PresetColors$2,
|
|
5537
|
-
"red-ontint",
|
|
5538
|
-
"green-ontint"
|
|
5539
|
-
];
|
|
5540
|
-
const AntdColorMap = {
|
|
5541
|
-
processing: "blue",
|
|
5542
|
-
success: "green",
|
|
5543
|
-
error: "red",
|
|
5544
|
-
warn: "yellow",
|
|
5545
|
-
default: "gray"
|
|
5546
|
-
};
|
|
5547
|
-
const Tag = (_a) => {
|
|
5548
|
-
var _b = _a, {
|
|
5549
|
-
size = "small",
|
|
5550
|
-
color = "gray",
|
|
5551
|
-
className,
|
|
5552
|
-
hoverable = false,
|
|
5553
|
-
icon,
|
|
5554
|
-
children
|
|
5555
|
-
} = _b, props = __objRest$1(_b, [
|
|
5556
|
-
"size",
|
|
5557
|
-
"color",
|
|
5558
|
-
"className",
|
|
5559
|
-
"hoverable",
|
|
5560
|
-
"icon",
|
|
5561
|
-
"children"
|
|
5562
|
-
]);
|
|
5563
|
-
const computedColor = AntdColorMap[color] || color;
|
|
5564
|
-
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
5565
|
-
antd.Tag,
|
|
5566
|
-
__spreadProps$4(__spreadValues$4({}, props), {
|
|
5567
|
-
className: cs__default.default(className, Size$1[size], TagStyle$1, Typo.Label.l4_regular, {
|
|
5568
|
-
[`ant-tag-${computedColor}`]: PresetColors$1.includes(computedColor),
|
|
5569
|
-
"tag-hover": hoverable
|
|
5570
|
-
}),
|
|
5571
|
-
closable: false,
|
|
5572
|
-
color: computedColor === "gray" ? void 0 : computedColor
|
|
5573
|
-
}),
|
|
5574
|
-
icon && /* @__PURE__ */ React__namespace.default.createElement("span", { className: IconStyle$1 }, icon),
|
|
5575
|
-
children
|
|
5576
|
-
);
|
|
5577
|
-
};
|
|
5578
|
-
Tag.SplitTag = SplitTag;
|
|
5579
|
-
|
|
5580
5605
|
const timeWrapper = "t19ustft";
|
|
5581
5606
|
const Time = props => {
|
|
5582
5607
|
const {
|
|
@@ -5708,7 +5733,7 @@
|
|
|
5708
5733
|
className: OptionWrapperStyle
|
|
5709
5734
|
}, /* @__PURE__ */React__namespace.default.createElement(TimeZoneOption, {
|
|
5710
5735
|
key: "utc",
|
|
5711
|
-
customLabel: t("components.
|
|
5736
|
+
customLabel: t("components.coordinated_universal_time"),
|
|
5712
5737
|
timeZone: {
|
|
5713
5738
|
value: "UTC",
|
|
5714
5739
|
text: "UTC",
|
|
@@ -5968,7 +5993,8 @@
|
|
|
5968
5993
|
DetailCard,
|
|
5969
5994
|
TruncatedTextWithTooltip,
|
|
5970
5995
|
Counting,
|
|
5971
|
-
Breadcrumb
|
|
5996
|
+
Breadcrumb,
|
|
5997
|
+
CircleProgress
|
|
5972
5998
|
};
|
|
5973
5999
|
kit.option.isSelectOption = true;
|
|
5974
6000
|
kit.button.__ANT_BUTTON = true;
|