@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/umd/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('@linaria/core'), require('@cloudtower/parrot'), require('react-i18next'), require('antd'), require('@cloudtower/icons-react'), require('classnames'), require('linaria/react'), require('lodash'), require('react-svg-unique-id'), require('react-transition-group'), require('@linaria/react'), require('recharts'), require('@ant-design/icons'), require('dayjs'), require('linaria'), require('moment'), require('dayjs/plugin/utc'), require('react-dom'), require('react-is'), require('dayjs/plugin/customParseFormat'), require('react-beautiful-dnd'), require('@ant-design/icons/CheckCircleFilled'), require('@ant-design/icons/CloseCircleFilled'), require('@ant-design/icons/ExclamationCircleFilled'), require('@ant-design/icons/InfoCircleFilled'), require('@ant-design/icons/LoadingOutlined'), require('@cloudtower/rc-notification'), require('redux'), require('react-redux'), require('timezones.json'), require('antd/lib/locale/en_US'), require('antd/lib/locale/zh_CN')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', 'react', '@linaria/core', '@cloudtower/parrot', 'react-i18next', 'antd', '@cloudtower/icons-react', 'classnames', 'linaria/react', 'lodash', 'react-svg-unique-id', 'react-transition-group', '@linaria/react', 'recharts', '@ant-design/icons', 'dayjs', 'linaria', 'moment', 'dayjs/plugin/utc', 'react-dom', 'react-is', 'dayjs/plugin/customParseFormat', 'react-beautiful-dnd', '@ant-design/icons/CheckCircleFilled', '@ant-design/icons/CloseCircleFilled', '@ant-design/icons/ExclamationCircleFilled', '@ant-design/icons/InfoCircleFilled', '@ant-design/icons/LoadingOutlined', '@cloudtower/rc-notification', 'redux', 'react-redux', 'timezones.json', 'antd/lib/locale/en_US', 'antd/lib/locale/zh_CN'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.index = {}, global.React, global.core, global.parrot, global.reactI18next, global.antd, global.iconsReact, global.cs, global.react, global._, global.reactSvgUniqueId, global.reactTransitionGroup, global.react$1, global.recharts, global.icons, global.dayjs, global.linaria, global.moment, global.UTC, global.reactDom, global.reactIs, global.customParseFormat, global.reactBeautifulDnd, global.CheckCircleFilled, global.CloseCircleFilled, global.ExclamationCircleFilled, global.InfoCircleFilled, global.LoadingOutlined, global.RCNotification, global.redux, global.reactRedux, global.TimeZones, global.enUS, global.zhCN));
|
|
5
|
-
})(this, (function (exports, React, core, parrot, reactI18next, antd, iconsReact, cs, react, _, reactSvgUniqueId, reactTransitionGroup, react$1, recharts, icons, dayjs, linaria, moment, UTC, reactDom, reactIs, customParseFormat, reactBeautifulDnd, CheckCircleFilled, CloseCircleFilled, ExclamationCircleFilled, InfoCircleFilled, LoadingOutlined, RCNotification, redux, reactRedux, TimeZones, enUS, zhCN) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('@linaria/core'), require('@cloudtower/parrot'), require('react-i18next'), require('antd'), require('@cloudtower/icons-react'), require('classnames'), require('linaria/react'), require('lodash'), require('react-svg-unique-id'), require('react-transition-group'), require('@linaria/react'), require('recharts'), require('@ant-design/icons'), require('dayjs'), require('linaria'), require('moment'), require('dayjs/plugin/utc'), require('react-dom'), require('react-is'), require('dayjs/plugin/customParseFormat'), require('react-beautiful-dnd'), require('antd5'), require('@ant-design/icons/CheckCircleFilled'), require('@ant-design/icons/CloseCircleFilled'), require('@ant-design/icons/ExclamationCircleFilled'), require('@ant-design/icons/InfoCircleFilled'), require('@ant-design/icons/LoadingOutlined'), require('@cloudtower/rc-notification'), require('redux'), require('react-redux'), require('timezones.json'), require('antd/lib/locale/en_US'), require('antd/lib/locale/zh_CN')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', 'react', '@linaria/core', '@cloudtower/parrot', 'react-i18next', 'antd', '@cloudtower/icons-react', 'classnames', 'linaria/react', 'lodash', 'react-svg-unique-id', 'react-transition-group', '@linaria/react', 'recharts', '@ant-design/icons', 'dayjs', 'linaria', 'moment', 'dayjs/plugin/utc', 'react-dom', 'react-is', 'dayjs/plugin/customParseFormat', 'react-beautiful-dnd', 'antd5', '@ant-design/icons/CheckCircleFilled', '@ant-design/icons/CloseCircleFilled', '@ant-design/icons/ExclamationCircleFilled', '@ant-design/icons/InfoCircleFilled', '@ant-design/icons/LoadingOutlined', '@cloudtower/rc-notification', 'redux', 'react-redux', 'timezones.json', 'antd/lib/locale/en_US', 'antd/lib/locale/zh_CN'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.index = {}, global.React, global.core, global.parrot, global.reactI18next, global.antd, global.iconsReact, global.cs, global.react, global._, global.reactSvgUniqueId, global.reactTransitionGroup, global.react$1, global.recharts, global.icons, global.dayjs, global.linaria, global.moment, global.UTC, global.reactDom, global.reactIs, global.customParseFormat, global.reactBeautifulDnd, global.antd5, global.CheckCircleFilled, global.CloseCircleFilled, global.ExclamationCircleFilled, global.InfoCircleFilled, global.LoadingOutlined, global.RCNotification, global.redux, global.reactRedux, global.TimeZones, global.enUS, global.zhCN));
|
|
5
|
+
})(this, (function (exports, React, core, parrot, reactI18next, antd, iconsReact, cs, react, _, reactSvgUniqueId, reactTransitionGroup, react$1, recharts, icons, dayjs, linaria, moment, UTC, reactDom, reactIs, customParseFormat, reactBeautifulDnd, antd5, CheckCircleFilled, CloseCircleFilled, ExclamationCircleFilled, InfoCircleFilled, LoadingOutlined, RCNotification, redux, reactRedux, TimeZones, enUS, zhCN) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
8
8
|
|
|
@@ -225,6 +225,66 @@
|
|
|
225
225
|
return /* @__PURE__ */ React__namespace.default.createElement("span", { className, style }, "-");
|
|
226
226
|
};
|
|
227
227
|
|
|
228
|
+
var __defProp$14 = Object.defineProperty;
|
|
229
|
+
var __getOwnPropSymbols$15 = Object.getOwnPropertySymbols;
|
|
230
|
+
var __hasOwnProp$15 = Object.prototype.hasOwnProperty;
|
|
231
|
+
var __propIsEnum$15 = Object.prototype.propertyIsEnumerable;
|
|
232
|
+
var __defNormalProp$14 = (obj, key, value) => key in obj ? __defProp$14(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
233
|
+
var __spreadValues$13 = (a, b) => {
|
|
234
|
+
for (var prop in b || (b = {}))
|
|
235
|
+
if (__hasOwnProp$15.call(b, prop))
|
|
236
|
+
__defNormalProp$14(a, prop, b[prop]);
|
|
237
|
+
if (__getOwnPropSymbols$15)
|
|
238
|
+
for (var prop of __getOwnPropSymbols$15(b)) {
|
|
239
|
+
if (__propIsEnum$15.call(b, prop))
|
|
240
|
+
__defNormalProp$14(a, prop, b[prop]);
|
|
241
|
+
}
|
|
242
|
+
return a;
|
|
243
|
+
};
|
|
244
|
+
const Bit = ({
|
|
245
|
+
rawValue,
|
|
246
|
+
decimals,
|
|
247
|
+
unitClassName,
|
|
248
|
+
valueClassName,
|
|
249
|
+
emptyProps
|
|
250
|
+
}) => {
|
|
251
|
+
if (isEmpty(rawValue)) {
|
|
252
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$13({}, emptyProps));
|
|
253
|
+
}
|
|
254
|
+
const { value, unit } = formatBits(rawValue, decimals);
|
|
255
|
+
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, ` ${unit}`));
|
|
256
|
+
};
|
|
257
|
+
|
|
258
|
+
var __defProp$13 = Object.defineProperty;
|
|
259
|
+
var __getOwnPropSymbols$14 = Object.getOwnPropertySymbols;
|
|
260
|
+
var __hasOwnProp$14 = Object.prototype.hasOwnProperty;
|
|
261
|
+
var __propIsEnum$14 = Object.prototype.propertyIsEnumerable;
|
|
262
|
+
var __defNormalProp$13 = (obj, key, value) => key in obj ? __defProp$13(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
263
|
+
var __spreadValues$12 = (a, b) => {
|
|
264
|
+
for (var prop in b || (b = {}))
|
|
265
|
+
if (__hasOwnProp$14.call(b, prop))
|
|
266
|
+
__defNormalProp$13(a, prop, b[prop]);
|
|
267
|
+
if (__getOwnPropSymbols$14)
|
|
268
|
+
for (var prop of __getOwnPropSymbols$14(b)) {
|
|
269
|
+
if (__propIsEnum$14.call(b, prop))
|
|
270
|
+
__defNormalProp$13(a, prop, b[prop]);
|
|
271
|
+
}
|
|
272
|
+
return a;
|
|
273
|
+
};
|
|
274
|
+
const BitPerSeconds = ({
|
|
275
|
+
rawValue,
|
|
276
|
+
decimals,
|
|
277
|
+
valueClassName,
|
|
278
|
+
unitClassName,
|
|
279
|
+
emptyProps
|
|
280
|
+
}) => {
|
|
281
|
+
if (isEmpty(rawValue)) {
|
|
282
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$12({}, emptyProps));
|
|
283
|
+
}
|
|
284
|
+
const { value, unit } = formatBitPerSecond(rawValue, decimals);
|
|
285
|
+
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, ` ${unit}`));
|
|
286
|
+
};
|
|
287
|
+
|
|
228
288
|
var __defProp$12 = Object.defineProperty;
|
|
229
289
|
var __getOwnPropSymbols$13 = Object.getOwnPropertySymbols;
|
|
230
290
|
var __hasOwnProp$13 = Object.prototype.hasOwnProperty;
|
|
@@ -241,20 +301,26 @@
|
|
|
241
301
|
}
|
|
242
302
|
return a;
|
|
243
303
|
};
|
|
244
|
-
const
|
|
304
|
+
const Bps = ({
|
|
245
305
|
rawValue,
|
|
246
306
|
decimals,
|
|
247
|
-
unitClassName,
|
|
248
307
|
valueClassName,
|
|
308
|
+
unitClassName,
|
|
249
309
|
emptyProps
|
|
250
310
|
}) => {
|
|
251
311
|
if (isEmpty(rawValue)) {
|
|
252
312
|
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$11({}, emptyProps));
|
|
253
313
|
}
|
|
254
|
-
const { value, unit } =
|
|
314
|
+
const { value, unit } = formatBps(rawValue, decimals);
|
|
255
315
|
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, ` ${unit}`));
|
|
256
316
|
};
|
|
257
317
|
|
|
318
|
+
const useParrotTranslation = () => {
|
|
319
|
+
return reactI18next.useTranslation(void 0, {
|
|
320
|
+
i18n: parrot.parrotI18n
|
|
321
|
+
});
|
|
322
|
+
};
|
|
323
|
+
|
|
258
324
|
var __defProp$11 = Object.defineProperty;
|
|
259
325
|
var __getOwnPropSymbols$12 = Object.getOwnPropertySymbols;
|
|
260
326
|
var __hasOwnProp$12 = Object.prototype.hasOwnProperty;
|
|
@@ -271,17 +337,25 @@
|
|
|
271
337
|
}
|
|
272
338
|
return a;
|
|
273
339
|
};
|
|
274
|
-
const
|
|
340
|
+
const Byte = ({
|
|
275
341
|
rawValue,
|
|
342
|
+
noUnitOnZero,
|
|
276
343
|
decimals,
|
|
277
344
|
valueClassName,
|
|
278
345
|
unitClassName,
|
|
279
346
|
emptyProps
|
|
280
347
|
}) => {
|
|
348
|
+
const { t } = useParrotTranslation();
|
|
281
349
|
if (isEmpty(rawValue)) {
|
|
282
350
|
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$10({}, emptyProps));
|
|
283
351
|
}
|
|
284
|
-
|
|
352
|
+
if (rawValue === -1) {
|
|
353
|
+
return /* @__PURE__ */ React__namespace.default.createElement("span", null, t("common.calculation"));
|
|
354
|
+
}
|
|
355
|
+
const { value, unit } = formatBytes(rawValue, decimals);
|
|
356
|
+
if (noUnitOnZero && value === 0) {
|
|
357
|
+
return /* @__PURE__ */ React__namespace.default.createElement("span", { className: "value" }, value);
|
|
358
|
+
}
|
|
285
359
|
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, ` ${unit}`));
|
|
286
360
|
};
|
|
287
361
|
|
|
@@ -301,7 +375,7 @@
|
|
|
301
375
|
}
|
|
302
376
|
return a;
|
|
303
377
|
};
|
|
304
|
-
const
|
|
378
|
+
const Frequency = ({
|
|
305
379
|
rawValue,
|
|
306
380
|
decimals,
|
|
307
381
|
valueClassName,
|
|
@@ -311,16 +385,10 @@
|
|
|
311
385
|
if (isEmpty(rawValue)) {
|
|
312
386
|
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$$({}, emptyProps));
|
|
313
387
|
}
|
|
314
|
-
const { value, unit } =
|
|
388
|
+
const { value, unit } = formatFrequency(rawValue, decimals);
|
|
315
389
|
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, ` ${unit}`));
|
|
316
390
|
};
|
|
317
391
|
|
|
318
|
-
const useParrotTranslation = () => {
|
|
319
|
-
return reactI18next.useTranslation(void 0, {
|
|
320
|
-
i18n: parrot.parrotI18n
|
|
321
|
-
});
|
|
322
|
-
};
|
|
323
|
-
|
|
324
392
|
var __defProp$$ = Object.defineProperty;
|
|
325
393
|
var __getOwnPropSymbols$10 = Object.getOwnPropertySymbols;
|
|
326
394
|
var __hasOwnProp$10 = Object.prototype.hasOwnProperty;
|
|
@@ -337,26 +405,19 @@
|
|
|
337
405
|
}
|
|
338
406
|
return a;
|
|
339
407
|
};
|
|
340
|
-
const
|
|
408
|
+
const Percent = ({
|
|
341
409
|
rawValue,
|
|
342
|
-
noUnitOnZero,
|
|
343
410
|
decimals,
|
|
411
|
+
saturated,
|
|
344
412
|
valueClassName,
|
|
345
413
|
unitClassName,
|
|
346
414
|
emptyProps
|
|
347
415
|
}) => {
|
|
348
|
-
const { t } = useParrotTranslation();
|
|
349
416
|
if (isEmpty(rawValue)) {
|
|
350
417
|
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$_({}, emptyProps));
|
|
351
418
|
}
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
}
|
|
355
|
-
const { value, unit } = formatBytes(rawValue, decimals);
|
|
356
|
-
if (noUnitOnZero && value === 0) {
|
|
357
|
-
return /* @__PURE__ */ React__namespace.default.createElement("span", { className: "value" }, value);
|
|
358
|
-
}
|
|
359
|
-
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, ` ${unit}`));
|
|
419
|
+
const { value, unit } = formatPercent(rawValue, decimals, saturated);
|
|
420
|
+
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, unit));
|
|
360
421
|
};
|
|
361
422
|
|
|
362
423
|
var __defProp$_ = Object.defineProperty;
|
|
@@ -375,18 +436,20 @@
|
|
|
375
436
|
}
|
|
376
437
|
return a;
|
|
377
438
|
};
|
|
378
|
-
const
|
|
439
|
+
const Second = ({
|
|
379
440
|
rawValue,
|
|
380
441
|
decimals,
|
|
381
442
|
valueClassName,
|
|
382
443
|
unitClassName,
|
|
444
|
+
abbreviate,
|
|
383
445
|
emptyProps
|
|
384
446
|
}) => {
|
|
447
|
+
const { t } = useParrotTranslation();
|
|
385
448
|
if (isEmpty(rawValue)) {
|
|
386
449
|
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$Z({}, emptyProps));
|
|
387
450
|
}
|
|
388
|
-
const { value, unit } =
|
|
389
|
-
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, `
|
|
451
|
+
const { value, unit } = formatSeconds(rawValue, decimals);
|
|
452
|
+
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value, " "), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, t(`common.${abbreviate ? `${unit}_abbreviation` : unit}`)));
|
|
390
453
|
};
|
|
391
454
|
|
|
392
455
|
var __defProp$Z = Object.defineProperty;
|
|
@@ -405,10 +468,9 @@
|
|
|
405
468
|
}
|
|
406
469
|
return a;
|
|
407
470
|
};
|
|
408
|
-
const
|
|
471
|
+
const Speed = ({
|
|
409
472
|
rawValue,
|
|
410
473
|
decimals,
|
|
411
|
-
saturated,
|
|
412
474
|
valueClassName,
|
|
413
475
|
unitClassName,
|
|
414
476
|
emptyProps
|
|
@@ -416,8 +478,8 @@
|
|
|
416
478
|
if (isEmpty(rawValue)) {
|
|
417
479
|
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$Y({}, emptyProps));
|
|
418
480
|
}
|
|
419
|
-
const { value, unit } =
|
|
420
|
-
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, unit));
|
|
481
|
+
const { value, unit } = formatSpeed(rawValue, decimals);
|
|
482
|
+
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, ` ${unit}`));
|
|
421
483
|
};
|
|
422
484
|
|
|
423
485
|
var __defProp$Y = Object.defineProperty;
|
|
@@ -436,76 +498,14 @@
|
|
|
436
498
|
}
|
|
437
499
|
return a;
|
|
438
500
|
};
|
|
439
|
-
|
|
440
|
-
rawValue,
|
|
441
|
-
decimals,
|
|
442
|
-
valueClassName,
|
|
443
|
-
unitClassName,
|
|
444
|
-
abbreviate,
|
|
445
|
-
emptyProps
|
|
446
|
-
}) => {
|
|
447
|
-
const { t } = useParrotTranslation();
|
|
448
|
-
if (isEmpty(rawValue)) {
|
|
449
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$X({}, emptyProps));
|
|
450
|
-
}
|
|
451
|
-
const { value, unit } = formatSeconds(rawValue, decimals);
|
|
452
|
-
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value, " "), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, t(`common.${abbreviate ? `${unit}_abbreviation` : unit}`)));
|
|
453
|
-
};
|
|
454
|
-
|
|
455
|
-
var __defProp$X = Object.defineProperty;
|
|
456
|
-
var __getOwnPropSymbols$Y = Object.getOwnPropertySymbols;
|
|
457
|
-
var __hasOwnProp$Y = Object.prototype.hasOwnProperty;
|
|
458
|
-
var __propIsEnum$Y = Object.prototype.propertyIsEnumerable;
|
|
459
|
-
var __defNormalProp$X = (obj, key, value) => key in obj ? __defProp$X(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
460
|
-
var __spreadValues$W = (a, b) => {
|
|
461
|
-
for (var prop in b || (b = {}))
|
|
462
|
-
if (__hasOwnProp$Y.call(b, prop))
|
|
463
|
-
__defNormalProp$X(a, prop, b[prop]);
|
|
464
|
-
if (__getOwnPropSymbols$Y)
|
|
465
|
-
for (var prop of __getOwnPropSymbols$Y(b)) {
|
|
466
|
-
if (__propIsEnum$Y.call(b, prop))
|
|
467
|
-
__defNormalProp$X(a, prop, b[prop]);
|
|
468
|
-
}
|
|
469
|
-
return a;
|
|
470
|
-
};
|
|
471
|
-
const Speed = ({
|
|
472
|
-
rawValue,
|
|
473
|
-
decimals,
|
|
474
|
-
valueClassName,
|
|
475
|
-
unitClassName,
|
|
476
|
-
emptyProps
|
|
477
|
-
}) => {
|
|
478
|
-
if (isEmpty(rawValue)) {
|
|
479
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$W({}, emptyProps));
|
|
480
|
-
}
|
|
481
|
-
const { value, unit } = formatSpeed(rawValue, decimals);
|
|
482
|
-
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, ` ${unit}`));
|
|
483
|
-
};
|
|
484
|
-
|
|
485
|
-
var __defProp$W = Object.defineProperty;
|
|
486
|
-
var __getOwnPropSymbols$X = Object.getOwnPropertySymbols;
|
|
487
|
-
var __hasOwnProp$X = Object.prototype.hasOwnProperty;
|
|
488
|
-
var __propIsEnum$X = Object.prototype.propertyIsEnumerable;
|
|
489
|
-
var __defNormalProp$W = (obj, key, value) => key in obj ? __defProp$W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
490
|
-
var __spreadValues$V = (a, b) => {
|
|
491
|
-
for (var prop in b || (b = {}))
|
|
492
|
-
if (__hasOwnProp$X.call(b, prop))
|
|
493
|
-
__defNormalProp$W(a, prop, b[prop]);
|
|
494
|
-
if (__getOwnPropSymbols$X)
|
|
495
|
-
for (var prop of __getOwnPropSymbols$X(b)) {
|
|
496
|
-
if (__propIsEnum$X.call(b, prop))
|
|
497
|
-
__defNormalProp$W(a, prop, b[prop]);
|
|
498
|
-
}
|
|
499
|
-
return a;
|
|
500
|
-
};
|
|
501
|
-
var __objRest$C = (source, exclude) => {
|
|
501
|
+
var __objRest$D = (source, exclude) => {
|
|
502
502
|
var target = {};
|
|
503
503
|
for (var prop in source)
|
|
504
|
-
if (__hasOwnProp$
|
|
504
|
+
if (__hasOwnProp$Z.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
505
505
|
target[prop] = source[prop];
|
|
506
|
-
if (source != null && __getOwnPropSymbols$
|
|
507
|
-
for (var prop of __getOwnPropSymbols$
|
|
508
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
506
|
+
if (source != null && __getOwnPropSymbols$Z)
|
|
507
|
+
for (var prop of __getOwnPropSymbols$Z(source)) {
|
|
508
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$Z.call(source, prop))
|
|
509
509
|
target[prop] = source[prop];
|
|
510
510
|
}
|
|
511
511
|
return target;
|
|
@@ -523,7 +523,7 @@
|
|
|
523
523
|
prefixNode,
|
|
524
524
|
suffixIconSrc: SuffixSrc,
|
|
525
525
|
src: Src
|
|
526
|
-
} = _a, HTMLSpanElementProps = __objRest$
|
|
526
|
+
} = _a, HTMLSpanElementProps = __objRest$D(_a, [
|
|
527
527
|
"alt",
|
|
528
528
|
"className",
|
|
529
529
|
"width",
|
|
@@ -537,10 +537,10 @@
|
|
|
537
537
|
]);
|
|
538
538
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
539
539
|
"span",
|
|
540
|
-
__spreadValues$
|
|
540
|
+
__spreadValues$X({
|
|
541
541
|
ref,
|
|
542
542
|
className,
|
|
543
|
-
style: ___default.default.pickBy(__spreadValues$
|
|
543
|
+
style: ___default.default.pickBy(__spreadValues$X({ cursor }, style))
|
|
544
544
|
}, HTMLSpanElementProps),
|
|
545
545
|
prefixNode,
|
|
546
546
|
/* @__PURE__ */ React__namespace.default.createElement("span", { className: "icon-inner" }, typeof Src === "string" ? /* @__PURE__ */ React__namespace.default.createElement("img", { alt, src: Src, width, height }) : /* @__PURE__ */ React__namespace.default.createElement(reactSvgUniqueId.SVGUniqueID, null, Src({ width, height }))),
|
|
@@ -550,31 +550,31 @@
|
|
|
550
550
|
}
|
|
551
551
|
);
|
|
552
552
|
|
|
553
|
-
var __defProp$
|
|
554
|
-
var __defProps$
|
|
555
|
-
var __getOwnPropDescs$
|
|
556
|
-
var __getOwnPropSymbols$
|
|
557
|
-
var __hasOwnProp$
|
|
558
|
-
var __propIsEnum$
|
|
559
|
-
var __defNormalProp$
|
|
553
|
+
var __defProp$X = Object.defineProperty;
|
|
554
|
+
var __defProps$I = Object.defineProperties;
|
|
555
|
+
var __getOwnPropDescs$I = Object.getOwnPropertyDescriptors;
|
|
556
|
+
var __getOwnPropSymbols$Y = Object.getOwnPropertySymbols;
|
|
557
|
+
var __hasOwnProp$Y = Object.prototype.hasOwnProperty;
|
|
558
|
+
var __propIsEnum$Y = Object.prototype.propertyIsEnumerable;
|
|
559
|
+
var __defNormalProp$X = (obj, key, value) => key in obj ? __defProp$X(obj, key, {
|
|
560
560
|
enumerable: true,
|
|
561
561
|
configurable: true,
|
|
562
562
|
writable: true,
|
|
563
563
|
value
|
|
564
564
|
}) : obj[key] = value;
|
|
565
|
-
var __spreadValues$
|
|
566
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
567
|
-
if (__getOwnPropSymbols$
|
|
568
|
-
if (__propIsEnum$
|
|
565
|
+
var __spreadValues$W = (a, b) => {
|
|
566
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$Y.call(b, prop)) __defNormalProp$X(a, prop, b[prop]);
|
|
567
|
+
if (__getOwnPropSymbols$Y) for (var prop of __getOwnPropSymbols$Y(b)) {
|
|
568
|
+
if (__propIsEnum$Y.call(b, prop)) __defNormalProp$X(a, prop, b[prop]);
|
|
569
569
|
}
|
|
570
570
|
return a;
|
|
571
571
|
};
|
|
572
|
-
var __spreadProps$
|
|
573
|
-
var __objRest$
|
|
572
|
+
var __spreadProps$I = (a, b) => __defProps$I(a, __getOwnPropDescs$I(b));
|
|
573
|
+
var __objRest$C = (source, exclude) => {
|
|
574
574
|
var target = {};
|
|
575
|
-
for (var prop in source) if (__hasOwnProp$
|
|
576
|
-
if (source != null && __getOwnPropSymbols$
|
|
577
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
575
|
+
for (var prop in source) if (__hasOwnProp$Y.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
576
|
+
if (source != null && __getOwnPropSymbols$Y) for (var prop of __getOwnPropSymbols$Y(source)) {
|
|
577
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$Y.call(source, prop)) target[prop] = source[prop];
|
|
578
578
|
}
|
|
579
579
|
return target;
|
|
580
580
|
};
|
|
@@ -598,7 +598,7 @@
|
|
|
598
598
|
prefix,
|
|
599
599
|
suffix
|
|
600
600
|
} = _a,
|
|
601
|
-
restProps = __objRest$
|
|
601
|
+
restProps = __objRest$C(_a, ["src", "hoverSrc", "active", "activeSrc", "onMouseEnter", "onMouseLeave", "onMouseMove", "className", "iconWidth", "iconHeight", "cursor", "style", "isRotate", "prefix", "suffix"]);
|
|
602
602
|
const [hover, setHover] = React.useState(false);
|
|
603
603
|
const _src = React.useMemo(() => {
|
|
604
604
|
if (active && activeSrc) {
|
|
@@ -626,14 +626,14 @@
|
|
|
626
626
|
}
|
|
627
627
|
return src2;
|
|
628
628
|
}, [active, hover, suffix]);
|
|
629
|
-
return /* @__PURE__ */React__namespace.default.createElement(BaseIcon, __spreadProps$
|
|
629
|
+
return /* @__PURE__ */React__namespace.default.createElement(BaseIcon, __spreadProps$I(__spreadValues$W({
|
|
630
630
|
src: _src,
|
|
631
631
|
className: cs__default.default(IconWrapper, "icon-wrapper", className, isRotate && "is-rotate"),
|
|
632
632
|
suffixIconSrc,
|
|
633
633
|
height: iconHeight,
|
|
634
634
|
width: iconWidth,
|
|
635
635
|
prefixNode: prefix,
|
|
636
|
-
style: ___default.default.pickBy(__spreadValues$
|
|
636
|
+
style: ___default.default.pickBy(__spreadValues$W({
|
|
637
637
|
cursor
|
|
638
638
|
}, style))
|
|
639
639
|
}, restProps), {
|
|
@@ -658,30 +658,30 @@
|
|
|
658
658
|
}));
|
|
659
659
|
});
|
|
660
660
|
|
|
661
|
-
var __defProp$
|
|
662
|
-
var __getOwnPropSymbols$
|
|
663
|
-
var __hasOwnProp$
|
|
664
|
-
var __propIsEnum$
|
|
665
|
-
var __defNormalProp$
|
|
666
|
-
var __spreadValues$
|
|
661
|
+
var __defProp$W = Object.defineProperty;
|
|
662
|
+
var __getOwnPropSymbols$X = Object.getOwnPropertySymbols;
|
|
663
|
+
var __hasOwnProp$X = Object.prototype.hasOwnProperty;
|
|
664
|
+
var __propIsEnum$X = Object.prototype.propertyIsEnumerable;
|
|
665
|
+
var __defNormalProp$W = (obj, key, value) => key in obj ? __defProp$W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
666
|
+
var __spreadValues$V = (a, b) => {
|
|
667
667
|
for (var prop in b || (b = {}))
|
|
668
|
-
if (__hasOwnProp$
|
|
669
|
-
__defNormalProp$
|
|
670
|
-
if (__getOwnPropSymbols$
|
|
671
|
-
for (var prop of __getOwnPropSymbols$
|
|
672
|
-
if (__propIsEnum$
|
|
673
|
-
__defNormalProp$
|
|
668
|
+
if (__hasOwnProp$X.call(b, prop))
|
|
669
|
+
__defNormalProp$W(a, prop, b[prop]);
|
|
670
|
+
if (__getOwnPropSymbols$X)
|
|
671
|
+
for (var prop of __getOwnPropSymbols$X(b)) {
|
|
672
|
+
if (__propIsEnum$X.call(b, prop))
|
|
673
|
+
__defNormalProp$W(a, prop, b[prop]);
|
|
674
674
|
}
|
|
675
675
|
return a;
|
|
676
676
|
};
|
|
677
|
-
var __objRest$
|
|
677
|
+
var __objRest$B = (source, exclude) => {
|
|
678
678
|
var target = {};
|
|
679
679
|
for (var prop in source)
|
|
680
|
-
if (__hasOwnProp$
|
|
680
|
+
if (__hasOwnProp$X.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
681
681
|
target[prop] = source[prop];
|
|
682
|
-
if (source != null && __getOwnPropSymbols$
|
|
683
|
-
for (var prop of __getOwnPropSymbols$
|
|
684
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
682
|
+
if (source != null && __getOwnPropSymbols$X)
|
|
683
|
+
for (var prop of __getOwnPropSymbols$X(source)) {
|
|
684
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$X.call(source, prop))
|
|
685
685
|
target[prop] = source[prop];
|
|
686
686
|
}
|
|
687
687
|
return target;
|
|
@@ -693,7 +693,7 @@
|
|
|
693
693
|
children,
|
|
694
694
|
mountOnEnter = true,
|
|
695
695
|
unmountOnExit = true
|
|
696
|
-
} = _a, restProps = __objRest$
|
|
696
|
+
} = _a, restProps = __objRest$B(_a, [
|
|
697
697
|
"visible",
|
|
698
698
|
"timeout",
|
|
699
699
|
"children",
|
|
@@ -702,7 +702,7 @@
|
|
|
702
702
|
]);
|
|
703
703
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
704
704
|
reactTransitionGroup.CSSTransition,
|
|
705
|
-
__spreadValues$
|
|
705
|
+
__spreadValues$V({
|
|
706
706
|
in: visible,
|
|
707
707
|
timeout: timeout || 200,
|
|
708
708
|
mountOnEnter,
|
|
@@ -962,113 +962,33 @@
|
|
|
962
962
|
}, props.children));
|
|
963
963
|
};
|
|
964
964
|
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
const childStyle = childRef.current.style;
|
|
981
|
-
if (percent <= 0.5) {
|
|
982
|
-
deg = 180 * (percent / 0.5);
|
|
983
|
-
childStyle.background = "white";
|
|
984
|
-
} else {
|
|
985
|
-
deg = 180 * ((percent - 0.5) / 0.5);
|
|
986
|
-
childStyle.background = color;
|
|
965
|
+
var __defProp$V = Object.defineProperty;
|
|
966
|
+
var __defProps$H = Object.defineProperties;
|
|
967
|
+
var __getOwnPropDescs$H = Object.getOwnPropertyDescriptors;
|
|
968
|
+
var __getOwnPropSymbols$W = Object.getOwnPropertySymbols;
|
|
969
|
+
var __hasOwnProp$W = Object.prototype.hasOwnProperty;
|
|
970
|
+
var __propIsEnum$W = Object.prototype.propertyIsEnumerable;
|
|
971
|
+
var __defNormalProp$V = (obj, key, value) => key in obj ? __defProp$V(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
972
|
+
var __spreadValues$U = (a, b) => {
|
|
973
|
+
for (var prop in b || (b = {}))
|
|
974
|
+
if (__hasOwnProp$W.call(b, prop))
|
|
975
|
+
__defNormalProp$V(a, prop, b[prop]);
|
|
976
|
+
if (__getOwnPropSymbols$W)
|
|
977
|
+
for (var prop of __getOwnPropSymbols$W(b)) {
|
|
978
|
+
if (__propIsEnum$W.call(b, prop))
|
|
979
|
+
__defNormalProp$V(a, prop, b[prop]);
|
|
987
980
|
}
|
|
988
|
-
|
|
989
|
-
}, [percent, color]);
|
|
990
|
-
return /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
991
|
-
className: cs__default.default(CircleProgressStyle, className),
|
|
992
|
-
ref: wrapperRef
|
|
993
|
-
}, /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
994
|
-
className: "circle-inner"
|
|
995
|
-
}, /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
996
|
-
className: "circle-content"
|
|
997
|
-
}), /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
998
|
-
className: "circle-child",
|
|
999
|
-
ref: childRef
|
|
1000
|
-
})));
|
|
981
|
+
return a;
|
|
1001
982
|
};
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
name: "WizardBody",
|
|
1005
|
-
class: "w1vvwdlp",
|
|
1006
|
-
propsAsIs: false
|
|
1007
|
-
});
|
|
1008
|
-
const FullView = /*#__PURE__*/react$1.styled('div')({
|
|
1009
|
-
name: "FullView",
|
|
1010
|
-
class: "f1rest1f",
|
|
1011
|
-
propsAsIs: false
|
|
1012
|
-
});
|
|
1013
|
-
const TertiaryText = /*#__PURE__*/react$1.styled('div')({
|
|
1014
|
-
name: "TertiaryText",
|
|
1015
|
-
class: "t79k8o2",
|
|
1016
|
-
propsAsIs: false
|
|
1017
|
-
});
|
|
1018
|
-
const InputStyle = "ipd9bk";
|
|
1019
|
-
const KitInputStyle = "kypn5o5";
|
|
1020
|
-
const ContentWrapper = /*#__PURE__*/react$1.styled('div')({
|
|
1021
|
-
name: "ContentWrapper",
|
|
1022
|
-
class: "c1t6wbwv",
|
|
1023
|
-
propsAsIs: false
|
|
1024
|
-
});
|
|
1025
|
-
const Desc = /*#__PURE__*/react$1.styled('div')({
|
|
1026
|
-
name: "Desc",
|
|
1027
|
-
class: "d1k7vv5v",
|
|
1028
|
-
propsAsIs: false
|
|
1029
|
-
});
|
|
1030
|
-
const _exp2$3 = () => Desc;
|
|
1031
|
-
const LightDesc = /*#__PURE__*/react$1.styled(_exp2$3())({
|
|
1032
|
-
name: "LightDesc",
|
|
1033
|
-
class: "le7b9r4",
|
|
1034
|
-
propsAsIs: true
|
|
1035
|
-
});
|
|
1036
|
-
const _exp3$2 = () => LightDesc;
|
|
1037
|
-
const RadioDesc = /*#__PURE__*/react$1.styled(_exp3$2())({
|
|
1038
|
-
name: "RadioDesc",
|
|
1039
|
-
class: "r1dnygxx",
|
|
1040
|
-
propsAsIs: true
|
|
1041
|
-
});
|
|
1042
|
-
const radioStyle = "r12ddqmh";
|
|
1043
|
-
const CannotOperationInfo = "ctcr26a";
|
|
1044
|
-
|
|
1045
|
-
var __defProp$T = Object.defineProperty;
|
|
1046
|
-
var __defProps$F = Object.defineProperties;
|
|
1047
|
-
var __getOwnPropDescs$F = Object.getOwnPropertyDescriptors;
|
|
1048
|
-
var __getOwnPropSymbols$U = Object.getOwnPropertySymbols;
|
|
1049
|
-
var __hasOwnProp$U = Object.prototype.hasOwnProperty;
|
|
1050
|
-
var __propIsEnum$U = Object.prototype.propertyIsEnumerable;
|
|
1051
|
-
var __defNormalProp$T = (obj, key, value) => key in obj ? __defProp$T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1052
|
-
var __spreadValues$S = (a, b) => {
|
|
1053
|
-
for (var prop in b || (b = {}))
|
|
1054
|
-
if (__hasOwnProp$U.call(b, prop))
|
|
1055
|
-
__defNormalProp$T(a, prop, b[prop]);
|
|
1056
|
-
if (__getOwnPropSymbols$U)
|
|
1057
|
-
for (var prop of __getOwnPropSymbols$U(b)) {
|
|
1058
|
-
if (__propIsEnum$U.call(b, prop))
|
|
1059
|
-
__defNormalProp$T(a, prop, b[prop]);
|
|
1060
|
-
}
|
|
1061
|
-
return a;
|
|
1062
|
-
};
|
|
1063
|
-
var __spreadProps$F = (a, b) => __defProps$F(a, __getOwnPropDescs$F(b));
|
|
1064
|
-
var __objRest$z = (source, exclude) => {
|
|
983
|
+
var __spreadProps$H = (a, b) => __defProps$H(a, __getOwnPropDescs$H(b));
|
|
984
|
+
var __objRest$A = (source, exclude) => {
|
|
1065
985
|
var target = {};
|
|
1066
986
|
for (var prop in source)
|
|
1067
|
-
if (__hasOwnProp$
|
|
987
|
+
if (__hasOwnProp$W.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1068
988
|
target[prop] = source[prop];
|
|
1069
|
-
if (source != null && __getOwnPropSymbols$
|
|
1070
|
-
for (var prop of __getOwnPropSymbols$
|
|
1071
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
989
|
+
if (source != null && __getOwnPropSymbols$W)
|
|
990
|
+
for (var prop of __getOwnPropSymbols$W(source)) {
|
|
991
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$W.call(source, prop))
|
|
1072
992
|
target[prop] = source[prop];
|
|
1073
993
|
}
|
|
1074
994
|
return target;
|
|
@@ -1080,7 +1000,7 @@
|
|
|
1080
1000
|
overlayClassName,
|
|
1081
1001
|
overlayStyle,
|
|
1082
1002
|
children
|
|
1083
|
-
} = _a, restProps = __objRest$
|
|
1003
|
+
} = _a, restProps = __objRest$A(_a, [
|
|
1084
1004
|
"followMouse",
|
|
1085
1005
|
"overlayClassName",
|
|
1086
1006
|
"overlayStyle",
|
|
@@ -1122,10 +1042,10 @@
|
|
|
1122
1042
|
}, [followMouse, onmousemove, uniqueContainerClass]);
|
|
1123
1043
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
1124
1044
|
antd.Tooltip,
|
|
1125
|
-
__spreadProps$
|
|
1045
|
+
__spreadProps$H(__spreadValues$U({}, restProps), {
|
|
1126
1046
|
overlayClassName: followMouse ? cs__default.default(overlayClassName, uniquePopupClass) : overlayClassName,
|
|
1127
1047
|
children: _children,
|
|
1128
|
-
overlayStyle: followMouse ? __spreadValues$
|
|
1048
|
+
overlayStyle: followMouse ? __spreadValues$U({
|
|
1129
1049
|
transform: "translate(-50%, -100%)",
|
|
1130
1050
|
pointerEvents: "none"
|
|
1131
1051
|
}, overlayStyle) : overlayStyle
|
|
@@ -1133,6 +1053,140 @@
|
|
|
1133
1053
|
);
|
|
1134
1054
|
};
|
|
1135
1055
|
|
|
1056
|
+
const DropdownOverlayStyle$1 = "d133fzv0";
|
|
1057
|
+
const RenderMenuItem = item => {
|
|
1058
|
+
if (item.hidden === true) {
|
|
1059
|
+
return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null);
|
|
1060
|
+
}
|
|
1061
|
+
if (item.type === "group") {
|
|
1062
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Menu.ItemGroup, {
|
|
1063
|
+
title: item.title,
|
|
1064
|
+
key: item.key
|
|
1065
|
+
}, (item.children || []).map(childItem => RenderMenuItem(childItem)));
|
|
1066
|
+
}
|
|
1067
|
+
if (item.type === "divider") {
|
|
1068
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Menu.Divider, {
|
|
1069
|
+
key: item.key
|
|
1070
|
+
});
|
|
1071
|
+
}
|
|
1072
|
+
if (item.tooltip) {
|
|
1073
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Menu.Item, {
|
|
1074
|
+
danger: item.danger,
|
|
1075
|
+
key: item.key,
|
|
1076
|
+
disabled: item.disabled,
|
|
1077
|
+
onClick: item.onClick
|
|
1078
|
+
}, /* @__PURE__ */React__namespace.default.createElement(Tooltip, {
|
|
1079
|
+
title: item.tooltip
|
|
1080
|
+
}, item.icon ? React__namespace.default.cloneElement(item.icon, {}, item.text) : /* @__PURE__ */React__namespace.default.createElement("div", null, item.text)));
|
|
1081
|
+
}
|
|
1082
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Menu.Item, {
|
|
1083
|
+
danger: item.danger,
|
|
1084
|
+
key: item.key,
|
|
1085
|
+
disabled: item.disabled,
|
|
1086
|
+
onClick: item.onClick
|
|
1087
|
+
}, item.icon ? React__namespace.default.cloneElement(item.icon, {}, item.text) : item.text);
|
|
1088
|
+
};
|
|
1089
|
+
const DropdownMenu = ({
|
|
1090
|
+
items,
|
|
1091
|
+
disabled,
|
|
1092
|
+
placement,
|
|
1093
|
+
trigger,
|
|
1094
|
+
customStyle,
|
|
1095
|
+
slotsElements = {}
|
|
1096
|
+
}) => {
|
|
1097
|
+
const menuItems = items.filter(item => !item.hidden);
|
|
1098
|
+
const menuDisabled = disabled || menuItems.length === 0;
|
|
1099
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Dropdown, {
|
|
1100
|
+
disabled: menuDisabled,
|
|
1101
|
+
placement,
|
|
1102
|
+
trigger,
|
|
1103
|
+
overlayClassName: core.cx(DropdownOverlayStyle$1, customStyle == null ? void 0 : customStyle.content),
|
|
1104
|
+
overlay: /* @__PURE__ */React__namespace.default.createElement(antd.Menu, null, menuItems.map(item => {
|
|
1105
|
+
return RenderMenuItem(item);
|
|
1106
|
+
}))
|
|
1107
|
+
}, /* @__PURE__ */React__namespace.default.createElement("span", null, slotsElements.trigger ? slotsElements.trigger({}) : null));
|
|
1108
|
+
};
|
|
1109
|
+
|
|
1110
|
+
const CircleProgressStyle = "c1bus5hc";
|
|
1111
|
+
const CircleProgress = props => {
|
|
1112
|
+
const {
|
|
1113
|
+
percent,
|
|
1114
|
+
color = "#0080ff",
|
|
1115
|
+
className
|
|
1116
|
+
} = props;
|
|
1117
|
+
const wrapperRef = React.useRef(null);
|
|
1118
|
+
const childRef = React.useRef(null);
|
|
1119
|
+
React.useLayoutEffect(() => {
|
|
1120
|
+
var _a;
|
|
1121
|
+
(_a = wrapperRef.current) == null ? void 0 : _a.style.setProperty("--color", color);
|
|
1122
|
+
}, [color]);
|
|
1123
|
+
React.useLayoutEffect(() => {
|
|
1124
|
+
let deg = 0;
|
|
1125
|
+
const childStyle = childRef.current.style;
|
|
1126
|
+
if (percent <= 0.5) {
|
|
1127
|
+
deg = 180 * (percent / 0.5);
|
|
1128
|
+
childStyle.background = "white";
|
|
1129
|
+
} else {
|
|
1130
|
+
deg = 180 * ((percent - 0.5) / 0.5);
|
|
1131
|
+
childStyle.background = color;
|
|
1132
|
+
}
|
|
1133
|
+
childStyle.transform = `rotate(${deg}deg)`;
|
|
1134
|
+
}, [percent, color]);
|
|
1135
|
+
return /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
1136
|
+
className: cs__default.default(CircleProgressStyle, className),
|
|
1137
|
+
ref: wrapperRef
|
|
1138
|
+
}, /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
1139
|
+
className: "circle-inner"
|
|
1140
|
+
}, /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
1141
|
+
className: "circle-content"
|
|
1142
|
+
}), /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
1143
|
+
className: "circle-child",
|
|
1144
|
+
ref: childRef
|
|
1145
|
+
})));
|
|
1146
|
+
};
|
|
1147
|
+
|
|
1148
|
+
const WizardBody = /*#__PURE__*/react$1.styled('div')({
|
|
1149
|
+
name: "WizardBody",
|
|
1150
|
+
class: "w1vvwdlp",
|
|
1151
|
+
propsAsIs: false
|
|
1152
|
+
});
|
|
1153
|
+
const FullView = /*#__PURE__*/react$1.styled('div')({
|
|
1154
|
+
name: "FullView",
|
|
1155
|
+
class: "f1rest1f",
|
|
1156
|
+
propsAsIs: false
|
|
1157
|
+
});
|
|
1158
|
+
const TertiaryText = /*#__PURE__*/react$1.styled('div')({
|
|
1159
|
+
name: "TertiaryText",
|
|
1160
|
+
class: "t79k8o2",
|
|
1161
|
+
propsAsIs: false
|
|
1162
|
+
});
|
|
1163
|
+
const InputStyle = "ipd9bk";
|
|
1164
|
+
const KitInputStyle = "kypn5o5";
|
|
1165
|
+
const ContentWrapper = /*#__PURE__*/react$1.styled('div')({
|
|
1166
|
+
name: "ContentWrapper",
|
|
1167
|
+
class: "c1t6wbwv",
|
|
1168
|
+
propsAsIs: false
|
|
1169
|
+
});
|
|
1170
|
+
const Desc = /*#__PURE__*/react$1.styled('div')({
|
|
1171
|
+
name: "Desc",
|
|
1172
|
+
class: "d1k7vv5v",
|
|
1173
|
+
propsAsIs: false
|
|
1174
|
+
});
|
|
1175
|
+
const _exp2$3 = () => Desc;
|
|
1176
|
+
const LightDesc = /*#__PURE__*/react$1.styled(_exp2$3())({
|
|
1177
|
+
name: "LightDesc",
|
|
1178
|
+
class: "le7b9r4",
|
|
1179
|
+
propsAsIs: true
|
|
1180
|
+
});
|
|
1181
|
+
const _exp3$2 = () => LightDesc;
|
|
1182
|
+
const RadioDesc = /*#__PURE__*/react$1.styled(_exp3$2())({
|
|
1183
|
+
name: "RadioDesc",
|
|
1184
|
+
class: "r1dnygxx",
|
|
1185
|
+
propsAsIs: true
|
|
1186
|
+
});
|
|
1187
|
+
const radioStyle = "r12ddqmh";
|
|
1188
|
+
const CannotOperationInfo = "ctcr26a";
|
|
1189
|
+
|
|
1136
1190
|
const StackBar = "skwah65";
|
|
1137
1191
|
function getWidth(input) {
|
|
1138
1192
|
const {
|
|
@@ -1194,20 +1248,20 @@
|
|
|
1194
1248
|
)
|
|
1195
1249
|
);
|
|
1196
1250
|
|
|
1197
|
-
var __defProp$
|
|
1198
|
-
var __getOwnPropSymbols$
|
|
1199
|
-
var __hasOwnProp$
|
|
1200
|
-
var __propIsEnum$
|
|
1201
|
-
var __defNormalProp$
|
|
1251
|
+
var __defProp$U = Object.defineProperty;
|
|
1252
|
+
var __getOwnPropSymbols$V = Object.getOwnPropertySymbols;
|
|
1253
|
+
var __hasOwnProp$V = Object.prototype.hasOwnProperty;
|
|
1254
|
+
var __propIsEnum$V = Object.prototype.propertyIsEnumerable;
|
|
1255
|
+
var __defNormalProp$U = (obj, key, value) => key in obj ? __defProp$U(obj, key, {
|
|
1202
1256
|
enumerable: true,
|
|
1203
1257
|
configurable: true,
|
|
1204
1258
|
writable: true,
|
|
1205
1259
|
value
|
|
1206
1260
|
}) : obj[key] = value;
|
|
1207
|
-
var __spreadValues$
|
|
1208
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1209
|
-
if (__getOwnPropSymbols$
|
|
1210
|
-
if (__propIsEnum$
|
|
1261
|
+
var __spreadValues$T = (a, b) => {
|
|
1262
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$V.call(b, prop)) __defNormalProp$U(a, prop, b[prop]);
|
|
1263
|
+
if (__getOwnPropSymbols$V) for (var prop of __getOwnPropSymbols$V(b)) {
|
|
1264
|
+
if (__propIsEnum$V.call(b, prop)) __defNormalProp$U(a, prop, b[prop]);
|
|
1211
1265
|
}
|
|
1212
1266
|
return a;
|
|
1213
1267
|
};
|
|
@@ -1282,7 +1336,7 @@
|
|
|
1282
1336
|
saturated
|
|
1283
1337
|
}) : /* @__PURE__ */React__namespace.default.createElement(Unit, {
|
|
1284
1338
|
rawValue
|
|
1285
|
-
})), chartType === "donutChart" && /* @__PURE__ */React__namespace.default.createElement(DonutChart, __spreadValues$
|
|
1339
|
+
})), chartType === "donutChart" && /* @__PURE__ */React__namespace.default.createElement(DonutChart, __spreadValues$T({
|
|
1286
1340
|
data: [{
|
|
1287
1341
|
used: rawValue / total,
|
|
1288
1342
|
fill: color
|
|
@@ -1438,28 +1492,28 @@
|
|
|
1438
1492
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, render());
|
|
1439
1493
|
};
|
|
1440
1494
|
|
|
1441
|
-
var __defProp$
|
|
1442
|
-
var __getOwnPropSymbols$
|
|
1443
|
-
var __hasOwnProp$
|
|
1444
|
-
var __propIsEnum$
|
|
1445
|
-
var __defNormalProp$
|
|
1446
|
-
var __spreadValues$
|
|
1495
|
+
var __defProp$T = Object.defineProperty;
|
|
1496
|
+
var __getOwnPropSymbols$U = Object.getOwnPropertySymbols;
|
|
1497
|
+
var __hasOwnProp$U = Object.prototype.hasOwnProperty;
|
|
1498
|
+
var __propIsEnum$U = Object.prototype.propertyIsEnumerable;
|
|
1499
|
+
var __defNormalProp$T = (obj, key, value) => key in obj ? __defProp$T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1500
|
+
var __spreadValues$S = (a, b) => {
|
|
1447
1501
|
for (var prop in b || (b = {}))
|
|
1448
|
-
if (__hasOwnProp$
|
|
1449
|
-
__defNormalProp$
|
|
1450
|
-
if (__getOwnPropSymbols$
|
|
1451
|
-
for (var prop of __getOwnPropSymbols$
|
|
1452
|
-
if (__propIsEnum$
|
|
1453
|
-
__defNormalProp$
|
|
1502
|
+
if (__hasOwnProp$U.call(b, prop))
|
|
1503
|
+
__defNormalProp$T(a, prop, b[prop]);
|
|
1504
|
+
if (__getOwnPropSymbols$U)
|
|
1505
|
+
for (var prop of __getOwnPropSymbols$U(b)) {
|
|
1506
|
+
if (__propIsEnum$U.call(b, prop))
|
|
1507
|
+
__defNormalProp$T(a, prop, b[prop]);
|
|
1454
1508
|
}
|
|
1455
1509
|
return a;
|
|
1456
1510
|
};
|
|
1457
|
-
const Calendar = (props) => /* @__PURE__ */ React__namespace.default.createElement(antd.Calendar, __spreadValues$
|
|
1511
|
+
const Calendar = (props) => /* @__PURE__ */ React__namespace.default.createElement(antd.Calendar, __spreadValues$S({}, props));
|
|
1458
1512
|
|
|
1459
|
-
var __defProp$
|
|
1460
|
-
var __defNormalProp$
|
|
1513
|
+
var __defProp$S = Object.defineProperty;
|
|
1514
|
+
var __defNormalProp$S = (obj, key, value) => key in obj ? __defProp$S(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1461
1515
|
var __publicField$1 = (obj, key, value) => {
|
|
1462
|
-
__defNormalProp$
|
|
1516
|
+
__defNormalProp$S(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
1463
1517
|
return value;
|
|
1464
1518
|
};
|
|
1465
1519
|
dayjs__default.default.extend(UTC__default.default);
|
|
@@ -2018,28 +2072,28 @@
|
|
|
2018
2072
|
return icon != null ? React__namespace.default.cloneElement(icon, { className }) : null;
|
|
2019
2073
|
};
|
|
2020
2074
|
|
|
2021
|
-
var __defProp$
|
|
2022
|
-
var __getOwnPropSymbols$
|
|
2023
|
-
var __hasOwnProp$
|
|
2024
|
-
var __propIsEnum$
|
|
2025
|
-
var __defNormalProp$
|
|
2075
|
+
var __defProp$R = Object.defineProperty;
|
|
2076
|
+
var __getOwnPropSymbols$T = Object.getOwnPropertySymbols;
|
|
2077
|
+
var __hasOwnProp$T = Object.prototype.hasOwnProperty;
|
|
2078
|
+
var __propIsEnum$T = Object.prototype.propertyIsEnumerable;
|
|
2079
|
+
var __defNormalProp$R = (obj, key, value) => key in obj ? __defProp$R(obj, key, {
|
|
2026
2080
|
enumerable: true,
|
|
2027
2081
|
configurable: true,
|
|
2028
2082
|
writable: true,
|
|
2029
2083
|
value
|
|
2030
2084
|
}) : obj[key] = value;
|
|
2031
|
-
var __spreadValues$
|
|
2032
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2033
|
-
if (__getOwnPropSymbols$
|
|
2034
|
-
if (__propIsEnum$
|
|
2085
|
+
var __spreadValues$R = (a, b) => {
|
|
2086
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$T.call(b, prop)) __defNormalProp$R(a, prop, b[prop]);
|
|
2087
|
+
if (__getOwnPropSymbols$T) for (var prop of __getOwnPropSymbols$T(b)) {
|
|
2088
|
+
if (__propIsEnum$T.call(b, prop)) __defNormalProp$R(a, prop, b[prop]);
|
|
2035
2089
|
}
|
|
2036
2090
|
return a;
|
|
2037
2091
|
};
|
|
2038
|
-
var __objRest$
|
|
2092
|
+
var __objRest$z = (source, exclude) => {
|
|
2039
2093
|
var target = {};
|
|
2040
|
-
for (var prop in source) if (__hasOwnProp$
|
|
2041
|
-
if (source != null && __getOwnPropSymbols$
|
|
2042
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2094
|
+
for (var prop in source) if (__hasOwnProp$T.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2095
|
+
if (source != null && __getOwnPropSymbols$T) for (var prop of __getOwnPropSymbols$T(source)) {
|
|
2096
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$T.call(source, prop)) target[prop] = source[prop];
|
|
2043
2097
|
}
|
|
2044
2098
|
return target;
|
|
2045
2099
|
};
|
|
@@ -2062,12 +2116,12 @@
|
|
|
2062
2116
|
onMouseLeave,
|
|
2063
2117
|
size = "middle"
|
|
2064
2118
|
} = _a,
|
|
2065
|
-
restProps = __objRest$
|
|
2119
|
+
restProps = __objRest$z(_a, ["type", "className", "children", "prefixIcon", "hoverPrefixIcon", "suffixIcon", "hoverSuffixIcon", "onMouseEnter", "onMouseLeave", "size"]);
|
|
2066
2120
|
const [status, setStatus] = React.useState("normal");
|
|
2067
2121
|
const hasIcon = prefixIcon || suffixIcon;
|
|
2068
2122
|
const hasHoverIcon = hoverPrefixIcon || hoverSuffixIcon;
|
|
2069
2123
|
const onlyIcon = !children && (prefixIcon || suffixIcon);
|
|
2070
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Button, __spreadValues$
|
|
2124
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Button, __spreadValues$R({
|
|
2071
2125
|
ref,
|
|
2072
2126
|
className: cs__default.default(className, ButtonStyle$1, type === "link" && NoPadding, size === "large" && Typo.Label.l1_regular_title, size === "middle" && Typo.Label.l2_regular_title, size === "small" && Typo.Label.l3_regular_title, type && `ant-btn-${type}`, onlyIcon && "ant-btn-icon-only"),
|
|
2073
2127
|
type: isAntdButtonTypes(type) ? type : void 0,
|
|
@@ -2097,31 +2151,31 @@
|
|
|
2097
2151
|
}));
|
|
2098
2152
|
});
|
|
2099
2153
|
|
|
2100
|
-
var __defProp$
|
|
2101
|
-
var __defProps$
|
|
2102
|
-
var __getOwnPropDescs$
|
|
2103
|
-
var __getOwnPropSymbols$
|
|
2104
|
-
var __hasOwnProp$
|
|
2105
|
-
var __propIsEnum$
|
|
2106
|
-
var __defNormalProp$
|
|
2154
|
+
var __defProp$Q = Object.defineProperty;
|
|
2155
|
+
var __defProps$G = Object.defineProperties;
|
|
2156
|
+
var __getOwnPropDescs$G = Object.getOwnPropertyDescriptors;
|
|
2157
|
+
var __getOwnPropSymbols$S = Object.getOwnPropertySymbols;
|
|
2158
|
+
var __hasOwnProp$S = Object.prototype.hasOwnProperty;
|
|
2159
|
+
var __propIsEnum$S = Object.prototype.propertyIsEnumerable;
|
|
2160
|
+
var __defNormalProp$Q = (obj, key, value) => key in obj ? __defProp$Q(obj, key, {
|
|
2107
2161
|
enumerable: true,
|
|
2108
2162
|
configurable: true,
|
|
2109
2163
|
writable: true,
|
|
2110
2164
|
value
|
|
2111
2165
|
}) : obj[key] = value;
|
|
2112
|
-
var __spreadValues$
|
|
2113
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2114
|
-
if (__getOwnPropSymbols$
|
|
2115
|
-
if (__propIsEnum$
|
|
2166
|
+
var __spreadValues$Q = (a, b) => {
|
|
2167
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$S.call(b, prop)) __defNormalProp$Q(a, prop, b[prop]);
|
|
2168
|
+
if (__getOwnPropSymbols$S) for (var prop of __getOwnPropSymbols$S(b)) {
|
|
2169
|
+
if (__propIsEnum$S.call(b, prop)) __defNormalProp$Q(a, prop, b[prop]);
|
|
2116
2170
|
}
|
|
2117
2171
|
return a;
|
|
2118
2172
|
};
|
|
2119
|
-
var __spreadProps$
|
|
2120
|
-
var __objRest$
|
|
2173
|
+
var __spreadProps$G = (a, b) => __defProps$G(a, __getOwnPropDescs$G(b));
|
|
2174
|
+
var __objRest$y = (source, exclude) => {
|
|
2121
2175
|
var target = {};
|
|
2122
|
-
for (var prop in source) if (__hasOwnProp$
|
|
2123
|
-
if (source != null && __getOwnPropSymbols$
|
|
2124
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2176
|
+
for (var prop in source) if (__hasOwnProp$S.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2177
|
+
if (source != null && __getOwnPropSymbols$S) for (var prop of __getOwnPropSymbols$S(source)) {
|
|
2178
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$S.call(source, prop)) target[prop] = source[prop];
|
|
2125
2179
|
}
|
|
2126
2180
|
return target;
|
|
2127
2181
|
};
|
|
@@ -2134,8 +2188,8 @@
|
|
|
2134
2188
|
description,
|
|
2135
2189
|
compact
|
|
2136
2190
|
} = _b,
|
|
2137
|
-
props = __objRest$
|
|
2138
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Checkbox, __spreadProps$
|
|
2191
|
+
props = __objRest$y(_b, ["className", "children", "description", "compact"]);
|
|
2192
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Checkbox, __spreadProps$G(__spreadValues$Q({}, props), {
|
|
2139
2193
|
"data-test": props["data-test"] || props.value,
|
|
2140
2194
|
className: cs__default.default(className, CheckboxStyle, compact && "compact")
|
|
2141
2195
|
}), children ? /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement("div", {
|
|
@@ -2145,39 +2199,39 @@
|
|
|
2145
2199
|
}, description) : null) : null);
|
|
2146
2200
|
};
|
|
2147
2201
|
|
|
2148
|
-
var __defProp$
|
|
2149
|
-
var __getOwnPropSymbols$
|
|
2150
|
-
var __hasOwnProp$
|
|
2151
|
-
var __propIsEnum$
|
|
2152
|
-
var __defNormalProp$
|
|
2153
|
-
var __spreadValues$
|
|
2202
|
+
var __defProp$P = Object.defineProperty;
|
|
2203
|
+
var __getOwnPropSymbols$R = Object.getOwnPropertySymbols;
|
|
2204
|
+
var __hasOwnProp$R = Object.prototype.hasOwnProperty;
|
|
2205
|
+
var __propIsEnum$R = Object.prototype.propertyIsEnumerable;
|
|
2206
|
+
var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2207
|
+
var __spreadValues$P = (a, b) => {
|
|
2154
2208
|
for (var prop in b || (b = {}))
|
|
2155
|
-
if (__hasOwnProp$
|
|
2156
|
-
__defNormalProp$
|
|
2157
|
-
if (__getOwnPropSymbols$
|
|
2158
|
-
for (var prop of __getOwnPropSymbols$
|
|
2159
|
-
if (__propIsEnum$
|
|
2160
|
-
__defNormalProp$
|
|
2209
|
+
if (__hasOwnProp$R.call(b, prop))
|
|
2210
|
+
__defNormalProp$P(a, prop, b[prop]);
|
|
2211
|
+
if (__getOwnPropSymbols$R)
|
|
2212
|
+
for (var prop of __getOwnPropSymbols$R(b)) {
|
|
2213
|
+
if (__propIsEnum$R.call(b, prop))
|
|
2214
|
+
__defNormalProp$P(a, prop, b[prop]);
|
|
2161
2215
|
}
|
|
2162
2216
|
return a;
|
|
2163
2217
|
};
|
|
2164
|
-
var __objRest$
|
|
2218
|
+
var __objRest$x = (source, exclude) => {
|
|
2165
2219
|
var target = {};
|
|
2166
2220
|
for (var prop in source)
|
|
2167
|
-
if (__hasOwnProp$
|
|
2221
|
+
if (__hasOwnProp$R.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2168
2222
|
target[prop] = source[prop];
|
|
2169
|
-
if (source != null && __getOwnPropSymbols$
|
|
2170
|
-
for (var prop of __getOwnPropSymbols$
|
|
2171
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2223
|
+
if (source != null && __getOwnPropSymbols$R)
|
|
2224
|
+
for (var prop of __getOwnPropSymbols$R(source)) {
|
|
2225
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$R.call(source, prop))
|
|
2172
2226
|
target[prop] = source[prop];
|
|
2173
2227
|
}
|
|
2174
2228
|
return target;
|
|
2175
2229
|
};
|
|
2176
2230
|
const FieldsBoolean = (_a) => {
|
|
2177
|
-
var _b = _a, { input, children } = _b, props = __objRest$
|
|
2231
|
+
var _b = _a, { input, children } = _b, props = __objRest$x(_b, ["input", "children"]);
|
|
2178
2232
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
2179
2233
|
Checkbox,
|
|
2180
|
-
__spreadValues$
|
|
2234
|
+
__spreadValues$P({
|
|
2181
2235
|
checked: Boolean(input.value),
|
|
2182
2236
|
onChange: (e) => input.onChange(e.target.checked)
|
|
2183
2237
|
}, props),
|
|
@@ -2202,17 +2256,17 @@
|
|
|
2202
2256
|
}
|
|
2203
2257
|
));
|
|
2204
2258
|
|
|
2205
|
-
var __getOwnPropSymbols$
|
|
2206
|
-
var __hasOwnProp$
|
|
2207
|
-
var __propIsEnum$
|
|
2208
|
-
var __objRest$
|
|
2259
|
+
var __getOwnPropSymbols$Q = Object.getOwnPropertySymbols;
|
|
2260
|
+
var __hasOwnProp$Q = Object.prototype.hasOwnProperty;
|
|
2261
|
+
var __propIsEnum$Q = Object.prototype.propertyIsEnumerable;
|
|
2262
|
+
var __objRest$w = (source, exclude) => {
|
|
2209
2263
|
var target = {};
|
|
2210
2264
|
for (var prop in source)
|
|
2211
|
-
if (__hasOwnProp$
|
|
2265
|
+
if (__hasOwnProp$Q.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2212
2266
|
target[prop] = source[prop];
|
|
2213
|
-
if (source != null && __getOwnPropSymbols$
|
|
2214
|
-
for (var prop of __getOwnPropSymbols$
|
|
2215
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2267
|
+
if (source != null && __getOwnPropSymbols$Q)
|
|
2268
|
+
for (var prop of __getOwnPropSymbols$Q(source)) {
|
|
2269
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$Q.call(source, prop))
|
|
2216
2270
|
target[prop] = source[prop];
|
|
2217
2271
|
}
|
|
2218
2272
|
return target;
|
|
@@ -2220,7 +2274,7 @@
|
|
|
2220
2274
|
const FieldsDateTimeRange = (_a) => {
|
|
2221
2275
|
var _b = _a, {
|
|
2222
2276
|
input
|
|
2223
|
-
} = _b, props = __objRest$
|
|
2277
|
+
} = _b, props = __objRest$w(_b, [
|
|
2224
2278
|
"input"
|
|
2225
2279
|
]);
|
|
2226
2280
|
var _a2, _b2;
|
|
@@ -2249,56 +2303,56 @@
|
|
|
2249
2303
|
const LoadingLine2 = "l13g0exg";
|
|
2250
2304
|
const LoadingLine3 = "l1exo3h6";
|
|
2251
2305
|
|
|
2252
|
-
var __defProp$
|
|
2253
|
-
var __defProps$
|
|
2254
|
-
var __getOwnPropDescs$
|
|
2255
|
-
var __getOwnPropSymbols$
|
|
2256
|
-
var __hasOwnProp$
|
|
2257
|
-
var __propIsEnum$
|
|
2258
|
-
var __defNormalProp$
|
|
2259
|
-
var __spreadValues$
|
|
2306
|
+
var __defProp$O = Object.defineProperty;
|
|
2307
|
+
var __defProps$F = Object.defineProperties;
|
|
2308
|
+
var __getOwnPropDescs$F = Object.getOwnPropertyDescriptors;
|
|
2309
|
+
var __getOwnPropSymbols$P = Object.getOwnPropertySymbols;
|
|
2310
|
+
var __hasOwnProp$P = Object.prototype.hasOwnProperty;
|
|
2311
|
+
var __propIsEnum$P = Object.prototype.propertyIsEnumerable;
|
|
2312
|
+
var __defNormalProp$O = (obj, key, value) => key in obj ? __defProp$O(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2313
|
+
var __spreadValues$O = (a, b) => {
|
|
2260
2314
|
for (var prop in b || (b = {}))
|
|
2261
|
-
if (__hasOwnProp$
|
|
2262
|
-
__defNormalProp$
|
|
2263
|
-
if (__getOwnPropSymbols$
|
|
2264
|
-
for (var prop of __getOwnPropSymbols$
|
|
2265
|
-
if (__propIsEnum$
|
|
2266
|
-
__defNormalProp$
|
|
2315
|
+
if (__hasOwnProp$P.call(b, prop))
|
|
2316
|
+
__defNormalProp$O(a, prop, b[prop]);
|
|
2317
|
+
if (__getOwnPropSymbols$P)
|
|
2318
|
+
for (var prop of __getOwnPropSymbols$P(b)) {
|
|
2319
|
+
if (__propIsEnum$P.call(b, prop))
|
|
2320
|
+
__defNormalProp$O(a, prop, b[prop]);
|
|
2267
2321
|
}
|
|
2268
2322
|
return a;
|
|
2269
2323
|
};
|
|
2270
|
-
var __spreadProps$
|
|
2324
|
+
var __spreadProps$F = (a, b) => __defProps$F(a, __getOwnPropDescs$F(b));
|
|
2271
2325
|
const Loading = ({ fullView = true }) => {
|
|
2272
2326
|
const Wrapper = fullView ? FullView : React.Fragment;
|
|
2273
2327
|
const props = fullView ? { className: "loading-full-view" } : {};
|
|
2274
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Wrapper, __spreadProps$
|
|
2328
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Wrapper, __spreadProps$F(__spreadValues$O({}, props), { "data-testid": "loading" }), /* @__PURE__ */ React__namespace.default.createElement("div", { className: LoadingWrapper }, /* @__PURE__ */ React__namespace.default.createElement("div", { className: LoadingLine1 }), /* @__PURE__ */ React__namespace.default.createElement("div", { className: LoadingLine2 }), /* @__PURE__ */ React__namespace.default.createElement("div", { className: LoadingLine3 })));
|
|
2275
2329
|
};
|
|
2276
2330
|
|
|
2277
|
-
var __defProp$
|
|
2278
|
-
var __defProps$
|
|
2279
|
-
var __getOwnPropDescs$
|
|
2280
|
-
var __getOwnPropSymbols$
|
|
2281
|
-
var __hasOwnProp$
|
|
2282
|
-
var __propIsEnum$
|
|
2283
|
-
var __defNormalProp$
|
|
2331
|
+
var __defProp$N = Object.defineProperty;
|
|
2332
|
+
var __defProps$E = Object.defineProperties;
|
|
2333
|
+
var __getOwnPropDescs$E = Object.getOwnPropertyDescriptors;
|
|
2334
|
+
var __getOwnPropSymbols$O = Object.getOwnPropertySymbols;
|
|
2335
|
+
var __hasOwnProp$O = Object.prototype.hasOwnProperty;
|
|
2336
|
+
var __propIsEnum$O = Object.prototype.propertyIsEnumerable;
|
|
2337
|
+
var __defNormalProp$N = (obj, key, value) => key in obj ? __defProp$N(obj, key, {
|
|
2284
2338
|
enumerable: true,
|
|
2285
2339
|
configurable: true,
|
|
2286
2340
|
writable: true,
|
|
2287
2341
|
value
|
|
2288
2342
|
}) : obj[key] = value;
|
|
2289
|
-
var __spreadValues$
|
|
2290
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2291
|
-
if (__getOwnPropSymbols$
|
|
2292
|
-
if (__propIsEnum$
|
|
2343
|
+
var __spreadValues$N = (a, b) => {
|
|
2344
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$O.call(b, prop)) __defNormalProp$N(a, prop, b[prop]);
|
|
2345
|
+
if (__getOwnPropSymbols$O) for (var prop of __getOwnPropSymbols$O(b)) {
|
|
2346
|
+
if (__propIsEnum$O.call(b, prop)) __defNormalProp$N(a, prop, b[prop]);
|
|
2293
2347
|
}
|
|
2294
2348
|
return a;
|
|
2295
2349
|
};
|
|
2296
|
-
var __spreadProps$
|
|
2297
|
-
var __objRest$
|
|
2350
|
+
var __spreadProps$E = (a, b) => __defProps$E(a, __getOwnPropDescs$E(b));
|
|
2351
|
+
var __objRest$v = (source, exclude) => {
|
|
2298
2352
|
var target = {};
|
|
2299
|
-
for (var prop in source) if (__hasOwnProp$
|
|
2300
|
-
if (source != null && __getOwnPropSymbols$
|
|
2301
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2353
|
+
for (var prop in source) if (__hasOwnProp$O.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2354
|
+
if (source != null && __getOwnPropSymbols$O) for (var prop of __getOwnPropSymbols$O(source)) {
|
|
2355
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$O.call(source, prop)) target[prop] = source[prop];
|
|
2302
2356
|
}
|
|
2303
2357
|
return target;
|
|
2304
2358
|
};
|
|
@@ -2326,7 +2380,7 @@
|
|
|
2326
2380
|
meta,
|
|
2327
2381
|
placeholder
|
|
2328
2382
|
} = _b,
|
|
2329
|
-
restProps = __objRest$
|
|
2383
|
+
restProps = __objRest$v(_b, ["input", "multiple", "className", "scrollBottomBuffer", "onScrollBottom", "onPopupScroll", "onSearch", "showSearch", "filterOption", "loading", "notFoundContent", "children", "error", "selectLimit", "dropdownClassName", "danger", "size", "meta", "placeholder"]);
|
|
2330
2384
|
var _a2;
|
|
2331
2385
|
const limitExceeded = multiple && selectLimit && selectLimit <= (((_a2 = input.value) == null ? void 0 : _a2.length) || 0);
|
|
2332
2386
|
const typo = {
|
|
@@ -2352,7 +2406,7 @@
|
|
|
2352
2406
|
inputDom && (placeholder || item) && inputDom.setAttribute("data-test", String(placeholder || item.textContent));
|
|
2353
2407
|
}
|
|
2354
2408
|
}, [selectRef, placeholder]);
|
|
2355
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Select, __spreadValues$
|
|
2409
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Select, __spreadValues$N(__spreadProps$E(__spreadValues$N({}, input), {
|
|
2356
2410
|
ref: selectRef,
|
|
2357
2411
|
size,
|
|
2358
2412
|
value: multiple ? input.value || [] : input.value || void 0,
|
|
@@ -2393,38 +2447,38 @@
|
|
|
2393
2447
|
loading,
|
|
2394
2448
|
placeholder
|
|
2395
2449
|
}), restProps), React__namespace.default.Children.map(children, child => {
|
|
2396
|
-
return reactIs.isElement(child) ? __spreadProps$
|
|
2397
|
-
props: __spreadProps$
|
|
2450
|
+
return reactIs.isElement(child) ? __spreadProps$E(__spreadValues$N({}, child), {
|
|
2451
|
+
props: __spreadProps$E(__spreadValues$N({}, child.props), {
|
|
2398
2452
|
"data-test": child.props.value
|
|
2399
2453
|
})
|
|
2400
2454
|
}) : child;
|
|
2401
2455
|
}));
|
|
2402
2456
|
};
|
|
2403
2457
|
|
|
2404
|
-
var __defProp$
|
|
2405
|
-
var __getOwnPropSymbols$
|
|
2406
|
-
var __hasOwnProp$
|
|
2407
|
-
var __propIsEnum$
|
|
2408
|
-
var __defNormalProp$
|
|
2409
|
-
var __spreadValues$
|
|
2458
|
+
var __defProp$M = Object.defineProperty;
|
|
2459
|
+
var __getOwnPropSymbols$N = Object.getOwnPropertySymbols;
|
|
2460
|
+
var __hasOwnProp$N = Object.prototype.hasOwnProperty;
|
|
2461
|
+
var __propIsEnum$N = Object.prototype.propertyIsEnumerable;
|
|
2462
|
+
var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2463
|
+
var __spreadValues$M = (a, b) => {
|
|
2410
2464
|
for (var prop in b || (b = {}))
|
|
2411
|
-
if (__hasOwnProp$
|
|
2412
|
-
__defNormalProp$
|
|
2413
|
-
if (__getOwnPropSymbols$
|
|
2414
|
-
for (var prop of __getOwnPropSymbols$
|
|
2415
|
-
if (__propIsEnum$
|
|
2416
|
-
__defNormalProp$
|
|
2465
|
+
if (__hasOwnProp$N.call(b, prop))
|
|
2466
|
+
__defNormalProp$M(a, prop, b[prop]);
|
|
2467
|
+
if (__getOwnPropSymbols$N)
|
|
2468
|
+
for (var prop of __getOwnPropSymbols$N(b)) {
|
|
2469
|
+
if (__propIsEnum$N.call(b, prop))
|
|
2470
|
+
__defNormalProp$M(a, prop, b[prop]);
|
|
2417
2471
|
}
|
|
2418
2472
|
return a;
|
|
2419
2473
|
};
|
|
2420
|
-
var __objRest$
|
|
2474
|
+
var __objRest$u = (source, exclude) => {
|
|
2421
2475
|
var target = {};
|
|
2422
2476
|
for (var prop in source)
|
|
2423
|
-
if (__hasOwnProp$
|
|
2477
|
+
if (__hasOwnProp$N.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2424
2478
|
target[prop] = source[prop];
|
|
2425
|
-
if (source != null && __getOwnPropSymbols$
|
|
2426
|
-
for (var prop of __getOwnPropSymbols$
|
|
2427
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2479
|
+
if (source != null && __getOwnPropSymbols$N)
|
|
2480
|
+
for (var prop of __getOwnPropSymbols$N(source)) {
|
|
2481
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$N.call(source, prop))
|
|
2428
2482
|
target[prop] = source[prop];
|
|
2429
2483
|
}
|
|
2430
2484
|
return target;
|
|
@@ -2434,12 +2488,12 @@
|
|
|
2434
2488
|
meta: __,
|
|
2435
2489
|
enumValues,
|
|
2436
2490
|
emptyLabel
|
|
2437
|
-
} = _b, restProps = __objRest$
|
|
2491
|
+
} = _b, restProps = __objRest$u(_b, [
|
|
2438
2492
|
"meta",
|
|
2439
2493
|
"enumValues",
|
|
2440
2494
|
"emptyLabel"
|
|
2441
2495
|
]);
|
|
2442
|
-
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(Select, __spreadValues$
|
|
2496
|
+
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(Select, __spreadValues$M({}, restProps), emptyLabel && /* @__PURE__ */ React__namespace.default.createElement(antd.Select.Option, { value: "" }, emptyLabel), enumValues.map((v) => {
|
|
2443
2497
|
const item = typeof v === "string" ? { value: v, text: v } : v;
|
|
2444
2498
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
2445
2499
|
antd.Select.Option,
|
|
@@ -2453,31 +2507,31 @@
|
|
|
2453
2507
|
})));
|
|
2454
2508
|
};
|
|
2455
2509
|
|
|
2456
|
-
var __defProp$
|
|
2457
|
-
var __defProps$
|
|
2458
|
-
var __getOwnPropDescs$
|
|
2459
|
-
var __getOwnPropSymbols$
|
|
2460
|
-
var __hasOwnProp$
|
|
2461
|
-
var __propIsEnum$
|
|
2462
|
-
var __defNormalProp$
|
|
2510
|
+
var __defProp$L = Object.defineProperty;
|
|
2511
|
+
var __defProps$D = Object.defineProperties;
|
|
2512
|
+
var __getOwnPropDescs$D = Object.getOwnPropertyDescriptors;
|
|
2513
|
+
var __getOwnPropSymbols$M = Object.getOwnPropertySymbols;
|
|
2514
|
+
var __hasOwnProp$M = Object.prototype.hasOwnProperty;
|
|
2515
|
+
var __propIsEnum$M = Object.prototype.propertyIsEnumerable;
|
|
2516
|
+
var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, {
|
|
2463
2517
|
enumerable: true,
|
|
2464
2518
|
configurable: true,
|
|
2465
2519
|
writable: true,
|
|
2466
2520
|
value
|
|
2467
2521
|
}) : obj[key] = value;
|
|
2468
|
-
var __spreadValues$
|
|
2469
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2470
|
-
if (__getOwnPropSymbols$
|
|
2471
|
-
if (__propIsEnum$
|
|
2522
|
+
var __spreadValues$L = (a, b) => {
|
|
2523
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$M.call(b, prop)) __defNormalProp$L(a, prop, b[prop]);
|
|
2524
|
+
if (__getOwnPropSymbols$M) for (var prop of __getOwnPropSymbols$M(b)) {
|
|
2525
|
+
if (__propIsEnum$M.call(b, prop)) __defNormalProp$L(a, prop, b[prop]);
|
|
2472
2526
|
}
|
|
2473
2527
|
return a;
|
|
2474
2528
|
};
|
|
2475
|
-
var __spreadProps$
|
|
2476
|
-
var __objRest$
|
|
2529
|
+
var __spreadProps$D = (a, b) => __defProps$D(a, __getOwnPropDescs$D(b));
|
|
2530
|
+
var __objRest$t = (source, exclude) => {
|
|
2477
2531
|
var target = {};
|
|
2478
|
-
for (var prop in source) if (__hasOwnProp$
|
|
2479
|
-
if (source != null && __getOwnPropSymbols$
|
|
2480
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2532
|
+
for (var prop in source) if (__hasOwnProp$M.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2533
|
+
if (source != null && __getOwnPropSymbols$M) for (var prop of __getOwnPropSymbols$M(source)) {
|
|
2534
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$M.call(source, prop)) target[prop] = source[prop];
|
|
2481
2535
|
}
|
|
2482
2536
|
return target;
|
|
2483
2537
|
};
|
|
@@ -2513,13 +2567,13 @@
|
|
|
2513
2567
|
prefix,
|
|
2514
2568
|
controls = true
|
|
2515
2569
|
} = _b,
|
|
2516
|
-
props = __objRest$
|
|
2570
|
+
props = __objRest$t(_b, ["className", "error", "size", "suffix", "prefix", "controls"]);
|
|
2517
2571
|
const typo = {
|
|
2518
2572
|
large: Typo.Label.l2_regular,
|
|
2519
2573
|
middle: Typo.Label.l3_regular,
|
|
2520
2574
|
small: Typo.Label.l4_regular
|
|
2521
2575
|
}[size];
|
|
2522
|
-
return /* @__PURE__ */React__namespace.default.createElement(AntdInputNumberStyled, __spreadProps$
|
|
2576
|
+
return /* @__PURE__ */React__namespace.default.createElement(AntdInputNumberStyled, __spreadProps$D(__spreadValues$L({}, props), {
|
|
2523
2577
|
size,
|
|
2524
2578
|
controls,
|
|
2525
2579
|
"data-test": props.name,
|
|
@@ -2529,33 +2583,33 @@
|
|
|
2529
2583
|
}));
|
|
2530
2584
|
};
|
|
2531
2585
|
|
|
2532
|
-
var __defProp$
|
|
2533
|
-
var __defProps$
|
|
2534
|
-
var __getOwnPropDescs$
|
|
2535
|
-
var __getOwnPropSymbols$
|
|
2536
|
-
var __hasOwnProp$
|
|
2537
|
-
var __propIsEnum$
|
|
2538
|
-
var __defNormalProp$
|
|
2539
|
-
var __spreadValues$
|
|
2586
|
+
var __defProp$K = Object.defineProperty;
|
|
2587
|
+
var __defProps$C = Object.defineProperties;
|
|
2588
|
+
var __getOwnPropDescs$C = Object.getOwnPropertyDescriptors;
|
|
2589
|
+
var __getOwnPropSymbols$L = Object.getOwnPropertySymbols;
|
|
2590
|
+
var __hasOwnProp$L = Object.prototype.hasOwnProperty;
|
|
2591
|
+
var __propIsEnum$L = Object.prototype.propertyIsEnumerable;
|
|
2592
|
+
var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2593
|
+
var __spreadValues$K = (a, b) => {
|
|
2540
2594
|
for (var prop in b || (b = {}))
|
|
2541
|
-
if (__hasOwnProp$
|
|
2542
|
-
__defNormalProp$
|
|
2543
|
-
if (__getOwnPropSymbols$
|
|
2544
|
-
for (var prop of __getOwnPropSymbols$
|
|
2545
|
-
if (__propIsEnum$
|
|
2546
|
-
__defNormalProp$
|
|
2595
|
+
if (__hasOwnProp$L.call(b, prop))
|
|
2596
|
+
__defNormalProp$K(a, prop, b[prop]);
|
|
2597
|
+
if (__getOwnPropSymbols$L)
|
|
2598
|
+
for (var prop of __getOwnPropSymbols$L(b)) {
|
|
2599
|
+
if (__propIsEnum$L.call(b, prop))
|
|
2600
|
+
__defNormalProp$K(a, prop, b[prop]);
|
|
2547
2601
|
}
|
|
2548
2602
|
return a;
|
|
2549
2603
|
};
|
|
2550
|
-
var __spreadProps$
|
|
2551
|
-
var __objRest$
|
|
2604
|
+
var __spreadProps$C = (a, b) => __defProps$C(a, __getOwnPropDescs$C(b));
|
|
2605
|
+
var __objRest$s = (source, exclude) => {
|
|
2552
2606
|
var target = {};
|
|
2553
2607
|
for (var prop in source)
|
|
2554
|
-
if (__hasOwnProp$
|
|
2608
|
+
if (__hasOwnProp$L.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2555
2609
|
target[prop] = source[prop];
|
|
2556
|
-
if (source != null && __getOwnPropSymbols$
|
|
2557
|
-
for (var prop of __getOwnPropSymbols$
|
|
2558
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2610
|
+
if (source != null && __getOwnPropSymbols$L)
|
|
2611
|
+
for (var prop of __getOwnPropSymbols$L(source)) {
|
|
2612
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$L.call(source, prop))
|
|
2559
2613
|
target[prop] = source[prop];
|
|
2560
2614
|
}
|
|
2561
2615
|
return target;
|
|
@@ -2566,7 +2620,7 @@
|
|
|
2566
2620
|
meta,
|
|
2567
2621
|
onBlur,
|
|
2568
2622
|
autoComplete = "off"
|
|
2569
|
-
} = _b, props = __objRest$
|
|
2623
|
+
} = _b, props = __objRest$s(_b, [
|
|
2570
2624
|
"input",
|
|
2571
2625
|
"meta",
|
|
2572
2626
|
"onBlur",
|
|
@@ -2574,7 +2628,7 @@
|
|
|
2574
2628
|
]);
|
|
2575
2629
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
2576
2630
|
InputNumber,
|
|
2577
|
-
__spreadValues$
|
|
2631
|
+
__spreadValues$K(__spreadProps$C(__spreadValues$K({}, input), {
|
|
2578
2632
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
2579
2633
|
autoComplete,
|
|
2580
2634
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
@@ -2582,33 +2636,33 @@
|
|
|
2582
2636
|
));
|
|
2583
2637
|
};
|
|
2584
2638
|
|
|
2585
|
-
var __defProp$
|
|
2586
|
-
var __defProps$
|
|
2587
|
-
var __getOwnPropDescs$
|
|
2588
|
-
var __getOwnPropSymbols$
|
|
2589
|
-
var __hasOwnProp$
|
|
2590
|
-
var __propIsEnum$
|
|
2591
|
-
var __defNormalProp$
|
|
2592
|
-
var __spreadValues$
|
|
2639
|
+
var __defProp$J = Object.defineProperty;
|
|
2640
|
+
var __defProps$B = Object.defineProperties;
|
|
2641
|
+
var __getOwnPropDescs$B = Object.getOwnPropertyDescriptors;
|
|
2642
|
+
var __getOwnPropSymbols$K = Object.getOwnPropertySymbols;
|
|
2643
|
+
var __hasOwnProp$K = Object.prototype.hasOwnProperty;
|
|
2644
|
+
var __propIsEnum$K = Object.prototype.propertyIsEnumerable;
|
|
2645
|
+
var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2646
|
+
var __spreadValues$J = (a, b) => {
|
|
2593
2647
|
for (var prop in b || (b = {}))
|
|
2594
|
-
if (__hasOwnProp$
|
|
2595
|
-
__defNormalProp$
|
|
2596
|
-
if (__getOwnPropSymbols$
|
|
2597
|
-
for (var prop of __getOwnPropSymbols$
|
|
2598
|
-
if (__propIsEnum$
|
|
2599
|
-
__defNormalProp$
|
|
2648
|
+
if (__hasOwnProp$K.call(b, prop))
|
|
2649
|
+
__defNormalProp$J(a, prop, b[prop]);
|
|
2650
|
+
if (__getOwnPropSymbols$K)
|
|
2651
|
+
for (var prop of __getOwnPropSymbols$K(b)) {
|
|
2652
|
+
if (__propIsEnum$K.call(b, prop))
|
|
2653
|
+
__defNormalProp$J(a, prop, b[prop]);
|
|
2600
2654
|
}
|
|
2601
2655
|
return a;
|
|
2602
2656
|
};
|
|
2603
|
-
var __spreadProps$
|
|
2604
|
-
var __objRest$
|
|
2657
|
+
var __spreadProps$B = (a, b) => __defProps$B(a, __getOwnPropDescs$B(b));
|
|
2658
|
+
var __objRest$r = (source, exclude) => {
|
|
2605
2659
|
var target = {};
|
|
2606
2660
|
for (var prop in source)
|
|
2607
|
-
if (__hasOwnProp$
|
|
2661
|
+
if (__hasOwnProp$K.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2608
2662
|
target[prop] = source[prop];
|
|
2609
|
-
if (source != null && __getOwnPropSymbols$
|
|
2610
|
-
for (var prop of __getOwnPropSymbols$
|
|
2611
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2663
|
+
if (source != null && __getOwnPropSymbols$K)
|
|
2664
|
+
for (var prop of __getOwnPropSymbols$K(source)) {
|
|
2665
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$K.call(source, prop))
|
|
2612
2666
|
target[prop] = source[prop];
|
|
2613
2667
|
}
|
|
2614
2668
|
return target;
|
|
@@ -2618,7 +2672,7 @@
|
|
|
2618
2672
|
className,
|
|
2619
2673
|
error,
|
|
2620
2674
|
size = "middle"
|
|
2621
|
-
} = _b, props = __objRest$
|
|
2675
|
+
} = _b, props = __objRest$r(_b, [
|
|
2622
2676
|
"className",
|
|
2623
2677
|
"error",
|
|
2624
2678
|
"size"
|
|
@@ -2630,7 +2684,7 @@
|
|
|
2630
2684
|
}[size];
|
|
2631
2685
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
2632
2686
|
antd.Input,
|
|
2633
|
-
__spreadProps$
|
|
2687
|
+
__spreadProps$B(__spreadValues$J({}, props), {
|
|
2634
2688
|
size,
|
|
2635
2689
|
"data-test": props.name,
|
|
2636
2690
|
className: cs__default.default(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -2638,33 +2692,33 @@
|
|
|
2638
2692
|
);
|
|
2639
2693
|
};
|
|
2640
2694
|
|
|
2641
|
-
var __defProp$
|
|
2642
|
-
var __defProps$
|
|
2643
|
-
var __getOwnPropDescs$
|
|
2644
|
-
var __getOwnPropSymbols$
|
|
2645
|
-
var __hasOwnProp$
|
|
2646
|
-
var __propIsEnum$
|
|
2647
|
-
var __defNormalProp$
|
|
2648
|
-
var __spreadValues$
|
|
2695
|
+
var __defProp$I = Object.defineProperty;
|
|
2696
|
+
var __defProps$A = Object.defineProperties;
|
|
2697
|
+
var __getOwnPropDescs$A = Object.getOwnPropertyDescriptors;
|
|
2698
|
+
var __getOwnPropSymbols$J = Object.getOwnPropertySymbols;
|
|
2699
|
+
var __hasOwnProp$J = Object.prototype.hasOwnProperty;
|
|
2700
|
+
var __propIsEnum$J = Object.prototype.propertyIsEnumerable;
|
|
2701
|
+
var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2702
|
+
var __spreadValues$I = (a, b) => {
|
|
2649
2703
|
for (var prop in b || (b = {}))
|
|
2650
|
-
if (__hasOwnProp$
|
|
2651
|
-
__defNormalProp$
|
|
2652
|
-
if (__getOwnPropSymbols$
|
|
2653
|
-
for (var prop of __getOwnPropSymbols$
|
|
2654
|
-
if (__propIsEnum$
|
|
2655
|
-
__defNormalProp$
|
|
2704
|
+
if (__hasOwnProp$J.call(b, prop))
|
|
2705
|
+
__defNormalProp$I(a, prop, b[prop]);
|
|
2706
|
+
if (__getOwnPropSymbols$J)
|
|
2707
|
+
for (var prop of __getOwnPropSymbols$J(b)) {
|
|
2708
|
+
if (__propIsEnum$J.call(b, prop))
|
|
2709
|
+
__defNormalProp$I(a, prop, b[prop]);
|
|
2656
2710
|
}
|
|
2657
2711
|
return a;
|
|
2658
2712
|
};
|
|
2659
|
-
var __spreadProps$
|
|
2660
|
-
var __objRest$
|
|
2713
|
+
var __spreadProps$A = (a, b) => __defProps$A(a, __getOwnPropDescs$A(b));
|
|
2714
|
+
var __objRest$q = (source, exclude) => {
|
|
2661
2715
|
var target = {};
|
|
2662
2716
|
for (var prop in source)
|
|
2663
|
-
if (__hasOwnProp$
|
|
2717
|
+
if (__hasOwnProp$J.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2664
2718
|
target[prop] = source[prop];
|
|
2665
|
-
if (source != null && __getOwnPropSymbols$
|
|
2666
|
-
for (var prop of __getOwnPropSymbols$
|
|
2667
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2719
|
+
if (source != null && __getOwnPropSymbols$J)
|
|
2720
|
+
for (var prop of __getOwnPropSymbols$J(source)) {
|
|
2721
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$J.call(source, prop))
|
|
2668
2722
|
target[prop] = source[prop];
|
|
2669
2723
|
}
|
|
2670
2724
|
return target;
|
|
@@ -2676,7 +2730,7 @@
|
|
|
2676
2730
|
onBlur,
|
|
2677
2731
|
autoComplete = "off",
|
|
2678
2732
|
supportNegativeValue = false
|
|
2679
|
-
} = _b, props = __objRest$
|
|
2733
|
+
} = _b, props = __objRest$q(_b, [
|
|
2680
2734
|
"input",
|
|
2681
2735
|
"meta",
|
|
2682
2736
|
"onBlur",
|
|
@@ -2685,7 +2739,7 @@
|
|
|
2685
2739
|
]);
|
|
2686
2740
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
2687
2741
|
Input,
|
|
2688
|
-
__spreadValues$
|
|
2742
|
+
__spreadValues$I(__spreadProps$A(__spreadValues$I({}, input), {
|
|
2689
2743
|
onChange: (e) => {
|
|
2690
2744
|
const value = e.currentTarget.value;
|
|
2691
2745
|
if (supportNegativeValue) {
|
|
@@ -2720,31 +2774,31 @@
|
|
|
2720
2774
|
}
|
|
2721
2775
|
};
|
|
2722
2776
|
|
|
2723
|
-
var __defProp$
|
|
2724
|
-
var __defProps$
|
|
2725
|
-
var __getOwnPropDescs$
|
|
2726
|
-
var __getOwnPropSymbols$
|
|
2727
|
-
var __hasOwnProp$
|
|
2728
|
-
var __propIsEnum$
|
|
2729
|
-
var __defNormalProp$
|
|
2777
|
+
var __defProp$H = Object.defineProperty;
|
|
2778
|
+
var __defProps$z = Object.defineProperties;
|
|
2779
|
+
var __getOwnPropDescs$z = Object.getOwnPropertyDescriptors;
|
|
2780
|
+
var __getOwnPropSymbols$I = Object.getOwnPropertySymbols;
|
|
2781
|
+
var __hasOwnProp$I = Object.prototype.hasOwnProperty;
|
|
2782
|
+
var __propIsEnum$I = Object.prototype.propertyIsEnumerable;
|
|
2783
|
+
var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, {
|
|
2730
2784
|
enumerable: true,
|
|
2731
2785
|
configurable: true,
|
|
2732
2786
|
writable: true,
|
|
2733
2787
|
value
|
|
2734
2788
|
}) : obj[key] = value;
|
|
2735
|
-
var __spreadValues$
|
|
2736
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2737
|
-
if (__getOwnPropSymbols$
|
|
2738
|
-
if (__propIsEnum$
|
|
2789
|
+
var __spreadValues$H = (a, b) => {
|
|
2790
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$I.call(b, prop)) __defNormalProp$H(a, prop, b[prop]);
|
|
2791
|
+
if (__getOwnPropSymbols$I) for (var prop of __getOwnPropSymbols$I(b)) {
|
|
2792
|
+
if (__propIsEnum$I.call(b, prop)) __defNormalProp$H(a, prop, b[prop]);
|
|
2739
2793
|
}
|
|
2740
2794
|
return a;
|
|
2741
2795
|
};
|
|
2742
|
-
var __spreadProps$
|
|
2743
|
-
var __objRest$
|
|
2796
|
+
var __spreadProps$z = (a, b) => __defProps$z(a, __getOwnPropDescs$z(b));
|
|
2797
|
+
var __objRest$p = (source, exclude) => {
|
|
2744
2798
|
var target = {};
|
|
2745
|
-
for (var prop in source) if (__hasOwnProp$
|
|
2746
|
-
if (source != null && __getOwnPropSymbols$
|
|
2747
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2799
|
+
for (var prop in source) if (__hasOwnProp$I.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2800
|
+
if (source != null && __getOwnPropSymbols$I) for (var prop of __getOwnPropSymbols$I(source)) {
|
|
2801
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$I.call(source, prop)) target[prop] = source[prop];
|
|
2748
2802
|
}
|
|
2749
2803
|
return target;
|
|
2750
2804
|
};
|
|
@@ -2782,13 +2836,13 @@
|
|
|
2782
2836
|
min,
|
|
2783
2837
|
controls = false
|
|
2784
2838
|
} = _b,
|
|
2785
|
-
props = __objRest$
|
|
2839
|
+
props = __objRest$p(_b, ["className", "error", "size", "suffix", "prefix", "max", "min", "controls"]);
|
|
2786
2840
|
const typo = {
|
|
2787
2841
|
large: Typo.Label.l2_regular,
|
|
2788
2842
|
middle: Typo.Label.l3_regular,
|
|
2789
2843
|
small: Typo.Label.l4_regular
|
|
2790
2844
|
}[size];
|
|
2791
|
-
return /* @__PURE__ */React__namespace.default.createElement(AntdIntStyled, __spreadProps$
|
|
2845
|
+
return /* @__PURE__ */React__namespace.default.createElement(AntdIntStyled, __spreadProps$z(__spreadValues$H({}, props), {
|
|
2792
2846
|
size,
|
|
2793
2847
|
formatter: formatterInteger,
|
|
2794
2848
|
parser: formatterInteger,
|
|
@@ -2802,33 +2856,33 @@
|
|
|
2802
2856
|
}));
|
|
2803
2857
|
};
|
|
2804
2858
|
|
|
2805
|
-
var __defProp$
|
|
2806
|
-
var __defProps$
|
|
2807
|
-
var __getOwnPropDescs$
|
|
2808
|
-
var __getOwnPropSymbols$
|
|
2809
|
-
var __hasOwnProp$
|
|
2810
|
-
var __propIsEnum$
|
|
2811
|
-
var __defNormalProp$
|
|
2812
|
-
var __spreadValues$
|
|
2859
|
+
var __defProp$G = Object.defineProperty;
|
|
2860
|
+
var __defProps$y = Object.defineProperties;
|
|
2861
|
+
var __getOwnPropDescs$y = Object.getOwnPropertyDescriptors;
|
|
2862
|
+
var __getOwnPropSymbols$H = Object.getOwnPropertySymbols;
|
|
2863
|
+
var __hasOwnProp$H = Object.prototype.hasOwnProperty;
|
|
2864
|
+
var __propIsEnum$H = Object.prototype.propertyIsEnumerable;
|
|
2865
|
+
var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2866
|
+
var __spreadValues$G = (a, b) => {
|
|
2813
2867
|
for (var prop in b || (b = {}))
|
|
2814
|
-
if (__hasOwnProp$
|
|
2815
|
-
__defNormalProp$
|
|
2816
|
-
if (__getOwnPropSymbols$
|
|
2817
|
-
for (var prop of __getOwnPropSymbols$
|
|
2818
|
-
if (__propIsEnum$
|
|
2819
|
-
__defNormalProp$
|
|
2868
|
+
if (__hasOwnProp$H.call(b, prop))
|
|
2869
|
+
__defNormalProp$G(a, prop, b[prop]);
|
|
2870
|
+
if (__getOwnPropSymbols$H)
|
|
2871
|
+
for (var prop of __getOwnPropSymbols$H(b)) {
|
|
2872
|
+
if (__propIsEnum$H.call(b, prop))
|
|
2873
|
+
__defNormalProp$G(a, prop, b[prop]);
|
|
2820
2874
|
}
|
|
2821
2875
|
return a;
|
|
2822
2876
|
};
|
|
2823
|
-
var __spreadProps$
|
|
2824
|
-
var __objRest$
|
|
2877
|
+
var __spreadProps$y = (a, b) => __defProps$y(a, __getOwnPropDescs$y(b));
|
|
2878
|
+
var __objRest$o = (source, exclude) => {
|
|
2825
2879
|
var target = {};
|
|
2826
2880
|
for (var prop in source)
|
|
2827
|
-
if (__hasOwnProp$
|
|
2881
|
+
if (__hasOwnProp$H.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2828
2882
|
target[prop] = source[prop];
|
|
2829
|
-
if (source != null && __getOwnPropSymbols$
|
|
2830
|
-
for (var prop of __getOwnPropSymbols$
|
|
2831
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2883
|
+
if (source != null && __getOwnPropSymbols$H)
|
|
2884
|
+
for (var prop of __getOwnPropSymbols$H(source)) {
|
|
2885
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$H.call(source, prop))
|
|
2832
2886
|
target[prop] = source[prop];
|
|
2833
2887
|
}
|
|
2834
2888
|
return target;
|
|
@@ -2838,14 +2892,14 @@
|
|
|
2838
2892
|
meta,
|
|
2839
2893
|
input,
|
|
2840
2894
|
onBlur
|
|
2841
|
-
} = _b, props = __objRest$
|
|
2895
|
+
} = _b, props = __objRest$o(_b, [
|
|
2842
2896
|
"meta",
|
|
2843
2897
|
"input",
|
|
2844
2898
|
"onBlur"
|
|
2845
2899
|
]);
|
|
2846
2900
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
2847
2901
|
InputInteger,
|
|
2848
|
-
__spreadProps$
|
|
2902
|
+
__spreadProps$y(__spreadValues$G(__spreadValues$G({}, props), input), {
|
|
2849
2903
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
2850
2904
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
2851
2905
|
})
|
|
@@ -3113,33 +3167,33 @@
|
|
|
3113
3167
|
}, children), showOverflow && /* @__PURE__ */React__namespace.default.createElement("span", null, overflow));
|
|
3114
3168
|
};
|
|
3115
3169
|
|
|
3116
|
-
var __defProp$
|
|
3117
|
-
var __defProps$
|
|
3118
|
-
var __getOwnPropDescs$
|
|
3119
|
-
var __getOwnPropSymbols$
|
|
3120
|
-
var __hasOwnProp$
|
|
3121
|
-
var __propIsEnum$
|
|
3122
|
-
var __defNormalProp$
|
|
3123
|
-
var __spreadValues$
|
|
3170
|
+
var __defProp$F = Object.defineProperty;
|
|
3171
|
+
var __defProps$x = Object.defineProperties;
|
|
3172
|
+
var __getOwnPropDescs$x = Object.getOwnPropertyDescriptors;
|
|
3173
|
+
var __getOwnPropSymbols$G = Object.getOwnPropertySymbols;
|
|
3174
|
+
var __hasOwnProp$G = Object.prototype.hasOwnProperty;
|
|
3175
|
+
var __propIsEnum$G = Object.prototype.propertyIsEnumerable;
|
|
3176
|
+
var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3177
|
+
var __spreadValues$F = (a, b) => {
|
|
3124
3178
|
for (var prop in b || (b = {}))
|
|
3125
|
-
if (__hasOwnProp$
|
|
3126
|
-
__defNormalProp$
|
|
3127
|
-
if (__getOwnPropSymbols$
|
|
3128
|
-
for (var prop of __getOwnPropSymbols$
|
|
3129
|
-
if (__propIsEnum$
|
|
3130
|
-
__defNormalProp$
|
|
3179
|
+
if (__hasOwnProp$G.call(b, prop))
|
|
3180
|
+
__defNormalProp$F(a, prop, b[prop]);
|
|
3181
|
+
if (__getOwnPropSymbols$G)
|
|
3182
|
+
for (var prop of __getOwnPropSymbols$G(b)) {
|
|
3183
|
+
if (__propIsEnum$G.call(b, prop))
|
|
3184
|
+
__defNormalProp$F(a, prop, b[prop]);
|
|
3131
3185
|
}
|
|
3132
3186
|
return a;
|
|
3133
3187
|
};
|
|
3134
|
-
var __spreadProps$
|
|
3135
|
-
var __objRest$
|
|
3188
|
+
var __spreadProps$x = (a, b) => __defProps$x(a, __getOwnPropDescs$x(b));
|
|
3189
|
+
var __objRest$n = (source, exclude) => {
|
|
3136
3190
|
var target = {};
|
|
3137
3191
|
for (var prop in source)
|
|
3138
|
-
if (__hasOwnProp$
|
|
3192
|
+
if (__hasOwnProp$G.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3139
3193
|
target[prop] = source[prop];
|
|
3140
|
-
if (source != null && __getOwnPropSymbols$
|
|
3141
|
-
for (var prop of __getOwnPropSymbols$
|
|
3142
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3194
|
+
if (source != null && __getOwnPropSymbols$G)
|
|
3195
|
+
for (var prop of __getOwnPropSymbols$G(source)) {
|
|
3196
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$G.call(source, prop))
|
|
3143
3197
|
target[prop] = source[prop];
|
|
3144
3198
|
}
|
|
3145
3199
|
return target;
|
|
@@ -3158,7 +3212,7 @@
|
|
|
3158
3212
|
onClick,
|
|
3159
3213
|
maxLength,
|
|
3160
3214
|
focusIndicator
|
|
3161
|
-
} = _b, props = __objRest$
|
|
3215
|
+
} = _b, props = __objRest$n(_b, [
|
|
3162
3216
|
"input",
|
|
3163
3217
|
"meta",
|
|
3164
3218
|
"autoComplete",
|
|
@@ -3190,7 +3244,7 @@
|
|
|
3190
3244
|
}
|
|
3191
3245
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
3192
3246
|
Input,
|
|
3193
|
-
__spreadProps$
|
|
3247
|
+
__spreadProps$x(__spreadValues$F(__spreadProps$x(__spreadValues$F({
|
|
3194
3248
|
className: cs__default.default(
|
|
3195
3249
|
className,
|
|
3196
3250
|
KitInputStyle,
|
|
@@ -3215,33 +3269,33 @@
|
|
|
3215
3269
|
));
|
|
3216
3270
|
};
|
|
3217
3271
|
|
|
3218
|
-
var __defProp$
|
|
3219
|
-
var __defProps$
|
|
3220
|
-
var __getOwnPropDescs$
|
|
3221
|
-
var __getOwnPropSymbols$
|
|
3222
|
-
var __hasOwnProp$
|
|
3223
|
-
var __propIsEnum$
|
|
3224
|
-
var __defNormalProp$
|
|
3225
|
-
var __spreadValues$
|
|
3272
|
+
var __defProp$E = Object.defineProperty;
|
|
3273
|
+
var __defProps$w = Object.defineProperties;
|
|
3274
|
+
var __getOwnPropDescs$w = Object.getOwnPropertyDescriptors;
|
|
3275
|
+
var __getOwnPropSymbols$F = Object.getOwnPropertySymbols;
|
|
3276
|
+
var __hasOwnProp$F = Object.prototype.hasOwnProperty;
|
|
3277
|
+
var __propIsEnum$F = Object.prototype.propertyIsEnumerable;
|
|
3278
|
+
var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3279
|
+
var __spreadValues$E = (a, b) => {
|
|
3226
3280
|
for (var prop in b || (b = {}))
|
|
3227
|
-
if (__hasOwnProp$
|
|
3228
|
-
__defNormalProp$
|
|
3229
|
-
if (__getOwnPropSymbols$
|
|
3230
|
-
for (var prop of __getOwnPropSymbols$
|
|
3231
|
-
if (__propIsEnum$
|
|
3232
|
-
__defNormalProp$
|
|
3281
|
+
if (__hasOwnProp$F.call(b, prop))
|
|
3282
|
+
__defNormalProp$E(a, prop, b[prop]);
|
|
3283
|
+
if (__getOwnPropSymbols$F)
|
|
3284
|
+
for (var prop of __getOwnPropSymbols$F(b)) {
|
|
3285
|
+
if (__propIsEnum$F.call(b, prop))
|
|
3286
|
+
__defNormalProp$E(a, prop, b[prop]);
|
|
3233
3287
|
}
|
|
3234
3288
|
return a;
|
|
3235
3289
|
};
|
|
3236
|
-
var __spreadProps$
|
|
3237
|
-
var __objRest$
|
|
3290
|
+
var __spreadProps$w = (a, b) => __defProps$w(a, __getOwnPropDescs$w(b));
|
|
3291
|
+
var __objRest$m = (source, exclude) => {
|
|
3238
3292
|
var target = {};
|
|
3239
3293
|
for (var prop in source)
|
|
3240
|
-
if (__hasOwnProp$
|
|
3294
|
+
if (__hasOwnProp$F.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3241
3295
|
target[prop] = source[prop];
|
|
3242
|
-
if (source != null && __getOwnPropSymbols$
|
|
3243
|
-
for (var prop of __getOwnPropSymbols$
|
|
3244
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3296
|
+
if (source != null && __getOwnPropSymbols$F)
|
|
3297
|
+
for (var prop of __getOwnPropSymbols$F(source)) {
|
|
3298
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$F.call(source, prop))
|
|
3245
3299
|
target[prop] = source[prop];
|
|
3246
3300
|
}
|
|
3247
3301
|
return target;
|
|
@@ -3251,7 +3305,7 @@
|
|
|
3251
3305
|
className,
|
|
3252
3306
|
error,
|
|
3253
3307
|
size = "middle"
|
|
3254
|
-
} = _b, props = __objRest$
|
|
3308
|
+
} = _b, props = __objRest$m(_b, [
|
|
3255
3309
|
"className",
|
|
3256
3310
|
"error",
|
|
3257
3311
|
"size"
|
|
@@ -3263,7 +3317,7 @@
|
|
|
3263
3317
|
}[size];
|
|
3264
3318
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
3265
3319
|
antd.Input.TextArea,
|
|
3266
|
-
__spreadProps$
|
|
3320
|
+
__spreadProps$w(__spreadValues$E({}, props), {
|
|
3267
3321
|
className: cs__default.default(
|
|
3268
3322
|
className,
|
|
3269
3323
|
InputStyle,
|
|
@@ -3277,33 +3331,33 @@
|
|
|
3277
3331
|
);
|
|
3278
3332
|
};
|
|
3279
3333
|
|
|
3280
|
-
var __defProp$
|
|
3281
|
-
var __defProps$
|
|
3282
|
-
var __getOwnPropDescs$
|
|
3283
|
-
var __getOwnPropSymbols$
|
|
3284
|
-
var __hasOwnProp$
|
|
3285
|
-
var __propIsEnum$
|
|
3286
|
-
var __defNormalProp$
|
|
3287
|
-
var __spreadValues$
|
|
3334
|
+
var __defProp$D = Object.defineProperty;
|
|
3335
|
+
var __defProps$v = Object.defineProperties;
|
|
3336
|
+
var __getOwnPropDescs$v = Object.getOwnPropertyDescriptors;
|
|
3337
|
+
var __getOwnPropSymbols$E = Object.getOwnPropertySymbols;
|
|
3338
|
+
var __hasOwnProp$E = Object.prototype.hasOwnProperty;
|
|
3339
|
+
var __propIsEnum$E = Object.prototype.propertyIsEnumerable;
|
|
3340
|
+
var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3341
|
+
var __spreadValues$D = (a, b) => {
|
|
3288
3342
|
for (var prop in b || (b = {}))
|
|
3289
|
-
if (__hasOwnProp$
|
|
3290
|
-
__defNormalProp$
|
|
3291
|
-
if (__getOwnPropSymbols$
|
|
3292
|
-
for (var prop of __getOwnPropSymbols$
|
|
3293
|
-
if (__propIsEnum$
|
|
3294
|
-
__defNormalProp$
|
|
3343
|
+
if (__hasOwnProp$E.call(b, prop))
|
|
3344
|
+
__defNormalProp$D(a, prop, b[prop]);
|
|
3345
|
+
if (__getOwnPropSymbols$E)
|
|
3346
|
+
for (var prop of __getOwnPropSymbols$E(b)) {
|
|
3347
|
+
if (__propIsEnum$E.call(b, prop))
|
|
3348
|
+
__defNormalProp$D(a, prop, b[prop]);
|
|
3295
3349
|
}
|
|
3296
3350
|
return a;
|
|
3297
3351
|
};
|
|
3298
|
-
var __spreadProps$
|
|
3299
|
-
var __objRest$
|
|
3352
|
+
var __spreadProps$v = (a, b) => __defProps$v(a, __getOwnPropDescs$v(b));
|
|
3353
|
+
var __objRest$l = (source, exclude) => {
|
|
3300
3354
|
var target = {};
|
|
3301
3355
|
for (var prop in source)
|
|
3302
|
-
if (__hasOwnProp$
|
|
3356
|
+
if (__hasOwnProp$E.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3303
3357
|
target[prop] = source[prop];
|
|
3304
|
-
if (source != null && __getOwnPropSymbols$
|
|
3305
|
-
for (var prop of __getOwnPropSymbols$
|
|
3306
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3358
|
+
if (source != null && __getOwnPropSymbols$E)
|
|
3359
|
+
for (var prop of __getOwnPropSymbols$E(source)) {
|
|
3360
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$E.call(source, prop))
|
|
3307
3361
|
target[prop] = source[prop];
|
|
3308
3362
|
}
|
|
3309
3363
|
return target;
|
|
@@ -3313,14 +3367,14 @@
|
|
|
3313
3367
|
input,
|
|
3314
3368
|
meta,
|
|
3315
3369
|
onFocusChangeHeight
|
|
3316
|
-
} = _b, props = __objRest$
|
|
3370
|
+
} = _b, props = __objRest$l(_b, [
|
|
3317
3371
|
"input",
|
|
3318
3372
|
"meta",
|
|
3319
3373
|
"onFocusChangeHeight"
|
|
3320
3374
|
]);
|
|
3321
3375
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
3322
3376
|
TextArea,
|
|
3323
|
-
__spreadProps$
|
|
3377
|
+
__spreadProps$v(__spreadValues$D(__spreadValues$D({}, input), props), {
|
|
3324
3378
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError),
|
|
3325
3379
|
onFocus: (e) => {
|
|
3326
3380
|
input.onFocus(e);
|
|
@@ -3334,33 +3388,33 @@
|
|
|
3334
3388
|
));
|
|
3335
3389
|
};
|
|
3336
3390
|
|
|
3337
|
-
var __defProp$
|
|
3338
|
-
var __defProps$
|
|
3339
|
-
var __getOwnPropDescs$
|
|
3340
|
-
var __getOwnPropSymbols$
|
|
3341
|
-
var __hasOwnProp$
|
|
3342
|
-
var __propIsEnum$
|
|
3343
|
-
var __defNormalProp$
|
|
3344
|
-
var __spreadValues$
|
|
3391
|
+
var __defProp$C = Object.defineProperty;
|
|
3392
|
+
var __defProps$u = Object.defineProperties;
|
|
3393
|
+
var __getOwnPropDescs$u = Object.getOwnPropertyDescriptors;
|
|
3394
|
+
var __getOwnPropSymbols$D = Object.getOwnPropertySymbols;
|
|
3395
|
+
var __hasOwnProp$D = Object.prototype.hasOwnProperty;
|
|
3396
|
+
var __propIsEnum$D = Object.prototype.propertyIsEnumerable;
|
|
3397
|
+
var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3398
|
+
var __spreadValues$C = (a, b) => {
|
|
3345
3399
|
for (var prop in b || (b = {}))
|
|
3346
|
-
if (__hasOwnProp$
|
|
3347
|
-
__defNormalProp$
|
|
3348
|
-
if (__getOwnPropSymbols$
|
|
3349
|
-
for (var prop of __getOwnPropSymbols$
|
|
3350
|
-
if (__propIsEnum$
|
|
3351
|
-
__defNormalProp$
|
|
3400
|
+
if (__hasOwnProp$D.call(b, prop))
|
|
3401
|
+
__defNormalProp$C(a, prop, b[prop]);
|
|
3402
|
+
if (__getOwnPropSymbols$D)
|
|
3403
|
+
for (var prop of __getOwnPropSymbols$D(b)) {
|
|
3404
|
+
if (__propIsEnum$D.call(b, prop))
|
|
3405
|
+
__defNormalProp$C(a, prop, b[prop]);
|
|
3352
3406
|
}
|
|
3353
3407
|
return a;
|
|
3354
3408
|
};
|
|
3355
|
-
var __spreadProps$
|
|
3356
|
-
var __objRest$
|
|
3409
|
+
var __spreadProps$u = (a, b) => __defProps$u(a, __getOwnPropDescs$u(b));
|
|
3410
|
+
var __objRest$k = (source, exclude) => {
|
|
3357
3411
|
var target = {};
|
|
3358
3412
|
for (var prop in source)
|
|
3359
|
-
if (__hasOwnProp$
|
|
3413
|
+
if (__hasOwnProp$D.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3360
3414
|
target[prop] = source[prop];
|
|
3361
|
-
if (source != null && __getOwnPropSymbols$
|
|
3362
|
-
for (var prop of __getOwnPropSymbols$
|
|
3363
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3415
|
+
if (source != null && __getOwnPropSymbols$D)
|
|
3416
|
+
for (var prop of __getOwnPropSymbols$D(source)) {
|
|
3417
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$D.call(source, prop))
|
|
3364
3418
|
target[prop] = source[prop];
|
|
3365
3419
|
}
|
|
3366
3420
|
return target;
|
|
@@ -3370,7 +3424,7 @@
|
|
|
3370
3424
|
className,
|
|
3371
3425
|
error,
|
|
3372
3426
|
size = "middle"
|
|
3373
|
-
} = _b, props = __objRest$
|
|
3427
|
+
} = _b, props = __objRest$k(_b, [
|
|
3374
3428
|
"className",
|
|
3375
3429
|
"error",
|
|
3376
3430
|
"size"
|
|
@@ -3382,7 +3436,7 @@
|
|
|
3382
3436
|
}[size];
|
|
3383
3437
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
3384
3438
|
antd.TimePicker,
|
|
3385
|
-
__spreadProps$
|
|
3439
|
+
__spreadProps$u(__spreadValues$C({}, props), {
|
|
3386
3440
|
size,
|
|
3387
3441
|
"data-test": props.name,
|
|
3388
3442
|
className: cs__default.default(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -3390,33 +3444,33 @@
|
|
|
3390
3444
|
);
|
|
3391
3445
|
};
|
|
3392
3446
|
|
|
3393
|
-
var __defProp$
|
|
3394
|
-
var __defProps$
|
|
3395
|
-
var __getOwnPropDescs$
|
|
3396
|
-
var __getOwnPropSymbols$
|
|
3397
|
-
var __hasOwnProp$
|
|
3398
|
-
var __propIsEnum$
|
|
3399
|
-
var __defNormalProp$
|
|
3400
|
-
var __spreadValues$
|
|
3447
|
+
var __defProp$B = Object.defineProperty;
|
|
3448
|
+
var __defProps$t = Object.defineProperties;
|
|
3449
|
+
var __getOwnPropDescs$t = Object.getOwnPropertyDescriptors;
|
|
3450
|
+
var __getOwnPropSymbols$C = Object.getOwnPropertySymbols;
|
|
3451
|
+
var __hasOwnProp$C = Object.prototype.hasOwnProperty;
|
|
3452
|
+
var __propIsEnum$C = Object.prototype.propertyIsEnumerable;
|
|
3453
|
+
var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3454
|
+
var __spreadValues$B = (a, b) => {
|
|
3401
3455
|
for (var prop in b || (b = {}))
|
|
3402
|
-
if (__hasOwnProp$
|
|
3403
|
-
__defNormalProp$
|
|
3404
|
-
if (__getOwnPropSymbols$
|
|
3405
|
-
for (var prop of __getOwnPropSymbols$
|
|
3406
|
-
if (__propIsEnum$
|
|
3407
|
-
__defNormalProp$
|
|
3456
|
+
if (__hasOwnProp$C.call(b, prop))
|
|
3457
|
+
__defNormalProp$B(a, prop, b[prop]);
|
|
3458
|
+
if (__getOwnPropSymbols$C)
|
|
3459
|
+
for (var prop of __getOwnPropSymbols$C(b)) {
|
|
3460
|
+
if (__propIsEnum$C.call(b, prop))
|
|
3461
|
+
__defNormalProp$B(a, prop, b[prop]);
|
|
3408
3462
|
}
|
|
3409
3463
|
return a;
|
|
3410
3464
|
};
|
|
3411
|
-
var __spreadProps$
|
|
3412
|
-
var __objRest$
|
|
3465
|
+
var __spreadProps$t = (a, b) => __defProps$t(a, __getOwnPropDescs$t(b));
|
|
3466
|
+
var __objRest$j = (source, exclude) => {
|
|
3413
3467
|
var target = {};
|
|
3414
3468
|
for (var prop in source)
|
|
3415
|
-
if (__hasOwnProp$
|
|
3469
|
+
if (__hasOwnProp$C.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3416
3470
|
target[prop] = source[prop];
|
|
3417
|
-
if (source != null && __getOwnPropSymbols$
|
|
3418
|
-
for (var prop of __getOwnPropSymbols$
|
|
3419
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3471
|
+
if (source != null && __getOwnPropSymbols$C)
|
|
3472
|
+
for (var prop of __getOwnPropSymbols$C(source)) {
|
|
3473
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$C.call(source, prop))
|
|
3420
3474
|
target[prop] = source[prop];
|
|
3421
3475
|
}
|
|
3422
3476
|
return target;
|
|
@@ -3425,13 +3479,13 @@
|
|
|
3425
3479
|
var _b = _a, {
|
|
3426
3480
|
input,
|
|
3427
3481
|
meta
|
|
3428
|
-
} = _b, props = __objRest$
|
|
3482
|
+
} = _b, props = __objRest$j(_b, [
|
|
3429
3483
|
"input",
|
|
3430
3484
|
"meta"
|
|
3431
3485
|
]);
|
|
3432
3486
|
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */ React__namespace.default.createElement(
|
|
3433
3487
|
TimePicker,
|
|
3434
|
-
__spreadValues$
|
|
3488
|
+
__spreadValues$B(__spreadProps$t(__spreadValues$B({}, input), {
|
|
3435
3489
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
3436
3490
|
}), props)
|
|
3437
3491
|
));
|
|
@@ -3450,31 +3504,31 @@
|
|
|
3450
3504
|
DateTimeRange: FieldsDateTimeRange
|
|
3451
3505
|
};
|
|
3452
3506
|
|
|
3453
|
-
var __defProp$
|
|
3454
|
-
var __defProps$
|
|
3455
|
-
var __getOwnPropDescs$
|
|
3456
|
-
var __getOwnPropSymbols$
|
|
3457
|
-
var __hasOwnProp$
|
|
3458
|
-
var __propIsEnum$
|
|
3459
|
-
var __defNormalProp$
|
|
3507
|
+
var __defProp$A = Object.defineProperty;
|
|
3508
|
+
var __defProps$s = Object.defineProperties;
|
|
3509
|
+
var __getOwnPropDescs$s = Object.getOwnPropertyDescriptors;
|
|
3510
|
+
var __getOwnPropSymbols$B = Object.getOwnPropertySymbols;
|
|
3511
|
+
var __hasOwnProp$B = Object.prototype.hasOwnProperty;
|
|
3512
|
+
var __propIsEnum$B = Object.prototype.propertyIsEnumerable;
|
|
3513
|
+
var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, {
|
|
3460
3514
|
enumerable: true,
|
|
3461
3515
|
configurable: true,
|
|
3462
3516
|
writable: true,
|
|
3463
3517
|
value
|
|
3464
3518
|
}) : obj[key] = value;
|
|
3465
|
-
var __spreadValues$
|
|
3466
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3467
|
-
if (__getOwnPropSymbols$
|
|
3468
|
-
if (__propIsEnum$
|
|
3519
|
+
var __spreadValues$A = (a, b) => {
|
|
3520
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$B.call(b, prop)) __defNormalProp$A(a, prop, b[prop]);
|
|
3521
|
+
if (__getOwnPropSymbols$B) for (var prop of __getOwnPropSymbols$B(b)) {
|
|
3522
|
+
if (__propIsEnum$B.call(b, prop)) __defNormalProp$A(a, prop, b[prop]);
|
|
3469
3523
|
}
|
|
3470
3524
|
return a;
|
|
3471
3525
|
};
|
|
3472
|
-
var __spreadProps$
|
|
3473
|
-
var __objRest$
|
|
3526
|
+
var __spreadProps$s = (a, b) => __defProps$s(a, __getOwnPropDescs$s(b));
|
|
3527
|
+
var __objRest$i = (source, exclude) => {
|
|
3474
3528
|
var target = {};
|
|
3475
|
-
for (var prop in source) if (__hasOwnProp$
|
|
3476
|
-
if (source != null && __getOwnPropSymbols$
|
|
3477
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3529
|
+
for (var prop in source) if (__hasOwnProp$B.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
3530
|
+
if (source != null && __getOwnPropSymbols$B) for (var prop of __getOwnPropSymbols$B(source)) {
|
|
3531
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$B.call(source, prop)) target[prop] = source[prop];
|
|
3478
3532
|
}
|
|
3479
3533
|
return target;
|
|
3480
3534
|
};
|
|
@@ -3486,7 +3540,7 @@
|
|
|
3486
3540
|
className,
|
|
3487
3541
|
checked
|
|
3488
3542
|
} = _b,
|
|
3489
|
-
props = __objRest$
|
|
3543
|
+
props = __objRest$i(_b, ["children", "className", "checked"]);
|
|
3490
3544
|
const Content = /*#__PURE__*/react$1.styled('span')({
|
|
3491
3545
|
name: "Content",
|
|
3492
3546
|
class: "c1to9vb9",
|
|
@@ -3494,7 +3548,7 @@
|
|
|
3494
3548
|
});
|
|
3495
3549
|
const classNames = [className, SwitchStyle, "switch"];
|
|
3496
3550
|
if (props.size === "large") classNames.push("ant-switch-large");
|
|
3497
|
-
return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement(antd.Switch, __spreadProps$
|
|
3551
|
+
return /* @__PURE__ */React__namespace.default.createElement(React__namespace.default.Fragment, null, /* @__PURE__ */React__namespace.default.createElement(antd.Switch, __spreadProps$s(__spreadValues$A({
|
|
3498
3552
|
className: core.cx(...classNames),
|
|
3499
3553
|
checked: checked || false
|
|
3500
3554
|
}, props), {
|
|
@@ -3502,26 +3556,26 @@
|
|
|
3502
3556
|
})), children ? /* @__PURE__ */React__namespace.default.createElement(Content, null, children) : null);
|
|
3503
3557
|
};
|
|
3504
3558
|
|
|
3505
|
-
var __defProp$
|
|
3506
|
-
var __defProps$
|
|
3507
|
-
var __getOwnPropDescs$
|
|
3508
|
-
var __getOwnPropSymbols$
|
|
3509
|
-
var __hasOwnProp$
|
|
3510
|
-
var __propIsEnum$
|
|
3511
|
-
var __defNormalProp$
|
|
3559
|
+
var __defProp$z = Object.defineProperty;
|
|
3560
|
+
var __defProps$r = Object.defineProperties;
|
|
3561
|
+
var __getOwnPropDescs$r = Object.getOwnPropertyDescriptors;
|
|
3562
|
+
var __getOwnPropSymbols$A = Object.getOwnPropertySymbols;
|
|
3563
|
+
var __hasOwnProp$A = Object.prototype.hasOwnProperty;
|
|
3564
|
+
var __propIsEnum$A = Object.prototype.propertyIsEnumerable;
|
|
3565
|
+
var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, {
|
|
3512
3566
|
enumerable: true,
|
|
3513
3567
|
configurable: true,
|
|
3514
3568
|
writable: true,
|
|
3515
3569
|
value
|
|
3516
3570
|
}) : obj[key] = value;
|
|
3517
|
-
var __spreadValues$
|
|
3518
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3519
|
-
if (__getOwnPropSymbols$
|
|
3520
|
-
if (__propIsEnum$
|
|
3571
|
+
var __spreadValues$z = (a, b) => {
|
|
3572
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$A.call(b, prop)) __defNormalProp$z(a, prop, b[prop]);
|
|
3573
|
+
if (__getOwnPropSymbols$A) for (var prop of __getOwnPropSymbols$A(b)) {
|
|
3574
|
+
if (__propIsEnum$A.call(b, prop)) __defNormalProp$z(a, prop, b[prop]);
|
|
3521
3575
|
}
|
|
3522
3576
|
return a;
|
|
3523
3577
|
};
|
|
3524
|
-
var __spreadProps$
|
|
3578
|
+
var __spreadProps$r = (a, b) => __defProps$r(a, __getOwnPropDescs$r(b));
|
|
3525
3579
|
const CronPlanWrapper = "c1up1pdz";
|
|
3526
3580
|
const CronPlanHeader = "c156wh19";
|
|
3527
3581
|
const ModeTabs = "m126spxy";
|
|
@@ -3616,7 +3670,7 @@
|
|
|
3616
3670
|
input: {
|
|
3617
3671
|
value: daily.step,
|
|
3618
3672
|
onChange: value => {
|
|
3619
|
-
setDaily(__spreadProps$
|
|
3673
|
+
setDaily(__spreadProps$r(__spreadValues$z({}, daily), {
|
|
3620
3674
|
step: value
|
|
3621
3675
|
}));
|
|
3622
3676
|
},
|
|
@@ -3630,7 +3684,7 @@
|
|
|
3630
3684
|
value: daily.time,
|
|
3631
3685
|
onChange: value => {
|
|
3632
3686
|
if (value) {
|
|
3633
|
-
setDaily(__spreadProps$
|
|
3687
|
+
setDaily(__spreadProps$r(__spreadValues$z({}, daily), {
|
|
3634
3688
|
time: value
|
|
3635
3689
|
}));
|
|
3636
3690
|
}
|
|
@@ -3685,7 +3739,7 @@
|
|
|
3685
3739
|
input: {
|
|
3686
3740
|
value: weekly.step,
|
|
3687
3741
|
onChange: value => {
|
|
3688
|
-
setWeekly(__spreadProps$
|
|
3742
|
+
setWeekly(__spreadProps$r(__spreadValues$z({}, weekly), {
|
|
3689
3743
|
step: value
|
|
3690
3744
|
}));
|
|
3691
3745
|
},
|
|
@@ -3702,7 +3756,7 @@
|
|
|
3702
3756
|
className: linaria.cx("week-day-option", active && "active", i18n.language === parrot.ParrotLngs.en && "en-text"),
|
|
3703
3757
|
type: "default",
|
|
3704
3758
|
key: d.value,
|
|
3705
|
-
onClick: () => setWeekly(__spreadProps$
|
|
3759
|
+
onClick: () => setWeekly(__spreadProps$r(__spreadValues$z({}, weekly), {
|
|
3706
3760
|
days: active ? weekly.days.filter(day => day !== d.value) : weekly.days.concat(d.value).sort((a, b) => a - b)
|
|
3707
3761
|
}))
|
|
3708
3762
|
}, d.text);
|
|
@@ -3714,7 +3768,7 @@
|
|
|
3714
3768
|
value: weekly.time,
|
|
3715
3769
|
onChange: value => {
|
|
3716
3770
|
if (value) {
|
|
3717
|
-
setWeekly(__spreadProps$
|
|
3771
|
+
setWeekly(__spreadProps$r(__spreadValues$z({}, weekly), {
|
|
3718
3772
|
time: value
|
|
3719
3773
|
}));
|
|
3720
3774
|
}
|
|
@@ -3741,7 +3795,7 @@
|
|
|
3741
3795
|
input: {
|
|
3742
3796
|
value: monthly.step,
|
|
3743
3797
|
onChange: value => {
|
|
3744
|
-
setMonthly(__spreadProps$
|
|
3798
|
+
setMonthly(__spreadProps$r(__spreadValues$z({}, monthly), {
|
|
3745
3799
|
step: value
|
|
3746
3800
|
}));
|
|
3747
3801
|
},
|
|
@@ -3758,7 +3812,7 @@
|
|
|
3758
3812
|
className: linaria.cx("month-day-option", active && "active"),
|
|
3759
3813
|
type: "default",
|
|
3760
3814
|
key: d,
|
|
3761
|
-
onClick: () => setMonthly(__spreadProps$
|
|
3815
|
+
onClick: () => setMonthly(__spreadProps$r(__spreadValues$z({}, monthly), {
|
|
3762
3816
|
days: active ? monthly.days.filter(day => day !== d) : monthly.days.concat(d).sort((a, b) => a - b)
|
|
3763
3817
|
}))
|
|
3764
3818
|
}, d);
|
|
@@ -3774,7 +3828,7 @@
|
|
|
3774
3828
|
value: monthly.time,
|
|
3775
3829
|
onChange: value => {
|
|
3776
3830
|
if (value) {
|
|
3777
|
-
setMonthly(__spreadProps$
|
|
3831
|
+
setMonthly(__spreadProps$r(__spreadValues$z({}, monthly), {
|
|
3778
3832
|
time: value
|
|
3779
3833
|
}));
|
|
3780
3834
|
}
|
|
@@ -3798,7 +3852,7 @@
|
|
|
3798
3852
|
}, [value]);
|
|
3799
3853
|
const sendAtDate = React.useMemo(() => cronTime.sendAt(), [cronTime]);
|
|
3800
3854
|
const changeValue = newValue => {
|
|
3801
|
-
onChange(__spreadValues$
|
|
3855
|
+
onChange(__spreadValues$z(__spreadValues$z({}, value), newValue));
|
|
3802
3856
|
};
|
|
3803
3857
|
const [mode, setMode] = React.useState(getMode(cronTime["source"]));
|
|
3804
3858
|
const source = cronTime["source"];
|
|
@@ -3806,19 +3860,19 @@
|
|
|
3806
3860
|
const time = getTime(cronTime);
|
|
3807
3861
|
const [daily, setDaily] = React.useState(() => {
|
|
3808
3862
|
const rawDaily = getDaily(mode, source, time);
|
|
3809
|
-
return __spreadProps$
|
|
3863
|
+
return __spreadProps$r(__spreadValues$z({}, rawDaily), {
|
|
3810
3864
|
time: moment__default.default(rawDaily.time.format())
|
|
3811
3865
|
});
|
|
3812
3866
|
});
|
|
3813
3867
|
const [weekly, setWeekly] = React.useState(() => {
|
|
3814
3868
|
const rawWeekly = getWeekly(mode, source, time);
|
|
3815
|
-
return __spreadProps$
|
|
3869
|
+
return __spreadProps$r(__spreadValues$z({}, rawWeekly), {
|
|
3816
3870
|
time: moment__default.default(rawWeekly.time.format())
|
|
3817
3871
|
});
|
|
3818
3872
|
});
|
|
3819
3873
|
const [monthly, setMonthly] = React.useState(() => {
|
|
3820
3874
|
const rawMonthly = getMonthly(mode, month, day, time);
|
|
3821
|
-
return __spreadProps$
|
|
3875
|
+
return __spreadProps$r(__spreadValues$z({}, rawMonthly), {
|
|
3822
3876
|
time: moment__default.default(rawMonthly.time.format())
|
|
3823
3877
|
});
|
|
3824
3878
|
});
|
|
@@ -4001,19 +4055,24 @@
|
|
|
4001
4055
|
}, children));
|
|
4002
4056
|
};
|
|
4003
4057
|
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
var
|
|
4058
|
+
const SidebarSubtitle = (props) => {
|
|
4059
|
+
const { title, className } = props;
|
|
4060
|
+
return /* @__PURE__ */ React__namespace.default.createElement("span", { className: linaria.cx(Typo.Heading.h3_regular_upper, className) }, title);
|
|
4061
|
+
};
|
|
4062
|
+
|
|
4063
|
+
var __defProp$y = Object.defineProperty;
|
|
4064
|
+
var __getOwnPropSymbols$z = Object.getOwnPropertySymbols;
|
|
4065
|
+
var __hasOwnProp$z = Object.prototype.hasOwnProperty;
|
|
4066
|
+
var __propIsEnum$z = Object.prototype.propertyIsEnumerable;
|
|
4067
|
+
var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4068
|
+
var __spreadValues$y = (a, b) => {
|
|
4010
4069
|
for (var prop in b || (b = {}))
|
|
4011
|
-
if (__hasOwnProp$
|
|
4012
|
-
__defNormalProp$
|
|
4013
|
-
if (__getOwnPropSymbols$
|
|
4014
|
-
for (var prop of __getOwnPropSymbols$
|
|
4015
|
-
if (__propIsEnum$
|
|
4016
|
-
__defNormalProp$
|
|
4070
|
+
if (__hasOwnProp$z.call(b, prop))
|
|
4071
|
+
__defNormalProp$y(a, prop, b[prop]);
|
|
4072
|
+
if (__getOwnPropSymbols$z)
|
|
4073
|
+
for (var prop of __getOwnPropSymbols$z(b)) {
|
|
4074
|
+
if (__propIsEnum$z.call(b, prop))
|
|
4075
|
+
__defNormalProp$y(a, prop, b[prop]);
|
|
4017
4076
|
}
|
|
4018
4077
|
return a;
|
|
4019
4078
|
};
|
|
@@ -4023,7 +4082,7 @@
|
|
|
4023
4082
|
return;
|
|
4024
4083
|
moveItem(result.source.index, result.destination.index);
|
|
4025
4084
|
};
|
|
4026
|
-
return /* @__PURE__ */ React__namespace.default.createElement(reactBeautifulDnd.DragDropContext, { onDragEnd }, /* @__PURE__ */ React__namespace.default.createElement(reactBeautifulDnd.Droppable, { droppableId: "droppable" }, (provided) => /* @__PURE__ */ React__namespace.default.createElement("div", __spreadValues$
|
|
4085
|
+
return /* @__PURE__ */ React__namespace.default.createElement(reactBeautifulDnd.DragDropContext, { onDragEnd }, /* @__PURE__ */ React__namespace.default.createElement(reactBeautifulDnd.Droppable, { droppableId: "droppable" }, (provided) => /* @__PURE__ */ React__namespace.default.createElement("div", __spreadValues$y({ ref: provided.innerRef }, provided.droppableProps), children, provided.placeholder)));
|
|
4027
4086
|
};
|
|
4028
4087
|
SortableList.Item = reactBeautifulDnd.Draggable;
|
|
4029
4088
|
|
|
@@ -4127,28 +4186,28 @@
|
|
|
4127
4186
|
})));
|
|
4128
4187
|
};
|
|
4129
4188
|
|
|
4130
|
-
var __defProp$
|
|
4131
|
-
var __getOwnPropSymbols$
|
|
4132
|
-
var __hasOwnProp$
|
|
4133
|
-
var __propIsEnum$
|
|
4134
|
-
var __defNormalProp$
|
|
4189
|
+
var __defProp$x = Object.defineProperty;
|
|
4190
|
+
var __getOwnPropSymbols$y = Object.getOwnPropertySymbols;
|
|
4191
|
+
var __hasOwnProp$y = Object.prototype.hasOwnProperty;
|
|
4192
|
+
var __propIsEnum$y = Object.prototype.propertyIsEnumerable;
|
|
4193
|
+
var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, {
|
|
4135
4194
|
enumerable: true,
|
|
4136
4195
|
configurable: true,
|
|
4137
4196
|
writable: true,
|
|
4138
|
-
value
|
|
4139
|
-
}) : obj[key] = value;
|
|
4140
|
-
var __spreadValues$
|
|
4141
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4142
|
-
if (__getOwnPropSymbols$
|
|
4143
|
-
if (__propIsEnum$
|
|
4197
|
+
value
|
|
4198
|
+
}) : obj[key] = value;
|
|
4199
|
+
var __spreadValues$x = (a, b) => {
|
|
4200
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$y.call(b, prop)) __defNormalProp$x(a, prop, b[prop]);
|
|
4201
|
+
if (__getOwnPropSymbols$y) for (var prop of __getOwnPropSymbols$y(b)) {
|
|
4202
|
+
if (__propIsEnum$y.call(b, prop)) __defNormalProp$x(a, prop, b[prop]);
|
|
4144
4203
|
}
|
|
4145
4204
|
return a;
|
|
4146
4205
|
};
|
|
4147
|
-
var __objRest$
|
|
4206
|
+
var __objRest$h = (source, exclude) => {
|
|
4148
4207
|
var target = {};
|
|
4149
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4150
|
-
if (source != null && __getOwnPropSymbols$
|
|
4151
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4208
|
+
for (var prop in source) if (__hasOwnProp$y.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4209
|
+
if (source != null && __getOwnPropSymbols$y) for (var prop of __getOwnPropSymbols$y(source)) {
|
|
4210
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$y.call(source, prop)) target[prop] = source[prop];
|
|
4152
4211
|
}
|
|
4153
4212
|
return target;
|
|
4154
4213
|
};
|
|
@@ -4168,40 +4227,40 @@
|
|
|
4168
4227
|
unchecked: t("common.disable")
|
|
4169
4228
|
}
|
|
4170
4229
|
} = _a,
|
|
4171
|
-
_props = __objRest$
|
|
4230
|
+
_props = __objRest$h(_a, ["text"]);
|
|
4172
4231
|
return /* @__PURE__ */React__namespace.default.createElement(SwitchWrapper, {
|
|
4173
4232
|
className: "enabled-switch",
|
|
4174
4233
|
onClick: e => e.stopPropagation()
|
|
4175
4234
|
}, /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
4176
4235
|
className: "enabled-text"
|
|
4177
|
-
}, _props.checked ? text.checked : text.unchecked), /* @__PURE__ */React__namespace.default.createElement(Switch, __spreadValues$
|
|
4236
|
+
}, _props.checked ? text.checked : text.unchecked), /* @__PURE__ */React__namespace.default.createElement(Switch, __spreadValues$x({}, _props)));
|
|
4178
4237
|
};
|
|
4179
4238
|
|
|
4180
|
-
var __defProp$
|
|
4181
|
-
var __defProps$
|
|
4182
|
-
var __getOwnPropDescs$
|
|
4183
|
-
var __getOwnPropSymbols$
|
|
4184
|
-
var __hasOwnProp$
|
|
4185
|
-
var __propIsEnum$
|
|
4186
|
-
var __defNormalProp$
|
|
4239
|
+
var __defProp$w = Object.defineProperty;
|
|
4240
|
+
var __defProps$q = Object.defineProperties;
|
|
4241
|
+
var __getOwnPropDescs$q = Object.getOwnPropertyDescriptors;
|
|
4242
|
+
var __getOwnPropSymbols$x = Object.getOwnPropertySymbols;
|
|
4243
|
+
var __hasOwnProp$x = Object.prototype.hasOwnProperty;
|
|
4244
|
+
var __propIsEnum$x = Object.prototype.propertyIsEnumerable;
|
|
4245
|
+
var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, {
|
|
4187
4246
|
enumerable: true,
|
|
4188
4247
|
configurable: true,
|
|
4189
4248
|
writable: true,
|
|
4190
4249
|
value
|
|
4191
4250
|
}) : obj[key] = value;
|
|
4192
|
-
var __spreadValues$
|
|
4193
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4194
|
-
if (__getOwnPropSymbols$
|
|
4195
|
-
if (__propIsEnum$
|
|
4251
|
+
var __spreadValues$w = (a, b) => {
|
|
4252
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$x.call(b, prop)) __defNormalProp$w(a, prop, b[prop]);
|
|
4253
|
+
if (__getOwnPropSymbols$x) for (var prop of __getOwnPropSymbols$x(b)) {
|
|
4254
|
+
if (__propIsEnum$x.call(b, prop)) __defNormalProp$w(a, prop, b[prop]);
|
|
4196
4255
|
}
|
|
4197
4256
|
return a;
|
|
4198
4257
|
};
|
|
4199
|
-
var __spreadProps$
|
|
4200
|
-
var __objRest$
|
|
4258
|
+
var __spreadProps$q = (a, b) => __defProps$q(a, __getOwnPropDescs$q(b));
|
|
4259
|
+
var __objRest$g = (source, exclude) => {
|
|
4201
4260
|
var target = {};
|
|
4202
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4203
|
-
if (source != null && __getOwnPropSymbols$
|
|
4204
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4261
|
+
for (var prop in source) if (__hasOwnProp$x.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4262
|
+
if (source != null && __getOwnPropSymbols$x) for (var prop of __getOwnPropSymbols$x(source)) {
|
|
4263
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$x.call(source, prop)) target[prop] = source[prop];
|
|
4205
4264
|
}
|
|
4206
4265
|
return target;
|
|
4207
4266
|
};
|
|
@@ -4216,7 +4275,7 @@
|
|
|
4216
4275
|
text,
|
|
4217
4276
|
textWrapperCls
|
|
4218
4277
|
} = _a,
|
|
4219
|
-
restProps = __objRest$
|
|
4278
|
+
restProps = __objRest$g(_a, ["text", "textWrapperCls"]);
|
|
4220
4279
|
const [isTextTruncated, setTextTruncated] = React.useState(false);
|
|
4221
4280
|
const textWrapper = React.useRef(null);
|
|
4222
4281
|
React.useLayoutEffect(() => {
|
|
@@ -4232,37 +4291,37 @@
|
|
|
4232
4291
|
ref: textWrapper,
|
|
4233
4292
|
className: textWrapperCls
|
|
4234
4293
|
}, text);
|
|
4235
|
-
return isTextTruncated ? /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadProps$
|
|
4294
|
+
return isTextTruncated ? /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadProps$q(__spreadValues$w({}, restProps), {
|
|
4236
4295
|
title: text,
|
|
4237
4296
|
"data-testid": "text-tooltip"
|
|
4238
4297
|
}), /* @__PURE__ */React__namespace.default.createElement(TruncatedTextWrapper, null, renderName())) : renderName();
|
|
4239
4298
|
};
|
|
4240
4299
|
|
|
4241
|
-
var __defProp$
|
|
4242
|
-
var __defProps$
|
|
4243
|
-
var __getOwnPropDescs$
|
|
4244
|
-
var __getOwnPropSymbols$
|
|
4245
|
-
var __hasOwnProp$
|
|
4246
|
-
var __propIsEnum$
|
|
4247
|
-
var __defNormalProp$
|
|
4300
|
+
var __defProp$v = Object.defineProperty;
|
|
4301
|
+
var __defProps$p = Object.defineProperties;
|
|
4302
|
+
var __getOwnPropDescs$p = Object.getOwnPropertyDescriptors;
|
|
4303
|
+
var __getOwnPropSymbols$w = Object.getOwnPropertySymbols;
|
|
4304
|
+
var __hasOwnProp$w = Object.prototype.hasOwnProperty;
|
|
4305
|
+
var __propIsEnum$w = Object.prototype.propertyIsEnumerable;
|
|
4306
|
+
var __defNormalProp$v = (obj, key, value) => key in obj ? __defProp$v(obj, key, {
|
|
4248
4307
|
enumerable: true,
|
|
4249
4308
|
configurable: true,
|
|
4250
4309
|
writable: true,
|
|
4251
4310
|
value
|
|
4252
4311
|
}) : obj[key] = value;
|
|
4253
|
-
var __spreadValues$
|
|
4254
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4255
|
-
if (__getOwnPropSymbols$
|
|
4256
|
-
if (__propIsEnum$
|
|
4312
|
+
var __spreadValues$v = (a, b) => {
|
|
4313
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$w.call(b, prop)) __defNormalProp$v(a, prop, b[prop]);
|
|
4314
|
+
if (__getOwnPropSymbols$w) for (var prop of __getOwnPropSymbols$w(b)) {
|
|
4315
|
+
if (__propIsEnum$w.call(b, prop)) __defNormalProp$v(a, prop, b[prop]);
|
|
4257
4316
|
}
|
|
4258
4317
|
return a;
|
|
4259
4318
|
};
|
|
4260
|
-
var __spreadProps$
|
|
4261
|
-
var __objRest$
|
|
4319
|
+
var __spreadProps$p = (a, b) => __defProps$p(a, __getOwnPropDescs$p(b));
|
|
4320
|
+
var __objRest$f = (source, exclude) => {
|
|
4262
4321
|
var target = {};
|
|
4263
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4264
|
-
if (source != null && __getOwnPropSymbols$
|
|
4265
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4322
|
+
for (var prop in source) if (__hasOwnProp$w.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4323
|
+
if (source != null && __getOwnPropSymbols$w) for (var prop of __getOwnPropSymbols$w(source)) {
|
|
4324
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$w.call(source, prop)) target[prop] = source[prop];
|
|
4266
4325
|
}
|
|
4267
4326
|
return target;
|
|
4268
4327
|
};
|
|
@@ -4280,13 +4339,13 @@
|
|
|
4280
4339
|
action,
|
|
4281
4340
|
message
|
|
4282
4341
|
} = _b,
|
|
4283
|
-
props = __objRest$
|
|
4342
|
+
props = __objRest$f(_b, ["type", "icon", "showIcon", "className", "onClose", "closeText", "action", "message"]);
|
|
4284
4343
|
const _icon = /* @__PURE__ */React__namespace.default.createElement(Icon, {
|
|
4285
4344
|
alt: type,
|
|
4286
4345
|
src: getAlertIcon(type)
|
|
4287
4346
|
});
|
|
4288
4347
|
const _type = type === "normal" ? "info" : type;
|
|
4289
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Alert, __spreadProps$
|
|
4348
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Alert, __spreadProps$p(__spreadValues$v({}, props), {
|
|
4290
4349
|
className: cs__default.default(AlertStyle, type ? `alert-${type}` : "", className, {
|
|
4291
4350
|
action
|
|
4292
4351
|
}),
|
|
@@ -4318,42 +4377,42 @@
|
|
|
4318
4377
|
return /* @__PURE__ */ React__namespace.default.createElement("span", null, text);
|
|
4319
4378
|
};
|
|
4320
4379
|
|
|
4321
|
-
var __defProp$
|
|
4322
|
-
var __defProps$
|
|
4323
|
-
var __getOwnPropDescs$
|
|
4324
|
-
var __getOwnPropSymbols$
|
|
4325
|
-
var __hasOwnProp$
|
|
4326
|
-
var __propIsEnum$
|
|
4327
|
-
var __defNormalProp$
|
|
4328
|
-
var __spreadValues$
|
|
4380
|
+
var __defProp$u = Object.defineProperty;
|
|
4381
|
+
var __defProps$o = Object.defineProperties;
|
|
4382
|
+
var __getOwnPropDescs$o = Object.getOwnPropertyDescriptors;
|
|
4383
|
+
var __getOwnPropSymbols$v = Object.getOwnPropertySymbols;
|
|
4384
|
+
var __hasOwnProp$v = Object.prototype.hasOwnProperty;
|
|
4385
|
+
var __propIsEnum$v = Object.prototype.propertyIsEnumerable;
|
|
4386
|
+
var __defNormalProp$u = (obj, key, value) => key in obj ? __defProp$u(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4387
|
+
var __spreadValues$u = (a, b) => {
|
|
4329
4388
|
for (var prop in b || (b = {}))
|
|
4330
|
-
if (__hasOwnProp$
|
|
4331
|
-
__defNormalProp$
|
|
4332
|
-
if (__getOwnPropSymbols$
|
|
4333
|
-
for (var prop of __getOwnPropSymbols$
|
|
4334
|
-
if (__propIsEnum$
|
|
4335
|
-
__defNormalProp$
|
|
4389
|
+
if (__hasOwnProp$v.call(b, prop))
|
|
4390
|
+
__defNormalProp$u(a, prop, b[prop]);
|
|
4391
|
+
if (__getOwnPropSymbols$v)
|
|
4392
|
+
for (var prop of __getOwnPropSymbols$v(b)) {
|
|
4393
|
+
if (__propIsEnum$v.call(b, prop))
|
|
4394
|
+
__defNormalProp$u(a, prop, b[prop]);
|
|
4336
4395
|
}
|
|
4337
4396
|
return a;
|
|
4338
4397
|
};
|
|
4339
|
-
var __spreadProps$
|
|
4340
|
-
var __objRest$
|
|
4398
|
+
var __spreadProps$o = (a, b) => __defProps$o(a, __getOwnPropDescs$o(b));
|
|
4399
|
+
var __objRest$e = (source, exclude) => {
|
|
4341
4400
|
var target = {};
|
|
4342
4401
|
for (var prop in source)
|
|
4343
|
-
if (__hasOwnProp$
|
|
4402
|
+
if (__hasOwnProp$v.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
4344
4403
|
target[prop] = source[prop];
|
|
4345
|
-
if (source != null && __getOwnPropSymbols$
|
|
4346
|
-
for (var prop of __getOwnPropSymbols$
|
|
4347
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4404
|
+
if (source != null && __getOwnPropSymbols$v)
|
|
4405
|
+
for (var prop of __getOwnPropSymbols$v(source)) {
|
|
4406
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$v.call(source, prop))
|
|
4348
4407
|
target[prop] = source[prop];
|
|
4349
4408
|
}
|
|
4350
4409
|
return target;
|
|
4351
4410
|
};
|
|
4352
4411
|
const Badge = (_a) => {
|
|
4353
|
-
var _b = _a, { type = "error", className } = _b, props = __objRest$
|
|
4412
|
+
var _b = _a, { type = "error", className } = _b, props = __objRest$e(_b, ["type", "className"]);
|
|
4354
4413
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
4355
4414
|
antd.Badge,
|
|
4356
|
-
__spreadProps$
|
|
4415
|
+
__spreadProps$o(__spreadValues$u({
|
|
4357
4416
|
className: core.cx(`badge-${type}`, className)
|
|
4358
4417
|
}, props), {
|
|
4359
4418
|
showZero: false
|
|
@@ -4361,28 +4420,28 @@
|
|
|
4361
4420
|
);
|
|
4362
4421
|
};
|
|
4363
4422
|
|
|
4364
|
-
var __defProp$
|
|
4365
|
-
var __getOwnPropSymbols$
|
|
4366
|
-
var __hasOwnProp$
|
|
4367
|
-
var __propIsEnum$
|
|
4368
|
-
var __defNormalProp$
|
|
4423
|
+
var __defProp$t = Object.defineProperty;
|
|
4424
|
+
var __getOwnPropSymbols$u = Object.getOwnPropertySymbols;
|
|
4425
|
+
var __hasOwnProp$u = Object.prototype.hasOwnProperty;
|
|
4426
|
+
var __propIsEnum$u = Object.prototype.propertyIsEnumerable;
|
|
4427
|
+
var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, {
|
|
4369
4428
|
enumerable: true,
|
|
4370
4429
|
configurable: true,
|
|
4371
4430
|
writable: true,
|
|
4372
4431
|
value
|
|
4373
4432
|
}) : obj[key] = value;
|
|
4374
|
-
var __spreadValues$
|
|
4375
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4376
|
-
if (__getOwnPropSymbols$
|
|
4377
|
-
if (__propIsEnum$
|
|
4433
|
+
var __spreadValues$t = (a, b) => {
|
|
4434
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$u.call(b, prop)) __defNormalProp$t(a, prop, b[prop]);
|
|
4435
|
+
if (__getOwnPropSymbols$u) for (var prop of __getOwnPropSymbols$u(b)) {
|
|
4436
|
+
if (__propIsEnum$u.call(b, prop)) __defNormalProp$t(a, prop, b[prop]);
|
|
4378
4437
|
}
|
|
4379
4438
|
return a;
|
|
4380
4439
|
};
|
|
4381
|
-
var __objRest$
|
|
4440
|
+
var __objRest$d = (source, exclude) => {
|
|
4382
4441
|
var target = {};
|
|
4383
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4384
|
-
if (source != null && __getOwnPropSymbols$
|
|
4385
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4442
|
+
for (var prop in source) if (__hasOwnProp$u.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4443
|
+
if (source != null && __getOwnPropSymbols$u) for (var prop of __getOwnPropSymbols$u(source)) {
|
|
4444
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$u.call(source, prop)) target[prop] = source[prop];
|
|
4386
4445
|
}
|
|
4387
4446
|
return target;
|
|
4388
4447
|
};
|
|
@@ -4417,7 +4476,7 @@
|
|
|
4417
4476
|
hideTitle,
|
|
4418
4477
|
title
|
|
4419
4478
|
} = _a,
|
|
4420
|
-
buttonPropArgs = __objRest$
|
|
4479
|
+
buttonPropArgs = __objRest$d(_a, ["key", "icon", "type", "children", "danger", "ghost", "className", "hideTitle", "title"]);
|
|
4421
4480
|
if (hideTitle) {
|
|
4422
4481
|
return /* @__PURE__ */React__namespace.default.createElement(Tooltip, {
|
|
4423
4482
|
key: key || index,
|
|
@@ -4426,7 +4485,7 @@
|
|
|
4426
4485
|
style: {
|
|
4427
4486
|
cursor: "not-allowed"
|
|
4428
4487
|
}
|
|
4429
|
-
}, /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$
|
|
4488
|
+
}, /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$t({
|
|
4430
4489
|
style: {
|
|
4431
4490
|
pointerEvents: "none"
|
|
4432
4491
|
},
|
|
@@ -4436,7 +4495,7 @@
|
|
|
4436
4495
|
ghost,
|
|
4437
4496
|
className: core.cx(ButtonStyle, className2),
|
|
4438
4497
|
prefixIcon: icon
|
|
4439
|
-
}, buttonPropArgs))) : /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$
|
|
4498
|
+
}, buttonPropArgs))) : /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$t({
|
|
4440
4499
|
type,
|
|
4441
4500
|
size,
|
|
4442
4501
|
danger,
|
|
@@ -4445,7 +4504,7 @@
|
|
|
4445
4504
|
prefixIcon: icon
|
|
4446
4505
|
}, buttonPropArgs)));
|
|
4447
4506
|
}
|
|
4448
|
-
return /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$
|
|
4507
|
+
return /* @__PURE__ */React__namespace.default.createElement(Button, __spreadValues$t({
|
|
4449
4508
|
key: key || index,
|
|
4450
4509
|
type,
|
|
4451
4510
|
size,
|
|
@@ -4471,28 +4530,28 @@
|
|
|
4471
4530
|
propsAsIs: false
|
|
4472
4531
|
});
|
|
4473
4532
|
|
|
4474
|
-
var __defProp$
|
|
4475
|
-
var __getOwnPropSymbols$
|
|
4476
|
-
var __hasOwnProp$
|
|
4477
|
-
var __propIsEnum$
|
|
4478
|
-
var __defNormalProp$
|
|
4533
|
+
var __defProp$s = Object.defineProperty;
|
|
4534
|
+
var __getOwnPropSymbols$t = Object.getOwnPropertySymbols;
|
|
4535
|
+
var __hasOwnProp$t = Object.prototype.hasOwnProperty;
|
|
4536
|
+
var __propIsEnum$t = Object.prototype.propertyIsEnumerable;
|
|
4537
|
+
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, {
|
|
4479
4538
|
enumerable: true,
|
|
4480
4539
|
configurable: true,
|
|
4481
4540
|
writable: true,
|
|
4482
4541
|
value
|
|
4483
4542
|
}) : obj[key] = value;
|
|
4484
|
-
var __spreadValues$
|
|
4485
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4486
|
-
if (__getOwnPropSymbols$
|
|
4487
|
-
if (__propIsEnum$
|
|
4543
|
+
var __spreadValues$s = (a, b) => {
|
|
4544
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$t.call(b, prop)) __defNormalProp$s(a, prop, b[prop]);
|
|
4545
|
+
if (__getOwnPropSymbols$t) for (var prop of __getOwnPropSymbols$t(b)) {
|
|
4546
|
+
if (__propIsEnum$t.call(b, prop)) __defNormalProp$s(a, prop, b[prop]);
|
|
4488
4547
|
}
|
|
4489
4548
|
return a;
|
|
4490
4549
|
};
|
|
4491
|
-
var __objRest$
|
|
4550
|
+
var __objRest$c = (source, exclude) => {
|
|
4492
4551
|
var target = {};
|
|
4493
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4494
|
-
if (source != null && __getOwnPropSymbols$
|
|
4495
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4552
|
+
for (var prop in source) if (__hasOwnProp$t.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4553
|
+
if (source != null && __getOwnPropSymbols$t) for (var prop of __getOwnPropSymbols$t(source)) {
|
|
4554
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$t.call(source, prop)) target[prop] = source[prop];
|
|
4496
4555
|
}
|
|
4497
4556
|
return target;
|
|
4498
4557
|
};
|
|
@@ -4504,8 +4563,8 @@
|
|
|
4504
4563
|
className,
|
|
4505
4564
|
shadow
|
|
4506
4565
|
} = _a,
|
|
4507
|
-
otherProps = __objRest$
|
|
4508
|
-
return /* @__PURE__ */React__namespace.default.createElement("div", __spreadValues$
|
|
4566
|
+
otherProps = __objRest$c(_a, ["children", "className", "shadow"]);
|
|
4567
|
+
return /* @__PURE__ */React__namespace.default.createElement("div", __spreadValues$s({
|
|
4509
4568
|
className: cs__default.default({
|
|
4510
4569
|
[boxShadow]: shadow
|
|
4511
4570
|
}, className)
|
|
@@ -4518,33 +4577,33 @@
|
|
|
4518
4577
|
propsAsIs: true
|
|
4519
4578
|
});
|
|
4520
4579
|
|
|
4521
|
-
var __defProp$
|
|
4522
|
-
var __defProps$
|
|
4523
|
-
var __getOwnPropDescs$
|
|
4524
|
-
var __getOwnPropSymbols$
|
|
4525
|
-
var __hasOwnProp$
|
|
4526
|
-
var __propIsEnum$
|
|
4527
|
-
var __defNormalProp$
|
|
4528
|
-
var __spreadValues$
|
|
4580
|
+
var __defProp$r = Object.defineProperty;
|
|
4581
|
+
var __defProps$n = Object.defineProperties;
|
|
4582
|
+
var __getOwnPropDescs$n = Object.getOwnPropertyDescriptors;
|
|
4583
|
+
var __getOwnPropSymbols$s = Object.getOwnPropertySymbols;
|
|
4584
|
+
var __hasOwnProp$s = Object.prototype.hasOwnProperty;
|
|
4585
|
+
var __propIsEnum$s = Object.prototype.propertyIsEnumerable;
|
|
4586
|
+
var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4587
|
+
var __spreadValues$r = (a, b) => {
|
|
4529
4588
|
for (var prop in b || (b = {}))
|
|
4530
|
-
if (__hasOwnProp$
|
|
4531
|
-
__defNormalProp$
|
|
4532
|
-
if (__getOwnPropSymbols$
|
|
4533
|
-
for (var prop of __getOwnPropSymbols$
|
|
4534
|
-
if (__propIsEnum$
|
|
4535
|
-
__defNormalProp$
|
|
4589
|
+
if (__hasOwnProp$s.call(b, prop))
|
|
4590
|
+
__defNormalProp$r(a, prop, b[prop]);
|
|
4591
|
+
if (__getOwnPropSymbols$s)
|
|
4592
|
+
for (var prop of __getOwnPropSymbols$s(b)) {
|
|
4593
|
+
if (__propIsEnum$s.call(b, prop))
|
|
4594
|
+
__defNormalProp$r(a, prop, b[prop]);
|
|
4536
4595
|
}
|
|
4537
4596
|
return a;
|
|
4538
4597
|
};
|
|
4539
|
-
var __spreadProps$
|
|
4540
|
-
var __objRest$
|
|
4598
|
+
var __spreadProps$n = (a, b) => __defProps$n(a, __getOwnPropDescs$n(b));
|
|
4599
|
+
var __objRest$b = (source, exclude) => {
|
|
4541
4600
|
var target = {};
|
|
4542
4601
|
for (var prop in source)
|
|
4543
|
-
if (__hasOwnProp$
|
|
4602
|
+
if (__hasOwnProp$s.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
4544
4603
|
target[prop] = source[prop];
|
|
4545
|
-
if (source != null && __getOwnPropSymbols$
|
|
4546
|
-
for (var prop of __getOwnPropSymbols$
|
|
4547
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4604
|
+
if (source != null && __getOwnPropSymbols$s)
|
|
4605
|
+
for (var prop of __getOwnPropSymbols$s(source)) {
|
|
4606
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$s.call(source, prop))
|
|
4548
4607
|
target[prop] = source[prop];
|
|
4549
4608
|
}
|
|
4550
4609
|
return target;
|
|
@@ -4559,7 +4618,7 @@
|
|
|
4559
4618
|
defaultOpen = false,
|
|
4560
4619
|
hoverable,
|
|
4561
4620
|
shadow = true
|
|
4562
|
-
} = _a, domProps = __objRest$
|
|
4621
|
+
} = _a, domProps = __objRest$b(_a, [
|
|
4563
4622
|
"collapsible",
|
|
4564
4623
|
"title",
|
|
4565
4624
|
"subInfo",
|
|
@@ -4571,7 +4630,7 @@
|
|
|
4571
4630
|
const [open, setOpen] = React.useState(defaultOpen);
|
|
4572
4631
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
4573
4632
|
CardWrapper,
|
|
4574
|
-
__spreadProps$
|
|
4633
|
+
__spreadProps$n(__spreadValues$r({
|
|
4575
4634
|
ref,
|
|
4576
4635
|
className: cs__default.default(["card-wrapper", className, hoverable && "hoverable"])
|
|
4577
4636
|
}, domProps), {
|
|
@@ -4600,6 +4659,27 @@
|
|
|
4600
4659
|
}
|
|
4601
4660
|
);
|
|
4602
4661
|
|
|
4662
|
+
var __defProp$q = Object.defineProperty;
|
|
4663
|
+
var __defProps$m = Object.defineProperties;
|
|
4664
|
+
var __getOwnPropDescs$m = Object.getOwnPropertyDescriptors;
|
|
4665
|
+
var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
|
|
4666
|
+
var __hasOwnProp$r = Object.prototype.hasOwnProperty;
|
|
4667
|
+
var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
|
|
4668
|
+
var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4669
|
+
var __spreadValues$q = (a, b) => {
|
|
4670
|
+
for (var prop in b || (b = {}))
|
|
4671
|
+
if (__hasOwnProp$r.call(b, prop))
|
|
4672
|
+
__defNormalProp$q(a, prop, b[prop]);
|
|
4673
|
+
if (__getOwnPropSymbols$r)
|
|
4674
|
+
for (var prop of __getOwnPropSymbols$r(b)) {
|
|
4675
|
+
if (__propIsEnum$r.call(b, prop))
|
|
4676
|
+
__defNormalProp$q(a, prop, b[prop]);
|
|
4677
|
+
}
|
|
4678
|
+
return a;
|
|
4679
|
+
};
|
|
4680
|
+
var __spreadProps$m = (a, b) => __defProps$m(a, __getOwnPropDescs$m(b));
|
|
4681
|
+
const Cascader = (props) => /* @__PURE__ */ React__namespace.default.createElement(antd5.Cascader, __spreadProps$m(__spreadValues$q({}, props), { prefixCls: "antd5" }));
|
|
4682
|
+
|
|
4603
4683
|
const card = "c10crapj";
|
|
4604
4684
|
const ExpandableContainer = props => {
|
|
4605
4685
|
const {
|
|
@@ -4668,32 +4748,32 @@
|
|
|
4668
4748
|
}, children));
|
|
4669
4749
|
};
|
|
4670
4750
|
|
|
4671
|
-
var __defProp$
|
|
4672
|
-
var __defProps$
|
|
4673
|
-
var __getOwnPropDescs$
|
|
4674
|
-
var __getOwnPropSymbols$
|
|
4675
|
-
var __hasOwnProp$
|
|
4676
|
-
var __propIsEnum$
|
|
4677
|
-
var __defNormalProp$
|
|
4751
|
+
var __defProp$p = Object.defineProperty;
|
|
4752
|
+
var __defProps$l = Object.defineProperties;
|
|
4753
|
+
var __getOwnPropDescs$l = Object.getOwnPropertyDescriptors;
|
|
4754
|
+
var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
|
|
4755
|
+
var __hasOwnProp$q = Object.prototype.hasOwnProperty;
|
|
4756
|
+
var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
|
|
4757
|
+
var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, {
|
|
4678
4758
|
enumerable: true,
|
|
4679
4759
|
configurable: true,
|
|
4680
4760
|
writable: true,
|
|
4681
4761
|
value
|
|
4682
4762
|
}) : obj[key] = value;
|
|
4683
|
-
var __spreadValues$
|
|
4684
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4685
|
-
if (__getOwnPropSymbols$
|
|
4686
|
-
if (__propIsEnum$
|
|
4763
|
+
var __spreadValues$p = (a, b) => {
|
|
4764
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$q.call(b, prop)) __defNormalProp$p(a, prop, b[prop]);
|
|
4765
|
+
if (__getOwnPropSymbols$q) for (var prop of __getOwnPropSymbols$q(b)) {
|
|
4766
|
+
if (__propIsEnum$q.call(b, prop)) __defNormalProp$p(a, prop, b[prop]);
|
|
4687
4767
|
}
|
|
4688
4768
|
return a;
|
|
4689
4769
|
};
|
|
4690
|
-
var __spreadProps$
|
|
4770
|
+
var __spreadProps$l = (a, b) => __defProps$l(a, __getOwnPropDescs$l(b));
|
|
4691
4771
|
const {
|
|
4692
4772
|
Item: AntdFormItem
|
|
4693
4773
|
} = antd.Form;
|
|
4694
4774
|
const FormItemStyle$1 = "f1p9ti6d";
|
|
4695
4775
|
const FormItem$1 = props => {
|
|
4696
|
-
return /* @__PURE__ */React__namespace.default.createElement(AntdFormItem, __spreadProps$
|
|
4776
|
+
return /* @__PURE__ */React__namespace.default.createElement(AntdFormItem, __spreadProps$l(__spreadValues$p({}, props), {
|
|
4697
4777
|
className: cs__default.default(FormItemStyle$1, props.className)
|
|
4698
4778
|
}));
|
|
4699
4779
|
};
|
|
@@ -4701,25 +4781,25 @@
|
|
|
4701
4781
|
const Form = antd.Form;
|
|
4702
4782
|
Form.Item = FormItem$1;
|
|
4703
4783
|
|
|
4704
|
-
var __defProp$
|
|
4705
|
-
var __getOwnPropSymbols$
|
|
4706
|
-
var __hasOwnProp$
|
|
4707
|
-
var __propIsEnum$
|
|
4708
|
-
var __defNormalProp$
|
|
4709
|
-
var __spreadValues$
|
|
4784
|
+
var __defProp$o = Object.defineProperty;
|
|
4785
|
+
var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
|
|
4786
|
+
var __hasOwnProp$p = Object.prototype.hasOwnProperty;
|
|
4787
|
+
var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
|
|
4788
|
+
var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4789
|
+
var __spreadValues$o = (a, b) => {
|
|
4710
4790
|
for (var prop in b || (b = {}))
|
|
4711
|
-
if (__hasOwnProp$
|
|
4712
|
-
__defNormalProp$
|
|
4713
|
-
if (__getOwnPropSymbols$
|
|
4714
|
-
for (var prop of __getOwnPropSymbols$
|
|
4715
|
-
if (__propIsEnum$
|
|
4716
|
-
__defNormalProp$
|
|
4791
|
+
if (__hasOwnProp$p.call(b, prop))
|
|
4792
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
4793
|
+
if (__getOwnPropSymbols$p)
|
|
4794
|
+
for (var prop of __getOwnPropSymbols$p(b)) {
|
|
4795
|
+
if (__propIsEnum$p.call(b, prop))
|
|
4796
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
4717
4797
|
}
|
|
4718
4798
|
return a;
|
|
4719
4799
|
};
|
|
4720
4800
|
const ParrotTrans = (props) => {
|
|
4721
4801
|
const { i18n } = useParrotTranslation();
|
|
4722
|
-
return /* @__PURE__ */ React__namespace.default.createElement(reactI18next.Trans, __spreadValues$
|
|
4802
|
+
return /* @__PURE__ */ React__namespace.default.createElement(reactI18next.Trans, __spreadValues$o({ i18n }, props));
|
|
4723
4803
|
};
|
|
4724
4804
|
|
|
4725
4805
|
const PresetColors$3 = [
|
|
@@ -4739,31 +4819,31 @@
|
|
|
4739
4819
|
const IconStyle$1 = "i1qw4clm";
|
|
4740
4820
|
const NameTagStyle = "n1r5ku5l";
|
|
4741
4821
|
|
|
4742
|
-
var __defProp$
|
|
4743
|
-
var __defProps$
|
|
4744
|
-
var __getOwnPropDescs$
|
|
4745
|
-
var __getOwnPropSymbols$
|
|
4746
|
-
var __hasOwnProp$
|
|
4747
|
-
var __propIsEnum$
|
|
4748
|
-
var __defNormalProp$
|
|
4822
|
+
var __defProp$n = Object.defineProperty;
|
|
4823
|
+
var __defProps$k = Object.defineProperties;
|
|
4824
|
+
var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
|
|
4825
|
+
var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
|
|
4826
|
+
var __hasOwnProp$o = Object.prototype.hasOwnProperty;
|
|
4827
|
+
var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
|
|
4828
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, {
|
|
4749
4829
|
enumerable: true,
|
|
4750
4830
|
configurable: true,
|
|
4751
4831
|
writable: true,
|
|
4752
4832
|
value
|
|
4753
4833
|
}) : obj[key] = value;
|
|
4754
|
-
var __spreadValues$
|
|
4755
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
4756
|
-
if (__getOwnPropSymbols$
|
|
4757
|
-
if (__propIsEnum$
|
|
4834
|
+
var __spreadValues$n = (a, b) => {
|
|
4835
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$o.call(b, prop)) __defNormalProp$n(a, prop, b[prop]);
|
|
4836
|
+
if (__getOwnPropSymbols$o) for (var prop of __getOwnPropSymbols$o(b)) {
|
|
4837
|
+
if (__propIsEnum$o.call(b, prop)) __defNormalProp$n(a, prop, b[prop]);
|
|
4758
4838
|
}
|
|
4759
4839
|
return a;
|
|
4760
4840
|
};
|
|
4761
|
-
var __spreadProps$
|
|
4762
|
-
var __objRest$
|
|
4841
|
+
var __spreadProps$k = (a, b) => __defProps$k(a, __getOwnPropDescs$k(b));
|
|
4842
|
+
var __objRest$a = (source, exclude) => {
|
|
4763
4843
|
var target = {};
|
|
4764
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4765
|
-
if (source != null && __getOwnPropSymbols$
|
|
4766
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4844
|
+
for (var prop in source) if (__hasOwnProp$o.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4845
|
+
if (source != null && __getOwnPropSymbols$o) for (var prop of __getOwnPropSymbols$o(source)) {
|
|
4846
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$o.call(source, prop)) target[prop] = source[prop];
|
|
4767
4847
|
}
|
|
4768
4848
|
return target;
|
|
4769
4849
|
};
|
|
@@ -4778,8 +4858,8 @@
|
|
|
4778
4858
|
secondaryContent,
|
|
4779
4859
|
icon
|
|
4780
4860
|
} = _b,
|
|
4781
|
-
props = __objRest$
|
|
4782
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$
|
|
4861
|
+
props = __objRest$a(_b, ["size", "color", "className", "primaryContent", "secondaryContent", "icon"]);
|
|
4862
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Tag, __spreadProps$k(__spreadValues$n({}, props), {
|
|
4783
4863
|
className: cs__default.default(className, TagStyle$1, Size$1[size], WrapperStyle, Typo.Label.l4_regular, {
|
|
4784
4864
|
[`ant-tag-${color}`]: PresetColors$3.includes(color)
|
|
4785
4865
|
}, "outside-tag")
|
|
@@ -4792,33 +4872,33 @@
|
|
|
4792
4872
|
}, icon), primaryContent), secondaryContent);
|
|
4793
4873
|
};
|
|
4794
4874
|
|
|
4795
|
-
var __defProp$
|
|
4796
|
-
var __defProps$
|
|
4797
|
-
var __getOwnPropDescs$
|
|
4798
|
-
var __getOwnPropSymbols$
|
|
4799
|
-
var __hasOwnProp$
|
|
4800
|
-
var __propIsEnum$
|
|
4801
|
-
var __defNormalProp$
|
|
4802
|
-
var __spreadValues$
|
|
4875
|
+
var __defProp$m = Object.defineProperty;
|
|
4876
|
+
var __defProps$j = Object.defineProperties;
|
|
4877
|
+
var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
|
|
4878
|
+
var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
|
|
4879
|
+
var __hasOwnProp$n = Object.prototype.hasOwnProperty;
|
|
4880
|
+
var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
|
|
4881
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4882
|
+
var __spreadValues$m = (a, b) => {
|
|
4803
4883
|
for (var prop in b || (b = {}))
|
|
4804
|
-
if (__hasOwnProp$
|
|
4805
|
-
__defNormalProp$
|
|
4806
|
-
if (__getOwnPropSymbols$
|
|
4807
|
-
for (var prop of __getOwnPropSymbols$
|
|
4808
|
-
if (__propIsEnum$
|
|
4809
|
-
__defNormalProp$
|
|
4884
|
+
if (__hasOwnProp$n.call(b, prop))
|
|
4885
|
+
__defNormalProp$m(a, prop, b[prop]);
|
|
4886
|
+
if (__getOwnPropSymbols$n)
|
|
4887
|
+
for (var prop of __getOwnPropSymbols$n(b)) {
|
|
4888
|
+
if (__propIsEnum$n.call(b, prop))
|
|
4889
|
+
__defNormalProp$m(a, prop, b[prop]);
|
|
4810
4890
|
}
|
|
4811
4891
|
return a;
|
|
4812
4892
|
};
|
|
4813
|
-
var __spreadProps$
|
|
4814
|
-
var __objRest$
|
|
4893
|
+
var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
|
|
4894
|
+
var __objRest$9 = (source, exclude) => {
|
|
4815
4895
|
var target = {};
|
|
4816
4896
|
for (var prop in source)
|
|
4817
|
-
if (__hasOwnProp$
|
|
4897
|
+
if (__hasOwnProp$n.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
4818
4898
|
target[prop] = source[prop];
|
|
4819
|
-
if (source != null && __getOwnPropSymbols$
|
|
4820
|
-
for (var prop of __getOwnPropSymbols$
|
|
4821
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4899
|
+
if (source != null && __getOwnPropSymbols$n)
|
|
4900
|
+
for (var prop of __getOwnPropSymbols$n(source)) {
|
|
4901
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$n.call(source, prop))
|
|
4822
4902
|
target[prop] = source[prop];
|
|
4823
4903
|
}
|
|
4824
4904
|
return target;
|
|
@@ -4843,7 +4923,7 @@
|
|
|
4843
4923
|
hoverable = false,
|
|
4844
4924
|
icon,
|
|
4845
4925
|
children
|
|
4846
|
-
} = _b, props = __objRest$
|
|
4926
|
+
} = _b, props = __objRest$9(_b, [
|
|
4847
4927
|
"size",
|
|
4848
4928
|
"color",
|
|
4849
4929
|
"className",
|
|
@@ -4854,7 +4934,7 @@
|
|
|
4854
4934
|
const computedColor = AntdColorMap[color] || color;
|
|
4855
4935
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
4856
4936
|
antd.Tag,
|
|
4857
|
-
__spreadProps$
|
|
4937
|
+
__spreadProps$j(__spreadValues$m({}, props), {
|
|
4858
4938
|
className: cs__default.default(className, Size$1[size], TagStyle$1, Typo.Label.l4_regular, {
|
|
4859
4939
|
[`ant-tag-${computedColor}`]: PresetColors$2.includes(computedColor),
|
|
4860
4940
|
"tag-hover": hoverable
|
|
@@ -4867,20 +4947,20 @@
|
|
|
4867
4947
|
);
|
|
4868
4948
|
};
|
|
4869
4949
|
const NameTag = (_c) => {
|
|
4870
|
-
var _d = _c, { className } = _d, props = __objRest$
|
|
4871
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Tag, __spreadValues$
|
|
4950
|
+
var _d = _c, { className } = _d, props = __objRest$9(_d, ["className"]);
|
|
4951
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Tag, __spreadValues$m({ className: cs__default.default(NameTagStyle, className) }, props));
|
|
4872
4952
|
};
|
|
4873
4953
|
Tag.SplitTag = SplitTag;
|
|
4874
4954
|
Tag.NameTag = NameTag;
|
|
4875
4955
|
|
|
4876
|
-
var __getOwnPropSymbols$
|
|
4877
|
-
var __hasOwnProp$
|
|
4878
|
-
var __propIsEnum$
|
|
4879
|
-
var __objRest$
|
|
4956
|
+
var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
|
|
4957
|
+
var __hasOwnProp$m = Object.prototype.hasOwnProperty;
|
|
4958
|
+
var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
|
|
4959
|
+
var __objRest$8 = (source, exclude) => {
|
|
4880
4960
|
var target = {};
|
|
4881
|
-
for (var prop in source) if (__hasOwnProp$
|
|
4882
|
-
if (source != null && __getOwnPropSymbols$
|
|
4883
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
4961
|
+
for (var prop in source) if (__hasOwnProp$m.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
4962
|
+
if (source != null && __getOwnPropSymbols$m) for (var prop of __getOwnPropSymbols$m(source)) {
|
|
4963
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$m.call(source, prop)) target[prop] = source[prop];
|
|
4884
4964
|
}
|
|
4885
4965
|
return target;
|
|
4886
4966
|
};
|
|
@@ -4891,7 +4971,7 @@
|
|
|
4891
4971
|
name,
|
|
4892
4972
|
i18nKey
|
|
4893
4973
|
} = _a,
|
|
4894
|
-
otherOption = __objRest$
|
|
4974
|
+
otherOption = __objRest$8(_a, ["name", "i18nKey"]);
|
|
4895
4975
|
return /* @__PURE__ */React__namespace.default.createElement(ParrotTrans, {
|
|
4896
4976
|
i18nKey,
|
|
4897
4977
|
tOptions: otherOption
|
|
@@ -4909,6 +4989,54 @@
|
|
|
4909
4989
|
propsAsIs: true
|
|
4910
4990
|
});
|
|
4911
4991
|
|
|
4992
|
+
var __defProp$l = Object.defineProperty;
|
|
4993
|
+
var __defProps$i = Object.defineProperties;
|
|
4994
|
+
var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
|
|
4995
|
+
var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
|
|
4996
|
+
var __hasOwnProp$l = Object.prototype.hasOwnProperty;
|
|
4997
|
+
var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
|
|
4998
|
+
var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, {
|
|
4999
|
+
enumerable: true,
|
|
5000
|
+
configurable: true,
|
|
5001
|
+
writable: true,
|
|
5002
|
+
value
|
|
5003
|
+
}) : obj[key] = value;
|
|
5004
|
+
var __spreadValues$l = (a, b) => {
|
|
5005
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$l.call(b, prop)) __defNormalProp$l(a, prop, b[prop]);
|
|
5006
|
+
if (__getOwnPropSymbols$l) for (var prop of __getOwnPropSymbols$l(b)) {
|
|
5007
|
+
if (__propIsEnum$l.call(b, prop)) __defNormalProp$l(a, prop, b[prop]);
|
|
5008
|
+
}
|
|
5009
|
+
return a;
|
|
5010
|
+
};
|
|
5011
|
+
var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
|
|
5012
|
+
var __objRest$7 = (source, exclude) => {
|
|
5013
|
+
var target = {};
|
|
5014
|
+
for (var prop in source) if (__hasOwnProp$l.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
5015
|
+
if (source != null && __getOwnPropSymbols$l) for (var prop of __getOwnPropSymbols$l(source)) {
|
|
5016
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$l.call(source, prop)) target[prop] = source[prop];
|
|
5017
|
+
}
|
|
5018
|
+
return target;
|
|
5019
|
+
};
|
|
5020
|
+
const LinkStyle = "lujuy3j";
|
|
5021
|
+
const Link = React__namespace.default.forwardRef((_a, ref) => {
|
|
5022
|
+
var _b = _a,
|
|
5023
|
+
{
|
|
5024
|
+
className,
|
|
5025
|
+
disabled,
|
|
5026
|
+
type
|
|
5027
|
+
} = _b,
|
|
5028
|
+
props = __objRest$7(_b, ["className", "disabled", "type"]);
|
|
5029
|
+
return /* @__PURE__ */React__namespace.default.createElement(Button, __spreadProps$i(__spreadValues$l({}, props), {
|
|
5030
|
+
ref,
|
|
5031
|
+
disabled,
|
|
5032
|
+
className: cs__default.default(LinkStyle, className, {
|
|
5033
|
+
"ui-kit-link-disabled": disabled,
|
|
5034
|
+
"ui-kit-link-subtle": type === "subtle"
|
|
5035
|
+
}),
|
|
5036
|
+
type: "link"
|
|
5037
|
+
}));
|
|
5038
|
+
});
|
|
5039
|
+
|
|
4912
5040
|
var __defProp$k = Object.defineProperty;
|
|
4913
5041
|
var __defProps$h = Object.defineProperties;
|
|
4914
5042
|
var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
|
|
@@ -5281,11 +5409,12 @@
|
|
|
5281
5409
|
return target;
|
|
5282
5410
|
};
|
|
5283
5411
|
const StepTitle = (props) => {
|
|
5284
|
-
const { current, step, index, isVerticalMode } = props;
|
|
5412
|
+
const { current, step, index, isVerticalMode, preview } = props;
|
|
5285
5413
|
const textRef = React.useRef(null);
|
|
5286
5414
|
const [tooltipEnable, setTooltipEnable] = React.useState({
|
|
5287
5415
|
visible: false
|
|
5288
5416
|
});
|
|
5417
|
+
const showCompletedIcon = !preview && index < current;
|
|
5289
5418
|
React.useLayoutEffect(() => {
|
|
5290
5419
|
if (textRef.current && textRef.current.offsetWidth < textRef.current.scrollWidth) {
|
|
5291
5420
|
setTooltipEnable({});
|
|
@@ -5296,7 +5425,7 @@
|
|
|
5296
5425
|
{
|
|
5297
5426
|
className: isVerticalMode ? VerticalStepContentStyle : HorizontalStepContentStyle
|
|
5298
5427
|
},
|
|
5299
|
-
/* @__PURE__ */ React__namespace.default.createElement("span", { className: "step-item-prefix-container" },
|
|
5428
|
+
/* @__PURE__ */ React__namespace.default.createElement("span", { className: "step-item-prefix-container" }, showCompletedIcon ? /* @__PURE__ */ React__namespace.default.createElement(iconsReact.CheckmarkDoneSuccessCorrect16SecondaryIcon, null) : index + 1),
|
|
5300
5429
|
/* @__PURE__ */ React__namespace.default.createElement("span", { ref: textRef, className: "step-item-title" }, /* @__PURE__ */ React__namespace.default.createElement("span", { className: "step-item-title" }, step.title))
|
|
5301
5430
|
));
|
|
5302
5431
|
};
|
|
@@ -5306,15 +5435,18 @@
|
|
|
5306
5435
|
direction,
|
|
5307
5436
|
containerClassname,
|
|
5308
5437
|
current = 0,
|
|
5309
|
-
disabled
|
|
5438
|
+
disabled,
|
|
5439
|
+
preview = false
|
|
5310
5440
|
} = _a, stepsProps = __objRest$6(_a, [
|
|
5311
5441
|
"stepsConfig",
|
|
5312
5442
|
"direction",
|
|
5313
5443
|
"containerClassname",
|
|
5314
5444
|
"current",
|
|
5315
|
-
"disabled"
|
|
5445
|
+
"disabled",
|
|
5446
|
+
"preview"
|
|
5316
5447
|
]);
|
|
5317
5448
|
const isVerticalMode = direction === "vertical";
|
|
5449
|
+
const isPreviewMode = isVerticalMode && preview;
|
|
5318
5450
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
5319
5451
|
"div",
|
|
5320
5452
|
{
|
|
@@ -5336,14 +5468,19 @@
|
|
|
5336
5468
|
__spreadProps$e(__spreadValues$h({
|
|
5337
5469
|
key: index
|
|
5338
5470
|
}, step), {
|
|
5339
|
-
disabled: disabled
|
|
5471
|
+
disabled: isPreviewMode ? false : disabled != null ? disabled : index > current,
|
|
5472
|
+
className: cs__default.default(
|
|
5473
|
+
step.className,
|
|
5474
|
+
isPreviewMode ? "preview-mode" : ""
|
|
5475
|
+
),
|
|
5340
5476
|
title: /* @__PURE__ */ React__namespace.default.createElement(
|
|
5341
5477
|
StepTitle,
|
|
5342
5478
|
{
|
|
5343
5479
|
index,
|
|
5344
5480
|
step,
|
|
5345
5481
|
current,
|
|
5346
|
-
isVerticalMode
|
|
5482
|
+
isVerticalMode,
|
|
5483
|
+
preview: isPreviewMode
|
|
5347
5484
|
}
|
|
5348
5485
|
)
|
|
5349
5486
|
})
|
|
@@ -7532,11 +7669,6 @@
|
|
|
7532
7669
|
}, Text);
|
|
7533
7670
|
};
|
|
7534
7671
|
|
|
7535
|
-
const SidebarSubtitle = (props) => {
|
|
7536
|
-
const { title, className } = props;
|
|
7537
|
-
return /* @__PURE__ */ React__namespace.default.createElement("span", { className: linaria.cx(Typo.Heading.h3_regular_upper, className) }, title);
|
|
7538
|
-
};
|
|
7539
|
-
|
|
7540
7672
|
function getAntdKit() {
|
|
7541
7673
|
const kit = {
|
|
7542
7674
|
loading: Loading,
|
|
@@ -7601,7 +7733,7 @@
|
|
|
7601
7733
|
timelineItem: antd.Timeline.Item,
|
|
7602
7734
|
checkboxGroup: antd.Checkbox.Group,
|
|
7603
7735
|
typographyText: antd.Typography.Text,
|
|
7604
|
-
cascader:
|
|
7736
|
+
cascader: Cascader,
|
|
7605
7737
|
upload: antd.Upload,
|
|
7606
7738
|
datePickerRangePicker: antd.DatePicker.RangePicker,
|
|
7607
7739
|
tableForm: TableForm,
|
|
@@ -7655,7 +7787,9 @@
|
|
|
7655
7787
|
GoBackButton: GobackButton,
|
|
7656
7788
|
SummaryTable,
|
|
7657
7789
|
SortableList,
|
|
7658
|
-
SidebarSubtitle
|
|
7790
|
+
SidebarSubtitle,
|
|
7791
|
+
Link,
|
|
7792
|
+
DropdownMenu
|
|
7659
7793
|
};
|
|
7660
7794
|
kit.option.isSelectOption = true;
|
|
7661
7795
|
kit.button.__ANT_BUTTON = true;
|
|
@@ -7980,6 +8114,7 @@
|
|
|
7980
8114
|
exports.CannotOperationInfo = CannotOperationInfo;
|
|
7981
8115
|
exports.ContentWrapper = ContentWrapper;
|
|
7982
8116
|
exports.Desc = Desc;
|
|
8117
|
+
exports.DropdownMenu = DropdownMenu;
|
|
7983
8118
|
exports.FailedLoad = FailedLoad;
|
|
7984
8119
|
exports.FullView = FullView;
|
|
7985
8120
|
exports.Icon = Icon;
|
|
@@ -7989,6 +8124,7 @@
|
|
|
7989
8124
|
exports.ModalActions = ModalActions;
|
|
7990
8125
|
exports.ModalStack = ModalStack;
|
|
7991
8126
|
exports.RadioDesc = RadioDesc;
|
|
8127
|
+
exports.RenderMenuItem = RenderMenuItem;
|
|
7992
8128
|
exports.Truncate = Truncate;
|
|
7993
8129
|
exports.Typo = Typo;
|
|
7994
8130
|
exports.UIKitProvider = UIKitProvider;
|