@cloudtower/eagle 0.22.33 → 0.22.35
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/UIKitProvider/index.d.ts +7 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/message-group/__test__/message-group.test.d.ts +1 -0
- package/dist/components/message-group/index.d.ts +25 -0
- package/dist/esm/index.js +769 -607
- package/dist/esm/stats1.html +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/spec/base.d.ts +6 -1
- package/dist/style.css +676 -676
- package/dist/umd/index.js +773 -608
- package/dist/umd/stats1.html +1 -1
- package/package.json +5 -5
package/dist/esm/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Alert as Alert$1, Badge as Badge$1, Button as Button$1, Tooltip as Tooltip$1, Checkbox as Checkbox$1, DatePicker, Select as Select$1, InputNumber as InputNumber$1, Input as Input$1, TimePicker as TimePicker$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, Tag, Row, Col, Tree, Divider, Skeleton, List, Layout, AutoComplete, Popover, Form, Space, Timeline, Typography, Cascader } from 'antd';
|
|
1
|
+
import { Alert as Alert$1, Badge as Badge$1, Button as Button$1, Tooltip as Tooltip$1, Checkbox as Checkbox$1, DatePicker, Select as Select$1, InputNumber as InputNumber$1, Input as Input$1, TimePicker as TimePicker$1, message, 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, Tag, Row, Col, Tree, Divider, Skeleton, List, Layout, AutoComplete, Popover, Form, Space, Timeline, Typography, Cascader, Upload } from 'antd';
|
|
2
2
|
export { Col, Row } from 'antd';
|
|
3
|
-
import message from 'antd/lib/message';
|
|
4
3
|
import React, { useState, useMemo, useRef, useCallback, useEffect, Fragment, useLayoutEffect, createContext, useContext } from 'react';
|
|
5
4
|
import cs from 'classnames';
|
|
6
5
|
import _, { sortBy, uniqBy } from 'lodash';
|
|
@@ -236,30 +235,30 @@ function getAlertIcon(type) {
|
|
|
236
235
|
}
|
|
237
236
|
}
|
|
238
237
|
|
|
239
|
-
var __defProp$
|
|
240
|
-
var __getOwnPropSymbols$
|
|
241
|
-
var __hasOwnProp$
|
|
242
|
-
var __propIsEnum$
|
|
243
|
-
var __defNormalProp$
|
|
244
|
-
var __spreadValues$
|
|
238
|
+
var __defProp$y = Object.defineProperty;
|
|
239
|
+
var __getOwnPropSymbols$z = Object.getOwnPropertySymbols;
|
|
240
|
+
var __hasOwnProp$z = Object.prototype.hasOwnProperty;
|
|
241
|
+
var __propIsEnum$z = Object.prototype.propertyIsEnumerable;
|
|
242
|
+
var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
243
|
+
var __spreadValues$y = (a, b) => {
|
|
245
244
|
for (var prop in b || (b = {}))
|
|
246
|
-
if (__hasOwnProp$
|
|
247
|
-
__defNormalProp$
|
|
248
|
-
if (__getOwnPropSymbols$
|
|
249
|
-
for (var prop of __getOwnPropSymbols$
|
|
250
|
-
if (__propIsEnum$
|
|
251
|
-
__defNormalProp$
|
|
245
|
+
if (__hasOwnProp$z.call(b, prop))
|
|
246
|
+
__defNormalProp$y(a, prop, b[prop]);
|
|
247
|
+
if (__getOwnPropSymbols$z)
|
|
248
|
+
for (var prop of __getOwnPropSymbols$z(b)) {
|
|
249
|
+
if (__propIsEnum$z.call(b, prop))
|
|
250
|
+
__defNormalProp$y(a, prop, b[prop]);
|
|
252
251
|
}
|
|
253
252
|
return a;
|
|
254
253
|
};
|
|
255
254
|
var __objRest$r = (source, exclude) => {
|
|
256
255
|
var target = {};
|
|
257
256
|
for (var prop in source)
|
|
258
|
-
if (__hasOwnProp$
|
|
257
|
+
if (__hasOwnProp$z.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
259
258
|
target[prop] = source[prop];
|
|
260
|
-
if (source != null && __getOwnPropSymbols$
|
|
261
|
-
for (var prop of __getOwnPropSymbols$
|
|
262
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
259
|
+
if (source != null && __getOwnPropSymbols$z)
|
|
260
|
+
for (var prop of __getOwnPropSymbols$z(source)) {
|
|
261
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$z.call(source, prop))
|
|
263
262
|
target[prop] = source[prop];
|
|
264
263
|
}
|
|
265
264
|
return target;
|
|
@@ -291,10 +290,10 @@ const BaseIcon = React.forwardRef(
|
|
|
291
290
|
]);
|
|
292
291
|
return /* @__PURE__ */ React.createElement(
|
|
293
292
|
"span",
|
|
294
|
-
__spreadValues$
|
|
293
|
+
__spreadValues$y({
|
|
295
294
|
ref,
|
|
296
295
|
className,
|
|
297
|
-
style: _.pickBy(__spreadValues$
|
|
296
|
+
style: _.pickBy(__spreadValues$y({ cursor }, style))
|
|
298
297
|
}, HTMLSpanElementProps),
|
|
299
298
|
prefixNode,
|
|
300
299
|
/* @__PURE__ */ React.createElement("span", { className: "icon-inner" }, typeof Src === "string" ? /* @__PURE__ */ React.createElement("img", { alt, src: Src, width, height }) : /* @__PURE__ */ React.createElement(Src, { width, height })),
|
|
@@ -304,31 +303,31 @@ const BaseIcon = React.forwardRef(
|
|
|
304
303
|
}
|
|
305
304
|
);
|
|
306
305
|
|
|
307
|
-
var __defProp$
|
|
308
|
-
var __defProps$
|
|
309
|
-
var __getOwnPropDescs$
|
|
310
|
-
var __getOwnPropSymbols$
|
|
311
|
-
var __hasOwnProp$
|
|
312
|
-
var __propIsEnum$
|
|
313
|
-
var __defNormalProp$
|
|
306
|
+
var __defProp$x = Object.defineProperty;
|
|
307
|
+
var __defProps$p = Object.defineProperties;
|
|
308
|
+
var __getOwnPropDescs$p = Object.getOwnPropertyDescriptors;
|
|
309
|
+
var __getOwnPropSymbols$y = Object.getOwnPropertySymbols;
|
|
310
|
+
var __hasOwnProp$y = Object.prototype.hasOwnProperty;
|
|
311
|
+
var __propIsEnum$y = Object.prototype.propertyIsEnumerable;
|
|
312
|
+
var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, {
|
|
314
313
|
enumerable: true,
|
|
315
314
|
configurable: true,
|
|
316
315
|
writable: true,
|
|
317
316
|
value
|
|
318
317
|
}) : obj[key] = value;
|
|
319
|
-
var __spreadValues$
|
|
320
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
321
|
-
if (__getOwnPropSymbols$
|
|
322
|
-
if (__propIsEnum$
|
|
318
|
+
var __spreadValues$x = (a, b) => {
|
|
319
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$y.call(b, prop)) __defNormalProp$x(a, prop, b[prop]);
|
|
320
|
+
if (__getOwnPropSymbols$y) for (var prop of __getOwnPropSymbols$y(b)) {
|
|
321
|
+
if (__propIsEnum$y.call(b, prop)) __defNormalProp$x(a, prop, b[prop]);
|
|
323
322
|
}
|
|
324
323
|
return a;
|
|
325
324
|
};
|
|
326
|
-
var __spreadProps$
|
|
325
|
+
var __spreadProps$p = (a, b) => __defProps$p(a, __getOwnPropDescs$p(b));
|
|
327
326
|
var __objRest$q = (source, exclude) => {
|
|
328
327
|
var target = {};
|
|
329
|
-
for (var prop in source) if (__hasOwnProp$
|
|
330
|
-
if (source != null && __getOwnPropSymbols$
|
|
331
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
328
|
+
for (var prop in source) if (__hasOwnProp$y.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
329
|
+
if (source != null && __getOwnPropSymbols$y) for (var prop of __getOwnPropSymbols$y(source)) {
|
|
330
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$y.call(source, prop)) target[prop] = source[prop];
|
|
332
331
|
}
|
|
333
332
|
return target;
|
|
334
333
|
};
|
|
@@ -380,14 +379,14 @@ const Icon = React.forwardRef((props, ref) => {
|
|
|
380
379
|
}
|
|
381
380
|
return src2;
|
|
382
381
|
}, [active, hover, suffix]);
|
|
383
|
-
return /* @__PURE__ */React.createElement(BaseIcon, __spreadProps$
|
|
382
|
+
return /* @__PURE__ */React.createElement(BaseIcon, __spreadProps$p(__spreadValues$x({
|
|
384
383
|
src: _src,
|
|
385
384
|
className: cs(IconWrapper, "icon-wrapper", className, isRotate && "is-rotate"),
|
|
386
385
|
suffixIconSrc,
|
|
387
386
|
height: iconHeight,
|
|
388
387
|
width: iconWidth,
|
|
389
388
|
prefixNode: prefix,
|
|
390
|
-
style: _.pickBy(__spreadValues$
|
|
389
|
+
style: _.pickBy(__spreadValues$x({
|
|
391
390
|
cursor
|
|
392
391
|
}, style))
|
|
393
392
|
}, restProps), {
|
|
@@ -412,33 +411,33 @@ const Icon = React.forwardRef((props, ref) => {
|
|
|
412
411
|
}));
|
|
413
412
|
});
|
|
414
413
|
|
|
415
|
-
var __defProp$
|
|
416
|
-
var __defProps$
|
|
417
|
-
var __getOwnPropDescs$
|
|
418
|
-
var __getOwnPropSymbols$
|
|
419
|
-
var __hasOwnProp$
|
|
420
|
-
var __propIsEnum$
|
|
421
|
-
var __defNormalProp$
|
|
422
|
-
var __spreadValues$
|
|
414
|
+
var __defProp$w = Object.defineProperty;
|
|
415
|
+
var __defProps$o = Object.defineProperties;
|
|
416
|
+
var __getOwnPropDescs$o = Object.getOwnPropertyDescriptors;
|
|
417
|
+
var __getOwnPropSymbols$x = Object.getOwnPropertySymbols;
|
|
418
|
+
var __hasOwnProp$x = Object.prototype.hasOwnProperty;
|
|
419
|
+
var __propIsEnum$x = Object.prototype.propertyIsEnumerable;
|
|
420
|
+
var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
421
|
+
var __spreadValues$w = (a, b) => {
|
|
423
422
|
for (var prop in b || (b = {}))
|
|
424
|
-
if (__hasOwnProp$
|
|
425
|
-
__defNormalProp$
|
|
426
|
-
if (__getOwnPropSymbols$
|
|
427
|
-
for (var prop of __getOwnPropSymbols$
|
|
428
|
-
if (__propIsEnum$
|
|
429
|
-
__defNormalProp$
|
|
423
|
+
if (__hasOwnProp$x.call(b, prop))
|
|
424
|
+
__defNormalProp$w(a, prop, b[prop]);
|
|
425
|
+
if (__getOwnPropSymbols$x)
|
|
426
|
+
for (var prop of __getOwnPropSymbols$x(b)) {
|
|
427
|
+
if (__propIsEnum$x.call(b, prop))
|
|
428
|
+
__defNormalProp$w(a, prop, b[prop]);
|
|
430
429
|
}
|
|
431
430
|
return a;
|
|
432
431
|
};
|
|
433
|
-
var __spreadProps$
|
|
432
|
+
var __spreadProps$o = (a, b) => __defProps$o(a, __getOwnPropDescs$o(b));
|
|
434
433
|
var __objRest$p = (source, exclude) => {
|
|
435
434
|
var target = {};
|
|
436
435
|
for (var prop in source)
|
|
437
|
-
if (__hasOwnProp$
|
|
436
|
+
if (__hasOwnProp$x.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
438
437
|
target[prop] = source[prop];
|
|
439
|
-
if (source != null && __getOwnPropSymbols$
|
|
440
|
-
for (var prop of __getOwnPropSymbols$
|
|
441
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
438
|
+
if (source != null && __getOwnPropSymbols$x)
|
|
439
|
+
for (var prop of __getOwnPropSymbols$x(source)) {
|
|
440
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$x.call(source, prop))
|
|
442
441
|
target[prop] = source[prop];
|
|
443
442
|
}
|
|
444
443
|
return target;
|
|
@@ -463,7 +462,7 @@ const Alert = (_a) => {
|
|
|
463
462
|
const _type = type === "normal" ? "info" : type;
|
|
464
463
|
return /* @__PURE__ */ React.createElement(
|
|
465
464
|
Alert$1,
|
|
466
|
-
__spreadProps$
|
|
465
|
+
__spreadProps$o(__spreadValues$w({}, props), {
|
|
467
466
|
className: cs(type ? `alert-${type}` : "", className),
|
|
468
467
|
type: _type,
|
|
469
468
|
icon: icon || _icon,
|
|
@@ -484,33 +483,33 @@ const Arch = (props) => {
|
|
|
484
483
|
return /* @__PURE__ */ React.createElement("span", null, text);
|
|
485
484
|
};
|
|
486
485
|
|
|
487
|
-
var __defProp$
|
|
488
|
-
var __defProps$
|
|
489
|
-
var __getOwnPropDescs$
|
|
490
|
-
var __getOwnPropSymbols$
|
|
491
|
-
var __hasOwnProp$
|
|
492
|
-
var __propIsEnum$
|
|
493
|
-
var __defNormalProp$
|
|
494
|
-
var __spreadValues$
|
|
486
|
+
var __defProp$v = Object.defineProperty;
|
|
487
|
+
var __defProps$n = Object.defineProperties;
|
|
488
|
+
var __getOwnPropDescs$n = Object.getOwnPropertyDescriptors;
|
|
489
|
+
var __getOwnPropSymbols$w = Object.getOwnPropertySymbols;
|
|
490
|
+
var __hasOwnProp$w = Object.prototype.hasOwnProperty;
|
|
491
|
+
var __propIsEnum$w = Object.prototype.propertyIsEnumerable;
|
|
492
|
+
var __defNormalProp$v = (obj, key, value) => key in obj ? __defProp$v(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
493
|
+
var __spreadValues$v = (a, b) => {
|
|
495
494
|
for (var prop in b || (b = {}))
|
|
496
|
-
if (__hasOwnProp$
|
|
497
|
-
__defNormalProp$
|
|
498
|
-
if (__getOwnPropSymbols$
|
|
499
|
-
for (var prop of __getOwnPropSymbols$
|
|
500
|
-
if (__propIsEnum$
|
|
501
|
-
__defNormalProp$
|
|
495
|
+
if (__hasOwnProp$w.call(b, prop))
|
|
496
|
+
__defNormalProp$v(a, prop, b[prop]);
|
|
497
|
+
if (__getOwnPropSymbols$w)
|
|
498
|
+
for (var prop of __getOwnPropSymbols$w(b)) {
|
|
499
|
+
if (__propIsEnum$w.call(b, prop))
|
|
500
|
+
__defNormalProp$v(a, prop, b[prop]);
|
|
502
501
|
}
|
|
503
502
|
return a;
|
|
504
503
|
};
|
|
505
|
-
var __spreadProps$
|
|
504
|
+
var __spreadProps$n = (a, b) => __defProps$n(a, __getOwnPropDescs$n(b));
|
|
506
505
|
var __objRest$o = (source, exclude) => {
|
|
507
506
|
var target = {};
|
|
508
507
|
for (var prop in source)
|
|
509
|
-
if (__hasOwnProp$
|
|
508
|
+
if (__hasOwnProp$w.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
510
509
|
target[prop] = source[prop];
|
|
511
|
-
if (source != null && __getOwnPropSymbols$
|
|
512
|
-
for (var prop of __getOwnPropSymbols$
|
|
513
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
510
|
+
if (source != null && __getOwnPropSymbols$w)
|
|
511
|
+
for (var prop of __getOwnPropSymbols$w(source)) {
|
|
512
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$w.call(source, prop))
|
|
514
513
|
target[prop] = source[prop];
|
|
515
514
|
}
|
|
516
515
|
return target;
|
|
@@ -519,7 +518,7 @@ const Badge = (_a) => {
|
|
|
519
518
|
var _b = _a, { type = "error", className } = _b, props = __objRest$o(_b, ["type", "className"]);
|
|
520
519
|
return /* @__PURE__ */ React.createElement(
|
|
521
520
|
Badge$1,
|
|
522
|
-
__spreadProps$
|
|
521
|
+
__spreadProps$n(__spreadValues$v({
|
|
523
522
|
className: cx(`badge-${type}`, className)
|
|
524
523
|
}, props), {
|
|
525
524
|
showZero: false
|
|
@@ -700,28 +699,28 @@ const HoverableElement = (props) => {
|
|
|
700
699
|
return icon != null ? React.cloneElement(icon, { className }) : null;
|
|
701
700
|
};
|
|
702
701
|
|
|
703
|
-
var __defProp$
|
|
704
|
-
var __getOwnPropSymbols$
|
|
705
|
-
var __hasOwnProp$
|
|
706
|
-
var __propIsEnum$
|
|
707
|
-
var __defNormalProp$
|
|
702
|
+
var __defProp$u = Object.defineProperty;
|
|
703
|
+
var __getOwnPropSymbols$v = Object.getOwnPropertySymbols;
|
|
704
|
+
var __hasOwnProp$v = Object.prototype.hasOwnProperty;
|
|
705
|
+
var __propIsEnum$v = Object.prototype.propertyIsEnumerable;
|
|
706
|
+
var __defNormalProp$u = (obj, key, value) => key in obj ? __defProp$u(obj, key, {
|
|
708
707
|
enumerable: true,
|
|
709
708
|
configurable: true,
|
|
710
709
|
writable: true,
|
|
711
710
|
value
|
|
712
711
|
}) : obj[key] = value;
|
|
713
|
-
var __spreadValues$
|
|
714
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
715
|
-
if (__getOwnPropSymbols$
|
|
716
|
-
if (__propIsEnum$
|
|
712
|
+
var __spreadValues$u = (a, b) => {
|
|
713
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$v.call(b, prop)) __defNormalProp$u(a, prop, b[prop]);
|
|
714
|
+
if (__getOwnPropSymbols$v) for (var prop of __getOwnPropSymbols$v(b)) {
|
|
715
|
+
if (__propIsEnum$v.call(b, prop)) __defNormalProp$u(a, prop, b[prop]);
|
|
717
716
|
}
|
|
718
717
|
return a;
|
|
719
718
|
};
|
|
720
719
|
var __objRest$n = (source, exclude) => {
|
|
721
720
|
var target = {};
|
|
722
|
-
for (var prop in source) if (__hasOwnProp$
|
|
723
|
-
if (source != null && __getOwnPropSymbols$
|
|
724
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
721
|
+
for (var prop in source) if (__hasOwnProp$v.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
722
|
+
if (source != null && __getOwnPropSymbols$v) for (var prop of __getOwnPropSymbols$v(source)) {
|
|
723
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$v.call(source, prop)) target[prop] = source[prop];
|
|
725
724
|
}
|
|
726
725
|
return target;
|
|
727
726
|
};
|
|
@@ -748,7 +747,7 @@ const Button = React.forwardRef((props, ref) => {
|
|
|
748
747
|
const [status, setStatus] = useState("normal");
|
|
749
748
|
const hasIcon = prefixIcon || suffixIcon;
|
|
750
749
|
const hasHoverIcon = hoverPrefixIcon || hoverSuffixIcon;
|
|
751
|
-
return /* @__PURE__ */React.createElement(Button$1, __spreadValues$
|
|
750
|
+
return /* @__PURE__ */React.createElement(Button$1, __spreadValues$u({
|
|
752
751
|
ref,
|
|
753
752
|
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}`, !children && children !== 0 && restProps.icon && "ant-btn-icon-only"),
|
|
754
753
|
type: isAntdButtonTypes(type) ? type : void 0,
|
|
@@ -778,33 +777,33 @@ const Button = React.forwardRef((props, ref) => {
|
|
|
778
777
|
}));
|
|
779
778
|
});
|
|
780
779
|
|
|
781
|
-
var __defProp$
|
|
782
|
-
var __defProps$
|
|
783
|
-
var __getOwnPropDescs$
|
|
784
|
-
var __getOwnPropSymbols$
|
|
785
|
-
var __hasOwnProp$
|
|
786
|
-
var __propIsEnum$
|
|
787
|
-
var __defNormalProp$
|
|
788
|
-
var __spreadValues$
|
|
780
|
+
var __defProp$t = Object.defineProperty;
|
|
781
|
+
var __defProps$m = Object.defineProperties;
|
|
782
|
+
var __getOwnPropDescs$m = Object.getOwnPropertyDescriptors;
|
|
783
|
+
var __getOwnPropSymbols$u = Object.getOwnPropertySymbols;
|
|
784
|
+
var __hasOwnProp$u = Object.prototype.hasOwnProperty;
|
|
785
|
+
var __propIsEnum$u = Object.prototype.propertyIsEnumerable;
|
|
786
|
+
var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
787
|
+
var __spreadValues$t = (a, b) => {
|
|
789
788
|
for (var prop in b || (b = {}))
|
|
790
|
-
if (__hasOwnProp$
|
|
791
|
-
__defNormalProp$
|
|
792
|
-
if (__getOwnPropSymbols$
|
|
793
|
-
for (var prop of __getOwnPropSymbols$
|
|
794
|
-
if (__propIsEnum$
|
|
795
|
-
__defNormalProp$
|
|
789
|
+
if (__hasOwnProp$u.call(b, prop))
|
|
790
|
+
__defNormalProp$t(a, prop, b[prop]);
|
|
791
|
+
if (__getOwnPropSymbols$u)
|
|
792
|
+
for (var prop of __getOwnPropSymbols$u(b)) {
|
|
793
|
+
if (__propIsEnum$u.call(b, prop))
|
|
794
|
+
__defNormalProp$t(a, prop, b[prop]);
|
|
796
795
|
}
|
|
797
796
|
return a;
|
|
798
797
|
};
|
|
799
|
-
var __spreadProps$
|
|
798
|
+
var __spreadProps$m = (a, b) => __defProps$m(a, __getOwnPropDescs$m(b));
|
|
800
799
|
var __objRest$m = (source, exclude) => {
|
|
801
800
|
var target = {};
|
|
802
801
|
for (var prop in source)
|
|
803
|
-
if (__hasOwnProp$
|
|
802
|
+
if (__hasOwnProp$u.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
804
803
|
target[prop] = source[prop];
|
|
805
|
-
if (source != null && __getOwnPropSymbols$
|
|
806
|
-
for (var prop of __getOwnPropSymbols$
|
|
807
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
804
|
+
if (source != null && __getOwnPropSymbols$u)
|
|
805
|
+
for (var prop of __getOwnPropSymbols$u(source)) {
|
|
806
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$u.call(source, prop))
|
|
808
807
|
target[prop] = source[prop];
|
|
809
808
|
}
|
|
810
809
|
return target;
|
|
@@ -858,10 +857,10 @@ const Tooltip = (props) => {
|
|
|
858
857
|
}, [followMouse, onmousemove, uniqueContainerClass]);
|
|
859
858
|
return /* @__PURE__ */ React.createElement(
|
|
860
859
|
Tooltip$1,
|
|
861
|
-
__spreadProps$
|
|
860
|
+
__spreadProps$m(__spreadValues$t({}, restProps), {
|
|
862
861
|
overlayClassName: followMouse ? cs(overlayClassName, uniquePopupClass) : overlayClassName,
|
|
863
862
|
children: _children,
|
|
864
|
-
overlayStyle: followMouse ? __spreadValues$
|
|
863
|
+
overlayStyle: followMouse ? __spreadValues$t({
|
|
865
864
|
transform: "translate(-50%, -100%)",
|
|
866
865
|
pointerEvents: "none"
|
|
867
866
|
}, overlayStyle) : overlayStyle
|
|
@@ -869,28 +868,28 @@ const Tooltip = (props) => {
|
|
|
869
868
|
);
|
|
870
869
|
};
|
|
871
870
|
|
|
872
|
-
var __defProp$
|
|
873
|
-
var __getOwnPropSymbols$
|
|
874
|
-
var __hasOwnProp$
|
|
875
|
-
var __propIsEnum$
|
|
876
|
-
var __defNormalProp$
|
|
871
|
+
var __defProp$s = Object.defineProperty;
|
|
872
|
+
var __getOwnPropSymbols$t = Object.getOwnPropertySymbols;
|
|
873
|
+
var __hasOwnProp$t = Object.prototype.hasOwnProperty;
|
|
874
|
+
var __propIsEnum$t = Object.prototype.propertyIsEnumerable;
|
|
875
|
+
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, {
|
|
877
876
|
enumerable: true,
|
|
878
877
|
configurable: true,
|
|
879
878
|
writable: true,
|
|
880
879
|
value
|
|
881
880
|
}) : obj[key] = value;
|
|
882
|
-
var __spreadValues$
|
|
883
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
884
|
-
if (__getOwnPropSymbols$
|
|
885
|
-
if (__propIsEnum$
|
|
881
|
+
var __spreadValues$s = (a, b) => {
|
|
882
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$t.call(b, prop)) __defNormalProp$s(a, prop, b[prop]);
|
|
883
|
+
if (__getOwnPropSymbols$t) for (var prop of __getOwnPropSymbols$t(b)) {
|
|
884
|
+
if (__propIsEnum$t.call(b, prop)) __defNormalProp$s(a, prop, b[prop]);
|
|
886
885
|
}
|
|
887
886
|
return a;
|
|
888
887
|
};
|
|
889
888
|
var __objRest$l = (source, exclude) => {
|
|
890
889
|
var target = {};
|
|
891
|
-
for (var prop in source) if (__hasOwnProp$
|
|
892
|
-
if (source != null && __getOwnPropSymbols$
|
|
893
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
890
|
+
for (var prop in source) if (__hasOwnProp$t.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
891
|
+
if (source != null && __getOwnPropSymbols$t) for (var prop of __getOwnPropSymbols$t(source)) {
|
|
892
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$t.call(source, prop)) target[prop] = source[prop];
|
|
894
893
|
}
|
|
895
894
|
return target;
|
|
896
895
|
};
|
|
@@ -934,7 +933,7 @@ const ButtonGroup = React.forwardRef((props, ref) => {
|
|
|
934
933
|
style: {
|
|
935
934
|
cursor: "not-allowed"
|
|
936
935
|
}
|
|
937
|
-
}, /* @__PURE__ */React.createElement(Button, __spreadValues$
|
|
936
|
+
}, /* @__PURE__ */React.createElement(Button, __spreadValues$s({
|
|
938
937
|
style: {
|
|
939
938
|
pointerEvents: "none"
|
|
940
939
|
},
|
|
@@ -944,7 +943,7 @@ const ButtonGroup = React.forwardRef((props, ref) => {
|
|
|
944
943
|
ghost,
|
|
945
944
|
className: cx(ButtonStyle, className2),
|
|
946
945
|
prefixIcon: icon
|
|
947
|
-
}, buttonPropArgs))) : /* @__PURE__ */React.createElement(Button, __spreadValues$
|
|
946
|
+
}, buttonPropArgs))) : /* @__PURE__ */React.createElement(Button, __spreadValues$s({
|
|
948
947
|
type,
|
|
949
948
|
size,
|
|
950
949
|
danger,
|
|
@@ -953,7 +952,7 @@ const ButtonGroup = React.forwardRef((props, ref) => {
|
|
|
953
952
|
prefixIcon: icon
|
|
954
953
|
}, buttonPropArgs)));
|
|
955
954
|
}
|
|
956
|
-
return /* @__PURE__ */React.createElement(Button, __spreadValues$
|
|
955
|
+
return /* @__PURE__ */React.createElement(Button, __spreadValues$s({
|
|
957
956
|
key: key || index,
|
|
958
957
|
type,
|
|
959
958
|
size,
|
|
@@ -987,31 +986,31 @@ const Byte = ({
|
|
|
987
986
|
return /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
988
987
|
};
|
|
989
988
|
|
|
990
|
-
var __defProp$
|
|
991
|
-
var __defProps$
|
|
992
|
-
var __getOwnPropDescs$
|
|
993
|
-
var __getOwnPropSymbols$
|
|
994
|
-
var __hasOwnProp$
|
|
995
|
-
var __propIsEnum$
|
|
996
|
-
var __defNormalProp$
|
|
989
|
+
var __defProp$r = Object.defineProperty;
|
|
990
|
+
var __defProps$l = Object.defineProperties;
|
|
991
|
+
var __getOwnPropDescs$l = Object.getOwnPropertyDescriptors;
|
|
992
|
+
var __getOwnPropSymbols$s = Object.getOwnPropertySymbols;
|
|
993
|
+
var __hasOwnProp$s = Object.prototype.hasOwnProperty;
|
|
994
|
+
var __propIsEnum$s = Object.prototype.propertyIsEnumerable;
|
|
995
|
+
var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, {
|
|
997
996
|
enumerable: true,
|
|
998
997
|
configurable: true,
|
|
999
998
|
writable: true,
|
|
1000
999
|
value
|
|
1001
1000
|
}) : obj[key] = value;
|
|
1002
|
-
var __spreadValues$
|
|
1003
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1004
|
-
if (__getOwnPropSymbols$
|
|
1005
|
-
if (__propIsEnum$
|
|
1001
|
+
var __spreadValues$r = (a, b) => {
|
|
1002
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$s.call(b, prop)) __defNormalProp$r(a, prop, b[prop]);
|
|
1003
|
+
if (__getOwnPropSymbols$s) for (var prop of __getOwnPropSymbols$s(b)) {
|
|
1004
|
+
if (__propIsEnum$s.call(b, prop)) __defNormalProp$r(a, prop, b[prop]);
|
|
1006
1005
|
}
|
|
1007
1006
|
return a;
|
|
1008
1007
|
};
|
|
1009
|
-
var __spreadProps$
|
|
1008
|
+
var __spreadProps$l = (a, b) => __defProps$l(a, __getOwnPropDescs$l(b));
|
|
1010
1009
|
var __objRest$k = (source, exclude) => {
|
|
1011
1010
|
var target = {};
|
|
1012
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1013
|
-
if (source != null && __getOwnPropSymbols$
|
|
1014
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1011
|
+
for (var prop in source) if (__hasOwnProp$s.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1012
|
+
if (source != null && __getOwnPropSymbols$s) for (var prop of __getOwnPropSymbols$s(source)) {
|
|
1013
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$s.call(source, prop)) target[prop] = source[prop];
|
|
1015
1014
|
}
|
|
1016
1015
|
return target;
|
|
1017
1016
|
};
|
|
@@ -1025,7 +1024,7 @@ const Checkbox = _a => {
|
|
|
1025
1024
|
compact
|
|
1026
1025
|
} = _b,
|
|
1027
1026
|
props = __objRest$k(_b, ["className", "children", "description", "compact"]);
|
|
1028
|
-
return /* @__PURE__ */React.createElement(Checkbox$1, __spreadProps$
|
|
1027
|
+
return /* @__PURE__ */React.createElement(Checkbox$1, __spreadProps$l(__spreadValues$r({}, props), {
|
|
1029
1028
|
"data-test": props["data-test"] || props.value,
|
|
1030
1029
|
className: cs(className, CheckboxStyle, compact && "compact")
|
|
1031
1030
|
}), children ? /* @__PURE__ */React.createElement(React.Fragment, null, /* @__PURE__ */React.createElement("div", {
|
|
@@ -1035,30 +1034,30 @@ const Checkbox = _a => {
|
|
|
1035
1034
|
}, description) : null) : null);
|
|
1036
1035
|
};
|
|
1037
1036
|
|
|
1038
|
-
var __defProp$
|
|
1039
|
-
var __getOwnPropSymbols$
|
|
1040
|
-
var __hasOwnProp$
|
|
1041
|
-
var __propIsEnum$
|
|
1042
|
-
var __defNormalProp$
|
|
1043
|
-
var __spreadValues$
|
|
1037
|
+
var __defProp$q = Object.defineProperty;
|
|
1038
|
+
var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
|
|
1039
|
+
var __hasOwnProp$r = Object.prototype.hasOwnProperty;
|
|
1040
|
+
var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
|
|
1041
|
+
var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1042
|
+
var __spreadValues$q = (a, b) => {
|
|
1044
1043
|
for (var prop in b || (b = {}))
|
|
1045
|
-
if (__hasOwnProp$
|
|
1046
|
-
__defNormalProp$
|
|
1047
|
-
if (__getOwnPropSymbols$
|
|
1048
|
-
for (var prop of __getOwnPropSymbols$
|
|
1049
|
-
if (__propIsEnum$
|
|
1050
|
-
__defNormalProp$
|
|
1044
|
+
if (__hasOwnProp$r.call(b, prop))
|
|
1045
|
+
__defNormalProp$q(a, prop, b[prop]);
|
|
1046
|
+
if (__getOwnPropSymbols$r)
|
|
1047
|
+
for (var prop of __getOwnPropSymbols$r(b)) {
|
|
1048
|
+
if (__propIsEnum$r.call(b, prop))
|
|
1049
|
+
__defNormalProp$q(a, prop, b[prop]);
|
|
1051
1050
|
}
|
|
1052
1051
|
return a;
|
|
1053
1052
|
};
|
|
1054
1053
|
var __objRest$j = (source, exclude) => {
|
|
1055
1054
|
var target = {};
|
|
1056
1055
|
for (var prop in source)
|
|
1057
|
-
if (__hasOwnProp$
|
|
1056
|
+
if (__hasOwnProp$r.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1058
1057
|
target[prop] = source[prop];
|
|
1059
|
-
if (source != null && __getOwnPropSymbols$
|
|
1060
|
-
for (var prop of __getOwnPropSymbols$
|
|
1061
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1058
|
+
if (source != null && __getOwnPropSymbols$r)
|
|
1059
|
+
for (var prop of __getOwnPropSymbols$r(source)) {
|
|
1060
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$r.call(source, prop))
|
|
1062
1061
|
target[prop] = source[prop];
|
|
1063
1062
|
}
|
|
1064
1063
|
return target;
|
|
@@ -1067,7 +1066,7 @@ const FieldsBoolean = (_a) => {
|
|
|
1067
1066
|
var _b = _a, { input, children } = _b, props = __objRest$j(_b, ["input", "children"]);
|
|
1068
1067
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
1069
1068
|
Checkbox,
|
|
1070
|
-
__spreadValues$
|
|
1069
|
+
__spreadValues$q({
|
|
1071
1070
|
checked: Boolean(input.value),
|
|
1072
1071
|
onChange: (e) => input.onChange(e.target.checked)
|
|
1073
1072
|
}, props),
|
|
@@ -1092,17 +1091,17 @@ const FieldsDateTime = ({ input }) => /* @__PURE__ */ React.createElement(React.
|
|
|
1092
1091
|
}
|
|
1093
1092
|
));
|
|
1094
1093
|
|
|
1095
|
-
var __getOwnPropSymbols$
|
|
1096
|
-
var __hasOwnProp$
|
|
1097
|
-
var __propIsEnum$
|
|
1094
|
+
var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
|
|
1095
|
+
var __hasOwnProp$q = Object.prototype.hasOwnProperty;
|
|
1096
|
+
var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
|
|
1098
1097
|
var __objRest$i = (source, exclude) => {
|
|
1099
1098
|
var target = {};
|
|
1100
1099
|
for (var prop in source)
|
|
1101
|
-
if (__hasOwnProp$
|
|
1100
|
+
if (__hasOwnProp$q.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1102
1101
|
target[prop] = source[prop];
|
|
1103
|
-
if (source != null && __getOwnPropSymbols$
|
|
1104
|
-
for (var prop of __getOwnPropSymbols$
|
|
1105
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1102
|
+
if (source != null && __getOwnPropSymbols$q)
|
|
1103
|
+
for (var prop of __getOwnPropSymbols$q(source)) {
|
|
1104
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$q.call(source, prop))
|
|
1106
1105
|
target[prop] = source[prop];
|
|
1107
1106
|
}
|
|
1108
1107
|
return target;
|
|
@@ -1147,53 +1146,53 @@ const FullView = /*#__PURE__*/styled('div')({
|
|
|
1147
1146
|
const InputStyle = "ipd9bk";
|
|
1148
1147
|
const KitInputStyle = "kypn5o5";
|
|
1149
1148
|
|
|
1150
|
-
var __defProp$
|
|
1151
|
-
var __getOwnPropSymbols$
|
|
1152
|
-
var __hasOwnProp$
|
|
1153
|
-
var __propIsEnum$
|
|
1154
|
-
var __defNormalProp$
|
|
1155
|
-
var __spreadValues$
|
|
1149
|
+
var __defProp$p = Object.defineProperty;
|
|
1150
|
+
var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
|
|
1151
|
+
var __hasOwnProp$p = Object.prototype.hasOwnProperty;
|
|
1152
|
+
var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
|
|
1153
|
+
var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1154
|
+
var __spreadValues$p = (a, b) => {
|
|
1156
1155
|
for (var prop in b || (b = {}))
|
|
1157
|
-
if (__hasOwnProp$
|
|
1158
|
-
__defNormalProp$
|
|
1159
|
-
if (__getOwnPropSymbols$
|
|
1160
|
-
for (var prop of __getOwnPropSymbols$
|
|
1161
|
-
if (__propIsEnum$
|
|
1162
|
-
__defNormalProp$
|
|
1156
|
+
if (__hasOwnProp$p.call(b, prop))
|
|
1157
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
1158
|
+
if (__getOwnPropSymbols$p)
|
|
1159
|
+
for (var prop of __getOwnPropSymbols$p(b)) {
|
|
1160
|
+
if (__propIsEnum$p.call(b, prop))
|
|
1161
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
1163
1162
|
}
|
|
1164
1163
|
return a;
|
|
1165
1164
|
};
|
|
1166
1165
|
const Loading = ({ fullView = true }) => {
|
|
1167
1166
|
const Wrapper = fullView ? FullView : Fragment;
|
|
1168
1167
|
const props = fullView ? { className: "loading-full-view" } : {};
|
|
1169
|
-
return /* @__PURE__ */ React.createElement(Wrapper, __spreadValues$
|
|
1168
|
+
return /* @__PURE__ */ React.createElement(Wrapper, __spreadValues$p({}, props), /* @__PURE__ */ React.createElement("div", { className: "loading" }, /* @__PURE__ */ React.createElement("div", { className: "loading__sugar" }), /* @__PURE__ */ React.createElement("div", { className: "loading__sugar" }), /* @__PURE__ */ React.createElement("div", { className: "loading__sugar" }), /* @__PURE__ */ React.createElement("div", { className: "loading__sugar" }), /* @__PURE__ */ React.createElement("div", { className: "loading__sugar" }), /* @__PURE__ */ React.createElement("div", { className: "loading__sugar" }), /* @__PURE__ */ React.createElement("div", { className: "loading__sugar" })));
|
|
1170
1169
|
};
|
|
1171
1170
|
|
|
1172
|
-
var __defProp$
|
|
1173
|
-
var __defProps$
|
|
1174
|
-
var __getOwnPropDescs$
|
|
1175
|
-
var __getOwnPropSymbols$
|
|
1176
|
-
var __hasOwnProp$
|
|
1177
|
-
var __propIsEnum$
|
|
1178
|
-
var __defNormalProp$
|
|
1171
|
+
var __defProp$o = Object.defineProperty;
|
|
1172
|
+
var __defProps$k = Object.defineProperties;
|
|
1173
|
+
var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
|
|
1174
|
+
var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
|
|
1175
|
+
var __hasOwnProp$o = Object.prototype.hasOwnProperty;
|
|
1176
|
+
var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
|
|
1177
|
+
var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, {
|
|
1179
1178
|
enumerable: true,
|
|
1180
1179
|
configurable: true,
|
|
1181
1180
|
writable: true,
|
|
1182
1181
|
value
|
|
1183
1182
|
}) : obj[key] = value;
|
|
1184
|
-
var __spreadValues$
|
|
1185
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1186
|
-
if (__getOwnPropSymbols$
|
|
1187
|
-
if (__propIsEnum$
|
|
1183
|
+
var __spreadValues$o = (a, b) => {
|
|
1184
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$o.call(b, prop)) __defNormalProp$o(a, prop, b[prop]);
|
|
1185
|
+
if (__getOwnPropSymbols$o) for (var prop of __getOwnPropSymbols$o(b)) {
|
|
1186
|
+
if (__propIsEnum$o.call(b, prop)) __defNormalProp$o(a, prop, b[prop]);
|
|
1188
1187
|
}
|
|
1189
1188
|
return a;
|
|
1190
1189
|
};
|
|
1191
|
-
var __spreadProps$
|
|
1190
|
+
var __spreadProps$k = (a, b) => __defProps$k(a, __getOwnPropDescs$k(b));
|
|
1192
1191
|
var __objRest$h = (source, exclude) => {
|
|
1193
1192
|
var target = {};
|
|
1194
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1195
|
-
if (source != null && __getOwnPropSymbols$
|
|
1196
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1193
|
+
for (var prop in source) if (__hasOwnProp$o.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1194
|
+
if (source != null && __getOwnPropSymbols$o) for (var prop of __getOwnPropSymbols$o(source)) {
|
|
1195
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$o.call(source, prop)) target[prop] = source[prop];
|
|
1197
1196
|
}
|
|
1198
1197
|
return target;
|
|
1199
1198
|
};
|
|
@@ -1247,7 +1246,7 @@ const Select = _a => {
|
|
|
1247
1246
|
inputDom && (placeholder || item) && inputDom.setAttribute("data-test", String(placeholder || item.textContent));
|
|
1248
1247
|
}
|
|
1249
1248
|
}, [selectRef, placeholder]);
|
|
1250
|
-
return /* @__PURE__ */React.createElement(Select$1, __spreadValues$
|
|
1249
|
+
return /* @__PURE__ */React.createElement(Select$1, __spreadValues$o(__spreadProps$k(__spreadValues$o({}, input), {
|
|
1251
1250
|
ref: selectRef,
|
|
1252
1251
|
size,
|
|
1253
1252
|
value: multiple ? input.value || [] : input.value || void 0,
|
|
@@ -1287,38 +1286,38 @@ const Select = _a => {
|
|
|
1287
1286
|
loading,
|
|
1288
1287
|
placeholder
|
|
1289
1288
|
}), restProps), React.Children.map(children, child => {
|
|
1290
|
-
return isElement(child) ? __spreadProps$
|
|
1291
|
-
props: __spreadProps$
|
|
1289
|
+
return isElement(child) ? __spreadProps$k(__spreadValues$o({}, child), {
|
|
1290
|
+
props: __spreadProps$k(__spreadValues$o({}, child.props), {
|
|
1292
1291
|
"data-test": child.props.value
|
|
1293
1292
|
})
|
|
1294
1293
|
}) : child;
|
|
1295
1294
|
}));
|
|
1296
1295
|
};
|
|
1297
1296
|
|
|
1298
|
-
var __defProp$
|
|
1299
|
-
var __getOwnPropSymbols$
|
|
1300
|
-
var __hasOwnProp$
|
|
1301
|
-
var __propIsEnum$
|
|
1302
|
-
var __defNormalProp$
|
|
1303
|
-
var __spreadValues$
|
|
1297
|
+
var __defProp$n = Object.defineProperty;
|
|
1298
|
+
var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
|
|
1299
|
+
var __hasOwnProp$n = Object.prototype.hasOwnProperty;
|
|
1300
|
+
var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
|
|
1301
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1302
|
+
var __spreadValues$n = (a, b) => {
|
|
1304
1303
|
for (var prop in b || (b = {}))
|
|
1305
|
-
if (__hasOwnProp$
|
|
1306
|
-
__defNormalProp$
|
|
1307
|
-
if (__getOwnPropSymbols$
|
|
1308
|
-
for (var prop of __getOwnPropSymbols$
|
|
1309
|
-
if (__propIsEnum$
|
|
1310
|
-
__defNormalProp$
|
|
1304
|
+
if (__hasOwnProp$n.call(b, prop))
|
|
1305
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
1306
|
+
if (__getOwnPropSymbols$n)
|
|
1307
|
+
for (var prop of __getOwnPropSymbols$n(b)) {
|
|
1308
|
+
if (__propIsEnum$n.call(b, prop))
|
|
1309
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
1311
1310
|
}
|
|
1312
1311
|
return a;
|
|
1313
1312
|
};
|
|
1314
1313
|
var __objRest$g = (source, exclude) => {
|
|
1315
1314
|
var target = {};
|
|
1316
1315
|
for (var prop in source)
|
|
1317
|
-
if (__hasOwnProp$
|
|
1316
|
+
if (__hasOwnProp$n.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1318
1317
|
target[prop] = source[prop];
|
|
1319
|
-
if (source != null && __getOwnPropSymbols$
|
|
1320
|
-
for (var prop of __getOwnPropSymbols$
|
|
1321
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1318
|
+
if (source != null && __getOwnPropSymbols$n)
|
|
1319
|
+
for (var prop of __getOwnPropSymbols$n(source)) {
|
|
1320
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$n.call(source, prop))
|
|
1322
1321
|
target[prop] = source[prop];
|
|
1323
1322
|
}
|
|
1324
1323
|
return target;
|
|
@@ -1333,7 +1332,7 @@ const FieldsEnum = (_a) => {
|
|
|
1333
1332
|
"enumValues",
|
|
1334
1333
|
"emptyLabel"
|
|
1335
1334
|
]);
|
|
1336
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Select, __spreadValues$
|
|
1335
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Select, __spreadValues$n({}, restProps), emptyLabel && /* @__PURE__ */ React.createElement(Select$1.Option, { value: "" }, emptyLabel), enumValues.map((v) => {
|
|
1337
1336
|
const item = typeof v === "string" ? { value: v, text: v } : v;
|
|
1338
1337
|
return /* @__PURE__ */ React.createElement(
|
|
1339
1338
|
Select$1.Option,
|
|
@@ -1347,31 +1346,31 @@ const FieldsEnum = (_a) => {
|
|
|
1347
1346
|
})));
|
|
1348
1347
|
};
|
|
1349
1348
|
|
|
1350
|
-
var __defProp$
|
|
1351
|
-
var __defProps$
|
|
1352
|
-
var __getOwnPropDescs$
|
|
1353
|
-
var __getOwnPropSymbols$
|
|
1354
|
-
var __hasOwnProp$
|
|
1355
|
-
var __propIsEnum$
|
|
1356
|
-
var __defNormalProp$
|
|
1357
|
-
enumerable: true,
|
|
1358
|
-
configurable: true,
|
|
1359
|
-
writable: true,
|
|
1360
|
-
value
|
|
1361
|
-
}) : obj[key] = value;
|
|
1362
|
-
var __spreadValues$
|
|
1363
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1364
|
-
if (__getOwnPropSymbols$
|
|
1365
|
-
if (__propIsEnum$
|
|
1349
|
+
var __defProp$m = Object.defineProperty;
|
|
1350
|
+
var __defProps$j = Object.defineProperties;
|
|
1351
|
+
var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
|
|
1352
|
+
var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
|
|
1353
|
+
var __hasOwnProp$m = Object.prototype.hasOwnProperty;
|
|
1354
|
+
var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
|
|
1355
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, {
|
|
1356
|
+
enumerable: true,
|
|
1357
|
+
configurable: true,
|
|
1358
|
+
writable: true,
|
|
1359
|
+
value
|
|
1360
|
+
}) : obj[key] = value;
|
|
1361
|
+
var __spreadValues$m = (a, b) => {
|
|
1362
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$m.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
|
|
1363
|
+
if (__getOwnPropSymbols$m) for (var prop of __getOwnPropSymbols$m(b)) {
|
|
1364
|
+
if (__propIsEnum$m.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
|
|
1366
1365
|
}
|
|
1367
1366
|
return a;
|
|
1368
1367
|
};
|
|
1369
|
-
var __spreadProps$
|
|
1368
|
+
var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
|
|
1370
1369
|
var __objRest$f = (source, exclude) => {
|
|
1371
1370
|
var target = {};
|
|
1372
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1373
|
-
if (source != null && __getOwnPropSymbols$
|
|
1374
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1371
|
+
for (var prop in source) if (__hasOwnProp$m.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1372
|
+
if (source != null && __getOwnPropSymbols$m) for (var prop of __getOwnPropSymbols$m(source)) {
|
|
1373
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$m.call(source, prop)) target[prop] = source[prop];
|
|
1375
1374
|
}
|
|
1376
1375
|
return target;
|
|
1377
1376
|
};
|
|
@@ -1413,7 +1412,7 @@ const InputNumber = _a => {
|
|
|
1413
1412
|
middle: Typo.Label.l3_regular,
|
|
1414
1413
|
small: Typo.Label.l4_regular
|
|
1415
1414
|
}[size];
|
|
1416
|
-
return /* @__PURE__ */React.createElement(AntdInputNumberStyled, __spreadProps$
|
|
1415
|
+
return /* @__PURE__ */React.createElement(AntdInputNumberStyled, __spreadProps$j(__spreadValues$m({}, props), {
|
|
1417
1416
|
size,
|
|
1418
1417
|
controls,
|
|
1419
1418
|
"data-test": props.name,
|
|
@@ -1423,33 +1422,33 @@ const InputNumber = _a => {
|
|
|
1423
1422
|
}));
|
|
1424
1423
|
};
|
|
1425
1424
|
|
|
1426
|
-
var __defProp$
|
|
1427
|
-
var __defProps$
|
|
1428
|
-
var __getOwnPropDescs$
|
|
1429
|
-
var __getOwnPropSymbols$
|
|
1430
|
-
var __hasOwnProp$
|
|
1431
|
-
var __propIsEnum$
|
|
1432
|
-
var __defNormalProp$
|
|
1433
|
-
var __spreadValues$
|
|
1425
|
+
var __defProp$l = Object.defineProperty;
|
|
1426
|
+
var __defProps$i = Object.defineProperties;
|
|
1427
|
+
var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
|
|
1428
|
+
var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
|
|
1429
|
+
var __hasOwnProp$l = Object.prototype.hasOwnProperty;
|
|
1430
|
+
var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
|
|
1431
|
+
var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1432
|
+
var __spreadValues$l = (a, b) => {
|
|
1434
1433
|
for (var prop in b || (b = {}))
|
|
1435
|
-
if (__hasOwnProp$
|
|
1436
|
-
__defNormalProp$
|
|
1437
|
-
if (__getOwnPropSymbols$
|
|
1438
|
-
for (var prop of __getOwnPropSymbols$
|
|
1439
|
-
if (__propIsEnum$
|
|
1440
|
-
__defNormalProp$
|
|
1434
|
+
if (__hasOwnProp$l.call(b, prop))
|
|
1435
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
1436
|
+
if (__getOwnPropSymbols$l)
|
|
1437
|
+
for (var prop of __getOwnPropSymbols$l(b)) {
|
|
1438
|
+
if (__propIsEnum$l.call(b, prop))
|
|
1439
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
1441
1440
|
}
|
|
1442
1441
|
return a;
|
|
1443
1442
|
};
|
|
1444
|
-
var __spreadProps$
|
|
1443
|
+
var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
|
|
1445
1444
|
var __objRest$e = (source, exclude) => {
|
|
1446
1445
|
var target = {};
|
|
1447
1446
|
for (var prop in source)
|
|
1448
|
-
if (__hasOwnProp$
|
|
1447
|
+
if (__hasOwnProp$l.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1449
1448
|
target[prop] = source[prop];
|
|
1450
|
-
if (source != null && __getOwnPropSymbols$
|
|
1451
|
-
for (var prop of __getOwnPropSymbols$
|
|
1452
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1449
|
+
if (source != null && __getOwnPropSymbols$l)
|
|
1450
|
+
for (var prop of __getOwnPropSymbols$l(source)) {
|
|
1451
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$l.call(source, prop))
|
|
1453
1452
|
target[prop] = source[prop];
|
|
1454
1453
|
}
|
|
1455
1454
|
return target;
|
|
@@ -1468,7 +1467,7 @@ const FieldsFloat = (_a) => {
|
|
|
1468
1467
|
]);
|
|
1469
1468
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
1470
1469
|
InputNumber,
|
|
1471
|
-
__spreadValues$
|
|
1470
|
+
__spreadValues$l(__spreadProps$i(__spreadValues$l({}, input), {
|
|
1472
1471
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
1473
1472
|
autoComplete,
|
|
1474
1473
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
@@ -1476,33 +1475,33 @@ const FieldsFloat = (_a) => {
|
|
|
1476
1475
|
));
|
|
1477
1476
|
};
|
|
1478
1477
|
|
|
1479
|
-
var __defProp$
|
|
1480
|
-
var __defProps$
|
|
1481
|
-
var __getOwnPropDescs$
|
|
1482
|
-
var __getOwnPropSymbols$
|
|
1483
|
-
var __hasOwnProp$
|
|
1484
|
-
var __propIsEnum$
|
|
1485
|
-
var __defNormalProp$
|
|
1486
|
-
var __spreadValues$
|
|
1478
|
+
var __defProp$k = Object.defineProperty;
|
|
1479
|
+
var __defProps$h = Object.defineProperties;
|
|
1480
|
+
var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
|
|
1481
|
+
var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
|
|
1482
|
+
var __hasOwnProp$k = Object.prototype.hasOwnProperty;
|
|
1483
|
+
var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
|
|
1484
|
+
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1485
|
+
var __spreadValues$k = (a, b) => {
|
|
1487
1486
|
for (var prop in b || (b = {}))
|
|
1488
|
-
if (__hasOwnProp$
|
|
1489
|
-
__defNormalProp$
|
|
1490
|
-
if (__getOwnPropSymbols$
|
|
1491
|
-
for (var prop of __getOwnPropSymbols$
|
|
1492
|
-
if (__propIsEnum$
|
|
1493
|
-
__defNormalProp$
|
|
1487
|
+
if (__hasOwnProp$k.call(b, prop))
|
|
1488
|
+
__defNormalProp$k(a, prop, b[prop]);
|
|
1489
|
+
if (__getOwnPropSymbols$k)
|
|
1490
|
+
for (var prop of __getOwnPropSymbols$k(b)) {
|
|
1491
|
+
if (__propIsEnum$k.call(b, prop))
|
|
1492
|
+
__defNormalProp$k(a, prop, b[prop]);
|
|
1494
1493
|
}
|
|
1495
1494
|
return a;
|
|
1496
1495
|
};
|
|
1497
|
-
var __spreadProps$
|
|
1496
|
+
var __spreadProps$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
|
|
1498
1497
|
var __objRest$d = (source, exclude) => {
|
|
1499
1498
|
var target = {};
|
|
1500
1499
|
for (var prop in source)
|
|
1501
|
-
if (__hasOwnProp$
|
|
1500
|
+
if (__hasOwnProp$k.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1502
1501
|
target[prop] = source[prop];
|
|
1503
|
-
if (source != null && __getOwnPropSymbols$
|
|
1504
|
-
for (var prop of __getOwnPropSymbols$
|
|
1505
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1502
|
+
if (source != null && __getOwnPropSymbols$k)
|
|
1503
|
+
for (var prop of __getOwnPropSymbols$k(source)) {
|
|
1504
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$k.call(source, prop))
|
|
1506
1505
|
target[prop] = source[prop];
|
|
1507
1506
|
}
|
|
1508
1507
|
return target;
|
|
@@ -1524,7 +1523,7 @@ const Input = (_a) => {
|
|
|
1524
1523
|
}[size];
|
|
1525
1524
|
return /* @__PURE__ */ React.createElement(
|
|
1526
1525
|
Input$1,
|
|
1527
|
-
__spreadProps$
|
|
1526
|
+
__spreadProps$h(__spreadValues$k({}, props), {
|
|
1528
1527
|
size,
|
|
1529
1528
|
"data-test": props.name,
|
|
1530
1529
|
className: cs(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -1532,33 +1531,33 @@ const Input = (_a) => {
|
|
|
1532
1531
|
);
|
|
1533
1532
|
};
|
|
1534
1533
|
|
|
1535
|
-
var __defProp$
|
|
1536
|
-
var __defProps$
|
|
1537
|
-
var __getOwnPropDescs$
|
|
1538
|
-
var __getOwnPropSymbols$
|
|
1539
|
-
var __hasOwnProp$
|
|
1540
|
-
var __propIsEnum$
|
|
1541
|
-
var __defNormalProp$
|
|
1542
|
-
var __spreadValues$
|
|
1534
|
+
var __defProp$j = Object.defineProperty;
|
|
1535
|
+
var __defProps$g = Object.defineProperties;
|
|
1536
|
+
var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
|
|
1537
|
+
var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
|
|
1538
|
+
var __hasOwnProp$j = Object.prototype.hasOwnProperty;
|
|
1539
|
+
var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
|
|
1540
|
+
var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1541
|
+
var __spreadValues$j = (a, b) => {
|
|
1543
1542
|
for (var prop in b || (b = {}))
|
|
1544
|
-
if (__hasOwnProp$
|
|
1545
|
-
__defNormalProp$
|
|
1546
|
-
if (__getOwnPropSymbols$
|
|
1547
|
-
for (var prop of __getOwnPropSymbols$
|
|
1548
|
-
if (__propIsEnum$
|
|
1549
|
-
__defNormalProp$
|
|
1543
|
+
if (__hasOwnProp$j.call(b, prop))
|
|
1544
|
+
__defNormalProp$j(a, prop, b[prop]);
|
|
1545
|
+
if (__getOwnPropSymbols$j)
|
|
1546
|
+
for (var prop of __getOwnPropSymbols$j(b)) {
|
|
1547
|
+
if (__propIsEnum$j.call(b, prop))
|
|
1548
|
+
__defNormalProp$j(a, prop, b[prop]);
|
|
1550
1549
|
}
|
|
1551
1550
|
return a;
|
|
1552
1551
|
};
|
|
1553
|
-
var __spreadProps$
|
|
1552
|
+
var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
|
|
1554
1553
|
var __objRest$c = (source, exclude) => {
|
|
1555
1554
|
var target = {};
|
|
1556
1555
|
for (var prop in source)
|
|
1557
|
-
if (__hasOwnProp$
|
|
1556
|
+
if (__hasOwnProp$j.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1558
1557
|
target[prop] = source[prop];
|
|
1559
|
-
if (source != null && __getOwnPropSymbols$
|
|
1560
|
-
for (var prop of __getOwnPropSymbols$
|
|
1561
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1558
|
+
if (source != null && __getOwnPropSymbols$j)
|
|
1559
|
+
for (var prop of __getOwnPropSymbols$j(source)) {
|
|
1560
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$j.call(source, prop))
|
|
1562
1561
|
target[prop] = source[prop];
|
|
1563
1562
|
}
|
|
1564
1563
|
return target;
|
|
@@ -1579,7 +1578,7 @@ const FieldsInt = (_a) => {
|
|
|
1579
1578
|
]);
|
|
1580
1579
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
1581
1580
|
Input,
|
|
1582
|
-
__spreadValues$
|
|
1581
|
+
__spreadValues$j(__spreadProps$g(__spreadValues$j({}, input), {
|
|
1583
1582
|
onChange: (e) => {
|
|
1584
1583
|
const value = e.currentTarget.value;
|
|
1585
1584
|
if (supportNegativeValue) {
|
|
@@ -1614,31 +1613,31 @@ const formatterInteger = (value) => {
|
|
|
1614
1613
|
}
|
|
1615
1614
|
};
|
|
1616
1615
|
|
|
1617
|
-
var __defProp$
|
|
1618
|
-
var __defProps$
|
|
1619
|
-
var __getOwnPropDescs$
|
|
1620
|
-
var __getOwnPropSymbols$
|
|
1621
|
-
var __hasOwnProp$
|
|
1622
|
-
var __propIsEnum$
|
|
1623
|
-
var __defNormalProp$
|
|
1616
|
+
var __defProp$i = Object.defineProperty;
|
|
1617
|
+
var __defProps$f = Object.defineProperties;
|
|
1618
|
+
var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
|
|
1619
|
+
var __getOwnPropSymbols$i = Object.getOwnPropertySymbols;
|
|
1620
|
+
var __hasOwnProp$i = Object.prototype.hasOwnProperty;
|
|
1621
|
+
var __propIsEnum$i = Object.prototype.propertyIsEnumerable;
|
|
1622
|
+
var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, {
|
|
1624
1623
|
enumerable: true,
|
|
1625
1624
|
configurable: true,
|
|
1626
1625
|
writable: true,
|
|
1627
1626
|
value
|
|
1628
1627
|
}) : obj[key] = value;
|
|
1629
|
-
var __spreadValues$
|
|
1630
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1631
|
-
if (__getOwnPropSymbols$
|
|
1632
|
-
if (__propIsEnum$
|
|
1628
|
+
var __spreadValues$i = (a, b) => {
|
|
1629
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$i.call(b, prop)) __defNormalProp$i(a, prop, b[prop]);
|
|
1630
|
+
if (__getOwnPropSymbols$i) for (var prop of __getOwnPropSymbols$i(b)) {
|
|
1631
|
+
if (__propIsEnum$i.call(b, prop)) __defNormalProp$i(a, prop, b[prop]);
|
|
1633
1632
|
}
|
|
1634
1633
|
return a;
|
|
1635
1634
|
};
|
|
1636
|
-
var __spreadProps$
|
|
1635
|
+
var __spreadProps$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
|
|
1637
1636
|
var __objRest$b = (source, exclude) => {
|
|
1638
1637
|
var target = {};
|
|
1639
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1640
|
-
if (source != null && __getOwnPropSymbols$
|
|
1641
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1638
|
+
for (var prop in source) if (__hasOwnProp$i.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1639
|
+
if (source != null && __getOwnPropSymbols$i) for (var prop of __getOwnPropSymbols$i(source)) {
|
|
1640
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$i.call(source, prop)) target[prop] = source[prop];
|
|
1642
1641
|
}
|
|
1643
1642
|
return target;
|
|
1644
1643
|
};
|
|
@@ -1682,7 +1681,7 @@ const InputInteger = _a => {
|
|
|
1682
1681
|
middle: Typo.Label.l3_regular,
|
|
1683
1682
|
small: Typo.Label.l4_regular
|
|
1684
1683
|
}[size];
|
|
1685
|
-
return /* @__PURE__ */React.createElement(AntdIntStyled, __spreadProps$
|
|
1684
|
+
return /* @__PURE__ */React.createElement(AntdIntStyled, __spreadProps$f(__spreadValues$i({}, props), {
|
|
1686
1685
|
size,
|
|
1687
1686
|
formatter: formatterInteger,
|
|
1688
1687
|
parser: formatterInteger,
|
|
@@ -1696,33 +1695,33 @@ const InputInteger = _a => {
|
|
|
1696
1695
|
}));
|
|
1697
1696
|
};
|
|
1698
1697
|
|
|
1699
|
-
var __defProp$
|
|
1700
|
-
var __defProps$
|
|
1701
|
-
var __getOwnPropDescs$
|
|
1702
|
-
var __getOwnPropSymbols$
|
|
1703
|
-
var __hasOwnProp$
|
|
1704
|
-
var __propIsEnum$
|
|
1705
|
-
var __defNormalProp$
|
|
1706
|
-
var __spreadValues$
|
|
1698
|
+
var __defProp$h = Object.defineProperty;
|
|
1699
|
+
var __defProps$e = Object.defineProperties;
|
|
1700
|
+
var __getOwnPropDescs$e = Object.getOwnPropertyDescriptors;
|
|
1701
|
+
var __getOwnPropSymbols$h = Object.getOwnPropertySymbols;
|
|
1702
|
+
var __hasOwnProp$h = Object.prototype.hasOwnProperty;
|
|
1703
|
+
var __propIsEnum$h = Object.prototype.propertyIsEnumerable;
|
|
1704
|
+
var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1705
|
+
var __spreadValues$h = (a, b) => {
|
|
1707
1706
|
for (var prop in b || (b = {}))
|
|
1708
|
-
if (__hasOwnProp$
|
|
1709
|
-
__defNormalProp$
|
|
1710
|
-
if (__getOwnPropSymbols$
|
|
1711
|
-
for (var prop of __getOwnPropSymbols$
|
|
1712
|
-
if (__propIsEnum$
|
|
1713
|
-
__defNormalProp$
|
|
1707
|
+
if (__hasOwnProp$h.call(b, prop))
|
|
1708
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
1709
|
+
if (__getOwnPropSymbols$h)
|
|
1710
|
+
for (var prop of __getOwnPropSymbols$h(b)) {
|
|
1711
|
+
if (__propIsEnum$h.call(b, prop))
|
|
1712
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
1714
1713
|
}
|
|
1715
1714
|
return a;
|
|
1716
1715
|
};
|
|
1717
|
-
var __spreadProps$
|
|
1716
|
+
var __spreadProps$e = (a, b) => __defProps$e(a, __getOwnPropDescs$e(b));
|
|
1718
1717
|
var __objRest$a = (source, exclude) => {
|
|
1719
1718
|
var target = {};
|
|
1720
1719
|
for (var prop in source)
|
|
1721
|
-
if (__hasOwnProp$
|
|
1720
|
+
if (__hasOwnProp$h.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1722
1721
|
target[prop] = source[prop];
|
|
1723
|
-
if (source != null && __getOwnPropSymbols$
|
|
1724
|
-
for (var prop of __getOwnPropSymbols$
|
|
1725
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1722
|
+
if (source != null && __getOwnPropSymbols$h)
|
|
1723
|
+
for (var prop of __getOwnPropSymbols$h(source)) {
|
|
1724
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$h.call(source, prop))
|
|
1726
1725
|
target[prop] = source[prop];
|
|
1727
1726
|
}
|
|
1728
1727
|
return target;
|
|
@@ -1739,7 +1738,7 @@ const FieldsInteger = (_a) => {
|
|
|
1739
1738
|
]);
|
|
1740
1739
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
1741
1740
|
InputInteger,
|
|
1742
|
-
__spreadProps$
|
|
1741
|
+
__spreadProps$e(__spreadValues$h(__spreadValues$h({}, props), input), {
|
|
1743
1742
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
1744
1743
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
1745
1744
|
})
|
|
@@ -1903,33 +1902,33 @@ const Overflow = props => {
|
|
|
1903
1902
|
}, children), showOverflow && /* @__PURE__ */React.createElement("span", null, overflow));
|
|
1904
1903
|
};
|
|
1905
1904
|
|
|
1906
|
-
var __defProp$
|
|
1907
|
-
var __defProps$
|
|
1908
|
-
var __getOwnPropDescs$
|
|
1909
|
-
var __getOwnPropSymbols$
|
|
1910
|
-
var __hasOwnProp$
|
|
1911
|
-
var __propIsEnum$
|
|
1912
|
-
var __defNormalProp$
|
|
1913
|
-
var __spreadValues$
|
|
1905
|
+
var __defProp$g = Object.defineProperty;
|
|
1906
|
+
var __defProps$d = Object.defineProperties;
|
|
1907
|
+
var __getOwnPropDescs$d = Object.getOwnPropertyDescriptors;
|
|
1908
|
+
var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
|
|
1909
|
+
var __hasOwnProp$g = Object.prototype.hasOwnProperty;
|
|
1910
|
+
var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
|
|
1911
|
+
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1912
|
+
var __spreadValues$g = (a, b) => {
|
|
1914
1913
|
for (var prop in b || (b = {}))
|
|
1915
|
-
if (__hasOwnProp$
|
|
1916
|
-
__defNormalProp$
|
|
1917
|
-
if (__getOwnPropSymbols$
|
|
1918
|
-
for (var prop of __getOwnPropSymbols$
|
|
1919
|
-
if (__propIsEnum$
|
|
1920
|
-
__defNormalProp$
|
|
1914
|
+
if (__hasOwnProp$g.call(b, prop))
|
|
1915
|
+
__defNormalProp$g(a, prop, b[prop]);
|
|
1916
|
+
if (__getOwnPropSymbols$g)
|
|
1917
|
+
for (var prop of __getOwnPropSymbols$g(b)) {
|
|
1918
|
+
if (__propIsEnum$g.call(b, prop))
|
|
1919
|
+
__defNormalProp$g(a, prop, b[prop]);
|
|
1921
1920
|
}
|
|
1922
1921
|
return a;
|
|
1923
1922
|
};
|
|
1924
|
-
var __spreadProps$
|
|
1923
|
+
var __spreadProps$d = (a, b) => __defProps$d(a, __getOwnPropDescs$d(b));
|
|
1925
1924
|
var __objRest$9 = (source, exclude) => {
|
|
1926
1925
|
var target = {};
|
|
1927
1926
|
for (var prop in source)
|
|
1928
|
-
if (__hasOwnProp$
|
|
1927
|
+
if (__hasOwnProp$g.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1929
1928
|
target[prop] = source[prop];
|
|
1930
|
-
if (source != null && __getOwnPropSymbols$
|
|
1931
|
-
for (var prop of __getOwnPropSymbols$
|
|
1932
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1929
|
+
if (source != null && __getOwnPropSymbols$g)
|
|
1930
|
+
for (var prop of __getOwnPropSymbols$g(source)) {
|
|
1931
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$g.call(source, prop))
|
|
1933
1932
|
target[prop] = source[prop];
|
|
1934
1933
|
}
|
|
1935
1934
|
return target;
|
|
@@ -1980,7 +1979,7 @@ const FieldsString = (_a) => {
|
|
|
1980
1979
|
}
|
|
1981
1980
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
1982
1981
|
Input,
|
|
1983
|
-
__spreadProps$
|
|
1982
|
+
__spreadProps$d(__spreadValues$g(__spreadProps$d(__spreadValues$g({
|
|
1984
1983
|
className: cs(
|
|
1985
1984
|
className,
|
|
1986
1985
|
KitInputStyle,
|
|
@@ -2005,33 +2004,33 @@ const FieldsString = (_a) => {
|
|
|
2005
2004
|
));
|
|
2006
2005
|
};
|
|
2007
2006
|
|
|
2008
|
-
var __defProp$
|
|
2009
|
-
var __defProps$
|
|
2010
|
-
var __getOwnPropDescs$
|
|
2011
|
-
var __getOwnPropSymbols$
|
|
2012
|
-
var __hasOwnProp$
|
|
2013
|
-
var __propIsEnum$
|
|
2014
|
-
var __defNormalProp$
|
|
2015
|
-
var __spreadValues$
|
|
2007
|
+
var __defProp$f = Object.defineProperty;
|
|
2008
|
+
var __defProps$c = Object.defineProperties;
|
|
2009
|
+
var __getOwnPropDescs$c = Object.getOwnPropertyDescriptors;
|
|
2010
|
+
var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
|
|
2011
|
+
var __hasOwnProp$f = Object.prototype.hasOwnProperty;
|
|
2012
|
+
var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
|
|
2013
|
+
var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2014
|
+
var __spreadValues$f = (a, b) => {
|
|
2016
2015
|
for (var prop in b || (b = {}))
|
|
2017
|
-
if (__hasOwnProp$
|
|
2018
|
-
__defNormalProp$
|
|
2019
|
-
if (__getOwnPropSymbols$
|
|
2020
|
-
for (var prop of __getOwnPropSymbols$
|
|
2021
|
-
if (__propIsEnum$
|
|
2022
|
-
__defNormalProp$
|
|
2016
|
+
if (__hasOwnProp$f.call(b, prop))
|
|
2017
|
+
__defNormalProp$f(a, prop, b[prop]);
|
|
2018
|
+
if (__getOwnPropSymbols$f)
|
|
2019
|
+
for (var prop of __getOwnPropSymbols$f(b)) {
|
|
2020
|
+
if (__propIsEnum$f.call(b, prop))
|
|
2021
|
+
__defNormalProp$f(a, prop, b[prop]);
|
|
2023
2022
|
}
|
|
2024
2023
|
return a;
|
|
2025
2024
|
};
|
|
2026
|
-
var __spreadProps$
|
|
2025
|
+
var __spreadProps$c = (a, b) => __defProps$c(a, __getOwnPropDescs$c(b));
|
|
2027
2026
|
var __objRest$8 = (source, exclude) => {
|
|
2028
2027
|
var target = {};
|
|
2029
2028
|
for (var prop in source)
|
|
2030
|
-
if (__hasOwnProp$
|
|
2029
|
+
if (__hasOwnProp$f.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2031
2030
|
target[prop] = source[prop];
|
|
2032
|
-
if (source != null && __getOwnPropSymbols$
|
|
2033
|
-
for (var prop of __getOwnPropSymbols$
|
|
2034
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2031
|
+
if (source != null && __getOwnPropSymbols$f)
|
|
2032
|
+
for (var prop of __getOwnPropSymbols$f(source)) {
|
|
2033
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$f.call(source, prop))
|
|
2035
2034
|
target[prop] = source[prop];
|
|
2036
2035
|
}
|
|
2037
2036
|
return target;
|
|
@@ -2053,7 +2052,7 @@ const TextArea = (_a) => {
|
|
|
2053
2052
|
}[size];
|
|
2054
2053
|
return /* @__PURE__ */ React.createElement(
|
|
2055
2054
|
Input$1.TextArea,
|
|
2056
|
-
__spreadProps$
|
|
2055
|
+
__spreadProps$c(__spreadValues$f({}, props), {
|
|
2057
2056
|
className: cs(
|
|
2058
2057
|
className,
|
|
2059
2058
|
InputStyle,
|
|
@@ -2067,33 +2066,33 @@ const TextArea = (_a) => {
|
|
|
2067
2066
|
);
|
|
2068
2067
|
};
|
|
2069
2068
|
|
|
2070
|
-
var __defProp$
|
|
2071
|
-
var __defProps$
|
|
2072
|
-
var __getOwnPropDescs$
|
|
2073
|
-
var __getOwnPropSymbols$
|
|
2074
|
-
var __hasOwnProp$
|
|
2075
|
-
var __propIsEnum$
|
|
2076
|
-
var __defNormalProp$
|
|
2077
|
-
var __spreadValues$
|
|
2069
|
+
var __defProp$e = Object.defineProperty;
|
|
2070
|
+
var __defProps$b = Object.defineProperties;
|
|
2071
|
+
var __getOwnPropDescs$b = Object.getOwnPropertyDescriptors;
|
|
2072
|
+
var __getOwnPropSymbols$e = Object.getOwnPropertySymbols;
|
|
2073
|
+
var __hasOwnProp$e = Object.prototype.hasOwnProperty;
|
|
2074
|
+
var __propIsEnum$e = Object.prototype.propertyIsEnumerable;
|
|
2075
|
+
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2076
|
+
var __spreadValues$e = (a, b) => {
|
|
2078
2077
|
for (var prop in b || (b = {}))
|
|
2079
|
-
if (__hasOwnProp$
|
|
2080
|
-
__defNormalProp$
|
|
2081
|
-
if (__getOwnPropSymbols$
|
|
2082
|
-
for (var prop of __getOwnPropSymbols$
|
|
2083
|
-
if (__propIsEnum$
|
|
2084
|
-
__defNormalProp$
|
|
2078
|
+
if (__hasOwnProp$e.call(b, prop))
|
|
2079
|
+
__defNormalProp$e(a, prop, b[prop]);
|
|
2080
|
+
if (__getOwnPropSymbols$e)
|
|
2081
|
+
for (var prop of __getOwnPropSymbols$e(b)) {
|
|
2082
|
+
if (__propIsEnum$e.call(b, prop))
|
|
2083
|
+
__defNormalProp$e(a, prop, b[prop]);
|
|
2085
2084
|
}
|
|
2086
2085
|
return a;
|
|
2087
2086
|
};
|
|
2088
|
-
var __spreadProps$
|
|
2087
|
+
var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
|
|
2089
2088
|
var __objRest$7 = (source, exclude) => {
|
|
2090
2089
|
var target = {};
|
|
2091
2090
|
for (var prop in source)
|
|
2092
|
-
if (__hasOwnProp$
|
|
2091
|
+
if (__hasOwnProp$e.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2093
2092
|
target[prop] = source[prop];
|
|
2094
|
-
if (source != null && __getOwnPropSymbols$
|
|
2095
|
-
for (var prop of __getOwnPropSymbols$
|
|
2096
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2093
|
+
if (source != null && __getOwnPropSymbols$e)
|
|
2094
|
+
for (var prop of __getOwnPropSymbols$e(source)) {
|
|
2095
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$e.call(source, prop))
|
|
2097
2096
|
target[prop] = source[prop];
|
|
2098
2097
|
}
|
|
2099
2098
|
return target;
|
|
@@ -2110,7 +2109,7 @@ const FieldsTextArea = (_a) => {
|
|
|
2110
2109
|
]);
|
|
2111
2110
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
2112
2111
|
TextArea,
|
|
2113
|
-
__spreadProps$
|
|
2112
|
+
__spreadProps$b(__spreadValues$e(__spreadValues$e({}, input), props), {
|
|
2114
2113
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError),
|
|
2115
2114
|
onFocus: (e) => {
|
|
2116
2115
|
input.onFocus(e);
|
|
@@ -2124,33 +2123,33 @@ const FieldsTextArea = (_a) => {
|
|
|
2124
2123
|
));
|
|
2125
2124
|
};
|
|
2126
2125
|
|
|
2127
|
-
var __defProp$
|
|
2128
|
-
var __defProps$
|
|
2129
|
-
var __getOwnPropDescs$
|
|
2130
|
-
var __getOwnPropSymbols$
|
|
2131
|
-
var __hasOwnProp$
|
|
2132
|
-
var __propIsEnum$
|
|
2133
|
-
var __defNormalProp$
|
|
2134
|
-
var __spreadValues$
|
|
2126
|
+
var __defProp$d = Object.defineProperty;
|
|
2127
|
+
var __defProps$a = Object.defineProperties;
|
|
2128
|
+
var __getOwnPropDescs$a = Object.getOwnPropertyDescriptors;
|
|
2129
|
+
var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
|
|
2130
|
+
var __hasOwnProp$d = Object.prototype.hasOwnProperty;
|
|
2131
|
+
var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
|
|
2132
|
+
var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2133
|
+
var __spreadValues$d = (a, b) => {
|
|
2135
2134
|
for (var prop in b || (b = {}))
|
|
2136
|
-
if (__hasOwnProp$
|
|
2137
|
-
__defNormalProp$
|
|
2138
|
-
if (__getOwnPropSymbols$
|
|
2139
|
-
for (var prop of __getOwnPropSymbols$
|
|
2140
|
-
if (__propIsEnum$
|
|
2141
|
-
__defNormalProp$
|
|
2135
|
+
if (__hasOwnProp$d.call(b, prop))
|
|
2136
|
+
__defNormalProp$d(a, prop, b[prop]);
|
|
2137
|
+
if (__getOwnPropSymbols$d)
|
|
2138
|
+
for (var prop of __getOwnPropSymbols$d(b)) {
|
|
2139
|
+
if (__propIsEnum$d.call(b, prop))
|
|
2140
|
+
__defNormalProp$d(a, prop, b[prop]);
|
|
2142
2141
|
}
|
|
2143
2142
|
return a;
|
|
2144
2143
|
};
|
|
2145
|
-
var __spreadProps$
|
|
2144
|
+
var __spreadProps$a = (a, b) => __defProps$a(a, __getOwnPropDescs$a(b));
|
|
2146
2145
|
var __objRest$6 = (source, exclude) => {
|
|
2147
2146
|
var target = {};
|
|
2148
2147
|
for (var prop in source)
|
|
2149
|
-
if (__hasOwnProp$
|
|
2148
|
+
if (__hasOwnProp$d.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2150
2149
|
target[prop] = source[prop];
|
|
2151
|
-
if (source != null && __getOwnPropSymbols$
|
|
2152
|
-
for (var prop of __getOwnPropSymbols$
|
|
2153
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2150
|
+
if (source != null && __getOwnPropSymbols$d)
|
|
2151
|
+
for (var prop of __getOwnPropSymbols$d(source)) {
|
|
2152
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$d.call(source, prop))
|
|
2154
2153
|
target[prop] = source[prop];
|
|
2155
2154
|
}
|
|
2156
2155
|
return target;
|
|
@@ -2172,7 +2171,7 @@ const TimePicker = (_a) => {
|
|
|
2172
2171
|
}[size];
|
|
2173
2172
|
return /* @__PURE__ */ React.createElement(
|
|
2174
2173
|
TimePicker$1,
|
|
2175
|
-
__spreadProps$
|
|
2174
|
+
__spreadProps$a(__spreadValues$d({}, props), {
|
|
2176
2175
|
size,
|
|
2177
2176
|
"data-test": props.name,
|
|
2178
2177
|
className: cs(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -2180,33 +2179,33 @@ const TimePicker = (_a) => {
|
|
|
2180
2179
|
);
|
|
2181
2180
|
};
|
|
2182
2181
|
|
|
2183
|
-
var __defProp$
|
|
2184
|
-
var __defProps$
|
|
2185
|
-
var __getOwnPropDescs$
|
|
2186
|
-
var __getOwnPropSymbols$
|
|
2187
|
-
var __hasOwnProp$
|
|
2188
|
-
var __propIsEnum$
|
|
2189
|
-
var __defNormalProp$
|
|
2190
|
-
var __spreadValues$
|
|
2182
|
+
var __defProp$c = Object.defineProperty;
|
|
2183
|
+
var __defProps$9 = Object.defineProperties;
|
|
2184
|
+
var __getOwnPropDescs$9 = Object.getOwnPropertyDescriptors;
|
|
2185
|
+
var __getOwnPropSymbols$c = Object.getOwnPropertySymbols;
|
|
2186
|
+
var __hasOwnProp$c = Object.prototype.hasOwnProperty;
|
|
2187
|
+
var __propIsEnum$c = Object.prototype.propertyIsEnumerable;
|
|
2188
|
+
var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2189
|
+
var __spreadValues$c = (a, b) => {
|
|
2191
2190
|
for (var prop in b || (b = {}))
|
|
2192
|
-
if (__hasOwnProp$
|
|
2193
|
-
__defNormalProp$
|
|
2194
|
-
if (__getOwnPropSymbols$
|
|
2195
|
-
for (var prop of __getOwnPropSymbols$
|
|
2196
|
-
if (__propIsEnum$
|
|
2197
|
-
__defNormalProp$
|
|
2191
|
+
if (__hasOwnProp$c.call(b, prop))
|
|
2192
|
+
__defNormalProp$c(a, prop, b[prop]);
|
|
2193
|
+
if (__getOwnPropSymbols$c)
|
|
2194
|
+
for (var prop of __getOwnPropSymbols$c(b)) {
|
|
2195
|
+
if (__propIsEnum$c.call(b, prop))
|
|
2196
|
+
__defNormalProp$c(a, prop, b[prop]);
|
|
2198
2197
|
}
|
|
2199
2198
|
return a;
|
|
2200
2199
|
};
|
|
2201
|
-
var __spreadProps$
|
|
2200
|
+
var __spreadProps$9 = (a, b) => __defProps$9(a, __getOwnPropDescs$9(b));
|
|
2202
2201
|
var __objRest$5 = (source, exclude) => {
|
|
2203
2202
|
var target = {};
|
|
2204
2203
|
for (var prop in source)
|
|
2205
|
-
if (__hasOwnProp$
|
|
2204
|
+
if (__hasOwnProp$c.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2206
2205
|
target[prop] = source[prop];
|
|
2207
|
-
if (source != null && __getOwnPropSymbols$
|
|
2208
|
-
for (var prop of __getOwnPropSymbols$
|
|
2209
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2206
|
+
if (source != null && __getOwnPropSymbols$c)
|
|
2207
|
+
for (var prop of __getOwnPropSymbols$c(source)) {
|
|
2208
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$c.call(source, prop))
|
|
2210
2209
|
target[prop] = source[prop];
|
|
2211
2210
|
}
|
|
2212
2211
|
return target;
|
|
@@ -2221,7 +2220,7 @@ const FieldsTimePicker = (_a) => {
|
|
|
2221
2220
|
]);
|
|
2222
2221
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
2223
2222
|
TimePicker,
|
|
2224
|
-
__spreadValues$
|
|
2223
|
+
__spreadValues$c(__spreadProps$9(__spreadValues$c({}, input), {
|
|
2225
2224
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
2226
2225
|
}), props)
|
|
2227
2226
|
));
|
|
@@ -2260,25 +2259,158 @@ const InputGroup = /*#__PURE__*/styled(_exp())({
|
|
|
2260
2259
|
propsAsIs: true
|
|
2261
2260
|
});
|
|
2262
2261
|
|
|
2263
|
-
var __defProp$
|
|
2264
|
-
var __defProps$
|
|
2265
|
-
var __getOwnPropDescs$
|
|
2266
|
-
var __getOwnPropSymbols$
|
|
2267
|
-
var __hasOwnProp$
|
|
2268
|
-
var __propIsEnum$
|
|
2269
|
-
var __defNormalProp$
|
|
2270
|
-
var __spreadValues$
|
|
2262
|
+
var __defProp$b = Object.defineProperty;
|
|
2263
|
+
var __defProps$8 = Object.defineProperties;
|
|
2264
|
+
var __getOwnPropDescs$8 = Object.getOwnPropertyDescriptors;
|
|
2265
|
+
var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
|
|
2266
|
+
var __hasOwnProp$b = Object.prototype.hasOwnProperty;
|
|
2267
|
+
var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
|
|
2268
|
+
var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2269
|
+
var __spreadValues$b = (a, b) => {
|
|
2270
|
+
for (var prop in b || (b = {}))
|
|
2271
|
+
if (__hasOwnProp$b.call(b, prop))
|
|
2272
|
+
__defNormalProp$b(a, prop, b[prop]);
|
|
2273
|
+
if (__getOwnPropSymbols$b)
|
|
2274
|
+
for (var prop of __getOwnPropSymbols$b(b)) {
|
|
2275
|
+
if (__propIsEnum$b.call(b, prop))
|
|
2276
|
+
__defNormalProp$b(a, prop, b[prop]);
|
|
2277
|
+
}
|
|
2278
|
+
return a;
|
|
2279
|
+
};
|
|
2280
|
+
var __spreadProps$8 = (a, b) => __defProps$8(a, __getOwnPropDescs$8(b));
|
|
2281
|
+
function makeUUID(length = 25) {
|
|
2282
|
+
let result = "";
|
|
2283
|
+
const characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
2284
|
+
const charactersLength = characters.length;
|
|
2285
|
+
for (let i = 0; i < length; i++) {
|
|
2286
|
+
result += characters.charAt(Math.floor(Math.random() * charactersLength));
|
|
2287
|
+
}
|
|
2288
|
+
return result;
|
|
2289
|
+
}
|
|
2290
|
+
class Batcher {
|
|
2291
|
+
constructor(originalMethod, batchHelper) {
|
|
2292
|
+
this.batchSize = 2;
|
|
2293
|
+
this.batchTime = 200;
|
|
2294
|
+
this.scheduler = {};
|
|
2295
|
+
this.originalMethod = originalMethod;
|
|
2296
|
+
this.batchHelper = batchHelper;
|
|
2297
|
+
}
|
|
2298
|
+
addMessage(originContent) {
|
|
2299
|
+
const { batchKey, content } = this.batchHelper(originContent.content);
|
|
2300
|
+
if (batchKey == null) {
|
|
2301
|
+
this.originalMethod(originContent);
|
|
2302
|
+
return;
|
|
2303
|
+
}
|
|
2304
|
+
if (!this.scheduler[batchKey]) {
|
|
2305
|
+
this.scheduler[batchKey] = {
|
|
2306
|
+
firedHandlers: {},
|
|
2307
|
+
pendingMessages: {}
|
|
2308
|
+
};
|
|
2309
|
+
}
|
|
2310
|
+
const messageStore = this.scheduler[batchKey];
|
|
2311
|
+
const { firedHandlers, pendingMessages, groupedCtx } = messageStore;
|
|
2312
|
+
if (groupedCtx) {
|
|
2313
|
+
groupedCtx.count++;
|
|
2314
|
+
this.applyContent(__spreadProps$8(__spreadValues$b({}, originContent), { content }), messageStore);
|
|
2315
|
+
return;
|
|
2316
|
+
}
|
|
2317
|
+
const messageCount = Object.keys(firedHandlers).length + Object.keys(pendingMessages).length;
|
|
2318
|
+
if (messageCount + 1 > this.batchSize) {
|
|
2319
|
+
for (const k in firedHandlers) {
|
|
2320
|
+
try {
|
|
2321
|
+
firedHandlers[k]();
|
|
2322
|
+
} catch (e) {
|
|
2323
|
+
}
|
|
2324
|
+
delete firedHandlers[k];
|
|
2325
|
+
}
|
|
2326
|
+
for (const k in pendingMessages) {
|
|
2327
|
+
delete pendingMessages[k];
|
|
2328
|
+
}
|
|
2329
|
+
messageStore.groupedCtx = {
|
|
2330
|
+
key: originContent.key,
|
|
2331
|
+
count: messageCount + 1
|
|
2332
|
+
};
|
|
2333
|
+
this.applyContent(__spreadProps$8(__spreadValues$b({}, originContent), { content }), messageStore);
|
|
2334
|
+
return;
|
|
2335
|
+
}
|
|
2336
|
+
pendingMessages[originContent.key] = originContent;
|
|
2337
|
+
setTimeout(() => {
|
|
2338
|
+
if (originContent.key in pendingMessages) {
|
|
2339
|
+
delete pendingMessages[originContent.key];
|
|
2340
|
+
originContent.onClose = () => {
|
|
2341
|
+
delete firedHandlers[originContent.key];
|
|
2342
|
+
delete messageStore.groupedCtx;
|
|
2343
|
+
};
|
|
2344
|
+
const handler = this.originalMethod(content);
|
|
2345
|
+
firedHandlers[originContent.key] = handler;
|
|
2346
|
+
}
|
|
2347
|
+
}, this.batchTime);
|
|
2348
|
+
}
|
|
2349
|
+
applyContent(content, store) {
|
|
2350
|
+
content.key = store.groupedCtx.key;
|
|
2351
|
+
content.onClose = () => {
|
|
2352
|
+
delete store.groupedCtx;
|
|
2353
|
+
};
|
|
2354
|
+
this.originalMethod(content);
|
|
2355
|
+
}
|
|
2356
|
+
}
|
|
2357
|
+
function createBatchMessageMethods(batchHelper) {
|
|
2358
|
+
if (batchHelper == null) {
|
|
2359
|
+
return message;
|
|
2360
|
+
}
|
|
2361
|
+
let _message = message;
|
|
2362
|
+
const methods = [
|
|
2363
|
+
"success",
|
|
2364
|
+
"error",
|
|
2365
|
+
"info",
|
|
2366
|
+
"warning",
|
|
2367
|
+
"warn",
|
|
2368
|
+
"loading"
|
|
2369
|
+
];
|
|
2370
|
+
for (const method of methods) {
|
|
2371
|
+
const originalMethod = _message[method];
|
|
2372
|
+
const batcher = new Batcher(originalMethod, batchHelper);
|
|
2373
|
+
_message[method] = function(...args) {
|
|
2374
|
+
const key = makeUUID();
|
|
2375
|
+
const content = normalizeContent(args, method);
|
|
2376
|
+
batcher.addMessage(__spreadProps$8(__spreadValues$b({}, content), { key }));
|
|
2377
|
+
return () => {
|
|
2378
|
+
};
|
|
2379
|
+
};
|
|
2380
|
+
}
|
|
2381
|
+
return _message;
|
|
2382
|
+
}
|
|
2383
|
+
function normalizeContent(args, type) {
|
|
2384
|
+
const c = args[0];
|
|
2385
|
+
if (c && typeof c === "object" && "content" in c) {
|
|
2386
|
+
return c;
|
|
2387
|
+
}
|
|
2388
|
+
return {
|
|
2389
|
+
content: c,
|
|
2390
|
+
duration: typeof args[1] === "number" ? args[1] : 6,
|
|
2391
|
+
type: type === "warn" ? "warning" : type
|
|
2392
|
+
};
|
|
2393
|
+
}
|
|
2394
|
+
|
|
2395
|
+
var __defProp$a = Object.defineProperty;
|
|
2396
|
+
var __defProps$7 = Object.defineProperties;
|
|
2397
|
+
var __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;
|
|
2398
|
+
var __getOwnPropSymbols$a = Object.getOwnPropertySymbols;
|
|
2399
|
+
var __hasOwnProp$a = Object.prototype.hasOwnProperty;
|
|
2400
|
+
var __propIsEnum$a = Object.prototype.propertyIsEnumerable;
|
|
2401
|
+
var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2402
|
+
var __spreadValues$a = (a, b) => {
|
|
2271
2403
|
for (var prop in b || (b = {}))
|
|
2272
|
-
if (__hasOwnProp$
|
|
2273
|
-
__defNormalProp$
|
|
2274
|
-
if (__getOwnPropSymbols$
|
|
2275
|
-
for (var prop of __getOwnPropSymbols$
|
|
2276
|
-
if (__propIsEnum$
|
|
2277
|
-
__defNormalProp$
|
|
2404
|
+
if (__hasOwnProp$a.call(b, prop))
|
|
2405
|
+
__defNormalProp$a(a, prop, b[prop]);
|
|
2406
|
+
if (__getOwnPropSymbols$a)
|
|
2407
|
+
for (var prop of __getOwnPropSymbols$a(b)) {
|
|
2408
|
+
if (__propIsEnum$a.call(b, prop))
|
|
2409
|
+
__defNormalProp$a(a, prop, b[prop]);
|
|
2278
2410
|
}
|
|
2279
2411
|
return a;
|
|
2280
2412
|
};
|
|
2281
|
-
var __spreadProps$
|
|
2413
|
+
var __spreadProps$7 = (a, b) => __defProps$7(a, __getOwnPropDescs$7(b));
|
|
2282
2414
|
const initialChartState = {
|
|
2283
2415
|
pointers: {},
|
|
2284
2416
|
resourceData: {},
|
|
@@ -2288,8 +2420,8 @@ const chartReducer = (state = initialChartState, action) => {
|
|
|
2288
2420
|
switch (action.type) {
|
|
2289
2421
|
case "SET_POINTER" /* SET_POINTER */: {
|
|
2290
2422
|
const { uuid, left, text, visible, value } = action.payload;
|
|
2291
|
-
return __spreadProps$
|
|
2292
|
-
pointers: __spreadProps$
|
|
2423
|
+
return __spreadProps$7(__spreadValues$a({}, state), {
|
|
2424
|
+
pointers: __spreadProps$7(__spreadValues$a({}, state.pointers), {
|
|
2293
2425
|
[uuid]: {
|
|
2294
2426
|
left,
|
|
2295
2427
|
text,
|
|
@@ -2301,16 +2433,16 @@ const chartReducer = (state = initialChartState, action) => {
|
|
|
2301
2433
|
}
|
|
2302
2434
|
case "SET_RESOURCE_DATA" /* SET_RESOURCE_DATA */: {
|
|
2303
2435
|
const { uuid, data } = action.payload;
|
|
2304
|
-
return __spreadProps$
|
|
2305
|
-
resourceData: __spreadProps$
|
|
2436
|
+
return __spreadProps$7(__spreadValues$a({}, state), {
|
|
2437
|
+
resourceData: __spreadProps$7(__spreadValues$a({}, state.resourceData), {
|
|
2306
2438
|
[uuid]: data
|
|
2307
2439
|
})
|
|
2308
2440
|
});
|
|
2309
2441
|
}
|
|
2310
2442
|
case "SET_AVERAGE_DATA" /* SET_AVERAGE_DATA */: {
|
|
2311
2443
|
const { uuid, average } = action.payload;
|
|
2312
|
-
return __spreadProps$
|
|
2313
|
-
averageData: __spreadProps$
|
|
2444
|
+
return __spreadProps$7(__spreadValues$a({}, state), {
|
|
2445
|
+
averageData: __spreadProps$7(__spreadValues$a({}, state.averageData), {
|
|
2314
2446
|
[uuid]: average
|
|
2315
2447
|
})
|
|
2316
2448
|
});
|
|
@@ -2321,25 +2453,25 @@ const chartReducer = (state = initialChartState, action) => {
|
|
|
2321
2453
|
}
|
|
2322
2454
|
};
|
|
2323
2455
|
|
|
2324
|
-
var __defProp$
|
|
2325
|
-
var __defProps$
|
|
2326
|
-
var __getOwnPropDescs$
|
|
2327
|
-
var __getOwnPropSymbols$
|
|
2328
|
-
var __hasOwnProp$
|
|
2329
|
-
var __propIsEnum$
|
|
2330
|
-
var __defNormalProp$
|
|
2331
|
-
var __spreadValues$
|
|
2456
|
+
var __defProp$9 = Object.defineProperty;
|
|
2457
|
+
var __defProps$6 = Object.defineProperties;
|
|
2458
|
+
var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
|
|
2459
|
+
var __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;
|
|
2460
|
+
var __hasOwnProp$9 = Object.prototype.hasOwnProperty;
|
|
2461
|
+
var __propIsEnum$9 = Object.prototype.propertyIsEnumerable;
|
|
2462
|
+
var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2463
|
+
var __spreadValues$9 = (a, b) => {
|
|
2332
2464
|
for (var prop in b || (b = {}))
|
|
2333
|
-
if (__hasOwnProp$
|
|
2334
|
-
__defNormalProp$
|
|
2335
|
-
if (__getOwnPropSymbols$
|
|
2336
|
-
for (var prop of __getOwnPropSymbols$
|
|
2337
|
-
if (__propIsEnum$
|
|
2338
|
-
__defNormalProp$
|
|
2465
|
+
if (__hasOwnProp$9.call(b, prop))
|
|
2466
|
+
__defNormalProp$9(a, prop, b[prop]);
|
|
2467
|
+
if (__getOwnPropSymbols$9)
|
|
2468
|
+
for (var prop of __getOwnPropSymbols$9(b)) {
|
|
2469
|
+
if (__propIsEnum$9.call(b, prop))
|
|
2470
|
+
__defNormalProp$9(a, prop, b[prop]);
|
|
2339
2471
|
}
|
|
2340
2472
|
return a;
|
|
2341
2473
|
};
|
|
2342
|
-
var __spreadProps$
|
|
2474
|
+
var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
|
|
2343
2475
|
var ModalActions = /* @__PURE__ */ ((ModalActions2) => {
|
|
2344
2476
|
ModalActions2["PUSH_MODAL"] = "PUSH_MODAL";
|
|
2345
2477
|
ModalActions2["POP_MODAL"] = "POP_MODAL";
|
|
@@ -2360,22 +2492,22 @@ const modalReducer = (state = initialModalState, action) => {
|
|
|
2360
2492
|
)) {
|
|
2361
2493
|
return state;
|
|
2362
2494
|
}
|
|
2363
|
-
return __spreadProps$
|
|
2364
|
-
stack: state.stack.concat(__spreadProps$
|
|
2495
|
+
return __spreadProps$6(__spreadValues$9({}, state), {
|
|
2496
|
+
stack: state.stack.concat(__spreadProps$6(__spreadValues$9({}, action.payload), {
|
|
2365
2497
|
id: MODAL_ID++
|
|
2366
2498
|
}))
|
|
2367
2499
|
});
|
|
2368
2500
|
case "POP_MODAL" /* POP_MODAL */:
|
|
2369
|
-
return __spreadProps$
|
|
2501
|
+
return __spreadProps$6(__spreadValues$9({}, state), {
|
|
2370
2502
|
stack: state.stack.slice(0, -1)
|
|
2371
2503
|
});
|
|
2372
2504
|
case "REMOVE_MODAL" /* REMOVE_MODAL */:
|
|
2373
|
-
return __spreadProps$
|
|
2505
|
+
return __spreadProps$6(__spreadValues$9({}, state), {
|
|
2374
2506
|
closeId: 0,
|
|
2375
2507
|
stack: state.stack.filter((m) => m.id !== action.id)
|
|
2376
2508
|
});
|
|
2377
2509
|
case "CLOSE_MODAL" /* CLOSE_MODAL */:
|
|
2378
|
-
return __spreadProps$
|
|
2510
|
+
return __spreadProps$6(__spreadValues$9({}, state), {
|
|
2379
2511
|
closeId: action.id
|
|
2380
2512
|
});
|
|
2381
2513
|
default:
|
|
@@ -2426,33 +2558,33 @@ const KitStoreProvider = (props) => {
|
|
|
2426
2558
|
const useKitDispatch = createDispatchHook(ctx);
|
|
2427
2559
|
const useKitSelector = createSelectorHook(ctx);
|
|
2428
2560
|
|
|
2429
|
-
var __defProp$
|
|
2430
|
-
var __defProps$
|
|
2431
|
-
var __getOwnPropDescs$
|
|
2432
|
-
var __getOwnPropSymbols$
|
|
2433
|
-
var __hasOwnProp$
|
|
2434
|
-
var __propIsEnum$
|
|
2435
|
-
var __defNormalProp$
|
|
2436
|
-
var __spreadValues$
|
|
2561
|
+
var __defProp$8 = Object.defineProperty;
|
|
2562
|
+
var __defProps$5 = Object.defineProperties;
|
|
2563
|
+
var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
|
|
2564
|
+
var __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;
|
|
2565
|
+
var __hasOwnProp$8 = Object.prototype.hasOwnProperty;
|
|
2566
|
+
var __propIsEnum$8 = Object.prototype.propertyIsEnumerable;
|
|
2567
|
+
var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2568
|
+
var __spreadValues$8 = (a, b) => {
|
|
2437
2569
|
for (var prop in b || (b = {}))
|
|
2438
|
-
if (__hasOwnProp$
|
|
2439
|
-
__defNormalProp$
|
|
2440
|
-
if (__getOwnPropSymbols$
|
|
2441
|
-
for (var prop of __getOwnPropSymbols$
|
|
2442
|
-
if (__propIsEnum$
|
|
2443
|
-
__defNormalProp$
|
|
2570
|
+
if (__hasOwnProp$8.call(b, prop))
|
|
2571
|
+
__defNormalProp$8(a, prop, b[prop]);
|
|
2572
|
+
if (__getOwnPropSymbols$8)
|
|
2573
|
+
for (var prop of __getOwnPropSymbols$8(b)) {
|
|
2574
|
+
if (__propIsEnum$8.call(b, prop))
|
|
2575
|
+
__defNormalProp$8(a, prop, b[prop]);
|
|
2444
2576
|
}
|
|
2445
2577
|
return a;
|
|
2446
2578
|
};
|
|
2447
|
-
var __spreadProps$
|
|
2579
|
+
var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
|
|
2448
2580
|
var __objRest$4 = (source, exclude) => {
|
|
2449
2581
|
var target = {};
|
|
2450
2582
|
for (var prop in source)
|
|
2451
|
-
if (__hasOwnProp$
|
|
2583
|
+
if (__hasOwnProp$8.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2452
2584
|
target[prop] = source[prop];
|
|
2453
|
-
if (source != null && __getOwnPropSymbols$
|
|
2454
|
-
for (var prop of __getOwnPropSymbols$
|
|
2455
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2585
|
+
if (source != null && __getOwnPropSymbols$8)
|
|
2586
|
+
for (var prop of __getOwnPropSymbols$8(source)) {
|
|
2587
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$8.call(source, prop))
|
|
2456
2588
|
target[prop] = source[prop];
|
|
2457
2589
|
}
|
|
2458
2590
|
return target;
|
|
@@ -2533,7 +2665,7 @@ const Modal = (props) => {
|
|
|
2533
2665
|
}
|
|
2534
2666
|
return /* @__PURE__ */ React.createElement(
|
|
2535
2667
|
Modal$1,
|
|
2536
|
-
__spreadProps$
|
|
2668
|
+
__spreadProps$5(__spreadValues$8({
|
|
2537
2669
|
maskClosable,
|
|
2538
2670
|
className: cs(
|
|
2539
2671
|
className,
|
|
@@ -2568,7 +2700,7 @@ const Modal = (props) => {
|
|
|
2568
2700
|
prevText
|
|
2569
2701
|
), error && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("span", { className: "modal-error" }, error))), /* @__PURE__ */ React.createElement("div", { className: "modal-footer-btn-group" }, showCancel && /* @__PURE__ */ React.createElement(
|
|
2570
2702
|
Button,
|
|
2571
|
-
__spreadValues$
|
|
2703
|
+
__spreadValues$8({
|
|
2572
2704
|
type: "quiet",
|
|
2573
2705
|
onMouseDown: (e) => {
|
|
2574
2706
|
e.preventDefault();
|
|
@@ -2582,7 +2714,7 @@ const Modal = (props) => {
|
|
|
2582
2714
|
cancelText
|
|
2583
2715
|
), showOk && /* @__PURE__ */ React.createElement(
|
|
2584
2716
|
Button,
|
|
2585
|
-
__spreadValues$
|
|
2717
|
+
__spreadValues$8({
|
|
2586
2718
|
onClick: (e) => {
|
|
2587
2719
|
var _a2, _b2;
|
|
2588
2720
|
onOk == null ? void 0 : onOk(e);
|
|
@@ -2744,46 +2876,46 @@ const Percent = ({
|
|
|
2744
2876
|
return /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React.createElement("span", { className: cx("unit", unitClassName) }, unit));
|
|
2745
2877
|
};
|
|
2746
2878
|
|
|
2747
|
-
var __defProp$
|
|
2748
|
-
var __getOwnPropSymbols$
|
|
2749
|
-
var __hasOwnProp$
|
|
2750
|
-
var __propIsEnum$
|
|
2751
|
-
var __defNormalProp$
|
|
2752
|
-
var __spreadValues$
|
|
2879
|
+
var __defProp$7 = Object.defineProperty;
|
|
2880
|
+
var __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;
|
|
2881
|
+
var __hasOwnProp$7 = Object.prototype.hasOwnProperty;
|
|
2882
|
+
var __propIsEnum$7 = Object.prototype.propertyIsEnumerable;
|
|
2883
|
+
var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2884
|
+
var __spreadValues$7 = (a, b) => {
|
|
2753
2885
|
for (var prop in b || (b = {}))
|
|
2754
|
-
if (__hasOwnProp$
|
|
2755
|
-
__defNormalProp$
|
|
2756
|
-
if (__getOwnPropSymbols$
|
|
2757
|
-
for (var prop of __getOwnPropSymbols$
|
|
2758
|
-
if (__propIsEnum$
|
|
2759
|
-
__defNormalProp$
|
|
2886
|
+
if (__hasOwnProp$7.call(b, prop))
|
|
2887
|
+
__defNormalProp$7(a, prop, b[prop]);
|
|
2888
|
+
if (__getOwnPropSymbols$7)
|
|
2889
|
+
for (var prop of __getOwnPropSymbols$7(b)) {
|
|
2890
|
+
if (__propIsEnum$7.call(b, prop))
|
|
2891
|
+
__defNormalProp$7(a, prop, b[prop]);
|
|
2760
2892
|
}
|
|
2761
2893
|
return a;
|
|
2762
2894
|
};
|
|
2763
|
-
const Progress = (props) => /* @__PURE__ */ React.createElement(Progress$1, __spreadValues$
|
|
2895
|
+
const Progress = (props) => /* @__PURE__ */ React.createElement(Progress$1, __spreadValues$7({}, props));
|
|
2764
2896
|
|
|
2765
|
-
var __defProp$
|
|
2766
|
-
var __getOwnPropSymbols$
|
|
2767
|
-
var __hasOwnProp$
|
|
2768
|
-
var __propIsEnum$
|
|
2769
|
-
var __defNormalProp$
|
|
2897
|
+
var __defProp$6 = Object.defineProperty;
|
|
2898
|
+
var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
|
|
2899
|
+
var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
|
|
2900
|
+
var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
|
|
2901
|
+
var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, {
|
|
2770
2902
|
enumerable: true,
|
|
2771
2903
|
configurable: true,
|
|
2772
2904
|
writable: true,
|
|
2773
2905
|
value
|
|
2774
2906
|
}) : obj[key] = value;
|
|
2775
|
-
var __spreadValues$
|
|
2776
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2777
|
-
if (__getOwnPropSymbols$
|
|
2778
|
-
if (__propIsEnum$
|
|
2907
|
+
var __spreadValues$6 = (a, b) => {
|
|
2908
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$6.call(b, prop)) __defNormalProp$6(a, prop, b[prop]);
|
|
2909
|
+
if (__getOwnPropSymbols$6) for (var prop of __getOwnPropSymbols$6(b)) {
|
|
2910
|
+
if (__propIsEnum$6.call(b, prop)) __defNormalProp$6(a, prop, b[prop]);
|
|
2779
2911
|
}
|
|
2780
2912
|
return a;
|
|
2781
2913
|
};
|
|
2782
2914
|
var __objRest$3 = (source, exclude) => {
|
|
2783
2915
|
var target = {};
|
|
2784
|
-
for (var prop in source) if (__hasOwnProp$
|
|
2785
|
-
if (source != null && __getOwnPropSymbols$
|
|
2786
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2916
|
+
for (var prop in source) if (__hasOwnProp$6.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2917
|
+
if (source != null && __getOwnPropSymbols$6) for (var prop of __getOwnPropSymbols$6(source)) {
|
|
2918
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$6.call(source, prop)) target[prop] = source[prop];
|
|
2787
2919
|
}
|
|
2788
2920
|
return target;
|
|
2789
2921
|
};
|
|
@@ -2809,7 +2941,7 @@ const Radio = _a => {
|
|
|
2809
2941
|
className: cx("radio-description", Typo.Label.l4_regular)
|
|
2810
2942
|
}, description));
|
|
2811
2943
|
}
|
|
2812
|
-
return /* @__PURE__ */React.createElement(React.Fragment, null, /* @__PURE__ */React.createElement(Radio$1, __spreadValues$
|
|
2944
|
+
return /* @__PURE__ */React.createElement(React.Fragment, null, /* @__PURE__ */React.createElement(Radio$1, __spreadValues$6({
|
|
2813
2945
|
className: cx(className, RadioStyle, compact && "compact"),
|
|
2814
2946
|
checked: checked || false,
|
|
2815
2947
|
"data-test": context.name ? `${context.name}-${String(props.value)}` : String(props.value)
|
|
@@ -2827,7 +2959,7 @@ const RadioGroup = _c => {
|
|
|
2827
2959
|
disabled: props.disabled,
|
|
2828
2960
|
name: props.name
|
|
2829
2961
|
}
|
|
2830
|
-
}, /* @__PURE__ */React.createElement(Radio$1.Group, __spreadValues$
|
|
2962
|
+
}, /* @__PURE__ */React.createElement(Radio$1.Group, __spreadValues$6({
|
|
2831
2963
|
className: cx(className, RadioGroupStyle)
|
|
2832
2964
|
}, props), children ? children : null));
|
|
2833
2965
|
};
|
|
@@ -2883,36 +3015,36 @@ const RadioButton = _e => {
|
|
|
2883
3015
|
className: "ant-radio-button-input-label"
|
|
2884
3016
|
}, typeof children === "string" ? children : ""));
|
|
2885
3017
|
};
|
|
2886
|
-
return /* @__PURE__ */React.createElement(Radio$1.Button, __spreadValues$
|
|
3018
|
+
return /* @__PURE__ */React.createElement(Radio$1.Button, __spreadValues$6({
|
|
2887
3019
|
className: cx(className, RadioButtonStyle),
|
|
2888
3020
|
value: radioButtonValue
|
|
2889
3021
|
}, props), renderChildren());
|
|
2890
3022
|
};
|
|
2891
3023
|
|
|
2892
|
-
var __defProp$
|
|
2893
|
-
var __getOwnPropSymbols$
|
|
2894
|
-
var __hasOwnProp$
|
|
2895
|
-
var __propIsEnum$
|
|
2896
|
-
var __defNormalProp$
|
|
2897
|
-
var __spreadValues$
|
|
3024
|
+
var __defProp$5 = Object.defineProperty;
|
|
3025
|
+
var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;
|
|
3026
|
+
var __hasOwnProp$5 = Object.prototype.hasOwnProperty;
|
|
3027
|
+
var __propIsEnum$5 = Object.prototype.propertyIsEnumerable;
|
|
3028
|
+
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3029
|
+
var __spreadValues$5 = (a, b) => {
|
|
2898
3030
|
for (var prop in b || (b = {}))
|
|
2899
|
-
if (__hasOwnProp$
|
|
2900
|
-
__defNormalProp$
|
|
2901
|
-
if (__getOwnPropSymbols$
|
|
2902
|
-
for (var prop of __getOwnPropSymbols$
|
|
2903
|
-
if (__propIsEnum$
|
|
2904
|
-
__defNormalProp$
|
|
3031
|
+
if (__hasOwnProp$5.call(b, prop))
|
|
3032
|
+
__defNormalProp$5(a, prop, b[prop]);
|
|
3033
|
+
if (__getOwnPropSymbols$5)
|
|
3034
|
+
for (var prop of __getOwnPropSymbols$5(b)) {
|
|
3035
|
+
if (__propIsEnum$5.call(b, prop))
|
|
3036
|
+
__defNormalProp$5(a, prop, b[prop]);
|
|
2905
3037
|
}
|
|
2906
3038
|
return a;
|
|
2907
3039
|
};
|
|
2908
3040
|
var __objRest$2 = (source, exclude) => {
|
|
2909
3041
|
var target = {};
|
|
2910
3042
|
for (var prop in source)
|
|
2911
|
-
if (__hasOwnProp$
|
|
3043
|
+
if (__hasOwnProp$5.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2912
3044
|
target[prop] = source[prop];
|
|
2913
|
-
if (source != null && __getOwnPropSymbols$
|
|
2914
|
-
for (var prop of __getOwnPropSymbols$
|
|
2915
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3045
|
+
if (source != null && __getOwnPropSymbols$5)
|
|
3046
|
+
for (var prop of __getOwnPropSymbols$5(source)) {
|
|
3047
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$5.call(source, prop))
|
|
2916
3048
|
target[prop] = source[prop];
|
|
2917
3049
|
}
|
|
2918
3050
|
return target;
|
|
@@ -2922,7 +3054,7 @@ const SearchInput = (props) => {
|
|
|
2922
3054
|
const onSearch = _.debounce(onChange, debounceWait);
|
|
2923
3055
|
return /* @__PURE__ */ React.createElement(
|
|
2924
3056
|
Input,
|
|
2925
|
-
__spreadValues$
|
|
3057
|
+
__spreadValues$5({
|
|
2926
3058
|
style: { width: 276 },
|
|
2927
3059
|
prefix: /* @__PURE__ */ React.createElement(SearchOutlined, null),
|
|
2928
3060
|
onChange: (e) => onSearch(e.target.value)
|
|
@@ -3030,31 +3162,31 @@ const Speed = ({
|
|
|
3030
3162
|
return /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
3031
3163
|
};
|
|
3032
3164
|
|
|
3033
|
-
var __defProp$
|
|
3034
|
-
var __defProps$
|
|
3035
|
-
var __getOwnPropDescs$
|
|
3036
|
-
var __getOwnPropSymbols$
|
|
3037
|
-
var __hasOwnProp$
|
|
3038
|
-
var __propIsEnum$
|
|
3039
|
-
var __defNormalProp$
|
|
3165
|
+
var __defProp$4 = Object.defineProperty;
|
|
3166
|
+
var __defProps$4 = Object.defineProperties;
|
|
3167
|
+
var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
|
|
3168
|
+
var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
|
|
3169
|
+
var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
|
|
3170
|
+
var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
|
|
3171
|
+
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, {
|
|
3040
3172
|
enumerable: true,
|
|
3041
3173
|
configurable: true,
|
|
3042
3174
|
writable: true,
|
|
3043
3175
|
value
|
|
3044
3176
|
}) : obj[key] = value;
|
|
3045
|
-
var __spreadValues$
|
|
3046
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3047
|
-
if (__getOwnPropSymbols$
|
|
3048
|
-
if (__propIsEnum$
|
|
3177
|
+
var __spreadValues$4 = (a, b) => {
|
|
3178
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$4.call(b, prop)) __defNormalProp$4(a, prop, b[prop]);
|
|
3179
|
+
if (__getOwnPropSymbols$4) for (var prop of __getOwnPropSymbols$4(b)) {
|
|
3180
|
+
if (__propIsEnum$4.call(b, prop)) __defNormalProp$4(a, prop, b[prop]);
|
|
3049
3181
|
}
|
|
3050
3182
|
return a;
|
|
3051
3183
|
};
|
|
3052
|
-
var __spreadProps$
|
|
3184
|
+
var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
|
|
3053
3185
|
var __objRest$1 = (source, exclude) => {
|
|
3054
3186
|
var target = {};
|
|
3055
|
-
for (var prop in source) if (__hasOwnProp$
|
|
3056
|
-
if (source != null && __getOwnPropSymbols$
|
|
3057
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3187
|
+
for (var prop in source) if (__hasOwnProp$4.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
3188
|
+
if (source != null && __getOwnPropSymbols$4) for (var prop of __getOwnPropSymbols$4(source)) {
|
|
3189
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$4.call(source, prop)) target[prop] = source[prop];
|
|
3058
3190
|
}
|
|
3059
3191
|
return target;
|
|
3060
3192
|
};
|
|
@@ -3076,40 +3208,40 @@ const Steps = props => {
|
|
|
3076
3208
|
}, count) : null, _step.title);
|
|
3077
3209
|
return /* @__PURE__ */React.createElement(StepsContainer, {
|
|
3078
3210
|
className: containerClassname
|
|
3079
|
-
}, /* @__PURE__ */React.createElement(Steps$1, __spreadProps$
|
|
3211
|
+
}, /* @__PURE__ */React.createElement(Steps$1, __spreadProps$4(__spreadValues$4({}, stepsProps), {
|
|
3080
3212
|
type: "default"
|
|
3081
|
-
}), (stepsConfig == null ? void 0 : stepsConfig.length) ? stepsConfig.map((step, index) => /* @__PURE__ */React.createElement(Steps$1.Step, __spreadProps$
|
|
3213
|
+
}), (stepsConfig == null ? void 0 : stepsConfig.length) ? stepsConfig.map((step, index) => /* @__PURE__ */React.createElement(Steps$1.Step, __spreadProps$4(__spreadValues$4({
|
|
3082
3214
|
key: index
|
|
3083
3215
|
}, step), {
|
|
3084
3216
|
title: titleWithCount(step, index + 1)
|
|
3085
3217
|
}))) : props.children));
|
|
3086
3218
|
};
|
|
3087
3219
|
|
|
3088
|
-
var __defProp$
|
|
3089
|
-
var __defProps$
|
|
3090
|
-
var __getOwnPropDescs$
|
|
3091
|
-
var __getOwnPropSymbols$
|
|
3092
|
-
var __hasOwnProp$
|
|
3093
|
-
var __propIsEnum$
|
|
3094
|
-
var __defNormalProp$
|
|
3220
|
+
var __defProp$3 = Object.defineProperty;
|
|
3221
|
+
var __defProps$3 = Object.defineProperties;
|
|
3222
|
+
var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
|
|
3223
|
+
var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
|
|
3224
|
+
var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
|
|
3225
|
+
var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
|
|
3226
|
+
var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, {
|
|
3095
3227
|
enumerable: true,
|
|
3096
3228
|
configurable: true,
|
|
3097
3229
|
writable: true,
|
|
3098
3230
|
value
|
|
3099
3231
|
}) : obj[key] = value;
|
|
3100
|
-
var __spreadValues$
|
|
3101
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3102
|
-
if (__getOwnPropSymbols$
|
|
3103
|
-
if (__propIsEnum$
|
|
3232
|
+
var __spreadValues$3 = (a, b) => {
|
|
3233
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$3.call(b, prop)) __defNormalProp$3(a, prop, b[prop]);
|
|
3234
|
+
if (__getOwnPropSymbols$3) for (var prop of __getOwnPropSymbols$3(b)) {
|
|
3235
|
+
if (__propIsEnum$3.call(b, prop)) __defNormalProp$3(a, prop, b[prop]);
|
|
3104
3236
|
}
|
|
3105
3237
|
return a;
|
|
3106
3238
|
};
|
|
3107
|
-
var __spreadProps$
|
|
3239
|
+
var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
|
|
3108
3240
|
var __objRest = (source, exclude) => {
|
|
3109
3241
|
var target = {};
|
|
3110
|
-
for (var prop in source) if (__hasOwnProp$
|
|
3111
|
-
if (source != null && __getOwnPropSymbols$
|
|
3112
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3242
|
+
for (var prop in source) if (__hasOwnProp$3.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
3243
|
+
if (source != null && __getOwnPropSymbols$3) for (var prop of __getOwnPropSymbols$3(source)) {
|
|
3244
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$3.call(source, prop)) target[prop] = source[prop];
|
|
3113
3245
|
}
|
|
3114
3246
|
return target;
|
|
3115
3247
|
};
|
|
@@ -3129,7 +3261,7 @@ const Switch = _a => {
|
|
|
3129
3261
|
});
|
|
3130
3262
|
const classNames = [className, SwitchStyle, "switch"];
|
|
3131
3263
|
if (props.size === "large") classNames.push("ant-switch-large");
|
|
3132
|
-
return /* @__PURE__ */React.createElement(React.Fragment, null, /* @__PURE__ */React.createElement(Switch$1, __spreadProps$
|
|
3264
|
+
return /* @__PURE__ */React.createElement(React.Fragment, null, /* @__PURE__ */React.createElement(Switch$1, __spreadProps$3(__spreadValues$3({
|
|
3133
3265
|
className: cx(...classNames),
|
|
3134
3266
|
checked: checked || false
|
|
3135
3267
|
}, props), {
|
|
@@ -3215,26 +3347,26 @@ const ColumnTitle = props => {
|
|
|
3215
3347
|
}));
|
|
3216
3348
|
};
|
|
3217
3349
|
|
|
3218
|
-
var __defProp$
|
|
3219
|
-
var __defProps$
|
|
3220
|
-
var __getOwnPropDescs$
|
|
3221
|
-
var __getOwnPropSymbols$
|
|
3222
|
-
var __hasOwnProp$
|
|
3223
|
-
var __propIsEnum$
|
|
3224
|
-
var __defNormalProp$
|
|
3350
|
+
var __defProp$2 = Object.defineProperty;
|
|
3351
|
+
var __defProps$2 = Object.defineProperties;
|
|
3352
|
+
var __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;
|
|
3353
|
+
var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;
|
|
3354
|
+
var __hasOwnProp$2 = Object.prototype.hasOwnProperty;
|
|
3355
|
+
var __propIsEnum$2 = Object.prototype.propertyIsEnumerable;
|
|
3356
|
+
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, {
|
|
3225
3357
|
enumerable: true,
|
|
3226
3358
|
configurable: true,
|
|
3227
3359
|
writable: true,
|
|
3228
3360
|
value
|
|
3229
3361
|
}) : obj[key] = value;
|
|
3230
|
-
var __spreadValues$
|
|
3231
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3232
|
-
if (__getOwnPropSymbols$
|
|
3233
|
-
if (__propIsEnum$
|
|
3362
|
+
var __spreadValues$2 = (a, b) => {
|
|
3363
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$2.call(b, prop)) __defNormalProp$2(a, prop, b[prop]);
|
|
3364
|
+
if (__getOwnPropSymbols$2) for (var prop of __getOwnPropSymbols$2(b)) {
|
|
3365
|
+
if (__propIsEnum$2.call(b, prop)) __defNormalProp$2(a, prop, b[prop]);
|
|
3234
3366
|
}
|
|
3235
3367
|
return a;
|
|
3236
3368
|
};
|
|
3237
|
-
var __spreadProps$
|
|
3369
|
+
var __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));
|
|
3238
3370
|
const TableContainerStyle = "t1upn1sz";
|
|
3239
3371
|
const tableStyleCover = "tta5kd2";
|
|
3240
3372
|
const Table = props => {
|
|
@@ -3260,7 +3392,7 @@ const Table = props => {
|
|
|
3260
3392
|
const orderRef = useRef(null);
|
|
3261
3393
|
const hasScrollBard = useTableBodyHasScrollBar(wrapper, dataSource);
|
|
3262
3394
|
const _columns = useMemo(() => columns.map(column => {
|
|
3263
|
-
const _column = __spreadValues$
|
|
3395
|
+
const _column = __spreadValues$2({}, column);
|
|
3264
3396
|
if (_column.sorter) {
|
|
3265
3397
|
_column.title = /* @__PURE__ */React.createElement(ColumnTitle, {
|
|
3266
3398
|
title: column.title,
|
|
@@ -3302,7 +3434,7 @@ const Table = props => {
|
|
|
3302
3434
|
}),
|
|
3303
3435
|
rowClassName,
|
|
3304
3436
|
scroll,
|
|
3305
|
-
rowSelection: rowSelection && __spreadProps$
|
|
3437
|
+
rowSelection: rowSelection && __spreadProps$2(__spreadValues$2({}, rowSelection), {
|
|
3306
3438
|
columnWidth: 32
|
|
3307
3439
|
}),
|
|
3308
3440
|
showSorterTooltip: false
|
|
@@ -3465,13 +3597,14 @@ function getAntdKit() {
|
|
|
3465
3597
|
menuItemGroup: Menu.ItemGroup,
|
|
3466
3598
|
layout: Layout,
|
|
3467
3599
|
autoComplete: AutoComplete,
|
|
3468
|
-
message,
|
|
3600
|
+
message: createBatchMessageMethods(),
|
|
3469
3601
|
tag: Tag,
|
|
3470
3602
|
popover: Popover,
|
|
3471
3603
|
arch: Arch,
|
|
3472
3604
|
buttonGroup: ButtonGroup,
|
|
3473
3605
|
steps: Steps,
|
|
3474
3606
|
form: Form,
|
|
3607
|
+
formItem: Form.Item,
|
|
3475
3608
|
simplePagination: SimplePagination,
|
|
3476
3609
|
space: Space,
|
|
3477
3610
|
timeZoneSelect: TimeZoneSelect,
|
|
@@ -3479,7 +3612,9 @@ function getAntdKit() {
|
|
|
3479
3612
|
timelineItem: Timeline.Item,
|
|
3480
3613
|
checkboxGroup: Checkbox$1.Group,
|
|
3481
3614
|
typographyText: Typography.Text,
|
|
3482
|
-
cascader: Cascader
|
|
3615
|
+
cascader: Cascader,
|
|
3616
|
+
upload: Upload,
|
|
3617
|
+
datePickerRangePicker: DatePicker.RangePicker
|
|
3483
3618
|
};
|
|
3484
3619
|
kit.option.isSelectOption = true;
|
|
3485
3620
|
kit.button.__ANT_BUTTON = true;
|
|
@@ -3539,32 +3674,32 @@ const tickFormatter = (tick, dateRange) => {
|
|
|
3539
3674
|
return dayjs(tick).format("MM/DD");
|
|
3540
3675
|
};
|
|
3541
3676
|
|
|
3542
|
-
var __defProp = Object.defineProperty;
|
|
3543
|
-
var __defProps = Object.defineProperties;
|
|
3544
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
3545
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3546
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
3547
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
3548
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3549
|
-
var __spreadValues = (a, b) => {
|
|
3677
|
+
var __defProp$1 = Object.defineProperty;
|
|
3678
|
+
var __defProps$1 = Object.defineProperties;
|
|
3679
|
+
var __getOwnPropDescs$1 = Object.getOwnPropertyDescriptors;
|
|
3680
|
+
var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
|
|
3681
|
+
var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
|
|
3682
|
+
var __propIsEnum$1 = Object.prototype.propertyIsEnumerable;
|
|
3683
|
+
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3684
|
+
var __spreadValues$1 = (a, b) => {
|
|
3550
3685
|
for (var prop in b || (b = {}))
|
|
3551
|
-
if (__hasOwnProp.call(b, prop))
|
|
3552
|
-
__defNormalProp(a, prop, b[prop]);
|
|
3553
|
-
if (__getOwnPropSymbols)
|
|
3554
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
3555
|
-
if (__propIsEnum.call(b, prop))
|
|
3556
|
-
__defNormalProp(a, prop, b[prop]);
|
|
3686
|
+
if (__hasOwnProp$1.call(b, prop))
|
|
3687
|
+
__defNormalProp$1(a, prop, b[prop]);
|
|
3688
|
+
if (__getOwnPropSymbols$1)
|
|
3689
|
+
for (var prop of __getOwnPropSymbols$1(b)) {
|
|
3690
|
+
if (__propIsEnum$1.call(b, prop))
|
|
3691
|
+
__defNormalProp$1(a, prop, b[prop]);
|
|
3557
3692
|
}
|
|
3558
3693
|
return a;
|
|
3559
3694
|
};
|
|
3560
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
3695
|
+
var __spreadProps$1 = (a, b) => __defProps$1(a, __getOwnPropDescs$1(b));
|
|
3561
3696
|
const ModalStack = () => {
|
|
3562
3697
|
const stack = useKitSelector(
|
|
3563
3698
|
(state) => state.modal.stack
|
|
3564
3699
|
);
|
|
3565
3700
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, stack.map((modal) => /* @__PURE__ */ React.createElement(
|
|
3566
3701
|
modal.component,
|
|
3567
|
-
__spreadProps(__spreadValues({}, modal.props), {
|
|
3702
|
+
__spreadProps$1(__spreadValues$1({}, modal.props), {
|
|
3568
3703
|
modalId: modal.id,
|
|
3569
3704
|
onClose: () => {
|
|
3570
3705
|
var _a;
|
|
@@ -3603,13 +3738,40 @@ var TaskStatus = /* @__PURE__ */ ((TaskStatus2) => {
|
|
|
3603
3738
|
return TaskStatus2;
|
|
3604
3739
|
})(TaskStatus || {});
|
|
3605
3740
|
|
|
3741
|
+
var __defProp = Object.defineProperty;
|
|
3742
|
+
var __defProps = Object.defineProperties;
|
|
3743
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
3744
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3745
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
3746
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
3747
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3748
|
+
var __spreadValues = (a, b) => {
|
|
3749
|
+
for (var prop in b || (b = {}))
|
|
3750
|
+
if (__hasOwnProp.call(b, prop))
|
|
3751
|
+
__defNormalProp(a, prop, b[prop]);
|
|
3752
|
+
if (__getOwnPropSymbols)
|
|
3753
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
3754
|
+
if (__propIsEnum.call(b, prop))
|
|
3755
|
+
__defNormalProp(a, prop, b[prop]);
|
|
3756
|
+
}
|
|
3757
|
+
return a;
|
|
3758
|
+
};
|
|
3759
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
3606
3760
|
const kitContext = createContext(antdKit);
|
|
3607
3761
|
const UIKitProvider = (props) => {
|
|
3608
|
-
const { children, kit = antdKit } = props;
|
|
3609
|
-
|
|
3762
|
+
const { children, kit = antdKit, message } = props;
|
|
3763
|
+
const _kit = useMemo(() => {
|
|
3764
|
+
if ((message == null ? void 0 : message.batch) != null) {
|
|
3765
|
+
return __spreadProps(__spreadValues({}, kit), {
|
|
3766
|
+
message: createBatchMessageMethods(message.batch)
|
|
3767
|
+
});
|
|
3768
|
+
}
|
|
3769
|
+
return kit;
|
|
3770
|
+
}, [kit, message == null ? void 0 : message.batch]);
|
|
3771
|
+
return /* @__PURE__ */ React.createElement(kitContext.Provider, { value: _kit }, children);
|
|
3610
3772
|
};
|
|
3611
3773
|
const useUIKit = () => {
|
|
3612
3774
|
return useContext(kitContext);
|
|
3613
3775
|
};
|
|
3614
3776
|
|
|
3615
|
-
export { Architecture, Button, EntityAsyncStatus, FailedLoad, Icon, InputTagItem, KitStoreProvider, ModalActions, ModalStack, TaskStatus, Typo, UIKitProvider, UIKitStore, UserSource, antdKit, closeModal, kitContext, popModal, pushModal, tableStyleCover, tickFormatter, useElementsSize, useKitDispatch, useKitSelector, useUIKit };
|
|
3777
|
+
export { Architecture, Button, ButtonStyle, EntityAsyncStatus, FailedLoad, Icon, InputTagItem, KitStoreProvider, ModalActions, ModalStack, TaskStatus, Typo, UIKitProvider, UIKitStore, UserSource, antdKit, closeModal, createBatchMessageMethods, kitContext, popModal, pushModal, tableStyleCover, tickFormatter, useElementsSize, useKitDispatch, useKitSelector, useUIKit };
|