@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/umd/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('antd'), require('
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', 'antd', '
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.index = {}, global.antd, global.
|
|
5
|
-
})(this, (function (exports, antd,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('antd'), require('react'), require('classnames'), require('lodash'), require('@cloudtower/parrot'), require('@linaria/core'), require('@linaria/react'), require('moment'), require('react-dom'), require('react-is'), require('@ant-design/icons'), require('redux'), require('react-redux'), require('timezones.json'), require('react-i18next'), require('dayjs'), require('recharts')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', 'antd', 'react', 'classnames', 'lodash', '@cloudtower/parrot', '@linaria/core', '@linaria/react', 'moment', 'react-dom', 'react-is', '@ant-design/icons', 'redux', 'react-redux', 'timezones.json', 'react-i18next', 'dayjs', 'recharts'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.index = {}, global.antd, global.React, global.cs, global._, global.parrot, global.core, global.react, global.moment, global.reactDom, global.reactIs, global.icons, global.redux, global.reactRedux, global.TimeZones, global.reactI18next, global.dayjs));
|
|
5
|
+
})(this, (function (exports, antd, React, cs, _, parrot, core, react, moment, reactDom, reactIs, icons, redux, reactRedux, TimeZones, reactI18next, dayjs) { 'use strict';
|
|
6
6
|
|
|
7
7
|
const MAGIC_METRIC_NULL = -2;
|
|
8
8
|
function formatBits(bits, decimals = 2) {
|
|
@@ -221,30 +221,30 @@
|
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
-
var __defProp$
|
|
225
|
-
var __getOwnPropSymbols$
|
|
226
|
-
var __hasOwnProp$
|
|
227
|
-
var __propIsEnum$
|
|
228
|
-
var __defNormalProp$
|
|
229
|
-
var __spreadValues$
|
|
224
|
+
var __defProp$y = Object.defineProperty;
|
|
225
|
+
var __getOwnPropSymbols$z = Object.getOwnPropertySymbols;
|
|
226
|
+
var __hasOwnProp$z = Object.prototype.hasOwnProperty;
|
|
227
|
+
var __propIsEnum$z = Object.prototype.propertyIsEnumerable;
|
|
228
|
+
var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
229
|
+
var __spreadValues$y = (a, b) => {
|
|
230
230
|
for (var prop in b || (b = {}))
|
|
231
|
-
if (__hasOwnProp$
|
|
232
|
-
__defNormalProp$
|
|
233
|
-
if (__getOwnPropSymbols$
|
|
234
|
-
for (var prop of __getOwnPropSymbols$
|
|
235
|
-
if (__propIsEnum$
|
|
236
|
-
__defNormalProp$
|
|
231
|
+
if (__hasOwnProp$z.call(b, prop))
|
|
232
|
+
__defNormalProp$y(a, prop, b[prop]);
|
|
233
|
+
if (__getOwnPropSymbols$z)
|
|
234
|
+
for (var prop of __getOwnPropSymbols$z(b)) {
|
|
235
|
+
if (__propIsEnum$z.call(b, prop))
|
|
236
|
+
__defNormalProp$y(a, prop, b[prop]);
|
|
237
237
|
}
|
|
238
238
|
return a;
|
|
239
239
|
};
|
|
240
240
|
var __objRest$r = (source, exclude) => {
|
|
241
241
|
var target = {};
|
|
242
242
|
for (var prop in source)
|
|
243
|
-
if (__hasOwnProp$
|
|
243
|
+
if (__hasOwnProp$z.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
244
244
|
target[prop] = source[prop];
|
|
245
|
-
if (source != null && __getOwnPropSymbols$
|
|
246
|
-
for (var prop of __getOwnPropSymbols$
|
|
247
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
245
|
+
if (source != null && __getOwnPropSymbols$z)
|
|
246
|
+
for (var prop of __getOwnPropSymbols$z(source)) {
|
|
247
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$z.call(source, prop))
|
|
248
248
|
target[prop] = source[prop];
|
|
249
249
|
}
|
|
250
250
|
return target;
|
|
@@ -276,10 +276,10 @@
|
|
|
276
276
|
]);
|
|
277
277
|
return /* @__PURE__ */ React.createElement(
|
|
278
278
|
"span",
|
|
279
|
-
__spreadValues$
|
|
279
|
+
__spreadValues$y({
|
|
280
280
|
ref,
|
|
281
281
|
className,
|
|
282
|
-
style: _.pickBy(__spreadValues$
|
|
282
|
+
style: _.pickBy(__spreadValues$y({ cursor }, style))
|
|
283
283
|
}, HTMLSpanElementProps),
|
|
284
284
|
prefixNode,
|
|
285
285
|
/* @__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 })),
|
|
@@ -289,31 +289,31 @@
|
|
|
289
289
|
}
|
|
290
290
|
);
|
|
291
291
|
|
|
292
|
-
var __defProp$
|
|
293
|
-
var __defProps$
|
|
294
|
-
var __getOwnPropDescs$
|
|
295
|
-
var __getOwnPropSymbols$
|
|
296
|
-
var __hasOwnProp$
|
|
297
|
-
var __propIsEnum$
|
|
298
|
-
var __defNormalProp$
|
|
292
|
+
var __defProp$x = Object.defineProperty;
|
|
293
|
+
var __defProps$p = Object.defineProperties;
|
|
294
|
+
var __getOwnPropDescs$p = Object.getOwnPropertyDescriptors;
|
|
295
|
+
var __getOwnPropSymbols$y = Object.getOwnPropertySymbols;
|
|
296
|
+
var __hasOwnProp$y = Object.prototype.hasOwnProperty;
|
|
297
|
+
var __propIsEnum$y = Object.prototype.propertyIsEnumerable;
|
|
298
|
+
var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, {
|
|
299
299
|
enumerable: true,
|
|
300
300
|
configurable: true,
|
|
301
301
|
writable: true,
|
|
302
302
|
value
|
|
303
303
|
}) : obj[key] = value;
|
|
304
|
-
var __spreadValues$
|
|
305
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
306
|
-
if (__getOwnPropSymbols$
|
|
307
|
-
if (__propIsEnum$
|
|
304
|
+
var __spreadValues$x = (a, b) => {
|
|
305
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$y.call(b, prop)) __defNormalProp$x(a, prop, b[prop]);
|
|
306
|
+
if (__getOwnPropSymbols$y) for (var prop of __getOwnPropSymbols$y(b)) {
|
|
307
|
+
if (__propIsEnum$y.call(b, prop)) __defNormalProp$x(a, prop, b[prop]);
|
|
308
308
|
}
|
|
309
309
|
return a;
|
|
310
310
|
};
|
|
311
|
-
var __spreadProps$
|
|
311
|
+
var __spreadProps$p = (a, b) => __defProps$p(a, __getOwnPropDescs$p(b));
|
|
312
312
|
var __objRest$q = (source, exclude) => {
|
|
313
313
|
var target = {};
|
|
314
|
-
for (var prop in source) if (__hasOwnProp$
|
|
315
|
-
if (source != null && __getOwnPropSymbols$
|
|
316
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
314
|
+
for (var prop in source) if (__hasOwnProp$y.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
315
|
+
if (source != null && __getOwnPropSymbols$y) for (var prop of __getOwnPropSymbols$y(source)) {
|
|
316
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$y.call(source, prop)) target[prop] = source[prop];
|
|
317
317
|
}
|
|
318
318
|
return target;
|
|
319
319
|
};
|
|
@@ -365,14 +365,14 @@
|
|
|
365
365
|
}
|
|
366
366
|
return src2;
|
|
367
367
|
}, [active, hover, suffix]);
|
|
368
|
-
return /* @__PURE__ */React.createElement(BaseIcon, __spreadProps$
|
|
368
|
+
return /* @__PURE__ */React.createElement(BaseIcon, __spreadProps$p(__spreadValues$x({
|
|
369
369
|
src: _src,
|
|
370
370
|
className: cs(IconWrapper, "icon-wrapper", className, isRotate && "is-rotate"),
|
|
371
371
|
suffixIconSrc,
|
|
372
372
|
height: iconHeight,
|
|
373
373
|
width: iconWidth,
|
|
374
374
|
prefixNode: prefix,
|
|
375
|
-
style: _.pickBy(__spreadValues$
|
|
375
|
+
style: _.pickBy(__spreadValues$x({
|
|
376
376
|
cursor
|
|
377
377
|
}, style))
|
|
378
378
|
}, restProps), {
|
|
@@ -397,33 +397,33 @@
|
|
|
397
397
|
}));
|
|
398
398
|
});
|
|
399
399
|
|
|
400
|
-
var __defProp$
|
|
401
|
-
var __defProps$
|
|
402
|
-
var __getOwnPropDescs$
|
|
403
|
-
var __getOwnPropSymbols$
|
|
404
|
-
var __hasOwnProp$
|
|
405
|
-
var __propIsEnum$
|
|
406
|
-
var __defNormalProp$
|
|
407
|
-
var __spreadValues$
|
|
400
|
+
var __defProp$w = Object.defineProperty;
|
|
401
|
+
var __defProps$o = Object.defineProperties;
|
|
402
|
+
var __getOwnPropDescs$o = Object.getOwnPropertyDescriptors;
|
|
403
|
+
var __getOwnPropSymbols$x = Object.getOwnPropertySymbols;
|
|
404
|
+
var __hasOwnProp$x = Object.prototype.hasOwnProperty;
|
|
405
|
+
var __propIsEnum$x = Object.prototype.propertyIsEnumerable;
|
|
406
|
+
var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
407
|
+
var __spreadValues$w = (a, b) => {
|
|
408
408
|
for (var prop in b || (b = {}))
|
|
409
|
-
if (__hasOwnProp$
|
|
410
|
-
__defNormalProp$
|
|
411
|
-
if (__getOwnPropSymbols$
|
|
412
|
-
for (var prop of __getOwnPropSymbols$
|
|
413
|
-
if (__propIsEnum$
|
|
414
|
-
__defNormalProp$
|
|
409
|
+
if (__hasOwnProp$x.call(b, prop))
|
|
410
|
+
__defNormalProp$w(a, prop, b[prop]);
|
|
411
|
+
if (__getOwnPropSymbols$x)
|
|
412
|
+
for (var prop of __getOwnPropSymbols$x(b)) {
|
|
413
|
+
if (__propIsEnum$x.call(b, prop))
|
|
414
|
+
__defNormalProp$w(a, prop, b[prop]);
|
|
415
415
|
}
|
|
416
416
|
return a;
|
|
417
417
|
};
|
|
418
|
-
var __spreadProps$
|
|
418
|
+
var __spreadProps$o = (a, b) => __defProps$o(a, __getOwnPropDescs$o(b));
|
|
419
419
|
var __objRest$p = (source, exclude) => {
|
|
420
420
|
var target = {};
|
|
421
421
|
for (var prop in source)
|
|
422
|
-
if (__hasOwnProp$
|
|
422
|
+
if (__hasOwnProp$x.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
423
423
|
target[prop] = source[prop];
|
|
424
|
-
if (source != null && __getOwnPropSymbols$
|
|
425
|
-
for (var prop of __getOwnPropSymbols$
|
|
426
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
424
|
+
if (source != null && __getOwnPropSymbols$x)
|
|
425
|
+
for (var prop of __getOwnPropSymbols$x(source)) {
|
|
426
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$x.call(source, prop))
|
|
427
427
|
target[prop] = source[prop];
|
|
428
428
|
}
|
|
429
429
|
return target;
|
|
@@ -448,7 +448,7 @@
|
|
|
448
448
|
const _type = type === "normal" ? "info" : type;
|
|
449
449
|
return /* @__PURE__ */ React.createElement(
|
|
450
450
|
antd.Alert,
|
|
451
|
-
__spreadProps$
|
|
451
|
+
__spreadProps$o(__spreadValues$w({}, props), {
|
|
452
452
|
className: cs(type ? `alert-${type}` : "", className),
|
|
453
453
|
type: _type,
|
|
454
454
|
icon: icon || _icon,
|
|
@@ -469,33 +469,33 @@
|
|
|
469
469
|
return /* @__PURE__ */ React.createElement("span", null, text);
|
|
470
470
|
};
|
|
471
471
|
|
|
472
|
-
var __defProp$
|
|
473
|
-
var __defProps$
|
|
474
|
-
var __getOwnPropDescs$
|
|
475
|
-
var __getOwnPropSymbols$
|
|
476
|
-
var __hasOwnProp$
|
|
477
|
-
var __propIsEnum$
|
|
478
|
-
var __defNormalProp$
|
|
479
|
-
var __spreadValues$
|
|
472
|
+
var __defProp$v = Object.defineProperty;
|
|
473
|
+
var __defProps$n = Object.defineProperties;
|
|
474
|
+
var __getOwnPropDescs$n = Object.getOwnPropertyDescriptors;
|
|
475
|
+
var __getOwnPropSymbols$w = Object.getOwnPropertySymbols;
|
|
476
|
+
var __hasOwnProp$w = Object.prototype.hasOwnProperty;
|
|
477
|
+
var __propIsEnum$w = Object.prototype.propertyIsEnumerable;
|
|
478
|
+
var __defNormalProp$v = (obj, key, value) => key in obj ? __defProp$v(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
479
|
+
var __spreadValues$v = (a, b) => {
|
|
480
480
|
for (var prop in b || (b = {}))
|
|
481
|
-
if (__hasOwnProp$
|
|
482
|
-
__defNormalProp$
|
|
483
|
-
if (__getOwnPropSymbols$
|
|
484
|
-
for (var prop of __getOwnPropSymbols$
|
|
485
|
-
if (__propIsEnum$
|
|
486
|
-
__defNormalProp$
|
|
481
|
+
if (__hasOwnProp$w.call(b, prop))
|
|
482
|
+
__defNormalProp$v(a, prop, b[prop]);
|
|
483
|
+
if (__getOwnPropSymbols$w)
|
|
484
|
+
for (var prop of __getOwnPropSymbols$w(b)) {
|
|
485
|
+
if (__propIsEnum$w.call(b, prop))
|
|
486
|
+
__defNormalProp$v(a, prop, b[prop]);
|
|
487
487
|
}
|
|
488
488
|
return a;
|
|
489
489
|
};
|
|
490
|
-
var __spreadProps$
|
|
490
|
+
var __spreadProps$n = (a, b) => __defProps$n(a, __getOwnPropDescs$n(b));
|
|
491
491
|
var __objRest$o = (source, exclude) => {
|
|
492
492
|
var target = {};
|
|
493
493
|
for (var prop in source)
|
|
494
|
-
if (__hasOwnProp$
|
|
494
|
+
if (__hasOwnProp$w.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
495
495
|
target[prop] = source[prop];
|
|
496
|
-
if (source != null && __getOwnPropSymbols$
|
|
497
|
-
for (var prop of __getOwnPropSymbols$
|
|
498
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
496
|
+
if (source != null && __getOwnPropSymbols$w)
|
|
497
|
+
for (var prop of __getOwnPropSymbols$w(source)) {
|
|
498
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$w.call(source, prop))
|
|
499
499
|
target[prop] = source[prop];
|
|
500
500
|
}
|
|
501
501
|
return target;
|
|
@@ -504,7 +504,7 @@
|
|
|
504
504
|
var _b = _a, { type = "error", className } = _b, props = __objRest$o(_b, ["type", "className"]);
|
|
505
505
|
return /* @__PURE__ */ React.createElement(
|
|
506
506
|
antd.Badge,
|
|
507
|
-
__spreadProps$
|
|
507
|
+
__spreadProps$n(__spreadValues$v({
|
|
508
508
|
className: core.cx(`badge-${type}`, className)
|
|
509
509
|
}, props), {
|
|
510
510
|
showZero: false
|
|
@@ -685,28 +685,28 @@
|
|
|
685
685
|
return icon != null ? React.cloneElement(icon, { className }) : null;
|
|
686
686
|
};
|
|
687
687
|
|
|
688
|
-
var __defProp$
|
|
689
|
-
var __getOwnPropSymbols$
|
|
690
|
-
var __hasOwnProp$
|
|
691
|
-
var __propIsEnum$
|
|
692
|
-
var __defNormalProp$
|
|
688
|
+
var __defProp$u = Object.defineProperty;
|
|
689
|
+
var __getOwnPropSymbols$v = Object.getOwnPropertySymbols;
|
|
690
|
+
var __hasOwnProp$v = Object.prototype.hasOwnProperty;
|
|
691
|
+
var __propIsEnum$v = Object.prototype.propertyIsEnumerable;
|
|
692
|
+
var __defNormalProp$u = (obj, key, value) => key in obj ? __defProp$u(obj, key, {
|
|
693
693
|
enumerable: true,
|
|
694
694
|
configurable: true,
|
|
695
695
|
writable: true,
|
|
696
696
|
value
|
|
697
697
|
}) : obj[key] = value;
|
|
698
|
-
var __spreadValues$
|
|
699
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
700
|
-
if (__getOwnPropSymbols$
|
|
701
|
-
if (__propIsEnum$
|
|
698
|
+
var __spreadValues$u = (a, b) => {
|
|
699
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$v.call(b, prop)) __defNormalProp$u(a, prop, b[prop]);
|
|
700
|
+
if (__getOwnPropSymbols$v) for (var prop of __getOwnPropSymbols$v(b)) {
|
|
701
|
+
if (__propIsEnum$v.call(b, prop)) __defNormalProp$u(a, prop, b[prop]);
|
|
702
702
|
}
|
|
703
703
|
return a;
|
|
704
704
|
};
|
|
705
705
|
var __objRest$n = (source, exclude) => {
|
|
706
706
|
var target = {};
|
|
707
|
-
for (var prop in source) if (__hasOwnProp$
|
|
708
|
-
if (source != null && __getOwnPropSymbols$
|
|
709
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
707
|
+
for (var prop in source) if (__hasOwnProp$v.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
708
|
+
if (source != null && __getOwnPropSymbols$v) for (var prop of __getOwnPropSymbols$v(source)) {
|
|
709
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$v.call(source, prop)) target[prop] = source[prop];
|
|
710
710
|
}
|
|
711
711
|
return target;
|
|
712
712
|
};
|
|
@@ -733,7 +733,7 @@
|
|
|
733
733
|
const [status, setStatus] = React.useState("normal");
|
|
734
734
|
const hasIcon = prefixIcon || suffixIcon;
|
|
735
735
|
const hasHoverIcon = hoverPrefixIcon || hoverSuffixIcon;
|
|
736
|
-
return /* @__PURE__ */React.createElement(antd.Button, __spreadValues$
|
|
736
|
+
return /* @__PURE__ */React.createElement(antd.Button, __spreadValues$u({
|
|
737
737
|
ref,
|
|
738
738
|
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"),
|
|
739
739
|
type: isAntdButtonTypes(type) ? type : void 0,
|
|
@@ -763,33 +763,33 @@
|
|
|
763
763
|
}));
|
|
764
764
|
});
|
|
765
765
|
|
|
766
|
-
var __defProp$
|
|
767
|
-
var __defProps$
|
|
768
|
-
var __getOwnPropDescs$
|
|
769
|
-
var __getOwnPropSymbols$
|
|
770
|
-
var __hasOwnProp$
|
|
771
|
-
var __propIsEnum$
|
|
772
|
-
var __defNormalProp$
|
|
773
|
-
var __spreadValues$
|
|
766
|
+
var __defProp$t = Object.defineProperty;
|
|
767
|
+
var __defProps$m = Object.defineProperties;
|
|
768
|
+
var __getOwnPropDescs$m = Object.getOwnPropertyDescriptors;
|
|
769
|
+
var __getOwnPropSymbols$u = Object.getOwnPropertySymbols;
|
|
770
|
+
var __hasOwnProp$u = Object.prototype.hasOwnProperty;
|
|
771
|
+
var __propIsEnum$u = Object.prototype.propertyIsEnumerable;
|
|
772
|
+
var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
773
|
+
var __spreadValues$t = (a, b) => {
|
|
774
774
|
for (var prop in b || (b = {}))
|
|
775
|
-
if (__hasOwnProp$
|
|
776
|
-
__defNormalProp$
|
|
777
|
-
if (__getOwnPropSymbols$
|
|
778
|
-
for (var prop of __getOwnPropSymbols$
|
|
779
|
-
if (__propIsEnum$
|
|
780
|
-
__defNormalProp$
|
|
775
|
+
if (__hasOwnProp$u.call(b, prop))
|
|
776
|
+
__defNormalProp$t(a, prop, b[prop]);
|
|
777
|
+
if (__getOwnPropSymbols$u)
|
|
778
|
+
for (var prop of __getOwnPropSymbols$u(b)) {
|
|
779
|
+
if (__propIsEnum$u.call(b, prop))
|
|
780
|
+
__defNormalProp$t(a, prop, b[prop]);
|
|
781
781
|
}
|
|
782
782
|
return a;
|
|
783
783
|
};
|
|
784
|
-
var __spreadProps$
|
|
784
|
+
var __spreadProps$m = (a, b) => __defProps$m(a, __getOwnPropDescs$m(b));
|
|
785
785
|
var __objRest$m = (source, exclude) => {
|
|
786
786
|
var target = {};
|
|
787
787
|
for (var prop in source)
|
|
788
|
-
if (__hasOwnProp$
|
|
788
|
+
if (__hasOwnProp$u.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
789
789
|
target[prop] = source[prop];
|
|
790
|
-
if (source != null && __getOwnPropSymbols$
|
|
791
|
-
for (var prop of __getOwnPropSymbols$
|
|
792
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
790
|
+
if (source != null && __getOwnPropSymbols$u)
|
|
791
|
+
for (var prop of __getOwnPropSymbols$u(source)) {
|
|
792
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$u.call(source, prop))
|
|
793
793
|
target[prop] = source[prop];
|
|
794
794
|
}
|
|
795
795
|
return target;
|
|
@@ -843,10 +843,10 @@
|
|
|
843
843
|
}, [followMouse, onmousemove, uniqueContainerClass]);
|
|
844
844
|
return /* @__PURE__ */ React.createElement(
|
|
845
845
|
antd.Tooltip,
|
|
846
|
-
__spreadProps$
|
|
846
|
+
__spreadProps$m(__spreadValues$t({}, restProps), {
|
|
847
847
|
overlayClassName: followMouse ? cs(overlayClassName, uniquePopupClass) : overlayClassName,
|
|
848
848
|
children: _children,
|
|
849
|
-
overlayStyle: followMouse ? __spreadValues$
|
|
849
|
+
overlayStyle: followMouse ? __spreadValues$t({
|
|
850
850
|
transform: "translate(-50%, -100%)",
|
|
851
851
|
pointerEvents: "none"
|
|
852
852
|
}, overlayStyle) : overlayStyle
|
|
@@ -854,28 +854,28 @@
|
|
|
854
854
|
);
|
|
855
855
|
};
|
|
856
856
|
|
|
857
|
-
var __defProp$
|
|
858
|
-
var __getOwnPropSymbols$
|
|
859
|
-
var __hasOwnProp$
|
|
860
|
-
var __propIsEnum$
|
|
861
|
-
var __defNormalProp$
|
|
857
|
+
var __defProp$s = Object.defineProperty;
|
|
858
|
+
var __getOwnPropSymbols$t = Object.getOwnPropertySymbols;
|
|
859
|
+
var __hasOwnProp$t = Object.prototype.hasOwnProperty;
|
|
860
|
+
var __propIsEnum$t = Object.prototype.propertyIsEnumerable;
|
|
861
|
+
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, {
|
|
862
862
|
enumerable: true,
|
|
863
863
|
configurable: true,
|
|
864
864
|
writable: true,
|
|
865
865
|
value
|
|
866
866
|
}) : obj[key] = value;
|
|
867
|
-
var __spreadValues$
|
|
868
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
869
|
-
if (__getOwnPropSymbols$
|
|
870
|
-
if (__propIsEnum$
|
|
867
|
+
var __spreadValues$s = (a, b) => {
|
|
868
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$t.call(b, prop)) __defNormalProp$s(a, prop, b[prop]);
|
|
869
|
+
if (__getOwnPropSymbols$t) for (var prop of __getOwnPropSymbols$t(b)) {
|
|
870
|
+
if (__propIsEnum$t.call(b, prop)) __defNormalProp$s(a, prop, b[prop]);
|
|
871
871
|
}
|
|
872
872
|
return a;
|
|
873
873
|
};
|
|
874
874
|
var __objRest$l = (source, exclude) => {
|
|
875
875
|
var target = {};
|
|
876
|
-
for (var prop in source) if (__hasOwnProp$
|
|
877
|
-
if (source != null && __getOwnPropSymbols$
|
|
878
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
876
|
+
for (var prop in source) if (__hasOwnProp$t.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
877
|
+
if (source != null && __getOwnPropSymbols$t) for (var prop of __getOwnPropSymbols$t(source)) {
|
|
878
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$t.call(source, prop)) target[prop] = source[prop];
|
|
879
879
|
}
|
|
880
880
|
return target;
|
|
881
881
|
};
|
|
@@ -919,7 +919,7 @@
|
|
|
919
919
|
style: {
|
|
920
920
|
cursor: "not-allowed"
|
|
921
921
|
}
|
|
922
|
-
}, /* @__PURE__ */React.createElement(Button, __spreadValues$
|
|
922
|
+
}, /* @__PURE__ */React.createElement(Button, __spreadValues$s({
|
|
923
923
|
style: {
|
|
924
924
|
pointerEvents: "none"
|
|
925
925
|
},
|
|
@@ -929,7 +929,7 @@
|
|
|
929
929
|
ghost,
|
|
930
930
|
className: core.cx(ButtonStyle, className2),
|
|
931
931
|
prefixIcon: icon
|
|
932
|
-
}, buttonPropArgs))) : /* @__PURE__ */React.createElement(Button, __spreadValues$
|
|
932
|
+
}, buttonPropArgs))) : /* @__PURE__ */React.createElement(Button, __spreadValues$s({
|
|
933
933
|
type,
|
|
934
934
|
size,
|
|
935
935
|
danger,
|
|
@@ -938,7 +938,7 @@
|
|
|
938
938
|
prefixIcon: icon
|
|
939
939
|
}, buttonPropArgs)));
|
|
940
940
|
}
|
|
941
|
-
return /* @__PURE__ */React.createElement(Button, __spreadValues$
|
|
941
|
+
return /* @__PURE__ */React.createElement(Button, __spreadValues$s({
|
|
942
942
|
key: key || index,
|
|
943
943
|
type,
|
|
944
944
|
size,
|
|
@@ -972,31 +972,31 @@
|
|
|
972
972
|
return /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React.createElement("span", { className: core.cx("unit", unitClassName) }, ` ${unit}`));
|
|
973
973
|
};
|
|
974
974
|
|
|
975
|
-
var __defProp$
|
|
976
|
-
var __defProps$
|
|
977
|
-
var __getOwnPropDescs$
|
|
978
|
-
var __getOwnPropSymbols$
|
|
979
|
-
var __hasOwnProp$
|
|
980
|
-
var __propIsEnum$
|
|
981
|
-
var __defNormalProp$
|
|
975
|
+
var __defProp$r = Object.defineProperty;
|
|
976
|
+
var __defProps$l = Object.defineProperties;
|
|
977
|
+
var __getOwnPropDescs$l = Object.getOwnPropertyDescriptors;
|
|
978
|
+
var __getOwnPropSymbols$s = Object.getOwnPropertySymbols;
|
|
979
|
+
var __hasOwnProp$s = Object.prototype.hasOwnProperty;
|
|
980
|
+
var __propIsEnum$s = Object.prototype.propertyIsEnumerable;
|
|
981
|
+
var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, {
|
|
982
982
|
enumerable: true,
|
|
983
983
|
configurable: true,
|
|
984
984
|
writable: true,
|
|
985
985
|
value
|
|
986
986
|
}) : obj[key] = value;
|
|
987
|
-
var __spreadValues$
|
|
988
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
989
|
-
if (__getOwnPropSymbols$
|
|
990
|
-
if (__propIsEnum$
|
|
987
|
+
var __spreadValues$r = (a, b) => {
|
|
988
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$s.call(b, prop)) __defNormalProp$r(a, prop, b[prop]);
|
|
989
|
+
if (__getOwnPropSymbols$s) for (var prop of __getOwnPropSymbols$s(b)) {
|
|
990
|
+
if (__propIsEnum$s.call(b, prop)) __defNormalProp$r(a, prop, b[prop]);
|
|
991
991
|
}
|
|
992
992
|
return a;
|
|
993
993
|
};
|
|
994
|
-
var __spreadProps$
|
|
994
|
+
var __spreadProps$l = (a, b) => __defProps$l(a, __getOwnPropDescs$l(b));
|
|
995
995
|
var __objRest$k = (source, exclude) => {
|
|
996
996
|
var target = {};
|
|
997
|
-
for (var prop in source) if (__hasOwnProp$
|
|
998
|
-
if (source != null && __getOwnPropSymbols$
|
|
999
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
997
|
+
for (var prop in source) if (__hasOwnProp$s.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
998
|
+
if (source != null && __getOwnPropSymbols$s) for (var prop of __getOwnPropSymbols$s(source)) {
|
|
999
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$s.call(source, prop)) target[prop] = source[prop];
|
|
1000
1000
|
}
|
|
1001
1001
|
return target;
|
|
1002
1002
|
};
|
|
@@ -1010,7 +1010,7 @@
|
|
|
1010
1010
|
compact
|
|
1011
1011
|
} = _b,
|
|
1012
1012
|
props = __objRest$k(_b, ["className", "children", "description", "compact"]);
|
|
1013
|
-
return /* @__PURE__ */React.createElement(antd.Checkbox, __spreadProps$
|
|
1013
|
+
return /* @__PURE__ */React.createElement(antd.Checkbox, __spreadProps$l(__spreadValues$r({}, props), {
|
|
1014
1014
|
"data-test": props["data-test"] || props.value,
|
|
1015
1015
|
className: cs(className, CheckboxStyle, compact && "compact")
|
|
1016
1016
|
}), children ? /* @__PURE__ */React.createElement(React.Fragment, null, /* @__PURE__ */React.createElement("div", {
|
|
@@ -1020,30 +1020,30 @@
|
|
|
1020
1020
|
}, description) : null) : null);
|
|
1021
1021
|
};
|
|
1022
1022
|
|
|
1023
|
-
var __defProp$
|
|
1024
|
-
var __getOwnPropSymbols$
|
|
1025
|
-
var __hasOwnProp$
|
|
1026
|
-
var __propIsEnum$
|
|
1027
|
-
var __defNormalProp$
|
|
1028
|
-
var __spreadValues$
|
|
1023
|
+
var __defProp$q = Object.defineProperty;
|
|
1024
|
+
var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
|
|
1025
|
+
var __hasOwnProp$r = Object.prototype.hasOwnProperty;
|
|
1026
|
+
var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
|
|
1027
|
+
var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1028
|
+
var __spreadValues$q = (a, b) => {
|
|
1029
1029
|
for (var prop in b || (b = {}))
|
|
1030
|
-
if (__hasOwnProp$
|
|
1031
|
-
__defNormalProp$
|
|
1032
|
-
if (__getOwnPropSymbols$
|
|
1033
|
-
for (var prop of __getOwnPropSymbols$
|
|
1034
|
-
if (__propIsEnum$
|
|
1035
|
-
__defNormalProp$
|
|
1030
|
+
if (__hasOwnProp$r.call(b, prop))
|
|
1031
|
+
__defNormalProp$q(a, prop, b[prop]);
|
|
1032
|
+
if (__getOwnPropSymbols$r)
|
|
1033
|
+
for (var prop of __getOwnPropSymbols$r(b)) {
|
|
1034
|
+
if (__propIsEnum$r.call(b, prop))
|
|
1035
|
+
__defNormalProp$q(a, prop, b[prop]);
|
|
1036
1036
|
}
|
|
1037
1037
|
return a;
|
|
1038
1038
|
};
|
|
1039
1039
|
var __objRest$j = (source, exclude) => {
|
|
1040
1040
|
var target = {};
|
|
1041
1041
|
for (var prop in source)
|
|
1042
|
-
if (__hasOwnProp$
|
|
1042
|
+
if (__hasOwnProp$r.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1043
1043
|
target[prop] = source[prop];
|
|
1044
|
-
if (source != null && __getOwnPropSymbols$
|
|
1045
|
-
for (var prop of __getOwnPropSymbols$
|
|
1046
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1044
|
+
if (source != null && __getOwnPropSymbols$r)
|
|
1045
|
+
for (var prop of __getOwnPropSymbols$r(source)) {
|
|
1046
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$r.call(source, prop))
|
|
1047
1047
|
target[prop] = source[prop];
|
|
1048
1048
|
}
|
|
1049
1049
|
return target;
|
|
@@ -1052,7 +1052,7 @@
|
|
|
1052
1052
|
var _b = _a, { input, children } = _b, props = __objRest$j(_b, ["input", "children"]);
|
|
1053
1053
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
1054
1054
|
Checkbox,
|
|
1055
|
-
__spreadValues$
|
|
1055
|
+
__spreadValues$q({
|
|
1056
1056
|
checked: Boolean(input.value),
|
|
1057
1057
|
onChange: (e) => input.onChange(e.target.checked)
|
|
1058
1058
|
}, props),
|
|
@@ -1077,17 +1077,17 @@
|
|
|
1077
1077
|
}
|
|
1078
1078
|
));
|
|
1079
1079
|
|
|
1080
|
-
var __getOwnPropSymbols$
|
|
1081
|
-
var __hasOwnProp$
|
|
1082
|
-
var __propIsEnum$
|
|
1080
|
+
var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
|
|
1081
|
+
var __hasOwnProp$q = Object.prototype.hasOwnProperty;
|
|
1082
|
+
var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
|
|
1083
1083
|
var __objRest$i = (source, exclude) => {
|
|
1084
1084
|
var target = {};
|
|
1085
1085
|
for (var prop in source)
|
|
1086
|
-
if (__hasOwnProp$
|
|
1086
|
+
if (__hasOwnProp$q.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1087
1087
|
target[prop] = source[prop];
|
|
1088
|
-
if (source != null && __getOwnPropSymbols$
|
|
1089
|
-
for (var prop of __getOwnPropSymbols$
|
|
1090
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1088
|
+
if (source != null && __getOwnPropSymbols$q)
|
|
1089
|
+
for (var prop of __getOwnPropSymbols$q(source)) {
|
|
1090
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$q.call(source, prop))
|
|
1091
1091
|
target[prop] = source[prop];
|
|
1092
1092
|
}
|
|
1093
1093
|
return target;
|
|
@@ -1132,53 +1132,53 @@
|
|
|
1132
1132
|
const InputStyle = "ipd9bk";
|
|
1133
1133
|
const KitInputStyle = "kypn5o5";
|
|
1134
1134
|
|
|
1135
|
-
var __defProp$
|
|
1136
|
-
var __getOwnPropSymbols$
|
|
1137
|
-
var __hasOwnProp$
|
|
1138
|
-
var __propIsEnum$
|
|
1139
|
-
var __defNormalProp$
|
|
1140
|
-
var __spreadValues$
|
|
1135
|
+
var __defProp$p = Object.defineProperty;
|
|
1136
|
+
var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
|
|
1137
|
+
var __hasOwnProp$p = Object.prototype.hasOwnProperty;
|
|
1138
|
+
var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
|
|
1139
|
+
var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1140
|
+
var __spreadValues$p = (a, b) => {
|
|
1141
1141
|
for (var prop in b || (b = {}))
|
|
1142
|
-
if (__hasOwnProp$
|
|
1143
|
-
__defNormalProp$
|
|
1144
|
-
if (__getOwnPropSymbols$
|
|
1145
|
-
for (var prop of __getOwnPropSymbols$
|
|
1146
|
-
if (__propIsEnum$
|
|
1147
|
-
__defNormalProp$
|
|
1142
|
+
if (__hasOwnProp$p.call(b, prop))
|
|
1143
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
1144
|
+
if (__getOwnPropSymbols$p)
|
|
1145
|
+
for (var prop of __getOwnPropSymbols$p(b)) {
|
|
1146
|
+
if (__propIsEnum$p.call(b, prop))
|
|
1147
|
+
__defNormalProp$p(a, prop, b[prop]);
|
|
1148
1148
|
}
|
|
1149
1149
|
return a;
|
|
1150
1150
|
};
|
|
1151
1151
|
const Loading = ({ fullView = true }) => {
|
|
1152
1152
|
const Wrapper = fullView ? FullView : React.Fragment;
|
|
1153
1153
|
const props = fullView ? { className: "loading-full-view" } : {};
|
|
1154
|
-
return /* @__PURE__ */ React.createElement(Wrapper, __spreadValues$
|
|
1154
|
+
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" })));
|
|
1155
1155
|
};
|
|
1156
1156
|
|
|
1157
|
-
var __defProp$
|
|
1158
|
-
var __defProps$
|
|
1159
|
-
var __getOwnPropDescs$
|
|
1160
|
-
var __getOwnPropSymbols$
|
|
1161
|
-
var __hasOwnProp$
|
|
1162
|
-
var __propIsEnum$
|
|
1163
|
-
var __defNormalProp$
|
|
1157
|
+
var __defProp$o = Object.defineProperty;
|
|
1158
|
+
var __defProps$k = Object.defineProperties;
|
|
1159
|
+
var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
|
|
1160
|
+
var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
|
|
1161
|
+
var __hasOwnProp$o = Object.prototype.hasOwnProperty;
|
|
1162
|
+
var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
|
|
1163
|
+
var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, {
|
|
1164
1164
|
enumerable: true,
|
|
1165
1165
|
configurable: true,
|
|
1166
1166
|
writable: true,
|
|
1167
1167
|
value
|
|
1168
1168
|
}) : obj[key] = value;
|
|
1169
|
-
var __spreadValues$
|
|
1170
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1171
|
-
if (__getOwnPropSymbols$
|
|
1172
|
-
if (__propIsEnum$
|
|
1169
|
+
var __spreadValues$o = (a, b) => {
|
|
1170
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$o.call(b, prop)) __defNormalProp$o(a, prop, b[prop]);
|
|
1171
|
+
if (__getOwnPropSymbols$o) for (var prop of __getOwnPropSymbols$o(b)) {
|
|
1172
|
+
if (__propIsEnum$o.call(b, prop)) __defNormalProp$o(a, prop, b[prop]);
|
|
1173
1173
|
}
|
|
1174
1174
|
return a;
|
|
1175
1175
|
};
|
|
1176
|
-
var __spreadProps$
|
|
1176
|
+
var __spreadProps$k = (a, b) => __defProps$k(a, __getOwnPropDescs$k(b));
|
|
1177
1177
|
var __objRest$h = (source, exclude) => {
|
|
1178
1178
|
var target = {};
|
|
1179
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1180
|
-
if (source != null && __getOwnPropSymbols$
|
|
1181
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1179
|
+
for (var prop in source) if (__hasOwnProp$o.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1180
|
+
if (source != null && __getOwnPropSymbols$o) for (var prop of __getOwnPropSymbols$o(source)) {
|
|
1181
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$o.call(source, prop)) target[prop] = source[prop];
|
|
1182
1182
|
}
|
|
1183
1183
|
return target;
|
|
1184
1184
|
};
|
|
@@ -1232,7 +1232,7 @@
|
|
|
1232
1232
|
inputDom && (placeholder || item) && inputDom.setAttribute("data-test", String(placeholder || item.textContent));
|
|
1233
1233
|
}
|
|
1234
1234
|
}, [selectRef, placeholder]);
|
|
1235
|
-
return /* @__PURE__ */React.createElement(antd.Select, __spreadValues$
|
|
1235
|
+
return /* @__PURE__ */React.createElement(antd.Select, __spreadValues$o(__spreadProps$k(__spreadValues$o({}, input), {
|
|
1236
1236
|
ref: selectRef,
|
|
1237
1237
|
size,
|
|
1238
1238
|
value: multiple ? input.value || [] : input.value || void 0,
|
|
@@ -1272,38 +1272,38 @@
|
|
|
1272
1272
|
loading,
|
|
1273
1273
|
placeholder
|
|
1274
1274
|
}), restProps), React.Children.map(children, child => {
|
|
1275
|
-
return reactIs.isElement(child) ? __spreadProps$
|
|
1276
|
-
props: __spreadProps$
|
|
1275
|
+
return reactIs.isElement(child) ? __spreadProps$k(__spreadValues$o({}, child), {
|
|
1276
|
+
props: __spreadProps$k(__spreadValues$o({}, child.props), {
|
|
1277
1277
|
"data-test": child.props.value
|
|
1278
1278
|
})
|
|
1279
1279
|
}) : child;
|
|
1280
1280
|
}));
|
|
1281
1281
|
};
|
|
1282
1282
|
|
|
1283
|
-
var __defProp$
|
|
1284
|
-
var __getOwnPropSymbols$
|
|
1285
|
-
var __hasOwnProp$
|
|
1286
|
-
var __propIsEnum$
|
|
1287
|
-
var __defNormalProp$
|
|
1288
|
-
var __spreadValues$
|
|
1283
|
+
var __defProp$n = Object.defineProperty;
|
|
1284
|
+
var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
|
|
1285
|
+
var __hasOwnProp$n = Object.prototype.hasOwnProperty;
|
|
1286
|
+
var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
|
|
1287
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1288
|
+
var __spreadValues$n = (a, b) => {
|
|
1289
1289
|
for (var prop in b || (b = {}))
|
|
1290
|
-
if (__hasOwnProp$
|
|
1291
|
-
__defNormalProp$
|
|
1292
|
-
if (__getOwnPropSymbols$
|
|
1293
|
-
for (var prop of __getOwnPropSymbols$
|
|
1294
|
-
if (__propIsEnum$
|
|
1295
|
-
__defNormalProp$
|
|
1290
|
+
if (__hasOwnProp$n.call(b, prop))
|
|
1291
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
1292
|
+
if (__getOwnPropSymbols$n)
|
|
1293
|
+
for (var prop of __getOwnPropSymbols$n(b)) {
|
|
1294
|
+
if (__propIsEnum$n.call(b, prop))
|
|
1295
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
1296
1296
|
}
|
|
1297
1297
|
return a;
|
|
1298
1298
|
};
|
|
1299
1299
|
var __objRest$g = (source, exclude) => {
|
|
1300
1300
|
var target = {};
|
|
1301
1301
|
for (var prop in source)
|
|
1302
|
-
if (__hasOwnProp$
|
|
1302
|
+
if (__hasOwnProp$n.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1303
1303
|
target[prop] = source[prop];
|
|
1304
|
-
if (source != null && __getOwnPropSymbols$
|
|
1305
|
-
for (var prop of __getOwnPropSymbols$
|
|
1306
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1304
|
+
if (source != null && __getOwnPropSymbols$n)
|
|
1305
|
+
for (var prop of __getOwnPropSymbols$n(source)) {
|
|
1306
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$n.call(source, prop))
|
|
1307
1307
|
target[prop] = source[prop];
|
|
1308
1308
|
}
|
|
1309
1309
|
return target;
|
|
@@ -1318,7 +1318,7 @@
|
|
|
1318
1318
|
"enumValues",
|
|
1319
1319
|
"emptyLabel"
|
|
1320
1320
|
]);
|
|
1321
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Select, __spreadValues$
|
|
1321
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Select, __spreadValues$n({}, restProps), emptyLabel && /* @__PURE__ */ React.createElement(antd.Select.Option, { value: "" }, emptyLabel), enumValues.map((v) => {
|
|
1322
1322
|
const item = typeof v === "string" ? { value: v, text: v } : v;
|
|
1323
1323
|
return /* @__PURE__ */ React.createElement(
|
|
1324
1324
|
antd.Select.Option,
|
|
@@ -1332,31 +1332,31 @@
|
|
|
1332
1332
|
})));
|
|
1333
1333
|
};
|
|
1334
1334
|
|
|
1335
|
-
var __defProp$
|
|
1336
|
-
var __defProps$
|
|
1337
|
-
var __getOwnPropDescs$
|
|
1338
|
-
var __getOwnPropSymbols$
|
|
1339
|
-
var __hasOwnProp$
|
|
1340
|
-
var __propIsEnum$
|
|
1341
|
-
var __defNormalProp$
|
|
1342
|
-
enumerable: true,
|
|
1343
|
-
configurable: true,
|
|
1344
|
-
writable: true,
|
|
1345
|
-
value
|
|
1346
|
-
}) : obj[key] = value;
|
|
1347
|
-
var __spreadValues$
|
|
1348
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1349
|
-
if (__getOwnPropSymbols$
|
|
1350
|
-
if (__propIsEnum$
|
|
1335
|
+
var __defProp$m = Object.defineProperty;
|
|
1336
|
+
var __defProps$j = Object.defineProperties;
|
|
1337
|
+
var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
|
|
1338
|
+
var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
|
|
1339
|
+
var __hasOwnProp$m = Object.prototype.hasOwnProperty;
|
|
1340
|
+
var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
|
|
1341
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, {
|
|
1342
|
+
enumerable: true,
|
|
1343
|
+
configurable: true,
|
|
1344
|
+
writable: true,
|
|
1345
|
+
value
|
|
1346
|
+
}) : obj[key] = value;
|
|
1347
|
+
var __spreadValues$m = (a, b) => {
|
|
1348
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$m.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
|
|
1349
|
+
if (__getOwnPropSymbols$m) for (var prop of __getOwnPropSymbols$m(b)) {
|
|
1350
|
+
if (__propIsEnum$m.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
|
|
1351
1351
|
}
|
|
1352
1352
|
return a;
|
|
1353
1353
|
};
|
|
1354
|
-
var __spreadProps$
|
|
1354
|
+
var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
|
|
1355
1355
|
var __objRest$f = (source, exclude) => {
|
|
1356
1356
|
var target = {};
|
|
1357
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1358
|
-
if (source != null && __getOwnPropSymbols$
|
|
1359
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1357
|
+
for (var prop in source) if (__hasOwnProp$m.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1358
|
+
if (source != null && __getOwnPropSymbols$m) for (var prop of __getOwnPropSymbols$m(source)) {
|
|
1359
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$m.call(source, prop)) target[prop] = source[prop];
|
|
1360
1360
|
}
|
|
1361
1361
|
return target;
|
|
1362
1362
|
};
|
|
@@ -1398,7 +1398,7 @@
|
|
|
1398
1398
|
middle: Typo.Label.l3_regular,
|
|
1399
1399
|
small: Typo.Label.l4_regular
|
|
1400
1400
|
}[size];
|
|
1401
|
-
return /* @__PURE__ */React.createElement(AntdInputNumberStyled, __spreadProps$
|
|
1401
|
+
return /* @__PURE__ */React.createElement(AntdInputNumberStyled, __spreadProps$j(__spreadValues$m({}, props), {
|
|
1402
1402
|
size,
|
|
1403
1403
|
controls,
|
|
1404
1404
|
"data-test": props.name,
|
|
@@ -1408,33 +1408,33 @@
|
|
|
1408
1408
|
}));
|
|
1409
1409
|
};
|
|
1410
1410
|
|
|
1411
|
-
var __defProp$
|
|
1412
|
-
var __defProps$
|
|
1413
|
-
var __getOwnPropDescs$
|
|
1414
|
-
var __getOwnPropSymbols$
|
|
1415
|
-
var __hasOwnProp$
|
|
1416
|
-
var __propIsEnum$
|
|
1417
|
-
var __defNormalProp$
|
|
1418
|
-
var __spreadValues$
|
|
1411
|
+
var __defProp$l = Object.defineProperty;
|
|
1412
|
+
var __defProps$i = Object.defineProperties;
|
|
1413
|
+
var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
|
|
1414
|
+
var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
|
|
1415
|
+
var __hasOwnProp$l = Object.prototype.hasOwnProperty;
|
|
1416
|
+
var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
|
|
1417
|
+
var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1418
|
+
var __spreadValues$l = (a, b) => {
|
|
1419
1419
|
for (var prop in b || (b = {}))
|
|
1420
|
-
if (__hasOwnProp$
|
|
1421
|
-
__defNormalProp$
|
|
1422
|
-
if (__getOwnPropSymbols$
|
|
1423
|
-
for (var prop of __getOwnPropSymbols$
|
|
1424
|
-
if (__propIsEnum$
|
|
1425
|
-
__defNormalProp$
|
|
1420
|
+
if (__hasOwnProp$l.call(b, prop))
|
|
1421
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
1422
|
+
if (__getOwnPropSymbols$l)
|
|
1423
|
+
for (var prop of __getOwnPropSymbols$l(b)) {
|
|
1424
|
+
if (__propIsEnum$l.call(b, prop))
|
|
1425
|
+
__defNormalProp$l(a, prop, b[prop]);
|
|
1426
1426
|
}
|
|
1427
1427
|
return a;
|
|
1428
1428
|
};
|
|
1429
|
-
var __spreadProps$
|
|
1429
|
+
var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
|
|
1430
1430
|
var __objRest$e = (source, exclude) => {
|
|
1431
1431
|
var target = {};
|
|
1432
1432
|
for (var prop in source)
|
|
1433
|
-
if (__hasOwnProp$
|
|
1433
|
+
if (__hasOwnProp$l.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1434
1434
|
target[prop] = source[prop];
|
|
1435
|
-
if (source != null && __getOwnPropSymbols$
|
|
1436
|
-
for (var prop of __getOwnPropSymbols$
|
|
1437
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1435
|
+
if (source != null && __getOwnPropSymbols$l)
|
|
1436
|
+
for (var prop of __getOwnPropSymbols$l(source)) {
|
|
1437
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$l.call(source, prop))
|
|
1438
1438
|
target[prop] = source[prop];
|
|
1439
1439
|
}
|
|
1440
1440
|
return target;
|
|
@@ -1453,7 +1453,7 @@
|
|
|
1453
1453
|
]);
|
|
1454
1454
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
1455
1455
|
InputNumber,
|
|
1456
|
-
__spreadValues$
|
|
1456
|
+
__spreadValues$l(__spreadProps$i(__spreadValues$l({}, input), {
|
|
1457
1457
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
1458
1458
|
autoComplete,
|
|
1459
1459
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
@@ -1461,33 +1461,33 @@
|
|
|
1461
1461
|
));
|
|
1462
1462
|
};
|
|
1463
1463
|
|
|
1464
|
-
var __defProp$
|
|
1465
|
-
var __defProps$
|
|
1466
|
-
var __getOwnPropDescs$
|
|
1467
|
-
var __getOwnPropSymbols$
|
|
1468
|
-
var __hasOwnProp$
|
|
1469
|
-
var __propIsEnum$
|
|
1470
|
-
var __defNormalProp$
|
|
1471
|
-
var __spreadValues$
|
|
1464
|
+
var __defProp$k = Object.defineProperty;
|
|
1465
|
+
var __defProps$h = Object.defineProperties;
|
|
1466
|
+
var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
|
|
1467
|
+
var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
|
|
1468
|
+
var __hasOwnProp$k = Object.prototype.hasOwnProperty;
|
|
1469
|
+
var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
|
|
1470
|
+
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1471
|
+
var __spreadValues$k = (a, b) => {
|
|
1472
1472
|
for (var prop in b || (b = {}))
|
|
1473
|
-
if (__hasOwnProp$
|
|
1474
|
-
__defNormalProp$
|
|
1475
|
-
if (__getOwnPropSymbols$
|
|
1476
|
-
for (var prop of __getOwnPropSymbols$
|
|
1477
|
-
if (__propIsEnum$
|
|
1478
|
-
__defNormalProp$
|
|
1473
|
+
if (__hasOwnProp$k.call(b, prop))
|
|
1474
|
+
__defNormalProp$k(a, prop, b[prop]);
|
|
1475
|
+
if (__getOwnPropSymbols$k)
|
|
1476
|
+
for (var prop of __getOwnPropSymbols$k(b)) {
|
|
1477
|
+
if (__propIsEnum$k.call(b, prop))
|
|
1478
|
+
__defNormalProp$k(a, prop, b[prop]);
|
|
1479
1479
|
}
|
|
1480
1480
|
return a;
|
|
1481
1481
|
};
|
|
1482
|
-
var __spreadProps$
|
|
1482
|
+
var __spreadProps$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
|
|
1483
1483
|
var __objRest$d = (source, exclude) => {
|
|
1484
1484
|
var target = {};
|
|
1485
1485
|
for (var prop in source)
|
|
1486
|
-
if (__hasOwnProp$
|
|
1486
|
+
if (__hasOwnProp$k.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1487
1487
|
target[prop] = source[prop];
|
|
1488
|
-
if (source != null && __getOwnPropSymbols$
|
|
1489
|
-
for (var prop of __getOwnPropSymbols$
|
|
1490
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1488
|
+
if (source != null && __getOwnPropSymbols$k)
|
|
1489
|
+
for (var prop of __getOwnPropSymbols$k(source)) {
|
|
1490
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$k.call(source, prop))
|
|
1491
1491
|
target[prop] = source[prop];
|
|
1492
1492
|
}
|
|
1493
1493
|
return target;
|
|
@@ -1509,7 +1509,7 @@
|
|
|
1509
1509
|
}[size];
|
|
1510
1510
|
return /* @__PURE__ */ React.createElement(
|
|
1511
1511
|
antd.Input,
|
|
1512
|
-
__spreadProps$
|
|
1512
|
+
__spreadProps$h(__spreadValues$k({}, props), {
|
|
1513
1513
|
size,
|
|
1514
1514
|
"data-test": props.name,
|
|
1515
1515
|
className: cs(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -1517,33 +1517,33 @@
|
|
|
1517
1517
|
);
|
|
1518
1518
|
};
|
|
1519
1519
|
|
|
1520
|
-
var __defProp$
|
|
1521
|
-
var __defProps$
|
|
1522
|
-
var __getOwnPropDescs$
|
|
1523
|
-
var __getOwnPropSymbols$
|
|
1524
|
-
var __hasOwnProp$
|
|
1525
|
-
var __propIsEnum$
|
|
1526
|
-
var __defNormalProp$
|
|
1527
|
-
var __spreadValues$
|
|
1520
|
+
var __defProp$j = Object.defineProperty;
|
|
1521
|
+
var __defProps$g = Object.defineProperties;
|
|
1522
|
+
var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
|
|
1523
|
+
var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
|
|
1524
|
+
var __hasOwnProp$j = Object.prototype.hasOwnProperty;
|
|
1525
|
+
var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
|
|
1526
|
+
var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1527
|
+
var __spreadValues$j = (a, b) => {
|
|
1528
1528
|
for (var prop in b || (b = {}))
|
|
1529
|
-
if (__hasOwnProp$
|
|
1530
|
-
__defNormalProp$
|
|
1531
|
-
if (__getOwnPropSymbols$
|
|
1532
|
-
for (var prop of __getOwnPropSymbols$
|
|
1533
|
-
if (__propIsEnum$
|
|
1534
|
-
__defNormalProp$
|
|
1529
|
+
if (__hasOwnProp$j.call(b, prop))
|
|
1530
|
+
__defNormalProp$j(a, prop, b[prop]);
|
|
1531
|
+
if (__getOwnPropSymbols$j)
|
|
1532
|
+
for (var prop of __getOwnPropSymbols$j(b)) {
|
|
1533
|
+
if (__propIsEnum$j.call(b, prop))
|
|
1534
|
+
__defNormalProp$j(a, prop, b[prop]);
|
|
1535
1535
|
}
|
|
1536
1536
|
return a;
|
|
1537
1537
|
};
|
|
1538
|
-
var __spreadProps$
|
|
1538
|
+
var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
|
|
1539
1539
|
var __objRest$c = (source, exclude) => {
|
|
1540
1540
|
var target = {};
|
|
1541
1541
|
for (var prop in source)
|
|
1542
|
-
if (__hasOwnProp$
|
|
1542
|
+
if (__hasOwnProp$j.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1543
1543
|
target[prop] = source[prop];
|
|
1544
|
-
if (source != null && __getOwnPropSymbols$
|
|
1545
|
-
for (var prop of __getOwnPropSymbols$
|
|
1546
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1544
|
+
if (source != null && __getOwnPropSymbols$j)
|
|
1545
|
+
for (var prop of __getOwnPropSymbols$j(source)) {
|
|
1546
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$j.call(source, prop))
|
|
1547
1547
|
target[prop] = source[prop];
|
|
1548
1548
|
}
|
|
1549
1549
|
return target;
|
|
@@ -1564,7 +1564,7 @@
|
|
|
1564
1564
|
]);
|
|
1565
1565
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
1566
1566
|
Input,
|
|
1567
|
-
__spreadValues$
|
|
1567
|
+
__spreadValues$j(__spreadProps$g(__spreadValues$j({}, input), {
|
|
1568
1568
|
onChange: (e) => {
|
|
1569
1569
|
const value = e.currentTarget.value;
|
|
1570
1570
|
if (supportNegativeValue) {
|
|
@@ -1599,31 +1599,31 @@
|
|
|
1599
1599
|
}
|
|
1600
1600
|
};
|
|
1601
1601
|
|
|
1602
|
-
var __defProp$
|
|
1603
|
-
var __defProps$
|
|
1604
|
-
var __getOwnPropDescs$
|
|
1605
|
-
var __getOwnPropSymbols$
|
|
1606
|
-
var __hasOwnProp$
|
|
1607
|
-
var __propIsEnum$
|
|
1608
|
-
var __defNormalProp$
|
|
1602
|
+
var __defProp$i = Object.defineProperty;
|
|
1603
|
+
var __defProps$f = Object.defineProperties;
|
|
1604
|
+
var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
|
|
1605
|
+
var __getOwnPropSymbols$i = Object.getOwnPropertySymbols;
|
|
1606
|
+
var __hasOwnProp$i = Object.prototype.hasOwnProperty;
|
|
1607
|
+
var __propIsEnum$i = Object.prototype.propertyIsEnumerable;
|
|
1608
|
+
var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, {
|
|
1609
1609
|
enumerable: true,
|
|
1610
1610
|
configurable: true,
|
|
1611
1611
|
writable: true,
|
|
1612
1612
|
value
|
|
1613
1613
|
}) : obj[key] = value;
|
|
1614
|
-
var __spreadValues$
|
|
1615
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
1616
|
-
if (__getOwnPropSymbols$
|
|
1617
|
-
if (__propIsEnum$
|
|
1614
|
+
var __spreadValues$i = (a, b) => {
|
|
1615
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$i.call(b, prop)) __defNormalProp$i(a, prop, b[prop]);
|
|
1616
|
+
if (__getOwnPropSymbols$i) for (var prop of __getOwnPropSymbols$i(b)) {
|
|
1617
|
+
if (__propIsEnum$i.call(b, prop)) __defNormalProp$i(a, prop, b[prop]);
|
|
1618
1618
|
}
|
|
1619
1619
|
return a;
|
|
1620
1620
|
};
|
|
1621
|
-
var __spreadProps$
|
|
1621
|
+
var __spreadProps$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
|
|
1622
1622
|
var __objRest$b = (source, exclude) => {
|
|
1623
1623
|
var target = {};
|
|
1624
|
-
for (var prop in source) if (__hasOwnProp$
|
|
1625
|
-
if (source != null && __getOwnPropSymbols$
|
|
1626
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1624
|
+
for (var prop in source) if (__hasOwnProp$i.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1625
|
+
if (source != null && __getOwnPropSymbols$i) for (var prop of __getOwnPropSymbols$i(source)) {
|
|
1626
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$i.call(source, prop)) target[prop] = source[prop];
|
|
1627
1627
|
}
|
|
1628
1628
|
return target;
|
|
1629
1629
|
};
|
|
@@ -1667,7 +1667,7 @@
|
|
|
1667
1667
|
middle: Typo.Label.l3_regular,
|
|
1668
1668
|
small: Typo.Label.l4_regular
|
|
1669
1669
|
}[size];
|
|
1670
|
-
return /* @__PURE__ */React.createElement(AntdIntStyled, __spreadProps$
|
|
1670
|
+
return /* @__PURE__ */React.createElement(AntdIntStyled, __spreadProps$f(__spreadValues$i({}, props), {
|
|
1671
1671
|
size,
|
|
1672
1672
|
formatter: formatterInteger,
|
|
1673
1673
|
parser: formatterInteger,
|
|
@@ -1681,33 +1681,33 @@
|
|
|
1681
1681
|
}));
|
|
1682
1682
|
};
|
|
1683
1683
|
|
|
1684
|
-
var __defProp$
|
|
1685
|
-
var __defProps$
|
|
1686
|
-
var __getOwnPropDescs$
|
|
1687
|
-
var __getOwnPropSymbols$
|
|
1688
|
-
var __hasOwnProp$
|
|
1689
|
-
var __propIsEnum$
|
|
1690
|
-
var __defNormalProp$
|
|
1691
|
-
var __spreadValues$
|
|
1684
|
+
var __defProp$h = Object.defineProperty;
|
|
1685
|
+
var __defProps$e = Object.defineProperties;
|
|
1686
|
+
var __getOwnPropDescs$e = Object.getOwnPropertyDescriptors;
|
|
1687
|
+
var __getOwnPropSymbols$h = Object.getOwnPropertySymbols;
|
|
1688
|
+
var __hasOwnProp$h = Object.prototype.hasOwnProperty;
|
|
1689
|
+
var __propIsEnum$h = Object.prototype.propertyIsEnumerable;
|
|
1690
|
+
var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1691
|
+
var __spreadValues$h = (a, b) => {
|
|
1692
1692
|
for (var prop in b || (b = {}))
|
|
1693
|
-
if (__hasOwnProp$
|
|
1694
|
-
__defNormalProp$
|
|
1695
|
-
if (__getOwnPropSymbols$
|
|
1696
|
-
for (var prop of __getOwnPropSymbols$
|
|
1697
|
-
if (__propIsEnum$
|
|
1698
|
-
__defNormalProp$
|
|
1693
|
+
if (__hasOwnProp$h.call(b, prop))
|
|
1694
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
1695
|
+
if (__getOwnPropSymbols$h)
|
|
1696
|
+
for (var prop of __getOwnPropSymbols$h(b)) {
|
|
1697
|
+
if (__propIsEnum$h.call(b, prop))
|
|
1698
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
1699
1699
|
}
|
|
1700
1700
|
return a;
|
|
1701
1701
|
};
|
|
1702
|
-
var __spreadProps$
|
|
1702
|
+
var __spreadProps$e = (a, b) => __defProps$e(a, __getOwnPropDescs$e(b));
|
|
1703
1703
|
var __objRest$a = (source, exclude) => {
|
|
1704
1704
|
var target = {};
|
|
1705
1705
|
for (var prop in source)
|
|
1706
|
-
if (__hasOwnProp$
|
|
1706
|
+
if (__hasOwnProp$h.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1707
1707
|
target[prop] = source[prop];
|
|
1708
|
-
if (source != null && __getOwnPropSymbols$
|
|
1709
|
-
for (var prop of __getOwnPropSymbols$
|
|
1710
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1708
|
+
if (source != null && __getOwnPropSymbols$h)
|
|
1709
|
+
for (var prop of __getOwnPropSymbols$h(source)) {
|
|
1710
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$h.call(source, prop))
|
|
1711
1711
|
target[prop] = source[prop];
|
|
1712
1712
|
}
|
|
1713
1713
|
return target;
|
|
@@ -1724,7 +1724,7 @@
|
|
|
1724
1724
|
]);
|
|
1725
1725
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
1726
1726
|
InputInteger,
|
|
1727
|
-
__spreadProps$
|
|
1727
|
+
__spreadProps$e(__spreadValues$h(__spreadValues$h({}, props), input), {
|
|
1728
1728
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
1729
1729
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
1730
1730
|
})
|
|
@@ -1888,33 +1888,33 @@
|
|
|
1888
1888
|
}, children), showOverflow && /* @__PURE__ */React.createElement("span", null, overflow));
|
|
1889
1889
|
};
|
|
1890
1890
|
|
|
1891
|
-
var __defProp$
|
|
1892
|
-
var __defProps$
|
|
1893
|
-
var __getOwnPropDescs$
|
|
1894
|
-
var __getOwnPropSymbols$
|
|
1895
|
-
var __hasOwnProp$
|
|
1896
|
-
var __propIsEnum$
|
|
1897
|
-
var __defNormalProp$
|
|
1898
|
-
var __spreadValues$
|
|
1891
|
+
var __defProp$g = Object.defineProperty;
|
|
1892
|
+
var __defProps$d = Object.defineProperties;
|
|
1893
|
+
var __getOwnPropDescs$d = Object.getOwnPropertyDescriptors;
|
|
1894
|
+
var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
|
|
1895
|
+
var __hasOwnProp$g = Object.prototype.hasOwnProperty;
|
|
1896
|
+
var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
|
|
1897
|
+
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1898
|
+
var __spreadValues$g = (a, b) => {
|
|
1899
1899
|
for (var prop in b || (b = {}))
|
|
1900
|
-
if (__hasOwnProp$
|
|
1901
|
-
__defNormalProp$
|
|
1902
|
-
if (__getOwnPropSymbols$
|
|
1903
|
-
for (var prop of __getOwnPropSymbols$
|
|
1904
|
-
if (__propIsEnum$
|
|
1905
|
-
__defNormalProp$
|
|
1900
|
+
if (__hasOwnProp$g.call(b, prop))
|
|
1901
|
+
__defNormalProp$g(a, prop, b[prop]);
|
|
1902
|
+
if (__getOwnPropSymbols$g)
|
|
1903
|
+
for (var prop of __getOwnPropSymbols$g(b)) {
|
|
1904
|
+
if (__propIsEnum$g.call(b, prop))
|
|
1905
|
+
__defNormalProp$g(a, prop, b[prop]);
|
|
1906
1906
|
}
|
|
1907
1907
|
return a;
|
|
1908
1908
|
};
|
|
1909
|
-
var __spreadProps$
|
|
1909
|
+
var __spreadProps$d = (a, b) => __defProps$d(a, __getOwnPropDescs$d(b));
|
|
1910
1910
|
var __objRest$9 = (source, exclude) => {
|
|
1911
1911
|
var target = {};
|
|
1912
1912
|
for (var prop in source)
|
|
1913
|
-
if (__hasOwnProp$
|
|
1913
|
+
if (__hasOwnProp$g.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1914
1914
|
target[prop] = source[prop];
|
|
1915
|
-
if (source != null && __getOwnPropSymbols$
|
|
1916
|
-
for (var prop of __getOwnPropSymbols$
|
|
1917
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1915
|
+
if (source != null && __getOwnPropSymbols$g)
|
|
1916
|
+
for (var prop of __getOwnPropSymbols$g(source)) {
|
|
1917
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$g.call(source, prop))
|
|
1918
1918
|
target[prop] = source[prop];
|
|
1919
1919
|
}
|
|
1920
1920
|
return target;
|
|
@@ -1965,7 +1965,7 @@
|
|
|
1965
1965
|
}
|
|
1966
1966
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
1967
1967
|
Input,
|
|
1968
|
-
__spreadProps$
|
|
1968
|
+
__spreadProps$d(__spreadValues$g(__spreadProps$d(__spreadValues$g({
|
|
1969
1969
|
className: cs(
|
|
1970
1970
|
className,
|
|
1971
1971
|
KitInputStyle,
|
|
@@ -1990,33 +1990,33 @@
|
|
|
1990
1990
|
));
|
|
1991
1991
|
};
|
|
1992
1992
|
|
|
1993
|
-
var __defProp$
|
|
1994
|
-
var __defProps$
|
|
1995
|
-
var __getOwnPropDescs$
|
|
1996
|
-
var __getOwnPropSymbols$
|
|
1997
|
-
var __hasOwnProp$
|
|
1998
|
-
var __propIsEnum$
|
|
1999
|
-
var __defNormalProp$
|
|
2000
|
-
var __spreadValues$
|
|
1993
|
+
var __defProp$f = Object.defineProperty;
|
|
1994
|
+
var __defProps$c = Object.defineProperties;
|
|
1995
|
+
var __getOwnPropDescs$c = Object.getOwnPropertyDescriptors;
|
|
1996
|
+
var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
|
|
1997
|
+
var __hasOwnProp$f = Object.prototype.hasOwnProperty;
|
|
1998
|
+
var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
|
|
1999
|
+
var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2000
|
+
var __spreadValues$f = (a, b) => {
|
|
2001
2001
|
for (var prop in b || (b = {}))
|
|
2002
|
-
if (__hasOwnProp$
|
|
2003
|
-
__defNormalProp$
|
|
2004
|
-
if (__getOwnPropSymbols$
|
|
2005
|
-
for (var prop of __getOwnPropSymbols$
|
|
2006
|
-
if (__propIsEnum$
|
|
2007
|
-
__defNormalProp$
|
|
2002
|
+
if (__hasOwnProp$f.call(b, prop))
|
|
2003
|
+
__defNormalProp$f(a, prop, b[prop]);
|
|
2004
|
+
if (__getOwnPropSymbols$f)
|
|
2005
|
+
for (var prop of __getOwnPropSymbols$f(b)) {
|
|
2006
|
+
if (__propIsEnum$f.call(b, prop))
|
|
2007
|
+
__defNormalProp$f(a, prop, b[prop]);
|
|
2008
2008
|
}
|
|
2009
2009
|
return a;
|
|
2010
2010
|
};
|
|
2011
|
-
var __spreadProps$
|
|
2011
|
+
var __spreadProps$c = (a, b) => __defProps$c(a, __getOwnPropDescs$c(b));
|
|
2012
2012
|
var __objRest$8 = (source, exclude) => {
|
|
2013
2013
|
var target = {};
|
|
2014
2014
|
for (var prop in source)
|
|
2015
|
-
if (__hasOwnProp$
|
|
2015
|
+
if (__hasOwnProp$f.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2016
2016
|
target[prop] = source[prop];
|
|
2017
|
-
if (source != null && __getOwnPropSymbols$
|
|
2018
|
-
for (var prop of __getOwnPropSymbols$
|
|
2019
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2017
|
+
if (source != null && __getOwnPropSymbols$f)
|
|
2018
|
+
for (var prop of __getOwnPropSymbols$f(source)) {
|
|
2019
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$f.call(source, prop))
|
|
2020
2020
|
target[prop] = source[prop];
|
|
2021
2021
|
}
|
|
2022
2022
|
return target;
|
|
@@ -2038,7 +2038,7 @@
|
|
|
2038
2038
|
}[size];
|
|
2039
2039
|
return /* @__PURE__ */ React.createElement(
|
|
2040
2040
|
antd.Input.TextArea,
|
|
2041
|
-
__spreadProps$
|
|
2041
|
+
__spreadProps$c(__spreadValues$f({}, props), {
|
|
2042
2042
|
className: cs(
|
|
2043
2043
|
className,
|
|
2044
2044
|
InputStyle,
|
|
@@ -2052,33 +2052,33 @@
|
|
|
2052
2052
|
);
|
|
2053
2053
|
};
|
|
2054
2054
|
|
|
2055
|
-
var __defProp$
|
|
2056
|
-
var __defProps$
|
|
2057
|
-
var __getOwnPropDescs$
|
|
2058
|
-
var __getOwnPropSymbols$
|
|
2059
|
-
var __hasOwnProp$
|
|
2060
|
-
var __propIsEnum$
|
|
2061
|
-
var __defNormalProp$
|
|
2062
|
-
var __spreadValues$
|
|
2055
|
+
var __defProp$e = Object.defineProperty;
|
|
2056
|
+
var __defProps$b = Object.defineProperties;
|
|
2057
|
+
var __getOwnPropDescs$b = Object.getOwnPropertyDescriptors;
|
|
2058
|
+
var __getOwnPropSymbols$e = Object.getOwnPropertySymbols;
|
|
2059
|
+
var __hasOwnProp$e = Object.prototype.hasOwnProperty;
|
|
2060
|
+
var __propIsEnum$e = Object.prototype.propertyIsEnumerable;
|
|
2061
|
+
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2062
|
+
var __spreadValues$e = (a, b) => {
|
|
2063
2063
|
for (var prop in b || (b = {}))
|
|
2064
|
-
if (__hasOwnProp$
|
|
2065
|
-
__defNormalProp$
|
|
2066
|
-
if (__getOwnPropSymbols$
|
|
2067
|
-
for (var prop of __getOwnPropSymbols$
|
|
2068
|
-
if (__propIsEnum$
|
|
2069
|
-
__defNormalProp$
|
|
2064
|
+
if (__hasOwnProp$e.call(b, prop))
|
|
2065
|
+
__defNormalProp$e(a, prop, b[prop]);
|
|
2066
|
+
if (__getOwnPropSymbols$e)
|
|
2067
|
+
for (var prop of __getOwnPropSymbols$e(b)) {
|
|
2068
|
+
if (__propIsEnum$e.call(b, prop))
|
|
2069
|
+
__defNormalProp$e(a, prop, b[prop]);
|
|
2070
2070
|
}
|
|
2071
2071
|
return a;
|
|
2072
2072
|
};
|
|
2073
|
-
var __spreadProps$
|
|
2073
|
+
var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
|
|
2074
2074
|
var __objRest$7 = (source, exclude) => {
|
|
2075
2075
|
var target = {};
|
|
2076
2076
|
for (var prop in source)
|
|
2077
|
-
if (__hasOwnProp$
|
|
2077
|
+
if (__hasOwnProp$e.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2078
2078
|
target[prop] = source[prop];
|
|
2079
|
-
if (source != null && __getOwnPropSymbols$
|
|
2080
|
-
for (var prop of __getOwnPropSymbols$
|
|
2081
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2079
|
+
if (source != null && __getOwnPropSymbols$e)
|
|
2080
|
+
for (var prop of __getOwnPropSymbols$e(source)) {
|
|
2081
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$e.call(source, prop))
|
|
2082
2082
|
target[prop] = source[prop];
|
|
2083
2083
|
}
|
|
2084
2084
|
return target;
|
|
@@ -2095,7 +2095,7 @@
|
|
|
2095
2095
|
]);
|
|
2096
2096
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
2097
2097
|
TextArea,
|
|
2098
|
-
__spreadProps$
|
|
2098
|
+
__spreadProps$b(__spreadValues$e(__spreadValues$e({}, input), props), {
|
|
2099
2099
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError),
|
|
2100
2100
|
onFocus: (e) => {
|
|
2101
2101
|
input.onFocus(e);
|
|
@@ -2109,33 +2109,33 @@
|
|
|
2109
2109
|
));
|
|
2110
2110
|
};
|
|
2111
2111
|
|
|
2112
|
-
var __defProp$
|
|
2113
|
-
var __defProps$
|
|
2114
|
-
var __getOwnPropDescs$
|
|
2115
|
-
var __getOwnPropSymbols$
|
|
2116
|
-
var __hasOwnProp$
|
|
2117
|
-
var __propIsEnum$
|
|
2118
|
-
var __defNormalProp$
|
|
2119
|
-
var __spreadValues$
|
|
2112
|
+
var __defProp$d = Object.defineProperty;
|
|
2113
|
+
var __defProps$a = Object.defineProperties;
|
|
2114
|
+
var __getOwnPropDescs$a = Object.getOwnPropertyDescriptors;
|
|
2115
|
+
var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
|
|
2116
|
+
var __hasOwnProp$d = Object.prototype.hasOwnProperty;
|
|
2117
|
+
var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
|
|
2118
|
+
var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2119
|
+
var __spreadValues$d = (a, b) => {
|
|
2120
2120
|
for (var prop in b || (b = {}))
|
|
2121
|
-
if (__hasOwnProp$
|
|
2122
|
-
__defNormalProp$
|
|
2123
|
-
if (__getOwnPropSymbols$
|
|
2124
|
-
for (var prop of __getOwnPropSymbols$
|
|
2125
|
-
if (__propIsEnum$
|
|
2126
|
-
__defNormalProp$
|
|
2121
|
+
if (__hasOwnProp$d.call(b, prop))
|
|
2122
|
+
__defNormalProp$d(a, prop, b[prop]);
|
|
2123
|
+
if (__getOwnPropSymbols$d)
|
|
2124
|
+
for (var prop of __getOwnPropSymbols$d(b)) {
|
|
2125
|
+
if (__propIsEnum$d.call(b, prop))
|
|
2126
|
+
__defNormalProp$d(a, prop, b[prop]);
|
|
2127
2127
|
}
|
|
2128
2128
|
return a;
|
|
2129
2129
|
};
|
|
2130
|
-
var __spreadProps$
|
|
2130
|
+
var __spreadProps$a = (a, b) => __defProps$a(a, __getOwnPropDescs$a(b));
|
|
2131
2131
|
var __objRest$6 = (source, exclude) => {
|
|
2132
2132
|
var target = {};
|
|
2133
2133
|
for (var prop in source)
|
|
2134
|
-
if (__hasOwnProp$
|
|
2134
|
+
if (__hasOwnProp$d.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2135
2135
|
target[prop] = source[prop];
|
|
2136
|
-
if (source != null && __getOwnPropSymbols$
|
|
2137
|
-
for (var prop of __getOwnPropSymbols$
|
|
2138
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2136
|
+
if (source != null && __getOwnPropSymbols$d)
|
|
2137
|
+
for (var prop of __getOwnPropSymbols$d(source)) {
|
|
2138
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$d.call(source, prop))
|
|
2139
2139
|
target[prop] = source[prop];
|
|
2140
2140
|
}
|
|
2141
2141
|
return target;
|
|
@@ -2157,7 +2157,7 @@
|
|
|
2157
2157
|
}[size];
|
|
2158
2158
|
return /* @__PURE__ */ React.createElement(
|
|
2159
2159
|
antd.TimePicker,
|
|
2160
|
-
__spreadProps$
|
|
2160
|
+
__spreadProps$a(__spreadValues$d({}, props), {
|
|
2161
2161
|
size,
|
|
2162
2162
|
"data-test": props.name,
|
|
2163
2163
|
className: cs(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -2165,33 +2165,33 @@
|
|
|
2165
2165
|
);
|
|
2166
2166
|
};
|
|
2167
2167
|
|
|
2168
|
-
var __defProp$
|
|
2169
|
-
var __defProps$
|
|
2170
|
-
var __getOwnPropDescs$
|
|
2171
|
-
var __getOwnPropSymbols$
|
|
2172
|
-
var __hasOwnProp$
|
|
2173
|
-
var __propIsEnum$
|
|
2174
|
-
var __defNormalProp$
|
|
2175
|
-
var __spreadValues$
|
|
2168
|
+
var __defProp$c = Object.defineProperty;
|
|
2169
|
+
var __defProps$9 = Object.defineProperties;
|
|
2170
|
+
var __getOwnPropDescs$9 = Object.getOwnPropertyDescriptors;
|
|
2171
|
+
var __getOwnPropSymbols$c = Object.getOwnPropertySymbols;
|
|
2172
|
+
var __hasOwnProp$c = Object.prototype.hasOwnProperty;
|
|
2173
|
+
var __propIsEnum$c = Object.prototype.propertyIsEnumerable;
|
|
2174
|
+
var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2175
|
+
var __spreadValues$c = (a, b) => {
|
|
2176
2176
|
for (var prop in b || (b = {}))
|
|
2177
|
-
if (__hasOwnProp$
|
|
2178
|
-
__defNormalProp$
|
|
2179
|
-
if (__getOwnPropSymbols$
|
|
2180
|
-
for (var prop of __getOwnPropSymbols$
|
|
2181
|
-
if (__propIsEnum$
|
|
2182
|
-
__defNormalProp$
|
|
2177
|
+
if (__hasOwnProp$c.call(b, prop))
|
|
2178
|
+
__defNormalProp$c(a, prop, b[prop]);
|
|
2179
|
+
if (__getOwnPropSymbols$c)
|
|
2180
|
+
for (var prop of __getOwnPropSymbols$c(b)) {
|
|
2181
|
+
if (__propIsEnum$c.call(b, prop))
|
|
2182
|
+
__defNormalProp$c(a, prop, b[prop]);
|
|
2183
2183
|
}
|
|
2184
2184
|
return a;
|
|
2185
2185
|
};
|
|
2186
|
-
var __spreadProps$
|
|
2186
|
+
var __spreadProps$9 = (a, b) => __defProps$9(a, __getOwnPropDescs$9(b));
|
|
2187
2187
|
var __objRest$5 = (source, exclude) => {
|
|
2188
2188
|
var target = {};
|
|
2189
2189
|
for (var prop in source)
|
|
2190
|
-
if (__hasOwnProp$
|
|
2190
|
+
if (__hasOwnProp$c.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2191
2191
|
target[prop] = source[prop];
|
|
2192
|
-
if (source != null && __getOwnPropSymbols$
|
|
2193
|
-
for (var prop of __getOwnPropSymbols$
|
|
2194
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2192
|
+
if (source != null && __getOwnPropSymbols$c)
|
|
2193
|
+
for (var prop of __getOwnPropSymbols$c(source)) {
|
|
2194
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$c.call(source, prop))
|
|
2195
2195
|
target[prop] = source[prop];
|
|
2196
2196
|
}
|
|
2197
2197
|
return target;
|
|
@@ -2206,7 +2206,7 @@
|
|
|
2206
2206
|
]);
|
|
2207
2207
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
2208
2208
|
TimePicker,
|
|
2209
|
-
__spreadValues$
|
|
2209
|
+
__spreadValues$c(__spreadProps$9(__spreadValues$c({}, input), {
|
|
2210
2210
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
2211
2211
|
}), props)
|
|
2212
2212
|
));
|
|
@@ -2245,25 +2245,158 @@
|
|
|
2245
2245
|
propsAsIs: true
|
|
2246
2246
|
});
|
|
2247
2247
|
|
|
2248
|
-
var __defProp$
|
|
2249
|
-
var __defProps$
|
|
2250
|
-
var __getOwnPropDescs$
|
|
2251
|
-
var __getOwnPropSymbols$
|
|
2252
|
-
var __hasOwnProp$
|
|
2253
|
-
var __propIsEnum$
|
|
2254
|
-
var __defNormalProp$
|
|
2255
|
-
var __spreadValues$
|
|
2248
|
+
var __defProp$b = Object.defineProperty;
|
|
2249
|
+
var __defProps$8 = Object.defineProperties;
|
|
2250
|
+
var __getOwnPropDescs$8 = Object.getOwnPropertyDescriptors;
|
|
2251
|
+
var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
|
|
2252
|
+
var __hasOwnProp$b = Object.prototype.hasOwnProperty;
|
|
2253
|
+
var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
|
|
2254
|
+
var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2255
|
+
var __spreadValues$b = (a, b) => {
|
|
2256
|
+
for (var prop in b || (b = {}))
|
|
2257
|
+
if (__hasOwnProp$b.call(b, prop))
|
|
2258
|
+
__defNormalProp$b(a, prop, b[prop]);
|
|
2259
|
+
if (__getOwnPropSymbols$b)
|
|
2260
|
+
for (var prop of __getOwnPropSymbols$b(b)) {
|
|
2261
|
+
if (__propIsEnum$b.call(b, prop))
|
|
2262
|
+
__defNormalProp$b(a, prop, b[prop]);
|
|
2263
|
+
}
|
|
2264
|
+
return a;
|
|
2265
|
+
};
|
|
2266
|
+
var __spreadProps$8 = (a, b) => __defProps$8(a, __getOwnPropDescs$8(b));
|
|
2267
|
+
function makeUUID(length = 25) {
|
|
2268
|
+
let result = "";
|
|
2269
|
+
const characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
2270
|
+
const charactersLength = characters.length;
|
|
2271
|
+
for (let i = 0; i < length; i++) {
|
|
2272
|
+
result += characters.charAt(Math.floor(Math.random() * charactersLength));
|
|
2273
|
+
}
|
|
2274
|
+
return result;
|
|
2275
|
+
}
|
|
2276
|
+
class Batcher {
|
|
2277
|
+
constructor(originalMethod, batchHelper) {
|
|
2278
|
+
this.batchSize = 2;
|
|
2279
|
+
this.batchTime = 200;
|
|
2280
|
+
this.scheduler = {};
|
|
2281
|
+
this.originalMethod = originalMethod;
|
|
2282
|
+
this.batchHelper = batchHelper;
|
|
2283
|
+
}
|
|
2284
|
+
addMessage(originContent) {
|
|
2285
|
+
const { batchKey, content } = this.batchHelper(originContent.content);
|
|
2286
|
+
if (batchKey == null) {
|
|
2287
|
+
this.originalMethod(originContent);
|
|
2288
|
+
return;
|
|
2289
|
+
}
|
|
2290
|
+
if (!this.scheduler[batchKey]) {
|
|
2291
|
+
this.scheduler[batchKey] = {
|
|
2292
|
+
firedHandlers: {},
|
|
2293
|
+
pendingMessages: {}
|
|
2294
|
+
};
|
|
2295
|
+
}
|
|
2296
|
+
const messageStore = this.scheduler[batchKey];
|
|
2297
|
+
const { firedHandlers, pendingMessages, groupedCtx } = messageStore;
|
|
2298
|
+
if (groupedCtx) {
|
|
2299
|
+
groupedCtx.count++;
|
|
2300
|
+
this.applyContent(__spreadProps$8(__spreadValues$b({}, originContent), { content }), messageStore);
|
|
2301
|
+
return;
|
|
2302
|
+
}
|
|
2303
|
+
const messageCount = Object.keys(firedHandlers).length + Object.keys(pendingMessages).length;
|
|
2304
|
+
if (messageCount + 1 > this.batchSize) {
|
|
2305
|
+
for (const k in firedHandlers) {
|
|
2306
|
+
try {
|
|
2307
|
+
firedHandlers[k]();
|
|
2308
|
+
} catch (e) {
|
|
2309
|
+
}
|
|
2310
|
+
delete firedHandlers[k];
|
|
2311
|
+
}
|
|
2312
|
+
for (const k in pendingMessages) {
|
|
2313
|
+
delete pendingMessages[k];
|
|
2314
|
+
}
|
|
2315
|
+
messageStore.groupedCtx = {
|
|
2316
|
+
key: originContent.key,
|
|
2317
|
+
count: messageCount + 1
|
|
2318
|
+
};
|
|
2319
|
+
this.applyContent(__spreadProps$8(__spreadValues$b({}, originContent), { content }), messageStore);
|
|
2320
|
+
return;
|
|
2321
|
+
}
|
|
2322
|
+
pendingMessages[originContent.key] = originContent;
|
|
2323
|
+
setTimeout(() => {
|
|
2324
|
+
if (originContent.key in pendingMessages) {
|
|
2325
|
+
delete pendingMessages[originContent.key];
|
|
2326
|
+
originContent.onClose = () => {
|
|
2327
|
+
delete firedHandlers[originContent.key];
|
|
2328
|
+
delete messageStore.groupedCtx;
|
|
2329
|
+
};
|
|
2330
|
+
const handler = this.originalMethod(content);
|
|
2331
|
+
firedHandlers[originContent.key] = handler;
|
|
2332
|
+
}
|
|
2333
|
+
}, this.batchTime);
|
|
2334
|
+
}
|
|
2335
|
+
applyContent(content, store) {
|
|
2336
|
+
content.key = store.groupedCtx.key;
|
|
2337
|
+
content.onClose = () => {
|
|
2338
|
+
delete store.groupedCtx;
|
|
2339
|
+
};
|
|
2340
|
+
this.originalMethod(content);
|
|
2341
|
+
}
|
|
2342
|
+
}
|
|
2343
|
+
function createBatchMessageMethods(batchHelper) {
|
|
2344
|
+
if (batchHelper == null) {
|
|
2345
|
+
return antd.message;
|
|
2346
|
+
}
|
|
2347
|
+
let _message = antd.message;
|
|
2348
|
+
const methods = [
|
|
2349
|
+
"success",
|
|
2350
|
+
"error",
|
|
2351
|
+
"info",
|
|
2352
|
+
"warning",
|
|
2353
|
+
"warn",
|
|
2354
|
+
"loading"
|
|
2355
|
+
];
|
|
2356
|
+
for (const method of methods) {
|
|
2357
|
+
const originalMethod = _message[method];
|
|
2358
|
+
const batcher = new Batcher(originalMethod, batchHelper);
|
|
2359
|
+
_message[method] = function(...args) {
|
|
2360
|
+
const key = makeUUID();
|
|
2361
|
+
const content = normalizeContent(args, method);
|
|
2362
|
+
batcher.addMessage(__spreadProps$8(__spreadValues$b({}, content), { key }));
|
|
2363
|
+
return () => {
|
|
2364
|
+
};
|
|
2365
|
+
};
|
|
2366
|
+
}
|
|
2367
|
+
return _message;
|
|
2368
|
+
}
|
|
2369
|
+
function normalizeContent(args, type) {
|
|
2370
|
+
const c = args[0];
|
|
2371
|
+
if (c && typeof c === "object" && "content" in c) {
|
|
2372
|
+
return c;
|
|
2373
|
+
}
|
|
2374
|
+
return {
|
|
2375
|
+
content: c,
|
|
2376
|
+
duration: typeof args[1] === "number" ? args[1] : 6,
|
|
2377
|
+
type: type === "warn" ? "warning" : type
|
|
2378
|
+
};
|
|
2379
|
+
}
|
|
2380
|
+
|
|
2381
|
+
var __defProp$a = Object.defineProperty;
|
|
2382
|
+
var __defProps$7 = Object.defineProperties;
|
|
2383
|
+
var __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;
|
|
2384
|
+
var __getOwnPropSymbols$a = Object.getOwnPropertySymbols;
|
|
2385
|
+
var __hasOwnProp$a = Object.prototype.hasOwnProperty;
|
|
2386
|
+
var __propIsEnum$a = Object.prototype.propertyIsEnumerable;
|
|
2387
|
+
var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2388
|
+
var __spreadValues$a = (a, b) => {
|
|
2256
2389
|
for (var prop in b || (b = {}))
|
|
2257
|
-
if (__hasOwnProp$
|
|
2258
|
-
__defNormalProp$
|
|
2259
|
-
if (__getOwnPropSymbols$
|
|
2260
|
-
for (var prop of __getOwnPropSymbols$
|
|
2261
|
-
if (__propIsEnum$
|
|
2262
|
-
__defNormalProp$
|
|
2390
|
+
if (__hasOwnProp$a.call(b, prop))
|
|
2391
|
+
__defNormalProp$a(a, prop, b[prop]);
|
|
2392
|
+
if (__getOwnPropSymbols$a)
|
|
2393
|
+
for (var prop of __getOwnPropSymbols$a(b)) {
|
|
2394
|
+
if (__propIsEnum$a.call(b, prop))
|
|
2395
|
+
__defNormalProp$a(a, prop, b[prop]);
|
|
2263
2396
|
}
|
|
2264
2397
|
return a;
|
|
2265
2398
|
};
|
|
2266
|
-
var __spreadProps$
|
|
2399
|
+
var __spreadProps$7 = (a, b) => __defProps$7(a, __getOwnPropDescs$7(b));
|
|
2267
2400
|
const initialChartState = {
|
|
2268
2401
|
pointers: {},
|
|
2269
2402
|
resourceData: {},
|
|
@@ -2273,8 +2406,8 @@
|
|
|
2273
2406
|
switch (action.type) {
|
|
2274
2407
|
case "SET_POINTER" /* SET_POINTER */: {
|
|
2275
2408
|
const { uuid, left, text, visible, value } = action.payload;
|
|
2276
|
-
return __spreadProps$
|
|
2277
|
-
pointers: __spreadProps$
|
|
2409
|
+
return __spreadProps$7(__spreadValues$a({}, state), {
|
|
2410
|
+
pointers: __spreadProps$7(__spreadValues$a({}, state.pointers), {
|
|
2278
2411
|
[uuid]: {
|
|
2279
2412
|
left,
|
|
2280
2413
|
text,
|
|
@@ -2286,16 +2419,16 @@
|
|
|
2286
2419
|
}
|
|
2287
2420
|
case "SET_RESOURCE_DATA" /* SET_RESOURCE_DATA */: {
|
|
2288
2421
|
const { uuid, data } = action.payload;
|
|
2289
|
-
return __spreadProps$
|
|
2290
|
-
resourceData: __spreadProps$
|
|
2422
|
+
return __spreadProps$7(__spreadValues$a({}, state), {
|
|
2423
|
+
resourceData: __spreadProps$7(__spreadValues$a({}, state.resourceData), {
|
|
2291
2424
|
[uuid]: data
|
|
2292
2425
|
})
|
|
2293
2426
|
});
|
|
2294
2427
|
}
|
|
2295
2428
|
case "SET_AVERAGE_DATA" /* SET_AVERAGE_DATA */: {
|
|
2296
2429
|
const { uuid, average } = action.payload;
|
|
2297
|
-
return __spreadProps$
|
|
2298
|
-
averageData: __spreadProps$
|
|
2430
|
+
return __spreadProps$7(__spreadValues$a({}, state), {
|
|
2431
|
+
averageData: __spreadProps$7(__spreadValues$a({}, state.averageData), {
|
|
2299
2432
|
[uuid]: average
|
|
2300
2433
|
})
|
|
2301
2434
|
});
|
|
@@ -2306,25 +2439,25 @@
|
|
|
2306
2439
|
}
|
|
2307
2440
|
};
|
|
2308
2441
|
|
|
2309
|
-
var __defProp$
|
|
2310
|
-
var __defProps$
|
|
2311
|
-
var __getOwnPropDescs$
|
|
2312
|
-
var __getOwnPropSymbols$
|
|
2313
|
-
var __hasOwnProp$
|
|
2314
|
-
var __propIsEnum$
|
|
2315
|
-
var __defNormalProp$
|
|
2316
|
-
var __spreadValues$
|
|
2442
|
+
var __defProp$9 = Object.defineProperty;
|
|
2443
|
+
var __defProps$6 = Object.defineProperties;
|
|
2444
|
+
var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
|
|
2445
|
+
var __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;
|
|
2446
|
+
var __hasOwnProp$9 = Object.prototype.hasOwnProperty;
|
|
2447
|
+
var __propIsEnum$9 = Object.prototype.propertyIsEnumerable;
|
|
2448
|
+
var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2449
|
+
var __spreadValues$9 = (a, b) => {
|
|
2317
2450
|
for (var prop in b || (b = {}))
|
|
2318
|
-
if (__hasOwnProp$
|
|
2319
|
-
__defNormalProp$
|
|
2320
|
-
if (__getOwnPropSymbols$
|
|
2321
|
-
for (var prop of __getOwnPropSymbols$
|
|
2322
|
-
if (__propIsEnum$
|
|
2323
|
-
__defNormalProp$
|
|
2451
|
+
if (__hasOwnProp$9.call(b, prop))
|
|
2452
|
+
__defNormalProp$9(a, prop, b[prop]);
|
|
2453
|
+
if (__getOwnPropSymbols$9)
|
|
2454
|
+
for (var prop of __getOwnPropSymbols$9(b)) {
|
|
2455
|
+
if (__propIsEnum$9.call(b, prop))
|
|
2456
|
+
__defNormalProp$9(a, prop, b[prop]);
|
|
2324
2457
|
}
|
|
2325
2458
|
return a;
|
|
2326
2459
|
};
|
|
2327
|
-
var __spreadProps$
|
|
2460
|
+
var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
|
|
2328
2461
|
var ModalActions = /* @__PURE__ */ ((ModalActions2) => {
|
|
2329
2462
|
ModalActions2["PUSH_MODAL"] = "PUSH_MODAL";
|
|
2330
2463
|
ModalActions2["POP_MODAL"] = "POP_MODAL";
|
|
@@ -2345,22 +2478,22 @@
|
|
|
2345
2478
|
)) {
|
|
2346
2479
|
return state;
|
|
2347
2480
|
}
|
|
2348
|
-
return __spreadProps$
|
|
2349
|
-
stack: state.stack.concat(__spreadProps$
|
|
2481
|
+
return __spreadProps$6(__spreadValues$9({}, state), {
|
|
2482
|
+
stack: state.stack.concat(__spreadProps$6(__spreadValues$9({}, action.payload), {
|
|
2350
2483
|
id: MODAL_ID++
|
|
2351
2484
|
}))
|
|
2352
2485
|
});
|
|
2353
2486
|
case "POP_MODAL" /* POP_MODAL */:
|
|
2354
|
-
return __spreadProps$
|
|
2487
|
+
return __spreadProps$6(__spreadValues$9({}, state), {
|
|
2355
2488
|
stack: state.stack.slice(0, -1)
|
|
2356
2489
|
});
|
|
2357
2490
|
case "REMOVE_MODAL" /* REMOVE_MODAL */:
|
|
2358
|
-
return __spreadProps$
|
|
2491
|
+
return __spreadProps$6(__spreadValues$9({}, state), {
|
|
2359
2492
|
closeId: 0,
|
|
2360
2493
|
stack: state.stack.filter((m) => m.id !== action.id)
|
|
2361
2494
|
});
|
|
2362
2495
|
case "CLOSE_MODAL" /* CLOSE_MODAL */:
|
|
2363
|
-
return __spreadProps$
|
|
2496
|
+
return __spreadProps$6(__spreadValues$9({}, state), {
|
|
2364
2497
|
closeId: action.id
|
|
2365
2498
|
});
|
|
2366
2499
|
default:
|
|
@@ -2411,33 +2544,33 @@
|
|
|
2411
2544
|
const useKitDispatch = reactRedux.createDispatchHook(ctx);
|
|
2412
2545
|
const useKitSelector = reactRedux.createSelectorHook(ctx);
|
|
2413
2546
|
|
|
2414
|
-
var __defProp$
|
|
2415
|
-
var __defProps$
|
|
2416
|
-
var __getOwnPropDescs$
|
|
2417
|
-
var __getOwnPropSymbols$
|
|
2418
|
-
var __hasOwnProp$
|
|
2419
|
-
var __propIsEnum$
|
|
2420
|
-
var __defNormalProp$
|
|
2421
|
-
var __spreadValues$
|
|
2547
|
+
var __defProp$8 = Object.defineProperty;
|
|
2548
|
+
var __defProps$5 = Object.defineProperties;
|
|
2549
|
+
var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
|
|
2550
|
+
var __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;
|
|
2551
|
+
var __hasOwnProp$8 = Object.prototype.hasOwnProperty;
|
|
2552
|
+
var __propIsEnum$8 = Object.prototype.propertyIsEnumerable;
|
|
2553
|
+
var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2554
|
+
var __spreadValues$8 = (a, b) => {
|
|
2422
2555
|
for (var prop in b || (b = {}))
|
|
2423
|
-
if (__hasOwnProp$
|
|
2424
|
-
__defNormalProp$
|
|
2425
|
-
if (__getOwnPropSymbols$
|
|
2426
|
-
for (var prop of __getOwnPropSymbols$
|
|
2427
|
-
if (__propIsEnum$
|
|
2428
|
-
__defNormalProp$
|
|
2556
|
+
if (__hasOwnProp$8.call(b, prop))
|
|
2557
|
+
__defNormalProp$8(a, prop, b[prop]);
|
|
2558
|
+
if (__getOwnPropSymbols$8)
|
|
2559
|
+
for (var prop of __getOwnPropSymbols$8(b)) {
|
|
2560
|
+
if (__propIsEnum$8.call(b, prop))
|
|
2561
|
+
__defNormalProp$8(a, prop, b[prop]);
|
|
2429
2562
|
}
|
|
2430
2563
|
return a;
|
|
2431
2564
|
};
|
|
2432
|
-
var __spreadProps$
|
|
2565
|
+
var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
|
|
2433
2566
|
var __objRest$4 = (source, exclude) => {
|
|
2434
2567
|
var target = {};
|
|
2435
2568
|
for (var prop in source)
|
|
2436
|
-
if (__hasOwnProp$
|
|
2569
|
+
if (__hasOwnProp$8.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2437
2570
|
target[prop] = source[prop];
|
|
2438
|
-
if (source != null && __getOwnPropSymbols$
|
|
2439
|
-
for (var prop of __getOwnPropSymbols$
|
|
2440
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2571
|
+
if (source != null && __getOwnPropSymbols$8)
|
|
2572
|
+
for (var prop of __getOwnPropSymbols$8(source)) {
|
|
2573
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$8.call(source, prop))
|
|
2441
2574
|
target[prop] = source[prop];
|
|
2442
2575
|
}
|
|
2443
2576
|
return target;
|
|
@@ -2518,7 +2651,7 @@
|
|
|
2518
2651
|
}
|
|
2519
2652
|
return /* @__PURE__ */ React.createElement(
|
|
2520
2653
|
antd.Modal,
|
|
2521
|
-
__spreadProps$
|
|
2654
|
+
__spreadProps$5(__spreadValues$8({
|
|
2522
2655
|
maskClosable,
|
|
2523
2656
|
className: cs(
|
|
2524
2657
|
className,
|
|
@@ -2553,7 +2686,7 @@
|
|
|
2553
2686
|
prevText
|
|
2554
2687
|
), 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(
|
|
2555
2688
|
Button,
|
|
2556
|
-
__spreadValues$
|
|
2689
|
+
__spreadValues$8({
|
|
2557
2690
|
type: "quiet",
|
|
2558
2691
|
onMouseDown: (e) => {
|
|
2559
2692
|
e.preventDefault();
|
|
@@ -2567,7 +2700,7 @@
|
|
|
2567
2700
|
cancelText
|
|
2568
2701
|
), showOk && /* @__PURE__ */ React.createElement(
|
|
2569
2702
|
Button,
|
|
2570
|
-
__spreadValues$
|
|
2703
|
+
__spreadValues$8({
|
|
2571
2704
|
onClick: (e) => {
|
|
2572
2705
|
var _a2, _b2;
|
|
2573
2706
|
onOk == null ? void 0 : onOk(e);
|
|
@@ -2729,46 +2862,46 @@
|
|
|
2729
2862
|
return /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React.createElement("span", { className: core.cx("unit", unitClassName) }, unit));
|
|
2730
2863
|
};
|
|
2731
2864
|
|
|
2732
|
-
var __defProp$
|
|
2733
|
-
var __getOwnPropSymbols$
|
|
2734
|
-
var __hasOwnProp$
|
|
2735
|
-
var __propIsEnum$
|
|
2736
|
-
var __defNormalProp$
|
|
2737
|
-
var __spreadValues$
|
|
2865
|
+
var __defProp$7 = Object.defineProperty;
|
|
2866
|
+
var __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;
|
|
2867
|
+
var __hasOwnProp$7 = Object.prototype.hasOwnProperty;
|
|
2868
|
+
var __propIsEnum$7 = Object.prototype.propertyIsEnumerable;
|
|
2869
|
+
var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2870
|
+
var __spreadValues$7 = (a, b) => {
|
|
2738
2871
|
for (var prop in b || (b = {}))
|
|
2739
|
-
if (__hasOwnProp$
|
|
2740
|
-
__defNormalProp$
|
|
2741
|
-
if (__getOwnPropSymbols$
|
|
2742
|
-
for (var prop of __getOwnPropSymbols$
|
|
2743
|
-
if (__propIsEnum$
|
|
2744
|
-
__defNormalProp$
|
|
2872
|
+
if (__hasOwnProp$7.call(b, prop))
|
|
2873
|
+
__defNormalProp$7(a, prop, b[prop]);
|
|
2874
|
+
if (__getOwnPropSymbols$7)
|
|
2875
|
+
for (var prop of __getOwnPropSymbols$7(b)) {
|
|
2876
|
+
if (__propIsEnum$7.call(b, prop))
|
|
2877
|
+
__defNormalProp$7(a, prop, b[prop]);
|
|
2745
2878
|
}
|
|
2746
2879
|
return a;
|
|
2747
2880
|
};
|
|
2748
|
-
const Progress = (props) => /* @__PURE__ */ React.createElement(antd.Progress, __spreadValues$
|
|
2881
|
+
const Progress = (props) => /* @__PURE__ */ React.createElement(antd.Progress, __spreadValues$7({}, props));
|
|
2749
2882
|
|
|
2750
|
-
var __defProp$
|
|
2751
|
-
var __getOwnPropSymbols$
|
|
2752
|
-
var __hasOwnProp$
|
|
2753
|
-
var __propIsEnum$
|
|
2754
|
-
var __defNormalProp$
|
|
2883
|
+
var __defProp$6 = Object.defineProperty;
|
|
2884
|
+
var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
|
|
2885
|
+
var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
|
|
2886
|
+
var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
|
|
2887
|
+
var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, {
|
|
2755
2888
|
enumerable: true,
|
|
2756
2889
|
configurable: true,
|
|
2757
2890
|
writable: true,
|
|
2758
2891
|
value
|
|
2759
2892
|
}) : obj[key] = value;
|
|
2760
|
-
var __spreadValues$
|
|
2761
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2762
|
-
if (__getOwnPropSymbols$
|
|
2763
|
-
if (__propIsEnum$
|
|
2893
|
+
var __spreadValues$6 = (a, b) => {
|
|
2894
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$6.call(b, prop)) __defNormalProp$6(a, prop, b[prop]);
|
|
2895
|
+
if (__getOwnPropSymbols$6) for (var prop of __getOwnPropSymbols$6(b)) {
|
|
2896
|
+
if (__propIsEnum$6.call(b, prop)) __defNormalProp$6(a, prop, b[prop]);
|
|
2764
2897
|
}
|
|
2765
2898
|
return a;
|
|
2766
2899
|
};
|
|
2767
2900
|
var __objRest$3 = (source, exclude) => {
|
|
2768
2901
|
var target = {};
|
|
2769
|
-
for (var prop in source) if (__hasOwnProp$
|
|
2770
|
-
if (source != null && __getOwnPropSymbols$
|
|
2771
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2902
|
+
for (var prop in source) if (__hasOwnProp$6.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2903
|
+
if (source != null && __getOwnPropSymbols$6) for (var prop of __getOwnPropSymbols$6(source)) {
|
|
2904
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$6.call(source, prop)) target[prop] = source[prop];
|
|
2772
2905
|
}
|
|
2773
2906
|
return target;
|
|
2774
2907
|
};
|
|
@@ -2794,7 +2927,7 @@
|
|
|
2794
2927
|
className: core.cx("radio-description", Typo.Label.l4_regular)
|
|
2795
2928
|
}, description));
|
|
2796
2929
|
}
|
|
2797
|
-
return /* @__PURE__ */React.createElement(React.Fragment, null, /* @__PURE__ */React.createElement(antd.Radio, __spreadValues$
|
|
2930
|
+
return /* @__PURE__ */React.createElement(React.Fragment, null, /* @__PURE__ */React.createElement(antd.Radio, __spreadValues$6({
|
|
2798
2931
|
className: core.cx(className, RadioStyle, compact && "compact"),
|
|
2799
2932
|
checked: checked || false,
|
|
2800
2933
|
"data-test": context.name ? `${context.name}-${String(props.value)}` : String(props.value)
|
|
@@ -2812,7 +2945,7 @@
|
|
|
2812
2945
|
disabled: props.disabled,
|
|
2813
2946
|
name: props.name
|
|
2814
2947
|
}
|
|
2815
|
-
}, /* @__PURE__ */React.createElement(antd.Radio.Group, __spreadValues$
|
|
2948
|
+
}, /* @__PURE__ */React.createElement(antd.Radio.Group, __spreadValues$6({
|
|
2816
2949
|
className: core.cx(className, RadioGroupStyle)
|
|
2817
2950
|
}, props), children ? children : null));
|
|
2818
2951
|
};
|
|
@@ -2868,36 +3001,36 @@
|
|
|
2868
3001
|
className: "ant-radio-button-input-label"
|
|
2869
3002
|
}, typeof children === "string" ? children : ""));
|
|
2870
3003
|
};
|
|
2871
|
-
return /* @__PURE__ */React.createElement(antd.Radio.Button, __spreadValues$
|
|
3004
|
+
return /* @__PURE__ */React.createElement(antd.Radio.Button, __spreadValues$6({
|
|
2872
3005
|
className: core.cx(className, RadioButtonStyle),
|
|
2873
3006
|
value: radioButtonValue
|
|
2874
3007
|
}, props), renderChildren());
|
|
2875
3008
|
};
|
|
2876
3009
|
|
|
2877
|
-
var __defProp$
|
|
2878
|
-
var __getOwnPropSymbols$
|
|
2879
|
-
var __hasOwnProp$
|
|
2880
|
-
var __propIsEnum$
|
|
2881
|
-
var __defNormalProp$
|
|
2882
|
-
var __spreadValues$
|
|
3010
|
+
var __defProp$5 = Object.defineProperty;
|
|
3011
|
+
var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;
|
|
3012
|
+
var __hasOwnProp$5 = Object.prototype.hasOwnProperty;
|
|
3013
|
+
var __propIsEnum$5 = Object.prototype.propertyIsEnumerable;
|
|
3014
|
+
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3015
|
+
var __spreadValues$5 = (a, b) => {
|
|
2883
3016
|
for (var prop in b || (b = {}))
|
|
2884
|
-
if (__hasOwnProp$
|
|
2885
|
-
__defNormalProp$
|
|
2886
|
-
if (__getOwnPropSymbols$
|
|
2887
|
-
for (var prop of __getOwnPropSymbols$
|
|
2888
|
-
if (__propIsEnum$
|
|
2889
|
-
__defNormalProp$
|
|
3017
|
+
if (__hasOwnProp$5.call(b, prop))
|
|
3018
|
+
__defNormalProp$5(a, prop, b[prop]);
|
|
3019
|
+
if (__getOwnPropSymbols$5)
|
|
3020
|
+
for (var prop of __getOwnPropSymbols$5(b)) {
|
|
3021
|
+
if (__propIsEnum$5.call(b, prop))
|
|
3022
|
+
__defNormalProp$5(a, prop, b[prop]);
|
|
2890
3023
|
}
|
|
2891
3024
|
return a;
|
|
2892
3025
|
};
|
|
2893
3026
|
var __objRest$2 = (source, exclude) => {
|
|
2894
3027
|
var target = {};
|
|
2895
3028
|
for (var prop in source)
|
|
2896
|
-
if (__hasOwnProp$
|
|
3029
|
+
if (__hasOwnProp$5.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2897
3030
|
target[prop] = source[prop];
|
|
2898
|
-
if (source != null && __getOwnPropSymbols$
|
|
2899
|
-
for (var prop of __getOwnPropSymbols$
|
|
2900
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3031
|
+
if (source != null && __getOwnPropSymbols$5)
|
|
3032
|
+
for (var prop of __getOwnPropSymbols$5(source)) {
|
|
3033
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$5.call(source, prop))
|
|
2901
3034
|
target[prop] = source[prop];
|
|
2902
3035
|
}
|
|
2903
3036
|
return target;
|
|
@@ -2907,7 +3040,7 @@
|
|
|
2907
3040
|
const onSearch = _.debounce(onChange, debounceWait);
|
|
2908
3041
|
return /* @__PURE__ */ React.createElement(
|
|
2909
3042
|
Input,
|
|
2910
|
-
__spreadValues$
|
|
3043
|
+
__spreadValues$5({
|
|
2911
3044
|
style: { width: 276 },
|
|
2912
3045
|
prefix: /* @__PURE__ */ React.createElement(icons.SearchOutlined, null),
|
|
2913
3046
|
onChange: (e) => onSearch(e.target.value)
|
|
@@ -3015,31 +3148,31 @@
|
|
|
3015
3148
|
return /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React.createElement("span", { className: core.cx("unit", unitClassName) }, ` ${unit}`));
|
|
3016
3149
|
};
|
|
3017
3150
|
|
|
3018
|
-
var __defProp$
|
|
3019
|
-
var __defProps$
|
|
3020
|
-
var __getOwnPropDescs$
|
|
3021
|
-
var __getOwnPropSymbols$
|
|
3022
|
-
var __hasOwnProp$
|
|
3023
|
-
var __propIsEnum$
|
|
3024
|
-
var __defNormalProp$
|
|
3151
|
+
var __defProp$4 = Object.defineProperty;
|
|
3152
|
+
var __defProps$4 = Object.defineProperties;
|
|
3153
|
+
var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
|
|
3154
|
+
var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
|
|
3155
|
+
var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
|
|
3156
|
+
var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
|
|
3157
|
+
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, {
|
|
3025
3158
|
enumerable: true,
|
|
3026
3159
|
configurable: true,
|
|
3027
3160
|
writable: true,
|
|
3028
3161
|
value
|
|
3029
3162
|
}) : obj[key] = value;
|
|
3030
|
-
var __spreadValues$
|
|
3031
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3032
|
-
if (__getOwnPropSymbols$
|
|
3033
|
-
if (__propIsEnum$
|
|
3163
|
+
var __spreadValues$4 = (a, b) => {
|
|
3164
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$4.call(b, prop)) __defNormalProp$4(a, prop, b[prop]);
|
|
3165
|
+
if (__getOwnPropSymbols$4) for (var prop of __getOwnPropSymbols$4(b)) {
|
|
3166
|
+
if (__propIsEnum$4.call(b, prop)) __defNormalProp$4(a, prop, b[prop]);
|
|
3034
3167
|
}
|
|
3035
3168
|
return a;
|
|
3036
3169
|
};
|
|
3037
|
-
var __spreadProps$
|
|
3170
|
+
var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
|
|
3038
3171
|
var __objRest$1 = (source, exclude) => {
|
|
3039
3172
|
var target = {};
|
|
3040
|
-
for (var prop in source) if (__hasOwnProp$
|
|
3041
|
-
if (source != null && __getOwnPropSymbols$
|
|
3042
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3173
|
+
for (var prop in source) if (__hasOwnProp$4.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
3174
|
+
if (source != null && __getOwnPropSymbols$4) for (var prop of __getOwnPropSymbols$4(source)) {
|
|
3175
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$4.call(source, prop)) target[prop] = source[prop];
|
|
3043
3176
|
}
|
|
3044
3177
|
return target;
|
|
3045
3178
|
};
|
|
@@ -3061,40 +3194,40 @@
|
|
|
3061
3194
|
}, count) : null, _step.title);
|
|
3062
3195
|
return /* @__PURE__ */React.createElement(StepsContainer, {
|
|
3063
3196
|
className: containerClassname
|
|
3064
|
-
}, /* @__PURE__ */React.createElement(antd.Steps, __spreadProps$
|
|
3197
|
+
}, /* @__PURE__ */React.createElement(antd.Steps, __spreadProps$4(__spreadValues$4({}, stepsProps), {
|
|
3065
3198
|
type: "default"
|
|
3066
|
-
}), (stepsConfig == null ? void 0 : stepsConfig.length) ? stepsConfig.map((step, index) => /* @__PURE__ */React.createElement(antd.Steps.Step, __spreadProps$
|
|
3199
|
+
}), (stepsConfig == null ? void 0 : stepsConfig.length) ? stepsConfig.map((step, index) => /* @__PURE__ */React.createElement(antd.Steps.Step, __spreadProps$4(__spreadValues$4({
|
|
3067
3200
|
key: index
|
|
3068
3201
|
}, step), {
|
|
3069
3202
|
title: titleWithCount(step, index + 1)
|
|
3070
3203
|
}))) : props.children));
|
|
3071
3204
|
};
|
|
3072
3205
|
|
|
3073
|
-
var __defProp$
|
|
3074
|
-
var __defProps$
|
|
3075
|
-
var __getOwnPropDescs$
|
|
3076
|
-
var __getOwnPropSymbols$
|
|
3077
|
-
var __hasOwnProp$
|
|
3078
|
-
var __propIsEnum$
|
|
3079
|
-
var __defNormalProp$
|
|
3206
|
+
var __defProp$3 = Object.defineProperty;
|
|
3207
|
+
var __defProps$3 = Object.defineProperties;
|
|
3208
|
+
var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
|
|
3209
|
+
var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
|
|
3210
|
+
var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
|
|
3211
|
+
var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
|
|
3212
|
+
var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, {
|
|
3080
3213
|
enumerable: true,
|
|
3081
3214
|
configurable: true,
|
|
3082
3215
|
writable: true,
|
|
3083
3216
|
value
|
|
3084
3217
|
}) : obj[key] = value;
|
|
3085
|
-
var __spreadValues$
|
|
3086
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3087
|
-
if (__getOwnPropSymbols$
|
|
3088
|
-
if (__propIsEnum$
|
|
3218
|
+
var __spreadValues$3 = (a, b) => {
|
|
3219
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$3.call(b, prop)) __defNormalProp$3(a, prop, b[prop]);
|
|
3220
|
+
if (__getOwnPropSymbols$3) for (var prop of __getOwnPropSymbols$3(b)) {
|
|
3221
|
+
if (__propIsEnum$3.call(b, prop)) __defNormalProp$3(a, prop, b[prop]);
|
|
3089
3222
|
}
|
|
3090
3223
|
return a;
|
|
3091
3224
|
};
|
|
3092
|
-
var __spreadProps$
|
|
3225
|
+
var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
|
|
3093
3226
|
var __objRest = (source, exclude) => {
|
|
3094
3227
|
var target = {};
|
|
3095
|
-
for (var prop in source) if (__hasOwnProp$
|
|
3096
|
-
if (source != null && __getOwnPropSymbols$
|
|
3097
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
3228
|
+
for (var prop in source) if (__hasOwnProp$3.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
3229
|
+
if (source != null && __getOwnPropSymbols$3) for (var prop of __getOwnPropSymbols$3(source)) {
|
|
3230
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$3.call(source, prop)) target[prop] = source[prop];
|
|
3098
3231
|
}
|
|
3099
3232
|
return target;
|
|
3100
3233
|
};
|
|
@@ -3114,7 +3247,7 @@
|
|
|
3114
3247
|
});
|
|
3115
3248
|
const classNames = [className, SwitchStyle, "switch"];
|
|
3116
3249
|
if (props.size === "large") classNames.push("ant-switch-large");
|
|
3117
|
-
return /* @__PURE__ */React.createElement(React.Fragment, null, /* @__PURE__ */React.createElement(antd.Switch, __spreadProps$
|
|
3250
|
+
return /* @__PURE__ */React.createElement(React.Fragment, null, /* @__PURE__ */React.createElement(antd.Switch, __spreadProps$3(__spreadValues$3({
|
|
3118
3251
|
className: core.cx(...classNames),
|
|
3119
3252
|
checked: checked || false
|
|
3120
3253
|
}, props), {
|
|
@@ -3200,26 +3333,26 @@
|
|
|
3200
3333
|
}));
|
|
3201
3334
|
};
|
|
3202
3335
|
|
|
3203
|
-
var __defProp$
|
|
3204
|
-
var __defProps$
|
|
3205
|
-
var __getOwnPropDescs$
|
|
3206
|
-
var __getOwnPropSymbols$
|
|
3207
|
-
var __hasOwnProp$
|
|
3208
|
-
var __propIsEnum$
|
|
3209
|
-
var __defNormalProp$
|
|
3336
|
+
var __defProp$2 = Object.defineProperty;
|
|
3337
|
+
var __defProps$2 = Object.defineProperties;
|
|
3338
|
+
var __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;
|
|
3339
|
+
var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;
|
|
3340
|
+
var __hasOwnProp$2 = Object.prototype.hasOwnProperty;
|
|
3341
|
+
var __propIsEnum$2 = Object.prototype.propertyIsEnumerable;
|
|
3342
|
+
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, {
|
|
3210
3343
|
enumerable: true,
|
|
3211
3344
|
configurable: true,
|
|
3212
3345
|
writable: true,
|
|
3213
3346
|
value
|
|
3214
3347
|
}) : obj[key] = value;
|
|
3215
|
-
var __spreadValues$
|
|
3216
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
3217
|
-
if (__getOwnPropSymbols$
|
|
3218
|
-
if (__propIsEnum$
|
|
3348
|
+
var __spreadValues$2 = (a, b) => {
|
|
3349
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$2.call(b, prop)) __defNormalProp$2(a, prop, b[prop]);
|
|
3350
|
+
if (__getOwnPropSymbols$2) for (var prop of __getOwnPropSymbols$2(b)) {
|
|
3351
|
+
if (__propIsEnum$2.call(b, prop)) __defNormalProp$2(a, prop, b[prop]);
|
|
3219
3352
|
}
|
|
3220
3353
|
return a;
|
|
3221
3354
|
};
|
|
3222
|
-
var __spreadProps$
|
|
3355
|
+
var __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));
|
|
3223
3356
|
const TableContainerStyle = "t1upn1sz";
|
|
3224
3357
|
const tableStyleCover = "tta5kd2";
|
|
3225
3358
|
const Table = props => {
|
|
@@ -3245,7 +3378,7 @@
|
|
|
3245
3378
|
const orderRef = React.useRef(null);
|
|
3246
3379
|
const hasScrollBard = useTableBodyHasScrollBar(wrapper, dataSource);
|
|
3247
3380
|
const _columns = React.useMemo(() => columns.map(column => {
|
|
3248
|
-
const _column = __spreadValues$
|
|
3381
|
+
const _column = __spreadValues$2({}, column);
|
|
3249
3382
|
if (_column.sorter) {
|
|
3250
3383
|
_column.title = /* @__PURE__ */React.createElement(ColumnTitle, {
|
|
3251
3384
|
title: column.title,
|
|
@@ -3287,7 +3420,7 @@
|
|
|
3287
3420
|
}),
|
|
3288
3421
|
rowClassName,
|
|
3289
3422
|
scroll,
|
|
3290
|
-
rowSelection: rowSelection && __spreadProps$
|
|
3423
|
+
rowSelection: rowSelection && __spreadProps$2(__spreadValues$2({}, rowSelection), {
|
|
3291
3424
|
columnWidth: 32
|
|
3292
3425
|
}),
|
|
3293
3426
|
showSorterTooltip: false
|
|
@@ -3450,13 +3583,14 @@
|
|
|
3450
3583
|
menuItemGroup: antd.Menu.ItemGroup,
|
|
3451
3584
|
layout: antd.Layout,
|
|
3452
3585
|
autoComplete: antd.AutoComplete,
|
|
3453
|
-
message,
|
|
3586
|
+
message: createBatchMessageMethods(),
|
|
3454
3587
|
tag: antd.Tag,
|
|
3455
3588
|
popover: antd.Popover,
|
|
3456
3589
|
arch: Arch,
|
|
3457
3590
|
buttonGroup: ButtonGroup,
|
|
3458
3591
|
steps: Steps,
|
|
3459
3592
|
form: antd.Form,
|
|
3593
|
+
formItem: antd.Form.Item,
|
|
3460
3594
|
simplePagination: SimplePagination,
|
|
3461
3595
|
space: antd.Space,
|
|
3462
3596
|
timeZoneSelect: TimeZoneSelect,
|
|
@@ -3464,7 +3598,9 @@
|
|
|
3464
3598
|
timelineItem: antd.Timeline.Item,
|
|
3465
3599
|
checkboxGroup: antd.Checkbox.Group,
|
|
3466
3600
|
typographyText: antd.Typography.Text,
|
|
3467
|
-
cascader: antd.Cascader
|
|
3601
|
+
cascader: antd.Cascader,
|
|
3602
|
+
upload: antd.Upload,
|
|
3603
|
+
datePickerRangePicker: antd.DatePicker.RangePicker
|
|
3468
3604
|
};
|
|
3469
3605
|
kit.option.isSelectOption = true;
|
|
3470
3606
|
kit.button.__ANT_BUTTON = true;
|
|
@@ -3524,32 +3660,32 @@
|
|
|
3524
3660
|
return dayjs(tick).format("MM/DD");
|
|
3525
3661
|
};
|
|
3526
3662
|
|
|
3527
|
-
var __defProp = Object.defineProperty;
|
|
3528
|
-
var __defProps = Object.defineProperties;
|
|
3529
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
3530
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3531
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
3532
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
3533
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3534
|
-
var __spreadValues = (a, b) => {
|
|
3663
|
+
var __defProp$1 = Object.defineProperty;
|
|
3664
|
+
var __defProps$1 = Object.defineProperties;
|
|
3665
|
+
var __getOwnPropDescs$1 = Object.getOwnPropertyDescriptors;
|
|
3666
|
+
var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
|
|
3667
|
+
var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
|
|
3668
|
+
var __propIsEnum$1 = Object.prototype.propertyIsEnumerable;
|
|
3669
|
+
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3670
|
+
var __spreadValues$1 = (a, b) => {
|
|
3535
3671
|
for (var prop in b || (b = {}))
|
|
3536
|
-
if (__hasOwnProp.call(b, prop))
|
|
3537
|
-
__defNormalProp(a, prop, b[prop]);
|
|
3538
|
-
if (__getOwnPropSymbols)
|
|
3539
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
3540
|
-
if (__propIsEnum.call(b, prop))
|
|
3541
|
-
__defNormalProp(a, prop, b[prop]);
|
|
3672
|
+
if (__hasOwnProp$1.call(b, prop))
|
|
3673
|
+
__defNormalProp$1(a, prop, b[prop]);
|
|
3674
|
+
if (__getOwnPropSymbols$1)
|
|
3675
|
+
for (var prop of __getOwnPropSymbols$1(b)) {
|
|
3676
|
+
if (__propIsEnum$1.call(b, prop))
|
|
3677
|
+
__defNormalProp$1(a, prop, b[prop]);
|
|
3542
3678
|
}
|
|
3543
3679
|
return a;
|
|
3544
3680
|
};
|
|
3545
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
3681
|
+
var __spreadProps$1 = (a, b) => __defProps$1(a, __getOwnPropDescs$1(b));
|
|
3546
3682
|
const ModalStack = () => {
|
|
3547
3683
|
const stack = useKitSelector(
|
|
3548
3684
|
(state) => state.modal.stack
|
|
3549
3685
|
);
|
|
3550
3686
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, stack.map((modal) => /* @__PURE__ */ React.createElement(
|
|
3551
3687
|
modal.component,
|
|
3552
|
-
__spreadProps(__spreadValues({}, modal.props), {
|
|
3688
|
+
__spreadProps$1(__spreadValues$1({}, modal.props), {
|
|
3553
3689
|
modalId: modal.id,
|
|
3554
3690
|
onClose: () => {
|
|
3555
3691
|
var _a;
|
|
@@ -3588,10 +3724,37 @@
|
|
|
3588
3724
|
return TaskStatus2;
|
|
3589
3725
|
})(TaskStatus || {});
|
|
3590
3726
|
|
|
3727
|
+
var __defProp = Object.defineProperty;
|
|
3728
|
+
var __defProps = Object.defineProperties;
|
|
3729
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
3730
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3731
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
3732
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
3733
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3734
|
+
var __spreadValues = (a, b) => {
|
|
3735
|
+
for (var prop in b || (b = {}))
|
|
3736
|
+
if (__hasOwnProp.call(b, prop))
|
|
3737
|
+
__defNormalProp(a, prop, b[prop]);
|
|
3738
|
+
if (__getOwnPropSymbols)
|
|
3739
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
3740
|
+
if (__propIsEnum.call(b, prop))
|
|
3741
|
+
__defNormalProp(a, prop, b[prop]);
|
|
3742
|
+
}
|
|
3743
|
+
return a;
|
|
3744
|
+
};
|
|
3745
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
3591
3746
|
const kitContext = React.createContext(antdKit);
|
|
3592
3747
|
const UIKitProvider = (props) => {
|
|
3593
|
-
const { children, kit = antdKit } = props;
|
|
3594
|
-
|
|
3748
|
+
const { children, kit = antdKit, message } = props;
|
|
3749
|
+
const _kit = React.useMemo(() => {
|
|
3750
|
+
if ((message == null ? void 0 : message.batch) != null) {
|
|
3751
|
+
return __spreadProps(__spreadValues({}, kit), {
|
|
3752
|
+
message: createBatchMessageMethods(message.batch)
|
|
3753
|
+
});
|
|
3754
|
+
}
|
|
3755
|
+
return kit;
|
|
3756
|
+
}, [kit, message == null ? void 0 : message.batch]);
|
|
3757
|
+
return /* @__PURE__ */ React.createElement(kitContext.Provider, { value: _kit }, children);
|
|
3595
3758
|
};
|
|
3596
3759
|
const useUIKit = () => {
|
|
3597
3760
|
return React.useContext(kitContext);
|
|
@@ -3607,6 +3770,7 @@
|
|
|
3607
3770
|
});
|
|
3608
3771
|
exports.Architecture = Architecture;
|
|
3609
3772
|
exports.Button = Button;
|
|
3773
|
+
exports.ButtonStyle = ButtonStyle;
|
|
3610
3774
|
exports.EntityAsyncStatus = EntityAsyncStatus;
|
|
3611
3775
|
exports.FailedLoad = FailedLoad;
|
|
3612
3776
|
exports.Icon = Icon;
|
|
@@ -3621,6 +3785,7 @@
|
|
|
3621
3785
|
exports.UserSource = UserSource;
|
|
3622
3786
|
exports.antdKit = antdKit;
|
|
3623
3787
|
exports.closeModal = closeModal;
|
|
3788
|
+
exports.createBatchMessageMethods = createBatchMessageMethods;
|
|
3624
3789
|
exports.kitContext = kitContext;
|
|
3625
3790
|
exports.popModal = popModal;
|
|
3626
3791
|
exports.pushModal = pushModal;
|