@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/esm/index.js
CHANGED
|
@@ -6,7 +6,7 @@ export * from '@cloudtower/parrot';
|
|
|
6
6
|
import { useTranslation, Trans, withTranslation } from 'react-i18next';
|
|
7
7
|
import { Tooltip as Tooltip$1, Menu, Dropdown, Calendar as Calendar$1, Button as Button$1, Checkbox as Checkbox$1, DatePicker, Select as Select$1, InputNumber as InputNumber$1, Input as Input$1, TimePicker as TimePicker$1, Switch as Switch$1, Alert as Alert$1, Badge as Badge$1, Card as Card$2, Collapse, Form as Form$1, Tag as Tag$1, Steps as Steps$1, Modal as Modal$1, Progress as Progress$1, Radio as Radio$1, Table as Table$2, Space, List, Row, Col, Tree, Divider, Skeleton, Layout, AutoComplete, Popover, Timeline, Typography, Upload, Tabs, message, Empty as Empty$1, TreeSelect, Drawer, ConfigProvider } from 'antd';
|
|
8
8
|
export { Col, Row } from 'antd';
|
|
9
|
-
import { XmarkRemove24SecondaryIcon, InfoICircleFill16SecondaryIcon, XmarkFailedSeriousWarningFill16RedIcon, NoticeAttention16YellowIcon, InfoICircleFill16BlueIcon, CheckmarkDoneSuccessCircleFill16GreenIcon, FocusIndicator16BlueIcon, ClockIcon, CloseIcon, ArrowChevronLeft16BoldTertiaryIcon, ArrowChevronLeft16BoldBlueIcon, ArrowRightGrayIcon, ArrowChevronUp16SecondaryIcon, ArrowChevronDown16SecondaryIcon, CheckmarkDoneSuccessCorrect16SecondaryIcon, ArrowChevronLeftSmall16BoldBlueIcon, ArrowChevronDownSmall16SecondaryIcon, ArrowChevronDownSmall16BlueIcon, Loading8GradientBlueIcon, ArrowChevronUp16BoldSecondaryIcon, PlusAddCreateNew16SecondaryIcon, HandlePoint816SecondaryIcon, HandlePoint816BlueIcon, XmarkRemove16SecondaryIcon, XmarkRemove16RegularRedIcon, CheckmarkDoneSuccessCorrect16BlueIcon, XmarkRemoveSmall16RegularInheritIcon } from '@cloudtower/icons-react';
|
|
9
|
+
import { XmarkRemove24SecondaryIcon, InfoICircleFill16SecondaryIcon, XmarkFailedSeriousWarningFill16RedIcon, NoticeAttention16YellowIcon, InfoICircleFill16BlueIcon, CheckmarkDoneSuccessCircleFill16GreenIcon, FocusIndicator16BlueIcon, ClockIcon, CloseIcon, ArrowChevronLeft16BoldTertiaryIcon, ArrowChevronLeft16BoldBlueIcon, ArrowRightGrayIcon, ArrowChevronUp16SecondaryIcon, ArrowChevronDown16SecondaryIcon, CheckmarkDoneSuccessCorrect16SecondaryIcon, ArrowChevronLeftSmall16BoldBlueIcon, ArrowChevronDownSmall16SecondaryIcon, ArrowChevronDownSmall16BlueIcon, Loading8GradientBlueIcon, ArrowChevronUp16BoldSecondaryIcon, PlusAddCreateNew16SecondaryIcon, HandlePoint816SecondaryIcon, HandlePoint816BlueIcon, XmarkRemove16SecondaryIcon, XmarkRemove16RegularRedIcon, CheckmarkDoneSuccessCorrect16BlueIcon, XmarkRemoveSmall16RegularInheritIcon, MoreEllipsis316BoldBlueIcon, XmarkRemove16BlueIcon } from '@cloudtower/icons-react';
|
|
10
10
|
import cs from 'classnames';
|
|
11
11
|
import { styled } from 'linaria/react';
|
|
12
12
|
import _, { debounce, uniqBy, groupBy, sortBy, toPairs } from 'lodash';
|
|
@@ -220,6 +220,36 @@ const Empty = (props) => {
|
|
|
220
220
|
return /* @__PURE__ */ React__default.createElement("span", { className, style }, "-");
|
|
221
221
|
};
|
|
222
222
|
|
|
223
|
+
var __defProp$15 = Object.defineProperty;
|
|
224
|
+
var __getOwnPropSymbols$16 = Object.getOwnPropertySymbols;
|
|
225
|
+
var __hasOwnProp$16 = Object.prototype.hasOwnProperty;
|
|
226
|
+
var __propIsEnum$16 = Object.prototype.propertyIsEnumerable;
|
|
227
|
+
var __defNormalProp$15 = (obj, key, value) => key in obj ? __defProp$15(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
228
|
+
var __spreadValues$14 = (a, b) => {
|
|
229
|
+
for (var prop in b || (b = {}))
|
|
230
|
+
if (__hasOwnProp$16.call(b, prop))
|
|
231
|
+
__defNormalProp$15(a, prop, b[prop]);
|
|
232
|
+
if (__getOwnPropSymbols$16)
|
|
233
|
+
for (var prop of __getOwnPropSymbols$16(b)) {
|
|
234
|
+
if (__propIsEnum$16.call(b, prop))
|
|
235
|
+
__defNormalProp$15(a, prop, b[prop]);
|
|
236
|
+
}
|
|
237
|
+
return a;
|
|
238
|
+
};
|
|
239
|
+
const Bit = ({
|
|
240
|
+
rawValue,
|
|
241
|
+
decimals,
|
|
242
|
+
unitClassName,
|
|
243
|
+
valueClassName,
|
|
244
|
+
emptyProps
|
|
245
|
+
}) => {
|
|
246
|
+
if (isEmpty(rawValue)) {
|
|
247
|
+
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$14({}, emptyProps));
|
|
248
|
+
}
|
|
249
|
+
const { value, unit } = formatBits(rawValue, decimals);
|
|
250
|
+
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
251
|
+
};
|
|
252
|
+
|
|
223
253
|
var __defProp$14 = Object.defineProperty;
|
|
224
254
|
var __getOwnPropSymbols$15 = Object.getOwnPropertySymbols;
|
|
225
255
|
var __hasOwnProp$15 = Object.prototype.hasOwnProperty;
|
|
@@ -236,17 +266,17 @@ var __spreadValues$13 = (a, b) => {
|
|
|
236
266
|
}
|
|
237
267
|
return a;
|
|
238
268
|
};
|
|
239
|
-
const
|
|
269
|
+
const BitPerSeconds = ({
|
|
240
270
|
rawValue,
|
|
241
271
|
decimals,
|
|
242
|
-
unitClassName,
|
|
243
272
|
valueClassName,
|
|
273
|
+
unitClassName,
|
|
244
274
|
emptyProps
|
|
245
275
|
}) => {
|
|
246
276
|
if (isEmpty(rawValue)) {
|
|
247
277
|
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$13({}, emptyProps));
|
|
248
278
|
}
|
|
249
|
-
const { value, unit } =
|
|
279
|
+
const { value, unit } = formatBitPerSecond(rawValue, decimals);
|
|
250
280
|
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
251
281
|
};
|
|
252
282
|
|
|
@@ -266,7 +296,7 @@ var __spreadValues$12 = (a, b) => {
|
|
|
266
296
|
}
|
|
267
297
|
return a;
|
|
268
298
|
};
|
|
269
|
-
const
|
|
299
|
+
const Bps = ({
|
|
270
300
|
rawValue,
|
|
271
301
|
decimals,
|
|
272
302
|
valueClassName,
|
|
@@ -276,10 +306,16 @@ const BitPerSeconds = ({
|
|
|
276
306
|
if (isEmpty(rawValue)) {
|
|
277
307
|
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$12({}, emptyProps));
|
|
278
308
|
}
|
|
279
|
-
const { value, unit } =
|
|
309
|
+
const { value, unit } = formatBps(rawValue, decimals);
|
|
280
310
|
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
281
311
|
};
|
|
282
312
|
|
|
313
|
+
const useParrotTranslation = () => {
|
|
314
|
+
return useTranslation(void 0, {
|
|
315
|
+
i18n: parrotI18n
|
|
316
|
+
});
|
|
317
|
+
};
|
|
318
|
+
|
|
283
319
|
var __defProp$12 = Object.defineProperty;
|
|
284
320
|
var __getOwnPropSymbols$13 = Object.getOwnPropertySymbols;
|
|
285
321
|
var __hasOwnProp$13 = Object.prototype.hasOwnProperty;
|
|
@@ -296,26 +332,28 @@ var __spreadValues$11 = (a, b) => {
|
|
|
296
332
|
}
|
|
297
333
|
return a;
|
|
298
334
|
};
|
|
299
|
-
const
|
|
335
|
+
const Byte = ({
|
|
300
336
|
rawValue,
|
|
337
|
+
noUnitOnZero,
|
|
301
338
|
decimals,
|
|
302
339
|
valueClassName,
|
|
303
340
|
unitClassName,
|
|
304
341
|
emptyProps
|
|
305
342
|
}) => {
|
|
343
|
+
const { t } = useParrotTranslation();
|
|
306
344
|
if (isEmpty(rawValue)) {
|
|
307
345
|
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$11({}, emptyProps));
|
|
308
346
|
}
|
|
309
|
-
|
|
347
|
+
if (rawValue === -1) {
|
|
348
|
+
return /* @__PURE__ */ React__default.createElement("span", null, t("common.calculation"));
|
|
349
|
+
}
|
|
350
|
+
const { value, unit } = formatBytes(rawValue, decimals);
|
|
351
|
+
if (noUnitOnZero && value === 0) {
|
|
352
|
+
return /* @__PURE__ */ React__default.createElement("span", { className: "value" }, value);
|
|
353
|
+
}
|
|
310
354
|
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
311
355
|
};
|
|
312
356
|
|
|
313
|
-
const useParrotTranslation = () => {
|
|
314
|
-
return useTranslation(void 0, {
|
|
315
|
-
i18n: parrotI18n
|
|
316
|
-
});
|
|
317
|
-
};
|
|
318
|
-
|
|
319
357
|
var __defProp$11 = Object.defineProperty;
|
|
320
358
|
var __getOwnPropSymbols$12 = Object.getOwnPropertySymbols;
|
|
321
359
|
var __hasOwnProp$12 = Object.prototype.hasOwnProperty;
|
|
@@ -332,25 +370,17 @@ var __spreadValues$10 = (a, b) => {
|
|
|
332
370
|
}
|
|
333
371
|
return a;
|
|
334
372
|
};
|
|
335
|
-
const
|
|
373
|
+
const Frequency = ({
|
|
336
374
|
rawValue,
|
|
337
|
-
noUnitOnZero,
|
|
338
375
|
decimals,
|
|
339
376
|
valueClassName,
|
|
340
377
|
unitClassName,
|
|
341
378
|
emptyProps
|
|
342
379
|
}) => {
|
|
343
|
-
const { t } = useParrotTranslation();
|
|
344
380
|
if (isEmpty(rawValue)) {
|
|
345
381
|
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$10({}, emptyProps));
|
|
346
382
|
}
|
|
347
|
-
|
|
348
|
-
return /* @__PURE__ */ React__default.createElement("span", null, t("common.calculation"));
|
|
349
|
-
}
|
|
350
|
-
const { value, unit } = formatBytes(rawValue, decimals);
|
|
351
|
-
if (noUnitOnZero && value === 0) {
|
|
352
|
-
return /* @__PURE__ */ React__default.createElement("span", { className: "value" }, value);
|
|
353
|
-
}
|
|
383
|
+
const { value, unit } = formatFrequency(rawValue, decimals);
|
|
354
384
|
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
355
385
|
};
|
|
356
386
|
|
|
@@ -370,9 +400,10 @@ var __spreadValues$$ = (a, b) => {
|
|
|
370
400
|
}
|
|
371
401
|
return a;
|
|
372
402
|
};
|
|
373
|
-
const
|
|
403
|
+
const Percent = ({
|
|
374
404
|
rawValue,
|
|
375
405
|
decimals,
|
|
406
|
+
saturated,
|
|
376
407
|
valueClassName,
|
|
377
408
|
unitClassName,
|
|
378
409
|
emptyProps
|
|
@@ -380,8 +411,8 @@ const Frequency = ({
|
|
|
380
411
|
if (isEmpty(rawValue)) {
|
|
381
412
|
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$$({}, emptyProps));
|
|
382
413
|
}
|
|
383
|
-
const { value, unit } =
|
|
384
|
-
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) },
|
|
414
|
+
const { value, unit } = formatPercent(rawValue, decimals, saturated);
|
|
415
|
+
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, unit));
|
|
385
416
|
};
|
|
386
417
|
|
|
387
418
|
var __defProp$$ = Object.defineProperty;
|
|
@@ -400,19 +431,20 @@ var __spreadValues$_ = (a, b) => {
|
|
|
400
431
|
}
|
|
401
432
|
return a;
|
|
402
433
|
};
|
|
403
|
-
const
|
|
434
|
+
const Second = ({
|
|
404
435
|
rawValue,
|
|
405
436
|
decimals,
|
|
406
|
-
saturated,
|
|
407
437
|
valueClassName,
|
|
408
438
|
unitClassName,
|
|
439
|
+
abbreviate,
|
|
409
440
|
emptyProps
|
|
410
441
|
}) => {
|
|
442
|
+
const { t } = useParrotTranslation();
|
|
411
443
|
if (isEmpty(rawValue)) {
|
|
412
444
|
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$_({}, emptyProps));
|
|
413
445
|
}
|
|
414
|
-
const { value, unit } =
|
|
415
|
-
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, unit));
|
|
446
|
+
const { value, unit } = formatSeconds(rawValue, decimals);
|
|
447
|
+
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value, " "), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, t(`common.${abbreviate ? `${unit}_abbreviation` : unit}`)));
|
|
416
448
|
};
|
|
417
449
|
|
|
418
450
|
var __defProp$_ = Object.defineProperty;
|
|
@@ -431,20 +463,18 @@ var __spreadValues$Z = (a, b) => {
|
|
|
431
463
|
}
|
|
432
464
|
return a;
|
|
433
465
|
};
|
|
434
|
-
const
|
|
466
|
+
const Speed = ({
|
|
435
467
|
rawValue,
|
|
436
468
|
decimals,
|
|
437
469
|
valueClassName,
|
|
438
470
|
unitClassName,
|
|
439
|
-
abbreviate,
|
|
440
471
|
emptyProps
|
|
441
472
|
}) => {
|
|
442
|
-
const { t } = useParrotTranslation();
|
|
443
473
|
if (isEmpty(rawValue)) {
|
|
444
474
|
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$Z({}, emptyProps));
|
|
445
475
|
}
|
|
446
|
-
const { value, unit } =
|
|
447
|
-
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value
|
|
476
|
+
const { value, unit } = formatSpeed(rawValue, decimals);
|
|
477
|
+
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
448
478
|
};
|
|
449
479
|
|
|
450
480
|
var __defProp$Z = Object.defineProperty;
|
|
@@ -463,44 +493,14 @@ var __spreadValues$Y = (a, b) => {
|
|
|
463
493
|
}
|
|
464
494
|
return a;
|
|
465
495
|
};
|
|
466
|
-
const Speed = ({
|
|
467
|
-
rawValue,
|
|
468
|
-
decimals,
|
|
469
|
-
valueClassName,
|
|
470
|
-
unitClassName,
|
|
471
|
-
emptyProps
|
|
472
|
-
}) => {
|
|
473
|
-
if (isEmpty(rawValue)) {
|
|
474
|
-
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$Y({}, emptyProps));
|
|
475
|
-
}
|
|
476
|
-
const { value, unit } = formatSpeed(rawValue, decimals);
|
|
477
|
-
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
478
|
-
};
|
|
479
|
-
|
|
480
|
-
var __defProp$Y = Object.defineProperty;
|
|
481
|
-
var __getOwnPropSymbols$Z = Object.getOwnPropertySymbols;
|
|
482
|
-
var __hasOwnProp$Z = Object.prototype.hasOwnProperty;
|
|
483
|
-
var __propIsEnum$Z = Object.prototype.propertyIsEnumerable;
|
|
484
|
-
var __defNormalProp$Y = (obj, key, value) => key in obj ? __defProp$Y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
485
|
-
var __spreadValues$X = (a, b) => {
|
|
486
|
-
for (var prop in b || (b = {}))
|
|
487
|
-
if (__hasOwnProp$Z.call(b, prop))
|
|
488
|
-
__defNormalProp$Y(a, prop, b[prop]);
|
|
489
|
-
if (__getOwnPropSymbols$Z)
|
|
490
|
-
for (var prop of __getOwnPropSymbols$Z(b)) {
|
|
491
|
-
if (__propIsEnum$Z.call(b, prop))
|
|
492
|
-
__defNormalProp$Y(a, prop, b[prop]);
|
|
493
|
-
}
|
|
494
|
-
return a;
|
|
495
|
-
};
|
|
496
496
|
var __objRest$D = (source, exclude) => {
|
|
497
497
|
var target = {};
|
|
498
498
|
for (var prop in source)
|
|
499
|
-
if (__hasOwnProp$
|
|
499
|
+
if (__hasOwnProp$_.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
500
500
|
target[prop] = source[prop];
|
|
501
|
-
if (source != null && __getOwnPropSymbols$
|
|
502
|
-
for (var prop of __getOwnPropSymbols$
|
|
503
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
501
|
+
if (source != null && __getOwnPropSymbols$_)
|
|
502
|
+
for (var prop of __getOwnPropSymbols$_(source)) {
|
|
503
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$_.call(source, prop))
|
|
504
504
|
target[prop] = source[prop];
|
|
505
505
|
}
|
|
506
506
|
return target;
|
|
@@ -532,10 +532,10 @@ const BaseIcon = React__default.forwardRef(
|
|
|
532
532
|
]);
|
|
533
533
|
return /* @__PURE__ */ React__default.createElement(
|
|
534
534
|
"span",
|
|
535
|
-
__spreadValues$
|
|
535
|
+
__spreadValues$Y({
|
|
536
536
|
ref,
|
|
537
537
|
className,
|
|
538
|
-
style: _.pickBy(__spreadValues$
|
|
538
|
+
style: _.pickBy(__spreadValues$Y({ cursor }, style))
|
|
539
539
|
}, HTMLSpanElementProps),
|
|
540
540
|
prefixNode,
|
|
541
541
|
/* @__PURE__ */ React__default.createElement("span", { className: "icon-inner" }, typeof Src === "string" ? /* @__PURE__ */ React__default.createElement("img", { alt, src: Src, width, height }) : /* @__PURE__ */ React__default.createElement(SVGUniqueID, null, Src({ width, height }))),
|
|
@@ -545,31 +545,31 @@ const BaseIcon = React__default.forwardRef(
|
|
|
545
545
|
}
|
|
546
546
|
);
|
|
547
547
|
|
|
548
|
-
var __defProp$
|
|
548
|
+
var __defProp$Y = Object.defineProperty;
|
|
549
549
|
var __defProps$I = Object.defineProperties;
|
|
550
550
|
var __getOwnPropDescs$I = Object.getOwnPropertyDescriptors;
|
|
551
|
-
var __getOwnPropSymbols$
|
|
552
|
-
var __hasOwnProp$
|
|
553
|
-
var __propIsEnum$
|
|
554
|
-
var __defNormalProp$
|
|
551
|
+
var __getOwnPropSymbols$Z = Object.getOwnPropertySymbols;
|
|
552
|
+
var __hasOwnProp$Z = Object.prototype.hasOwnProperty;
|
|
553
|
+
var __propIsEnum$Z = Object.prototype.propertyIsEnumerable;
|
|
554
|
+
var __defNormalProp$Y = (obj, key, value) => key in obj ? __defProp$Y(obj, key, {
|
|
555
555
|
enumerable: true,
|
|
556
556
|
configurable: true,
|
|
557
557
|
writable: true,
|
|
558
558
|
value
|
|
559
559
|
}) : obj[key] = value;
|
|
560
|
-
var __spreadValues$
|
|
561
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
562
|
-
if (__getOwnPropSymbols$
|
|
563
|
-
if (__propIsEnum$
|
|
560
|
+
var __spreadValues$X = (a, b) => {
|
|
561
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$Z.call(b, prop)) __defNormalProp$Y(a, prop, b[prop]);
|
|
562
|
+
if (__getOwnPropSymbols$Z) for (var prop of __getOwnPropSymbols$Z(b)) {
|
|
563
|
+
if (__propIsEnum$Z.call(b, prop)) __defNormalProp$Y(a, prop, b[prop]);
|
|
564
564
|
}
|
|
565
565
|
return a;
|
|
566
566
|
};
|
|
567
567
|
var __spreadProps$I = (a, b) => __defProps$I(a, __getOwnPropDescs$I(b));
|
|
568
568
|
var __objRest$C = (source, exclude) => {
|
|
569
569
|
var target = {};
|
|
570
|
-
for (var prop in source) if (__hasOwnProp$
|
|
571
|
-
if (source != null && __getOwnPropSymbols$
|
|
572
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
570
|
+
for (var prop in source) if (__hasOwnProp$Z.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
571
|
+
if (source != null && __getOwnPropSymbols$Z) for (var prop of __getOwnPropSymbols$Z(source)) {
|
|
572
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$Z.call(source, prop)) target[prop] = source[prop];
|
|
573
573
|
}
|
|
574
574
|
return target;
|
|
575
575
|
};
|
|
@@ -621,14 +621,14 @@ const Icon = React__default.forwardRef((props, ref) => {
|
|
|
621
621
|
}
|
|
622
622
|
return src2;
|
|
623
623
|
}, [active, hover, suffix]);
|
|
624
|
-
return /* @__PURE__ */React__default.createElement(BaseIcon, __spreadProps$I(__spreadValues$
|
|
624
|
+
return /* @__PURE__ */React__default.createElement(BaseIcon, __spreadProps$I(__spreadValues$X({
|
|
625
625
|
src: _src,
|
|
626
626
|
className: cs(IconWrapper, "icon-wrapper", className, isRotate && "is-rotate"),
|
|
627
627
|
suffixIconSrc,
|
|
628
628
|
height: iconHeight,
|
|
629
629
|
width: iconWidth,
|
|
630
630
|
prefixNode: prefix,
|
|
631
|
-
style: _.pickBy(__spreadValues$
|
|
631
|
+
style: _.pickBy(__spreadValues$X({
|
|
632
632
|
cursor
|
|
633
633
|
}, style))
|
|
634
634
|
}, restProps), {
|
|
@@ -653,30 +653,30 @@ const Icon = React__default.forwardRef((props, ref) => {
|
|
|
653
653
|
}));
|
|
654
654
|
});
|
|
655
655
|
|
|
656
|
-
var __defProp$
|
|
657
|
-
var __getOwnPropSymbols$
|
|
658
|
-
var __hasOwnProp$
|
|
659
|
-
var __propIsEnum$
|
|
660
|
-
var __defNormalProp$
|
|
661
|
-
var __spreadValues$
|
|
656
|
+
var __defProp$X = Object.defineProperty;
|
|
657
|
+
var __getOwnPropSymbols$Y = Object.getOwnPropertySymbols;
|
|
658
|
+
var __hasOwnProp$Y = Object.prototype.hasOwnProperty;
|
|
659
|
+
var __propIsEnum$Y = Object.prototype.propertyIsEnumerable;
|
|
660
|
+
var __defNormalProp$X = (obj, key, value) => key in obj ? __defProp$X(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
661
|
+
var __spreadValues$W = (a, b) => {
|
|
662
662
|
for (var prop in b || (b = {}))
|
|
663
|
-
if (__hasOwnProp$
|
|
664
|
-
__defNormalProp$
|
|
665
|
-
if (__getOwnPropSymbols$
|
|
666
|
-
for (var prop of __getOwnPropSymbols$
|
|
667
|
-
if (__propIsEnum$
|
|
668
|
-
__defNormalProp$
|
|
663
|
+
if (__hasOwnProp$Y.call(b, prop))
|
|
664
|
+
__defNormalProp$X(a, prop, b[prop]);
|
|
665
|
+
if (__getOwnPropSymbols$Y)
|
|
666
|
+
for (var prop of __getOwnPropSymbols$Y(b)) {
|
|
667
|
+
if (__propIsEnum$Y.call(b, prop))
|
|
668
|
+
__defNormalProp$X(a, prop, b[prop]);
|
|
669
669
|
}
|
|
670
670
|
return a;
|
|
671
671
|
};
|
|
672
672
|
var __objRest$B = (source, exclude) => {
|
|
673
673
|
var target = {};
|
|
674
674
|
for (var prop in source)
|
|
675
|
-
if (__hasOwnProp$
|
|
675
|
+
if (__hasOwnProp$Y.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
676
676
|
target[prop] = source[prop];
|
|
677
|
-
if (source != null && __getOwnPropSymbols$
|
|
678
|
-
for (var prop of __getOwnPropSymbols$
|
|
679
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
677
|
+
if (source != null && __getOwnPropSymbols$Y)
|
|
678
|
+
for (var prop of __getOwnPropSymbols$Y(source)) {
|
|
679
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$Y.call(source, prop))
|
|
680
680
|
target[prop] = source[prop];
|
|
681
681
|
}
|
|
682
682
|
return target;
|
|
@@ -697,7 +697,7 @@ const DropdownTransition = (props) => {
|
|
|
697
697
|
]);
|
|
698
698
|
return /* @__PURE__ */ React__default.createElement(
|
|
699
699
|
CSSTransition,
|
|
700
|
-
__spreadValues$
|
|
700
|
+
__spreadValues$W({
|
|
701
701
|
in: visible,
|
|
702
702
|
timeout: timeout || 200,
|
|
703
703
|
mountOnEnter,
|
|
@@ -957,21 +957,21 @@ const DetailCard = props => {
|
|
|
957
957
|
}, props.children));
|
|
958
958
|
};
|
|
959
959
|
|
|
960
|
-
var __defProp$
|
|
960
|
+
var __defProp$W = Object.defineProperty;
|
|
961
961
|
var __defProps$H = Object.defineProperties;
|
|
962
962
|
var __getOwnPropDescs$H = Object.getOwnPropertyDescriptors;
|
|
963
|
-
var __getOwnPropSymbols$
|
|
964
|
-
var __hasOwnProp$
|
|
965
|
-
var __propIsEnum$
|
|
966
|
-
var __defNormalProp$
|
|
967
|
-
var __spreadValues$
|
|
963
|
+
var __getOwnPropSymbols$X = Object.getOwnPropertySymbols;
|
|
964
|
+
var __hasOwnProp$X = Object.prototype.hasOwnProperty;
|
|
965
|
+
var __propIsEnum$X = Object.prototype.propertyIsEnumerable;
|
|
966
|
+
var __defNormalProp$W = (obj, key, value) => key in obj ? __defProp$W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
967
|
+
var __spreadValues$V = (a, b) => {
|
|
968
968
|
for (var prop in b || (b = {}))
|
|
969
|
-
if (__hasOwnProp$
|
|
970
|
-
__defNormalProp$
|
|
971
|
-
if (__getOwnPropSymbols$
|
|
972
|
-
for (var prop of __getOwnPropSymbols$
|
|
973
|
-
if (__propIsEnum$
|
|
974
|
-
__defNormalProp$
|
|
969
|
+
if (__hasOwnProp$X.call(b, prop))
|
|
970
|
+
__defNormalProp$W(a, prop, b[prop]);
|
|
971
|
+
if (__getOwnPropSymbols$X)
|
|
972
|
+
for (var prop of __getOwnPropSymbols$X(b)) {
|
|
973
|
+
if (__propIsEnum$X.call(b, prop))
|
|
974
|
+
__defNormalProp$W(a, prop, b[prop]);
|
|
975
975
|
}
|
|
976
976
|
return a;
|
|
977
977
|
};
|
|
@@ -979,11 +979,11 @@ var __spreadProps$H = (a, b) => __defProps$H(a, __getOwnPropDescs$H(b));
|
|
|
979
979
|
var __objRest$A = (source, exclude) => {
|
|
980
980
|
var target = {};
|
|
981
981
|
for (var prop in source)
|
|
982
|
-
if (__hasOwnProp$
|
|
982
|
+
if (__hasOwnProp$X.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
983
983
|
target[prop] = source[prop];
|
|
984
|
-
if (source != null && __getOwnPropSymbols$
|
|
985
|
-
for (var prop of __getOwnPropSymbols$
|
|
986
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
984
|
+
if (source != null && __getOwnPropSymbols$X)
|
|
985
|
+
for (var prop of __getOwnPropSymbols$X(source)) {
|
|
986
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$X.call(source, prop))
|
|
987
987
|
target[prop] = source[prop];
|
|
988
988
|
}
|
|
989
989
|
return target;
|
|
@@ -1037,10 +1037,10 @@ const Tooltip = (props) => {
|
|
|
1037
1037
|
}, [followMouse, onmousemove, uniqueContainerClass]);
|
|
1038
1038
|
return /* @__PURE__ */ React__default.createElement(
|
|
1039
1039
|
Tooltip$1,
|
|
1040
|
-
__spreadProps$H(__spreadValues$
|
|
1040
|
+
__spreadProps$H(__spreadValues$V({}, restProps), {
|
|
1041
1041
|
overlayClassName: followMouse ? cs(overlayClassName, uniquePopupClass) : overlayClassName,
|
|
1042
1042
|
children: _children,
|
|
1043
|
-
overlayStyle: followMouse ? __spreadValues$
|
|
1043
|
+
overlayStyle: followMouse ? __spreadValues$V({
|
|
1044
1044
|
transform: "translate(-50%, -100%)",
|
|
1045
1045
|
pointerEvents: "none"
|
|
1046
1046
|
}, overlayStyle) : overlayStyle
|
|
@@ -1243,20 +1243,20 @@ const DonutChart = ({
|
|
|
1243
1243
|
)
|
|
1244
1244
|
);
|
|
1245
1245
|
|
|
1246
|
-
var __defProp$
|
|
1247
|
-
var __getOwnPropSymbols$
|
|
1248
|
-
var __hasOwnProp$
|
|
1249
|
-
var __propIsEnum$
|
|
1250
|
-
var __defNormalProp$
|
|
1246
|
+
var __defProp$V = Object.defineProperty;
|
|
1247
|
+
var __getOwnPropSymbols$W = Object.getOwnPropertySymbols;
|
|
1248
|
+
var __hasOwnProp$W = Object.prototype.hasOwnProperty;
|
|
1249
|
+
var __propIsEnum$W = Object.prototype.propertyIsEnumerable;
|
|
1250
|
+
var __defNormalProp$V = (obj, key, value) => key in obj ? __defProp$V(obj, key, {
|
|
1251
1251
|
enumerable: true,
|
|
1252
1252
|
configurable: true,
|
|
1253
1253
|
writable: true,
|
|
1254
1254
|
value
|
|
1255
1255
|
}) : obj[key] = value;
|
|
1256
|
-
var __spreadValues$
|
|
1257
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1258
|
-
if (__getOwnPropSymbols$
|
|
1259
|
-
if (__propIsEnum$
|
|
1256
|
+
var __spreadValues$U = (a, b) => {
|
|
1257
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$W.call(b, prop)) __defNormalProp$V(a, prop, b[prop]);
|
|
1258
|
+
if (__getOwnPropSymbols$W) for (var prop of __getOwnPropSymbols$W(b)) {
|
|
1259
|
+
if (__propIsEnum$W.call(b, prop)) __defNormalProp$V(a, prop, b[prop]);
|
|
1260
1260
|
}
|
|
1261
1261
|
return a;
|
|
1262
1262
|
};
|
|
@@ -1331,7 +1331,7 @@ const UnitWithChart = ({
|
|
|
1331
1331
|
saturated
|
|
1332
1332
|
}) : /* @__PURE__ */React__default.createElement(Unit, {
|
|
1333
1333
|
rawValue
|
|
1334
|
-
})), chartType === "donutChart" && /* @__PURE__ */React__default.createElement(DonutChart, __spreadValues$
|
|
1334
|
+
})), chartType === "donutChart" && /* @__PURE__ */React__default.createElement(DonutChart, __spreadValues$U({
|
|
1335
1335
|
data: [{
|
|
1336
1336
|
used: rawValue / total,
|
|
1337
1337
|
fill: color
|
|
@@ -1487,28 +1487,28 @@ const Counting = (props) => {
|
|
|
1487
1487
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, render());
|
|
1488
1488
|
};
|
|
1489
1489
|
|
|
1490
|
-
var __defProp$
|
|
1491
|
-
var __getOwnPropSymbols$
|
|
1492
|
-
var __hasOwnProp$
|
|
1493
|
-
var __propIsEnum$
|
|
1494
|
-
var __defNormalProp$
|
|
1495
|
-
var __spreadValues$
|
|
1490
|
+
var __defProp$U = Object.defineProperty;
|
|
1491
|
+
var __getOwnPropSymbols$V = Object.getOwnPropertySymbols;
|
|
1492
|
+
var __hasOwnProp$V = Object.prototype.hasOwnProperty;
|
|
1493
|
+
var __propIsEnum$V = Object.prototype.propertyIsEnumerable;
|
|
1494
|
+
var __defNormalProp$U = (obj, key, value) => key in obj ? __defProp$U(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1495
|
+
var __spreadValues$T = (a, b) => {
|
|
1496
1496
|
for (var prop in b || (b = {}))
|
|
1497
|
-
if (__hasOwnProp$
|
|
1498
|
-
__defNormalProp$
|
|
1499
|
-
if (__getOwnPropSymbols$
|
|
1500
|
-
for (var prop of __getOwnPropSymbols$
|
|
1501
|
-
if (__propIsEnum$
|
|
1502
|
-
__defNormalProp$
|
|
1497
|
+
if (__hasOwnProp$V.call(b, prop))
|
|
1498
|
+
__defNormalProp$U(a, prop, b[prop]);
|
|
1499
|
+
if (__getOwnPropSymbols$V)
|
|
1500
|
+
for (var prop of __getOwnPropSymbols$V(b)) {
|
|
1501
|
+
if (__propIsEnum$V.call(b, prop))
|
|
1502
|
+
__defNormalProp$U(a, prop, b[prop]);
|
|
1503
1503
|
}
|
|
1504
1504
|
return a;
|
|
1505
1505
|
};
|
|
1506
|
-
const Calendar = (props) => /* @__PURE__ */ React__default.createElement(Calendar$1, __spreadValues$
|
|
1506
|
+
const Calendar = (props) => /* @__PURE__ */ React__default.createElement(Calendar$1, __spreadValues$T({}, props));
|
|
1507
1507
|
|
|
1508
|
-
var __defProp$
|
|
1509
|
-
var __defNormalProp$
|
|
1508
|
+
var __defProp$T = Object.defineProperty;
|
|
1509
|
+
var __defNormalProp$T = (obj, key, value) => key in obj ? __defProp$T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1510
1510
|
var __publicField$1 = (obj, key, value) => {
|
|
1511
|
-
__defNormalProp$
|
|
1511
|
+
__defNormalProp$T(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
1512
1512
|
return value;
|
|
1513
1513
|
};
|
|
1514
1514
|
dayjs.extend(UTC);
|
|
@@ -2067,28 +2067,28 @@ const HoverableElement = (props) => {
|
|
|
2067
2067
|
return icon != null ? React__default.cloneElement(icon, { className }) : null;
|
|
2068
2068
|
};
|
|
2069
2069
|
|
|
2070
|
-
var __defProp$
|
|
2071
|
-
var __getOwnPropSymbols$
|
|
2072
|
-
var __hasOwnProp$
|
|
2073
|
-
var __propIsEnum$
|
|
2074
|
-
var __defNormalProp$
|
|
2070
|
+
var __defProp$S = Object.defineProperty;
|
|
2071
|
+
var __getOwnPropSymbols$U = Object.getOwnPropertySymbols;
|
|
2072
|
+
var __hasOwnProp$U = Object.prototype.hasOwnProperty;
|
|
2073
|
+
var __propIsEnum$U = Object.prototype.propertyIsEnumerable;
|
|
2074
|
+
var __defNormalProp$S = (obj, key, value) => key in obj ? __defProp$S(obj, key, {
|
|
2075
2075
|
enumerable: true,
|
|
2076
2076
|
configurable: true,
|
|
2077
2077
|
writable: true,
|
|
2078
2078
|
value
|
|
2079
2079
|
}) : obj[key] = value;
|
|
2080
|
-
var __spreadValues$
|
|
2081
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2082
|
-
if (__getOwnPropSymbols$
|
|
2083
|
-
if (__propIsEnum$
|
|
2080
|
+
var __spreadValues$S = (a, b) => {
|
|
2081
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$U.call(b, prop)) __defNormalProp$S(a, prop, b[prop]);
|
|
2082
|
+
if (__getOwnPropSymbols$U) for (var prop of __getOwnPropSymbols$U(b)) {
|
|
2083
|
+
if (__propIsEnum$U.call(b, prop)) __defNormalProp$S(a, prop, b[prop]);
|
|
2084
2084
|
}
|
|
2085
2085
|
return a;
|
|
2086
2086
|
};
|
|
2087
2087
|
var __objRest$z = (source, exclude) => {
|
|
2088
2088
|
var target = {};
|
|
2089
|
-
for (var prop in source) if (__hasOwnProp$
|
|
2090
|
-
if (source != null && __getOwnPropSymbols$
|
|
2091
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2089
|
+
for (var prop in source) if (__hasOwnProp$U.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2090
|
+
if (source != null && __getOwnPropSymbols$U) for (var prop of __getOwnPropSymbols$U(source)) {
|
|
2091
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$U.call(source, prop)) target[prop] = source[prop];
|
|
2092
2092
|
}
|
|
2093
2093
|
return target;
|
|
2094
2094
|
};
|
|
@@ -2116,7 +2116,7 @@ const Button = React__default.forwardRef((props, ref) => {
|
|
|
2116
2116
|
const hasIcon = prefixIcon || suffixIcon;
|
|
2117
2117
|
const hasHoverIcon = hoverPrefixIcon || hoverSuffixIcon;
|
|
2118
2118
|
const onlyIcon = !children && (prefixIcon || suffixIcon);
|
|
2119
|
-
return /* @__PURE__ */React__default.createElement(Button$1, __spreadValues$
|
|
2119
|
+
return /* @__PURE__ */React__default.createElement(Button$1, __spreadValues$S({
|
|
2120
2120
|
ref,
|
|
2121
2121
|
className: cs(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"),
|
|
2122
2122
|
type: isAntdButtonTypes(type) ? type : void 0,
|
|
@@ -2146,31 +2146,31 @@ const Button = React__default.forwardRef((props, ref) => {
|
|
|
2146
2146
|
}));
|
|
2147
2147
|
});
|
|
2148
2148
|
|
|
2149
|
-
var __defProp$
|
|
2149
|
+
var __defProp$R = Object.defineProperty;
|
|
2150
2150
|
var __defProps$G = Object.defineProperties;
|
|
2151
2151
|
var __getOwnPropDescs$G = Object.getOwnPropertyDescriptors;
|
|
2152
|
-
var __getOwnPropSymbols$
|
|
2153
|
-
var __hasOwnProp$
|
|
2154
|
-
var __propIsEnum$
|
|
2155
|
-
var __defNormalProp$
|
|
2152
|
+
var __getOwnPropSymbols$T = Object.getOwnPropertySymbols;
|
|
2153
|
+
var __hasOwnProp$T = Object.prototype.hasOwnProperty;
|
|
2154
|
+
var __propIsEnum$T = Object.prototype.propertyIsEnumerable;
|
|
2155
|
+
var __defNormalProp$R = (obj, key, value) => key in obj ? __defProp$R(obj, key, {
|
|
2156
2156
|
enumerable: true,
|
|
2157
2157
|
configurable: true,
|
|
2158
2158
|
writable: true,
|
|
2159
2159
|
value
|
|
2160
2160
|
}) : obj[key] = value;
|
|
2161
|
-
var __spreadValues$
|
|
2162
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2163
|
-
if (__getOwnPropSymbols$
|
|
2164
|
-
if (__propIsEnum$
|
|
2161
|
+
var __spreadValues$R = (a, b) => {
|
|
2162
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$T.call(b, prop)) __defNormalProp$R(a, prop, b[prop]);
|
|
2163
|
+
if (__getOwnPropSymbols$T) for (var prop of __getOwnPropSymbols$T(b)) {
|
|
2164
|
+
if (__propIsEnum$T.call(b, prop)) __defNormalProp$R(a, prop, b[prop]);
|
|
2165
2165
|
}
|
|
2166
2166
|
return a;
|
|
2167
2167
|
};
|
|
2168
2168
|
var __spreadProps$G = (a, b) => __defProps$G(a, __getOwnPropDescs$G(b));
|
|
2169
2169
|
var __objRest$y = (source, exclude) => {
|
|
2170
2170
|
var target = {};
|
|
2171
|
-
for (var prop in source) if (__hasOwnProp$
|
|
2172
|
-
if (source != null && __getOwnPropSymbols$
|
|
2173
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2171
|
+
for (var prop in source) if (__hasOwnProp$T.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2172
|
+
if (source != null && __getOwnPropSymbols$T) for (var prop of __getOwnPropSymbols$T(source)) {
|
|
2173
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$T.call(source, prop)) target[prop] = source[prop];
|
|
2174
2174
|
}
|
|
2175
2175
|
return target;
|
|
2176
2176
|
};
|
|
@@ -2184,7 +2184,7 @@ const Checkbox = _a => {
|
|
|
2184
2184
|
compact
|
|
2185
2185
|
} = _b,
|
|
2186
2186
|
props = __objRest$y(_b, ["className", "children", "description", "compact"]);
|
|
2187
|
-
return /* @__PURE__ */React__default.createElement(Checkbox$1, __spreadProps$G(__spreadValues$
|
|
2187
|
+
return /* @__PURE__ */React__default.createElement(Checkbox$1, __spreadProps$G(__spreadValues$R({}, props), {
|
|
2188
2188
|
"data-test": props["data-test"] || props.value,
|
|
2189
2189
|
className: cs(className, CheckboxStyle, compact && "compact")
|
|
2190
2190
|
}), children ? /* @__PURE__ */React__default.createElement(React__default.Fragment, null, /* @__PURE__ */React__default.createElement("div", {
|
|
@@ -2194,30 +2194,30 @@ const Checkbox = _a => {
|
|
|
2194
2194
|
}, description) : null) : null);
|
|
2195
2195
|
};
|
|
2196
2196
|
|
|
2197
|
-
var __defProp$
|
|
2198
|
-
var __getOwnPropSymbols$
|
|
2199
|
-
var __hasOwnProp$
|
|
2200
|
-
var __propIsEnum$
|
|
2201
|
-
var __defNormalProp$
|
|
2202
|
-
var __spreadValues$
|
|
2197
|
+
var __defProp$Q = Object.defineProperty;
|
|
2198
|
+
var __getOwnPropSymbols$S = Object.getOwnPropertySymbols;
|
|
2199
|
+
var __hasOwnProp$S = Object.prototype.hasOwnProperty;
|
|
2200
|
+
var __propIsEnum$S = Object.prototype.propertyIsEnumerable;
|
|
2201
|
+
var __defNormalProp$Q = (obj, key, value) => key in obj ? __defProp$Q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2202
|
+
var __spreadValues$Q = (a, b) => {
|
|
2203
2203
|
for (var prop in b || (b = {}))
|
|
2204
|
-
if (__hasOwnProp$
|
|
2205
|
-
__defNormalProp$
|
|
2206
|
-
if (__getOwnPropSymbols$
|
|
2207
|
-
for (var prop of __getOwnPropSymbols$
|
|
2208
|
-
if (__propIsEnum$
|
|
2209
|
-
__defNormalProp$
|
|
2204
|
+
if (__hasOwnProp$S.call(b, prop))
|
|
2205
|
+
__defNormalProp$Q(a, prop, b[prop]);
|
|
2206
|
+
if (__getOwnPropSymbols$S)
|
|
2207
|
+
for (var prop of __getOwnPropSymbols$S(b)) {
|
|
2208
|
+
if (__propIsEnum$S.call(b, prop))
|
|
2209
|
+
__defNormalProp$Q(a, prop, b[prop]);
|
|
2210
2210
|
}
|
|
2211
2211
|
return a;
|
|
2212
2212
|
};
|
|
2213
2213
|
var __objRest$x = (source, exclude) => {
|
|
2214
2214
|
var target = {};
|
|
2215
2215
|
for (var prop in source)
|
|
2216
|
-
if (__hasOwnProp$
|
|
2216
|
+
if (__hasOwnProp$S.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2217
2217
|
target[prop] = source[prop];
|
|
2218
|
-
if (source != null && __getOwnPropSymbols$
|
|
2219
|
-
for (var prop of __getOwnPropSymbols$
|
|
2220
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2218
|
+
if (source != null && __getOwnPropSymbols$S)
|
|
2219
|
+
for (var prop of __getOwnPropSymbols$S(source)) {
|
|
2220
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$S.call(source, prop))
|
|
2221
2221
|
target[prop] = source[prop];
|
|
2222
2222
|
}
|
|
2223
2223
|
return target;
|
|
@@ -2226,7 +2226,7 @@ const FieldsBoolean = (_a) => {
|
|
|
2226
2226
|
var _b = _a, { input, children } = _b, props = __objRest$x(_b, ["input", "children"]);
|
|
2227
2227
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
2228
2228
|
Checkbox,
|
|
2229
|
-
__spreadValues$
|
|
2229
|
+
__spreadValues$Q({
|
|
2230
2230
|
checked: Boolean(input.value),
|
|
2231
2231
|
onChange: (e) => input.onChange(e.target.checked)
|
|
2232
2232
|
}, props),
|
|
@@ -2251,17 +2251,17 @@ const FieldsDateTime = ({ input }) => /* @__PURE__ */ React__default.createEleme
|
|
|
2251
2251
|
}
|
|
2252
2252
|
));
|
|
2253
2253
|
|
|
2254
|
-
var __getOwnPropSymbols$
|
|
2255
|
-
var __hasOwnProp$
|
|
2256
|
-
var __propIsEnum$
|
|
2254
|
+
var __getOwnPropSymbols$R = Object.getOwnPropertySymbols;
|
|
2255
|
+
var __hasOwnProp$R = Object.prototype.hasOwnProperty;
|
|
2256
|
+
var __propIsEnum$R = Object.prototype.propertyIsEnumerable;
|
|
2257
2257
|
var __objRest$w = (source, exclude) => {
|
|
2258
2258
|
var target = {};
|
|
2259
2259
|
for (var prop in source)
|
|
2260
|
-
if (__hasOwnProp$
|
|
2260
|
+
if (__hasOwnProp$R.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2261
2261
|
target[prop] = source[prop];
|
|
2262
|
-
if (source != null && __getOwnPropSymbols$
|
|
2263
|
-
for (var prop of __getOwnPropSymbols$
|
|
2264
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2262
|
+
if (source != null && __getOwnPropSymbols$R)
|
|
2263
|
+
for (var prop of __getOwnPropSymbols$R(source)) {
|
|
2264
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$R.call(source, prop))
|
|
2265
2265
|
target[prop] = source[prop];
|
|
2266
2266
|
}
|
|
2267
2267
|
return target;
|
|
@@ -2298,56 +2298,56 @@ const LoadingLine1 = "lgitjoj";
|
|
|
2298
2298
|
const LoadingLine2 = "l13g0exg";
|
|
2299
2299
|
const LoadingLine3 = "l1exo3h6";
|
|
2300
2300
|
|
|
2301
|
-
var __defProp$
|
|
2301
|
+
var __defProp$P = Object.defineProperty;
|
|
2302
2302
|
var __defProps$F = Object.defineProperties;
|
|
2303
2303
|
var __getOwnPropDescs$F = Object.getOwnPropertyDescriptors;
|
|
2304
|
-
var __getOwnPropSymbols$
|
|
2305
|
-
var __hasOwnProp$
|
|
2306
|
-
var __propIsEnum$
|
|
2307
|
-
var __defNormalProp$
|
|
2308
|
-
var __spreadValues$
|
|
2309
|
-
for (var prop in b || (b = {}))
|
|
2310
|
-
if (__hasOwnProp$
|
|
2311
|
-
__defNormalProp$
|
|
2312
|
-
if (__getOwnPropSymbols$
|
|
2313
|
-
for (var prop of __getOwnPropSymbols$
|
|
2314
|
-
if (__propIsEnum$
|
|
2315
|
-
__defNormalProp$
|
|
2316
|
-
}
|
|
2317
|
-
return a;
|
|
2318
|
-
};
|
|
2304
|
+
var __getOwnPropSymbols$Q = Object.getOwnPropertySymbols;
|
|
2305
|
+
var __hasOwnProp$Q = Object.prototype.hasOwnProperty;
|
|
2306
|
+
var __propIsEnum$Q = Object.prototype.propertyIsEnumerable;
|
|
2307
|
+
var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2308
|
+
var __spreadValues$P = (a, b) => {
|
|
2309
|
+
for (var prop in b || (b = {}))
|
|
2310
|
+
if (__hasOwnProp$Q.call(b, prop))
|
|
2311
|
+
__defNormalProp$P(a, prop, b[prop]);
|
|
2312
|
+
if (__getOwnPropSymbols$Q)
|
|
2313
|
+
for (var prop of __getOwnPropSymbols$Q(b)) {
|
|
2314
|
+
if (__propIsEnum$Q.call(b, prop))
|
|
2315
|
+
__defNormalProp$P(a, prop, b[prop]);
|
|
2316
|
+
}
|
|
2317
|
+
return a;
|
|
2318
|
+
};
|
|
2319
2319
|
var __spreadProps$F = (a, b) => __defProps$F(a, __getOwnPropDescs$F(b));
|
|
2320
2320
|
const Loading = ({ fullView = true }) => {
|
|
2321
2321
|
const Wrapper = fullView ? FullView : Fragment;
|
|
2322
2322
|
const props = fullView ? { className: "loading-full-view" } : {};
|
|
2323
|
-
return /* @__PURE__ */ React__default.createElement(Wrapper, __spreadProps$F(__spreadValues$
|
|
2323
|
+
return /* @__PURE__ */ React__default.createElement(Wrapper, __spreadProps$F(__spreadValues$P({}, props), { "data-testid": "loading" }), /* @__PURE__ */ React__default.createElement("div", { className: LoadingWrapper }, /* @__PURE__ */ React__default.createElement("div", { className: LoadingLine1 }), /* @__PURE__ */ React__default.createElement("div", { className: LoadingLine2 }), /* @__PURE__ */ React__default.createElement("div", { className: LoadingLine3 })));
|
|
2324
2324
|
};
|
|
2325
2325
|
|
|
2326
|
-
var __defProp$
|
|
2326
|
+
var __defProp$O = Object.defineProperty;
|
|
2327
2327
|
var __defProps$E = Object.defineProperties;
|
|
2328
2328
|
var __getOwnPropDescs$E = Object.getOwnPropertyDescriptors;
|
|
2329
|
-
var __getOwnPropSymbols$
|
|
2330
|
-
var __hasOwnProp$
|
|
2331
|
-
var __propIsEnum$
|
|
2332
|
-
var __defNormalProp$
|
|
2329
|
+
var __getOwnPropSymbols$P = Object.getOwnPropertySymbols;
|
|
2330
|
+
var __hasOwnProp$P = Object.prototype.hasOwnProperty;
|
|
2331
|
+
var __propIsEnum$P = Object.prototype.propertyIsEnumerable;
|
|
2332
|
+
var __defNormalProp$O = (obj, key, value) => key in obj ? __defProp$O(obj, key, {
|
|
2333
2333
|
enumerable: true,
|
|
2334
2334
|
configurable: true,
|
|
2335
2335
|
writable: true,
|
|
2336
2336
|
value
|
|
2337
2337
|
}) : obj[key] = value;
|
|
2338
|
-
var __spreadValues$
|
|
2339
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2340
|
-
if (__getOwnPropSymbols$
|
|
2341
|
-
if (__propIsEnum$
|
|
2338
|
+
var __spreadValues$O = (a, b) => {
|
|
2339
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$P.call(b, prop)) __defNormalProp$O(a, prop, b[prop]);
|
|
2340
|
+
if (__getOwnPropSymbols$P) for (var prop of __getOwnPropSymbols$P(b)) {
|
|
2341
|
+
if (__propIsEnum$P.call(b, prop)) __defNormalProp$O(a, prop, b[prop]);
|
|
2342
2342
|
}
|
|
2343
2343
|
return a;
|
|
2344
2344
|
};
|
|
2345
2345
|
var __spreadProps$E = (a, b) => __defProps$E(a, __getOwnPropDescs$E(b));
|
|
2346
2346
|
var __objRest$v = (source, exclude) => {
|
|
2347
2347
|
var target = {};
|
|
2348
|
-
for (var prop in source) if (__hasOwnProp$
|
|
2349
|
-
if (source != null && __getOwnPropSymbols$
|
|
2350
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2348
|
+
for (var prop in source) if (__hasOwnProp$P.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2349
|
+
if (source != null && __getOwnPropSymbols$P) for (var prop of __getOwnPropSymbols$P(source)) {
|
|
2350
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$P.call(source, prop)) target[prop] = source[prop];
|
|
2351
2351
|
}
|
|
2352
2352
|
return target;
|
|
2353
2353
|
};
|
|
@@ -2401,7 +2401,7 @@ const Select = _a => {
|
|
|
2401
2401
|
inputDom && (placeholder || item) && inputDom.setAttribute("data-test", String(placeholder || item.textContent));
|
|
2402
2402
|
}
|
|
2403
2403
|
}, [selectRef, placeholder]);
|
|
2404
|
-
return /* @__PURE__ */React__default.createElement(Select$1, __spreadValues$
|
|
2404
|
+
return /* @__PURE__ */React__default.createElement(Select$1, __spreadValues$O(__spreadProps$E(__spreadValues$O({}, input), {
|
|
2405
2405
|
ref: selectRef,
|
|
2406
2406
|
size,
|
|
2407
2407
|
value: multiple ? input.value || [] : input.value || void 0,
|
|
@@ -2442,38 +2442,38 @@ const Select = _a => {
|
|
|
2442
2442
|
loading,
|
|
2443
2443
|
placeholder
|
|
2444
2444
|
}), restProps), React__default.Children.map(children, child => {
|
|
2445
|
-
return isElement(child) ? __spreadProps$E(__spreadValues$
|
|
2446
|
-
props: __spreadProps$E(__spreadValues$
|
|
2445
|
+
return isElement(child) ? __spreadProps$E(__spreadValues$O({}, child), {
|
|
2446
|
+
props: __spreadProps$E(__spreadValues$O({}, child.props), {
|
|
2447
2447
|
"data-test": child.props.value
|
|
2448
2448
|
})
|
|
2449
2449
|
}) : child;
|
|
2450
2450
|
}));
|
|
2451
2451
|
};
|
|
2452
2452
|
|
|
2453
|
-
var __defProp$
|
|
2454
|
-
var __getOwnPropSymbols$
|
|
2455
|
-
var __hasOwnProp$
|
|
2456
|
-
var __propIsEnum$
|
|
2457
|
-
var __defNormalProp$
|
|
2458
|
-
var __spreadValues$
|
|
2453
|
+
var __defProp$N = Object.defineProperty;
|
|
2454
|
+
var __getOwnPropSymbols$O = Object.getOwnPropertySymbols;
|
|
2455
|
+
var __hasOwnProp$O = Object.prototype.hasOwnProperty;
|
|
2456
|
+
var __propIsEnum$O = Object.prototype.propertyIsEnumerable;
|
|
2457
|
+
var __defNormalProp$N = (obj, key, value) => key in obj ? __defProp$N(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2458
|
+
var __spreadValues$N = (a, b) => {
|
|
2459
2459
|
for (var prop in b || (b = {}))
|
|
2460
|
-
if (__hasOwnProp$
|
|
2461
|
-
__defNormalProp$
|
|
2462
|
-
if (__getOwnPropSymbols$
|
|
2463
|
-
for (var prop of __getOwnPropSymbols$
|
|
2464
|
-
if (__propIsEnum$
|
|
2465
|
-
__defNormalProp$
|
|
2460
|
+
if (__hasOwnProp$O.call(b, prop))
|
|
2461
|
+
__defNormalProp$N(a, prop, b[prop]);
|
|
2462
|
+
if (__getOwnPropSymbols$O)
|
|
2463
|
+
for (var prop of __getOwnPropSymbols$O(b)) {
|
|
2464
|
+
if (__propIsEnum$O.call(b, prop))
|
|
2465
|
+
__defNormalProp$N(a, prop, b[prop]);
|
|
2466
2466
|
}
|
|
2467
2467
|
return a;
|
|
2468
2468
|
};
|
|
2469
2469
|
var __objRest$u = (source, exclude) => {
|
|
2470
2470
|
var target = {};
|
|
2471
2471
|
for (var prop in source)
|
|
2472
|
-
if (__hasOwnProp$
|
|
2472
|
+
if (__hasOwnProp$O.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2473
2473
|
target[prop] = source[prop];
|
|
2474
|
-
if (source != null && __getOwnPropSymbols$
|
|
2475
|
-
for (var prop of __getOwnPropSymbols$
|
|
2476
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2474
|
+
if (source != null && __getOwnPropSymbols$O)
|
|
2475
|
+
for (var prop of __getOwnPropSymbols$O(source)) {
|
|
2476
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$O.call(source, prop))
|
|
2477
2477
|
target[prop] = source[prop];
|
|
2478
2478
|
}
|
|
2479
2479
|
return target;
|
|
@@ -2488,7 +2488,7 @@ const FieldsEnum = (_a) => {
|
|
|
2488
2488
|
"enumValues",
|
|
2489
2489
|
"emptyLabel"
|
|
2490
2490
|
]);
|
|
2491
|
-
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(Select, __spreadValues$
|
|
2491
|
+
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(Select, __spreadValues$N({}, restProps), emptyLabel && /* @__PURE__ */ React__default.createElement(Select$1.Option, { value: "" }, emptyLabel), enumValues.map((v) => {
|
|
2492
2492
|
const item = typeof v === "string" ? { value: v, text: v } : v;
|
|
2493
2493
|
return /* @__PURE__ */ React__default.createElement(
|
|
2494
2494
|
Select$1.Option,
|
|
@@ -2502,31 +2502,31 @@ const FieldsEnum = (_a) => {
|
|
|
2502
2502
|
})));
|
|
2503
2503
|
};
|
|
2504
2504
|
|
|
2505
|
-
var __defProp$
|
|
2505
|
+
var __defProp$M = Object.defineProperty;
|
|
2506
2506
|
var __defProps$D = Object.defineProperties;
|
|
2507
2507
|
var __getOwnPropDescs$D = Object.getOwnPropertyDescriptors;
|
|
2508
|
-
var __getOwnPropSymbols$
|
|
2509
|
-
var __hasOwnProp$
|
|
2510
|
-
var __propIsEnum$
|
|
2511
|
-
var __defNormalProp$
|
|
2508
|
+
var __getOwnPropSymbols$N = Object.getOwnPropertySymbols;
|
|
2509
|
+
var __hasOwnProp$N = Object.prototype.hasOwnProperty;
|
|
2510
|
+
var __propIsEnum$N = Object.prototype.propertyIsEnumerable;
|
|
2511
|
+
var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, {
|
|
2512
2512
|
enumerable: true,
|
|
2513
2513
|
configurable: true,
|
|
2514
2514
|
writable: true,
|
|
2515
2515
|
value
|
|
2516
2516
|
}) : obj[key] = value;
|
|
2517
|
-
var __spreadValues$
|
|
2518
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2519
|
-
if (__getOwnPropSymbols$
|
|
2520
|
-
if (__propIsEnum$
|
|
2517
|
+
var __spreadValues$M = (a, b) => {
|
|
2518
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$N.call(b, prop)) __defNormalProp$M(a, prop, b[prop]);
|
|
2519
|
+
if (__getOwnPropSymbols$N) for (var prop of __getOwnPropSymbols$N(b)) {
|
|
2520
|
+
if (__propIsEnum$N.call(b, prop)) __defNormalProp$M(a, prop, b[prop]);
|
|
2521
2521
|
}
|
|
2522
2522
|
return a;
|
|
2523
2523
|
};
|
|
2524
2524
|
var __spreadProps$D = (a, b) => __defProps$D(a, __getOwnPropDescs$D(b));
|
|
2525
2525
|
var __objRest$t = (source, exclude) => {
|
|
2526
2526
|
var target = {};
|
|
2527
|
-
for (var prop in source) if (__hasOwnProp$
|
|
2528
|
-
if (source != null && __getOwnPropSymbols$
|
|
2529
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2527
|
+
for (var prop in source) if (__hasOwnProp$N.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2528
|
+
if (source != null && __getOwnPropSymbols$N) for (var prop of __getOwnPropSymbols$N(source)) {
|
|
2529
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$N.call(source, prop)) target[prop] = source[prop];
|
|
2530
2530
|
}
|
|
2531
2531
|
return target;
|
|
2532
2532
|
};
|
|
@@ -2568,7 +2568,7 @@ const InputNumber = _a => {
|
|
|
2568
2568
|
middle: Typo.Label.l3_regular,
|
|
2569
2569
|
small: Typo.Label.l4_regular
|
|
2570
2570
|
}[size];
|
|
2571
|
-
return /* @__PURE__ */React__default.createElement(AntdInputNumberStyled, __spreadProps$D(__spreadValues$
|
|
2571
|
+
return /* @__PURE__ */React__default.createElement(AntdInputNumberStyled, __spreadProps$D(__spreadValues$M({}, props), {
|
|
2572
2572
|
size,
|
|
2573
2573
|
controls,
|
|
2574
2574
|
"data-test": props.name,
|
|
@@ -2578,21 +2578,21 @@ const InputNumber = _a => {
|
|
|
2578
2578
|
}));
|
|
2579
2579
|
};
|
|
2580
2580
|
|
|
2581
|
-
var __defProp$
|
|
2581
|
+
var __defProp$L = Object.defineProperty;
|
|
2582
2582
|
var __defProps$C = Object.defineProperties;
|
|
2583
2583
|
var __getOwnPropDescs$C = Object.getOwnPropertyDescriptors;
|
|
2584
|
-
var __getOwnPropSymbols$
|
|
2585
|
-
var __hasOwnProp$
|
|
2586
|
-
var __propIsEnum$
|
|
2587
|
-
var __defNormalProp$
|
|
2588
|
-
var __spreadValues$
|
|
2584
|
+
var __getOwnPropSymbols$M = Object.getOwnPropertySymbols;
|
|
2585
|
+
var __hasOwnProp$M = Object.prototype.hasOwnProperty;
|
|
2586
|
+
var __propIsEnum$M = Object.prototype.propertyIsEnumerable;
|
|
2587
|
+
var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2588
|
+
var __spreadValues$L = (a, b) => {
|
|
2589
2589
|
for (var prop in b || (b = {}))
|
|
2590
|
-
if (__hasOwnProp$
|
|
2591
|
-
__defNormalProp$
|
|
2592
|
-
if (__getOwnPropSymbols$
|
|
2593
|
-
for (var prop of __getOwnPropSymbols$
|
|
2594
|
-
if (__propIsEnum$
|
|
2595
|
-
__defNormalProp$
|
|
2590
|
+
if (__hasOwnProp$M.call(b, prop))
|
|
2591
|
+
__defNormalProp$L(a, prop, b[prop]);
|
|
2592
|
+
if (__getOwnPropSymbols$M)
|
|
2593
|
+
for (var prop of __getOwnPropSymbols$M(b)) {
|
|
2594
|
+
if (__propIsEnum$M.call(b, prop))
|
|
2595
|
+
__defNormalProp$L(a, prop, b[prop]);
|
|
2596
2596
|
}
|
|
2597
2597
|
return a;
|
|
2598
2598
|
};
|
|
@@ -2600,11 +2600,11 @@ var __spreadProps$C = (a, b) => __defProps$C(a, __getOwnPropDescs$C(b));
|
|
|
2600
2600
|
var __objRest$s = (source, exclude) => {
|
|
2601
2601
|
var target = {};
|
|
2602
2602
|
for (var prop in source)
|
|
2603
|
-
if (__hasOwnProp$
|
|
2603
|
+
if (__hasOwnProp$M.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2604
2604
|
target[prop] = source[prop];
|
|
2605
|
-
if (source != null && __getOwnPropSymbols$
|
|
2606
|
-
for (var prop of __getOwnPropSymbols$
|
|
2607
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2605
|
+
if (source != null && __getOwnPropSymbols$M)
|
|
2606
|
+
for (var prop of __getOwnPropSymbols$M(source)) {
|
|
2607
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$M.call(source, prop))
|
|
2608
2608
|
target[prop] = source[prop];
|
|
2609
2609
|
}
|
|
2610
2610
|
return target;
|
|
@@ -2623,7 +2623,7 @@ const FieldsFloat = (_a) => {
|
|
|
2623
2623
|
]);
|
|
2624
2624
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
2625
2625
|
InputNumber,
|
|
2626
|
-
__spreadValues$
|
|
2626
|
+
__spreadValues$L(__spreadProps$C(__spreadValues$L({}, input), {
|
|
2627
2627
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
2628
2628
|
autoComplete,
|
|
2629
2629
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
@@ -2631,21 +2631,21 @@ const FieldsFloat = (_a) => {
|
|
|
2631
2631
|
));
|
|
2632
2632
|
};
|
|
2633
2633
|
|
|
2634
|
-
var __defProp$
|
|
2634
|
+
var __defProp$K = Object.defineProperty;
|
|
2635
2635
|
var __defProps$B = Object.defineProperties;
|
|
2636
2636
|
var __getOwnPropDescs$B = Object.getOwnPropertyDescriptors;
|
|
2637
|
-
var __getOwnPropSymbols$
|
|
2638
|
-
var __hasOwnProp$
|
|
2639
|
-
var __propIsEnum$
|
|
2640
|
-
var __defNormalProp$
|
|
2641
|
-
var __spreadValues$
|
|
2637
|
+
var __getOwnPropSymbols$L = Object.getOwnPropertySymbols;
|
|
2638
|
+
var __hasOwnProp$L = Object.prototype.hasOwnProperty;
|
|
2639
|
+
var __propIsEnum$L = Object.prototype.propertyIsEnumerable;
|
|
2640
|
+
var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2641
|
+
var __spreadValues$K = (a, b) => {
|
|
2642
2642
|
for (var prop in b || (b = {}))
|
|
2643
|
-
if (__hasOwnProp$
|
|
2644
|
-
__defNormalProp$
|
|
2645
|
-
if (__getOwnPropSymbols$
|
|
2646
|
-
for (var prop of __getOwnPropSymbols$
|
|
2647
|
-
if (__propIsEnum$
|
|
2648
|
-
__defNormalProp$
|
|
2643
|
+
if (__hasOwnProp$L.call(b, prop))
|
|
2644
|
+
__defNormalProp$K(a, prop, b[prop]);
|
|
2645
|
+
if (__getOwnPropSymbols$L)
|
|
2646
|
+
for (var prop of __getOwnPropSymbols$L(b)) {
|
|
2647
|
+
if (__propIsEnum$L.call(b, prop))
|
|
2648
|
+
__defNormalProp$K(a, prop, b[prop]);
|
|
2649
2649
|
}
|
|
2650
2650
|
return a;
|
|
2651
2651
|
};
|
|
@@ -2653,11 +2653,11 @@ var __spreadProps$B = (a, b) => __defProps$B(a, __getOwnPropDescs$B(b));
|
|
|
2653
2653
|
var __objRest$r = (source, exclude) => {
|
|
2654
2654
|
var target = {};
|
|
2655
2655
|
for (var prop in source)
|
|
2656
|
-
if (__hasOwnProp$
|
|
2656
|
+
if (__hasOwnProp$L.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2657
2657
|
target[prop] = source[prop];
|
|
2658
|
-
if (source != null && __getOwnPropSymbols$
|
|
2659
|
-
for (var prop of __getOwnPropSymbols$
|
|
2660
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2658
|
+
if (source != null && __getOwnPropSymbols$L)
|
|
2659
|
+
for (var prop of __getOwnPropSymbols$L(source)) {
|
|
2660
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$L.call(source, prop))
|
|
2661
2661
|
target[prop] = source[prop];
|
|
2662
2662
|
}
|
|
2663
2663
|
return target;
|
|
@@ -2679,7 +2679,7 @@ const Input = (_a) => {
|
|
|
2679
2679
|
}[size];
|
|
2680
2680
|
return /* @__PURE__ */ React__default.createElement(
|
|
2681
2681
|
Input$1,
|
|
2682
|
-
__spreadProps$B(__spreadValues$
|
|
2682
|
+
__spreadProps$B(__spreadValues$K({}, props), {
|
|
2683
2683
|
size,
|
|
2684
2684
|
"data-test": props.name,
|
|
2685
2685
|
className: cs(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -2687,21 +2687,21 @@ const Input = (_a) => {
|
|
|
2687
2687
|
);
|
|
2688
2688
|
};
|
|
2689
2689
|
|
|
2690
|
-
var __defProp$
|
|
2690
|
+
var __defProp$J = Object.defineProperty;
|
|
2691
2691
|
var __defProps$A = Object.defineProperties;
|
|
2692
2692
|
var __getOwnPropDescs$A = Object.getOwnPropertyDescriptors;
|
|
2693
|
-
var __getOwnPropSymbols$
|
|
2694
|
-
var __hasOwnProp$
|
|
2695
|
-
var __propIsEnum$
|
|
2696
|
-
var __defNormalProp$
|
|
2697
|
-
var __spreadValues$
|
|
2693
|
+
var __getOwnPropSymbols$K = Object.getOwnPropertySymbols;
|
|
2694
|
+
var __hasOwnProp$K = Object.prototype.hasOwnProperty;
|
|
2695
|
+
var __propIsEnum$K = Object.prototype.propertyIsEnumerable;
|
|
2696
|
+
var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2697
|
+
var __spreadValues$J = (a, b) => {
|
|
2698
2698
|
for (var prop in b || (b = {}))
|
|
2699
|
-
if (__hasOwnProp$
|
|
2700
|
-
__defNormalProp$
|
|
2701
|
-
if (__getOwnPropSymbols$
|
|
2702
|
-
for (var prop of __getOwnPropSymbols$
|
|
2703
|
-
if (__propIsEnum$
|
|
2704
|
-
__defNormalProp$
|
|
2699
|
+
if (__hasOwnProp$K.call(b, prop))
|
|
2700
|
+
__defNormalProp$J(a, prop, b[prop]);
|
|
2701
|
+
if (__getOwnPropSymbols$K)
|
|
2702
|
+
for (var prop of __getOwnPropSymbols$K(b)) {
|
|
2703
|
+
if (__propIsEnum$K.call(b, prop))
|
|
2704
|
+
__defNormalProp$J(a, prop, b[prop]);
|
|
2705
2705
|
}
|
|
2706
2706
|
return a;
|
|
2707
2707
|
};
|
|
@@ -2709,11 +2709,11 @@ var __spreadProps$A = (a, b) => __defProps$A(a, __getOwnPropDescs$A(b));
|
|
|
2709
2709
|
var __objRest$q = (source, exclude) => {
|
|
2710
2710
|
var target = {};
|
|
2711
2711
|
for (var prop in source)
|
|
2712
|
-
if (__hasOwnProp$
|
|
2712
|
+
if (__hasOwnProp$K.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2713
2713
|
target[prop] = source[prop];
|
|
2714
|
-
if (source != null && __getOwnPropSymbols$
|
|
2715
|
-
for (var prop of __getOwnPropSymbols$
|
|
2716
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2714
|
+
if (source != null && __getOwnPropSymbols$K)
|
|
2715
|
+
for (var prop of __getOwnPropSymbols$K(source)) {
|
|
2716
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$K.call(source, prop))
|
|
2717
2717
|
target[prop] = source[prop];
|
|
2718
2718
|
}
|
|
2719
2719
|
return target;
|
|
@@ -2734,7 +2734,7 @@ const FieldsInt = (_a) => {
|
|
|
2734
2734
|
]);
|
|
2735
2735
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
2736
2736
|
Input,
|
|
2737
|
-
__spreadValues$
|
|
2737
|
+
__spreadValues$J(__spreadProps$A(__spreadValues$J({}, input), {
|
|
2738
2738
|
onChange: (e) => {
|
|
2739
2739
|
const value = e.currentTarget.value;
|
|
2740
2740
|
if (supportNegativeValue) {
|
|
@@ -2769,31 +2769,31 @@ const formatterInteger = (value) => {
|
|
|
2769
2769
|
}
|
|
2770
2770
|
};
|
|
2771
2771
|
|
|
2772
|
-
var __defProp$
|
|
2772
|
+
var __defProp$I = Object.defineProperty;
|
|
2773
2773
|
var __defProps$z = Object.defineProperties;
|
|
2774
2774
|
var __getOwnPropDescs$z = Object.getOwnPropertyDescriptors;
|
|
2775
|
-
var __getOwnPropSymbols$
|
|
2776
|
-
var __hasOwnProp$
|
|
2777
|
-
var __propIsEnum$
|
|
2778
|
-
var __defNormalProp$
|
|
2775
|
+
var __getOwnPropSymbols$J = Object.getOwnPropertySymbols;
|
|
2776
|
+
var __hasOwnProp$J = Object.prototype.hasOwnProperty;
|
|
2777
|
+
var __propIsEnum$J = Object.prototype.propertyIsEnumerable;
|
|
2778
|
+
var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, {
|
|
2779
2779
|
enumerable: true,
|
|
2780
2780
|
configurable: true,
|
|
2781
2781
|
writable: true,
|
|
2782
2782
|
value
|
|
2783
2783
|
}) : obj[key] = value;
|
|
2784
|
-
var __spreadValues$
|
|
2785
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2786
|
-
if (__getOwnPropSymbols$
|
|
2787
|
-
if (__propIsEnum$
|
|
2784
|
+
var __spreadValues$I = (a, b) => {
|
|
2785
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$J.call(b, prop)) __defNormalProp$I(a, prop, b[prop]);
|
|
2786
|
+
if (__getOwnPropSymbols$J) for (var prop of __getOwnPropSymbols$J(b)) {
|
|
2787
|
+
if (__propIsEnum$J.call(b, prop)) __defNormalProp$I(a, prop, b[prop]);
|
|
2788
2788
|
}
|
|
2789
2789
|
return a;
|
|
2790
2790
|
};
|
|
2791
2791
|
var __spreadProps$z = (a, b) => __defProps$z(a, __getOwnPropDescs$z(b));
|
|
2792
2792
|
var __objRest$p = (source, exclude) => {
|
|
2793
2793
|
var target = {};
|
|
2794
|
-
for (var prop in source) if (__hasOwnProp$
|
|
2795
|
-
if (source != null && __getOwnPropSymbols$
|
|
2796
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2794
|
+
for (var prop in source) if (__hasOwnProp$J.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2795
|
+
if (source != null && __getOwnPropSymbols$J) for (var prop of __getOwnPropSymbols$J(source)) {
|
|
2796
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$J.call(source, prop)) target[prop] = source[prop];
|
|
2797
2797
|
}
|
|
2798
2798
|
return target;
|
|
2799
2799
|
};
|
|
@@ -2837,7 +2837,7 @@ const InputInteger = _a => {
|
|
|
2837
2837
|
middle: Typo.Label.l3_regular,
|
|
2838
2838
|
small: Typo.Label.l4_regular
|
|
2839
2839
|
}[size];
|
|
2840
|
-
return /* @__PURE__ */React__default.createElement(AntdIntStyled, __spreadProps$z(__spreadValues$
|
|
2840
|
+
return /* @__PURE__ */React__default.createElement(AntdIntStyled, __spreadProps$z(__spreadValues$I({}, props), {
|
|
2841
2841
|
size,
|
|
2842
2842
|
formatter: formatterInteger,
|
|
2843
2843
|
parser: formatterInteger,
|
|
@@ -2851,21 +2851,21 @@ const InputInteger = _a => {
|
|
|
2851
2851
|
}));
|
|
2852
2852
|
};
|
|
2853
2853
|
|
|
2854
|
-
var __defProp$
|
|
2854
|
+
var __defProp$H = Object.defineProperty;
|
|
2855
2855
|
var __defProps$y = Object.defineProperties;
|
|
2856
2856
|
var __getOwnPropDescs$y = Object.getOwnPropertyDescriptors;
|
|
2857
|
-
var __getOwnPropSymbols$
|
|
2858
|
-
var __hasOwnProp$
|
|
2859
|
-
var __propIsEnum$
|
|
2860
|
-
var __defNormalProp$
|
|
2861
|
-
var __spreadValues$
|
|
2857
|
+
var __getOwnPropSymbols$I = Object.getOwnPropertySymbols;
|
|
2858
|
+
var __hasOwnProp$I = Object.prototype.hasOwnProperty;
|
|
2859
|
+
var __propIsEnum$I = Object.prototype.propertyIsEnumerable;
|
|
2860
|
+
var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2861
|
+
var __spreadValues$H = (a, b) => {
|
|
2862
2862
|
for (var prop in b || (b = {}))
|
|
2863
|
-
if (__hasOwnProp$
|
|
2864
|
-
__defNormalProp$
|
|
2865
|
-
if (__getOwnPropSymbols$
|
|
2866
|
-
for (var prop of __getOwnPropSymbols$
|
|
2867
|
-
if (__propIsEnum$
|
|
2868
|
-
__defNormalProp$
|
|
2863
|
+
if (__hasOwnProp$I.call(b, prop))
|
|
2864
|
+
__defNormalProp$H(a, prop, b[prop]);
|
|
2865
|
+
if (__getOwnPropSymbols$I)
|
|
2866
|
+
for (var prop of __getOwnPropSymbols$I(b)) {
|
|
2867
|
+
if (__propIsEnum$I.call(b, prop))
|
|
2868
|
+
__defNormalProp$H(a, prop, b[prop]);
|
|
2869
2869
|
}
|
|
2870
2870
|
return a;
|
|
2871
2871
|
};
|
|
@@ -2873,11 +2873,11 @@ var __spreadProps$y = (a, b) => __defProps$y(a, __getOwnPropDescs$y(b));
|
|
|
2873
2873
|
var __objRest$o = (source, exclude) => {
|
|
2874
2874
|
var target = {};
|
|
2875
2875
|
for (var prop in source)
|
|
2876
|
-
if (__hasOwnProp$
|
|
2876
|
+
if (__hasOwnProp$I.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2877
2877
|
target[prop] = source[prop];
|
|
2878
|
-
if (source != null && __getOwnPropSymbols$
|
|
2879
|
-
for (var prop of __getOwnPropSymbols$
|
|
2880
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2878
|
+
if (source != null && __getOwnPropSymbols$I)
|
|
2879
|
+
for (var prop of __getOwnPropSymbols$I(source)) {
|
|
2880
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$I.call(source, prop))
|
|
2881
2881
|
target[prop] = source[prop];
|
|
2882
2882
|
}
|
|
2883
2883
|
return target;
|
|
@@ -2894,7 +2894,7 @@ const FieldsInteger = (_a) => {
|
|
|
2894
2894
|
]);
|
|
2895
2895
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
2896
2896
|
InputInteger,
|
|
2897
|
-
__spreadProps$y(__spreadValues$
|
|
2897
|
+
__spreadProps$y(__spreadValues$H(__spreadValues$H({}, props), input), {
|
|
2898
2898
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
2899
2899
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
2900
2900
|
})
|
|
@@ -3161,22 +3161,90 @@ const Overflow = props => {
|
|
|
3161
3161
|
ref: wrapperRef
|
|
3162
3162
|
}, children), showOverflow && /* @__PURE__ */React__default.createElement("span", null, overflow));
|
|
3163
3163
|
};
|
|
3164
|
+
const ExtraOverflow = props => {
|
|
3165
|
+
const {
|
|
3166
|
+
els,
|
|
3167
|
+
extraEl,
|
|
3168
|
+
className,
|
|
3169
|
+
deps = [],
|
|
3170
|
+
reverse
|
|
3171
|
+
} = props;
|
|
3172
|
+
const wrapperRef = useRef(null);
|
|
3173
|
+
const [isOverflow, setIsOverflow] = useState(false);
|
|
3174
|
+
const [sliceEnd, setSliceEnd] = useState(0);
|
|
3175
|
+
const [init, setInit] = useState(true);
|
|
3176
|
+
const handleOverflow = useCallback(() => {
|
|
3177
|
+
const els2 = Array.from(wrapperRef.current.children);
|
|
3178
|
+
if (els2.length < 2) {
|
|
3179
|
+
setInit(false);
|
|
3180
|
+
setIsOverflow(false);
|
|
3181
|
+
return;
|
|
3182
|
+
}
|
|
3183
|
+
const parentWidth = wrapperRef.current.offsetWidth;
|
|
3184
|
+
const extraEl2 = els2[els2.length - 1];
|
|
3185
|
+
const secondLastEl = els2[els2.length - 2];
|
|
3186
|
+
let childRange = 0;
|
|
3187
|
+
let endIndex = -1;
|
|
3188
|
+
if (reverse) {
|
|
3189
|
+
childRange = secondLastEl.offsetLeft + secondLastEl.offsetWidth - els2[0].offsetLeft;
|
|
3190
|
+
endIndex = Array.from(els2).findIndex(el => {
|
|
3191
|
+
const range = el.offsetWidth + el.offsetLeft - els2[0].offsetLeft;
|
|
3192
|
+
return range + extraEl2.offsetWidth > parentWidth;
|
|
3193
|
+
});
|
|
3194
|
+
} else {
|
|
3195
|
+
childRange = secondLastEl.offsetLeft + secondLastEl.offsetWidth;
|
|
3196
|
+
endIndex = Array.from(els2).findIndex(el => {
|
|
3197
|
+
const range = el.offsetWidth + el.offsetLeft;
|
|
3198
|
+
return range + extraEl2.offsetWidth > parentWidth;
|
|
3199
|
+
});
|
|
3200
|
+
}
|
|
3201
|
+
setInit(false);
|
|
3202
|
+
setIsOverflow(childRange > parentWidth);
|
|
3203
|
+
if (endIndex !== -1) {
|
|
3204
|
+
setSliceEnd(endIndex);
|
|
3205
|
+
}
|
|
3206
|
+
}, [reverse]);
|
|
3207
|
+
useLayoutEffect(() => {
|
|
3208
|
+
setInit(true);
|
|
3209
|
+
}, [els]);
|
|
3210
|
+
useLayoutEffect(() => {
|
|
3211
|
+
if (init) {
|
|
3212
|
+
handleOverflow();
|
|
3213
|
+
}
|
|
3214
|
+
}, [handleOverflow, init, ...deps]);
|
|
3215
|
+
if (init) {
|
|
3216
|
+
return /* @__PURE__ */React__default.createElement("span", {
|
|
3217
|
+
className,
|
|
3218
|
+
ref: wrapperRef
|
|
3219
|
+
}, els, /* @__PURE__ */React__default.createElement(React__default.Fragment, null, extraEl(sliceEnd)));
|
|
3220
|
+
}
|
|
3221
|
+
if (isOverflow) {
|
|
3222
|
+
return /* @__PURE__ */React__default.createElement("span", {
|
|
3223
|
+
className,
|
|
3224
|
+
ref: wrapperRef
|
|
3225
|
+
}, els.slice(0, sliceEnd), /* @__PURE__ */React__default.createElement(React__default.Fragment, null, extraEl(sliceEnd)));
|
|
3226
|
+
}
|
|
3227
|
+
return /* @__PURE__ */React__default.createElement("span", {
|
|
3228
|
+
className,
|
|
3229
|
+
ref: wrapperRef
|
|
3230
|
+
}, els);
|
|
3231
|
+
};
|
|
3164
3232
|
|
|
3165
|
-
var __defProp$
|
|
3233
|
+
var __defProp$G = Object.defineProperty;
|
|
3166
3234
|
var __defProps$x = Object.defineProperties;
|
|
3167
3235
|
var __getOwnPropDescs$x = Object.getOwnPropertyDescriptors;
|
|
3168
|
-
var __getOwnPropSymbols$
|
|
3169
|
-
var __hasOwnProp$
|
|
3170
|
-
var __propIsEnum$
|
|
3171
|
-
var __defNormalProp$
|
|
3172
|
-
var __spreadValues$
|
|
3236
|
+
var __getOwnPropSymbols$H = Object.getOwnPropertySymbols;
|
|
3237
|
+
var __hasOwnProp$H = Object.prototype.hasOwnProperty;
|
|
3238
|
+
var __propIsEnum$H = Object.prototype.propertyIsEnumerable;
|
|
3239
|
+
var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3240
|
+
var __spreadValues$G = (a, b) => {
|
|
3173
3241
|
for (var prop in b || (b = {}))
|
|
3174
|
-
if (__hasOwnProp$
|
|
3175
|
-
__defNormalProp$
|
|
3176
|
-
if (__getOwnPropSymbols$
|
|
3177
|
-
for (var prop of __getOwnPropSymbols$
|
|
3178
|
-
if (__propIsEnum$
|
|
3179
|
-
__defNormalProp$
|
|
3242
|
+
if (__hasOwnProp$H.call(b, prop))
|
|
3243
|
+
__defNormalProp$G(a, prop, b[prop]);
|
|
3244
|
+
if (__getOwnPropSymbols$H)
|
|
3245
|
+
for (var prop of __getOwnPropSymbols$H(b)) {
|
|
3246
|
+
if (__propIsEnum$H.call(b, prop))
|
|
3247
|
+
__defNormalProp$G(a, prop, b[prop]);
|
|
3180
3248
|
}
|
|
3181
3249
|
return a;
|
|
3182
3250
|
};
|
|
@@ -3184,11 +3252,11 @@ var __spreadProps$x = (a, b) => __defProps$x(a, __getOwnPropDescs$x(b));
|
|
|
3184
3252
|
var __objRest$n = (source, exclude) => {
|
|
3185
3253
|
var target = {};
|
|
3186
3254
|
for (var prop in source)
|
|
3187
|
-
if (__hasOwnProp$
|
|
3255
|
+
if (__hasOwnProp$H.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3188
3256
|
target[prop] = source[prop];
|
|
3189
|
-
if (source != null && __getOwnPropSymbols$
|
|
3190
|
-
for (var prop of __getOwnPropSymbols$
|
|
3191
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3257
|
+
if (source != null && __getOwnPropSymbols$H)
|
|
3258
|
+
for (var prop of __getOwnPropSymbols$H(source)) {
|
|
3259
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$H.call(source, prop))
|
|
3192
3260
|
target[prop] = source[prop];
|
|
3193
3261
|
}
|
|
3194
3262
|
return target;
|
|
@@ -3239,7 +3307,7 @@ const FieldsString = (_a) => {
|
|
|
3239
3307
|
}
|
|
3240
3308
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
3241
3309
|
Input,
|
|
3242
|
-
__spreadProps$x(__spreadValues$
|
|
3310
|
+
__spreadProps$x(__spreadValues$G(__spreadProps$x(__spreadValues$G({
|
|
3243
3311
|
className: cs(
|
|
3244
3312
|
className,
|
|
3245
3313
|
KitInputStyle,
|
|
@@ -3264,21 +3332,21 @@ const FieldsString = (_a) => {
|
|
|
3264
3332
|
));
|
|
3265
3333
|
};
|
|
3266
3334
|
|
|
3267
|
-
var __defProp$
|
|
3335
|
+
var __defProp$F = Object.defineProperty;
|
|
3268
3336
|
var __defProps$w = Object.defineProperties;
|
|
3269
3337
|
var __getOwnPropDescs$w = Object.getOwnPropertyDescriptors;
|
|
3270
|
-
var __getOwnPropSymbols$
|
|
3271
|
-
var __hasOwnProp$
|
|
3272
|
-
var __propIsEnum$
|
|
3273
|
-
var __defNormalProp$
|
|
3274
|
-
var __spreadValues$
|
|
3338
|
+
var __getOwnPropSymbols$G = Object.getOwnPropertySymbols;
|
|
3339
|
+
var __hasOwnProp$G = Object.prototype.hasOwnProperty;
|
|
3340
|
+
var __propIsEnum$G = Object.prototype.propertyIsEnumerable;
|
|
3341
|
+
var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3342
|
+
var __spreadValues$F = (a, b) => {
|
|
3275
3343
|
for (var prop in b || (b = {}))
|
|
3276
|
-
if (__hasOwnProp$
|
|
3277
|
-
__defNormalProp$
|
|
3278
|
-
if (__getOwnPropSymbols$
|
|
3279
|
-
for (var prop of __getOwnPropSymbols$
|
|
3280
|
-
if (__propIsEnum$
|
|
3281
|
-
__defNormalProp$
|
|
3344
|
+
if (__hasOwnProp$G.call(b, prop))
|
|
3345
|
+
__defNormalProp$F(a, prop, b[prop]);
|
|
3346
|
+
if (__getOwnPropSymbols$G)
|
|
3347
|
+
for (var prop of __getOwnPropSymbols$G(b)) {
|
|
3348
|
+
if (__propIsEnum$G.call(b, prop))
|
|
3349
|
+
__defNormalProp$F(a, prop, b[prop]);
|
|
3282
3350
|
}
|
|
3283
3351
|
return a;
|
|
3284
3352
|
};
|
|
@@ -3286,11 +3354,11 @@ var __spreadProps$w = (a, b) => __defProps$w(a, __getOwnPropDescs$w(b));
|
|
|
3286
3354
|
var __objRest$m = (source, exclude) => {
|
|
3287
3355
|
var target = {};
|
|
3288
3356
|
for (var prop in source)
|
|
3289
|
-
if (__hasOwnProp$
|
|
3357
|
+
if (__hasOwnProp$G.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3290
3358
|
target[prop] = source[prop];
|
|
3291
|
-
if (source != null && __getOwnPropSymbols$
|
|
3292
|
-
for (var prop of __getOwnPropSymbols$
|
|
3293
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3359
|
+
if (source != null && __getOwnPropSymbols$G)
|
|
3360
|
+
for (var prop of __getOwnPropSymbols$G(source)) {
|
|
3361
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$G.call(source, prop))
|
|
3294
3362
|
target[prop] = source[prop];
|
|
3295
3363
|
}
|
|
3296
3364
|
return target;
|
|
@@ -3312,7 +3380,7 @@ const TextArea = (_a) => {
|
|
|
3312
3380
|
}[size];
|
|
3313
3381
|
return /* @__PURE__ */ React__default.createElement(
|
|
3314
3382
|
Input$1.TextArea,
|
|
3315
|
-
__spreadProps$w(__spreadValues$
|
|
3383
|
+
__spreadProps$w(__spreadValues$F({}, props), {
|
|
3316
3384
|
className: cs(
|
|
3317
3385
|
className,
|
|
3318
3386
|
InputStyle,
|
|
@@ -3326,21 +3394,21 @@ const TextArea = (_a) => {
|
|
|
3326
3394
|
);
|
|
3327
3395
|
};
|
|
3328
3396
|
|
|
3329
|
-
var __defProp$
|
|
3397
|
+
var __defProp$E = Object.defineProperty;
|
|
3330
3398
|
var __defProps$v = Object.defineProperties;
|
|
3331
3399
|
var __getOwnPropDescs$v = Object.getOwnPropertyDescriptors;
|
|
3332
|
-
var __getOwnPropSymbols$
|
|
3333
|
-
var __hasOwnProp$
|
|
3334
|
-
var __propIsEnum$
|
|
3335
|
-
var __defNormalProp$
|
|
3336
|
-
var __spreadValues$
|
|
3400
|
+
var __getOwnPropSymbols$F = Object.getOwnPropertySymbols;
|
|
3401
|
+
var __hasOwnProp$F = Object.prototype.hasOwnProperty;
|
|
3402
|
+
var __propIsEnum$F = Object.prototype.propertyIsEnumerable;
|
|
3403
|
+
var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3404
|
+
var __spreadValues$E = (a, b) => {
|
|
3337
3405
|
for (var prop in b || (b = {}))
|
|
3338
|
-
if (__hasOwnProp$
|
|
3339
|
-
__defNormalProp$
|
|
3340
|
-
if (__getOwnPropSymbols$
|
|
3341
|
-
for (var prop of __getOwnPropSymbols$
|
|
3342
|
-
if (__propIsEnum$
|
|
3343
|
-
__defNormalProp$
|
|
3406
|
+
if (__hasOwnProp$F.call(b, prop))
|
|
3407
|
+
__defNormalProp$E(a, prop, b[prop]);
|
|
3408
|
+
if (__getOwnPropSymbols$F)
|
|
3409
|
+
for (var prop of __getOwnPropSymbols$F(b)) {
|
|
3410
|
+
if (__propIsEnum$F.call(b, prop))
|
|
3411
|
+
__defNormalProp$E(a, prop, b[prop]);
|
|
3344
3412
|
}
|
|
3345
3413
|
return a;
|
|
3346
3414
|
};
|
|
@@ -3348,11 +3416,11 @@ var __spreadProps$v = (a, b) => __defProps$v(a, __getOwnPropDescs$v(b));
|
|
|
3348
3416
|
var __objRest$l = (source, exclude) => {
|
|
3349
3417
|
var target = {};
|
|
3350
3418
|
for (var prop in source)
|
|
3351
|
-
if (__hasOwnProp$
|
|
3419
|
+
if (__hasOwnProp$F.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3352
3420
|
target[prop] = source[prop];
|
|
3353
|
-
if (source != null && __getOwnPropSymbols$
|
|
3354
|
-
for (var prop of __getOwnPropSymbols$
|
|
3355
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3421
|
+
if (source != null && __getOwnPropSymbols$F)
|
|
3422
|
+
for (var prop of __getOwnPropSymbols$F(source)) {
|
|
3423
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$F.call(source, prop))
|
|
3356
3424
|
target[prop] = source[prop];
|
|
3357
3425
|
}
|
|
3358
3426
|
return target;
|
|
@@ -3369,7 +3437,7 @@ const FieldsTextArea = (_a) => {
|
|
|
3369
3437
|
]);
|
|
3370
3438
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
3371
3439
|
TextArea,
|
|
3372
|
-
__spreadProps$v(__spreadValues$
|
|
3440
|
+
__spreadProps$v(__spreadValues$E(__spreadValues$E({}, input), props), {
|
|
3373
3441
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError),
|
|
3374
3442
|
onFocus: (e) => {
|
|
3375
3443
|
input.onFocus(e);
|
|
@@ -3383,21 +3451,21 @@ const FieldsTextArea = (_a) => {
|
|
|
3383
3451
|
));
|
|
3384
3452
|
};
|
|
3385
3453
|
|
|
3386
|
-
var __defProp$
|
|
3454
|
+
var __defProp$D = Object.defineProperty;
|
|
3387
3455
|
var __defProps$u = Object.defineProperties;
|
|
3388
3456
|
var __getOwnPropDescs$u = Object.getOwnPropertyDescriptors;
|
|
3389
|
-
var __getOwnPropSymbols$
|
|
3390
|
-
var __hasOwnProp$
|
|
3391
|
-
var __propIsEnum$
|
|
3392
|
-
var __defNormalProp$
|
|
3393
|
-
var __spreadValues$
|
|
3457
|
+
var __getOwnPropSymbols$E = Object.getOwnPropertySymbols;
|
|
3458
|
+
var __hasOwnProp$E = Object.prototype.hasOwnProperty;
|
|
3459
|
+
var __propIsEnum$E = Object.prototype.propertyIsEnumerable;
|
|
3460
|
+
var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3461
|
+
var __spreadValues$D = (a, b) => {
|
|
3394
3462
|
for (var prop in b || (b = {}))
|
|
3395
|
-
if (__hasOwnProp$
|
|
3396
|
-
__defNormalProp$
|
|
3397
|
-
if (__getOwnPropSymbols$
|
|
3398
|
-
for (var prop of __getOwnPropSymbols$
|
|
3399
|
-
if (__propIsEnum$
|
|
3400
|
-
__defNormalProp$
|
|
3463
|
+
if (__hasOwnProp$E.call(b, prop))
|
|
3464
|
+
__defNormalProp$D(a, prop, b[prop]);
|
|
3465
|
+
if (__getOwnPropSymbols$E)
|
|
3466
|
+
for (var prop of __getOwnPropSymbols$E(b)) {
|
|
3467
|
+
if (__propIsEnum$E.call(b, prop))
|
|
3468
|
+
__defNormalProp$D(a, prop, b[prop]);
|
|
3401
3469
|
}
|
|
3402
3470
|
return a;
|
|
3403
3471
|
};
|
|
@@ -3405,11 +3473,11 @@ var __spreadProps$u = (a, b) => __defProps$u(a, __getOwnPropDescs$u(b));
|
|
|
3405
3473
|
var __objRest$k = (source, exclude) => {
|
|
3406
3474
|
var target = {};
|
|
3407
3475
|
for (var prop in source)
|
|
3408
|
-
if (__hasOwnProp$
|
|
3476
|
+
if (__hasOwnProp$E.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3409
3477
|
target[prop] = source[prop];
|
|
3410
|
-
if (source != null && __getOwnPropSymbols$
|
|
3411
|
-
for (var prop of __getOwnPropSymbols$
|
|
3412
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3478
|
+
if (source != null && __getOwnPropSymbols$E)
|
|
3479
|
+
for (var prop of __getOwnPropSymbols$E(source)) {
|
|
3480
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$E.call(source, prop))
|
|
3413
3481
|
target[prop] = source[prop];
|
|
3414
3482
|
}
|
|
3415
3483
|
return target;
|
|
@@ -3431,7 +3499,7 @@ const TimePicker = (_a) => {
|
|
|
3431
3499
|
}[size];
|
|
3432
3500
|
return /* @__PURE__ */ React__default.createElement(
|
|
3433
3501
|
TimePicker$1,
|
|
3434
|
-
__spreadProps$u(__spreadValues$
|
|
3502
|
+
__spreadProps$u(__spreadValues$D({}, props), {
|
|
3435
3503
|
size,
|
|
3436
3504
|
"data-test": props.name,
|
|
3437
3505
|
className: cs(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -3439,21 +3507,21 @@ const TimePicker = (_a) => {
|
|
|
3439
3507
|
);
|
|
3440
3508
|
};
|
|
3441
3509
|
|
|
3442
|
-
var __defProp$
|
|
3510
|
+
var __defProp$C = Object.defineProperty;
|
|
3443
3511
|
var __defProps$t = Object.defineProperties;
|
|
3444
3512
|
var __getOwnPropDescs$t = Object.getOwnPropertyDescriptors;
|
|
3445
|
-
var __getOwnPropSymbols$
|
|
3446
|
-
var __hasOwnProp$
|
|
3447
|
-
var __propIsEnum$
|
|
3448
|
-
var __defNormalProp$
|
|
3449
|
-
var __spreadValues$
|
|
3513
|
+
var __getOwnPropSymbols$D = Object.getOwnPropertySymbols;
|
|
3514
|
+
var __hasOwnProp$D = Object.prototype.hasOwnProperty;
|
|
3515
|
+
var __propIsEnum$D = Object.prototype.propertyIsEnumerable;
|
|
3516
|
+
var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3517
|
+
var __spreadValues$C = (a, b) => {
|
|
3450
3518
|
for (var prop in b || (b = {}))
|
|
3451
|
-
if (__hasOwnProp$
|
|
3452
|
-
__defNormalProp$
|
|
3453
|
-
if (__getOwnPropSymbols$
|
|
3454
|
-
for (var prop of __getOwnPropSymbols$
|
|
3455
|
-
if (__propIsEnum$
|
|
3456
|
-
__defNormalProp$
|
|
3519
|
+
if (__hasOwnProp$D.call(b, prop))
|
|
3520
|
+
__defNormalProp$C(a, prop, b[prop]);
|
|
3521
|
+
if (__getOwnPropSymbols$D)
|
|
3522
|
+
for (var prop of __getOwnPropSymbols$D(b)) {
|
|
3523
|
+
if (__propIsEnum$D.call(b, prop))
|
|
3524
|
+
__defNormalProp$C(a, prop, b[prop]);
|
|
3457
3525
|
}
|
|
3458
3526
|
return a;
|
|
3459
3527
|
};
|
|
@@ -3461,11 +3529,11 @@ var __spreadProps$t = (a, b) => __defProps$t(a, __getOwnPropDescs$t(b));
|
|
|
3461
3529
|
var __objRest$j = (source, exclude) => {
|
|
3462
3530
|
var target = {};
|
|
3463
3531
|
for (var prop in source)
|
|
3464
|
-
if (__hasOwnProp$
|
|
3532
|
+
if (__hasOwnProp$D.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3465
3533
|
target[prop] = source[prop];
|
|
3466
|
-
if (source != null && __getOwnPropSymbols$
|
|
3467
|
-
for (var prop of __getOwnPropSymbols$
|
|
3468
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3534
|
+
if (source != null && __getOwnPropSymbols$D)
|
|
3535
|
+
for (var prop of __getOwnPropSymbols$D(source)) {
|
|
3536
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$D.call(source, prop))
|
|
3469
3537
|
target[prop] = source[prop];
|
|
3470
3538
|
}
|
|
3471
3539
|
return target;
|
|
@@ -3480,7 +3548,7 @@ const FieldsTimePicker = (_a) => {
|
|
|
3480
3548
|
]);
|
|
3481
3549
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
3482
3550
|
TimePicker,
|
|
3483
|
-
__spreadValues$
|
|
3551
|
+
__spreadValues$C(__spreadProps$t(__spreadValues$C({}, input), {
|
|
3484
3552
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
3485
3553
|
}), props)
|
|
3486
3554
|
));
|
|
@@ -3499,31 +3567,31 @@ const fields = {
|
|
|
3499
3567
|
DateTimeRange: FieldsDateTimeRange
|
|
3500
3568
|
};
|
|
3501
3569
|
|
|
3502
|
-
var __defProp$
|
|
3570
|
+
var __defProp$B = Object.defineProperty;
|
|
3503
3571
|
var __defProps$s = Object.defineProperties;
|
|
3504
3572
|
var __getOwnPropDescs$s = Object.getOwnPropertyDescriptors;
|
|
3505
|
-
var __getOwnPropSymbols$
|
|
3506
|
-
var __hasOwnProp$
|
|
3507
|
-
var __propIsEnum$
|
|
3508
|
-
var __defNormalProp$
|
|
3573
|
+
var __getOwnPropSymbols$C = Object.getOwnPropertySymbols;
|
|
3574
|
+
var __hasOwnProp$C = Object.prototype.hasOwnProperty;
|
|
3575
|
+
var __propIsEnum$C = Object.prototype.propertyIsEnumerable;
|
|
3576
|
+
var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, {
|
|
3509
3577
|
enumerable: true,
|
|
3510
3578
|
configurable: true,
|
|
3511
3579
|
writable: true,
|
|
3512
3580
|
value
|
|
3513
3581
|
}) : obj[key] = value;
|
|
3514
|
-
var __spreadValues$
|
|
3515
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3516
|
-
if (__getOwnPropSymbols$
|
|
3517
|
-
if (__propIsEnum$
|
|
3582
|
+
var __spreadValues$B = (a, b) => {
|
|
3583
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$C.call(b, prop)) __defNormalProp$B(a, prop, b[prop]);
|
|
3584
|
+
if (__getOwnPropSymbols$C) for (var prop of __getOwnPropSymbols$C(b)) {
|
|
3585
|
+
if (__propIsEnum$C.call(b, prop)) __defNormalProp$B(a, prop, b[prop]);
|
|
3518
3586
|
}
|
|
3519
3587
|
return a;
|
|
3520
3588
|
};
|
|
3521
3589
|
var __spreadProps$s = (a, b) => __defProps$s(a, __getOwnPropDescs$s(b));
|
|
3522
3590
|
var __objRest$i = (source, exclude) => {
|
|
3523
3591
|
var target = {};
|
|
3524
|
-
for (var prop in source) if (__hasOwnProp$
|
|
3525
|
-
if (source != null && __getOwnPropSymbols$
|
|
3526
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3592
|
+
for (var prop in source) if (__hasOwnProp$C.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
3593
|
+
if (source != null && __getOwnPropSymbols$C) for (var prop of __getOwnPropSymbols$C(source)) {
|
|
3594
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$C.call(source, prop)) target[prop] = source[prop];
|
|
3527
3595
|
}
|
|
3528
3596
|
return target;
|
|
3529
3597
|
};
|
|
@@ -3543,7 +3611,7 @@ const Switch = _a => {
|
|
|
3543
3611
|
});
|
|
3544
3612
|
const classNames = [className, SwitchStyle, "switch"];
|
|
3545
3613
|
if (props.size === "large") classNames.push("ant-switch-large");
|
|
3546
|
-
return /* @__PURE__ */React__default.createElement(React__default.Fragment, null, /* @__PURE__ */React__default.createElement(Switch$1, __spreadProps$s(__spreadValues$
|
|
3614
|
+
return /* @__PURE__ */React__default.createElement(React__default.Fragment, null, /* @__PURE__ */React__default.createElement(Switch$1, __spreadProps$s(__spreadValues$B({
|
|
3547
3615
|
className: cx(...classNames),
|
|
3548
3616
|
checked: checked || false
|
|
3549
3617
|
}, props), {
|
|
@@ -3551,22 +3619,22 @@ const Switch = _a => {
|
|
|
3551
3619
|
})), children ? /* @__PURE__ */React__default.createElement(Content, null, children) : null);
|
|
3552
3620
|
};
|
|
3553
3621
|
|
|
3554
|
-
var __defProp$
|
|
3622
|
+
var __defProp$A = Object.defineProperty;
|
|
3555
3623
|
var __defProps$r = Object.defineProperties;
|
|
3556
3624
|
var __getOwnPropDescs$r = Object.getOwnPropertyDescriptors;
|
|
3557
|
-
var __getOwnPropSymbols$
|
|
3558
|
-
var __hasOwnProp$
|
|
3559
|
-
var __propIsEnum$
|
|
3560
|
-
var __defNormalProp$
|
|
3625
|
+
var __getOwnPropSymbols$B = Object.getOwnPropertySymbols;
|
|
3626
|
+
var __hasOwnProp$B = Object.prototype.hasOwnProperty;
|
|
3627
|
+
var __propIsEnum$B = Object.prototype.propertyIsEnumerable;
|
|
3628
|
+
var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, {
|
|
3561
3629
|
enumerable: true,
|
|
3562
3630
|
configurable: true,
|
|
3563
3631
|
writable: true,
|
|
3564
3632
|
value
|
|
3565
3633
|
}) : obj[key] = value;
|
|
3566
|
-
var __spreadValues$
|
|
3567
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3568
|
-
if (__getOwnPropSymbols$
|
|
3569
|
-
if (__propIsEnum$
|
|
3634
|
+
var __spreadValues$A = (a, b) => {
|
|
3635
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$B.call(b, prop)) __defNormalProp$A(a, prop, b[prop]);
|
|
3636
|
+
if (__getOwnPropSymbols$B) for (var prop of __getOwnPropSymbols$B(b)) {
|
|
3637
|
+
if (__propIsEnum$B.call(b, prop)) __defNormalProp$A(a, prop, b[prop]);
|
|
3570
3638
|
}
|
|
3571
3639
|
return a;
|
|
3572
3640
|
};
|
|
@@ -3665,7 +3733,7 @@ const Daily = ({
|
|
|
3665
3733
|
input: {
|
|
3666
3734
|
value: daily.step,
|
|
3667
3735
|
onChange: value => {
|
|
3668
|
-
setDaily(__spreadProps$r(__spreadValues$
|
|
3736
|
+
setDaily(__spreadProps$r(__spreadValues$A({}, daily), {
|
|
3669
3737
|
step: value
|
|
3670
3738
|
}));
|
|
3671
3739
|
},
|
|
@@ -3679,7 +3747,7 @@ const Daily = ({
|
|
|
3679
3747
|
value: daily.time,
|
|
3680
3748
|
onChange: value => {
|
|
3681
3749
|
if (value) {
|
|
3682
|
-
setDaily(__spreadProps$r(__spreadValues$
|
|
3750
|
+
setDaily(__spreadProps$r(__spreadValues$A({}, daily), {
|
|
3683
3751
|
time: value
|
|
3684
3752
|
}));
|
|
3685
3753
|
}
|
|
@@ -3734,7 +3802,7 @@ const Weekly = ({
|
|
|
3734
3802
|
input: {
|
|
3735
3803
|
value: weekly.step,
|
|
3736
3804
|
onChange: value => {
|
|
3737
|
-
setWeekly(__spreadProps$r(__spreadValues$
|
|
3805
|
+
setWeekly(__spreadProps$r(__spreadValues$A({}, weekly), {
|
|
3738
3806
|
step: value
|
|
3739
3807
|
}));
|
|
3740
3808
|
},
|
|
@@ -3751,7 +3819,7 @@ const Weekly = ({
|
|
|
3751
3819
|
className: cx$1("week-day-option", active && "active", i18n.language === ParrotLngs.en && "en-text"),
|
|
3752
3820
|
type: "default",
|
|
3753
3821
|
key: d.value,
|
|
3754
|
-
onClick: () => setWeekly(__spreadProps$r(__spreadValues$
|
|
3822
|
+
onClick: () => setWeekly(__spreadProps$r(__spreadValues$A({}, weekly), {
|
|
3755
3823
|
days: active ? weekly.days.filter(day => day !== d.value) : weekly.days.concat(d.value).sort((a, b) => a - b)
|
|
3756
3824
|
}))
|
|
3757
3825
|
}, d.text);
|
|
@@ -3763,7 +3831,7 @@ const Weekly = ({
|
|
|
3763
3831
|
value: weekly.time,
|
|
3764
3832
|
onChange: value => {
|
|
3765
3833
|
if (value) {
|
|
3766
|
-
setWeekly(__spreadProps$r(__spreadValues$
|
|
3834
|
+
setWeekly(__spreadProps$r(__spreadValues$A({}, weekly), {
|
|
3767
3835
|
time: value
|
|
3768
3836
|
}));
|
|
3769
3837
|
}
|
|
@@ -3790,7 +3858,7 @@ const Monthly = ({
|
|
|
3790
3858
|
input: {
|
|
3791
3859
|
value: monthly.step,
|
|
3792
3860
|
onChange: value => {
|
|
3793
|
-
setMonthly(__spreadProps$r(__spreadValues$
|
|
3861
|
+
setMonthly(__spreadProps$r(__spreadValues$A({}, monthly), {
|
|
3794
3862
|
step: value
|
|
3795
3863
|
}));
|
|
3796
3864
|
},
|
|
@@ -3807,7 +3875,7 @@ const Monthly = ({
|
|
|
3807
3875
|
className: cx$1("month-day-option", active && "active"),
|
|
3808
3876
|
type: "default",
|
|
3809
3877
|
key: d,
|
|
3810
|
-
onClick: () => setMonthly(__spreadProps$r(__spreadValues$
|
|
3878
|
+
onClick: () => setMonthly(__spreadProps$r(__spreadValues$A({}, monthly), {
|
|
3811
3879
|
days: active ? monthly.days.filter(day => day !== d) : monthly.days.concat(d).sort((a, b) => a - b)
|
|
3812
3880
|
}))
|
|
3813
3881
|
}, d);
|
|
@@ -3823,7 +3891,7 @@ const Monthly = ({
|
|
|
3823
3891
|
value: monthly.time,
|
|
3824
3892
|
onChange: value => {
|
|
3825
3893
|
if (value) {
|
|
3826
|
-
setMonthly(__spreadProps$r(__spreadValues$
|
|
3894
|
+
setMonthly(__spreadProps$r(__spreadValues$A({}, monthly), {
|
|
3827
3895
|
time: value
|
|
3828
3896
|
}));
|
|
3829
3897
|
}
|
|
@@ -3847,7 +3915,7 @@ const CronPlan = props => {
|
|
|
3847
3915
|
}, [value]);
|
|
3848
3916
|
const sendAtDate = useMemo(() => cronTime.sendAt(), [cronTime]);
|
|
3849
3917
|
const changeValue = newValue => {
|
|
3850
|
-
onChange(__spreadValues$
|
|
3918
|
+
onChange(__spreadValues$A(__spreadValues$A({}, value), newValue));
|
|
3851
3919
|
};
|
|
3852
3920
|
const [mode, setMode] = useState(getMode(cronTime["source"]));
|
|
3853
3921
|
const source = cronTime["source"];
|
|
@@ -3855,19 +3923,19 @@ const CronPlan = props => {
|
|
|
3855
3923
|
const time = getTime(cronTime);
|
|
3856
3924
|
const [daily, setDaily] = useState(() => {
|
|
3857
3925
|
const rawDaily = getDaily(mode, source, time);
|
|
3858
|
-
return __spreadProps$r(__spreadValues$
|
|
3926
|
+
return __spreadProps$r(__spreadValues$A({}, rawDaily), {
|
|
3859
3927
|
time: moment(rawDaily.time.format())
|
|
3860
3928
|
});
|
|
3861
3929
|
});
|
|
3862
3930
|
const [weekly, setWeekly] = useState(() => {
|
|
3863
3931
|
const rawWeekly = getWeekly(mode, source, time);
|
|
3864
|
-
return __spreadProps$r(__spreadValues$
|
|
3932
|
+
return __spreadProps$r(__spreadValues$A({}, rawWeekly), {
|
|
3865
3933
|
time: moment(rawWeekly.time.format())
|
|
3866
3934
|
});
|
|
3867
3935
|
});
|
|
3868
3936
|
const [monthly, setMonthly] = useState(() => {
|
|
3869
3937
|
const rawMonthly = getMonthly(mode, month, day, time);
|
|
3870
|
-
return __spreadProps$r(__spreadValues$
|
|
3938
|
+
return __spreadProps$r(__spreadValues$A({}, rawMonthly), {
|
|
3871
3939
|
time: moment(rawMonthly.time.format())
|
|
3872
3940
|
});
|
|
3873
3941
|
});
|
|
@@ -4055,19 +4123,19 @@ const SidebarSubtitle = (props) => {
|
|
|
4055
4123
|
return /* @__PURE__ */ React__default.createElement("span", { className: cx$1(Typo.Heading.h3_regular_upper, className) }, title);
|
|
4056
4124
|
};
|
|
4057
4125
|
|
|
4058
|
-
var __defProp$
|
|
4059
|
-
var __getOwnPropSymbols$
|
|
4060
|
-
var __hasOwnProp$
|
|
4061
|
-
var __propIsEnum$
|
|
4062
|
-
var __defNormalProp$
|
|
4063
|
-
var __spreadValues$
|
|
4126
|
+
var __defProp$z = Object.defineProperty;
|
|
4127
|
+
var __getOwnPropSymbols$A = Object.getOwnPropertySymbols;
|
|
4128
|
+
var __hasOwnProp$A = Object.prototype.hasOwnProperty;
|
|
4129
|
+
var __propIsEnum$A = Object.prototype.propertyIsEnumerable;
|
|
4130
|
+
var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4131
|
+
var __spreadValues$z = (a, b) => {
|
|
4064
4132
|
for (var prop in b || (b = {}))
|
|
4065
|
-
if (__hasOwnProp$
|
|
4066
|
-
__defNormalProp$
|
|
4067
|
-
if (__getOwnPropSymbols$
|
|
4068
|
-
for (var prop of __getOwnPropSymbols$
|
|
4069
|
-
if (__propIsEnum$
|
|
4070
|
-
__defNormalProp$
|
|
4133
|
+
if (__hasOwnProp$A.call(b, prop))
|
|
4134
|
+
__defNormalProp$z(a, prop, b[prop]);
|
|
4135
|
+
if (__getOwnPropSymbols$A)
|
|
4136
|
+
for (var prop of __getOwnPropSymbols$A(b)) {
|
|
4137
|
+
if (__propIsEnum$A.call(b, prop))
|
|
4138
|
+
__defNormalProp$z(a, prop, b[prop]);
|
|
4071
4139
|
}
|
|
4072
4140
|
return a;
|
|
4073
4141
|
};
|
|
@@ -4077,7 +4145,7 @@ const SortableList = ({ moveItem, children }) => {
|
|
|
4077
4145
|
return;
|
|
4078
4146
|
moveItem(result.source.index, result.destination.index);
|
|
4079
4147
|
};
|
|
4080
|
-
return /* @__PURE__ */ React__default.createElement(DragDropContext, { onDragEnd }, /* @__PURE__ */ React__default.createElement(Droppable, { droppableId: "droppable" }, (provided) => /* @__PURE__ */ React__default.createElement("div", __spreadValues$
|
|
4148
|
+
return /* @__PURE__ */ React__default.createElement(DragDropContext, { onDragEnd }, /* @__PURE__ */ React__default.createElement(Droppable, { droppableId: "droppable" }, (provided) => /* @__PURE__ */ React__default.createElement("div", __spreadValues$z({ ref: provided.innerRef }, provided.droppableProps), children, provided.placeholder)));
|
|
4081
4149
|
};
|
|
4082
4150
|
SortableList.Item = Draggable;
|
|
4083
4151
|
|
|
@@ -4138,7 +4206,6 @@ const SummaryTableContent = props => {
|
|
|
4138
4206
|
dataSource
|
|
4139
4207
|
} = props;
|
|
4140
4208
|
return /* @__PURE__ */React__default.createElement(React__default.Fragment, null, items.map(item => {
|
|
4141
|
-
console.log("item", item);
|
|
4142
4209
|
if (item.dataIndex === "[__typename]") {
|
|
4143
4210
|
return null;
|
|
4144
4211
|
}
|
|
@@ -4181,28 +4248,28 @@ const SummaryTable = props => {
|
|
|
4181
4248
|
})));
|
|
4182
4249
|
};
|
|
4183
4250
|
|
|
4184
|
-
var __defProp$
|
|
4185
|
-
var __getOwnPropSymbols$
|
|
4186
|
-
var __hasOwnProp$
|
|
4187
|
-
var __propIsEnum$
|
|
4188
|
-
var __defNormalProp$
|
|
4251
|
+
var __defProp$y = Object.defineProperty;
|
|
4252
|
+
var __getOwnPropSymbols$z = Object.getOwnPropertySymbols;
|
|
4253
|
+
var __hasOwnProp$z = Object.prototype.hasOwnProperty;
|
|
4254
|
+
var __propIsEnum$z = Object.prototype.propertyIsEnumerable;
|
|
4255
|
+
var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, {
|
|
4189
4256
|
enumerable: true,
|
|
4190
4257
|
configurable: true,
|
|
4191
4258
|
writable: true,
|
|
4192
4259
|
value
|
|
4193
4260
|
}) : obj[key] = value;
|
|
4194
|
-
var __spreadValues$
|
|
4195
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4196
|
-
if (__getOwnPropSymbols$
|
|
4197
|
-
if (__propIsEnum$
|
|
4261
|
+
var __spreadValues$y = (a, b) => {
|
|
4262
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$z.call(b, prop)) __defNormalProp$y(a, prop, b[prop]);
|
|
4263
|
+
if (__getOwnPropSymbols$z) for (var prop of __getOwnPropSymbols$z(b)) {
|
|
4264
|
+
if (__propIsEnum$z.call(b, prop)) __defNormalProp$y(a, prop, b[prop]);
|
|
4198
4265
|
}
|
|
4199
4266
|
return a;
|
|
4200
4267
|
};
|
|
4201
4268
|
var __objRest$h = (source, exclude) => {
|
|
4202
4269
|
var target = {};
|
|
4203
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4204
|
-
if (source != null && __getOwnPropSymbols$
|
|
4205
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4270
|
+
for (var prop in source) if (__hasOwnProp$z.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4271
|
+
if (source != null && __getOwnPropSymbols$z) for (var prop of __getOwnPropSymbols$z(source)) {
|
|
4272
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$z.call(source, prop)) target[prop] = source[prop];
|
|
4206
4273
|
}
|
|
4207
4274
|
return target;
|
|
4208
4275
|
};
|
|
@@ -4228,34 +4295,34 @@ const SwitchWithText = props => {
|
|
|
4228
4295
|
onClick: e => e.stopPropagation()
|
|
4229
4296
|
}, /* @__PURE__ */React__default.createElement("span", {
|
|
4230
4297
|
className: "enabled-text"
|
|
4231
|
-
}, _props.checked ? text.checked : text.unchecked), /* @__PURE__ */React__default.createElement(Switch, __spreadValues$
|
|
4298
|
+
}, _props.checked ? text.checked : text.unchecked), /* @__PURE__ */React__default.createElement(Switch, __spreadValues$y({}, _props)));
|
|
4232
4299
|
};
|
|
4233
4300
|
|
|
4234
|
-
var __defProp$
|
|
4301
|
+
var __defProp$x = Object.defineProperty;
|
|
4235
4302
|
var __defProps$q = Object.defineProperties;
|
|
4236
4303
|
var __getOwnPropDescs$q = Object.getOwnPropertyDescriptors;
|
|
4237
|
-
var __getOwnPropSymbols$
|
|
4238
|
-
var __hasOwnProp$
|
|
4239
|
-
var __propIsEnum$
|
|
4240
|
-
var __defNormalProp$
|
|
4304
|
+
var __getOwnPropSymbols$y = Object.getOwnPropertySymbols;
|
|
4305
|
+
var __hasOwnProp$y = Object.prototype.hasOwnProperty;
|
|
4306
|
+
var __propIsEnum$y = Object.prototype.propertyIsEnumerable;
|
|
4307
|
+
var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, {
|
|
4241
4308
|
enumerable: true,
|
|
4242
4309
|
configurable: true,
|
|
4243
4310
|
writable: true,
|
|
4244
4311
|
value
|
|
4245
4312
|
}) : obj[key] = value;
|
|
4246
|
-
var __spreadValues$
|
|
4247
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4248
|
-
if (__getOwnPropSymbols$
|
|
4249
|
-
if (__propIsEnum$
|
|
4313
|
+
var __spreadValues$x = (a, b) => {
|
|
4314
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$y.call(b, prop)) __defNormalProp$x(a, prop, b[prop]);
|
|
4315
|
+
if (__getOwnPropSymbols$y) for (var prop of __getOwnPropSymbols$y(b)) {
|
|
4316
|
+
if (__propIsEnum$y.call(b, prop)) __defNormalProp$x(a, prop, b[prop]);
|
|
4250
4317
|
}
|
|
4251
4318
|
return a;
|
|
4252
4319
|
};
|
|
4253
4320
|
var __spreadProps$q = (a, b) => __defProps$q(a, __getOwnPropDescs$q(b));
|
|
4254
4321
|
var __objRest$g = (source, exclude) => {
|
|
4255
4322
|
var target = {};
|
|
4256
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4257
|
-
if (source != null && __getOwnPropSymbols$
|
|
4258
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4323
|
+
for (var prop in source) if (__hasOwnProp$y.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4324
|
+
if (source != null && __getOwnPropSymbols$y) for (var prop of __getOwnPropSymbols$y(source)) {
|
|
4325
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$y.call(source, prop)) target[prop] = source[prop];
|
|
4259
4326
|
}
|
|
4260
4327
|
return target;
|
|
4261
4328
|
};
|
|
@@ -4286,37 +4353,37 @@ const TruncatedTextWithTooltip = props => {
|
|
|
4286
4353
|
ref: textWrapper,
|
|
4287
4354
|
className: textWrapperCls
|
|
4288
4355
|
}, text);
|
|
4289
|
-
return isTextTruncated ? /* @__PURE__ */React__default.createElement(Tooltip, __spreadProps$q(__spreadValues$
|
|
4356
|
+
return isTextTruncated ? /* @__PURE__ */React__default.createElement(Tooltip, __spreadProps$q(__spreadValues$x({}, restProps), {
|
|
4290
4357
|
title: text,
|
|
4291
4358
|
"data-testid": "text-tooltip"
|
|
4292
4359
|
}), /* @__PURE__ */React__default.createElement(TruncatedTextWrapper, null, renderName())) : renderName();
|
|
4293
4360
|
};
|
|
4294
4361
|
|
|
4295
|
-
var __defProp$
|
|
4362
|
+
var __defProp$w = Object.defineProperty;
|
|
4296
4363
|
var __defProps$p = Object.defineProperties;
|
|
4297
4364
|
var __getOwnPropDescs$p = Object.getOwnPropertyDescriptors;
|
|
4298
|
-
var __getOwnPropSymbols$
|
|
4299
|
-
var __hasOwnProp$
|
|
4300
|
-
var __propIsEnum$
|
|
4301
|
-
var __defNormalProp$
|
|
4365
|
+
var __getOwnPropSymbols$x = Object.getOwnPropertySymbols;
|
|
4366
|
+
var __hasOwnProp$x = Object.prototype.hasOwnProperty;
|
|
4367
|
+
var __propIsEnum$x = Object.prototype.propertyIsEnumerable;
|
|
4368
|
+
var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, {
|
|
4302
4369
|
enumerable: true,
|
|
4303
4370
|
configurable: true,
|
|
4304
4371
|
writable: true,
|
|
4305
4372
|
value
|
|
4306
4373
|
}) : obj[key] = value;
|
|
4307
|
-
var __spreadValues$
|
|
4308
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4309
|
-
if (__getOwnPropSymbols$
|
|
4310
|
-
if (__propIsEnum$
|
|
4374
|
+
var __spreadValues$w = (a, b) => {
|
|
4375
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$x.call(b, prop)) __defNormalProp$w(a, prop, b[prop]);
|
|
4376
|
+
if (__getOwnPropSymbols$x) for (var prop of __getOwnPropSymbols$x(b)) {
|
|
4377
|
+
if (__propIsEnum$x.call(b, prop)) __defNormalProp$w(a, prop, b[prop]);
|
|
4311
4378
|
}
|
|
4312
4379
|
return a;
|
|
4313
4380
|
};
|
|
4314
4381
|
var __spreadProps$p = (a, b) => __defProps$p(a, __getOwnPropDescs$p(b));
|
|
4315
4382
|
var __objRest$f = (source, exclude) => {
|
|
4316
4383
|
var target = {};
|
|
4317
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4318
|
-
if (source != null && __getOwnPropSymbols$
|
|
4319
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4384
|
+
for (var prop in source) if (__hasOwnProp$x.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4385
|
+
if (source != null && __getOwnPropSymbols$x) for (var prop of __getOwnPropSymbols$x(source)) {
|
|
4386
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$x.call(source, prop)) target[prop] = source[prop];
|
|
4320
4387
|
}
|
|
4321
4388
|
return target;
|
|
4322
4389
|
};
|
|
@@ -4340,7 +4407,7 @@ const Alert = _a => {
|
|
|
4340
4407
|
src: getAlertIcon(type)
|
|
4341
4408
|
});
|
|
4342
4409
|
const _type = type === "normal" ? "info" : type;
|
|
4343
|
-
return /* @__PURE__ */React__default.createElement(Alert$1, __spreadProps$p(__spreadValues$
|
|
4410
|
+
return /* @__PURE__ */React__default.createElement(Alert$1, __spreadProps$p(__spreadValues$w({}, props), {
|
|
4344
4411
|
className: cs(AlertStyle, type ? `alert-${type}` : "", className, {
|
|
4345
4412
|
action
|
|
4346
4413
|
}),
|
|
@@ -4372,21 +4439,21 @@ const Arch = (props) => {
|
|
|
4372
4439
|
return /* @__PURE__ */ React__default.createElement("span", null, text);
|
|
4373
4440
|
};
|
|
4374
4441
|
|
|
4375
|
-
var __defProp$
|
|
4442
|
+
var __defProp$v = Object.defineProperty;
|
|
4376
4443
|
var __defProps$o = Object.defineProperties;
|
|
4377
4444
|
var __getOwnPropDescs$o = Object.getOwnPropertyDescriptors;
|
|
4378
|
-
var __getOwnPropSymbols$
|
|
4379
|
-
var __hasOwnProp$
|
|
4380
|
-
var __propIsEnum$
|
|
4381
|
-
var __defNormalProp$
|
|
4382
|
-
var __spreadValues$
|
|
4445
|
+
var __getOwnPropSymbols$w = Object.getOwnPropertySymbols;
|
|
4446
|
+
var __hasOwnProp$w = Object.prototype.hasOwnProperty;
|
|
4447
|
+
var __propIsEnum$w = Object.prototype.propertyIsEnumerable;
|
|
4448
|
+
var __defNormalProp$v = (obj, key, value) => key in obj ? __defProp$v(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4449
|
+
var __spreadValues$v = (a, b) => {
|
|
4383
4450
|
for (var prop in b || (b = {}))
|
|
4384
|
-
if (__hasOwnProp$
|
|
4385
|
-
__defNormalProp$
|
|
4386
|
-
if (__getOwnPropSymbols$
|
|
4387
|
-
for (var prop of __getOwnPropSymbols$
|
|
4388
|
-
if (__propIsEnum$
|
|
4389
|
-
__defNormalProp$
|
|
4451
|
+
if (__hasOwnProp$w.call(b, prop))
|
|
4452
|
+
__defNormalProp$v(a, prop, b[prop]);
|
|
4453
|
+
if (__getOwnPropSymbols$w)
|
|
4454
|
+
for (var prop of __getOwnPropSymbols$w(b)) {
|
|
4455
|
+
if (__propIsEnum$w.call(b, prop))
|
|
4456
|
+
__defNormalProp$v(a, prop, b[prop]);
|
|
4390
4457
|
}
|
|
4391
4458
|
return a;
|
|
4392
4459
|
};
|
|
@@ -4394,11 +4461,11 @@ var __spreadProps$o = (a, b) => __defProps$o(a, __getOwnPropDescs$o(b));
|
|
|
4394
4461
|
var __objRest$e = (source, exclude) => {
|
|
4395
4462
|
var target = {};
|
|
4396
4463
|
for (var prop in source)
|
|
4397
|
-
if (__hasOwnProp$
|
|
4464
|
+
if (__hasOwnProp$w.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
4398
4465
|
target[prop] = source[prop];
|
|
4399
|
-
if (source != null && __getOwnPropSymbols$
|
|
4400
|
-
for (var prop of __getOwnPropSymbols$
|
|
4401
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4466
|
+
if (source != null && __getOwnPropSymbols$w)
|
|
4467
|
+
for (var prop of __getOwnPropSymbols$w(source)) {
|
|
4468
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$w.call(source, prop))
|
|
4402
4469
|
target[prop] = source[prop];
|
|
4403
4470
|
}
|
|
4404
4471
|
return target;
|
|
@@ -4407,7 +4474,7 @@ const Badge = (_a) => {
|
|
|
4407
4474
|
var _b = _a, { type = "error", className } = _b, props = __objRest$e(_b, ["type", "className"]);
|
|
4408
4475
|
return /* @__PURE__ */ React__default.createElement(
|
|
4409
4476
|
Badge$1,
|
|
4410
|
-
__spreadProps$o(__spreadValues$
|
|
4477
|
+
__spreadProps$o(__spreadValues$v({
|
|
4411
4478
|
className: cx(`badge-${type}`, className)
|
|
4412
4479
|
}, props), {
|
|
4413
4480
|
showZero: false
|
|
@@ -4415,28 +4482,28 @@ const Badge = (_a) => {
|
|
|
4415
4482
|
);
|
|
4416
4483
|
};
|
|
4417
4484
|
|
|
4418
|
-
var __defProp$
|
|
4419
|
-
var __getOwnPropSymbols$
|
|
4420
|
-
var __hasOwnProp$
|
|
4421
|
-
var __propIsEnum$
|
|
4422
|
-
var __defNormalProp$
|
|
4485
|
+
var __defProp$u = Object.defineProperty;
|
|
4486
|
+
var __getOwnPropSymbols$v = Object.getOwnPropertySymbols;
|
|
4487
|
+
var __hasOwnProp$v = Object.prototype.hasOwnProperty;
|
|
4488
|
+
var __propIsEnum$v = Object.prototype.propertyIsEnumerable;
|
|
4489
|
+
var __defNormalProp$u = (obj, key, value) => key in obj ? __defProp$u(obj, key, {
|
|
4423
4490
|
enumerable: true,
|
|
4424
4491
|
configurable: true,
|
|
4425
4492
|
writable: true,
|
|
4426
4493
|
value
|
|
4427
4494
|
}) : obj[key] = value;
|
|
4428
|
-
var __spreadValues$
|
|
4429
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4430
|
-
if (__getOwnPropSymbols$
|
|
4431
|
-
if (__propIsEnum$
|
|
4495
|
+
var __spreadValues$u = (a, b) => {
|
|
4496
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$v.call(b, prop)) __defNormalProp$u(a, prop, b[prop]);
|
|
4497
|
+
if (__getOwnPropSymbols$v) for (var prop of __getOwnPropSymbols$v(b)) {
|
|
4498
|
+
if (__propIsEnum$v.call(b, prop)) __defNormalProp$u(a, prop, b[prop]);
|
|
4432
4499
|
}
|
|
4433
4500
|
return a;
|
|
4434
4501
|
};
|
|
4435
4502
|
var __objRest$d = (source, exclude) => {
|
|
4436
4503
|
var target = {};
|
|
4437
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4438
|
-
if (source != null && __getOwnPropSymbols$
|
|
4439
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4504
|
+
for (var prop in source) if (__hasOwnProp$v.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4505
|
+
if (source != null && __getOwnPropSymbols$v) for (var prop of __getOwnPropSymbols$v(source)) {
|
|
4506
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$v.call(source, prop)) target[prop] = source[prop];
|
|
4440
4507
|
}
|
|
4441
4508
|
return target;
|
|
4442
4509
|
};
|
|
@@ -4480,7 +4547,7 @@ const ButtonGroup = React__default.forwardRef((props, ref) => {
|
|
|
4480
4547
|
style: {
|
|
4481
4548
|
cursor: "not-allowed"
|
|
4482
4549
|
}
|
|
4483
|
-
}, /* @__PURE__ */React__default.createElement(Button, __spreadValues$
|
|
4550
|
+
}, /* @__PURE__ */React__default.createElement(Button, __spreadValues$u({
|
|
4484
4551
|
style: {
|
|
4485
4552
|
pointerEvents: "none"
|
|
4486
4553
|
},
|
|
@@ -4490,7 +4557,7 @@ const ButtonGroup = React__default.forwardRef((props, ref) => {
|
|
|
4490
4557
|
ghost,
|
|
4491
4558
|
className: cx(ButtonStyle, className2),
|
|
4492
4559
|
prefixIcon: icon
|
|
4493
|
-
}, buttonPropArgs))) : /* @__PURE__ */React__default.createElement(Button, __spreadValues$
|
|
4560
|
+
}, buttonPropArgs))) : /* @__PURE__ */React__default.createElement(Button, __spreadValues$u({
|
|
4494
4561
|
type,
|
|
4495
4562
|
size,
|
|
4496
4563
|
danger,
|
|
@@ -4499,7 +4566,7 @@ const ButtonGroup = React__default.forwardRef((props, ref) => {
|
|
|
4499
4566
|
prefixIcon: icon
|
|
4500
4567
|
}, buttonPropArgs)));
|
|
4501
4568
|
}
|
|
4502
|
-
return /* @__PURE__ */React__default.createElement(Button, __spreadValues$
|
|
4569
|
+
return /* @__PURE__ */React__default.createElement(Button, __spreadValues$u({
|
|
4503
4570
|
key: key || index,
|
|
4504
4571
|
type,
|
|
4505
4572
|
size,
|
|
@@ -4525,28 +4592,28 @@ const CardTitle = /*#__PURE__*/styled$1('div')({
|
|
|
4525
4592
|
propsAsIs: false
|
|
4526
4593
|
});
|
|
4527
4594
|
|
|
4528
|
-
var __defProp$
|
|
4529
|
-
var __getOwnPropSymbols$
|
|
4530
|
-
var __hasOwnProp$
|
|
4531
|
-
var __propIsEnum$
|
|
4532
|
-
var __defNormalProp$
|
|
4595
|
+
var __defProp$t = Object.defineProperty;
|
|
4596
|
+
var __getOwnPropSymbols$u = Object.getOwnPropertySymbols;
|
|
4597
|
+
var __hasOwnProp$u = Object.prototype.hasOwnProperty;
|
|
4598
|
+
var __propIsEnum$u = Object.prototype.propertyIsEnumerable;
|
|
4599
|
+
var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, {
|
|
4533
4600
|
enumerable: true,
|
|
4534
4601
|
configurable: true,
|
|
4535
4602
|
writable: true,
|
|
4536
4603
|
value
|
|
4537
4604
|
}) : obj[key] = value;
|
|
4538
|
-
var __spreadValues$
|
|
4539
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4540
|
-
if (__getOwnPropSymbols$
|
|
4541
|
-
if (__propIsEnum$
|
|
4605
|
+
var __spreadValues$t = (a, b) => {
|
|
4606
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$u.call(b, prop)) __defNormalProp$t(a, prop, b[prop]);
|
|
4607
|
+
if (__getOwnPropSymbols$u) for (var prop of __getOwnPropSymbols$u(b)) {
|
|
4608
|
+
if (__propIsEnum$u.call(b, prop)) __defNormalProp$t(a, prop, b[prop]);
|
|
4542
4609
|
}
|
|
4543
4610
|
return a;
|
|
4544
4611
|
};
|
|
4545
4612
|
var __objRest$c = (source, exclude) => {
|
|
4546
4613
|
var target = {};
|
|
4547
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4548
|
-
if (source != null && __getOwnPropSymbols$
|
|
4549
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4614
|
+
for (var prop in source) if (__hasOwnProp$u.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4615
|
+
if (source != null && __getOwnPropSymbols$u) for (var prop of __getOwnPropSymbols$u(source)) {
|
|
4616
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$u.call(source, prop)) target[prop] = source[prop];
|
|
4550
4617
|
}
|
|
4551
4618
|
return target;
|
|
4552
4619
|
};
|
|
@@ -4559,7 +4626,7 @@ const Wrapper = forwardRef(props => {
|
|
|
4559
4626
|
shadow
|
|
4560
4627
|
} = _a,
|
|
4561
4628
|
otherProps = __objRest$c(_a, ["children", "className", "shadow"]);
|
|
4562
|
-
return /* @__PURE__ */React__default.createElement("div", __spreadValues$
|
|
4629
|
+
return /* @__PURE__ */React__default.createElement("div", __spreadValues$t({
|
|
4563
4630
|
className: cs({
|
|
4564
4631
|
[boxShadow]: shadow
|
|
4565
4632
|
}, className)
|
|
@@ -4572,21 +4639,21 @@ const CardWrapper = /*#__PURE__*/styled$1(_exp$1())({
|
|
|
4572
4639
|
propsAsIs: true
|
|
4573
4640
|
});
|
|
4574
4641
|
|
|
4575
|
-
var __defProp$
|
|
4642
|
+
var __defProp$s = Object.defineProperty;
|
|
4576
4643
|
var __defProps$n = Object.defineProperties;
|
|
4577
4644
|
var __getOwnPropDescs$n = Object.getOwnPropertyDescriptors;
|
|
4578
|
-
var __getOwnPropSymbols$
|
|
4579
|
-
var __hasOwnProp$
|
|
4580
|
-
var __propIsEnum$
|
|
4581
|
-
var __defNormalProp$
|
|
4582
|
-
var __spreadValues$
|
|
4645
|
+
var __getOwnPropSymbols$t = Object.getOwnPropertySymbols;
|
|
4646
|
+
var __hasOwnProp$t = Object.prototype.hasOwnProperty;
|
|
4647
|
+
var __propIsEnum$t = Object.prototype.propertyIsEnumerable;
|
|
4648
|
+
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4649
|
+
var __spreadValues$s = (a, b) => {
|
|
4583
4650
|
for (var prop in b || (b = {}))
|
|
4584
|
-
if (__hasOwnProp$
|
|
4585
|
-
__defNormalProp$
|
|
4586
|
-
if (__getOwnPropSymbols$
|
|
4587
|
-
for (var prop of __getOwnPropSymbols$
|
|
4588
|
-
if (__propIsEnum$
|
|
4589
|
-
__defNormalProp$
|
|
4651
|
+
if (__hasOwnProp$t.call(b, prop))
|
|
4652
|
+
__defNormalProp$s(a, prop, b[prop]);
|
|
4653
|
+
if (__getOwnPropSymbols$t)
|
|
4654
|
+
for (var prop of __getOwnPropSymbols$t(b)) {
|
|
4655
|
+
if (__propIsEnum$t.call(b, prop))
|
|
4656
|
+
__defNormalProp$s(a, prop, b[prop]);
|
|
4590
4657
|
}
|
|
4591
4658
|
return a;
|
|
4592
4659
|
};
|
|
@@ -4594,11 +4661,11 @@ var __spreadProps$n = (a, b) => __defProps$n(a, __getOwnPropDescs$n(b));
|
|
|
4594
4661
|
var __objRest$b = (source, exclude) => {
|
|
4595
4662
|
var target = {};
|
|
4596
4663
|
for (var prop in source)
|
|
4597
|
-
if (__hasOwnProp$
|
|
4664
|
+
if (__hasOwnProp$t.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
4598
4665
|
target[prop] = source[prop];
|
|
4599
|
-
if (source != null && __getOwnPropSymbols$
|
|
4600
|
-
for (var prop of __getOwnPropSymbols$
|
|
4601
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4666
|
+
if (source != null && __getOwnPropSymbols$t)
|
|
4667
|
+
for (var prop of __getOwnPropSymbols$t(source)) {
|
|
4668
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$t.call(source, prop))
|
|
4602
4669
|
target[prop] = source[prop];
|
|
4603
4670
|
}
|
|
4604
4671
|
return target;
|
|
@@ -4625,7 +4692,7 @@ const Card = React__default.forwardRef(
|
|
|
4625
4692
|
const [open, setOpen] = useState(defaultOpen);
|
|
4626
4693
|
return /* @__PURE__ */ React__default.createElement(
|
|
4627
4694
|
CardWrapper,
|
|
4628
|
-
__spreadProps$n(__spreadValues$
|
|
4695
|
+
__spreadProps$n(__spreadValues$s({
|
|
4629
4696
|
ref,
|
|
4630
4697
|
className: cs(["card-wrapper", className, hoverable && "hoverable"])
|
|
4631
4698
|
}, domProps), {
|
|
@@ -4654,26 +4721,26 @@ const Card = React__default.forwardRef(
|
|
|
4654
4721
|
}
|
|
4655
4722
|
);
|
|
4656
4723
|
|
|
4657
|
-
var __defProp$
|
|
4724
|
+
var __defProp$r = Object.defineProperty;
|
|
4658
4725
|
var __defProps$m = Object.defineProperties;
|
|
4659
4726
|
var __getOwnPropDescs$m = Object.getOwnPropertyDescriptors;
|
|
4660
|
-
var __getOwnPropSymbols$
|
|
4661
|
-
var __hasOwnProp$
|
|
4662
|
-
var __propIsEnum$
|
|
4663
|
-
var __defNormalProp$
|
|
4664
|
-
var __spreadValues$
|
|
4727
|
+
var __getOwnPropSymbols$s = Object.getOwnPropertySymbols;
|
|
4728
|
+
var __hasOwnProp$s = Object.prototype.hasOwnProperty;
|
|
4729
|
+
var __propIsEnum$s = Object.prototype.propertyIsEnumerable;
|
|
4730
|
+
var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4731
|
+
var __spreadValues$r = (a, b) => {
|
|
4665
4732
|
for (var prop in b || (b = {}))
|
|
4666
|
-
if (__hasOwnProp$
|
|
4667
|
-
__defNormalProp$
|
|
4668
|
-
if (__getOwnPropSymbols$
|
|
4669
|
-
for (var prop of __getOwnPropSymbols$
|
|
4670
|
-
if (__propIsEnum$
|
|
4671
|
-
__defNormalProp$
|
|
4733
|
+
if (__hasOwnProp$s.call(b, prop))
|
|
4734
|
+
__defNormalProp$r(a, prop, b[prop]);
|
|
4735
|
+
if (__getOwnPropSymbols$s)
|
|
4736
|
+
for (var prop of __getOwnPropSymbols$s(b)) {
|
|
4737
|
+
if (__propIsEnum$s.call(b, prop))
|
|
4738
|
+
__defNormalProp$r(a, prop, b[prop]);
|
|
4672
4739
|
}
|
|
4673
4740
|
return a;
|
|
4674
4741
|
};
|
|
4675
4742
|
var __spreadProps$m = (a, b) => __defProps$m(a, __getOwnPropDescs$m(b));
|
|
4676
|
-
const Cascader = (props) => /* @__PURE__ */ React__default.createElement(Cascader$1, __spreadProps$m(__spreadValues$
|
|
4743
|
+
const Cascader = (props) => /* @__PURE__ */ React__default.createElement(Cascader$1, __spreadProps$m(__spreadValues$r({}, props), { prefixCls: "antd5" }));
|
|
4677
4744
|
|
|
4678
4745
|
const card = "c10crapj";
|
|
4679
4746
|
const ExpandableContainer = props => {
|
|
@@ -4743,22 +4810,22 @@ const ExpandableItem = props => {
|
|
|
4743
4810
|
}, children));
|
|
4744
4811
|
};
|
|
4745
4812
|
|
|
4746
|
-
var __defProp$
|
|
4813
|
+
var __defProp$q = Object.defineProperty;
|
|
4747
4814
|
var __defProps$l = Object.defineProperties;
|
|
4748
4815
|
var __getOwnPropDescs$l = Object.getOwnPropertyDescriptors;
|
|
4749
|
-
var __getOwnPropSymbols$
|
|
4750
|
-
var __hasOwnProp$
|
|
4751
|
-
var __propIsEnum$
|
|
4752
|
-
var __defNormalProp$
|
|
4816
|
+
var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
|
|
4817
|
+
var __hasOwnProp$r = Object.prototype.hasOwnProperty;
|
|
4818
|
+
var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
|
|
4819
|
+
var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, {
|
|
4753
4820
|
enumerable: true,
|
|
4754
4821
|
configurable: true,
|
|
4755
4822
|
writable: true,
|
|
4756
4823
|
value
|
|
4757
4824
|
}) : obj[key] = value;
|
|
4758
|
-
var __spreadValues$
|
|
4759
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4760
|
-
if (__getOwnPropSymbols$
|
|
4761
|
-
if (__propIsEnum$
|
|
4825
|
+
var __spreadValues$q = (a, b) => {
|
|
4826
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$r.call(b, prop)) __defNormalProp$q(a, prop, b[prop]);
|
|
4827
|
+
if (__getOwnPropSymbols$r) for (var prop of __getOwnPropSymbols$r(b)) {
|
|
4828
|
+
if (__propIsEnum$r.call(b, prop)) __defNormalProp$q(a, prop, b[prop]);
|
|
4762
4829
|
}
|
|
4763
4830
|
return a;
|
|
4764
4831
|
};
|
|
@@ -4768,7 +4835,7 @@ const {
|
|
|
4768
4835
|
} = Form$1;
|
|
4769
4836
|
const FormItemStyle$1 = "f1p9ti6d";
|
|
4770
4837
|
const FormItem$1 = props => {
|
|
4771
|
-
return /* @__PURE__ */React__default.createElement(AntdFormItem, __spreadProps$l(__spreadValues$
|
|
4838
|
+
return /* @__PURE__ */React__default.createElement(AntdFormItem, __spreadProps$l(__spreadValues$q({}, props), {
|
|
4772
4839
|
className: cs(FormItemStyle$1, props.className)
|
|
4773
4840
|
}));
|
|
4774
4841
|
};
|
|
@@ -4776,25 +4843,25 @@ const FormItem$1 = props => {
|
|
|
4776
4843
|
const Form = Form$1;
|
|
4777
4844
|
Form.Item = FormItem$1;
|
|
4778
4845
|
|
|
4779
|
-
var __defProp$
|
|
4780
|
-
var __getOwnPropSymbols$
|
|
4781
|
-
var __hasOwnProp$
|
|
4782
|
-
var __propIsEnum$
|
|
4783
|
-
var __defNormalProp$
|
|
4784
|
-
var __spreadValues$
|
|
4846
|
+
var __defProp$p = Object.defineProperty;
|
|
4847
|
+
var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
|
|
4848
|
+
var __hasOwnProp$q = Object.prototype.hasOwnProperty;
|
|
4849
|
+
var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
|
|
4850
|
+
var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4851
|
+
var __spreadValues$p = (a, b) => {
|
|
4785
4852
|
for (var prop in b || (b = {}))
|
|
4786
|
-
if (__hasOwnProp$
|
|
4787
|
-
__defNormalProp$
|
|
4788
|
-
if (__getOwnPropSymbols$
|
|
4789
|
-
for (var prop of __getOwnPropSymbols$
|
|
4790
|
-
if (__propIsEnum$
|
|
4791
|
-
__defNormalProp$
|
|
4853
|
+
if (__hasOwnProp$q.call(b, prop))
|
|
4854
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
4855
|
+
if (__getOwnPropSymbols$q)
|
|
4856
|
+
for (var prop of __getOwnPropSymbols$q(b)) {
|
|
4857
|
+
if (__propIsEnum$q.call(b, prop))
|
|
4858
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
4792
4859
|
}
|
|
4793
4860
|
return a;
|
|
4794
4861
|
};
|
|
4795
4862
|
const ParrotTrans = (props) => {
|
|
4796
4863
|
const { i18n } = useParrotTranslation();
|
|
4797
|
-
return /* @__PURE__ */ React__default.createElement(Trans, __spreadValues$
|
|
4864
|
+
return /* @__PURE__ */ React__default.createElement(Trans, __spreadValues$p({ i18n }, props));
|
|
4798
4865
|
};
|
|
4799
4866
|
|
|
4800
4867
|
const PresetColors$3 = [
|
|
@@ -4814,31 +4881,31 @@ const TagStyle$1 = "tnd6h4m";
|
|
|
4814
4881
|
const IconStyle$1 = "i1qw4clm";
|
|
4815
4882
|
const NameTagStyle = "n1r5ku5l";
|
|
4816
4883
|
|
|
4817
|
-
var __defProp$
|
|
4884
|
+
var __defProp$o = Object.defineProperty;
|
|
4818
4885
|
var __defProps$k = Object.defineProperties;
|
|
4819
4886
|
var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
|
|
4820
|
-
var __getOwnPropSymbols$
|
|
4821
|
-
var __hasOwnProp$
|
|
4822
|
-
var __propIsEnum$
|
|
4823
|
-
var __defNormalProp$
|
|
4887
|
+
var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
|
|
4888
|
+
var __hasOwnProp$p = Object.prototype.hasOwnProperty;
|
|
4889
|
+
var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
|
|
4890
|
+
var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, {
|
|
4824
4891
|
enumerable: true,
|
|
4825
4892
|
configurable: true,
|
|
4826
4893
|
writable: true,
|
|
4827
4894
|
value
|
|
4828
4895
|
}) : obj[key] = value;
|
|
4829
|
-
var __spreadValues$
|
|
4830
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4831
|
-
if (__getOwnPropSymbols$
|
|
4832
|
-
if (__propIsEnum$
|
|
4896
|
+
var __spreadValues$o = (a, b) => {
|
|
4897
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$p.call(b, prop)) __defNormalProp$o(a, prop, b[prop]);
|
|
4898
|
+
if (__getOwnPropSymbols$p) for (var prop of __getOwnPropSymbols$p(b)) {
|
|
4899
|
+
if (__propIsEnum$p.call(b, prop)) __defNormalProp$o(a, prop, b[prop]);
|
|
4833
4900
|
}
|
|
4834
4901
|
return a;
|
|
4835
4902
|
};
|
|
4836
4903
|
var __spreadProps$k = (a, b) => __defProps$k(a, __getOwnPropDescs$k(b));
|
|
4837
4904
|
var __objRest$a = (source, exclude) => {
|
|
4838
4905
|
var target = {};
|
|
4839
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4840
|
-
if (source != null && __getOwnPropSymbols$
|
|
4841
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4906
|
+
for (var prop in source) if (__hasOwnProp$p.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4907
|
+
if (source != null && __getOwnPropSymbols$p) for (var prop of __getOwnPropSymbols$p(source)) {
|
|
4908
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$p.call(source, prop)) target[prop] = source[prop];
|
|
4842
4909
|
}
|
|
4843
4910
|
return target;
|
|
4844
4911
|
};
|
|
@@ -4854,7 +4921,7 @@ const SplitTag = _a => {
|
|
|
4854
4921
|
icon
|
|
4855
4922
|
} = _b,
|
|
4856
4923
|
props = __objRest$a(_b, ["size", "color", "className", "primaryContent", "secondaryContent", "icon"]);
|
|
4857
|
-
return /* @__PURE__ */React__default.createElement(Tag$1, __spreadProps$k(__spreadValues$
|
|
4924
|
+
return /* @__PURE__ */React__default.createElement(Tag$1, __spreadProps$k(__spreadValues$o({}, props), {
|
|
4858
4925
|
className: cs(className, TagStyle$1, Size$1[size], WrapperStyle, Typo.Label.l4_regular, {
|
|
4859
4926
|
[`ant-tag-${color}`]: PresetColors$3.includes(color)
|
|
4860
4927
|
}, "outside-tag")
|
|
@@ -4867,21 +4934,21 @@ const SplitTag = _a => {
|
|
|
4867
4934
|
}, icon), primaryContent), secondaryContent);
|
|
4868
4935
|
};
|
|
4869
4936
|
|
|
4870
|
-
var __defProp$
|
|
4937
|
+
var __defProp$n = Object.defineProperty;
|
|
4871
4938
|
var __defProps$j = Object.defineProperties;
|
|
4872
4939
|
var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
|
|
4873
|
-
var __getOwnPropSymbols$
|
|
4874
|
-
var __hasOwnProp$
|
|
4875
|
-
var __propIsEnum$
|
|
4876
|
-
var __defNormalProp$
|
|
4877
|
-
var __spreadValues$
|
|
4940
|
+
var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
|
|
4941
|
+
var __hasOwnProp$o = Object.prototype.hasOwnProperty;
|
|
4942
|
+
var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
|
|
4943
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4944
|
+
var __spreadValues$n = (a, b) => {
|
|
4878
4945
|
for (var prop in b || (b = {}))
|
|
4879
|
-
if (__hasOwnProp$
|
|
4880
|
-
__defNormalProp$
|
|
4881
|
-
if (__getOwnPropSymbols$
|
|
4882
|
-
for (var prop of __getOwnPropSymbols$
|
|
4883
|
-
if (__propIsEnum$
|
|
4884
|
-
__defNormalProp$
|
|
4946
|
+
if (__hasOwnProp$o.call(b, prop))
|
|
4947
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
4948
|
+
if (__getOwnPropSymbols$o)
|
|
4949
|
+
for (var prop of __getOwnPropSymbols$o(b)) {
|
|
4950
|
+
if (__propIsEnum$o.call(b, prop))
|
|
4951
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
4885
4952
|
}
|
|
4886
4953
|
return a;
|
|
4887
4954
|
};
|
|
@@ -4889,11 +4956,11 @@ var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
|
|
|
4889
4956
|
var __objRest$9 = (source, exclude) => {
|
|
4890
4957
|
var target = {};
|
|
4891
4958
|
for (var prop in source)
|
|
4892
|
-
if (__hasOwnProp$
|
|
4959
|
+
if (__hasOwnProp$o.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
4893
4960
|
target[prop] = source[prop];
|
|
4894
|
-
if (source != null && __getOwnPropSymbols$
|
|
4895
|
-
for (var prop of __getOwnPropSymbols$
|
|
4896
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4961
|
+
if (source != null && __getOwnPropSymbols$o)
|
|
4962
|
+
for (var prop of __getOwnPropSymbols$o(source)) {
|
|
4963
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$o.call(source, prop))
|
|
4897
4964
|
target[prop] = source[prop];
|
|
4898
4965
|
}
|
|
4899
4966
|
return target;
|
|
@@ -4929,7 +4996,7 @@ const Tag = (_a) => {
|
|
|
4929
4996
|
const computedColor = AntdColorMap[color] || color;
|
|
4930
4997
|
return /* @__PURE__ */ React__default.createElement(
|
|
4931
4998
|
Tag$1,
|
|
4932
|
-
__spreadProps$j(__spreadValues$
|
|
4999
|
+
__spreadProps$j(__spreadValues$n({}, props), {
|
|
4933
5000
|
className: cs(className, Size$1[size], TagStyle$1, Typo.Label.l4_regular, {
|
|
4934
5001
|
[`ant-tag-${computedColor}`]: PresetColors$2.includes(computedColor),
|
|
4935
5002
|
"tag-hover": hoverable
|
|
@@ -4943,19 +5010,19 @@ const Tag = (_a) => {
|
|
|
4943
5010
|
};
|
|
4944
5011
|
const NameTag = (_c) => {
|
|
4945
5012
|
var _d = _c, { className } = _d, props = __objRest$9(_d, ["className"]);
|
|
4946
|
-
return /* @__PURE__ */ React__default.createElement(Tag, __spreadValues$
|
|
5013
|
+
return /* @__PURE__ */ React__default.createElement(Tag, __spreadValues$n({ className: cs(NameTagStyle, className) }, props));
|
|
4947
5014
|
};
|
|
4948
5015
|
Tag.SplitTag = SplitTag;
|
|
4949
5016
|
Tag.NameTag = NameTag;
|
|
4950
5017
|
|
|
4951
|
-
var __getOwnPropSymbols$
|
|
4952
|
-
var __hasOwnProp$
|
|
4953
|
-
var __propIsEnum$
|
|
5018
|
+
var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
|
|
5019
|
+
var __hasOwnProp$n = Object.prototype.hasOwnProperty;
|
|
5020
|
+
var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
|
|
4954
5021
|
var __objRest$8 = (source, exclude) => {
|
|
4955
5022
|
var target = {};
|
|
4956
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4957
|
-
if (source != null && __getOwnPropSymbols$
|
|
4958
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
5023
|
+
for (var prop in source) if (__hasOwnProp$n.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
5024
|
+
if (source != null && __getOwnPropSymbols$n) for (var prop of __getOwnPropSymbols$n(source)) {
|
|
5025
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$n.call(source, prop)) target[prop] = source[prop];
|
|
4959
5026
|
}
|
|
4960
5027
|
return target;
|
|
4961
5028
|
};
|
|
@@ -4984,31 +5051,31 @@ const InputGroup = /*#__PURE__*/styled$1(_exp())({
|
|
|
4984
5051
|
propsAsIs: true
|
|
4985
5052
|
});
|
|
4986
5053
|
|
|
4987
|
-
var __defProp$
|
|
5054
|
+
var __defProp$m = Object.defineProperty;
|
|
4988
5055
|
var __defProps$i = Object.defineProperties;
|
|
4989
5056
|
var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
|
|
4990
|
-
var __getOwnPropSymbols$
|
|
4991
|
-
var __hasOwnProp$
|
|
4992
|
-
var __propIsEnum$
|
|
4993
|
-
var __defNormalProp$
|
|
5057
|
+
var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
|
|
5058
|
+
var __hasOwnProp$m = Object.prototype.hasOwnProperty;
|
|
5059
|
+
var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
|
|
5060
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, {
|
|
4994
5061
|
enumerable: true,
|
|
4995
5062
|
configurable: true,
|
|
4996
5063
|
writable: true,
|
|
4997
5064
|
value
|
|
4998
5065
|
}) : obj[key] = value;
|
|
4999
|
-
var __spreadValues$
|
|
5000
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
5001
|
-
if (__getOwnPropSymbols$
|
|
5002
|
-
if (__propIsEnum$
|
|
5066
|
+
var __spreadValues$m = (a, b) => {
|
|
5067
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$m.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
|
|
5068
|
+
if (__getOwnPropSymbols$m) for (var prop of __getOwnPropSymbols$m(b)) {
|
|
5069
|
+
if (__propIsEnum$m.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
|
|
5003
5070
|
}
|
|
5004
5071
|
return a;
|
|
5005
5072
|
};
|
|
5006
5073
|
var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
|
|
5007
5074
|
var __objRest$7 = (source, exclude) => {
|
|
5008
5075
|
var target = {};
|
|
5009
|
-
for (var prop in source) if (__hasOwnProp$
|
|
5010
|
-
if (source != null && __getOwnPropSymbols$
|
|
5011
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
5076
|
+
for (var prop in source) if (__hasOwnProp$m.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
5077
|
+
if (source != null && __getOwnPropSymbols$m) for (var prop of __getOwnPropSymbols$m(source)) {
|
|
5078
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$m.call(source, prop)) target[prop] = source[prop];
|
|
5012
5079
|
}
|
|
5013
5080
|
return target;
|
|
5014
5081
|
};
|
|
@@ -5021,7 +5088,7 @@ const Link = React__default.forwardRef((_a, ref) => {
|
|
|
5021
5088
|
type
|
|
5022
5089
|
} = _b,
|
|
5023
5090
|
props = __objRest$7(_b, ["className", "disabled", "type"]);
|
|
5024
|
-
return /* @__PURE__ */React__default.createElement(Button, __spreadProps$i(__spreadValues$
|
|
5091
|
+
return /* @__PURE__ */React__default.createElement(Button, __spreadProps$i(__spreadValues$m({}, props), {
|
|
5025
5092
|
ref,
|
|
5026
5093
|
disabled,
|
|
5027
5094
|
className: cs(LinkStyle, className, {
|
|
@@ -5032,21 +5099,21 @@ const Link = React__default.forwardRef((_a, ref) => {
|
|
|
5032
5099
|
}));
|
|
5033
5100
|
});
|
|
5034
5101
|
|
|
5035
|
-
var __defProp$
|
|
5102
|
+
var __defProp$l = Object.defineProperty;
|
|
5036
5103
|
var __defProps$h = Object.defineProperties;
|
|
5037
5104
|
var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
|
|
5038
|
-
var __getOwnPropSymbols$
|
|
5039
|
-
var __hasOwnProp$
|
|
5040
|
-
var __propIsEnum$
|
|
5041
|
-
var __defNormalProp$
|
|
5042
|
-
var __spreadValues$
|
|
5105
|
+
var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
|
|
5106
|
+
var __hasOwnProp$l = Object.prototype.hasOwnProperty;
|
|
5107
|
+
var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
|
|
5108
|
+
var __defNormalProp$l = (obj, key2, value) => key2 in obj ? __defProp$l(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value;
|
|
5109
|
+
var __spreadValues$l = (a, b) => {
|
|
5043
5110
|
for (var prop in b || (b = {}))
|
|
5044
|
-
if (__hasOwnProp$
|
|
5045
|
-
__defNormalProp$
|
|
5046
|
-
if (__getOwnPropSymbols$
|
|
5047
|
-
for (var prop of __getOwnPropSymbols$
|
|
5048
|
-
if (__propIsEnum$
|
|
5049
|
-
__defNormalProp$
|
|
5111
|
+
if (__hasOwnProp$l.call(b, prop))
|
|
5112
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
5113
|
+
if (__getOwnPropSymbols$l)
|
|
5114
|
+
for (var prop of __getOwnPropSymbols$l(b)) {
|
|
5115
|
+
if (__propIsEnum$l.call(b, prop))
|
|
5116
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
5050
5117
|
}
|
|
5051
5118
|
return a;
|
|
5052
5119
|
};
|
|
@@ -5157,7 +5224,7 @@ function notice(args) {
|
|
|
5157
5224
|
}
|
|
5158
5225
|
getRCNotificationInstance(args, ({ prefixCls, instance }) => {
|
|
5159
5226
|
instance.notice(
|
|
5160
|
-
getRCNoticeProps(__spreadProps$h(__spreadValues$
|
|
5227
|
+
getRCNoticeProps(__spreadProps$h(__spreadValues$l({}, args), { key: target, onClose: callback }), prefixCls)
|
|
5161
5228
|
);
|
|
5162
5229
|
});
|
|
5163
5230
|
});
|
|
@@ -5186,7 +5253,7 @@ const api = {
|
|
|
5186
5253
|
function attachTypeApi(originalApi, type) {
|
|
5187
5254
|
originalApi[type] = (content, duration, onClose) => {
|
|
5188
5255
|
if (isArgsProps(content)) {
|
|
5189
|
-
return originalApi.open(__spreadProps$h(__spreadValues$
|
|
5256
|
+
return originalApi.open(__spreadProps$h(__spreadValues$l({}, content), { type }));
|
|
5190
5257
|
}
|
|
5191
5258
|
if (typeof duration === "function") {
|
|
5192
5259
|
onClose = duration;
|
|
@@ -5200,21 +5267,21 @@ function attachTypeApi(originalApi, type) {
|
|
|
5200
5267
|
);
|
|
5201
5268
|
api.warn = api.warning;
|
|
5202
5269
|
|
|
5203
|
-
var __defProp$
|
|
5270
|
+
var __defProp$k = Object.defineProperty;
|
|
5204
5271
|
var __defProps$g = Object.defineProperties;
|
|
5205
5272
|
var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
|
|
5206
|
-
var __getOwnPropSymbols$
|
|
5207
|
-
var __hasOwnProp$
|
|
5208
|
-
var __propIsEnum$
|
|
5209
|
-
var __defNormalProp$
|
|
5210
|
-
var __spreadValues$
|
|
5273
|
+
var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
|
|
5274
|
+
var __hasOwnProp$k = Object.prototype.hasOwnProperty;
|
|
5275
|
+
var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
|
|
5276
|
+
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5277
|
+
var __spreadValues$k = (a, b) => {
|
|
5211
5278
|
for (var prop in b || (b = {}))
|
|
5212
|
-
if (__hasOwnProp$
|
|
5213
|
-
__defNormalProp$
|
|
5214
|
-
if (__getOwnPropSymbols$
|
|
5215
|
-
for (var prop of __getOwnPropSymbols$
|
|
5216
|
-
if (__propIsEnum$
|
|
5217
|
-
__defNormalProp$
|
|
5279
|
+
if (__hasOwnProp$k.call(b, prop))
|
|
5280
|
+
__defNormalProp$k(a, prop, b[prop]);
|
|
5281
|
+
if (__getOwnPropSymbols$k)
|
|
5282
|
+
for (var prop of __getOwnPropSymbols$k(b)) {
|
|
5283
|
+
if (__propIsEnum$k.call(b, prop))
|
|
5284
|
+
__defNormalProp$k(a, prop, b[prop]);
|
|
5218
5285
|
}
|
|
5219
5286
|
return a;
|
|
5220
5287
|
};
|
|
@@ -5228,8 +5295,8 @@ const chartReducer = (state = initialChartState, action) => {
|
|
|
5228
5295
|
switch (action.type) {
|
|
5229
5296
|
case "SET_POINTER" /* SET_POINTER */: {
|
|
5230
5297
|
const { uuid, left, text, visible, value } = action.payload;
|
|
5231
|
-
return __spreadProps$g(__spreadValues$
|
|
5232
|
-
pointers: __spreadProps$g(__spreadValues$
|
|
5298
|
+
return __spreadProps$g(__spreadValues$k({}, state), {
|
|
5299
|
+
pointers: __spreadProps$g(__spreadValues$k({}, state.pointers), {
|
|
5233
5300
|
[uuid]: {
|
|
5234
5301
|
left,
|
|
5235
5302
|
text,
|
|
@@ -5241,16 +5308,16 @@ const chartReducer = (state = initialChartState, action) => {
|
|
|
5241
5308
|
}
|
|
5242
5309
|
case "SET_RESOURCE_DATA" /* SET_RESOURCE_DATA */: {
|
|
5243
5310
|
const { uuid, data } = action.payload;
|
|
5244
|
-
return __spreadProps$g(__spreadValues$
|
|
5245
|
-
resourceData: __spreadProps$g(__spreadValues$
|
|
5311
|
+
return __spreadProps$g(__spreadValues$k({}, state), {
|
|
5312
|
+
resourceData: __spreadProps$g(__spreadValues$k({}, state.resourceData), {
|
|
5246
5313
|
[uuid]: data
|
|
5247
5314
|
})
|
|
5248
5315
|
});
|
|
5249
5316
|
}
|
|
5250
5317
|
case "SET_AVERAGE_DATA" /* SET_AVERAGE_DATA */: {
|
|
5251
5318
|
const { uuid, average } = action.payload;
|
|
5252
|
-
return __spreadProps$g(__spreadValues$
|
|
5253
|
-
averageData: __spreadProps$g(__spreadValues$
|
|
5319
|
+
return __spreadProps$g(__spreadValues$k({}, state), {
|
|
5320
|
+
averageData: __spreadProps$g(__spreadValues$k({}, state.averageData), {
|
|
5254
5321
|
[uuid]: average
|
|
5255
5322
|
})
|
|
5256
5323
|
});
|
|
@@ -5261,21 +5328,21 @@ const chartReducer = (state = initialChartState, action) => {
|
|
|
5261
5328
|
}
|
|
5262
5329
|
};
|
|
5263
5330
|
|
|
5264
|
-
var __defProp$
|
|
5331
|
+
var __defProp$j = Object.defineProperty;
|
|
5265
5332
|
var __defProps$f = Object.defineProperties;
|
|
5266
5333
|
var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
|
|
5267
|
-
var __getOwnPropSymbols$
|
|
5268
|
-
var __hasOwnProp$
|
|
5269
|
-
var __propIsEnum$
|
|
5270
|
-
var __defNormalProp$
|
|
5271
|
-
var __spreadValues$
|
|
5334
|
+
var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
|
|
5335
|
+
var __hasOwnProp$j = Object.prototype.hasOwnProperty;
|
|
5336
|
+
var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
|
|
5337
|
+
var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5338
|
+
var __spreadValues$j = (a, b) => {
|
|
5272
5339
|
for (var prop in b || (b = {}))
|
|
5273
|
-
if (__hasOwnProp$
|
|
5274
|
-
__defNormalProp$
|
|
5275
|
-
if (__getOwnPropSymbols$
|
|
5276
|
-
for (var prop of __getOwnPropSymbols$
|
|
5277
|
-
if (__propIsEnum$
|
|
5278
|
-
__defNormalProp$
|
|
5340
|
+
if (__hasOwnProp$j.call(b, prop))
|
|
5341
|
+
__defNormalProp$j(a, prop, b[prop]);
|
|
5342
|
+
if (__getOwnPropSymbols$j)
|
|
5343
|
+
for (var prop of __getOwnPropSymbols$j(b)) {
|
|
5344
|
+
if (__propIsEnum$j.call(b, prop))
|
|
5345
|
+
__defNormalProp$j(a, prop, b[prop]);
|
|
5279
5346
|
}
|
|
5280
5347
|
return a;
|
|
5281
5348
|
};
|
|
@@ -5300,22 +5367,22 @@ const modalReducer = (state = initialModalState, action) => {
|
|
|
5300
5367
|
)) {
|
|
5301
5368
|
return state;
|
|
5302
5369
|
}
|
|
5303
|
-
return __spreadProps$f(__spreadValues$
|
|
5304
|
-
stack: state.stack.concat(__spreadProps$f(__spreadValues$
|
|
5370
|
+
return __spreadProps$f(__spreadValues$j({}, state), {
|
|
5371
|
+
stack: state.stack.concat(__spreadProps$f(__spreadValues$j({}, action.payload), {
|
|
5305
5372
|
id: MODAL_ID++
|
|
5306
5373
|
}))
|
|
5307
5374
|
});
|
|
5308
5375
|
case "POP_MODAL" /* POP_MODAL */:
|
|
5309
|
-
return __spreadProps$f(__spreadValues$
|
|
5376
|
+
return __spreadProps$f(__spreadValues$j({}, state), {
|
|
5310
5377
|
stack: state.stack.slice(0, -1)
|
|
5311
5378
|
});
|
|
5312
5379
|
case "REMOVE_MODAL" /* REMOVE_MODAL */:
|
|
5313
|
-
return __spreadProps$f(__spreadValues$
|
|
5380
|
+
return __spreadProps$f(__spreadValues$j({}, state), {
|
|
5314
5381
|
closeId: 0,
|
|
5315
5382
|
stack: state.stack.filter((m) => m.id !== action.id)
|
|
5316
5383
|
});
|
|
5317
5384
|
case "CLOSE_MODAL" /* CLOSE_MODAL */:
|
|
5318
|
-
return __spreadProps$f(__spreadValues$
|
|
5385
|
+
return __spreadProps$f(__spreadValues$j({}, state), {
|
|
5319
5386
|
closeId: action.id
|
|
5320
5387
|
});
|
|
5321
5388
|
default:
|
|
@@ -5372,21 +5439,21 @@ const VerticalStyle = "v1p8siwu";
|
|
|
5372
5439
|
const HorizontalStepContentStyle = "h1xo7yjb";
|
|
5373
5440
|
const VerticalStepContentStyle = "v1f2f7cy";
|
|
5374
5441
|
|
|
5375
|
-
var __defProp$
|
|
5442
|
+
var __defProp$i = Object.defineProperty;
|
|
5376
5443
|
var __defProps$e = Object.defineProperties;
|
|
5377
5444
|
var __getOwnPropDescs$e = Object.getOwnPropertyDescriptors;
|
|
5378
|
-
var __getOwnPropSymbols$
|
|
5379
|
-
var __hasOwnProp$
|
|
5380
|
-
var __propIsEnum$
|
|
5381
|
-
var __defNormalProp$
|
|
5382
|
-
var __spreadValues$
|
|
5445
|
+
var __getOwnPropSymbols$i = Object.getOwnPropertySymbols;
|
|
5446
|
+
var __hasOwnProp$i = Object.prototype.hasOwnProperty;
|
|
5447
|
+
var __propIsEnum$i = Object.prototype.propertyIsEnumerable;
|
|
5448
|
+
var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5449
|
+
var __spreadValues$i = (a, b) => {
|
|
5383
5450
|
for (var prop in b || (b = {}))
|
|
5384
|
-
if (__hasOwnProp$
|
|
5385
|
-
__defNormalProp$
|
|
5386
|
-
if (__getOwnPropSymbols$
|
|
5387
|
-
for (var prop of __getOwnPropSymbols$
|
|
5388
|
-
if (__propIsEnum$
|
|
5389
|
-
__defNormalProp$
|
|
5451
|
+
if (__hasOwnProp$i.call(b, prop))
|
|
5452
|
+
__defNormalProp$i(a, prop, b[prop]);
|
|
5453
|
+
if (__getOwnPropSymbols$i)
|
|
5454
|
+
for (var prop of __getOwnPropSymbols$i(b)) {
|
|
5455
|
+
if (__propIsEnum$i.call(b, prop))
|
|
5456
|
+
__defNormalProp$i(a, prop, b[prop]);
|
|
5390
5457
|
}
|
|
5391
5458
|
return a;
|
|
5392
5459
|
};
|
|
@@ -5394,11 +5461,11 @@ var __spreadProps$e = (a, b) => __defProps$e(a, __getOwnPropDescs$e(b));
|
|
|
5394
5461
|
var __objRest$6 = (source, exclude) => {
|
|
5395
5462
|
var target = {};
|
|
5396
5463
|
for (var prop in source)
|
|
5397
|
-
if (__hasOwnProp$
|
|
5464
|
+
if (__hasOwnProp$i.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
5398
5465
|
target[prop] = source[prop];
|
|
5399
|
-
if (source != null && __getOwnPropSymbols$
|
|
5400
|
-
for (var prop of __getOwnPropSymbols$
|
|
5401
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
5466
|
+
if (source != null && __getOwnPropSymbols$i)
|
|
5467
|
+
for (var prop of __getOwnPropSymbols$i(source)) {
|
|
5468
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$i.call(source, prop))
|
|
5402
5469
|
target[prop] = source[prop];
|
|
5403
5470
|
}
|
|
5404
5471
|
return target;
|
|
@@ -5415,7 +5482,7 @@ const StepTitle = (props) => {
|
|
|
5415
5482
|
setTooltipEnable({});
|
|
5416
5483
|
}
|
|
5417
5484
|
}, [textRef]);
|
|
5418
|
-
return /* @__PURE__ */ React__default.createElement(Tooltip, __spreadProps$e(__spreadValues$
|
|
5485
|
+
return /* @__PURE__ */ React__default.createElement(Tooltip, __spreadProps$e(__spreadValues$i({}, tooltipEnable), { title: step.title }), /* @__PURE__ */ React__default.createElement(
|
|
5419
5486
|
"div",
|
|
5420
5487
|
{
|
|
5421
5488
|
className: isVerticalMode ? VerticalStepContentStyle : HorizontalStepContentStyle
|
|
@@ -5453,52 +5520,55 @@ const Steps = (props) => {
|
|
|
5453
5520
|
},
|
|
5454
5521
|
/* @__PURE__ */ React__default.createElement(
|
|
5455
5522
|
Steps$1,
|
|
5456
|
-
__spreadProps$e(__spreadValues$
|
|
5523
|
+
__spreadProps$e(__spreadValues$i({}, stepsProps), {
|
|
5457
5524
|
direction,
|
|
5458
5525
|
current,
|
|
5459
5526
|
type: "default"
|
|
5460
5527
|
}),
|
|
5461
|
-
(stepsConfig == null ? void 0 : stepsConfig.length) ? stepsConfig.map((step, index) =>
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
step.
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5528
|
+
(stepsConfig == null ? void 0 : stepsConfig.length) ? stepsConfig.map((step, index) => {
|
|
5529
|
+
var _a2;
|
|
5530
|
+
return /* @__PURE__ */ React__default.createElement(
|
|
5531
|
+
Steps$1.Step,
|
|
5532
|
+
__spreadProps$e(__spreadValues$i({
|
|
5533
|
+
key: index
|
|
5534
|
+
}, step), {
|
|
5535
|
+
disabled: isPreviewMode ? false : (_a2 = disabled != null ? disabled : step == null ? void 0 : step.disabled) != null ? _a2 : index > current,
|
|
5536
|
+
className: cs(
|
|
5537
|
+
step.className,
|
|
5538
|
+
isPreviewMode ? "preview-mode" : ""
|
|
5539
|
+
),
|
|
5540
|
+
title: /* @__PURE__ */ React__default.createElement(
|
|
5541
|
+
StepTitle,
|
|
5542
|
+
{
|
|
5543
|
+
index,
|
|
5544
|
+
step,
|
|
5545
|
+
current,
|
|
5546
|
+
isVerticalMode,
|
|
5547
|
+
preview: isPreviewMode
|
|
5548
|
+
}
|
|
5549
|
+
)
|
|
5550
|
+
})
|
|
5551
|
+
);
|
|
5552
|
+
}) : props.children
|
|
5483
5553
|
)
|
|
5484
5554
|
);
|
|
5485
5555
|
};
|
|
5486
5556
|
|
|
5487
|
-
var __defProp$
|
|
5557
|
+
var __defProp$h = Object.defineProperty;
|
|
5488
5558
|
var __defProps$d = Object.defineProperties;
|
|
5489
5559
|
var __getOwnPropDescs$d = Object.getOwnPropertyDescriptors;
|
|
5490
|
-
var __getOwnPropSymbols$
|
|
5491
|
-
var __hasOwnProp$
|
|
5492
|
-
var __propIsEnum$
|
|
5493
|
-
var __defNormalProp$
|
|
5494
|
-
var __spreadValues$
|
|
5560
|
+
var __getOwnPropSymbols$h = Object.getOwnPropertySymbols;
|
|
5561
|
+
var __hasOwnProp$h = Object.prototype.hasOwnProperty;
|
|
5562
|
+
var __propIsEnum$h = Object.prototype.propertyIsEnumerable;
|
|
5563
|
+
var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5564
|
+
var __spreadValues$h = (a, b) => {
|
|
5495
5565
|
for (var prop in b || (b = {}))
|
|
5496
|
-
if (__hasOwnProp$
|
|
5497
|
-
__defNormalProp$
|
|
5498
|
-
if (__getOwnPropSymbols$
|
|
5499
|
-
for (var prop of __getOwnPropSymbols$
|
|
5500
|
-
if (__propIsEnum$
|
|
5501
|
-
__defNormalProp$
|
|
5566
|
+
if (__hasOwnProp$h.call(b, prop))
|
|
5567
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
5568
|
+
if (__getOwnPropSymbols$h)
|
|
5569
|
+
for (var prop of __getOwnPropSymbols$h(b)) {
|
|
5570
|
+
if (__propIsEnum$h.call(b, prop))
|
|
5571
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
5502
5572
|
}
|
|
5503
5573
|
return a;
|
|
5504
5574
|
};
|
|
@@ -5506,11 +5576,11 @@ var __spreadProps$d = (a, b) => __defProps$d(a, __getOwnPropDescs$d(b));
|
|
|
5506
5576
|
var __objRest$5 = (source, exclude) => {
|
|
5507
5577
|
var target = {};
|
|
5508
5578
|
for (var prop in source)
|
|
5509
|
-
if (__hasOwnProp$
|
|
5579
|
+
if (__hasOwnProp$h.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
5510
5580
|
target[prop] = source[prop];
|
|
5511
|
-
if (source != null && __getOwnPropSymbols$
|
|
5512
|
-
for (var prop of __getOwnPropSymbols$
|
|
5513
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
5581
|
+
if (source != null && __getOwnPropSymbols$h)
|
|
5582
|
+
for (var prop of __getOwnPropSymbols$h(source)) {
|
|
5583
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$h.call(source, prop))
|
|
5514
5584
|
target[prop] = source[prop];
|
|
5515
5585
|
}
|
|
5516
5586
|
return target;
|
|
@@ -5592,7 +5662,7 @@ const Modal = (props) => {
|
|
|
5592
5662
|
}
|
|
5593
5663
|
return /* @__PURE__ */ React__default.createElement(
|
|
5594
5664
|
Modal$1,
|
|
5595
|
-
__spreadProps$d(__spreadValues$
|
|
5665
|
+
__spreadProps$d(__spreadValues$h({
|
|
5596
5666
|
maskClosable,
|
|
5597
5667
|
className: cs(
|
|
5598
5668
|
className,
|
|
@@ -5627,7 +5697,7 @@ const Modal = (props) => {
|
|
|
5627
5697
|
prevText
|
|
5628
5698
|
), error && /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement("span", { className: "modal-error" }, error))), /* @__PURE__ */ React__default.createElement("div", { className: "modal-footer-btn-group" }, showCancel && /* @__PURE__ */ React__default.createElement(
|
|
5629
5699
|
Button,
|
|
5630
|
-
__spreadValues$
|
|
5700
|
+
__spreadValues$h({
|
|
5631
5701
|
type: "quiet",
|
|
5632
5702
|
onMouseDown: (e) => {
|
|
5633
5703
|
e.preventDefault();
|
|
@@ -5641,7 +5711,7 @@ const Modal = (props) => {
|
|
|
5641
5711
|
cancelText
|
|
5642
5712
|
), showOk && /* @__PURE__ */ React__default.createElement(
|
|
5643
5713
|
Button,
|
|
5644
|
-
__spreadValues$
|
|
5714
|
+
__spreadValues$h({
|
|
5645
5715
|
onClick: (e) => {
|
|
5646
5716
|
var _a2, _b2;
|
|
5647
5717
|
onOk == null ? void 0 : onOk(e);
|
|
@@ -5683,22 +5753,22 @@ const Modal = (props) => {
|
|
|
5683
5753
|
);
|
|
5684
5754
|
};
|
|
5685
5755
|
|
|
5686
|
-
var __defProp$
|
|
5756
|
+
var __defProp$g = Object.defineProperty;
|
|
5687
5757
|
var __defProps$c = Object.defineProperties;
|
|
5688
5758
|
var __getOwnPropDescs$c = Object.getOwnPropertyDescriptors;
|
|
5689
|
-
var __getOwnPropSymbols$
|
|
5690
|
-
var __hasOwnProp$
|
|
5691
|
-
var __propIsEnum$
|
|
5692
|
-
var __defNormalProp$
|
|
5759
|
+
var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
|
|
5760
|
+
var __hasOwnProp$g = Object.prototype.hasOwnProperty;
|
|
5761
|
+
var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
|
|
5762
|
+
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, {
|
|
5693
5763
|
enumerable: true,
|
|
5694
5764
|
configurable: true,
|
|
5695
5765
|
writable: true,
|
|
5696
5766
|
value
|
|
5697
5767
|
}) : obj[key] = value;
|
|
5698
|
-
var __spreadValues$
|
|
5699
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
5700
|
-
if (__getOwnPropSymbols$
|
|
5701
|
-
if (__propIsEnum$
|
|
5768
|
+
var __spreadValues$g = (a, b) => {
|
|
5769
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$g.call(b, prop)) __defNormalProp$g(a, prop, b[prop]);
|
|
5770
|
+
if (__getOwnPropSymbols$g) for (var prop of __getOwnPropSymbols$g(b)) {
|
|
5771
|
+
if (__propIsEnum$g.call(b, prop)) __defNormalProp$g(a, prop, b[prop]);
|
|
5702
5772
|
}
|
|
5703
5773
|
return a;
|
|
5704
5774
|
};
|
|
@@ -5733,7 +5803,7 @@ const OverflowTooltip = props => {
|
|
|
5733
5803
|
observer == null ? void 0 : observer.disconnect();
|
|
5734
5804
|
};
|
|
5735
5805
|
});
|
|
5736
|
-
return /* @__PURE__ */React__default.createElement(Tooltip, __spreadProps$c(__spreadValues$
|
|
5806
|
+
return /* @__PURE__ */React__default.createElement(Tooltip, __spreadProps$c(__spreadValues$g({}, !ellipsis && {
|
|
5737
5807
|
visible: false
|
|
5738
5808
|
}), {
|
|
5739
5809
|
title: tooltip
|
|
@@ -5851,46 +5921,46 @@ const Pagination = props => {
|
|
|
5851
5921
|
}))));
|
|
5852
5922
|
};
|
|
5853
5923
|
|
|
5854
|
-
var __defProp$
|
|
5855
|
-
var __getOwnPropSymbols$
|
|
5856
|
-
var __hasOwnProp$
|
|
5857
|
-
var __propIsEnum$
|
|
5858
|
-
var __defNormalProp$
|
|
5859
|
-
var __spreadValues$
|
|
5924
|
+
var __defProp$f = Object.defineProperty;
|
|
5925
|
+
var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
|
|
5926
|
+
var __hasOwnProp$f = Object.prototype.hasOwnProperty;
|
|
5927
|
+
var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
|
|
5928
|
+
var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5929
|
+
var __spreadValues$f = (a, b) => {
|
|
5860
5930
|
for (var prop in b || (b = {}))
|
|
5861
|
-
if (__hasOwnProp$
|
|
5862
|
-
__defNormalProp$
|
|
5863
|
-
if (__getOwnPropSymbols$
|
|
5864
|
-
for (var prop of __getOwnPropSymbols$
|
|
5865
|
-
if (__propIsEnum$
|
|
5866
|
-
__defNormalProp$
|
|
5931
|
+
if (__hasOwnProp$f.call(b, prop))
|
|
5932
|
+
__defNormalProp$f(a, prop, b[prop]);
|
|
5933
|
+
if (__getOwnPropSymbols$f)
|
|
5934
|
+
for (var prop of __getOwnPropSymbols$f(b)) {
|
|
5935
|
+
if (__propIsEnum$f.call(b, prop))
|
|
5936
|
+
__defNormalProp$f(a, prop, b[prop]);
|
|
5867
5937
|
}
|
|
5868
5938
|
return a;
|
|
5869
5939
|
};
|
|
5870
|
-
const Progress = (props) => /* @__PURE__ */ React__default.createElement(Progress$1, __spreadValues$
|
|
5940
|
+
const Progress = (props) => /* @__PURE__ */ React__default.createElement(Progress$1, __spreadValues$f({}, props));
|
|
5871
5941
|
|
|
5872
|
-
var __defProp$
|
|
5873
|
-
var __getOwnPropSymbols$
|
|
5874
|
-
var __hasOwnProp$
|
|
5875
|
-
var __propIsEnum$
|
|
5876
|
-
var __defNormalProp$
|
|
5942
|
+
var __defProp$e = Object.defineProperty;
|
|
5943
|
+
var __getOwnPropSymbols$e = Object.getOwnPropertySymbols;
|
|
5944
|
+
var __hasOwnProp$e = Object.prototype.hasOwnProperty;
|
|
5945
|
+
var __propIsEnum$e = Object.prototype.propertyIsEnumerable;
|
|
5946
|
+
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, {
|
|
5877
5947
|
enumerable: true,
|
|
5878
5948
|
configurable: true,
|
|
5879
5949
|
writable: true,
|
|
5880
5950
|
value
|
|
5881
5951
|
}) : obj[key] = value;
|
|
5882
|
-
var __spreadValues$
|
|
5883
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
5884
|
-
if (__getOwnPropSymbols$
|
|
5885
|
-
if (__propIsEnum$
|
|
5952
|
+
var __spreadValues$e = (a, b) => {
|
|
5953
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$e.call(b, prop)) __defNormalProp$e(a, prop, b[prop]);
|
|
5954
|
+
if (__getOwnPropSymbols$e) for (var prop of __getOwnPropSymbols$e(b)) {
|
|
5955
|
+
if (__propIsEnum$e.call(b, prop)) __defNormalProp$e(a, prop, b[prop]);
|
|
5886
5956
|
}
|
|
5887
5957
|
return a;
|
|
5888
5958
|
};
|
|
5889
5959
|
var __objRest$4 = (source, exclude) => {
|
|
5890
5960
|
var target = {};
|
|
5891
|
-
for (var prop in source) if (__hasOwnProp$
|
|
5892
|
-
if (source != null && __getOwnPropSymbols$
|
|
5893
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
5961
|
+
for (var prop in source) if (__hasOwnProp$e.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
5962
|
+
if (source != null && __getOwnPropSymbols$e) for (var prop of __getOwnPropSymbols$e(source)) {
|
|
5963
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$e.call(source, prop)) target[prop] = source[prop];
|
|
5894
5964
|
}
|
|
5895
5965
|
return target;
|
|
5896
5966
|
};
|
|
@@ -5916,7 +5986,7 @@ const Radio = _a => {
|
|
|
5916
5986
|
className: cx("radio-description", Typo.Label.l4_regular)
|
|
5917
5987
|
}, description));
|
|
5918
5988
|
}
|
|
5919
|
-
return /* @__PURE__ */React__default.createElement(React__default.Fragment, null, /* @__PURE__ */React__default.createElement(Radio$1, __spreadValues$
|
|
5989
|
+
return /* @__PURE__ */React__default.createElement(React__default.Fragment, null, /* @__PURE__ */React__default.createElement(Radio$1, __spreadValues$e({
|
|
5920
5990
|
className: cx(className, RadioStyle, compact && "compact"),
|
|
5921
5991
|
checked: checked || false,
|
|
5922
5992
|
"data-test": context.name ? `${context.name}-${String(props.value)}` : String(props.value)
|
|
@@ -5934,7 +6004,7 @@ const RadioGroup = _c => {
|
|
|
5934
6004
|
disabled: props.disabled,
|
|
5935
6005
|
name: props.name
|
|
5936
6006
|
}
|
|
5937
|
-
}, /* @__PURE__ */React__default.createElement(Radio$1.Group, __spreadValues$
|
|
6007
|
+
}, /* @__PURE__ */React__default.createElement(Radio$1.Group, __spreadValues$e({
|
|
5938
6008
|
className: cx(className, RadioGroupStyle)
|
|
5939
6009
|
}, props), children ? children : null));
|
|
5940
6010
|
};
|
|
@@ -5990,36 +6060,36 @@ const RadioButton = _e => {
|
|
|
5990
6060
|
className: "ant-radio-button-input-label"
|
|
5991
6061
|
}, typeof children === "string" ? children : ""));
|
|
5992
6062
|
};
|
|
5993
|
-
return /* @__PURE__ */React__default.createElement(Radio$1.Button, __spreadValues$
|
|
6063
|
+
return /* @__PURE__ */React__default.createElement(Radio$1.Button, __spreadValues$e({
|
|
5994
6064
|
className: cx(className, RadioButtonStyle),
|
|
5995
6065
|
value: radioButtonValue
|
|
5996
6066
|
}, props), renderChildren());
|
|
5997
6067
|
};
|
|
5998
6068
|
|
|
5999
|
-
var __defProp$
|
|
6000
|
-
var __getOwnPropSymbols$
|
|
6001
|
-
var __hasOwnProp$
|
|
6002
|
-
var __propIsEnum$
|
|
6003
|
-
var __defNormalProp$
|
|
6004
|
-
var __spreadValues$
|
|
6069
|
+
var __defProp$d = Object.defineProperty;
|
|
6070
|
+
var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
|
|
6071
|
+
var __hasOwnProp$d = Object.prototype.hasOwnProperty;
|
|
6072
|
+
var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
|
|
6073
|
+
var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6074
|
+
var __spreadValues$d = (a, b) => {
|
|
6005
6075
|
for (var prop in b || (b = {}))
|
|
6006
|
-
if (__hasOwnProp$
|
|
6007
|
-
__defNormalProp$
|
|
6008
|
-
if (__getOwnPropSymbols$
|
|
6009
|
-
for (var prop of __getOwnPropSymbols$
|
|
6010
|
-
if (__propIsEnum$
|
|
6011
|
-
__defNormalProp$
|
|
6076
|
+
if (__hasOwnProp$d.call(b, prop))
|
|
6077
|
+
__defNormalProp$d(a, prop, b[prop]);
|
|
6078
|
+
if (__getOwnPropSymbols$d)
|
|
6079
|
+
for (var prop of __getOwnPropSymbols$d(b)) {
|
|
6080
|
+
if (__propIsEnum$d.call(b, prop))
|
|
6081
|
+
__defNormalProp$d(a, prop, b[prop]);
|
|
6012
6082
|
}
|
|
6013
6083
|
return a;
|
|
6014
6084
|
};
|
|
6015
6085
|
var __objRest$3 = (source, exclude) => {
|
|
6016
6086
|
var target = {};
|
|
6017
6087
|
for (var prop in source)
|
|
6018
|
-
if (__hasOwnProp$
|
|
6088
|
+
if (__hasOwnProp$d.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
6019
6089
|
target[prop] = source[prop];
|
|
6020
|
-
if (source != null && __getOwnPropSymbols$
|
|
6021
|
-
for (var prop of __getOwnPropSymbols$
|
|
6022
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
6090
|
+
if (source != null && __getOwnPropSymbols$d)
|
|
6091
|
+
for (var prop of __getOwnPropSymbols$d(source)) {
|
|
6092
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$d.call(source, prop))
|
|
6023
6093
|
target[prop] = source[prop];
|
|
6024
6094
|
}
|
|
6025
6095
|
return target;
|
|
@@ -6029,7 +6099,7 @@ const SearchInput = (props) => {
|
|
|
6029
6099
|
const onSearch = _.debounce(onChange, debounceWait);
|
|
6030
6100
|
return /* @__PURE__ */ React__default.createElement(
|
|
6031
6101
|
Input,
|
|
6032
|
-
__spreadValues$
|
|
6102
|
+
__spreadValues$d({
|
|
6033
6103
|
style: { width: 276 },
|
|
6034
6104
|
prefix: /* @__PURE__ */ React__default.createElement(SearchOutlined, null),
|
|
6035
6105
|
onChange: (e) => onSearch(e.target.value)
|
|
@@ -6113,31 +6183,31 @@ const SimplePagination = props => {
|
|
|
6113
6183
|
})));
|
|
6114
6184
|
};
|
|
6115
6185
|
|
|
6116
|
-
var __defProp$
|
|
6186
|
+
var __defProp$c = Object.defineProperty;
|
|
6117
6187
|
var __defProps$b = Object.defineProperties;
|
|
6118
6188
|
var __getOwnPropDescs$b = Object.getOwnPropertyDescriptors;
|
|
6119
|
-
var __getOwnPropSymbols$
|
|
6120
|
-
var __hasOwnProp$
|
|
6121
|
-
var __propIsEnum$
|
|
6122
|
-
var __defNormalProp$
|
|
6189
|
+
var __getOwnPropSymbols$c = Object.getOwnPropertySymbols;
|
|
6190
|
+
var __hasOwnProp$c = Object.prototype.hasOwnProperty;
|
|
6191
|
+
var __propIsEnum$c = Object.prototype.propertyIsEnumerable;
|
|
6192
|
+
var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, {
|
|
6123
6193
|
enumerable: true,
|
|
6124
6194
|
configurable: true,
|
|
6125
6195
|
writable: true,
|
|
6126
6196
|
value
|
|
6127
6197
|
}) : obj[key] = value;
|
|
6128
|
-
var __spreadValues$
|
|
6129
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
6130
|
-
if (__getOwnPropSymbols$
|
|
6131
|
-
if (__propIsEnum$
|
|
6198
|
+
var __spreadValues$c = (a, b) => {
|
|
6199
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$c.call(b, prop)) __defNormalProp$c(a, prop, b[prop]);
|
|
6200
|
+
if (__getOwnPropSymbols$c) for (var prop of __getOwnPropSymbols$c(b)) {
|
|
6201
|
+
if (__propIsEnum$c.call(b, prop)) __defNormalProp$c(a, prop, b[prop]);
|
|
6132
6202
|
}
|
|
6133
6203
|
return a;
|
|
6134
6204
|
};
|
|
6135
6205
|
var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
|
|
6136
6206
|
var __objRest$2 = (source, exclude) => {
|
|
6137
6207
|
var target = {};
|
|
6138
|
-
for (var prop in source) if (__hasOwnProp$
|
|
6139
|
-
if (source != null && __getOwnPropSymbols$
|
|
6140
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
6208
|
+
for (var prop in source) if (__hasOwnProp$c.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
6209
|
+
if (source != null && __getOwnPropSymbols$c) for (var prop of __getOwnPropSymbols$c(source)) {
|
|
6210
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$c.call(source, prop)) target[prop] = source[prop];
|
|
6141
6211
|
}
|
|
6142
6212
|
return target;
|
|
6143
6213
|
};
|
|
@@ -6182,7 +6252,7 @@ const StatusCapsule = _a => {
|
|
|
6182
6252
|
} = _b,
|
|
6183
6253
|
props = __objRest$2(_b, ["color", "className", "loading", "hoverable", "children", "offWhiteMode", "number"]);
|
|
6184
6254
|
const computedColor = ColorMap[color] || color;
|
|
6185
|
-
return /* @__PURE__ */React__default.createElement(Tag$1, __spreadProps$b(__spreadValues$
|
|
6255
|
+
return /* @__PURE__ */React__default.createElement(Tag$1, __spreadProps$b(__spreadValues$c({}, props), {
|
|
6186
6256
|
className: cs(className, StatusCapsuleStyle, Typo.Label.l4_regular, "ui-kit-status-capsule", {
|
|
6187
6257
|
[`ant-tag-${computedColor}`]: PresetColors$1.includes(computedColor),
|
|
6188
6258
|
"tag-hover": hoverable,
|
|
@@ -6275,22 +6345,22 @@ const ColumnTitle = props => {
|
|
|
6275
6345
|
}));
|
|
6276
6346
|
};
|
|
6277
6347
|
|
|
6278
|
-
var __defProp$
|
|
6348
|
+
var __defProp$b = Object.defineProperty;
|
|
6279
6349
|
var __defProps$a = Object.defineProperties;
|
|
6280
6350
|
var __getOwnPropDescs$a = Object.getOwnPropertyDescriptors;
|
|
6281
|
-
var __getOwnPropSymbols$
|
|
6282
|
-
var __hasOwnProp$
|
|
6283
|
-
var __propIsEnum$
|
|
6284
|
-
var __defNormalProp$
|
|
6351
|
+
var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
|
|
6352
|
+
var __hasOwnProp$b = Object.prototype.hasOwnProperty;
|
|
6353
|
+
var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
|
|
6354
|
+
var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, {
|
|
6285
6355
|
enumerable: true,
|
|
6286
6356
|
configurable: true,
|
|
6287
6357
|
writable: true,
|
|
6288
6358
|
value
|
|
6289
6359
|
}) : obj[key] = value;
|
|
6290
|
-
var __spreadValues$
|
|
6291
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
6292
|
-
if (__getOwnPropSymbols$
|
|
6293
|
-
if (__propIsEnum$
|
|
6360
|
+
var __spreadValues$b = (a, b) => {
|
|
6361
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$b.call(b, prop)) __defNormalProp$b(a, prop, b[prop]);
|
|
6362
|
+
if (__getOwnPropSymbols$b) for (var prop of __getOwnPropSymbols$b(b)) {
|
|
6363
|
+
if (__propIsEnum$b.call(b, prop)) __defNormalProp$b(a, prop, b[prop]);
|
|
6294
6364
|
}
|
|
6295
6365
|
return a;
|
|
6296
6366
|
};
|
|
@@ -6321,7 +6391,7 @@ const Table = props => {
|
|
|
6321
6391
|
const orderRef = useRef(null);
|
|
6322
6392
|
const hasScrollBard = useTableBodyHasScrollBar(wrapper, dataSource);
|
|
6323
6393
|
const _columns = useMemo(() => columns.map(column => {
|
|
6324
|
-
const _column = __spreadValues$
|
|
6394
|
+
const _column = __spreadValues$b({}, column);
|
|
6325
6395
|
if (_column.sorter && typeof _column.title !== "function") {
|
|
6326
6396
|
_column.title = /* @__PURE__ */React__default.createElement(ColumnTitle, {
|
|
6327
6397
|
title: column.title,
|
|
@@ -6358,12 +6428,12 @@ const Table = props => {
|
|
|
6358
6428
|
onSorterChange == null ? void 0 : onSorterChange(orderRef.current, sorter.columnKey);
|
|
6359
6429
|
}
|
|
6360
6430
|
},
|
|
6361
|
-
onRow: (record, index) => __spreadValues$
|
|
6431
|
+
onRow: (record, index) => __spreadValues$b({
|
|
6362
6432
|
onClick: evt => onRowClick == null ? void 0 : onRowClick(record, index, evt)
|
|
6363
6433
|
}, onRow == null ? void 0 : onRow(record, index)),
|
|
6364
6434
|
rowClassName,
|
|
6365
6435
|
scroll,
|
|
6366
|
-
rowSelection: rowSelection && __spreadProps$a(__spreadValues$
|
|
6436
|
+
rowSelection: rowSelection && __spreadProps$a(__spreadValues$b({}, rowSelection), {
|
|
6367
6437
|
columnWidth: 32
|
|
6368
6438
|
}),
|
|
6369
6439
|
showSorterTooltip: false
|
|
@@ -6425,21 +6495,21 @@ const moveItemInArray = (array, fromIndex, toIndex) => {
|
|
|
6425
6495
|
return sortArr;
|
|
6426
6496
|
};
|
|
6427
6497
|
|
|
6428
|
-
var __defProp$
|
|
6498
|
+
var __defProp$a = Object.defineProperty;
|
|
6429
6499
|
var __defProps$9 = Object.defineProperties;
|
|
6430
6500
|
var __getOwnPropDescs$9 = Object.getOwnPropertyDescriptors;
|
|
6431
|
-
var __getOwnPropSymbols$
|
|
6432
|
-
var __hasOwnProp$
|
|
6433
|
-
var __propIsEnum$
|
|
6434
|
-
var __defNormalProp$
|
|
6435
|
-
var __spreadValues$
|
|
6501
|
+
var __getOwnPropSymbols$a = Object.getOwnPropertySymbols;
|
|
6502
|
+
var __hasOwnProp$a = Object.prototype.hasOwnProperty;
|
|
6503
|
+
var __propIsEnum$a = Object.prototype.propertyIsEnumerable;
|
|
6504
|
+
var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6505
|
+
var __spreadValues$a = (a, b) => {
|
|
6436
6506
|
for (var prop in b || (b = {}))
|
|
6437
|
-
if (__hasOwnProp$
|
|
6438
|
-
__defNormalProp$
|
|
6439
|
-
if (__getOwnPropSymbols$
|
|
6440
|
-
for (var prop of __getOwnPropSymbols$
|
|
6441
|
-
if (__propIsEnum$
|
|
6442
|
-
__defNormalProp$
|
|
6507
|
+
if (__hasOwnProp$a.call(b, prop))
|
|
6508
|
+
__defNormalProp$a(a, prop, b[prop]);
|
|
6509
|
+
if (__getOwnPropSymbols$a)
|
|
6510
|
+
for (var prop of __getOwnPropSymbols$a(b)) {
|
|
6511
|
+
if (__propIsEnum$a.call(b, prop))
|
|
6512
|
+
__defNormalProp$a(a, prop, b[prop]);
|
|
6443
6513
|
}
|
|
6444
6514
|
return a;
|
|
6445
6515
|
};
|
|
@@ -6447,11 +6517,11 @@ var __spreadProps$9 = (a, b) => __defProps$9(a, __getOwnPropDescs$9(b));
|
|
|
6447
6517
|
var __objRest$1 = (source, exclude) => {
|
|
6448
6518
|
var target = {};
|
|
6449
6519
|
for (var prop in source)
|
|
6450
|
-
if (__hasOwnProp$
|
|
6520
|
+
if (__hasOwnProp$a.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
6451
6521
|
target[prop] = source[prop];
|
|
6452
|
-
if (source != null && __getOwnPropSymbols$
|
|
6453
|
-
for (var prop of __getOwnPropSymbols$
|
|
6454
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
6522
|
+
if (source != null && __getOwnPropSymbols$a)
|
|
6523
|
+
for (var prop of __getOwnPropSymbols$a(source)) {
|
|
6524
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$a.call(source, prop))
|
|
6455
6525
|
target[prop] = source[prop];
|
|
6456
6526
|
}
|
|
6457
6527
|
return target;
|
|
@@ -6492,9 +6562,9 @@ const AddRowButton = (props) => {
|
|
|
6492
6562
|
if (!columns.length) {
|
|
6493
6563
|
return null;
|
|
6494
6564
|
}
|
|
6495
|
-
return CustomizedButton ? /* @__PURE__ */ React__default.createElement(CustomizedButton, __spreadValues$
|
|
6565
|
+
return CustomizedButton ? /* @__PURE__ */ React__default.createElement(CustomizedButton, __spreadValues$a({}, props)) : /* @__PURE__ */ React__default.createElement(AddRowButtonWrapper, { className }, /* @__PURE__ */ React__default.createElement(
|
|
6496
6566
|
Button,
|
|
6497
|
-
__spreadProps$9(__spreadValues$
|
|
6567
|
+
__spreadProps$9(__spreadValues$a({}, restButtonProps), {
|
|
6498
6568
|
type: restButtonProps.type || "ordinary",
|
|
6499
6569
|
size: restButtonProps.size || "small",
|
|
6500
6570
|
prefixIcon: restButtonProps.prefixIcon || /* @__PURE__ */ React__default.createElement(PlusAddCreateNew16SecondaryIcon, null),
|
|
@@ -6589,21 +6659,21 @@ const CheckboxColumnBodyCell = ({ data, column, index, onChange }) => {
|
|
|
6589
6659
|
);
|
|
6590
6660
|
};
|
|
6591
6661
|
|
|
6592
|
-
var __defProp$
|
|
6662
|
+
var __defProp$9 = Object.defineProperty;
|
|
6593
6663
|
var __defProps$8 = Object.defineProperties;
|
|
6594
6664
|
var __getOwnPropDescs$8 = Object.getOwnPropertyDescriptors;
|
|
6595
|
-
var __getOwnPropSymbols$
|
|
6596
|
-
var __hasOwnProp$
|
|
6597
|
-
var __propIsEnum$
|
|
6598
|
-
var __defNormalProp$
|
|
6599
|
-
var __spreadValues$
|
|
6665
|
+
var __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;
|
|
6666
|
+
var __hasOwnProp$9 = Object.prototype.hasOwnProperty;
|
|
6667
|
+
var __propIsEnum$9 = Object.prototype.propertyIsEnumerable;
|
|
6668
|
+
var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6669
|
+
var __spreadValues$9 = (a, b) => {
|
|
6600
6670
|
for (var prop in b || (b = {}))
|
|
6601
|
-
if (__hasOwnProp$
|
|
6602
|
-
__defNormalProp$
|
|
6603
|
-
if (__getOwnPropSymbols$
|
|
6604
|
-
for (var prop of __getOwnPropSymbols$
|
|
6605
|
-
if (__propIsEnum$
|
|
6606
|
-
__defNormalProp$
|
|
6671
|
+
if (__hasOwnProp$9.call(b, prop))
|
|
6672
|
+
__defNormalProp$9(a, prop, b[prop]);
|
|
6673
|
+
if (__getOwnPropSymbols$9)
|
|
6674
|
+
for (var prop of __getOwnPropSymbols$9(b)) {
|
|
6675
|
+
if (__propIsEnum$9.call(b, prop))
|
|
6676
|
+
__defNormalProp$9(a, prop, b[prop]);
|
|
6607
6677
|
}
|
|
6608
6678
|
return a;
|
|
6609
6679
|
};
|
|
@@ -6623,7 +6693,7 @@ const InputPassword = (props) => {
|
|
|
6623
6693
|
const inputType = showPassword ? "text" : "password";
|
|
6624
6694
|
return /* @__PURE__ */ React__default.createElement(
|
|
6625
6695
|
Input,
|
|
6626
|
-
__spreadProps$8(__spreadValues$
|
|
6696
|
+
__spreadProps$8(__spreadValues$9({}, props), {
|
|
6627
6697
|
type: inputType,
|
|
6628
6698
|
suffix: showPassword ? /* @__PURE__ */ React__default.createElement(
|
|
6629
6699
|
EyeOutlined,
|
|
@@ -6643,9 +6713,9 @@ const InputPassword = (props) => {
|
|
|
6643
6713
|
};
|
|
6644
6714
|
const CustomInput = (props) => {
|
|
6645
6715
|
if (props.type === "password") {
|
|
6646
|
-
return /* @__PURE__ */ React__default.createElement(InputPassword, __spreadValues$
|
|
6716
|
+
return /* @__PURE__ */ React__default.createElement(InputPassword, __spreadValues$9({}, props));
|
|
6647
6717
|
}
|
|
6648
|
-
return /* @__PURE__ */ React__default.createElement(Input, __spreadValues$
|
|
6718
|
+
return /* @__PURE__ */ React__default.createElement(Input, __spreadValues$9({}, props));
|
|
6649
6719
|
};
|
|
6650
6720
|
const InputColumnHeaderCell = ({ disabled, column, onChange, onBlur, onVisibleChange }) => {
|
|
6651
6721
|
const _onChange = (e) => {
|
|
@@ -6769,21 +6839,21 @@ var ValidateTriggerType = /* @__PURE__ */ ((ValidateTriggerType2) => {
|
|
|
6769
6839
|
return ValidateTriggerType2;
|
|
6770
6840
|
})(ValidateTriggerType || {});
|
|
6771
6841
|
|
|
6772
|
-
var __defProp$
|
|
6842
|
+
var __defProp$8 = Object.defineProperty;
|
|
6773
6843
|
var __defProps$7 = Object.defineProperties;
|
|
6774
6844
|
var __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;
|
|
6775
|
-
var __getOwnPropSymbols$
|
|
6776
|
-
var __hasOwnProp$
|
|
6777
|
-
var __propIsEnum$
|
|
6778
|
-
var __defNormalProp$
|
|
6779
|
-
var __spreadValues$
|
|
6845
|
+
var __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;
|
|
6846
|
+
var __hasOwnProp$8 = Object.prototype.hasOwnProperty;
|
|
6847
|
+
var __propIsEnum$8 = Object.prototype.propertyIsEnumerable;
|
|
6848
|
+
var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6849
|
+
var __spreadValues$8 = (a, b) => {
|
|
6780
6850
|
for (var prop in b || (b = {}))
|
|
6781
|
-
if (__hasOwnProp$
|
|
6782
|
-
__defNormalProp$
|
|
6783
|
-
if (__getOwnPropSymbols$
|
|
6784
|
-
for (var prop of __getOwnPropSymbols$
|
|
6785
|
-
if (__propIsEnum$
|
|
6786
|
-
__defNormalProp$
|
|
6851
|
+
if (__hasOwnProp$8.call(b, prop))
|
|
6852
|
+
__defNormalProp$8(a, prop, b[prop]);
|
|
6853
|
+
if (__getOwnPropSymbols$8)
|
|
6854
|
+
for (var prop of __getOwnPropSymbols$8(b)) {
|
|
6855
|
+
if (__propIsEnum$8.call(b, prop))
|
|
6856
|
+
__defNormalProp$8(a, prop, b[prop]);
|
|
6787
6857
|
}
|
|
6788
6858
|
return a;
|
|
6789
6859
|
};
|
|
@@ -6820,7 +6890,7 @@ const TableFormBodyCell = (props) => {
|
|
|
6820
6890
|
(currentValue) => {
|
|
6821
6891
|
var _a;
|
|
6822
6892
|
const value = currentValue != null ? currentValue : data[rowIndex][column.key];
|
|
6823
|
-
const rowData = __spreadProps$7(__spreadValues$
|
|
6893
|
+
const rowData = __spreadProps$7(__spreadValues$8({}, data[rowIndex]), { [column.key]: value });
|
|
6824
6894
|
const rowValidateRes = getRowValidateResult(rowData);
|
|
6825
6895
|
if (rowValidateRes) {
|
|
6826
6896
|
return;
|
|
@@ -6846,7 +6916,7 @@ const TableFormBodyCell = (props) => {
|
|
|
6846
6916
|
}, [validateAll, triggerValidate, setIsTouched]);
|
|
6847
6917
|
const _onChange = (value, data2) => {
|
|
6848
6918
|
const newData = data2.map(
|
|
6849
|
-
(row, i) => i === rowIndex ? __spreadProps$7(__spreadValues$
|
|
6919
|
+
(row, i) => i === rowIndex ? __spreadProps$7(__spreadValues$8({}, row), { [column.key]: value }) : row
|
|
6850
6920
|
);
|
|
6851
6921
|
onChange == null ? void 0 : onChange(newData, rowIndex, column.key);
|
|
6852
6922
|
if (validateTriggerType === ValidateTriggerType.Normal && isTouched || validateTriggerType === ValidateTriggerType.Aggressive) {
|
|
@@ -6924,21 +6994,21 @@ const TableFormBodyCell = (props) => {
|
|
|
6924
6994
|
);
|
|
6925
6995
|
};
|
|
6926
6996
|
|
|
6927
|
-
var __defProp$
|
|
6997
|
+
var __defProp$7 = Object.defineProperty;
|
|
6928
6998
|
var __defProps$6 = Object.defineProperties;
|
|
6929
6999
|
var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
|
|
6930
|
-
var __getOwnPropSymbols$
|
|
6931
|
-
var __hasOwnProp$
|
|
6932
|
-
var __propIsEnum$
|
|
6933
|
-
var __defNormalProp$
|
|
6934
|
-
var __spreadValues$
|
|
7000
|
+
var __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;
|
|
7001
|
+
var __hasOwnProp$7 = Object.prototype.hasOwnProperty;
|
|
7002
|
+
var __propIsEnum$7 = Object.prototype.propertyIsEnumerable;
|
|
7003
|
+
var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7004
|
+
var __spreadValues$7 = (a, b) => {
|
|
6935
7005
|
for (var prop in b || (b = {}))
|
|
6936
|
-
if (__hasOwnProp$
|
|
6937
|
-
__defNormalProp$
|
|
6938
|
-
if (__getOwnPropSymbols$
|
|
6939
|
-
for (var prop of __getOwnPropSymbols$
|
|
6940
|
-
if (__propIsEnum$
|
|
6941
|
-
__defNormalProp$
|
|
7006
|
+
if (__hasOwnProp$7.call(b, prop))
|
|
7007
|
+
__defNormalProp$7(a, prop, b[prop]);
|
|
7008
|
+
if (__getOwnPropSymbols$7)
|
|
7009
|
+
for (var prop of __getOwnPropSymbols$7(b)) {
|
|
7010
|
+
if (__propIsEnum$7.call(b, prop))
|
|
7011
|
+
__defNormalProp$7(a, prop, b[prop]);
|
|
6942
7012
|
}
|
|
6943
7013
|
return a;
|
|
6944
7014
|
};
|
|
@@ -7035,7 +7105,7 @@ const TableFormRow = (props) => {
|
|
|
7035
7105
|
);
|
|
7036
7106
|
});
|
|
7037
7107
|
const DraggableHandle = useMemo(
|
|
7038
|
-
() => draggable && provided ? /* @__PURE__ */ React__default.createElement(DraggableHandleWrapper, __spreadValues$
|
|
7108
|
+
() => draggable && provided ? /* @__PURE__ */ React__default.createElement(DraggableHandleWrapper, __spreadValues$7({}, provided.dragHandleProps), /* @__PURE__ */ React__default.createElement(
|
|
7039
7109
|
Icon,
|
|
7040
7110
|
{
|
|
7041
7111
|
src: HandlePoint816SecondaryIcon,
|
|
@@ -7097,7 +7167,7 @@ const TableFormBodyRows = memo((props) => {
|
|
|
7097
7167
|
);
|
|
7098
7168
|
return draggable ? /* @__PURE__ */ React__default.createElement(DragDropContext, { onDragEnd }, /* @__PURE__ */ React__default.createElement(Droppable, { droppableId: "droppable" }, (provided) => /* @__PURE__ */ React__default.createElement(
|
|
7099
7169
|
"div",
|
|
7100
|
-
__spreadValues$
|
|
7170
|
+
__spreadValues$7({
|
|
7101
7171
|
className: "draggable-container",
|
|
7102
7172
|
ref: provided.innerRef
|
|
7103
7173
|
}, provided.droppableProps),
|
|
@@ -7108,9 +7178,9 @@ const TableFormBodyRows = memo((props) => {
|
|
|
7108
7178
|
key: `draggable-id-${i}`,
|
|
7109
7179
|
index: i
|
|
7110
7180
|
},
|
|
7111
|
-
(provided2, snapshot) => /* @__PURE__ */ React__default.createElement("div", __spreadValues$
|
|
7181
|
+
(provided2, snapshot) => /* @__PURE__ */ React__default.createElement("div", __spreadValues$7({ ref: provided2.innerRef }, provided2.draggableProps), /* @__PURE__ */ React__default.createElement(
|
|
7112
7182
|
TableFormRow,
|
|
7113
|
-
__spreadProps$6(__spreadValues$
|
|
7183
|
+
__spreadProps$6(__spreadValues$7({}, props), {
|
|
7114
7184
|
rowIndex: i,
|
|
7115
7185
|
provided: provided2,
|
|
7116
7186
|
snapshot
|
|
@@ -7118,24 +7188,24 @@ const TableFormBodyRows = memo((props) => {
|
|
|
7118
7188
|
))
|
|
7119
7189
|
)),
|
|
7120
7190
|
provided.placeholder
|
|
7121
|
-
))) : /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, data.map((_d, i) => /* @__PURE__ */ React__default.createElement(TableFormRow, __spreadProps$6(__spreadValues$
|
|
7191
|
+
))) : /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, data.map((_d, i) => /* @__PURE__ */ React__default.createElement(TableFormRow, __spreadProps$6(__spreadValues$7({}, props), { rowIndex: i, key: `table-row-${i}` }))));
|
|
7122
7192
|
});
|
|
7123
7193
|
|
|
7124
|
-
var __defProp$
|
|
7194
|
+
var __defProp$6 = Object.defineProperty;
|
|
7125
7195
|
var __defProps$5 = Object.defineProperties;
|
|
7126
7196
|
var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
|
|
7127
|
-
var __getOwnPropSymbols$
|
|
7128
|
-
var __hasOwnProp$
|
|
7129
|
-
var __propIsEnum$
|
|
7130
|
-
var __defNormalProp$
|
|
7131
|
-
var __spreadValues$
|
|
7197
|
+
var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
|
|
7198
|
+
var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
|
|
7199
|
+
var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
|
|
7200
|
+
var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7201
|
+
var __spreadValues$6 = (a, b) => {
|
|
7132
7202
|
for (var prop in b || (b = {}))
|
|
7133
|
-
if (__hasOwnProp$
|
|
7134
|
-
__defNormalProp$
|
|
7135
|
-
if (__getOwnPropSymbols$
|
|
7136
|
-
for (var prop of __getOwnPropSymbols$
|
|
7137
|
-
if (__propIsEnum$
|
|
7138
|
-
__defNormalProp$
|
|
7203
|
+
if (__hasOwnProp$6.call(b, prop))
|
|
7204
|
+
__defNormalProp$6(a, prop, b[prop]);
|
|
7205
|
+
if (__getOwnPropSymbols$6)
|
|
7206
|
+
for (var prop of __getOwnPropSymbols$6(b)) {
|
|
7207
|
+
if (__propIsEnum$6.call(b, prop))
|
|
7208
|
+
__defNormalProp$6(a, prop, b[prop]);
|
|
7139
7209
|
}
|
|
7140
7210
|
return a;
|
|
7141
7211
|
};
|
|
@@ -7151,7 +7221,7 @@ const BatchInputListHeaderCell = (props) => {
|
|
|
7151
7221
|
setErrMsg(err || void 0);
|
|
7152
7222
|
const shouldAutoIncrease = column.type !== "password" && column.autoIncrease;
|
|
7153
7223
|
const newData = data.map((cell, rowIndex) => {
|
|
7154
|
-
return __spreadProps$5(__spreadValues$
|
|
7224
|
+
return __spreadProps$5(__spreadValues$6({}, cell), {
|
|
7155
7225
|
[column.key]: shouldAutoIncrease && typeof value === "string" ? increaseLastNumber(value, rowIndex) : value
|
|
7156
7226
|
});
|
|
7157
7227
|
});
|
|
@@ -7168,7 +7238,7 @@ const BatchInputListHeaderCell = (props) => {
|
|
|
7168
7238
|
const CellComponent = ColumnHeaderImpls[column.type];
|
|
7169
7239
|
return /* @__PURE__ */ React__default.createElement(
|
|
7170
7240
|
CellComponent,
|
|
7171
|
-
__spreadProps$5(__spreadValues$
|
|
7241
|
+
__spreadProps$5(__spreadValues$6({}, props), {
|
|
7172
7242
|
column,
|
|
7173
7243
|
onChange: headerOnChange,
|
|
7174
7244
|
onBlur: _onBlur
|
|
@@ -7203,21 +7273,21 @@ const BatchInputListHeaderCell = (props) => {
|
|
|
7203
7273
|
);
|
|
7204
7274
|
};
|
|
7205
7275
|
|
|
7206
|
-
var __defProp$
|
|
7276
|
+
var __defProp$5 = Object.defineProperty;
|
|
7207
7277
|
var __defProps$4 = Object.defineProperties;
|
|
7208
7278
|
var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
|
|
7209
|
-
var __getOwnPropSymbols$
|
|
7210
|
-
var __hasOwnProp$
|
|
7211
|
-
var __propIsEnum$
|
|
7212
|
-
var __defNormalProp$
|
|
7213
|
-
var __spreadValues$
|
|
7279
|
+
var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;
|
|
7280
|
+
var __hasOwnProp$5 = Object.prototype.hasOwnProperty;
|
|
7281
|
+
var __propIsEnum$5 = Object.prototype.propertyIsEnumerable;
|
|
7282
|
+
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7283
|
+
var __spreadValues$5 = (a, b) => {
|
|
7214
7284
|
for (var prop in b || (b = {}))
|
|
7215
|
-
if (__hasOwnProp$
|
|
7216
|
-
__defNormalProp$
|
|
7217
|
-
if (__getOwnPropSymbols$
|
|
7218
|
-
for (var prop of __getOwnPropSymbols$
|
|
7219
|
-
if (__propIsEnum$
|
|
7220
|
-
__defNormalProp$
|
|
7285
|
+
if (__hasOwnProp$5.call(b, prop))
|
|
7286
|
+
__defNormalProp$5(a, prop, b[prop]);
|
|
7287
|
+
if (__getOwnPropSymbols$5)
|
|
7288
|
+
for (var prop of __getOwnPropSymbols$5(b)) {
|
|
7289
|
+
if (__propIsEnum$5.call(b, prop))
|
|
7290
|
+
__defNormalProp$5(a, prop, b[prop]);
|
|
7221
7291
|
}
|
|
7222
7292
|
return a;
|
|
7223
7293
|
};
|
|
@@ -7283,7 +7353,7 @@ const TableForm = React__default.forwardRef(
|
|
|
7283
7353
|
(key, error) => {
|
|
7284
7354
|
if (error) {
|
|
7285
7355
|
const newData = latestData.map((cell) => {
|
|
7286
|
-
return __spreadProps$4(__spreadValues$
|
|
7356
|
+
return __spreadProps$4(__spreadValues$5({}, cell), {
|
|
7287
7357
|
[key]: ""
|
|
7288
7358
|
});
|
|
7289
7359
|
});
|
|
@@ -7553,31 +7623,31 @@ const TimeZoneOption = ({
|
|
|
7553
7623
|
|
|
7554
7624
|
const IconStyle = "iwsze0q";
|
|
7555
7625
|
|
|
7556
|
-
var __defProp$
|
|
7626
|
+
var __defProp$4 = Object.defineProperty;
|
|
7557
7627
|
var __defProps$3 = Object.defineProperties;
|
|
7558
7628
|
var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
|
|
7559
|
-
var __getOwnPropSymbols$
|
|
7560
|
-
var __hasOwnProp$
|
|
7561
|
-
var __propIsEnum$
|
|
7562
|
-
var __defNormalProp$
|
|
7629
|
+
var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
|
|
7630
|
+
var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
|
|
7631
|
+
var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
|
|
7632
|
+
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, {
|
|
7563
7633
|
enumerable: true,
|
|
7564
7634
|
configurable: true,
|
|
7565
7635
|
writable: true,
|
|
7566
7636
|
value
|
|
7567
7637
|
}) : obj[key] = value;
|
|
7568
|
-
var __spreadValues$
|
|
7569
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
7570
|
-
if (__getOwnPropSymbols$
|
|
7571
|
-
if (__propIsEnum$
|
|
7638
|
+
var __spreadValues$4 = (a, b) => {
|
|
7639
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$4.call(b, prop)) __defNormalProp$4(a, prop, b[prop]);
|
|
7640
|
+
if (__getOwnPropSymbols$4) for (var prop of __getOwnPropSymbols$4(b)) {
|
|
7641
|
+
if (__propIsEnum$4.call(b, prop)) __defNormalProp$4(a, prop, b[prop]);
|
|
7572
7642
|
}
|
|
7573
7643
|
return a;
|
|
7574
7644
|
};
|
|
7575
7645
|
var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
|
|
7576
7646
|
var __objRest = (source, exclude) => {
|
|
7577
7647
|
var target = {};
|
|
7578
|
-
for (var prop in source) if (__hasOwnProp$
|
|
7579
|
-
if (source != null && __getOwnPropSymbols$
|
|
7580
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
7648
|
+
for (var prop in source) if (__hasOwnProp$4.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
7649
|
+
if (source != null && __getOwnPropSymbols$4) for (var prop of __getOwnPropSymbols$4(source)) {
|
|
7650
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$4.call(source, prop)) target[prop] = source[prop];
|
|
7581
7651
|
}
|
|
7582
7652
|
return target;
|
|
7583
7653
|
};
|
|
@@ -7600,14 +7670,14 @@ const Token = React__default.forwardRef((_a, ref) => {
|
|
|
7600
7670
|
tooltipConfig
|
|
7601
7671
|
} = _b,
|
|
7602
7672
|
props = __objRest(_b, ["size", "color", "className", "icon", "checked", "children", "tooltipConfig"]);
|
|
7603
|
-
return /* @__PURE__ */React__default.createElement(Tag$1, __spreadProps$3(__spreadValues$
|
|
7673
|
+
return /* @__PURE__ */React__default.createElement(Tag$1, __spreadProps$3(__spreadValues$4({}, props), {
|
|
7604
7674
|
ref,
|
|
7605
7675
|
className: cs(className, Size[size], TokenStyle, {
|
|
7606
7676
|
[Typo.Label.l4_regular]: size === "small" || size === "medium",
|
|
7607
7677
|
[Typo.Label.l3_regular]: size === "large",
|
|
7608
7678
|
[`ant-tag-${color}`]: PresetColors.includes(color)
|
|
7609
7679
|
}, "ui-kit-token", checked && "ui-kit-token-checked"),
|
|
7610
|
-
closeIcon: /* @__PURE__ */React__default.createElement(Tooltip, __spreadValues$
|
|
7680
|
+
closeIcon: /* @__PURE__ */React__default.createElement(Tooltip, __spreadValues$4({
|
|
7611
7681
|
title: tooltipConfig == null ? void 0 : tooltipConfig.title
|
|
7612
7682
|
}, !(tooltipConfig == null ? void 0 : tooltipConfig.title) && {
|
|
7613
7683
|
visible: false
|
|
@@ -7664,6 +7734,137 @@ const Truncate = props => {
|
|
|
7664
7734
|
}, Text);
|
|
7665
7735
|
};
|
|
7666
7736
|
|
|
7737
|
+
var __defProp$3 = Object.defineProperty;
|
|
7738
|
+
var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
|
|
7739
|
+
var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
|
|
7740
|
+
var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
|
|
7741
|
+
var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, {
|
|
7742
|
+
enumerable: true,
|
|
7743
|
+
configurable: true,
|
|
7744
|
+
writable: true,
|
|
7745
|
+
value
|
|
7746
|
+
}) : obj[key] = value;
|
|
7747
|
+
var __spreadValues$3 = (a, b) => {
|
|
7748
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$3.call(b, prop)) __defNormalProp$3(a, prop, b[prop]);
|
|
7749
|
+
if (__getOwnPropSymbols$3) for (var prop of __getOwnPropSymbols$3(b)) {
|
|
7750
|
+
if (__propIsEnum$3.call(b, prop)) __defNormalProp$3(a, prop, b[prop]);
|
|
7751
|
+
}
|
|
7752
|
+
return a;
|
|
7753
|
+
};
|
|
7754
|
+
const SelectToolbar = "s1ebs0ra";
|
|
7755
|
+
const renderBatchOperationMenuItem = (act, idx = 0) => {
|
|
7756
|
+
if (act === "divider") {
|
|
7757
|
+
return /* @__PURE__ */React__default.createElement(Menu.Divider, {
|
|
7758
|
+
key: `divider-${idx}`
|
|
7759
|
+
});
|
|
7760
|
+
}
|
|
7761
|
+
if ("children" in act) {
|
|
7762
|
+
return /* @__PURE__ */React__default.createElement(Menu.SubMenu, {
|
|
7763
|
+
className: cs(Typo.Label.l4_regular),
|
|
7764
|
+
key: act.key,
|
|
7765
|
+
title: (act == null ? void 0 : act.icon) ? React__default.cloneElement(act.icon, {}, act.title) : /* @__PURE__ */React__default.createElement("span", null, act.title)
|
|
7766
|
+
}, act.children.map(renderBatchOperationMenuItem));
|
|
7767
|
+
}
|
|
7768
|
+
const Inner = props => {
|
|
7769
|
+
return /* @__PURE__ */React__default.createElement("span", __spreadValues$3({}, props), act.icon ? React__default.cloneElement(act.icon, {}, act.title) : null, (act == null ? void 0 : act.count) && /* @__PURE__ */React__default.createElement("span", null, act.count));
|
|
7770
|
+
};
|
|
7771
|
+
return /* @__PURE__ */React__default.createElement(Menu.Item, {
|
|
7772
|
+
key: act.key,
|
|
7773
|
+
onClick: act.onClick,
|
|
7774
|
+
danger: act.danger,
|
|
7775
|
+
disabled: !!(act == null ? void 0 : act.disabled),
|
|
7776
|
+
className: (act == null ? void 0 : act.danger) && act.disabled ? "item-danger-disabled" : ""
|
|
7777
|
+
}, "tooltip" in act && act.tooltip ? /* @__PURE__ */React__default.createElement(Tooltip, {
|
|
7778
|
+
title: act.tooltip
|
|
7779
|
+
}, /* @__PURE__ */React__default.createElement(Inner, null)) : /* @__PURE__ */React__default.createElement(Inner, null));
|
|
7780
|
+
};
|
|
7781
|
+
const BatchOperation = props => {
|
|
7782
|
+
const {
|
|
7783
|
+
count,
|
|
7784
|
+
onClearSelection,
|
|
7785
|
+
actions
|
|
7786
|
+
} = props;
|
|
7787
|
+
const {
|
|
7788
|
+
t
|
|
7789
|
+
} = useParrotTranslation();
|
|
7790
|
+
const els = useMemo(() => {
|
|
7791
|
+
return actions.map((act, idx) => {
|
|
7792
|
+
if (act === "divider") {
|
|
7793
|
+
return /* @__PURE__ */React__default.createElement(Menu.Divider, {
|
|
7794
|
+
key: `divider-${idx}`
|
|
7795
|
+
});
|
|
7796
|
+
}
|
|
7797
|
+
if ("children" in act) {
|
|
7798
|
+
return /* @__PURE__ */React__default.createElement(Dropdown, {
|
|
7799
|
+
key: act.key,
|
|
7800
|
+
trigger: ["click"],
|
|
7801
|
+
placement: "bottomRight",
|
|
7802
|
+
overlay: /* @__PURE__ */React__default.createElement(Menu, null, act.children.map(renderBatchOperationMenuItem))
|
|
7803
|
+
}, /* @__PURE__ */React__default.createElement(Button, {
|
|
7804
|
+
key: act.key,
|
|
7805
|
+
type: "ordinary-onTint",
|
|
7806
|
+
prefixIcon: act.icon != null ? act.icon : void 0,
|
|
7807
|
+
danger: act == null ? void 0 : act.danger,
|
|
7808
|
+
className: `sub-menu-${act.key}`,
|
|
7809
|
+
suffixIcon: /* @__PURE__ */React__default.createElement(Icon, {
|
|
7810
|
+
src: ArrowChevronDown16SecondaryIcon
|
|
7811
|
+
})
|
|
7812
|
+
}, act.title));
|
|
7813
|
+
}
|
|
7814
|
+
if (act.tooltip) {
|
|
7815
|
+
return /* @__PURE__ */React__default.createElement(Tooltip, {
|
|
7816
|
+
title: act.tooltip
|
|
7817
|
+
}, /* @__PURE__ */React__default.createElement(Button, {
|
|
7818
|
+
key: act.key,
|
|
7819
|
+
type: "ordinary-onTint",
|
|
7820
|
+
danger: act.danger,
|
|
7821
|
+
onClick: act.onClick,
|
|
7822
|
+
disabled: act.disabled,
|
|
7823
|
+
prefixIcon: act.icon != null ? act.icon : void 0
|
|
7824
|
+
}, act.title));
|
|
7825
|
+
}
|
|
7826
|
+
return /* @__PURE__ */React__default.createElement(Button, {
|
|
7827
|
+
key: act.key,
|
|
7828
|
+
type: "ordinary-onTint",
|
|
7829
|
+
danger: act.danger,
|
|
7830
|
+
onClick: act.onClick,
|
|
7831
|
+
disabled: act.disabled,
|
|
7832
|
+
prefixIcon: act.icon != null ? act.icon : void 0
|
|
7833
|
+
}, act.title);
|
|
7834
|
+
});
|
|
7835
|
+
}, [actions]);
|
|
7836
|
+
const getExtraEl = useCallback(end => /* @__PURE__ */React__default.createElement(Dropdown, {
|
|
7837
|
+
overlay: /* @__PURE__ */React__default.createElement(Menu, null, actions.slice(end).map((act, idx) => {
|
|
7838
|
+
return act === "divider" ? /* @__PURE__ */React__default.createElement(Menu.Divider, {
|
|
7839
|
+
key: `divider-${idx}`
|
|
7840
|
+
}) : "children" in act ? /* @__PURE__ */React__default.createElement(Menu.SubMenu, {
|
|
7841
|
+
className: cs(Typo.Label.l4_regular),
|
|
7842
|
+
key: act.key,
|
|
7843
|
+
title: (act == null ? void 0 : act.icon) ? React__default.cloneElement(act.icon, {}, act.title) : /* @__PURE__ */React__default.createElement("span", null, act.title)
|
|
7844
|
+
}, act.children.map(renderBatchOperationMenuItem)) : renderBatchOperationMenuItem(act);
|
|
7845
|
+
}))
|
|
7846
|
+
}, /* @__PURE__ */React__default.createElement(Icon, {
|
|
7847
|
+
className: "more-btn",
|
|
7848
|
+
src: MoreEllipsis316BoldBlueIcon
|
|
7849
|
+
})), [actions]);
|
|
7850
|
+
return /* @__PURE__ */React__default.createElement("div", {
|
|
7851
|
+
className: SelectToolbar
|
|
7852
|
+
}, /* @__PURE__ */React__default.createElement("span", {
|
|
7853
|
+
className: "select-total"
|
|
7854
|
+
}, t("components.selected_item_with_count", {
|
|
7855
|
+
count
|
|
7856
|
+
}), /* @__PURE__ */React__default.createElement(Icon, {
|
|
7857
|
+
src: XmarkRemove16SecondaryIcon,
|
|
7858
|
+
hoverSrc: XmarkRemove16BlueIcon,
|
|
7859
|
+
onClick: onClearSelection
|
|
7860
|
+
})), /* @__PURE__ */React__default.createElement(ExtraOverflow, {
|
|
7861
|
+
className: "action-group",
|
|
7862
|
+
reverse: true,
|
|
7863
|
+
els,
|
|
7864
|
+
extraEl: getExtraEl
|
|
7865
|
+
}));
|
|
7866
|
+
};
|
|
7867
|
+
|
|
7667
7868
|
function getAntdKit() {
|
|
7668
7869
|
const kit = {
|
|
7669
7870
|
loading: Loading,
|
|
@@ -7784,7 +7985,8 @@ function getAntdKit() {
|
|
|
7784
7985
|
SortableList,
|
|
7785
7986
|
SidebarSubtitle,
|
|
7786
7987
|
Link,
|
|
7787
|
-
DropdownMenu
|
|
7988
|
+
DropdownMenu,
|
|
7989
|
+
BatchOperation
|
|
7788
7990
|
};
|
|
7789
7991
|
kit.option.isSelectOption = true;
|
|
7790
7992
|
kit.button.__ANT_BUTTON = true;
|
|
@@ -8094,4 +8296,4 @@ const useUIKit = () => {
|
|
|
8094
8296
|
return useContext(kitContext);
|
|
8095
8297
|
};
|
|
8096
8298
|
|
|
8097
|
-
export { Architecture, BaseIcon, Button, ButtonStyle, CannotOperationInfo, ContentWrapper, Desc, DropdownMenu, FailedLoad, FullView, Icon, InputTagItem, KitStoreProvider, LightDesc, ModalActions, ModalStack, RadioDesc, RenderMenuItem, Truncate, Typo, UIKitProvider, UIKitStore, ValidateTriggerType, WizardBody, antdKit, closeModal, createBatchMessageMethods, kitContext, popModal, pushModal, radioStyle, stringifyPlan, tableStyleCover, tickFormatter, useElementsSize, useKitDispatch, useKitSelector, useUIKit };
|
|
8299
|
+
export { Architecture, BaseIcon, BatchOperation, Button, ButtonStyle, CannotOperationInfo, ContentWrapper, Desc, DropdownMenu, FailedLoad, FullView, Icon, InputTagItem, KitStoreProvider, LightDesc, ModalActions, ModalStack, RadioDesc, RenderMenuItem, Truncate, Typo, UIKitProvider, UIKitStore, ValidateTriggerType, WizardBody, antdKit, closeModal, createBatchMessageMethods, kitContext, popModal, pushModal, radioStyle, renderBatchOperationMenuItem, stringifyPlan, tableStyleCover, tickFormatter, useElementsSize, useKitDispatch, useKitSelector, useUIKit };
|