@cloudtower/eagle 0.27.17 → 0.27.21
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/Cascader/cascader.stories.d.ts +6 -0
- package/dist/components/Cascader/index.d.ts +4 -0
- package/dist/components/Link/Link.stories.d.ts +14 -0
- package/dist/components/Link/index.d.ts +3 -0
- package/dist/components.css +1654 -1601
- package/dist/core/DropdownMenu/DropdownMenu.stories.d.ts +7 -0
- package/dist/core/DropdownMenu/index.d.ts +34 -0
- package/dist/esm/index.js +1030 -895
- package/dist/esm/stats1.html +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/spec/base.d.ts +9 -2
- package/dist/spec/type.d.ts +27 -0
- package/dist/style.css +1525 -1472
- package/dist/umd/index.js +1033 -897
- package/dist/umd/stats1.html +1 -1
- package/dist/variables.scss +4 -1
- package/package.json +7 -5
package/dist/esm/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import React__default, { useState, useMemo, useRef,
|
|
2
|
+
import React__default, { useState, useMemo, useRef, useCallback, useEffect, useLayoutEffect, Fragment, forwardRef, createContext, memo, useImperativeHandle, useContext } from 'react';
|
|
3
3
|
import { cx } from '@linaria/core';
|
|
4
4
|
import { parrotI18n, ParrotLngs } from '@cloudtower/parrot';
|
|
5
5
|
export * from '@cloudtower/parrot';
|
|
6
6
|
import { useTranslation, Trans, withTranslation } from 'react-i18next';
|
|
7
|
-
import { Tooltip as Tooltip$1, 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,
|
|
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
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';
|
|
10
10
|
import cs from 'classnames';
|
|
@@ -23,6 +23,7 @@ import { findDOMNode } from 'react-dom';
|
|
|
23
23
|
import { isElement } from 'react-is';
|
|
24
24
|
import customParseFormat from 'dayjs/plugin/customParseFormat';
|
|
25
25
|
import { Draggable, DragDropContext, Droppable } from 'react-beautiful-dnd';
|
|
26
|
+
import { Cascader as Cascader$1 } from 'antd5';
|
|
26
27
|
import CheckCircleFilled from '@ant-design/icons/CheckCircleFilled';
|
|
27
28
|
import CloseCircleFilled$1 from '@ant-design/icons/CloseCircleFilled';
|
|
28
29
|
import ExclamationCircleFilled from '@ant-design/icons/ExclamationCircleFilled';
|
|
@@ -219,6 +220,66 @@ const Empty = (props) => {
|
|
|
219
220
|
return /* @__PURE__ */ React__default.createElement("span", { className, style }, "-");
|
|
220
221
|
};
|
|
221
222
|
|
|
223
|
+
var __defProp$14 = Object.defineProperty;
|
|
224
|
+
var __getOwnPropSymbols$15 = Object.getOwnPropertySymbols;
|
|
225
|
+
var __hasOwnProp$15 = Object.prototype.hasOwnProperty;
|
|
226
|
+
var __propIsEnum$15 = Object.prototype.propertyIsEnumerable;
|
|
227
|
+
var __defNormalProp$14 = (obj, key, value) => key in obj ? __defProp$14(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
228
|
+
var __spreadValues$13 = (a, b) => {
|
|
229
|
+
for (var prop in b || (b = {}))
|
|
230
|
+
if (__hasOwnProp$15.call(b, prop))
|
|
231
|
+
__defNormalProp$14(a, prop, b[prop]);
|
|
232
|
+
if (__getOwnPropSymbols$15)
|
|
233
|
+
for (var prop of __getOwnPropSymbols$15(b)) {
|
|
234
|
+
if (__propIsEnum$15.call(b, prop))
|
|
235
|
+
__defNormalProp$14(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$13({}, 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
|
+
|
|
253
|
+
var __defProp$13 = Object.defineProperty;
|
|
254
|
+
var __getOwnPropSymbols$14 = Object.getOwnPropertySymbols;
|
|
255
|
+
var __hasOwnProp$14 = Object.prototype.hasOwnProperty;
|
|
256
|
+
var __propIsEnum$14 = Object.prototype.propertyIsEnumerable;
|
|
257
|
+
var __defNormalProp$13 = (obj, key, value) => key in obj ? __defProp$13(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
258
|
+
var __spreadValues$12 = (a, b) => {
|
|
259
|
+
for (var prop in b || (b = {}))
|
|
260
|
+
if (__hasOwnProp$14.call(b, prop))
|
|
261
|
+
__defNormalProp$13(a, prop, b[prop]);
|
|
262
|
+
if (__getOwnPropSymbols$14)
|
|
263
|
+
for (var prop of __getOwnPropSymbols$14(b)) {
|
|
264
|
+
if (__propIsEnum$14.call(b, prop))
|
|
265
|
+
__defNormalProp$13(a, prop, b[prop]);
|
|
266
|
+
}
|
|
267
|
+
return a;
|
|
268
|
+
};
|
|
269
|
+
const BitPerSeconds = ({
|
|
270
|
+
rawValue,
|
|
271
|
+
decimals,
|
|
272
|
+
valueClassName,
|
|
273
|
+
unitClassName,
|
|
274
|
+
emptyProps
|
|
275
|
+
}) => {
|
|
276
|
+
if (isEmpty(rawValue)) {
|
|
277
|
+
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$12({}, emptyProps));
|
|
278
|
+
}
|
|
279
|
+
const { value, unit } = formatBitPerSecond(rawValue, decimals);
|
|
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}`));
|
|
281
|
+
};
|
|
282
|
+
|
|
222
283
|
var __defProp$12 = Object.defineProperty;
|
|
223
284
|
var __getOwnPropSymbols$13 = Object.getOwnPropertySymbols;
|
|
224
285
|
var __hasOwnProp$13 = Object.prototype.hasOwnProperty;
|
|
@@ -235,20 +296,26 @@ var __spreadValues$11 = (a, b) => {
|
|
|
235
296
|
}
|
|
236
297
|
return a;
|
|
237
298
|
};
|
|
238
|
-
const
|
|
299
|
+
const Bps = ({
|
|
239
300
|
rawValue,
|
|
240
301
|
decimals,
|
|
241
|
-
unitClassName,
|
|
242
302
|
valueClassName,
|
|
303
|
+
unitClassName,
|
|
243
304
|
emptyProps
|
|
244
305
|
}) => {
|
|
245
306
|
if (isEmpty(rawValue)) {
|
|
246
307
|
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$11({}, emptyProps));
|
|
247
308
|
}
|
|
248
|
-
const { value, unit } =
|
|
309
|
+
const { value, unit } = formatBps(rawValue, decimals);
|
|
249
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}`));
|
|
250
311
|
};
|
|
251
312
|
|
|
313
|
+
const useParrotTranslation = () => {
|
|
314
|
+
return useTranslation(void 0, {
|
|
315
|
+
i18n: parrotI18n
|
|
316
|
+
});
|
|
317
|
+
};
|
|
318
|
+
|
|
252
319
|
var __defProp$11 = Object.defineProperty;
|
|
253
320
|
var __getOwnPropSymbols$12 = Object.getOwnPropertySymbols;
|
|
254
321
|
var __hasOwnProp$12 = Object.prototype.hasOwnProperty;
|
|
@@ -265,17 +332,25 @@ var __spreadValues$10 = (a, b) => {
|
|
|
265
332
|
}
|
|
266
333
|
return a;
|
|
267
334
|
};
|
|
268
|
-
const
|
|
335
|
+
const Byte = ({
|
|
269
336
|
rawValue,
|
|
337
|
+
noUnitOnZero,
|
|
270
338
|
decimals,
|
|
271
339
|
valueClassName,
|
|
272
340
|
unitClassName,
|
|
273
341
|
emptyProps
|
|
274
342
|
}) => {
|
|
343
|
+
const { t } = useParrotTranslation();
|
|
275
344
|
if (isEmpty(rawValue)) {
|
|
276
345
|
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$10({}, emptyProps));
|
|
277
346
|
}
|
|
278
|
-
|
|
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
|
+
}
|
|
279
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}`));
|
|
280
355
|
};
|
|
281
356
|
|
|
@@ -295,7 +370,7 @@ var __spreadValues$$ = (a, b) => {
|
|
|
295
370
|
}
|
|
296
371
|
return a;
|
|
297
372
|
};
|
|
298
|
-
const
|
|
373
|
+
const Frequency = ({
|
|
299
374
|
rawValue,
|
|
300
375
|
decimals,
|
|
301
376
|
valueClassName,
|
|
@@ -305,16 +380,10 @@ const Bps = ({
|
|
|
305
380
|
if (isEmpty(rawValue)) {
|
|
306
381
|
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$$({}, emptyProps));
|
|
307
382
|
}
|
|
308
|
-
const { value, unit } =
|
|
383
|
+
const { value, unit } = formatFrequency(rawValue, decimals);
|
|
309
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}`));
|
|
310
385
|
};
|
|
311
386
|
|
|
312
|
-
const useParrotTranslation = () => {
|
|
313
|
-
return useTranslation(void 0, {
|
|
314
|
-
i18n: parrotI18n
|
|
315
|
-
});
|
|
316
|
-
};
|
|
317
|
-
|
|
318
387
|
var __defProp$$ = Object.defineProperty;
|
|
319
388
|
var __getOwnPropSymbols$10 = Object.getOwnPropertySymbols;
|
|
320
389
|
var __hasOwnProp$10 = Object.prototype.hasOwnProperty;
|
|
@@ -331,26 +400,19 @@ var __spreadValues$_ = (a, b) => {
|
|
|
331
400
|
}
|
|
332
401
|
return a;
|
|
333
402
|
};
|
|
334
|
-
const
|
|
403
|
+
const Percent = ({
|
|
335
404
|
rawValue,
|
|
336
|
-
noUnitOnZero,
|
|
337
405
|
decimals,
|
|
406
|
+
saturated,
|
|
338
407
|
valueClassName,
|
|
339
408
|
unitClassName,
|
|
340
409
|
emptyProps
|
|
341
410
|
}) => {
|
|
342
|
-
const { t } = useParrotTranslation();
|
|
343
411
|
if (isEmpty(rawValue)) {
|
|
344
412
|
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$_({}, emptyProps));
|
|
345
413
|
}
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
}
|
|
349
|
-
const { value, unit } = formatBytes(rawValue, decimals);
|
|
350
|
-
if (noUnitOnZero && value === 0) {
|
|
351
|
-
return /* @__PURE__ */ React__default.createElement("span", { className: "value" }, value);
|
|
352
|
-
}
|
|
353
|
-
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}`));
|
|
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));
|
|
354
416
|
};
|
|
355
417
|
|
|
356
418
|
var __defProp$_ = Object.defineProperty;
|
|
@@ -369,18 +431,20 @@ var __spreadValues$Z = (a, b) => {
|
|
|
369
431
|
}
|
|
370
432
|
return a;
|
|
371
433
|
};
|
|
372
|
-
const
|
|
434
|
+
const Second = ({
|
|
373
435
|
rawValue,
|
|
374
436
|
decimals,
|
|
375
437
|
valueClassName,
|
|
376
438
|
unitClassName,
|
|
439
|
+
abbreviate,
|
|
377
440
|
emptyProps
|
|
378
441
|
}) => {
|
|
442
|
+
const { t } = useParrotTranslation();
|
|
379
443
|
if (isEmpty(rawValue)) {
|
|
380
444
|
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$Z({}, emptyProps));
|
|
381
445
|
}
|
|
382
|
-
const { value, unit } =
|
|
383
|
-
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) }, `
|
|
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}`)));
|
|
384
448
|
};
|
|
385
449
|
|
|
386
450
|
var __defProp$Z = Object.defineProperty;
|
|
@@ -399,10 +463,9 @@ var __spreadValues$Y = (a, b) => {
|
|
|
399
463
|
}
|
|
400
464
|
return a;
|
|
401
465
|
};
|
|
402
|
-
const
|
|
466
|
+
const Speed = ({
|
|
403
467
|
rawValue,
|
|
404
468
|
decimals,
|
|
405
|
-
saturated,
|
|
406
469
|
valueClassName,
|
|
407
470
|
unitClassName,
|
|
408
471
|
emptyProps
|
|
@@ -410,8 +473,8 @@ const Percent = ({
|
|
|
410
473
|
if (isEmpty(rawValue)) {
|
|
411
474
|
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$Y({}, emptyProps));
|
|
412
475
|
}
|
|
413
|
-
const { value, unit } =
|
|
414
|
-
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));
|
|
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}`));
|
|
415
478
|
};
|
|
416
479
|
|
|
417
480
|
var __defProp$Y = Object.defineProperty;
|
|
@@ -430,76 +493,14 @@ var __spreadValues$X = (a, b) => {
|
|
|
430
493
|
}
|
|
431
494
|
return a;
|
|
432
495
|
};
|
|
433
|
-
|
|
434
|
-
rawValue,
|
|
435
|
-
decimals,
|
|
436
|
-
valueClassName,
|
|
437
|
-
unitClassName,
|
|
438
|
-
abbreviate,
|
|
439
|
-
emptyProps
|
|
440
|
-
}) => {
|
|
441
|
-
const { t } = useParrotTranslation();
|
|
442
|
-
if (isEmpty(rawValue)) {
|
|
443
|
-
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$X({}, emptyProps));
|
|
444
|
-
}
|
|
445
|
-
const { value, unit } = formatSeconds(rawValue, decimals);
|
|
446
|
-
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}`)));
|
|
447
|
-
};
|
|
448
|
-
|
|
449
|
-
var __defProp$X = Object.defineProperty;
|
|
450
|
-
var __getOwnPropSymbols$Y = Object.getOwnPropertySymbols;
|
|
451
|
-
var __hasOwnProp$Y = Object.prototype.hasOwnProperty;
|
|
452
|
-
var __propIsEnum$Y = Object.prototype.propertyIsEnumerable;
|
|
453
|
-
var __defNormalProp$X = (obj, key, value) => key in obj ? __defProp$X(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
454
|
-
var __spreadValues$W = (a, b) => {
|
|
455
|
-
for (var prop in b || (b = {}))
|
|
456
|
-
if (__hasOwnProp$Y.call(b, prop))
|
|
457
|
-
__defNormalProp$X(a, prop, b[prop]);
|
|
458
|
-
if (__getOwnPropSymbols$Y)
|
|
459
|
-
for (var prop of __getOwnPropSymbols$Y(b)) {
|
|
460
|
-
if (__propIsEnum$Y.call(b, prop))
|
|
461
|
-
__defNormalProp$X(a, prop, b[prop]);
|
|
462
|
-
}
|
|
463
|
-
return a;
|
|
464
|
-
};
|
|
465
|
-
const Speed = ({
|
|
466
|
-
rawValue,
|
|
467
|
-
decimals,
|
|
468
|
-
valueClassName,
|
|
469
|
-
unitClassName,
|
|
470
|
-
emptyProps
|
|
471
|
-
}) => {
|
|
472
|
-
if (isEmpty(rawValue)) {
|
|
473
|
-
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$W({}, emptyProps));
|
|
474
|
-
}
|
|
475
|
-
const { value, unit } = formatSpeed(rawValue, decimals);
|
|
476
|
-
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}`));
|
|
477
|
-
};
|
|
478
|
-
|
|
479
|
-
var __defProp$W = Object.defineProperty;
|
|
480
|
-
var __getOwnPropSymbols$X = Object.getOwnPropertySymbols;
|
|
481
|
-
var __hasOwnProp$X = Object.prototype.hasOwnProperty;
|
|
482
|
-
var __propIsEnum$X = Object.prototype.propertyIsEnumerable;
|
|
483
|
-
var __defNormalProp$W = (obj, key, value) => key in obj ? __defProp$W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
484
|
-
var __spreadValues$V = (a, b) => {
|
|
485
|
-
for (var prop in b || (b = {}))
|
|
486
|
-
if (__hasOwnProp$X.call(b, prop))
|
|
487
|
-
__defNormalProp$W(a, prop, b[prop]);
|
|
488
|
-
if (__getOwnPropSymbols$X)
|
|
489
|
-
for (var prop of __getOwnPropSymbols$X(b)) {
|
|
490
|
-
if (__propIsEnum$X.call(b, prop))
|
|
491
|
-
__defNormalProp$W(a, prop, b[prop]);
|
|
492
|
-
}
|
|
493
|
-
return a;
|
|
494
|
-
};
|
|
495
|
-
var __objRest$C = (source, exclude) => {
|
|
496
|
+
var __objRest$D = (source, exclude) => {
|
|
496
497
|
var target = {};
|
|
497
498
|
for (var prop in source)
|
|
498
|
-
if (__hasOwnProp$
|
|
499
|
+
if (__hasOwnProp$Z.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
499
500
|
target[prop] = source[prop];
|
|
500
|
-
if (source != null && __getOwnPropSymbols$
|
|
501
|
-
for (var prop of __getOwnPropSymbols$
|
|
502
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
501
|
+
if (source != null && __getOwnPropSymbols$Z)
|
|
502
|
+
for (var prop of __getOwnPropSymbols$Z(source)) {
|
|
503
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$Z.call(source, prop))
|
|
503
504
|
target[prop] = source[prop];
|
|
504
505
|
}
|
|
505
506
|
return target;
|
|
@@ -517,7 +518,7 @@ const BaseIcon = React__default.forwardRef(
|
|
|
517
518
|
prefixNode,
|
|
518
519
|
suffixIconSrc: SuffixSrc,
|
|
519
520
|
src: Src
|
|
520
|
-
} = _a, HTMLSpanElementProps = __objRest$
|
|
521
|
+
} = _a, HTMLSpanElementProps = __objRest$D(_a, [
|
|
521
522
|
"alt",
|
|
522
523
|
"className",
|
|
523
524
|
"width",
|
|
@@ -531,10 +532,10 @@ const BaseIcon = React__default.forwardRef(
|
|
|
531
532
|
]);
|
|
532
533
|
return /* @__PURE__ */ React__default.createElement(
|
|
533
534
|
"span",
|
|
534
|
-
__spreadValues$
|
|
535
|
+
__spreadValues$X({
|
|
535
536
|
ref,
|
|
536
537
|
className,
|
|
537
|
-
style: _.pickBy(__spreadValues$
|
|
538
|
+
style: _.pickBy(__spreadValues$X({ cursor }, style))
|
|
538
539
|
}, HTMLSpanElementProps),
|
|
539
540
|
prefixNode,
|
|
540
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 }))),
|
|
@@ -544,31 +545,31 @@ const BaseIcon = React__default.forwardRef(
|
|
|
544
545
|
}
|
|
545
546
|
);
|
|
546
547
|
|
|
547
|
-
var __defProp$
|
|
548
|
-
var __defProps$
|
|
549
|
-
var __getOwnPropDescs$
|
|
550
|
-
var __getOwnPropSymbols$
|
|
551
|
-
var __hasOwnProp$
|
|
552
|
-
var __propIsEnum$
|
|
553
|
-
var __defNormalProp$
|
|
548
|
+
var __defProp$X = Object.defineProperty;
|
|
549
|
+
var __defProps$I = Object.defineProperties;
|
|
550
|
+
var __getOwnPropDescs$I = Object.getOwnPropertyDescriptors;
|
|
551
|
+
var __getOwnPropSymbols$Y = Object.getOwnPropertySymbols;
|
|
552
|
+
var __hasOwnProp$Y = Object.prototype.hasOwnProperty;
|
|
553
|
+
var __propIsEnum$Y = Object.prototype.propertyIsEnumerable;
|
|
554
|
+
var __defNormalProp$X = (obj, key, value) => key in obj ? __defProp$X(obj, key, {
|
|
554
555
|
enumerable: true,
|
|
555
556
|
configurable: true,
|
|
556
557
|
writable: true,
|
|
557
558
|
value
|
|
558
559
|
}) : obj[key] = value;
|
|
559
|
-
var __spreadValues$
|
|
560
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
561
|
-
if (__getOwnPropSymbols$
|
|
562
|
-
if (__propIsEnum$
|
|
560
|
+
var __spreadValues$W = (a, b) => {
|
|
561
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$Y.call(b, prop)) __defNormalProp$X(a, prop, b[prop]);
|
|
562
|
+
if (__getOwnPropSymbols$Y) for (var prop of __getOwnPropSymbols$Y(b)) {
|
|
563
|
+
if (__propIsEnum$Y.call(b, prop)) __defNormalProp$X(a, prop, b[prop]);
|
|
563
564
|
}
|
|
564
565
|
return a;
|
|
565
566
|
};
|
|
566
|
-
var __spreadProps$
|
|
567
|
-
var __objRest$
|
|
567
|
+
var __spreadProps$I = (a, b) => __defProps$I(a, __getOwnPropDescs$I(b));
|
|
568
|
+
var __objRest$C = (source, exclude) => {
|
|
568
569
|
var target = {};
|
|
569
|
-
for (var prop in source) if (__hasOwnProp$
|
|
570
|
-
if (source != null && __getOwnPropSymbols$
|
|
571
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
570
|
+
for (var prop in source) if (__hasOwnProp$Y.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
571
|
+
if (source != null && __getOwnPropSymbols$Y) for (var prop of __getOwnPropSymbols$Y(source)) {
|
|
572
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$Y.call(source, prop)) target[prop] = source[prop];
|
|
572
573
|
}
|
|
573
574
|
return target;
|
|
574
575
|
};
|
|
@@ -592,7 +593,7 @@ const Icon = React__default.forwardRef((props, ref) => {
|
|
|
592
593
|
prefix,
|
|
593
594
|
suffix
|
|
594
595
|
} = _a,
|
|
595
|
-
restProps = __objRest$
|
|
596
|
+
restProps = __objRest$C(_a, ["src", "hoverSrc", "active", "activeSrc", "onMouseEnter", "onMouseLeave", "onMouseMove", "className", "iconWidth", "iconHeight", "cursor", "style", "isRotate", "prefix", "suffix"]);
|
|
596
597
|
const [hover, setHover] = useState(false);
|
|
597
598
|
const _src = useMemo(() => {
|
|
598
599
|
if (active && activeSrc) {
|
|
@@ -620,14 +621,14 @@ const Icon = React__default.forwardRef((props, ref) => {
|
|
|
620
621
|
}
|
|
621
622
|
return src2;
|
|
622
623
|
}, [active, hover, suffix]);
|
|
623
|
-
return /* @__PURE__ */React__default.createElement(BaseIcon, __spreadProps$
|
|
624
|
+
return /* @__PURE__ */React__default.createElement(BaseIcon, __spreadProps$I(__spreadValues$W({
|
|
624
625
|
src: _src,
|
|
625
626
|
className: cs(IconWrapper, "icon-wrapper", className, isRotate && "is-rotate"),
|
|
626
627
|
suffixIconSrc,
|
|
627
628
|
height: iconHeight,
|
|
628
629
|
width: iconWidth,
|
|
629
630
|
prefixNode: prefix,
|
|
630
|
-
style: _.pickBy(__spreadValues$
|
|
631
|
+
style: _.pickBy(__spreadValues$W({
|
|
631
632
|
cursor
|
|
632
633
|
}, style))
|
|
633
634
|
}, restProps), {
|
|
@@ -652,30 +653,30 @@ const Icon = React__default.forwardRef((props, ref) => {
|
|
|
652
653
|
}));
|
|
653
654
|
});
|
|
654
655
|
|
|
655
|
-
var __defProp$
|
|
656
|
-
var __getOwnPropSymbols$
|
|
657
|
-
var __hasOwnProp$
|
|
658
|
-
var __propIsEnum$
|
|
659
|
-
var __defNormalProp$
|
|
660
|
-
var __spreadValues$
|
|
656
|
+
var __defProp$W = Object.defineProperty;
|
|
657
|
+
var __getOwnPropSymbols$X = Object.getOwnPropertySymbols;
|
|
658
|
+
var __hasOwnProp$X = Object.prototype.hasOwnProperty;
|
|
659
|
+
var __propIsEnum$X = Object.prototype.propertyIsEnumerable;
|
|
660
|
+
var __defNormalProp$W = (obj, key, value) => key in obj ? __defProp$W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
661
|
+
var __spreadValues$V = (a, b) => {
|
|
661
662
|
for (var prop in b || (b = {}))
|
|
662
|
-
if (__hasOwnProp$
|
|
663
|
-
__defNormalProp$
|
|
664
|
-
if (__getOwnPropSymbols$
|
|
665
|
-
for (var prop of __getOwnPropSymbols$
|
|
666
|
-
if (__propIsEnum$
|
|
667
|
-
__defNormalProp$
|
|
663
|
+
if (__hasOwnProp$X.call(b, prop))
|
|
664
|
+
__defNormalProp$W(a, prop, b[prop]);
|
|
665
|
+
if (__getOwnPropSymbols$X)
|
|
666
|
+
for (var prop of __getOwnPropSymbols$X(b)) {
|
|
667
|
+
if (__propIsEnum$X.call(b, prop))
|
|
668
|
+
__defNormalProp$W(a, prop, b[prop]);
|
|
668
669
|
}
|
|
669
670
|
return a;
|
|
670
671
|
};
|
|
671
|
-
var __objRest$
|
|
672
|
+
var __objRest$B = (source, exclude) => {
|
|
672
673
|
var target = {};
|
|
673
674
|
for (var prop in source)
|
|
674
|
-
if (__hasOwnProp$
|
|
675
|
+
if (__hasOwnProp$X.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
675
676
|
target[prop] = source[prop];
|
|
676
|
-
if (source != null && __getOwnPropSymbols$
|
|
677
|
-
for (var prop of __getOwnPropSymbols$
|
|
678
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
677
|
+
if (source != null && __getOwnPropSymbols$X)
|
|
678
|
+
for (var prop of __getOwnPropSymbols$X(source)) {
|
|
679
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$X.call(source, prop))
|
|
679
680
|
target[prop] = source[prop];
|
|
680
681
|
}
|
|
681
682
|
return target;
|
|
@@ -687,7 +688,7 @@ const DropdownTransition = (props) => {
|
|
|
687
688
|
children,
|
|
688
689
|
mountOnEnter = true,
|
|
689
690
|
unmountOnExit = true
|
|
690
|
-
} = _a, restProps = __objRest$
|
|
691
|
+
} = _a, restProps = __objRest$B(_a, [
|
|
691
692
|
"visible",
|
|
692
693
|
"timeout",
|
|
693
694
|
"children",
|
|
@@ -696,7 +697,7 @@ const DropdownTransition = (props) => {
|
|
|
696
697
|
]);
|
|
697
698
|
return /* @__PURE__ */ React__default.createElement(
|
|
698
699
|
CSSTransition,
|
|
699
|
-
__spreadValues$
|
|
700
|
+
__spreadValues$V({
|
|
700
701
|
in: visible,
|
|
701
702
|
timeout: timeout || 200,
|
|
702
703
|
mountOnEnter,
|
|
@@ -956,113 +957,33 @@ const DetailCard = props => {
|
|
|
956
957
|
}, props.children));
|
|
957
958
|
};
|
|
958
959
|
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
const childStyle = childRef.current.style;
|
|
975
|
-
if (percent <= 0.5) {
|
|
976
|
-
deg = 180 * (percent / 0.5);
|
|
977
|
-
childStyle.background = "white";
|
|
978
|
-
} else {
|
|
979
|
-
deg = 180 * ((percent - 0.5) / 0.5);
|
|
980
|
-
childStyle.background = color;
|
|
960
|
+
var __defProp$V = Object.defineProperty;
|
|
961
|
+
var __defProps$H = Object.defineProperties;
|
|
962
|
+
var __getOwnPropDescs$H = Object.getOwnPropertyDescriptors;
|
|
963
|
+
var __getOwnPropSymbols$W = Object.getOwnPropertySymbols;
|
|
964
|
+
var __hasOwnProp$W = Object.prototype.hasOwnProperty;
|
|
965
|
+
var __propIsEnum$W = Object.prototype.propertyIsEnumerable;
|
|
966
|
+
var __defNormalProp$V = (obj, key, value) => key in obj ? __defProp$V(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
967
|
+
var __spreadValues$U = (a, b) => {
|
|
968
|
+
for (var prop in b || (b = {}))
|
|
969
|
+
if (__hasOwnProp$W.call(b, prop))
|
|
970
|
+
__defNormalProp$V(a, prop, b[prop]);
|
|
971
|
+
if (__getOwnPropSymbols$W)
|
|
972
|
+
for (var prop of __getOwnPropSymbols$W(b)) {
|
|
973
|
+
if (__propIsEnum$W.call(b, prop))
|
|
974
|
+
__defNormalProp$V(a, prop, b[prop]);
|
|
981
975
|
}
|
|
982
|
-
|
|
983
|
-
}, [percent, color]);
|
|
984
|
-
return /* @__PURE__ */React__default.createElement("div", {
|
|
985
|
-
className: cs(CircleProgressStyle, className),
|
|
986
|
-
ref: wrapperRef
|
|
987
|
-
}, /* @__PURE__ */React__default.createElement("div", {
|
|
988
|
-
className: "circle-inner"
|
|
989
|
-
}, /* @__PURE__ */React__default.createElement("div", {
|
|
990
|
-
className: "circle-content"
|
|
991
|
-
}), /* @__PURE__ */React__default.createElement("div", {
|
|
992
|
-
className: "circle-child",
|
|
993
|
-
ref: childRef
|
|
994
|
-
})));
|
|
976
|
+
return a;
|
|
995
977
|
};
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
name: "WizardBody",
|
|
999
|
-
class: "w1vvwdlp",
|
|
1000
|
-
propsAsIs: false
|
|
1001
|
-
});
|
|
1002
|
-
const FullView = /*#__PURE__*/styled$1('div')({
|
|
1003
|
-
name: "FullView",
|
|
1004
|
-
class: "f1rest1f",
|
|
1005
|
-
propsAsIs: false
|
|
1006
|
-
});
|
|
1007
|
-
const TertiaryText = /*#__PURE__*/styled$1('div')({
|
|
1008
|
-
name: "TertiaryText",
|
|
1009
|
-
class: "t79k8o2",
|
|
1010
|
-
propsAsIs: false
|
|
1011
|
-
});
|
|
1012
|
-
const InputStyle = "ipd9bk";
|
|
1013
|
-
const KitInputStyle = "kypn5o5";
|
|
1014
|
-
const ContentWrapper = /*#__PURE__*/styled$1('div')({
|
|
1015
|
-
name: "ContentWrapper",
|
|
1016
|
-
class: "c1t6wbwv",
|
|
1017
|
-
propsAsIs: false
|
|
1018
|
-
});
|
|
1019
|
-
const Desc = /*#__PURE__*/styled$1('div')({
|
|
1020
|
-
name: "Desc",
|
|
1021
|
-
class: "d1k7vv5v",
|
|
1022
|
-
propsAsIs: false
|
|
1023
|
-
});
|
|
1024
|
-
const _exp2$3 = () => Desc;
|
|
1025
|
-
const LightDesc = /*#__PURE__*/styled$1(_exp2$3())({
|
|
1026
|
-
name: "LightDesc",
|
|
1027
|
-
class: "le7b9r4",
|
|
1028
|
-
propsAsIs: true
|
|
1029
|
-
});
|
|
1030
|
-
const _exp3$2 = () => LightDesc;
|
|
1031
|
-
const RadioDesc = /*#__PURE__*/styled$1(_exp3$2())({
|
|
1032
|
-
name: "RadioDesc",
|
|
1033
|
-
class: "r1dnygxx",
|
|
1034
|
-
propsAsIs: true
|
|
1035
|
-
});
|
|
1036
|
-
const radioStyle = "r12ddqmh";
|
|
1037
|
-
const CannotOperationInfo = "ctcr26a";
|
|
1038
|
-
|
|
1039
|
-
var __defProp$T = Object.defineProperty;
|
|
1040
|
-
var __defProps$F = Object.defineProperties;
|
|
1041
|
-
var __getOwnPropDescs$F = Object.getOwnPropertyDescriptors;
|
|
1042
|
-
var __getOwnPropSymbols$U = Object.getOwnPropertySymbols;
|
|
1043
|
-
var __hasOwnProp$U = Object.prototype.hasOwnProperty;
|
|
1044
|
-
var __propIsEnum$U = Object.prototype.propertyIsEnumerable;
|
|
1045
|
-
var __defNormalProp$T = (obj, key, value) => key in obj ? __defProp$T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1046
|
-
var __spreadValues$S = (a, b) => {
|
|
1047
|
-
for (var prop in b || (b = {}))
|
|
1048
|
-
if (__hasOwnProp$U.call(b, prop))
|
|
1049
|
-
__defNormalProp$T(a, prop, b[prop]);
|
|
1050
|
-
if (__getOwnPropSymbols$U)
|
|
1051
|
-
for (var prop of __getOwnPropSymbols$U(b)) {
|
|
1052
|
-
if (__propIsEnum$U.call(b, prop))
|
|
1053
|
-
__defNormalProp$T(a, prop, b[prop]);
|
|
1054
|
-
}
|
|
1055
|
-
return a;
|
|
1056
|
-
};
|
|
1057
|
-
var __spreadProps$F = (a, b) => __defProps$F(a, __getOwnPropDescs$F(b));
|
|
1058
|
-
var __objRest$z = (source, exclude) => {
|
|
978
|
+
var __spreadProps$H = (a, b) => __defProps$H(a, __getOwnPropDescs$H(b));
|
|
979
|
+
var __objRest$A = (source, exclude) => {
|
|
1059
980
|
var target = {};
|
|
1060
981
|
for (var prop in source)
|
|
1061
|
-
if (__hasOwnProp$
|
|
982
|
+
if (__hasOwnProp$W.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1062
983
|
target[prop] = source[prop];
|
|
1063
|
-
if (source != null && __getOwnPropSymbols$
|
|
1064
|
-
for (var prop of __getOwnPropSymbols$
|
|
1065
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
984
|
+
if (source != null && __getOwnPropSymbols$W)
|
|
985
|
+
for (var prop of __getOwnPropSymbols$W(source)) {
|
|
986
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$W.call(source, prop))
|
|
1066
987
|
target[prop] = source[prop];
|
|
1067
988
|
}
|
|
1068
989
|
return target;
|
|
@@ -1074,7 +995,7 @@ const Tooltip = (props) => {
|
|
|
1074
995
|
overlayClassName,
|
|
1075
996
|
overlayStyle,
|
|
1076
997
|
children
|
|
1077
|
-
} = _a, restProps = __objRest$
|
|
998
|
+
} = _a, restProps = __objRest$A(_a, [
|
|
1078
999
|
"followMouse",
|
|
1079
1000
|
"overlayClassName",
|
|
1080
1001
|
"overlayStyle",
|
|
@@ -1116,10 +1037,10 @@ const Tooltip = (props) => {
|
|
|
1116
1037
|
}, [followMouse, onmousemove, uniqueContainerClass]);
|
|
1117
1038
|
return /* @__PURE__ */ React__default.createElement(
|
|
1118
1039
|
Tooltip$1,
|
|
1119
|
-
__spreadProps$
|
|
1040
|
+
__spreadProps$H(__spreadValues$U({}, restProps), {
|
|
1120
1041
|
overlayClassName: followMouse ? cs(overlayClassName, uniquePopupClass) : overlayClassName,
|
|
1121
1042
|
children: _children,
|
|
1122
|
-
overlayStyle: followMouse ? __spreadValues$
|
|
1043
|
+
overlayStyle: followMouse ? __spreadValues$U({
|
|
1123
1044
|
transform: "translate(-50%, -100%)",
|
|
1124
1045
|
pointerEvents: "none"
|
|
1125
1046
|
}, overlayStyle) : overlayStyle
|
|
@@ -1127,6 +1048,140 @@ const Tooltip = (props) => {
|
|
|
1127
1048
|
);
|
|
1128
1049
|
};
|
|
1129
1050
|
|
|
1051
|
+
const DropdownOverlayStyle$1 = "d133fzv0";
|
|
1052
|
+
const RenderMenuItem = item => {
|
|
1053
|
+
if (item.hidden === true) {
|
|
1054
|
+
return /* @__PURE__ */React__default.createElement(React__default.Fragment, null);
|
|
1055
|
+
}
|
|
1056
|
+
if (item.type === "group") {
|
|
1057
|
+
return /* @__PURE__ */React__default.createElement(Menu.ItemGroup, {
|
|
1058
|
+
title: item.title,
|
|
1059
|
+
key: item.key
|
|
1060
|
+
}, (item.children || []).map(childItem => RenderMenuItem(childItem)));
|
|
1061
|
+
}
|
|
1062
|
+
if (item.type === "divider") {
|
|
1063
|
+
return /* @__PURE__ */React__default.createElement(Menu.Divider, {
|
|
1064
|
+
key: item.key
|
|
1065
|
+
});
|
|
1066
|
+
}
|
|
1067
|
+
if (item.tooltip) {
|
|
1068
|
+
return /* @__PURE__ */React__default.createElement(Menu.Item, {
|
|
1069
|
+
danger: item.danger,
|
|
1070
|
+
key: item.key,
|
|
1071
|
+
disabled: item.disabled,
|
|
1072
|
+
onClick: item.onClick
|
|
1073
|
+
}, /* @__PURE__ */React__default.createElement(Tooltip, {
|
|
1074
|
+
title: item.tooltip
|
|
1075
|
+
}, item.icon ? React__default.cloneElement(item.icon, {}, item.text) : /* @__PURE__ */React__default.createElement("div", null, item.text)));
|
|
1076
|
+
}
|
|
1077
|
+
return /* @__PURE__ */React__default.createElement(Menu.Item, {
|
|
1078
|
+
danger: item.danger,
|
|
1079
|
+
key: item.key,
|
|
1080
|
+
disabled: item.disabled,
|
|
1081
|
+
onClick: item.onClick
|
|
1082
|
+
}, item.icon ? React__default.cloneElement(item.icon, {}, item.text) : item.text);
|
|
1083
|
+
};
|
|
1084
|
+
const DropdownMenu = ({
|
|
1085
|
+
items,
|
|
1086
|
+
disabled,
|
|
1087
|
+
placement,
|
|
1088
|
+
trigger,
|
|
1089
|
+
customStyle,
|
|
1090
|
+
slotsElements = {}
|
|
1091
|
+
}) => {
|
|
1092
|
+
const menuItems = items.filter(item => !item.hidden);
|
|
1093
|
+
const menuDisabled = disabled || menuItems.length === 0;
|
|
1094
|
+
return /* @__PURE__ */React__default.createElement(Dropdown, {
|
|
1095
|
+
disabled: menuDisabled,
|
|
1096
|
+
placement,
|
|
1097
|
+
trigger,
|
|
1098
|
+
overlayClassName: cx(DropdownOverlayStyle$1, customStyle == null ? void 0 : customStyle.content),
|
|
1099
|
+
overlay: /* @__PURE__ */React__default.createElement(Menu, null, menuItems.map(item => {
|
|
1100
|
+
return RenderMenuItem(item);
|
|
1101
|
+
}))
|
|
1102
|
+
}, /* @__PURE__ */React__default.createElement("span", null, slotsElements.trigger ? slotsElements.trigger({}) : null));
|
|
1103
|
+
};
|
|
1104
|
+
|
|
1105
|
+
const CircleProgressStyle = "c1bus5hc";
|
|
1106
|
+
const CircleProgress = props => {
|
|
1107
|
+
const {
|
|
1108
|
+
percent,
|
|
1109
|
+
color = "#0080ff",
|
|
1110
|
+
className
|
|
1111
|
+
} = props;
|
|
1112
|
+
const wrapperRef = useRef(null);
|
|
1113
|
+
const childRef = useRef(null);
|
|
1114
|
+
useLayoutEffect(() => {
|
|
1115
|
+
var _a;
|
|
1116
|
+
(_a = wrapperRef.current) == null ? void 0 : _a.style.setProperty("--color", color);
|
|
1117
|
+
}, [color]);
|
|
1118
|
+
useLayoutEffect(() => {
|
|
1119
|
+
let deg = 0;
|
|
1120
|
+
const childStyle = childRef.current.style;
|
|
1121
|
+
if (percent <= 0.5) {
|
|
1122
|
+
deg = 180 * (percent / 0.5);
|
|
1123
|
+
childStyle.background = "white";
|
|
1124
|
+
} else {
|
|
1125
|
+
deg = 180 * ((percent - 0.5) / 0.5);
|
|
1126
|
+
childStyle.background = color;
|
|
1127
|
+
}
|
|
1128
|
+
childStyle.transform = `rotate(${deg}deg)`;
|
|
1129
|
+
}, [percent, color]);
|
|
1130
|
+
return /* @__PURE__ */React__default.createElement("div", {
|
|
1131
|
+
className: cs(CircleProgressStyle, className),
|
|
1132
|
+
ref: wrapperRef
|
|
1133
|
+
}, /* @__PURE__ */React__default.createElement("div", {
|
|
1134
|
+
className: "circle-inner"
|
|
1135
|
+
}, /* @__PURE__ */React__default.createElement("div", {
|
|
1136
|
+
className: "circle-content"
|
|
1137
|
+
}), /* @__PURE__ */React__default.createElement("div", {
|
|
1138
|
+
className: "circle-child",
|
|
1139
|
+
ref: childRef
|
|
1140
|
+
})));
|
|
1141
|
+
};
|
|
1142
|
+
|
|
1143
|
+
const WizardBody = /*#__PURE__*/styled$1('div')({
|
|
1144
|
+
name: "WizardBody",
|
|
1145
|
+
class: "w1vvwdlp",
|
|
1146
|
+
propsAsIs: false
|
|
1147
|
+
});
|
|
1148
|
+
const FullView = /*#__PURE__*/styled$1('div')({
|
|
1149
|
+
name: "FullView",
|
|
1150
|
+
class: "f1rest1f",
|
|
1151
|
+
propsAsIs: false
|
|
1152
|
+
});
|
|
1153
|
+
const TertiaryText = /*#__PURE__*/styled$1('div')({
|
|
1154
|
+
name: "TertiaryText",
|
|
1155
|
+
class: "t79k8o2",
|
|
1156
|
+
propsAsIs: false
|
|
1157
|
+
});
|
|
1158
|
+
const InputStyle = "ipd9bk";
|
|
1159
|
+
const KitInputStyle = "kypn5o5";
|
|
1160
|
+
const ContentWrapper = /*#__PURE__*/styled$1('div')({
|
|
1161
|
+
name: "ContentWrapper",
|
|
1162
|
+
class: "c1t6wbwv",
|
|
1163
|
+
propsAsIs: false
|
|
1164
|
+
});
|
|
1165
|
+
const Desc = /*#__PURE__*/styled$1('div')({
|
|
1166
|
+
name: "Desc",
|
|
1167
|
+
class: "d1k7vv5v",
|
|
1168
|
+
propsAsIs: false
|
|
1169
|
+
});
|
|
1170
|
+
const _exp2$3 = () => Desc;
|
|
1171
|
+
const LightDesc = /*#__PURE__*/styled$1(_exp2$3())({
|
|
1172
|
+
name: "LightDesc",
|
|
1173
|
+
class: "le7b9r4",
|
|
1174
|
+
propsAsIs: true
|
|
1175
|
+
});
|
|
1176
|
+
const _exp3$2 = () => LightDesc;
|
|
1177
|
+
const RadioDesc = /*#__PURE__*/styled$1(_exp3$2())({
|
|
1178
|
+
name: "RadioDesc",
|
|
1179
|
+
class: "r1dnygxx",
|
|
1180
|
+
propsAsIs: true
|
|
1181
|
+
});
|
|
1182
|
+
const radioStyle = "r12ddqmh";
|
|
1183
|
+
const CannotOperationInfo = "ctcr26a";
|
|
1184
|
+
|
|
1130
1185
|
const StackBar = "skwah65";
|
|
1131
1186
|
function getWidth(input) {
|
|
1132
1187
|
const {
|
|
@@ -1188,20 +1243,20 @@ const DonutChart = ({
|
|
|
1188
1243
|
)
|
|
1189
1244
|
);
|
|
1190
1245
|
|
|
1191
|
-
var __defProp$
|
|
1192
|
-
var __getOwnPropSymbols$
|
|
1193
|
-
var __hasOwnProp$
|
|
1194
|
-
var __propIsEnum$
|
|
1195
|
-
var __defNormalProp$
|
|
1246
|
+
var __defProp$U = Object.defineProperty;
|
|
1247
|
+
var __getOwnPropSymbols$V = Object.getOwnPropertySymbols;
|
|
1248
|
+
var __hasOwnProp$V = Object.prototype.hasOwnProperty;
|
|
1249
|
+
var __propIsEnum$V = Object.prototype.propertyIsEnumerable;
|
|
1250
|
+
var __defNormalProp$U = (obj, key, value) => key in obj ? __defProp$U(obj, key, {
|
|
1196
1251
|
enumerable: true,
|
|
1197
1252
|
configurable: true,
|
|
1198
1253
|
writable: true,
|
|
1199
1254
|
value
|
|
1200
1255
|
}) : obj[key] = value;
|
|
1201
|
-
var __spreadValues$
|
|
1202
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1203
|
-
if (__getOwnPropSymbols$
|
|
1204
|
-
if (__propIsEnum$
|
|
1256
|
+
var __spreadValues$T = (a, b) => {
|
|
1257
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$V.call(b, prop)) __defNormalProp$U(a, prop, b[prop]);
|
|
1258
|
+
if (__getOwnPropSymbols$V) for (var prop of __getOwnPropSymbols$V(b)) {
|
|
1259
|
+
if (__propIsEnum$V.call(b, prop)) __defNormalProp$U(a, prop, b[prop]);
|
|
1205
1260
|
}
|
|
1206
1261
|
return a;
|
|
1207
1262
|
};
|
|
@@ -1276,7 +1331,7 @@ const UnitWithChart = ({
|
|
|
1276
1331
|
saturated
|
|
1277
1332
|
}) : /* @__PURE__ */React__default.createElement(Unit, {
|
|
1278
1333
|
rawValue
|
|
1279
|
-
})), chartType === "donutChart" && /* @__PURE__ */React__default.createElement(DonutChart, __spreadValues$
|
|
1334
|
+
})), chartType === "donutChart" && /* @__PURE__ */React__default.createElement(DonutChart, __spreadValues$T({
|
|
1280
1335
|
data: [{
|
|
1281
1336
|
used: rawValue / total,
|
|
1282
1337
|
fill: color
|
|
@@ -1432,28 +1487,28 @@ const Counting = (props) => {
|
|
|
1432
1487
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, render());
|
|
1433
1488
|
};
|
|
1434
1489
|
|
|
1435
|
-
var __defProp$
|
|
1436
|
-
var __getOwnPropSymbols$
|
|
1437
|
-
var __hasOwnProp$
|
|
1438
|
-
var __propIsEnum$
|
|
1439
|
-
var __defNormalProp$
|
|
1440
|
-
var __spreadValues$
|
|
1490
|
+
var __defProp$T = Object.defineProperty;
|
|
1491
|
+
var __getOwnPropSymbols$U = Object.getOwnPropertySymbols;
|
|
1492
|
+
var __hasOwnProp$U = Object.prototype.hasOwnProperty;
|
|
1493
|
+
var __propIsEnum$U = Object.prototype.propertyIsEnumerable;
|
|
1494
|
+
var __defNormalProp$T = (obj, key, value) => key in obj ? __defProp$T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1495
|
+
var __spreadValues$S = (a, b) => {
|
|
1441
1496
|
for (var prop in b || (b = {}))
|
|
1442
|
-
if (__hasOwnProp$
|
|
1443
|
-
__defNormalProp$
|
|
1444
|
-
if (__getOwnPropSymbols$
|
|
1445
|
-
for (var prop of __getOwnPropSymbols$
|
|
1446
|
-
if (__propIsEnum$
|
|
1447
|
-
__defNormalProp$
|
|
1497
|
+
if (__hasOwnProp$U.call(b, prop))
|
|
1498
|
+
__defNormalProp$T(a, prop, b[prop]);
|
|
1499
|
+
if (__getOwnPropSymbols$U)
|
|
1500
|
+
for (var prop of __getOwnPropSymbols$U(b)) {
|
|
1501
|
+
if (__propIsEnum$U.call(b, prop))
|
|
1502
|
+
__defNormalProp$T(a, prop, b[prop]);
|
|
1448
1503
|
}
|
|
1449
1504
|
return a;
|
|
1450
1505
|
};
|
|
1451
|
-
const Calendar = (props) => /* @__PURE__ */ React__default.createElement(Calendar$1, __spreadValues$
|
|
1506
|
+
const Calendar = (props) => /* @__PURE__ */ React__default.createElement(Calendar$1, __spreadValues$S({}, props));
|
|
1452
1507
|
|
|
1453
|
-
var __defProp$
|
|
1454
|
-
var __defNormalProp$
|
|
1508
|
+
var __defProp$S = Object.defineProperty;
|
|
1509
|
+
var __defNormalProp$S = (obj, key, value) => key in obj ? __defProp$S(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1455
1510
|
var __publicField$1 = (obj, key, value) => {
|
|
1456
|
-
__defNormalProp$
|
|
1511
|
+
__defNormalProp$S(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
1457
1512
|
return value;
|
|
1458
1513
|
};
|
|
1459
1514
|
dayjs.extend(UTC);
|
|
@@ -2012,28 +2067,28 @@ const HoverableElement = (props) => {
|
|
|
2012
2067
|
return icon != null ? React__default.cloneElement(icon, { className }) : null;
|
|
2013
2068
|
};
|
|
2014
2069
|
|
|
2015
|
-
var __defProp$
|
|
2016
|
-
var __getOwnPropSymbols$
|
|
2017
|
-
var __hasOwnProp$
|
|
2018
|
-
var __propIsEnum$
|
|
2019
|
-
var __defNormalProp$
|
|
2070
|
+
var __defProp$R = Object.defineProperty;
|
|
2071
|
+
var __getOwnPropSymbols$T = Object.getOwnPropertySymbols;
|
|
2072
|
+
var __hasOwnProp$T = Object.prototype.hasOwnProperty;
|
|
2073
|
+
var __propIsEnum$T = Object.prototype.propertyIsEnumerable;
|
|
2074
|
+
var __defNormalProp$R = (obj, key, value) => key in obj ? __defProp$R(obj, key, {
|
|
2020
2075
|
enumerable: true,
|
|
2021
2076
|
configurable: true,
|
|
2022
2077
|
writable: true,
|
|
2023
2078
|
value
|
|
2024
2079
|
}) : obj[key] = value;
|
|
2025
|
-
var __spreadValues$
|
|
2026
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2027
|
-
if (__getOwnPropSymbols$
|
|
2028
|
-
if (__propIsEnum$
|
|
2080
|
+
var __spreadValues$R = (a, b) => {
|
|
2081
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$T.call(b, prop)) __defNormalProp$R(a, prop, b[prop]);
|
|
2082
|
+
if (__getOwnPropSymbols$T) for (var prop of __getOwnPropSymbols$T(b)) {
|
|
2083
|
+
if (__propIsEnum$T.call(b, prop)) __defNormalProp$R(a, prop, b[prop]);
|
|
2029
2084
|
}
|
|
2030
2085
|
return a;
|
|
2031
2086
|
};
|
|
2032
|
-
var __objRest$
|
|
2087
|
+
var __objRest$z = (source, exclude) => {
|
|
2033
2088
|
var target = {};
|
|
2034
|
-
for (var prop in source) if (__hasOwnProp$
|
|
2035
|
-
if (source != null && __getOwnPropSymbols$
|
|
2036
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2089
|
+
for (var prop in source) if (__hasOwnProp$T.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2090
|
+
if (source != null && __getOwnPropSymbols$T) for (var prop of __getOwnPropSymbols$T(source)) {
|
|
2091
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$T.call(source, prop)) target[prop] = source[prop];
|
|
2037
2092
|
}
|
|
2038
2093
|
return target;
|
|
2039
2094
|
};
|
|
@@ -2056,12 +2111,12 @@ const Button = React__default.forwardRef((props, ref) => {
|
|
|
2056
2111
|
onMouseLeave,
|
|
2057
2112
|
size = "middle"
|
|
2058
2113
|
} = _a,
|
|
2059
|
-
restProps = __objRest$
|
|
2114
|
+
restProps = __objRest$z(_a, ["type", "className", "children", "prefixIcon", "hoverPrefixIcon", "suffixIcon", "hoverSuffixIcon", "onMouseEnter", "onMouseLeave", "size"]);
|
|
2060
2115
|
const [status, setStatus] = useState("normal");
|
|
2061
2116
|
const hasIcon = prefixIcon || suffixIcon;
|
|
2062
2117
|
const hasHoverIcon = hoverPrefixIcon || hoverSuffixIcon;
|
|
2063
2118
|
const onlyIcon = !children && (prefixIcon || suffixIcon);
|
|
2064
|
-
return /* @__PURE__ */React__default.createElement(Button$1, __spreadValues$
|
|
2119
|
+
return /* @__PURE__ */React__default.createElement(Button$1, __spreadValues$R({
|
|
2065
2120
|
ref,
|
|
2066
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"),
|
|
2067
2122
|
type: isAntdButtonTypes(type) ? type : void 0,
|
|
@@ -2091,31 +2146,31 @@ const Button = React__default.forwardRef((props, ref) => {
|
|
|
2091
2146
|
}));
|
|
2092
2147
|
});
|
|
2093
2148
|
|
|
2094
|
-
var __defProp$
|
|
2095
|
-
var __defProps$
|
|
2096
|
-
var __getOwnPropDescs$
|
|
2097
|
-
var __getOwnPropSymbols$
|
|
2098
|
-
var __hasOwnProp$
|
|
2099
|
-
var __propIsEnum$
|
|
2100
|
-
var __defNormalProp$
|
|
2149
|
+
var __defProp$Q = Object.defineProperty;
|
|
2150
|
+
var __defProps$G = Object.defineProperties;
|
|
2151
|
+
var __getOwnPropDescs$G = Object.getOwnPropertyDescriptors;
|
|
2152
|
+
var __getOwnPropSymbols$S = Object.getOwnPropertySymbols;
|
|
2153
|
+
var __hasOwnProp$S = Object.prototype.hasOwnProperty;
|
|
2154
|
+
var __propIsEnum$S = Object.prototype.propertyIsEnumerable;
|
|
2155
|
+
var __defNormalProp$Q = (obj, key, value) => key in obj ? __defProp$Q(obj, key, {
|
|
2101
2156
|
enumerable: true,
|
|
2102
2157
|
configurable: true,
|
|
2103
2158
|
writable: true,
|
|
2104
2159
|
value
|
|
2105
2160
|
}) : obj[key] = value;
|
|
2106
|
-
var __spreadValues$
|
|
2107
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2108
|
-
if (__getOwnPropSymbols$
|
|
2109
|
-
if (__propIsEnum$
|
|
2161
|
+
var __spreadValues$Q = (a, b) => {
|
|
2162
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$S.call(b, prop)) __defNormalProp$Q(a, prop, b[prop]);
|
|
2163
|
+
if (__getOwnPropSymbols$S) for (var prop of __getOwnPropSymbols$S(b)) {
|
|
2164
|
+
if (__propIsEnum$S.call(b, prop)) __defNormalProp$Q(a, prop, b[prop]);
|
|
2110
2165
|
}
|
|
2111
2166
|
return a;
|
|
2112
2167
|
};
|
|
2113
|
-
var __spreadProps$
|
|
2114
|
-
var __objRest$
|
|
2168
|
+
var __spreadProps$G = (a, b) => __defProps$G(a, __getOwnPropDescs$G(b));
|
|
2169
|
+
var __objRest$y = (source, exclude) => {
|
|
2115
2170
|
var target = {};
|
|
2116
|
-
for (var prop in source) if (__hasOwnProp$
|
|
2117
|
-
if (source != null && __getOwnPropSymbols$
|
|
2118
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2171
|
+
for (var prop in source) if (__hasOwnProp$S.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2172
|
+
if (source != null && __getOwnPropSymbols$S) for (var prop of __getOwnPropSymbols$S(source)) {
|
|
2173
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$S.call(source, prop)) target[prop] = source[prop];
|
|
2119
2174
|
}
|
|
2120
2175
|
return target;
|
|
2121
2176
|
};
|
|
@@ -2128,8 +2183,8 @@ const Checkbox = _a => {
|
|
|
2128
2183
|
description,
|
|
2129
2184
|
compact
|
|
2130
2185
|
} = _b,
|
|
2131
|
-
props = __objRest$
|
|
2132
|
-
return /* @__PURE__ */React__default.createElement(Checkbox$1, __spreadProps$
|
|
2186
|
+
props = __objRest$y(_b, ["className", "children", "description", "compact"]);
|
|
2187
|
+
return /* @__PURE__ */React__default.createElement(Checkbox$1, __spreadProps$G(__spreadValues$Q({}, props), {
|
|
2133
2188
|
"data-test": props["data-test"] || props.value,
|
|
2134
2189
|
className: cs(className, CheckboxStyle, compact && "compact")
|
|
2135
2190
|
}), children ? /* @__PURE__ */React__default.createElement(React__default.Fragment, null, /* @__PURE__ */React__default.createElement("div", {
|
|
@@ -2139,39 +2194,39 @@ const Checkbox = _a => {
|
|
|
2139
2194
|
}, description) : null) : null);
|
|
2140
2195
|
};
|
|
2141
2196
|
|
|
2142
|
-
var __defProp$
|
|
2143
|
-
var __getOwnPropSymbols$
|
|
2144
|
-
var __hasOwnProp$
|
|
2145
|
-
var __propIsEnum$
|
|
2146
|
-
var __defNormalProp$
|
|
2147
|
-
var __spreadValues$
|
|
2197
|
+
var __defProp$P = Object.defineProperty;
|
|
2198
|
+
var __getOwnPropSymbols$R = Object.getOwnPropertySymbols;
|
|
2199
|
+
var __hasOwnProp$R = Object.prototype.hasOwnProperty;
|
|
2200
|
+
var __propIsEnum$R = Object.prototype.propertyIsEnumerable;
|
|
2201
|
+
var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2202
|
+
var __spreadValues$P = (a, b) => {
|
|
2148
2203
|
for (var prop in b || (b = {}))
|
|
2149
|
-
if (__hasOwnProp$
|
|
2150
|
-
__defNormalProp$
|
|
2151
|
-
if (__getOwnPropSymbols$
|
|
2152
|
-
for (var prop of __getOwnPropSymbols$
|
|
2153
|
-
if (__propIsEnum$
|
|
2154
|
-
__defNormalProp$
|
|
2204
|
+
if (__hasOwnProp$R.call(b, prop))
|
|
2205
|
+
__defNormalProp$P(a, prop, b[prop]);
|
|
2206
|
+
if (__getOwnPropSymbols$R)
|
|
2207
|
+
for (var prop of __getOwnPropSymbols$R(b)) {
|
|
2208
|
+
if (__propIsEnum$R.call(b, prop))
|
|
2209
|
+
__defNormalProp$P(a, prop, b[prop]);
|
|
2155
2210
|
}
|
|
2156
2211
|
return a;
|
|
2157
2212
|
};
|
|
2158
|
-
var __objRest$
|
|
2213
|
+
var __objRest$x = (source, exclude) => {
|
|
2159
2214
|
var target = {};
|
|
2160
2215
|
for (var prop in source)
|
|
2161
|
-
if (__hasOwnProp$
|
|
2216
|
+
if (__hasOwnProp$R.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2162
2217
|
target[prop] = source[prop];
|
|
2163
|
-
if (source != null && __getOwnPropSymbols$
|
|
2164
|
-
for (var prop of __getOwnPropSymbols$
|
|
2165
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2218
|
+
if (source != null && __getOwnPropSymbols$R)
|
|
2219
|
+
for (var prop of __getOwnPropSymbols$R(source)) {
|
|
2220
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$R.call(source, prop))
|
|
2166
2221
|
target[prop] = source[prop];
|
|
2167
2222
|
}
|
|
2168
2223
|
return target;
|
|
2169
2224
|
};
|
|
2170
2225
|
const FieldsBoolean = (_a) => {
|
|
2171
|
-
var _b = _a, { input, children } = _b, props = __objRest$
|
|
2226
|
+
var _b = _a, { input, children } = _b, props = __objRest$x(_b, ["input", "children"]);
|
|
2172
2227
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
2173
2228
|
Checkbox,
|
|
2174
|
-
__spreadValues$
|
|
2229
|
+
__spreadValues$P({
|
|
2175
2230
|
checked: Boolean(input.value),
|
|
2176
2231
|
onChange: (e) => input.onChange(e.target.checked)
|
|
2177
2232
|
}, props),
|
|
@@ -2196,17 +2251,17 @@ const FieldsDateTime = ({ input }) => /* @__PURE__ */ React__default.createEleme
|
|
|
2196
2251
|
}
|
|
2197
2252
|
));
|
|
2198
2253
|
|
|
2199
|
-
var __getOwnPropSymbols$
|
|
2200
|
-
var __hasOwnProp$
|
|
2201
|
-
var __propIsEnum$
|
|
2202
|
-
var __objRest$
|
|
2254
|
+
var __getOwnPropSymbols$Q = Object.getOwnPropertySymbols;
|
|
2255
|
+
var __hasOwnProp$Q = Object.prototype.hasOwnProperty;
|
|
2256
|
+
var __propIsEnum$Q = Object.prototype.propertyIsEnumerable;
|
|
2257
|
+
var __objRest$w = (source, exclude) => {
|
|
2203
2258
|
var target = {};
|
|
2204
2259
|
for (var prop in source)
|
|
2205
|
-
if (__hasOwnProp$
|
|
2260
|
+
if (__hasOwnProp$Q.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2206
2261
|
target[prop] = source[prop];
|
|
2207
|
-
if (source != null && __getOwnPropSymbols$
|
|
2208
|
-
for (var prop of __getOwnPropSymbols$
|
|
2209
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2262
|
+
if (source != null && __getOwnPropSymbols$Q)
|
|
2263
|
+
for (var prop of __getOwnPropSymbols$Q(source)) {
|
|
2264
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$Q.call(source, prop))
|
|
2210
2265
|
target[prop] = source[prop];
|
|
2211
2266
|
}
|
|
2212
2267
|
return target;
|
|
@@ -2214,7 +2269,7 @@ var __objRest$v = (source, exclude) => {
|
|
|
2214
2269
|
const FieldsDateTimeRange = (_a) => {
|
|
2215
2270
|
var _b = _a, {
|
|
2216
2271
|
input
|
|
2217
|
-
} = _b, props = __objRest$
|
|
2272
|
+
} = _b, props = __objRest$w(_b, [
|
|
2218
2273
|
"input"
|
|
2219
2274
|
]);
|
|
2220
2275
|
var _a2, _b2;
|
|
@@ -2243,56 +2298,56 @@ const LoadingLine1 = "lgitjoj";
|
|
|
2243
2298
|
const LoadingLine2 = "l13g0exg";
|
|
2244
2299
|
const LoadingLine3 = "l1exo3h6";
|
|
2245
2300
|
|
|
2246
|
-
var __defProp$
|
|
2247
|
-
var __defProps$
|
|
2248
|
-
var __getOwnPropDescs$
|
|
2249
|
-
var __getOwnPropSymbols$
|
|
2250
|
-
var __hasOwnProp$
|
|
2251
|
-
var __propIsEnum$
|
|
2252
|
-
var __defNormalProp$
|
|
2253
|
-
var __spreadValues$
|
|
2301
|
+
var __defProp$O = Object.defineProperty;
|
|
2302
|
+
var __defProps$F = Object.defineProperties;
|
|
2303
|
+
var __getOwnPropDescs$F = Object.getOwnPropertyDescriptors;
|
|
2304
|
+
var __getOwnPropSymbols$P = Object.getOwnPropertySymbols;
|
|
2305
|
+
var __hasOwnProp$P = Object.prototype.hasOwnProperty;
|
|
2306
|
+
var __propIsEnum$P = Object.prototype.propertyIsEnumerable;
|
|
2307
|
+
var __defNormalProp$O = (obj, key, value) => key in obj ? __defProp$O(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2308
|
+
var __spreadValues$O = (a, b) => {
|
|
2254
2309
|
for (var prop in b || (b = {}))
|
|
2255
|
-
if (__hasOwnProp$
|
|
2256
|
-
__defNormalProp$
|
|
2257
|
-
if (__getOwnPropSymbols$
|
|
2258
|
-
for (var prop of __getOwnPropSymbols$
|
|
2259
|
-
if (__propIsEnum$
|
|
2260
|
-
__defNormalProp$
|
|
2310
|
+
if (__hasOwnProp$P.call(b, prop))
|
|
2311
|
+
__defNormalProp$O(a, prop, b[prop]);
|
|
2312
|
+
if (__getOwnPropSymbols$P)
|
|
2313
|
+
for (var prop of __getOwnPropSymbols$P(b)) {
|
|
2314
|
+
if (__propIsEnum$P.call(b, prop))
|
|
2315
|
+
__defNormalProp$O(a, prop, b[prop]);
|
|
2261
2316
|
}
|
|
2262
2317
|
return a;
|
|
2263
2318
|
};
|
|
2264
|
-
var __spreadProps$
|
|
2319
|
+
var __spreadProps$F = (a, b) => __defProps$F(a, __getOwnPropDescs$F(b));
|
|
2265
2320
|
const Loading = ({ fullView = true }) => {
|
|
2266
2321
|
const Wrapper = fullView ? FullView : Fragment;
|
|
2267
2322
|
const props = fullView ? { className: "loading-full-view" } : {};
|
|
2268
|
-
return /* @__PURE__ */ React__default.createElement(Wrapper, __spreadProps$
|
|
2323
|
+
return /* @__PURE__ */ React__default.createElement(Wrapper, __spreadProps$F(__spreadValues$O({}, 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 })));
|
|
2269
2324
|
};
|
|
2270
2325
|
|
|
2271
|
-
var __defProp$
|
|
2272
|
-
var __defProps$
|
|
2273
|
-
var __getOwnPropDescs$
|
|
2274
|
-
var __getOwnPropSymbols$
|
|
2275
|
-
var __hasOwnProp$
|
|
2276
|
-
var __propIsEnum$
|
|
2277
|
-
var __defNormalProp$
|
|
2326
|
+
var __defProp$N = Object.defineProperty;
|
|
2327
|
+
var __defProps$E = Object.defineProperties;
|
|
2328
|
+
var __getOwnPropDescs$E = Object.getOwnPropertyDescriptors;
|
|
2329
|
+
var __getOwnPropSymbols$O = Object.getOwnPropertySymbols;
|
|
2330
|
+
var __hasOwnProp$O = Object.prototype.hasOwnProperty;
|
|
2331
|
+
var __propIsEnum$O = Object.prototype.propertyIsEnumerable;
|
|
2332
|
+
var __defNormalProp$N = (obj, key, value) => key in obj ? __defProp$N(obj, key, {
|
|
2278
2333
|
enumerable: true,
|
|
2279
2334
|
configurable: true,
|
|
2280
2335
|
writable: true,
|
|
2281
2336
|
value
|
|
2282
2337
|
}) : obj[key] = value;
|
|
2283
|
-
var __spreadValues$
|
|
2284
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2285
|
-
if (__getOwnPropSymbols$
|
|
2286
|
-
if (__propIsEnum$
|
|
2338
|
+
var __spreadValues$N = (a, b) => {
|
|
2339
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$O.call(b, prop)) __defNormalProp$N(a, prop, b[prop]);
|
|
2340
|
+
if (__getOwnPropSymbols$O) for (var prop of __getOwnPropSymbols$O(b)) {
|
|
2341
|
+
if (__propIsEnum$O.call(b, prop)) __defNormalProp$N(a, prop, b[prop]);
|
|
2287
2342
|
}
|
|
2288
2343
|
return a;
|
|
2289
2344
|
};
|
|
2290
|
-
var __spreadProps$
|
|
2291
|
-
var __objRest$
|
|
2345
|
+
var __spreadProps$E = (a, b) => __defProps$E(a, __getOwnPropDescs$E(b));
|
|
2346
|
+
var __objRest$v = (source, exclude) => {
|
|
2292
2347
|
var target = {};
|
|
2293
|
-
for (var prop in source) if (__hasOwnProp$
|
|
2294
|
-
if (source != null && __getOwnPropSymbols$
|
|
2295
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2348
|
+
for (var prop in source) if (__hasOwnProp$O.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2349
|
+
if (source != null && __getOwnPropSymbols$O) for (var prop of __getOwnPropSymbols$O(source)) {
|
|
2350
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$O.call(source, prop)) target[prop] = source[prop];
|
|
2296
2351
|
}
|
|
2297
2352
|
return target;
|
|
2298
2353
|
};
|
|
@@ -2320,7 +2375,7 @@ const Select = _a => {
|
|
|
2320
2375
|
meta,
|
|
2321
2376
|
placeholder
|
|
2322
2377
|
} = _b,
|
|
2323
|
-
restProps = __objRest$
|
|
2378
|
+
restProps = __objRest$v(_b, ["input", "multiple", "className", "scrollBottomBuffer", "onScrollBottom", "onPopupScroll", "onSearch", "showSearch", "filterOption", "loading", "notFoundContent", "children", "error", "selectLimit", "dropdownClassName", "danger", "size", "meta", "placeholder"]);
|
|
2324
2379
|
var _a2;
|
|
2325
2380
|
const limitExceeded = multiple && selectLimit && selectLimit <= (((_a2 = input.value) == null ? void 0 : _a2.length) || 0);
|
|
2326
2381
|
const typo = {
|
|
@@ -2346,7 +2401,7 @@ const Select = _a => {
|
|
|
2346
2401
|
inputDom && (placeholder || item) && inputDom.setAttribute("data-test", String(placeholder || item.textContent));
|
|
2347
2402
|
}
|
|
2348
2403
|
}, [selectRef, placeholder]);
|
|
2349
|
-
return /* @__PURE__ */React__default.createElement(Select$1, __spreadValues$
|
|
2404
|
+
return /* @__PURE__ */React__default.createElement(Select$1, __spreadValues$N(__spreadProps$E(__spreadValues$N({}, input), {
|
|
2350
2405
|
ref: selectRef,
|
|
2351
2406
|
size,
|
|
2352
2407
|
value: multiple ? input.value || [] : input.value || void 0,
|
|
@@ -2387,38 +2442,38 @@ const Select = _a => {
|
|
|
2387
2442
|
loading,
|
|
2388
2443
|
placeholder
|
|
2389
2444
|
}), restProps), React__default.Children.map(children, child => {
|
|
2390
|
-
return isElement(child) ? __spreadProps$
|
|
2391
|
-
props: __spreadProps$
|
|
2445
|
+
return isElement(child) ? __spreadProps$E(__spreadValues$N({}, child), {
|
|
2446
|
+
props: __spreadProps$E(__spreadValues$N({}, child.props), {
|
|
2392
2447
|
"data-test": child.props.value
|
|
2393
2448
|
})
|
|
2394
2449
|
}) : child;
|
|
2395
2450
|
}));
|
|
2396
2451
|
};
|
|
2397
2452
|
|
|
2398
|
-
var __defProp$
|
|
2399
|
-
var __getOwnPropSymbols$
|
|
2400
|
-
var __hasOwnProp$
|
|
2401
|
-
var __propIsEnum$
|
|
2402
|
-
var __defNormalProp$
|
|
2403
|
-
var __spreadValues$
|
|
2453
|
+
var __defProp$M = Object.defineProperty;
|
|
2454
|
+
var __getOwnPropSymbols$N = Object.getOwnPropertySymbols;
|
|
2455
|
+
var __hasOwnProp$N = Object.prototype.hasOwnProperty;
|
|
2456
|
+
var __propIsEnum$N = Object.prototype.propertyIsEnumerable;
|
|
2457
|
+
var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2458
|
+
var __spreadValues$M = (a, b) => {
|
|
2404
2459
|
for (var prop in b || (b = {}))
|
|
2405
|
-
if (__hasOwnProp$
|
|
2406
|
-
__defNormalProp$
|
|
2407
|
-
if (__getOwnPropSymbols$
|
|
2408
|
-
for (var prop of __getOwnPropSymbols$
|
|
2409
|
-
if (__propIsEnum$
|
|
2410
|
-
__defNormalProp$
|
|
2460
|
+
if (__hasOwnProp$N.call(b, prop))
|
|
2461
|
+
__defNormalProp$M(a, prop, b[prop]);
|
|
2462
|
+
if (__getOwnPropSymbols$N)
|
|
2463
|
+
for (var prop of __getOwnPropSymbols$N(b)) {
|
|
2464
|
+
if (__propIsEnum$N.call(b, prop))
|
|
2465
|
+
__defNormalProp$M(a, prop, b[prop]);
|
|
2411
2466
|
}
|
|
2412
2467
|
return a;
|
|
2413
2468
|
};
|
|
2414
|
-
var __objRest$
|
|
2469
|
+
var __objRest$u = (source, exclude) => {
|
|
2415
2470
|
var target = {};
|
|
2416
2471
|
for (var prop in source)
|
|
2417
|
-
if (__hasOwnProp$
|
|
2472
|
+
if (__hasOwnProp$N.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2418
2473
|
target[prop] = source[prop];
|
|
2419
|
-
if (source != null && __getOwnPropSymbols$
|
|
2420
|
-
for (var prop of __getOwnPropSymbols$
|
|
2421
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2474
|
+
if (source != null && __getOwnPropSymbols$N)
|
|
2475
|
+
for (var prop of __getOwnPropSymbols$N(source)) {
|
|
2476
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$N.call(source, prop))
|
|
2422
2477
|
target[prop] = source[prop];
|
|
2423
2478
|
}
|
|
2424
2479
|
return target;
|
|
@@ -2428,12 +2483,12 @@ const FieldsEnum = (_a) => {
|
|
|
2428
2483
|
meta: __,
|
|
2429
2484
|
enumValues,
|
|
2430
2485
|
emptyLabel
|
|
2431
|
-
} = _b, restProps = __objRest$
|
|
2486
|
+
} = _b, restProps = __objRest$u(_b, [
|
|
2432
2487
|
"meta",
|
|
2433
2488
|
"enumValues",
|
|
2434
2489
|
"emptyLabel"
|
|
2435
2490
|
]);
|
|
2436
|
-
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$M({}, restProps), emptyLabel && /* @__PURE__ */ React__default.createElement(Select$1.Option, { value: "" }, emptyLabel), enumValues.map((v) => {
|
|
2437
2492
|
const item = typeof v === "string" ? { value: v, text: v } : v;
|
|
2438
2493
|
return /* @__PURE__ */ React__default.createElement(
|
|
2439
2494
|
Select$1.Option,
|
|
@@ -2447,31 +2502,31 @@ const FieldsEnum = (_a) => {
|
|
|
2447
2502
|
})));
|
|
2448
2503
|
};
|
|
2449
2504
|
|
|
2450
|
-
var __defProp$
|
|
2451
|
-
var __defProps$
|
|
2452
|
-
var __getOwnPropDescs$
|
|
2453
|
-
var __getOwnPropSymbols$
|
|
2454
|
-
var __hasOwnProp$
|
|
2455
|
-
var __propIsEnum$
|
|
2456
|
-
var __defNormalProp$
|
|
2505
|
+
var __defProp$L = Object.defineProperty;
|
|
2506
|
+
var __defProps$D = Object.defineProperties;
|
|
2507
|
+
var __getOwnPropDescs$D = Object.getOwnPropertyDescriptors;
|
|
2508
|
+
var __getOwnPropSymbols$M = Object.getOwnPropertySymbols;
|
|
2509
|
+
var __hasOwnProp$M = Object.prototype.hasOwnProperty;
|
|
2510
|
+
var __propIsEnum$M = Object.prototype.propertyIsEnumerable;
|
|
2511
|
+
var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, {
|
|
2457
2512
|
enumerable: true,
|
|
2458
2513
|
configurable: true,
|
|
2459
2514
|
writable: true,
|
|
2460
2515
|
value
|
|
2461
2516
|
}) : obj[key] = value;
|
|
2462
|
-
var __spreadValues$
|
|
2463
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2464
|
-
if (__getOwnPropSymbols$
|
|
2465
|
-
if (__propIsEnum$
|
|
2517
|
+
var __spreadValues$L = (a, b) => {
|
|
2518
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$M.call(b, prop)) __defNormalProp$L(a, prop, b[prop]);
|
|
2519
|
+
if (__getOwnPropSymbols$M) for (var prop of __getOwnPropSymbols$M(b)) {
|
|
2520
|
+
if (__propIsEnum$M.call(b, prop)) __defNormalProp$L(a, prop, b[prop]);
|
|
2466
2521
|
}
|
|
2467
2522
|
return a;
|
|
2468
2523
|
};
|
|
2469
|
-
var __spreadProps$
|
|
2470
|
-
var __objRest$
|
|
2524
|
+
var __spreadProps$D = (a, b) => __defProps$D(a, __getOwnPropDescs$D(b));
|
|
2525
|
+
var __objRest$t = (source, exclude) => {
|
|
2471
2526
|
var target = {};
|
|
2472
|
-
for (var prop in source) if (__hasOwnProp$
|
|
2473
|
-
if (source != null && __getOwnPropSymbols$
|
|
2474
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2527
|
+
for (var prop in source) if (__hasOwnProp$M.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2528
|
+
if (source != null && __getOwnPropSymbols$M) for (var prop of __getOwnPropSymbols$M(source)) {
|
|
2529
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$M.call(source, prop)) target[prop] = source[prop];
|
|
2475
2530
|
}
|
|
2476
2531
|
return target;
|
|
2477
2532
|
};
|
|
@@ -2507,13 +2562,13 @@ const InputNumber = _a => {
|
|
|
2507
2562
|
prefix,
|
|
2508
2563
|
controls = true
|
|
2509
2564
|
} = _b,
|
|
2510
|
-
props = __objRest$
|
|
2565
|
+
props = __objRest$t(_b, ["className", "error", "size", "suffix", "prefix", "controls"]);
|
|
2511
2566
|
const typo = {
|
|
2512
2567
|
large: Typo.Label.l2_regular,
|
|
2513
2568
|
middle: Typo.Label.l3_regular,
|
|
2514
2569
|
small: Typo.Label.l4_regular
|
|
2515
2570
|
}[size];
|
|
2516
|
-
return /* @__PURE__ */React__default.createElement(AntdInputNumberStyled, __spreadProps$
|
|
2571
|
+
return /* @__PURE__ */React__default.createElement(AntdInputNumberStyled, __spreadProps$D(__spreadValues$L({}, props), {
|
|
2517
2572
|
size,
|
|
2518
2573
|
controls,
|
|
2519
2574
|
"data-test": props.name,
|
|
@@ -2523,33 +2578,33 @@ const InputNumber = _a => {
|
|
|
2523
2578
|
}));
|
|
2524
2579
|
};
|
|
2525
2580
|
|
|
2526
|
-
var __defProp$
|
|
2527
|
-
var __defProps$
|
|
2528
|
-
var __getOwnPropDescs$
|
|
2529
|
-
var __getOwnPropSymbols$
|
|
2530
|
-
var __hasOwnProp$
|
|
2531
|
-
var __propIsEnum$
|
|
2532
|
-
var __defNormalProp$
|
|
2533
|
-
var __spreadValues$
|
|
2581
|
+
var __defProp$K = Object.defineProperty;
|
|
2582
|
+
var __defProps$C = Object.defineProperties;
|
|
2583
|
+
var __getOwnPropDescs$C = Object.getOwnPropertyDescriptors;
|
|
2584
|
+
var __getOwnPropSymbols$L = Object.getOwnPropertySymbols;
|
|
2585
|
+
var __hasOwnProp$L = Object.prototype.hasOwnProperty;
|
|
2586
|
+
var __propIsEnum$L = Object.prototype.propertyIsEnumerable;
|
|
2587
|
+
var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2588
|
+
var __spreadValues$K = (a, b) => {
|
|
2534
2589
|
for (var prop in b || (b = {}))
|
|
2535
|
-
if (__hasOwnProp$
|
|
2536
|
-
__defNormalProp$
|
|
2537
|
-
if (__getOwnPropSymbols$
|
|
2538
|
-
for (var prop of __getOwnPropSymbols$
|
|
2539
|
-
if (__propIsEnum$
|
|
2540
|
-
__defNormalProp$
|
|
2590
|
+
if (__hasOwnProp$L.call(b, prop))
|
|
2591
|
+
__defNormalProp$K(a, prop, b[prop]);
|
|
2592
|
+
if (__getOwnPropSymbols$L)
|
|
2593
|
+
for (var prop of __getOwnPropSymbols$L(b)) {
|
|
2594
|
+
if (__propIsEnum$L.call(b, prop))
|
|
2595
|
+
__defNormalProp$K(a, prop, b[prop]);
|
|
2541
2596
|
}
|
|
2542
2597
|
return a;
|
|
2543
2598
|
};
|
|
2544
|
-
var __spreadProps$
|
|
2545
|
-
var __objRest$
|
|
2599
|
+
var __spreadProps$C = (a, b) => __defProps$C(a, __getOwnPropDescs$C(b));
|
|
2600
|
+
var __objRest$s = (source, exclude) => {
|
|
2546
2601
|
var target = {};
|
|
2547
2602
|
for (var prop in source)
|
|
2548
|
-
if (__hasOwnProp$
|
|
2603
|
+
if (__hasOwnProp$L.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2549
2604
|
target[prop] = source[prop];
|
|
2550
|
-
if (source != null && __getOwnPropSymbols$
|
|
2551
|
-
for (var prop of __getOwnPropSymbols$
|
|
2552
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2605
|
+
if (source != null && __getOwnPropSymbols$L)
|
|
2606
|
+
for (var prop of __getOwnPropSymbols$L(source)) {
|
|
2607
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$L.call(source, prop))
|
|
2553
2608
|
target[prop] = source[prop];
|
|
2554
2609
|
}
|
|
2555
2610
|
return target;
|
|
@@ -2560,7 +2615,7 @@ const FieldsFloat = (_a) => {
|
|
|
2560
2615
|
meta,
|
|
2561
2616
|
onBlur,
|
|
2562
2617
|
autoComplete = "off"
|
|
2563
|
-
} = _b, props = __objRest$
|
|
2618
|
+
} = _b, props = __objRest$s(_b, [
|
|
2564
2619
|
"input",
|
|
2565
2620
|
"meta",
|
|
2566
2621
|
"onBlur",
|
|
@@ -2568,7 +2623,7 @@ const FieldsFloat = (_a) => {
|
|
|
2568
2623
|
]);
|
|
2569
2624
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
2570
2625
|
InputNumber,
|
|
2571
|
-
__spreadValues$
|
|
2626
|
+
__spreadValues$K(__spreadProps$C(__spreadValues$K({}, input), {
|
|
2572
2627
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
2573
2628
|
autoComplete,
|
|
2574
2629
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
@@ -2576,33 +2631,33 @@ const FieldsFloat = (_a) => {
|
|
|
2576
2631
|
));
|
|
2577
2632
|
};
|
|
2578
2633
|
|
|
2579
|
-
var __defProp$
|
|
2580
|
-
var __defProps$
|
|
2581
|
-
var __getOwnPropDescs$
|
|
2582
|
-
var __getOwnPropSymbols$
|
|
2583
|
-
var __hasOwnProp$
|
|
2584
|
-
var __propIsEnum$
|
|
2585
|
-
var __defNormalProp$
|
|
2586
|
-
var __spreadValues$
|
|
2634
|
+
var __defProp$J = Object.defineProperty;
|
|
2635
|
+
var __defProps$B = Object.defineProperties;
|
|
2636
|
+
var __getOwnPropDescs$B = Object.getOwnPropertyDescriptors;
|
|
2637
|
+
var __getOwnPropSymbols$K = Object.getOwnPropertySymbols;
|
|
2638
|
+
var __hasOwnProp$K = Object.prototype.hasOwnProperty;
|
|
2639
|
+
var __propIsEnum$K = Object.prototype.propertyIsEnumerable;
|
|
2640
|
+
var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2641
|
+
var __spreadValues$J = (a, b) => {
|
|
2587
2642
|
for (var prop in b || (b = {}))
|
|
2588
|
-
if (__hasOwnProp$
|
|
2589
|
-
__defNormalProp$
|
|
2590
|
-
if (__getOwnPropSymbols$
|
|
2591
|
-
for (var prop of __getOwnPropSymbols$
|
|
2592
|
-
if (__propIsEnum$
|
|
2593
|
-
__defNormalProp$
|
|
2643
|
+
if (__hasOwnProp$K.call(b, prop))
|
|
2644
|
+
__defNormalProp$J(a, prop, b[prop]);
|
|
2645
|
+
if (__getOwnPropSymbols$K)
|
|
2646
|
+
for (var prop of __getOwnPropSymbols$K(b)) {
|
|
2647
|
+
if (__propIsEnum$K.call(b, prop))
|
|
2648
|
+
__defNormalProp$J(a, prop, b[prop]);
|
|
2594
2649
|
}
|
|
2595
2650
|
return a;
|
|
2596
2651
|
};
|
|
2597
|
-
var __spreadProps$
|
|
2598
|
-
var __objRest$
|
|
2652
|
+
var __spreadProps$B = (a, b) => __defProps$B(a, __getOwnPropDescs$B(b));
|
|
2653
|
+
var __objRest$r = (source, exclude) => {
|
|
2599
2654
|
var target = {};
|
|
2600
2655
|
for (var prop in source)
|
|
2601
|
-
if (__hasOwnProp$
|
|
2656
|
+
if (__hasOwnProp$K.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2602
2657
|
target[prop] = source[prop];
|
|
2603
|
-
if (source != null && __getOwnPropSymbols$
|
|
2604
|
-
for (var prop of __getOwnPropSymbols$
|
|
2605
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2658
|
+
if (source != null && __getOwnPropSymbols$K)
|
|
2659
|
+
for (var prop of __getOwnPropSymbols$K(source)) {
|
|
2660
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$K.call(source, prop))
|
|
2606
2661
|
target[prop] = source[prop];
|
|
2607
2662
|
}
|
|
2608
2663
|
return target;
|
|
@@ -2612,7 +2667,7 @@ const Input = (_a) => {
|
|
|
2612
2667
|
className,
|
|
2613
2668
|
error,
|
|
2614
2669
|
size = "middle"
|
|
2615
|
-
} = _b, props = __objRest$
|
|
2670
|
+
} = _b, props = __objRest$r(_b, [
|
|
2616
2671
|
"className",
|
|
2617
2672
|
"error",
|
|
2618
2673
|
"size"
|
|
@@ -2624,7 +2679,7 @@ const Input = (_a) => {
|
|
|
2624
2679
|
}[size];
|
|
2625
2680
|
return /* @__PURE__ */ React__default.createElement(
|
|
2626
2681
|
Input$1,
|
|
2627
|
-
__spreadProps$
|
|
2682
|
+
__spreadProps$B(__spreadValues$J({}, props), {
|
|
2628
2683
|
size,
|
|
2629
2684
|
"data-test": props.name,
|
|
2630
2685
|
className: cs(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -2632,33 +2687,33 @@ const Input = (_a) => {
|
|
|
2632
2687
|
);
|
|
2633
2688
|
};
|
|
2634
2689
|
|
|
2635
|
-
var __defProp$
|
|
2636
|
-
var __defProps$
|
|
2637
|
-
var __getOwnPropDescs$
|
|
2638
|
-
var __getOwnPropSymbols$
|
|
2639
|
-
var __hasOwnProp$
|
|
2640
|
-
var __propIsEnum$
|
|
2641
|
-
var __defNormalProp$
|
|
2642
|
-
var __spreadValues$
|
|
2690
|
+
var __defProp$I = Object.defineProperty;
|
|
2691
|
+
var __defProps$A = Object.defineProperties;
|
|
2692
|
+
var __getOwnPropDescs$A = Object.getOwnPropertyDescriptors;
|
|
2693
|
+
var __getOwnPropSymbols$J = Object.getOwnPropertySymbols;
|
|
2694
|
+
var __hasOwnProp$J = Object.prototype.hasOwnProperty;
|
|
2695
|
+
var __propIsEnum$J = Object.prototype.propertyIsEnumerable;
|
|
2696
|
+
var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2697
|
+
var __spreadValues$I = (a, b) => {
|
|
2643
2698
|
for (var prop in b || (b = {}))
|
|
2644
|
-
if (__hasOwnProp$
|
|
2645
|
-
__defNormalProp$
|
|
2646
|
-
if (__getOwnPropSymbols$
|
|
2647
|
-
for (var prop of __getOwnPropSymbols$
|
|
2648
|
-
if (__propIsEnum$
|
|
2649
|
-
__defNormalProp$
|
|
2699
|
+
if (__hasOwnProp$J.call(b, prop))
|
|
2700
|
+
__defNormalProp$I(a, prop, b[prop]);
|
|
2701
|
+
if (__getOwnPropSymbols$J)
|
|
2702
|
+
for (var prop of __getOwnPropSymbols$J(b)) {
|
|
2703
|
+
if (__propIsEnum$J.call(b, prop))
|
|
2704
|
+
__defNormalProp$I(a, prop, b[prop]);
|
|
2650
2705
|
}
|
|
2651
2706
|
return a;
|
|
2652
2707
|
};
|
|
2653
|
-
var __spreadProps$
|
|
2654
|
-
var __objRest$
|
|
2708
|
+
var __spreadProps$A = (a, b) => __defProps$A(a, __getOwnPropDescs$A(b));
|
|
2709
|
+
var __objRest$q = (source, exclude) => {
|
|
2655
2710
|
var target = {};
|
|
2656
2711
|
for (var prop in source)
|
|
2657
|
-
if (__hasOwnProp$
|
|
2712
|
+
if (__hasOwnProp$J.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2658
2713
|
target[prop] = source[prop];
|
|
2659
|
-
if (source != null && __getOwnPropSymbols$
|
|
2660
|
-
for (var prop of __getOwnPropSymbols$
|
|
2661
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2714
|
+
if (source != null && __getOwnPropSymbols$J)
|
|
2715
|
+
for (var prop of __getOwnPropSymbols$J(source)) {
|
|
2716
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$J.call(source, prop))
|
|
2662
2717
|
target[prop] = source[prop];
|
|
2663
2718
|
}
|
|
2664
2719
|
return target;
|
|
@@ -2670,7 +2725,7 @@ const FieldsInt = (_a) => {
|
|
|
2670
2725
|
onBlur,
|
|
2671
2726
|
autoComplete = "off",
|
|
2672
2727
|
supportNegativeValue = false
|
|
2673
|
-
} = _b, props = __objRest$
|
|
2728
|
+
} = _b, props = __objRest$q(_b, [
|
|
2674
2729
|
"input",
|
|
2675
2730
|
"meta",
|
|
2676
2731
|
"onBlur",
|
|
@@ -2679,7 +2734,7 @@ const FieldsInt = (_a) => {
|
|
|
2679
2734
|
]);
|
|
2680
2735
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
2681
2736
|
Input,
|
|
2682
|
-
__spreadValues$
|
|
2737
|
+
__spreadValues$I(__spreadProps$A(__spreadValues$I({}, input), {
|
|
2683
2738
|
onChange: (e) => {
|
|
2684
2739
|
const value = e.currentTarget.value;
|
|
2685
2740
|
if (supportNegativeValue) {
|
|
@@ -2714,31 +2769,31 @@ const formatterInteger = (value) => {
|
|
|
2714
2769
|
}
|
|
2715
2770
|
};
|
|
2716
2771
|
|
|
2717
|
-
var __defProp$
|
|
2718
|
-
var __defProps$
|
|
2719
|
-
var __getOwnPropDescs$
|
|
2720
|
-
var __getOwnPropSymbols$
|
|
2721
|
-
var __hasOwnProp$
|
|
2722
|
-
var __propIsEnum$
|
|
2723
|
-
var __defNormalProp$
|
|
2772
|
+
var __defProp$H = Object.defineProperty;
|
|
2773
|
+
var __defProps$z = Object.defineProperties;
|
|
2774
|
+
var __getOwnPropDescs$z = Object.getOwnPropertyDescriptors;
|
|
2775
|
+
var __getOwnPropSymbols$I = Object.getOwnPropertySymbols;
|
|
2776
|
+
var __hasOwnProp$I = Object.prototype.hasOwnProperty;
|
|
2777
|
+
var __propIsEnum$I = Object.prototype.propertyIsEnumerable;
|
|
2778
|
+
var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, {
|
|
2724
2779
|
enumerable: true,
|
|
2725
2780
|
configurable: true,
|
|
2726
2781
|
writable: true,
|
|
2727
2782
|
value
|
|
2728
2783
|
}) : obj[key] = value;
|
|
2729
|
-
var __spreadValues$
|
|
2730
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2731
|
-
if (__getOwnPropSymbols$
|
|
2732
|
-
if (__propIsEnum$
|
|
2784
|
+
var __spreadValues$H = (a, b) => {
|
|
2785
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$I.call(b, prop)) __defNormalProp$H(a, prop, b[prop]);
|
|
2786
|
+
if (__getOwnPropSymbols$I) for (var prop of __getOwnPropSymbols$I(b)) {
|
|
2787
|
+
if (__propIsEnum$I.call(b, prop)) __defNormalProp$H(a, prop, b[prop]);
|
|
2733
2788
|
}
|
|
2734
2789
|
return a;
|
|
2735
2790
|
};
|
|
2736
|
-
var __spreadProps$
|
|
2737
|
-
var __objRest$
|
|
2791
|
+
var __spreadProps$z = (a, b) => __defProps$z(a, __getOwnPropDescs$z(b));
|
|
2792
|
+
var __objRest$p = (source, exclude) => {
|
|
2738
2793
|
var target = {};
|
|
2739
|
-
for (var prop in source) if (__hasOwnProp$
|
|
2740
|
-
if (source != null && __getOwnPropSymbols$
|
|
2741
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2794
|
+
for (var prop in source) if (__hasOwnProp$I.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2795
|
+
if (source != null && __getOwnPropSymbols$I) for (var prop of __getOwnPropSymbols$I(source)) {
|
|
2796
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$I.call(source, prop)) target[prop] = source[prop];
|
|
2742
2797
|
}
|
|
2743
2798
|
return target;
|
|
2744
2799
|
};
|
|
@@ -2776,13 +2831,13 @@ const InputInteger = _a => {
|
|
|
2776
2831
|
min,
|
|
2777
2832
|
controls = false
|
|
2778
2833
|
} = _b,
|
|
2779
|
-
props = __objRest$
|
|
2834
|
+
props = __objRest$p(_b, ["className", "error", "size", "suffix", "prefix", "max", "min", "controls"]);
|
|
2780
2835
|
const typo = {
|
|
2781
2836
|
large: Typo.Label.l2_regular,
|
|
2782
2837
|
middle: Typo.Label.l3_regular,
|
|
2783
2838
|
small: Typo.Label.l4_regular
|
|
2784
2839
|
}[size];
|
|
2785
|
-
return /* @__PURE__ */React__default.createElement(AntdIntStyled, __spreadProps$
|
|
2840
|
+
return /* @__PURE__ */React__default.createElement(AntdIntStyled, __spreadProps$z(__spreadValues$H({}, props), {
|
|
2786
2841
|
size,
|
|
2787
2842
|
formatter: formatterInteger,
|
|
2788
2843
|
parser: formatterInteger,
|
|
@@ -2796,33 +2851,33 @@ const InputInteger = _a => {
|
|
|
2796
2851
|
}));
|
|
2797
2852
|
};
|
|
2798
2853
|
|
|
2799
|
-
var __defProp$
|
|
2800
|
-
var __defProps$
|
|
2801
|
-
var __getOwnPropDescs$
|
|
2802
|
-
var __getOwnPropSymbols$
|
|
2803
|
-
var __hasOwnProp$
|
|
2804
|
-
var __propIsEnum$
|
|
2805
|
-
var __defNormalProp$
|
|
2806
|
-
var __spreadValues$
|
|
2854
|
+
var __defProp$G = Object.defineProperty;
|
|
2855
|
+
var __defProps$y = Object.defineProperties;
|
|
2856
|
+
var __getOwnPropDescs$y = Object.getOwnPropertyDescriptors;
|
|
2857
|
+
var __getOwnPropSymbols$H = Object.getOwnPropertySymbols;
|
|
2858
|
+
var __hasOwnProp$H = Object.prototype.hasOwnProperty;
|
|
2859
|
+
var __propIsEnum$H = Object.prototype.propertyIsEnumerable;
|
|
2860
|
+
var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2861
|
+
var __spreadValues$G = (a, b) => {
|
|
2807
2862
|
for (var prop in b || (b = {}))
|
|
2808
|
-
if (__hasOwnProp$
|
|
2809
|
-
__defNormalProp$
|
|
2810
|
-
if (__getOwnPropSymbols$
|
|
2811
|
-
for (var prop of __getOwnPropSymbols$
|
|
2812
|
-
if (__propIsEnum$
|
|
2813
|
-
__defNormalProp$
|
|
2863
|
+
if (__hasOwnProp$H.call(b, prop))
|
|
2864
|
+
__defNormalProp$G(a, prop, b[prop]);
|
|
2865
|
+
if (__getOwnPropSymbols$H)
|
|
2866
|
+
for (var prop of __getOwnPropSymbols$H(b)) {
|
|
2867
|
+
if (__propIsEnum$H.call(b, prop))
|
|
2868
|
+
__defNormalProp$G(a, prop, b[prop]);
|
|
2814
2869
|
}
|
|
2815
2870
|
return a;
|
|
2816
2871
|
};
|
|
2817
|
-
var __spreadProps$
|
|
2818
|
-
var __objRest$
|
|
2872
|
+
var __spreadProps$y = (a, b) => __defProps$y(a, __getOwnPropDescs$y(b));
|
|
2873
|
+
var __objRest$o = (source, exclude) => {
|
|
2819
2874
|
var target = {};
|
|
2820
2875
|
for (var prop in source)
|
|
2821
|
-
if (__hasOwnProp$
|
|
2876
|
+
if (__hasOwnProp$H.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2822
2877
|
target[prop] = source[prop];
|
|
2823
|
-
if (source != null && __getOwnPropSymbols$
|
|
2824
|
-
for (var prop of __getOwnPropSymbols$
|
|
2825
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2878
|
+
if (source != null && __getOwnPropSymbols$H)
|
|
2879
|
+
for (var prop of __getOwnPropSymbols$H(source)) {
|
|
2880
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$H.call(source, prop))
|
|
2826
2881
|
target[prop] = source[prop];
|
|
2827
2882
|
}
|
|
2828
2883
|
return target;
|
|
@@ -2832,14 +2887,14 @@ const FieldsInteger = (_a) => {
|
|
|
2832
2887
|
meta,
|
|
2833
2888
|
input,
|
|
2834
2889
|
onBlur
|
|
2835
|
-
} = _b, props = __objRest$
|
|
2890
|
+
} = _b, props = __objRest$o(_b, [
|
|
2836
2891
|
"meta",
|
|
2837
2892
|
"input",
|
|
2838
2893
|
"onBlur"
|
|
2839
2894
|
]);
|
|
2840
2895
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
2841
2896
|
InputInteger,
|
|
2842
|
-
__spreadProps$
|
|
2897
|
+
__spreadProps$y(__spreadValues$G(__spreadValues$G({}, props), input), {
|
|
2843
2898
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
2844
2899
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
2845
2900
|
})
|
|
@@ -3107,33 +3162,33 @@ const Overflow = props => {
|
|
|
3107
3162
|
}, children), showOverflow && /* @__PURE__ */React__default.createElement("span", null, overflow));
|
|
3108
3163
|
};
|
|
3109
3164
|
|
|
3110
|
-
var __defProp$
|
|
3111
|
-
var __defProps$
|
|
3112
|
-
var __getOwnPropDescs$
|
|
3113
|
-
var __getOwnPropSymbols$
|
|
3114
|
-
var __hasOwnProp$
|
|
3115
|
-
var __propIsEnum$
|
|
3116
|
-
var __defNormalProp$
|
|
3117
|
-
var __spreadValues$
|
|
3165
|
+
var __defProp$F = Object.defineProperty;
|
|
3166
|
+
var __defProps$x = Object.defineProperties;
|
|
3167
|
+
var __getOwnPropDescs$x = Object.getOwnPropertyDescriptors;
|
|
3168
|
+
var __getOwnPropSymbols$G = Object.getOwnPropertySymbols;
|
|
3169
|
+
var __hasOwnProp$G = Object.prototype.hasOwnProperty;
|
|
3170
|
+
var __propIsEnum$G = Object.prototype.propertyIsEnumerable;
|
|
3171
|
+
var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3172
|
+
var __spreadValues$F = (a, b) => {
|
|
3118
3173
|
for (var prop in b || (b = {}))
|
|
3119
|
-
if (__hasOwnProp$
|
|
3120
|
-
__defNormalProp$
|
|
3121
|
-
if (__getOwnPropSymbols$
|
|
3122
|
-
for (var prop of __getOwnPropSymbols$
|
|
3123
|
-
if (__propIsEnum$
|
|
3124
|
-
__defNormalProp$
|
|
3174
|
+
if (__hasOwnProp$G.call(b, prop))
|
|
3175
|
+
__defNormalProp$F(a, prop, b[prop]);
|
|
3176
|
+
if (__getOwnPropSymbols$G)
|
|
3177
|
+
for (var prop of __getOwnPropSymbols$G(b)) {
|
|
3178
|
+
if (__propIsEnum$G.call(b, prop))
|
|
3179
|
+
__defNormalProp$F(a, prop, b[prop]);
|
|
3125
3180
|
}
|
|
3126
3181
|
return a;
|
|
3127
3182
|
};
|
|
3128
|
-
var __spreadProps$
|
|
3129
|
-
var __objRest$
|
|
3183
|
+
var __spreadProps$x = (a, b) => __defProps$x(a, __getOwnPropDescs$x(b));
|
|
3184
|
+
var __objRest$n = (source, exclude) => {
|
|
3130
3185
|
var target = {};
|
|
3131
3186
|
for (var prop in source)
|
|
3132
|
-
if (__hasOwnProp$
|
|
3187
|
+
if (__hasOwnProp$G.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3133
3188
|
target[prop] = source[prop];
|
|
3134
|
-
if (source != null && __getOwnPropSymbols$
|
|
3135
|
-
for (var prop of __getOwnPropSymbols$
|
|
3136
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3189
|
+
if (source != null && __getOwnPropSymbols$G)
|
|
3190
|
+
for (var prop of __getOwnPropSymbols$G(source)) {
|
|
3191
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$G.call(source, prop))
|
|
3137
3192
|
target[prop] = source[prop];
|
|
3138
3193
|
}
|
|
3139
3194
|
return target;
|
|
@@ -3152,7 +3207,7 @@ const FieldsString = (_a) => {
|
|
|
3152
3207
|
onClick,
|
|
3153
3208
|
maxLength,
|
|
3154
3209
|
focusIndicator
|
|
3155
|
-
} = _b, props = __objRest$
|
|
3210
|
+
} = _b, props = __objRest$n(_b, [
|
|
3156
3211
|
"input",
|
|
3157
3212
|
"meta",
|
|
3158
3213
|
"autoComplete",
|
|
@@ -3184,7 +3239,7 @@ const FieldsString = (_a) => {
|
|
|
3184
3239
|
}
|
|
3185
3240
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
3186
3241
|
Input,
|
|
3187
|
-
__spreadProps$
|
|
3242
|
+
__spreadProps$x(__spreadValues$F(__spreadProps$x(__spreadValues$F({
|
|
3188
3243
|
className: cs(
|
|
3189
3244
|
className,
|
|
3190
3245
|
KitInputStyle,
|
|
@@ -3209,33 +3264,33 @@ const FieldsString = (_a) => {
|
|
|
3209
3264
|
));
|
|
3210
3265
|
};
|
|
3211
3266
|
|
|
3212
|
-
var __defProp$
|
|
3213
|
-
var __defProps$
|
|
3214
|
-
var __getOwnPropDescs$
|
|
3215
|
-
var __getOwnPropSymbols$
|
|
3216
|
-
var __hasOwnProp$
|
|
3217
|
-
var __propIsEnum$
|
|
3218
|
-
var __defNormalProp$
|
|
3219
|
-
var __spreadValues$
|
|
3267
|
+
var __defProp$E = Object.defineProperty;
|
|
3268
|
+
var __defProps$w = Object.defineProperties;
|
|
3269
|
+
var __getOwnPropDescs$w = Object.getOwnPropertyDescriptors;
|
|
3270
|
+
var __getOwnPropSymbols$F = Object.getOwnPropertySymbols;
|
|
3271
|
+
var __hasOwnProp$F = Object.prototype.hasOwnProperty;
|
|
3272
|
+
var __propIsEnum$F = Object.prototype.propertyIsEnumerable;
|
|
3273
|
+
var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3274
|
+
var __spreadValues$E = (a, b) => {
|
|
3220
3275
|
for (var prop in b || (b = {}))
|
|
3221
|
-
if (__hasOwnProp$
|
|
3222
|
-
__defNormalProp$
|
|
3223
|
-
if (__getOwnPropSymbols$
|
|
3224
|
-
for (var prop of __getOwnPropSymbols$
|
|
3225
|
-
if (__propIsEnum$
|
|
3226
|
-
__defNormalProp$
|
|
3276
|
+
if (__hasOwnProp$F.call(b, prop))
|
|
3277
|
+
__defNormalProp$E(a, prop, b[prop]);
|
|
3278
|
+
if (__getOwnPropSymbols$F)
|
|
3279
|
+
for (var prop of __getOwnPropSymbols$F(b)) {
|
|
3280
|
+
if (__propIsEnum$F.call(b, prop))
|
|
3281
|
+
__defNormalProp$E(a, prop, b[prop]);
|
|
3227
3282
|
}
|
|
3228
3283
|
return a;
|
|
3229
3284
|
};
|
|
3230
|
-
var __spreadProps$
|
|
3231
|
-
var __objRest$
|
|
3285
|
+
var __spreadProps$w = (a, b) => __defProps$w(a, __getOwnPropDescs$w(b));
|
|
3286
|
+
var __objRest$m = (source, exclude) => {
|
|
3232
3287
|
var target = {};
|
|
3233
3288
|
for (var prop in source)
|
|
3234
|
-
if (__hasOwnProp$
|
|
3289
|
+
if (__hasOwnProp$F.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3235
3290
|
target[prop] = source[prop];
|
|
3236
|
-
if (source != null && __getOwnPropSymbols$
|
|
3237
|
-
for (var prop of __getOwnPropSymbols$
|
|
3238
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3291
|
+
if (source != null && __getOwnPropSymbols$F)
|
|
3292
|
+
for (var prop of __getOwnPropSymbols$F(source)) {
|
|
3293
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$F.call(source, prop))
|
|
3239
3294
|
target[prop] = source[prop];
|
|
3240
3295
|
}
|
|
3241
3296
|
return target;
|
|
@@ -3245,7 +3300,7 @@ const TextArea = (_a) => {
|
|
|
3245
3300
|
className,
|
|
3246
3301
|
error,
|
|
3247
3302
|
size = "middle"
|
|
3248
|
-
} = _b, props = __objRest$
|
|
3303
|
+
} = _b, props = __objRest$m(_b, [
|
|
3249
3304
|
"className",
|
|
3250
3305
|
"error",
|
|
3251
3306
|
"size"
|
|
@@ -3257,7 +3312,7 @@ const TextArea = (_a) => {
|
|
|
3257
3312
|
}[size];
|
|
3258
3313
|
return /* @__PURE__ */ React__default.createElement(
|
|
3259
3314
|
Input$1.TextArea,
|
|
3260
|
-
__spreadProps$
|
|
3315
|
+
__spreadProps$w(__spreadValues$E({}, props), {
|
|
3261
3316
|
className: cs(
|
|
3262
3317
|
className,
|
|
3263
3318
|
InputStyle,
|
|
@@ -3271,33 +3326,33 @@ const TextArea = (_a) => {
|
|
|
3271
3326
|
);
|
|
3272
3327
|
};
|
|
3273
3328
|
|
|
3274
|
-
var __defProp$
|
|
3275
|
-
var __defProps$
|
|
3276
|
-
var __getOwnPropDescs$
|
|
3277
|
-
var __getOwnPropSymbols$
|
|
3278
|
-
var __hasOwnProp$
|
|
3279
|
-
var __propIsEnum$
|
|
3280
|
-
var __defNormalProp$
|
|
3281
|
-
var __spreadValues$
|
|
3329
|
+
var __defProp$D = Object.defineProperty;
|
|
3330
|
+
var __defProps$v = Object.defineProperties;
|
|
3331
|
+
var __getOwnPropDescs$v = Object.getOwnPropertyDescriptors;
|
|
3332
|
+
var __getOwnPropSymbols$E = Object.getOwnPropertySymbols;
|
|
3333
|
+
var __hasOwnProp$E = Object.prototype.hasOwnProperty;
|
|
3334
|
+
var __propIsEnum$E = Object.prototype.propertyIsEnumerable;
|
|
3335
|
+
var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3336
|
+
var __spreadValues$D = (a, b) => {
|
|
3282
3337
|
for (var prop in b || (b = {}))
|
|
3283
|
-
if (__hasOwnProp$
|
|
3284
|
-
__defNormalProp$
|
|
3285
|
-
if (__getOwnPropSymbols$
|
|
3286
|
-
for (var prop of __getOwnPropSymbols$
|
|
3287
|
-
if (__propIsEnum$
|
|
3288
|
-
__defNormalProp$
|
|
3338
|
+
if (__hasOwnProp$E.call(b, prop))
|
|
3339
|
+
__defNormalProp$D(a, prop, b[prop]);
|
|
3340
|
+
if (__getOwnPropSymbols$E)
|
|
3341
|
+
for (var prop of __getOwnPropSymbols$E(b)) {
|
|
3342
|
+
if (__propIsEnum$E.call(b, prop))
|
|
3343
|
+
__defNormalProp$D(a, prop, b[prop]);
|
|
3289
3344
|
}
|
|
3290
3345
|
return a;
|
|
3291
3346
|
};
|
|
3292
|
-
var __spreadProps$
|
|
3293
|
-
var __objRest$
|
|
3347
|
+
var __spreadProps$v = (a, b) => __defProps$v(a, __getOwnPropDescs$v(b));
|
|
3348
|
+
var __objRest$l = (source, exclude) => {
|
|
3294
3349
|
var target = {};
|
|
3295
3350
|
for (var prop in source)
|
|
3296
|
-
if (__hasOwnProp$
|
|
3351
|
+
if (__hasOwnProp$E.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3297
3352
|
target[prop] = source[prop];
|
|
3298
|
-
if (source != null && __getOwnPropSymbols$
|
|
3299
|
-
for (var prop of __getOwnPropSymbols$
|
|
3300
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3353
|
+
if (source != null && __getOwnPropSymbols$E)
|
|
3354
|
+
for (var prop of __getOwnPropSymbols$E(source)) {
|
|
3355
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$E.call(source, prop))
|
|
3301
3356
|
target[prop] = source[prop];
|
|
3302
3357
|
}
|
|
3303
3358
|
return target;
|
|
@@ -3307,14 +3362,14 @@ const FieldsTextArea = (_a) => {
|
|
|
3307
3362
|
input,
|
|
3308
3363
|
meta,
|
|
3309
3364
|
onFocusChangeHeight
|
|
3310
|
-
} = _b, props = __objRest$
|
|
3365
|
+
} = _b, props = __objRest$l(_b, [
|
|
3311
3366
|
"input",
|
|
3312
3367
|
"meta",
|
|
3313
3368
|
"onFocusChangeHeight"
|
|
3314
3369
|
]);
|
|
3315
3370
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
3316
3371
|
TextArea,
|
|
3317
|
-
__spreadProps$
|
|
3372
|
+
__spreadProps$v(__spreadValues$D(__spreadValues$D({}, input), props), {
|
|
3318
3373
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError),
|
|
3319
3374
|
onFocus: (e) => {
|
|
3320
3375
|
input.onFocus(e);
|
|
@@ -3328,33 +3383,33 @@ const FieldsTextArea = (_a) => {
|
|
|
3328
3383
|
));
|
|
3329
3384
|
};
|
|
3330
3385
|
|
|
3331
|
-
var __defProp$
|
|
3332
|
-
var __defProps$
|
|
3333
|
-
var __getOwnPropDescs$
|
|
3334
|
-
var __getOwnPropSymbols$
|
|
3335
|
-
var __hasOwnProp$
|
|
3336
|
-
var __propIsEnum$
|
|
3337
|
-
var __defNormalProp$
|
|
3338
|
-
var __spreadValues$
|
|
3386
|
+
var __defProp$C = Object.defineProperty;
|
|
3387
|
+
var __defProps$u = Object.defineProperties;
|
|
3388
|
+
var __getOwnPropDescs$u = Object.getOwnPropertyDescriptors;
|
|
3389
|
+
var __getOwnPropSymbols$D = Object.getOwnPropertySymbols;
|
|
3390
|
+
var __hasOwnProp$D = Object.prototype.hasOwnProperty;
|
|
3391
|
+
var __propIsEnum$D = Object.prototype.propertyIsEnumerable;
|
|
3392
|
+
var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3393
|
+
var __spreadValues$C = (a, b) => {
|
|
3339
3394
|
for (var prop in b || (b = {}))
|
|
3340
|
-
if (__hasOwnProp$
|
|
3341
|
-
__defNormalProp$
|
|
3342
|
-
if (__getOwnPropSymbols$
|
|
3343
|
-
for (var prop of __getOwnPropSymbols$
|
|
3344
|
-
if (__propIsEnum$
|
|
3345
|
-
__defNormalProp$
|
|
3395
|
+
if (__hasOwnProp$D.call(b, prop))
|
|
3396
|
+
__defNormalProp$C(a, prop, b[prop]);
|
|
3397
|
+
if (__getOwnPropSymbols$D)
|
|
3398
|
+
for (var prop of __getOwnPropSymbols$D(b)) {
|
|
3399
|
+
if (__propIsEnum$D.call(b, prop))
|
|
3400
|
+
__defNormalProp$C(a, prop, b[prop]);
|
|
3346
3401
|
}
|
|
3347
3402
|
return a;
|
|
3348
3403
|
};
|
|
3349
|
-
var __spreadProps$
|
|
3350
|
-
var __objRest$
|
|
3404
|
+
var __spreadProps$u = (a, b) => __defProps$u(a, __getOwnPropDescs$u(b));
|
|
3405
|
+
var __objRest$k = (source, exclude) => {
|
|
3351
3406
|
var target = {};
|
|
3352
3407
|
for (var prop in source)
|
|
3353
|
-
if (__hasOwnProp$
|
|
3408
|
+
if (__hasOwnProp$D.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3354
3409
|
target[prop] = source[prop];
|
|
3355
|
-
if (source != null && __getOwnPropSymbols$
|
|
3356
|
-
for (var prop of __getOwnPropSymbols$
|
|
3357
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3410
|
+
if (source != null && __getOwnPropSymbols$D)
|
|
3411
|
+
for (var prop of __getOwnPropSymbols$D(source)) {
|
|
3412
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$D.call(source, prop))
|
|
3358
3413
|
target[prop] = source[prop];
|
|
3359
3414
|
}
|
|
3360
3415
|
return target;
|
|
@@ -3364,7 +3419,7 @@ const TimePicker = (_a) => {
|
|
|
3364
3419
|
className,
|
|
3365
3420
|
error,
|
|
3366
3421
|
size = "middle"
|
|
3367
|
-
} = _b, props = __objRest$
|
|
3422
|
+
} = _b, props = __objRest$k(_b, [
|
|
3368
3423
|
"className",
|
|
3369
3424
|
"error",
|
|
3370
3425
|
"size"
|
|
@@ -3376,7 +3431,7 @@ const TimePicker = (_a) => {
|
|
|
3376
3431
|
}[size];
|
|
3377
3432
|
return /* @__PURE__ */ React__default.createElement(
|
|
3378
3433
|
TimePicker$1,
|
|
3379
|
-
__spreadProps$
|
|
3434
|
+
__spreadProps$u(__spreadValues$C({}, props), {
|
|
3380
3435
|
size,
|
|
3381
3436
|
"data-test": props.name,
|
|
3382
3437
|
className: cs(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -3384,33 +3439,33 @@ const TimePicker = (_a) => {
|
|
|
3384
3439
|
);
|
|
3385
3440
|
};
|
|
3386
3441
|
|
|
3387
|
-
var __defProp$
|
|
3388
|
-
var __defProps$
|
|
3389
|
-
var __getOwnPropDescs$
|
|
3390
|
-
var __getOwnPropSymbols$
|
|
3391
|
-
var __hasOwnProp$
|
|
3392
|
-
var __propIsEnum$
|
|
3393
|
-
var __defNormalProp$
|
|
3394
|
-
var __spreadValues$
|
|
3442
|
+
var __defProp$B = Object.defineProperty;
|
|
3443
|
+
var __defProps$t = Object.defineProperties;
|
|
3444
|
+
var __getOwnPropDescs$t = Object.getOwnPropertyDescriptors;
|
|
3445
|
+
var __getOwnPropSymbols$C = Object.getOwnPropertySymbols;
|
|
3446
|
+
var __hasOwnProp$C = Object.prototype.hasOwnProperty;
|
|
3447
|
+
var __propIsEnum$C = Object.prototype.propertyIsEnumerable;
|
|
3448
|
+
var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3449
|
+
var __spreadValues$B = (a, b) => {
|
|
3395
3450
|
for (var prop in b || (b = {}))
|
|
3396
|
-
if (__hasOwnProp$
|
|
3397
|
-
__defNormalProp$
|
|
3398
|
-
if (__getOwnPropSymbols$
|
|
3399
|
-
for (var prop of __getOwnPropSymbols$
|
|
3400
|
-
if (__propIsEnum$
|
|
3401
|
-
__defNormalProp$
|
|
3451
|
+
if (__hasOwnProp$C.call(b, prop))
|
|
3452
|
+
__defNormalProp$B(a, prop, b[prop]);
|
|
3453
|
+
if (__getOwnPropSymbols$C)
|
|
3454
|
+
for (var prop of __getOwnPropSymbols$C(b)) {
|
|
3455
|
+
if (__propIsEnum$C.call(b, prop))
|
|
3456
|
+
__defNormalProp$B(a, prop, b[prop]);
|
|
3402
3457
|
}
|
|
3403
3458
|
return a;
|
|
3404
3459
|
};
|
|
3405
|
-
var __spreadProps$
|
|
3406
|
-
var __objRest$
|
|
3460
|
+
var __spreadProps$t = (a, b) => __defProps$t(a, __getOwnPropDescs$t(b));
|
|
3461
|
+
var __objRest$j = (source, exclude) => {
|
|
3407
3462
|
var target = {};
|
|
3408
3463
|
for (var prop in source)
|
|
3409
|
-
if (__hasOwnProp$
|
|
3464
|
+
if (__hasOwnProp$C.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3410
3465
|
target[prop] = source[prop];
|
|
3411
|
-
if (source != null && __getOwnPropSymbols$
|
|
3412
|
-
for (var prop of __getOwnPropSymbols$
|
|
3413
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3466
|
+
if (source != null && __getOwnPropSymbols$C)
|
|
3467
|
+
for (var prop of __getOwnPropSymbols$C(source)) {
|
|
3468
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$C.call(source, prop))
|
|
3414
3469
|
target[prop] = source[prop];
|
|
3415
3470
|
}
|
|
3416
3471
|
return target;
|
|
@@ -3419,13 +3474,13 @@ const FieldsTimePicker = (_a) => {
|
|
|
3419
3474
|
var _b = _a, {
|
|
3420
3475
|
input,
|
|
3421
3476
|
meta
|
|
3422
|
-
} = _b, props = __objRest$
|
|
3477
|
+
} = _b, props = __objRest$j(_b, [
|
|
3423
3478
|
"input",
|
|
3424
3479
|
"meta"
|
|
3425
3480
|
]);
|
|
3426
3481
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
3427
3482
|
TimePicker,
|
|
3428
|
-
__spreadValues$
|
|
3483
|
+
__spreadValues$B(__spreadProps$t(__spreadValues$B({}, input), {
|
|
3429
3484
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
3430
3485
|
}), props)
|
|
3431
3486
|
));
|
|
@@ -3444,31 +3499,31 @@ const fields = {
|
|
|
3444
3499
|
DateTimeRange: FieldsDateTimeRange
|
|
3445
3500
|
};
|
|
3446
3501
|
|
|
3447
|
-
var __defProp$
|
|
3448
|
-
var __defProps$
|
|
3449
|
-
var __getOwnPropDescs$
|
|
3450
|
-
var __getOwnPropSymbols$
|
|
3451
|
-
var __hasOwnProp$
|
|
3452
|
-
var __propIsEnum$
|
|
3453
|
-
var __defNormalProp$
|
|
3502
|
+
var __defProp$A = Object.defineProperty;
|
|
3503
|
+
var __defProps$s = Object.defineProperties;
|
|
3504
|
+
var __getOwnPropDescs$s = Object.getOwnPropertyDescriptors;
|
|
3505
|
+
var __getOwnPropSymbols$B = Object.getOwnPropertySymbols;
|
|
3506
|
+
var __hasOwnProp$B = Object.prototype.hasOwnProperty;
|
|
3507
|
+
var __propIsEnum$B = Object.prototype.propertyIsEnumerable;
|
|
3508
|
+
var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, {
|
|
3454
3509
|
enumerable: true,
|
|
3455
3510
|
configurable: true,
|
|
3456
3511
|
writable: true,
|
|
3457
3512
|
value
|
|
3458
3513
|
}) : obj[key] = value;
|
|
3459
|
-
var __spreadValues$
|
|
3460
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3461
|
-
if (__getOwnPropSymbols$
|
|
3462
|
-
if (__propIsEnum$
|
|
3514
|
+
var __spreadValues$A = (a, b) => {
|
|
3515
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$B.call(b, prop)) __defNormalProp$A(a, prop, b[prop]);
|
|
3516
|
+
if (__getOwnPropSymbols$B) for (var prop of __getOwnPropSymbols$B(b)) {
|
|
3517
|
+
if (__propIsEnum$B.call(b, prop)) __defNormalProp$A(a, prop, b[prop]);
|
|
3463
3518
|
}
|
|
3464
3519
|
return a;
|
|
3465
3520
|
};
|
|
3466
|
-
var __spreadProps$
|
|
3467
|
-
var __objRest$
|
|
3521
|
+
var __spreadProps$s = (a, b) => __defProps$s(a, __getOwnPropDescs$s(b));
|
|
3522
|
+
var __objRest$i = (source, exclude) => {
|
|
3468
3523
|
var target = {};
|
|
3469
|
-
for (var prop in source) if (__hasOwnProp$
|
|
3470
|
-
if (source != null && __getOwnPropSymbols$
|
|
3471
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3524
|
+
for (var prop in source) if (__hasOwnProp$B.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
3525
|
+
if (source != null && __getOwnPropSymbols$B) for (var prop of __getOwnPropSymbols$B(source)) {
|
|
3526
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$B.call(source, prop)) target[prop] = source[prop];
|
|
3472
3527
|
}
|
|
3473
3528
|
return target;
|
|
3474
3529
|
};
|
|
@@ -3480,7 +3535,7 @@ const Switch = _a => {
|
|
|
3480
3535
|
className,
|
|
3481
3536
|
checked
|
|
3482
3537
|
} = _b,
|
|
3483
|
-
props = __objRest$
|
|
3538
|
+
props = __objRest$i(_b, ["children", "className", "checked"]);
|
|
3484
3539
|
const Content = /*#__PURE__*/styled$1('span')({
|
|
3485
3540
|
name: "Content",
|
|
3486
3541
|
class: "c1to9vb9",
|
|
@@ -3488,7 +3543,7 @@ const Switch = _a => {
|
|
|
3488
3543
|
});
|
|
3489
3544
|
const classNames = [className, SwitchStyle, "switch"];
|
|
3490
3545
|
if (props.size === "large") classNames.push("ant-switch-large");
|
|
3491
|
-
return /* @__PURE__ */React__default.createElement(React__default.Fragment, null, /* @__PURE__ */React__default.createElement(Switch$1, __spreadProps$
|
|
3546
|
+
return /* @__PURE__ */React__default.createElement(React__default.Fragment, null, /* @__PURE__ */React__default.createElement(Switch$1, __spreadProps$s(__spreadValues$A({
|
|
3492
3547
|
className: cx(...classNames),
|
|
3493
3548
|
checked: checked || false
|
|
3494
3549
|
}, props), {
|
|
@@ -3496,26 +3551,26 @@ const Switch = _a => {
|
|
|
3496
3551
|
})), children ? /* @__PURE__ */React__default.createElement(Content, null, children) : null);
|
|
3497
3552
|
};
|
|
3498
3553
|
|
|
3499
|
-
var __defProp$
|
|
3500
|
-
var __defProps$
|
|
3501
|
-
var __getOwnPropDescs$
|
|
3502
|
-
var __getOwnPropSymbols$
|
|
3503
|
-
var __hasOwnProp$
|
|
3504
|
-
var __propIsEnum$
|
|
3505
|
-
var __defNormalProp$
|
|
3554
|
+
var __defProp$z = Object.defineProperty;
|
|
3555
|
+
var __defProps$r = Object.defineProperties;
|
|
3556
|
+
var __getOwnPropDescs$r = Object.getOwnPropertyDescriptors;
|
|
3557
|
+
var __getOwnPropSymbols$A = Object.getOwnPropertySymbols;
|
|
3558
|
+
var __hasOwnProp$A = Object.prototype.hasOwnProperty;
|
|
3559
|
+
var __propIsEnum$A = Object.prototype.propertyIsEnumerable;
|
|
3560
|
+
var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, {
|
|
3506
3561
|
enumerable: true,
|
|
3507
3562
|
configurable: true,
|
|
3508
3563
|
writable: true,
|
|
3509
3564
|
value
|
|
3510
3565
|
}) : obj[key] = value;
|
|
3511
|
-
var __spreadValues$
|
|
3512
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3513
|
-
if (__getOwnPropSymbols$
|
|
3514
|
-
if (__propIsEnum$
|
|
3566
|
+
var __spreadValues$z = (a, b) => {
|
|
3567
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$A.call(b, prop)) __defNormalProp$z(a, prop, b[prop]);
|
|
3568
|
+
if (__getOwnPropSymbols$A) for (var prop of __getOwnPropSymbols$A(b)) {
|
|
3569
|
+
if (__propIsEnum$A.call(b, prop)) __defNormalProp$z(a, prop, b[prop]);
|
|
3515
3570
|
}
|
|
3516
3571
|
return a;
|
|
3517
3572
|
};
|
|
3518
|
-
var __spreadProps$
|
|
3573
|
+
var __spreadProps$r = (a, b) => __defProps$r(a, __getOwnPropDescs$r(b));
|
|
3519
3574
|
const CronPlanWrapper = "c1up1pdz";
|
|
3520
3575
|
const CronPlanHeader = "c156wh19";
|
|
3521
3576
|
const ModeTabs = "m126spxy";
|
|
@@ -3610,7 +3665,7 @@ const Daily = ({
|
|
|
3610
3665
|
input: {
|
|
3611
3666
|
value: daily.step,
|
|
3612
3667
|
onChange: value => {
|
|
3613
|
-
setDaily(__spreadProps$
|
|
3668
|
+
setDaily(__spreadProps$r(__spreadValues$z({}, daily), {
|
|
3614
3669
|
step: value
|
|
3615
3670
|
}));
|
|
3616
3671
|
},
|
|
@@ -3624,7 +3679,7 @@ const Daily = ({
|
|
|
3624
3679
|
value: daily.time,
|
|
3625
3680
|
onChange: value => {
|
|
3626
3681
|
if (value) {
|
|
3627
|
-
setDaily(__spreadProps$
|
|
3682
|
+
setDaily(__spreadProps$r(__spreadValues$z({}, daily), {
|
|
3628
3683
|
time: value
|
|
3629
3684
|
}));
|
|
3630
3685
|
}
|
|
@@ -3679,7 +3734,7 @@ const Weekly = ({
|
|
|
3679
3734
|
input: {
|
|
3680
3735
|
value: weekly.step,
|
|
3681
3736
|
onChange: value => {
|
|
3682
|
-
setWeekly(__spreadProps$
|
|
3737
|
+
setWeekly(__spreadProps$r(__spreadValues$z({}, weekly), {
|
|
3683
3738
|
step: value
|
|
3684
3739
|
}));
|
|
3685
3740
|
},
|
|
@@ -3696,7 +3751,7 @@ const Weekly = ({
|
|
|
3696
3751
|
className: cx$1("week-day-option", active && "active", i18n.language === ParrotLngs.en && "en-text"),
|
|
3697
3752
|
type: "default",
|
|
3698
3753
|
key: d.value,
|
|
3699
|
-
onClick: () => setWeekly(__spreadProps$
|
|
3754
|
+
onClick: () => setWeekly(__spreadProps$r(__spreadValues$z({}, weekly), {
|
|
3700
3755
|
days: active ? weekly.days.filter(day => day !== d.value) : weekly.days.concat(d.value).sort((a, b) => a - b)
|
|
3701
3756
|
}))
|
|
3702
3757
|
}, d.text);
|
|
@@ -3708,7 +3763,7 @@ const Weekly = ({
|
|
|
3708
3763
|
value: weekly.time,
|
|
3709
3764
|
onChange: value => {
|
|
3710
3765
|
if (value) {
|
|
3711
|
-
setWeekly(__spreadProps$
|
|
3766
|
+
setWeekly(__spreadProps$r(__spreadValues$z({}, weekly), {
|
|
3712
3767
|
time: value
|
|
3713
3768
|
}));
|
|
3714
3769
|
}
|
|
@@ -3735,7 +3790,7 @@ const Monthly = ({
|
|
|
3735
3790
|
input: {
|
|
3736
3791
|
value: monthly.step,
|
|
3737
3792
|
onChange: value => {
|
|
3738
|
-
setMonthly(__spreadProps$
|
|
3793
|
+
setMonthly(__spreadProps$r(__spreadValues$z({}, monthly), {
|
|
3739
3794
|
step: value
|
|
3740
3795
|
}));
|
|
3741
3796
|
},
|
|
@@ -3752,7 +3807,7 @@ const Monthly = ({
|
|
|
3752
3807
|
className: cx$1("month-day-option", active && "active"),
|
|
3753
3808
|
type: "default",
|
|
3754
3809
|
key: d,
|
|
3755
|
-
onClick: () => setMonthly(__spreadProps$
|
|
3810
|
+
onClick: () => setMonthly(__spreadProps$r(__spreadValues$z({}, monthly), {
|
|
3756
3811
|
days: active ? monthly.days.filter(day => day !== d) : monthly.days.concat(d).sort((a, b) => a - b)
|
|
3757
3812
|
}))
|
|
3758
3813
|
}, d);
|
|
@@ -3768,7 +3823,7 @@ const Monthly = ({
|
|
|
3768
3823
|
value: monthly.time,
|
|
3769
3824
|
onChange: value => {
|
|
3770
3825
|
if (value) {
|
|
3771
|
-
setMonthly(__spreadProps$
|
|
3826
|
+
setMonthly(__spreadProps$r(__spreadValues$z({}, monthly), {
|
|
3772
3827
|
time: value
|
|
3773
3828
|
}));
|
|
3774
3829
|
}
|
|
@@ -3792,7 +3847,7 @@ const CronPlan = props => {
|
|
|
3792
3847
|
}, [value]);
|
|
3793
3848
|
const sendAtDate = useMemo(() => cronTime.sendAt(), [cronTime]);
|
|
3794
3849
|
const changeValue = newValue => {
|
|
3795
|
-
onChange(__spreadValues$
|
|
3850
|
+
onChange(__spreadValues$z(__spreadValues$z({}, value), newValue));
|
|
3796
3851
|
};
|
|
3797
3852
|
const [mode, setMode] = useState(getMode(cronTime["source"]));
|
|
3798
3853
|
const source = cronTime["source"];
|
|
@@ -3800,19 +3855,19 @@ const CronPlan = props => {
|
|
|
3800
3855
|
const time = getTime(cronTime);
|
|
3801
3856
|
const [daily, setDaily] = useState(() => {
|
|
3802
3857
|
const rawDaily = getDaily(mode, source, time);
|
|
3803
|
-
return __spreadProps$
|
|
3858
|
+
return __spreadProps$r(__spreadValues$z({}, rawDaily), {
|
|
3804
3859
|
time: moment(rawDaily.time.format())
|
|
3805
3860
|
});
|
|
3806
3861
|
});
|
|
3807
3862
|
const [weekly, setWeekly] = useState(() => {
|
|
3808
3863
|
const rawWeekly = getWeekly(mode, source, time);
|
|
3809
|
-
return __spreadProps$
|
|
3864
|
+
return __spreadProps$r(__spreadValues$z({}, rawWeekly), {
|
|
3810
3865
|
time: moment(rawWeekly.time.format())
|
|
3811
3866
|
});
|
|
3812
3867
|
});
|
|
3813
3868
|
const [monthly, setMonthly] = useState(() => {
|
|
3814
3869
|
const rawMonthly = getMonthly(mode, month, day, time);
|
|
3815
|
-
return __spreadProps$
|
|
3870
|
+
return __spreadProps$r(__spreadValues$z({}, rawMonthly), {
|
|
3816
3871
|
time: moment(rawMonthly.time.format())
|
|
3817
3872
|
});
|
|
3818
3873
|
});
|
|
@@ -3995,19 +4050,24 @@ const NamesTooltip = props => {
|
|
|
3995
4050
|
}, children));
|
|
3996
4051
|
};
|
|
3997
4052
|
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
var
|
|
4053
|
+
const SidebarSubtitle = (props) => {
|
|
4054
|
+
const { title, className } = props;
|
|
4055
|
+
return /* @__PURE__ */ React__default.createElement("span", { className: cx$1(Typo.Heading.h3_regular_upper, className) }, title);
|
|
4056
|
+
};
|
|
4057
|
+
|
|
4058
|
+
var __defProp$y = Object.defineProperty;
|
|
4059
|
+
var __getOwnPropSymbols$z = Object.getOwnPropertySymbols;
|
|
4060
|
+
var __hasOwnProp$z = Object.prototype.hasOwnProperty;
|
|
4061
|
+
var __propIsEnum$z = Object.prototype.propertyIsEnumerable;
|
|
4062
|
+
var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4063
|
+
var __spreadValues$y = (a, b) => {
|
|
4004
4064
|
for (var prop in b || (b = {}))
|
|
4005
|
-
if (__hasOwnProp$
|
|
4006
|
-
__defNormalProp$
|
|
4007
|
-
if (__getOwnPropSymbols$
|
|
4008
|
-
for (var prop of __getOwnPropSymbols$
|
|
4009
|
-
if (__propIsEnum$
|
|
4010
|
-
__defNormalProp$
|
|
4065
|
+
if (__hasOwnProp$z.call(b, prop))
|
|
4066
|
+
__defNormalProp$y(a, prop, b[prop]);
|
|
4067
|
+
if (__getOwnPropSymbols$z)
|
|
4068
|
+
for (var prop of __getOwnPropSymbols$z(b)) {
|
|
4069
|
+
if (__propIsEnum$z.call(b, prop))
|
|
4070
|
+
__defNormalProp$y(a, prop, b[prop]);
|
|
4011
4071
|
}
|
|
4012
4072
|
return a;
|
|
4013
4073
|
};
|
|
@@ -4017,7 +4077,7 @@ const SortableList = ({ moveItem, children }) => {
|
|
|
4017
4077
|
return;
|
|
4018
4078
|
moveItem(result.source.index, result.destination.index);
|
|
4019
4079
|
};
|
|
4020
|
-
return /* @__PURE__ */ React__default.createElement(DragDropContext, { onDragEnd }, /* @__PURE__ */ React__default.createElement(Droppable, { droppableId: "droppable" }, (provided) => /* @__PURE__ */ React__default.createElement("div", __spreadValues$
|
|
4080
|
+
return /* @__PURE__ */ React__default.createElement(DragDropContext, { onDragEnd }, /* @__PURE__ */ React__default.createElement(Droppable, { droppableId: "droppable" }, (provided) => /* @__PURE__ */ React__default.createElement("div", __spreadValues$y({ ref: provided.innerRef }, provided.droppableProps), children, provided.placeholder)));
|
|
4021
4081
|
};
|
|
4022
4082
|
SortableList.Item = Draggable;
|
|
4023
4083
|
|
|
@@ -4121,28 +4181,28 @@ const SummaryTable = props => {
|
|
|
4121
4181
|
})));
|
|
4122
4182
|
};
|
|
4123
4183
|
|
|
4124
|
-
var __defProp$
|
|
4125
|
-
var __getOwnPropSymbols$
|
|
4126
|
-
var __hasOwnProp$
|
|
4127
|
-
var __propIsEnum$
|
|
4128
|
-
var __defNormalProp$
|
|
4184
|
+
var __defProp$x = Object.defineProperty;
|
|
4185
|
+
var __getOwnPropSymbols$y = Object.getOwnPropertySymbols;
|
|
4186
|
+
var __hasOwnProp$y = Object.prototype.hasOwnProperty;
|
|
4187
|
+
var __propIsEnum$y = Object.prototype.propertyIsEnumerable;
|
|
4188
|
+
var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, {
|
|
4129
4189
|
enumerable: true,
|
|
4130
4190
|
configurable: true,
|
|
4131
4191
|
writable: true,
|
|
4132
|
-
value
|
|
4133
|
-
}) : obj[key] = value;
|
|
4134
|
-
var __spreadValues$
|
|
4135
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4136
|
-
if (__getOwnPropSymbols$
|
|
4137
|
-
if (__propIsEnum$
|
|
4192
|
+
value
|
|
4193
|
+
}) : obj[key] = value;
|
|
4194
|
+
var __spreadValues$x = (a, b) => {
|
|
4195
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$y.call(b, prop)) __defNormalProp$x(a, prop, b[prop]);
|
|
4196
|
+
if (__getOwnPropSymbols$y) for (var prop of __getOwnPropSymbols$y(b)) {
|
|
4197
|
+
if (__propIsEnum$y.call(b, prop)) __defNormalProp$x(a, prop, b[prop]);
|
|
4138
4198
|
}
|
|
4139
4199
|
return a;
|
|
4140
4200
|
};
|
|
4141
|
-
var __objRest$
|
|
4201
|
+
var __objRest$h = (source, exclude) => {
|
|
4142
4202
|
var target = {};
|
|
4143
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4144
|
-
if (source != null && __getOwnPropSymbols$
|
|
4145
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4203
|
+
for (var prop in source) if (__hasOwnProp$y.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4204
|
+
if (source != null && __getOwnPropSymbols$y) for (var prop of __getOwnPropSymbols$y(source)) {
|
|
4205
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$y.call(source, prop)) target[prop] = source[prop];
|
|
4146
4206
|
}
|
|
4147
4207
|
return target;
|
|
4148
4208
|
};
|
|
@@ -4162,40 +4222,40 @@ const SwitchWithText = props => {
|
|
|
4162
4222
|
unchecked: t("common.disable")
|
|
4163
4223
|
}
|
|
4164
4224
|
} = _a,
|
|
4165
|
-
_props = __objRest$
|
|
4225
|
+
_props = __objRest$h(_a, ["text"]);
|
|
4166
4226
|
return /* @__PURE__ */React__default.createElement(SwitchWrapper, {
|
|
4167
4227
|
className: "enabled-switch",
|
|
4168
4228
|
onClick: e => e.stopPropagation()
|
|
4169
4229
|
}, /* @__PURE__ */React__default.createElement("span", {
|
|
4170
4230
|
className: "enabled-text"
|
|
4171
|
-
}, _props.checked ? text.checked : text.unchecked), /* @__PURE__ */React__default.createElement(Switch, __spreadValues$
|
|
4231
|
+
}, _props.checked ? text.checked : text.unchecked), /* @__PURE__ */React__default.createElement(Switch, __spreadValues$x({}, _props)));
|
|
4172
4232
|
};
|
|
4173
4233
|
|
|
4174
|
-
var __defProp$
|
|
4175
|
-
var __defProps$
|
|
4176
|
-
var __getOwnPropDescs$
|
|
4177
|
-
var __getOwnPropSymbols$
|
|
4178
|
-
var __hasOwnProp$
|
|
4179
|
-
var __propIsEnum$
|
|
4180
|
-
var __defNormalProp$
|
|
4234
|
+
var __defProp$w = Object.defineProperty;
|
|
4235
|
+
var __defProps$q = Object.defineProperties;
|
|
4236
|
+
var __getOwnPropDescs$q = Object.getOwnPropertyDescriptors;
|
|
4237
|
+
var __getOwnPropSymbols$x = Object.getOwnPropertySymbols;
|
|
4238
|
+
var __hasOwnProp$x = Object.prototype.hasOwnProperty;
|
|
4239
|
+
var __propIsEnum$x = Object.prototype.propertyIsEnumerable;
|
|
4240
|
+
var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, {
|
|
4181
4241
|
enumerable: true,
|
|
4182
4242
|
configurable: true,
|
|
4183
4243
|
writable: true,
|
|
4184
4244
|
value
|
|
4185
4245
|
}) : obj[key] = value;
|
|
4186
|
-
var __spreadValues$
|
|
4187
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4188
|
-
if (__getOwnPropSymbols$
|
|
4189
|
-
if (__propIsEnum$
|
|
4246
|
+
var __spreadValues$w = (a, b) => {
|
|
4247
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$x.call(b, prop)) __defNormalProp$w(a, prop, b[prop]);
|
|
4248
|
+
if (__getOwnPropSymbols$x) for (var prop of __getOwnPropSymbols$x(b)) {
|
|
4249
|
+
if (__propIsEnum$x.call(b, prop)) __defNormalProp$w(a, prop, b[prop]);
|
|
4190
4250
|
}
|
|
4191
4251
|
return a;
|
|
4192
4252
|
};
|
|
4193
|
-
var __spreadProps$
|
|
4194
|
-
var __objRest$
|
|
4253
|
+
var __spreadProps$q = (a, b) => __defProps$q(a, __getOwnPropDescs$q(b));
|
|
4254
|
+
var __objRest$g = (source, exclude) => {
|
|
4195
4255
|
var target = {};
|
|
4196
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4197
|
-
if (source != null && __getOwnPropSymbols$
|
|
4198
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4256
|
+
for (var prop in source) if (__hasOwnProp$x.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4257
|
+
if (source != null && __getOwnPropSymbols$x) for (var prop of __getOwnPropSymbols$x(source)) {
|
|
4258
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$x.call(source, prop)) target[prop] = source[prop];
|
|
4199
4259
|
}
|
|
4200
4260
|
return target;
|
|
4201
4261
|
};
|
|
@@ -4210,7 +4270,7 @@ const TruncatedTextWithTooltip = props => {
|
|
|
4210
4270
|
text,
|
|
4211
4271
|
textWrapperCls
|
|
4212
4272
|
} = _a,
|
|
4213
|
-
restProps = __objRest$
|
|
4273
|
+
restProps = __objRest$g(_a, ["text", "textWrapperCls"]);
|
|
4214
4274
|
const [isTextTruncated, setTextTruncated] = useState(false);
|
|
4215
4275
|
const textWrapper = useRef(null);
|
|
4216
4276
|
useLayoutEffect(() => {
|
|
@@ -4226,37 +4286,37 @@ const TruncatedTextWithTooltip = props => {
|
|
|
4226
4286
|
ref: textWrapper,
|
|
4227
4287
|
className: textWrapperCls
|
|
4228
4288
|
}, text);
|
|
4229
|
-
return isTextTruncated ? /* @__PURE__ */React__default.createElement(Tooltip, __spreadProps$
|
|
4289
|
+
return isTextTruncated ? /* @__PURE__ */React__default.createElement(Tooltip, __spreadProps$q(__spreadValues$w({}, restProps), {
|
|
4230
4290
|
title: text,
|
|
4231
4291
|
"data-testid": "text-tooltip"
|
|
4232
4292
|
}), /* @__PURE__ */React__default.createElement(TruncatedTextWrapper, null, renderName())) : renderName();
|
|
4233
4293
|
};
|
|
4234
4294
|
|
|
4235
|
-
var __defProp$
|
|
4236
|
-
var __defProps$
|
|
4237
|
-
var __getOwnPropDescs$
|
|
4238
|
-
var __getOwnPropSymbols$
|
|
4239
|
-
var __hasOwnProp$
|
|
4240
|
-
var __propIsEnum$
|
|
4241
|
-
var __defNormalProp$
|
|
4295
|
+
var __defProp$v = Object.defineProperty;
|
|
4296
|
+
var __defProps$p = Object.defineProperties;
|
|
4297
|
+
var __getOwnPropDescs$p = Object.getOwnPropertyDescriptors;
|
|
4298
|
+
var __getOwnPropSymbols$w = Object.getOwnPropertySymbols;
|
|
4299
|
+
var __hasOwnProp$w = Object.prototype.hasOwnProperty;
|
|
4300
|
+
var __propIsEnum$w = Object.prototype.propertyIsEnumerable;
|
|
4301
|
+
var __defNormalProp$v = (obj, key, value) => key in obj ? __defProp$v(obj, key, {
|
|
4242
4302
|
enumerable: true,
|
|
4243
4303
|
configurable: true,
|
|
4244
4304
|
writable: true,
|
|
4245
4305
|
value
|
|
4246
4306
|
}) : obj[key] = value;
|
|
4247
|
-
var __spreadValues$
|
|
4248
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4249
|
-
if (__getOwnPropSymbols$
|
|
4250
|
-
if (__propIsEnum$
|
|
4307
|
+
var __spreadValues$v = (a, b) => {
|
|
4308
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$w.call(b, prop)) __defNormalProp$v(a, prop, b[prop]);
|
|
4309
|
+
if (__getOwnPropSymbols$w) for (var prop of __getOwnPropSymbols$w(b)) {
|
|
4310
|
+
if (__propIsEnum$w.call(b, prop)) __defNormalProp$v(a, prop, b[prop]);
|
|
4251
4311
|
}
|
|
4252
4312
|
return a;
|
|
4253
4313
|
};
|
|
4254
|
-
var __spreadProps$
|
|
4255
|
-
var __objRest$
|
|
4314
|
+
var __spreadProps$p = (a, b) => __defProps$p(a, __getOwnPropDescs$p(b));
|
|
4315
|
+
var __objRest$f = (source, exclude) => {
|
|
4256
4316
|
var target = {};
|
|
4257
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4258
|
-
if (source != null && __getOwnPropSymbols$
|
|
4259
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4317
|
+
for (var prop in source) if (__hasOwnProp$w.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4318
|
+
if (source != null && __getOwnPropSymbols$w) for (var prop of __getOwnPropSymbols$w(source)) {
|
|
4319
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$w.call(source, prop)) target[prop] = source[prop];
|
|
4260
4320
|
}
|
|
4261
4321
|
return target;
|
|
4262
4322
|
};
|
|
@@ -4274,13 +4334,13 @@ const Alert = _a => {
|
|
|
4274
4334
|
action,
|
|
4275
4335
|
message
|
|
4276
4336
|
} = _b,
|
|
4277
|
-
props = __objRest$
|
|
4337
|
+
props = __objRest$f(_b, ["type", "icon", "showIcon", "className", "onClose", "closeText", "action", "message"]);
|
|
4278
4338
|
const _icon = /* @__PURE__ */React__default.createElement(Icon, {
|
|
4279
4339
|
alt: type,
|
|
4280
4340
|
src: getAlertIcon(type)
|
|
4281
4341
|
});
|
|
4282
4342
|
const _type = type === "normal" ? "info" : type;
|
|
4283
|
-
return /* @__PURE__ */React__default.createElement(Alert$1, __spreadProps$
|
|
4343
|
+
return /* @__PURE__ */React__default.createElement(Alert$1, __spreadProps$p(__spreadValues$v({}, props), {
|
|
4284
4344
|
className: cs(AlertStyle, type ? `alert-${type}` : "", className, {
|
|
4285
4345
|
action
|
|
4286
4346
|
}),
|
|
@@ -4312,42 +4372,42 @@ const Arch = (props) => {
|
|
|
4312
4372
|
return /* @__PURE__ */ React__default.createElement("span", null, text);
|
|
4313
4373
|
};
|
|
4314
4374
|
|
|
4315
|
-
var __defProp$
|
|
4316
|
-
var __defProps$
|
|
4317
|
-
var __getOwnPropDescs$
|
|
4318
|
-
var __getOwnPropSymbols$
|
|
4319
|
-
var __hasOwnProp$
|
|
4320
|
-
var __propIsEnum$
|
|
4321
|
-
var __defNormalProp$
|
|
4322
|
-
var __spreadValues$
|
|
4375
|
+
var __defProp$u = Object.defineProperty;
|
|
4376
|
+
var __defProps$o = Object.defineProperties;
|
|
4377
|
+
var __getOwnPropDescs$o = Object.getOwnPropertyDescriptors;
|
|
4378
|
+
var __getOwnPropSymbols$v = Object.getOwnPropertySymbols;
|
|
4379
|
+
var __hasOwnProp$v = Object.prototype.hasOwnProperty;
|
|
4380
|
+
var __propIsEnum$v = Object.prototype.propertyIsEnumerable;
|
|
4381
|
+
var __defNormalProp$u = (obj, key, value) => key in obj ? __defProp$u(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4382
|
+
var __spreadValues$u = (a, b) => {
|
|
4323
4383
|
for (var prop in b || (b = {}))
|
|
4324
|
-
if (__hasOwnProp$
|
|
4325
|
-
__defNormalProp$
|
|
4326
|
-
if (__getOwnPropSymbols$
|
|
4327
|
-
for (var prop of __getOwnPropSymbols$
|
|
4328
|
-
if (__propIsEnum$
|
|
4329
|
-
__defNormalProp$
|
|
4384
|
+
if (__hasOwnProp$v.call(b, prop))
|
|
4385
|
+
__defNormalProp$u(a, prop, b[prop]);
|
|
4386
|
+
if (__getOwnPropSymbols$v)
|
|
4387
|
+
for (var prop of __getOwnPropSymbols$v(b)) {
|
|
4388
|
+
if (__propIsEnum$v.call(b, prop))
|
|
4389
|
+
__defNormalProp$u(a, prop, b[prop]);
|
|
4330
4390
|
}
|
|
4331
4391
|
return a;
|
|
4332
4392
|
};
|
|
4333
|
-
var __spreadProps$
|
|
4334
|
-
var __objRest$
|
|
4393
|
+
var __spreadProps$o = (a, b) => __defProps$o(a, __getOwnPropDescs$o(b));
|
|
4394
|
+
var __objRest$e = (source, exclude) => {
|
|
4335
4395
|
var target = {};
|
|
4336
4396
|
for (var prop in source)
|
|
4337
|
-
if (__hasOwnProp$
|
|
4397
|
+
if (__hasOwnProp$v.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
4338
4398
|
target[prop] = source[prop];
|
|
4339
|
-
if (source != null && __getOwnPropSymbols$
|
|
4340
|
-
for (var prop of __getOwnPropSymbols$
|
|
4341
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4399
|
+
if (source != null && __getOwnPropSymbols$v)
|
|
4400
|
+
for (var prop of __getOwnPropSymbols$v(source)) {
|
|
4401
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$v.call(source, prop))
|
|
4342
4402
|
target[prop] = source[prop];
|
|
4343
4403
|
}
|
|
4344
4404
|
return target;
|
|
4345
4405
|
};
|
|
4346
4406
|
const Badge = (_a) => {
|
|
4347
|
-
var _b = _a, { type = "error", className } = _b, props = __objRest$
|
|
4407
|
+
var _b = _a, { type = "error", className } = _b, props = __objRest$e(_b, ["type", "className"]);
|
|
4348
4408
|
return /* @__PURE__ */ React__default.createElement(
|
|
4349
4409
|
Badge$1,
|
|
4350
|
-
__spreadProps$
|
|
4410
|
+
__spreadProps$o(__spreadValues$u({
|
|
4351
4411
|
className: cx(`badge-${type}`, className)
|
|
4352
4412
|
}, props), {
|
|
4353
4413
|
showZero: false
|
|
@@ -4355,28 +4415,28 @@ const Badge = (_a) => {
|
|
|
4355
4415
|
);
|
|
4356
4416
|
};
|
|
4357
4417
|
|
|
4358
|
-
var __defProp$
|
|
4359
|
-
var __getOwnPropSymbols$
|
|
4360
|
-
var __hasOwnProp$
|
|
4361
|
-
var __propIsEnum$
|
|
4362
|
-
var __defNormalProp$
|
|
4418
|
+
var __defProp$t = Object.defineProperty;
|
|
4419
|
+
var __getOwnPropSymbols$u = Object.getOwnPropertySymbols;
|
|
4420
|
+
var __hasOwnProp$u = Object.prototype.hasOwnProperty;
|
|
4421
|
+
var __propIsEnum$u = Object.prototype.propertyIsEnumerable;
|
|
4422
|
+
var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, {
|
|
4363
4423
|
enumerable: true,
|
|
4364
4424
|
configurable: true,
|
|
4365
4425
|
writable: true,
|
|
4366
4426
|
value
|
|
4367
4427
|
}) : obj[key] = value;
|
|
4368
|
-
var __spreadValues$
|
|
4369
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4370
|
-
if (__getOwnPropSymbols$
|
|
4371
|
-
if (__propIsEnum$
|
|
4428
|
+
var __spreadValues$t = (a, b) => {
|
|
4429
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$u.call(b, prop)) __defNormalProp$t(a, prop, b[prop]);
|
|
4430
|
+
if (__getOwnPropSymbols$u) for (var prop of __getOwnPropSymbols$u(b)) {
|
|
4431
|
+
if (__propIsEnum$u.call(b, prop)) __defNormalProp$t(a, prop, b[prop]);
|
|
4372
4432
|
}
|
|
4373
4433
|
return a;
|
|
4374
4434
|
};
|
|
4375
|
-
var __objRest$
|
|
4435
|
+
var __objRest$d = (source, exclude) => {
|
|
4376
4436
|
var target = {};
|
|
4377
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4378
|
-
if (source != null && __getOwnPropSymbols$
|
|
4379
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4437
|
+
for (var prop in source) if (__hasOwnProp$u.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4438
|
+
if (source != null && __getOwnPropSymbols$u) for (var prop of __getOwnPropSymbols$u(source)) {
|
|
4439
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$u.call(source, prop)) target[prop] = source[prop];
|
|
4380
4440
|
}
|
|
4381
4441
|
return target;
|
|
4382
4442
|
};
|
|
@@ -4411,7 +4471,7 @@ const ButtonGroup = React__default.forwardRef((props, ref) => {
|
|
|
4411
4471
|
hideTitle,
|
|
4412
4472
|
title
|
|
4413
4473
|
} = _a,
|
|
4414
|
-
buttonPropArgs = __objRest$
|
|
4474
|
+
buttonPropArgs = __objRest$d(_a, ["key", "icon", "type", "children", "danger", "ghost", "className", "hideTitle", "title"]);
|
|
4415
4475
|
if (hideTitle) {
|
|
4416
4476
|
return /* @__PURE__ */React__default.createElement(Tooltip, {
|
|
4417
4477
|
key: key || index,
|
|
@@ -4420,7 +4480,7 @@ const ButtonGroup = React__default.forwardRef((props, ref) => {
|
|
|
4420
4480
|
style: {
|
|
4421
4481
|
cursor: "not-allowed"
|
|
4422
4482
|
}
|
|
4423
|
-
}, /* @__PURE__ */React__default.createElement(Button, __spreadValues$
|
|
4483
|
+
}, /* @__PURE__ */React__default.createElement(Button, __spreadValues$t({
|
|
4424
4484
|
style: {
|
|
4425
4485
|
pointerEvents: "none"
|
|
4426
4486
|
},
|
|
@@ -4430,7 +4490,7 @@ const ButtonGroup = React__default.forwardRef((props, ref) => {
|
|
|
4430
4490
|
ghost,
|
|
4431
4491
|
className: cx(ButtonStyle, className2),
|
|
4432
4492
|
prefixIcon: icon
|
|
4433
|
-
}, buttonPropArgs))) : /* @__PURE__ */React__default.createElement(Button, __spreadValues$
|
|
4493
|
+
}, buttonPropArgs))) : /* @__PURE__ */React__default.createElement(Button, __spreadValues$t({
|
|
4434
4494
|
type,
|
|
4435
4495
|
size,
|
|
4436
4496
|
danger,
|
|
@@ -4439,7 +4499,7 @@ const ButtonGroup = React__default.forwardRef((props, ref) => {
|
|
|
4439
4499
|
prefixIcon: icon
|
|
4440
4500
|
}, buttonPropArgs)));
|
|
4441
4501
|
}
|
|
4442
|
-
return /* @__PURE__ */React__default.createElement(Button, __spreadValues$
|
|
4502
|
+
return /* @__PURE__ */React__default.createElement(Button, __spreadValues$t({
|
|
4443
4503
|
key: key || index,
|
|
4444
4504
|
type,
|
|
4445
4505
|
size,
|
|
@@ -4465,28 +4525,28 @@ const CardTitle = /*#__PURE__*/styled$1('div')({
|
|
|
4465
4525
|
propsAsIs: false
|
|
4466
4526
|
});
|
|
4467
4527
|
|
|
4468
|
-
var __defProp$
|
|
4469
|
-
var __getOwnPropSymbols$
|
|
4470
|
-
var __hasOwnProp$
|
|
4471
|
-
var __propIsEnum$
|
|
4472
|
-
var __defNormalProp$
|
|
4528
|
+
var __defProp$s = Object.defineProperty;
|
|
4529
|
+
var __getOwnPropSymbols$t = Object.getOwnPropertySymbols;
|
|
4530
|
+
var __hasOwnProp$t = Object.prototype.hasOwnProperty;
|
|
4531
|
+
var __propIsEnum$t = Object.prototype.propertyIsEnumerable;
|
|
4532
|
+
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, {
|
|
4473
4533
|
enumerable: true,
|
|
4474
4534
|
configurable: true,
|
|
4475
4535
|
writable: true,
|
|
4476
4536
|
value
|
|
4477
4537
|
}) : obj[key] = value;
|
|
4478
|
-
var __spreadValues$
|
|
4479
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4480
|
-
if (__getOwnPropSymbols$
|
|
4481
|
-
if (__propIsEnum$
|
|
4538
|
+
var __spreadValues$s = (a, b) => {
|
|
4539
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$t.call(b, prop)) __defNormalProp$s(a, prop, b[prop]);
|
|
4540
|
+
if (__getOwnPropSymbols$t) for (var prop of __getOwnPropSymbols$t(b)) {
|
|
4541
|
+
if (__propIsEnum$t.call(b, prop)) __defNormalProp$s(a, prop, b[prop]);
|
|
4482
4542
|
}
|
|
4483
4543
|
return a;
|
|
4484
4544
|
};
|
|
4485
|
-
var __objRest$
|
|
4545
|
+
var __objRest$c = (source, exclude) => {
|
|
4486
4546
|
var target = {};
|
|
4487
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4488
|
-
if (source != null && __getOwnPropSymbols$
|
|
4489
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4547
|
+
for (var prop in source) if (__hasOwnProp$t.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4548
|
+
if (source != null && __getOwnPropSymbols$t) for (var prop of __getOwnPropSymbols$t(source)) {
|
|
4549
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$t.call(source, prop)) target[prop] = source[prop];
|
|
4490
4550
|
}
|
|
4491
4551
|
return target;
|
|
4492
4552
|
};
|
|
@@ -4498,8 +4558,8 @@ const Wrapper = forwardRef(props => {
|
|
|
4498
4558
|
className,
|
|
4499
4559
|
shadow
|
|
4500
4560
|
} = _a,
|
|
4501
|
-
otherProps = __objRest$
|
|
4502
|
-
return /* @__PURE__ */React__default.createElement("div", __spreadValues$
|
|
4561
|
+
otherProps = __objRest$c(_a, ["children", "className", "shadow"]);
|
|
4562
|
+
return /* @__PURE__ */React__default.createElement("div", __spreadValues$s({
|
|
4503
4563
|
className: cs({
|
|
4504
4564
|
[boxShadow]: shadow
|
|
4505
4565
|
}, className)
|
|
@@ -4512,33 +4572,33 @@ const CardWrapper = /*#__PURE__*/styled$1(_exp$1())({
|
|
|
4512
4572
|
propsAsIs: true
|
|
4513
4573
|
});
|
|
4514
4574
|
|
|
4515
|
-
var __defProp$
|
|
4516
|
-
var __defProps$
|
|
4517
|
-
var __getOwnPropDescs$
|
|
4518
|
-
var __getOwnPropSymbols$
|
|
4519
|
-
var __hasOwnProp$
|
|
4520
|
-
var __propIsEnum$
|
|
4521
|
-
var __defNormalProp$
|
|
4522
|
-
var __spreadValues$
|
|
4575
|
+
var __defProp$r = Object.defineProperty;
|
|
4576
|
+
var __defProps$n = Object.defineProperties;
|
|
4577
|
+
var __getOwnPropDescs$n = Object.getOwnPropertyDescriptors;
|
|
4578
|
+
var __getOwnPropSymbols$s = Object.getOwnPropertySymbols;
|
|
4579
|
+
var __hasOwnProp$s = Object.prototype.hasOwnProperty;
|
|
4580
|
+
var __propIsEnum$s = Object.prototype.propertyIsEnumerable;
|
|
4581
|
+
var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4582
|
+
var __spreadValues$r = (a, b) => {
|
|
4523
4583
|
for (var prop in b || (b = {}))
|
|
4524
|
-
if (__hasOwnProp$
|
|
4525
|
-
__defNormalProp$
|
|
4526
|
-
if (__getOwnPropSymbols$
|
|
4527
|
-
for (var prop of __getOwnPropSymbols$
|
|
4528
|
-
if (__propIsEnum$
|
|
4529
|
-
__defNormalProp$
|
|
4584
|
+
if (__hasOwnProp$s.call(b, prop))
|
|
4585
|
+
__defNormalProp$r(a, prop, b[prop]);
|
|
4586
|
+
if (__getOwnPropSymbols$s)
|
|
4587
|
+
for (var prop of __getOwnPropSymbols$s(b)) {
|
|
4588
|
+
if (__propIsEnum$s.call(b, prop))
|
|
4589
|
+
__defNormalProp$r(a, prop, b[prop]);
|
|
4530
4590
|
}
|
|
4531
4591
|
return a;
|
|
4532
4592
|
};
|
|
4533
|
-
var __spreadProps$
|
|
4534
|
-
var __objRest$
|
|
4593
|
+
var __spreadProps$n = (a, b) => __defProps$n(a, __getOwnPropDescs$n(b));
|
|
4594
|
+
var __objRest$b = (source, exclude) => {
|
|
4535
4595
|
var target = {};
|
|
4536
4596
|
for (var prop in source)
|
|
4537
|
-
if (__hasOwnProp$
|
|
4597
|
+
if (__hasOwnProp$s.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
4538
4598
|
target[prop] = source[prop];
|
|
4539
|
-
if (source != null && __getOwnPropSymbols$
|
|
4540
|
-
for (var prop of __getOwnPropSymbols$
|
|
4541
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4599
|
+
if (source != null && __getOwnPropSymbols$s)
|
|
4600
|
+
for (var prop of __getOwnPropSymbols$s(source)) {
|
|
4601
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$s.call(source, prop))
|
|
4542
4602
|
target[prop] = source[prop];
|
|
4543
4603
|
}
|
|
4544
4604
|
return target;
|
|
@@ -4553,7 +4613,7 @@ const Card = React__default.forwardRef(
|
|
|
4553
4613
|
defaultOpen = false,
|
|
4554
4614
|
hoverable,
|
|
4555
4615
|
shadow = true
|
|
4556
|
-
} = _a, domProps = __objRest$
|
|
4616
|
+
} = _a, domProps = __objRest$b(_a, [
|
|
4557
4617
|
"collapsible",
|
|
4558
4618
|
"title",
|
|
4559
4619
|
"subInfo",
|
|
@@ -4565,7 +4625,7 @@ const Card = React__default.forwardRef(
|
|
|
4565
4625
|
const [open, setOpen] = useState(defaultOpen);
|
|
4566
4626
|
return /* @__PURE__ */ React__default.createElement(
|
|
4567
4627
|
CardWrapper,
|
|
4568
|
-
__spreadProps$
|
|
4628
|
+
__spreadProps$n(__spreadValues$r({
|
|
4569
4629
|
ref,
|
|
4570
4630
|
className: cs(["card-wrapper", className, hoverable && "hoverable"])
|
|
4571
4631
|
}, domProps), {
|
|
@@ -4594,6 +4654,27 @@ const Card = React__default.forwardRef(
|
|
|
4594
4654
|
}
|
|
4595
4655
|
);
|
|
4596
4656
|
|
|
4657
|
+
var __defProp$q = Object.defineProperty;
|
|
4658
|
+
var __defProps$m = Object.defineProperties;
|
|
4659
|
+
var __getOwnPropDescs$m = Object.getOwnPropertyDescriptors;
|
|
4660
|
+
var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
|
|
4661
|
+
var __hasOwnProp$r = Object.prototype.hasOwnProperty;
|
|
4662
|
+
var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
|
|
4663
|
+
var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4664
|
+
var __spreadValues$q = (a, b) => {
|
|
4665
|
+
for (var prop in b || (b = {}))
|
|
4666
|
+
if (__hasOwnProp$r.call(b, prop))
|
|
4667
|
+
__defNormalProp$q(a, prop, b[prop]);
|
|
4668
|
+
if (__getOwnPropSymbols$r)
|
|
4669
|
+
for (var prop of __getOwnPropSymbols$r(b)) {
|
|
4670
|
+
if (__propIsEnum$r.call(b, prop))
|
|
4671
|
+
__defNormalProp$q(a, prop, b[prop]);
|
|
4672
|
+
}
|
|
4673
|
+
return a;
|
|
4674
|
+
};
|
|
4675
|
+
var __spreadProps$m = (a, b) => __defProps$m(a, __getOwnPropDescs$m(b));
|
|
4676
|
+
const Cascader = (props) => /* @__PURE__ */ React__default.createElement(Cascader$1, __spreadProps$m(__spreadValues$q({}, props), { prefixCls: "antd5" }));
|
|
4677
|
+
|
|
4597
4678
|
const card = "c10crapj";
|
|
4598
4679
|
const ExpandableContainer = props => {
|
|
4599
4680
|
const {
|
|
@@ -4662,32 +4743,32 @@ const ExpandableItem = props => {
|
|
|
4662
4743
|
}, children));
|
|
4663
4744
|
};
|
|
4664
4745
|
|
|
4665
|
-
var __defProp$
|
|
4666
|
-
var __defProps$
|
|
4667
|
-
var __getOwnPropDescs$
|
|
4668
|
-
var __getOwnPropSymbols$
|
|
4669
|
-
var __hasOwnProp$
|
|
4670
|
-
var __propIsEnum$
|
|
4671
|
-
var __defNormalProp$
|
|
4746
|
+
var __defProp$p = Object.defineProperty;
|
|
4747
|
+
var __defProps$l = Object.defineProperties;
|
|
4748
|
+
var __getOwnPropDescs$l = Object.getOwnPropertyDescriptors;
|
|
4749
|
+
var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
|
|
4750
|
+
var __hasOwnProp$q = Object.prototype.hasOwnProperty;
|
|
4751
|
+
var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
|
|
4752
|
+
var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, {
|
|
4672
4753
|
enumerable: true,
|
|
4673
4754
|
configurable: true,
|
|
4674
4755
|
writable: true,
|
|
4675
4756
|
value
|
|
4676
4757
|
}) : obj[key] = value;
|
|
4677
|
-
var __spreadValues$
|
|
4678
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4679
|
-
if (__getOwnPropSymbols$
|
|
4680
|
-
if (__propIsEnum$
|
|
4758
|
+
var __spreadValues$p = (a, b) => {
|
|
4759
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$q.call(b, prop)) __defNormalProp$p(a, prop, b[prop]);
|
|
4760
|
+
if (__getOwnPropSymbols$q) for (var prop of __getOwnPropSymbols$q(b)) {
|
|
4761
|
+
if (__propIsEnum$q.call(b, prop)) __defNormalProp$p(a, prop, b[prop]);
|
|
4681
4762
|
}
|
|
4682
4763
|
return a;
|
|
4683
4764
|
};
|
|
4684
|
-
var __spreadProps$
|
|
4765
|
+
var __spreadProps$l = (a, b) => __defProps$l(a, __getOwnPropDescs$l(b));
|
|
4685
4766
|
const {
|
|
4686
4767
|
Item: AntdFormItem
|
|
4687
4768
|
} = Form$1;
|
|
4688
4769
|
const FormItemStyle$1 = "f1p9ti6d";
|
|
4689
4770
|
const FormItem$1 = props => {
|
|
4690
|
-
return /* @__PURE__ */React__default.createElement(AntdFormItem, __spreadProps$
|
|
4771
|
+
return /* @__PURE__ */React__default.createElement(AntdFormItem, __spreadProps$l(__spreadValues$p({}, props), {
|
|
4691
4772
|
className: cs(FormItemStyle$1, props.className)
|
|
4692
4773
|
}));
|
|
4693
4774
|
};
|
|
@@ -4695,25 +4776,25 @@ const FormItem$1 = props => {
|
|
|
4695
4776
|
const Form = Form$1;
|
|
4696
4777
|
Form.Item = FormItem$1;
|
|
4697
4778
|
|
|
4698
|
-
var __defProp$
|
|
4699
|
-
var __getOwnPropSymbols$
|
|
4700
|
-
var __hasOwnProp$
|
|
4701
|
-
var __propIsEnum$
|
|
4702
|
-
var __defNormalProp$
|
|
4703
|
-
var __spreadValues$
|
|
4779
|
+
var __defProp$o = Object.defineProperty;
|
|
4780
|
+
var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
|
|
4781
|
+
var __hasOwnProp$p = Object.prototype.hasOwnProperty;
|
|
4782
|
+
var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
|
|
4783
|
+
var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4784
|
+
var __spreadValues$o = (a, b) => {
|
|
4704
4785
|
for (var prop in b || (b = {}))
|
|
4705
|
-
if (__hasOwnProp$
|
|
4706
|
-
__defNormalProp$
|
|
4707
|
-
if (__getOwnPropSymbols$
|
|
4708
|
-
for (var prop of __getOwnPropSymbols$
|
|
4709
|
-
if (__propIsEnum$
|
|
4710
|
-
__defNormalProp$
|
|
4786
|
+
if (__hasOwnProp$p.call(b, prop))
|
|
4787
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
4788
|
+
if (__getOwnPropSymbols$p)
|
|
4789
|
+
for (var prop of __getOwnPropSymbols$p(b)) {
|
|
4790
|
+
if (__propIsEnum$p.call(b, prop))
|
|
4791
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
4711
4792
|
}
|
|
4712
4793
|
return a;
|
|
4713
4794
|
};
|
|
4714
4795
|
const ParrotTrans = (props) => {
|
|
4715
4796
|
const { i18n } = useParrotTranslation();
|
|
4716
|
-
return /* @__PURE__ */ React__default.createElement(Trans, __spreadValues$
|
|
4797
|
+
return /* @__PURE__ */ React__default.createElement(Trans, __spreadValues$o({ i18n }, props));
|
|
4717
4798
|
};
|
|
4718
4799
|
|
|
4719
4800
|
const PresetColors$3 = [
|
|
@@ -4733,31 +4814,31 @@ const TagStyle$1 = "tnd6h4m";
|
|
|
4733
4814
|
const IconStyle$1 = "i1qw4clm";
|
|
4734
4815
|
const NameTagStyle = "n1r5ku5l";
|
|
4735
4816
|
|
|
4736
|
-
var __defProp$
|
|
4737
|
-
var __defProps$
|
|
4738
|
-
var __getOwnPropDescs$
|
|
4739
|
-
var __getOwnPropSymbols$
|
|
4740
|
-
var __hasOwnProp$
|
|
4741
|
-
var __propIsEnum$
|
|
4742
|
-
var __defNormalProp$
|
|
4817
|
+
var __defProp$n = Object.defineProperty;
|
|
4818
|
+
var __defProps$k = Object.defineProperties;
|
|
4819
|
+
var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
|
|
4820
|
+
var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
|
|
4821
|
+
var __hasOwnProp$o = Object.prototype.hasOwnProperty;
|
|
4822
|
+
var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
|
|
4823
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, {
|
|
4743
4824
|
enumerable: true,
|
|
4744
4825
|
configurable: true,
|
|
4745
4826
|
writable: true,
|
|
4746
4827
|
value
|
|
4747
4828
|
}) : obj[key] = value;
|
|
4748
|
-
var __spreadValues$
|
|
4749
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4750
|
-
if (__getOwnPropSymbols$
|
|
4751
|
-
if (__propIsEnum$
|
|
4829
|
+
var __spreadValues$n = (a, b) => {
|
|
4830
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$o.call(b, prop)) __defNormalProp$n(a, prop, b[prop]);
|
|
4831
|
+
if (__getOwnPropSymbols$o) for (var prop of __getOwnPropSymbols$o(b)) {
|
|
4832
|
+
if (__propIsEnum$o.call(b, prop)) __defNormalProp$n(a, prop, b[prop]);
|
|
4752
4833
|
}
|
|
4753
4834
|
return a;
|
|
4754
4835
|
};
|
|
4755
|
-
var __spreadProps$
|
|
4756
|
-
var __objRest$
|
|
4836
|
+
var __spreadProps$k = (a, b) => __defProps$k(a, __getOwnPropDescs$k(b));
|
|
4837
|
+
var __objRest$a = (source, exclude) => {
|
|
4757
4838
|
var target = {};
|
|
4758
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4759
|
-
if (source != null && __getOwnPropSymbols$
|
|
4760
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4839
|
+
for (var prop in source) if (__hasOwnProp$o.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4840
|
+
if (source != null && __getOwnPropSymbols$o) for (var prop of __getOwnPropSymbols$o(source)) {
|
|
4841
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$o.call(source, prop)) target[prop] = source[prop];
|
|
4761
4842
|
}
|
|
4762
4843
|
return target;
|
|
4763
4844
|
};
|
|
@@ -4772,8 +4853,8 @@ const SplitTag = _a => {
|
|
|
4772
4853
|
secondaryContent,
|
|
4773
4854
|
icon
|
|
4774
4855
|
} = _b,
|
|
4775
|
-
props = __objRest$
|
|
4776
|
-
return /* @__PURE__ */React__default.createElement(Tag$1, __spreadProps$
|
|
4856
|
+
props = __objRest$a(_b, ["size", "color", "className", "primaryContent", "secondaryContent", "icon"]);
|
|
4857
|
+
return /* @__PURE__ */React__default.createElement(Tag$1, __spreadProps$k(__spreadValues$n({}, props), {
|
|
4777
4858
|
className: cs(className, TagStyle$1, Size$1[size], WrapperStyle, Typo.Label.l4_regular, {
|
|
4778
4859
|
[`ant-tag-${color}`]: PresetColors$3.includes(color)
|
|
4779
4860
|
}, "outside-tag")
|
|
@@ -4786,33 +4867,33 @@ const SplitTag = _a => {
|
|
|
4786
4867
|
}, icon), primaryContent), secondaryContent);
|
|
4787
4868
|
};
|
|
4788
4869
|
|
|
4789
|
-
var __defProp$
|
|
4790
|
-
var __defProps$
|
|
4791
|
-
var __getOwnPropDescs$
|
|
4792
|
-
var __getOwnPropSymbols$
|
|
4793
|
-
var __hasOwnProp$
|
|
4794
|
-
var __propIsEnum$
|
|
4795
|
-
var __defNormalProp$
|
|
4796
|
-
var __spreadValues$
|
|
4870
|
+
var __defProp$m = Object.defineProperty;
|
|
4871
|
+
var __defProps$j = Object.defineProperties;
|
|
4872
|
+
var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
|
|
4873
|
+
var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
|
|
4874
|
+
var __hasOwnProp$n = Object.prototype.hasOwnProperty;
|
|
4875
|
+
var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
|
|
4876
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4877
|
+
var __spreadValues$m = (a, b) => {
|
|
4797
4878
|
for (var prop in b || (b = {}))
|
|
4798
|
-
if (__hasOwnProp$
|
|
4799
|
-
__defNormalProp$
|
|
4800
|
-
if (__getOwnPropSymbols$
|
|
4801
|
-
for (var prop of __getOwnPropSymbols$
|
|
4802
|
-
if (__propIsEnum$
|
|
4803
|
-
__defNormalProp$
|
|
4879
|
+
if (__hasOwnProp$n.call(b, prop))
|
|
4880
|
+
__defNormalProp$m(a, prop, b[prop]);
|
|
4881
|
+
if (__getOwnPropSymbols$n)
|
|
4882
|
+
for (var prop of __getOwnPropSymbols$n(b)) {
|
|
4883
|
+
if (__propIsEnum$n.call(b, prop))
|
|
4884
|
+
__defNormalProp$m(a, prop, b[prop]);
|
|
4804
4885
|
}
|
|
4805
4886
|
return a;
|
|
4806
4887
|
};
|
|
4807
|
-
var __spreadProps$
|
|
4808
|
-
var __objRest$
|
|
4888
|
+
var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
|
|
4889
|
+
var __objRest$9 = (source, exclude) => {
|
|
4809
4890
|
var target = {};
|
|
4810
4891
|
for (var prop in source)
|
|
4811
|
-
if (__hasOwnProp$
|
|
4892
|
+
if (__hasOwnProp$n.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
4812
4893
|
target[prop] = source[prop];
|
|
4813
|
-
if (source != null && __getOwnPropSymbols$
|
|
4814
|
-
for (var prop of __getOwnPropSymbols$
|
|
4815
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4894
|
+
if (source != null && __getOwnPropSymbols$n)
|
|
4895
|
+
for (var prop of __getOwnPropSymbols$n(source)) {
|
|
4896
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$n.call(source, prop))
|
|
4816
4897
|
target[prop] = source[prop];
|
|
4817
4898
|
}
|
|
4818
4899
|
return target;
|
|
@@ -4837,7 +4918,7 @@ const Tag = (_a) => {
|
|
|
4837
4918
|
hoverable = false,
|
|
4838
4919
|
icon,
|
|
4839
4920
|
children
|
|
4840
|
-
} = _b, props = __objRest$
|
|
4921
|
+
} = _b, props = __objRest$9(_b, [
|
|
4841
4922
|
"size",
|
|
4842
4923
|
"color",
|
|
4843
4924
|
"className",
|
|
@@ -4848,7 +4929,7 @@ const Tag = (_a) => {
|
|
|
4848
4929
|
const computedColor = AntdColorMap[color] || color;
|
|
4849
4930
|
return /* @__PURE__ */ React__default.createElement(
|
|
4850
4931
|
Tag$1,
|
|
4851
|
-
__spreadProps$
|
|
4932
|
+
__spreadProps$j(__spreadValues$m({}, props), {
|
|
4852
4933
|
className: cs(className, Size$1[size], TagStyle$1, Typo.Label.l4_regular, {
|
|
4853
4934
|
[`ant-tag-${computedColor}`]: PresetColors$2.includes(computedColor),
|
|
4854
4935
|
"tag-hover": hoverable
|
|
@@ -4861,20 +4942,20 @@ const Tag = (_a) => {
|
|
|
4861
4942
|
);
|
|
4862
4943
|
};
|
|
4863
4944
|
const NameTag = (_c) => {
|
|
4864
|
-
var _d = _c, { className } = _d, props = __objRest$
|
|
4865
|
-
return /* @__PURE__ */ React__default.createElement(Tag, __spreadValues$
|
|
4945
|
+
var _d = _c, { className } = _d, props = __objRest$9(_d, ["className"]);
|
|
4946
|
+
return /* @__PURE__ */ React__default.createElement(Tag, __spreadValues$m({ className: cs(NameTagStyle, className) }, props));
|
|
4866
4947
|
};
|
|
4867
4948
|
Tag.SplitTag = SplitTag;
|
|
4868
4949
|
Tag.NameTag = NameTag;
|
|
4869
4950
|
|
|
4870
|
-
var __getOwnPropSymbols$
|
|
4871
|
-
var __hasOwnProp$
|
|
4872
|
-
var __propIsEnum$
|
|
4873
|
-
var __objRest$
|
|
4951
|
+
var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
|
|
4952
|
+
var __hasOwnProp$m = Object.prototype.hasOwnProperty;
|
|
4953
|
+
var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
|
|
4954
|
+
var __objRest$8 = (source, exclude) => {
|
|
4874
4955
|
var target = {};
|
|
4875
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4876
|
-
if (source != null && __getOwnPropSymbols$
|
|
4877
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4956
|
+
for (var prop in source) if (__hasOwnProp$m.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4957
|
+
if (source != null && __getOwnPropSymbols$m) for (var prop of __getOwnPropSymbols$m(source)) {
|
|
4958
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$m.call(source, prop)) target[prop] = source[prop];
|
|
4878
4959
|
}
|
|
4879
4960
|
return target;
|
|
4880
4961
|
};
|
|
@@ -4885,7 +4966,7 @@ const I18nNameTag = props => {
|
|
|
4885
4966
|
name,
|
|
4886
4967
|
i18nKey
|
|
4887
4968
|
} = _a,
|
|
4888
|
-
otherOption = __objRest$
|
|
4969
|
+
otherOption = __objRest$8(_a, ["name", "i18nKey"]);
|
|
4889
4970
|
return /* @__PURE__ */React__default.createElement(ParrotTrans, {
|
|
4890
4971
|
i18nKey,
|
|
4891
4972
|
tOptions: otherOption
|
|
@@ -4903,6 +4984,54 @@ const InputGroup = /*#__PURE__*/styled$1(_exp())({
|
|
|
4903
4984
|
propsAsIs: true
|
|
4904
4985
|
});
|
|
4905
4986
|
|
|
4987
|
+
var __defProp$l = Object.defineProperty;
|
|
4988
|
+
var __defProps$i = Object.defineProperties;
|
|
4989
|
+
var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
|
|
4990
|
+
var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
|
|
4991
|
+
var __hasOwnProp$l = Object.prototype.hasOwnProperty;
|
|
4992
|
+
var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
|
|
4993
|
+
var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, {
|
|
4994
|
+
enumerable: true,
|
|
4995
|
+
configurable: true,
|
|
4996
|
+
writable: true,
|
|
4997
|
+
value
|
|
4998
|
+
}) : obj[key] = value;
|
|
4999
|
+
var __spreadValues$l = (a, b) => {
|
|
5000
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$l.call(b, prop)) __defNormalProp$l(a, prop, b[prop]);
|
|
5001
|
+
if (__getOwnPropSymbols$l) for (var prop of __getOwnPropSymbols$l(b)) {
|
|
5002
|
+
if (__propIsEnum$l.call(b, prop)) __defNormalProp$l(a, prop, b[prop]);
|
|
5003
|
+
}
|
|
5004
|
+
return a;
|
|
5005
|
+
};
|
|
5006
|
+
var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
|
|
5007
|
+
var __objRest$7 = (source, exclude) => {
|
|
5008
|
+
var target = {};
|
|
5009
|
+
for (var prop in source) if (__hasOwnProp$l.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
5010
|
+
if (source != null && __getOwnPropSymbols$l) for (var prop of __getOwnPropSymbols$l(source)) {
|
|
5011
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$l.call(source, prop)) target[prop] = source[prop];
|
|
5012
|
+
}
|
|
5013
|
+
return target;
|
|
5014
|
+
};
|
|
5015
|
+
const LinkStyle = "lujuy3j";
|
|
5016
|
+
const Link = React__default.forwardRef((_a, ref) => {
|
|
5017
|
+
var _b = _a,
|
|
5018
|
+
{
|
|
5019
|
+
className,
|
|
5020
|
+
disabled,
|
|
5021
|
+
type
|
|
5022
|
+
} = _b,
|
|
5023
|
+
props = __objRest$7(_b, ["className", "disabled", "type"]);
|
|
5024
|
+
return /* @__PURE__ */React__default.createElement(Button, __spreadProps$i(__spreadValues$l({}, props), {
|
|
5025
|
+
ref,
|
|
5026
|
+
disabled,
|
|
5027
|
+
className: cs(LinkStyle, className, {
|
|
5028
|
+
"ui-kit-link-disabled": disabled,
|
|
5029
|
+
"ui-kit-link-subtle": type === "subtle"
|
|
5030
|
+
}),
|
|
5031
|
+
type: "link"
|
|
5032
|
+
}));
|
|
5033
|
+
});
|
|
5034
|
+
|
|
4906
5035
|
var __defProp$k = Object.defineProperty;
|
|
4907
5036
|
var __defProps$h = Object.defineProperties;
|
|
4908
5037
|
var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
|
|
@@ -5275,11 +5404,12 @@ var __objRest$6 = (source, exclude) => {
|
|
|
5275
5404
|
return target;
|
|
5276
5405
|
};
|
|
5277
5406
|
const StepTitle = (props) => {
|
|
5278
|
-
const { current, step, index, isVerticalMode } = props;
|
|
5407
|
+
const { current, step, index, isVerticalMode, preview } = props;
|
|
5279
5408
|
const textRef = useRef(null);
|
|
5280
5409
|
const [tooltipEnable, setTooltipEnable] = useState({
|
|
5281
5410
|
visible: false
|
|
5282
5411
|
});
|
|
5412
|
+
const showCompletedIcon = !preview && index < current;
|
|
5283
5413
|
useLayoutEffect(() => {
|
|
5284
5414
|
if (textRef.current && textRef.current.offsetWidth < textRef.current.scrollWidth) {
|
|
5285
5415
|
setTooltipEnable({});
|
|
@@ -5290,7 +5420,7 @@ const StepTitle = (props) => {
|
|
|
5290
5420
|
{
|
|
5291
5421
|
className: isVerticalMode ? VerticalStepContentStyle : HorizontalStepContentStyle
|
|
5292
5422
|
},
|
|
5293
|
-
/* @__PURE__ */ React__default.createElement("span", { className: "step-item-prefix-container" },
|
|
5423
|
+
/* @__PURE__ */ React__default.createElement("span", { className: "step-item-prefix-container" }, showCompletedIcon ? /* @__PURE__ */ React__default.createElement(CheckmarkDoneSuccessCorrect16SecondaryIcon, null) : index + 1),
|
|
5294
5424
|
/* @__PURE__ */ React__default.createElement("span", { ref: textRef, className: "step-item-title" }, /* @__PURE__ */ React__default.createElement("span", { className: "step-item-title" }, step.title))
|
|
5295
5425
|
));
|
|
5296
5426
|
};
|
|
@@ -5300,15 +5430,18 @@ const Steps = (props) => {
|
|
|
5300
5430
|
direction,
|
|
5301
5431
|
containerClassname,
|
|
5302
5432
|
current = 0,
|
|
5303
|
-
disabled
|
|
5433
|
+
disabled,
|
|
5434
|
+
preview = false
|
|
5304
5435
|
} = _a, stepsProps = __objRest$6(_a, [
|
|
5305
5436
|
"stepsConfig",
|
|
5306
5437
|
"direction",
|
|
5307
5438
|
"containerClassname",
|
|
5308
5439
|
"current",
|
|
5309
|
-
"disabled"
|
|
5440
|
+
"disabled",
|
|
5441
|
+
"preview"
|
|
5310
5442
|
]);
|
|
5311
5443
|
const isVerticalMode = direction === "vertical";
|
|
5444
|
+
const isPreviewMode = isVerticalMode && preview;
|
|
5312
5445
|
return /* @__PURE__ */ React__default.createElement(
|
|
5313
5446
|
"div",
|
|
5314
5447
|
{
|
|
@@ -5330,14 +5463,19 @@ const Steps = (props) => {
|
|
|
5330
5463
|
__spreadProps$e(__spreadValues$h({
|
|
5331
5464
|
key: index
|
|
5332
5465
|
}, step), {
|
|
5333
|
-
disabled: disabled
|
|
5466
|
+
disabled: isPreviewMode ? false : disabled != null ? disabled : index > current,
|
|
5467
|
+
className: cs(
|
|
5468
|
+
step.className,
|
|
5469
|
+
isPreviewMode ? "preview-mode" : ""
|
|
5470
|
+
),
|
|
5334
5471
|
title: /* @__PURE__ */ React__default.createElement(
|
|
5335
5472
|
StepTitle,
|
|
5336
5473
|
{
|
|
5337
5474
|
index,
|
|
5338
5475
|
step,
|
|
5339
5476
|
current,
|
|
5340
|
-
isVerticalMode
|
|
5477
|
+
isVerticalMode,
|
|
5478
|
+
preview: isPreviewMode
|
|
5341
5479
|
}
|
|
5342
5480
|
)
|
|
5343
5481
|
})
|
|
@@ -7526,11 +7664,6 @@ const Truncate = props => {
|
|
|
7526
7664
|
}, Text);
|
|
7527
7665
|
};
|
|
7528
7666
|
|
|
7529
|
-
const SidebarSubtitle = (props) => {
|
|
7530
|
-
const { title, className } = props;
|
|
7531
|
-
return /* @__PURE__ */ React__default.createElement("span", { className: cx$1(Typo.Heading.h3_regular_upper, className) }, title);
|
|
7532
|
-
};
|
|
7533
|
-
|
|
7534
7667
|
function getAntdKit() {
|
|
7535
7668
|
const kit = {
|
|
7536
7669
|
loading: Loading,
|
|
@@ -7649,7 +7782,9 @@ function getAntdKit() {
|
|
|
7649
7782
|
GoBackButton: GobackButton,
|
|
7650
7783
|
SummaryTable,
|
|
7651
7784
|
SortableList,
|
|
7652
|
-
SidebarSubtitle
|
|
7785
|
+
SidebarSubtitle,
|
|
7786
|
+
Link,
|
|
7787
|
+
DropdownMenu
|
|
7653
7788
|
};
|
|
7654
7789
|
kit.option.isSelectOption = true;
|
|
7655
7790
|
kit.button.__ANT_BUTTON = true;
|
|
@@ -7959,4 +8094,4 @@ const useUIKit = () => {
|
|
|
7959
8094
|
return useContext(kitContext);
|
|
7960
8095
|
};
|
|
7961
8096
|
|
|
7962
|
-
export { Architecture, BaseIcon, Button, ButtonStyle, CannotOperationInfo, ContentWrapper, Desc, FailedLoad, FullView, Icon, InputTagItem, KitStoreProvider, LightDesc, ModalActions, ModalStack, RadioDesc, Truncate, Typo, UIKitProvider, UIKitStore, ValidateTriggerType, WizardBody, antdKit, closeModal, createBatchMessageMethods, kitContext, popModal, pushModal, radioStyle, stringifyPlan, tableStyleCover, tickFormatter, useElementsSize, useKitDispatch, useKitSelector, useUIKit };
|
|
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 };
|