@cloudtower/eagle 0.26.21 → 0.26.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/StatusCapsule/__test__/h5_css.test.d.ts +1 -0
- package/dist/components/StatusCapsule/index.d.ts +8 -0
- package/dist/components.css +360 -286
- package/dist/esm/index.js +820 -735
- package/dist/esm/stats1.html +1 -1
- package/dist/spec/base.d.ts +9 -0
- package/dist/style.css +346 -272
- package/dist/umd/index.js +818 -733
- package/dist/umd/stats1.html +1 -1
- package/dist/variables.scss +19 -0
- package/package.json +5 -5
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Alert as Alert$1, Badge as Badge$1, Button as Button$1, Tooltip as Tooltip$1, Checkbox as Checkbox$1, Card as Card$1, Collapse, DatePicker, Select as Select$1, InputNumber as InputNumber$1, Input as Input$1, TimePicker as TimePicker$1, Form as Form$1, Modal as Modal$1, Steps as Steps$1, Dropdown, Menu, Progress as Progress$1, Radio as Radio$1, Switch as Switch$1, Table as Table$1, Space, List,
|
|
1
|
+
import { Alert as Alert$1, Badge as Badge$1, Button as Button$1, Tooltip as Tooltip$1, Checkbox as Checkbox$1, Card as Card$1, Collapse, DatePicker, Select as Select$1, InputNumber as InputNumber$1, Input as Input$1, TimePicker as TimePicker$1, Form as Form$1, Modal as Modal$1, Steps as Steps$1, Dropdown, Menu, Progress as Progress$1, Radio as Radio$1, Tag as Tag$1, Switch as Switch$1, Table as Table$1, Space, List, Row, Col, Tree, Divider, Skeleton, Layout, AutoComplete, Popover, Timeline, Typography, Cascader, Upload, Calendar, Tabs, message, Empty as Empty$1, TreeSelect, Drawer, ConfigProvider } from 'antd';
|
|
2
2
|
export { Col, Row } from 'antd';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default, { useState, useMemo, useRef, useCallback, useEffect, forwardRef, Fragment, useLayoutEffect, createContext, memo, useImperativeHandle, useContext } from 'react';
|
|
@@ -10,7 +10,7 @@ export * from '@cloudtower/parrot';
|
|
|
10
10
|
import { useTranslation, withTranslation } from 'react-i18next';
|
|
11
11
|
import { cx } from '@linaria/core';
|
|
12
12
|
import { styled } from '@linaria/react';
|
|
13
|
-
import { ArrowRightGrayIcon, ArrowChevronUp16SecondaryIcon, ArrowChevronDown16SecondaryIcon, CheckmarkDoneSuccessCorrect16SecondaryIcon, PlusAddCreateNew16SecondaryIcon, HandlePoint816SecondaryIcon, HandlePoint816BlueIcon, XmarkRemove16SecondaryIcon, XmarkRemove16RegularRedIcon, CheckmarkDoneSuccessCorrect16BlueIcon, XmarkRemoveSmall16RegularInheritIcon } from '@cloudtower/icons-react';
|
|
13
|
+
import { ArrowRightGrayIcon, ArrowChevronUp16SecondaryIcon, ArrowChevronDown16SecondaryIcon, Loading8GradientBlueIcon, CheckmarkDoneSuccessCorrect16SecondaryIcon, PlusAddCreateNew16SecondaryIcon, HandlePoint816SecondaryIcon, HandlePoint816BlueIcon, XmarkRemove16SecondaryIcon, XmarkRemove16RegularRedIcon, CheckmarkDoneSuccessCorrect16BlueIcon, XmarkRemoveSmall16RegularInheritIcon } from '@cloudtower/icons-react';
|
|
14
14
|
import moment from 'moment';
|
|
15
15
|
import { findDOMNode } from 'react-dom';
|
|
16
16
|
import { isElement } from 'react-is';
|
|
@@ -252,30 +252,30 @@ function getAlertIcon(type) {
|
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
|
|
255
|
-
var __defProp$
|
|
256
|
-
var __getOwnPropSymbols$
|
|
257
|
-
var __hasOwnProp$
|
|
258
|
-
var __propIsEnum$
|
|
259
|
-
var __defNormalProp$
|
|
260
|
-
var __spreadValues$
|
|
255
|
+
var __defProp$T = Object.defineProperty;
|
|
256
|
+
var __getOwnPropSymbols$U = Object.getOwnPropertySymbols;
|
|
257
|
+
var __hasOwnProp$U = Object.prototype.hasOwnProperty;
|
|
258
|
+
var __propIsEnum$U = Object.prototype.propertyIsEnumerable;
|
|
259
|
+
var __defNormalProp$T = (obj, key, value) => key in obj ? __defProp$T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
260
|
+
var __spreadValues$T = (a, b) => {
|
|
261
261
|
for (var prop in b || (b = {}))
|
|
262
|
-
if (__hasOwnProp$
|
|
263
|
-
__defNormalProp$
|
|
264
|
-
if (__getOwnPropSymbols$
|
|
265
|
-
for (var prop of __getOwnPropSymbols$
|
|
266
|
-
if (__propIsEnum$
|
|
267
|
-
__defNormalProp$
|
|
262
|
+
if (__hasOwnProp$U.call(b, prop))
|
|
263
|
+
__defNormalProp$T(a, prop, b[prop]);
|
|
264
|
+
if (__getOwnPropSymbols$U)
|
|
265
|
+
for (var prop of __getOwnPropSymbols$U(b)) {
|
|
266
|
+
if (__propIsEnum$U.call(b, prop))
|
|
267
|
+
__defNormalProp$T(a, prop, b[prop]);
|
|
268
268
|
}
|
|
269
269
|
return a;
|
|
270
270
|
};
|
|
271
|
-
var __objRest$
|
|
271
|
+
var __objRest$x = (source, exclude) => {
|
|
272
272
|
var target = {};
|
|
273
273
|
for (var prop in source)
|
|
274
|
-
if (__hasOwnProp$
|
|
274
|
+
if (__hasOwnProp$U.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
275
275
|
target[prop] = source[prop];
|
|
276
|
-
if (source != null && __getOwnPropSymbols$
|
|
277
|
-
for (var prop of __getOwnPropSymbols$
|
|
278
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
276
|
+
if (source != null && __getOwnPropSymbols$U)
|
|
277
|
+
for (var prop of __getOwnPropSymbols$U(source)) {
|
|
278
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$U.call(source, prop))
|
|
279
279
|
target[prop] = source[prop];
|
|
280
280
|
}
|
|
281
281
|
return target;
|
|
@@ -293,7 +293,7 @@ const BaseIcon = React__default.forwardRef(
|
|
|
293
293
|
prefixNode,
|
|
294
294
|
suffixIconSrc: SuffixSrc,
|
|
295
295
|
src: Src
|
|
296
|
-
} = _a, HTMLSpanElementProps = __objRest$
|
|
296
|
+
} = _a, HTMLSpanElementProps = __objRest$x(_a, [
|
|
297
297
|
"alt",
|
|
298
298
|
"className",
|
|
299
299
|
"width",
|
|
@@ -307,10 +307,10 @@ const BaseIcon = React__default.forwardRef(
|
|
|
307
307
|
]);
|
|
308
308
|
return /* @__PURE__ */ React__default.createElement(
|
|
309
309
|
"span",
|
|
310
|
-
__spreadValues$
|
|
310
|
+
__spreadValues$T({
|
|
311
311
|
ref,
|
|
312
312
|
className,
|
|
313
|
-
style: _.pickBy(__spreadValues$
|
|
313
|
+
style: _.pickBy(__spreadValues$T({ cursor }, style))
|
|
314
314
|
}, HTMLSpanElementProps),
|
|
315
315
|
prefixNode,
|
|
316
316
|
/* @__PURE__ */ React__default.createElement("span", { className: "icon-inner" }, typeof Src === "string" ? /* @__PURE__ */ React__default.createElement("img", { alt, src: Src, width, height }) : /* @__PURE__ */ React__default.createElement(SVGUniqueID, null, Src({ width, height }))),
|
|
@@ -320,31 +320,31 @@ const BaseIcon = React__default.forwardRef(
|
|
|
320
320
|
}
|
|
321
321
|
);
|
|
322
322
|
|
|
323
|
-
var __defProp$
|
|
324
|
-
var __defProps$
|
|
325
|
-
var __getOwnPropDescs$
|
|
326
|
-
var __getOwnPropSymbols$
|
|
327
|
-
var __hasOwnProp$
|
|
328
|
-
var __propIsEnum$
|
|
329
|
-
var __defNormalProp$
|
|
323
|
+
var __defProp$S = Object.defineProperty;
|
|
324
|
+
var __defProps$C = Object.defineProperties;
|
|
325
|
+
var __getOwnPropDescs$C = Object.getOwnPropertyDescriptors;
|
|
326
|
+
var __getOwnPropSymbols$T = Object.getOwnPropertySymbols;
|
|
327
|
+
var __hasOwnProp$T = Object.prototype.hasOwnProperty;
|
|
328
|
+
var __propIsEnum$T = Object.prototype.propertyIsEnumerable;
|
|
329
|
+
var __defNormalProp$S = (obj, key, value) => key in obj ? __defProp$S(obj, key, {
|
|
330
330
|
enumerable: true,
|
|
331
331
|
configurable: true,
|
|
332
332
|
writable: true,
|
|
333
333
|
value
|
|
334
334
|
}) : obj[key] = value;
|
|
335
|
-
var __spreadValues$
|
|
336
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
337
|
-
if (__getOwnPropSymbols$
|
|
338
|
-
if (__propIsEnum$
|
|
335
|
+
var __spreadValues$S = (a, b) => {
|
|
336
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$T.call(b, prop)) __defNormalProp$S(a, prop, b[prop]);
|
|
337
|
+
if (__getOwnPropSymbols$T) for (var prop of __getOwnPropSymbols$T(b)) {
|
|
338
|
+
if (__propIsEnum$T.call(b, prop)) __defNormalProp$S(a, prop, b[prop]);
|
|
339
339
|
}
|
|
340
340
|
return a;
|
|
341
341
|
};
|
|
342
|
-
var __spreadProps$
|
|
343
|
-
var __objRest$
|
|
342
|
+
var __spreadProps$C = (a, b) => __defProps$C(a, __getOwnPropDescs$C(b));
|
|
343
|
+
var __objRest$w = (source, exclude) => {
|
|
344
344
|
var target = {};
|
|
345
|
-
for (var prop in source) if (__hasOwnProp$
|
|
346
|
-
if (source != null && __getOwnPropSymbols$
|
|
347
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
345
|
+
for (var prop in source) if (__hasOwnProp$T.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
346
|
+
if (source != null && __getOwnPropSymbols$T) for (var prop of __getOwnPropSymbols$T(source)) {
|
|
347
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$T.call(source, prop)) target[prop] = source[prop];
|
|
348
348
|
}
|
|
349
349
|
return target;
|
|
350
350
|
};
|
|
@@ -368,7 +368,7 @@ const Icon = React__default.forwardRef((props, ref) => {
|
|
|
368
368
|
prefix,
|
|
369
369
|
suffix
|
|
370
370
|
} = _a,
|
|
371
|
-
restProps = __objRest$
|
|
371
|
+
restProps = __objRest$w(_a, ["src", "hoverSrc", "active", "activeSrc", "onMouseEnter", "onMouseLeave", "onMouseMove", "className", "iconWidth", "iconHeight", "cursor", "style", "isRotate", "prefix", "suffix"]);
|
|
372
372
|
const [hover, setHover] = useState(false);
|
|
373
373
|
const _src = useMemo(() => {
|
|
374
374
|
if (active && activeSrc) {
|
|
@@ -396,14 +396,14 @@ const Icon = React__default.forwardRef((props, ref) => {
|
|
|
396
396
|
}
|
|
397
397
|
return src2;
|
|
398
398
|
}, [active, hover, suffix]);
|
|
399
|
-
return /* @__PURE__ */React__default.createElement(BaseIcon, __spreadProps$
|
|
399
|
+
return /* @__PURE__ */React__default.createElement(BaseIcon, __spreadProps$C(__spreadValues$S({
|
|
400
400
|
src: _src,
|
|
401
401
|
className: cs(IconWrapper, "icon-wrapper", className, isRotate && "is-rotate"),
|
|
402
402
|
suffixIconSrc,
|
|
403
403
|
height: iconHeight,
|
|
404
404
|
width: iconWidth,
|
|
405
405
|
prefixNode: prefix,
|
|
406
|
-
style: _.pickBy(__spreadValues$
|
|
406
|
+
style: _.pickBy(__spreadValues$S({
|
|
407
407
|
cursor
|
|
408
408
|
}, style))
|
|
409
409
|
}, restProps), {
|
|
@@ -428,31 +428,31 @@ const Icon = React__default.forwardRef((props, ref) => {
|
|
|
428
428
|
}));
|
|
429
429
|
});
|
|
430
430
|
|
|
431
|
-
var __defProp$
|
|
432
|
-
var __defProps$
|
|
433
|
-
var __getOwnPropDescs$
|
|
434
|
-
var __getOwnPropSymbols$
|
|
435
|
-
var __hasOwnProp$
|
|
436
|
-
var __propIsEnum$
|
|
437
|
-
var __defNormalProp$
|
|
431
|
+
var __defProp$R = Object.defineProperty;
|
|
432
|
+
var __defProps$B = Object.defineProperties;
|
|
433
|
+
var __getOwnPropDescs$B = Object.getOwnPropertyDescriptors;
|
|
434
|
+
var __getOwnPropSymbols$S = Object.getOwnPropertySymbols;
|
|
435
|
+
var __hasOwnProp$S = Object.prototype.hasOwnProperty;
|
|
436
|
+
var __propIsEnum$S = Object.prototype.propertyIsEnumerable;
|
|
437
|
+
var __defNormalProp$R = (obj, key, value) => key in obj ? __defProp$R(obj, key, {
|
|
438
438
|
enumerable: true,
|
|
439
439
|
configurable: true,
|
|
440
440
|
writable: true,
|
|
441
441
|
value
|
|
442
442
|
}) : obj[key] = value;
|
|
443
|
-
var __spreadValues$
|
|
444
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
445
|
-
if (__getOwnPropSymbols$
|
|
446
|
-
if (__propIsEnum$
|
|
443
|
+
var __spreadValues$R = (a, b) => {
|
|
444
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$S.call(b, prop)) __defNormalProp$R(a, prop, b[prop]);
|
|
445
|
+
if (__getOwnPropSymbols$S) for (var prop of __getOwnPropSymbols$S(b)) {
|
|
446
|
+
if (__propIsEnum$S.call(b, prop)) __defNormalProp$R(a, prop, b[prop]);
|
|
447
447
|
}
|
|
448
448
|
return a;
|
|
449
449
|
};
|
|
450
|
-
var __spreadProps$
|
|
451
|
-
var __objRest$
|
|
450
|
+
var __spreadProps$B = (a, b) => __defProps$B(a, __getOwnPropDescs$B(b));
|
|
451
|
+
var __objRest$v = (source, exclude) => {
|
|
452
452
|
var target = {};
|
|
453
|
-
for (var prop in source) if (__hasOwnProp$
|
|
454
|
-
if (source != null && __getOwnPropSymbols$
|
|
455
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
453
|
+
for (var prop in source) if (__hasOwnProp$S.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
454
|
+
if (source != null && __getOwnPropSymbols$S) for (var prop of __getOwnPropSymbols$S(source)) {
|
|
455
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$S.call(source, prop)) target[prop] = source[prop];
|
|
456
456
|
}
|
|
457
457
|
return target;
|
|
458
458
|
};
|
|
@@ -470,13 +470,13 @@ const Alert = _a => {
|
|
|
470
470
|
action,
|
|
471
471
|
message
|
|
472
472
|
} = _b,
|
|
473
|
-
props = __objRest$
|
|
473
|
+
props = __objRest$v(_b, ["type", "icon", "showIcon", "className", "onClose", "closeText", "action", "message"]);
|
|
474
474
|
const _icon = /* @__PURE__ */React__default.createElement(Icon, {
|
|
475
475
|
alt: type,
|
|
476
476
|
src: getAlertIcon(type)
|
|
477
477
|
});
|
|
478
478
|
const _type = type === "normal" ? "info" : type;
|
|
479
|
-
return /* @__PURE__ */React__default.createElement(Alert$1, __spreadProps$
|
|
479
|
+
return /* @__PURE__ */React__default.createElement(Alert$1, __spreadProps$B(__spreadValues$R({}, props), {
|
|
480
480
|
className: cs(AlertStyle, type ? `alert-${type}` : "", className, {
|
|
481
481
|
action
|
|
482
482
|
}),
|
|
@@ -514,42 +514,42 @@ const Arch = (props) => {
|
|
|
514
514
|
return /* @__PURE__ */ React__default.createElement("span", null, text);
|
|
515
515
|
};
|
|
516
516
|
|
|
517
|
-
var __defProp$
|
|
518
|
-
var __defProps$
|
|
519
|
-
var __getOwnPropDescs$
|
|
520
|
-
var __getOwnPropSymbols$
|
|
521
|
-
var __hasOwnProp$
|
|
522
|
-
var __propIsEnum$
|
|
523
|
-
var __defNormalProp$
|
|
524
|
-
var __spreadValues$
|
|
517
|
+
var __defProp$Q = Object.defineProperty;
|
|
518
|
+
var __defProps$A = Object.defineProperties;
|
|
519
|
+
var __getOwnPropDescs$A = Object.getOwnPropertyDescriptors;
|
|
520
|
+
var __getOwnPropSymbols$R = Object.getOwnPropertySymbols;
|
|
521
|
+
var __hasOwnProp$R = Object.prototype.hasOwnProperty;
|
|
522
|
+
var __propIsEnum$R = Object.prototype.propertyIsEnumerable;
|
|
523
|
+
var __defNormalProp$Q = (obj, key, value) => key in obj ? __defProp$Q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
524
|
+
var __spreadValues$Q = (a, b) => {
|
|
525
525
|
for (var prop in b || (b = {}))
|
|
526
|
-
if (__hasOwnProp$
|
|
527
|
-
__defNormalProp$
|
|
528
|
-
if (__getOwnPropSymbols$
|
|
529
|
-
for (var prop of __getOwnPropSymbols$
|
|
530
|
-
if (__propIsEnum$
|
|
531
|
-
__defNormalProp$
|
|
526
|
+
if (__hasOwnProp$R.call(b, prop))
|
|
527
|
+
__defNormalProp$Q(a, prop, b[prop]);
|
|
528
|
+
if (__getOwnPropSymbols$R)
|
|
529
|
+
for (var prop of __getOwnPropSymbols$R(b)) {
|
|
530
|
+
if (__propIsEnum$R.call(b, prop))
|
|
531
|
+
__defNormalProp$Q(a, prop, b[prop]);
|
|
532
532
|
}
|
|
533
533
|
return a;
|
|
534
534
|
};
|
|
535
|
-
var __spreadProps$
|
|
536
|
-
var __objRest$
|
|
535
|
+
var __spreadProps$A = (a, b) => __defProps$A(a, __getOwnPropDescs$A(b));
|
|
536
|
+
var __objRest$u = (source, exclude) => {
|
|
537
537
|
var target = {};
|
|
538
538
|
for (var prop in source)
|
|
539
|
-
if (__hasOwnProp$
|
|
539
|
+
if (__hasOwnProp$R.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
540
540
|
target[prop] = source[prop];
|
|
541
|
-
if (source != null && __getOwnPropSymbols$
|
|
542
|
-
for (var prop of __getOwnPropSymbols$
|
|
543
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
541
|
+
if (source != null && __getOwnPropSymbols$R)
|
|
542
|
+
for (var prop of __getOwnPropSymbols$R(source)) {
|
|
543
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$R.call(source, prop))
|
|
544
544
|
target[prop] = source[prop];
|
|
545
545
|
}
|
|
546
546
|
return target;
|
|
547
547
|
};
|
|
548
548
|
const Badge = (_a) => {
|
|
549
|
-
var _b = _a, { type = "error", className } = _b, props = __objRest$
|
|
549
|
+
var _b = _a, { type = "error", className } = _b, props = __objRest$u(_b, ["type", "className"]);
|
|
550
550
|
return /* @__PURE__ */ React__default.createElement(
|
|
551
551
|
Badge$1,
|
|
552
|
-
__spreadProps$
|
|
552
|
+
__spreadProps$A(__spreadValues$Q({
|
|
553
553
|
className: cx(`badge-${type}`, className)
|
|
554
554
|
}, props), {
|
|
555
555
|
showZero: false
|
|
@@ -569,6 +569,36 @@ const Empty = (props) => {
|
|
|
569
569
|
return /* @__PURE__ */ React__default.createElement("span", { className, style }, "-");
|
|
570
570
|
};
|
|
571
571
|
|
|
572
|
+
var __defProp$P = Object.defineProperty;
|
|
573
|
+
var __getOwnPropSymbols$Q = Object.getOwnPropertySymbols;
|
|
574
|
+
var __hasOwnProp$Q = Object.prototype.hasOwnProperty;
|
|
575
|
+
var __propIsEnum$Q = Object.prototype.propertyIsEnumerable;
|
|
576
|
+
var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
577
|
+
var __spreadValues$P = (a, b) => {
|
|
578
|
+
for (var prop in b || (b = {}))
|
|
579
|
+
if (__hasOwnProp$Q.call(b, prop))
|
|
580
|
+
__defNormalProp$P(a, prop, b[prop]);
|
|
581
|
+
if (__getOwnPropSymbols$Q)
|
|
582
|
+
for (var prop of __getOwnPropSymbols$Q(b)) {
|
|
583
|
+
if (__propIsEnum$Q.call(b, prop))
|
|
584
|
+
__defNormalProp$P(a, prop, b[prop]);
|
|
585
|
+
}
|
|
586
|
+
return a;
|
|
587
|
+
};
|
|
588
|
+
const Bit = ({
|
|
589
|
+
rawValue,
|
|
590
|
+
decimals,
|
|
591
|
+
unitClassName,
|
|
592
|
+
valueClassName,
|
|
593
|
+
emptyProps
|
|
594
|
+
}) => {
|
|
595
|
+
if (isEmpty(rawValue)) {
|
|
596
|
+
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$P({}, emptyProps));
|
|
597
|
+
}
|
|
598
|
+
const { value, unit } = formatBits(rawValue, decimals);
|
|
599
|
+
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
600
|
+
};
|
|
601
|
+
|
|
572
602
|
var __defProp$O = Object.defineProperty;
|
|
573
603
|
var __getOwnPropSymbols$P = Object.getOwnPropertySymbols;
|
|
574
604
|
var __hasOwnProp$P = Object.prototype.hasOwnProperty;
|
|
@@ -585,17 +615,17 @@ var __spreadValues$O = (a, b) => {
|
|
|
585
615
|
}
|
|
586
616
|
return a;
|
|
587
617
|
};
|
|
588
|
-
const
|
|
618
|
+
const BitPerSeconds = ({
|
|
589
619
|
rawValue,
|
|
590
620
|
decimals,
|
|
591
|
-
unitClassName,
|
|
592
621
|
valueClassName,
|
|
622
|
+
unitClassName,
|
|
593
623
|
emptyProps
|
|
594
624
|
}) => {
|
|
595
625
|
if (isEmpty(rawValue)) {
|
|
596
626
|
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$O({}, emptyProps));
|
|
597
627
|
}
|
|
598
|
-
const { value, unit } =
|
|
628
|
+
const { value, unit } = formatBitPerSecond(rawValue, decimals);
|
|
599
629
|
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
600
630
|
};
|
|
601
631
|
|
|
@@ -615,36 +645,6 @@ var __spreadValues$N = (a, b) => {
|
|
|
615
645
|
}
|
|
616
646
|
return a;
|
|
617
647
|
};
|
|
618
|
-
const BitPerSeconds = ({
|
|
619
|
-
rawValue,
|
|
620
|
-
decimals,
|
|
621
|
-
valueClassName,
|
|
622
|
-
unitClassName,
|
|
623
|
-
emptyProps
|
|
624
|
-
}) => {
|
|
625
|
-
if (isEmpty(rawValue)) {
|
|
626
|
-
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$N({}, emptyProps));
|
|
627
|
-
}
|
|
628
|
-
const { value, unit } = formatBitPerSecond(rawValue, decimals);
|
|
629
|
-
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
630
|
-
};
|
|
631
|
-
|
|
632
|
-
var __defProp$M = Object.defineProperty;
|
|
633
|
-
var __getOwnPropSymbols$N = Object.getOwnPropertySymbols;
|
|
634
|
-
var __hasOwnProp$N = Object.prototype.hasOwnProperty;
|
|
635
|
-
var __propIsEnum$N = Object.prototype.propertyIsEnumerable;
|
|
636
|
-
var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
637
|
-
var __spreadValues$M = (a, b) => {
|
|
638
|
-
for (var prop in b || (b = {}))
|
|
639
|
-
if (__hasOwnProp$N.call(b, prop))
|
|
640
|
-
__defNormalProp$M(a, prop, b[prop]);
|
|
641
|
-
if (__getOwnPropSymbols$N)
|
|
642
|
-
for (var prop of __getOwnPropSymbols$N(b)) {
|
|
643
|
-
if (__propIsEnum$N.call(b, prop))
|
|
644
|
-
__defNormalProp$M(a, prop, b[prop]);
|
|
645
|
-
}
|
|
646
|
-
return a;
|
|
647
|
-
};
|
|
648
648
|
const Bps = ({
|
|
649
649
|
rawValue,
|
|
650
650
|
decimals,
|
|
@@ -653,7 +653,7 @@ const Bps = ({
|
|
|
653
653
|
emptyProps
|
|
654
654
|
}) => {
|
|
655
655
|
if (isEmpty(rawValue)) {
|
|
656
|
-
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$
|
|
656
|
+
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$N({}, emptyProps));
|
|
657
657
|
}
|
|
658
658
|
const { value, unit } = formatBps(rawValue, decimals);
|
|
659
659
|
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
@@ -794,28 +794,28 @@ const HoverableElement = (props) => {
|
|
|
794
794
|
return icon != null ? React__default.cloneElement(icon, { className }) : null;
|
|
795
795
|
};
|
|
796
796
|
|
|
797
|
-
var __defProp$
|
|
798
|
-
var __getOwnPropSymbols$
|
|
799
|
-
var __hasOwnProp$
|
|
800
|
-
var __propIsEnum$
|
|
801
|
-
var __defNormalProp$
|
|
797
|
+
var __defProp$M = Object.defineProperty;
|
|
798
|
+
var __getOwnPropSymbols$N = Object.getOwnPropertySymbols;
|
|
799
|
+
var __hasOwnProp$N = Object.prototype.hasOwnProperty;
|
|
800
|
+
var __propIsEnum$N = Object.prototype.propertyIsEnumerable;
|
|
801
|
+
var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, {
|
|
802
802
|
enumerable: true,
|
|
803
803
|
configurable: true,
|
|
804
804
|
writable: true,
|
|
805
805
|
value
|
|
806
806
|
}) : obj[key] = value;
|
|
807
|
-
var __spreadValues$
|
|
808
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
809
|
-
if (__getOwnPropSymbols$
|
|
810
|
-
if (__propIsEnum$
|
|
807
|
+
var __spreadValues$M = (a, b) => {
|
|
808
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$N.call(b, prop)) __defNormalProp$M(a, prop, b[prop]);
|
|
809
|
+
if (__getOwnPropSymbols$N) for (var prop of __getOwnPropSymbols$N(b)) {
|
|
810
|
+
if (__propIsEnum$N.call(b, prop)) __defNormalProp$M(a, prop, b[prop]);
|
|
811
811
|
}
|
|
812
812
|
return a;
|
|
813
813
|
};
|
|
814
|
-
var __objRest$
|
|
814
|
+
var __objRest$t = (source, exclude) => {
|
|
815
815
|
var target = {};
|
|
816
|
-
for (var prop in source) if (__hasOwnProp$
|
|
817
|
-
if (source != null && __getOwnPropSymbols$
|
|
818
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
816
|
+
for (var prop in source) if (__hasOwnProp$N.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
817
|
+
if (source != null && __getOwnPropSymbols$N) for (var prop of __getOwnPropSymbols$N(source)) {
|
|
818
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$N.call(source, prop)) target[prop] = source[prop];
|
|
819
819
|
}
|
|
820
820
|
return target;
|
|
821
821
|
};
|
|
@@ -838,12 +838,12 @@ const Button = React__default.forwardRef((props, ref) => {
|
|
|
838
838
|
onMouseLeave,
|
|
839
839
|
size = "middle"
|
|
840
840
|
} = _a,
|
|
841
|
-
restProps = __objRest$
|
|
841
|
+
restProps = __objRest$t(_a, ["type", "className", "children", "prefixIcon", "hoverPrefixIcon", "suffixIcon", "hoverSuffixIcon", "onMouseEnter", "onMouseLeave", "size"]);
|
|
842
842
|
const [status, setStatus] = useState("normal");
|
|
843
843
|
const hasIcon = prefixIcon || suffixIcon;
|
|
844
844
|
const hasHoverIcon = hoverPrefixIcon || hoverSuffixIcon;
|
|
845
845
|
const onlyIcon = !children && (prefixIcon || suffixIcon);
|
|
846
|
-
return /* @__PURE__ */React__default.createElement(Button$1, __spreadValues$
|
|
846
|
+
return /* @__PURE__ */React__default.createElement(Button$1, __spreadValues$M({
|
|
847
847
|
ref,
|
|
848
848
|
className: cs(className, ButtonStyle$1, type === "link" && NoPadding, (prefixIcon || suffixIcon) && "has-icon", 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"),
|
|
849
849
|
type: isAntdButtonTypes(type) ? type : void 0,
|
|
@@ -873,33 +873,33 @@ const Button = React__default.forwardRef((props, ref) => {
|
|
|
873
873
|
}));
|
|
874
874
|
});
|
|
875
875
|
|
|
876
|
-
var __defProp$
|
|
877
|
-
var __defProps$
|
|
878
|
-
var __getOwnPropDescs$
|
|
879
|
-
var __getOwnPropSymbols$
|
|
880
|
-
var __hasOwnProp$
|
|
881
|
-
var __propIsEnum$
|
|
882
|
-
var __defNormalProp$
|
|
883
|
-
var __spreadValues$
|
|
876
|
+
var __defProp$L = Object.defineProperty;
|
|
877
|
+
var __defProps$z = Object.defineProperties;
|
|
878
|
+
var __getOwnPropDescs$z = Object.getOwnPropertyDescriptors;
|
|
879
|
+
var __getOwnPropSymbols$M = Object.getOwnPropertySymbols;
|
|
880
|
+
var __hasOwnProp$M = Object.prototype.hasOwnProperty;
|
|
881
|
+
var __propIsEnum$M = Object.prototype.propertyIsEnumerable;
|
|
882
|
+
var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
883
|
+
var __spreadValues$L = (a, b) => {
|
|
884
884
|
for (var prop in b || (b = {}))
|
|
885
|
-
if (__hasOwnProp$
|
|
886
|
-
__defNormalProp$
|
|
887
|
-
if (__getOwnPropSymbols$
|
|
888
|
-
for (var prop of __getOwnPropSymbols$
|
|
889
|
-
if (__propIsEnum$
|
|
890
|
-
__defNormalProp$
|
|
885
|
+
if (__hasOwnProp$M.call(b, prop))
|
|
886
|
+
__defNormalProp$L(a, prop, b[prop]);
|
|
887
|
+
if (__getOwnPropSymbols$M)
|
|
888
|
+
for (var prop of __getOwnPropSymbols$M(b)) {
|
|
889
|
+
if (__propIsEnum$M.call(b, prop))
|
|
890
|
+
__defNormalProp$L(a, prop, b[prop]);
|
|
891
891
|
}
|
|
892
892
|
return a;
|
|
893
893
|
};
|
|
894
|
-
var __spreadProps$
|
|
895
|
-
var __objRest$
|
|
894
|
+
var __spreadProps$z = (a, b) => __defProps$z(a, __getOwnPropDescs$z(b));
|
|
895
|
+
var __objRest$s = (source, exclude) => {
|
|
896
896
|
var target = {};
|
|
897
897
|
for (var prop in source)
|
|
898
|
-
if (__hasOwnProp$
|
|
898
|
+
if (__hasOwnProp$M.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
899
899
|
target[prop] = source[prop];
|
|
900
|
-
if (source != null && __getOwnPropSymbols$
|
|
901
|
-
for (var prop of __getOwnPropSymbols$
|
|
902
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
900
|
+
if (source != null && __getOwnPropSymbols$M)
|
|
901
|
+
for (var prop of __getOwnPropSymbols$M(source)) {
|
|
902
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$M.call(source, prop))
|
|
903
903
|
target[prop] = source[prop];
|
|
904
904
|
}
|
|
905
905
|
return target;
|
|
@@ -911,7 +911,7 @@ const Tooltip = (props) => {
|
|
|
911
911
|
overlayClassName,
|
|
912
912
|
overlayStyle,
|
|
913
913
|
children
|
|
914
|
-
} = _a, restProps = __objRest$
|
|
914
|
+
} = _a, restProps = __objRest$s(_a, [
|
|
915
915
|
"followMouse",
|
|
916
916
|
"overlayClassName",
|
|
917
917
|
"overlayStyle",
|
|
@@ -953,10 +953,10 @@ const Tooltip = (props) => {
|
|
|
953
953
|
}, [followMouse, onmousemove, uniqueContainerClass]);
|
|
954
954
|
return /* @__PURE__ */ React__default.createElement(
|
|
955
955
|
Tooltip$1,
|
|
956
|
-
__spreadProps$
|
|
956
|
+
__spreadProps$z(__spreadValues$L({}, restProps), {
|
|
957
957
|
overlayClassName: followMouse ? cs(overlayClassName, uniquePopupClass) : overlayClassName,
|
|
958
958
|
children: _children,
|
|
959
|
-
overlayStyle: followMouse ? __spreadValues$
|
|
959
|
+
overlayStyle: followMouse ? __spreadValues$L({
|
|
960
960
|
transform: "translate(-50%, -100%)",
|
|
961
961
|
pointerEvents: "none"
|
|
962
962
|
}, overlayStyle) : overlayStyle
|
|
@@ -964,28 +964,28 @@ const Tooltip = (props) => {
|
|
|
964
964
|
);
|
|
965
965
|
};
|
|
966
966
|
|
|
967
|
-
var __defProp$
|
|
968
|
-
var __getOwnPropSymbols$
|
|
969
|
-
var __hasOwnProp$
|
|
970
|
-
var __propIsEnum$
|
|
971
|
-
var __defNormalProp$
|
|
967
|
+
var __defProp$K = Object.defineProperty;
|
|
968
|
+
var __getOwnPropSymbols$L = Object.getOwnPropertySymbols;
|
|
969
|
+
var __hasOwnProp$L = Object.prototype.hasOwnProperty;
|
|
970
|
+
var __propIsEnum$L = Object.prototype.propertyIsEnumerable;
|
|
971
|
+
var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, {
|
|
972
972
|
enumerable: true,
|
|
973
973
|
configurable: true,
|
|
974
974
|
writable: true,
|
|
975
975
|
value
|
|
976
976
|
}) : obj[key] = value;
|
|
977
|
-
var __spreadValues$
|
|
978
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
979
|
-
if (__getOwnPropSymbols$
|
|
980
|
-
if (__propIsEnum$
|
|
977
|
+
var __spreadValues$K = (a, b) => {
|
|
978
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$L.call(b, prop)) __defNormalProp$K(a, prop, b[prop]);
|
|
979
|
+
if (__getOwnPropSymbols$L) for (var prop of __getOwnPropSymbols$L(b)) {
|
|
980
|
+
if (__propIsEnum$L.call(b, prop)) __defNormalProp$K(a, prop, b[prop]);
|
|
981
981
|
}
|
|
982
982
|
return a;
|
|
983
983
|
};
|
|
984
|
-
var __objRest$
|
|
984
|
+
var __objRest$r = (source, exclude) => {
|
|
985
985
|
var target = {};
|
|
986
|
-
for (var prop in source) if (__hasOwnProp$
|
|
987
|
-
if (source != null && __getOwnPropSymbols$
|
|
988
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
986
|
+
for (var prop in source) if (__hasOwnProp$L.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
987
|
+
if (source != null && __getOwnPropSymbols$L) for (var prop of __getOwnPropSymbols$L(source)) {
|
|
988
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$L.call(source, prop)) target[prop] = source[prop];
|
|
989
989
|
}
|
|
990
990
|
return target;
|
|
991
991
|
};
|
|
@@ -1020,7 +1020,7 @@ const ButtonGroup = React__default.forwardRef((props, ref) => {
|
|
|
1020
1020
|
hideTitle,
|
|
1021
1021
|
title
|
|
1022
1022
|
} = _a,
|
|
1023
|
-
buttonPropArgs = __objRest$
|
|
1023
|
+
buttonPropArgs = __objRest$r(_a, ["key", "icon", "type", "children", "danger", "ghost", "className", "hideTitle", "title"]);
|
|
1024
1024
|
if (hideTitle) {
|
|
1025
1025
|
return /* @__PURE__ */React__default.createElement(Tooltip, {
|
|
1026
1026
|
key: key || index,
|
|
@@ -1029,7 +1029,7 @@ const ButtonGroup = React__default.forwardRef((props, ref) => {
|
|
|
1029
1029
|
style: {
|
|
1030
1030
|
cursor: "not-allowed"
|
|
1031
1031
|
}
|
|
1032
|
-
}, /* @__PURE__ */React__default.createElement(Button, __spreadValues$
|
|
1032
|
+
}, /* @__PURE__ */React__default.createElement(Button, __spreadValues$K({
|
|
1033
1033
|
style: {
|
|
1034
1034
|
pointerEvents: "none"
|
|
1035
1035
|
},
|
|
@@ -1039,7 +1039,7 @@ const ButtonGroup = React__default.forwardRef((props, ref) => {
|
|
|
1039
1039
|
ghost,
|
|
1040
1040
|
className: cx(ButtonStyle, className2),
|
|
1041
1041
|
prefixIcon: icon
|
|
1042
|
-
}, buttonPropArgs))) : /* @__PURE__ */React__default.createElement(Button, __spreadValues$
|
|
1042
|
+
}, buttonPropArgs))) : /* @__PURE__ */React__default.createElement(Button, __spreadValues$K({
|
|
1043
1043
|
type,
|
|
1044
1044
|
size,
|
|
1045
1045
|
danger,
|
|
@@ -1048,7 +1048,7 @@ const ButtonGroup = React__default.forwardRef((props, ref) => {
|
|
|
1048
1048
|
prefixIcon: icon
|
|
1049
1049
|
}, buttonPropArgs)));
|
|
1050
1050
|
}
|
|
1051
|
-
return /* @__PURE__ */React__default.createElement(Button, __spreadValues$
|
|
1051
|
+
return /* @__PURE__ */React__default.createElement(Button, __spreadValues$K({
|
|
1052
1052
|
key: key || index,
|
|
1053
1053
|
type,
|
|
1054
1054
|
size,
|
|
@@ -1062,19 +1062,19 @@ const ButtonGroup = React__default.forwardRef((props, ref) => {
|
|
|
1062
1062
|
}));
|
|
1063
1063
|
});
|
|
1064
1064
|
|
|
1065
|
-
var __defProp$
|
|
1066
|
-
var __getOwnPropSymbols$
|
|
1067
|
-
var __hasOwnProp$
|
|
1068
|
-
var __propIsEnum$
|
|
1069
|
-
var __defNormalProp$
|
|
1070
|
-
var __spreadValues$
|
|
1065
|
+
var __defProp$J = Object.defineProperty;
|
|
1066
|
+
var __getOwnPropSymbols$K = Object.getOwnPropertySymbols;
|
|
1067
|
+
var __hasOwnProp$K = Object.prototype.hasOwnProperty;
|
|
1068
|
+
var __propIsEnum$K = Object.prototype.propertyIsEnumerable;
|
|
1069
|
+
var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1070
|
+
var __spreadValues$J = (a, b) => {
|
|
1071
1071
|
for (var prop in b || (b = {}))
|
|
1072
|
-
if (__hasOwnProp$
|
|
1073
|
-
__defNormalProp$
|
|
1074
|
-
if (__getOwnPropSymbols$
|
|
1075
|
-
for (var prop of __getOwnPropSymbols$
|
|
1076
|
-
if (__propIsEnum$
|
|
1077
|
-
__defNormalProp$
|
|
1072
|
+
if (__hasOwnProp$K.call(b, prop))
|
|
1073
|
+
__defNormalProp$J(a, prop, b[prop]);
|
|
1074
|
+
if (__getOwnPropSymbols$K)
|
|
1075
|
+
for (var prop of __getOwnPropSymbols$K(b)) {
|
|
1076
|
+
if (__propIsEnum$K.call(b, prop))
|
|
1077
|
+
__defNormalProp$J(a, prop, b[prop]);
|
|
1078
1078
|
}
|
|
1079
1079
|
return a;
|
|
1080
1080
|
};
|
|
@@ -1088,7 +1088,7 @@ const Byte = ({
|
|
|
1088
1088
|
}) => {
|
|
1089
1089
|
const { t } = useParrotTranslation();
|
|
1090
1090
|
if (isEmpty(rawValue)) {
|
|
1091
|
-
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$
|
|
1091
|
+
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$J({}, emptyProps));
|
|
1092
1092
|
}
|
|
1093
1093
|
if (rawValue === -1) {
|
|
1094
1094
|
return /* @__PURE__ */ React__default.createElement("span", null, t("common.calculation"));
|
|
@@ -1132,33 +1132,33 @@ const CardWrapper = /*#__PURE__*/styled(_exp$3())({
|
|
|
1132
1132
|
propsAsIs: true
|
|
1133
1133
|
});
|
|
1134
1134
|
|
|
1135
|
-
var __defProp$
|
|
1136
|
-
var __defProps$
|
|
1137
|
-
var __getOwnPropDescs$
|
|
1138
|
-
var __getOwnPropSymbols$
|
|
1139
|
-
var __hasOwnProp$
|
|
1140
|
-
var __propIsEnum$
|
|
1141
|
-
var __defNormalProp$
|
|
1142
|
-
var __spreadValues$
|
|
1135
|
+
var __defProp$I = Object.defineProperty;
|
|
1136
|
+
var __defProps$y = Object.defineProperties;
|
|
1137
|
+
var __getOwnPropDescs$y = Object.getOwnPropertyDescriptors;
|
|
1138
|
+
var __getOwnPropSymbols$J = Object.getOwnPropertySymbols;
|
|
1139
|
+
var __hasOwnProp$J = Object.prototype.hasOwnProperty;
|
|
1140
|
+
var __propIsEnum$J = Object.prototype.propertyIsEnumerable;
|
|
1141
|
+
var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1142
|
+
var __spreadValues$I = (a, b) => {
|
|
1143
1143
|
for (var prop in b || (b = {}))
|
|
1144
|
-
if (__hasOwnProp$
|
|
1145
|
-
__defNormalProp$
|
|
1146
|
-
if (__getOwnPropSymbols$
|
|
1147
|
-
for (var prop of __getOwnPropSymbols$
|
|
1148
|
-
if (__propIsEnum$
|
|
1149
|
-
__defNormalProp$
|
|
1144
|
+
if (__hasOwnProp$J.call(b, prop))
|
|
1145
|
+
__defNormalProp$I(a, prop, b[prop]);
|
|
1146
|
+
if (__getOwnPropSymbols$J)
|
|
1147
|
+
for (var prop of __getOwnPropSymbols$J(b)) {
|
|
1148
|
+
if (__propIsEnum$J.call(b, prop))
|
|
1149
|
+
__defNormalProp$I(a, prop, b[prop]);
|
|
1150
1150
|
}
|
|
1151
1151
|
return a;
|
|
1152
1152
|
};
|
|
1153
|
-
var __spreadProps$
|
|
1154
|
-
var __objRest$
|
|
1153
|
+
var __spreadProps$y = (a, b) => __defProps$y(a, __getOwnPropDescs$y(b));
|
|
1154
|
+
var __objRest$q = (source, exclude) => {
|
|
1155
1155
|
var target = {};
|
|
1156
1156
|
for (var prop in source)
|
|
1157
|
-
if (__hasOwnProp$
|
|
1157
|
+
if (__hasOwnProp$J.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1158
1158
|
target[prop] = source[prop];
|
|
1159
|
-
if (source != null && __getOwnPropSymbols$
|
|
1160
|
-
for (var prop of __getOwnPropSymbols$
|
|
1161
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1159
|
+
if (source != null && __getOwnPropSymbols$J)
|
|
1160
|
+
for (var prop of __getOwnPropSymbols$J(source)) {
|
|
1161
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$J.call(source, prop))
|
|
1162
1162
|
target[prop] = source[prop];
|
|
1163
1163
|
}
|
|
1164
1164
|
return target;
|
|
@@ -1173,7 +1173,7 @@ const Card = React__default.forwardRef(
|
|
|
1173
1173
|
defaultOpen = false,
|
|
1174
1174
|
hoverable,
|
|
1175
1175
|
shadow = true
|
|
1176
|
-
} = _a, domProps = __objRest$
|
|
1176
|
+
} = _a, domProps = __objRest$q(_a, [
|
|
1177
1177
|
"collapsible",
|
|
1178
1178
|
"title",
|
|
1179
1179
|
"subInfo",
|
|
@@ -1185,7 +1185,7 @@ const Card = React__default.forwardRef(
|
|
|
1185
1185
|
const [open, setOpen] = useState(defaultOpen);
|
|
1186
1186
|
return /* @__PURE__ */ React__default.createElement(
|
|
1187
1187
|
CardWrapper,
|
|
1188
|
-
__spreadProps$
|
|
1188
|
+
__spreadProps$y(__spreadValues$I({
|
|
1189
1189
|
ref,
|
|
1190
1190
|
className: cs(["card-wrapper", className, hoverable && "hoverable"])
|
|
1191
1191
|
}, domProps), {
|
|
@@ -1214,31 +1214,31 @@ const Card = React__default.forwardRef(
|
|
|
1214
1214
|
}
|
|
1215
1215
|
);
|
|
1216
1216
|
|
|
1217
|
-
var __defProp$
|
|
1218
|
-
var __defProps$
|
|
1219
|
-
var __getOwnPropDescs$
|
|
1220
|
-
var __getOwnPropSymbols$
|
|
1221
|
-
var __hasOwnProp$
|
|
1222
|
-
var __propIsEnum$
|
|
1223
|
-
var __defNormalProp$
|
|
1217
|
+
var __defProp$H = Object.defineProperty;
|
|
1218
|
+
var __defProps$x = Object.defineProperties;
|
|
1219
|
+
var __getOwnPropDescs$x = Object.getOwnPropertyDescriptors;
|
|
1220
|
+
var __getOwnPropSymbols$I = Object.getOwnPropertySymbols;
|
|
1221
|
+
var __hasOwnProp$I = Object.prototype.hasOwnProperty;
|
|
1222
|
+
var __propIsEnum$I = Object.prototype.propertyIsEnumerable;
|
|
1223
|
+
var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, {
|
|
1224
1224
|
enumerable: true,
|
|
1225
1225
|
configurable: true,
|
|
1226
1226
|
writable: true,
|
|
1227
1227
|
value
|
|
1228
1228
|
}) : obj[key] = value;
|
|
1229
|
-
var __spreadValues$
|
|
1230
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1231
|
-
if (__getOwnPropSymbols$
|
|
1232
|
-
if (__propIsEnum$
|
|
1229
|
+
var __spreadValues$H = (a, b) => {
|
|
1230
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$I.call(b, prop)) __defNormalProp$H(a, prop, b[prop]);
|
|
1231
|
+
if (__getOwnPropSymbols$I) for (var prop of __getOwnPropSymbols$I(b)) {
|
|
1232
|
+
if (__propIsEnum$I.call(b, prop)) __defNormalProp$H(a, prop, b[prop]);
|
|
1233
1233
|
}
|
|
1234
1234
|
return a;
|
|
1235
1235
|
};
|
|
1236
|
-
var __spreadProps$
|
|
1237
|
-
var __objRest$
|
|
1236
|
+
var __spreadProps$x = (a, b) => __defProps$x(a, __getOwnPropDescs$x(b));
|
|
1237
|
+
var __objRest$p = (source, exclude) => {
|
|
1238
1238
|
var target = {};
|
|
1239
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1240
|
-
if (source != null && __getOwnPropSymbols$
|
|
1241
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1239
|
+
for (var prop in source) if (__hasOwnProp$I.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1240
|
+
if (source != null && __getOwnPropSymbols$I) for (var prop of __getOwnPropSymbols$I(source)) {
|
|
1241
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$I.call(source, prop)) target[prop] = source[prop];
|
|
1242
1242
|
}
|
|
1243
1243
|
return target;
|
|
1244
1244
|
};
|
|
@@ -1251,8 +1251,8 @@ const Checkbox = _a => {
|
|
|
1251
1251
|
description,
|
|
1252
1252
|
compact
|
|
1253
1253
|
} = _b,
|
|
1254
|
-
props = __objRest$
|
|
1255
|
-
return /* @__PURE__ */React__default.createElement(Checkbox$1, __spreadProps$
|
|
1254
|
+
props = __objRest$p(_b, ["className", "children", "description", "compact"]);
|
|
1255
|
+
return /* @__PURE__ */React__default.createElement(Checkbox$1, __spreadProps$x(__spreadValues$H({}, props), {
|
|
1256
1256
|
"data-test": props["data-test"] || props.value,
|
|
1257
1257
|
className: cs(className, CheckboxStyle, compact && "compact")
|
|
1258
1258
|
}), children ? /* @__PURE__ */React__default.createElement(React__default.Fragment, null, /* @__PURE__ */React__default.createElement("div", {
|
|
@@ -1330,39 +1330,39 @@ const ExpandableItem = props => {
|
|
|
1330
1330
|
}, children));
|
|
1331
1331
|
};
|
|
1332
1332
|
|
|
1333
|
-
var __defProp$
|
|
1334
|
-
var __getOwnPropSymbols$
|
|
1335
|
-
var __hasOwnProp$
|
|
1336
|
-
var __propIsEnum$
|
|
1337
|
-
var __defNormalProp$
|
|
1338
|
-
var __spreadValues$
|
|
1333
|
+
var __defProp$G = Object.defineProperty;
|
|
1334
|
+
var __getOwnPropSymbols$H = Object.getOwnPropertySymbols;
|
|
1335
|
+
var __hasOwnProp$H = Object.prototype.hasOwnProperty;
|
|
1336
|
+
var __propIsEnum$H = Object.prototype.propertyIsEnumerable;
|
|
1337
|
+
var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1338
|
+
var __spreadValues$G = (a, b) => {
|
|
1339
1339
|
for (var prop in b || (b = {}))
|
|
1340
|
-
if (__hasOwnProp$
|
|
1341
|
-
__defNormalProp$
|
|
1342
|
-
if (__getOwnPropSymbols$
|
|
1343
|
-
for (var prop of __getOwnPropSymbols$
|
|
1344
|
-
if (__propIsEnum$
|
|
1345
|
-
__defNormalProp$
|
|
1340
|
+
if (__hasOwnProp$H.call(b, prop))
|
|
1341
|
+
__defNormalProp$G(a, prop, b[prop]);
|
|
1342
|
+
if (__getOwnPropSymbols$H)
|
|
1343
|
+
for (var prop of __getOwnPropSymbols$H(b)) {
|
|
1344
|
+
if (__propIsEnum$H.call(b, prop))
|
|
1345
|
+
__defNormalProp$G(a, prop, b[prop]);
|
|
1346
1346
|
}
|
|
1347
1347
|
return a;
|
|
1348
1348
|
};
|
|
1349
|
-
var __objRest$
|
|
1349
|
+
var __objRest$o = (source, exclude) => {
|
|
1350
1350
|
var target = {};
|
|
1351
1351
|
for (var prop in source)
|
|
1352
|
-
if (__hasOwnProp$
|
|
1352
|
+
if (__hasOwnProp$H.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1353
1353
|
target[prop] = source[prop];
|
|
1354
|
-
if (source != null && __getOwnPropSymbols$
|
|
1355
|
-
for (var prop of __getOwnPropSymbols$
|
|
1356
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1354
|
+
if (source != null && __getOwnPropSymbols$H)
|
|
1355
|
+
for (var prop of __getOwnPropSymbols$H(source)) {
|
|
1356
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$H.call(source, prop))
|
|
1357
1357
|
target[prop] = source[prop];
|
|
1358
1358
|
}
|
|
1359
1359
|
return target;
|
|
1360
1360
|
};
|
|
1361
1361
|
const FieldsBoolean = (_a) => {
|
|
1362
|
-
var _b = _a, { input, children } = _b, props = __objRest$
|
|
1362
|
+
var _b = _a, { input, children } = _b, props = __objRest$o(_b, ["input", "children"]);
|
|
1363
1363
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
1364
1364
|
Checkbox,
|
|
1365
|
-
__spreadValues$
|
|
1365
|
+
__spreadValues$G({
|
|
1366
1366
|
checked: Boolean(input.value),
|
|
1367
1367
|
onChange: (e) => input.onChange(e.target.checked)
|
|
1368
1368
|
}, props),
|
|
@@ -1387,17 +1387,17 @@ const FieldsDateTime = ({ input }) => /* @__PURE__ */ React__default.createEleme
|
|
|
1387
1387
|
}
|
|
1388
1388
|
));
|
|
1389
1389
|
|
|
1390
|
-
var __getOwnPropSymbols$
|
|
1391
|
-
var __hasOwnProp$
|
|
1392
|
-
var __propIsEnum$
|
|
1393
|
-
var __objRest$
|
|
1390
|
+
var __getOwnPropSymbols$G = Object.getOwnPropertySymbols;
|
|
1391
|
+
var __hasOwnProp$G = Object.prototype.hasOwnProperty;
|
|
1392
|
+
var __propIsEnum$G = Object.prototype.propertyIsEnumerable;
|
|
1393
|
+
var __objRest$n = (source, exclude) => {
|
|
1394
1394
|
var target = {};
|
|
1395
1395
|
for (var prop in source)
|
|
1396
|
-
if (__hasOwnProp$
|
|
1396
|
+
if (__hasOwnProp$G.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1397
1397
|
target[prop] = source[prop];
|
|
1398
|
-
if (source != null && __getOwnPropSymbols$
|
|
1399
|
-
for (var prop of __getOwnPropSymbols$
|
|
1400
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1398
|
+
if (source != null && __getOwnPropSymbols$G)
|
|
1399
|
+
for (var prop of __getOwnPropSymbols$G(source)) {
|
|
1400
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$G.call(source, prop))
|
|
1401
1401
|
target[prop] = source[prop];
|
|
1402
1402
|
}
|
|
1403
1403
|
return target;
|
|
@@ -1405,7 +1405,7 @@ var __objRest$m = (source, exclude) => {
|
|
|
1405
1405
|
const FieldsDateTimeRange = (_a) => {
|
|
1406
1406
|
var _b = _a, {
|
|
1407
1407
|
input
|
|
1408
|
-
} = _b, props = __objRest$
|
|
1408
|
+
} = _b, props = __objRest$n(_b, [
|
|
1409
1409
|
"input"
|
|
1410
1410
|
]);
|
|
1411
1411
|
var _a2, _b2;
|
|
@@ -1442,53 +1442,53 @@ const FullView = /*#__PURE__*/styled('div')({
|
|
|
1442
1442
|
const InputStyle = "ipd9bk";
|
|
1443
1443
|
const KitInputStyle = "kypn5o5";
|
|
1444
1444
|
|
|
1445
|
-
var __defProp$
|
|
1446
|
-
var __getOwnPropSymbols$
|
|
1447
|
-
var __hasOwnProp$
|
|
1448
|
-
var __propIsEnum$
|
|
1449
|
-
var __defNormalProp$
|
|
1450
|
-
var __spreadValues$
|
|
1445
|
+
var __defProp$F = Object.defineProperty;
|
|
1446
|
+
var __getOwnPropSymbols$F = Object.getOwnPropertySymbols;
|
|
1447
|
+
var __hasOwnProp$F = Object.prototype.hasOwnProperty;
|
|
1448
|
+
var __propIsEnum$F = Object.prototype.propertyIsEnumerable;
|
|
1449
|
+
var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1450
|
+
var __spreadValues$F = (a, b) => {
|
|
1451
1451
|
for (var prop in b || (b = {}))
|
|
1452
|
-
if (__hasOwnProp$
|
|
1453
|
-
__defNormalProp$
|
|
1454
|
-
if (__getOwnPropSymbols$
|
|
1455
|
-
for (var prop of __getOwnPropSymbols$
|
|
1456
|
-
if (__propIsEnum$
|
|
1457
|
-
__defNormalProp$
|
|
1452
|
+
if (__hasOwnProp$F.call(b, prop))
|
|
1453
|
+
__defNormalProp$F(a, prop, b[prop]);
|
|
1454
|
+
if (__getOwnPropSymbols$F)
|
|
1455
|
+
for (var prop of __getOwnPropSymbols$F(b)) {
|
|
1456
|
+
if (__propIsEnum$F.call(b, prop))
|
|
1457
|
+
__defNormalProp$F(a, prop, b[prop]);
|
|
1458
1458
|
}
|
|
1459
1459
|
return a;
|
|
1460
1460
|
};
|
|
1461
1461
|
const Loading = ({ fullView = true }) => {
|
|
1462
1462
|
const Wrapper = fullView ? FullView : Fragment;
|
|
1463
1463
|
const props = fullView ? { className: "loading-full-view" } : {};
|
|
1464
|
-
return /* @__PURE__ */ React__default.createElement(Wrapper, __spreadValues$
|
|
1464
|
+
return /* @__PURE__ */ React__default.createElement(Wrapper, __spreadValues$F({}, props), /* @__PURE__ */ React__default.createElement("div", { className: "loading" }, /* @__PURE__ */ React__default.createElement("div", { className: "loading-indicator__line1" }), /* @__PURE__ */ React__default.createElement("div", { className: "loading-indicator__line2" }), /* @__PURE__ */ React__default.createElement("div", { className: "loading-indicator__line3" })));
|
|
1465
1465
|
};
|
|
1466
1466
|
|
|
1467
|
-
var __defProp$
|
|
1468
|
-
var __defProps$
|
|
1469
|
-
var __getOwnPropDescs$
|
|
1470
|
-
var __getOwnPropSymbols$
|
|
1471
|
-
var __hasOwnProp$
|
|
1472
|
-
var __propIsEnum$
|
|
1473
|
-
var __defNormalProp$
|
|
1467
|
+
var __defProp$E = Object.defineProperty;
|
|
1468
|
+
var __defProps$w = Object.defineProperties;
|
|
1469
|
+
var __getOwnPropDescs$w = Object.getOwnPropertyDescriptors;
|
|
1470
|
+
var __getOwnPropSymbols$E = Object.getOwnPropertySymbols;
|
|
1471
|
+
var __hasOwnProp$E = Object.prototype.hasOwnProperty;
|
|
1472
|
+
var __propIsEnum$E = Object.prototype.propertyIsEnumerable;
|
|
1473
|
+
var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, {
|
|
1474
1474
|
enumerable: true,
|
|
1475
1475
|
configurable: true,
|
|
1476
1476
|
writable: true,
|
|
1477
1477
|
value
|
|
1478
1478
|
}) : obj[key] = value;
|
|
1479
|
-
var __spreadValues$
|
|
1480
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1481
|
-
if (__getOwnPropSymbols$
|
|
1482
|
-
if (__propIsEnum$
|
|
1479
|
+
var __spreadValues$E = (a, b) => {
|
|
1480
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$E.call(b, prop)) __defNormalProp$E(a, prop, b[prop]);
|
|
1481
|
+
if (__getOwnPropSymbols$E) for (var prop of __getOwnPropSymbols$E(b)) {
|
|
1482
|
+
if (__propIsEnum$E.call(b, prop)) __defNormalProp$E(a, prop, b[prop]);
|
|
1483
1483
|
}
|
|
1484
1484
|
return a;
|
|
1485
1485
|
};
|
|
1486
|
-
var __spreadProps$
|
|
1487
|
-
var __objRest$
|
|
1486
|
+
var __spreadProps$w = (a, b) => __defProps$w(a, __getOwnPropDescs$w(b));
|
|
1487
|
+
var __objRest$m = (source, exclude) => {
|
|
1488
1488
|
var target = {};
|
|
1489
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1490
|
-
if (source != null && __getOwnPropSymbols$
|
|
1491
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1489
|
+
for (var prop in source) if (__hasOwnProp$E.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1490
|
+
if (source != null && __getOwnPropSymbols$E) for (var prop of __getOwnPropSymbols$E(source)) {
|
|
1491
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$E.call(source, prop)) target[prop] = source[prop];
|
|
1492
1492
|
}
|
|
1493
1493
|
return target;
|
|
1494
1494
|
};
|
|
@@ -1516,7 +1516,7 @@ const Select = _a => {
|
|
|
1516
1516
|
meta,
|
|
1517
1517
|
placeholder
|
|
1518
1518
|
} = _b,
|
|
1519
|
-
restProps = __objRest$
|
|
1519
|
+
restProps = __objRest$m(_b, ["input", "multiple", "className", "scrollBottomBuffer", "onScrollBottom", "onPopupScroll", "onSearch", "showSearch", "filterOption", "loading", "notFoundContent", "children", "error", "selectLimit", "dropdownClassName", "danger", "size", "meta", "placeholder"]);
|
|
1520
1520
|
var _a2;
|
|
1521
1521
|
const limitExceeded = multiple && selectLimit && selectLimit <= (((_a2 = input.value) == null ? void 0 : _a2.length) || 0);
|
|
1522
1522
|
const typo = {
|
|
@@ -1542,7 +1542,7 @@ const Select = _a => {
|
|
|
1542
1542
|
inputDom && (placeholder || item) && inputDom.setAttribute("data-test", String(placeholder || item.textContent));
|
|
1543
1543
|
}
|
|
1544
1544
|
}, [selectRef, placeholder]);
|
|
1545
|
-
return /* @__PURE__ */React__default.createElement(Select$1, __spreadValues$
|
|
1545
|
+
return /* @__PURE__ */React__default.createElement(Select$1, __spreadValues$E(__spreadProps$w(__spreadValues$E({}, input), {
|
|
1546
1546
|
ref: selectRef,
|
|
1547
1547
|
size,
|
|
1548
1548
|
value: multiple ? input.value || [] : input.value || void 0,
|
|
@@ -1583,38 +1583,38 @@ const Select = _a => {
|
|
|
1583
1583
|
loading,
|
|
1584
1584
|
placeholder
|
|
1585
1585
|
}), restProps), React__default.Children.map(children, child => {
|
|
1586
|
-
return isElement(child) ? __spreadProps$
|
|
1587
|
-
props: __spreadProps$
|
|
1586
|
+
return isElement(child) ? __spreadProps$w(__spreadValues$E({}, child), {
|
|
1587
|
+
props: __spreadProps$w(__spreadValues$E({}, child.props), {
|
|
1588
1588
|
"data-test": child.props.value
|
|
1589
1589
|
})
|
|
1590
1590
|
}) : child;
|
|
1591
1591
|
}));
|
|
1592
1592
|
};
|
|
1593
1593
|
|
|
1594
|
-
var __defProp$
|
|
1595
|
-
var __getOwnPropSymbols$
|
|
1596
|
-
var __hasOwnProp$
|
|
1597
|
-
var __propIsEnum$
|
|
1598
|
-
var __defNormalProp$
|
|
1599
|
-
var __spreadValues$
|
|
1594
|
+
var __defProp$D = Object.defineProperty;
|
|
1595
|
+
var __getOwnPropSymbols$D = Object.getOwnPropertySymbols;
|
|
1596
|
+
var __hasOwnProp$D = Object.prototype.hasOwnProperty;
|
|
1597
|
+
var __propIsEnum$D = Object.prototype.propertyIsEnumerable;
|
|
1598
|
+
var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1599
|
+
var __spreadValues$D = (a, b) => {
|
|
1600
1600
|
for (var prop in b || (b = {}))
|
|
1601
|
-
if (__hasOwnProp$
|
|
1602
|
-
__defNormalProp$
|
|
1603
|
-
if (__getOwnPropSymbols$
|
|
1604
|
-
for (var prop of __getOwnPropSymbols$
|
|
1605
|
-
if (__propIsEnum$
|
|
1606
|
-
__defNormalProp$
|
|
1601
|
+
if (__hasOwnProp$D.call(b, prop))
|
|
1602
|
+
__defNormalProp$D(a, prop, b[prop]);
|
|
1603
|
+
if (__getOwnPropSymbols$D)
|
|
1604
|
+
for (var prop of __getOwnPropSymbols$D(b)) {
|
|
1605
|
+
if (__propIsEnum$D.call(b, prop))
|
|
1606
|
+
__defNormalProp$D(a, prop, b[prop]);
|
|
1607
1607
|
}
|
|
1608
1608
|
return a;
|
|
1609
1609
|
};
|
|
1610
|
-
var __objRest$
|
|
1610
|
+
var __objRest$l = (source, exclude) => {
|
|
1611
1611
|
var target = {};
|
|
1612
1612
|
for (var prop in source)
|
|
1613
|
-
if (__hasOwnProp$
|
|
1613
|
+
if (__hasOwnProp$D.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1614
1614
|
target[prop] = source[prop];
|
|
1615
|
-
if (source != null && __getOwnPropSymbols$
|
|
1616
|
-
for (var prop of __getOwnPropSymbols$
|
|
1617
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1615
|
+
if (source != null && __getOwnPropSymbols$D)
|
|
1616
|
+
for (var prop of __getOwnPropSymbols$D(source)) {
|
|
1617
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$D.call(source, prop))
|
|
1618
1618
|
target[prop] = source[prop];
|
|
1619
1619
|
}
|
|
1620
1620
|
return target;
|
|
@@ -1624,12 +1624,12 @@ const FieldsEnum = (_a) => {
|
|
|
1624
1624
|
meta: __,
|
|
1625
1625
|
enumValues,
|
|
1626
1626
|
emptyLabel
|
|
1627
|
-
} = _b, restProps = __objRest$
|
|
1627
|
+
} = _b, restProps = __objRest$l(_b, [
|
|
1628
1628
|
"meta",
|
|
1629
1629
|
"enumValues",
|
|
1630
1630
|
"emptyLabel"
|
|
1631
1631
|
]);
|
|
1632
|
-
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(Select, __spreadValues$
|
|
1632
|
+
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(Select, __spreadValues$D({}, restProps), emptyLabel && /* @__PURE__ */ React__default.createElement(Select$1.Option, { value: "" }, emptyLabel), enumValues.map((v) => {
|
|
1633
1633
|
const item = typeof v === "string" ? { value: v, text: v } : v;
|
|
1634
1634
|
return /* @__PURE__ */ React__default.createElement(
|
|
1635
1635
|
Select$1.Option,
|
|
@@ -1643,31 +1643,31 @@ const FieldsEnum = (_a) => {
|
|
|
1643
1643
|
})));
|
|
1644
1644
|
};
|
|
1645
1645
|
|
|
1646
|
-
var __defProp$
|
|
1647
|
-
var __defProps$
|
|
1648
|
-
var __getOwnPropDescs$
|
|
1649
|
-
var __getOwnPropSymbols$
|
|
1650
|
-
var __hasOwnProp$
|
|
1651
|
-
var __propIsEnum$
|
|
1652
|
-
var __defNormalProp$
|
|
1646
|
+
var __defProp$C = Object.defineProperty;
|
|
1647
|
+
var __defProps$v = Object.defineProperties;
|
|
1648
|
+
var __getOwnPropDescs$v = Object.getOwnPropertyDescriptors;
|
|
1649
|
+
var __getOwnPropSymbols$C = Object.getOwnPropertySymbols;
|
|
1650
|
+
var __hasOwnProp$C = Object.prototype.hasOwnProperty;
|
|
1651
|
+
var __propIsEnum$C = Object.prototype.propertyIsEnumerable;
|
|
1652
|
+
var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, {
|
|
1653
1653
|
enumerable: true,
|
|
1654
1654
|
configurable: true,
|
|
1655
1655
|
writable: true,
|
|
1656
1656
|
value
|
|
1657
1657
|
}) : obj[key] = value;
|
|
1658
|
-
var __spreadValues$
|
|
1659
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1660
|
-
if (__getOwnPropSymbols$
|
|
1661
|
-
if (__propIsEnum$
|
|
1658
|
+
var __spreadValues$C = (a, b) => {
|
|
1659
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$C.call(b, prop)) __defNormalProp$C(a, prop, b[prop]);
|
|
1660
|
+
if (__getOwnPropSymbols$C) for (var prop of __getOwnPropSymbols$C(b)) {
|
|
1661
|
+
if (__propIsEnum$C.call(b, prop)) __defNormalProp$C(a, prop, b[prop]);
|
|
1662
1662
|
}
|
|
1663
1663
|
return a;
|
|
1664
1664
|
};
|
|
1665
|
-
var __spreadProps$
|
|
1666
|
-
var __objRest$
|
|
1665
|
+
var __spreadProps$v = (a, b) => __defProps$v(a, __getOwnPropDescs$v(b));
|
|
1666
|
+
var __objRest$k = (source, exclude) => {
|
|
1667
1667
|
var target = {};
|
|
1668
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1669
|
-
if (source != null && __getOwnPropSymbols$
|
|
1670
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1668
|
+
for (var prop in source) if (__hasOwnProp$C.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1669
|
+
if (source != null && __getOwnPropSymbols$C) for (var prop of __getOwnPropSymbols$C(source)) {
|
|
1670
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$C.call(source, prop)) target[prop] = source[prop];
|
|
1671
1671
|
}
|
|
1672
1672
|
return target;
|
|
1673
1673
|
};
|
|
@@ -1703,13 +1703,13 @@ const InputNumber = _a => {
|
|
|
1703
1703
|
prefix,
|
|
1704
1704
|
controls = true
|
|
1705
1705
|
} = _b,
|
|
1706
|
-
props = __objRest$
|
|
1706
|
+
props = __objRest$k(_b, ["className", "error", "size", "suffix", "prefix", "controls"]);
|
|
1707
1707
|
const typo = {
|
|
1708
1708
|
large: Typo.Label.l2_regular,
|
|
1709
1709
|
middle: Typo.Label.l3_regular,
|
|
1710
1710
|
small: Typo.Label.l4_regular
|
|
1711
1711
|
}[size];
|
|
1712
|
-
return /* @__PURE__ */React__default.createElement(AntdInputNumberStyled, __spreadProps$
|
|
1712
|
+
return /* @__PURE__ */React__default.createElement(AntdInputNumberStyled, __spreadProps$v(__spreadValues$C({}, props), {
|
|
1713
1713
|
size,
|
|
1714
1714
|
controls,
|
|
1715
1715
|
"data-test": props.name,
|
|
@@ -1719,33 +1719,33 @@ const InputNumber = _a => {
|
|
|
1719
1719
|
}));
|
|
1720
1720
|
};
|
|
1721
1721
|
|
|
1722
|
-
var __defProp$
|
|
1723
|
-
var __defProps$
|
|
1724
|
-
var __getOwnPropDescs$
|
|
1725
|
-
var __getOwnPropSymbols$
|
|
1726
|
-
var __hasOwnProp$
|
|
1727
|
-
var __propIsEnum$
|
|
1728
|
-
var __defNormalProp$
|
|
1729
|
-
var __spreadValues$
|
|
1722
|
+
var __defProp$B = Object.defineProperty;
|
|
1723
|
+
var __defProps$u = Object.defineProperties;
|
|
1724
|
+
var __getOwnPropDescs$u = Object.getOwnPropertyDescriptors;
|
|
1725
|
+
var __getOwnPropSymbols$B = Object.getOwnPropertySymbols;
|
|
1726
|
+
var __hasOwnProp$B = Object.prototype.hasOwnProperty;
|
|
1727
|
+
var __propIsEnum$B = Object.prototype.propertyIsEnumerable;
|
|
1728
|
+
var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1729
|
+
var __spreadValues$B = (a, b) => {
|
|
1730
1730
|
for (var prop in b || (b = {}))
|
|
1731
|
-
if (__hasOwnProp$
|
|
1732
|
-
__defNormalProp$
|
|
1733
|
-
if (__getOwnPropSymbols$
|
|
1734
|
-
for (var prop of __getOwnPropSymbols$
|
|
1735
|
-
if (__propIsEnum$
|
|
1736
|
-
__defNormalProp$
|
|
1731
|
+
if (__hasOwnProp$B.call(b, prop))
|
|
1732
|
+
__defNormalProp$B(a, prop, b[prop]);
|
|
1733
|
+
if (__getOwnPropSymbols$B)
|
|
1734
|
+
for (var prop of __getOwnPropSymbols$B(b)) {
|
|
1735
|
+
if (__propIsEnum$B.call(b, prop))
|
|
1736
|
+
__defNormalProp$B(a, prop, b[prop]);
|
|
1737
1737
|
}
|
|
1738
1738
|
return a;
|
|
1739
1739
|
};
|
|
1740
|
-
var __spreadProps$
|
|
1741
|
-
var __objRest$
|
|
1740
|
+
var __spreadProps$u = (a, b) => __defProps$u(a, __getOwnPropDescs$u(b));
|
|
1741
|
+
var __objRest$j = (source, exclude) => {
|
|
1742
1742
|
var target = {};
|
|
1743
1743
|
for (var prop in source)
|
|
1744
|
-
if (__hasOwnProp$
|
|
1744
|
+
if (__hasOwnProp$B.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1745
1745
|
target[prop] = source[prop];
|
|
1746
|
-
if (source != null && __getOwnPropSymbols$
|
|
1747
|
-
for (var prop of __getOwnPropSymbols$
|
|
1748
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1746
|
+
if (source != null && __getOwnPropSymbols$B)
|
|
1747
|
+
for (var prop of __getOwnPropSymbols$B(source)) {
|
|
1748
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$B.call(source, prop))
|
|
1749
1749
|
target[prop] = source[prop];
|
|
1750
1750
|
}
|
|
1751
1751
|
return target;
|
|
@@ -1756,7 +1756,7 @@ const FieldsFloat = (_a) => {
|
|
|
1756
1756
|
meta,
|
|
1757
1757
|
onBlur,
|
|
1758
1758
|
autoComplete = "off"
|
|
1759
|
-
} = _b, props = __objRest$
|
|
1759
|
+
} = _b, props = __objRest$j(_b, [
|
|
1760
1760
|
"input",
|
|
1761
1761
|
"meta",
|
|
1762
1762
|
"onBlur",
|
|
@@ -1764,7 +1764,7 @@ const FieldsFloat = (_a) => {
|
|
|
1764
1764
|
]);
|
|
1765
1765
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
1766
1766
|
InputNumber,
|
|
1767
|
-
__spreadValues$
|
|
1767
|
+
__spreadValues$B(__spreadProps$u(__spreadValues$B({}, input), {
|
|
1768
1768
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
1769
1769
|
autoComplete,
|
|
1770
1770
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
@@ -1772,33 +1772,33 @@ const FieldsFloat = (_a) => {
|
|
|
1772
1772
|
));
|
|
1773
1773
|
};
|
|
1774
1774
|
|
|
1775
|
-
var __defProp$
|
|
1776
|
-
var __defProps$
|
|
1777
|
-
var __getOwnPropDescs$
|
|
1778
|
-
var __getOwnPropSymbols$
|
|
1779
|
-
var __hasOwnProp$
|
|
1780
|
-
var __propIsEnum$
|
|
1781
|
-
var __defNormalProp$
|
|
1782
|
-
var __spreadValues$
|
|
1775
|
+
var __defProp$A = Object.defineProperty;
|
|
1776
|
+
var __defProps$t = Object.defineProperties;
|
|
1777
|
+
var __getOwnPropDescs$t = Object.getOwnPropertyDescriptors;
|
|
1778
|
+
var __getOwnPropSymbols$A = Object.getOwnPropertySymbols;
|
|
1779
|
+
var __hasOwnProp$A = Object.prototype.hasOwnProperty;
|
|
1780
|
+
var __propIsEnum$A = Object.prototype.propertyIsEnumerable;
|
|
1781
|
+
var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1782
|
+
var __spreadValues$A = (a, b) => {
|
|
1783
1783
|
for (var prop in b || (b = {}))
|
|
1784
|
-
if (__hasOwnProp$
|
|
1785
|
-
__defNormalProp$
|
|
1786
|
-
if (__getOwnPropSymbols$
|
|
1787
|
-
for (var prop of __getOwnPropSymbols$
|
|
1788
|
-
if (__propIsEnum$
|
|
1789
|
-
__defNormalProp$
|
|
1784
|
+
if (__hasOwnProp$A.call(b, prop))
|
|
1785
|
+
__defNormalProp$A(a, prop, b[prop]);
|
|
1786
|
+
if (__getOwnPropSymbols$A)
|
|
1787
|
+
for (var prop of __getOwnPropSymbols$A(b)) {
|
|
1788
|
+
if (__propIsEnum$A.call(b, prop))
|
|
1789
|
+
__defNormalProp$A(a, prop, b[prop]);
|
|
1790
1790
|
}
|
|
1791
1791
|
return a;
|
|
1792
1792
|
};
|
|
1793
|
-
var __spreadProps$
|
|
1794
|
-
var __objRest$
|
|
1793
|
+
var __spreadProps$t = (a, b) => __defProps$t(a, __getOwnPropDescs$t(b));
|
|
1794
|
+
var __objRest$i = (source, exclude) => {
|
|
1795
1795
|
var target = {};
|
|
1796
1796
|
for (var prop in source)
|
|
1797
|
-
if (__hasOwnProp$
|
|
1797
|
+
if (__hasOwnProp$A.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1798
1798
|
target[prop] = source[prop];
|
|
1799
|
-
if (source != null && __getOwnPropSymbols$
|
|
1800
|
-
for (var prop of __getOwnPropSymbols$
|
|
1801
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1799
|
+
if (source != null && __getOwnPropSymbols$A)
|
|
1800
|
+
for (var prop of __getOwnPropSymbols$A(source)) {
|
|
1801
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$A.call(source, prop))
|
|
1802
1802
|
target[prop] = source[prop];
|
|
1803
1803
|
}
|
|
1804
1804
|
return target;
|
|
@@ -1808,7 +1808,7 @@ const Input = (_a) => {
|
|
|
1808
1808
|
className,
|
|
1809
1809
|
error,
|
|
1810
1810
|
size = "middle"
|
|
1811
|
-
} = _b, props = __objRest$
|
|
1811
|
+
} = _b, props = __objRest$i(_b, [
|
|
1812
1812
|
"className",
|
|
1813
1813
|
"error",
|
|
1814
1814
|
"size"
|
|
@@ -1820,7 +1820,7 @@ const Input = (_a) => {
|
|
|
1820
1820
|
}[size];
|
|
1821
1821
|
return /* @__PURE__ */ React__default.createElement(
|
|
1822
1822
|
Input$1,
|
|
1823
|
-
__spreadProps$
|
|
1823
|
+
__spreadProps$t(__spreadValues$A({}, props), {
|
|
1824
1824
|
size,
|
|
1825
1825
|
"data-test": props.name,
|
|
1826
1826
|
className: cs(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -1828,33 +1828,33 @@ const Input = (_a) => {
|
|
|
1828
1828
|
);
|
|
1829
1829
|
};
|
|
1830
1830
|
|
|
1831
|
-
var __defProp$
|
|
1832
|
-
var __defProps$
|
|
1833
|
-
var __getOwnPropDescs$
|
|
1834
|
-
var __getOwnPropSymbols$
|
|
1835
|
-
var __hasOwnProp$
|
|
1836
|
-
var __propIsEnum$
|
|
1837
|
-
var __defNormalProp$
|
|
1838
|
-
var __spreadValues$
|
|
1831
|
+
var __defProp$z = Object.defineProperty;
|
|
1832
|
+
var __defProps$s = Object.defineProperties;
|
|
1833
|
+
var __getOwnPropDescs$s = Object.getOwnPropertyDescriptors;
|
|
1834
|
+
var __getOwnPropSymbols$z = Object.getOwnPropertySymbols;
|
|
1835
|
+
var __hasOwnProp$z = Object.prototype.hasOwnProperty;
|
|
1836
|
+
var __propIsEnum$z = Object.prototype.propertyIsEnumerable;
|
|
1837
|
+
var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1838
|
+
var __spreadValues$z = (a, b) => {
|
|
1839
1839
|
for (var prop in b || (b = {}))
|
|
1840
|
-
if (__hasOwnProp$
|
|
1841
|
-
__defNormalProp$
|
|
1842
|
-
if (__getOwnPropSymbols$
|
|
1843
|
-
for (var prop of __getOwnPropSymbols$
|
|
1844
|
-
if (__propIsEnum$
|
|
1845
|
-
__defNormalProp$
|
|
1840
|
+
if (__hasOwnProp$z.call(b, prop))
|
|
1841
|
+
__defNormalProp$z(a, prop, b[prop]);
|
|
1842
|
+
if (__getOwnPropSymbols$z)
|
|
1843
|
+
for (var prop of __getOwnPropSymbols$z(b)) {
|
|
1844
|
+
if (__propIsEnum$z.call(b, prop))
|
|
1845
|
+
__defNormalProp$z(a, prop, b[prop]);
|
|
1846
1846
|
}
|
|
1847
1847
|
return a;
|
|
1848
1848
|
};
|
|
1849
|
-
var __spreadProps$
|
|
1850
|
-
var __objRest$
|
|
1849
|
+
var __spreadProps$s = (a, b) => __defProps$s(a, __getOwnPropDescs$s(b));
|
|
1850
|
+
var __objRest$h = (source, exclude) => {
|
|
1851
1851
|
var target = {};
|
|
1852
1852
|
for (var prop in source)
|
|
1853
|
-
if (__hasOwnProp$
|
|
1853
|
+
if (__hasOwnProp$z.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1854
1854
|
target[prop] = source[prop];
|
|
1855
|
-
if (source != null && __getOwnPropSymbols$
|
|
1856
|
-
for (var prop of __getOwnPropSymbols$
|
|
1857
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1855
|
+
if (source != null && __getOwnPropSymbols$z)
|
|
1856
|
+
for (var prop of __getOwnPropSymbols$z(source)) {
|
|
1857
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$z.call(source, prop))
|
|
1858
1858
|
target[prop] = source[prop];
|
|
1859
1859
|
}
|
|
1860
1860
|
return target;
|
|
@@ -1866,7 +1866,7 @@ const FieldsInt = (_a) => {
|
|
|
1866
1866
|
onBlur,
|
|
1867
1867
|
autoComplete = "off",
|
|
1868
1868
|
supportNegativeValue = false
|
|
1869
|
-
} = _b, props = __objRest$
|
|
1869
|
+
} = _b, props = __objRest$h(_b, [
|
|
1870
1870
|
"input",
|
|
1871
1871
|
"meta",
|
|
1872
1872
|
"onBlur",
|
|
@@ -1875,7 +1875,7 @@ const FieldsInt = (_a) => {
|
|
|
1875
1875
|
]);
|
|
1876
1876
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
1877
1877
|
Input,
|
|
1878
|
-
__spreadValues$
|
|
1878
|
+
__spreadValues$z(__spreadProps$s(__spreadValues$z({}, input), {
|
|
1879
1879
|
onChange: (e) => {
|
|
1880
1880
|
const value = e.currentTarget.value;
|
|
1881
1881
|
if (supportNegativeValue) {
|
|
@@ -1910,31 +1910,31 @@ const formatterInteger = (value) => {
|
|
|
1910
1910
|
}
|
|
1911
1911
|
};
|
|
1912
1912
|
|
|
1913
|
-
var __defProp$
|
|
1914
|
-
var __defProps$
|
|
1915
|
-
var __getOwnPropDescs$
|
|
1916
|
-
var __getOwnPropSymbols$
|
|
1917
|
-
var __hasOwnProp$
|
|
1918
|
-
var __propIsEnum$
|
|
1919
|
-
var __defNormalProp$
|
|
1913
|
+
var __defProp$y = Object.defineProperty;
|
|
1914
|
+
var __defProps$r = Object.defineProperties;
|
|
1915
|
+
var __getOwnPropDescs$r = Object.getOwnPropertyDescriptors;
|
|
1916
|
+
var __getOwnPropSymbols$y = Object.getOwnPropertySymbols;
|
|
1917
|
+
var __hasOwnProp$y = Object.prototype.hasOwnProperty;
|
|
1918
|
+
var __propIsEnum$y = Object.prototype.propertyIsEnumerable;
|
|
1919
|
+
var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, {
|
|
1920
1920
|
enumerable: true,
|
|
1921
1921
|
configurable: true,
|
|
1922
1922
|
writable: true,
|
|
1923
1923
|
value
|
|
1924
1924
|
}) : obj[key] = value;
|
|
1925
|
-
var __spreadValues$
|
|
1926
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1927
|
-
if (__getOwnPropSymbols$
|
|
1928
|
-
if (__propIsEnum$
|
|
1925
|
+
var __spreadValues$y = (a, b) => {
|
|
1926
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$y.call(b, prop)) __defNormalProp$y(a, prop, b[prop]);
|
|
1927
|
+
if (__getOwnPropSymbols$y) for (var prop of __getOwnPropSymbols$y(b)) {
|
|
1928
|
+
if (__propIsEnum$y.call(b, prop)) __defNormalProp$y(a, prop, b[prop]);
|
|
1929
1929
|
}
|
|
1930
1930
|
return a;
|
|
1931
1931
|
};
|
|
1932
|
-
var __spreadProps$
|
|
1933
|
-
var __objRest$
|
|
1932
|
+
var __spreadProps$r = (a, b) => __defProps$r(a, __getOwnPropDescs$r(b));
|
|
1933
|
+
var __objRest$g = (source, exclude) => {
|
|
1934
1934
|
var target = {};
|
|
1935
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1936
|
-
if (source != null && __getOwnPropSymbols$
|
|
1937
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1935
|
+
for (var prop in source) if (__hasOwnProp$y.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1936
|
+
if (source != null && __getOwnPropSymbols$y) for (var prop of __getOwnPropSymbols$y(source)) {
|
|
1937
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$y.call(source, prop)) target[prop] = source[prop];
|
|
1938
1938
|
}
|
|
1939
1939
|
return target;
|
|
1940
1940
|
};
|
|
@@ -1972,13 +1972,13 @@ const InputInteger = _a => {
|
|
|
1972
1972
|
min,
|
|
1973
1973
|
controls = false
|
|
1974
1974
|
} = _b,
|
|
1975
|
-
props = __objRest$
|
|
1975
|
+
props = __objRest$g(_b, ["className", "error", "size", "suffix", "prefix", "max", "min", "controls"]);
|
|
1976
1976
|
const typo = {
|
|
1977
1977
|
large: Typo.Label.l2_regular,
|
|
1978
1978
|
middle: Typo.Label.l3_regular,
|
|
1979
1979
|
small: Typo.Label.l4_regular
|
|
1980
1980
|
}[size];
|
|
1981
|
-
return /* @__PURE__ */React__default.createElement(AntdIntStyled, __spreadProps$
|
|
1981
|
+
return /* @__PURE__ */React__default.createElement(AntdIntStyled, __spreadProps$r(__spreadValues$y({}, props), {
|
|
1982
1982
|
size,
|
|
1983
1983
|
formatter: formatterInteger,
|
|
1984
1984
|
parser: formatterInteger,
|
|
@@ -1992,33 +1992,33 @@ const InputInteger = _a => {
|
|
|
1992
1992
|
}));
|
|
1993
1993
|
};
|
|
1994
1994
|
|
|
1995
|
-
var __defProp$
|
|
1996
|
-
var __defProps$
|
|
1997
|
-
var __getOwnPropDescs$
|
|
1998
|
-
var __getOwnPropSymbols$
|
|
1999
|
-
var __hasOwnProp$
|
|
2000
|
-
var __propIsEnum$
|
|
2001
|
-
var __defNormalProp$
|
|
2002
|
-
var __spreadValues$
|
|
1995
|
+
var __defProp$x = Object.defineProperty;
|
|
1996
|
+
var __defProps$q = Object.defineProperties;
|
|
1997
|
+
var __getOwnPropDescs$q = Object.getOwnPropertyDescriptors;
|
|
1998
|
+
var __getOwnPropSymbols$x = Object.getOwnPropertySymbols;
|
|
1999
|
+
var __hasOwnProp$x = Object.prototype.hasOwnProperty;
|
|
2000
|
+
var __propIsEnum$x = Object.prototype.propertyIsEnumerable;
|
|
2001
|
+
var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2002
|
+
var __spreadValues$x = (a, b) => {
|
|
2003
2003
|
for (var prop in b || (b = {}))
|
|
2004
|
-
if (__hasOwnProp$
|
|
2005
|
-
__defNormalProp$
|
|
2006
|
-
if (__getOwnPropSymbols$
|
|
2007
|
-
for (var prop of __getOwnPropSymbols$
|
|
2008
|
-
if (__propIsEnum$
|
|
2009
|
-
__defNormalProp$
|
|
2004
|
+
if (__hasOwnProp$x.call(b, prop))
|
|
2005
|
+
__defNormalProp$x(a, prop, b[prop]);
|
|
2006
|
+
if (__getOwnPropSymbols$x)
|
|
2007
|
+
for (var prop of __getOwnPropSymbols$x(b)) {
|
|
2008
|
+
if (__propIsEnum$x.call(b, prop))
|
|
2009
|
+
__defNormalProp$x(a, prop, b[prop]);
|
|
2010
2010
|
}
|
|
2011
2011
|
return a;
|
|
2012
2012
|
};
|
|
2013
|
-
var __spreadProps$
|
|
2014
|
-
var __objRest$
|
|
2013
|
+
var __spreadProps$q = (a, b) => __defProps$q(a, __getOwnPropDescs$q(b));
|
|
2014
|
+
var __objRest$f = (source, exclude) => {
|
|
2015
2015
|
var target = {};
|
|
2016
2016
|
for (var prop in source)
|
|
2017
|
-
if (__hasOwnProp$
|
|
2017
|
+
if (__hasOwnProp$x.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2018
2018
|
target[prop] = source[prop];
|
|
2019
|
-
if (source != null && __getOwnPropSymbols$
|
|
2020
|
-
for (var prop of __getOwnPropSymbols$
|
|
2021
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2019
|
+
if (source != null && __getOwnPropSymbols$x)
|
|
2020
|
+
for (var prop of __getOwnPropSymbols$x(source)) {
|
|
2021
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$x.call(source, prop))
|
|
2022
2022
|
target[prop] = source[prop];
|
|
2023
2023
|
}
|
|
2024
2024
|
return target;
|
|
@@ -2028,14 +2028,14 @@ const FieldsInteger = (_a) => {
|
|
|
2028
2028
|
meta,
|
|
2029
2029
|
input,
|
|
2030
2030
|
onBlur
|
|
2031
|
-
} = _b, props = __objRest$
|
|
2031
|
+
} = _b, props = __objRest$f(_b, [
|
|
2032
2032
|
"meta",
|
|
2033
2033
|
"input",
|
|
2034
2034
|
"onBlur"
|
|
2035
2035
|
]);
|
|
2036
2036
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
2037
2037
|
InputInteger,
|
|
2038
|
-
__spreadProps$
|
|
2038
|
+
__spreadProps$q(__spreadValues$x(__spreadValues$x({}, props), input), {
|
|
2039
2039
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
2040
2040
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
2041
2041
|
})
|
|
@@ -2200,33 +2200,33 @@ const Overflow = props => {
|
|
|
2200
2200
|
}, children), showOverflow && /* @__PURE__ */React__default.createElement("span", null, overflow));
|
|
2201
2201
|
};
|
|
2202
2202
|
|
|
2203
|
-
var __defProp$
|
|
2204
|
-
var __defProps$
|
|
2205
|
-
var __getOwnPropDescs$
|
|
2206
|
-
var __getOwnPropSymbols$
|
|
2207
|
-
var __hasOwnProp$
|
|
2208
|
-
var __propIsEnum$
|
|
2209
|
-
var __defNormalProp$
|
|
2210
|
-
var __spreadValues$
|
|
2203
|
+
var __defProp$w = Object.defineProperty;
|
|
2204
|
+
var __defProps$p = Object.defineProperties;
|
|
2205
|
+
var __getOwnPropDescs$p = Object.getOwnPropertyDescriptors;
|
|
2206
|
+
var __getOwnPropSymbols$w = Object.getOwnPropertySymbols;
|
|
2207
|
+
var __hasOwnProp$w = Object.prototype.hasOwnProperty;
|
|
2208
|
+
var __propIsEnum$w = Object.prototype.propertyIsEnumerable;
|
|
2209
|
+
var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2210
|
+
var __spreadValues$w = (a, b) => {
|
|
2211
2211
|
for (var prop in b || (b = {}))
|
|
2212
|
-
if (__hasOwnProp$
|
|
2213
|
-
__defNormalProp$
|
|
2214
|
-
if (__getOwnPropSymbols$
|
|
2215
|
-
for (var prop of __getOwnPropSymbols$
|
|
2216
|
-
if (__propIsEnum$
|
|
2217
|
-
__defNormalProp$
|
|
2212
|
+
if (__hasOwnProp$w.call(b, prop))
|
|
2213
|
+
__defNormalProp$w(a, prop, b[prop]);
|
|
2214
|
+
if (__getOwnPropSymbols$w)
|
|
2215
|
+
for (var prop of __getOwnPropSymbols$w(b)) {
|
|
2216
|
+
if (__propIsEnum$w.call(b, prop))
|
|
2217
|
+
__defNormalProp$w(a, prop, b[prop]);
|
|
2218
2218
|
}
|
|
2219
2219
|
return a;
|
|
2220
2220
|
};
|
|
2221
|
-
var __spreadProps$
|
|
2222
|
-
var __objRest$
|
|
2221
|
+
var __spreadProps$p = (a, b) => __defProps$p(a, __getOwnPropDescs$p(b));
|
|
2222
|
+
var __objRest$e = (source, exclude) => {
|
|
2223
2223
|
var target = {};
|
|
2224
2224
|
for (var prop in source)
|
|
2225
|
-
if (__hasOwnProp$
|
|
2225
|
+
if (__hasOwnProp$w.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2226
2226
|
target[prop] = source[prop];
|
|
2227
|
-
if (source != null && __getOwnPropSymbols$
|
|
2228
|
-
for (var prop of __getOwnPropSymbols$
|
|
2229
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2227
|
+
if (source != null && __getOwnPropSymbols$w)
|
|
2228
|
+
for (var prop of __getOwnPropSymbols$w(source)) {
|
|
2229
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$w.call(source, prop))
|
|
2230
2230
|
target[prop] = source[prop];
|
|
2231
2231
|
}
|
|
2232
2232
|
return target;
|
|
@@ -2245,7 +2245,7 @@ const FieldsString = (_a) => {
|
|
|
2245
2245
|
onClick,
|
|
2246
2246
|
maxLength,
|
|
2247
2247
|
focusIndicator
|
|
2248
|
-
} = _b, props = __objRest$
|
|
2248
|
+
} = _b, props = __objRest$e(_b, [
|
|
2249
2249
|
"input",
|
|
2250
2250
|
"meta",
|
|
2251
2251
|
"autoComplete",
|
|
@@ -2277,7 +2277,7 @@ const FieldsString = (_a) => {
|
|
|
2277
2277
|
}
|
|
2278
2278
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
2279
2279
|
Input,
|
|
2280
|
-
__spreadProps$
|
|
2280
|
+
__spreadProps$p(__spreadValues$w(__spreadProps$p(__spreadValues$w({
|
|
2281
2281
|
className: cs(
|
|
2282
2282
|
className,
|
|
2283
2283
|
KitInputStyle,
|
|
@@ -2302,33 +2302,33 @@ const FieldsString = (_a) => {
|
|
|
2302
2302
|
));
|
|
2303
2303
|
};
|
|
2304
2304
|
|
|
2305
|
-
var __defProp$
|
|
2306
|
-
var __defProps$
|
|
2307
|
-
var __getOwnPropDescs$
|
|
2308
|
-
var __getOwnPropSymbols$
|
|
2309
|
-
var __hasOwnProp$
|
|
2310
|
-
var __propIsEnum$
|
|
2311
|
-
var __defNormalProp$
|
|
2312
|
-
var __spreadValues$
|
|
2305
|
+
var __defProp$v = Object.defineProperty;
|
|
2306
|
+
var __defProps$o = Object.defineProperties;
|
|
2307
|
+
var __getOwnPropDescs$o = Object.getOwnPropertyDescriptors;
|
|
2308
|
+
var __getOwnPropSymbols$v = Object.getOwnPropertySymbols;
|
|
2309
|
+
var __hasOwnProp$v = Object.prototype.hasOwnProperty;
|
|
2310
|
+
var __propIsEnum$v = Object.prototype.propertyIsEnumerable;
|
|
2311
|
+
var __defNormalProp$v = (obj, key, value) => key in obj ? __defProp$v(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2312
|
+
var __spreadValues$v = (a, b) => {
|
|
2313
2313
|
for (var prop in b || (b = {}))
|
|
2314
|
-
if (__hasOwnProp$
|
|
2315
|
-
__defNormalProp$
|
|
2316
|
-
if (__getOwnPropSymbols$
|
|
2317
|
-
for (var prop of __getOwnPropSymbols$
|
|
2318
|
-
if (__propIsEnum$
|
|
2319
|
-
__defNormalProp$
|
|
2314
|
+
if (__hasOwnProp$v.call(b, prop))
|
|
2315
|
+
__defNormalProp$v(a, prop, b[prop]);
|
|
2316
|
+
if (__getOwnPropSymbols$v)
|
|
2317
|
+
for (var prop of __getOwnPropSymbols$v(b)) {
|
|
2318
|
+
if (__propIsEnum$v.call(b, prop))
|
|
2319
|
+
__defNormalProp$v(a, prop, b[prop]);
|
|
2320
2320
|
}
|
|
2321
2321
|
return a;
|
|
2322
2322
|
};
|
|
2323
|
-
var __spreadProps$
|
|
2324
|
-
var __objRest$
|
|
2323
|
+
var __spreadProps$o = (a, b) => __defProps$o(a, __getOwnPropDescs$o(b));
|
|
2324
|
+
var __objRest$d = (source, exclude) => {
|
|
2325
2325
|
var target = {};
|
|
2326
2326
|
for (var prop in source)
|
|
2327
|
-
if (__hasOwnProp$
|
|
2327
|
+
if (__hasOwnProp$v.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2328
2328
|
target[prop] = source[prop];
|
|
2329
|
-
if (source != null && __getOwnPropSymbols$
|
|
2330
|
-
for (var prop of __getOwnPropSymbols$
|
|
2331
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2329
|
+
if (source != null && __getOwnPropSymbols$v)
|
|
2330
|
+
for (var prop of __getOwnPropSymbols$v(source)) {
|
|
2331
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$v.call(source, prop))
|
|
2332
2332
|
target[prop] = source[prop];
|
|
2333
2333
|
}
|
|
2334
2334
|
return target;
|
|
@@ -2338,7 +2338,7 @@ const TextArea = (_a) => {
|
|
|
2338
2338
|
className,
|
|
2339
2339
|
error,
|
|
2340
2340
|
size = "middle"
|
|
2341
|
-
} = _b, props = __objRest$
|
|
2341
|
+
} = _b, props = __objRest$d(_b, [
|
|
2342
2342
|
"className",
|
|
2343
2343
|
"error",
|
|
2344
2344
|
"size"
|
|
@@ -2350,7 +2350,7 @@ const TextArea = (_a) => {
|
|
|
2350
2350
|
}[size];
|
|
2351
2351
|
return /* @__PURE__ */ React__default.createElement(
|
|
2352
2352
|
Input$1.TextArea,
|
|
2353
|
-
__spreadProps$
|
|
2353
|
+
__spreadProps$o(__spreadValues$v({}, props), {
|
|
2354
2354
|
className: cs(
|
|
2355
2355
|
className,
|
|
2356
2356
|
InputStyle,
|
|
@@ -2364,33 +2364,33 @@ const TextArea = (_a) => {
|
|
|
2364
2364
|
);
|
|
2365
2365
|
};
|
|
2366
2366
|
|
|
2367
|
-
var __defProp$
|
|
2368
|
-
var __defProps$
|
|
2369
|
-
var __getOwnPropDescs$
|
|
2370
|
-
var __getOwnPropSymbols$
|
|
2371
|
-
var __hasOwnProp$
|
|
2372
|
-
var __propIsEnum$
|
|
2373
|
-
var __defNormalProp$
|
|
2374
|
-
var __spreadValues$
|
|
2367
|
+
var __defProp$u = Object.defineProperty;
|
|
2368
|
+
var __defProps$n = Object.defineProperties;
|
|
2369
|
+
var __getOwnPropDescs$n = Object.getOwnPropertyDescriptors;
|
|
2370
|
+
var __getOwnPropSymbols$u = Object.getOwnPropertySymbols;
|
|
2371
|
+
var __hasOwnProp$u = Object.prototype.hasOwnProperty;
|
|
2372
|
+
var __propIsEnum$u = Object.prototype.propertyIsEnumerable;
|
|
2373
|
+
var __defNormalProp$u = (obj, key, value) => key in obj ? __defProp$u(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2374
|
+
var __spreadValues$u = (a, b) => {
|
|
2375
2375
|
for (var prop in b || (b = {}))
|
|
2376
|
-
if (__hasOwnProp$
|
|
2377
|
-
__defNormalProp$
|
|
2378
|
-
if (__getOwnPropSymbols$
|
|
2379
|
-
for (var prop of __getOwnPropSymbols$
|
|
2380
|
-
if (__propIsEnum$
|
|
2381
|
-
__defNormalProp$
|
|
2376
|
+
if (__hasOwnProp$u.call(b, prop))
|
|
2377
|
+
__defNormalProp$u(a, prop, b[prop]);
|
|
2378
|
+
if (__getOwnPropSymbols$u)
|
|
2379
|
+
for (var prop of __getOwnPropSymbols$u(b)) {
|
|
2380
|
+
if (__propIsEnum$u.call(b, prop))
|
|
2381
|
+
__defNormalProp$u(a, prop, b[prop]);
|
|
2382
2382
|
}
|
|
2383
2383
|
return a;
|
|
2384
2384
|
};
|
|
2385
|
-
var __spreadProps$
|
|
2386
|
-
var __objRest$
|
|
2385
|
+
var __spreadProps$n = (a, b) => __defProps$n(a, __getOwnPropDescs$n(b));
|
|
2386
|
+
var __objRest$c = (source, exclude) => {
|
|
2387
2387
|
var target = {};
|
|
2388
2388
|
for (var prop in source)
|
|
2389
|
-
if (__hasOwnProp$
|
|
2389
|
+
if (__hasOwnProp$u.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2390
2390
|
target[prop] = source[prop];
|
|
2391
|
-
if (source != null && __getOwnPropSymbols$
|
|
2392
|
-
for (var prop of __getOwnPropSymbols$
|
|
2393
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2391
|
+
if (source != null && __getOwnPropSymbols$u)
|
|
2392
|
+
for (var prop of __getOwnPropSymbols$u(source)) {
|
|
2393
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$u.call(source, prop))
|
|
2394
2394
|
target[prop] = source[prop];
|
|
2395
2395
|
}
|
|
2396
2396
|
return target;
|
|
@@ -2400,14 +2400,14 @@ const FieldsTextArea = (_a) => {
|
|
|
2400
2400
|
input,
|
|
2401
2401
|
meta,
|
|
2402
2402
|
onFocusChangeHeight
|
|
2403
|
-
} = _b, props = __objRest$
|
|
2403
|
+
} = _b, props = __objRest$c(_b, [
|
|
2404
2404
|
"input",
|
|
2405
2405
|
"meta",
|
|
2406
2406
|
"onFocusChangeHeight"
|
|
2407
2407
|
]);
|
|
2408
2408
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
2409
2409
|
TextArea,
|
|
2410
|
-
__spreadProps$
|
|
2410
|
+
__spreadProps$n(__spreadValues$u(__spreadValues$u({}, input), props), {
|
|
2411
2411
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError),
|
|
2412
2412
|
onFocus: (e) => {
|
|
2413
2413
|
input.onFocus(e);
|
|
@@ -2421,33 +2421,33 @@ const FieldsTextArea = (_a) => {
|
|
|
2421
2421
|
));
|
|
2422
2422
|
};
|
|
2423
2423
|
|
|
2424
|
-
var __defProp$
|
|
2425
|
-
var __defProps$
|
|
2426
|
-
var __getOwnPropDescs$
|
|
2427
|
-
var __getOwnPropSymbols$
|
|
2428
|
-
var __hasOwnProp$
|
|
2429
|
-
var __propIsEnum$
|
|
2430
|
-
var __defNormalProp$
|
|
2431
|
-
var __spreadValues$
|
|
2424
|
+
var __defProp$t = Object.defineProperty;
|
|
2425
|
+
var __defProps$m = Object.defineProperties;
|
|
2426
|
+
var __getOwnPropDescs$m = Object.getOwnPropertyDescriptors;
|
|
2427
|
+
var __getOwnPropSymbols$t = Object.getOwnPropertySymbols;
|
|
2428
|
+
var __hasOwnProp$t = Object.prototype.hasOwnProperty;
|
|
2429
|
+
var __propIsEnum$t = Object.prototype.propertyIsEnumerable;
|
|
2430
|
+
var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2431
|
+
var __spreadValues$t = (a, b) => {
|
|
2432
2432
|
for (var prop in b || (b = {}))
|
|
2433
|
-
if (__hasOwnProp$
|
|
2434
|
-
__defNormalProp$
|
|
2435
|
-
if (__getOwnPropSymbols$
|
|
2436
|
-
for (var prop of __getOwnPropSymbols$
|
|
2437
|
-
if (__propIsEnum$
|
|
2438
|
-
__defNormalProp$
|
|
2433
|
+
if (__hasOwnProp$t.call(b, prop))
|
|
2434
|
+
__defNormalProp$t(a, prop, b[prop]);
|
|
2435
|
+
if (__getOwnPropSymbols$t)
|
|
2436
|
+
for (var prop of __getOwnPropSymbols$t(b)) {
|
|
2437
|
+
if (__propIsEnum$t.call(b, prop))
|
|
2438
|
+
__defNormalProp$t(a, prop, b[prop]);
|
|
2439
2439
|
}
|
|
2440
2440
|
return a;
|
|
2441
2441
|
};
|
|
2442
|
-
var __spreadProps$
|
|
2443
|
-
var __objRest$
|
|
2442
|
+
var __spreadProps$m = (a, b) => __defProps$m(a, __getOwnPropDescs$m(b));
|
|
2443
|
+
var __objRest$b = (source, exclude) => {
|
|
2444
2444
|
var target = {};
|
|
2445
2445
|
for (var prop in source)
|
|
2446
|
-
if (__hasOwnProp$
|
|
2446
|
+
if (__hasOwnProp$t.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2447
2447
|
target[prop] = source[prop];
|
|
2448
|
-
if (source != null && __getOwnPropSymbols$
|
|
2449
|
-
for (var prop of __getOwnPropSymbols$
|
|
2450
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2448
|
+
if (source != null && __getOwnPropSymbols$t)
|
|
2449
|
+
for (var prop of __getOwnPropSymbols$t(source)) {
|
|
2450
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$t.call(source, prop))
|
|
2451
2451
|
target[prop] = source[prop];
|
|
2452
2452
|
}
|
|
2453
2453
|
return target;
|
|
@@ -2457,7 +2457,7 @@ const TimePicker = (_a) => {
|
|
|
2457
2457
|
className,
|
|
2458
2458
|
error,
|
|
2459
2459
|
size = "middle"
|
|
2460
|
-
} = _b, props = __objRest$
|
|
2460
|
+
} = _b, props = __objRest$b(_b, [
|
|
2461
2461
|
"className",
|
|
2462
2462
|
"error",
|
|
2463
2463
|
"size"
|
|
@@ -2469,7 +2469,7 @@ const TimePicker = (_a) => {
|
|
|
2469
2469
|
}[size];
|
|
2470
2470
|
return /* @__PURE__ */ React__default.createElement(
|
|
2471
2471
|
TimePicker$1,
|
|
2472
|
-
__spreadProps$
|
|
2472
|
+
__spreadProps$m(__spreadValues$t({}, props), {
|
|
2473
2473
|
size,
|
|
2474
2474
|
"data-test": props.name,
|
|
2475
2475
|
className: cs(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -2477,33 +2477,33 @@ const TimePicker = (_a) => {
|
|
|
2477
2477
|
);
|
|
2478
2478
|
};
|
|
2479
2479
|
|
|
2480
|
-
var __defProp$
|
|
2481
|
-
var __defProps$
|
|
2482
|
-
var __getOwnPropDescs$
|
|
2483
|
-
var __getOwnPropSymbols$
|
|
2484
|
-
var __hasOwnProp$
|
|
2485
|
-
var __propIsEnum$
|
|
2486
|
-
var __defNormalProp$
|
|
2487
|
-
var __spreadValues$
|
|
2480
|
+
var __defProp$s = Object.defineProperty;
|
|
2481
|
+
var __defProps$l = Object.defineProperties;
|
|
2482
|
+
var __getOwnPropDescs$l = Object.getOwnPropertyDescriptors;
|
|
2483
|
+
var __getOwnPropSymbols$s = Object.getOwnPropertySymbols;
|
|
2484
|
+
var __hasOwnProp$s = Object.prototype.hasOwnProperty;
|
|
2485
|
+
var __propIsEnum$s = Object.prototype.propertyIsEnumerable;
|
|
2486
|
+
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2487
|
+
var __spreadValues$s = (a, b) => {
|
|
2488
2488
|
for (var prop in b || (b = {}))
|
|
2489
|
-
if (__hasOwnProp$
|
|
2490
|
-
__defNormalProp$
|
|
2491
|
-
if (__getOwnPropSymbols$
|
|
2492
|
-
for (var prop of __getOwnPropSymbols$
|
|
2493
|
-
if (__propIsEnum$
|
|
2494
|
-
__defNormalProp$
|
|
2489
|
+
if (__hasOwnProp$s.call(b, prop))
|
|
2490
|
+
__defNormalProp$s(a, prop, b[prop]);
|
|
2491
|
+
if (__getOwnPropSymbols$s)
|
|
2492
|
+
for (var prop of __getOwnPropSymbols$s(b)) {
|
|
2493
|
+
if (__propIsEnum$s.call(b, prop))
|
|
2494
|
+
__defNormalProp$s(a, prop, b[prop]);
|
|
2495
2495
|
}
|
|
2496
2496
|
return a;
|
|
2497
2497
|
};
|
|
2498
|
-
var __spreadProps$
|
|
2499
|
-
var __objRest$
|
|
2498
|
+
var __spreadProps$l = (a, b) => __defProps$l(a, __getOwnPropDescs$l(b));
|
|
2499
|
+
var __objRest$a = (source, exclude) => {
|
|
2500
2500
|
var target = {};
|
|
2501
2501
|
for (var prop in source)
|
|
2502
|
-
if (__hasOwnProp$
|
|
2502
|
+
if (__hasOwnProp$s.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2503
2503
|
target[prop] = source[prop];
|
|
2504
|
-
if (source != null && __getOwnPropSymbols$
|
|
2505
|
-
for (var prop of __getOwnPropSymbols$
|
|
2506
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2504
|
+
if (source != null && __getOwnPropSymbols$s)
|
|
2505
|
+
for (var prop of __getOwnPropSymbols$s(source)) {
|
|
2506
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$s.call(source, prop))
|
|
2507
2507
|
target[prop] = source[prop];
|
|
2508
2508
|
}
|
|
2509
2509
|
return target;
|
|
@@ -2512,13 +2512,13 @@ const FieldsTimePicker = (_a) => {
|
|
|
2512
2512
|
var _b = _a, {
|
|
2513
2513
|
input,
|
|
2514
2514
|
meta
|
|
2515
|
-
} = _b, props = __objRest$
|
|
2515
|
+
} = _b, props = __objRest$a(_b, [
|
|
2516
2516
|
"input",
|
|
2517
2517
|
"meta"
|
|
2518
2518
|
]);
|
|
2519
2519
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
|
|
2520
2520
|
TimePicker,
|
|
2521
|
-
__spreadValues$
|
|
2521
|
+
__spreadValues$s(__spreadProps$l(__spreadValues$s({}, input), {
|
|
2522
2522
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
2523
2523
|
}), props)
|
|
2524
2524
|
));
|
|
@@ -2537,32 +2537,32 @@ const fields = {
|
|
|
2537
2537
|
DateTimeRange: FieldsDateTimeRange
|
|
2538
2538
|
};
|
|
2539
2539
|
|
|
2540
|
-
var __defProp$
|
|
2541
|
-
var __defProps$
|
|
2542
|
-
var __getOwnPropDescs$
|
|
2543
|
-
var __getOwnPropSymbols$
|
|
2544
|
-
var __hasOwnProp$
|
|
2545
|
-
var __propIsEnum$
|
|
2546
|
-
var __defNormalProp$
|
|
2540
|
+
var __defProp$r = Object.defineProperty;
|
|
2541
|
+
var __defProps$k = Object.defineProperties;
|
|
2542
|
+
var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
|
|
2543
|
+
var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
|
|
2544
|
+
var __hasOwnProp$r = Object.prototype.hasOwnProperty;
|
|
2545
|
+
var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
|
|
2546
|
+
var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, {
|
|
2547
2547
|
enumerable: true,
|
|
2548
2548
|
configurable: true,
|
|
2549
2549
|
writable: true,
|
|
2550
2550
|
value
|
|
2551
2551
|
}) : obj[key] = value;
|
|
2552
|
-
var __spreadValues$
|
|
2553
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2554
|
-
if (__getOwnPropSymbols$
|
|
2555
|
-
if (__propIsEnum$
|
|
2552
|
+
var __spreadValues$r = (a, b) => {
|
|
2553
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$r.call(b, prop)) __defNormalProp$r(a, prop, b[prop]);
|
|
2554
|
+
if (__getOwnPropSymbols$r) for (var prop of __getOwnPropSymbols$r(b)) {
|
|
2555
|
+
if (__propIsEnum$r.call(b, prop)) __defNormalProp$r(a, prop, b[prop]);
|
|
2556
2556
|
}
|
|
2557
2557
|
return a;
|
|
2558
2558
|
};
|
|
2559
|
-
var __spreadProps$
|
|
2559
|
+
var __spreadProps$k = (a, b) => __defProps$k(a, __getOwnPropDescs$k(b));
|
|
2560
2560
|
const {
|
|
2561
2561
|
Item: AntdFormItem
|
|
2562
2562
|
} = Form$1;
|
|
2563
2563
|
const FormItemStyle$1 = "f1p9ti6d";
|
|
2564
2564
|
const FormItem$1 = props => {
|
|
2565
|
-
return /* @__PURE__ */React__default.createElement(AntdFormItem, __spreadProps$
|
|
2565
|
+
return /* @__PURE__ */React__default.createElement(AntdFormItem, __spreadProps$k(__spreadValues$r({}, props), {
|
|
2566
2566
|
className: cs(FormItemStyle$1, props.className)
|
|
2567
2567
|
}));
|
|
2568
2568
|
};
|
|
@@ -2570,19 +2570,19 @@ const FormItem$1 = props => {
|
|
|
2570
2570
|
const Form = Form$1;
|
|
2571
2571
|
Form.Item = FormItem$1;
|
|
2572
2572
|
|
|
2573
|
-
var __defProp$
|
|
2574
|
-
var __getOwnPropSymbols$
|
|
2575
|
-
var __hasOwnProp$
|
|
2576
|
-
var __propIsEnum$
|
|
2577
|
-
var __defNormalProp$
|
|
2578
|
-
var __spreadValues$
|
|
2573
|
+
var __defProp$q = Object.defineProperty;
|
|
2574
|
+
var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
|
|
2575
|
+
var __hasOwnProp$q = Object.prototype.hasOwnProperty;
|
|
2576
|
+
var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
|
|
2577
|
+
var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2578
|
+
var __spreadValues$q = (a, b) => {
|
|
2579
2579
|
for (var prop in b || (b = {}))
|
|
2580
|
-
if (__hasOwnProp$
|
|
2581
|
-
__defNormalProp$
|
|
2582
|
-
if (__getOwnPropSymbols$
|
|
2583
|
-
for (var prop of __getOwnPropSymbols$
|
|
2584
|
-
if (__propIsEnum$
|
|
2585
|
-
__defNormalProp$
|
|
2580
|
+
if (__hasOwnProp$q.call(b, prop))
|
|
2581
|
+
__defNormalProp$q(a, prop, b[prop]);
|
|
2582
|
+
if (__getOwnPropSymbols$q)
|
|
2583
|
+
for (var prop of __getOwnPropSymbols$q(b)) {
|
|
2584
|
+
if (__propIsEnum$q.call(b, prop))
|
|
2585
|
+
__defNormalProp$q(a, prop, b[prop]);
|
|
2586
2586
|
}
|
|
2587
2587
|
return a;
|
|
2588
2588
|
};
|
|
@@ -2594,7 +2594,7 @@ const Frequency = ({
|
|
|
2594
2594
|
emptyProps
|
|
2595
2595
|
}) => {
|
|
2596
2596
|
if (isEmpty(rawValue)) {
|
|
2597
|
-
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$
|
|
2597
|
+
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$q({}, emptyProps));
|
|
2598
2598
|
}
|
|
2599
2599
|
const { value, unit } = formatFrequency(rawValue, decimals);
|
|
2600
2600
|
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
@@ -2607,25 +2607,25 @@ const InputGroup = /*#__PURE__*/styled(_exp())({
|
|
|
2607
2607
|
propsAsIs: true
|
|
2608
2608
|
});
|
|
2609
2609
|
|
|
2610
|
-
var __defProp$
|
|
2611
|
-
var __defProps$
|
|
2612
|
-
var __getOwnPropDescs$
|
|
2613
|
-
var __getOwnPropSymbols$
|
|
2614
|
-
var __hasOwnProp$
|
|
2615
|
-
var __propIsEnum$
|
|
2616
|
-
var __defNormalProp$
|
|
2617
|
-
var __spreadValues$
|
|
2610
|
+
var __defProp$p = Object.defineProperty;
|
|
2611
|
+
var __defProps$j = Object.defineProperties;
|
|
2612
|
+
var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
|
|
2613
|
+
var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
|
|
2614
|
+
var __hasOwnProp$p = Object.prototype.hasOwnProperty;
|
|
2615
|
+
var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
|
|
2616
|
+
var __defNormalProp$p = (obj, key2, value) => key2 in obj ? __defProp$p(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value;
|
|
2617
|
+
var __spreadValues$p = (a, b) => {
|
|
2618
2618
|
for (var prop in b || (b = {}))
|
|
2619
|
-
if (__hasOwnProp$
|
|
2620
|
-
__defNormalProp$
|
|
2621
|
-
if (__getOwnPropSymbols$
|
|
2622
|
-
for (var prop of __getOwnPropSymbols$
|
|
2623
|
-
if (__propIsEnum$
|
|
2624
|
-
__defNormalProp$
|
|
2619
|
+
if (__hasOwnProp$p.call(b, prop))
|
|
2620
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
2621
|
+
if (__getOwnPropSymbols$p)
|
|
2622
|
+
for (var prop of __getOwnPropSymbols$p(b)) {
|
|
2623
|
+
if (__propIsEnum$p.call(b, prop))
|
|
2624
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
2625
2625
|
}
|
|
2626
2626
|
return a;
|
|
2627
2627
|
};
|
|
2628
|
-
var __spreadProps$
|
|
2628
|
+
var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
|
|
2629
2629
|
let messageInstance;
|
|
2630
2630
|
let defaultDuration = 3;
|
|
2631
2631
|
let defaultTop;
|
|
@@ -2732,7 +2732,7 @@ function notice(args) {
|
|
|
2732
2732
|
}
|
|
2733
2733
|
getRCNotificationInstance(args, ({ prefixCls, instance }) => {
|
|
2734
2734
|
instance.notice(
|
|
2735
|
-
getRCNoticeProps(__spreadProps$
|
|
2735
|
+
getRCNoticeProps(__spreadProps$j(__spreadValues$p({}, args), { key: target, onClose: callback }), prefixCls)
|
|
2736
2736
|
);
|
|
2737
2737
|
});
|
|
2738
2738
|
});
|
|
@@ -2761,7 +2761,7 @@ const api = {
|
|
|
2761
2761
|
function attachTypeApi(originalApi, type) {
|
|
2762
2762
|
originalApi[type] = (content, duration, onClose) => {
|
|
2763
2763
|
if (isArgsProps(content)) {
|
|
2764
|
-
return originalApi.open(__spreadProps$
|
|
2764
|
+
return originalApi.open(__spreadProps$j(__spreadValues$p({}, content), { type }));
|
|
2765
2765
|
}
|
|
2766
2766
|
if (typeof duration === "function") {
|
|
2767
2767
|
onClose = duration;
|
|
@@ -2775,25 +2775,25 @@ function attachTypeApi(originalApi, type) {
|
|
|
2775
2775
|
);
|
|
2776
2776
|
api.warn = api.warning;
|
|
2777
2777
|
|
|
2778
|
-
var __defProp$
|
|
2779
|
-
var __defProps$
|
|
2780
|
-
var __getOwnPropDescs$
|
|
2781
|
-
var __getOwnPropSymbols$
|
|
2782
|
-
var __hasOwnProp$
|
|
2783
|
-
var __propIsEnum$
|
|
2784
|
-
var __defNormalProp$
|
|
2785
|
-
var __spreadValues$
|
|
2778
|
+
var __defProp$o = Object.defineProperty;
|
|
2779
|
+
var __defProps$i = Object.defineProperties;
|
|
2780
|
+
var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
|
|
2781
|
+
var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
|
|
2782
|
+
var __hasOwnProp$o = Object.prototype.hasOwnProperty;
|
|
2783
|
+
var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
|
|
2784
|
+
var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2785
|
+
var __spreadValues$o = (a, b) => {
|
|
2786
2786
|
for (var prop in b || (b = {}))
|
|
2787
|
-
if (__hasOwnProp$
|
|
2788
|
-
__defNormalProp$
|
|
2789
|
-
if (__getOwnPropSymbols$
|
|
2790
|
-
for (var prop of __getOwnPropSymbols$
|
|
2791
|
-
if (__propIsEnum$
|
|
2792
|
-
__defNormalProp$
|
|
2787
|
+
if (__hasOwnProp$o.call(b, prop))
|
|
2788
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
2789
|
+
if (__getOwnPropSymbols$o)
|
|
2790
|
+
for (var prop of __getOwnPropSymbols$o(b)) {
|
|
2791
|
+
if (__propIsEnum$o.call(b, prop))
|
|
2792
|
+
__defNormalProp$o(a, prop, b[prop]);
|
|
2793
2793
|
}
|
|
2794
2794
|
return a;
|
|
2795
2795
|
};
|
|
2796
|
-
var __spreadProps$
|
|
2796
|
+
var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
|
|
2797
2797
|
const initialChartState = {
|
|
2798
2798
|
pointers: {},
|
|
2799
2799
|
resourceData: {},
|
|
@@ -2803,8 +2803,8 @@ const chartReducer = (state = initialChartState, action) => {
|
|
|
2803
2803
|
switch (action.type) {
|
|
2804
2804
|
case "SET_POINTER" /* SET_POINTER */: {
|
|
2805
2805
|
const { uuid, left, text, visible, value } = action.payload;
|
|
2806
|
-
return __spreadProps$
|
|
2807
|
-
pointers: __spreadProps$
|
|
2806
|
+
return __spreadProps$i(__spreadValues$o({}, state), {
|
|
2807
|
+
pointers: __spreadProps$i(__spreadValues$o({}, state.pointers), {
|
|
2808
2808
|
[uuid]: {
|
|
2809
2809
|
left,
|
|
2810
2810
|
text,
|
|
@@ -2816,16 +2816,16 @@ const chartReducer = (state = initialChartState, action) => {
|
|
|
2816
2816
|
}
|
|
2817
2817
|
case "SET_RESOURCE_DATA" /* SET_RESOURCE_DATA */: {
|
|
2818
2818
|
const { uuid, data } = action.payload;
|
|
2819
|
-
return __spreadProps$
|
|
2820
|
-
resourceData: __spreadProps$
|
|
2819
|
+
return __spreadProps$i(__spreadValues$o({}, state), {
|
|
2820
|
+
resourceData: __spreadProps$i(__spreadValues$o({}, state.resourceData), {
|
|
2821
2821
|
[uuid]: data
|
|
2822
2822
|
})
|
|
2823
2823
|
});
|
|
2824
2824
|
}
|
|
2825
2825
|
case "SET_AVERAGE_DATA" /* SET_AVERAGE_DATA */: {
|
|
2826
2826
|
const { uuid, average } = action.payload;
|
|
2827
|
-
return __spreadProps$
|
|
2828
|
-
averageData: __spreadProps$
|
|
2827
|
+
return __spreadProps$i(__spreadValues$o({}, state), {
|
|
2828
|
+
averageData: __spreadProps$i(__spreadValues$o({}, state.averageData), {
|
|
2829
2829
|
[uuid]: average
|
|
2830
2830
|
})
|
|
2831
2831
|
});
|
|
@@ -2836,25 +2836,25 @@ const chartReducer = (state = initialChartState, action) => {
|
|
|
2836
2836
|
}
|
|
2837
2837
|
};
|
|
2838
2838
|
|
|
2839
|
-
var __defProp$
|
|
2840
|
-
var __defProps$
|
|
2841
|
-
var __getOwnPropDescs$
|
|
2842
|
-
var __getOwnPropSymbols$
|
|
2843
|
-
var __hasOwnProp$
|
|
2844
|
-
var __propIsEnum$
|
|
2845
|
-
var __defNormalProp$
|
|
2846
|
-
var __spreadValues$
|
|
2839
|
+
var __defProp$n = Object.defineProperty;
|
|
2840
|
+
var __defProps$h = Object.defineProperties;
|
|
2841
|
+
var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
|
|
2842
|
+
var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
|
|
2843
|
+
var __hasOwnProp$n = Object.prototype.hasOwnProperty;
|
|
2844
|
+
var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
|
|
2845
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2846
|
+
var __spreadValues$n = (a, b) => {
|
|
2847
2847
|
for (var prop in b || (b = {}))
|
|
2848
|
-
if (__hasOwnProp$
|
|
2849
|
-
__defNormalProp$
|
|
2850
|
-
if (__getOwnPropSymbols$
|
|
2851
|
-
for (var prop of __getOwnPropSymbols$
|
|
2852
|
-
if (__propIsEnum$
|
|
2853
|
-
__defNormalProp$
|
|
2848
|
+
if (__hasOwnProp$n.call(b, prop))
|
|
2849
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
2850
|
+
if (__getOwnPropSymbols$n)
|
|
2851
|
+
for (var prop of __getOwnPropSymbols$n(b)) {
|
|
2852
|
+
if (__propIsEnum$n.call(b, prop))
|
|
2853
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
2854
2854
|
}
|
|
2855
2855
|
return a;
|
|
2856
2856
|
};
|
|
2857
|
-
var __spreadProps$
|
|
2857
|
+
var __spreadProps$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
|
|
2858
2858
|
var ModalActions = /* @__PURE__ */ ((ModalActions2) => {
|
|
2859
2859
|
ModalActions2["PUSH_MODAL"] = "PUSH_MODAL";
|
|
2860
2860
|
ModalActions2["POP_MODAL"] = "POP_MODAL";
|
|
@@ -2875,22 +2875,22 @@ const modalReducer = (state = initialModalState, action) => {
|
|
|
2875
2875
|
)) {
|
|
2876
2876
|
return state;
|
|
2877
2877
|
}
|
|
2878
|
-
return __spreadProps$
|
|
2879
|
-
stack: state.stack.concat(__spreadProps$
|
|
2878
|
+
return __spreadProps$h(__spreadValues$n({}, state), {
|
|
2879
|
+
stack: state.stack.concat(__spreadProps$h(__spreadValues$n({}, action.payload), {
|
|
2880
2880
|
id: MODAL_ID++
|
|
2881
2881
|
}))
|
|
2882
2882
|
});
|
|
2883
2883
|
case "POP_MODAL" /* POP_MODAL */:
|
|
2884
|
-
return __spreadProps$
|
|
2884
|
+
return __spreadProps$h(__spreadValues$n({}, state), {
|
|
2885
2885
|
stack: state.stack.slice(0, -1)
|
|
2886
2886
|
});
|
|
2887
2887
|
case "REMOVE_MODAL" /* REMOVE_MODAL */:
|
|
2888
|
-
return __spreadProps$
|
|
2888
|
+
return __spreadProps$h(__spreadValues$n({}, state), {
|
|
2889
2889
|
closeId: 0,
|
|
2890
2890
|
stack: state.stack.filter((m) => m.id !== action.id)
|
|
2891
2891
|
});
|
|
2892
2892
|
case "CLOSE_MODAL" /* CLOSE_MODAL */:
|
|
2893
|
-
return __spreadProps$
|
|
2893
|
+
return __spreadProps$h(__spreadValues$n({}, state), {
|
|
2894
2894
|
closeId: action.id
|
|
2895
2895
|
});
|
|
2896
2896
|
default:
|
|
@@ -2941,33 +2941,33 @@ const KitStoreProvider = (props) => {
|
|
|
2941
2941
|
const useKitDispatch = createDispatchHook(ctx);
|
|
2942
2942
|
const useKitSelector = createSelectorHook(ctx);
|
|
2943
2943
|
|
|
2944
|
-
var __defProp$
|
|
2945
|
-
var __defProps$
|
|
2946
|
-
var __getOwnPropDescs$
|
|
2947
|
-
var __getOwnPropSymbols$
|
|
2948
|
-
var __hasOwnProp$
|
|
2949
|
-
var __propIsEnum$
|
|
2950
|
-
var __defNormalProp$
|
|
2951
|
-
var __spreadValues$
|
|
2944
|
+
var __defProp$m = Object.defineProperty;
|
|
2945
|
+
var __defProps$g = Object.defineProperties;
|
|
2946
|
+
var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
|
|
2947
|
+
var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
|
|
2948
|
+
var __hasOwnProp$m = Object.prototype.hasOwnProperty;
|
|
2949
|
+
var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
|
|
2950
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2951
|
+
var __spreadValues$m = (a, b) => {
|
|
2952
2952
|
for (var prop in b || (b = {}))
|
|
2953
|
-
if (__hasOwnProp$
|
|
2954
|
-
__defNormalProp$
|
|
2955
|
-
if (__getOwnPropSymbols$
|
|
2956
|
-
for (var prop of __getOwnPropSymbols$
|
|
2957
|
-
if (__propIsEnum$
|
|
2958
|
-
__defNormalProp$
|
|
2953
|
+
if (__hasOwnProp$m.call(b, prop))
|
|
2954
|
+
__defNormalProp$m(a, prop, b[prop]);
|
|
2955
|
+
if (__getOwnPropSymbols$m)
|
|
2956
|
+
for (var prop of __getOwnPropSymbols$m(b)) {
|
|
2957
|
+
if (__propIsEnum$m.call(b, prop))
|
|
2958
|
+
__defNormalProp$m(a, prop, b[prop]);
|
|
2959
2959
|
}
|
|
2960
2960
|
return a;
|
|
2961
2961
|
};
|
|
2962
|
-
var __spreadProps$
|
|
2963
|
-
var __objRest$
|
|
2962
|
+
var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
|
|
2963
|
+
var __objRest$9 = (source, exclude) => {
|
|
2964
2964
|
var target = {};
|
|
2965
2965
|
for (var prop in source)
|
|
2966
|
-
if (__hasOwnProp$
|
|
2966
|
+
if (__hasOwnProp$m.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2967
2967
|
target[prop] = source[prop];
|
|
2968
|
-
if (source != null && __getOwnPropSymbols$
|
|
2969
|
-
for (var prop of __getOwnPropSymbols$
|
|
2970
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2968
|
+
if (source != null && __getOwnPropSymbols$m)
|
|
2969
|
+
for (var prop of __getOwnPropSymbols$m(source)) {
|
|
2970
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$m.call(source, prop))
|
|
2971
2971
|
target[prop] = source[prop];
|
|
2972
2972
|
}
|
|
2973
2973
|
return target;
|
|
@@ -2994,7 +2994,7 @@ const Modal = (props) => {
|
|
|
2994
2994
|
showCancel = true,
|
|
2995
2995
|
showOk = true,
|
|
2996
2996
|
afterClose
|
|
2997
|
-
} = _a, restProps = __objRest$
|
|
2997
|
+
} = _a, restProps = __objRest$9(_a, [
|
|
2998
2998
|
"error",
|
|
2999
2999
|
"okText",
|
|
3000
3000
|
"cancelText",
|
|
@@ -3049,7 +3049,7 @@ const Modal = (props) => {
|
|
|
3049
3049
|
}
|
|
3050
3050
|
return /* @__PURE__ */ React__default.createElement(
|
|
3051
3051
|
Modal$1,
|
|
3052
|
-
__spreadProps$
|
|
3052
|
+
__spreadProps$g(__spreadValues$m({
|
|
3053
3053
|
maskClosable,
|
|
3054
3054
|
className: cs(
|
|
3055
3055
|
className,
|
|
@@ -3084,7 +3084,7 @@ const Modal = (props) => {
|
|
|
3084
3084
|
prevText
|
|
3085
3085
|
), error && /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement("span", { className: "modal-error" }, error))), /* @__PURE__ */ React__default.createElement("div", { className: "modal-footer-btn-group" }, showCancel && /* @__PURE__ */ React__default.createElement(
|
|
3086
3086
|
Button,
|
|
3087
|
-
__spreadValues$
|
|
3087
|
+
__spreadValues$m({
|
|
3088
3088
|
type: "quiet",
|
|
3089
3089
|
onMouseDown: (e) => {
|
|
3090
3090
|
e.preventDefault();
|
|
@@ -3098,7 +3098,7 @@ const Modal = (props) => {
|
|
|
3098
3098
|
cancelText
|
|
3099
3099
|
), showOk && /* @__PURE__ */ React__default.createElement(
|
|
3100
3100
|
Button,
|
|
3101
|
-
__spreadValues$
|
|
3101
|
+
__spreadValues$m({
|
|
3102
3102
|
onClick: (e) => {
|
|
3103
3103
|
var _a2, _b2;
|
|
3104
3104
|
onOk == null ? void 0 : onOk(e);
|
|
@@ -3250,19 +3250,19 @@ const Pagination = props => {
|
|
|
3250
3250
|
}))));
|
|
3251
3251
|
};
|
|
3252
3252
|
|
|
3253
|
-
var __defProp$
|
|
3254
|
-
var __getOwnPropSymbols$
|
|
3255
|
-
var __hasOwnProp$
|
|
3256
|
-
var __propIsEnum$
|
|
3257
|
-
var __defNormalProp$
|
|
3258
|
-
var __spreadValues$
|
|
3253
|
+
var __defProp$l = Object.defineProperty;
|
|
3254
|
+
var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
|
|
3255
|
+
var __hasOwnProp$l = Object.prototype.hasOwnProperty;
|
|
3256
|
+
var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
|
|
3257
|
+
var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3258
|
+
var __spreadValues$l = (a, b) => {
|
|
3259
3259
|
for (var prop in b || (b = {}))
|
|
3260
|
-
if (__hasOwnProp$
|
|
3261
|
-
__defNormalProp$
|
|
3262
|
-
if (__getOwnPropSymbols$
|
|
3263
|
-
for (var prop of __getOwnPropSymbols$
|
|
3264
|
-
if (__propIsEnum$
|
|
3265
|
-
__defNormalProp$
|
|
3260
|
+
if (__hasOwnProp$l.call(b, prop))
|
|
3261
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
3262
|
+
if (__getOwnPropSymbols$l)
|
|
3263
|
+
for (var prop of __getOwnPropSymbols$l(b)) {
|
|
3264
|
+
if (__propIsEnum$l.call(b, prop))
|
|
3265
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
3266
3266
|
}
|
|
3267
3267
|
return a;
|
|
3268
3268
|
};
|
|
@@ -3275,52 +3275,52 @@ const Percent = ({
|
|
|
3275
3275
|
emptyProps
|
|
3276
3276
|
}) => {
|
|
3277
3277
|
if (isEmpty(rawValue)) {
|
|
3278
|
-
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$
|
|
3278
|
+
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$l({}, emptyProps));
|
|
3279
3279
|
}
|
|
3280
3280
|
const { value, unit } = formatPercent(rawValue, decimals, saturated);
|
|
3281
3281
|
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, unit));
|
|
3282
3282
|
};
|
|
3283
3283
|
|
|
3284
|
-
var __defProp$
|
|
3285
|
-
var __getOwnPropSymbols$
|
|
3286
|
-
var __hasOwnProp$
|
|
3287
|
-
var __propIsEnum$
|
|
3288
|
-
var __defNormalProp$
|
|
3289
|
-
var __spreadValues$
|
|
3284
|
+
var __defProp$k = Object.defineProperty;
|
|
3285
|
+
var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
|
|
3286
|
+
var __hasOwnProp$k = Object.prototype.hasOwnProperty;
|
|
3287
|
+
var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
|
|
3288
|
+
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3289
|
+
var __spreadValues$k = (a, b) => {
|
|
3290
3290
|
for (var prop in b || (b = {}))
|
|
3291
|
-
if (__hasOwnProp$
|
|
3292
|
-
__defNormalProp$
|
|
3293
|
-
if (__getOwnPropSymbols$
|
|
3294
|
-
for (var prop of __getOwnPropSymbols$
|
|
3295
|
-
if (__propIsEnum$
|
|
3296
|
-
__defNormalProp$
|
|
3291
|
+
if (__hasOwnProp$k.call(b, prop))
|
|
3292
|
+
__defNormalProp$k(a, prop, b[prop]);
|
|
3293
|
+
if (__getOwnPropSymbols$k)
|
|
3294
|
+
for (var prop of __getOwnPropSymbols$k(b)) {
|
|
3295
|
+
if (__propIsEnum$k.call(b, prop))
|
|
3296
|
+
__defNormalProp$k(a, prop, b[prop]);
|
|
3297
3297
|
}
|
|
3298
3298
|
return a;
|
|
3299
3299
|
};
|
|
3300
|
-
const Progress = (props) => /* @__PURE__ */ React__default.createElement(Progress$1, __spreadValues$
|
|
3300
|
+
const Progress = (props) => /* @__PURE__ */ React__default.createElement(Progress$1, __spreadValues$k({}, props));
|
|
3301
3301
|
|
|
3302
|
-
var __defProp$
|
|
3303
|
-
var __getOwnPropSymbols$
|
|
3304
|
-
var __hasOwnProp$
|
|
3305
|
-
var __propIsEnum$
|
|
3306
|
-
var __defNormalProp$
|
|
3302
|
+
var __defProp$j = Object.defineProperty;
|
|
3303
|
+
var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
|
|
3304
|
+
var __hasOwnProp$j = Object.prototype.hasOwnProperty;
|
|
3305
|
+
var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
|
|
3306
|
+
var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, {
|
|
3307
3307
|
enumerable: true,
|
|
3308
3308
|
configurable: true,
|
|
3309
3309
|
writable: true,
|
|
3310
3310
|
value
|
|
3311
3311
|
}) : obj[key] = value;
|
|
3312
|
-
var __spreadValues$
|
|
3313
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3314
|
-
if (__getOwnPropSymbols$
|
|
3315
|
-
if (__propIsEnum$
|
|
3312
|
+
var __spreadValues$j = (a, b) => {
|
|
3313
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$j.call(b, prop)) __defNormalProp$j(a, prop, b[prop]);
|
|
3314
|
+
if (__getOwnPropSymbols$j) for (var prop of __getOwnPropSymbols$j(b)) {
|
|
3315
|
+
if (__propIsEnum$j.call(b, prop)) __defNormalProp$j(a, prop, b[prop]);
|
|
3316
3316
|
}
|
|
3317
3317
|
return a;
|
|
3318
3318
|
};
|
|
3319
|
-
var __objRest$
|
|
3319
|
+
var __objRest$8 = (source, exclude) => {
|
|
3320
3320
|
var target = {};
|
|
3321
|
-
for (var prop in source) if (__hasOwnProp$
|
|
3322
|
-
if (source != null && __getOwnPropSymbols$
|
|
3323
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3321
|
+
for (var prop in source) if (__hasOwnProp$j.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
3322
|
+
if (source != null && __getOwnPropSymbols$j) for (var prop of __getOwnPropSymbols$j(source)) {
|
|
3323
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$j.call(source, prop)) target[prop] = source[prop];
|
|
3324
3324
|
}
|
|
3325
3325
|
return target;
|
|
3326
3326
|
};
|
|
@@ -3336,7 +3336,7 @@ const Radio = _a => {
|
|
|
3336
3336
|
checked,
|
|
3337
3337
|
compact = false
|
|
3338
3338
|
} = _b,
|
|
3339
|
-
props = __objRest$
|
|
3339
|
+
props = __objRest$8(_b, ["children", "className", "checked", "compact"]);
|
|
3340
3340
|
const {
|
|
3341
3341
|
description
|
|
3342
3342
|
} = props;
|
|
@@ -3346,7 +3346,7 @@ const Radio = _a => {
|
|
|
3346
3346
|
className: cx("radio-description", Typo.Label.l4_regular)
|
|
3347
3347
|
}, description));
|
|
3348
3348
|
}
|
|
3349
|
-
return /* @__PURE__ */React__default.createElement(React__default.Fragment, null, /* @__PURE__ */React__default.createElement(Radio$1, __spreadValues$
|
|
3349
|
+
return /* @__PURE__ */React__default.createElement(React__default.Fragment, null, /* @__PURE__ */React__default.createElement(Radio$1, __spreadValues$j({
|
|
3350
3350
|
className: cx(className, RadioStyle, compact && "compact"),
|
|
3351
3351
|
checked: checked || false,
|
|
3352
3352
|
"data-test": context.name ? `${context.name}-${String(props.value)}` : String(props.value)
|
|
@@ -3358,13 +3358,13 @@ const RadioGroup = _c => {
|
|
|
3358
3358
|
children,
|
|
3359
3359
|
className
|
|
3360
3360
|
} = _d,
|
|
3361
|
-
props = __objRest$
|
|
3361
|
+
props = __objRest$8(_d, ["children", "className"]);
|
|
3362
3362
|
return /* @__PURE__ */React__default.createElement(KitRadioGroupContext.Provider, {
|
|
3363
3363
|
value: {
|
|
3364
3364
|
disabled: props.disabled,
|
|
3365
3365
|
name: props.name
|
|
3366
3366
|
}
|
|
3367
|
-
}, /* @__PURE__ */React__default.createElement(Radio$1.Group, __spreadValues$
|
|
3367
|
+
}, /* @__PURE__ */React__default.createElement(Radio$1.Group, __spreadValues$j({
|
|
3368
3368
|
className: cx(className, RadioGroupStyle)
|
|
3369
3369
|
}, props), children ? children : null));
|
|
3370
3370
|
};
|
|
@@ -3374,7 +3374,7 @@ const RadioButton = _e => {
|
|
|
3374
3374
|
children,
|
|
3375
3375
|
className
|
|
3376
3376
|
} = _f,
|
|
3377
|
-
props = __objRest$
|
|
3377
|
+
props = __objRest$8(_f, ["children", "className"]);
|
|
3378
3378
|
const {
|
|
3379
3379
|
type,
|
|
3380
3380
|
placeholder = "Label",
|
|
@@ -3420,46 +3420,46 @@ const RadioButton = _e => {
|
|
|
3420
3420
|
className: "ant-radio-button-input-label"
|
|
3421
3421
|
}, typeof children === "string" ? children : ""));
|
|
3422
3422
|
};
|
|
3423
|
-
return /* @__PURE__ */React__default.createElement(Radio$1.Button, __spreadValues$
|
|
3423
|
+
return /* @__PURE__ */React__default.createElement(Radio$1.Button, __spreadValues$j({
|
|
3424
3424
|
className: cx(className, RadioButtonStyle),
|
|
3425
3425
|
value: radioButtonValue
|
|
3426
3426
|
}, props), renderChildren());
|
|
3427
3427
|
};
|
|
3428
3428
|
|
|
3429
|
-
var __defProp$
|
|
3430
|
-
var __getOwnPropSymbols$
|
|
3431
|
-
var __hasOwnProp$
|
|
3432
|
-
var __propIsEnum$
|
|
3433
|
-
var __defNormalProp$
|
|
3434
|
-
var __spreadValues$
|
|
3429
|
+
var __defProp$i = Object.defineProperty;
|
|
3430
|
+
var __getOwnPropSymbols$i = Object.getOwnPropertySymbols;
|
|
3431
|
+
var __hasOwnProp$i = Object.prototype.hasOwnProperty;
|
|
3432
|
+
var __propIsEnum$i = Object.prototype.propertyIsEnumerable;
|
|
3433
|
+
var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3434
|
+
var __spreadValues$i = (a, b) => {
|
|
3435
3435
|
for (var prop in b || (b = {}))
|
|
3436
|
-
if (__hasOwnProp$
|
|
3437
|
-
__defNormalProp$
|
|
3438
|
-
if (__getOwnPropSymbols$
|
|
3439
|
-
for (var prop of __getOwnPropSymbols$
|
|
3440
|
-
if (__propIsEnum$
|
|
3441
|
-
__defNormalProp$
|
|
3436
|
+
if (__hasOwnProp$i.call(b, prop))
|
|
3437
|
+
__defNormalProp$i(a, prop, b[prop]);
|
|
3438
|
+
if (__getOwnPropSymbols$i)
|
|
3439
|
+
for (var prop of __getOwnPropSymbols$i(b)) {
|
|
3440
|
+
if (__propIsEnum$i.call(b, prop))
|
|
3441
|
+
__defNormalProp$i(a, prop, b[prop]);
|
|
3442
3442
|
}
|
|
3443
3443
|
return a;
|
|
3444
3444
|
};
|
|
3445
|
-
var __objRest$
|
|
3445
|
+
var __objRest$7 = (source, exclude) => {
|
|
3446
3446
|
var target = {};
|
|
3447
3447
|
for (var prop in source)
|
|
3448
|
-
if (__hasOwnProp$
|
|
3448
|
+
if (__hasOwnProp$i.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3449
3449
|
target[prop] = source[prop];
|
|
3450
|
-
if (source != null && __getOwnPropSymbols$
|
|
3451
|
-
for (var prop of __getOwnPropSymbols$
|
|
3452
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3450
|
+
if (source != null && __getOwnPropSymbols$i)
|
|
3451
|
+
for (var prop of __getOwnPropSymbols$i(source)) {
|
|
3452
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$i.call(source, prop))
|
|
3453
3453
|
target[prop] = source[prop];
|
|
3454
3454
|
}
|
|
3455
3455
|
return target;
|
|
3456
3456
|
};
|
|
3457
3457
|
const SearchInput = (props) => {
|
|
3458
|
-
const _a = props, { onChange, debounceWait = 300 } = _a, restProps = __objRest$
|
|
3458
|
+
const _a = props, { onChange, debounceWait = 300 } = _a, restProps = __objRest$7(_a, ["onChange", "debounceWait"]);
|
|
3459
3459
|
const onSearch = _.debounce(onChange, debounceWait);
|
|
3460
3460
|
return /* @__PURE__ */ React__default.createElement(
|
|
3461
3461
|
Input,
|
|
3462
|
-
__spreadValues$
|
|
3462
|
+
__spreadValues$i({
|
|
3463
3463
|
style: { width: 276 },
|
|
3464
3464
|
prefix: /* @__PURE__ */ React__default.createElement(SearchOutlined, null),
|
|
3465
3465
|
onChange: (e) => onSearch(e.target.value)
|
|
@@ -3467,19 +3467,19 @@ const SearchInput = (props) => {
|
|
|
3467
3467
|
);
|
|
3468
3468
|
};
|
|
3469
3469
|
|
|
3470
|
-
var __defProp$
|
|
3471
|
-
var __getOwnPropSymbols$
|
|
3472
|
-
var __hasOwnProp$
|
|
3473
|
-
var __propIsEnum$
|
|
3474
|
-
var __defNormalProp$
|
|
3475
|
-
var __spreadValues$
|
|
3470
|
+
var __defProp$h = Object.defineProperty;
|
|
3471
|
+
var __getOwnPropSymbols$h = Object.getOwnPropertySymbols;
|
|
3472
|
+
var __hasOwnProp$h = Object.prototype.hasOwnProperty;
|
|
3473
|
+
var __propIsEnum$h = Object.prototype.propertyIsEnumerable;
|
|
3474
|
+
var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3475
|
+
var __spreadValues$h = (a, b) => {
|
|
3476
3476
|
for (var prop in b || (b = {}))
|
|
3477
|
-
if (__hasOwnProp$
|
|
3478
|
-
__defNormalProp$
|
|
3479
|
-
if (__getOwnPropSymbols$
|
|
3480
|
-
for (var prop of __getOwnPropSymbols$
|
|
3481
|
-
if (__propIsEnum$
|
|
3482
|
-
__defNormalProp$
|
|
3477
|
+
if (__hasOwnProp$h.call(b, prop))
|
|
3478
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
3479
|
+
if (__getOwnPropSymbols$h)
|
|
3480
|
+
for (var prop of __getOwnPropSymbols$h(b)) {
|
|
3481
|
+
if (__propIsEnum$h.call(b, prop))
|
|
3482
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
3483
3483
|
}
|
|
3484
3484
|
return a;
|
|
3485
3485
|
};
|
|
@@ -3493,7 +3493,7 @@ const Second = ({
|
|
|
3493
3493
|
}) => {
|
|
3494
3494
|
const { t } = useParrotTranslation();
|
|
3495
3495
|
if (isEmpty(rawValue)) {
|
|
3496
|
-
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$
|
|
3496
|
+
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$h({}, emptyProps));
|
|
3497
3497
|
}
|
|
3498
3498
|
const { value, unit } = formatSeconds(rawValue, decimals);
|
|
3499
3499
|
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value, " "), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, t(`common.${abbreviate ? `${unit}_abbreviation` : unit}`)));
|
|
@@ -3575,19 +3575,19 @@ const SimplePagination = props => {
|
|
|
3575
3575
|
})));
|
|
3576
3576
|
};
|
|
3577
3577
|
|
|
3578
|
-
var __defProp$
|
|
3579
|
-
var __getOwnPropSymbols$
|
|
3580
|
-
var __hasOwnProp$
|
|
3581
|
-
var __propIsEnum$
|
|
3582
|
-
var __defNormalProp$
|
|
3583
|
-
var __spreadValues$
|
|
3578
|
+
var __defProp$g = Object.defineProperty;
|
|
3579
|
+
var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
|
|
3580
|
+
var __hasOwnProp$g = Object.prototype.hasOwnProperty;
|
|
3581
|
+
var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
|
|
3582
|
+
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3583
|
+
var __spreadValues$g = (a, b) => {
|
|
3584
3584
|
for (var prop in b || (b = {}))
|
|
3585
|
-
if (__hasOwnProp$
|
|
3586
|
-
__defNormalProp$
|
|
3587
|
-
if (__getOwnPropSymbols$
|
|
3588
|
-
for (var prop of __getOwnPropSymbols$
|
|
3589
|
-
if (__propIsEnum$
|
|
3590
|
-
__defNormalProp$
|
|
3585
|
+
if (__hasOwnProp$g.call(b, prop))
|
|
3586
|
+
__defNormalProp$g(a, prop, b[prop]);
|
|
3587
|
+
if (__getOwnPropSymbols$g)
|
|
3588
|
+
for (var prop of __getOwnPropSymbols$g(b)) {
|
|
3589
|
+
if (__propIsEnum$g.call(b, prop))
|
|
3590
|
+
__defNormalProp$g(a, prop, b[prop]);
|
|
3591
3591
|
}
|
|
3592
3592
|
return a;
|
|
3593
3593
|
};
|
|
@@ -3599,12 +3599,96 @@ const Speed = ({
|
|
|
3599
3599
|
emptyProps
|
|
3600
3600
|
}) => {
|
|
3601
3601
|
if (isEmpty(rawValue)) {
|
|
3602
|
-
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$
|
|
3602
|
+
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues$g({}, emptyProps));
|
|
3603
3603
|
}
|
|
3604
3604
|
const { value, unit } = formatSpeed(rawValue, decimals);
|
|
3605
3605
|
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
3606
3606
|
};
|
|
3607
3607
|
|
|
3608
|
+
var __defProp$f = Object.defineProperty;
|
|
3609
|
+
var __defProps$f = Object.defineProperties;
|
|
3610
|
+
var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
|
|
3611
|
+
var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
|
|
3612
|
+
var __hasOwnProp$f = Object.prototype.hasOwnProperty;
|
|
3613
|
+
var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
|
|
3614
|
+
var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, {
|
|
3615
|
+
enumerable: true,
|
|
3616
|
+
configurable: true,
|
|
3617
|
+
writable: true,
|
|
3618
|
+
value
|
|
3619
|
+
}) : obj[key] = value;
|
|
3620
|
+
var __spreadValues$f = (a, b) => {
|
|
3621
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$f.call(b, prop)) __defNormalProp$f(a, prop, b[prop]);
|
|
3622
|
+
if (__getOwnPropSymbols$f) for (var prop of __getOwnPropSymbols$f(b)) {
|
|
3623
|
+
if (__propIsEnum$f.call(b, prop)) __defNormalProp$f(a, prop, b[prop]);
|
|
3624
|
+
}
|
|
3625
|
+
return a;
|
|
3626
|
+
};
|
|
3627
|
+
var __spreadProps$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
|
|
3628
|
+
var __objRest$6 = (source, exclude) => {
|
|
3629
|
+
var target = {};
|
|
3630
|
+
for (var prop in source) if (__hasOwnProp$f.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
3631
|
+
if (source != null && __getOwnPropSymbols$f) for (var prop of __getOwnPropSymbols$f(source)) {
|
|
3632
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$f.call(source, prop)) target[prop] = source[prop];
|
|
3633
|
+
}
|
|
3634
|
+
return target;
|
|
3635
|
+
};
|
|
3636
|
+
const PresetColors$3 = ["blue", "red", "yellow", "green", "gray"];
|
|
3637
|
+
const StatusCapsuleStyle = "s14dk8r1";
|
|
3638
|
+
const StatusCode = /*#__PURE__*/styled('i')({
|
|
3639
|
+
name: "StatusCode",
|
|
3640
|
+
class: "s1uupoto",
|
|
3641
|
+
propsAsIs: false
|
|
3642
|
+
});
|
|
3643
|
+
const StatusIcon = ({
|
|
3644
|
+
loading
|
|
3645
|
+
}) => {
|
|
3646
|
+
if (loading) {
|
|
3647
|
+
return /* @__PURE__ */React__default.createElement(Icon, {
|
|
3648
|
+
className: "ui-kit-status-capsule-icon ui-kit-status-capsule-icon-loading",
|
|
3649
|
+
iconWidth: 8,
|
|
3650
|
+
iconHeight: 8,
|
|
3651
|
+
isRotate: true,
|
|
3652
|
+
src: Loading8GradientBlueIcon
|
|
3653
|
+
});
|
|
3654
|
+
}
|
|
3655
|
+
return /* @__PURE__ */React__default.createElement(StatusCode, {
|
|
3656
|
+
className: "ui-kit-status-capsule-icon"
|
|
3657
|
+
});
|
|
3658
|
+
};
|
|
3659
|
+
const ColorMap = {
|
|
3660
|
+
success: "green",
|
|
3661
|
+
danger: "red",
|
|
3662
|
+
warning: "yellow"
|
|
3663
|
+
};
|
|
3664
|
+
const StatusCapsule = _a => {
|
|
3665
|
+
var _b = _a,
|
|
3666
|
+
{
|
|
3667
|
+
color = "gray",
|
|
3668
|
+
className,
|
|
3669
|
+
loading,
|
|
3670
|
+
hoverable = false,
|
|
3671
|
+
children,
|
|
3672
|
+
offWhiteMode,
|
|
3673
|
+
number
|
|
3674
|
+
} = _b,
|
|
3675
|
+
props = __objRest$6(_b, ["color", "className", "loading", "hoverable", "children", "offWhiteMode", "number"]);
|
|
3676
|
+
const computedColor = ColorMap[color] || color;
|
|
3677
|
+
return /* @__PURE__ */React__default.createElement(Tag$1, __spreadProps$f(__spreadValues$f({}, props), {
|
|
3678
|
+
className: cs(className, StatusCapsuleStyle, Typo.Label.l4_regular, "ui-kit-status-capsule", {
|
|
3679
|
+
[`ant-tag-${computedColor}`]: PresetColors$3.includes(computedColor),
|
|
3680
|
+
"tag-hover": hoverable,
|
|
3681
|
+
"off-white": offWhiteMode
|
|
3682
|
+
}),
|
|
3683
|
+
closable: false,
|
|
3684
|
+
color: computedColor === "gray" ? void 0 : computedColor
|
|
3685
|
+
}), /* @__PURE__ */React__default.createElement(StatusIcon, {
|
|
3686
|
+
loading
|
|
3687
|
+
}), children, !!number && /* @__PURE__ */React__default.createElement("span", {
|
|
3688
|
+
className: "ui-kit-status-capsule-number"
|
|
3689
|
+
}, number));
|
|
3690
|
+
};
|
|
3691
|
+
|
|
3608
3692
|
const StepsStyle = "sq6vos1";
|
|
3609
3693
|
const HorizontalStyle = "hjtnwxg";
|
|
3610
3694
|
const VerticalStyle = "v1p8siwu";
|
|
@@ -5437,6 +5521,7 @@ function getAntdKit() {
|
|
|
5437
5521
|
datePickerRangePicker: DatePicker.RangePicker,
|
|
5438
5522
|
tableForm: TableForm,
|
|
5439
5523
|
token: Token,
|
|
5524
|
+
statusCapsule: StatusCapsule,
|
|
5440
5525
|
uploadDragger: Upload.Dragger,
|
|
5441
5526
|
calendar: Calendar,
|
|
5442
5527
|
timePicker: TimePicker$1,
|