@cloudtower/eagle 0.27.21 → 0.27.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components.css +2172 -2111
- package/dist/coreX/BatchOperation/BatchOperation.stories.d.ts +6 -0
- package/dist/coreX/BatchOperation/index.d.ts +9 -0
- package/dist/coreX/index.d.ts +1 -0
- package/dist/esm/index.js +1157 -955
- package/dist/esm/stats1.html +1 -1
- package/dist/spec/base.d.ts +3 -1
- package/dist/spec/type.d.ts +30 -0
- package/dist/style.css +1635 -1574
- package/dist/umd/index.js +1157 -953
- package/dist/umd/stats1.html +1 -1
- package/package.json +7 -5
package/dist/umd/index.js
CHANGED
|
@@ -225,6 +225,36 @@
|
|
|
225
225
|
return /* @__PURE__ */ React__namespace.default.createElement("span", { className, style }, "-");
|
|
226
226
|
};
|
|
227
227
|
|
|
228
|
+
var __defProp$15 = Object.defineProperty;
|
|
229
|
+
var __getOwnPropSymbols$16 = Object.getOwnPropertySymbols;
|
|
230
|
+
var __hasOwnProp$16 = Object.prototype.hasOwnProperty;
|
|
231
|
+
var __propIsEnum$16 = Object.prototype.propertyIsEnumerable;
|
|
232
|
+
var __defNormalProp$15 = (obj, key, value) => key in obj ? __defProp$15(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
233
|
+
var __spreadValues$14 = (a, b) => {
|
|
234
|
+
for (var prop in b || (b = {}))
|
|
235
|
+
if (__hasOwnProp$16.call(b, prop))
|
|
236
|
+
__defNormalProp$15(a, prop, b[prop]);
|
|
237
|
+
if (__getOwnPropSymbols$16)
|
|
238
|
+
for (var prop of __getOwnPropSymbols$16(b)) {
|
|
239
|
+
if (__propIsEnum$16.call(b, prop))
|
|
240
|
+
__defNormalProp$15(a, prop, b[prop]);
|
|
241
|
+
}
|
|
242
|
+
return a;
|
|
243
|
+
};
|
|
244
|
+
const Bit = ({
|
|
245
|
+
rawValue,
|
|
246
|
+
decimals,
|
|
247
|
+
unitClassName,
|
|
248
|
+
valueClassName,
|
|
249
|
+
emptyProps
|
|
250
|
+
}) => {
|
|
251
|
+
if (isEmpty(rawValue)) {
|
|
252
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$14({}, emptyProps));
|
|
253
|
+
}
|
|
254
|
+
const { value, unit } = formatBits(rawValue, decimals);
|
|
255
|
+
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}`));
|
|
256
|
+
};
|
|
257
|
+
|
|
228
258
|
var __defProp$14 = Object.defineProperty;
|
|
229
259
|
var __getOwnPropSymbols$15 = Object.getOwnPropertySymbols;
|
|
230
260
|
var __hasOwnProp$15 = Object.prototype.hasOwnProperty;
|
|
@@ -241,17 +271,17 @@
|
|
|
241
271
|
}
|
|
242
272
|
return a;
|
|
243
273
|
};
|
|
244
|
-
const
|
|
274
|
+
const BitPerSeconds = ({
|
|
245
275
|
rawValue,
|
|
246
276
|
decimals,
|
|
247
|
-
unitClassName,
|
|
248
277
|
valueClassName,
|
|
278
|
+
unitClassName,
|
|
249
279
|
emptyProps
|
|
250
280
|
}) => {
|
|
251
281
|
if (isEmpty(rawValue)) {
|
|
252
282
|
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$13({}, emptyProps));
|
|
253
283
|
}
|
|
254
|
-
const { value, unit } =
|
|
284
|
+
const { value, unit } = formatBitPerSecond(rawValue, decimals);
|
|
255
285
|
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}`));
|
|
256
286
|
};
|
|
257
287
|
|
|
@@ -271,7 +301,7 @@
|
|
|
271
301
|
}
|
|
272
302
|
return a;
|
|
273
303
|
};
|
|
274
|
-
const
|
|
304
|
+
const Bps = ({
|
|
275
305
|
rawValue,
|
|
276
306
|
decimals,
|
|
277
307
|
valueClassName,
|
|
@@ -281,10 +311,16 @@
|
|
|
281
311
|
if (isEmpty(rawValue)) {
|
|
282
312
|
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$12({}, emptyProps));
|
|
283
313
|
}
|
|
284
|
-
const { value, unit } =
|
|
314
|
+
const { value, unit } = formatBps(rawValue, decimals);
|
|
285
315
|
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}`));
|
|
286
316
|
};
|
|
287
317
|
|
|
318
|
+
const useParrotTranslation = () => {
|
|
319
|
+
return reactI18next.useTranslation(void 0, {
|
|
320
|
+
i18n: parrot.parrotI18n
|
|
321
|
+
});
|
|
322
|
+
};
|
|
323
|
+
|
|
288
324
|
var __defProp$12 = Object.defineProperty;
|
|
289
325
|
var __getOwnPropSymbols$13 = Object.getOwnPropertySymbols;
|
|
290
326
|
var __hasOwnProp$13 = Object.prototype.hasOwnProperty;
|
|
@@ -301,26 +337,28 @@
|
|
|
301
337
|
}
|
|
302
338
|
return a;
|
|
303
339
|
};
|
|
304
|
-
const
|
|
340
|
+
const Byte = ({
|
|
305
341
|
rawValue,
|
|
342
|
+
noUnitOnZero,
|
|
306
343
|
decimals,
|
|
307
344
|
valueClassName,
|
|
308
345
|
unitClassName,
|
|
309
346
|
emptyProps
|
|
310
347
|
}) => {
|
|
348
|
+
const { t } = useParrotTranslation();
|
|
311
349
|
if (isEmpty(rawValue)) {
|
|
312
350
|
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$11({}, emptyProps));
|
|
313
351
|
}
|
|
314
|
-
|
|
352
|
+
if (rawValue === -1) {
|
|
353
|
+
return /* @__PURE__ */ React__namespace.default.createElement("span", null, t("common.calculation"));
|
|
354
|
+
}
|
|
355
|
+
const { value, unit } = formatBytes(rawValue, decimals);
|
|
356
|
+
if (noUnitOnZero && value === 0) {
|
|
357
|
+
return /* @__PURE__ */ React__namespace.default.createElement("span", { className: "value" }, value);
|
|
358
|
+
}
|
|
315
359
|
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}`));
|
|
316
360
|
};
|
|
317
361
|
|
|
318
|
-
const useParrotTranslation = () => {
|
|
319
|
-
return reactI18next.useTranslation(void 0, {
|
|
320
|
-
i18n: parrot.parrotI18n
|
|
321
|
-
});
|
|
322
|
-
};
|
|
323
|
-
|
|
324
362
|
var __defProp$11 = Object.defineProperty;
|
|
325
363
|
var __getOwnPropSymbols$12 = Object.getOwnPropertySymbols;
|
|
326
364
|
var __hasOwnProp$12 = Object.prototype.hasOwnProperty;
|
|
@@ -337,25 +375,17 @@
|
|
|
337
375
|
}
|
|
338
376
|
return a;
|
|
339
377
|
};
|
|
340
|
-
const
|
|
378
|
+
const Frequency = ({
|
|
341
379
|
rawValue,
|
|
342
|
-
noUnitOnZero,
|
|
343
380
|
decimals,
|
|
344
381
|
valueClassName,
|
|
345
382
|
unitClassName,
|
|
346
383
|
emptyProps
|
|
347
384
|
}) => {
|
|
348
|
-
const { t } = useParrotTranslation();
|
|
349
385
|
if (isEmpty(rawValue)) {
|
|
350
386
|
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$10({}, emptyProps));
|
|
351
387
|
}
|
|
352
|
-
|
|
353
|
-
return /* @__PURE__ */ React__namespace.default.createElement("span", null, t("common.calculation"));
|
|
354
|
-
}
|
|
355
|
-
const { value, unit } = formatBytes(rawValue, decimals);
|
|
356
|
-
if (noUnitOnZero && value === 0) {
|
|
357
|
-
return /* @__PURE__ */ React__namespace.default.createElement("span", { className: "value" }, value);
|
|
358
|
-
}
|
|
388
|
+
const { value, unit } = formatFrequency(rawValue, decimals);
|
|
359
389
|
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}`));
|
|
360
390
|
};
|
|
361
391
|
|
|
@@ -375,9 +405,10 @@
|
|
|
375
405
|
}
|
|
376
406
|
return a;
|
|
377
407
|
};
|
|
378
|
-
const
|
|
408
|
+
const Percent = ({
|
|
379
409
|
rawValue,
|
|
380
410
|
decimals,
|
|
411
|
+
saturated,
|
|
381
412
|
valueClassName,
|
|
382
413
|
unitClassName,
|
|
383
414
|
emptyProps
|
|
@@ -385,8 +416,8 @@
|
|
|
385
416
|
if (isEmpty(rawValue)) {
|
|
386
417
|
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$$({}, emptyProps));
|
|
387
418
|
}
|
|
388
|
-
const { value, unit } =
|
|
389
|
-
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) },
|
|
419
|
+
const { value, unit } = formatPercent(rawValue, decimals, saturated);
|
|
420
|
+
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));
|
|
390
421
|
};
|
|
391
422
|
|
|
392
423
|
var __defProp$$ = Object.defineProperty;
|
|
@@ -405,19 +436,20 @@
|
|
|
405
436
|
}
|
|
406
437
|
return a;
|
|
407
438
|
};
|
|
408
|
-
const
|
|
439
|
+
const Second = ({
|
|
409
440
|
rawValue,
|
|
410
441
|
decimals,
|
|
411
|
-
saturated,
|
|
412
442
|
valueClassName,
|
|
413
443
|
unitClassName,
|
|
444
|
+
abbreviate,
|
|
414
445
|
emptyProps
|
|
415
446
|
}) => {
|
|
447
|
+
const { t } = useParrotTranslation();
|
|
416
448
|
if (isEmpty(rawValue)) {
|
|
417
449
|
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$_({}, emptyProps));
|
|
418
450
|
}
|
|
419
|
-
const { value, unit } =
|
|
420
|
-
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));
|
|
451
|
+
const { value, unit } = formatSeconds(rawValue, decimals);
|
|
452
|
+
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}`)));
|
|
421
453
|
};
|
|
422
454
|
|
|
423
455
|
var __defProp$_ = Object.defineProperty;
|
|
@@ -436,20 +468,18 @@
|
|
|
436
468
|
}
|
|
437
469
|
return a;
|
|
438
470
|
};
|
|
439
|
-
const
|
|
471
|
+
const Speed = ({
|
|
440
472
|
rawValue,
|
|
441
473
|
decimals,
|
|
442
474
|
valueClassName,
|
|
443
475
|
unitClassName,
|
|
444
|
-
abbreviate,
|
|
445
476
|
emptyProps
|
|
446
477
|
}) => {
|
|
447
|
-
const { t } = useParrotTranslation();
|
|
448
478
|
if (isEmpty(rawValue)) {
|
|
449
479
|
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$Z({}, emptyProps));
|
|
450
480
|
}
|
|
451
|
-
const { value, unit } =
|
|
452
|
-
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value
|
|
481
|
+
const { value, unit } = formatSpeed(rawValue, decimals);
|
|
482
|
+
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}`));
|
|
453
483
|
};
|
|
454
484
|
|
|
455
485
|
var __defProp$Z = Object.defineProperty;
|
|
@@ -468,44 +498,14 @@
|
|
|
468
498
|
}
|
|
469
499
|
return a;
|
|
470
500
|
};
|
|
471
|
-
const Speed = ({
|
|
472
|
-
rawValue,
|
|
473
|
-
decimals,
|
|
474
|
-
valueClassName,
|
|
475
|
-
unitClassName,
|
|
476
|
-
emptyProps
|
|
477
|
-
}) => {
|
|
478
|
-
if (isEmpty(rawValue)) {
|
|
479
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$Y({}, emptyProps));
|
|
480
|
-
}
|
|
481
|
-
const { value, unit } = formatSpeed(rawValue, decimals);
|
|
482
|
-
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}`));
|
|
483
|
-
};
|
|
484
|
-
|
|
485
|
-
var __defProp$Y = Object.defineProperty;
|
|
486
|
-
var __getOwnPropSymbols$Z = Object.getOwnPropertySymbols;
|
|
487
|
-
var __hasOwnProp$Z = Object.prototype.hasOwnProperty;
|
|
488
|
-
var __propIsEnum$Z = Object.prototype.propertyIsEnumerable;
|
|
489
|
-
var __defNormalProp$Y = (obj, key, value) => key in obj ? __defProp$Y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
490
|
-
var __spreadValues$X = (a, b) => {
|
|
491
|
-
for (var prop in b || (b = {}))
|
|
492
|
-
if (__hasOwnProp$Z.call(b, prop))
|
|
493
|
-
__defNormalProp$Y(a, prop, b[prop]);
|
|
494
|
-
if (__getOwnPropSymbols$Z)
|
|
495
|
-
for (var prop of __getOwnPropSymbols$Z(b)) {
|
|
496
|
-
if (__propIsEnum$Z.call(b, prop))
|
|
497
|
-
__defNormalProp$Y(a, prop, b[prop]);
|
|
498
|
-
}
|
|
499
|
-
return a;
|
|
500
|
-
};
|
|
501
501
|
var __objRest$D = (source, exclude) => {
|
|
502
502
|
var target = {};
|
|
503
503
|
for (var prop in source)
|
|
504
|
-
if (__hasOwnProp$
|
|
504
|
+
if (__hasOwnProp$_.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
505
505
|
target[prop] = source[prop];
|
|
506
|
-
if (source != null && __getOwnPropSymbols$
|
|
507
|
-
for (var prop of __getOwnPropSymbols$
|
|
508
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
506
|
+
if (source != null && __getOwnPropSymbols$_)
|
|
507
|
+
for (var prop of __getOwnPropSymbols$_(source)) {
|
|
508
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$_.call(source, prop))
|
|
509
509
|
target[prop] = source[prop];
|
|
510
510
|
}
|
|
511
511
|
return target;
|
|
@@ -537,10 +537,10 @@
|
|
|
537
537
|
]);
|
|
538
538
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
539
539
|
"span",
|
|
540
|
-
__spreadValues$
|
|
540
|
+
__spreadValues$Y({
|
|
541
541
|
ref,
|
|
542
542
|
className,
|
|
543
|
-
style: ___default.default.pickBy(__spreadValues$
|
|
543
|
+
style: ___default.default.pickBy(__spreadValues$Y({ cursor }, style))
|
|
544
544
|
}, HTMLSpanElementProps),
|
|
545
545
|
prefixNode,
|
|
546
546
|
/* @__PURE__ */ React__namespace.default.createElement("span", { className: "icon-inner" }, typeof Src === "string" ? /* @__PURE__ */ React__namespace.default.createElement("img", { alt, src: Src, width, height }) : /* @__PURE__ */ React__namespace.default.createElement(reactSvgUniqueId.SVGUniqueID, null, Src({ width, height }))),
|
|
@@ -550,31 +550,31 @@
|
|
|
550
550
|
}
|
|
551
551
|
);
|
|
552
552
|
|
|
553
|
-
var __defProp$
|
|
553
|
+
var __defProp$Y = Object.defineProperty;
|
|
554
554
|
var __defProps$I = Object.defineProperties;
|
|
555
555
|
var __getOwnPropDescs$I = Object.getOwnPropertyDescriptors;
|
|
556
|
-
var __getOwnPropSymbols$
|
|
557
|
-
var __hasOwnProp$
|
|
558
|
-
var __propIsEnum$
|
|
559
|
-
var __defNormalProp$
|
|
556
|
+
var __getOwnPropSymbols$Z = Object.getOwnPropertySymbols;
|
|
557
|
+
var __hasOwnProp$Z = Object.prototype.hasOwnProperty;
|
|
558
|
+
var __propIsEnum$Z = Object.prototype.propertyIsEnumerable;
|
|
559
|
+
var __defNormalProp$Y = (obj, key, value) => key in obj ? __defProp$Y(obj, key, {
|
|
560
560
|
enumerable: true,
|
|
561
561
|
configurable: true,
|
|
562
562
|
writable: true,
|
|
563
563
|
value
|
|
564
564
|
}) : obj[key] = value;
|
|
565
|
-
var __spreadValues$
|
|
566
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
567
|
-
if (__getOwnPropSymbols$
|
|
568
|
-
if (__propIsEnum$
|
|
565
|
+
var __spreadValues$X = (a, b) => {
|
|
566
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$Z.call(b, prop)) __defNormalProp$Y(a, prop, b[prop]);
|
|
567
|
+
if (__getOwnPropSymbols$Z) for (var prop of __getOwnPropSymbols$Z(b)) {
|
|
568
|
+
if (__propIsEnum$Z.call(b, prop)) __defNormalProp$Y(a, prop, b[prop]);
|
|
569
569
|
}
|
|
570
570
|
return a;
|
|
571
571
|
};
|
|
572
572
|
var __spreadProps$I = (a, b) => __defProps$I(a, __getOwnPropDescs$I(b));
|
|
573
573
|
var __objRest$C = (source, exclude) => {
|
|
574
574
|
var target = {};
|
|
575
|
-
for (var prop in source) if (__hasOwnProp$
|
|
576
|
-
if (source != null && __getOwnPropSymbols$
|
|
577
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
575
|
+
for (var prop in source) if (__hasOwnProp$Z.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
576
|
+
if (source != null && __getOwnPropSymbols$Z) for (var prop of __getOwnPropSymbols$Z(source)) {
|
|
577
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$Z.call(source, prop)) target[prop] = source[prop];
|
|
578
578
|
}
|
|
579
579
|
return target;
|
|
580
580
|
};
|
|
@@ -626,14 +626,14 @@
|
|
|
626
626
|
}
|
|
627
627
|
return src2;
|
|
628
628
|
}, [active, hover, suffix]);
|
|
629
|
-
return /* @__PURE__ */React__namespace.default.createElement(BaseIcon, __spreadProps$I(__spreadValues$
|
|
629
|
+
return /* @__PURE__ */React__namespace.default.createElement(BaseIcon, __spreadProps$I(__spreadValues$X({
|
|
630
630
|
src: _src,
|
|
631
631
|
className: cs__default.default(IconWrapper, "icon-wrapper", className, isRotate && "is-rotate"),
|
|
632
632
|
suffixIconSrc,
|
|
633
633
|
height: iconHeight,
|
|
634
634
|
width: iconWidth,
|
|
635
635
|
prefixNode: prefix,
|
|
636
|
-
style: ___default.default.pickBy(__spreadValues$
|
|
636
|
+
style: ___default.default.pickBy(__spreadValues$X({
|
|
637
637
|
cursor
|
|
638
638
|
}, style))
|
|
639
639
|
}, restProps), {
|
|
@@ -658,30 +658,30 @@
|
|
|
658
658
|
}));
|
|
659
659
|
});
|
|
660
660
|
|
|
661
|
-
var __defProp$
|
|
662
|
-
var __getOwnPropSymbols$
|
|
663
|
-
var __hasOwnProp$
|
|
664
|
-
var __propIsEnum$
|
|
665
|
-
var __defNormalProp$
|
|
666
|
-
var __spreadValues$
|
|
661
|
+
var __defProp$X = Object.defineProperty;
|
|
662
|
+
var __getOwnPropSymbols$Y = Object.getOwnPropertySymbols;
|
|
663
|
+
var __hasOwnProp$Y = Object.prototype.hasOwnProperty;
|
|
664
|
+
var __propIsEnum$Y = Object.prototype.propertyIsEnumerable;
|
|
665
|
+
var __defNormalProp$X = (obj, key, value) => key in obj ? __defProp$X(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
666
|
+
var __spreadValues$W = (a, b) => {
|
|
667
667
|
for (var prop in b || (b = {}))
|
|
668
|
-
if (__hasOwnProp$
|
|
669
|
-
__defNormalProp$
|
|
670
|
-
if (__getOwnPropSymbols$
|
|
671
|
-
for (var prop of __getOwnPropSymbols$
|
|
672
|
-
if (__propIsEnum$
|
|
673
|
-
__defNormalProp$
|
|
668
|
+
if (__hasOwnProp$Y.call(b, prop))
|
|
669
|
+
__defNormalProp$X(a, prop, b[prop]);
|
|
670
|
+
if (__getOwnPropSymbols$Y)
|
|
671
|
+
for (var prop of __getOwnPropSymbols$Y(b)) {
|
|
672
|
+
if (__propIsEnum$Y.call(b, prop))
|
|
673
|
+
__defNormalProp$X(a, prop, b[prop]);
|
|
674
674
|
}
|
|
675
675
|
return a;
|
|
676
676
|
};
|
|
677
677
|
var __objRest$B = (source, exclude) => {
|
|
678
678
|
var target = {};
|
|
679
679
|
for (var prop in source)
|
|
680
|
-
if (__hasOwnProp$
|
|
680
|
+
if (__hasOwnProp$Y.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
681
681
|
target[prop] = source[prop];
|
|
682
|
-
if (source != null && __getOwnPropSymbols$
|
|
683
|
-
for (var prop of __getOwnPropSymbols$
|
|
684
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
682
|
+
if (source != null && __getOwnPropSymbols$Y)
|
|
683
|
+
for (var prop of __getOwnPropSymbols$Y(source)) {
|
|
684
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$Y.call(source, prop))
|
|
685
685
|
target[prop] = source[prop];
|
|
686
686
|
}
|
|
687
687
|
return target;
|
|
@@ -702,7 +702,7 @@
|
|
|
702
702
|
]);
|
|
703
703
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
704
704
|
reactTransitionGroup.CSSTransition,
|
|
705
|
-
__spreadValues$
|
|
705
|
+
__spreadValues$W({
|
|
706
706
|
in: visible,
|
|
707
707
|
timeout: timeout || 200,
|
|
708
708
|
mountOnEnter,
|
|
@@ -962,21 +962,21 @@
|
|
|
962
962
|
}, props.children));
|
|
963
963
|
};
|
|
964
964
|
|
|
965
|
-
var __defProp$
|
|
965
|
+
var __defProp$W = Object.defineProperty;
|
|
966
966
|
var __defProps$H = Object.defineProperties;
|
|
967
967
|
var __getOwnPropDescs$H = Object.getOwnPropertyDescriptors;
|
|
968
|
-
var __getOwnPropSymbols$
|
|
969
|
-
var __hasOwnProp$
|
|
970
|
-
var __propIsEnum$
|
|
971
|
-
var __defNormalProp$
|
|
972
|
-
var __spreadValues$
|
|
968
|
+
var __getOwnPropSymbols$X = Object.getOwnPropertySymbols;
|
|
969
|
+
var __hasOwnProp$X = Object.prototype.hasOwnProperty;
|
|
970
|
+
var __propIsEnum$X = Object.prototype.propertyIsEnumerable;
|
|
971
|
+
var __defNormalProp$W = (obj, key, value) => key in obj ? __defProp$W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
972
|
+
var __spreadValues$V = (a, b) => {
|
|
973
973
|
for (var prop in b || (b = {}))
|
|
974
|
-
if (__hasOwnProp$
|
|
975
|
-
__defNormalProp$
|
|
976
|
-
if (__getOwnPropSymbols$
|
|
977
|
-
for (var prop of __getOwnPropSymbols$
|
|
978
|
-
if (__propIsEnum$
|
|
979
|
-
__defNormalProp$
|
|
974
|
+
if (__hasOwnProp$X.call(b, prop))
|
|
975
|
+
__defNormalProp$W(a, prop, b[prop]);
|
|
976
|
+
if (__getOwnPropSymbols$X)
|
|
977
|
+
for (var prop of __getOwnPropSymbols$X(b)) {
|
|
978
|
+
if (__propIsEnum$X.call(b, prop))
|
|
979
|
+
__defNormalProp$W(a, prop, b[prop]);
|
|
980
980
|
}
|
|
981
981
|
return a;
|
|
982
982
|
};
|
|
@@ -984,11 +984,11 @@
|
|
|
984
984
|
var __objRest$A = (source, exclude) => {
|
|
985
985
|
var target = {};
|
|
986
986
|
for (var prop in source)
|
|
987
|
-
if (__hasOwnProp$
|
|
987
|
+
if (__hasOwnProp$X.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
988
988
|
target[prop] = source[prop];
|
|
989
|
-
if (source != null && __getOwnPropSymbols$
|
|
990
|
-
for (var prop of __getOwnPropSymbols$
|
|
991
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
989
|
+
if (source != null && __getOwnPropSymbols$X)
|
|
990
|
+
for (var prop of __getOwnPropSymbols$X(source)) {
|
|
991
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$X.call(source, prop))
|
|
992
992
|
target[prop] = source[prop];
|
|
993
993
|
}
|
|
994
994
|
return target;
|
|
@@ -1042,10 +1042,10 @@
|
|
|
1042
1042
|
}, [followMouse, onmousemove, uniqueContainerClass]);
|
|
1043
1043
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
1044
1044
|
antd.Tooltip,
|
|
1045
|
-
__spreadProps$H(__spreadValues$
|
|
1045
|
+
__spreadProps$H(__spreadValues$V({}, restProps), {
|
|
1046
1046
|
overlayClassName: followMouse ? cs__default.default(overlayClassName, uniquePopupClass) : overlayClassName,
|
|
1047
1047
|
children: _children,
|
|
1048
|
-
overlayStyle: followMouse ? __spreadValues$
|
|
1048
|
+
overlayStyle: followMouse ? __spreadValues$V({
|
|
1049
1049
|
transform: "translate(-50%, -100%)",
|
|
1050
1050
|
pointerEvents: "none"
|
|
1051
1051
|
}, overlayStyle) : overlayStyle
|
|
@@ -1248,20 +1248,20 @@
|
|
|
1248
1248
|
)
|
|
1249
1249
|
);
|
|
1250
1250
|
|
|
1251
|
-
var __defProp$
|
|
1252
|
-
var __getOwnPropSymbols$
|
|
1253
|
-
var __hasOwnProp$
|
|
1254
|
-
var __propIsEnum$
|
|
1255
|
-
var __defNormalProp$
|
|
1251
|
+
var __defProp$V = Object.defineProperty;
|
|
1252
|
+
var __getOwnPropSymbols$W = Object.getOwnPropertySymbols;
|
|
1253
|
+
var __hasOwnProp$W = Object.prototype.hasOwnProperty;
|
|
1254
|
+
var __propIsEnum$W = Object.prototype.propertyIsEnumerable;
|
|
1255
|
+
var __defNormalProp$V = (obj, key, value) => key in obj ? __defProp$V(obj, key, {
|
|
1256
1256
|
enumerable: true,
|
|
1257
1257
|
configurable: true,
|
|
1258
1258
|
writable: true,
|
|
1259
1259
|
value
|
|
1260
1260
|
}) : obj[key] = value;
|
|
1261
|
-
var __spreadValues$
|
|
1262
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1263
|
-
if (__getOwnPropSymbols$
|
|
1264
|
-
if (__propIsEnum$
|
|
1261
|
+
var __spreadValues$U = (a, b) => {
|
|
1262
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$W.call(b, prop)) __defNormalProp$V(a, prop, b[prop]);
|
|
1263
|
+
if (__getOwnPropSymbols$W) for (var prop of __getOwnPropSymbols$W(b)) {
|
|
1264
|
+
if (__propIsEnum$W.call(b, prop)) __defNormalProp$V(a, prop, b[prop]);
|
|
1265
1265
|
}
|
|
1266
1266
|
return a;
|
|
1267
1267
|
};
|
|
@@ -1336,7 +1336,7 @@
|
|
|
1336
1336
|
saturated
|
|
1337
1337
|
}) : /* @__PURE__ */React__namespace.default.createElement(Unit, {
|
|
1338
1338
|
rawValue
|
|
1339
|
-
})), chartType === "donutChart" && /* @__PURE__ */React__namespace.default.createElement(DonutChart, __spreadValues$
|
|
1339
|
+
})), chartType === "donutChart" && /* @__PURE__ */React__namespace.default.createElement(DonutChart, __spreadValues$U({
|
|
1340
1340
|
data: [{
|
|
1341
1341
|
used: rawValue / total,
|
|
1342
1342
|
fill: color
|
|
@@ -1492,28 +1492,28 @@
|
|
|
1492
1492
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, render());
|
|
1493
1493
|
};
|
|
1494
1494
|
|
|
1495
|
-
var __defProp$
|
|
1496
|
-
var __getOwnPropSymbols$
|
|
1497
|
-
var __hasOwnProp$
|
|
1498
|
-
var __propIsEnum$
|
|
1499
|
-
var __defNormalProp$
|
|
1500
|
-
var __spreadValues$
|
|
1495
|
+
var __defProp$U = Object.defineProperty;
|
|
1496
|
+
var __getOwnPropSymbols$V = Object.getOwnPropertySymbols;
|
|
1497
|
+
var __hasOwnProp$V = Object.prototype.hasOwnProperty;
|
|
1498
|
+
var __propIsEnum$V = Object.prototype.propertyIsEnumerable;
|
|
1499
|
+
var __defNormalProp$U = (obj, key, value) => key in obj ? __defProp$U(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1500
|
+
var __spreadValues$T = (a, b) => {
|
|
1501
1501
|
for (var prop in b || (b = {}))
|
|
1502
|
-
if (__hasOwnProp$
|
|
1503
|
-
__defNormalProp$
|
|
1504
|
-
if (__getOwnPropSymbols$
|
|
1505
|
-
for (var prop of __getOwnPropSymbols$
|
|
1506
|
-
if (__propIsEnum$
|
|
1507
|
-
__defNormalProp$
|
|
1502
|
+
if (__hasOwnProp$V.call(b, prop))
|
|
1503
|
+
__defNormalProp$U(a, prop, b[prop]);
|
|
1504
|
+
if (__getOwnPropSymbols$V)
|
|
1505
|
+
for (var prop of __getOwnPropSymbols$V(b)) {
|
|
1506
|
+
if (__propIsEnum$V.call(b, prop))
|
|
1507
|
+
__defNormalProp$U(a, prop, b[prop]);
|
|
1508
1508
|
}
|
|
1509
1509
|
return a;
|
|
1510
1510
|
};
|
|
1511
|
-
const Calendar = (props) => /* @__PURE__ */ React__namespace.default.createElement(antd.Calendar, __spreadValues$
|
|
1511
|
+
const Calendar = (props) => /* @__PURE__ */ React__namespace.default.createElement(antd.Calendar, __spreadValues$T({}, props));
|
|
1512
1512
|
|
|
1513
|
-
var __defProp$
|
|
1514
|
-
var __defNormalProp$
|
|
1513
|
+
var __defProp$T = Object.defineProperty;
|
|
1514
|
+
var __defNormalProp$T = (obj, key, value) => key in obj ? __defProp$T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1515
1515
|
var __publicField$1 = (obj, key, value) => {
|
|
1516
|
-
__defNormalProp$
|
|
1516
|
+
__defNormalProp$T(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
1517
1517
|
return value;
|
|
1518
1518
|
};
|
|
1519
1519
|
dayjs__default.default.extend(UTC__default.default);
|
|
@@ -2072,28 +2072,28 @@
|
|
|
2072
2072
|
return icon != null ? React__namespace.default.cloneElement(icon, { className }) : null;
|
|
2073
2073
|
};
|
|
2074
2074
|
|
|
2075
|
-
var __defProp$
|
|
2076
|
-
var __getOwnPropSymbols$
|
|
2077
|
-
var __hasOwnProp$
|
|
2078
|
-
var __propIsEnum$
|
|
2079
|
-
var __defNormalProp$
|
|
2075
|
+
var __defProp$S = Object.defineProperty;
|
|
2076
|
+
var __getOwnPropSymbols$U = Object.getOwnPropertySymbols;
|
|
2077
|
+
var __hasOwnProp$U = Object.prototype.hasOwnProperty;
|
|
2078
|
+
var __propIsEnum$U = Object.prototype.propertyIsEnumerable;
|
|
2079
|
+
var __defNormalProp$S = (obj, key, value) => key in obj ? __defProp$S(obj, key, {
|
|
2080
2080
|
enumerable: true,
|
|
2081
2081
|
configurable: true,
|
|
2082
2082
|
writable: true,
|
|
2083
2083
|
value
|
|
2084
2084
|
}) : obj[key] = value;
|
|
2085
|
-
var __spreadValues$
|
|
2086
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2087
|
-
if (__getOwnPropSymbols$
|
|
2088
|
-
if (__propIsEnum$
|
|
2085
|
+
var __spreadValues$S = (a, b) => {
|
|
2086
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$U.call(b, prop)) __defNormalProp$S(a, prop, b[prop]);
|
|
2087
|
+
if (__getOwnPropSymbols$U) for (var prop of __getOwnPropSymbols$U(b)) {
|
|
2088
|
+
if (__propIsEnum$U.call(b, prop)) __defNormalProp$S(a, prop, b[prop]);
|
|
2089
2089
|
}
|
|
2090
2090
|
return a;
|
|
2091
2091
|
};
|
|
2092
2092
|
var __objRest$z = (source, exclude) => {
|
|
2093
2093
|
var target = {};
|
|
2094
|
-
for (var prop in source) if (__hasOwnProp$
|
|
2095
|
-
if (source != null && __getOwnPropSymbols$
|
|
2096
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2094
|
+
for (var prop in source) if (__hasOwnProp$U.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2095
|
+
if (source != null && __getOwnPropSymbols$U) for (var prop of __getOwnPropSymbols$U(source)) {
|
|
2096
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$U.call(source, prop)) target[prop] = source[prop];
|
|
2097
2097
|
}
|
|
2098
2098
|
return target;
|
|
2099
2099
|
};
|
|
@@ -2121,7 +2121,7 @@
|
|
|
2121
2121
|
const hasIcon = prefixIcon || suffixIcon;
|
|
2122
2122
|
const hasHoverIcon = hoverPrefixIcon || hoverSuffixIcon;
|
|
2123
2123
|
const onlyIcon = !children && (prefixIcon || suffixIcon);
|
|
2124
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Button, __spreadValues$
|
|
2124
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Button, __spreadValues$S({
|
|
2125
2125
|
ref,
|
|
2126
2126
|
className: cs__default.default(className, ButtonStyle$1, type === "link" && NoPadding, size === "large" && Typo.Label.l1_regular_title, size === "middle" && Typo.Label.l2_regular_title, size === "small" && Typo.Label.l3_regular_title, type && `ant-btn-${type}`, onlyIcon && "ant-btn-icon-only"),
|
|
2127
2127
|
type: isAntdButtonTypes(type) ? type : void 0,
|
|
@@ -2151,31 +2151,31 @@
|
|
|
2151
2151
|
}));
|
|
2152
2152
|
});
|
|
2153
2153
|
|
|
2154
|
-
var __defProp$
|
|
2154
|
+
var __defProp$R = Object.defineProperty;
|
|
2155
2155
|
var __defProps$G = Object.defineProperties;
|
|
2156
2156
|
var __getOwnPropDescs$G = Object.getOwnPropertyDescriptors;
|
|
2157
|
-
var __getOwnPropSymbols$
|
|
2158
|
-
var __hasOwnProp$
|
|
2159
|
-
var __propIsEnum$
|
|
2160
|
-
var __defNormalProp$
|
|
2157
|
+
var __getOwnPropSymbols$T = Object.getOwnPropertySymbols;
|
|
2158
|
+
var __hasOwnProp$T = Object.prototype.hasOwnProperty;
|
|
2159
|
+
var __propIsEnum$T = Object.prototype.propertyIsEnumerable;
|
|
2160
|
+
var __defNormalProp$R = (obj, key, value) => key in obj ? __defProp$R(obj, key, {
|
|
2161
2161
|
enumerable: true,
|
|
2162
2162
|
configurable: true,
|
|
2163
2163
|
writable: true,
|
|
2164
2164
|
value
|
|
2165
2165
|
}) : obj[key] = value;
|
|
2166
|
-
var __spreadValues$
|
|
2167
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2168
|
-
if (__getOwnPropSymbols$
|
|
2169
|
-
if (__propIsEnum$
|
|
2166
|
+
var __spreadValues$R = (a, b) => {
|
|
2167
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$T.call(b, prop)) __defNormalProp$R(a, prop, b[prop]);
|
|
2168
|
+
if (__getOwnPropSymbols$T) for (var prop of __getOwnPropSymbols$T(b)) {
|
|
2169
|
+
if (__propIsEnum$T.call(b, prop)) __defNormalProp$R(a, prop, b[prop]);
|
|
2170
2170
|
}
|
|
2171
2171
|
return a;
|
|
2172
2172
|
};
|
|
2173
2173
|
var __spreadProps$G = (a, b) => __defProps$G(a, __getOwnPropDescs$G(b));
|
|
2174
2174
|
var __objRest$y = (source, exclude) => {
|
|
2175
2175
|
var target = {};
|
|
2176
|
-
for (var prop in source) if (__hasOwnProp$
|
|
2177
|
-
if (source != null && __getOwnPropSymbols$
|
|
2178
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2176
|
+
for (var prop in source) if (__hasOwnProp$T.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2177
|
+
if (source != null && __getOwnPropSymbols$T) for (var prop of __getOwnPropSymbols$T(source)) {
|
|
2178
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$T.call(source, prop)) target[prop] = source[prop];
|
|
2179
2179
|
}
|
|
2180
2180
|
return target;
|
|
2181
2181
|
};
|
|
@@ -2189,7 +2189,7 @@
|
|
|
2189
2189
|
compact
|
|
2190
2190
|
} = _b,
|
|
2191
2191
|
props = __objRest$y(_b, ["className", "children", "description", "compact"]);
|
|
2192
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Checkbox, __spreadProps$G(__spreadValues$
|
|
2192
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Checkbox, __spreadProps$G(__spreadValues$R({}, props), {
|
|
2193
2193
|
"data-test": props["data-test"] || props.value,
|
|
2194
2194
|
className: cs__default.default(className, CheckboxStyle, compact && "compact")
|
|
2195
2195
|
}), children ? /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
@@ -2199,30 +2199,30 @@
|
|
|
2199
2199
|
}, description) : null) : null);
|
|
2200
2200
|
};
|
|
2201
2201
|
|
|
2202
|
-
var __defProp$
|
|
2203
|
-
var __getOwnPropSymbols$
|
|
2204
|
-
var __hasOwnProp$
|
|
2205
|
-
var __propIsEnum$
|
|
2206
|
-
var __defNormalProp$
|
|
2207
|
-
var __spreadValues$
|
|
2202
|
+
var __defProp$Q = Object.defineProperty;
|
|
2203
|
+
var __getOwnPropSymbols$S = Object.getOwnPropertySymbols;
|
|
2204
|
+
var __hasOwnProp$S = Object.prototype.hasOwnProperty;
|
|
2205
|
+
var __propIsEnum$S = Object.prototype.propertyIsEnumerable;
|
|
2206
|
+
var __defNormalProp$Q = (obj, key, value) => key in obj ? __defProp$Q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2207
|
+
var __spreadValues$Q = (a, b) => {
|
|
2208
2208
|
for (var prop in b || (b = {}))
|
|
2209
|
-
if (__hasOwnProp$
|
|
2210
|
-
__defNormalProp$
|
|
2211
|
-
if (__getOwnPropSymbols$
|
|
2212
|
-
for (var prop of __getOwnPropSymbols$
|
|
2213
|
-
if (__propIsEnum$
|
|
2214
|
-
__defNormalProp$
|
|
2209
|
+
if (__hasOwnProp$S.call(b, prop))
|
|
2210
|
+
__defNormalProp$Q(a, prop, b[prop]);
|
|
2211
|
+
if (__getOwnPropSymbols$S)
|
|
2212
|
+
for (var prop of __getOwnPropSymbols$S(b)) {
|
|
2213
|
+
if (__propIsEnum$S.call(b, prop))
|
|
2214
|
+
__defNormalProp$Q(a, prop, b[prop]);
|
|
2215
2215
|
}
|
|
2216
2216
|
return a;
|
|
2217
2217
|
};
|
|
2218
2218
|
var __objRest$x = (source, exclude) => {
|
|
2219
2219
|
var target = {};
|
|
2220
2220
|
for (var prop in source)
|
|
2221
|
-
if (__hasOwnProp$
|
|
2221
|
+
if (__hasOwnProp$S.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2222
2222
|
target[prop] = source[prop];
|
|
2223
|
-
if (source != null && __getOwnPropSymbols$
|
|
2224
|
-
for (var prop of __getOwnPropSymbols$
|
|
2225
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2223
|
+
if (source != null && __getOwnPropSymbols$S)
|
|
2224
|
+
for (var prop of __getOwnPropSymbols$S(source)) {
|
|
2225
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$S.call(source, prop))
|
|
2226
2226
|
target[prop] = source[prop];
|
|
2227
2227
|
}
|
|
2228
2228
|
return target;
|
|
@@ -2231,7 +2231,7 @@
|
|
|
2231
2231
|
var _b = _a, { input, children } = _b, props = __objRest$x(_b, ["input", "children"]);
|
|
2232
2232
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
2233
2233
|
Checkbox,
|
|
2234
|
-
__spreadValues$
|
|
2234
|
+
__spreadValues$Q({
|
|
2235
2235
|
checked: Boolean(input.value),
|
|
2236
2236
|
onChange: (e) => input.onChange(e.target.checked)
|
|
2237
2237
|
}, props),
|
|
@@ -2256,17 +2256,17 @@
|
|
|
2256
2256
|
}
|
|
2257
2257
|
));
|
|
2258
2258
|
|
|
2259
|
-
var __getOwnPropSymbols$
|
|
2260
|
-
var __hasOwnProp$
|
|
2261
|
-
var __propIsEnum$
|
|
2259
|
+
var __getOwnPropSymbols$R = Object.getOwnPropertySymbols;
|
|
2260
|
+
var __hasOwnProp$R = Object.prototype.hasOwnProperty;
|
|
2261
|
+
var __propIsEnum$R = Object.prototype.propertyIsEnumerable;
|
|
2262
2262
|
var __objRest$w = (source, exclude) => {
|
|
2263
2263
|
var target = {};
|
|
2264
2264
|
for (var prop in source)
|
|
2265
|
-
if (__hasOwnProp$
|
|
2265
|
+
if (__hasOwnProp$R.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2266
2266
|
target[prop] = source[prop];
|
|
2267
|
-
if (source != null && __getOwnPropSymbols$
|
|
2268
|
-
for (var prop of __getOwnPropSymbols$
|
|
2269
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2267
|
+
if (source != null && __getOwnPropSymbols$R)
|
|
2268
|
+
for (var prop of __getOwnPropSymbols$R(source)) {
|
|
2269
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$R.call(source, prop))
|
|
2270
2270
|
target[prop] = source[prop];
|
|
2271
2271
|
}
|
|
2272
2272
|
return target;
|
|
@@ -2303,56 +2303,56 @@
|
|
|
2303
2303
|
const LoadingLine2 = "l13g0exg";
|
|
2304
2304
|
const LoadingLine3 = "l1exo3h6";
|
|
2305
2305
|
|
|
2306
|
-
var __defProp$
|
|
2306
|
+
var __defProp$P = Object.defineProperty;
|
|
2307
2307
|
var __defProps$F = Object.defineProperties;
|
|
2308
2308
|
var __getOwnPropDescs$F = Object.getOwnPropertyDescriptors;
|
|
2309
|
-
var __getOwnPropSymbols$
|
|
2310
|
-
var __hasOwnProp$
|
|
2311
|
-
var __propIsEnum$
|
|
2312
|
-
var __defNormalProp$
|
|
2313
|
-
var __spreadValues$
|
|
2314
|
-
for (var prop in b || (b = {}))
|
|
2315
|
-
if (__hasOwnProp$
|
|
2316
|
-
__defNormalProp$
|
|
2317
|
-
if (__getOwnPropSymbols$
|
|
2318
|
-
for (var prop of __getOwnPropSymbols$
|
|
2319
|
-
if (__propIsEnum$
|
|
2320
|
-
__defNormalProp$
|
|
2321
|
-
}
|
|
2322
|
-
return a;
|
|
2323
|
-
};
|
|
2309
|
+
var __getOwnPropSymbols$Q = Object.getOwnPropertySymbols;
|
|
2310
|
+
var __hasOwnProp$Q = Object.prototype.hasOwnProperty;
|
|
2311
|
+
var __propIsEnum$Q = Object.prototype.propertyIsEnumerable;
|
|
2312
|
+
var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2313
|
+
var __spreadValues$P = (a, b) => {
|
|
2314
|
+
for (var prop in b || (b = {}))
|
|
2315
|
+
if (__hasOwnProp$Q.call(b, prop))
|
|
2316
|
+
__defNormalProp$P(a, prop, b[prop]);
|
|
2317
|
+
if (__getOwnPropSymbols$Q)
|
|
2318
|
+
for (var prop of __getOwnPropSymbols$Q(b)) {
|
|
2319
|
+
if (__propIsEnum$Q.call(b, prop))
|
|
2320
|
+
__defNormalProp$P(a, prop, b[prop]);
|
|
2321
|
+
}
|
|
2322
|
+
return a;
|
|
2323
|
+
};
|
|
2324
2324
|
var __spreadProps$F = (a, b) => __defProps$F(a, __getOwnPropDescs$F(b));
|
|
2325
2325
|
const Loading = ({ fullView = true }) => {
|
|
2326
2326
|
const Wrapper = fullView ? FullView : React.Fragment;
|
|
2327
2327
|
const props = fullView ? { className: "loading-full-view" } : {};
|
|
2328
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Wrapper, __spreadProps$F(__spreadValues$
|
|
2328
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Wrapper, __spreadProps$F(__spreadValues$P({}, props), { "data-testid": "loading" }), /* @__PURE__ */ React__namespace.default.createElement("div", { className: LoadingWrapper }, /* @__PURE__ */ React__namespace.default.createElement("div", { className: LoadingLine1 }), /* @__PURE__ */ React__namespace.default.createElement("div", { className: LoadingLine2 }), /* @__PURE__ */ React__namespace.default.createElement("div", { className: LoadingLine3 })));
|
|
2329
2329
|
};
|
|
2330
2330
|
|
|
2331
|
-
var __defProp$
|
|
2331
|
+
var __defProp$O = Object.defineProperty;
|
|
2332
2332
|
var __defProps$E = Object.defineProperties;
|
|
2333
2333
|
var __getOwnPropDescs$E = Object.getOwnPropertyDescriptors;
|
|
2334
|
-
var __getOwnPropSymbols$
|
|
2335
|
-
var __hasOwnProp$
|
|
2336
|
-
var __propIsEnum$
|
|
2337
|
-
var __defNormalProp$
|
|
2334
|
+
var __getOwnPropSymbols$P = Object.getOwnPropertySymbols;
|
|
2335
|
+
var __hasOwnProp$P = Object.prototype.hasOwnProperty;
|
|
2336
|
+
var __propIsEnum$P = Object.prototype.propertyIsEnumerable;
|
|
2337
|
+
var __defNormalProp$O = (obj, key, value) => key in obj ? __defProp$O(obj, key, {
|
|
2338
2338
|
enumerable: true,
|
|
2339
2339
|
configurable: true,
|
|
2340
2340
|
writable: true,
|
|
2341
2341
|
value
|
|
2342
2342
|
}) : obj[key] = value;
|
|
2343
|
-
var __spreadValues$
|
|
2344
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2345
|
-
if (__getOwnPropSymbols$
|
|
2346
|
-
if (__propIsEnum$
|
|
2343
|
+
var __spreadValues$O = (a, b) => {
|
|
2344
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$P.call(b, prop)) __defNormalProp$O(a, prop, b[prop]);
|
|
2345
|
+
if (__getOwnPropSymbols$P) for (var prop of __getOwnPropSymbols$P(b)) {
|
|
2346
|
+
if (__propIsEnum$P.call(b, prop)) __defNormalProp$O(a, prop, b[prop]);
|
|
2347
2347
|
}
|
|
2348
2348
|
return a;
|
|
2349
2349
|
};
|
|
2350
2350
|
var __spreadProps$E = (a, b) => __defProps$E(a, __getOwnPropDescs$E(b));
|
|
2351
2351
|
var __objRest$v = (source, exclude) => {
|
|
2352
2352
|
var target = {};
|
|
2353
|
-
for (var prop in source) if (__hasOwnProp$
|
|
2354
|
-
if (source != null && __getOwnPropSymbols$
|
|
2355
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2353
|
+
for (var prop in source) if (__hasOwnProp$P.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2354
|
+
if (source != null && __getOwnPropSymbols$P) for (var prop of __getOwnPropSymbols$P(source)) {
|
|
2355
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$P.call(source, prop)) target[prop] = source[prop];
|
|
2356
2356
|
}
|
|
2357
2357
|
return target;
|
|
2358
2358
|
};
|
|
@@ -2406,7 +2406,7 @@
|
|
|
2406
2406
|
inputDom && (placeholder || item) && inputDom.setAttribute("data-test", String(placeholder || item.textContent));
|
|
2407
2407
|
}
|
|
2408
2408
|
}, [selectRef, placeholder]);
|
|
2409
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Select, __spreadValues$
|
|
2409
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Select, __spreadValues$O(__spreadProps$E(__spreadValues$O({}, input), {
|
|
2410
2410
|
ref: selectRef,
|
|
2411
2411
|
size,
|
|
2412
2412
|
value: multiple ? input.value || [] : input.value || void 0,
|
|
@@ -2447,38 +2447,38 @@
|
|
|
2447
2447
|
loading,
|
|
2448
2448
|
placeholder
|
|
2449
2449
|
}), restProps), React__namespace.default.Children.map(children, child => {
|
|
2450
|
-
return reactIs.isElement(child) ? __spreadProps$E(__spreadValues$
|
|
2451
|
-
props: __spreadProps$E(__spreadValues$
|
|
2450
|
+
return reactIs.isElement(child) ? __spreadProps$E(__spreadValues$O({}, child), {
|
|
2451
|
+
props: __spreadProps$E(__spreadValues$O({}, child.props), {
|
|
2452
2452
|
"data-test": child.props.value
|
|
2453
2453
|
})
|
|
2454
2454
|
}) : child;
|
|
2455
2455
|
}));
|
|
2456
2456
|
};
|
|
2457
2457
|
|
|
2458
|
-
var __defProp$
|
|
2459
|
-
var __getOwnPropSymbols$
|
|
2460
|
-
var __hasOwnProp$
|
|
2461
|
-
var __propIsEnum$
|
|
2462
|
-
var __defNormalProp$
|
|
2463
|
-
var __spreadValues$
|
|
2458
|
+
var __defProp$N = Object.defineProperty;
|
|
2459
|
+
var __getOwnPropSymbols$O = Object.getOwnPropertySymbols;
|
|
2460
|
+
var __hasOwnProp$O = Object.prototype.hasOwnProperty;
|
|
2461
|
+
var __propIsEnum$O = Object.prototype.propertyIsEnumerable;
|
|
2462
|
+
var __defNormalProp$N = (obj, key, value) => key in obj ? __defProp$N(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2463
|
+
var __spreadValues$N = (a, b) => {
|
|
2464
2464
|
for (var prop in b || (b = {}))
|
|
2465
|
-
if (__hasOwnProp$
|
|
2466
|
-
__defNormalProp$
|
|
2467
|
-
if (__getOwnPropSymbols$
|
|
2468
|
-
for (var prop of __getOwnPropSymbols$
|
|
2469
|
-
if (__propIsEnum$
|
|
2470
|
-
__defNormalProp$
|
|
2465
|
+
if (__hasOwnProp$O.call(b, prop))
|
|
2466
|
+
__defNormalProp$N(a, prop, b[prop]);
|
|
2467
|
+
if (__getOwnPropSymbols$O)
|
|
2468
|
+
for (var prop of __getOwnPropSymbols$O(b)) {
|
|
2469
|
+
if (__propIsEnum$O.call(b, prop))
|
|
2470
|
+
__defNormalProp$N(a, prop, b[prop]);
|
|
2471
2471
|
}
|
|
2472
2472
|
return a;
|
|
2473
2473
|
};
|
|
2474
2474
|
var __objRest$u = (source, exclude) => {
|
|
2475
2475
|
var target = {};
|
|
2476
2476
|
for (var prop in source)
|
|
2477
|
-
if (__hasOwnProp$
|
|
2477
|
+
if (__hasOwnProp$O.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2478
2478
|
target[prop] = source[prop];
|
|
2479
|
-
if (source != null && __getOwnPropSymbols$
|
|
2480
|
-
for (var prop of __getOwnPropSymbols$
|
|
2481
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2479
|
+
if (source != null && __getOwnPropSymbols$O)
|
|
2480
|
+
for (var prop of __getOwnPropSymbols$O(source)) {
|
|
2481
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$O.call(source, prop))
|
|
2482
2482
|
target[prop] = source[prop];
|
|
2483
2483
|
}
|
|
2484
2484
|
return target;
|
|
@@ -2493,7 +2493,7 @@
|
|
|
2493
2493
|
"enumValues",
|
|
2494
2494
|
"emptyLabel"
|
|
2495
2495
|
]);
|
|
2496
|
-
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(Select, __spreadValues$
|
|
2496
|
+
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(Select, __spreadValues$N({}, restProps), emptyLabel && /* @__PURE__ */ React__namespace.default.createElement(antd.Select.Option, { value: "" }, emptyLabel), enumValues.map((v) => {
|
|
2497
2497
|
const item = typeof v === "string" ? { value: v, text: v } : v;
|
|
2498
2498
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
2499
2499
|
antd.Select.Option,
|
|
@@ -2507,31 +2507,31 @@
|
|
|
2507
2507
|
})));
|
|
2508
2508
|
};
|
|
2509
2509
|
|
|
2510
|
-
var __defProp$
|
|
2510
|
+
var __defProp$M = Object.defineProperty;
|
|
2511
2511
|
var __defProps$D = Object.defineProperties;
|
|
2512
2512
|
var __getOwnPropDescs$D = Object.getOwnPropertyDescriptors;
|
|
2513
|
-
var __getOwnPropSymbols$
|
|
2514
|
-
var __hasOwnProp$
|
|
2515
|
-
var __propIsEnum$
|
|
2516
|
-
var __defNormalProp$
|
|
2513
|
+
var __getOwnPropSymbols$N = Object.getOwnPropertySymbols;
|
|
2514
|
+
var __hasOwnProp$N = Object.prototype.hasOwnProperty;
|
|
2515
|
+
var __propIsEnum$N = Object.prototype.propertyIsEnumerable;
|
|
2516
|
+
var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, {
|
|
2517
2517
|
enumerable: true,
|
|
2518
2518
|
configurable: true,
|
|
2519
2519
|
writable: true,
|
|
2520
2520
|
value
|
|
2521
2521
|
}) : obj[key] = value;
|
|
2522
|
-
var __spreadValues$
|
|
2523
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2524
|
-
if (__getOwnPropSymbols$
|
|
2525
|
-
if (__propIsEnum$
|
|
2522
|
+
var __spreadValues$M = (a, b) => {
|
|
2523
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$N.call(b, prop)) __defNormalProp$M(a, prop, b[prop]);
|
|
2524
|
+
if (__getOwnPropSymbols$N) for (var prop of __getOwnPropSymbols$N(b)) {
|
|
2525
|
+
if (__propIsEnum$N.call(b, prop)) __defNormalProp$M(a, prop, b[prop]);
|
|
2526
2526
|
}
|
|
2527
2527
|
return a;
|
|
2528
2528
|
};
|
|
2529
2529
|
var __spreadProps$D = (a, b) => __defProps$D(a, __getOwnPropDescs$D(b));
|
|
2530
2530
|
var __objRest$t = (source, exclude) => {
|
|
2531
2531
|
var target = {};
|
|
2532
|
-
for (var prop in source) if (__hasOwnProp$
|
|
2533
|
-
if (source != null && __getOwnPropSymbols$
|
|
2534
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2532
|
+
for (var prop in source) if (__hasOwnProp$N.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2533
|
+
if (source != null && __getOwnPropSymbols$N) for (var prop of __getOwnPropSymbols$N(source)) {
|
|
2534
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$N.call(source, prop)) target[prop] = source[prop];
|
|
2535
2535
|
}
|
|
2536
2536
|
return target;
|
|
2537
2537
|
};
|
|
@@ -2573,7 +2573,7 @@
|
|
|
2573
2573
|
middle: Typo.Label.l3_regular,
|
|
2574
2574
|
small: Typo.Label.l4_regular
|
|
2575
2575
|
}[size];
|
|
2576
|
-
return /* @__PURE__ */React__namespace.default.createElement(AntdInputNumberStyled, __spreadProps$D(__spreadValues$
|
|
2576
|
+
return /* @__PURE__ */React__namespace.default.createElement(AntdInputNumberStyled, __spreadProps$D(__spreadValues$M({}, props), {
|
|
2577
2577
|
size,
|
|
2578
2578
|
controls,
|
|
2579
2579
|
"data-test": props.name,
|
|
@@ -2583,21 +2583,21 @@
|
|
|
2583
2583
|
}));
|
|
2584
2584
|
};
|
|
2585
2585
|
|
|
2586
|
-
var __defProp$
|
|
2586
|
+
var __defProp$L = Object.defineProperty;
|
|
2587
2587
|
var __defProps$C = Object.defineProperties;
|
|
2588
2588
|
var __getOwnPropDescs$C = Object.getOwnPropertyDescriptors;
|
|
2589
|
-
var __getOwnPropSymbols$
|
|
2590
|
-
var __hasOwnProp$
|
|
2591
|
-
var __propIsEnum$
|
|
2592
|
-
var __defNormalProp$
|
|
2593
|
-
var __spreadValues$
|
|
2589
|
+
var __getOwnPropSymbols$M = Object.getOwnPropertySymbols;
|
|
2590
|
+
var __hasOwnProp$M = Object.prototype.hasOwnProperty;
|
|
2591
|
+
var __propIsEnum$M = Object.prototype.propertyIsEnumerable;
|
|
2592
|
+
var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2593
|
+
var __spreadValues$L = (a, b) => {
|
|
2594
2594
|
for (var prop in b || (b = {}))
|
|
2595
|
-
if (__hasOwnProp$
|
|
2596
|
-
__defNormalProp$
|
|
2597
|
-
if (__getOwnPropSymbols$
|
|
2598
|
-
for (var prop of __getOwnPropSymbols$
|
|
2599
|
-
if (__propIsEnum$
|
|
2600
|
-
__defNormalProp$
|
|
2595
|
+
if (__hasOwnProp$M.call(b, prop))
|
|
2596
|
+
__defNormalProp$L(a, prop, b[prop]);
|
|
2597
|
+
if (__getOwnPropSymbols$M)
|
|
2598
|
+
for (var prop of __getOwnPropSymbols$M(b)) {
|
|
2599
|
+
if (__propIsEnum$M.call(b, prop))
|
|
2600
|
+
__defNormalProp$L(a, prop, b[prop]);
|
|
2601
2601
|
}
|
|
2602
2602
|
return a;
|
|
2603
2603
|
};
|
|
@@ -2605,11 +2605,11 @@
|
|
|
2605
2605
|
var __objRest$s = (source, exclude) => {
|
|
2606
2606
|
var target = {};
|
|
2607
2607
|
for (var prop in source)
|
|
2608
|
-
if (__hasOwnProp$
|
|
2608
|
+
if (__hasOwnProp$M.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2609
2609
|
target[prop] = source[prop];
|
|
2610
|
-
if (source != null && __getOwnPropSymbols$
|
|
2611
|
-
for (var prop of __getOwnPropSymbols$
|
|
2612
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2610
|
+
if (source != null && __getOwnPropSymbols$M)
|
|
2611
|
+
for (var prop of __getOwnPropSymbols$M(source)) {
|
|
2612
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$M.call(source, prop))
|
|
2613
2613
|
target[prop] = source[prop];
|
|
2614
2614
|
}
|
|
2615
2615
|
return target;
|
|
@@ -2628,7 +2628,7 @@
|
|
|
2628
2628
|
]);
|
|
2629
2629
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
2630
2630
|
InputNumber,
|
|
2631
|
-
__spreadValues$
|
|
2631
|
+
__spreadValues$L(__spreadProps$C(__spreadValues$L({}, input), {
|
|
2632
2632
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
2633
2633
|
autoComplete,
|
|
2634
2634
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
@@ -2636,21 +2636,21 @@
|
|
|
2636
2636
|
));
|
|
2637
2637
|
};
|
|
2638
2638
|
|
|
2639
|
-
var __defProp$
|
|
2639
|
+
var __defProp$K = Object.defineProperty;
|
|
2640
2640
|
var __defProps$B = Object.defineProperties;
|
|
2641
2641
|
var __getOwnPropDescs$B = Object.getOwnPropertyDescriptors;
|
|
2642
|
-
var __getOwnPropSymbols$
|
|
2643
|
-
var __hasOwnProp$
|
|
2644
|
-
var __propIsEnum$
|
|
2645
|
-
var __defNormalProp$
|
|
2646
|
-
var __spreadValues$
|
|
2642
|
+
var __getOwnPropSymbols$L = Object.getOwnPropertySymbols;
|
|
2643
|
+
var __hasOwnProp$L = Object.prototype.hasOwnProperty;
|
|
2644
|
+
var __propIsEnum$L = Object.prototype.propertyIsEnumerable;
|
|
2645
|
+
var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2646
|
+
var __spreadValues$K = (a, b) => {
|
|
2647
2647
|
for (var prop in b || (b = {}))
|
|
2648
|
-
if (__hasOwnProp$
|
|
2649
|
-
__defNormalProp$
|
|
2650
|
-
if (__getOwnPropSymbols$
|
|
2651
|
-
for (var prop of __getOwnPropSymbols$
|
|
2652
|
-
if (__propIsEnum$
|
|
2653
|
-
__defNormalProp$
|
|
2648
|
+
if (__hasOwnProp$L.call(b, prop))
|
|
2649
|
+
__defNormalProp$K(a, prop, b[prop]);
|
|
2650
|
+
if (__getOwnPropSymbols$L)
|
|
2651
|
+
for (var prop of __getOwnPropSymbols$L(b)) {
|
|
2652
|
+
if (__propIsEnum$L.call(b, prop))
|
|
2653
|
+
__defNormalProp$K(a, prop, b[prop]);
|
|
2654
2654
|
}
|
|
2655
2655
|
return a;
|
|
2656
2656
|
};
|
|
@@ -2658,11 +2658,11 @@
|
|
|
2658
2658
|
var __objRest$r = (source, exclude) => {
|
|
2659
2659
|
var target = {};
|
|
2660
2660
|
for (var prop in source)
|
|
2661
|
-
if (__hasOwnProp$
|
|
2661
|
+
if (__hasOwnProp$L.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2662
2662
|
target[prop] = source[prop];
|
|
2663
|
-
if (source != null && __getOwnPropSymbols$
|
|
2664
|
-
for (var prop of __getOwnPropSymbols$
|
|
2665
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2663
|
+
if (source != null && __getOwnPropSymbols$L)
|
|
2664
|
+
for (var prop of __getOwnPropSymbols$L(source)) {
|
|
2665
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$L.call(source, prop))
|
|
2666
2666
|
target[prop] = source[prop];
|
|
2667
2667
|
}
|
|
2668
2668
|
return target;
|
|
@@ -2684,7 +2684,7 @@
|
|
|
2684
2684
|
}[size];
|
|
2685
2685
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
2686
2686
|
antd.Input,
|
|
2687
|
-
__spreadProps$B(__spreadValues$
|
|
2687
|
+
__spreadProps$B(__spreadValues$K({}, props), {
|
|
2688
2688
|
size,
|
|
2689
2689
|
"data-test": props.name,
|
|
2690
2690
|
className: cs__default.default(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -2692,21 +2692,21 @@
|
|
|
2692
2692
|
);
|
|
2693
2693
|
};
|
|
2694
2694
|
|
|
2695
|
-
var __defProp$
|
|
2695
|
+
var __defProp$J = Object.defineProperty;
|
|
2696
2696
|
var __defProps$A = Object.defineProperties;
|
|
2697
2697
|
var __getOwnPropDescs$A = Object.getOwnPropertyDescriptors;
|
|
2698
|
-
var __getOwnPropSymbols$
|
|
2699
|
-
var __hasOwnProp$
|
|
2700
|
-
var __propIsEnum$
|
|
2701
|
-
var __defNormalProp$
|
|
2702
|
-
var __spreadValues$
|
|
2698
|
+
var __getOwnPropSymbols$K = Object.getOwnPropertySymbols;
|
|
2699
|
+
var __hasOwnProp$K = Object.prototype.hasOwnProperty;
|
|
2700
|
+
var __propIsEnum$K = Object.prototype.propertyIsEnumerable;
|
|
2701
|
+
var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2702
|
+
var __spreadValues$J = (a, b) => {
|
|
2703
2703
|
for (var prop in b || (b = {}))
|
|
2704
|
-
if (__hasOwnProp$
|
|
2705
|
-
__defNormalProp$
|
|
2706
|
-
if (__getOwnPropSymbols$
|
|
2707
|
-
for (var prop of __getOwnPropSymbols$
|
|
2708
|
-
if (__propIsEnum$
|
|
2709
|
-
__defNormalProp$
|
|
2704
|
+
if (__hasOwnProp$K.call(b, prop))
|
|
2705
|
+
__defNormalProp$J(a, prop, b[prop]);
|
|
2706
|
+
if (__getOwnPropSymbols$K)
|
|
2707
|
+
for (var prop of __getOwnPropSymbols$K(b)) {
|
|
2708
|
+
if (__propIsEnum$K.call(b, prop))
|
|
2709
|
+
__defNormalProp$J(a, prop, b[prop]);
|
|
2710
2710
|
}
|
|
2711
2711
|
return a;
|
|
2712
2712
|
};
|
|
@@ -2714,11 +2714,11 @@
|
|
|
2714
2714
|
var __objRest$q = (source, exclude) => {
|
|
2715
2715
|
var target = {};
|
|
2716
2716
|
for (var prop in source)
|
|
2717
|
-
if (__hasOwnProp$
|
|
2717
|
+
if (__hasOwnProp$K.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2718
2718
|
target[prop] = source[prop];
|
|
2719
|
-
if (source != null && __getOwnPropSymbols$
|
|
2720
|
-
for (var prop of __getOwnPropSymbols$
|
|
2721
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2719
|
+
if (source != null && __getOwnPropSymbols$K)
|
|
2720
|
+
for (var prop of __getOwnPropSymbols$K(source)) {
|
|
2721
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$K.call(source, prop))
|
|
2722
2722
|
target[prop] = source[prop];
|
|
2723
2723
|
}
|
|
2724
2724
|
return target;
|
|
@@ -2739,7 +2739,7 @@
|
|
|
2739
2739
|
]);
|
|
2740
2740
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
2741
2741
|
Input,
|
|
2742
|
-
__spreadValues$
|
|
2742
|
+
__spreadValues$J(__spreadProps$A(__spreadValues$J({}, input), {
|
|
2743
2743
|
onChange: (e) => {
|
|
2744
2744
|
const value = e.currentTarget.value;
|
|
2745
2745
|
if (supportNegativeValue) {
|
|
@@ -2774,31 +2774,31 @@
|
|
|
2774
2774
|
}
|
|
2775
2775
|
};
|
|
2776
2776
|
|
|
2777
|
-
var __defProp$
|
|
2777
|
+
var __defProp$I = Object.defineProperty;
|
|
2778
2778
|
var __defProps$z = Object.defineProperties;
|
|
2779
2779
|
var __getOwnPropDescs$z = Object.getOwnPropertyDescriptors;
|
|
2780
|
-
var __getOwnPropSymbols$
|
|
2781
|
-
var __hasOwnProp$
|
|
2782
|
-
var __propIsEnum$
|
|
2783
|
-
var __defNormalProp$
|
|
2780
|
+
var __getOwnPropSymbols$J = Object.getOwnPropertySymbols;
|
|
2781
|
+
var __hasOwnProp$J = Object.prototype.hasOwnProperty;
|
|
2782
|
+
var __propIsEnum$J = Object.prototype.propertyIsEnumerable;
|
|
2783
|
+
var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, {
|
|
2784
2784
|
enumerable: true,
|
|
2785
2785
|
configurable: true,
|
|
2786
2786
|
writable: true,
|
|
2787
2787
|
value
|
|
2788
2788
|
}) : obj[key] = value;
|
|
2789
|
-
var __spreadValues$
|
|
2790
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2791
|
-
if (__getOwnPropSymbols$
|
|
2792
|
-
if (__propIsEnum$
|
|
2789
|
+
var __spreadValues$I = (a, b) => {
|
|
2790
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$J.call(b, prop)) __defNormalProp$I(a, prop, b[prop]);
|
|
2791
|
+
if (__getOwnPropSymbols$J) for (var prop of __getOwnPropSymbols$J(b)) {
|
|
2792
|
+
if (__propIsEnum$J.call(b, prop)) __defNormalProp$I(a, prop, b[prop]);
|
|
2793
2793
|
}
|
|
2794
2794
|
return a;
|
|
2795
2795
|
};
|
|
2796
2796
|
var __spreadProps$z = (a, b) => __defProps$z(a, __getOwnPropDescs$z(b));
|
|
2797
2797
|
var __objRest$p = (source, exclude) => {
|
|
2798
2798
|
var target = {};
|
|
2799
|
-
for (var prop in source) if (__hasOwnProp$
|
|
2800
|
-
if (source != null && __getOwnPropSymbols$
|
|
2801
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2799
|
+
for (var prop in source) if (__hasOwnProp$J.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2800
|
+
if (source != null && __getOwnPropSymbols$J) for (var prop of __getOwnPropSymbols$J(source)) {
|
|
2801
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$J.call(source, prop)) target[prop] = source[prop];
|
|
2802
2802
|
}
|
|
2803
2803
|
return target;
|
|
2804
2804
|
};
|
|
@@ -2842,7 +2842,7 @@
|
|
|
2842
2842
|
middle: Typo.Label.l3_regular,
|
|
2843
2843
|
small: Typo.Label.l4_regular
|
|
2844
2844
|
}[size];
|
|
2845
|
-
return /* @__PURE__ */React__namespace.default.createElement(AntdIntStyled, __spreadProps$z(__spreadValues$
|
|
2845
|
+
return /* @__PURE__ */React__namespace.default.createElement(AntdIntStyled, __spreadProps$z(__spreadValues$I({}, props), {
|
|
2846
2846
|
size,
|
|
2847
2847
|
formatter: formatterInteger,
|
|
2848
2848
|
parser: formatterInteger,
|
|
@@ -2856,21 +2856,21 @@
|
|
|
2856
2856
|
}));
|
|
2857
2857
|
};
|
|
2858
2858
|
|
|
2859
|
-
var __defProp$
|
|
2859
|
+
var __defProp$H = Object.defineProperty;
|
|
2860
2860
|
var __defProps$y = Object.defineProperties;
|
|
2861
2861
|
var __getOwnPropDescs$y = Object.getOwnPropertyDescriptors;
|
|
2862
|
-
var __getOwnPropSymbols$
|
|
2863
|
-
var __hasOwnProp$
|
|
2864
|
-
var __propIsEnum$
|
|
2865
|
-
var __defNormalProp$
|
|
2866
|
-
var __spreadValues$
|
|
2862
|
+
var __getOwnPropSymbols$I = Object.getOwnPropertySymbols;
|
|
2863
|
+
var __hasOwnProp$I = Object.prototype.hasOwnProperty;
|
|
2864
|
+
var __propIsEnum$I = Object.prototype.propertyIsEnumerable;
|
|
2865
|
+
var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2866
|
+
var __spreadValues$H = (a, b) => {
|
|
2867
2867
|
for (var prop in b || (b = {}))
|
|
2868
|
-
if (__hasOwnProp$
|
|
2869
|
-
__defNormalProp$
|
|
2870
|
-
if (__getOwnPropSymbols$
|
|
2871
|
-
for (var prop of __getOwnPropSymbols$
|
|
2872
|
-
if (__propIsEnum$
|
|
2873
|
-
__defNormalProp$
|
|
2868
|
+
if (__hasOwnProp$I.call(b, prop))
|
|
2869
|
+
__defNormalProp$H(a, prop, b[prop]);
|
|
2870
|
+
if (__getOwnPropSymbols$I)
|
|
2871
|
+
for (var prop of __getOwnPropSymbols$I(b)) {
|
|
2872
|
+
if (__propIsEnum$I.call(b, prop))
|
|
2873
|
+
__defNormalProp$H(a, prop, b[prop]);
|
|
2874
2874
|
}
|
|
2875
2875
|
return a;
|
|
2876
2876
|
};
|
|
@@ -2878,11 +2878,11 @@
|
|
|
2878
2878
|
var __objRest$o = (source, exclude) => {
|
|
2879
2879
|
var target = {};
|
|
2880
2880
|
for (var prop in source)
|
|
2881
|
-
if (__hasOwnProp$
|
|
2881
|
+
if (__hasOwnProp$I.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2882
2882
|
target[prop] = source[prop];
|
|
2883
|
-
if (source != null && __getOwnPropSymbols$
|
|
2884
|
-
for (var prop of __getOwnPropSymbols$
|
|
2885
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2883
|
+
if (source != null && __getOwnPropSymbols$I)
|
|
2884
|
+
for (var prop of __getOwnPropSymbols$I(source)) {
|
|
2885
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$I.call(source, prop))
|
|
2886
2886
|
target[prop] = source[prop];
|
|
2887
2887
|
}
|
|
2888
2888
|
return target;
|
|
@@ -2899,7 +2899,7 @@
|
|
|
2899
2899
|
]);
|
|
2900
2900
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
2901
2901
|
InputInteger,
|
|
2902
|
-
__spreadProps$y(__spreadValues$
|
|
2902
|
+
__spreadProps$y(__spreadValues$H(__spreadValues$H({}, props), input), {
|
|
2903
2903
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
2904
2904
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
2905
2905
|
})
|
|
@@ -3166,22 +3166,90 @@
|
|
|
3166
3166
|
ref: wrapperRef
|
|
3167
3167
|
}, children), showOverflow && /* @__PURE__ */React__namespace.default.createElement("span", null, overflow));
|
|
3168
3168
|
};
|
|
3169
|
+
const ExtraOverflow = props => {
|
|
3170
|
+
const {
|
|
3171
|
+
els,
|
|
3172
|
+
extraEl,
|
|
3173
|
+
className,
|
|
3174
|
+
deps = [],
|
|
3175
|
+
reverse
|
|
3176
|
+
} = props;
|
|
3177
|
+
const wrapperRef = React.useRef(null);
|
|
3178
|
+
const [isOverflow, setIsOverflow] = React.useState(false);
|
|
3179
|
+
const [sliceEnd, setSliceEnd] = React.useState(0);
|
|
3180
|
+
const [init, setInit] = React.useState(true);
|
|
3181
|
+
const handleOverflow = React.useCallback(() => {
|
|
3182
|
+
const els2 = Array.from(wrapperRef.current.children);
|
|
3183
|
+
if (els2.length < 2) {
|
|
3184
|
+
setInit(false);
|
|
3185
|
+
setIsOverflow(false);
|
|
3186
|
+
return;
|
|
3187
|
+
}
|
|
3188
|
+
const parentWidth = wrapperRef.current.offsetWidth;
|
|
3189
|
+
const extraEl2 = els2[els2.length - 1];
|
|
3190
|
+
const secondLastEl = els2[els2.length - 2];
|
|
3191
|
+
let childRange = 0;
|
|
3192
|
+
let endIndex = -1;
|
|
3193
|
+
if (reverse) {
|
|
3194
|
+
childRange = secondLastEl.offsetLeft + secondLastEl.offsetWidth - els2[0].offsetLeft;
|
|
3195
|
+
endIndex = Array.from(els2).findIndex(el => {
|
|
3196
|
+
const range = el.offsetWidth + el.offsetLeft - els2[0].offsetLeft;
|
|
3197
|
+
return range + extraEl2.offsetWidth > parentWidth;
|
|
3198
|
+
});
|
|
3199
|
+
} else {
|
|
3200
|
+
childRange = secondLastEl.offsetLeft + secondLastEl.offsetWidth;
|
|
3201
|
+
endIndex = Array.from(els2).findIndex(el => {
|
|
3202
|
+
const range = el.offsetWidth + el.offsetLeft;
|
|
3203
|
+
return range + extraEl2.offsetWidth > parentWidth;
|
|
3204
|
+
});
|
|
3205
|
+
}
|
|
3206
|
+
setInit(false);
|
|
3207
|
+
setIsOverflow(childRange > parentWidth);
|
|
3208
|
+
if (endIndex !== -1) {
|
|
3209
|
+
setSliceEnd(endIndex);
|
|
3210
|
+
}
|
|
3211
|
+
}, [reverse]);
|
|
3212
|
+
React.useLayoutEffect(() => {
|
|
3213
|
+
setInit(true);
|
|
3214
|
+
}, [els]);
|
|
3215
|
+
React.useLayoutEffect(() => {
|
|
3216
|
+
if (init) {
|
|
3217
|
+
handleOverflow();
|
|
3218
|
+
}
|
|
3219
|
+
}, [handleOverflow, init, ...deps]);
|
|
3220
|
+
if (init) {
|
|
3221
|
+
return /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
3222
|
+
className,
|
|
3223
|
+
ref: wrapperRef
|
|
3224
|
+
}, els, /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, extraEl(sliceEnd)));
|
|
3225
|
+
}
|
|
3226
|
+
if (isOverflow) {
|
|
3227
|
+
return /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
3228
|
+
className,
|
|
3229
|
+
ref: wrapperRef
|
|
3230
|
+
}, els.slice(0, sliceEnd), /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, extraEl(sliceEnd)));
|
|
3231
|
+
}
|
|
3232
|
+
return /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
3233
|
+
className,
|
|
3234
|
+
ref: wrapperRef
|
|
3235
|
+
}, els);
|
|
3236
|
+
};
|
|
3169
3237
|
|
|
3170
|
-
var __defProp$
|
|
3238
|
+
var __defProp$G = Object.defineProperty;
|
|
3171
3239
|
var __defProps$x = Object.defineProperties;
|
|
3172
3240
|
var __getOwnPropDescs$x = Object.getOwnPropertyDescriptors;
|
|
3173
|
-
var __getOwnPropSymbols$
|
|
3174
|
-
var __hasOwnProp$
|
|
3175
|
-
var __propIsEnum$
|
|
3176
|
-
var __defNormalProp$
|
|
3177
|
-
var __spreadValues$
|
|
3241
|
+
var __getOwnPropSymbols$H = Object.getOwnPropertySymbols;
|
|
3242
|
+
var __hasOwnProp$H = Object.prototype.hasOwnProperty;
|
|
3243
|
+
var __propIsEnum$H = Object.prototype.propertyIsEnumerable;
|
|
3244
|
+
var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3245
|
+
var __spreadValues$G = (a, b) => {
|
|
3178
3246
|
for (var prop in b || (b = {}))
|
|
3179
|
-
if (__hasOwnProp$
|
|
3180
|
-
__defNormalProp$
|
|
3181
|
-
if (__getOwnPropSymbols$
|
|
3182
|
-
for (var prop of __getOwnPropSymbols$
|
|
3183
|
-
if (__propIsEnum$
|
|
3184
|
-
__defNormalProp$
|
|
3247
|
+
if (__hasOwnProp$H.call(b, prop))
|
|
3248
|
+
__defNormalProp$G(a, prop, b[prop]);
|
|
3249
|
+
if (__getOwnPropSymbols$H)
|
|
3250
|
+
for (var prop of __getOwnPropSymbols$H(b)) {
|
|
3251
|
+
if (__propIsEnum$H.call(b, prop))
|
|
3252
|
+
__defNormalProp$G(a, prop, b[prop]);
|
|
3185
3253
|
}
|
|
3186
3254
|
return a;
|
|
3187
3255
|
};
|
|
@@ -3189,11 +3257,11 @@
|
|
|
3189
3257
|
var __objRest$n = (source, exclude) => {
|
|
3190
3258
|
var target = {};
|
|
3191
3259
|
for (var prop in source)
|
|
3192
|
-
if (__hasOwnProp$
|
|
3260
|
+
if (__hasOwnProp$H.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3193
3261
|
target[prop] = source[prop];
|
|
3194
|
-
if (source != null && __getOwnPropSymbols$
|
|
3195
|
-
for (var prop of __getOwnPropSymbols$
|
|
3196
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3262
|
+
if (source != null && __getOwnPropSymbols$H)
|
|
3263
|
+
for (var prop of __getOwnPropSymbols$H(source)) {
|
|
3264
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$H.call(source, prop))
|
|
3197
3265
|
target[prop] = source[prop];
|
|
3198
3266
|
}
|
|
3199
3267
|
return target;
|
|
@@ -3244,7 +3312,7 @@
|
|
|
3244
3312
|
}
|
|
3245
3313
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
3246
3314
|
Input,
|
|
3247
|
-
__spreadProps$x(__spreadValues$
|
|
3315
|
+
__spreadProps$x(__spreadValues$G(__spreadProps$x(__spreadValues$G({
|
|
3248
3316
|
className: cs__default.default(
|
|
3249
3317
|
className,
|
|
3250
3318
|
KitInputStyle,
|
|
@@ -3269,21 +3337,21 @@
|
|
|
3269
3337
|
));
|
|
3270
3338
|
};
|
|
3271
3339
|
|
|
3272
|
-
var __defProp$
|
|
3340
|
+
var __defProp$F = Object.defineProperty;
|
|
3273
3341
|
var __defProps$w = Object.defineProperties;
|
|
3274
3342
|
var __getOwnPropDescs$w = Object.getOwnPropertyDescriptors;
|
|
3275
|
-
var __getOwnPropSymbols$
|
|
3276
|
-
var __hasOwnProp$
|
|
3277
|
-
var __propIsEnum$
|
|
3278
|
-
var __defNormalProp$
|
|
3279
|
-
var __spreadValues$
|
|
3343
|
+
var __getOwnPropSymbols$G = Object.getOwnPropertySymbols;
|
|
3344
|
+
var __hasOwnProp$G = Object.prototype.hasOwnProperty;
|
|
3345
|
+
var __propIsEnum$G = Object.prototype.propertyIsEnumerable;
|
|
3346
|
+
var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3347
|
+
var __spreadValues$F = (a, b) => {
|
|
3280
3348
|
for (var prop in b || (b = {}))
|
|
3281
|
-
if (__hasOwnProp$
|
|
3282
|
-
__defNormalProp$
|
|
3283
|
-
if (__getOwnPropSymbols$
|
|
3284
|
-
for (var prop of __getOwnPropSymbols$
|
|
3285
|
-
if (__propIsEnum$
|
|
3286
|
-
__defNormalProp$
|
|
3349
|
+
if (__hasOwnProp$G.call(b, prop))
|
|
3350
|
+
__defNormalProp$F(a, prop, b[prop]);
|
|
3351
|
+
if (__getOwnPropSymbols$G)
|
|
3352
|
+
for (var prop of __getOwnPropSymbols$G(b)) {
|
|
3353
|
+
if (__propIsEnum$G.call(b, prop))
|
|
3354
|
+
__defNormalProp$F(a, prop, b[prop]);
|
|
3287
3355
|
}
|
|
3288
3356
|
return a;
|
|
3289
3357
|
};
|
|
@@ -3291,11 +3359,11 @@
|
|
|
3291
3359
|
var __objRest$m = (source, exclude) => {
|
|
3292
3360
|
var target = {};
|
|
3293
3361
|
for (var prop in source)
|
|
3294
|
-
if (__hasOwnProp$
|
|
3362
|
+
if (__hasOwnProp$G.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3295
3363
|
target[prop] = source[prop];
|
|
3296
|
-
if (source != null && __getOwnPropSymbols$
|
|
3297
|
-
for (var prop of __getOwnPropSymbols$
|
|
3298
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3364
|
+
if (source != null && __getOwnPropSymbols$G)
|
|
3365
|
+
for (var prop of __getOwnPropSymbols$G(source)) {
|
|
3366
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$G.call(source, prop))
|
|
3299
3367
|
target[prop] = source[prop];
|
|
3300
3368
|
}
|
|
3301
3369
|
return target;
|
|
@@ -3317,7 +3385,7 @@
|
|
|
3317
3385
|
}[size];
|
|
3318
3386
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
3319
3387
|
antd.Input.TextArea,
|
|
3320
|
-
__spreadProps$w(__spreadValues$
|
|
3388
|
+
__spreadProps$w(__spreadValues$F({}, props), {
|
|
3321
3389
|
className: cs__default.default(
|
|
3322
3390
|
className,
|
|
3323
3391
|
InputStyle,
|
|
@@ -3331,21 +3399,21 @@
|
|
|
3331
3399
|
);
|
|
3332
3400
|
};
|
|
3333
3401
|
|
|
3334
|
-
var __defProp$
|
|
3402
|
+
var __defProp$E = Object.defineProperty;
|
|
3335
3403
|
var __defProps$v = Object.defineProperties;
|
|
3336
3404
|
var __getOwnPropDescs$v = Object.getOwnPropertyDescriptors;
|
|
3337
|
-
var __getOwnPropSymbols$
|
|
3338
|
-
var __hasOwnProp$
|
|
3339
|
-
var __propIsEnum$
|
|
3340
|
-
var __defNormalProp$
|
|
3341
|
-
var __spreadValues$
|
|
3405
|
+
var __getOwnPropSymbols$F = Object.getOwnPropertySymbols;
|
|
3406
|
+
var __hasOwnProp$F = Object.prototype.hasOwnProperty;
|
|
3407
|
+
var __propIsEnum$F = Object.prototype.propertyIsEnumerable;
|
|
3408
|
+
var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3409
|
+
var __spreadValues$E = (a, b) => {
|
|
3342
3410
|
for (var prop in b || (b = {}))
|
|
3343
|
-
if (__hasOwnProp$
|
|
3344
|
-
__defNormalProp$
|
|
3345
|
-
if (__getOwnPropSymbols$
|
|
3346
|
-
for (var prop of __getOwnPropSymbols$
|
|
3347
|
-
if (__propIsEnum$
|
|
3348
|
-
__defNormalProp$
|
|
3411
|
+
if (__hasOwnProp$F.call(b, prop))
|
|
3412
|
+
__defNormalProp$E(a, prop, b[prop]);
|
|
3413
|
+
if (__getOwnPropSymbols$F)
|
|
3414
|
+
for (var prop of __getOwnPropSymbols$F(b)) {
|
|
3415
|
+
if (__propIsEnum$F.call(b, prop))
|
|
3416
|
+
__defNormalProp$E(a, prop, b[prop]);
|
|
3349
3417
|
}
|
|
3350
3418
|
return a;
|
|
3351
3419
|
};
|
|
@@ -3353,11 +3421,11 @@
|
|
|
3353
3421
|
var __objRest$l = (source, exclude) => {
|
|
3354
3422
|
var target = {};
|
|
3355
3423
|
for (var prop in source)
|
|
3356
|
-
if (__hasOwnProp$
|
|
3424
|
+
if (__hasOwnProp$F.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3357
3425
|
target[prop] = source[prop];
|
|
3358
|
-
if (source != null && __getOwnPropSymbols$
|
|
3359
|
-
for (var prop of __getOwnPropSymbols$
|
|
3360
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3426
|
+
if (source != null && __getOwnPropSymbols$F)
|
|
3427
|
+
for (var prop of __getOwnPropSymbols$F(source)) {
|
|
3428
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$F.call(source, prop))
|
|
3361
3429
|
target[prop] = source[prop];
|
|
3362
3430
|
}
|
|
3363
3431
|
return target;
|
|
@@ -3374,7 +3442,7 @@
|
|
|
3374
3442
|
]);
|
|
3375
3443
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
3376
3444
|
TextArea,
|
|
3377
|
-
__spreadProps$v(__spreadValues$
|
|
3445
|
+
__spreadProps$v(__spreadValues$E(__spreadValues$E({}, input), props), {
|
|
3378
3446
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError),
|
|
3379
3447
|
onFocus: (e) => {
|
|
3380
3448
|
input.onFocus(e);
|
|
@@ -3388,21 +3456,21 @@
|
|
|
3388
3456
|
));
|
|
3389
3457
|
};
|
|
3390
3458
|
|
|
3391
|
-
var __defProp$
|
|
3459
|
+
var __defProp$D = Object.defineProperty;
|
|
3392
3460
|
var __defProps$u = Object.defineProperties;
|
|
3393
3461
|
var __getOwnPropDescs$u = Object.getOwnPropertyDescriptors;
|
|
3394
|
-
var __getOwnPropSymbols$
|
|
3395
|
-
var __hasOwnProp$
|
|
3396
|
-
var __propIsEnum$
|
|
3397
|
-
var __defNormalProp$
|
|
3398
|
-
var __spreadValues$
|
|
3462
|
+
var __getOwnPropSymbols$E = Object.getOwnPropertySymbols;
|
|
3463
|
+
var __hasOwnProp$E = Object.prototype.hasOwnProperty;
|
|
3464
|
+
var __propIsEnum$E = Object.prototype.propertyIsEnumerable;
|
|
3465
|
+
var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3466
|
+
var __spreadValues$D = (a, b) => {
|
|
3399
3467
|
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$
|
|
3468
|
+
if (__hasOwnProp$E.call(b, prop))
|
|
3469
|
+
__defNormalProp$D(a, prop, b[prop]);
|
|
3470
|
+
if (__getOwnPropSymbols$E)
|
|
3471
|
+
for (var prop of __getOwnPropSymbols$E(b)) {
|
|
3472
|
+
if (__propIsEnum$E.call(b, prop))
|
|
3473
|
+
__defNormalProp$D(a, prop, b[prop]);
|
|
3406
3474
|
}
|
|
3407
3475
|
return a;
|
|
3408
3476
|
};
|
|
@@ -3410,11 +3478,11 @@
|
|
|
3410
3478
|
var __objRest$k = (source, exclude) => {
|
|
3411
3479
|
var target = {};
|
|
3412
3480
|
for (var prop in source)
|
|
3413
|
-
if (__hasOwnProp$
|
|
3481
|
+
if (__hasOwnProp$E.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3414
3482
|
target[prop] = source[prop];
|
|
3415
|
-
if (source != null && __getOwnPropSymbols$
|
|
3416
|
-
for (var prop of __getOwnPropSymbols$
|
|
3417
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3483
|
+
if (source != null && __getOwnPropSymbols$E)
|
|
3484
|
+
for (var prop of __getOwnPropSymbols$E(source)) {
|
|
3485
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$E.call(source, prop))
|
|
3418
3486
|
target[prop] = source[prop];
|
|
3419
3487
|
}
|
|
3420
3488
|
return target;
|
|
@@ -3436,7 +3504,7 @@
|
|
|
3436
3504
|
}[size];
|
|
3437
3505
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
3438
3506
|
antd.TimePicker,
|
|
3439
|
-
__spreadProps$u(__spreadValues$
|
|
3507
|
+
__spreadProps$u(__spreadValues$D({}, props), {
|
|
3440
3508
|
size,
|
|
3441
3509
|
"data-test": props.name,
|
|
3442
3510
|
className: cs__default.default(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -3444,21 +3512,21 @@
|
|
|
3444
3512
|
);
|
|
3445
3513
|
};
|
|
3446
3514
|
|
|
3447
|
-
var __defProp$
|
|
3515
|
+
var __defProp$C = Object.defineProperty;
|
|
3448
3516
|
var __defProps$t = Object.defineProperties;
|
|
3449
3517
|
var __getOwnPropDescs$t = Object.getOwnPropertyDescriptors;
|
|
3450
|
-
var __getOwnPropSymbols$
|
|
3451
|
-
var __hasOwnProp$
|
|
3452
|
-
var __propIsEnum$
|
|
3453
|
-
var __defNormalProp$
|
|
3454
|
-
var __spreadValues$
|
|
3518
|
+
var __getOwnPropSymbols$D = Object.getOwnPropertySymbols;
|
|
3519
|
+
var __hasOwnProp$D = Object.prototype.hasOwnProperty;
|
|
3520
|
+
var __propIsEnum$D = Object.prototype.propertyIsEnumerable;
|
|
3521
|
+
var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3522
|
+
var __spreadValues$C = (a, b) => {
|
|
3455
3523
|
for (var prop in b || (b = {}))
|
|
3456
|
-
if (__hasOwnProp$
|
|
3457
|
-
__defNormalProp$
|
|
3458
|
-
if (__getOwnPropSymbols$
|
|
3459
|
-
for (var prop of __getOwnPropSymbols$
|
|
3460
|
-
if (__propIsEnum$
|
|
3461
|
-
__defNormalProp$
|
|
3524
|
+
if (__hasOwnProp$D.call(b, prop))
|
|
3525
|
+
__defNormalProp$C(a, prop, b[prop]);
|
|
3526
|
+
if (__getOwnPropSymbols$D)
|
|
3527
|
+
for (var prop of __getOwnPropSymbols$D(b)) {
|
|
3528
|
+
if (__propIsEnum$D.call(b, prop))
|
|
3529
|
+
__defNormalProp$C(a, prop, b[prop]);
|
|
3462
3530
|
}
|
|
3463
3531
|
return a;
|
|
3464
3532
|
};
|
|
@@ -3466,11 +3534,11 @@
|
|
|
3466
3534
|
var __objRest$j = (source, exclude) => {
|
|
3467
3535
|
var target = {};
|
|
3468
3536
|
for (var prop in source)
|
|
3469
|
-
if (__hasOwnProp$
|
|
3537
|
+
if (__hasOwnProp$D.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3470
3538
|
target[prop] = source[prop];
|
|
3471
|
-
if (source != null && __getOwnPropSymbols$
|
|
3472
|
-
for (var prop of __getOwnPropSymbols$
|
|
3473
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3539
|
+
if (source != null && __getOwnPropSymbols$D)
|
|
3540
|
+
for (var prop of __getOwnPropSymbols$D(source)) {
|
|
3541
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$D.call(source, prop))
|
|
3474
3542
|
target[prop] = source[prop];
|
|
3475
3543
|
}
|
|
3476
3544
|
return target;
|
|
@@ -3485,7 +3553,7 @@
|
|
|
3485
3553
|
]);
|
|
3486
3554
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
3487
3555
|
TimePicker,
|
|
3488
|
-
__spreadValues$
|
|
3556
|
+
__spreadValues$C(__spreadProps$t(__spreadValues$C({}, input), {
|
|
3489
3557
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
3490
3558
|
}), props)
|
|
3491
3559
|
));
|
|
@@ -3504,31 +3572,31 @@
|
|
|
3504
3572
|
DateTimeRange: FieldsDateTimeRange
|
|
3505
3573
|
};
|
|
3506
3574
|
|
|
3507
|
-
var __defProp$
|
|
3575
|
+
var __defProp$B = Object.defineProperty;
|
|
3508
3576
|
var __defProps$s = Object.defineProperties;
|
|
3509
3577
|
var __getOwnPropDescs$s = Object.getOwnPropertyDescriptors;
|
|
3510
|
-
var __getOwnPropSymbols$
|
|
3511
|
-
var __hasOwnProp$
|
|
3512
|
-
var __propIsEnum$
|
|
3513
|
-
var __defNormalProp$
|
|
3578
|
+
var __getOwnPropSymbols$C = Object.getOwnPropertySymbols;
|
|
3579
|
+
var __hasOwnProp$C = Object.prototype.hasOwnProperty;
|
|
3580
|
+
var __propIsEnum$C = Object.prototype.propertyIsEnumerable;
|
|
3581
|
+
var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, {
|
|
3514
3582
|
enumerable: true,
|
|
3515
3583
|
configurable: true,
|
|
3516
3584
|
writable: true,
|
|
3517
3585
|
value
|
|
3518
3586
|
}) : obj[key] = value;
|
|
3519
|
-
var __spreadValues$
|
|
3520
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3521
|
-
if (__getOwnPropSymbols$
|
|
3522
|
-
if (__propIsEnum$
|
|
3587
|
+
var __spreadValues$B = (a, b) => {
|
|
3588
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$C.call(b, prop)) __defNormalProp$B(a, prop, b[prop]);
|
|
3589
|
+
if (__getOwnPropSymbols$C) for (var prop of __getOwnPropSymbols$C(b)) {
|
|
3590
|
+
if (__propIsEnum$C.call(b, prop)) __defNormalProp$B(a, prop, b[prop]);
|
|
3523
3591
|
}
|
|
3524
3592
|
return a;
|
|
3525
3593
|
};
|
|
3526
3594
|
var __spreadProps$s = (a, b) => __defProps$s(a, __getOwnPropDescs$s(b));
|
|
3527
3595
|
var __objRest$i = (source, exclude) => {
|
|
3528
3596
|
var target = {};
|
|
3529
|
-
for (var prop in source) if (__hasOwnProp$
|
|
3530
|
-
if (source != null && __getOwnPropSymbols$
|
|
3531
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3597
|
+
for (var prop in source) if (__hasOwnProp$C.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
3598
|
+
if (source != null && __getOwnPropSymbols$C) for (var prop of __getOwnPropSymbols$C(source)) {
|
|
3599
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$C.call(source, prop)) target[prop] = source[prop];
|
|
3532
3600
|
}
|
|
3533
3601
|
return target;
|
|
3534
3602
|
};
|
|
@@ -3548,7 +3616,7 @@
|
|
|
3548
3616
|
});
|
|
3549
3617
|
const classNames = [className, SwitchStyle, "switch"];
|
|
3550
3618
|
if (props.size === "large") classNames.push("ant-switch-large");
|
|
3551
|
-
return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement(antd.Switch, __spreadProps$s(__spreadValues$
|
|
3619
|
+
return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement(antd.Switch, __spreadProps$s(__spreadValues$B({
|
|
3552
3620
|
className: core.cx(...classNames),
|
|
3553
3621
|
checked: checked || false
|
|
3554
3622
|
}, props), {
|
|
@@ -3556,22 +3624,22 @@
|
|
|
3556
3624
|
})), children ? /* @__PURE__ */React__namespace.default.createElement(Content, null, children) : null);
|
|
3557
3625
|
};
|
|
3558
3626
|
|
|
3559
|
-
var __defProp$
|
|
3627
|
+
var __defProp$A = Object.defineProperty;
|
|
3560
3628
|
var __defProps$r = Object.defineProperties;
|
|
3561
3629
|
var __getOwnPropDescs$r = Object.getOwnPropertyDescriptors;
|
|
3562
|
-
var __getOwnPropSymbols$
|
|
3563
|
-
var __hasOwnProp$
|
|
3564
|
-
var __propIsEnum$
|
|
3565
|
-
var __defNormalProp$
|
|
3630
|
+
var __getOwnPropSymbols$B = Object.getOwnPropertySymbols;
|
|
3631
|
+
var __hasOwnProp$B = Object.prototype.hasOwnProperty;
|
|
3632
|
+
var __propIsEnum$B = Object.prototype.propertyIsEnumerable;
|
|
3633
|
+
var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, {
|
|
3566
3634
|
enumerable: true,
|
|
3567
3635
|
configurable: true,
|
|
3568
3636
|
writable: true,
|
|
3569
3637
|
value
|
|
3570
3638
|
}) : obj[key] = value;
|
|
3571
|
-
var __spreadValues$
|
|
3572
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3573
|
-
if (__getOwnPropSymbols$
|
|
3574
|
-
if (__propIsEnum$
|
|
3639
|
+
var __spreadValues$A = (a, b) => {
|
|
3640
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$B.call(b, prop)) __defNormalProp$A(a, prop, b[prop]);
|
|
3641
|
+
if (__getOwnPropSymbols$B) for (var prop of __getOwnPropSymbols$B(b)) {
|
|
3642
|
+
if (__propIsEnum$B.call(b, prop)) __defNormalProp$A(a, prop, b[prop]);
|
|
3575
3643
|
}
|
|
3576
3644
|
return a;
|
|
3577
3645
|
};
|
|
@@ -3670,7 +3738,7 @@
|
|
|
3670
3738
|
input: {
|
|
3671
3739
|
value: daily.step,
|
|
3672
3740
|
onChange: value => {
|
|
3673
|
-
setDaily(__spreadProps$r(__spreadValues$
|
|
3741
|
+
setDaily(__spreadProps$r(__spreadValues$A({}, daily), {
|
|
3674
3742
|
step: value
|
|
3675
3743
|
}));
|
|
3676
3744
|
},
|
|
@@ -3684,7 +3752,7 @@
|
|
|
3684
3752
|
value: daily.time,
|
|
3685
3753
|
onChange: value => {
|
|
3686
3754
|
if (value) {
|
|
3687
|
-
setDaily(__spreadProps$r(__spreadValues$
|
|
3755
|
+
setDaily(__spreadProps$r(__spreadValues$A({}, daily), {
|
|
3688
3756
|
time: value
|
|
3689
3757
|
}));
|
|
3690
3758
|
}
|
|
@@ -3739,7 +3807,7 @@
|
|
|
3739
3807
|
input: {
|
|
3740
3808
|
value: weekly.step,
|
|
3741
3809
|
onChange: value => {
|
|
3742
|
-
setWeekly(__spreadProps$r(__spreadValues$
|
|
3810
|
+
setWeekly(__spreadProps$r(__spreadValues$A({}, weekly), {
|
|
3743
3811
|
step: value
|
|
3744
3812
|
}));
|
|
3745
3813
|
},
|
|
@@ -3756,7 +3824,7 @@
|
|
|
3756
3824
|
className: linaria.cx("week-day-option", active && "active", i18n.language === parrot.ParrotLngs.en && "en-text"),
|
|
3757
3825
|
type: "default",
|
|
3758
3826
|
key: d.value,
|
|
3759
|
-
onClick: () => setWeekly(__spreadProps$r(__spreadValues$
|
|
3827
|
+
onClick: () => setWeekly(__spreadProps$r(__spreadValues$A({}, weekly), {
|
|
3760
3828
|
days: active ? weekly.days.filter(day => day !== d.value) : weekly.days.concat(d.value).sort((a, b) => a - b)
|
|
3761
3829
|
}))
|
|
3762
3830
|
}, d.text);
|
|
@@ -3768,7 +3836,7 @@
|
|
|
3768
3836
|
value: weekly.time,
|
|
3769
3837
|
onChange: value => {
|
|
3770
3838
|
if (value) {
|
|
3771
|
-
setWeekly(__spreadProps$r(__spreadValues$
|
|
3839
|
+
setWeekly(__spreadProps$r(__spreadValues$A({}, weekly), {
|
|
3772
3840
|
time: value
|
|
3773
3841
|
}));
|
|
3774
3842
|
}
|
|
@@ -3795,7 +3863,7 @@
|
|
|
3795
3863
|
input: {
|
|
3796
3864
|
value: monthly.step,
|
|
3797
3865
|
onChange: value => {
|
|
3798
|
-
setMonthly(__spreadProps$r(__spreadValues$
|
|
3866
|
+
setMonthly(__spreadProps$r(__spreadValues$A({}, monthly), {
|
|
3799
3867
|
step: value
|
|
3800
3868
|
}));
|
|
3801
3869
|
},
|
|
@@ -3812,7 +3880,7 @@
|
|
|
3812
3880
|
className: linaria.cx("month-day-option", active && "active"),
|
|
3813
3881
|
type: "default",
|
|
3814
3882
|
key: d,
|
|
3815
|
-
onClick: () => setMonthly(__spreadProps$r(__spreadValues$
|
|
3883
|
+
onClick: () => setMonthly(__spreadProps$r(__spreadValues$A({}, monthly), {
|
|
3816
3884
|
days: active ? monthly.days.filter(day => day !== d) : monthly.days.concat(d).sort((a, b) => a - b)
|
|
3817
3885
|
}))
|
|
3818
3886
|
}, d);
|
|
@@ -3828,7 +3896,7 @@
|
|
|
3828
3896
|
value: monthly.time,
|
|
3829
3897
|
onChange: value => {
|
|
3830
3898
|
if (value) {
|
|
3831
|
-
setMonthly(__spreadProps$r(__spreadValues$
|
|
3899
|
+
setMonthly(__spreadProps$r(__spreadValues$A({}, monthly), {
|
|
3832
3900
|
time: value
|
|
3833
3901
|
}));
|
|
3834
3902
|
}
|
|
@@ -3852,7 +3920,7 @@
|
|
|
3852
3920
|
}, [value]);
|
|
3853
3921
|
const sendAtDate = React.useMemo(() => cronTime.sendAt(), [cronTime]);
|
|
3854
3922
|
const changeValue = newValue => {
|
|
3855
|
-
onChange(__spreadValues$
|
|
3923
|
+
onChange(__spreadValues$A(__spreadValues$A({}, value), newValue));
|
|
3856
3924
|
};
|
|
3857
3925
|
const [mode, setMode] = React.useState(getMode(cronTime["source"]));
|
|
3858
3926
|
const source = cronTime["source"];
|
|
@@ -3860,19 +3928,19 @@
|
|
|
3860
3928
|
const time = getTime(cronTime);
|
|
3861
3929
|
const [daily, setDaily] = React.useState(() => {
|
|
3862
3930
|
const rawDaily = getDaily(mode, source, time);
|
|
3863
|
-
return __spreadProps$r(__spreadValues$
|
|
3931
|
+
return __spreadProps$r(__spreadValues$A({}, rawDaily), {
|
|
3864
3932
|
time: moment__default.default(rawDaily.time.format())
|
|
3865
3933
|
});
|
|
3866
3934
|
});
|
|
3867
3935
|
const [weekly, setWeekly] = React.useState(() => {
|
|
3868
3936
|
const rawWeekly = getWeekly(mode, source, time);
|
|
3869
|
-
return __spreadProps$r(__spreadValues$
|
|
3937
|
+
return __spreadProps$r(__spreadValues$A({}, rawWeekly), {
|
|
3870
3938
|
time: moment__default.default(rawWeekly.time.format())
|
|
3871
3939
|
});
|
|
3872
3940
|
});
|
|
3873
3941
|
const [monthly, setMonthly] = React.useState(() => {
|
|
3874
3942
|
const rawMonthly = getMonthly(mode, month, day, time);
|
|
3875
|
-
return __spreadProps$r(__spreadValues$
|
|
3943
|
+
return __spreadProps$r(__spreadValues$A({}, rawMonthly), {
|
|
3876
3944
|
time: moment__default.default(rawMonthly.time.format())
|
|
3877
3945
|
});
|
|
3878
3946
|
});
|
|
@@ -4060,19 +4128,19 @@
|
|
|
4060
4128
|
return /* @__PURE__ */ React__namespace.default.createElement("span", { className: linaria.cx(Typo.Heading.h3_regular_upper, className) }, title);
|
|
4061
4129
|
};
|
|
4062
4130
|
|
|
4063
|
-
var __defProp$
|
|
4064
|
-
var __getOwnPropSymbols$
|
|
4065
|
-
var __hasOwnProp$
|
|
4066
|
-
var __propIsEnum$
|
|
4067
|
-
var __defNormalProp$
|
|
4068
|
-
var __spreadValues$
|
|
4131
|
+
var __defProp$z = Object.defineProperty;
|
|
4132
|
+
var __getOwnPropSymbols$A = Object.getOwnPropertySymbols;
|
|
4133
|
+
var __hasOwnProp$A = Object.prototype.hasOwnProperty;
|
|
4134
|
+
var __propIsEnum$A = Object.prototype.propertyIsEnumerable;
|
|
4135
|
+
var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4136
|
+
var __spreadValues$z = (a, b) => {
|
|
4069
4137
|
for (var prop in b || (b = {}))
|
|
4070
|
-
if (__hasOwnProp$
|
|
4071
|
-
__defNormalProp$
|
|
4072
|
-
if (__getOwnPropSymbols$
|
|
4073
|
-
for (var prop of __getOwnPropSymbols$
|
|
4074
|
-
if (__propIsEnum$
|
|
4075
|
-
__defNormalProp$
|
|
4138
|
+
if (__hasOwnProp$A.call(b, prop))
|
|
4139
|
+
__defNormalProp$z(a, prop, b[prop]);
|
|
4140
|
+
if (__getOwnPropSymbols$A)
|
|
4141
|
+
for (var prop of __getOwnPropSymbols$A(b)) {
|
|
4142
|
+
if (__propIsEnum$A.call(b, prop))
|
|
4143
|
+
__defNormalProp$z(a, prop, b[prop]);
|
|
4076
4144
|
}
|
|
4077
4145
|
return a;
|
|
4078
4146
|
};
|
|
@@ -4082,7 +4150,7 @@
|
|
|
4082
4150
|
return;
|
|
4083
4151
|
moveItem(result.source.index, result.destination.index);
|
|
4084
4152
|
};
|
|
4085
|
-
return /* @__PURE__ */ React__namespace.default.createElement(reactBeautifulDnd.DragDropContext, { onDragEnd }, /* @__PURE__ */ React__namespace.default.createElement(reactBeautifulDnd.Droppable, { droppableId: "droppable" }, (provided) => /* @__PURE__ */ React__namespace.default.createElement("div", __spreadValues$
|
|
4153
|
+
return /* @__PURE__ */ React__namespace.default.createElement(reactBeautifulDnd.DragDropContext, { onDragEnd }, /* @__PURE__ */ React__namespace.default.createElement(reactBeautifulDnd.Droppable, { droppableId: "droppable" }, (provided) => /* @__PURE__ */ React__namespace.default.createElement("div", __spreadValues$z({ ref: provided.innerRef }, provided.droppableProps), children, provided.placeholder)));
|
|
4086
4154
|
};
|
|
4087
4155
|
SortableList.Item = reactBeautifulDnd.Draggable;
|
|
4088
4156
|
|
|
@@ -4143,7 +4211,6 @@
|
|
|
4143
4211
|
dataSource
|
|
4144
4212
|
} = props;
|
|
4145
4213
|
return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, items.map(item => {
|
|
4146
|
-
console.log("item", item);
|
|
4147
4214
|
if (item.dataIndex === "[__typename]") {
|
|
4148
4215
|
return null;
|
|
4149
4216
|
}
|
|
@@ -4186,28 +4253,28 @@
|
|
|
4186
4253
|
})));
|
|
4187
4254
|
};
|
|
4188
4255
|
|
|
4189
|
-
var __defProp$
|
|
4190
|
-
var __getOwnPropSymbols$
|
|
4191
|
-
var __hasOwnProp$
|
|
4192
|
-
var __propIsEnum$
|
|
4193
|
-
var __defNormalProp$
|
|
4256
|
+
var __defProp$y = Object.defineProperty;
|
|
4257
|
+
var __getOwnPropSymbols$z = Object.getOwnPropertySymbols;
|
|
4258
|
+
var __hasOwnProp$z = Object.prototype.hasOwnProperty;
|
|
4259
|
+
var __propIsEnum$z = Object.prototype.propertyIsEnumerable;
|
|
4260
|
+
var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, {
|
|
4194
4261
|
enumerable: true,
|
|
4195
4262
|
configurable: true,
|
|
4196
4263
|
writable: true,
|
|
4197
4264
|
value
|
|
4198
4265
|
}) : obj[key] = value;
|
|
4199
|
-
var __spreadValues$
|
|
4200
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4201
|
-
if (__getOwnPropSymbols$
|
|
4202
|
-
if (__propIsEnum$
|
|
4266
|
+
var __spreadValues$y = (a, b) => {
|
|
4267
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$z.call(b, prop)) __defNormalProp$y(a, prop, b[prop]);
|
|
4268
|
+
if (__getOwnPropSymbols$z) for (var prop of __getOwnPropSymbols$z(b)) {
|
|
4269
|
+
if (__propIsEnum$z.call(b, prop)) __defNormalProp$y(a, prop, b[prop]);
|
|
4203
4270
|
}
|
|
4204
4271
|
return a;
|
|
4205
4272
|
};
|
|
4206
4273
|
var __objRest$h = (source, exclude) => {
|
|
4207
4274
|
var target = {};
|
|
4208
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4209
|
-
if (source != null && __getOwnPropSymbols$
|
|
4210
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4275
|
+
for (var prop in source) if (__hasOwnProp$z.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4276
|
+
if (source != null && __getOwnPropSymbols$z) for (var prop of __getOwnPropSymbols$z(source)) {
|
|
4277
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$z.call(source, prop)) target[prop] = source[prop];
|
|
4211
4278
|
}
|
|
4212
4279
|
return target;
|
|
4213
4280
|
};
|
|
@@ -4233,34 +4300,34 @@
|
|
|
4233
4300
|
onClick: e => e.stopPropagation()
|
|
4234
4301
|
}, /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
4235
4302
|
className: "enabled-text"
|
|
4236
|
-
}, _props.checked ? text.checked : text.unchecked), /* @__PURE__ */React__namespace.default.createElement(Switch, __spreadValues$
|
|
4303
|
+
}, _props.checked ? text.checked : text.unchecked), /* @__PURE__ */React__namespace.default.createElement(Switch, __spreadValues$y({}, _props)));
|
|
4237
4304
|
};
|
|
4238
4305
|
|
|
4239
|
-
var __defProp$
|
|
4306
|
+
var __defProp$x = Object.defineProperty;
|
|
4240
4307
|
var __defProps$q = Object.defineProperties;
|
|
4241
4308
|
var __getOwnPropDescs$q = Object.getOwnPropertyDescriptors;
|
|
4242
|
-
var __getOwnPropSymbols$
|
|
4243
|
-
var __hasOwnProp$
|
|
4244
|
-
var __propIsEnum$
|
|
4245
|
-
var __defNormalProp$
|
|
4309
|
+
var __getOwnPropSymbols$y = Object.getOwnPropertySymbols;
|
|
4310
|
+
var __hasOwnProp$y = Object.prototype.hasOwnProperty;
|
|
4311
|
+
var __propIsEnum$y = Object.prototype.propertyIsEnumerable;
|
|
4312
|
+
var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, {
|
|
4246
4313
|
enumerable: true,
|
|
4247
4314
|
configurable: true,
|
|
4248
4315
|
writable: true,
|
|
4249
4316
|
value
|
|
4250
4317
|
}) : obj[key] = value;
|
|
4251
|
-
var __spreadValues$
|
|
4252
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4253
|
-
if (__getOwnPropSymbols$
|
|
4254
|
-
if (__propIsEnum$
|
|
4318
|
+
var __spreadValues$x = (a, b) => {
|
|
4319
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$y.call(b, prop)) __defNormalProp$x(a, prop, b[prop]);
|
|
4320
|
+
if (__getOwnPropSymbols$y) for (var prop of __getOwnPropSymbols$y(b)) {
|
|
4321
|
+
if (__propIsEnum$y.call(b, prop)) __defNormalProp$x(a, prop, b[prop]);
|
|
4255
4322
|
}
|
|
4256
4323
|
return a;
|
|
4257
4324
|
};
|
|
4258
4325
|
var __spreadProps$q = (a, b) => __defProps$q(a, __getOwnPropDescs$q(b));
|
|
4259
4326
|
var __objRest$g = (source, exclude) => {
|
|
4260
4327
|
var target = {};
|
|
4261
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4262
|
-
if (source != null && __getOwnPropSymbols$
|
|
4263
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4328
|
+
for (var prop in source) if (__hasOwnProp$y.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4329
|
+
if (source != null && __getOwnPropSymbols$y) for (var prop of __getOwnPropSymbols$y(source)) {
|
|
4330
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$y.call(source, prop)) target[prop] = source[prop];
|
|
4264
4331
|
}
|
|
4265
4332
|
return target;
|
|
4266
4333
|
};
|
|
@@ -4291,37 +4358,37 @@
|
|
|
4291
4358
|
ref: textWrapper,
|
|
4292
4359
|
className: textWrapperCls
|
|
4293
4360
|
}, text);
|
|
4294
|
-
return isTextTruncated ? /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadProps$q(__spreadValues$
|
|
4361
|
+
return isTextTruncated ? /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadProps$q(__spreadValues$x({}, restProps), {
|
|
4295
4362
|
title: text,
|
|
4296
4363
|
"data-testid": "text-tooltip"
|
|
4297
4364
|
}), /* @__PURE__ */React__namespace.default.createElement(TruncatedTextWrapper, null, renderName())) : renderName();
|
|
4298
4365
|
};
|
|
4299
4366
|
|
|
4300
|
-
var __defProp$
|
|
4367
|
+
var __defProp$w = Object.defineProperty;
|
|
4301
4368
|
var __defProps$p = Object.defineProperties;
|
|
4302
4369
|
var __getOwnPropDescs$p = Object.getOwnPropertyDescriptors;
|
|
4303
|
-
var __getOwnPropSymbols$
|
|
4304
|
-
var __hasOwnProp$
|
|
4305
|
-
var __propIsEnum$
|
|
4306
|
-
var __defNormalProp$
|
|
4370
|
+
var __getOwnPropSymbols$x = Object.getOwnPropertySymbols;
|
|
4371
|
+
var __hasOwnProp$x = Object.prototype.hasOwnProperty;
|
|
4372
|
+
var __propIsEnum$x = Object.prototype.propertyIsEnumerable;
|
|
4373
|
+
var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, {
|
|
4307
4374
|
enumerable: true,
|
|
4308
4375
|
configurable: true,
|
|
4309
4376
|
writable: true,
|
|
4310
4377
|
value
|
|
4311
4378
|
}) : obj[key] = value;
|
|
4312
|
-
var __spreadValues$
|
|
4313
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4314
|
-
if (__getOwnPropSymbols$
|
|
4315
|
-
if (__propIsEnum$
|
|
4379
|
+
var __spreadValues$w = (a, b) => {
|
|
4380
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$x.call(b, prop)) __defNormalProp$w(a, prop, b[prop]);
|
|
4381
|
+
if (__getOwnPropSymbols$x) for (var prop of __getOwnPropSymbols$x(b)) {
|
|
4382
|
+
if (__propIsEnum$x.call(b, prop)) __defNormalProp$w(a, prop, b[prop]);
|
|
4316
4383
|
}
|
|
4317
4384
|
return a;
|
|
4318
4385
|
};
|
|
4319
4386
|
var __spreadProps$p = (a, b) => __defProps$p(a, __getOwnPropDescs$p(b));
|
|
4320
4387
|
var __objRest$f = (source, exclude) => {
|
|
4321
4388
|
var target = {};
|
|
4322
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4323
|
-
if (source != null && __getOwnPropSymbols$
|
|
4324
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4389
|
+
for (var prop in source) if (__hasOwnProp$x.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4390
|
+
if (source != null && __getOwnPropSymbols$x) for (var prop of __getOwnPropSymbols$x(source)) {
|
|
4391
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$x.call(source, prop)) target[prop] = source[prop];
|
|
4325
4392
|
}
|
|
4326
4393
|
return target;
|
|
4327
4394
|
};
|
|
@@ -4345,7 +4412,7 @@
|
|
|
4345
4412
|
src: getAlertIcon(type)
|
|
4346
4413
|
});
|
|
4347
4414
|
const _type = type === "normal" ? "info" : type;
|
|
4348
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Alert, __spreadProps$p(__spreadValues$
|
|
4415
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Alert, __spreadProps$p(__spreadValues$w({}, props), {
|
|
4349
4416
|
className: cs__default.default(AlertStyle, type ? `alert-${type}` : "", className, {
|
|
4350
4417
|
action
|
|
4351
4418
|
}),
|
|
@@ -4377,21 +4444,21 @@
|
|
|
4377
4444
|
return /* @__PURE__ */ React__namespace.default.createElement("span", null, text);
|
|
4378
4445
|
};
|
|
4379
4446
|
|
|
4380
|
-
var __defProp$
|
|
4447
|
+
var __defProp$v = Object.defineProperty;
|
|
4381
4448
|
var __defProps$o = Object.defineProperties;
|
|
4382
4449
|
var __getOwnPropDescs$o = Object.getOwnPropertyDescriptors;
|
|
4383
|
-
var __getOwnPropSymbols$
|
|
4384
|
-
var __hasOwnProp$
|
|
4385
|
-
var __propIsEnum$
|
|
4386
|
-
var __defNormalProp$
|
|
4387
|
-
var __spreadValues$
|
|
4450
|
+
var __getOwnPropSymbols$w = Object.getOwnPropertySymbols;
|
|
4451
|
+
var __hasOwnProp$w = Object.prototype.hasOwnProperty;
|
|
4452
|
+
var __propIsEnum$w = Object.prototype.propertyIsEnumerable;
|
|
4453
|
+
var __defNormalProp$v = (obj, key, value) => key in obj ? __defProp$v(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4454
|
+
var __spreadValues$v = (a, b) => {
|
|
4388
4455
|
for (var prop in b || (b = {}))
|
|
4389
|
-
if (__hasOwnProp$
|
|
4390
|
-
__defNormalProp$
|
|
4391
|
-
if (__getOwnPropSymbols$
|
|
4392
|
-
for (var prop of __getOwnPropSymbols$
|
|
4393
|
-
if (__propIsEnum$
|
|
4394
|
-
__defNormalProp$
|
|
4456
|
+
if (__hasOwnProp$w.call(b, prop))
|
|
4457
|
+
__defNormalProp$v(a, prop, b[prop]);
|
|
4458
|
+
if (__getOwnPropSymbols$w)
|
|
4459
|
+
for (var prop of __getOwnPropSymbols$w(b)) {
|
|
4460
|
+
if (__propIsEnum$w.call(b, prop))
|
|
4461
|
+
__defNormalProp$v(a, prop, b[prop]);
|
|
4395
4462
|
}
|
|
4396
4463
|
return a;
|
|
4397
4464
|
};
|
|
@@ -4399,11 +4466,11 @@
|
|
|
4399
4466
|
var __objRest$e = (source, exclude) => {
|
|
4400
4467
|
var target = {};
|
|
4401
4468
|
for (var prop in source)
|
|
4402
|
-
if (__hasOwnProp$
|
|
4469
|
+
if (__hasOwnProp$w.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
4403
4470
|
target[prop] = source[prop];
|
|
4404
|
-
if (source != null && __getOwnPropSymbols$
|
|
4405
|
-
for (var prop of __getOwnPropSymbols$
|
|
4406
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4471
|
+
if (source != null && __getOwnPropSymbols$w)
|
|
4472
|
+
for (var prop of __getOwnPropSymbols$w(source)) {
|
|
4473
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$w.call(source, prop))
|
|
4407
4474
|
target[prop] = source[prop];
|
|
4408
4475
|
}
|
|
4409
4476
|
return target;
|
|
@@ -4412,7 +4479,7 @@
|
|
|
4412
4479
|
var _b = _a, { type = "error", className } = _b, props = __objRest$e(_b, ["type", "className"]);
|
|
4413
4480
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
4414
4481
|
antd.Badge,
|
|
4415
|
-
__spreadProps$o(__spreadValues$
|
|
4482
|
+
__spreadProps$o(__spreadValues$v({
|
|
4416
4483
|
className: core.cx(`badge-${type}`, className)
|
|
4417
4484
|
}, props), {
|
|
4418
4485
|
showZero: false
|
|
@@ -4420,28 +4487,28 @@
|
|
|
4420
4487
|
);
|
|
4421
4488
|
};
|
|
4422
4489
|
|
|
4423
|
-
var __defProp$
|
|
4424
|
-
var __getOwnPropSymbols$
|
|
4425
|
-
var __hasOwnProp$
|
|
4426
|
-
var __propIsEnum$
|
|
4427
|
-
var __defNormalProp$
|
|
4490
|
+
var __defProp$u = Object.defineProperty;
|
|
4491
|
+
var __getOwnPropSymbols$v = Object.getOwnPropertySymbols;
|
|
4492
|
+
var __hasOwnProp$v = Object.prototype.hasOwnProperty;
|
|
4493
|
+
var __propIsEnum$v = Object.prototype.propertyIsEnumerable;
|
|
4494
|
+
var __defNormalProp$u = (obj, key, value) => key in obj ? __defProp$u(obj, key, {
|
|
4428
4495
|
enumerable: true,
|
|
4429
4496
|
configurable: true,
|
|
4430
4497
|
writable: true,
|
|
4431
4498
|
value
|
|
4432
4499
|
}) : obj[key] = value;
|
|
4433
|
-
var __spreadValues$
|
|
4434
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4435
|
-
if (__getOwnPropSymbols$
|
|
4436
|
-
if (__propIsEnum$
|
|
4500
|
+
var __spreadValues$u = (a, b) => {
|
|
4501
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$v.call(b, prop)) __defNormalProp$u(a, prop, b[prop]);
|
|
4502
|
+
if (__getOwnPropSymbols$v) for (var prop of __getOwnPropSymbols$v(b)) {
|
|
4503
|
+
if (__propIsEnum$v.call(b, prop)) __defNormalProp$u(a, prop, b[prop]);
|
|
4437
4504
|
}
|
|
4438
4505
|
return a;
|
|
4439
4506
|
};
|
|
4440
4507
|
var __objRest$d = (source, exclude) => {
|
|
4441
4508
|
var target = {};
|
|
4442
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4443
|
-
if (source != null && __getOwnPropSymbols$
|
|
4444
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4509
|
+
for (var prop in source) if (__hasOwnProp$v.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4510
|
+
if (source != null && __getOwnPropSymbols$v) for (var prop of __getOwnPropSymbols$v(source)) {
|
|
4511
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$v.call(source, prop)) target[prop] = source[prop];
|
|
4445
4512
|
}
|
|
4446
4513
|
return target;
|
|
4447
4514
|
};
|
|
@@ -4485,7 +4552,7 @@
|
|
|
4485
4552
|
style: {
|
|
4486
4553
|
cursor: "not-allowed"
|
|
4487
4554
|
}
|
|
4488
|
-
}, /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$
|
|
4555
|
+
}, /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$u({
|
|
4489
4556
|
style: {
|
|
4490
4557
|
pointerEvents: "none"
|
|
4491
4558
|
},
|
|
@@ -4495,7 +4562,7 @@
|
|
|
4495
4562
|
ghost,
|
|
4496
4563
|
className: core.cx(ButtonStyle, className2),
|
|
4497
4564
|
prefixIcon: icon
|
|
4498
|
-
}, buttonPropArgs))) : /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$
|
|
4565
|
+
}, buttonPropArgs))) : /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$u({
|
|
4499
4566
|
type,
|
|
4500
4567
|
size,
|
|
4501
4568
|
danger,
|
|
@@ -4504,7 +4571,7 @@
|
|
|
4504
4571
|
prefixIcon: icon
|
|
4505
4572
|
}, buttonPropArgs)));
|
|
4506
4573
|
}
|
|
4507
|
-
return /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$
|
|
4574
|
+
return /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$u({
|
|
4508
4575
|
key: key || index,
|
|
4509
4576
|
type,
|
|
4510
4577
|
size,
|
|
@@ -4530,28 +4597,28 @@
|
|
|
4530
4597
|
propsAsIs: false
|
|
4531
4598
|
});
|
|
4532
4599
|
|
|
4533
|
-
var __defProp$
|
|
4534
|
-
var __getOwnPropSymbols$
|
|
4535
|
-
var __hasOwnProp$
|
|
4536
|
-
var __propIsEnum$
|
|
4537
|
-
var __defNormalProp$
|
|
4600
|
+
var __defProp$t = Object.defineProperty;
|
|
4601
|
+
var __getOwnPropSymbols$u = Object.getOwnPropertySymbols;
|
|
4602
|
+
var __hasOwnProp$u = Object.prototype.hasOwnProperty;
|
|
4603
|
+
var __propIsEnum$u = Object.prototype.propertyIsEnumerable;
|
|
4604
|
+
var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, {
|
|
4538
4605
|
enumerable: true,
|
|
4539
4606
|
configurable: true,
|
|
4540
4607
|
writable: true,
|
|
4541
4608
|
value
|
|
4542
4609
|
}) : obj[key] = value;
|
|
4543
|
-
var __spreadValues$
|
|
4544
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4545
|
-
if (__getOwnPropSymbols$
|
|
4546
|
-
if (__propIsEnum$
|
|
4610
|
+
var __spreadValues$t = (a, b) => {
|
|
4611
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$u.call(b, prop)) __defNormalProp$t(a, prop, b[prop]);
|
|
4612
|
+
if (__getOwnPropSymbols$u) for (var prop of __getOwnPropSymbols$u(b)) {
|
|
4613
|
+
if (__propIsEnum$u.call(b, prop)) __defNormalProp$t(a, prop, b[prop]);
|
|
4547
4614
|
}
|
|
4548
4615
|
return a;
|
|
4549
4616
|
};
|
|
4550
4617
|
var __objRest$c = (source, exclude) => {
|
|
4551
4618
|
var target = {};
|
|
4552
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4553
|
-
if (source != null && __getOwnPropSymbols$
|
|
4554
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4619
|
+
for (var prop in source) if (__hasOwnProp$u.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4620
|
+
if (source != null && __getOwnPropSymbols$u) for (var prop of __getOwnPropSymbols$u(source)) {
|
|
4621
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$u.call(source, prop)) target[prop] = source[prop];
|
|
4555
4622
|
}
|
|
4556
4623
|
return target;
|
|
4557
4624
|
};
|
|
@@ -4564,7 +4631,7 @@
|
|
|
4564
4631
|
shadow
|
|
4565
4632
|
} = _a,
|
|
4566
4633
|
otherProps = __objRest$c(_a, ["children", "className", "shadow"]);
|
|
4567
|
-
return /* @__PURE__ */React__namespace.default.createElement("div", __spreadValues$
|
|
4634
|
+
return /* @__PURE__ */React__namespace.default.createElement("div", __spreadValues$t({
|
|
4568
4635
|
className: cs__default.default({
|
|
4569
4636
|
[boxShadow]: shadow
|
|
4570
4637
|
}, className)
|
|
@@ -4577,21 +4644,21 @@
|
|
|
4577
4644
|
propsAsIs: true
|
|
4578
4645
|
});
|
|
4579
4646
|
|
|
4580
|
-
var __defProp$
|
|
4647
|
+
var __defProp$s = Object.defineProperty;
|
|
4581
4648
|
var __defProps$n = Object.defineProperties;
|
|
4582
4649
|
var __getOwnPropDescs$n = Object.getOwnPropertyDescriptors;
|
|
4583
|
-
var __getOwnPropSymbols$
|
|
4584
|
-
var __hasOwnProp$
|
|
4585
|
-
var __propIsEnum$
|
|
4586
|
-
var __defNormalProp$
|
|
4587
|
-
var __spreadValues$
|
|
4650
|
+
var __getOwnPropSymbols$t = Object.getOwnPropertySymbols;
|
|
4651
|
+
var __hasOwnProp$t = Object.prototype.hasOwnProperty;
|
|
4652
|
+
var __propIsEnum$t = Object.prototype.propertyIsEnumerable;
|
|
4653
|
+
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4654
|
+
var __spreadValues$s = (a, b) => {
|
|
4588
4655
|
for (var prop in b || (b = {}))
|
|
4589
|
-
if (__hasOwnProp$
|
|
4590
|
-
__defNormalProp$
|
|
4591
|
-
if (__getOwnPropSymbols$
|
|
4592
|
-
for (var prop of __getOwnPropSymbols$
|
|
4593
|
-
if (__propIsEnum$
|
|
4594
|
-
__defNormalProp$
|
|
4656
|
+
if (__hasOwnProp$t.call(b, prop))
|
|
4657
|
+
__defNormalProp$s(a, prop, b[prop]);
|
|
4658
|
+
if (__getOwnPropSymbols$t)
|
|
4659
|
+
for (var prop of __getOwnPropSymbols$t(b)) {
|
|
4660
|
+
if (__propIsEnum$t.call(b, prop))
|
|
4661
|
+
__defNormalProp$s(a, prop, b[prop]);
|
|
4595
4662
|
}
|
|
4596
4663
|
return a;
|
|
4597
4664
|
};
|
|
@@ -4599,11 +4666,11 @@
|
|
|
4599
4666
|
var __objRest$b = (source, exclude) => {
|
|
4600
4667
|
var target = {};
|
|
4601
4668
|
for (var prop in source)
|
|
4602
|
-
if (__hasOwnProp$
|
|
4669
|
+
if (__hasOwnProp$t.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
4603
4670
|
target[prop] = source[prop];
|
|
4604
|
-
if (source != null && __getOwnPropSymbols$
|
|
4605
|
-
for (var prop of __getOwnPropSymbols$
|
|
4606
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4671
|
+
if (source != null && __getOwnPropSymbols$t)
|
|
4672
|
+
for (var prop of __getOwnPropSymbols$t(source)) {
|
|
4673
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$t.call(source, prop))
|
|
4607
4674
|
target[prop] = source[prop];
|
|
4608
4675
|
}
|
|
4609
4676
|
return target;
|
|
@@ -4630,7 +4697,7 @@
|
|
|
4630
4697
|
const [open, setOpen] = React.useState(defaultOpen);
|
|
4631
4698
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
4632
4699
|
CardWrapper,
|
|
4633
|
-
__spreadProps$n(__spreadValues$
|
|
4700
|
+
__spreadProps$n(__spreadValues$s({
|
|
4634
4701
|
ref,
|
|
4635
4702
|
className: cs__default.default(["card-wrapper", className, hoverable && "hoverable"])
|
|
4636
4703
|
}, domProps), {
|
|
@@ -4659,26 +4726,26 @@
|
|
|
4659
4726
|
}
|
|
4660
4727
|
);
|
|
4661
4728
|
|
|
4662
|
-
var __defProp$
|
|
4729
|
+
var __defProp$r = Object.defineProperty;
|
|
4663
4730
|
var __defProps$m = Object.defineProperties;
|
|
4664
4731
|
var __getOwnPropDescs$m = Object.getOwnPropertyDescriptors;
|
|
4665
|
-
var __getOwnPropSymbols$
|
|
4666
|
-
var __hasOwnProp$
|
|
4667
|
-
var __propIsEnum$
|
|
4668
|
-
var __defNormalProp$
|
|
4669
|
-
var __spreadValues$
|
|
4732
|
+
var __getOwnPropSymbols$s = Object.getOwnPropertySymbols;
|
|
4733
|
+
var __hasOwnProp$s = Object.prototype.hasOwnProperty;
|
|
4734
|
+
var __propIsEnum$s = Object.prototype.propertyIsEnumerable;
|
|
4735
|
+
var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4736
|
+
var __spreadValues$r = (a, b) => {
|
|
4670
4737
|
for (var prop in b || (b = {}))
|
|
4671
|
-
if (__hasOwnProp$
|
|
4672
|
-
__defNormalProp$
|
|
4673
|
-
if (__getOwnPropSymbols$
|
|
4674
|
-
for (var prop of __getOwnPropSymbols$
|
|
4675
|
-
if (__propIsEnum$
|
|
4676
|
-
__defNormalProp$
|
|
4738
|
+
if (__hasOwnProp$s.call(b, prop))
|
|
4739
|
+
__defNormalProp$r(a, prop, b[prop]);
|
|
4740
|
+
if (__getOwnPropSymbols$s)
|
|
4741
|
+
for (var prop of __getOwnPropSymbols$s(b)) {
|
|
4742
|
+
if (__propIsEnum$s.call(b, prop))
|
|
4743
|
+
__defNormalProp$r(a, prop, b[prop]);
|
|
4677
4744
|
}
|
|
4678
4745
|
return a;
|
|
4679
4746
|
};
|
|
4680
4747
|
var __spreadProps$m = (a, b) => __defProps$m(a, __getOwnPropDescs$m(b));
|
|
4681
|
-
const Cascader = (props) => /* @__PURE__ */ React__namespace.default.createElement(antd5.Cascader, __spreadProps$m(__spreadValues$
|
|
4748
|
+
const Cascader = (props) => /* @__PURE__ */ React__namespace.default.createElement(antd5.Cascader, __spreadProps$m(__spreadValues$r({}, props), { prefixCls: "antd5" }));
|
|
4682
4749
|
|
|
4683
4750
|
const card = "c10crapj";
|
|
4684
4751
|
const ExpandableContainer = props => {
|
|
@@ -4748,22 +4815,22 @@
|
|
|
4748
4815
|
}, children));
|
|
4749
4816
|
};
|
|
4750
4817
|
|
|
4751
|
-
var __defProp$
|
|
4818
|
+
var __defProp$q = Object.defineProperty;
|
|
4752
4819
|
var __defProps$l = Object.defineProperties;
|
|
4753
4820
|
var __getOwnPropDescs$l = Object.getOwnPropertyDescriptors;
|
|
4754
|
-
var __getOwnPropSymbols$
|
|
4755
|
-
var __hasOwnProp$
|
|
4756
|
-
var __propIsEnum$
|
|
4757
|
-
var __defNormalProp$
|
|
4821
|
+
var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
|
|
4822
|
+
var __hasOwnProp$r = Object.prototype.hasOwnProperty;
|
|
4823
|
+
var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
|
|
4824
|
+
var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, {
|
|
4758
4825
|
enumerable: true,
|
|
4759
4826
|
configurable: true,
|
|
4760
4827
|
writable: true,
|
|
4761
4828
|
value
|
|
4762
4829
|
}) : obj[key] = value;
|
|
4763
|
-
var __spreadValues$
|
|
4764
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4765
|
-
if (__getOwnPropSymbols$
|
|
4766
|
-
if (__propIsEnum$
|
|
4830
|
+
var __spreadValues$q = (a, b) => {
|
|
4831
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$r.call(b, prop)) __defNormalProp$q(a, prop, b[prop]);
|
|
4832
|
+
if (__getOwnPropSymbols$r) for (var prop of __getOwnPropSymbols$r(b)) {
|
|
4833
|
+
if (__propIsEnum$r.call(b, prop)) __defNormalProp$q(a, prop, b[prop]);
|
|
4767
4834
|
}
|
|
4768
4835
|
return a;
|
|
4769
4836
|
};
|
|
@@ -4773,7 +4840,7 @@
|
|
|
4773
4840
|
} = antd.Form;
|
|
4774
4841
|
const FormItemStyle$1 = "f1p9ti6d";
|
|
4775
4842
|
const FormItem$1 = props => {
|
|
4776
|
-
return /* @__PURE__ */React__namespace.default.createElement(AntdFormItem, __spreadProps$l(__spreadValues$
|
|
4843
|
+
return /* @__PURE__ */React__namespace.default.createElement(AntdFormItem, __spreadProps$l(__spreadValues$q({}, props), {
|
|
4777
4844
|
className: cs__default.default(FormItemStyle$1, props.className)
|
|
4778
4845
|
}));
|
|
4779
4846
|
};
|
|
@@ -4781,25 +4848,25 @@
|
|
|
4781
4848
|
const Form = antd.Form;
|
|
4782
4849
|
Form.Item = FormItem$1;
|
|
4783
4850
|
|
|
4784
|
-
var __defProp$
|
|
4785
|
-
var __getOwnPropSymbols$
|
|
4786
|
-
var __hasOwnProp$
|
|
4787
|
-
var __propIsEnum$
|
|
4788
|
-
var __defNormalProp$
|
|
4789
|
-
var __spreadValues$
|
|
4851
|
+
var __defProp$p = Object.defineProperty;
|
|
4852
|
+
var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
|
|
4853
|
+
var __hasOwnProp$q = Object.prototype.hasOwnProperty;
|
|
4854
|
+
var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
|
|
4855
|
+
var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4856
|
+
var __spreadValues$p = (a, b) => {
|
|
4790
4857
|
for (var prop in b || (b = {}))
|
|
4791
|
-
if (__hasOwnProp$
|
|
4792
|
-
__defNormalProp$
|
|
4793
|
-
if (__getOwnPropSymbols$
|
|
4794
|
-
for (var prop of __getOwnPropSymbols$
|
|
4795
|
-
if (__propIsEnum$
|
|
4796
|
-
__defNormalProp$
|
|
4858
|
+
if (__hasOwnProp$q.call(b, prop))
|
|
4859
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
4860
|
+
if (__getOwnPropSymbols$q)
|
|
4861
|
+
for (var prop of __getOwnPropSymbols$q(b)) {
|
|
4862
|
+
if (__propIsEnum$q.call(b, prop))
|
|
4863
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
4797
4864
|
}
|
|
4798
4865
|
return a;
|
|
4799
4866
|
};
|
|
4800
4867
|
const ParrotTrans = (props) => {
|
|
4801
4868
|
const { i18n } = useParrotTranslation();
|
|
4802
|
-
return /* @__PURE__ */ React__namespace.default.createElement(reactI18next.Trans, __spreadValues$
|
|
4869
|
+
return /* @__PURE__ */ React__namespace.default.createElement(reactI18next.Trans, __spreadValues$p({ i18n }, props));
|
|
4803
4870
|
};
|
|
4804
4871
|
|
|
4805
4872
|
const PresetColors$3 = [
|
|
@@ -4819,31 +4886,31 @@
|
|
|
4819
4886
|
const IconStyle$1 = "i1qw4clm";
|
|
4820
4887
|
const NameTagStyle = "n1r5ku5l";
|
|
4821
4888
|
|
|
4822
|
-
var __defProp$
|
|
4889
|
+
var __defProp$o = Object.defineProperty;
|
|
4823
4890
|
var __defProps$k = Object.defineProperties;
|
|
4824
4891
|
var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
|
|
4825
|
-
var __getOwnPropSymbols$
|
|
4826
|
-
var __hasOwnProp$
|
|
4827
|
-
var __propIsEnum$
|
|
4828
|
-
var __defNormalProp$
|
|
4892
|
+
var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
|
|
4893
|
+
var __hasOwnProp$p = Object.prototype.hasOwnProperty;
|
|
4894
|
+
var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
|
|
4895
|
+
var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, {
|
|
4829
4896
|
enumerable: true,
|
|
4830
4897
|
configurable: true,
|
|
4831
4898
|
writable: true,
|
|
4832
4899
|
value
|
|
4833
4900
|
}) : obj[key] = value;
|
|
4834
|
-
var __spreadValues$
|
|
4835
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4836
|
-
if (__getOwnPropSymbols$
|
|
4837
|
-
if (__propIsEnum$
|
|
4901
|
+
var __spreadValues$o = (a, b) => {
|
|
4902
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$p.call(b, prop)) __defNormalProp$o(a, prop, b[prop]);
|
|
4903
|
+
if (__getOwnPropSymbols$p) for (var prop of __getOwnPropSymbols$p(b)) {
|
|
4904
|
+
if (__propIsEnum$p.call(b, prop)) __defNormalProp$o(a, prop, b[prop]);
|
|
4838
4905
|
}
|
|
4839
4906
|
return a;
|
|
4840
4907
|
};
|
|
4841
4908
|
var __spreadProps$k = (a, b) => __defProps$k(a, __getOwnPropDescs$k(b));
|
|
4842
4909
|
var __objRest$a = (source, exclude) => {
|
|
4843
4910
|
var target = {};
|
|
4844
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4845
|
-
if (source != null && __getOwnPropSymbols$
|
|
4846
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4911
|
+
for (var prop in source) if (__hasOwnProp$p.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4912
|
+
if (source != null && __getOwnPropSymbols$p) for (var prop of __getOwnPropSymbols$p(source)) {
|
|
4913
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$p.call(source, prop)) target[prop] = source[prop];
|
|
4847
4914
|
}
|
|
4848
4915
|
return target;
|
|
4849
4916
|
};
|
|
@@ -4859,7 +4926,7 @@
|
|
|
4859
4926
|
icon
|
|
4860
4927
|
} = _b,
|
|
4861
4928
|
props = __objRest$a(_b, ["size", "color", "className", "primaryContent", "secondaryContent", "icon"]);
|
|
4862
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$k(__spreadValues$
|
|
4929
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$k(__spreadValues$o({}, props), {
|
|
4863
4930
|
className: cs__default.default(className, TagStyle$1, Size$1[size], WrapperStyle, Typo.Label.l4_regular, {
|
|
4864
4931
|
[`ant-tag-${color}`]: PresetColors$3.includes(color)
|
|
4865
4932
|
}, "outside-tag")
|
|
@@ -4872,21 +4939,21 @@
|
|
|
4872
4939
|
}, icon), primaryContent), secondaryContent);
|
|
4873
4940
|
};
|
|
4874
4941
|
|
|
4875
|
-
var __defProp$
|
|
4942
|
+
var __defProp$n = Object.defineProperty;
|
|
4876
4943
|
var __defProps$j = Object.defineProperties;
|
|
4877
4944
|
var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
|
|
4878
|
-
var __getOwnPropSymbols$
|
|
4879
|
-
var __hasOwnProp$
|
|
4880
|
-
var __propIsEnum$
|
|
4881
|
-
var __defNormalProp$
|
|
4882
|
-
var __spreadValues$
|
|
4945
|
+
var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
|
|
4946
|
+
var __hasOwnProp$o = Object.prototype.hasOwnProperty;
|
|
4947
|
+
var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
|
|
4948
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4949
|
+
var __spreadValues$n = (a, b) => {
|
|
4883
4950
|
for (var prop in b || (b = {}))
|
|
4884
|
-
if (__hasOwnProp$
|
|
4885
|
-
__defNormalProp$
|
|
4886
|
-
if (__getOwnPropSymbols$
|
|
4887
|
-
for (var prop of __getOwnPropSymbols$
|
|
4888
|
-
if (__propIsEnum$
|
|
4889
|
-
__defNormalProp$
|
|
4951
|
+
if (__hasOwnProp$o.call(b, prop))
|
|
4952
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
4953
|
+
if (__getOwnPropSymbols$o)
|
|
4954
|
+
for (var prop of __getOwnPropSymbols$o(b)) {
|
|
4955
|
+
if (__propIsEnum$o.call(b, prop))
|
|
4956
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
4890
4957
|
}
|
|
4891
4958
|
return a;
|
|
4892
4959
|
};
|
|
@@ -4894,11 +4961,11 @@
|
|
|
4894
4961
|
var __objRest$9 = (source, exclude) => {
|
|
4895
4962
|
var target = {};
|
|
4896
4963
|
for (var prop in source)
|
|
4897
|
-
if (__hasOwnProp$
|
|
4964
|
+
if (__hasOwnProp$o.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
4898
4965
|
target[prop] = source[prop];
|
|
4899
|
-
if (source != null && __getOwnPropSymbols$
|
|
4900
|
-
for (var prop of __getOwnPropSymbols$
|
|
4901
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4966
|
+
if (source != null && __getOwnPropSymbols$o)
|
|
4967
|
+
for (var prop of __getOwnPropSymbols$o(source)) {
|
|
4968
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$o.call(source, prop))
|
|
4902
4969
|
target[prop] = source[prop];
|
|
4903
4970
|
}
|
|
4904
4971
|
return target;
|
|
@@ -4934,7 +5001,7 @@
|
|
|
4934
5001
|
const computedColor = AntdColorMap[color] || color;
|
|
4935
5002
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
4936
5003
|
antd.Tag,
|
|
4937
|
-
__spreadProps$j(__spreadValues$
|
|
5004
|
+
__spreadProps$j(__spreadValues$n({}, props), {
|
|
4938
5005
|
className: cs__default.default(className, Size$1[size], TagStyle$1, Typo.Label.l4_regular, {
|
|
4939
5006
|
[`ant-tag-${computedColor}`]: PresetColors$2.includes(computedColor),
|
|
4940
5007
|
"tag-hover": hoverable
|
|
@@ -4948,19 +5015,19 @@
|
|
|
4948
5015
|
};
|
|
4949
5016
|
const NameTag = (_c) => {
|
|
4950
5017
|
var _d = _c, { className } = _d, props = __objRest$9(_d, ["className"]);
|
|
4951
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Tag, __spreadValues$
|
|
5018
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Tag, __spreadValues$n({ className: cs__default.default(NameTagStyle, className) }, props));
|
|
4952
5019
|
};
|
|
4953
5020
|
Tag.SplitTag = SplitTag;
|
|
4954
5021
|
Tag.NameTag = NameTag;
|
|
4955
5022
|
|
|
4956
|
-
var __getOwnPropSymbols$
|
|
4957
|
-
var __hasOwnProp$
|
|
4958
|
-
var __propIsEnum$
|
|
5023
|
+
var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
|
|
5024
|
+
var __hasOwnProp$n = Object.prototype.hasOwnProperty;
|
|
5025
|
+
var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
|
|
4959
5026
|
var __objRest$8 = (source, exclude) => {
|
|
4960
5027
|
var target = {};
|
|
4961
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4962
|
-
if (source != null && __getOwnPropSymbols$
|
|
4963
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
5028
|
+
for (var prop in source) if (__hasOwnProp$n.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
5029
|
+
if (source != null && __getOwnPropSymbols$n) for (var prop of __getOwnPropSymbols$n(source)) {
|
|
5030
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$n.call(source, prop)) target[prop] = source[prop];
|
|
4964
5031
|
}
|
|
4965
5032
|
return target;
|
|
4966
5033
|
};
|
|
@@ -4989,31 +5056,31 @@
|
|
|
4989
5056
|
propsAsIs: true
|
|
4990
5057
|
});
|
|
4991
5058
|
|
|
4992
|
-
var __defProp$
|
|
5059
|
+
var __defProp$m = Object.defineProperty;
|
|
4993
5060
|
var __defProps$i = Object.defineProperties;
|
|
4994
5061
|
var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
|
|
4995
|
-
var __getOwnPropSymbols$
|
|
4996
|
-
var __hasOwnProp$
|
|
4997
|
-
var __propIsEnum$
|
|
4998
|
-
var __defNormalProp$
|
|
5062
|
+
var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
|
|
5063
|
+
var __hasOwnProp$m = Object.prototype.hasOwnProperty;
|
|
5064
|
+
var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
|
|
5065
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, {
|
|
4999
5066
|
enumerable: true,
|
|
5000
5067
|
configurable: true,
|
|
5001
5068
|
writable: true,
|
|
5002
5069
|
value
|
|
5003
5070
|
}) : obj[key] = value;
|
|
5004
|
-
var __spreadValues$
|
|
5005
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
5006
|
-
if (__getOwnPropSymbols$
|
|
5007
|
-
if (__propIsEnum$
|
|
5071
|
+
var __spreadValues$m = (a, b) => {
|
|
5072
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$m.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
|
|
5073
|
+
if (__getOwnPropSymbols$m) for (var prop of __getOwnPropSymbols$m(b)) {
|
|
5074
|
+
if (__propIsEnum$m.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
|
|
5008
5075
|
}
|
|
5009
5076
|
return a;
|
|
5010
5077
|
};
|
|
5011
5078
|
var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
|
|
5012
5079
|
var __objRest$7 = (source, exclude) => {
|
|
5013
5080
|
var target = {};
|
|
5014
|
-
for (var prop in source) if (__hasOwnProp$
|
|
5015
|
-
if (source != null && __getOwnPropSymbols$
|
|
5016
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
5081
|
+
for (var prop in source) if (__hasOwnProp$m.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
5082
|
+
if (source != null && __getOwnPropSymbols$m) for (var prop of __getOwnPropSymbols$m(source)) {
|
|
5083
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$m.call(source, prop)) target[prop] = source[prop];
|
|
5017
5084
|
}
|
|
5018
5085
|
return target;
|
|
5019
5086
|
};
|
|
@@ -5026,7 +5093,7 @@
|
|
|
5026
5093
|
type
|
|
5027
5094
|
} = _b,
|
|
5028
5095
|
props = __objRest$7(_b, ["className", "disabled", "type"]);
|
|
5029
|
-
return /* @__PURE__ */React__namespace.default.createElement(Button, __spreadProps$i(__spreadValues$
|
|
5096
|
+
return /* @__PURE__ */React__namespace.default.createElement(Button, __spreadProps$i(__spreadValues$m({}, props), {
|
|
5030
5097
|
ref,
|
|
5031
5098
|
disabled,
|
|
5032
5099
|
className: cs__default.default(LinkStyle, className, {
|
|
@@ -5037,21 +5104,21 @@
|
|
|
5037
5104
|
}));
|
|
5038
5105
|
});
|
|
5039
5106
|
|
|
5040
|
-
var __defProp$
|
|
5107
|
+
var __defProp$l = Object.defineProperty;
|
|
5041
5108
|
var __defProps$h = Object.defineProperties;
|
|
5042
5109
|
var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
|
|
5043
|
-
var __getOwnPropSymbols$
|
|
5044
|
-
var __hasOwnProp$
|
|
5045
|
-
var __propIsEnum$
|
|
5046
|
-
var __defNormalProp$
|
|
5047
|
-
var __spreadValues$
|
|
5110
|
+
var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
|
|
5111
|
+
var __hasOwnProp$l = Object.prototype.hasOwnProperty;
|
|
5112
|
+
var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
|
|
5113
|
+
var __defNormalProp$l = (obj, key2, value) => key2 in obj ? __defProp$l(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value;
|
|
5114
|
+
var __spreadValues$l = (a, b) => {
|
|
5048
5115
|
for (var prop in b || (b = {}))
|
|
5049
|
-
if (__hasOwnProp$
|
|
5050
|
-
__defNormalProp$
|
|
5051
|
-
if (__getOwnPropSymbols$
|
|
5052
|
-
for (var prop of __getOwnPropSymbols$
|
|
5053
|
-
if (__propIsEnum$
|
|
5054
|
-
__defNormalProp$
|
|
5116
|
+
if (__hasOwnProp$l.call(b, prop))
|
|
5117
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
5118
|
+
if (__getOwnPropSymbols$l)
|
|
5119
|
+
for (var prop of __getOwnPropSymbols$l(b)) {
|
|
5120
|
+
if (__propIsEnum$l.call(b, prop))
|
|
5121
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
5055
5122
|
}
|
|
5056
5123
|
return a;
|
|
5057
5124
|
};
|
|
@@ -5162,7 +5229,7 @@
|
|
|
5162
5229
|
}
|
|
5163
5230
|
getRCNotificationInstance(args, ({ prefixCls, instance }) => {
|
|
5164
5231
|
instance.notice(
|
|
5165
|
-
getRCNoticeProps(__spreadProps$h(__spreadValues$
|
|
5232
|
+
getRCNoticeProps(__spreadProps$h(__spreadValues$l({}, args), { key: target, onClose: callback }), prefixCls)
|
|
5166
5233
|
);
|
|
5167
5234
|
});
|
|
5168
5235
|
});
|
|
@@ -5191,7 +5258,7 @@
|
|
|
5191
5258
|
function attachTypeApi(originalApi, type) {
|
|
5192
5259
|
originalApi[type] = (content, duration, onClose) => {
|
|
5193
5260
|
if (isArgsProps(content)) {
|
|
5194
|
-
return originalApi.open(__spreadProps$h(__spreadValues$
|
|
5261
|
+
return originalApi.open(__spreadProps$h(__spreadValues$l({}, content), { type }));
|
|
5195
5262
|
}
|
|
5196
5263
|
if (typeof duration === "function") {
|
|
5197
5264
|
onClose = duration;
|
|
@@ -5205,21 +5272,21 @@
|
|
|
5205
5272
|
);
|
|
5206
5273
|
api.warn = api.warning;
|
|
5207
5274
|
|
|
5208
|
-
var __defProp$
|
|
5275
|
+
var __defProp$k = Object.defineProperty;
|
|
5209
5276
|
var __defProps$g = Object.defineProperties;
|
|
5210
5277
|
var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
|
|
5211
|
-
var __getOwnPropSymbols$
|
|
5212
|
-
var __hasOwnProp$
|
|
5213
|
-
var __propIsEnum$
|
|
5214
|
-
var __defNormalProp$
|
|
5215
|
-
var __spreadValues$
|
|
5278
|
+
var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
|
|
5279
|
+
var __hasOwnProp$k = Object.prototype.hasOwnProperty;
|
|
5280
|
+
var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
|
|
5281
|
+
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5282
|
+
var __spreadValues$k = (a, b) => {
|
|
5216
5283
|
for (var prop in b || (b = {}))
|
|
5217
|
-
if (__hasOwnProp$
|
|
5218
|
-
__defNormalProp$
|
|
5219
|
-
if (__getOwnPropSymbols$
|
|
5220
|
-
for (var prop of __getOwnPropSymbols$
|
|
5221
|
-
if (__propIsEnum$
|
|
5222
|
-
__defNormalProp$
|
|
5284
|
+
if (__hasOwnProp$k.call(b, prop))
|
|
5285
|
+
__defNormalProp$k(a, prop, b[prop]);
|
|
5286
|
+
if (__getOwnPropSymbols$k)
|
|
5287
|
+
for (var prop of __getOwnPropSymbols$k(b)) {
|
|
5288
|
+
if (__propIsEnum$k.call(b, prop))
|
|
5289
|
+
__defNormalProp$k(a, prop, b[prop]);
|
|
5223
5290
|
}
|
|
5224
5291
|
return a;
|
|
5225
5292
|
};
|
|
@@ -5233,8 +5300,8 @@
|
|
|
5233
5300
|
switch (action.type) {
|
|
5234
5301
|
case "SET_POINTER" /* SET_POINTER */: {
|
|
5235
5302
|
const { uuid, left, text, visible, value } = action.payload;
|
|
5236
|
-
return __spreadProps$g(__spreadValues$
|
|
5237
|
-
pointers: __spreadProps$g(__spreadValues$
|
|
5303
|
+
return __spreadProps$g(__spreadValues$k({}, state), {
|
|
5304
|
+
pointers: __spreadProps$g(__spreadValues$k({}, state.pointers), {
|
|
5238
5305
|
[uuid]: {
|
|
5239
5306
|
left,
|
|
5240
5307
|
text,
|
|
@@ -5246,16 +5313,16 @@
|
|
|
5246
5313
|
}
|
|
5247
5314
|
case "SET_RESOURCE_DATA" /* SET_RESOURCE_DATA */: {
|
|
5248
5315
|
const { uuid, data } = action.payload;
|
|
5249
|
-
return __spreadProps$g(__spreadValues$
|
|
5250
|
-
resourceData: __spreadProps$g(__spreadValues$
|
|
5316
|
+
return __spreadProps$g(__spreadValues$k({}, state), {
|
|
5317
|
+
resourceData: __spreadProps$g(__spreadValues$k({}, state.resourceData), {
|
|
5251
5318
|
[uuid]: data
|
|
5252
5319
|
})
|
|
5253
5320
|
});
|
|
5254
5321
|
}
|
|
5255
5322
|
case "SET_AVERAGE_DATA" /* SET_AVERAGE_DATA */: {
|
|
5256
5323
|
const { uuid, average } = action.payload;
|
|
5257
|
-
return __spreadProps$g(__spreadValues$
|
|
5258
|
-
averageData: __spreadProps$g(__spreadValues$
|
|
5324
|
+
return __spreadProps$g(__spreadValues$k({}, state), {
|
|
5325
|
+
averageData: __spreadProps$g(__spreadValues$k({}, state.averageData), {
|
|
5259
5326
|
[uuid]: average
|
|
5260
5327
|
})
|
|
5261
5328
|
});
|
|
@@ -5266,21 +5333,21 @@
|
|
|
5266
5333
|
}
|
|
5267
5334
|
};
|
|
5268
5335
|
|
|
5269
|
-
var __defProp$
|
|
5336
|
+
var __defProp$j = Object.defineProperty;
|
|
5270
5337
|
var __defProps$f = Object.defineProperties;
|
|
5271
5338
|
var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
|
|
5272
|
-
var __getOwnPropSymbols$
|
|
5273
|
-
var __hasOwnProp$
|
|
5274
|
-
var __propIsEnum$
|
|
5275
|
-
var __defNormalProp$
|
|
5276
|
-
var __spreadValues$
|
|
5339
|
+
var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
|
|
5340
|
+
var __hasOwnProp$j = Object.prototype.hasOwnProperty;
|
|
5341
|
+
var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
|
|
5342
|
+
var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5343
|
+
var __spreadValues$j = (a, b) => {
|
|
5277
5344
|
for (var prop in b || (b = {}))
|
|
5278
|
-
if (__hasOwnProp$
|
|
5279
|
-
__defNormalProp$
|
|
5280
|
-
if (__getOwnPropSymbols$
|
|
5281
|
-
for (var prop of __getOwnPropSymbols$
|
|
5282
|
-
if (__propIsEnum$
|
|
5283
|
-
__defNormalProp$
|
|
5345
|
+
if (__hasOwnProp$j.call(b, prop))
|
|
5346
|
+
__defNormalProp$j(a, prop, b[prop]);
|
|
5347
|
+
if (__getOwnPropSymbols$j)
|
|
5348
|
+
for (var prop of __getOwnPropSymbols$j(b)) {
|
|
5349
|
+
if (__propIsEnum$j.call(b, prop))
|
|
5350
|
+
__defNormalProp$j(a, prop, b[prop]);
|
|
5284
5351
|
}
|
|
5285
5352
|
return a;
|
|
5286
5353
|
};
|
|
@@ -5305,22 +5372,22 @@
|
|
|
5305
5372
|
)) {
|
|
5306
5373
|
return state;
|
|
5307
5374
|
}
|
|
5308
|
-
return __spreadProps$f(__spreadValues$
|
|
5309
|
-
stack: state.stack.concat(__spreadProps$f(__spreadValues$
|
|
5375
|
+
return __spreadProps$f(__spreadValues$j({}, state), {
|
|
5376
|
+
stack: state.stack.concat(__spreadProps$f(__spreadValues$j({}, action.payload), {
|
|
5310
5377
|
id: MODAL_ID++
|
|
5311
5378
|
}))
|
|
5312
5379
|
});
|
|
5313
5380
|
case "POP_MODAL" /* POP_MODAL */:
|
|
5314
|
-
return __spreadProps$f(__spreadValues$
|
|
5381
|
+
return __spreadProps$f(__spreadValues$j({}, state), {
|
|
5315
5382
|
stack: state.stack.slice(0, -1)
|
|
5316
5383
|
});
|
|
5317
5384
|
case "REMOVE_MODAL" /* REMOVE_MODAL */:
|
|
5318
|
-
return __spreadProps$f(__spreadValues$
|
|
5385
|
+
return __spreadProps$f(__spreadValues$j({}, state), {
|
|
5319
5386
|
closeId: 0,
|
|
5320
5387
|
stack: state.stack.filter((m) => m.id !== action.id)
|
|
5321
5388
|
});
|
|
5322
5389
|
case "CLOSE_MODAL" /* CLOSE_MODAL */:
|
|
5323
|
-
return __spreadProps$f(__spreadValues$
|
|
5390
|
+
return __spreadProps$f(__spreadValues$j({}, state), {
|
|
5324
5391
|
closeId: action.id
|
|
5325
5392
|
});
|
|
5326
5393
|
default:
|
|
@@ -5377,21 +5444,21 @@
|
|
|
5377
5444
|
const HorizontalStepContentStyle = "h1xo7yjb";
|
|
5378
5445
|
const VerticalStepContentStyle = "v1f2f7cy";
|
|
5379
5446
|
|
|
5380
|
-
var __defProp$
|
|
5447
|
+
var __defProp$i = Object.defineProperty;
|
|
5381
5448
|
var __defProps$e = Object.defineProperties;
|
|
5382
5449
|
var __getOwnPropDescs$e = Object.getOwnPropertyDescriptors;
|
|
5383
|
-
var __getOwnPropSymbols$
|
|
5384
|
-
var __hasOwnProp$
|
|
5385
|
-
var __propIsEnum$
|
|
5386
|
-
var __defNormalProp$
|
|
5387
|
-
var __spreadValues$
|
|
5450
|
+
var __getOwnPropSymbols$i = Object.getOwnPropertySymbols;
|
|
5451
|
+
var __hasOwnProp$i = Object.prototype.hasOwnProperty;
|
|
5452
|
+
var __propIsEnum$i = Object.prototype.propertyIsEnumerable;
|
|
5453
|
+
var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5454
|
+
var __spreadValues$i = (a, b) => {
|
|
5388
5455
|
for (var prop in b || (b = {}))
|
|
5389
|
-
if (__hasOwnProp$
|
|
5390
|
-
__defNormalProp$
|
|
5391
|
-
if (__getOwnPropSymbols$
|
|
5392
|
-
for (var prop of __getOwnPropSymbols$
|
|
5393
|
-
if (__propIsEnum$
|
|
5394
|
-
__defNormalProp$
|
|
5456
|
+
if (__hasOwnProp$i.call(b, prop))
|
|
5457
|
+
__defNormalProp$i(a, prop, b[prop]);
|
|
5458
|
+
if (__getOwnPropSymbols$i)
|
|
5459
|
+
for (var prop of __getOwnPropSymbols$i(b)) {
|
|
5460
|
+
if (__propIsEnum$i.call(b, prop))
|
|
5461
|
+
__defNormalProp$i(a, prop, b[prop]);
|
|
5395
5462
|
}
|
|
5396
5463
|
return a;
|
|
5397
5464
|
};
|
|
@@ -5399,11 +5466,11 @@
|
|
|
5399
5466
|
var __objRest$6 = (source, exclude) => {
|
|
5400
5467
|
var target = {};
|
|
5401
5468
|
for (var prop in source)
|
|
5402
|
-
if (__hasOwnProp$
|
|
5469
|
+
if (__hasOwnProp$i.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
5403
5470
|
target[prop] = source[prop];
|
|
5404
|
-
if (source != null && __getOwnPropSymbols$
|
|
5405
|
-
for (var prop of __getOwnPropSymbols$
|
|
5406
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
5471
|
+
if (source != null && __getOwnPropSymbols$i)
|
|
5472
|
+
for (var prop of __getOwnPropSymbols$i(source)) {
|
|
5473
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$i.call(source, prop))
|
|
5407
5474
|
target[prop] = source[prop];
|
|
5408
5475
|
}
|
|
5409
5476
|
return target;
|
|
@@ -5420,7 +5487,7 @@
|
|
|
5420
5487
|
setTooltipEnable({});
|
|
5421
5488
|
}
|
|
5422
5489
|
}, [textRef]);
|
|
5423
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Tooltip, __spreadProps$e(__spreadValues$
|
|
5490
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Tooltip, __spreadProps$e(__spreadValues$i({}, tooltipEnable), { title: step.title }), /* @__PURE__ */ React__namespace.default.createElement(
|
|
5424
5491
|
"div",
|
|
5425
5492
|
{
|
|
5426
5493
|
className: isVerticalMode ? VerticalStepContentStyle : HorizontalStepContentStyle
|
|
@@ -5458,52 +5525,55 @@
|
|
|
5458
5525
|
},
|
|
5459
5526
|
/* @__PURE__ */ React__namespace.default.createElement(
|
|
5460
5527
|
antd.Steps,
|
|
5461
|
-
__spreadProps$e(__spreadValues$
|
|
5528
|
+
__spreadProps$e(__spreadValues$i({}, stepsProps), {
|
|
5462
5529
|
direction,
|
|
5463
5530
|
current,
|
|
5464
5531
|
type: "default"
|
|
5465
5532
|
}),
|
|
5466
|
-
(stepsConfig == null ? void 0 : stepsConfig.length) ? stepsConfig.map((step, index) =>
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
step.
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5486
|
-
|
|
5487
|
-
|
|
5533
|
+
(stepsConfig == null ? void 0 : stepsConfig.length) ? stepsConfig.map((step, index) => {
|
|
5534
|
+
var _a2;
|
|
5535
|
+
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
5536
|
+
antd.Steps.Step,
|
|
5537
|
+
__spreadProps$e(__spreadValues$i({
|
|
5538
|
+
key: index
|
|
5539
|
+
}, step), {
|
|
5540
|
+
disabled: isPreviewMode ? false : (_a2 = disabled != null ? disabled : step == null ? void 0 : step.disabled) != null ? _a2 : index > current,
|
|
5541
|
+
className: cs__default.default(
|
|
5542
|
+
step.className,
|
|
5543
|
+
isPreviewMode ? "preview-mode" : ""
|
|
5544
|
+
),
|
|
5545
|
+
title: /* @__PURE__ */ React__namespace.default.createElement(
|
|
5546
|
+
StepTitle,
|
|
5547
|
+
{
|
|
5548
|
+
index,
|
|
5549
|
+
step,
|
|
5550
|
+
current,
|
|
5551
|
+
isVerticalMode,
|
|
5552
|
+
preview: isPreviewMode
|
|
5553
|
+
}
|
|
5554
|
+
)
|
|
5555
|
+
})
|
|
5556
|
+
);
|
|
5557
|
+
}) : props.children
|
|
5488
5558
|
)
|
|
5489
5559
|
);
|
|
5490
5560
|
};
|
|
5491
5561
|
|
|
5492
|
-
var __defProp$
|
|
5562
|
+
var __defProp$h = Object.defineProperty;
|
|
5493
5563
|
var __defProps$d = Object.defineProperties;
|
|
5494
5564
|
var __getOwnPropDescs$d = Object.getOwnPropertyDescriptors;
|
|
5495
|
-
var __getOwnPropSymbols$
|
|
5496
|
-
var __hasOwnProp$
|
|
5497
|
-
var __propIsEnum$
|
|
5498
|
-
var __defNormalProp$
|
|
5499
|
-
var __spreadValues$
|
|
5565
|
+
var __getOwnPropSymbols$h = Object.getOwnPropertySymbols;
|
|
5566
|
+
var __hasOwnProp$h = Object.prototype.hasOwnProperty;
|
|
5567
|
+
var __propIsEnum$h = Object.prototype.propertyIsEnumerable;
|
|
5568
|
+
var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5569
|
+
var __spreadValues$h = (a, b) => {
|
|
5500
5570
|
for (var prop in b || (b = {}))
|
|
5501
|
-
if (__hasOwnProp$
|
|
5502
|
-
__defNormalProp$
|
|
5503
|
-
if (__getOwnPropSymbols$
|
|
5504
|
-
for (var prop of __getOwnPropSymbols$
|
|
5505
|
-
if (__propIsEnum$
|
|
5506
|
-
__defNormalProp$
|
|
5571
|
+
if (__hasOwnProp$h.call(b, prop))
|
|
5572
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
5573
|
+
if (__getOwnPropSymbols$h)
|
|
5574
|
+
for (var prop of __getOwnPropSymbols$h(b)) {
|
|
5575
|
+
if (__propIsEnum$h.call(b, prop))
|
|
5576
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
5507
5577
|
}
|
|
5508
5578
|
return a;
|
|
5509
5579
|
};
|
|
@@ -5511,11 +5581,11 @@
|
|
|
5511
5581
|
var __objRest$5 = (source, exclude) => {
|
|
5512
5582
|
var target = {};
|
|
5513
5583
|
for (var prop in source)
|
|
5514
|
-
if (__hasOwnProp$
|
|
5584
|
+
if (__hasOwnProp$h.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
5515
5585
|
target[prop] = source[prop];
|
|
5516
|
-
if (source != null && __getOwnPropSymbols$
|
|
5517
|
-
for (var prop of __getOwnPropSymbols$
|
|
5518
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
5586
|
+
if (source != null && __getOwnPropSymbols$h)
|
|
5587
|
+
for (var prop of __getOwnPropSymbols$h(source)) {
|
|
5588
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$h.call(source, prop))
|
|
5519
5589
|
target[prop] = source[prop];
|
|
5520
5590
|
}
|
|
5521
5591
|
return target;
|
|
@@ -5597,7 +5667,7 @@
|
|
|
5597
5667
|
}
|
|
5598
5668
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
5599
5669
|
antd.Modal,
|
|
5600
|
-
__spreadProps$d(__spreadValues$
|
|
5670
|
+
__spreadProps$d(__spreadValues$h({
|
|
5601
5671
|
maskClosable,
|
|
5602
5672
|
className: cs__default.default(
|
|
5603
5673
|
className,
|
|
@@ -5632,7 +5702,7 @@
|
|
|
5632
5702
|
prevText
|
|
5633
5703
|
), 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(
|
|
5634
5704
|
Button,
|
|
5635
|
-
__spreadValues$
|
|
5705
|
+
__spreadValues$h({
|
|
5636
5706
|
type: "quiet",
|
|
5637
5707
|
onMouseDown: (e) => {
|
|
5638
5708
|
e.preventDefault();
|
|
@@ -5646,7 +5716,7 @@
|
|
|
5646
5716
|
cancelText
|
|
5647
5717
|
), showOk && /* @__PURE__ */ React__namespace.default.createElement(
|
|
5648
5718
|
Button,
|
|
5649
|
-
__spreadValues$
|
|
5719
|
+
__spreadValues$h({
|
|
5650
5720
|
onClick: (e) => {
|
|
5651
5721
|
var _a2, _b2;
|
|
5652
5722
|
onOk == null ? void 0 : onOk(e);
|
|
@@ -5688,22 +5758,22 @@
|
|
|
5688
5758
|
);
|
|
5689
5759
|
};
|
|
5690
5760
|
|
|
5691
|
-
var __defProp$
|
|
5761
|
+
var __defProp$g = Object.defineProperty;
|
|
5692
5762
|
var __defProps$c = Object.defineProperties;
|
|
5693
5763
|
var __getOwnPropDescs$c = Object.getOwnPropertyDescriptors;
|
|
5694
|
-
var __getOwnPropSymbols$
|
|
5695
|
-
var __hasOwnProp$
|
|
5696
|
-
var __propIsEnum$
|
|
5697
|
-
var __defNormalProp$
|
|
5764
|
+
var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
|
|
5765
|
+
var __hasOwnProp$g = Object.prototype.hasOwnProperty;
|
|
5766
|
+
var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
|
|
5767
|
+
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, {
|
|
5698
5768
|
enumerable: true,
|
|
5699
5769
|
configurable: true,
|
|
5700
5770
|
writable: true,
|
|
5701
5771
|
value
|
|
5702
5772
|
}) : obj[key] = value;
|
|
5703
|
-
var __spreadValues$
|
|
5704
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
5705
|
-
if (__getOwnPropSymbols$
|
|
5706
|
-
if (__propIsEnum$
|
|
5773
|
+
var __spreadValues$g = (a, b) => {
|
|
5774
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$g.call(b, prop)) __defNormalProp$g(a, prop, b[prop]);
|
|
5775
|
+
if (__getOwnPropSymbols$g) for (var prop of __getOwnPropSymbols$g(b)) {
|
|
5776
|
+
if (__propIsEnum$g.call(b, prop)) __defNormalProp$g(a, prop, b[prop]);
|
|
5707
5777
|
}
|
|
5708
5778
|
return a;
|
|
5709
5779
|
};
|
|
@@ -5738,7 +5808,7 @@
|
|
|
5738
5808
|
observer == null ? void 0 : observer.disconnect();
|
|
5739
5809
|
};
|
|
5740
5810
|
});
|
|
5741
|
-
return /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadProps$c(__spreadValues$
|
|
5811
|
+
return /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadProps$c(__spreadValues$g({}, !ellipsis && {
|
|
5742
5812
|
visible: false
|
|
5743
5813
|
}), {
|
|
5744
5814
|
title: tooltip
|
|
@@ -5856,46 +5926,46 @@
|
|
|
5856
5926
|
}))));
|
|
5857
5927
|
};
|
|
5858
5928
|
|
|
5859
|
-
var __defProp$
|
|
5860
|
-
var __getOwnPropSymbols$
|
|
5861
|
-
var __hasOwnProp$
|
|
5862
|
-
var __propIsEnum$
|
|
5863
|
-
var __defNormalProp$
|
|
5864
|
-
var __spreadValues$
|
|
5929
|
+
var __defProp$f = Object.defineProperty;
|
|
5930
|
+
var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
|
|
5931
|
+
var __hasOwnProp$f = Object.prototype.hasOwnProperty;
|
|
5932
|
+
var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
|
|
5933
|
+
var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5934
|
+
var __spreadValues$f = (a, b) => {
|
|
5865
5935
|
for (var prop in b || (b = {}))
|
|
5866
|
-
if (__hasOwnProp$
|
|
5867
|
-
__defNormalProp$
|
|
5868
|
-
if (__getOwnPropSymbols$
|
|
5869
|
-
for (var prop of __getOwnPropSymbols$
|
|
5870
|
-
if (__propIsEnum$
|
|
5871
|
-
__defNormalProp$
|
|
5936
|
+
if (__hasOwnProp$f.call(b, prop))
|
|
5937
|
+
__defNormalProp$f(a, prop, b[prop]);
|
|
5938
|
+
if (__getOwnPropSymbols$f)
|
|
5939
|
+
for (var prop of __getOwnPropSymbols$f(b)) {
|
|
5940
|
+
if (__propIsEnum$f.call(b, prop))
|
|
5941
|
+
__defNormalProp$f(a, prop, b[prop]);
|
|
5872
5942
|
}
|
|
5873
5943
|
return a;
|
|
5874
5944
|
};
|
|
5875
|
-
const Progress = (props) => /* @__PURE__ */ React__namespace.default.createElement(antd.Progress, __spreadValues$
|
|
5945
|
+
const Progress = (props) => /* @__PURE__ */ React__namespace.default.createElement(antd.Progress, __spreadValues$f({}, props));
|
|
5876
5946
|
|
|
5877
|
-
var __defProp$
|
|
5878
|
-
var __getOwnPropSymbols$
|
|
5879
|
-
var __hasOwnProp$
|
|
5880
|
-
var __propIsEnum$
|
|
5881
|
-
var __defNormalProp$
|
|
5947
|
+
var __defProp$e = Object.defineProperty;
|
|
5948
|
+
var __getOwnPropSymbols$e = Object.getOwnPropertySymbols;
|
|
5949
|
+
var __hasOwnProp$e = Object.prototype.hasOwnProperty;
|
|
5950
|
+
var __propIsEnum$e = Object.prototype.propertyIsEnumerable;
|
|
5951
|
+
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, {
|
|
5882
5952
|
enumerable: true,
|
|
5883
5953
|
configurable: true,
|
|
5884
5954
|
writable: true,
|
|
5885
5955
|
value
|
|
5886
5956
|
}) : obj[key] = value;
|
|
5887
|
-
var __spreadValues$
|
|
5888
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
5889
|
-
if (__getOwnPropSymbols$
|
|
5890
|
-
if (__propIsEnum$
|
|
5957
|
+
var __spreadValues$e = (a, b) => {
|
|
5958
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$e.call(b, prop)) __defNormalProp$e(a, prop, b[prop]);
|
|
5959
|
+
if (__getOwnPropSymbols$e) for (var prop of __getOwnPropSymbols$e(b)) {
|
|
5960
|
+
if (__propIsEnum$e.call(b, prop)) __defNormalProp$e(a, prop, b[prop]);
|
|
5891
5961
|
}
|
|
5892
5962
|
return a;
|
|
5893
5963
|
};
|
|
5894
5964
|
var __objRest$4 = (source, exclude) => {
|
|
5895
5965
|
var target = {};
|
|
5896
|
-
for (var prop in source) if (__hasOwnProp$
|
|
5897
|
-
if (source != null && __getOwnPropSymbols$
|
|
5898
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
5966
|
+
for (var prop in source) if (__hasOwnProp$e.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
5967
|
+
if (source != null && __getOwnPropSymbols$e) for (var prop of __getOwnPropSymbols$e(source)) {
|
|
5968
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$e.call(source, prop)) target[prop] = source[prop];
|
|
5899
5969
|
}
|
|
5900
5970
|
return target;
|
|
5901
5971
|
};
|
|
@@ -5921,7 +5991,7 @@
|
|
|
5921
5991
|
className: core.cx("radio-description", Typo.Label.l4_regular)
|
|
5922
5992
|
}, description));
|
|
5923
5993
|
}
|
|
5924
|
-
return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement(antd.Radio, __spreadValues$
|
|
5994
|
+
return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement(antd.Radio, __spreadValues$e({
|
|
5925
5995
|
className: core.cx(className, RadioStyle, compact && "compact"),
|
|
5926
5996
|
checked: checked || false,
|
|
5927
5997
|
"data-test": context.name ? `${context.name}-${String(props.value)}` : String(props.value)
|
|
@@ -5939,7 +6009,7 @@
|
|
|
5939
6009
|
disabled: props.disabled,
|
|
5940
6010
|
name: props.name
|
|
5941
6011
|
}
|
|
5942
|
-
}, /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Group, __spreadValues$
|
|
6012
|
+
}, /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Group, __spreadValues$e({
|
|
5943
6013
|
className: core.cx(className, RadioGroupStyle)
|
|
5944
6014
|
}, props), children ? children : null));
|
|
5945
6015
|
};
|
|
@@ -5995,36 +6065,36 @@
|
|
|
5995
6065
|
className: "ant-radio-button-input-label"
|
|
5996
6066
|
}, typeof children === "string" ? children : ""));
|
|
5997
6067
|
};
|
|
5998
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Button, __spreadValues$
|
|
6068
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Radio.Button, __spreadValues$e({
|
|
5999
6069
|
className: core.cx(className, RadioButtonStyle),
|
|
6000
6070
|
value: radioButtonValue
|
|
6001
6071
|
}, props), renderChildren());
|
|
6002
6072
|
};
|
|
6003
6073
|
|
|
6004
|
-
var __defProp$
|
|
6005
|
-
var __getOwnPropSymbols$
|
|
6006
|
-
var __hasOwnProp$
|
|
6007
|
-
var __propIsEnum$
|
|
6008
|
-
var __defNormalProp$
|
|
6009
|
-
var __spreadValues$
|
|
6074
|
+
var __defProp$d = Object.defineProperty;
|
|
6075
|
+
var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
|
|
6076
|
+
var __hasOwnProp$d = Object.prototype.hasOwnProperty;
|
|
6077
|
+
var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
|
|
6078
|
+
var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6079
|
+
var __spreadValues$d = (a, b) => {
|
|
6010
6080
|
for (var prop in b || (b = {}))
|
|
6011
|
-
if (__hasOwnProp$
|
|
6012
|
-
__defNormalProp$
|
|
6013
|
-
if (__getOwnPropSymbols$
|
|
6014
|
-
for (var prop of __getOwnPropSymbols$
|
|
6015
|
-
if (__propIsEnum$
|
|
6016
|
-
__defNormalProp$
|
|
6081
|
+
if (__hasOwnProp$d.call(b, prop))
|
|
6082
|
+
__defNormalProp$d(a, prop, b[prop]);
|
|
6083
|
+
if (__getOwnPropSymbols$d)
|
|
6084
|
+
for (var prop of __getOwnPropSymbols$d(b)) {
|
|
6085
|
+
if (__propIsEnum$d.call(b, prop))
|
|
6086
|
+
__defNormalProp$d(a, prop, b[prop]);
|
|
6017
6087
|
}
|
|
6018
6088
|
return a;
|
|
6019
6089
|
};
|
|
6020
6090
|
var __objRest$3 = (source, exclude) => {
|
|
6021
6091
|
var target = {};
|
|
6022
6092
|
for (var prop in source)
|
|
6023
|
-
if (__hasOwnProp$
|
|
6093
|
+
if (__hasOwnProp$d.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
6024
6094
|
target[prop] = source[prop];
|
|
6025
|
-
if (source != null && __getOwnPropSymbols$
|
|
6026
|
-
for (var prop of __getOwnPropSymbols$
|
|
6027
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
6095
|
+
if (source != null && __getOwnPropSymbols$d)
|
|
6096
|
+
for (var prop of __getOwnPropSymbols$d(source)) {
|
|
6097
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$d.call(source, prop))
|
|
6028
6098
|
target[prop] = source[prop];
|
|
6029
6099
|
}
|
|
6030
6100
|
return target;
|
|
@@ -6034,7 +6104,7 @@
|
|
|
6034
6104
|
const onSearch = ___default.default.debounce(onChange, debounceWait);
|
|
6035
6105
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
6036
6106
|
Input,
|
|
6037
|
-
__spreadValues$
|
|
6107
|
+
__spreadValues$d({
|
|
6038
6108
|
style: { width: 276 },
|
|
6039
6109
|
prefix: /* @__PURE__ */ React__namespace.default.createElement(icons.SearchOutlined, null),
|
|
6040
6110
|
onChange: (e) => onSearch(e.target.value)
|
|
@@ -6118,31 +6188,31 @@
|
|
|
6118
6188
|
})));
|
|
6119
6189
|
};
|
|
6120
6190
|
|
|
6121
|
-
var __defProp$
|
|
6191
|
+
var __defProp$c = Object.defineProperty;
|
|
6122
6192
|
var __defProps$b = Object.defineProperties;
|
|
6123
6193
|
var __getOwnPropDescs$b = Object.getOwnPropertyDescriptors;
|
|
6124
|
-
var __getOwnPropSymbols$
|
|
6125
|
-
var __hasOwnProp$
|
|
6126
|
-
var __propIsEnum$
|
|
6127
|
-
var __defNormalProp$
|
|
6194
|
+
var __getOwnPropSymbols$c = Object.getOwnPropertySymbols;
|
|
6195
|
+
var __hasOwnProp$c = Object.prototype.hasOwnProperty;
|
|
6196
|
+
var __propIsEnum$c = Object.prototype.propertyIsEnumerable;
|
|
6197
|
+
var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, {
|
|
6128
6198
|
enumerable: true,
|
|
6129
6199
|
configurable: true,
|
|
6130
6200
|
writable: true,
|
|
6131
6201
|
value
|
|
6132
6202
|
}) : obj[key] = value;
|
|
6133
|
-
var __spreadValues$
|
|
6134
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
6135
|
-
if (__getOwnPropSymbols$
|
|
6136
|
-
if (__propIsEnum$
|
|
6203
|
+
var __spreadValues$c = (a, b) => {
|
|
6204
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$c.call(b, prop)) __defNormalProp$c(a, prop, b[prop]);
|
|
6205
|
+
if (__getOwnPropSymbols$c) for (var prop of __getOwnPropSymbols$c(b)) {
|
|
6206
|
+
if (__propIsEnum$c.call(b, prop)) __defNormalProp$c(a, prop, b[prop]);
|
|
6137
6207
|
}
|
|
6138
6208
|
return a;
|
|
6139
6209
|
};
|
|
6140
6210
|
var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
|
|
6141
6211
|
var __objRest$2 = (source, exclude) => {
|
|
6142
6212
|
var target = {};
|
|
6143
|
-
for (var prop in source) if (__hasOwnProp$
|
|
6144
|
-
if (source != null && __getOwnPropSymbols$
|
|
6145
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
6213
|
+
for (var prop in source) if (__hasOwnProp$c.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
6214
|
+
if (source != null && __getOwnPropSymbols$c) for (var prop of __getOwnPropSymbols$c(source)) {
|
|
6215
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$c.call(source, prop)) target[prop] = source[prop];
|
|
6146
6216
|
}
|
|
6147
6217
|
return target;
|
|
6148
6218
|
};
|
|
@@ -6187,7 +6257,7 @@
|
|
|
6187
6257
|
} = _b,
|
|
6188
6258
|
props = __objRest$2(_b, ["color", "className", "loading", "hoverable", "children", "offWhiteMode", "number"]);
|
|
6189
6259
|
const computedColor = ColorMap[color] || color;
|
|
6190
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$b(__spreadValues$
|
|
6260
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$b(__spreadValues$c({}, props), {
|
|
6191
6261
|
className: cs__default.default(className, StatusCapsuleStyle, Typo.Label.l4_regular, "ui-kit-status-capsule", {
|
|
6192
6262
|
[`ant-tag-${computedColor}`]: PresetColors$1.includes(computedColor),
|
|
6193
6263
|
"tag-hover": hoverable,
|
|
@@ -6280,22 +6350,22 @@
|
|
|
6280
6350
|
}));
|
|
6281
6351
|
};
|
|
6282
6352
|
|
|
6283
|
-
var __defProp$
|
|
6353
|
+
var __defProp$b = Object.defineProperty;
|
|
6284
6354
|
var __defProps$a = Object.defineProperties;
|
|
6285
6355
|
var __getOwnPropDescs$a = Object.getOwnPropertyDescriptors;
|
|
6286
|
-
var __getOwnPropSymbols$
|
|
6287
|
-
var __hasOwnProp$
|
|
6288
|
-
var __propIsEnum$
|
|
6289
|
-
var __defNormalProp$
|
|
6356
|
+
var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
|
|
6357
|
+
var __hasOwnProp$b = Object.prototype.hasOwnProperty;
|
|
6358
|
+
var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
|
|
6359
|
+
var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, {
|
|
6290
6360
|
enumerable: true,
|
|
6291
6361
|
configurable: true,
|
|
6292
6362
|
writable: true,
|
|
6293
6363
|
value
|
|
6294
6364
|
}) : obj[key] = value;
|
|
6295
|
-
var __spreadValues$
|
|
6296
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
6297
|
-
if (__getOwnPropSymbols$
|
|
6298
|
-
if (__propIsEnum$
|
|
6365
|
+
var __spreadValues$b = (a, b) => {
|
|
6366
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$b.call(b, prop)) __defNormalProp$b(a, prop, b[prop]);
|
|
6367
|
+
if (__getOwnPropSymbols$b) for (var prop of __getOwnPropSymbols$b(b)) {
|
|
6368
|
+
if (__propIsEnum$b.call(b, prop)) __defNormalProp$b(a, prop, b[prop]);
|
|
6299
6369
|
}
|
|
6300
6370
|
return a;
|
|
6301
6371
|
};
|
|
@@ -6326,7 +6396,7 @@
|
|
|
6326
6396
|
const orderRef = React.useRef(null);
|
|
6327
6397
|
const hasScrollBard = useTableBodyHasScrollBar(wrapper, dataSource);
|
|
6328
6398
|
const _columns = React.useMemo(() => columns.map(column => {
|
|
6329
|
-
const _column = __spreadValues$
|
|
6399
|
+
const _column = __spreadValues$b({}, column);
|
|
6330
6400
|
if (_column.sorter && typeof _column.title !== "function") {
|
|
6331
6401
|
_column.title = /* @__PURE__ */React__namespace.default.createElement(ColumnTitle, {
|
|
6332
6402
|
title: column.title,
|
|
@@ -6363,12 +6433,12 @@
|
|
|
6363
6433
|
onSorterChange == null ? void 0 : onSorterChange(orderRef.current, sorter.columnKey);
|
|
6364
6434
|
}
|
|
6365
6435
|
},
|
|
6366
|
-
onRow: (record, index) => __spreadValues$
|
|
6436
|
+
onRow: (record, index) => __spreadValues$b({
|
|
6367
6437
|
onClick: evt => onRowClick == null ? void 0 : onRowClick(record, index, evt)
|
|
6368
6438
|
}, onRow == null ? void 0 : onRow(record, index)),
|
|
6369
6439
|
rowClassName,
|
|
6370
6440
|
scroll,
|
|
6371
|
-
rowSelection: rowSelection && __spreadProps$a(__spreadValues$
|
|
6441
|
+
rowSelection: rowSelection && __spreadProps$a(__spreadValues$b({}, rowSelection), {
|
|
6372
6442
|
columnWidth: 32
|
|
6373
6443
|
}),
|
|
6374
6444
|
showSorterTooltip: false
|
|
@@ -6430,21 +6500,21 @@
|
|
|
6430
6500
|
return sortArr;
|
|
6431
6501
|
};
|
|
6432
6502
|
|
|
6433
|
-
var __defProp$
|
|
6503
|
+
var __defProp$a = Object.defineProperty;
|
|
6434
6504
|
var __defProps$9 = Object.defineProperties;
|
|
6435
6505
|
var __getOwnPropDescs$9 = Object.getOwnPropertyDescriptors;
|
|
6436
|
-
var __getOwnPropSymbols$
|
|
6437
|
-
var __hasOwnProp$
|
|
6438
|
-
var __propIsEnum$
|
|
6439
|
-
var __defNormalProp$
|
|
6440
|
-
var __spreadValues$
|
|
6506
|
+
var __getOwnPropSymbols$a = Object.getOwnPropertySymbols;
|
|
6507
|
+
var __hasOwnProp$a = Object.prototype.hasOwnProperty;
|
|
6508
|
+
var __propIsEnum$a = Object.prototype.propertyIsEnumerable;
|
|
6509
|
+
var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6510
|
+
var __spreadValues$a = (a, b) => {
|
|
6441
6511
|
for (var prop in b || (b = {}))
|
|
6442
|
-
if (__hasOwnProp$
|
|
6443
|
-
__defNormalProp$
|
|
6444
|
-
if (__getOwnPropSymbols$
|
|
6445
|
-
for (var prop of __getOwnPropSymbols$
|
|
6446
|
-
if (__propIsEnum$
|
|
6447
|
-
__defNormalProp$
|
|
6512
|
+
if (__hasOwnProp$a.call(b, prop))
|
|
6513
|
+
__defNormalProp$a(a, prop, b[prop]);
|
|
6514
|
+
if (__getOwnPropSymbols$a)
|
|
6515
|
+
for (var prop of __getOwnPropSymbols$a(b)) {
|
|
6516
|
+
if (__propIsEnum$a.call(b, prop))
|
|
6517
|
+
__defNormalProp$a(a, prop, b[prop]);
|
|
6448
6518
|
}
|
|
6449
6519
|
return a;
|
|
6450
6520
|
};
|
|
@@ -6452,11 +6522,11 @@
|
|
|
6452
6522
|
var __objRest$1 = (source, exclude) => {
|
|
6453
6523
|
var target = {};
|
|
6454
6524
|
for (var prop in source)
|
|
6455
|
-
if (__hasOwnProp$
|
|
6525
|
+
if (__hasOwnProp$a.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
6456
6526
|
target[prop] = source[prop];
|
|
6457
|
-
if (source != null && __getOwnPropSymbols$
|
|
6458
|
-
for (var prop of __getOwnPropSymbols$
|
|
6459
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
6527
|
+
if (source != null && __getOwnPropSymbols$a)
|
|
6528
|
+
for (var prop of __getOwnPropSymbols$a(source)) {
|
|
6529
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$a.call(source, prop))
|
|
6460
6530
|
target[prop] = source[prop];
|
|
6461
6531
|
}
|
|
6462
6532
|
return target;
|
|
@@ -6497,9 +6567,9 @@
|
|
|
6497
6567
|
if (!columns.length) {
|
|
6498
6568
|
return null;
|
|
6499
6569
|
}
|
|
6500
|
-
return CustomizedButton ? /* @__PURE__ */ React__namespace.default.createElement(CustomizedButton, __spreadValues$
|
|
6570
|
+
return CustomizedButton ? /* @__PURE__ */ React__namespace.default.createElement(CustomizedButton, __spreadValues$a({}, props)) : /* @__PURE__ */ React__namespace.default.createElement(AddRowButtonWrapper, { className }, /* @__PURE__ */ React__namespace.default.createElement(
|
|
6501
6571
|
Button,
|
|
6502
|
-
__spreadProps$9(__spreadValues$
|
|
6572
|
+
__spreadProps$9(__spreadValues$a({}, restButtonProps), {
|
|
6503
6573
|
type: restButtonProps.type || "ordinary",
|
|
6504
6574
|
size: restButtonProps.size || "small",
|
|
6505
6575
|
prefixIcon: restButtonProps.prefixIcon || /* @__PURE__ */ React__namespace.default.createElement(iconsReact.PlusAddCreateNew16SecondaryIcon, null),
|
|
@@ -6594,21 +6664,21 @@
|
|
|
6594
6664
|
);
|
|
6595
6665
|
};
|
|
6596
6666
|
|
|
6597
|
-
var __defProp$
|
|
6667
|
+
var __defProp$9 = Object.defineProperty;
|
|
6598
6668
|
var __defProps$8 = Object.defineProperties;
|
|
6599
6669
|
var __getOwnPropDescs$8 = Object.getOwnPropertyDescriptors;
|
|
6600
|
-
var __getOwnPropSymbols$
|
|
6601
|
-
var __hasOwnProp$
|
|
6602
|
-
var __propIsEnum$
|
|
6603
|
-
var __defNormalProp$
|
|
6604
|
-
var __spreadValues$
|
|
6670
|
+
var __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;
|
|
6671
|
+
var __hasOwnProp$9 = Object.prototype.hasOwnProperty;
|
|
6672
|
+
var __propIsEnum$9 = Object.prototype.propertyIsEnumerable;
|
|
6673
|
+
var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6674
|
+
var __spreadValues$9 = (a, b) => {
|
|
6605
6675
|
for (var prop in b || (b = {}))
|
|
6606
|
-
if (__hasOwnProp$
|
|
6607
|
-
__defNormalProp$
|
|
6608
|
-
if (__getOwnPropSymbols$
|
|
6609
|
-
for (var prop of __getOwnPropSymbols$
|
|
6610
|
-
if (__propIsEnum$
|
|
6611
|
-
__defNormalProp$
|
|
6676
|
+
if (__hasOwnProp$9.call(b, prop))
|
|
6677
|
+
__defNormalProp$9(a, prop, b[prop]);
|
|
6678
|
+
if (__getOwnPropSymbols$9)
|
|
6679
|
+
for (var prop of __getOwnPropSymbols$9(b)) {
|
|
6680
|
+
if (__propIsEnum$9.call(b, prop))
|
|
6681
|
+
__defNormalProp$9(a, prop, b[prop]);
|
|
6612
6682
|
}
|
|
6613
6683
|
return a;
|
|
6614
6684
|
};
|
|
@@ -6628,7 +6698,7 @@
|
|
|
6628
6698
|
const inputType = showPassword ? "text" : "password";
|
|
6629
6699
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
6630
6700
|
Input,
|
|
6631
|
-
__spreadProps$8(__spreadValues$
|
|
6701
|
+
__spreadProps$8(__spreadValues$9({}, props), {
|
|
6632
6702
|
type: inputType,
|
|
6633
6703
|
suffix: showPassword ? /* @__PURE__ */ React__namespace.default.createElement(
|
|
6634
6704
|
icons.EyeOutlined,
|
|
@@ -6648,9 +6718,9 @@
|
|
|
6648
6718
|
};
|
|
6649
6719
|
const CustomInput = (props) => {
|
|
6650
6720
|
if (props.type === "password") {
|
|
6651
|
-
return /* @__PURE__ */ React__namespace.default.createElement(InputPassword, __spreadValues$
|
|
6721
|
+
return /* @__PURE__ */ React__namespace.default.createElement(InputPassword, __spreadValues$9({}, props));
|
|
6652
6722
|
}
|
|
6653
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Input, __spreadValues$
|
|
6723
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Input, __spreadValues$9({}, props));
|
|
6654
6724
|
};
|
|
6655
6725
|
const InputColumnHeaderCell = ({ disabled, column, onChange, onBlur, onVisibleChange }) => {
|
|
6656
6726
|
const _onChange = (e) => {
|
|
@@ -6774,21 +6844,21 @@
|
|
|
6774
6844
|
return ValidateTriggerType2;
|
|
6775
6845
|
})(ValidateTriggerType || {});
|
|
6776
6846
|
|
|
6777
|
-
var __defProp$
|
|
6847
|
+
var __defProp$8 = Object.defineProperty;
|
|
6778
6848
|
var __defProps$7 = Object.defineProperties;
|
|
6779
6849
|
var __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;
|
|
6780
|
-
var __getOwnPropSymbols$
|
|
6781
|
-
var __hasOwnProp$
|
|
6782
|
-
var __propIsEnum$
|
|
6783
|
-
var __defNormalProp$
|
|
6784
|
-
var __spreadValues$
|
|
6850
|
+
var __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;
|
|
6851
|
+
var __hasOwnProp$8 = Object.prototype.hasOwnProperty;
|
|
6852
|
+
var __propIsEnum$8 = Object.prototype.propertyIsEnumerable;
|
|
6853
|
+
var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6854
|
+
var __spreadValues$8 = (a, b) => {
|
|
6785
6855
|
for (var prop in b || (b = {}))
|
|
6786
|
-
if (__hasOwnProp$
|
|
6787
|
-
__defNormalProp$
|
|
6788
|
-
if (__getOwnPropSymbols$
|
|
6789
|
-
for (var prop of __getOwnPropSymbols$
|
|
6790
|
-
if (__propIsEnum$
|
|
6791
|
-
__defNormalProp$
|
|
6856
|
+
if (__hasOwnProp$8.call(b, prop))
|
|
6857
|
+
__defNormalProp$8(a, prop, b[prop]);
|
|
6858
|
+
if (__getOwnPropSymbols$8)
|
|
6859
|
+
for (var prop of __getOwnPropSymbols$8(b)) {
|
|
6860
|
+
if (__propIsEnum$8.call(b, prop))
|
|
6861
|
+
__defNormalProp$8(a, prop, b[prop]);
|
|
6792
6862
|
}
|
|
6793
6863
|
return a;
|
|
6794
6864
|
};
|
|
@@ -6825,7 +6895,7 @@
|
|
|
6825
6895
|
(currentValue) => {
|
|
6826
6896
|
var _a;
|
|
6827
6897
|
const value = currentValue != null ? currentValue : data[rowIndex][column.key];
|
|
6828
|
-
const rowData = __spreadProps$7(__spreadValues$
|
|
6898
|
+
const rowData = __spreadProps$7(__spreadValues$8({}, data[rowIndex]), { [column.key]: value });
|
|
6829
6899
|
const rowValidateRes = getRowValidateResult(rowData);
|
|
6830
6900
|
if (rowValidateRes) {
|
|
6831
6901
|
return;
|
|
@@ -6851,7 +6921,7 @@
|
|
|
6851
6921
|
}, [validateAll, triggerValidate, setIsTouched]);
|
|
6852
6922
|
const _onChange = (value, data2) => {
|
|
6853
6923
|
const newData = data2.map(
|
|
6854
|
-
(row, i) => i === rowIndex ? __spreadProps$7(__spreadValues$
|
|
6924
|
+
(row, i) => i === rowIndex ? __spreadProps$7(__spreadValues$8({}, row), { [column.key]: value }) : row
|
|
6855
6925
|
);
|
|
6856
6926
|
onChange == null ? void 0 : onChange(newData, rowIndex, column.key);
|
|
6857
6927
|
if (validateTriggerType === ValidateTriggerType.Normal && isTouched || validateTriggerType === ValidateTriggerType.Aggressive) {
|
|
@@ -6929,21 +6999,21 @@
|
|
|
6929
6999
|
);
|
|
6930
7000
|
};
|
|
6931
7001
|
|
|
6932
|
-
var __defProp$
|
|
7002
|
+
var __defProp$7 = Object.defineProperty;
|
|
6933
7003
|
var __defProps$6 = Object.defineProperties;
|
|
6934
7004
|
var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
|
|
6935
|
-
var __getOwnPropSymbols$
|
|
6936
|
-
var __hasOwnProp$
|
|
6937
|
-
var __propIsEnum$
|
|
6938
|
-
var __defNormalProp$
|
|
6939
|
-
var __spreadValues$
|
|
7005
|
+
var __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;
|
|
7006
|
+
var __hasOwnProp$7 = Object.prototype.hasOwnProperty;
|
|
7007
|
+
var __propIsEnum$7 = Object.prototype.propertyIsEnumerable;
|
|
7008
|
+
var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7009
|
+
var __spreadValues$7 = (a, b) => {
|
|
6940
7010
|
for (var prop in b || (b = {}))
|
|
6941
|
-
if (__hasOwnProp$
|
|
6942
|
-
__defNormalProp$
|
|
6943
|
-
if (__getOwnPropSymbols$
|
|
6944
|
-
for (var prop of __getOwnPropSymbols$
|
|
6945
|
-
if (__propIsEnum$
|
|
6946
|
-
__defNormalProp$
|
|
7011
|
+
if (__hasOwnProp$7.call(b, prop))
|
|
7012
|
+
__defNormalProp$7(a, prop, b[prop]);
|
|
7013
|
+
if (__getOwnPropSymbols$7)
|
|
7014
|
+
for (var prop of __getOwnPropSymbols$7(b)) {
|
|
7015
|
+
if (__propIsEnum$7.call(b, prop))
|
|
7016
|
+
__defNormalProp$7(a, prop, b[prop]);
|
|
6947
7017
|
}
|
|
6948
7018
|
return a;
|
|
6949
7019
|
};
|
|
@@ -7040,7 +7110,7 @@
|
|
|
7040
7110
|
);
|
|
7041
7111
|
});
|
|
7042
7112
|
const DraggableHandle = React.useMemo(
|
|
7043
|
-
() => draggable && provided ? /* @__PURE__ */ React__namespace.default.createElement(DraggableHandleWrapper, __spreadValues$
|
|
7113
|
+
() => draggable && provided ? /* @__PURE__ */ React__namespace.default.createElement(DraggableHandleWrapper, __spreadValues$7({}, provided.dragHandleProps), /* @__PURE__ */ React__namespace.default.createElement(
|
|
7044
7114
|
Icon,
|
|
7045
7115
|
{
|
|
7046
7116
|
src: iconsReact.HandlePoint816SecondaryIcon,
|
|
@@ -7102,7 +7172,7 @@
|
|
|
7102
7172
|
);
|
|
7103
7173
|
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(
|
|
7104
7174
|
"div",
|
|
7105
|
-
__spreadValues$
|
|
7175
|
+
__spreadValues$7({
|
|
7106
7176
|
className: "draggable-container",
|
|
7107
7177
|
ref: provided.innerRef
|
|
7108
7178
|
}, provided.droppableProps),
|
|
@@ -7113,9 +7183,9 @@
|
|
|
7113
7183
|
key: `draggable-id-${i}`,
|
|
7114
7184
|
index: i
|
|
7115
7185
|
},
|
|
7116
|
-
(provided2, snapshot) => /* @__PURE__ */ React__namespace.default.createElement("div", __spreadValues$
|
|
7186
|
+
(provided2, snapshot) => /* @__PURE__ */ React__namespace.default.createElement("div", __spreadValues$7({ ref: provided2.innerRef }, provided2.draggableProps), /* @__PURE__ */ React__namespace.default.createElement(
|
|
7117
7187
|
TableFormRow,
|
|
7118
|
-
__spreadProps$6(__spreadValues$
|
|
7188
|
+
__spreadProps$6(__spreadValues$7({}, props), {
|
|
7119
7189
|
rowIndex: i,
|
|
7120
7190
|
provided: provided2,
|
|
7121
7191
|
snapshot
|
|
@@ -7123,24 +7193,24 @@
|
|
|
7123
7193
|
))
|
|
7124
7194
|
)),
|
|
7125
7195
|
provided.placeholder
|
|
7126
|
-
))) : /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, data.map((_d, i) => /* @__PURE__ */ React__namespace.default.createElement(TableFormRow, __spreadProps$6(__spreadValues$
|
|
7196
|
+
))) : /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, data.map((_d, i) => /* @__PURE__ */ React__namespace.default.createElement(TableFormRow, __spreadProps$6(__spreadValues$7({}, props), { rowIndex: i, key: `table-row-${i}` }))));
|
|
7127
7197
|
});
|
|
7128
7198
|
|
|
7129
|
-
var __defProp$
|
|
7199
|
+
var __defProp$6 = Object.defineProperty;
|
|
7130
7200
|
var __defProps$5 = Object.defineProperties;
|
|
7131
7201
|
var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
|
|
7132
|
-
var __getOwnPropSymbols$
|
|
7133
|
-
var __hasOwnProp$
|
|
7134
|
-
var __propIsEnum$
|
|
7135
|
-
var __defNormalProp$
|
|
7136
|
-
var __spreadValues$
|
|
7202
|
+
var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
|
|
7203
|
+
var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
|
|
7204
|
+
var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
|
|
7205
|
+
var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7206
|
+
var __spreadValues$6 = (a, b) => {
|
|
7137
7207
|
for (var prop in b || (b = {}))
|
|
7138
|
-
if (__hasOwnProp$
|
|
7139
|
-
__defNormalProp$
|
|
7140
|
-
if (__getOwnPropSymbols$
|
|
7141
|
-
for (var prop of __getOwnPropSymbols$
|
|
7142
|
-
if (__propIsEnum$
|
|
7143
|
-
__defNormalProp$
|
|
7208
|
+
if (__hasOwnProp$6.call(b, prop))
|
|
7209
|
+
__defNormalProp$6(a, prop, b[prop]);
|
|
7210
|
+
if (__getOwnPropSymbols$6)
|
|
7211
|
+
for (var prop of __getOwnPropSymbols$6(b)) {
|
|
7212
|
+
if (__propIsEnum$6.call(b, prop))
|
|
7213
|
+
__defNormalProp$6(a, prop, b[prop]);
|
|
7144
7214
|
}
|
|
7145
7215
|
return a;
|
|
7146
7216
|
};
|
|
@@ -7156,7 +7226,7 @@
|
|
|
7156
7226
|
setErrMsg(err || void 0);
|
|
7157
7227
|
const shouldAutoIncrease = column.type !== "password" && column.autoIncrease;
|
|
7158
7228
|
const newData = data.map((cell, rowIndex) => {
|
|
7159
|
-
return __spreadProps$5(__spreadValues$
|
|
7229
|
+
return __spreadProps$5(__spreadValues$6({}, cell), {
|
|
7160
7230
|
[column.key]: shouldAutoIncrease && typeof value === "string" ? increaseLastNumber(value, rowIndex) : value
|
|
7161
7231
|
});
|
|
7162
7232
|
});
|
|
@@ -7173,7 +7243,7 @@
|
|
|
7173
7243
|
const CellComponent = ColumnHeaderImpls[column.type];
|
|
7174
7244
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
7175
7245
|
CellComponent,
|
|
7176
|
-
__spreadProps$5(__spreadValues$
|
|
7246
|
+
__spreadProps$5(__spreadValues$6({}, props), {
|
|
7177
7247
|
column,
|
|
7178
7248
|
onChange: headerOnChange,
|
|
7179
7249
|
onBlur: _onBlur
|
|
@@ -7208,21 +7278,21 @@
|
|
|
7208
7278
|
);
|
|
7209
7279
|
};
|
|
7210
7280
|
|
|
7211
|
-
var __defProp$
|
|
7281
|
+
var __defProp$5 = Object.defineProperty;
|
|
7212
7282
|
var __defProps$4 = Object.defineProperties;
|
|
7213
7283
|
var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
|
|
7214
|
-
var __getOwnPropSymbols$
|
|
7215
|
-
var __hasOwnProp$
|
|
7216
|
-
var __propIsEnum$
|
|
7217
|
-
var __defNormalProp$
|
|
7218
|
-
var __spreadValues$
|
|
7284
|
+
var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;
|
|
7285
|
+
var __hasOwnProp$5 = Object.prototype.hasOwnProperty;
|
|
7286
|
+
var __propIsEnum$5 = Object.prototype.propertyIsEnumerable;
|
|
7287
|
+
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7288
|
+
var __spreadValues$5 = (a, b) => {
|
|
7219
7289
|
for (var prop in b || (b = {}))
|
|
7220
|
-
if (__hasOwnProp$
|
|
7221
|
-
__defNormalProp$
|
|
7222
|
-
if (__getOwnPropSymbols$
|
|
7223
|
-
for (var prop of __getOwnPropSymbols$
|
|
7224
|
-
if (__propIsEnum$
|
|
7225
|
-
__defNormalProp$
|
|
7290
|
+
if (__hasOwnProp$5.call(b, prop))
|
|
7291
|
+
__defNormalProp$5(a, prop, b[prop]);
|
|
7292
|
+
if (__getOwnPropSymbols$5)
|
|
7293
|
+
for (var prop of __getOwnPropSymbols$5(b)) {
|
|
7294
|
+
if (__propIsEnum$5.call(b, prop))
|
|
7295
|
+
__defNormalProp$5(a, prop, b[prop]);
|
|
7226
7296
|
}
|
|
7227
7297
|
return a;
|
|
7228
7298
|
};
|
|
@@ -7288,7 +7358,7 @@
|
|
|
7288
7358
|
(key, error) => {
|
|
7289
7359
|
if (error) {
|
|
7290
7360
|
const newData = latestData.map((cell) => {
|
|
7291
|
-
return __spreadProps$4(__spreadValues$
|
|
7361
|
+
return __spreadProps$4(__spreadValues$5({}, cell), {
|
|
7292
7362
|
[key]: ""
|
|
7293
7363
|
});
|
|
7294
7364
|
});
|
|
@@ -7558,31 +7628,31 @@
|
|
|
7558
7628
|
|
|
7559
7629
|
const IconStyle = "iwsze0q";
|
|
7560
7630
|
|
|
7561
|
-
var __defProp$
|
|
7631
|
+
var __defProp$4 = Object.defineProperty;
|
|
7562
7632
|
var __defProps$3 = Object.defineProperties;
|
|
7563
7633
|
var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
|
|
7564
|
-
var __getOwnPropSymbols$
|
|
7565
|
-
var __hasOwnProp$
|
|
7566
|
-
var __propIsEnum$
|
|
7567
|
-
var __defNormalProp$
|
|
7634
|
+
var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
|
|
7635
|
+
var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
|
|
7636
|
+
var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
|
|
7637
|
+
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, {
|
|
7568
7638
|
enumerable: true,
|
|
7569
7639
|
configurable: true,
|
|
7570
7640
|
writable: true,
|
|
7571
7641
|
value
|
|
7572
7642
|
}) : obj[key] = value;
|
|
7573
|
-
var __spreadValues$
|
|
7574
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
7575
|
-
if (__getOwnPropSymbols$
|
|
7576
|
-
if (__propIsEnum$
|
|
7643
|
+
var __spreadValues$4 = (a, b) => {
|
|
7644
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$4.call(b, prop)) __defNormalProp$4(a, prop, b[prop]);
|
|
7645
|
+
if (__getOwnPropSymbols$4) for (var prop of __getOwnPropSymbols$4(b)) {
|
|
7646
|
+
if (__propIsEnum$4.call(b, prop)) __defNormalProp$4(a, prop, b[prop]);
|
|
7577
7647
|
}
|
|
7578
7648
|
return a;
|
|
7579
7649
|
};
|
|
7580
7650
|
var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
|
|
7581
7651
|
var __objRest = (source, exclude) => {
|
|
7582
7652
|
var target = {};
|
|
7583
|
-
for (var prop in source) if (__hasOwnProp$
|
|
7584
|
-
if (source != null && __getOwnPropSymbols$
|
|
7585
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
7653
|
+
for (var prop in source) if (__hasOwnProp$4.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
7654
|
+
if (source != null && __getOwnPropSymbols$4) for (var prop of __getOwnPropSymbols$4(source)) {
|
|
7655
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$4.call(source, prop)) target[prop] = source[prop];
|
|
7586
7656
|
}
|
|
7587
7657
|
return target;
|
|
7588
7658
|
};
|
|
@@ -7605,14 +7675,14 @@
|
|
|
7605
7675
|
tooltipConfig
|
|
7606
7676
|
} = _b,
|
|
7607
7677
|
props = __objRest(_b, ["size", "color", "className", "icon", "checked", "children", "tooltipConfig"]);
|
|
7608
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$3(__spreadValues$
|
|
7678
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$3(__spreadValues$4({}, props), {
|
|
7609
7679
|
ref,
|
|
7610
7680
|
className: cs__default.default(className, Size[size], TokenStyle, {
|
|
7611
7681
|
[Typo.Label.l4_regular]: size === "small" || size === "medium",
|
|
7612
7682
|
[Typo.Label.l3_regular]: size === "large",
|
|
7613
7683
|
[`ant-tag-${color}`]: PresetColors.includes(color)
|
|
7614
7684
|
}, "ui-kit-token", checked && "ui-kit-token-checked"),
|
|
7615
|
-
closeIcon: /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadValues$
|
|
7685
|
+
closeIcon: /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadValues$4({
|
|
7616
7686
|
title: tooltipConfig == null ? void 0 : tooltipConfig.title
|
|
7617
7687
|
}, !(tooltipConfig == null ? void 0 : tooltipConfig.title) && {
|
|
7618
7688
|
visible: false
|
|
@@ -7669,6 +7739,137 @@
|
|
|
7669
7739
|
}, Text);
|
|
7670
7740
|
};
|
|
7671
7741
|
|
|
7742
|
+
var __defProp$3 = Object.defineProperty;
|
|
7743
|
+
var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
|
|
7744
|
+
var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
|
|
7745
|
+
var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
|
|
7746
|
+
var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, {
|
|
7747
|
+
enumerable: true,
|
|
7748
|
+
configurable: true,
|
|
7749
|
+
writable: true,
|
|
7750
|
+
value
|
|
7751
|
+
}) : obj[key] = value;
|
|
7752
|
+
var __spreadValues$3 = (a, b) => {
|
|
7753
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$3.call(b, prop)) __defNormalProp$3(a, prop, b[prop]);
|
|
7754
|
+
if (__getOwnPropSymbols$3) for (var prop of __getOwnPropSymbols$3(b)) {
|
|
7755
|
+
if (__propIsEnum$3.call(b, prop)) __defNormalProp$3(a, prop, b[prop]);
|
|
7756
|
+
}
|
|
7757
|
+
return a;
|
|
7758
|
+
};
|
|
7759
|
+
const SelectToolbar = "s1ebs0ra";
|
|
7760
|
+
const renderBatchOperationMenuItem = (act, idx = 0) => {
|
|
7761
|
+
if (act === "divider") {
|
|
7762
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Menu.Divider, {
|
|
7763
|
+
key: `divider-${idx}`
|
|
7764
|
+
});
|
|
7765
|
+
}
|
|
7766
|
+
if ("children" in act) {
|
|
7767
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Menu.SubMenu, {
|
|
7768
|
+
className: cs__default.default(Typo.Label.l4_regular),
|
|
7769
|
+
key: act.key,
|
|
7770
|
+
title: (act == null ? void 0 : act.icon) ? React__namespace.default.cloneElement(act.icon, {}, act.title) : /* @__PURE__ */React__namespace.default.createElement("span", null, act.title)
|
|
7771
|
+
}, act.children.map(renderBatchOperationMenuItem));
|
|
7772
|
+
}
|
|
7773
|
+
const Inner = props => {
|
|
7774
|
+
return /* @__PURE__ */React__namespace.default.createElement("span", __spreadValues$3({}, props), act.icon ? React__namespace.default.cloneElement(act.icon, {}, act.title) : null, (act == null ? void 0 : act.count) && /* @__PURE__ */React__namespace.default.createElement("span", null, act.count));
|
|
7775
|
+
};
|
|
7776
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Menu.Item, {
|
|
7777
|
+
key: act.key,
|
|
7778
|
+
onClick: act.onClick,
|
|
7779
|
+
danger: act.danger,
|
|
7780
|
+
disabled: !!(act == null ? void 0 : act.disabled),
|
|
7781
|
+
className: (act == null ? void 0 : act.danger) && act.disabled ? "item-danger-disabled" : ""
|
|
7782
|
+
}, "tooltip" in act && act.tooltip ? /* @__PURE__ */React__namespace.default.createElement(Tooltip, {
|
|
7783
|
+
title: act.tooltip
|
|
7784
|
+
}, /* @__PURE__ */React__namespace.default.createElement(Inner, null)) : /* @__PURE__ */React__namespace.default.createElement(Inner, null));
|
|
7785
|
+
};
|
|
7786
|
+
const BatchOperation = props => {
|
|
7787
|
+
const {
|
|
7788
|
+
count,
|
|
7789
|
+
onClearSelection,
|
|
7790
|
+
actions
|
|
7791
|
+
} = props;
|
|
7792
|
+
const {
|
|
7793
|
+
t
|
|
7794
|
+
} = useParrotTranslation();
|
|
7795
|
+
const els = React.useMemo(() => {
|
|
7796
|
+
return actions.map((act, idx) => {
|
|
7797
|
+
if (act === "divider") {
|
|
7798
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Menu.Divider, {
|
|
7799
|
+
key: `divider-${idx}`
|
|
7800
|
+
});
|
|
7801
|
+
}
|
|
7802
|
+
if ("children" in act) {
|
|
7803
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Dropdown, {
|
|
7804
|
+
key: act.key,
|
|
7805
|
+
trigger: ["click"],
|
|
7806
|
+
placement: "bottomRight",
|
|
7807
|
+
overlay: /* @__PURE__ */React__namespace.default.createElement(antd.Menu, null, act.children.map(renderBatchOperationMenuItem))
|
|
7808
|
+
}, /* @__PURE__ */React__namespace.default.createElement(Button, {
|
|
7809
|
+
key: act.key,
|
|
7810
|
+
type: "ordinary-onTint",
|
|
7811
|
+
prefixIcon: act.icon != null ? act.icon : void 0,
|
|
7812
|
+
danger: act == null ? void 0 : act.danger,
|
|
7813
|
+
className: `sub-menu-${act.key}`,
|
|
7814
|
+
suffixIcon: /* @__PURE__ */React__namespace.default.createElement(Icon, {
|
|
7815
|
+
src: iconsReact.ArrowChevronDown16SecondaryIcon
|
|
7816
|
+
})
|
|
7817
|
+
}, act.title));
|
|
7818
|
+
}
|
|
7819
|
+
if (act.tooltip) {
|
|
7820
|
+
return /* @__PURE__ */React__namespace.default.createElement(Tooltip, {
|
|
7821
|
+
title: act.tooltip
|
|
7822
|
+
}, /* @__PURE__ */React__namespace.default.createElement(Button, {
|
|
7823
|
+
key: act.key,
|
|
7824
|
+
type: "ordinary-onTint",
|
|
7825
|
+
danger: act.danger,
|
|
7826
|
+
onClick: act.onClick,
|
|
7827
|
+
disabled: act.disabled,
|
|
7828
|
+
prefixIcon: act.icon != null ? act.icon : void 0
|
|
7829
|
+
}, act.title));
|
|
7830
|
+
}
|
|
7831
|
+
return /* @__PURE__ */React__namespace.default.createElement(Button, {
|
|
7832
|
+
key: act.key,
|
|
7833
|
+
type: "ordinary-onTint",
|
|
7834
|
+
danger: act.danger,
|
|
7835
|
+
onClick: act.onClick,
|
|
7836
|
+
disabled: act.disabled,
|
|
7837
|
+
prefixIcon: act.icon != null ? act.icon : void 0
|
|
7838
|
+
}, act.title);
|
|
7839
|
+
});
|
|
7840
|
+
}, [actions]);
|
|
7841
|
+
const getExtraEl = React.useCallback(end => /* @__PURE__ */React__namespace.default.createElement(antd.Dropdown, {
|
|
7842
|
+
overlay: /* @__PURE__ */React__namespace.default.createElement(antd.Menu, null, actions.slice(end).map((act, idx) => {
|
|
7843
|
+
return act === "divider" ? /* @__PURE__ */React__namespace.default.createElement(antd.Menu.Divider, {
|
|
7844
|
+
key: `divider-${idx}`
|
|
7845
|
+
}) : "children" in act ? /* @__PURE__ */React__namespace.default.createElement(antd.Menu.SubMenu, {
|
|
7846
|
+
className: cs__default.default(Typo.Label.l4_regular),
|
|
7847
|
+
key: act.key,
|
|
7848
|
+
title: (act == null ? void 0 : act.icon) ? React__namespace.default.cloneElement(act.icon, {}, act.title) : /* @__PURE__ */React__namespace.default.createElement("span", null, act.title)
|
|
7849
|
+
}, act.children.map(renderBatchOperationMenuItem)) : renderBatchOperationMenuItem(act);
|
|
7850
|
+
}))
|
|
7851
|
+
}, /* @__PURE__ */React__namespace.default.createElement(Icon, {
|
|
7852
|
+
className: "more-btn",
|
|
7853
|
+
src: iconsReact.MoreEllipsis316BoldBlueIcon
|
|
7854
|
+
})), [actions]);
|
|
7855
|
+
return /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
7856
|
+
className: SelectToolbar
|
|
7857
|
+
}, /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
7858
|
+
className: "select-total"
|
|
7859
|
+
}, t("components.selected_item_with_count", {
|
|
7860
|
+
count
|
|
7861
|
+
}), /* @__PURE__ */React__namespace.default.createElement(Icon, {
|
|
7862
|
+
src: iconsReact.XmarkRemove16SecondaryIcon,
|
|
7863
|
+
hoverSrc: iconsReact.XmarkRemove16BlueIcon,
|
|
7864
|
+
onClick: onClearSelection
|
|
7865
|
+
})), /* @__PURE__ */React__namespace.default.createElement(ExtraOverflow, {
|
|
7866
|
+
className: "action-group",
|
|
7867
|
+
reverse: true,
|
|
7868
|
+
els,
|
|
7869
|
+
extraEl: getExtraEl
|
|
7870
|
+
}));
|
|
7871
|
+
};
|
|
7872
|
+
|
|
7672
7873
|
function getAntdKit() {
|
|
7673
7874
|
const kit = {
|
|
7674
7875
|
loading: Loading,
|
|
@@ -7789,7 +7990,8 @@
|
|
|
7789
7990
|
SortableList,
|
|
7790
7991
|
SidebarSubtitle,
|
|
7791
7992
|
Link,
|
|
7792
|
-
DropdownMenu
|
|
7993
|
+
DropdownMenu,
|
|
7994
|
+
BatchOperation
|
|
7793
7995
|
};
|
|
7794
7996
|
kit.option.isSelectOption = true;
|
|
7795
7997
|
kit.button.__ANT_BUTTON = true;
|
|
@@ -8109,6 +8311,7 @@
|
|
|
8109
8311
|
});
|
|
8110
8312
|
exports.Architecture = Architecture;
|
|
8111
8313
|
exports.BaseIcon = BaseIcon;
|
|
8314
|
+
exports.BatchOperation = BatchOperation;
|
|
8112
8315
|
exports.Button = Button;
|
|
8113
8316
|
exports.ButtonStyle = ButtonStyle;
|
|
8114
8317
|
exports.CannotOperationInfo = CannotOperationInfo;
|
|
@@ -8138,6 +8341,7 @@
|
|
|
8138
8341
|
exports.popModal = popModal;
|
|
8139
8342
|
exports.pushModal = pushModal;
|
|
8140
8343
|
exports.radioStyle = radioStyle;
|
|
8344
|
+
exports.renderBatchOperationMenuItem = renderBatchOperationMenuItem;
|
|
8141
8345
|
exports.stringifyPlan = stringifyPlan;
|
|
8142
8346
|
exports.tableStyleCover = tableStyleCover;
|
|
8143
8347
|
exports.tickFormatter = tickFormatter;
|