@cloudtower/eagle 0.26.24-dry → 0.26.24-dry-1
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/Card/CardWrapper.d.ts +1 -1
- package/dist/components/OverflowTooltip/index.d.ts +4 -0
- package/dist/components.css +87 -93
- package/dist/esm/index.js +966 -925
- package/dist/esm/stats1.html +1 -1
- package/dist/spec/base.d.ts +9 -1
- package/dist/style.css +1331 -1337
- package/dist/umd/index.js +963 -922
- package/dist/umd/stats1.html +1 -1
- package/dist/variables.scss +1 -17
- package/package.json +5 -5
- package/dist/components/Modal/AsideModal.d.ts +0 -5
package/dist/umd/index.js
CHANGED
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
}
|
|
278
278
|
return a;
|
|
279
279
|
};
|
|
280
|
-
var __objRest$
|
|
280
|
+
var __objRest$x = (source, exclude) => {
|
|
281
281
|
var target = {};
|
|
282
282
|
for (var prop in source)
|
|
283
283
|
if (__hasOwnProp$V.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
prefixNode,
|
|
303
303
|
suffixIconSrc: SuffixSrc,
|
|
304
304
|
src: Src
|
|
305
|
-
} = _a, HTMLSpanElementProps = __objRest$
|
|
305
|
+
} = _a, HTMLSpanElementProps = __objRest$x(_a, [
|
|
306
306
|
"alt",
|
|
307
307
|
"className",
|
|
308
308
|
"width",
|
|
@@ -330,8 +330,8 @@
|
|
|
330
330
|
);
|
|
331
331
|
|
|
332
332
|
var __defProp$T = Object.defineProperty;
|
|
333
|
-
var __defProps$
|
|
334
|
-
var __getOwnPropDescs$
|
|
333
|
+
var __defProps$D = Object.defineProperties;
|
|
334
|
+
var __getOwnPropDescs$D = Object.getOwnPropertyDescriptors;
|
|
335
335
|
var __getOwnPropSymbols$U = Object.getOwnPropertySymbols;
|
|
336
336
|
var __hasOwnProp$U = Object.prototype.hasOwnProperty;
|
|
337
337
|
var __propIsEnum$U = Object.prototype.propertyIsEnumerable;
|
|
@@ -348,8 +348,8 @@
|
|
|
348
348
|
}
|
|
349
349
|
return a;
|
|
350
350
|
};
|
|
351
|
-
var __spreadProps$
|
|
352
|
-
var __objRest$
|
|
351
|
+
var __spreadProps$D = (a, b) => __defProps$D(a, __getOwnPropDescs$D(b));
|
|
352
|
+
var __objRest$w = (source, exclude) => {
|
|
353
353
|
var target = {};
|
|
354
354
|
for (var prop in source) if (__hasOwnProp$U.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
355
355
|
if (source != null && __getOwnPropSymbols$U) for (var prop of __getOwnPropSymbols$U(source)) {
|
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
prefix,
|
|
378
378
|
suffix
|
|
379
379
|
} = _a,
|
|
380
|
-
restProps = __objRest$
|
|
380
|
+
restProps = __objRest$w(_a, ["src", "hoverSrc", "active", "activeSrc", "onMouseEnter", "onMouseLeave", "onMouseMove", "className", "iconWidth", "iconHeight", "cursor", "style", "isRotate", "prefix", "suffix"]);
|
|
381
381
|
const [hover, setHover] = React.useState(false);
|
|
382
382
|
const _src = React.useMemo(() => {
|
|
383
383
|
if (active && activeSrc) {
|
|
@@ -405,7 +405,7 @@
|
|
|
405
405
|
}
|
|
406
406
|
return src2;
|
|
407
407
|
}, [active, hover, suffix]);
|
|
408
|
-
return /* @__PURE__ */React__namespace.default.createElement(BaseIcon, __spreadProps$
|
|
408
|
+
return /* @__PURE__ */React__namespace.default.createElement(BaseIcon, __spreadProps$D(__spreadValues$T({
|
|
409
409
|
src: _src,
|
|
410
410
|
className: cs__default.default(IconWrapper, "icon-wrapper", className, isRotate && "is-rotate"),
|
|
411
411
|
suffixIconSrc,
|
|
@@ -438,8 +438,8 @@
|
|
|
438
438
|
});
|
|
439
439
|
|
|
440
440
|
var __defProp$S = Object.defineProperty;
|
|
441
|
-
var __defProps$
|
|
442
|
-
var __getOwnPropDescs$
|
|
441
|
+
var __defProps$C = Object.defineProperties;
|
|
442
|
+
var __getOwnPropDescs$C = Object.getOwnPropertyDescriptors;
|
|
443
443
|
var __getOwnPropSymbols$T = Object.getOwnPropertySymbols;
|
|
444
444
|
var __hasOwnProp$T = Object.prototype.hasOwnProperty;
|
|
445
445
|
var __propIsEnum$T = Object.prototype.propertyIsEnumerable;
|
|
@@ -456,8 +456,8 @@
|
|
|
456
456
|
}
|
|
457
457
|
return a;
|
|
458
458
|
};
|
|
459
|
-
var __spreadProps$
|
|
460
|
-
var __objRest$
|
|
459
|
+
var __spreadProps$C = (a, b) => __defProps$C(a, __getOwnPropDescs$C(b));
|
|
460
|
+
var __objRest$v = (source, exclude) => {
|
|
461
461
|
var target = {};
|
|
462
462
|
for (var prop in source) if (__hasOwnProp$T.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
463
463
|
if (source != null && __getOwnPropSymbols$T) for (var prop of __getOwnPropSymbols$T(source)) {
|
|
@@ -479,13 +479,13 @@
|
|
|
479
479
|
action,
|
|
480
480
|
message
|
|
481
481
|
} = _b,
|
|
482
|
-
props = __objRest$
|
|
482
|
+
props = __objRest$v(_b, ["type", "icon", "showIcon", "className", "onClose", "closeText", "action", "message"]);
|
|
483
483
|
const _icon = /* @__PURE__ */React__namespace.default.createElement(Icon, {
|
|
484
484
|
alt: type,
|
|
485
485
|
src: getAlertIcon(type)
|
|
486
486
|
});
|
|
487
487
|
const _type = type === "normal" ? "info" : type;
|
|
488
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Alert, __spreadProps$
|
|
488
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Alert, __spreadProps$C(__spreadValues$S({}, props), {
|
|
489
489
|
className: cs__default.default(AlertStyle, type ? `alert-${type}` : "", className, {
|
|
490
490
|
action
|
|
491
491
|
}),
|
|
@@ -524,8 +524,8 @@
|
|
|
524
524
|
};
|
|
525
525
|
|
|
526
526
|
var __defProp$R = Object.defineProperty;
|
|
527
|
-
var __defProps$
|
|
528
|
-
var __getOwnPropDescs$
|
|
527
|
+
var __defProps$B = Object.defineProperties;
|
|
528
|
+
var __getOwnPropDescs$B = Object.getOwnPropertyDescriptors;
|
|
529
529
|
var __getOwnPropSymbols$S = Object.getOwnPropertySymbols;
|
|
530
530
|
var __hasOwnProp$S = Object.prototype.hasOwnProperty;
|
|
531
531
|
var __propIsEnum$S = Object.prototype.propertyIsEnumerable;
|
|
@@ -541,8 +541,8 @@
|
|
|
541
541
|
}
|
|
542
542
|
return a;
|
|
543
543
|
};
|
|
544
|
-
var __spreadProps$
|
|
545
|
-
var __objRest$
|
|
544
|
+
var __spreadProps$B = (a, b) => __defProps$B(a, __getOwnPropDescs$B(b));
|
|
545
|
+
var __objRest$u = (source, exclude) => {
|
|
546
546
|
var target = {};
|
|
547
547
|
for (var prop in source)
|
|
548
548
|
if (__hasOwnProp$S.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
@@ -555,10 +555,10 @@
|
|
|
555
555
|
return target;
|
|
556
556
|
};
|
|
557
557
|
const Badge = (_a) => {
|
|
558
|
-
var _b = _a, { type = "error", className } = _b, props = __objRest$
|
|
558
|
+
var _b = _a, { type = "error", className } = _b, props = __objRest$u(_b, ["type", "className"]);
|
|
559
559
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
560
560
|
antd.Badge,
|
|
561
|
-
__spreadProps$
|
|
561
|
+
__spreadProps$B(__spreadValues$R({
|
|
562
562
|
className: core.cx(`badge-${type}`, className)
|
|
563
563
|
}, props), {
|
|
564
564
|
showZero: false
|
|
@@ -820,7 +820,7 @@
|
|
|
820
820
|
}
|
|
821
821
|
return a;
|
|
822
822
|
};
|
|
823
|
-
var __objRest$
|
|
823
|
+
var __objRest$t = (source, exclude) => {
|
|
824
824
|
var target = {};
|
|
825
825
|
for (var prop in source) if (__hasOwnProp$O.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
826
826
|
if (source != null && __getOwnPropSymbols$O) for (var prop of __getOwnPropSymbols$O(source)) {
|
|
@@ -847,7 +847,7 @@
|
|
|
847
847
|
onMouseLeave,
|
|
848
848
|
size = "middle"
|
|
849
849
|
} = _a,
|
|
850
|
-
restProps = __objRest$
|
|
850
|
+
restProps = __objRest$t(_a, ["type", "className", "children", "prefixIcon", "hoverPrefixIcon", "suffixIcon", "hoverSuffixIcon", "onMouseEnter", "onMouseLeave", "size"]);
|
|
851
851
|
const [status, setStatus] = React.useState("normal");
|
|
852
852
|
const hasIcon = prefixIcon || suffixIcon;
|
|
853
853
|
const hasHoverIcon = hoverPrefixIcon || hoverSuffixIcon;
|
|
@@ -883,8 +883,8 @@
|
|
|
883
883
|
});
|
|
884
884
|
|
|
885
885
|
var __defProp$M = Object.defineProperty;
|
|
886
|
-
var __defProps$
|
|
887
|
-
var __getOwnPropDescs$
|
|
886
|
+
var __defProps$A = Object.defineProperties;
|
|
887
|
+
var __getOwnPropDescs$A = Object.getOwnPropertyDescriptors;
|
|
888
888
|
var __getOwnPropSymbols$N = Object.getOwnPropertySymbols;
|
|
889
889
|
var __hasOwnProp$N = Object.prototype.hasOwnProperty;
|
|
890
890
|
var __propIsEnum$N = Object.prototype.propertyIsEnumerable;
|
|
@@ -900,8 +900,8 @@
|
|
|
900
900
|
}
|
|
901
901
|
return a;
|
|
902
902
|
};
|
|
903
|
-
var __spreadProps$
|
|
904
|
-
var __objRest$
|
|
903
|
+
var __spreadProps$A = (a, b) => __defProps$A(a, __getOwnPropDescs$A(b));
|
|
904
|
+
var __objRest$s = (source, exclude) => {
|
|
905
905
|
var target = {};
|
|
906
906
|
for (var prop in source)
|
|
907
907
|
if (__hasOwnProp$N.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
@@ -920,7 +920,7 @@
|
|
|
920
920
|
overlayClassName,
|
|
921
921
|
overlayStyle,
|
|
922
922
|
children
|
|
923
|
-
} = _a, restProps = __objRest$
|
|
923
|
+
} = _a, restProps = __objRest$s(_a, [
|
|
924
924
|
"followMouse",
|
|
925
925
|
"overlayClassName",
|
|
926
926
|
"overlayStyle",
|
|
@@ -962,7 +962,7 @@
|
|
|
962
962
|
}, [followMouse, onmousemove, uniqueContainerClass]);
|
|
963
963
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
964
964
|
antd.Tooltip,
|
|
965
|
-
__spreadProps$
|
|
965
|
+
__spreadProps$A(__spreadValues$M({}, restProps), {
|
|
966
966
|
overlayClassName: followMouse ? cs__default.default(overlayClassName, uniquePopupClass) : overlayClassName,
|
|
967
967
|
children: _children,
|
|
968
968
|
overlayStyle: followMouse ? __spreadValues$M({
|
|
@@ -990,7 +990,7 @@
|
|
|
990
990
|
}
|
|
991
991
|
return a;
|
|
992
992
|
};
|
|
993
|
-
var __objRest$
|
|
993
|
+
var __objRest$r = (source, exclude) => {
|
|
994
994
|
var target = {};
|
|
995
995
|
for (var prop in source) if (__hasOwnProp$M.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
996
996
|
if (source != null && __getOwnPropSymbols$M) for (var prop of __getOwnPropSymbols$M(source)) {
|
|
@@ -1029,7 +1029,7 @@
|
|
|
1029
1029
|
hideTitle,
|
|
1030
1030
|
title
|
|
1031
1031
|
} = _a,
|
|
1032
|
-
buttonPropArgs = __objRest$
|
|
1032
|
+
buttonPropArgs = __objRest$r(_a, ["key", "icon", "type", "children", "danger", "ghost", "className", "hideTitle", "title"]);
|
|
1033
1033
|
if (hideTitle) {
|
|
1034
1034
|
return /* @__PURE__ */React__namespace.default.createElement(Tooltip, {
|
|
1035
1035
|
key: key || index,
|
|
@@ -1121,45 +1121,18 @@
|
|
|
1121
1121
|
propsAsIs: false
|
|
1122
1122
|
});
|
|
1123
1123
|
|
|
1124
|
-
var __defProp$J = Object.defineProperty;
|
|
1125
|
-
var __getOwnPropSymbols$K = Object.getOwnPropertySymbols;
|
|
1126
|
-
var __hasOwnProp$K = Object.prototype.hasOwnProperty;
|
|
1127
|
-
var __propIsEnum$K = Object.prototype.propertyIsEnumerable;
|
|
1128
|
-
var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, {
|
|
1129
|
-
enumerable: true,
|
|
1130
|
-
configurable: true,
|
|
1131
|
-
writable: true,
|
|
1132
|
-
value
|
|
1133
|
-
}) : obj[key] = value;
|
|
1134
|
-
var __spreadValues$J = (a, b) => {
|
|
1135
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$K.call(b, prop)) __defNormalProp$J(a, prop, b[prop]);
|
|
1136
|
-
if (__getOwnPropSymbols$K) for (var prop of __getOwnPropSymbols$K(b)) {
|
|
1137
|
-
if (__propIsEnum$K.call(b, prop)) __defNormalProp$J(a, prop, b[prop]);
|
|
1138
|
-
}
|
|
1139
|
-
return a;
|
|
1140
|
-
};
|
|
1141
|
-
var __objRest$r = (source, exclude) => {
|
|
1142
|
-
var target = {};
|
|
1143
|
-
for (var prop in source) if (__hasOwnProp$K.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1144
|
-
if (source != null && __getOwnPropSymbols$K) for (var prop of __getOwnPropSymbols$K(source)) {
|
|
1145
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$K.call(source, prop)) target[prop] = source[prop];
|
|
1146
|
-
}
|
|
1147
|
-
return target;
|
|
1148
|
-
};
|
|
1149
1124
|
const boxShadow = "bab9xum";
|
|
1150
1125
|
const Wrapper = React.forwardRef(props => {
|
|
1151
|
-
const
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
otherProps = __objRest$r(_a, ["children", "className", "shadow"]);
|
|
1158
|
-
return /* @__PURE__ */React__namespace.default.createElement("div", __spreadValues$J({
|
|
1126
|
+
const {
|
|
1127
|
+
children,
|
|
1128
|
+
className,
|
|
1129
|
+
shadow
|
|
1130
|
+
} = props;
|
|
1131
|
+
return /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
1159
1132
|
className: cs__default.default({
|
|
1160
1133
|
[boxShadow]: shadow
|
|
1161
1134
|
}, className)
|
|
1162
|
-
},
|
|
1135
|
+
}, children);
|
|
1163
1136
|
});
|
|
1164
1137
|
const _exp$3 = () => Wrapper;
|
|
1165
1138
|
const CardWrapper = /*#__PURE__*/react.styled(_exp$3())({
|
|
@@ -1168,33 +1141,33 @@
|
|
|
1168
1141
|
propsAsIs: true
|
|
1169
1142
|
});
|
|
1170
1143
|
|
|
1171
|
-
var __defProp$
|
|
1172
|
-
var __defProps$
|
|
1173
|
-
var __getOwnPropDescs$
|
|
1174
|
-
var __getOwnPropSymbols$
|
|
1175
|
-
var __hasOwnProp$
|
|
1176
|
-
var __propIsEnum$
|
|
1177
|
-
var __defNormalProp$
|
|
1178
|
-
var __spreadValues$
|
|
1144
|
+
var __defProp$J = Object.defineProperty;
|
|
1145
|
+
var __defProps$z = Object.defineProperties;
|
|
1146
|
+
var __getOwnPropDescs$z = Object.getOwnPropertyDescriptors;
|
|
1147
|
+
var __getOwnPropSymbols$K = Object.getOwnPropertySymbols;
|
|
1148
|
+
var __hasOwnProp$K = Object.prototype.hasOwnProperty;
|
|
1149
|
+
var __propIsEnum$K = Object.prototype.propertyIsEnumerable;
|
|
1150
|
+
var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1151
|
+
var __spreadValues$J = (a, b) => {
|
|
1179
1152
|
for (var prop in b || (b = {}))
|
|
1180
|
-
if (__hasOwnProp$
|
|
1181
|
-
__defNormalProp$
|
|
1182
|
-
if (__getOwnPropSymbols$
|
|
1183
|
-
for (var prop of __getOwnPropSymbols$
|
|
1184
|
-
if (__propIsEnum$
|
|
1185
|
-
__defNormalProp$
|
|
1153
|
+
if (__hasOwnProp$K.call(b, prop))
|
|
1154
|
+
__defNormalProp$J(a, prop, b[prop]);
|
|
1155
|
+
if (__getOwnPropSymbols$K)
|
|
1156
|
+
for (var prop of __getOwnPropSymbols$K(b)) {
|
|
1157
|
+
if (__propIsEnum$K.call(b, prop))
|
|
1158
|
+
__defNormalProp$J(a, prop, b[prop]);
|
|
1186
1159
|
}
|
|
1187
1160
|
return a;
|
|
1188
1161
|
};
|
|
1189
|
-
var __spreadProps$
|
|
1162
|
+
var __spreadProps$z = (a, b) => __defProps$z(a, __getOwnPropDescs$z(b));
|
|
1190
1163
|
var __objRest$q = (source, exclude) => {
|
|
1191
1164
|
var target = {};
|
|
1192
1165
|
for (var prop in source)
|
|
1193
|
-
if (__hasOwnProp$
|
|
1166
|
+
if (__hasOwnProp$K.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1194
1167
|
target[prop] = source[prop];
|
|
1195
|
-
if (source != null && __getOwnPropSymbols$
|
|
1196
|
-
for (var prop of __getOwnPropSymbols$
|
|
1197
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1168
|
+
if (source != null && __getOwnPropSymbols$K)
|
|
1169
|
+
for (var prop of __getOwnPropSymbols$K(source)) {
|
|
1170
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$K.call(source, prop))
|
|
1198
1171
|
target[prop] = source[prop];
|
|
1199
1172
|
}
|
|
1200
1173
|
return target;
|
|
@@ -1221,7 +1194,7 @@
|
|
|
1221
1194
|
const [open, setOpen] = React.useState(defaultOpen);
|
|
1222
1195
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
1223
1196
|
CardWrapper,
|
|
1224
|
-
__spreadProps$
|
|
1197
|
+
__spreadProps$z(__spreadValues$J({
|
|
1225
1198
|
ref,
|
|
1226
1199
|
className: cs__default.default(["card-wrapper", className, hoverable && "hoverable"])
|
|
1227
1200
|
}, domProps), {
|
|
@@ -1250,31 +1223,31 @@
|
|
|
1250
1223
|
}
|
|
1251
1224
|
);
|
|
1252
1225
|
|
|
1253
|
-
var __defProp$
|
|
1254
|
-
var __defProps$
|
|
1255
|
-
var __getOwnPropDescs$
|
|
1256
|
-
var __getOwnPropSymbols$
|
|
1257
|
-
var __hasOwnProp$
|
|
1258
|
-
var __propIsEnum$
|
|
1259
|
-
var __defNormalProp$
|
|
1226
|
+
var __defProp$I = Object.defineProperty;
|
|
1227
|
+
var __defProps$y = Object.defineProperties;
|
|
1228
|
+
var __getOwnPropDescs$y = Object.getOwnPropertyDescriptors;
|
|
1229
|
+
var __getOwnPropSymbols$J = Object.getOwnPropertySymbols;
|
|
1230
|
+
var __hasOwnProp$J = Object.prototype.hasOwnProperty;
|
|
1231
|
+
var __propIsEnum$J = Object.prototype.propertyIsEnumerable;
|
|
1232
|
+
var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, {
|
|
1260
1233
|
enumerable: true,
|
|
1261
1234
|
configurable: true,
|
|
1262
1235
|
writable: true,
|
|
1263
1236
|
value
|
|
1264
1237
|
}) : obj[key] = value;
|
|
1265
|
-
var __spreadValues$
|
|
1266
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1267
|
-
if (__getOwnPropSymbols$
|
|
1268
|
-
if (__propIsEnum$
|
|
1238
|
+
var __spreadValues$I = (a, b) => {
|
|
1239
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$J.call(b, prop)) __defNormalProp$I(a, prop, b[prop]);
|
|
1240
|
+
if (__getOwnPropSymbols$J) for (var prop of __getOwnPropSymbols$J(b)) {
|
|
1241
|
+
if (__propIsEnum$J.call(b, prop)) __defNormalProp$I(a, prop, b[prop]);
|
|
1269
1242
|
}
|
|
1270
1243
|
return a;
|
|
1271
1244
|
};
|
|
1272
|
-
var __spreadProps$
|
|
1245
|
+
var __spreadProps$y = (a, b) => __defProps$y(a, __getOwnPropDescs$y(b));
|
|
1273
1246
|
var __objRest$p = (source, exclude) => {
|
|
1274
1247
|
var target = {};
|
|
1275
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1276
|
-
if (source != null && __getOwnPropSymbols$
|
|
1277
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1248
|
+
for (var prop in source) if (__hasOwnProp$J.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1249
|
+
if (source != null && __getOwnPropSymbols$J) for (var prop of __getOwnPropSymbols$J(source)) {
|
|
1250
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$J.call(source, prop)) target[prop] = source[prop];
|
|
1278
1251
|
}
|
|
1279
1252
|
return target;
|
|
1280
1253
|
};
|
|
@@ -1288,7 +1261,7 @@
|
|
|
1288
1261
|
compact
|
|
1289
1262
|
} = _b,
|
|
1290
1263
|
props = __objRest$p(_b, ["className", "children", "description", "compact"]);
|
|
1291
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Checkbox, __spreadProps$
|
|
1264
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Checkbox, __spreadProps$y(__spreadValues$I({}, props), {
|
|
1292
1265
|
"data-test": props["data-test"] || props.value,
|
|
1293
1266
|
className: cs__default.default(className, CheckboxStyle, compact && "compact")
|
|
1294
1267
|
}), children ? /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
@@ -1366,30 +1339,30 @@
|
|
|
1366
1339
|
}, children));
|
|
1367
1340
|
};
|
|
1368
1341
|
|
|
1369
|
-
var __defProp$
|
|
1370
|
-
var __getOwnPropSymbols$
|
|
1371
|
-
var __hasOwnProp$
|
|
1372
|
-
var __propIsEnum$
|
|
1373
|
-
var __defNormalProp$
|
|
1374
|
-
var __spreadValues$
|
|
1342
|
+
var __defProp$H = Object.defineProperty;
|
|
1343
|
+
var __getOwnPropSymbols$I = Object.getOwnPropertySymbols;
|
|
1344
|
+
var __hasOwnProp$I = Object.prototype.hasOwnProperty;
|
|
1345
|
+
var __propIsEnum$I = Object.prototype.propertyIsEnumerable;
|
|
1346
|
+
var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1347
|
+
var __spreadValues$H = (a, b) => {
|
|
1375
1348
|
for (var prop in b || (b = {}))
|
|
1376
|
-
if (__hasOwnProp$
|
|
1377
|
-
__defNormalProp$
|
|
1378
|
-
if (__getOwnPropSymbols$
|
|
1379
|
-
for (var prop of __getOwnPropSymbols$
|
|
1380
|
-
if (__propIsEnum$
|
|
1381
|
-
__defNormalProp$
|
|
1349
|
+
if (__hasOwnProp$I.call(b, prop))
|
|
1350
|
+
__defNormalProp$H(a, prop, b[prop]);
|
|
1351
|
+
if (__getOwnPropSymbols$I)
|
|
1352
|
+
for (var prop of __getOwnPropSymbols$I(b)) {
|
|
1353
|
+
if (__propIsEnum$I.call(b, prop))
|
|
1354
|
+
__defNormalProp$H(a, prop, b[prop]);
|
|
1382
1355
|
}
|
|
1383
1356
|
return a;
|
|
1384
1357
|
};
|
|
1385
1358
|
var __objRest$o = (source, exclude) => {
|
|
1386
1359
|
var target = {};
|
|
1387
1360
|
for (var prop in source)
|
|
1388
|
-
if (__hasOwnProp$
|
|
1361
|
+
if (__hasOwnProp$I.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1389
1362
|
target[prop] = source[prop];
|
|
1390
|
-
if (source != null && __getOwnPropSymbols$
|
|
1391
|
-
for (var prop of __getOwnPropSymbols$
|
|
1392
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1363
|
+
if (source != null && __getOwnPropSymbols$I)
|
|
1364
|
+
for (var prop of __getOwnPropSymbols$I(source)) {
|
|
1365
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$I.call(source, prop))
|
|
1393
1366
|
target[prop] = source[prop];
|
|
1394
1367
|
}
|
|
1395
1368
|
return target;
|
|
@@ -1398,7 +1371,7 @@
|
|
|
1398
1371
|
var _b = _a, { input, children } = _b, props = __objRest$o(_b, ["input", "children"]);
|
|
1399
1372
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
1400
1373
|
Checkbox,
|
|
1401
|
-
__spreadValues$
|
|
1374
|
+
__spreadValues$H({
|
|
1402
1375
|
checked: Boolean(input.value),
|
|
1403
1376
|
onChange: (e) => input.onChange(e.target.checked)
|
|
1404
1377
|
}, props),
|
|
@@ -1423,17 +1396,17 @@
|
|
|
1423
1396
|
}
|
|
1424
1397
|
));
|
|
1425
1398
|
|
|
1426
|
-
var __getOwnPropSymbols$
|
|
1427
|
-
var __hasOwnProp$
|
|
1428
|
-
var __propIsEnum$
|
|
1399
|
+
var __getOwnPropSymbols$H = Object.getOwnPropertySymbols;
|
|
1400
|
+
var __hasOwnProp$H = Object.prototype.hasOwnProperty;
|
|
1401
|
+
var __propIsEnum$H = Object.prototype.propertyIsEnumerable;
|
|
1429
1402
|
var __objRest$n = (source, exclude) => {
|
|
1430
1403
|
var target = {};
|
|
1431
1404
|
for (var prop in source)
|
|
1432
|
-
if (__hasOwnProp$
|
|
1405
|
+
if (__hasOwnProp$H.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1433
1406
|
target[prop] = source[prop];
|
|
1434
|
-
if (source != null && __getOwnPropSymbols$
|
|
1435
|
-
for (var prop of __getOwnPropSymbols$
|
|
1436
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1407
|
+
if (source != null && __getOwnPropSymbols$H)
|
|
1408
|
+
for (var prop of __getOwnPropSymbols$H(source)) {
|
|
1409
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$H.call(source, prop))
|
|
1437
1410
|
target[prop] = source[prop];
|
|
1438
1411
|
}
|
|
1439
1412
|
return target;
|
|
@@ -1478,53 +1451,53 @@
|
|
|
1478
1451
|
const InputStyle = "ipd9bk";
|
|
1479
1452
|
const KitInputStyle = "kypn5o5";
|
|
1480
1453
|
|
|
1481
|
-
var __defProp$
|
|
1482
|
-
var __getOwnPropSymbols$
|
|
1483
|
-
var __hasOwnProp$
|
|
1484
|
-
var __propIsEnum$
|
|
1485
|
-
var __defNormalProp$
|
|
1486
|
-
var __spreadValues$
|
|
1454
|
+
var __defProp$G = Object.defineProperty;
|
|
1455
|
+
var __getOwnPropSymbols$G = Object.getOwnPropertySymbols;
|
|
1456
|
+
var __hasOwnProp$G = Object.prototype.hasOwnProperty;
|
|
1457
|
+
var __propIsEnum$G = Object.prototype.propertyIsEnumerable;
|
|
1458
|
+
var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1459
|
+
var __spreadValues$G = (a, b) => {
|
|
1487
1460
|
for (var prop in b || (b = {}))
|
|
1488
|
-
if (__hasOwnProp$
|
|
1489
|
-
__defNormalProp$
|
|
1490
|
-
if (__getOwnPropSymbols$
|
|
1491
|
-
for (var prop of __getOwnPropSymbols$
|
|
1492
|
-
if (__propIsEnum$
|
|
1493
|
-
__defNormalProp$
|
|
1461
|
+
if (__hasOwnProp$G.call(b, prop))
|
|
1462
|
+
__defNormalProp$G(a, prop, b[prop]);
|
|
1463
|
+
if (__getOwnPropSymbols$G)
|
|
1464
|
+
for (var prop of __getOwnPropSymbols$G(b)) {
|
|
1465
|
+
if (__propIsEnum$G.call(b, prop))
|
|
1466
|
+
__defNormalProp$G(a, prop, b[prop]);
|
|
1494
1467
|
}
|
|
1495
1468
|
return a;
|
|
1496
1469
|
};
|
|
1497
1470
|
const Loading = ({ fullView = true }) => {
|
|
1498
1471
|
const Wrapper = fullView ? FullView : React.Fragment;
|
|
1499
1472
|
const props = fullView ? { className: "loading-full-view" } : {};
|
|
1500
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Wrapper, __spreadValues$
|
|
1473
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Wrapper, __spreadValues$G({}, props), /* @__PURE__ */ React__namespace.default.createElement("div", { className: "loading" }, /* @__PURE__ */ React__namespace.default.createElement("div", { className: "loading-indicator__line1" }), /* @__PURE__ */ React__namespace.default.createElement("div", { className: "loading-indicator__line2" }), /* @__PURE__ */ React__namespace.default.createElement("div", { className: "loading-indicator__line3" })));
|
|
1501
1474
|
};
|
|
1502
1475
|
|
|
1503
|
-
var __defProp$
|
|
1504
|
-
var __defProps$
|
|
1505
|
-
var __getOwnPropDescs$
|
|
1506
|
-
var __getOwnPropSymbols$
|
|
1507
|
-
var __hasOwnProp$
|
|
1508
|
-
var __propIsEnum$
|
|
1509
|
-
var __defNormalProp$
|
|
1476
|
+
var __defProp$F = Object.defineProperty;
|
|
1477
|
+
var __defProps$x = Object.defineProperties;
|
|
1478
|
+
var __getOwnPropDescs$x = Object.getOwnPropertyDescriptors;
|
|
1479
|
+
var __getOwnPropSymbols$F = Object.getOwnPropertySymbols;
|
|
1480
|
+
var __hasOwnProp$F = Object.prototype.hasOwnProperty;
|
|
1481
|
+
var __propIsEnum$F = Object.prototype.propertyIsEnumerable;
|
|
1482
|
+
var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, {
|
|
1510
1483
|
enumerable: true,
|
|
1511
1484
|
configurable: true,
|
|
1512
1485
|
writable: true,
|
|
1513
1486
|
value
|
|
1514
1487
|
}) : obj[key] = value;
|
|
1515
|
-
var __spreadValues$
|
|
1516
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1517
|
-
if (__getOwnPropSymbols$
|
|
1518
|
-
if (__propIsEnum$
|
|
1488
|
+
var __spreadValues$F = (a, b) => {
|
|
1489
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$F.call(b, prop)) __defNormalProp$F(a, prop, b[prop]);
|
|
1490
|
+
if (__getOwnPropSymbols$F) for (var prop of __getOwnPropSymbols$F(b)) {
|
|
1491
|
+
if (__propIsEnum$F.call(b, prop)) __defNormalProp$F(a, prop, b[prop]);
|
|
1519
1492
|
}
|
|
1520
1493
|
return a;
|
|
1521
1494
|
};
|
|
1522
|
-
var __spreadProps$
|
|
1495
|
+
var __spreadProps$x = (a, b) => __defProps$x(a, __getOwnPropDescs$x(b));
|
|
1523
1496
|
var __objRest$m = (source, exclude) => {
|
|
1524
1497
|
var target = {};
|
|
1525
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1526
|
-
if (source != null && __getOwnPropSymbols$
|
|
1527
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1498
|
+
for (var prop in source) if (__hasOwnProp$F.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1499
|
+
if (source != null && __getOwnPropSymbols$F) for (var prop of __getOwnPropSymbols$F(source)) {
|
|
1500
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$F.call(source, prop)) target[prop] = source[prop];
|
|
1528
1501
|
}
|
|
1529
1502
|
return target;
|
|
1530
1503
|
};
|
|
@@ -1578,7 +1551,7 @@
|
|
|
1578
1551
|
inputDom && (placeholder || item) && inputDom.setAttribute("data-test", String(placeholder || item.textContent));
|
|
1579
1552
|
}
|
|
1580
1553
|
}, [selectRef, placeholder]);
|
|
1581
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Select, __spreadValues$
|
|
1554
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Select, __spreadValues$F(__spreadProps$x(__spreadValues$F({}, input), {
|
|
1582
1555
|
ref: selectRef,
|
|
1583
1556
|
size,
|
|
1584
1557
|
value: multiple ? input.value || [] : input.value || void 0,
|
|
@@ -1619,38 +1592,38 @@
|
|
|
1619
1592
|
loading,
|
|
1620
1593
|
placeholder
|
|
1621
1594
|
}), restProps), React__namespace.default.Children.map(children, child => {
|
|
1622
|
-
return reactIs.isElement(child) ? __spreadProps$
|
|
1623
|
-
props: __spreadProps$
|
|
1595
|
+
return reactIs.isElement(child) ? __spreadProps$x(__spreadValues$F({}, child), {
|
|
1596
|
+
props: __spreadProps$x(__spreadValues$F({}, child.props), {
|
|
1624
1597
|
"data-test": child.props.value
|
|
1625
1598
|
})
|
|
1626
1599
|
}) : child;
|
|
1627
1600
|
}));
|
|
1628
1601
|
};
|
|
1629
1602
|
|
|
1630
|
-
var __defProp$
|
|
1631
|
-
var __getOwnPropSymbols$
|
|
1632
|
-
var __hasOwnProp$
|
|
1633
|
-
var __propIsEnum$
|
|
1634
|
-
var __defNormalProp$
|
|
1635
|
-
var __spreadValues$
|
|
1603
|
+
var __defProp$E = Object.defineProperty;
|
|
1604
|
+
var __getOwnPropSymbols$E = Object.getOwnPropertySymbols;
|
|
1605
|
+
var __hasOwnProp$E = Object.prototype.hasOwnProperty;
|
|
1606
|
+
var __propIsEnum$E = Object.prototype.propertyIsEnumerable;
|
|
1607
|
+
var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1608
|
+
var __spreadValues$E = (a, b) => {
|
|
1636
1609
|
for (var prop in b || (b = {}))
|
|
1637
|
-
if (__hasOwnProp$
|
|
1638
|
-
__defNormalProp$
|
|
1639
|
-
if (__getOwnPropSymbols$
|
|
1640
|
-
for (var prop of __getOwnPropSymbols$
|
|
1641
|
-
if (__propIsEnum$
|
|
1642
|
-
__defNormalProp$
|
|
1610
|
+
if (__hasOwnProp$E.call(b, prop))
|
|
1611
|
+
__defNormalProp$E(a, prop, b[prop]);
|
|
1612
|
+
if (__getOwnPropSymbols$E)
|
|
1613
|
+
for (var prop of __getOwnPropSymbols$E(b)) {
|
|
1614
|
+
if (__propIsEnum$E.call(b, prop))
|
|
1615
|
+
__defNormalProp$E(a, prop, b[prop]);
|
|
1643
1616
|
}
|
|
1644
1617
|
return a;
|
|
1645
1618
|
};
|
|
1646
1619
|
var __objRest$l = (source, exclude) => {
|
|
1647
1620
|
var target = {};
|
|
1648
1621
|
for (var prop in source)
|
|
1649
|
-
if (__hasOwnProp$
|
|
1622
|
+
if (__hasOwnProp$E.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1650
1623
|
target[prop] = source[prop];
|
|
1651
|
-
if (source != null && __getOwnPropSymbols$
|
|
1652
|
-
for (var prop of __getOwnPropSymbols$
|
|
1653
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1624
|
+
if (source != null && __getOwnPropSymbols$E)
|
|
1625
|
+
for (var prop of __getOwnPropSymbols$E(source)) {
|
|
1626
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$E.call(source, prop))
|
|
1654
1627
|
target[prop] = source[prop];
|
|
1655
1628
|
}
|
|
1656
1629
|
return target;
|
|
@@ -1665,7 +1638,7 @@
|
|
|
1665
1638
|
"enumValues",
|
|
1666
1639
|
"emptyLabel"
|
|
1667
1640
|
]);
|
|
1668
|
-
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(Select, __spreadValues$
|
|
1641
|
+
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(Select, __spreadValues$E({}, restProps), emptyLabel && /* @__PURE__ */ React__namespace.default.createElement(antd.Select.Option, { value: "" }, emptyLabel), enumValues.map((v) => {
|
|
1669
1642
|
const item = typeof v === "string" ? { value: v, text: v } : v;
|
|
1670
1643
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
1671
1644
|
antd.Select.Option,
|
|
@@ -1679,31 +1652,31 @@
|
|
|
1679
1652
|
})));
|
|
1680
1653
|
};
|
|
1681
1654
|
|
|
1682
|
-
var __defProp$
|
|
1683
|
-
var __defProps$
|
|
1684
|
-
var __getOwnPropDescs$
|
|
1685
|
-
var __getOwnPropSymbols$
|
|
1686
|
-
var __hasOwnProp$
|
|
1687
|
-
var __propIsEnum$
|
|
1688
|
-
var __defNormalProp$
|
|
1655
|
+
var __defProp$D = Object.defineProperty;
|
|
1656
|
+
var __defProps$w = Object.defineProperties;
|
|
1657
|
+
var __getOwnPropDescs$w = Object.getOwnPropertyDescriptors;
|
|
1658
|
+
var __getOwnPropSymbols$D = Object.getOwnPropertySymbols;
|
|
1659
|
+
var __hasOwnProp$D = Object.prototype.hasOwnProperty;
|
|
1660
|
+
var __propIsEnum$D = Object.prototype.propertyIsEnumerable;
|
|
1661
|
+
var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, {
|
|
1689
1662
|
enumerable: true,
|
|
1690
1663
|
configurable: true,
|
|
1691
1664
|
writable: true,
|
|
1692
1665
|
value
|
|
1693
1666
|
}) : obj[key] = value;
|
|
1694
|
-
var __spreadValues$
|
|
1695
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1696
|
-
if (__getOwnPropSymbols$
|
|
1697
|
-
if (__propIsEnum$
|
|
1667
|
+
var __spreadValues$D = (a, b) => {
|
|
1668
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$D.call(b, prop)) __defNormalProp$D(a, prop, b[prop]);
|
|
1669
|
+
if (__getOwnPropSymbols$D) for (var prop of __getOwnPropSymbols$D(b)) {
|
|
1670
|
+
if (__propIsEnum$D.call(b, prop)) __defNormalProp$D(a, prop, b[prop]);
|
|
1698
1671
|
}
|
|
1699
1672
|
return a;
|
|
1700
1673
|
};
|
|
1701
|
-
var __spreadProps$
|
|
1674
|
+
var __spreadProps$w = (a, b) => __defProps$w(a, __getOwnPropDescs$w(b));
|
|
1702
1675
|
var __objRest$k = (source, exclude) => {
|
|
1703
1676
|
var target = {};
|
|
1704
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1705
|
-
if (source != null && __getOwnPropSymbols$
|
|
1706
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1677
|
+
for (var prop in source) if (__hasOwnProp$D.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1678
|
+
if (source != null && __getOwnPropSymbols$D) for (var prop of __getOwnPropSymbols$D(source)) {
|
|
1679
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$D.call(source, prop)) target[prop] = source[prop];
|
|
1707
1680
|
}
|
|
1708
1681
|
return target;
|
|
1709
1682
|
};
|
|
@@ -1745,7 +1718,7 @@
|
|
|
1745
1718
|
middle: Typo.Label.l3_regular,
|
|
1746
1719
|
small: Typo.Label.l4_regular
|
|
1747
1720
|
}[size];
|
|
1748
|
-
return /* @__PURE__ */React__namespace.default.createElement(AntdInputNumberStyled, __spreadProps$
|
|
1721
|
+
return /* @__PURE__ */React__namespace.default.createElement(AntdInputNumberStyled, __spreadProps$w(__spreadValues$D({}, props), {
|
|
1749
1722
|
size,
|
|
1750
1723
|
controls,
|
|
1751
1724
|
"data-test": props.name,
|
|
@@ -1755,33 +1728,33 @@
|
|
|
1755
1728
|
}));
|
|
1756
1729
|
};
|
|
1757
1730
|
|
|
1758
|
-
var __defProp$
|
|
1759
|
-
var __defProps$
|
|
1760
|
-
var __getOwnPropDescs$
|
|
1761
|
-
var __getOwnPropSymbols$
|
|
1762
|
-
var __hasOwnProp$
|
|
1763
|
-
var __propIsEnum$
|
|
1764
|
-
var __defNormalProp$
|
|
1765
|
-
var __spreadValues$
|
|
1731
|
+
var __defProp$C = Object.defineProperty;
|
|
1732
|
+
var __defProps$v = Object.defineProperties;
|
|
1733
|
+
var __getOwnPropDescs$v = Object.getOwnPropertyDescriptors;
|
|
1734
|
+
var __getOwnPropSymbols$C = Object.getOwnPropertySymbols;
|
|
1735
|
+
var __hasOwnProp$C = Object.prototype.hasOwnProperty;
|
|
1736
|
+
var __propIsEnum$C = Object.prototype.propertyIsEnumerable;
|
|
1737
|
+
var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1738
|
+
var __spreadValues$C = (a, b) => {
|
|
1766
1739
|
for (var prop in b || (b = {}))
|
|
1767
|
-
if (__hasOwnProp$
|
|
1768
|
-
__defNormalProp$
|
|
1769
|
-
if (__getOwnPropSymbols$
|
|
1770
|
-
for (var prop of __getOwnPropSymbols$
|
|
1771
|
-
if (__propIsEnum$
|
|
1772
|
-
__defNormalProp$
|
|
1740
|
+
if (__hasOwnProp$C.call(b, prop))
|
|
1741
|
+
__defNormalProp$C(a, prop, b[prop]);
|
|
1742
|
+
if (__getOwnPropSymbols$C)
|
|
1743
|
+
for (var prop of __getOwnPropSymbols$C(b)) {
|
|
1744
|
+
if (__propIsEnum$C.call(b, prop))
|
|
1745
|
+
__defNormalProp$C(a, prop, b[prop]);
|
|
1773
1746
|
}
|
|
1774
1747
|
return a;
|
|
1775
1748
|
};
|
|
1776
|
-
var __spreadProps$
|
|
1749
|
+
var __spreadProps$v = (a, b) => __defProps$v(a, __getOwnPropDescs$v(b));
|
|
1777
1750
|
var __objRest$j = (source, exclude) => {
|
|
1778
1751
|
var target = {};
|
|
1779
1752
|
for (var prop in source)
|
|
1780
|
-
if (__hasOwnProp$
|
|
1753
|
+
if (__hasOwnProp$C.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1781
1754
|
target[prop] = source[prop];
|
|
1782
|
-
if (source != null && __getOwnPropSymbols$
|
|
1783
|
-
for (var prop of __getOwnPropSymbols$
|
|
1784
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1755
|
+
if (source != null && __getOwnPropSymbols$C)
|
|
1756
|
+
for (var prop of __getOwnPropSymbols$C(source)) {
|
|
1757
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$C.call(source, prop))
|
|
1785
1758
|
target[prop] = source[prop];
|
|
1786
1759
|
}
|
|
1787
1760
|
return target;
|
|
@@ -1800,7 +1773,7 @@
|
|
|
1800
1773
|
]);
|
|
1801
1774
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
1802
1775
|
InputNumber,
|
|
1803
|
-
__spreadValues$
|
|
1776
|
+
__spreadValues$C(__spreadProps$v(__spreadValues$C({}, input), {
|
|
1804
1777
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
1805
1778
|
autoComplete,
|
|
1806
1779
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
@@ -1808,33 +1781,33 @@
|
|
|
1808
1781
|
));
|
|
1809
1782
|
};
|
|
1810
1783
|
|
|
1811
|
-
var __defProp$
|
|
1812
|
-
var __defProps$
|
|
1813
|
-
var __getOwnPropDescs$
|
|
1814
|
-
var __getOwnPropSymbols$
|
|
1815
|
-
var __hasOwnProp$
|
|
1816
|
-
var __propIsEnum$
|
|
1817
|
-
var __defNormalProp$
|
|
1818
|
-
var __spreadValues$
|
|
1784
|
+
var __defProp$B = Object.defineProperty;
|
|
1785
|
+
var __defProps$u = Object.defineProperties;
|
|
1786
|
+
var __getOwnPropDescs$u = Object.getOwnPropertyDescriptors;
|
|
1787
|
+
var __getOwnPropSymbols$B = Object.getOwnPropertySymbols;
|
|
1788
|
+
var __hasOwnProp$B = Object.prototype.hasOwnProperty;
|
|
1789
|
+
var __propIsEnum$B = Object.prototype.propertyIsEnumerable;
|
|
1790
|
+
var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1791
|
+
var __spreadValues$B = (a, b) => {
|
|
1819
1792
|
for (var prop in b || (b = {}))
|
|
1820
|
-
if (__hasOwnProp$
|
|
1821
|
-
__defNormalProp$
|
|
1822
|
-
if (__getOwnPropSymbols$
|
|
1823
|
-
for (var prop of __getOwnPropSymbols$
|
|
1824
|
-
if (__propIsEnum$
|
|
1825
|
-
__defNormalProp$
|
|
1793
|
+
if (__hasOwnProp$B.call(b, prop))
|
|
1794
|
+
__defNormalProp$B(a, prop, b[prop]);
|
|
1795
|
+
if (__getOwnPropSymbols$B)
|
|
1796
|
+
for (var prop of __getOwnPropSymbols$B(b)) {
|
|
1797
|
+
if (__propIsEnum$B.call(b, prop))
|
|
1798
|
+
__defNormalProp$B(a, prop, b[prop]);
|
|
1826
1799
|
}
|
|
1827
1800
|
return a;
|
|
1828
1801
|
};
|
|
1829
|
-
var __spreadProps$
|
|
1802
|
+
var __spreadProps$u = (a, b) => __defProps$u(a, __getOwnPropDescs$u(b));
|
|
1830
1803
|
var __objRest$i = (source, exclude) => {
|
|
1831
1804
|
var target = {};
|
|
1832
1805
|
for (var prop in source)
|
|
1833
|
-
if (__hasOwnProp$
|
|
1806
|
+
if (__hasOwnProp$B.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1834
1807
|
target[prop] = source[prop];
|
|
1835
|
-
if (source != null && __getOwnPropSymbols$
|
|
1836
|
-
for (var prop of __getOwnPropSymbols$
|
|
1837
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1808
|
+
if (source != null && __getOwnPropSymbols$B)
|
|
1809
|
+
for (var prop of __getOwnPropSymbols$B(source)) {
|
|
1810
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$B.call(source, prop))
|
|
1838
1811
|
target[prop] = source[prop];
|
|
1839
1812
|
}
|
|
1840
1813
|
return target;
|
|
@@ -1856,7 +1829,7 @@
|
|
|
1856
1829
|
}[size];
|
|
1857
1830
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
1858
1831
|
antd.Input,
|
|
1859
|
-
__spreadProps$
|
|
1832
|
+
__spreadProps$u(__spreadValues$B({}, props), {
|
|
1860
1833
|
size,
|
|
1861
1834
|
"data-test": props.name,
|
|
1862
1835
|
className: cs__default.default(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -1864,33 +1837,33 @@
|
|
|
1864
1837
|
);
|
|
1865
1838
|
};
|
|
1866
1839
|
|
|
1867
|
-
var __defProp$
|
|
1868
|
-
var __defProps$
|
|
1869
|
-
var __getOwnPropDescs$
|
|
1870
|
-
var __getOwnPropSymbols$
|
|
1871
|
-
var __hasOwnProp$
|
|
1872
|
-
var __propIsEnum$
|
|
1873
|
-
var __defNormalProp$
|
|
1874
|
-
var __spreadValues$
|
|
1875
|
-
for (var prop in b || (b = {}))
|
|
1876
|
-
if (__hasOwnProp$
|
|
1877
|
-
__defNormalProp$
|
|
1878
|
-
if (__getOwnPropSymbols$
|
|
1879
|
-
for (var prop of __getOwnPropSymbols$
|
|
1880
|
-
if (__propIsEnum$
|
|
1881
|
-
__defNormalProp$
|
|
1882
|
-
}
|
|
1883
|
-
return a;
|
|
1884
|
-
};
|
|
1885
|
-
var __spreadProps$
|
|
1886
|
-
var __objRest$h = (source, exclude) => {
|
|
1887
|
-
var target = {};
|
|
1840
|
+
var __defProp$A = Object.defineProperty;
|
|
1841
|
+
var __defProps$t = Object.defineProperties;
|
|
1842
|
+
var __getOwnPropDescs$t = Object.getOwnPropertyDescriptors;
|
|
1843
|
+
var __getOwnPropSymbols$A = Object.getOwnPropertySymbols;
|
|
1844
|
+
var __hasOwnProp$A = Object.prototype.hasOwnProperty;
|
|
1845
|
+
var __propIsEnum$A = Object.prototype.propertyIsEnumerable;
|
|
1846
|
+
var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1847
|
+
var __spreadValues$A = (a, b) => {
|
|
1848
|
+
for (var prop in b || (b = {}))
|
|
1849
|
+
if (__hasOwnProp$A.call(b, prop))
|
|
1850
|
+
__defNormalProp$A(a, prop, b[prop]);
|
|
1851
|
+
if (__getOwnPropSymbols$A)
|
|
1852
|
+
for (var prop of __getOwnPropSymbols$A(b)) {
|
|
1853
|
+
if (__propIsEnum$A.call(b, prop))
|
|
1854
|
+
__defNormalProp$A(a, prop, b[prop]);
|
|
1855
|
+
}
|
|
1856
|
+
return a;
|
|
1857
|
+
};
|
|
1858
|
+
var __spreadProps$t = (a, b) => __defProps$t(a, __getOwnPropDescs$t(b));
|
|
1859
|
+
var __objRest$h = (source, exclude) => {
|
|
1860
|
+
var target = {};
|
|
1888
1861
|
for (var prop in source)
|
|
1889
|
-
if (__hasOwnProp$
|
|
1862
|
+
if (__hasOwnProp$A.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1890
1863
|
target[prop] = source[prop];
|
|
1891
|
-
if (source != null && __getOwnPropSymbols$
|
|
1892
|
-
for (var prop of __getOwnPropSymbols$
|
|
1893
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1864
|
+
if (source != null && __getOwnPropSymbols$A)
|
|
1865
|
+
for (var prop of __getOwnPropSymbols$A(source)) {
|
|
1866
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$A.call(source, prop))
|
|
1894
1867
|
target[prop] = source[prop];
|
|
1895
1868
|
}
|
|
1896
1869
|
return target;
|
|
@@ -1911,7 +1884,7 @@
|
|
|
1911
1884
|
]);
|
|
1912
1885
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
1913
1886
|
Input,
|
|
1914
|
-
__spreadValues$
|
|
1887
|
+
__spreadValues$A(__spreadProps$t(__spreadValues$A({}, input), {
|
|
1915
1888
|
onChange: (e) => {
|
|
1916
1889
|
const value = e.currentTarget.value;
|
|
1917
1890
|
if (supportNegativeValue) {
|
|
@@ -1946,31 +1919,31 @@
|
|
|
1946
1919
|
}
|
|
1947
1920
|
};
|
|
1948
1921
|
|
|
1949
|
-
var __defProp$
|
|
1950
|
-
var __defProps$
|
|
1951
|
-
var __getOwnPropDescs$
|
|
1952
|
-
var __getOwnPropSymbols$
|
|
1953
|
-
var __hasOwnProp$
|
|
1954
|
-
var __propIsEnum$
|
|
1955
|
-
var __defNormalProp$
|
|
1922
|
+
var __defProp$z = Object.defineProperty;
|
|
1923
|
+
var __defProps$s = Object.defineProperties;
|
|
1924
|
+
var __getOwnPropDescs$s = Object.getOwnPropertyDescriptors;
|
|
1925
|
+
var __getOwnPropSymbols$z = Object.getOwnPropertySymbols;
|
|
1926
|
+
var __hasOwnProp$z = Object.prototype.hasOwnProperty;
|
|
1927
|
+
var __propIsEnum$z = Object.prototype.propertyIsEnumerable;
|
|
1928
|
+
var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, {
|
|
1956
1929
|
enumerable: true,
|
|
1957
1930
|
configurable: true,
|
|
1958
1931
|
writable: true,
|
|
1959
1932
|
value
|
|
1960
1933
|
}) : obj[key] = value;
|
|
1961
|
-
var __spreadValues$
|
|
1962
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1963
|
-
if (__getOwnPropSymbols$
|
|
1964
|
-
if (__propIsEnum$
|
|
1934
|
+
var __spreadValues$z = (a, b) => {
|
|
1935
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$z.call(b, prop)) __defNormalProp$z(a, prop, b[prop]);
|
|
1936
|
+
if (__getOwnPropSymbols$z) for (var prop of __getOwnPropSymbols$z(b)) {
|
|
1937
|
+
if (__propIsEnum$z.call(b, prop)) __defNormalProp$z(a, prop, b[prop]);
|
|
1965
1938
|
}
|
|
1966
1939
|
return a;
|
|
1967
1940
|
};
|
|
1968
|
-
var __spreadProps$
|
|
1941
|
+
var __spreadProps$s = (a, b) => __defProps$s(a, __getOwnPropDescs$s(b));
|
|
1969
1942
|
var __objRest$g = (source, exclude) => {
|
|
1970
1943
|
var target = {};
|
|
1971
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1972
|
-
if (source != null && __getOwnPropSymbols$
|
|
1973
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1944
|
+
for (var prop in source) if (__hasOwnProp$z.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1945
|
+
if (source != null && __getOwnPropSymbols$z) for (var prop of __getOwnPropSymbols$z(source)) {
|
|
1946
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$z.call(source, prop)) target[prop] = source[prop];
|
|
1974
1947
|
}
|
|
1975
1948
|
return target;
|
|
1976
1949
|
};
|
|
@@ -2014,7 +1987,7 @@
|
|
|
2014
1987
|
middle: Typo.Label.l3_regular,
|
|
2015
1988
|
small: Typo.Label.l4_regular
|
|
2016
1989
|
}[size];
|
|
2017
|
-
return /* @__PURE__ */React__namespace.default.createElement(AntdIntStyled, __spreadProps$
|
|
1990
|
+
return /* @__PURE__ */React__namespace.default.createElement(AntdIntStyled, __spreadProps$s(__spreadValues$z({}, props), {
|
|
2018
1991
|
size,
|
|
2019
1992
|
formatter: formatterInteger,
|
|
2020
1993
|
parser: formatterInteger,
|
|
@@ -2028,33 +2001,33 @@
|
|
|
2028
2001
|
}));
|
|
2029
2002
|
};
|
|
2030
2003
|
|
|
2031
|
-
var __defProp$
|
|
2032
|
-
var __defProps$
|
|
2033
|
-
var __getOwnPropDescs$
|
|
2034
|
-
var __getOwnPropSymbols$
|
|
2035
|
-
var __hasOwnProp$
|
|
2036
|
-
var __propIsEnum$
|
|
2037
|
-
var __defNormalProp$
|
|
2038
|
-
var __spreadValues$
|
|
2004
|
+
var __defProp$y = Object.defineProperty;
|
|
2005
|
+
var __defProps$r = Object.defineProperties;
|
|
2006
|
+
var __getOwnPropDescs$r = Object.getOwnPropertyDescriptors;
|
|
2007
|
+
var __getOwnPropSymbols$y = Object.getOwnPropertySymbols;
|
|
2008
|
+
var __hasOwnProp$y = Object.prototype.hasOwnProperty;
|
|
2009
|
+
var __propIsEnum$y = Object.prototype.propertyIsEnumerable;
|
|
2010
|
+
var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2011
|
+
var __spreadValues$y = (a, b) => {
|
|
2039
2012
|
for (var prop in b || (b = {}))
|
|
2040
|
-
if (__hasOwnProp$
|
|
2041
|
-
__defNormalProp$
|
|
2042
|
-
if (__getOwnPropSymbols$
|
|
2043
|
-
for (var prop of __getOwnPropSymbols$
|
|
2044
|
-
if (__propIsEnum$
|
|
2045
|
-
__defNormalProp$
|
|
2013
|
+
if (__hasOwnProp$y.call(b, prop))
|
|
2014
|
+
__defNormalProp$y(a, prop, b[prop]);
|
|
2015
|
+
if (__getOwnPropSymbols$y)
|
|
2016
|
+
for (var prop of __getOwnPropSymbols$y(b)) {
|
|
2017
|
+
if (__propIsEnum$y.call(b, prop))
|
|
2018
|
+
__defNormalProp$y(a, prop, b[prop]);
|
|
2046
2019
|
}
|
|
2047
2020
|
return a;
|
|
2048
2021
|
};
|
|
2049
|
-
var __spreadProps$
|
|
2022
|
+
var __spreadProps$r = (a, b) => __defProps$r(a, __getOwnPropDescs$r(b));
|
|
2050
2023
|
var __objRest$f = (source, exclude) => {
|
|
2051
2024
|
var target = {};
|
|
2052
2025
|
for (var prop in source)
|
|
2053
|
-
if (__hasOwnProp$
|
|
2026
|
+
if (__hasOwnProp$y.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2054
2027
|
target[prop] = source[prop];
|
|
2055
|
-
if (source != null && __getOwnPropSymbols$
|
|
2056
|
-
for (var prop of __getOwnPropSymbols$
|
|
2057
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2028
|
+
if (source != null && __getOwnPropSymbols$y)
|
|
2029
|
+
for (var prop of __getOwnPropSymbols$y(source)) {
|
|
2030
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$y.call(source, prop))
|
|
2058
2031
|
target[prop] = source[prop];
|
|
2059
2032
|
}
|
|
2060
2033
|
return target;
|
|
@@ -2071,7 +2044,7 @@
|
|
|
2071
2044
|
]);
|
|
2072
2045
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
2073
2046
|
InputInteger,
|
|
2074
|
-
__spreadProps$
|
|
2047
|
+
__spreadProps$r(__spreadValues$y(__spreadValues$y({}, props), input), {
|
|
2075
2048
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
2076
2049
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
2077
2050
|
})
|
|
@@ -2236,33 +2209,33 @@
|
|
|
2236
2209
|
}, children), showOverflow && /* @__PURE__ */React__namespace.default.createElement("span", null, overflow));
|
|
2237
2210
|
};
|
|
2238
2211
|
|
|
2239
|
-
var __defProp$
|
|
2240
|
-
var __defProps$
|
|
2241
|
-
var __getOwnPropDescs$
|
|
2242
|
-
var __getOwnPropSymbols$
|
|
2243
|
-
var __hasOwnProp$
|
|
2244
|
-
var __propIsEnum$
|
|
2245
|
-
var __defNormalProp$
|
|
2246
|
-
var __spreadValues$
|
|
2212
|
+
var __defProp$x = Object.defineProperty;
|
|
2213
|
+
var __defProps$q = Object.defineProperties;
|
|
2214
|
+
var __getOwnPropDescs$q = Object.getOwnPropertyDescriptors;
|
|
2215
|
+
var __getOwnPropSymbols$x = Object.getOwnPropertySymbols;
|
|
2216
|
+
var __hasOwnProp$x = Object.prototype.hasOwnProperty;
|
|
2217
|
+
var __propIsEnum$x = Object.prototype.propertyIsEnumerable;
|
|
2218
|
+
var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2219
|
+
var __spreadValues$x = (a, b) => {
|
|
2247
2220
|
for (var prop in b || (b = {}))
|
|
2248
|
-
if (__hasOwnProp$
|
|
2249
|
-
__defNormalProp$
|
|
2250
|
-
if (__getOwnPropSymbols$
|
|
2251
|
-
for (var prop of __getOwnPropSymbols$
|
|
2252
|
-
if (__propIsEnum$
|
|
2253
|
-
__defNormalProp$
|
|
2221
|
+
if (__hasOwnProp$x.call(b, prop))
|
|
2222
|
+
__defNormalProp$x(a, prop, b[prop]);
|
|
2223
|
+
if (__getOwnPropSymbols$x)
|
|
2224
|
+
for (var prop of __getOwnPropSymbols$x(b)) {
|
|
2225
|
+
if (__propIsEnum$x.call(b, prop))
|
|
2226
|
+
__defNormalProp$x(a, prop, b[prop]);
|
|
2254
2227
|
}
|
|
2255
2228
|
return a;
|
|
2256
2229
|
};
|
|
2257
|
-
var __spreadProps$
|
|
2230
|
+
var __spreadProps$q = (a, b) => __defProps$q(a, __getOwnPropDescs$q(b));
|
|
2258
2231
|
var __objRest$e = (source, exclude) => {
|
|
2259
2232
|
var target = {};
|
|
2260
2233
|
for (var prop in source)
|
|
2261
|
-
if (__hasOwnProp$
|
|
2234
|
+
if (__hasOwnProp$x.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2262
2235
|
target[prop] = source[prop];
|
|
2263
|
-
if (source != null && __getOwnPropSymbols$
|
|
2264
|
-
for (var prop of __getOwnPropSymbols$
|
|
2265
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2236
|
+
if (source != null && __getOwnPropSymbols$x)
|
|
2237
|
+
for (var prop of __getOwnPropSymbols$x(source)) {
|
|
2238
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$x.call(source, prop))
|
|
2266
2239
|
target[prop] = source[prop];
|
|
2267
2240
|
}
|
|
2268
2241
|
return target;
|
|
@@ -2313,7 +2286,7 @@
|
|
|
2313
2286
|
}
|
|
2314
2287
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
2315
2288
|
Input,
|
|
2316
|
-
__spreadProps$
|
|
2289
|
+
__spreadProps$q(__spreadValues$x(__spreadProps$q(__spreadValues$x({
|
|
2317
2290
|
className: cs__default.default(
|
|
2318
2291
|
className,
|
|
2319
2292
|
KitInputStyle,
|
|
@@ -2338,33 +2311,33 @@
|
|
|
2338
2311
|
));
|
|
2339
2312
|
};
|
|
2340
2313
|
|
|
2341
|
-
var __defProp$
|
|
2342
|
-
var __defProps$
|
|
2343
|
-
var __getOwnPropDescs$
|
|
2344
|
-
var __getOwnPropSymbols$
|
|
2345
|
-
var __hasOwnProp$
|
|
2346
|
-
var __propIsEnum$
|
|
2347
|
-
var __defNormalProp$
|
|
2348
|
-
var __spreadValues$
|
|
2314
|
+
var __defProp$w = Object.defineProperty;
|
|
2315
|
+
var __defProps$p = Object.defineProperties;
|
|
2316
|
+
var __getOwnPropDescs$p = Object.getOwnPropertyDescriptors;
|
|
2317
|
+
var __getOwnPropSymbols$w = Object.getOwnPropertySymbols;
|
|
2318
|
+
var __hasOwnProp$w = Object.prototype.hasOwnProperty;
|
|
2319
|
+
var __propIsEnum$w = Object.prototype.propertyIsEnumerable;
|
|
2320
|
+
var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2321
|
+
var __spreadValues$w = (a, b) => {
|
|
2349
2322
|
for (var prop in b || (b = {}))
|
|
2350
|
-
if (__hasOwnProp$
|
|
2351
|
-
__defNormalProp$
|
|
2352
|
-
if (__getOwnPropSymbols$
|
|
2353
|
-
for (var prop of __getOwnPropSymbols$
|
|
2354
|
-
if (__propIsEnum$
|
|
2355
|
-
__defNormalProp$
|
|
2323
|
+
if (__hasOwnProp$w.call(b, prop))
|
|
2324
|
+
__defNormalProp$w(a, prop, b[prop]);
|
|
2325
|
+
if (__getOwnPropSymbols$w)
|
|
2326
|
+
for (var prop of __getOwnPropSymbols$w(b)) {
|
|
2327
|
+
if (__propIsEnum$w.call(b, prop))
|
|
2328
|
+
__defNormalProp$w(a, prop, b[prop]);
|
|
2356
2329
|
}
|
|
2357
2330
|
return a;
|
|
2358
2331
|
};
|
|
2359
|
-
var __spreadProps$
|
|
2332
|
+
var __spreadProps$p = (a, b) => __defProps$p(a, __getOwnPropDescs$p(b));
|
|
2360
2333
|
var __objRest$d = (source, exclude) => {
|
|
2361
2334
|
var target = {};
|
|
2362
2335
|
for (var prop in source)
|
|
2363
|
-
if (__hasOwnProp$
|
|
2336
|
+
if (__hasOwnProp$w.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2364
2337
|
target[prop] = source[prop];
|
|
2365
|
-
if (source != null && __getOwnPropSymbols$
|
|
2366
|
-
for (var prop of __getOwnPropSymbols$
|
|
2367
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2338
|
+
if (source != null && __getOwnPropSymbols$w)
|
|
2339
|
+
for (var prop of __getOwnPropSymbols$w(source)) {
|
|
2340
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$w.call(source, prop))
|
|
2368
2341
|
target[prop] = source[prop];
|
|
2369
2342
|
}
|
|
2370
2343
|
return target;
|
|
@@ -2386,7 +2359,7 @@
|
|
|
2386
2359
|
}[size];
|
|
2387
2360
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
2388
2361
|
antd.Input.TextArea,
|
|
2389
|
-
__spreadProps$
|
|
2362
|
+
__spreadProps$p(__spreadValues$w({}, props), {
|
|
2390
2363
|
className: cs__default.default(
|
|
2391
2364
|
className,
|
|
2392
2365
|
InputStyle,
|
|
@@ -2400,33 +2373,33 @@
|
|
|
2400
2373
|
);
|
|
2401
2374
|
};
|
|
2402
2375
|
|
|
2403
|
-
var __defProp$
|
|
2404
|
-
var __defProps$
|
|
2405
|
-
var __getOwnPropDescs$
|
|
2406
|
-
var __getOwnPropSymbols$
|
|
2407
|
-
var __hasOwnProp$
|
|
2408
|
-
var __propIsEnum$
|
|
2409
|
-
var __defNormalProp$
|
|
2410
|
-
var __spreadValues$
|
|
2376
|
+
var __defProp$v = Object.defineProperty;
|
|
2377
|
+
var __defProps$o = Object.defineProperties;
|
|
2378
|
+
var __getOwnPropDescs$o = Object.getOwnPropertyDescriptors;
|
|
2379
|
+
var __getOwnPropSymbols$v = Object.getOwnPropertySymbols;
|
|
2380
|
+
var __hasOwnProp$v = Object.prototype.hasOwnProperty;
|
|
2381
|
+
var __propIsEnum$v = Object.prototype.propertyIsEnumerable;
|
|
2382
|
+
var __defNormalProp$v = (obj, key, value) => key in obj ? __defProp$v(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2383
|
+
var __spreadValues$v = (a, b) => {
|
|
2411
2384
|
for (var prop in b || (b = {}))
|
|
2412
|
-
if (__hasOwnProp$
|
|
2413
|
-
__defNormalProp$
|
|
2414
|
-
if (__getOwnPropSymbols$
|
|
2415
|
-
for (var prop of __getOwnPropSymbols$
|
|
2416
|
-
if (__propIsEnum$
|
|
2417
|
-
__defNormalProp$
|
|
2385
|
+
if (__hasOwnProp$v.call(b, prop))
|
|
2386
|
+
__defNormalProp$v(a, prop, b[prop]);
|
|
2387
|
+
if (__getOwnPropSymbols$v)
|
|
2388
|
+
for (var prop of __getOwnPropSymbols$v(b)) {
|
|
2389
|
+
if (__propIsEnum$v.call(b, prop))
|
|
2390
|
+
__defNormalProp$v(a, prop, b[prop]);
|
|
2418
2391
|
}
|
|
2419
2392
|
return a;
|
|
2420
2393
|
};
|
|
2421
|
-
var __spreadProps$
|
|
2394
|
+
var __spreadProps$o = (a, b) => __defProps$o(a, __getOwnPropDescs$o(b));
|
|
2422
2395
|
var __objRest$c = (source, exclude) => {
|
|
2423
2396
|
var target = {};
|
|
2424
2397
|
for (var prop in source)
|
|
2425
|
-
if (__hasOwnProp$
|
|
2398
|
+
if (__hasOwnProp$v.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2426
2399
|
target[prop] = source[prop];
|
|
2427
|
-
if (source != null && __getOwnPropSymbols$
|
|
2428
|
-
for (var prop of __getOwnPropSymbols$
|
|
2429
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2400
|
+
if (source != null && __getOwnPropSymbols$v)
|
|
2401
|
+
for (var prop of __getOwnPropSymbols$v(source)) {
|
|
2402
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$v.call(source, prop))
|
|
2430
2403
|
target[prop] = source[prop];
|
|
2431
2404
|
}
|
|
2432
2405
|
return target;
|
|
@@ -2443,7 +2416,7 @@
|
|
|
2443
2416
|
]);
|
|
2444
2417
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
2445
2418
|
TextArea,
|
|
2446
|
-
__spreadProps$
|
|
2419
|
+
__spreadProps$o(__spreadValues$v(__spreadValues$v({}, input), props), {
|
|
2447
2420
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError),
|
|
2448
2421
|
onFocus: (e) => {
|
|
2449
2422
|
input.onFocus(e);
|
|
@@ -2457,33 +2430,33 @@
|
|
|
2457
2430
|
));
|
|
2458
2431
|
};
|
|
2459
2432
|
|
|
2460
|
-
var __defProp$
|
|
2461
|
-
var __defProps$
|
|
2462
|
-
var __getOwnPropDescs$
|
|
2463
|
-
var __getOwnPropSymbols$
|
|
2464
|
-
var __hasOwnProp$
|
|
2465
|
-
var __propIsEnum$
|
|
2466
|
-
var __defNormalProp$
|
|
2467
|
-
var __spreadValues$
|
|
2433
|
+
var __defProp$u = Object.defineProperty;
|
|
2434
|
+
var __defProps$n = Object.defineProperties;
|
|
2435
|
+
var __getOwnPropDescs$n = Object.getOwnPropertyDescriptors;
|
|
2436
|
+
var __getOwnPropSymbols$u = Object.getOwnPropertySymbols;
|
|
2437
|
+
var __hasOwnProp$u = Object.prototype.hasOwnProperty;
|
|
2438
|
+
var __propIsEnum$u = Object.prototype.propertyIsEnumerable;
|
|
2439
|
+
var __defNormalProp$u = (obj, key, value) => key in obj ? __defProp$u(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2440
|
+
var __spreadValues$u = (a, b) => {
|
|
2468
2441
|
for (var prop in b || (b = {}))
|
|
2469
|
-
if (__hasOwnProp$
|
|
2470
|
-
__defNormalProp$
|
|
2471
|
-
if (__getOwnPropSymbols$
|
|
2472
|
-
for (var prop of __getOwnPropSymbols$
|
|
2473
|
-
if (__propIsEnum$
|
|
2474
|
-
__defNormalProp$
|
|
2442
|
+
if (__hasOwnProp$u.call(b, prop))
|
|
2443
|
+
__defNormalProp$u(a, prop, b[prop]);
|
|
2444
|
+
if (__getOwnPropSymbols$u)
|
|
2445
|
+
for (var prop of __getOwnPropSymbols$u(b)) {
|
|
2446
|
+
if (__propIsEnum$u.call(b, prop))
|
|
2447
|
+
__defNormalProp$u(a, prop, b[prop]);
|
|
2475
2448
|
}
|
|
2476
2449
|
return a;
|
|
2477
2450
|
};
|
|
2478
|
-
var __spreadProps$
|
|
2451
|
+
var __spreadProps$n = (a, b) => __defProps$n(a, __getOwnPropDescs$n(b));
|
|
2479
2452
|
var __objRest$b = (source, exclude) => {
|
|
2480
2453
|
var target = {};
|
|
2481
2454
|
for (var prop in source)
|
|
2482
|
-
if (__hasOwnProp$
|
|
2455
|
+
if (__hasOwnProp$u.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2483
2456
|
target[prop] = source[prop];
|
|
2484
|
-
if (source != null && __getOwnPropSymbols$
|
|
2485
|
-
for (var prop of __getOwnPropSymbols$
|
|
2486
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2457
|
+
if (source != null && __getOwnPropSymbols$u)
|
|
2458
|
+
for (var prop of __getOwnPropSymbols$u(source)) {
|
|
2459
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$u.call(source, prop))
|
|
2487
2460
|
target[prop] = source[prop];
|
|
2488
2461
|
}
|
|
2489
2462
|
return target;
|
|
@@ -2505,7 +2478,7 @@
|
|
|
2505
2478
|
}[size];
|
|
2506
2479
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
2507
2480
|
antd.TimePicker,
|
|
2508
|
-
__spreadProps$
|
|
2481
|
+
__spreadProps$n(__spreadValues$u({}, props), {
|
|
2509
2482
|
size,
|
|
2510
2483
|
"data-test": props.name,
|
|
2511
2484
|
className: cs__default.default(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -2513,33 +2486,33 @@
|
|
|
2513
2486
|
);
|
|
2514
2487
|
};
|
|
2515
2488
|
|
|
2516
|
-
var __defProp$
|
|
2517
|
-
var __defProps$
|
|
2518
|
-
var __getOwnPropDescs$
|
|
2519
|
-
var __getOwnPropSymbols$
|
|
2520
|
-
var __hasOwnProp$
|
|
2521
|
-
var __propIsEnum$
|
|
2522
|
-
var __defNormalProp$
|
|
2523
|
-
var __spreadValues$
|
|
2489
|
+
var __defProp$t = Object.defineProperty;
|
|
2490
|
+
var __defProps$m = Object.defineProperties;
|
|
2491
|
+
var __getOwnPropDescs$m = Object.getOwnPropertyDescriptors;
|
|
2492
|
+
var __getOwnPropSymbols$t = Object.getOwnPropertySymbols;
|
|
2493
|
+
var __hasOwnProp$t = Object.prototype.hasOwnProperty;
|
|
2494
|
+
var __propIsEnum$t = Object.prototype.propertyIsEnumerable;
|
|
2495
|
+
var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2496
|
+
var __spreadValues$t = (a, b) => {
|
|
2524
2497
|
for (var prop in b || (b = {}))
|
|
2525
|
-
if (__hasOwnProp$
|
|
2526
|
-
__defNormalProp$
|
|
2527
|
-
if (__getOwnPropSymbols$
|
|
2528
|
-
for (var prop of __getOwnPropSymbols$
|
|
2529
|
-
if (__propIsEnum$
|
|
2530
|
-
__defNormalProp$
|
|
2498
|
+
if (__hasOwnProp$t.call(b, prop))
|
|
2499
|
+
__defNormalProp$t(a, prop, b[prop]);
|
|
2500
|
+
if (__getOwnPropSymbols$t)
|
|
2501
|
+
for (var prop of __getOwnPropSymbols$t(b)) {
|
|
2502
|
+
if (__propIsEnum$t.call(b, prop))
|
|
2503
|
+
__defNormalProp$t(a, prop, b[prop]);
|
|
2531
2504
|
}
|
|
2532
2505
|
return a;
|
|
2533
2506
|
};
|
|
2534
|
-
var __spreadProps$
|
|
2507
|
+
var __spreadProps$m = (a, b) => __defProps$m(a, __getOwnPropDescs$m(b));
|
|
2535
2508
|
var __objRest$a = (source, exclude) => {
|
|
2536
2509
|
var target = {};
|
|
2537
2510
|
for (var prop in source)
|
|
2538
|
-
if (__hasOwnProp$
|
|
2511
|
+
if (__hasOwnProp$t.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2539
2512
|
target[prop] = source[prop];
|
|
2540
|
-
if (source != null && __getOwnPropSymbols$
|
|
2541
|
-
for (var prop of __getOwnPropSymbols$
|
|
2542
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2513
|
+
if (source != null && __getOwnPropSymbols$t)
|
|
2514
|
+
for (var prop of __getOwnPropSymbols$t(source)) {
|
|
2515
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$t.call(source, prop))
|
|
2543
2516
|
target[prop] = source[prop];
|
|
2544
2517
|
}
|
|
2545
2518
|
return target;
|
|
@@ -2554,7 +2527,7 @@
|
|
|
2554
2527
|
]);
|
|
2555
2528
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
2556
2529
|
TimePicker,
|
|
2557
|
-
__spreadValues$
|
|
2530
|
+
__spreadValues$t(__spreadProps$m(__spreadValues$t({}, input), {
|
|
2558
2531
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
2559
2532
|
}), props)
|
|
2560
2533
|
));
|
|
@@ -2573,32 +2546,32 @@
|
|
|
2573
2546
|
DateTimeRange: FieldsDateTimeRange
|
|
2574
2547
|
};
|
|
2575
2548
|
|
|
2576
|
-
var __defProp$
|
|
2577
|
-
var __defProps$
|
|
2578
|
-
var __getOwnPropDescs$
|
|
2579
|
-
var __getOwnPropSymbols$
|
|
2580
|
-
var __hasOwnProp$
|
|
2581
|
-
var __propIsEnum$
|
|
2582
|
-
var __defNormalProp$
|
|
2549
|
+
var __defProp$s = Object.defineProperty;
|
|
2550
|
+
var __defProps$l = Object.defineProperties;
|
|
2551
|
+
var __getOwnPropDescs$l = Object.getOwnPropertyDescriptors;
|
|
2552
|
+
var __getOwnPropSymbols$s = Object.getOwnPropertySymbols;
|
|
2553
|
+
var __hasOwnProp$s = Object.prototype.hasOwnProperty;
|
|
2554
|
+
var __propIsEnum$s = Object.prototype.propertyIsEnumerable;
|
|
2555
|
+
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, {
|
|
2583
2556
|
enumerable: true,
|
|
2584
2557
|
configurable: true,
|
|
2585
2558
|
writable: true,
|
|
2586
2559
|
value
|
|
2587
2560
|
}) : obj[key] = value;
|
|
2588
|
-
var __spreadValues$
|
|
2589
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2590
|
-
if (__getOwnPropSymbols$
|
|
2591
|
-
if (__propIsEnum$
|
|
2561
|
+
var __spreadValues$s = (a, b) => {
|
|
2562
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$s.call(b, prop)) __defNormalProp$s(a, prop, b[prop]);
|
|
2563
|
+
if (__getOwnPropSymbols$s) for (var prop of __getOwnPropSymbols$s(b)) {
|
|
2564
|
+
if (__propIsEnum$s.call(b, prop)) __defNormalProp$s(a, prop, b[prop]);
|
|
2592
2565
|
}
|
|
2593
2566
|
return a;
|
|
2594
2567
|
};
|
|
2595
|
-
var __spreadProps$
|
|
2568
|
+
var __spreadProps$l = (a, b) => __defProps$l(a, __getOwnPropDescs$l(b));
|
|
2596
2569
|
const {
|
|
2597
2570
|
Item: AntdFormItem
|
|
2598
2571
|
} = antd.Form;
|
|
2599
2572
|
const FormItemStyle$1 = "f1p9ti6d";
|
|
2600
2573
|
const FormItem$1 = props => {
|
|
2601
|
-
return /* @__PURE__ */React__namespace.default.createElement(AntdFormItem, __spreadProps$
|
|
2574
|
+
return /* @__PURE__ */React__namespace.default.createElement(AntdFormItem, __spreadProps$l(__spreadValues$s({}, props), {
|
|
2602
2575
|
className: cs__default.default(FormItemStyle$1, props.className)
|
|
2603
2576
|
}));
|
|
2604
2577
|
};
|
|
@@ -2606,19 +2579,19 @@
|
|
|
2606
2579
|
const Form = antd.Form;
|
|
2607
2580
|
Form.Item = FormItem$1;
|
|
2608
2581
|
|
|
2609
|
-
var __defProp$
|
|
2610
|
-
var __getOwnPropSymbols$
|
|
2611
|
-
var __hasOwnProp$
|
|
2612
|
-
var __propIsEnum$
|
|
2613
|
-
var __defNormalProp$
|
|
2614
|
-
var __spreadValues$
|
|
2582
|
+
var __defProp$r = Object.defineProperty;
|
|
2583
|
+
var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
|
|
2584
|
+
var __hasOwnProp$r = Object.prototype.hasOwnProperty;
|
|
2585
|
+
var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
|
|
2586
|
+
var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2587
|
+
var __spreadValues$r = (a, b) => {
|
|
2615
2588
|
for (var prop in b || (b = {}))
|
|
2616
|
-
if (__hasOwnProp$
|
|
2617
|
-
__defNormalProp$
|
|
2618
|
-
if (__getOwnPropSymbols$
|
|
2619
|
-
for (var prop of __getOwnPropSymbols$
|
|
2620
|
-
if (__propIsEnum$
|
|
2621
|
-
__defNormalProp$
|
|
2589
|
+
if (__hasOwnProp$r.call(b, prop))
|
|
2590
|
+
__defNormalProp$r(a, prop, b[prop]);
|
|
2591
|
+
if (__getOwnPropSymbols$r)
|
|
2592
|
+
for (var prop of __getOwnPropSymbols$r(b)) {
|
|
2593
|
+
if (__propIsEnum$r.call(b, prop))
|
|
2594
|
+
__defNormalProp$r(a, prop, b[prop]);
|
|
2622
2595
|
}
|
|
2623
2596
|
return a;
|
|
2624
2597
|
};
|
|
@@ -2630,7 +2603,7 @@
|
|
|
2630
2603
|
emptyProps
|
|
2631
2604
|
}) => {
|
|
2632
2605
|
if (isEmpty(rawValue)) {
|
|
2633
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$
|
|
2606
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$r({}, emptyProps));
|
|
2634
2607
|
}
|
|
2635
2608
|
const { value, unit } = formatFrequency(rawValue, decimals);
|
|
2636
2609
|
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, ` ${unit}`));
|
|
@@ -2643,25 +2616,25 @@
|
|
|
2643
2616
|
propsAsIs: true
|
|
2644
2617
|
});
|
|
2645
2618
|
|
|
2646
|
-
var __defProp$
|
|
2647
|
-
var __defProps$
|
|
2648
|
-
var __getOwnPropDescs$
|
|
2649
|
-
var __getOwnPropSymbols$
|
|
2650
|
-
var __hasOwnProp$
|
|
2651
|
-
var __propIsEnum$
|
|
2652
|
-
var __defNormalProp$
|
|
2653
|
-
var __spreadValues$
|
|
2619
|
+
var __defProp$q = Object.defineProperty;
|
|
2620
|
+
var __defProps$k = Object.defineProperties;
|
|
2621
|
+
var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
|
|
2622
|
+
var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
|
|
2623
|
+
var __hasOwnProp$q = Object.prototype.hasOwnProperty;
|
|
2624
|
+
var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
|
|
2625
|
+
var __defNormalProp$q = (obj, key2, value) => key2 in obj ? __defProp$q(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value;
|
|
2626
|
+
var __spreadValues$q = (a, b) => {
|
|
2654
2627
|
for (var prop in b || (b = {}))
|
|
2655
|
-
if (__hasOwnProp$
|
|
2656
|
-
__defNormalProp$
|
|
2657
|
-
if (__getOwnPropSymbols$
|
|
2658
|
-
for (var prop of __getOwnPropSymbols$
|
|
2659
|
-
if (__propIsEnum$
|
|
2660
|
-
__defNormalProp$
|
|
2628
|
+
if (__hasOwnProp$q.call(b, prop))
|
|
2629
|
+
__defNormalProp$q(a, prop, b[prop]);
|
|
2630
|
+
if (__getOwnPropSymbols$q)
|
|
2631
|
+
for (var prop of __getOwnPropSymbols$q(b)) {
|
|
2632
|
+
if (__propIsEnum$q.call(b, prop))
|
|
2633
|
+
__defNormalProp$q(a, prop, b[prop]);
|
|
2661
2634
|
}
|
|
2662
2635
|
return a;
|
|
2663
2636
|
};
|
|
2664
|
-
var __spreadProps$
|
|
2637
|
+
var __spreadProps$k = (a, b) => __defProps$k(a, __getOwnPropDescs$k(b));
|
|
2665
2638
|
let messageInstance;
|
|
2666
2639
|
let defaultDuration = 3;
|
|
2667
2640
|
let defaultTop;
|
|
@@ -2768,7 +2741,7 @@
|
|
|
2768
2741
|
}
|
|
2769
2742
|
getRCNotificationInstance(args, ({ prefixCls, instance }) => {
|
|
2770
2743
|
instance.notice(
|
|
2771
|
-
getRCNoticeProps(__spreadProps$
|
|
2744
|
+
getRCNoticeProps(__spreadProps$k(__spreadValues$q({}, args), { key: target, onClose: callback }), prefixCls)
|
|
2772
2745
|
);
|
|
2773
2746
|
});
|
|
2774
2747
|
});
|
|
@@ -2797,7 +2770,7 @@
|
|
|
2797
2770
|
function attachTypeApi(originalApi, type) {
|
|
2798
2771
|
originalApi[type] = (content, duration, onClose) => {
|
|
2799
2772
|
if (isArgsProps(content)) {
|
|
2800
|
-
return originalApi.open(__spreadProps$
|
|
2773
|
+
return originalApi.open(__spreadProps$k(__spreadValues$q({}, content), { type }));
|
|
2801
2774
|
}
|
|
2802
2775
|
if (typeof duration === "function") {
|
|
2803
2776
|
onClose = duration;
|
|
@@ -2811,25 +2784,25 @@
|
|
|
2811
2784
|
);
|
|
2812
2785
|
api.warn = api.warning;
|
|
2813
2786
|
|
|
2814
|
-
var __defProp$
|
|
2815
|
-
var __defProps$
|
|
2816
|
-
var __getOwnPropDescs$
|
|
2817
|
-
var __getOwnPropSymbols$
|
|
2818
|
-
var __hasOwnProp$
|
|
2819
|
-
var __propIsEnum$
|
|
2820
|
-
var __defNormalProp$
|
|
2821
|
-
var __spreadValues$
|
|
2787
|
+
var __defProp$p = Object.defineProperty;
|
|
2788
|
+
var __defProps$j = Object.defineProperties;
|
|
2789
|
+
var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
|
|
2790
|
+
var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
|
|
2791
|
+
var __hasOwnProp$p = Object.prototype.hasOwnProperty;
|
|
2792
|
+
var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
|
|
2793
|
+
var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2794
|
+
var __spreadValues$p = (a, b) => {
|
|
2822
2795
|
for (var prop in b || (b = {}))
|
|
2823
|
-
if (__hasOwnProp$
|
|
2824
|
-
__defNormalProp$
|
|
2825
|
-
if (__getOwnPropSymbols$
|
|
2826
|
-
for (var prop of __getOwnPropSymbols$
|
|
2827
|
-
if (__propIsEnum$
|
|
2828
|
-
__defNormalProp$
|
|
2796
|
+
if (__hasOwnProp$p.call(b, prop))
|
|
2797
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
2798
|
+
if (__getOwnPropSymbols$p)
|
|
2799
|
+
for (var prop of __getOwnPropSymbols$p(b)) {
|
|
2800
|
+
if (__propIsEnum$p.call(b, prop))
|
|
2801
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
2829
2802
|
}
|
|
2830
2803
|
return a;
|
|
2831
2804
|
};
|
|
2832
|
-
var __spreadProps$
|
|
2805
|
+
var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
|
|
2833
2806
|
const initialChartState = {
|
|
2834
2807
|
pointers: {},
|
|
2835
2808
|
resourceData: {},
|
|
@@ -2839,8 +2812,8 @@
|
|
|
2839
2812
|
switch (action.type) {
|
|
2840
2813
|
case "SET_POINTER" /* SET_POINTER */: {
|
|
2841
2814
|
const { uuid, left, text, visible, value } = action.payload;
|
|
2842
|
-
return __spreadProps$
|
|
2843
|
-
pointers: __spreadProps$
|
|
2815
|
+
return __spreadProps$j(__spreadValues$p({}, state), {
|
|
2816
|
+
pointers: __spreadProps$j(__spreadValues$p({}, state.pointers), {
|
|
2844
2817
|
[uuid]: {
|
|
2845
2818
|
left,
|
|
2846
2819
|
text,
|
|
@@ -2852,16 +2825,16 @@
|
|
|
2852
2825
|
}
|
|
2853
2826
|
case "SET_RESOURCE_DATA" /* SET_RESOURCE_DATA */: {
|
|
2854
2827
|
const { uuid, data } = action.payload;
|
|
2855
|
-
return __spreadProps$
|
|
2856
|
-
resourceData: __spreadProps$
|
|
2828
|
+
return __spreadProps$j(__spreadValues$p({}, state), {
|
|
2829
|
+
resourceData: __spreadProps$j(__spreadValues$p({}, state.resourceData), {
|
|
2857
2830
|
[uuid]: data
|
|
2858
2831
|
})
|
|
2859
2832
|
});
|
|
2860
2833
|
}
|
|
2861
2834
|
case "SET_AVERAGE_DATA" /* SET_AVERAGE_DATA */: {
|
|
2862
2835
|
const { uuid, average } = action.payload;
|
|
2863
|
-
return __spreadProps$
|
|
2864
|
-
averageData: __spreadProps$
|
|
2836
|
+
return __spreadProps$j(__spreadValues$p({}, state), {
|
|
2837
|
+
averageData: __spreadProps$j(__spreadValues$p({}, state.averageData), {
|
|
2865
2838
|
[uuid]: average
|
|
2866
2839
|
})
|
|
2867
2840
|
});
|
|
@@ -2872,25 +2845,25 @@
|
|
|
2872
2845
|
}
|
|
2873
2846
|
};
|
|
2874
2847
|
|
|
2875
|
-
var __defProp$
|
|
2876
|
-
var __defProps$
|
|
2877
|
-
var __getOwnPropDescs$
|
|
2878
|
-
var __getOwnPropSymbols$
|
|
2879
|
-
var __hasOwnProp$
|
|
2880
|
-
var __propIsEnum$
|
|
2881
|
-
var __defNormalProp$
|
|
2882
|
-
var __spreadValues$
|
|
2848
|
+
var __defProp$o = Object.defineProperty;
|
|
2849
|
+
var __defProps$i = Object.defineProperties;
|
|
2850
|
+
var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
|
|
2851
|
+
var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
|
|
2852
|
+
var __hasOwnProp$o = Object.prototype.hasOwnProperty;
|
|
2853
|
+
var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
|
|
2854
|
+
var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2855
|
+
var __spreadValues$o = (a, b) => {
|
|
2883
2856
|
for (var prop in b || (b = {}))
|
|
2884
|
-
if (__hasOwnProp$
|
|
2885
|
-
__defNormalProp$
|
|
2886
|
-
if (__getOwnPropSymbols$
|
|
2887
|
-
for (var prop of __getOwnPropSymbols$
|
|
2888
|
-
if (__propIsEnum$
|
|
2889
|
-
__defNormalProp$
|
|
2857
|
+
if (__hasOwnProp$o.call(b, prop))
|
|
2858
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
2859
|
+
if (__getOwnPropSymbols$o)
|
|
2860
|
+
for (var prop of __getOwnPropSymbols$o(b)) {
|
|
2861
|
+
if (__propIsEnum$o.call(b, prop))
|
|
2862
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
2890
2863
|
}
|
|
2891
2864
|
return a;
|
|
2892
2865
|
};
|
|
2893
|
-
var __spreadProps$
|
|
2866
|
+
var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
|
|
2894
2867
|
var ModalActions = /* @__PURE__ */ ((ModalActions2) => {
|
|
2895
2868
|
ModalActions2["PUSH_MODAL"] = "PUSH_MODAL";
|
|
2896
2869
|
ModalActions2["POP_MODAL"] = "POP_MODAL";
|
|
@@ -2911,22 +2884,22 @@
|
|
|
2911
2884
|
)) {
|
|
2912
2885
|
return state;
|
|
2913
2886
|
}
|
|
2914
|
-
return __spreadProps$
|
|
2915
|
-
stack: state.stack.concat(__spreadProps$
|
|
2887
|
+
return __spreadProps$i(__spreadValues$o({}, state), {
|
|
2888
|
+
stack: state.stack.concat(__spreadProps$i(__spreadValues$o({}, action.payload), {
|
|
2916
2889
|
id: MODAL_ID++
|
|
2917
2890
|
}))
|
|
2918
2891
|
});
|
|
2919
2892
|
case "POP_MODAL" /* POP_MODAL */:
|
|
2920
|
-
return __spreadProps$
|
|
2893
|
+
return __spreadProps$i(__spreadValues$o({}, state), {
|
|
2921
2894
|
stack: state.stack.slice(0, -1)
|
|
2922
2895
|
});
|
|
2923
2896
|
case "REMOVE_MODAL" /* REMOVE_MODAL */:
|
|
2924
|
-
return __spreadProps$
|
|
2897
|
+
return __spreadProps$i(__spreadValues$o({}, state), {
|
|
2925
2898
|
closeId: 0,
|
|
2926
2899
|
stack: state.stack.filter((m) => m.id !== action.id)
|
|
2927
2900
|
});
|
|
2928
2901
|
case "CLOSE_MODAL" /* CLOSE_MODAL */:
|
|
2929
|
-
return __spreadProps$
|
|
2902
|
+
return __spreadProps$i(__spreadValues$o({}, state), {
|
|
2930
2903
|
closeId: action.id
|
|
2931
2904
|
});
|
|
2932
2905
|
default:
|
|
@@ -2977,142 +2950,33 @@
|
|
|
2977
2950
|
const useKitDispatch = reactRedux.createDispatchHook(ctx);
|
|
2978
2951
|
const useKitSelector = reactRedux.createSelectorHook(ctx);
|
|
2979
2952
|
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
var __defProp$
|
|
2987
|
-
var
|
|
2988
|
-
var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
|
|
2989
|
-
var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
|
|
2990
|
-
var __hasOwnProp$m = Object.prototype.hasOwnProperty;
|
|
2991
|
-
var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
|
|
2992
|
-
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2993
|
-
var __spreadValues$m = (a, b) => {
|
|
2953
|
+
var __defProp$n = Object.defineProperty;
|
|
2954
|
+
var __defProps$h = Object.defineProperties;
|
|
2955
|
+
var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
|
|
2956
|
+
var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
|
|
2957
|
+
var __hasOwnProp$n = Object.prototype.hasOwnProperty;
|
|
2958
|
+
var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
|
|
2959
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2960
|
+
var __spreadValues$n = (a, b) => {
|
|
2994
2961
|
for (var prop in b || (b = {}))
|
|
2995
|
-
if (__hasOwnProp$
|
|
2996
|
-
__defNormalProp$
|
|
2997
|
-
if (__getOwnPropSymbols$
|
|
2998
|
-
for (var prop of __getOwnPropSymbols$
|
|
2999
|
-
if (__propIsEnum$
|
|
3000
|
-
__defNormalProp$
|
|
2962
|
+
if (__hasOwnProp$n.call(b, prop))
|
|
2963
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
2964
|
+
if (__getOwnPropSymbols$n)
|
|
2965
|
+
for (var prop of __getOwnPropSymbols$n(b)) {
|
|
2966
|
+
if (__propIsEnum$n.call(b, prop))
|
|
2967
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
3001
2968
|
}
|
|
3002
2969
|
return a;
|
|
3003
2970
|
};
|
|
3004
|
-
var __spreadProps$
|
|
2971
|
+
var __spreadProps$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
|
|
3005
2972
|
var __objRest$9 = (source, exclude) => {
|
|
3006
2973
|
var target = {};
|
|
3007
2974
|
for (var prop in source)
|
|
3008
|
-
if (__hasOwnProp$
|
|
3009
|
-
target[prop] = source[prop];
|
|
3010
|
-
if (source != null && __getOwnPropSymbols$m)
|
|
3011
|
-
for (var prop of __getOwnPropSymbols$m(source)) {
|
|
3012
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$m.call(source, prop))
|
|
3013
|
-
target[prop] = source[prop];
|
|
3014
|
-
}
|
|
3015
|
-
return target;
|
|
3016
|
-
};
|
|
3017
|
-
const StepTitle = (props) => {
|
|
3018
|
-
const { current, step, index, isVerticalMode } = props;
|
|
3019
|
-
const textRef = React.useRef(null);
|
|
3020
|
-
const [tooltipEnable, setTooltipEnable] = React.useState({
|
|
3021
|
-
visible: false
|
|
3022
|
-
});
|
|
3023
|
-
React.useLayoutEffect(() => {
|
|
3024
|
-
if (textRef.current && textRef.current.offsetWidth < textRef.current.scrollWidth) {
|
|
3025
|
-
setTooltipEnable({});
|
|
3026
|
-
}
|
|
3027
|
-
}, [textRef]);
|
|
3028
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Tooltip, __spreadProps$g(__spreadValues$m({}, tooltipEnable), { title: step.title }), /* @__PURE__ */ React__namespace.default.createElement(
|
|
3029
|
-
"div",
|
|
3030
|
-
{
|
|
3031
|
-
className: isVerticalMode ? VerticalStepContentStyle : HorizontalStepContentStyle
|
|
3032
|
-
},
|
|
3033
|
-
/* @__PURE__ */ React__namespace.default.createElement("span", { className: "step-item-prefix-container" }, index < current ? /* @__PURE__ */ React__namespace.default.createElement(iconsReact.CheckmarkDoneSuccessCorrect16SecondaryIcon, null) : index + 1),
|
|
3034
|
-
/* @__PURE__ */ React__namespace.default.createElement("span", { ref: textRef, className: "step-item-title" }, /* @__PURE__ */ React__namespace.default.createElement("span", { className: "step-item-title" }, step.title))
|
|
3035
|
-
));
|
|
3036
|
-
};
|
|
3037
|
-
const Steps = (props) => {
|
|
3038
|
-
const _a = props, {
|
|
3039
|
-
stepsConfig,
|
|
3040
|
-
direction,
|
|
3041
|
-
containerClassname,
|
|
3042
|
-
current = 0,
|
|
3043
|
-
disabled
|
|
3044
|
-
} = _a, stepsProps = __objRest$9(_a, [
|
|
3045
|
-
"stepsConfig",
|
|
3046
|
-
"direction",
|
|
3047
|
-
"containerClassname",
|
|
3048
|
-
"current",
|
|
3049
|
-
"disabled"
|
|
3050
|
-
]);
|
|
3051
|
-
const isVerticalMode = direction === "vertical";
|
|
3052
|
-
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
3053
|
-
"div",
|
|
3054
|
-
{
|
|
3055
|
-
className: cs__default.default(
|
|
3056
|
-
containerClassname,
|
|
3057
|
-
StepsStyle,
|
|
3058
|
-
isVerticalMode ? VerticalStyle : HorizontalStyle
|
|
3059
|
-
)
|
|
3060
|
-
},
|
|
3061
|
-
/* @__PURE__ */ React__namespace.default.createElement(
|
|
3062
|
-
antd.Steps,
|
|
3063
|
-
__spreadProps$g(__spreadValues$m({}, stepsProps), {
|
|
3064
|
-
direction,
|
|
3065
|
-
current,
|
|
3066
|
-
type: "default"
|
|
3067
|
-
}),
|
|
3068
|
-
(stepsConfig == null ? void 0 : stepsConfig.length) ? stepsConfig.map((step, index) => /* @__PURE__ */ React__namespace.default.createElement(
|
|
3069
|
-
antd.Steps.Step,
|
|
3070
|
-
__spreadProps$g(__spreadValues$m({
|
|
3071
|
-
key: index
|
|
3072
|
-
}, step), {
|
|
3073
|
-
disabled: disabled || index > current,
|
|
3074
|
-
title: /* @__PURE__ */ React__namespace.default.createElement(
|
|
3075
|
-
StepTitle,
|
|
3076
|
-
{
|
|
3077
|
-
index,
|
|
3078
|
-
step,
|
|
3079
|
-
current,
|
|
3080
|
-
isVerticalMode
|
|
3081
|
-
}
|
|
3082
|
-
)
|
|
3083
|
-
})
|
|
3084
|
-
)) : props.children
|
|
3085
|
-
)
|
|
3086
|
-
);
|
|
3087
|
-
};
|
|
3088
|
-
|
|
3089
|
-
var __defProp$l = Object.defineProperty;
|
|
3090
|
-
var __defProps$f = Object.defineProperties;
|
|
3091
|
-
var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
|
|
3092
|
-
var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
|
|
3093
|
-
var __hasOwnProp$l = Object.prototype.hasOwnProperty;
|
|
3094
|
-
var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
|
|
3095
|
-
var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3096
|
-
var __spreadValues$l = (a, b) => {
|
|
3097
|
-
for (var prop in b || (b = {}))
|
|
3098
|
-
if (__hasOwnProp$l.call(b, prop))
|
|
3099
|
-
__defNormalProp$l(a, prop, b[prop]);
|
|
3100
|
-
if (__getOwnPropSymbols$l)
|
|
3101
|
-
for (var prop of __getOwnPropSymbols$l(b)) {
|
|
3102
|
-
if (__propIsEnum$l.call(b, prop))
|
|
3103
|
-
__defNormalProp$l(a, prop, b[prop]);
|
|
3104
|
-
}
|
|
3105
|
-
return a;
|
|
3106
|
-
};
|
|
3107
|
-
var __spreadProps$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
|
|
3108
|
-
var __objRest$8 = (source, exclude) => {
|
|
3109
|
-
var target = {};
|
|
3110
|
-
for (var prop in source)
|
|
3111
|
-
if (__hasOwnProp$l.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2975
|
+
if (__hasOwnProp$n.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3112
2976
|
target[prop] = source[prop];
|
|
3113
|
-
if (source != null && __getOwnPropSymbols$
|
|
3114
|
-
for (var prop of __getOwnPropSymbols$
|
|
3115
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2977
|
+
if (source != null && __getOwnPropSymbols$n)
|
|
2978
|
+
for (var prop of __getOwnPropSymbols$n(source)) {
|
|
2979
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$n.call(source, prop))
|
|
3116
2980
|
target[prop] = source[prop];
|
|
3117
2981
|
}
|
|
3118
2982
|
return target;
|
|
@@ -3139,7 +3003,7 @@
|
|
|
3139
3003
|
showCancel = true,
|
|
3140
3004
|
showOk = true,
|
|
3141
3005
|
afterClose
|
|
3142
|
-
} = _a, restProps = __objRest$
|
|
3006
|
+
} = _a, restProps = __objRest$9(_a, [
|
|
3143
3007
|
"error",
|
|
3144
3008
|
"okText",
|
|
3145
3009
|
"cancelText",
|
|
@@ -3194,7 +3058,7 @@
|
|
|
3194
3058
|
}
|
|
3195
3059
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
3196
3060
|
antd.Modal,
|
|
3197
|
-
__spreadProps$
|
|
3061
|
+
__spreadProps$h(__spreadValues$n({
|
|
3198
3062
|
maskClosable,
|
|
3199
3063
|
className: cs__default.default(
|
|
3200
3064
|
className,
|
|
@@ -3229,7 +3093,7 @@
|
|
|
3229
3093
|
prevText
|
|
3230
3094
|
), error && /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: "modal-error" }, error))), /* @__PURE__ */ React__namespace.default.createElement("div", { className: "modal-footer-btn-group" }, showCancel && /* @__PURE__ */ React__namespace.default.createElement(
|
|
3231
3095
|
Button,
|
|
3232
|
-
__spreadValues$
|
|
3096
|
+
__spreadValues$n({
|
|
3233
3097
|
type: "quiet",
|
|
3234
3098
|
onMouseDown: (e) => {
|
|
3235
3099
|
e.preventDefault();
|
|
@@ -3243,7 +3107,7 @@
|
|
|
3243
3107
|
cancelText
|
|
3244
3108
|
), showOk && /* @__PURE__ */ React__namespace.default.createElement(
|
|
3245
3109
|
Button,
|
|
3246
|
-
__spreadValues$
|
|
3110
|
+
__spreadValues$n({
|
|
3247
3111
|
onClick: (e) => {
|
|
3248
3112
|
var _a2, _b2;
|
|
3249
3113
|
onOk == null ? void 0 : onOk(e);
|
|
@@ -3259,19 +3123,24 @@
|
|
|
3259
3123
|
))) : footer)
|
|
3260
3124
|
}),
|
|
3261
3125
|
wizard && typeof wizard === "object" ? /* @__PURE__ */ React__namespace.default.createElement(WizardBody, null, /* @__PURE__ */ React__namespace.default.createElement("div", { className: "left" }, /* @__PURE__ */ React__namespace.default.createElement(
|
|
3262
|
-
Steps,
|
|
3126
|
+
antd.Steps,
|
|
3263
3127
|
{
|
|
3128
|
+
style: { minWidth: 192 },
|
|
3264
3129
|
current: wizard.step,
|
|
3265
3130
|
onChange: (value) => {
|
|
3266
3131
|
var _a2;
|
|
3267
3132
|
return (_a2 = wizard.onStepChange) == null ? void 0 : _a2.call(wizard, value);
|
|
3268
3133
|
},
|
|
3269
|
-
direction: "vertical"
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3134
|
+
direction: "vertical"
|
|
3135
|
+
},
|
|
3136
|
+
wizard.steps.map((s, idx) => /* @__PURE__ */ React__namespace.default.createElement(
|
|
3137
|
+
antd.Steps.Step,
|
|
3138
|
+
{
|
|
3139
|
+
key: idx,
|
|
3140
|
+
title: /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, idx >= wizard.step ? /* @__PURE__ */ React__namespace.default.createElement("span", { className: "step-index" }, idx + 1) : /* @__PURE__ */ React__namespace.default.createElement(icons.CheckOutlined, { className: "step-index" }), s.title),
|
|
3141
|
+
disabled: s.disabled || idx > wizard.step || wizard.disablePrevStep && idx !== wizard.step
|
|
3142
|
+
}
|
|
3143
|
+
))
|
|
3275
3144
|
)), /* @__PURE__ */ React__namespace.default.createElement("div", { className: "middle" }, restProps.children, wizard.destroyOtherStep ? wizard.steps[wizard.step].render : stepsRef.current.map((step, index) => /* @__PURE__ */ React__namespace.default.createElement(
|
|
3276
3145
|
"div",
|
|
3277
3146
|
{
|
|
@@ -3390,19 +3259,19 @@
|
|
|
3390
3259
|
}))));
|
|
3391
3260
|
};
|
|
3392
3261
|
|
|
3393
|
-
var __defProp$
|
|
3394
|
-
var __getOwnPropSymbols$
|
|
3395
|
-
var __hasOwnProp$
|
|
3396
|
-
var __propIsEnum$
|
|
3397
|
-
var __defNormalProp$
|
|
3398
|
-
var __spreadValues$
|
|
3262
|
+
var __defProp$m = Object.defineProperty;
|
|
3263
|
+
var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
|
|
3264
|
+
var __hasOwnProp$m = Object.prototype.hasOwnProperty;
|
|
3265
|
+
var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
|
|
3266
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3267
|
+
var __spreadValues$m = (a, b) => {
|
|
3399
3268
|
for (var prop in b || (b = {}))
|
|
3400
|
-
if (__hasOwnProp$
|
|
3401
|
-
__defNormalProp$
|
|
3402
|
-
if (__getOwnPropSymbols$
|
|
3403
|
-
for (var prop of __getOwnPropSymbols$
|
|
3404
|
-
if (__propIsEnum$
|
|
3405
|
-
__defNormalProp$
|
|
3269
|
+
if (__hasOwnProp$m.call(b, prop))
|
|
3270
|
+
__defNormalProp$m(a, prop, b[prop]);
|
|
3271
|
+
if (__getOwnPropSymbols$m)
|
|
3272
|
+
for (var prop of __getOwnPropSymbols$m(b)) {
|
|
3273
|
+
if (__propIsEnum$m.call(b, prop))
|
|
3274
|
+
__defNormalProp$m(a, prop, b[prop]);
|
|
3406
3275
|
}
|
|
3407
3276
|
return a;
|
|
3408
3277
|
};
|
|
@@ -3415,52 +3284,52 @@
|
|
|
3415
3284
|
emptyProps
|
|
3416
3285
|
}) => {
|
|
3417
3286
|
if (isEmpty(rawValue)) {
|
|
3418
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$
|
|
3287
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$m({}, emptyProps));
|
|
3419
3288
|
}
|
|
3420
3289
|
const { value, unit } = formatPercent(rawValue, decimals, saturated);
|
|
3421
3290
|
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, unit));
|
|
3422
3291
|
};
|
|
3423
3292
|
|
|
3424
|
-
var __defProp$
|
|
3425
|
-
var __getOwnPropSymbols$
|
|
3426
|
-
var __hasOwnProp$
|
|
3427
|
-
var __propIsEnum$
|
|
3428
|
-
var __defNormalProp$
|
|
3429
|
-
var __spreadValues$
|
|
3293
|
+
var __defProp$l = Object.defineProperty;
|
|
3294
|
+
var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
|
|
3295
|
+
var __hasOwnProp$l = Object.prototype.hasOwnProperty;
|
|
3296
|
+
var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
|
|
3297
|
+
var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3298
|
+
var __spreadValues$l = (a, b) => {
|
|
3430
3299
|
for (var prop in b || (b = {}))
|
|
3431
|
-
if (__hasOwnProp$
|
|
3432
|
-
__defNormalProp$
|
|
3433
|
-
if (__getOwnPropSymbols$
|
|
3434
|
-
for (var prop of __getOwnPropSymbols$
|
|
3435
|
-
if (__propIsEnum$
|
|
3436
|
-
__defNormalProp$
|
|
3300
|
+
if (__hasOwnProp$l.call(b, prop))
|
|
3301
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
3302
|
+
if (__getOwnPropSymbols$l)
|
|
3303
|
+
for (var prop of __getOwnPropSymbols$l(b)) {
|
|
3304
|
+
if (__propIsEnum$l.call(b, prop))
|
|
3305
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
3437
3306
|
}
|
|
3438
3307
|
return a;
|
|
3439
3308
|
};
|
|
3440
|
-
const Progress = (props) => /* @__PURE__ */ React__namespace.default.createElement(antd.Progress, __spreadValues$
|
|
3309
|
+
const Progress = (props) => /* @__PURE__ */ React__namespace.default.createElement(antd.Progress, __spreadValues$l({}, props));
|
|
3441
3310
|
|
|
3442
|
-
var __defProp$
|
|
3443
|
-
var __getOwnPropSymbols$
|
|
3444
|
-
var __hasOwnProp$
|
|
3445
|
-
var __propIsEnum$
|
|
3446
|
-
var __defNormalProp$
|
|
3311
|
+
var __defProp$k = Object.defineProperty;
|
|
3312
|
+
var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
|
|
3313
|
+
var __hasOwnProp$k = Object.prototype.hasOwnProperty;
|
|
3314
|
+
var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
|
|
3315
|
+
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, {
|
|
3447
3316
|
enumerable: true,
|
|
3448
3317
|
configurable: true,
|
|
3449
3318
|
writable: true,
|
|
3450
3319
|
value
|
|
3451
3320
|
}) : obj[key] = value;
|
|
3452
|
-
var __spreadValues$
|
|
3453
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3454
|
-
if (__getOwnPropSymbols$
|
|
3455
|
-
if (__propIsEnum$
|
|
3321
|
+
var __spreadValues$k = (a, b) => {
|
|
3322
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$k.call(b, prop)) __defNormalProp$k(a, prop, b[prop]);
|
|
3323
|
+
if (__getOwnPropSymbols$k) for (var prop of __getOwnPropSymbols$k(b)) {
|
|
3324
|
+
if (__propIsEnum$k.call(b, prop)) __defNormalProp$k(a, prop, b[prop]);
|
|
3456
3325
|
}
|
|
3457
3326
|
return a;
|
|
3458
3327
|
};
|
|
3459
|
-
var __objRest$
|
|
3328
|
+
var __objRest$8 = (source, exclude) => {
|
|
3460
3329
|
var target = {};
|
|
3461
|
-
for (var prop in source) if (__hasOwnProp$
|
|
3462
|
-
if (source != null && __getOwnPropSymbols$
|
|
3463
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3330
|
+
for (var prop in source) if (__hasOwnProp$k.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
3331
|
+
if (source != null && __getOwnPropSymbols$k) for (var prop of __getOwnPropSymbols$k(source)) {
|
|
3332
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$k.call(source, prop)) target[prop] = source[prop];
|
|
3464
3333
|
}
|
|
3465
3334
|
return target;
|
|
3466
3335
|
};
|
|
@@ -3476,7 +3345,7 @@
|
|
|
3476
3345
|
checked,
|
|
3477
3346
|
compact = false
|
|
3478
3347
|
} = _b,
|
|
3479
|
-
props = __objRest$
|
|
3348
|
+
props = __objRest$8(_b, ["children", "className", "checked", "compact"]);
|
|
3480
3349
|
const {
|
|
3481
3350
|
description
|
|
3482
3351
|
} = props;
|
|
@@ -3486,7 +3355,7 @@
|
|
|
3486
3355
|
className: core.cx("radio-description", Typo.Label.l4_regular)
|
|
3487
3356
|
}, description));
|
|
3488
3357
|
}
|
|
3489
|
-
return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement(antd.Radio, __spreadValues$
|
|
3358
|
+
return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement(antd.Radio, __spreadValues$k({
|
|
3490
3359
|
className: core.cx(className, RadioStyle, compact && "compact"),
|
|
3491
3360
|
checked: checked || false,
|
|
3492
3361
|
"data-test": context.name ? `${context.name}-${String(props.value)}` : String(props.value)
|
|
@@ -3498,13 +3367,13 @@
|
|
|
3498
3367
|
children,
|
|
3499
3368
|
className
|
|
3500
3369
|
} = _d,
|
|
3501
|
-
props = __objRest$
|
|
3370
|
+
props = __objRest$8(_d, ["children", "className"]);
|
|
3502
3371
|
return /* @__PURE__ */React__namespace.default.createElement(KitRadioGroupContext.Provider, {
|
|
3503
3372
|
value: {
|
|
3504
3373
|
disabled: props.disabled,
|
|
3505
3374
|
name: props.name
|
|
3506
3375
|
}
|
|
3507
|
-
}, /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Group, __spreadValues$
|
|
3376
|
+
}, /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Group, __spreadValues$k({
|
|
3508
3377
|
className: core.cx(className, RadioGroupStyle)
|
|
3509
3378
|
}, props), children ? children : null));
|
|
3510
3379
|
};
|
|
@@ -3514,7 +3383,7 @@
|
|
|
3514
3383
|
children,
|
|
3515
3384
|
className
|
|
3516
3385
|
} = _f,
|
|
3517
|
-
props = __objRest$
|
|
3386
|
+
props = __objRest$8(_f, ["children", "className"]);
|
|
3518
3387
|
const {
|
|
3519
3388
|
type,
|
|
3520
3389
|
placeholder = "Label",
|
|
@@ -3560,46 +3429,46 @@
|
|
|
3560
3429
|
className: "ant-radio-button-input-label"
|
|
3561
3430
|
}, typeof children === "string" ? children : ""));
|
|
3562
3431
|
};
|
|
3563
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Button, __spreadValues$
|
|
3432
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Button, __spreadValues$k({
|
|
3564
3433
|
className: core.cx(className, RadioButtonStyle),
|
|
3565
3434
|
value: radioButtonValue
|
|
3566
3435
|
}, props), renderChildren());
|
|
3567
3436
|
};
|
|
3568
3437
|
|
|
3569
|
-
var __defProp$
|
|
3570
|
-
var __getOwnPropSymbols$
|
|
3571
|
-
var __hasOwnProp$
|
|
3572
|
-
var __propIsEnum$
|
|
3573
|
-
var __defNormalProp$
|
|
3574
|
-
var __spreadValues$
|
|
3438
|
+
var __defProp$j = Object.defineProperty;
|
|
3439
|
+
var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
|
|
3440
|
+
var __hasOwnProp$j = Object.prototype.hasOwnProperty;
|
|
3441
|
+
var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
|
|
3442
|
+
var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3443
|
+
var __spreadValues$j = (a, b) => {
|
|
3575
3444
|
for (var prop in b || (b = {}))
|
|
3576
|
-
if (__hasOwnProp$
|
|
3577
|
-
__defNormalProp$
|
|
3578
|
-
if (__getOwnPropSymbols$
|
|
3579
|
-
for (var prop of __getOwnPropSymbols$
|
|
3580
|
-
if (__propIsEnum$
|
|
3581
|
-
__defNormalProp$
|
|
3445
|
+
if (__hasOwnProp$j.call(b, prop))
|
|
3446
|
+
__defNormalProp$j(a, prop, b[prop]);
|
|
3447
|
+
if (__getOwnPropSymbols$j)
|
|
3448
|
+
for (var prop of __getOwnPropSymbols$j(b)) {
|
|
3449
|
+
if (__propIsEnum$j.call(b, prop))
|
|
3450
|
+
__defNormalProp$j(a, prop, b[prop]);
|
|
3582
3451
|
}
|
|
3583
3452
|
return a;
|
|
3584
3453
|
};
|
|
3585
|
-
var __objRest$
|
|
3454
|
+
var __objRest$7 = (source, exclude) => {
|
|
3586
3455
|
var target = {};
|
|
3587
3456
|
for (var prop in source)
|
|
3588
|
-
if (__hasOwnProp$
|
|
3457
|
+
if (__hasOwnProp$j.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3589
3458
|
target[prop] = source[prop];
|
|
3590
|
-
if (source != null && __getOwnPropSymbols$
|
|
3591
|
-
for (var prop of __getOwnPropSymbols$
|
|
3592
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3459
|
+
if (source != null && __getOwnPropSymbols$j)
|
|
3460
|
+
for (var prop of __getOwnPropSymbols$j(source)) {
|
|
3461
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$j.call(source, prop))
|
|
3593
3462
|
target[prop] = source[prop];
|
|
3594
3463
|
}
|
|
3595
3464
|
return target;
|
|
3596
3465
|
};
|
|
3597
3466
|
const SearchInput = (props) => {
|
|
3598
|
-
const _a = props, { onChange, debounceWait = 300 } = _a, restProps = __objRest$
|
|
3467
|
+
const _a = props, { onChange, debounceWait = 300 } = _a, restProps = __objRest$7(_a, ["onChange", "debounceWait"]);
|
|
3599
3468
|
const onSearch = ___default.default.debounce(onChange, debounceWait);
|
|
3600
3469
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
3601
3470
|
Input,
|
|
3602
|
-
__spreadValues$
|
|
3471
|
+
__spreadValues$j({
|
|
3603
3472
|
style: { width: 276 },
|
|
3604
3473
|
prefix: /* @__PURE__ */ React__namespace.default.createElement(icons.SearchOutlined, null),
|
|
3605
3474
|
onChange: (e) => onSearch(e.target.value)
|
|
@@ -3607,19 +3476,19 @@
|
|
|
3607
3476
|
);
|
|
3608
3477
|
};
|
|
3609
3478
|
|
|
3610
|
-
var __defProp$
|
|
3611
|
-
var __getOwnPropSymbols$
|
|
3612
|
-
var __hasOwnProp$
|
|
3613
|
-
var __propIsEnum$
|
|
3614
|
-
var __defNormalProp$
|
|
3615
|
-
var __spreadValues$
|
|
3479
|
+
var __defProp$i = Object.defineProperty;
|
|
3480
|
+
var __getOwnPropSymbols$i = Object.getOwnPropertySymbols;
|
|
3481
|
+
var __hasOwnProp$i = Object.prototype.hasOwnProperty;
|
|
3482
|
+
var __propIsEnum$i = Object.prototype.propertyIsEnumerable;
|
|
3483
|
+
var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3484
|
+
var __spreadValues$i = (a, b) => {
|
|
3616
3485
|
for (var prop in b || (b = {}))
|
|
3617
|
-
if (__hasOwnProp$
|
|
3618
|
-
__defNormalProp$
|
|
3619
|
-
if (__getOwnPropSymbols$
|
|
3620
|
-
for (var prop of __getOwnPropSymbols$
|
|
3621
|
-
if (__propIsEnum$
|
|
3622
|
-
__defNormalProp$
|
|
3486
|
+
if (__hasOwnProp$i.call(b, prop))
|
|
3487
|
+
__defNormalProp$i(a, prop, b[prop]);
|
|
3488
|
+
if (__getOwnPropSymbols$i)
|
|
3489
|
+
for (var prop of __getOwnPropSymbols$i(b)) {
|
|
3490
|
+
if (__propIsEnum$i.call(b, prop))
|
|
3491
|
+
__defNormalProp$i(a, prop, b[prop]);
|
|
3623
3492
|
}
|
|
3624
3493
|
return a;
|
|
3625
3494
|
};
|
|
@@ -3633,7 +3502,7 @@
|
|
|
3633
3502
|
}) => {
|
|
3634
3503
|
const { t } = useParrotTranslation();
|
|
3635
3504
|
if (isEmpty(rawValue)) {
|
|
3636
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$
|
|
3505
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$i({}, emptyProps));
|
|
3637
3506
|
}
|
|
3638
3507
|
const { value, unit } = formatSeconds(rawValue, decimals);
|
|
3639
3508
|
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value, " "), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, t(`common.${abbreviate ? `${unit}_abbreviation` : unit}`)));
|
|
@@ -3715,19 +3584,19 @@
|
|
|
3715
3584
|
})));
|
|
3716
3585
|
};
|
|
3717
3586
|
|
|
3718
|
-
var __defProp$
|
|
3719
|
-
var __getOwnPropSymbols$
|
|
3720
|
-
var __hasOwnProp$
|
|
3721
|
-
var __propIsEnum$
|
|
3722
|
-
var __defNormalProp$
|
|
3723
|
-
var __spreadValues$
|
|
3587
|
+
var __defProp$h = Object.defineProperty;
|
|
3588
|
+
var __getOwnPropSymbols$h = Object.getOwnPropertySymbols;
|
|
3589
|
+
var __hasOwnProp$h = Object.prototype.hasOwnProperty;
|
|
3590
|
+
var __propIsEnum$h = Object.prototype.propertyIsEnumerable;
|
|
3591
|
+
var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3592
|
+
var __spreadValues$h = (a, b) => {
|
|
3724
3593
|
for (var prop in b || (b = {}))
|
|
3725
|
-
if (__hasOwnProp$
|
|
3726
|
-
__defNormalProp$
|
|
3727
|
-
if (__getOwnPropSymbols$
|
|
3728
|
-
for (var prop of __getOwnPropSymbols$
|
|
3729
|
-
if (__propIsEnum$
|
|
3730
|
-
__defNormalProp$
|
|
3594
|
+
if (__hasOwnProp$h.call(b, prop))
|
|
3595
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
3596
|
+
if (__getOwnPropSymbols$h)
|
|
3597
|
+
for (var prop of __getOwnPropSymbols$h(b)) {
|
|
3598
|
+
if (__propIsEnum$h.call(b, prop))
|
|
3599
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
3731
3600
|
}
|
|
3732
3601
|
return a;
|
|
3733
3602
|
};
|
|
@@ -3739,37 +3608,37 @@
|
|
|
3739
3608
|
emptyProps
|
|
3740
3609
|
}) => {
|
|
3741
3610
|
if (isEmpty(rawValue)) {
|
|
3742
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$
|
|
3611
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$h({}, emptyProps));
|
|
3743
3612
|
}
|
|
3744
3613
|
const { value, unit } = formatSpeed(rawValue, decimals);
|
|
3745
3614
|
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, ` ${unit}`));
|
|
3746
3615
|
};
|
|
3747
3616
|
|
|
3748
|
-
var __defProp$
|
|
3749
|
-
var __defProps$
|
|
3750
|
-
var __getOwnPropDescs$
|
|
3751
|
-
var __getOwnPropSymbols$
|
|
3752
|
-
var __hasOwnProp$
|
|
3753
|
-
var __propIsEnum$
|
|
3754
|
-
var __defNormalProp$
|
|
3617
|
+
var __defProp$g = Object.defineProperty;
|
|
3618
|
+
var __defProps$g = Object.defineProperties;
|
|
3619
|
+
var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
|
|
3620
|
+
var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
|
|
3621
|
+
var __hasOwnProp$g = Object.prototype.hasOwnProperty;
|
|
3622
|
+
var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
|
|
3623
|
+
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, {
|
|
3755
3624
|
enumerable: true,
|
|
3756
3625
|
configurable: true,
|
|
3757
3626
|
writable: true,
|
|
3758
3627
|
value
|
|
3759
3628
|
}) : obj[key] = value;
|
|
3760
|
-
var __spreadValues$
|
|
3761
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3762
|
-
if (__getOwnPropSymbols$
|
|
3763
|
-
if (__propIsEnum$
|
|
3629
|
+
var __spreadValues$g = (a, b) => {
|
|
3630
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$g.call(b, prop)) __defNormalProp$g(a, prop, b[prop]);
|
|
3631
|
+
if (__getOwnPropSymbols$g) for (var prop of __getOwnPropSymbols$g(b)) {
|
|
3632
|
+
if (__propIsEnum$g.call(b, prop)) __defNormalProp$g(a, prop, b[prop]);
|
|
3764
3633
|
}
|
|
3765
3634
|
return a;
|
|
3766
3635
|
};
|
|
3767
|
-
var __spreadProps$
|
|
3768
|
-
var __objRest$
|
|
3636
|
+
var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
|
|
3637
|
+
var __objRest$6 = (source, exclude) => {
|
|
3769
3638
|
var target = {};
|
|
3770
|
-
for (var prop in source) if (__hasOwnProp$
|
|
3771
|
-
if (source != null && __getOwnPropSymbols$
|
|
3772
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3639
|
+
for (var prop in source) if (__hasOwnProp$g.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
3640
|
+
if (source != null && __getOwnPropSymbols$g) for (var prop of __getOwnPropSymbols$g(source)) {
|
|
3641
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$g.call(source, prop)) target[prop] = source[prop];
|
|
3773
3642
|
}
|
|
3774
3643
|
return target;
|
|
3775
3644
|
};
|
|
@@ -3812,9 +3681,9 @@
|
|
|
3812
3681
|
offWhiteMode,
|
|
3813
3682
|
number
|
|
3814
3683
|
} = _b,
|
|
3815
|
-
props = __objRest$
|
|
3684
|
+
props = __objRest$6(_b, ["color", "className", "loading", "hoverable", "children", "offWhiteMode", "number"]);
|
|
3816
3685
|
const computedColor = ColorMap[color] || color;
|
|
3817
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$
|
|
3686
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$g(__spreadValues$g({}, props), {
|
|
3818
3687
|
className: cs__default.default(className, StatusCapsuleStyle, Typo.Label.l4_regular, "ui-kit-status-capsule", {
|
|
3819
3688
|
[`ant-tag-${computedColor}`]: PresetColors$3.includes(computedColor),
|
|
3820
3689
|
"tag-hover": hoverable,
|
|
@@ -3829,31 +3698,140 @@
|
|
|
3829
3698
|
}, number));
|
|
3830
3699
|
};
|
|
3831
3700
|
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
var
|
|
3701
|
+
const StepsStyle = "sq6vos1";
|
|
3702
|
+
const HorizontalStyle = "hjtnwxg";
|
|
3703
|
+
const VerticalStyle = "v1p8siwu";
|
|
3704
|
+
const HorizontalStepContentStyle = "h1xo7yjb";
|
|
3705
|
+
const VerticalStepContentStyle = "v1f2f7cy";
|
|
3706
|
+
|
|
3707
|
+
var __defProp$f = Object.defineProperty;
|
|
3708
|
+
var __defProps$f = Object.defineProperties;
|
|
3709
|
+
var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
|
|
3710
|
+
var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
|
|
3711
|
+
var __hasOwnProp$f = Object.prototype.hasOwnProperty;
|
|
3712
|
+
var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
|
|
3713
|
+
var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3714
|
+
var __spreadValues$f = (a, b) => {
|
|
3715
|
+
for (var prop in b || (b = {}))
|
|
3716
|
+
if (__hasOwnProp$f.call(b, prop))
|
|
3717
|
+
__defNormalProp$f(a, prop, b[prop]);
|
|
3718
|
+
if (__getOwnPropSymbols$f)
|
|
3719
|
+
for (var prop of __getOwnPropSymbols$f(b)) {
|
|
3720
|
+
if (__propIsEnum$f.call(b, prop))
|
|
3721
|
+
__defNormalProp$f(a, prop, b[prop]);
|
|
3722
|
+
}
|
|
3723
|
+
return a;
|
|
3724
|
+
};
|
|
3725
|
+
var __spreadProps$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
|
|
3726
|
+
var __objRest$5 = (source, exclude) => {
|
|
3727
|
+
var target = {};
|
|
3728
|
+
for (var prop in source)
|
|
3729
|
+
if (__hasOwnProp$f.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3730
|
+
target[prop] = source[prop];
|
|
3731
|
+
if (source != null && __getOwnPropSymbols$f)
|
|
3732
|
+
for (var prop of __getOwnPropSymbols$f(source)) {
|
|
3733
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$f.call(source, prop))
|
|
3734
|
+
target[prop] = source[prop];
|
|
3735
|
+
}
|
|
3736
|
+
return target;
|
|
3737
|
+
};
|
|
3738
|
+
const StepTitle = (props) => {
|
|
3739
|
+
const { current, step, index, isVerticalMode } = props;
|
|
3740
|
+
const textRef = React.useRef(null);
|
|
3741
|
+
const [tooltipEnable, setTooltipEnable] = React.useState({
|
|
3742
|
+
visible: false
|
|
3743
|
+
});
|
|
3744
|
+
React.useLayoutEffect(() => {
|
|
3745
|
+
if (textRef.current && textRef.current.offsetWidth < textRef.current.scrollWidth) {
|
|
3746
|
+
setTooltipEnable({});
|
|
3747
|
+
}
|
|
3748
|
+
}, [textRef]);
|
|
3749
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Tooltip, __spreadProps$f(__spreadValues$f({}, tooltipEnable), { title: step.title }), /* @__PURE__ */ React__namespace.default.createElement(
|
|
3750
|
+
"div",
|
|
3751
|
+
{
|
|
3752
|
+
className: isVerticalMode ? VerticalStepContentStyle : HorizontalStepContentStyle
|
|
3753
|
+
},
|
|
3754
|
+
/* @__PURE__ */ React__namespace.default.createElement("span", { className: "step-item-prefix-container" }, index < current ? /* @__PURE__ */ React__namespace.default.createElement(iconsReact.CheckmarkDoneSuccessCorrect16SecondaryIcon, null) : index + 1),
|
|
3755
|
+
/* @__PURE__ */ React__namespace.default.createElement("span", { ref: textRef, className: "step-item-title" }, /* @__PURE__ */ React__namespace.default.createElement("span", { className: "step-item-title" }, step.title))
|
|
3756
|
+
));
|
|
3757
|
+
};
|
|
3758
|
+
const Steps = (props) => {
|
|
3759
|
+
const _a = props, {
|
|
3760
|
+
stepsConfig,
|
|
3761
|
+
direction,
|
|
3762
|
+
containerClassname,
|
|
3763
|
+
current = 0,
|
|
3764
|
+
disabled
|
|
3765
|
+
} = _a, stepsProps = __objRest$5(_a, [
|
|
3766
|
+
"stepsConfig",
|
|
3767
|
+
"direction",
|
|
3768
|
+
"containerClassname",
|
|
3769
|
+
"current",
|
|
3770
|
+
"disabled"
|
|
3771
|
+
]);
|
|
3772
|
+
const isVerticalMode = direction === "vertical";
|
|
3773
|
+
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
3774
|
+
"div",
|
|
3775
|
+
{
|
|
3776
|
+
className: cs__default.default(
|
|
3777
|
+
containerClassname,
|
|
3778
|
+
StepsStyle,
|
|
3779
|
+
isVerticalMode ? VerticalStyle : HorizontalStyle
|
|
3780
|
+
)
|
|
3781
|
+
},
|
|
3782
|
+
/* @__PURE__ */ React__namespace.default.createElement(
|
|
3783
|
+
antd.Steps,
|
|
3784
|
+
__spreadProps$f(__spreadValues$f({}, stepsProps), {
|
|
3785
|
+
direction,
|
|
3786
|
+
current,
|
|
3787
|
+
type: "default"
|
|
3788
|
+
}),
|
|
3789
|
+
(stepsConfig == null ? void 0 : stepsConfig.length) ? stepsConfig.map((step, index) => /* @__PURE__ */ React__namespace.default.createElement(
|
|
3790
|
+
antd.Steps.Step,
|
|
3791
|
+
__spreadProps$f(__spreadValues$f({
|
|
3792
|
+
key: index
|
|
3793
|
+
}, step), {
|
|
3794
|
+
disabled: disabled || index > current,
|
|
3795
|
+
title: /* @__PURE__ */ React__namespace.default.createElement(
|
|
3796
|
+
StepTitle,
|
|
3797
|
+
{
|
|
3798
|
+
index,
|
|
3799
|
+
step,
|
|
3800
|
+
current,
|
|
3801
|
+
isVerticalMode
|
|
3802
|
+
}
|
|
3803
|
+
)
|
|
3804
|
+
})
|
|
3805
|
+
)) : props.children
|
|
3806
|
+
)
|
|
3807
|
+
);
|
|
3808
|
+
};
|
|
3809
|
+
|
|
3810
|
+
var __defProp$e = Object.defineProperty;
|
|
3811
|
+
var __defProps$e = Object.defineProperties;
|
|
3812
|
+
var __getOwnPropDescs$e = Object.getOwnPropertyDescriptors;
|
|
3813
|
+
var __getOwnPropSymbols$e = Object.getOwnPropertySymbols;
|
|
3814
|
+
var __hasOwnProp$e = Object.prototype.hasOwnProperty;
|
|
3815
|
+
var __propIsEnum$e = Object.prototype.propertyIsEnumerable;
|
|
3816
|
+
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, {
|
|
3839
3817
|
enumerable: true,
|
|
3840
3818
|
configurable: true,
|
|
3841
3819
|
writable: true,
|
|
3842
3820
|
value
|
|
3843
3821
|
}) : obj[key] = value;
|
|
3844
|
-
var __spreadValues$
|
|
3845
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3846
|
-
if (__getOwnPropSymbols$
|
|
3847
|
-
if (__propIsEnum$
|
|
3822
|
+
var __spreadValues$e = (a, b) => {
|
|
3823
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$e.call(b, prop)) __defNormalProp$e(a, prop, b[prop]);
|
|
3824
|
+
if (__getOwnPropSymbols$e) for (var prop of __getOwnPropSymbols$e(b)) {
|
|
3825
|
+
if (__propIsEnum$e.call(b, prop)) __defNormalProp$e(a, prop, b[prop]);
|
|
3848
3826
|
}
|
|
3849
3827
|
return a;
|
|
3850
3828
|
};
|
|
3851
|
-
var __spreadProps$
|
|
3829
|
+
var __spreadProps$e = (a, b) => __defProps$e(a, __getOwnPropDescs$e(b));
|
|
3852
3830
|
var __objRest$4 = (source, exclude) => {
|
|
3853
3831
|
var target = {};
|
|
3854
|
-
for (var prop in source) if (__hasOwnProp$
|
|
3855
|
-
if (source != null && __getOwnPropSymbols$
|
|
3856
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3832
|
+
for (var prop in source) if (__hasOwnProp$e.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
3833
|
+
if (source != null && __getOwnPropSymbols$e) for (var prop of __getOwnPropSymbols$e(source)) {
|
|
3834
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$e.call(source, prop)) target[prop] = source[prop];
|
|
3857
3835
|
}
|
|
3858
3836
|
return target;
|
|
3859
3837
|
};
|
|
@@ -3873,7 +3851,7 @@
|
|
|
3873
3851
|
});
|
|
3874
3852
|
const classNames = [className, SwitchStyle, "switch"];
|
|
3875
3853
|
if (props.size === "large") classNames.push("ant-switch-large");
|
|
3876
|
-
return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement(antd.Switch, __spreadProps$
|
|
3854
|
+
return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement(antd.Switch, __spreadProps$e(__spreadValues$e({
|
|
3877
3855
|
className: core.cx(...classNames),
|
|
3878
3856
|
checked: checked || false
|
|
3879
3857
|
}, props), {
|
|
@@ -3959,26 +3937,26 @@
|
|
|
3959
3937
|
}));
|
|
3960
3938
|
};
|
|
3961
3939
|
|
|
3962
|
-
var __defProp$
|
|
3963
|
-
var __defProps$
|
|
3964
|
-
var __getOwnPropDescs$
|
|
3965
|
-
var __getOwnPropSymbols$
|
|
3966
|
-
var __hasOwnProp$
|
|
3967
|
-
var __propIsEnum$
|
|
3968
|
-
var __defNormalProp$
|
|
3940
|
+
var __defProp$d = Object.defineProperty;
|
|
3941
|
+
var __defProps$d = Object.defineProperties;
|
|
3942
|
+
var __getOwnPropDescs$d = Object.getOwnPropertyDescriptors;
|
|
3943
|
+
var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
|
|
3944
|
+
var __hasOwnProp$d = Object.prototype.hasOwnProperty;
|
|
3945
|
+
var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
|
|
3946
|
+
var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, {
|
|
3969
3947
|
enumerable: true,
|
|
3970
3948
|
configurable: true,
|
|
3971
3949
|
writable: true,
|
|
3972
3950
|
value
|
|
3973
3951
|
}) : obj[key] = value;
|
|
3974
|
-
var __spreadValues$
|
|
3975
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3976
|
-
if (__getOwnPropSymbols$
|
|
3977
|
-
if (__propIsEnum$
|
|
3952
|
+
var __spreadValues$d = (a, b) => {
|
|
3953
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$d.call(b, prop)) __defNormalProp$d(a, prop, b[prop]);
|
|
3954
|
+
if (__getOwnPropSymbols$d) for (var prop of __getOwnPropSymbols$d(b)) {
|
|
3955
|
+
if (__propIsEnum$d.call(b, prop)) __defNormalProp$d(a, prop, b[prop]);
|
|
3978
3956
|
}
|
|
3979
3957
|
return a;
|
|
3980
3958
|
};
|
|
3981
|
-
var __spreadProps$
|
|
3959
|
+
var __spreadProps$d = (a, b) => __defProps$d(a, __getOwnPropDescs$d(b));
|
|
3982
3960
|
const TableContainerStyle = "t1upn1sz";
|
|
3983
3961
|
const tableStyleCover = "tta5kd2";
|
|
3984
3962
|
const Table = props => {
|
|
@@ -4005,7 +3983,7 @@
|
|
|
4005
3983
|
const orderRef = React.useRef(null);
|
|
4006
3984
|
const hasScrollBard = useTableBodyHasScrollBar(wrapper, dataSource);
|
|
4007
3985
|
const _columns = React.useMemo(() => columns.map(column => {
|
|
4008
|
-
const _column = __spreadValues$
|
|
3986
|
+
const _column = __spreadValues$d({}, column);
|
|
4009
3987
|
if (_column.sorter && typeof _column.title !== "function") {
|
|
4010
3988
|
_column.title = /* @__PURE__ */React__namespace.default.createElement(ColumnTitle, {
|
|
4011
3989
|
title: column.title,
|
|
@@ -4042,12 +4020,12 @@
|
|
|
4042
4020
|
onSorterChange == null ? void 0 : onSorterChange(orderRef.current, sorter.columnKey);
|
|
4043
4021
|
}
|
|
4044
4022
|
},
|
|
4045
|
-
onRow: (record, index) => __spreadValues$
|
|
4023
|
+
onRow: (record, index) => __spreadValues$d({
|
|
4046
4024
|
onClick: evt => onRowClick == null ? void 0 : onRowClick(record, index, evt)
|
|
4047
4025
|
}, onRow == null ? void 0 : onRow(record, index)),
|
|
4048
4026
|
rowClassName,
|
|
4049
4027
|
scroll,
|
|
4050
|
-
rowSelection: rowSelection && __spreadProps$
|
|
4028
|
+
rowSelection: rowSelection && __spreadProps$d(__spreadValues$d({}, rowSelection), {
|
|
4051
4029
|
columnWidth: 32
|
|
4052
4030
|
}),
|
|
4053
4031
|
showSorterTooltip: false
|
|
@@ -4102,40 +4080,40 @@
|
|
|
4102
4080
|
const moveItemInArray = (array, fromIndex, toIndex) => {
|
|
4103
4081
|
const arrLength = array.length;
|
|
4104
4082
|
const sortArr = [...array];
|
|
4105
|
-
if (fromIndex > -1 && fromIndex < arrLength) {
|
|
4106
|
-
const moveItem = sortArr.splice(fromIndex, 1)[0];
|
|
4107
|
-
sortArr.splice(toIndex, 0, moveItem);
|
|
4108
|
-
}
|
|
4109
|
-
return sortArr;
|
|
4110
|
-
};
|
|
4111
|
-
|
|
4112
|
-
var __defProp$
|
|
4113
|
-
var __defProps$
|
|
4114
|
-
var __getOwnPropDescs$
|
|
4115
|
-
var __getOwnPropSymbols$
|
|
4116
|
-
var __hasOwnProp$
|
|
4117
|
-
var __propIsEnum$
|
|
4118
|
-
var __defNormalProp$
|
|
4119
|
-
var __spreadValues$
|
|
4083
|
+
if (fromIndex > -1 && fromIndex < arrLength) {
|
|
4084
|
+
const moveItem = sortArr.splice(fromIndex, 1)[0];
|
|
4085
|
+
sortArr.splice(toIndex, 0, moveItem);
|
|
4086
|
+
}
|
|
4087
|
+
return sortArr;
|
|
4088
|
+
};
|
|
4089
|
+
|
|
4090
|
+
var __defProp$c = Object.defineProperty;
|
|
4091
|
+
var __defProps$c = Object.defineProperties;
|
|
4092
|
+
var __getOwnPropDescs$c = Object.getOwnPropertyDescriptors;
|
|
4093
|
+
var __getOwnPropSymbols$c = Object.getOwnPropertySymbols;
|
|
4094
|
+
var __hasOwnProp$c = Object.prototype.hasOwnProperty;
|
|
4095
|
+
var __propIsEnum$c = Object.prototype.propertyIsEnumerable;
|
|
4096
|
+
var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4097
|
+
var __spreadValues$c = (a, b) => {
|
|
4120
4098
|
for (var prop in b || (b = {}))
|
|
4121
|
-
if (__hasOwnProp$
|
|
4122
|
-
__defNormalProp$
|
|
4123
|
-
if (__getOwnPropSymbols$
|
|
4124
|
-
for (var prop of __getOwnPropSymbols$
|
|
4125
|
-
if (__propIsEnum$
|
|
4126
|
-
__defNormalProp$
|
|
4099
|
+
if (__hasOwnProp$c.call(b, prop))
|
|
4100
|
+
__defNormalProp$c(a, prop, b[prop]);
|
|
4101
|
+
if (__getOwnPropSymbols$c)
|
|
4102
|
+
for (var prop of __getOwnPropSymbols$c(b)) {
|
|
4103
|
+
if (__propIsEnum$c.call(b, prop))
|
|
4104
|
+
__defNormalProp$c(a, prop, b[prop]);
|
|
4127
4105
|
}
|
|
4128
4106
|
return a;
|
|
4129
4107
|
};
|
|
4130
|
-
var __spreadProps$
|
|
4108
|
+
var __spreadProps$c = (a, b) => __defProps$c(a, __getOwnPropDescs$c(b));
|
|
4131
4109
|
var __objRest$3 = (source, exclude) => {
|
|
4132
4110
|
var target = {};
|
|
4133
4111
|
for (var prop in source)
|
|
4134
|
-
if (__hasOwnProp$
|
|
4112
|
+
if (__hasOwnProp$c.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
4135
4113
|
target[prop] = source[prop];
|
|
4136
|
-
if (source != null && __getOwnPropSymbols$
|
|
4137
|
-
for (var prop of __getOwnPropSymbols$
|
|
4138
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4114
|
+
if (source != null && __getOwnPropSymbols$c)
|
|
4115
|
+
for (var prop of __getOwnPropSymbols$c(source)) {
|
|
4116
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$c.call(source, prop))
|
|
4139
4117
|
target[prop] = source[prop];
|
|
4140
4118
|
}
|
|
4141
4119
|
return target;
|
|
@@ -4176,9 +4154,9 @@
|
|
|
4176
4154
|
if (!columns.length) {
|
|
4177
4155
|
return null;
|
|
4178
4156
|
}
|
|
4179
|
-
return CustomizedButton ? /* @__PURE__ */ React__namespace.default.createElement(CustomizedButton, __spreadValues$
|
|
4157
|
+
return CustomizedButton ? /* @__PURE__ */ React__namespace.default.createElement(CustomizedButton, __spreadValues$c({}, props)) : /* @__PURE__ */ React__namespace.default.createElement(AddRowButtonWrapper, { className }, /* @__PURE__ */ React__namespace.default.createElement(
|
|
4180
4158
|
Button,
|
|
4181
|
-
__spreadProps$
|
|
4159
|
+
__spreadProps$c(__spreadValues$c({}, restButtonProps), {
|
|
4182
4160
|
type: restButtonProps.type || "ordinary",
|
|
4183
4161
|
size: restButtonProps.size || "small",
|
|
4184
4162
|
prefixIcon: restButtonProps.prefixIcon || /* @__PURE__ */ React__namespace.default.createElement(iconsReact.PlusAddCreateNew16SecondaryIcon, null),
|
|
@@ -4273,25 +4251,25 @@
|
|
|
4273
4251
|
);
|
|
4274
4252
|
};
|
|
4275
4253
|
|
|
4276
|
-
var __defProp$
|
|
4277
|
-
var __defProps$
|
|
4278
|
-
var __getOwnPropDescs$
|
|
4279
|
-
var __getOwnPropSymbols$
|
|
4280
|
-
var __hasOwnProp$
|
|
4281
|
-
var __propIsEnum$
|
|
4282
|
-
var __defNormalProp$
|
|
4283
|
-
var __spreadValues$
|
|
4254
|
+
var __defProp$b = Object.defineProperty;
|
|
4255
|
+
var __defProps$b = Object.defineProperties;
|
|
4256
|
+
var __getOwnPropDescs$b = Object.getOwnPropertyDescriptors;
|
|
4257
|
+
var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
|
|
4258
|
+
var __hasOwnProp$b = Object.prototype.hasOwnProperty;
|
|
4259
|
+
var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
|
|
4260
|
+
var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4261
|
+
var __spreadValues$b = (a, b) => {
|
|
4284
4262
|
for (var prop in b || (b = {}))
|
|
4285
|
-
if (__hasOwnProp$
|
|
4286
|
-
__defNormalProp$
|
|
4287
|
-
if (__getOwnPropSymbols$
|
|
4288
|
-
for (var prop of __getOwnPropSymbols$
|
|
4289
|
-
if (__propIsEnum$
|
|
4290
|
-
__defNormalProp$
|
|
4263
|
+
if (__hasOwnProp$b.call(b, prop))
|
|
4264
|
+
__defNormalProp$b(a, prop, b[prop]);
|
|
4265
|
+
if (__getOwnPropSymbols$b)
|
|
4266
|
+
for (var prop of __getOwnPropSymbols$b(b)) {
|
|
4267
|
+
if (__propIsEnum$b.call(b, prop))
|
|
4268
|
+
__defNormalProp$b(a, prop, b[prop]);
|
|
4291
4269
|
}
|
|
4292
4270
|
return a;
|
|
4293
4271
|
};
|
|
4294
|
-
var __spreadProps$
|
|
4272
|
+
var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
|
|
4295
4273
|
const InputPassword = (props) => {
|
|
4296
4274
|
const [showPassword, setShowPassword] = React.useState(false);
|
|
4297
4275
|
React.useEffect(() => {
|
|
@@ -4307,7 +4285,7 @@
|
|
|
4307
4285
|
const inputType = showPassword ? "text" : "password";
|
|
4308
4286
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
4309
4287
|
Input,
|
|
4310
|
-
__spreadProps$
|
|
4288
|
+
__spreadProps$b(__spreadValues$b({}, props), {
|
|
4311
4289
|
type: inputType,
|
|
4312
4290
|
suffix: showPassword ? /* @__PURE__ */ React__namespace.default.createElement(
|
|
4313
4291
|
icons.EyeOutlined,
|
|
@@ -4327,9 +4305,9 @@
|
|
|
4327
4305
|
};
|
|
4328
4306
|
const CustomInput = (props) => {
|
|
4329
4307
|
if (props.type === "password") {
|
|
4330
|
-
return /* @__PURE__ */ React__namespace.default.createElement(InputPassword, __spreadValues$
|
|
4308
|
+
return /* @__PURE__ */ React__namespace.default.createElement(InputPassword, __spreadValues$b({}, props));
|
|
4331
4309
|
}
|
|
4332
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Input, __spreadValues$
|
|
4310
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Input, __spreadValues$b({}, props));
|
|
4333
4311
|
};
|
|
4334
4312
|
const InputColumnHeaderCell = ({ disabled, column, onChange, onBlur, onVisibleChange }) => {
|
|
4335
4313
|
const _onChange = (e) => {
|
|
@@ -4453,25 +4431,25 @@
|
|
|
4453
4431
|
return ValidateTriggerType2;
|
|
4454
4432
|
})(ValidateTriggerType || {});
|
|
4455
4433
|
|
|
4456
|
-
var __defProp$
|
|
4457
|
-
var __defProps$
|
|
4458
|
-
var __getOwnPropDescs$
|
|
4459
|
-
var __getOwnPropSymbols$
|
|
4460
|
-
var __hasOwnProp$
|
|
4461
|
-
var __propIsEnum$
|
|
4462
|
-
var __defNormalProp$
|
|
4463
|
-
var __spreadValues$
|
|
4434
|
+
var __defProp$a = Object.defineProperty;
|
|
4435
|
+
var __defProps$a = Object.defineProperties;
|
|
4436
|
+
var __getOwnPropDescs$a = Object.getOwnPropertyDescriptors;
|
|
4437
|
+
var __getOwnPropSymbols$a = Object.getOwnPropertySymbols;
|
|
4438
|
+
var __hasOwnProp$a = Object.prototype.hasOwnProperty;
|
|
4439
|
+
var __propIsEnum$a = Object.prototype.propertyIsEnumerable;
|
|
4440
|
+
var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4441
|
+
var __spreadValues$a = (a, b) => {
|
|
4464
4442
|
for (var prop in b || (b = {}))
|
|
4465
|
-
if (__hasOwnProp$
|
|
4466
|
-
__defNormalProp$
|
|
4467
|
-
if (__getOwnPropSymbols$
|
|
4468
|
-
for (var prop of __getOwnPropSymbols$
|
|
4469
|
-
if (__propIsEnum$
|
|
4470
|
-
__defNormalProp$
|
|
4443
|
+
if (__hasOwnProp$a.call(b, prop))
|
|
4444
|
+
__defNormalProp$a(a, prop, b[prop]);
|
|
4445
|
+
if (__getOwnPropSymbols$a)
|
|
4446
|
+
for (var prop of __getOwnPropSymbols$a(b)) {
|
|
4447
|
+
if (__propIsEnum$a.call(b, prop))
|
|
4448
|
+
__defNormalProp$a(a, prop, b[prop]);
|
|
4471
4449
|
}
|
|
4472
4450
|
return a;
|
|
4473
4451
|
};
|
|
4474
|
-
var __spreadProps$
|
|
4452
|
+
var __spreadProps$a = (a, b) => __defProps$a(a, __getOwnPropDescs$a(b));
|
|
4475
4453
|
const TableFormBodyCell = (props) => {
|
|
4476
4454
|
const {
|
|
4477
4455
|
column,
|
|
@@ -4503,7 +4481,7 @@
|
|
|
4503
4481
|
(currentValue) => {
|
|
4504
4482
|
var _a;
|
|
4505
4483
|
const value = currentValue || data[rowIndex][column.key];
|
|
4506
|
-
const rowData = __spreadProps$
|
|
4484
|
+
const rowData = __spreadProps$a(__spreadValues$a({}, data[rowIndex]), { [column.key]: value });
|
|
4507
4485
|
const rowValidateRes = getRowValidateResult(rowData);
|
|
4508
4486
|
if (rowValidateRes) {
|
|
4509
4487
|
return;
|
|
@@ -4526,7 +4504,7 @@
|
|
|
4526
4504
|
}, [validateAll, triggerValidate]);
|
|
4527
4505
|
const _onChange = (value, data2) => {
|
|
4528
4506
|
const newData = data2.map(
|
|
4529
|
-
(row, i) => i === rowIndex ? __spreadProps$
|
|
4507
|
+
(row, i) => i === rowIndex ? __spreadProps$a(__spreadValues$a({}, row), { [column.key]: value }) : row
|
|
4530
4508
|
);
|
|
4531
4509
|
onChange == null ? void 0 : onChange(newData, rowIndex, column.key);
|
|
4532
4510
|
if (validateTriggerType === ValidateTriggerType.Normal && isTouched.current || validateTriggerType === ValidateTriggerType.Aggressive) {
|
|
@@ -4604,25 +4582,25 @@
|
|
|
4604
4582
|
);
|
|
4605
4583
|
};
|
|
4606
4584
|
|
|
4607
|
-
var __defProp$
|
|
4608
|
-
var __defProps$
|
|
4609
|
-
var __getOwnPropDescs$
|
|
4610
|
-
var __getOwnPropSymbols$
|
|
4611
|
-
var __hasOwnProp$
|
|
4612
|
-
var __propIsEnum$
|
|
4613
|
-
var __defNormalProp$
|
|
4614
|
-
var __spreadValues$
|
|
4585
|
+
var __defProp$9 = Object.defineProperty;
|
|
4586
|
+
var __defProps$9 = Object.defineProperties;
|
|
4587
|
+
var __getOwnPropDescs$9 = Object.getOwnPropertyDescriptors;
|
|
4588
|
+
var __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;
|
|
4589
|
+
var __hasOwnProp$9 = Object.prototype.hasOwnProperty;
|
|
4590
|
+
var __propIsEnum$9 = Object.prototype.propertyIsEnumerable;
|
|
4591
|
+
var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4592
|
+
var __spreadValues$9 = (a, b) => {
|
|
4615
4593
|
for (var prop in b || (b = {}))
|
|
4616
|
-
if (__hasOwnProp$
|
|
4617
|
-
__defNormalProp$
|
|
4618
|
-
if (__getOwnPropSymbols$
|
|
4619
|
-
for (var prop of __getOwnPropSymbols$
|
|
4620
|
-
if (__propIsEnum$
|
|
4621
|
-
__defNormalProp$
|
|
4594
|
+
if (__hasOwnProp$9.call(b, prop))
|
|
4595
|
+
__defNormalProp$9(a, prop, b[prop]);
|
|
4596
|
+
if (__getOwnPropSymbols$9)
|
|
4597
|
+
for (var prop of __getOwnPropSymbols$9(b)) {
|
|
4598
|
+
if (__propIsEnum$9.call(b, prop))
|
|
4599
|
+
__defNormalProp$9(a, prop, b[prop]);
|
|
4622
4600
|
}
|
|
4623
4601
|
return a;
|
|
4624
4602
|
};
|
|
4625
|
-
var __spreadProps$
|
|
4603
|
+
var __spreadProps$9 = (a, b) => __defProps$9(a, __getOwnPropDescs$9(b));
|
|
4626
4604
|
const TableFormRowDeleteAction = (props) => {
|
|
4627
4605
|
var _a, _b, _c, _d;
|
|
4628
4606
|
const { deleteConfig, row, updateData, rowIndex, data } = props;
|
|
@@ -4715,7 +4693,7 @@
|
|
|
4715
4693
|
);
|
|
4716
4694
|
});
|
|
4717
4695
|
const DraggableHandle = React.useMemo(
|
|
4718
|
-
() => draggable && provided ? /* @__PURE__ */ React__namespace.default.createElement(DraggableHandleWrapper, __spreadValues$
|
|
4696
|
+
() => draggable && provided ? /* @__PURE__ */ React__namespace.default.createElement(DraggableHandleWrapper, __spreadValues$9({}, provided.dragHandleProps), /* @__PURE__ */ React__namespace.default.createElement(
|
|
4719
4697
|
Icon,
|
|
4720
4698
|
{
|
|
4721
4699
|
src: iconsReact.HandlePoint816SecondaryIcon,
|
|
@@ -4777,7 +4755,7 @@
|
|
|
4777
4755
|
);
|
|
4778
4756
|
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(
|
|
4779
4757
|
"div",
|
|
4780
|
-
__spreadValues$
|
|
4758
|
+
__spreadValues$9({
|
|
4781
4759
|
className: "draggable-container",
|
|
4782
4760
|
ref: provided.innerRef
|
|
4783
4761
|
}, provided.droppableProps),
|
|
@@ -4788,9 +4766,9 @@
|
|
|
4788
4766
|
key: `draggable-id-${i}`,
|
|
4789
4767
|
index: i
|
|
4790
4768
|
},
|
|
4791
|
-
(provided2, snapshot) => /* @__PURE__ */ React__namespace.default.createElement("div", __spreadValues$
|
|
4769
|
+
(provided2, snapshot) => /* @__PURE__ */ React__namespace.default.createElement("div", __spreadValues$9({ ref: provided2.innerRef }, provided2.draggableProps), /* @__PURE__ */ React__namespace.default.createElement(
|
|
4792
4770
|
TableFormRow,
|
|
4793
|
-
__spreadProps$
|
|
4771
|
+
__spreadProps$9(__spreadValues$9({}, props), {
|
|
4794
4772
|
rowIndex: i,
|
|
4795
4773
|
provided: provided2,
|
|
4796
4774
|
snapshot
|
|
@@ -4798,28 +4776,28 @@
|
|
|
4798
4776
|
))
|
|
4799
4777
|
)),
|
|
4800
4778
|
provided.placeholder
|
|
4801
|
-
))) : /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, data.map((_d, i) => /* @__PURE__ */ React__namespace.default.createElement(TableFormRow, __spreadProps$
|
|
4779
|
+
))) : /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, data.map((_d, i) => /* @__PURE__ */ React__namespace.default.createElement(TableFormRow, __spreadProps$9(__spreadValues$9({}, props), { rowIndex: i, key: `table-row-${i}` }))));
|
|
4802
4780
|
});
|
|
4803
4781
|
|
|
4804
|
-
var __defProp$
|
|
4805
|
-
var __defProps$
|
|
4806
|
-
var __getOwnPropDescs$
|
|
4807
|
-
var __getOwnPropSymbols$
|
|
4808
|
-
var __hasOwnProp$
|
|
4809
|
-
var __propIsEnum$
|
|
4810
|
-
var __defNormalProp$
|
|
4811
|
-
var __spreadValues$
|
|
4782
|
+
var __defProp$8 = Object.defineProperty;
|
|
4783
|
+
var __defProps$8 = Object.defineProperties;
|
|
4784
|
+
var __getOwnPropDescs$8 = Object.getOwnPropertyDescriptors;
|
|
4785
|
+
var __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;
|
|
4786
|
+
var __hasOwnProp$8 = Object.prototype.hasOwnProperty;
|
|
4787
|
+
var __propIsEnum$8 = Object.prototype.propertyIsEnumerable;
|
|
4788
|
+
var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4789
|
+
var __spreadValues$8 = (a, b) => {
|
|
4812
4790
|
for (var prop in b || (b = {}))
|
|
4813
|
-
if (__hasOwnProp$
|
|
4814
|
-
__defNormalProp$
|
|
4815
|
-
if (__getOwnPropSymbols$
|
|
4816
|
-
for (var prop of __getOwnPropSymbols$
|
|
4817
|
-
if (__propIsEnum$
|
|
4818
|
-
__defNormalProp$
|
|
4791
|
+
if (__hasOwnProp$8.call(b, prop))
|
|
4792
|
+
__defNormalProp$8(a, prop, b[prop]);
|
|
4793
|
+
if (__getOwnPropSymbols$8)
|
|
4794
|
+
for (var prop of __getOwnPropSymbols$8(b)) {
|
|
4795
|
+
if (__propIsEnum$8.call(b, prop))
|
|
4796
|
+
__defNormalProp$8(a, prop, b[prop]);
|
|
4819
4797
|
}
|
|
4820
4798
|
return a;
|
|
4821
4799
|
};
|
|
4822
|
-
var __spreadProps$
|
|
4800
|
+
var __spreadProps$8 = (a, b) => __defProps$8(a, __getOwnPropDescs$8(b));
|
|
4823
4801
|
const BatchInputListHeaderCell = (props) => {
|
|
4824
4802
|
const { column, disabled, data, disableBatchFilling, onBlur, onChange } = props;
|
|
4825
4803
|
const [errMsg, setErrMsg] = React.useState();
|
|
@@ -4831,7 +4809,7 @@
|
|
|
4831
4809
|
setErrMsg(err || void 0);
|
|
4832
4810
|
const shouldAutoIncrease = column.type !== "password" && column.autoIncrease;
|
|
4833
4811
|
const newData = data.map((cell, rowIndex) => {
|
|
4834
|
-
return __spreadProps$
|
|
4812
|
+
return __spreadProps$8(__spreadValues$8({}, cell), {
|
|
4835
4813
|
[column.key]: shouldAutoIncrease && typeof value === "string" ? increaseLastNumber(value, rowIndex) : value
|
|
4836
4814
|
});
|
|
4837
4815
|
});
|
|
@@ -4848,7 +4826,7 @@
|
|
|
4848
4826
|
const CellComponent = ColumnHeaderImpls[column.type];
|
|
4849
4827
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
4850
4828
|
CellComponent,
|
|
4851
|
-
__spreadProps$
|
|
4829
|
+
__spreadProps$8(__spreadValues$8({}, props), {
|
|
4852
4830
|
column,
|
|
4853
4831
|
onChange: headerOnChange,
|
|
4854
4832
|
onBlur: _onBlur
|
|
@@ -4883,25 +4861,25 @@
|
|
|
4883
4861
|
);
|
|
4884
4862
|
};
|
|
4885
4863
|
|
|
4886
|
-
var __defProp$
|
|
4887
|
-
var __defProps$
|
|
4888
|
-
var __getOwnPropDescs$
|
|
4889
|
-
var __getOwnPropSymbols$
|
|
4890
|
-
var __hasOwnProp$
|
|
4891
|
-
var __propIsEnum$
|
|
4892
|
-
var __defNormalProp$
|
|
4893
|
-
var __spreadValues$
|
|
4864
|
+
var __defProp$7 = Object.defineProperty;
|
|
4865
|
+
var __defProps$7 = Object.defineProperties;
|
|
4866
|
+
var __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;
|
|
4867
|
+
var __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;
|
|
4868
|
+
var __hasOwnProp$7 = Object.prototype.hasOwnProperty;
|
|
4869
|
+
var __propIsEnum$7 = Object.prototype.propertyIsEnumerable;
|
|
4870
|
+
var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4871
|
+
var __spreadValues$7 = (a, b) => {
|
|
4894
4872
|
for (var prop in b || (b = {}))
|
|
4895
|
-
if (__hasOwnProp$
|
|
4896
|
-
__defNormalProp$
|
|
4897
|
-
if (__getOwnPropSymbols$
|
|
4898
|
-
for (var prop of __getOwnPropSymbols$
|
|
4899
|
-
if (__propIsEnum$
|
|
4900
|
-
__defNormalProp$
|
|
4873
|
+
if (__hasOwnProp$7.call(b, prop))
|
|
4874
|
+
__defNormalProp$7(a, prop, b[prop]);
|
|
4875
|
+
if (__getOwnPropSymbols$7)
|
|
4876
|
+
for (var prop of __getOwnPropSymbols$7(b)) {
|
|
4877
|
+
if (__propIsEnum$7.call(b, prop))
|
|
4878
|
+
__defNormalProp$7(a, prop, b[prop]);
|
|
4901
4879
|
}
|
|
4902
4880
|
return a;
|
|
4903
4881
|
};
|
|
4904
|
-
var __spreadProps$
|
|
4882
|
+
var __spreadProps$7 = (a, b) => __defProps$7(a, __getOwnPropDescs$7(b));
|
|
4905
4883
|
const DEFAULT_ROW_COUNT = 3;
|
|
4906
4884
|
const TableForm = React__namespace.default.forwardRef(
|
|
4907
4885
|
(props, ref) => {
|
|
@@ -4963,7 +4941,7 @@
|
|
|
4963
4941
|
(key, error) => {
|
|
4964
4942
|
if (error) {
|
|
4965
4943
|
const newData = latestData.map((cell) => {
|
|
4966
|
-
return __spreadProps$
|
|
4944
|
+
return __spreadProps$7(__spreadValues$7({}, cell), {
|
|
4967
4945
|
[key]: ""
|
|
4968
4946
|
});
|
|
4969
4947
|
});
|
|
@@ -5074,31 +5052,31 @@
|
|
|
5074
5052
|
const TagStyle$1 = "tnd6h4m";
|
|
5075
5053
|
const IconStyle$1 = "i1qw4clm";
|
|
5076
5054
|
|
|
5077
|
-
var __defProp$
|
|
5078
|
-
var __defProps$
|
|
5079
|
-
var __getOwnPropDescs$
|
|
5080
|
-
var __getOwnPropSymbols$
|
|
5081
|
-
var __hasOwnProp$
|
|
5082
|
-
var __propIsEnum$
|
|
5083
|
-
var __defNormalProp$
|
|
5055
|
+
var __defProp$6 = Object.defineProperty;
|
|
5056
|
+
var __defProps$6 = Object.defineProperties;
|
|
5057
|
+
var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
|
|
5058
|
+
var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
|
|
5059
|
+
var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
|
|
5060
|
+
var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
|
|
5061
|
+
var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, {
|
|
5084
5062
|
enumerable: true,
|
|
5085
5063
|
configurable: true,
|
|
5086
5064
|
writable: true,
|
|
5087
5065
|
value
|
|
5088
5066
|
}) : obj[key] = value;
|
|
5089
|
-
var __spreadValues$
|
|
5090
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
5091
|
-
if (__getOwnPropSymbols$
|
|
5092
|
-
if (__propIsEnum$
|
|
5067
|
+
var __spreadValues$6 = (a, b) => {
|
|
5068
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$6.call(b, prop)) __defNormalProp$6(a, prop, b[prop]);
|
|
5069
|
+
if (__getOwnPropSymbols$6) for (var prop of __getOwnPropSymbols$6(b)) {
|
|
5070
|
+
if (__propIsEnum$6.call(b, prop)) __defNormalProp$6(a, prop, b[prop]);
|
|
5093
5071
|
}
|
|
5094
5072
|
return a;
|
|
5095
5073
|
};
|
|
5096
|
-
var __spreadProps$
|
|
5074
|
+
var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
|
|
5097
5075
|
var __objRest$2 = (source, exclude) => {
|
|
5098
5076
|
var target = {};
|
|
5099
|
-
for (var prop in source) if (__hasOwnProp$
|
|
5100
|
-
if (source != null && __getOwnPropSymbols$
|
|
5101
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
5077
|
+
for (var prop in source) if (__hasOwnProp$6.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
5078
|
+
if (source != null && __getOwnPropSymbols$6) for (var prop of __getOwnPropSymbols$6(source)) {
|
|
5079
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$6.call(source, prop)) target[prop] = source[prop];
|
|
5102
5080
|
}
|
|
5103
5081
|
return target;
|
|
5104
5082
|
};
|
|
@@ -5114,7 +5092,7 @@
|
|
|
5114
5092
|
icon
|
|
5115
5093
|
} = _b,
|
|
5116
5094
|
props = __objRest$2(_b, ["size", "color", "className", "primaryContent", "secondaryContent", "icon"]);
|
|
5117
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$
|
|
5095
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$6(__spreadValues$6({}, props), {
|
|
5118
5096
|
className: cs__default.default(className, TagStyle$1, Size$1[size], WrapperStyle, Typo.Label.l4_regular, {
|
|
5119
5097
|
[`ant-tag-${color}`]: PresetColors$2.includes(color)
|
|
5120
5098
|
}, "outside-tag")
|
|
@@ -5127,33 +5105,33 @@
|
|
|
5127
5105
|
}, icon), primaryContent), secondaryContent);
|
|
5128
5106
|
};
|
|
5129
5107
|
|
|
5130
|
-
var __defProp$
|
|
5131
|
-
var __defProps$
|
|
5132
|
-
var __getOwnPropDescs$
|
|
5133
|
-
var __getOwnPropSymbols$
|
|
5134
|
-
var __hasOwnProp$
|
|
5135
|
-
var __propIsEnum$
|
|
5136
|
-
var __defNormalProp$
|
|
5137
|
-
var __spreadValues$
|
|
5108
|
+
var __defProp$5 = Object.defineProperty;
|
|
5109
|
+
var __defProps$5 = Object.defineProperties;
|
|
5110
|
+
var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
|
|
5111
|
+
var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;
|
|
5112
|
+
var __hasOwnProp$5 = Object.prototype.hasOwnProperty;
|
|
5113
|
+
var __propIsEnum$5 = Object.prototype.propertyIsEnumerable;
|
|
5114
|
+
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5115
|
+
var __spreadValues$5 = (a, b) => {
|
|
5138
5116
|
for (var prop in b || (b = {}))
|
|
5139
|
-
if (__hasOwnProp$
|
|
5140
|
-
__defNormalProp$
|
|
5141
|
-
if (__getOwnPropSymbols$
|
|
5142
|
-
for (var prop of __getOwnPropSymbols$
|
|
5143
|
-
if (__propIsEnum$
|
|
5144
|
-
__defNormalProp$
|
|
5117
|
+
if (__hasOwnProp$5.call(b, prop))
|
|
5118
|
+
__defNormalProp$5(a, prop, b[prop]);
|
|
5119
|
+
if (__getOwnPropSymbols$5)
|
|
5120
|
+
for (var prop of __getOwnPropSymbols$5(b)) {
|
|
5121
|
+
if (__propIsEnum$5.call(b, prop))
|
|
5122
|
+
__defNormalProp$5(a, prop, b[prop]);
|
|
5145
5123
|
}
|
|
5146
5124
|
return a;
|
|
5147
5125
|
};
|
|
5148
|
-
var __spreadProps$
|
|
5126
|
+
var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
|
|
5149
5127
|
var __objRest$1 = (source, exclude) => {
|
|
5150
5128
|
var target = {};
|
|
5151
5129
|
for (var prop in source)
|
|
5152
|
-
if (__hasOwnProp$
|
|
5130
|
+
if (__hasOwnProp$5.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
5153
5131
|
target[prop] = source[prop];
|
|
5154
|
-
if (source != null && __getOwnPropSymbols$
|
|
5155
|
-
for (var prop of __getOwnPropSymbols$
|
|
5156
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
5132
|
+
if (source != null && __getOwnPropSymbols$5)
|
|
5133
|
+
for (var prop of __getOwnPropSymbols$5(source)) {
|
|
5134
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$5.call(source, prop))
|
|
5157
5135
|
target[prop] = source[prop];
|
|
5158
5136
|
}
|
|
5159
5137
|
return target;
|
|
@@ -5189,7 +5167,7 @@
|
|
|
5189
5167
|
const computedColor = AntdColorMap[color] || color;
|
|
5190
5168
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
5191
5169
|
antd.Tag,
|
|
5192
|
-
__spreadProps$
|
|
5170
|
+
__spreadProps$5(__spreadValues$5({}, props), {
|
|
5193
5171
|
className: cs__default.default(className, Size$1[size], TagStyle$1, Typo.Label.l4_regular, {
|
|
5194
5172
|
[`ant-tag-${computedColor}`]: PresetColors$1.includes(computedColor),
|
|
5195
5173
|
"tag-hover": hoverable
|
|
@@ -5372,35 +5350,35 @@
|
|
|
5372
5350
|
|
|
5373
5351
|
const IconStyle = "iwsze0q";
|
|
5374
5352
|
|
|
5375
|
-
var __defProp$
|
|
5376
|
-
var __defProps$
|
|
5377
|
-
var __getOwnPropDescs$
|
|
5378
|
-
var __getOwnPropSymbols$
|
|
5379
|
-
var __hasOwnProp$
|
|
5380
|
-
var __propIsEnum$
|
|
5381
|
-
var __defNormalProp$
|
|
5353
|
+
var __defProp$4 = Object.defineProperty;
|
|
5354
|
+
var __defProps$4 = Object.defineProperties;
|
|
5355
|
+
var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
|
|
5356
|
+
var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
|
|
5357
|
+
var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
|
|
5358
|
+
var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
|
|
5359
|
+
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, {
|
|
5382
5360
|
enumerable: true,
|
|
5383
5361
|
configurable: true,
|
|
5384
5362
|
writable: true,
|
|
5385
5363
|
value
|
|
5386
5364
|
}) : obj[key] = value;
|
|
5387
|
-
var __spreadValues$
|
|
5388
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
5389
|
-
if (__getOwnPropSymbols$
|
|
5390
|
-
if (__propIsEnum$
|
|
5365
|
+
var __spreadValues$4 = (a, b) => {
|
|
5366
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$4.call(b, prop)) __defNormalProp$4(a, prop, b[prop]);
|
|
5367
|
+
if (__getOwnPropSymbols$4) for (var prop of __getOwnPropSymbols$4(b)) {
|
|
5368
|
+
if (__propIsEnum$4.call(b, prop)) __defNormalProp$4(a, prop, b[prop]);
|
|
5391
5369
|
}
|
|
5392
5370
|
return a;
|
|
5393
5371
|
};
|
|
5394
|
-
var __spreadProps$
|
|
5372
|
+
var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
|
|
5395
5373
|
var __objRest = (source, exclude) => {
|
|
5396
5374
|
var target = {};
|
|
5397
|
-
for (var prop in source) if (__hasOwnProp$
|
|
5398
|
-
if (source != null && __getOwnPropSymbols$
|
|
5399
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
5375
|
+
for (var prop in source) if (__hasOwnProp$4.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
5376
|
+
if (source != null && __getOwnPropSymbols$4) for (var prop of __getOwnPropSymbols$4(source)) {
|
|
5377
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$4.call(source, prop)) target[prop] = source[prop];
|
|
5400
5378
|
}
|
|
5401
5379
|
return target;
|
|
5402
5380
|
};
|
|
5403
|
-
const PresetColors = ["blue", "red", "yellow", "green", "gray"
|
|
5381
|
+
const PresetColors = ["blue", "red", "yellow", "green", "gray"];
|
|
5404
5382
|
const Size = {
|
|
5405
5383
|
small: "s1uupxds",
|
|
5406
5384
|
medium: "m10sqwut",
|
|
@@ -5419,14 +5397,14 @@
|
|
|
5419
5397
|
tooltipConfig
|
|
5420
5398
|
} = _b,
|
|
5421
5399
|
props = __objRest(_b, ["size", "color", "className", "icon", "checked", "children", "tooltipConfig"]);
|
|
5422
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$
|
|
5400
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$4(__spreadValues$4({}, props), {
|
|
5423
5401
|
ref,
|
|
5424
5402
|
className: cs__default.default(className, Size[size], TokenStyle, {
|
|
5425
5403
|
[Typo.Label.l4_regular]: size === "small" || size === "medium",
|
|
5426
5404
|
[Typo.Label.l3_regular]: size === "large",
|
|
5427
5405
|
[`ant-tag-${color}`]: PresetColors.includes(color)
|
|
5428
5406
|
}, "ui-kit-token", checked && "ui-kit-token-checked"),
|
|
5429
|
-
closeIcon: /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadValues$
|
|
5407
|
+
closeIcon: /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadValues$4({
|
|
5430
5408
|
title: tooltipConfig == null ? void 0 : tooltipConfig.title
|
|
5431
5409
|
}, !(tooltipConfig == null ? void 0 : tooltipConfig.title) && {
|
|
5432
5410
|
visible: false
|
|
@@ -5483,6 +5461,68 @@
|
|
|
5483
5461
|
}, Text);
|
|
5484
5462
|
};
|
|
5485
5463
|
|
|
5464
|
+
var __defProp$3 = Object.defineProperty;
|
|
5465
|
+
var __defProps$3 = Object.defineProperties;
|
|
5466
|
+
var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
|
|
5467
|
+
var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
|
|
5468
|
+
var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
|
|
5469
|
+
var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
|
|
5470
|
+
var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, {
|
|
5471
|
+
enumerable: true,
|
|
5472
|
+
configurable: true,
|
|
5473
|
+
writable: true,
|
|
5474
|
+
value
|
|
5475
|
+
}) : obj[key] = value;
|
|
5476
|
+
var __spreadValues$3 = (a, b) => {
|
|
5477
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$3.call(b, prop)) __defNormalProp$3(a, prop, b[prop]);
|
|
5478
|
+
if (__getOwnPropSymbols$3) for (var prop of __getOwnPropSymbols$3(b)) {
|
|
5479
|
+
if (__propIsEnum$3.call(b, prop)) __defNormalProp$3(a, prop, b[prop]);
|
|
5480
|
+
}
|
|
5481
|
+
return a;
|
|
5482
|
+
};
|
|
5483
|
+
var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
|
|
5484
|
+
const OverflowText = "o8ocss1";
|
|
5485
|
+
const NoWrap = "n17syc35";
|
|
5486
|
+
const OverflowTooltip = props => {
|
|
5487
|
+
const {
|
|
5488
|
+
content,
|
|
5489
|
+
className,
|
|
5490
|
+
onClick,
|
|
5491
|
+
isMultiLine
|
|
5492
|
+
} = props;
|
|
5493
|
+
const tooltip = props.tooltip || content;
|
|
5494
|
+
const [ellipsis, setEllipsis] = React.useState(false);
|
|
5495
|
+
const textRef = React.useRef(null);
|
|
5496
|
+
React.useEffect(() => {
|
|
5497
|
+
const ele = textRef.current;
|
|
5498
|
+
let observer;
|
|
5499
|
+
if (ele) {
|
|
5500
|
+
observer = new ResizeObserver(() => {
|
|
5501
|
+
if (isMultiLine) {
|
|
5502
|
+
setEllipsis(ele.scrollHeight > ele.offsetHeight);
|
|
5503
|
+
} else {
|
|
5504
|
+
setEllipsis(ele.scrollWidth > ele.offsetWidth);
|
|
5505
|
+
}
|
|
5506
|
+
});
|
|
5507
|
+
observer.observe(ele);
|
|
5508
|
+
}
|
|
5509
|
+
return () => {
|
|
5510
|
+
observer == null ? void 0 : observer.disconnect();
|
|
5511
|
+
};
|
|
5512
|
+
});
|
|
5513
|
+
return /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadProps$3(__spreadValues$3({}, !ellipsis && {
|
|
5514
|
+
visible: false
|
|
5515
|
+
}), {
|
|
5516
|
+
title: tooltip
|
|
5517
|
+
}), /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
5518
|
+
ref: textRef,
|
|
5519
|
+
className: core.cx(OverflowText, !isMultiLine && NoWrap, className),
|
|
5520
|
+
onClick: () => {
|
|
5521
|
+
onClick && onClick();
|
|
5522
|
+
}
|
|
5523
|
+
}, /* @__PURE__ */React__namespace.default.createElement("span", null, content)));
|
|
5524
|
+
};
|
|
5525
|
+
|
|
5486
5526
|
function getAntdKit() {
|
|
5487
5527
|
const kit = {
|
|
5488
5528
|
loading: Loading,
|
|
@@ -5575,6 +5615,7 @@
|
|
|
5575
5615
|
antdDrawer: antd.Drawer,
|
|
5576
5616
|
antdSteps: antd.Steps,
|
|
5577
5617
|
card: Card,
|
|
5618
|
+
overflowTooltip: OverflowTooltip,
|
|
5578
5619
|
truncate: Truncate,
|
|
5579
5620
|
expandableList: {
|
|
5580
5621
|
ExpandableContainer,
|